@usefidel/contracts 0.7.0 → 0.8.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.
- package/dist/analytics.d.ts +16 -2
- package/package.json +1 -1
package/dist/analytics.d.ts
CHANGED
|
@@ -195,13 +195,27 @@ export interface WebValidationCompletedProperties extends ValidationEventPropert
|
|
|
195
195
|
*/
|
|
196
196
|
result_completeness?: ResultCompleteness;
|
|
197
197
|
}
|
|
198
|
-
|
|
198
|
+
/**
|
|
199
|
+
* A run that failed or was cancelled.
|
|
200
|
+
*
|
|
201
|
+
* `run_id` is NULLABLE here and required on the success events, and the
|
|
202
|
+
* asymmetry is the point: a run rejected BEFORE the backend accepted it — the
|
|
203
|
+
* upgrade wall, a rate limit, an invalid URL — never received an id. Requiring
|
|
204
|
+
* one would force those events to be dropped, and they are the failures most
|
|
205
|
+
* worth counting. `null` means "rejected before acceptance"; a string means
|
|
206
|
+
* "accepted, then failed".
|
|
207
|
+
*/
|
|
208
|
+
export interface ValidationFailedProperties {
|
|
209
|
+
run_id: string | null;
|
|
210
|
+
validation_mode: ValidationMode;
|
|
199
211
|
duration_ms: number;
|
|
200
212
|
error_code: string;
|
|
201
213
|
error_phase: ValidationErrorPhase;
|
|
202
214
|
retryable: boolean;
|
|
203
215
|
}
|
|
204
|
-
export interface ValidationCancelledProperties
|
|
216
|
+
export interface ValidationCancelledProperties {
|
|
217
|
+
run_id: string | null;
|
|
218
|
+
validation_mode: ValidationMode;
|
|
205
219
|
duration_ms: number;
|
|
206
220
|
error_phase: ValidationErrorPhase;
|
|
207
221
|
}
|
package/package.json
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
"The source of truth still lives in the monorepo at packages/contracts/."
|
|
8
8
|
],
|
|
9
9
|
"name": "@usefidel/contracts",
|
|
10
|
-
"version": "0.
|
|
10
|
+
"version": "0.8.0",
|
|
11
11
|
"description": "Shared, code-free contracts between Fidel surfaces. Run-error taxonomy, theme-intake wire types, and the canonical fidel.config.json builders.",
|
|
12
12
|
"license": "UNLICENSED",
|
|
13
13
|
"private": false,
|