@cascade-flow/backend-interface 0.2.5 → 0.2.7
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 +3 -0
- package/dist/analytics.d.ts.map +1 -1
- package/dist/events.d.ts +24 -3
- package/dist/events.d.ts.map +1 -1
- package/dist/index.js +14 -6
- package/dist/index.js.map +5 -5
- package/dist/interface.d.ts +8 -2
- package/dist/interface.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/analytics.d.ts
CHANGED
|
@@ -9,6 +9,7 @@ export declare const errorBreakdownSchema: z.ZodObject<{
|
|
|
9
9
|
"exhausted-retries": "exhausted-retries";
|
|
10
10
|
"worker-crash": "worker-crash";
|
|
11
11
|
"execution-error": "execution-error";
|
|
12
|
+
"step-removed": "step-removed";
|
|
12
13
|
}>;
|
|
13
14
|
count: z.ZodNumber;
|
|
14
15
|
percentage: z.ZodNumber;
|
|
@@ -28,6 +29,7 @@ export declare const errorAnalysisSchema: z.ZodObject<{
|
|
|
28
29
|
"exhausted-retries": "exhausted-retries";
|
|
29
30
|
"worker-crash": "worker-crash";
|
|
30
31
|
"execution-error": "execution-error";
|
|
32
|
+
"step-removed": "step-removed";
|
|
31
33
|
}>;
|
|
32
34
|
count: z.ZodNumber;
|
|
33
35
|
percentage: z.ZodNumber;
|
|
@@ -189,6 +191,7 @@ export declare const analyticsSummarySchema: z.ZodObject<{
|
|
|
189
191
|
"exhausted-retries": "exhausted-retries";
|
|
190
192
|
"worker-crash": "worker-crash";
|
|
191
193
|
"execution-error": "execution-error";
|
|
194
|
+
"step-removed": "step-removed";
|
|
192
195
|
}>;
|
|
193
196
|
count: z.ZodNumber;
|
|
194
197
|
percentage: z.ZodNumber;
|
package/dist/analytics.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"analytics.d.ts","sourceRoot":"","sources":["../src/analytics.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,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.ZodObject<{
|
|
|
80
80
|
"exhausted-retries": "exhausted-retries";
|
|
81
81
|
"worker-crash": "worker-crash";
|
|
82
82
|
"execution-error": "execution-error";
|
|
83
|
+
"step-removed": "step-removed";
|
|
83
84
|
}>;
|
|
85
|
+
policyIndex: z.ZodOptional<z.ZodNumber>;
|
|
86
|
+
attemptInPolicy: z.ZodOptional<z.ZodNumber>;
|
|
84
87
|
}, z.core.$strip>;
|
|
85
88
|
export declare const logEntryEventSchema: z.ZodObject<{
|
|
86
89
|
eventId: z.ZodString;
|
|
@@ -112,7 +115,9 @@ export declare const stepRetryingEventSchema: z.ZodObject<{
|
|
|
112
115
|
stack: z.ZodOptional<z.ZodString>;
|
|
113
116
|
name: z.ZodOptional<z.ZodString>;
|
|
114
117
|
}, z.core.$strip>;
|
|
115
|
-
maxRetries: z.ZodNumber
|
|
118
|
+
maxRetries: z.ZodOptional<z.ZodNumber>;
|
|
119
|
+
totalPolicies: z.ZodOptional<z.ZodNumber>;
|
|
120
|
+
policyIndex: z.ZodOptional<z.ZodNumber>;
|
|
116
121
|
}, z.core.$strip>;
|
|
117
122
|
export declare const stepScheduledEventSchema: z.ZodObject<{
|
|
118
123
|
eventId: z.ZodString;
|
|
@@ -130,6 +135,8 @@ export declare const stepScheduledEventSchema: z.ZodObject<{
|
|
|
130
135
|
}>;
|
|
131
136
|
attemptNumber: z.ZodNumber;
|
|
132
137
|
retryDelayMs: z.ZodOptional<z.ZodNumber>;
|
|
138
|
+
policyIndex: z.ZodOptional<z.ZodNumber>;
|
|
139
|
+
attemptInPolicy: z.ZodOptional<z.ZodNumber>;
|
|
133
140
|
}, z.core.$strip>;
|
|
134
141
|
export declare const stepHeartbeatEventSchema: z.ZodObject<{
|
|
135
142
|
eventId: z.ZodString;
|
|
@@ -263,7 +270,10 @@ export declare const stepEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
263
270
|
"exhausted-retries": "exhausted-retries";
|
|
264
271
|
"worker-crash": "worker-crash";
|
|
265
272
|
"execution-error": "execution-error";
|
|
273
|
+
"step-removed": "step-removed";
|
|
266
274
|
}>;
|
|
275
|
+
policyIndex: z.ZodOptional<z.ZodNumber>;
|
|
276
|
+
attemptInPolicy: z.ZodOptional<z.ZodNumber>;
|
|
267
277
|
}, z.core.$strip>, z.ZodObject<{
|
|
268
278
|
eventId: z.ZodString;
|
|
269
279
|
timestampUs: z.ZodNumber;
|
|
@@ -293,7 +303,9 @@ export declare const stepEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
293
303
|
stack: z.ZodOptional<z.ZodString>;
|
|
294
304
|
name: z.ZodOptional<z.ZodString>;
|
|
295
305
|
}, z.core.$strip>;
|
|
296
|
-
maxRetries: z.ZodNumber
|
|
306
|
+
maxRetries: z.ZodOptional<z.ZodNumber>;
|
|
307
|
+
totalPolicies: z.ZodOptional<z.ZodNumber>;
|
|
308
|
+
policyIndex: z.ZodOptional<z.ZodNumber>;
|
|
297
309
|
}, z.core.$strip>, z.ZodObject<{
|
|
298
310
|
eventId: z.ZodString;
|
|
299
311
|
timestampUs: z.ZodNumber;
|
|
@@ -310,6 +322,8 @@ export declare const stepEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
310
322
|
}>;
|
|
311
323
|
attemptNumber: z.ZodNumber;
|
|
312
324
|
retryDelayMs: z.ZodOptional<z.ZodNumber>;
|
|
325
|
+
policyIndex: z.ZodOptional<z.ZodNumber>;
|
|
326
|
+
attemptInPolicy: z.ZodOptional<z.ZodNumber>;
|
|
313
327
|
}, z.core.$strip>, z.ZodObject<{
|
|
314
328
|
eventId: z.ZodString;
|
|
315
329
|
workflowSlug: z.ZodString;
|
|
@@ -696,7 +710,10 @@ export declare const eventSchema: z.ZodUnion<readonly [z.ZodDiscriminatedUnion<[
|
|
|
696
710
|
"exhausted-retries": "exhausted-retries";
|
|
697
711
|
"worker-crash": "worker-crash";
|
|
698
712
|
"execution-error": "execution-error";
|
|
713
|
+
"step-removed": "step-removed";
|
|
699
714
|
}>;
|
|
715
|
+
policyIndex: z.ZodOptional<z.ZodNumber>;
|
|
716
|
+
attemptInPolicy: z.ZodOptional<z.ZodNumber>;
|
|
700
717
|
}, z.core.$strip>, z.ZodObject<{
|
|
701
718
|
eventId: z.ZodString;
|
|
702
719
|
timestampUs: z.ZodNumber;
|
|
@@ -726,7 +743,9 @@ export declare const eventSchema: z.ZodUnion<readonly [z.ZodDiscriminatedUnion<[
|
|
|
726
743
|
stack: z.ZodOptional<z.ZodString>;
|
|
727
744
|
name: z.ZodOptional<z.ZodString>;
|
|
728
745
|
}, z.core.$strip>;
|
|
729
|
-
maxRetries: z.ZodNumber
|
|
746
|
+
maxRetries: z.ZodOptional<z.ZodNumber>;
|
|
747
|
+
totalPolicies: z.ZodOptional<z.ZodNumber>;
|
|
748
|
+
policyIndex: z.ZodOptional<z.ZodNumber>;
|
|
730
749
|
}, z.core.$strip>, z.ZodObject<{
|
|
731
750
|
eventId: z.ZodString;
|
|
732
751
|
timestampUs: z.ZodNumber;
|
|
@@ -743,6 +762,8 @@ export declare const eventSchema: z.ZodUnion<readonly [z.ZodDiscriminatedUnion<[
|
|
|
743
762
|
}>;
|
|
744
763
|
attemptNumber: z.ZodNumber;
|
|
745
764
|
retryDelayMs: z.ZodOptional<z.ZodNumber>;
|
|
765
|
+
policyIndex: z.ZodOptional<z.ZodNumber>;
|
|
766
|
+
attemptInPolicy: z.ZodOptional<z.ZodNumber>;
|
|
746
767
|
}, z.core.$strip>, z.ZodObject<{
|
|
747
768
|
eventId: z.ZodString;
|
|
748
769
|
workflowSlug: z.ZodString;
|
package/dist/events.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"events.d.ts","sourceRoot":"","sources":["../src/events.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,eAAO,MAAM,aAAa,aAA4B,CAAC;AAGvD,eAAO,MAAM,eAAe;;;;;;;;;iB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AAC,CAAC;AACxE,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,0BAA0B,CAAC,CAAC;AAC9E,MAAM,MAAM,4BAA4B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kCAAkC,CAAC,CAAC;AAC9F,MAAM,MAAM,sBAAsB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,4BAA4B,CAAC,CAAC;AAClF,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,yBAAyB,CAAC,CAAC;AAC5E,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,0BAA0B,CAAC,CAAC;AAC9E,MAAM,MAAM,sBAAsB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,4BAA4B,CAAC,CAAC;AAClF,MAAM,MAAM,yBAAyB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,+BAA+B,CAAC,CAAC;AACxF,MAAM,MAAM,0BAA0B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gCAAgC,CAAC,CAAC;AAG1F,MAAM,MAAM,KAAK,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,WAAW,CAAC,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -12637,8 +12637,11 @@ var stepFailedEventSchema = baseStepEventSchema.extend({
|
|
|
12637
12637
|
"worker-crash",
|
|
12638
12638
|
"timeout",
|
|
12639
12639
|
"cancelled",
|
|
12640
|
-
"execution-error"
|
|
12641
|
-
|
|
12640
|
+
"execution-error",
|
|
12641
|
+
"step-removed"
|
|
12642
|
+
]),
|
|
12643
|
+
policyIndex: exports_external.number().int().nonnegative().optional(),
|
|
12644
|
+
attemptInPolicy: exports_external.number().int().positive().optional()
|
|
12642
12645
|
});
|
|
12643
12646
|
var logEntryEventSchema = baseStepEventSchema.extend({
|
|
12644
12647
|
type: exports_external.literal("LogEntry"),
|
|
@@ -12651,14 +12654,18 @@ var stepRetryingEventSchema = baseStepEventSchema.extend({
|
|
|
12651
12654
|
attemptNumber: exports_external.number().int().positive(),
|
|
12652
12655
|
nextAttempt: exports_external.number().int().positive(),
|
|
12653
12656
|
error: StepErrorSchema,
|
|
12654
|
-
maxRetries: exports_external.number().int().nonnegative()
|
|
12657
|
+
maxRetries: exports_external.number().int().nonnegative().optional(),
|
|
12658
|
+
totalPolicies: exports_external.number().int().positive().optional(),
|
|
12659
|
+
policyIndex: exports_external.number().int().nonnegative().optional()
|
|
12655
12660
|
});
|
|
12656
12661
|
var stepScheduledEventSchema = baseStepEventSchema.extend({
|
|
12657
12662
|
type: exports_external.literal("StepScheduled"),
|
|
12658
12663
|
availableAtUs: exports_external.number(),
|
|
12659
12664
|
reason: exports_external.enum(["initial", "retry", "dependency-satisfied"]),
|
|
12660
12665
|
attemptNumber: exports_external.number().int().positive(),
|
|
12661
|
-
retryDelayMs: exports_external.number().int().nonnegative().optional()
|
|
12666
|
+
retryDelayMs: exports_external.number().int().nonnegative().optional(),
|
|
12667
|
+
policyIndex: exports_external.number().int().nonnegative().optional(),
|
|
12668
|
+
attemptInPolicy: exports_external.number().int().positive().optional()
|
|
12662
12669
|
});
|
|
12663
12670
|
var stepHeartbeatEventSchema = baseStepEventSchema.extend({
|
|
12664
12671
|
type: exports_external.literal("StepHeartbeat"),
|
|
@@ -13271,7 +13278,8 @@ var errorBreakdownSchema = exports_external.object({
|
|
|
13271
13278
|
"worker-crash",
|
|
13272
13279
|
"timeout",
|
|
13273
13280
|
"cancelled",
|
|
13274
|
-
"execution-error"
|
|
13281
|
+
"execution-error",
|
|
13282
|
+
"step-removed"
|
|
13275
13283
|
]),
|
|
13276
13284
|
count: exports_external.number().int().nonnegative(),
|
|
13277
13285
|
percentage: exports_external.number().min(0).max(100)
|
|
@@ -13898,4 +13906,4 @@ export {
|
|
|
13898
13906
|
Backend
|
|
13899
13907
|
};
|
|
13900
13908
|
|
|
13901
|
-
//# debugId=
|
|
13909
|
+
//# debugId=ED63D19E8C262A4564756E2164756E21
|