@artifact-keeper/sdk 1.2.5 → 1.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/types.gen.ts +8 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@artifact-keeper/sdk",
3
- "version": "1.2.5",
3
+ "version": "1.3.0",
4
4
  "description": "TypeScript SDK for the Artifact Keeper REST API",
5
5
  "type": "module",
6
6
  "main": "./src/index.ts",
package/src/types.gen.ts CHANGED
@@ -3448,6 +3448,14 @@ export type ScoreResponse = {
3448
3448
  calculated_at: string;
3449
3449
  critical_count: number;
3450
3450
  grade: string;
3451
+ /**
3452
+ * True when the latest applicable scan for this repo errored (#2167).
3453
+ * The `grade` is floored to `F` while this holds, so clients and the
3454
+ * release-gate must treat the repo as NOT clean regardless of the numeric
3455
+ * finding counts. Cleared automatically once a `completed` rescan
3456
+ * supersedes the failed scan.
3457
+ */
3458
+ has_failed_scan: boolean;
3451
3459
  high_count: number;
3452
3460
  id: string;
3453
3461
  last_scan_at?: string | null;