@argos-ci/core
Advanced tools
Comparing version 2.5.1 to 2.5.2-alpha.1
@@ -53,3 +53,3 @@ interface UploadParameters { | ||
/** The number of parallel nodes being ran */ | ||
total: number; | ||
total?: number; | ||
/** The index of the parallel node */ | ||
@@ -79,3 +79,15 @@ index?: number; | ||
id: string; | ||
number: number; | ||
status: "accepted" | "rejected" | "stable" | "diffDetected" | "expired" | "pending" | "progress" | "error" | "aborted"; | ||
url: string; | ||
notification: { | ||
description: string; | ||
context: string; | ||
github: { | ||
state: "pending" | "error" | "success" | "failure"; | ||
}; | ||
gitlab: { | ||
state: "pending" | "success" | "running" | "failed" | "canceled"; | ||
}; | ||
} | null; | ||
}; | ||
@@ -96,2 +108,28 @@ screenshots: { | ||
}>; | ||
type FinalizeParameters = { | ||
parallel?: { | ||
nonce: string; | ||
}; | ||
}; | ||
/** | ||
* Finalize pending builds. | ||
*/ | ||
declare function finalize(params: FinalizeParameters): Promise<{ | ||
builds: { | ||
id: string; | ||
number: number; | ||
status: "accepted" | "rejected" | "stable" | "diffDetected" | "expired" | "pending" | "progress" | "error" | "aborted"; | ||
url: string; | ||
notification: { | ||
description: string; | ||
context: string; | ||
github: { | ||
state: "pending" | "error" | "success" | "failure"; | ||
}; | ||
gitlab: { | ||
state: "pending" | "success" | "running" | "failed" | "canceled"; | ||
}; | ||
} | null; | ||
}[]; | ||
}>; | ||
interface Config { | ||
@@ -121,2 +159,2 @@ apiBaseUrl: string; | ||
declare function readConfig(options?: Partial<Config>): Promise<Config>; | ||
export { UploadParameters, upload, Config, readConfig }; | ||
export { UploadParameters, upload, FinalizeParameters, finalize, Config, readConfig }; |
{ | ||
"name": "@argos-ci/core", | ||
"description": "Visual testing solution to avoid visual regression. The core component of Argos SDK that handles build creation.", | ||
"version": "2.5.1", | ||
"version": "2.5.2-alpha.1+fe38977", | ||
"type": "module", | ||
@@ -43,4 +43,4 @@ "main": "./dist/index.cjs", | ||
"dependencies": { | ||
"@argos-ci/api-client": "0.2.0", | ||
"@argos-ci/util": "2.1.1", | ||
"@argos-ci/api-client": "0.2.1-alpha.5+fe38977", | ||
"@argos-ci/util": "2.1.2-alpha.5+fe38977", | ||
"axios": "^1.7.4", | ||
@@ -64,3 +64,3 @@ "convict": "^6.2.4", | ||
}, | ||
"gitHead": "36dc00b48375b72a82aad17bc1465b8933e8e6a9" | ||
"gitHead": "fe389774403ee2b9857c38c02531ed0e79d6a4fd" | ||
} |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
38356
1108
1
1
- Removed@argos-ci/api-client@0.2.0(transitive)
- Removed@argos-ci/util@2.1.1(transitive)
- Removedopenapi-fetch@0.11.3(transitive)
- Removedopenapi-typescript-helpers@0.0.13(transitive)