@alwaysmeticulous/api 2.293.0 → 2.294.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.
@@ -38,14 +38,16 @@ export interface CustomCheckInput {
38
38
  /**
39
39
  * The outcome of comparing the base and head snapshots:
40
40
  * - `pass`: no regression; the check is green and no report is surfaced.
41
- * - `warn`: the check is green but its report is shown to the user.
42
- * - `fail`: the check is red.
41
+ * - `warn-without-requiring-user-ack`: the check surfaces a report to the user,
42
+ * but does not require them to acknowledge (review) it.
43
+ * - `warn-and-require-user-ack`: the check surfaces a report that the user is
44
+ * asked to acknowledge (review) before the run is considered actioned.
43
45
  *
44
46
  * A check failing to *run* is not a verdict: an execution error applies to the
45
47
  * custom check results as a whole (every check), not to an individual check, so
46
48
  * it is reported at that level rather than as a per-check verdict.
47
49
  */
48
- export type CustomCheckVerdict = "pass" | "warn" | "fail";
50
+ export type CustomCheckVerdict = "pass" | "warn-without-requiring-user-ack" | "warn-and-require-user-ack";
49
51
  /**
50
52
  * Maximum length of a custom check `summary`. The summary is rendered inline in
51
53
  * the UI, so it is truncated to this many characters when displayed rather than
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
- !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="8ef65cd4-8945-57ad-89ea-063f84e905ee")}catch(e){}}();
2
+ !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="7935af01-8528-55fe-888c-aff9ac4f33b7")}catch(e){}}();
3
3
 
4
4
  Object.defineProperty(exports, "__esModule", { value: true });
5
5
  exports.CUSTOM_CHECK_RESULTS_STATUSES = exports.NETWORK_REQUESTS_SNAPSHOT_TYPE = exports.CUSTOM_CHECK_SUMMARY_MAX_LENGTH = void 0;
@@ -27,4 +27,4 @@ exports.CUSTOM_CHECK_RESULTS_STATUSES = [
27
27
  "execution-error",
28
28
  ];
29
29
  //# sourceMappingURL=custom-checks.types.js.map
30
- //# debugId=8ef65cd4-8945-57ad-89ea-063f84e905ee
30
+ //# debugId=7935af01-8528-55fe-888c-aff9ac4f33b7
@@ -1 +1 @@
1
- {"version":3,"file":"custom-checks.types.js","sources":["../src/custom-checks.types.ts"],"sourceRoot":"","names":[],"mappings":";;;;;AA4DA;;;;GAIG;AACU,QAAA,+BAA+B,GAAG,GAAG,CAAC;AA4DnD;;;GAGG;AACU,QAAA,8BAA8B,GAAG,kBAAkB,CAAC;AAyBjE;;;;;;;GAOG;AACU,QAAA,6BAA6B,GAAG;IAC3C,UAAU;IACV,iBAAiB;CACT,CAAC","debugId":"8ef65cd4-8945-57ad-89ea-063f84e905ee"}
1
+ {"version":3,"file":"custom-checks.types.js","sources":["../src/custom-checks.types.ts"],"sourceRoot":"","names":[],"mappings":";;;;;AAiEA;;;;GAIG;AACU,QAAA,+BAA+B,GAAG,GAAG,CAAC;AA4DnD;;;GAGG;AACU,QAAA,8BAA8B,GAAG,kBAAkB,CAAC;AAyBjE;;;;;;;GAOG;AACU,QAAA,6BAA6B,GAAG;IAC3C,UAAU;IACV,iBAAiB;CACT,CAAC","debugId":"7935af01-8528-55fe-888c-aff9ac4f33b7"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alwaysmeticulous/api",
3
- "version": "2.293.0",
3
+ "version": "2.294.0",
4
4
  "description": "Meticulous API types",
5
5
  "license": "ISC",
6
6
  "main": "dist/index.js",