@alwaysmeticulous/api 2.288.2 → 2.289.1
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.
|
@@ -29,12 +29,16 @@ export interface CustomCheckInput {
|
|
|
29
29
|
headSnapshots: Snapshot[];
|
|
30
30
|
}
|
|
31
31
|
/**
|
|
32
|
+
* The outcome of comparing the base and head snapshots:
|
|
32
33
|
* - `pass`: no regression; the check is green and no report is surfaced.
|
|
33
34
|
* - `warn`: the check is green but its report is shown to the user.
|
|
34
35
|
* - `fail`: the check is red.
|
|
35
|
-
*
|
|
36
|
+
*
|
|
37
|
+
* A check failing to *run* is not a verdict: an execution error applies to the
|
|
38
|
+
* custom check results as a whole (every check), not to an individual check, so
|
|
39
|
+
* it is reported at that level rather than as a per-check verdict.
|
|
36
40
|
*/
|
|
37
|
-
export type CustomCheckVerdict = "pass" | "warn" | "fail"
|
|
41
|
+
export type CustomCheckVerdict = "pass" | "warn" | "fail";
|
|
38
42
|
/**
|
|
39
43
|
* Maximum length of a custom check `summary`. The summary is rendered inline in
|
|
40
44
|
* 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]="
|
|
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]="ead46771-c69a-5d16-8a48-a04e6e5098b8")}catch(e){}}();
|
|
3
3
|
|
|
4
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
5
|
exports.NETWORK_REQUESTS_SNAPSHOT_TYPE = exports.CUSTOM_CHECK_SUMMARY_MAX_LENGTH = void 0;
|
|
@@ -15,4 +15,4 @@ exports.CUSTOM_CHECK_SUMMARY_MAX_LENGTH = 500;
|
|
|
15
15
|
*/
|
|
16
16
|
exports.NETWORK_REQUESTS_SNAPSHOT_TYPE = "network-requests";
|
|
17
17
|
//# sourceMappingURL=custom-checks.types.js.map
|
|
18
|
-
//# debugId=
|
|
18
|
+
//# debugId=ead46771-c69a-5d16-8a48-a04e6e5098b8
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"custom-checks.types.js","sources":["../src/custom-checks.types.ts"],"sourceRoot":"","names":[],"mappings":";;;;;
|
|
1
|
+
{"version":3,"file":"custom-checks.types.js","sources":["../src/custom-checks.types.ts"],"sourceRoot":"","names":[],"mappings":";;;;;AAoDA;;;;GAIG;AACU,QAAA,+BAA+B,GAAG,GAAG,CAAC;AA4DnD;;;GAGG;AACU,QAAA,8BAA8B,GAAG,kBAAkB,CAAC","debugId":"ead46771-c69a-5d16-8a48-a04e6e5098b8"}
|