@trigger.dev/sdk 0.0.0-prerelease-20240926084729 → 0.0.0-prerelease-20241003205750
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/commonjs/v3/index.d.ts +1 -0
- package/dist/commonjs/v3/index.js +1 -0
- package/dist/commonjs/v3/index.js.map +1 -1
- package/dist/commonjs/v3/runs.d.ts +144 -144
- package/dist/commonjs/v3/shared.d.ts +14 -0
- package/dist/commonjs/v3/shared.js +5 -18
- package/dist/commonjs/v3/shared.js.map +1 -1
- package/dist/commonjs/v3/timeout.d.ts +4 -0
- package/dist/commonjs/v3/timeout.js +10 -0
- package/dist/commonjs/v3/timeout.js.map +1 -0
- package/dist/commonjs/version.js +1 -1
- package/dist/esm/v3/index.d.ts +1 -0
- package/dist/esm/v3/index.js +1 -0
- package/dist/esm/v3/index.js.map +1 -1
- package/dist/esm/v3/runs.d.ts +192 -192
- package/dist/esm/v3/shared.d.ts +14 -0
- package/dist/esm/v3/shared.js +5 -18
- package/dist/esm/v3/shared.js.map +1 -1
- package/dist/esm/v3/timeout.d.ts +4 -0
- package/dist/esm/v3/timeout.js +7 -0
- package/dist/esm/v3/timeout.js.map +1 -0
- package/dist/esm/version.js +1 -1
- package/package.json +2 -2
|
@@ -28,14 +28,10 @@ export type PollOptions = {
|
|
|
28
28
|
declare function poll<TRunId extends RunHandle<any> | AnyTask | string>(runId: RunId<TRunId>, options?: {
|
|
29
29
|
pollIntervalMs?: number;
|
|
30
30
|
}, requestOptions?: ApiRequestOptions): Promise<(TRunId extends RunHandle<infer TOutput> ? Omit<{
|
|
31
|
-
status: "CANCELED" | "COMPLETED" | "FAILED" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
|
|
31
|
+
status: "CANCELED" | "COMPLETED" | "FAILED" | "TIMED_OUT" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
|
|
32
32
|
id: string;
|
|
33
|
-
tags: string[];
|
|
34
|
-
isTest: boolean;
|
|
35
33
|
createdAt: Date;
|
|
36
|
-
|
|
37
|
-
costInCents: number;
|
|
38
|
-
baseCostInCents: number;
|
|
34
|
+
tags: string[];
|
|
39
35
|
depth: number;
|
|
40
36
|
triggerFunction: "triggerAndWait" | "trigger" | "batchTriggerAndWait" | "batchTrigger";
|
|
41
37
|
taskIdentifier: string;
|
|
@@ -45,17 +41,17 @@ declare function poll<TRunId extends RunHandle<any> | AnyTask | string>(runId: R
|
|
|
45
41
|
isSuccess: boolean;
|
|
46
42
|
isFailed: boolean;
|
|
47
43
|
isCancelled: boolean;
|
|
44
|
+
isTest: boolean;
|
|
48
45
|
updatedAt: Date;
|
|
46
|
+
costInCents: number;
|
|
47
|
+
baseCostInCents: number;
|
|
48
|
+
durationMs: number;
|
|
49
49
|
relatedRuns: {
|
|
50
50
|
root?: {
|
|
51
|
-
status: "CANCELED" | "COMPLETED" | "FAILED" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
|
|
51
|
+
status: "CANCELED" | "COMPLETED" | "FAILED" | "TIMED_OUT" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
|
|
52
52
|
id: string;
|
|
53
|
-
tags: string[];
|
|
54
|
-
isTest: boolean;
|
|
55
53
|
createdAt: Date;
|
|
56
|
-
|
|
57
|
-
costInCents: number;
|
|
58
|
-
baseCostInCents: number;
|
|
54
|
+
tags: string[];
|
|
59
55
|
depth: number;
|
|
60
56
|
triggerFunction: "triggerAndWait" | "trigger" | "batchTriggerAndWait" | "batchTrigger";
|
|
61
57
|
taskIdentifier: string;
|
|
@@ -65,7 +61,11 @@ declare function poll<TRunId extends RunHandle<any> | AnyTask | string>(runId: R
|
|
|
65
61
|
isSuccess: boolean;
|
|
66
62
|
isFailed: boolean;
|
|
67
63
|
isCancelled: boolean;
|
|
64
|
+
isTest: boolean;
|
|
68
65
|
updatedAt: Date;
|
|
66
|
+
costInCents: number;
|
|
67
|
+
baseCostInCents: number;
|
|
68
|
+
durationMs: number;
|
|
69
69
|
batchId?: string | undefined;
|
|
70
70
|
idempotencyKey?: string | undefined;
|
|
71
71
|
version?: string | undefined;
|
|
@@ -77,14 +77,10 @@ declare function poll<TRunId extends RunHandle<any> | AnyTask | string>(runId: R
|
|
|
77
77
|
metadata?: Record<string, any> | undefined;
|
|
78
78
|
} | undefined;
|
|
79
79
|
parent?: {
|
|
80
|
-
status: "CANCELED" | "COMPLETED" | "FAILED" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
|
|
80
|
+
status: "CANCELED" | "COMPLETED" | "FAILED" | "TIMED_OUT" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
|
|
81
81
|
id: string;
|
|
82
|
-
tags: string[];
|
|
83
|
-
isTest: boolean;
|
|
84
82
|
createdAt: Date;
|
|
85
|
-
|
|
86
|
-
costInCents: number;
|
|
87
|
-
baseCostInCents: number;
|
|
83
|
+
tags: string[];
|
|
88
84
|
depth: number;
|
|
89
85
|
triggerFunction: "triggerAndWait" | "trigger" | "batchTriggerAndWait" | "batchTrigger";
|
|
90
86
|
taskIdentifier: string;
|
|
@@ -94,7 +90,11 @@ declare function poll<TRunId extends RunHandle<any> | AnyTask | string>(runId: R
|
|
|
94
90
|
isSuccess: boolean;
|
|
95
91
|
isFailed: boolean;
|
|
96
92
|
isCancelled: boolean;
|
|
93
|
+
isTest: boolean;
|
|
97
94
|
updatedAt: Date;
|
|
95
|
+
costInCents: number;
|
|
96
|
+
baseCostInCents: number;
|
|
97
|
+
durationMs: number;
|
|
98
98
|
batchId?: string | undefined;
|
|
99
99
|
idempotencyKey?: string | undefined;
|
|
100
100
|
version?: string | undefined;
|
|
@@ -106,14 +106,10 @@ declare function poll<TRunId extends RunHandle<any> | AnyTask | string>(runId: R
|
|
|
106
106
|
metadata?: Record<string, any> | undefined;
|
|
107
107
|
} | undefined;
|
|
108
108
|
children?: {
|
|
109
|
-
status: "CANCELED" | "COMPLETED" | "FAILED" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
|
|
109
|
+
status: "CANCELED" | "COMPLETED" | "FAILED" | "TIMED_OUT" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
|
|
110
110
|
id: string;
|
|
111
|
-
tags: string[];
|
|
112
|
-
isTest: boolean;
|
|
113
111
|
createdAt: Date;
|
|
114
|
-
|
|
115
|
-
costInCents: number;
|
|
116
|
-
baseCostInCents: number;
|
|
112
|
+
tags: string[];
|
|
117
113
|
depth: number;
|
|
118
114
|
triggerFunction: "triggerAndWait" | "trigger" | "batchTriggerAndWait" | "batchTrigger";
|
|
119
115
|
taskIdentifier: string;
|
|
@@ -123,7 +119,11 @@ declare function poll<TRunId extends RunHandle<any> | AnyTask | string>(runId: R
|
|
|
123
119
|
isSuccess: boolean;
|
|
124
120
|
isFailed: boolean;
|
|
125
121
|
isCancelled: boolean;
|
|
122
|
+
isTest: boolean;
|
|
126
123
|
updatedAt: Date;
|
|
124
|
+
costInCents: number;
|
|
125
|
+
baseCostInCents: number;
|
|
126
|
+
durationMs: number;
|
|
127
127
|
batchId?: string | undefined;
|
|
128
128
|
idempotencyKey?: string | undefined;
|
|
129
129
|
version?: string | undefined;
|
|
@@ -174,14 +174,10 @@ declare function poll<TRunId extends RunHandle<any> | AnyTask | string>(runId: R
|
|
|
174
174
|
}, "output"> & {
|
|
175
175
|
output?: TOutput;
|
|
176
176
|
} : TRunId extends Task<string, any, infer TTaskOutput> ? Omit<{
|
|
177
|
-
status: "CANCELED" | "COMPLETED" | "FAILED" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
|
|
177
|
+
status: "CANCELED" | "COMPLETED" | "FAILED" | "TIMED_OUT" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
|
|
178
178
|
id: string;
|
|
179
|
-
tags: string[];
|
|
180
|
-
isTest: boolean;
|
|
181
179
|
createdAt: Date;
|
|
182
|
-
|
|
183
|
-
costInCents: number;
|
|
184
|
-
baseCostInCents: number;
|
|
180
|
+
tags: string[];
|
|
185
181
|
depth: number;
|
|
186
182
|
triggerFunction: "triggerAndWait" | "trigger" | "batchTriggerAndWait" | "batchTrigger";
|
|
187
183
|
taskIdentifier: string;
|
|
@@ -191,17 +187,17 @@ declare function poll<TRunId extends RunHandle<any> | AnyTask | string>(runId: R
|
|
|
191
187
|
isSuccess: boolean;
|
|
192
188
|
isFailed: boolean;
|
|
193
189
|
isCancelled: boolean;
|
|
190
|
+
isTest: boolean;
|
|
194
191
|
updatedAt: Date;
|
|
192
|
+
costInCents: number;
|
|
193
|
+
baseCostInCents: number;
|
|
194
|
+
durationMs: number;
|
|
195
195
|
relatedRuns: {
|
|
196
196
|
root?: {
|
|
197
|
-
status: "CANCELED" | "COMPLETED" | "FAILED" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
|
|
197
|
+
status: "CANCELED" | "COMPLETED" | "FAILED" | "TIMED_OUT" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
|
|
198
198
|
id: string;
|
|
199
|
-
tags: string[];
|
|
200
|
-
isTest: boolean;
|
|
201
199
|
createdAt: Date;
|
|
202
|
-
|
|
203
|
-
costInCents: number;
|
|
204
|
-
baseCostInCents: number;
|
|
200
|
+
tags: string[];
|
|
205
201
|
depth: number;
|
|
206
202
|
triggerFunction: "triggerAndWait" | "trigger" | "batchTriggerAndWait" | "batchTrigger";
|
|
207
203
|
taskIdentifier: string;
|
|
@@ -211,7 +207,11 @@ declare function poll<TRunId extends RunHandle<any> | AnyTask | string>(runId: R
|
|
|
211
207
|
isSuccess: boolean;
|
|
212
208
|
isFailed: boolean;
|
|
213
209
|
isCancelled: boolean;
|
|
210
|
+
isTest: boolean;
|
|
214
211
|
updatedAt: Date;
|
|
212
|
+
costInCents: number;
|
|
213
|
+
baseCostInCents: number;
|
|
214
|
+
durationMs: number;
|
|
215
215
|
batchId?: string | undefined;
|
|
216
216
|
idempotencyKey?: string | undefined;
|
|
217
217
|
version?: string | undefined;
|
|
@@ -223,14 +223,10 @@ declare function poll<TRunId extends RunHandle<any> | AnyTask | string>(runId: R
|
|
|
223
223
|
metadata?: Record<string, any> | undefined;
|
|
224
224
|
} | undefined;
|
|
225
225
|
parent?: {
|
|
226
|
-
status: "CANCELED" | "COMPLETED" | "FAILED" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
|
|
226
|
+
status: "CANCELED" | "COMPLETED" | "FAILED" | "TIMED_OUT" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
|
|
227
227
|
id: string;
|
|
228
|
-
tags: string[];
|
|
229
|
-
isTest: boolean;
|
|
230
228
|
createdAt: Date;
|
|
231
|
-
|
|
232
|
-
costInCents: number;
|
|
233
|
-
baseCostInCents: number;
|
|
229
|
+
tags: string[];
|
|
234
230
|
depth: number;
|
|
235
231
|
triggerFunction: "triggerAndWait" | "trigger" | "batchTriggerAndWait" | "batchTrigger";
|
|
236
232
|
taskIdentifier: string;
|
|
@@ -240,7 +236,11 @@ declare function poll<TRunId extends RunHandle<any> | AnyTask | string>(runId: R
|
|
|
240
236
|
isSuccess: boolean;
|
|
241
237
|
isFailed: boolean;
|
|
242
238
|
isCancelled: boolean;
|
|
239
|
+
isTest: boolean;
|
|
243
240
|
updatedAt: Date;
|
|
241
|
+
costInCents: number;
|
|
242
|
+
baseCostInCents: number;
|
|
243
|
+
durationMs: number;
|
|
244
244
|
batchId?: string | undefined;
|
|
245
245
|
idempotencyKey?: string | undefined;
|
|
246
246
|
version?: string | undefined;
|
|
@@ -252,14 +252,10 @@ declare function poll<TRunId extends RunHandle<any> | AnyTask | string>(runId: R
|
|
|
252
252
|
metadata?: Record<string, any> | undefined;
|
|
253
253
|
} | undefined;
|
|
254
254
|
children?: {
|
|
255
|
-
status: "CANCELED" | "COMPLETED" | "FAILED" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
|
|
255
|
+
status: "CANCELED" | "COMPLETED" | "FAILED" | "TIMED_OUT" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
|
|
256
256
|
id: string;
|
|
257
|
-
tags: string[];
|
|
258
|
-
isTest: boolean;
|
|
259
257
|
createdAt: Date;
|
|
260
|
-
|
|
261
|
-
costInCents: number;
|
|
262
|
-
baseCostInCents: number;
|
|
258
|
+
tags: string[];
|
|
263
259
|
depth: number;
|
|
264
260
|
triggerFunction: "triggerAndWait" | "trigger" | "batchTriggerAndWait" | "batchTrigger";
|
|
265
261
|
taskIdentifier: string;
|
|
@@ -269,7 +265,11 @@ declare function poll<TRunId extends RunHandle<any> | AnyTask | string>(runId: R
|
|
|
269
265
|
isSuccess: boolean;
|
|
270
266
|
isFailed: boolean;
|
|
271
267
|
isCancelled: boolean;
|
|
268
|
+
isTest: boolean;
|
|
272
269
|
updatedAt: Date;
|
|
270
|
+
costInCents: number;
|
|
271
|
+
baseCostInCents: number;
|
|
272
|
+
durationMs: number;
|
|
273
273
|
batchId?: string | undefined;
|
|
274
274
|
idempotencyKey?: string | undefined;
|
|
275
275
|
version?: string | undefined;
|
|
@@ -320,14 +320,10 @@ declare function poll<TRunId extends RunHandle<any> | AnyTask | string>(runId: R
|
|
|
320
320
|
}, "output"> & {
|
|
321
321
|
output?: TTaskOutput;
|
|
322
322
|
} : TRunId extends string ? {
|
|
323
|
-
status: "CANCELED" | "COMPLETED" | "FAILED" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
|
|
323
|
+
status: "CANCELED" | "COMPLETED" | "FAILED" | "TIMED_OUT" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
|
|
324
324
|
id: string;
|
|
325
|
-
tags: string[];
|
|
326
|
-
isTest: boolean;
|
|
327
325
|
createdAt: Date;
|
|
328
|
-
|
|
329
|
-
costInCents: number;
|
|
330
|
-
baseCostInCents: number;
|
|
326
|
+
tags: string[];
|
|
331
327
|
depth: number;
|
|
332
328
|
triggerFunction: "triggerAndWait" | "trigger" | "batchTriggerAndWait" | "batchTrigger";
|
|
333
329
|
taskIdentifier: string;
|
|
@@ -337,17 +333,17 @@ declare function poll<TRunId extends RunHandle<any> | AnyTask | string>(runId: R
|
|
|
337
333
|
isSuccess: boolean;
|
|
338
334
|
isFailed: boolean;
|
|
339
335
|
isCancelled: boolean;
|
|
336
|
+
isTest: boolean;
|
|
340
337
|
updatedAt: Date;
|
|
338
|
+
costInCents: number;
|
|
339
|
+
baseCostInCents: number;
|
|
340
|
+
durationMs: number;
|
|
341
341
|
relatedRuns: {
|
|
342
342
|
root?: {
|
|
343
|
-
status: "CANCELED" | "COMPLETED" | "FAILED" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
|
|
343
|
+
status: "CANCELED" | "COMPLETED" | "FAILED" | "TIMED_OUT" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
|
|
344
344
|
id: string;
|
|
345
|
-
tags: string[];
|
|
346
|
-
isTest: boolean;
|
|
347
345
|
createdAt: Date;
|
|
348
|
-
|
|
349
|
-
costInCents: number;
|
|
350
|
-
baseCostInCents: number;
|
|
346
|
+
tags: string[];
|
|
351
347
|
depth: number;
|
|
352
348
|
triggerFunction: "triggerAndWait" | "trigger" | "batchTriggerAndWait" | "batchTrigger";
|
|
353
349
|
taskIdentifier: string;
|
|
@@ -357,7 +353,11 @@ declare function poll<TRunId extends RunHandle<any> | AnyTask | string>(runId: R
|
|
|
357
353
|
isSuccess: boolean;
|
|
358
354
|
isFailed: boolean;
|
|
359
355
|
isCancelled: boolean;
|
|
356
|
+
isTest: boolean;
|
|
360
357
|
updatedAt: Date;
|
|
358
|
+
costInCents: number;
|
|
359
|
+
baseCostInCents: number;
|
|
360
|
+
durationMs: number;
|
|
361
361
|
batchId?: string | undefined;
|
|
362
362
|
idempotencyKey?: string | undefined;
|
|
363
363
|
version?: string | undefined;
|
|
@@ -369,14 +369,10 @@ declare function poll<TRunId extends RunHandle<any> | AnyTask | string>(runId: R
|
|
|
369
369
|
metadata?: Record<string, any> | undefined;
|
|
370
370
|
} | undefined;
|
|
371
371
|
parent?: {
|
|
372
|
-
status: "CANCELED" | "COMPLETED" | "FAILED" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
|
|
372
|
+
status: "CANCELED" | "COMPLETED" | "FAILED" | "TIMED_OUT" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
|
|
373
373
|
id: string;
|
|
374
|
-
tags: string[];
|
|
375
|
-
isTest: boolean;
|
|
376
374
|
createdAt: Date;
|
|
377
|
-
|
|
378
|
-
costInCents: number;
|
|
379
|
-
baseCostInCents: number;
|
|
375
|
+
tags: string[];
|
|
380
376
|
depth: number;
|
|
381
377
|
triggerFunction: "triggerAndWait" | "trigger" | "batchTriggerAndWait" | "batchTrigger";
|
|
382
378
|
taskIdentifier: string;
|
|
@@ -386,7 +382,11 @@ declare function poll<TRunId extends RunHandle<any> | AnyTask | string>(runId: R
|
|
|
386
382
|
isSuccess: boolean;
|
|
387
383
|
isFailed: boolean;
|
|
388
384
|
isCancelled: boolean;
|
|
385
|
+
isTest: boolean;
|
|
389
386
|
updatedAt: Date;
|
|
387
|
+
costInCents: number;
|
|
388
|
+
baseCostInCents: number;
|
|
389
|
+
durationMs: number;
|
|
390
390
|
batchId?: string | undefined;
|
|
391
391
|
idempotencyKey?: string | undefined;
|
|
392
392
|
version?: string | undefined;
|
|
@@ -398,14 +398,10 @@ declare function poll<TRunId extends RunHandle<any> | AnyTask | string>(runId: R
|
|
|
398
398
|
metadata?: Record<string, any> | undefined;
|
|
399
399
|
} | undefined;
|
|
400
400
|
children?: {
|
|
401
|
-
status: "CANCELED" | "COMPLETED" | "FAILED" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
|
|
401
|
+
status: "CANCELED" | "COMPLETED" | "FAILED" | "TIMED_OUT" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
|
|
402
402
|
id: string;
|
|
403
|
-
tags: string[];
|
|
404
|
-
isTest: boolean;
|
|
405
403
|
createdAt: Date;
|
|
406
|
-
|
|
407
|
-
costInCents: number;
|
|
408
|
-
baseCostInCents: number;
|
|
404
|
+
tags: string[];
|
|
409
405
|
depth: number;
|
|
410
406
|
triggerFunction: "triggerAndWait" | "trigger" | "batchTriggerAndWait" | "batchTrigger";
|
|
411
407
|
taskIdentifier: string;
|
|
@@ -415,7 +411,11 @@ declare function poll<TRunId extends RunHandle<any> | AnyTask | string>(runId: R
|
|
|
415
411
|
isSuccess: boolean;
|
|
416
412
|
isFailed: boolean;
|
|
417
413
|
isCancelled: boolean;
|
|
414
|
+
isTest: boolean;
|
|
418
415
|
updatedAt: Date;
|
|
416
|
+
costInCents: number;
|
|
417
|
+
baseCostInCents: number;
|
|
418
|
+
durationMs: number;
|
|
419
419
|
batchId?: string | undefined;
|
|
420
420
|
idempotencyKey?: string | undefined;
|
|
421
421
|
version?: string | undefined;
|
|
@@ -464,14 +464,10 @@ declare function poll<TRunId extends RunHandle<any> | AnyTask | string>(runId: R
|
|
|
464
464
|
expiredAt?: Date | undefined;
|
|
465
465
|
metadata?: Record<string, any> | undefined;
|
|
466
466
|
} : never) extends infer T ? { [K in keyof T]: (TRunId extends RunHandle<infer TOutput> ? Omit<{
|
|
467
|
-
status: "CANCELED" | "COMPLETED" | "FAILED" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
|
|
467
|
+
status: "CANCELED" | "COMPLETED" | "FAILED" | "TIMED_OUT" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
|
|
468
468
|
id: string;
|
|
469
|
-
tags: string[];
|
|
470
|
-
isTest: boolean;
|
|
471
469
|
createdAt: Date;
|
|
472
|
-
|
|
473
|
-
costInCents: number;
|
|
474
|
-
baseCostInCents: number;
|
|
470
|
+
tags: string[];
|
|
475
471
|
depth: number;
|
|
476
472
|
triggerFunction: "triggerAndWait" | "trigger" | "batchTriggerAndWait" | "batchTrigger";
|
|
477
473
|
taskIdentifier: string;
|
|
@@ -481,17 +477,17 @@ declare function poll<TRunId extends RunHandle<any> | AnyTask | string>(runId: R
|
|
|
481
477
|
isSuccess: boolean;
|
|
482
478
|
isFailed: boolean;
|
|
483
479
|
isCancelled: boolean;
|
|
480
|
+
isTest: boolean;
|
|
484
481
|
updatedAt: Date;
|
|
482
|
+
costInCents: number;
|
|
483
|
+
baseCostInCents: number;
|
|
484
|
+
durationMs: number;
|
|
485
485
|
relatedRuns: {
|
|
486
486
|
root?: {
|
|
487
|
-
status: "CANCELED" | "COMPLETED" | "FAILED" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
|
|
487
|
+
status: "CANCELED" | "COMPLETED" | "FAILED" | "TIMED_OUT" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
|
|
488
488
|
id: string;
|
|
489
|
-
tags: string[];
|
|
490
|
-
isTest: boolean;
|
|
491
489
|
createdAt: Date;
|
|
492
|
-
|
|
493
|
-
costInCents: number;
|
|
494
|
-
baseCostInCents: number;
|
|
490
|
+
tags: string[];
|
|
495
491
|
depth: number;
|
|
496
492
|
triggerFunction: "triggerAndWait" | "trigger" | "batchTriggerAndWait" | "batchTrigger";
|
|
497
493
|
taskIdentifier: string;
|
|
@@ -501,7 +497,11 @@ declare function poll<TRunId extends RunHandle<any> | AnyTask | string>(runId: R
|
|
|
501
497
|
isSuccess: boolean;
|
|
502
498
|
isFailed: boolean;
|
|
503
499
|
isCancelled: boolean;
|
|
500
|
+
isTest: boolean;
|
|
504
501
|
updatedAt: Date;
|
|
502
|
+
costInCents: number;
|
|
503
|
+
baseCostInCents: number;
|
|
504
|
+
durationMs: number;
|
|
505
505
|
batchId?: string | undefined;
|
|
506
506
|
idempotencyKey?: string | undefined;
|
|
507
507
|
version?: string | undefined;
|
|
@@ -513,14 +513,10 @@ declare function poll<TRunId extends RunHandle<any> | AnyTask | string>(runId: R
|
|
|
513
513
|
metadata?: Record<string, any> | undefined;
|
|
514
514
|
} | undefined;
|
|
515
515
|
parent?: {
|
|
516
|
-
status: "CANCELED" | "COMPLETED" | "FAILED" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
|
|
516
|
+
status: "CANCELED" | "COMPLETED" | "FAILED" | "TIMED_OUT" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
|
|
517
517
|
id: string;
|
|
518
|
-
tags: string[];
|
|
519
|
-
isTest: boolean;
|
|
520
518
|
createdAt: Date;
|
|
521
|
-
|
|
522
|
-
costInCents: number;
|
|
523
|
-
baseCostInCents: number;
|
|
519
|
+
tags: string[];
|
|
524
520
|
depth: number;
|
|
525
521
|
triggerFunction: "triggerAndWait" | "trigger" | "batchTriggerAndWait" | "batchTrigger";
|
|
526
522
|
taskIdentifier: string;
|
|
@@ -530,7 +526,11 @@ declare function poll<TRunId extends RunHandle<any> | AnyTask | string>(runId: R
|
|
|
530
526
|
isSuccess: boolean;
|
|
531
527
|
isFailed: boolean;
|
|
532
528
|
isCancelled: boolean;
|
|
529
|
+
isTest: boolean;
|
|
533
530
|
updatedAt: Date;
|
|
531
|
+
costInCents: number;
|
|
532
|
+
baseCostInCents: number;
|
|
533
|
+
durationMs: number;
|
|
534
534
|
batchId?: string | undefined;
|
|
535
535
|
idempotencyKey?: string | undefined;
|
|
536
536
|
version?: string | undefined;
|
|
@@ -542,14 +542,10 @@ declare function poll<TRunId extends RunHandle<any> | AnyTask | string>(runId: R
|
|
|
542
542
|
metadata?: Record<string, any> | undefined;
|
|
543
543
|
} | undefined;
|
|
544
544
|
children?: {
|
|
545
|
-
status: "CANCELED" | "COMPLETED" | "FAILED" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
|
|
545
|
+
status: "CANCELED" | "COMPLETED" | "FAILED" | "TIMED_OUT" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
|
|
546
546
|
id: string;
|
|
547
|
-
tags: string[];
|
|
548
|
-
isTest: boolean;
|
|
549
547
|
createdAt: Date;
|
|
550
|
-
|
|
551
|
-
costInCents: number;
|
|
552
|
-
baseCostInCents: number;
|
|
548
|
+
tags: string[];
|
|
553
549
|
depth: number;
|
|
554
550
|
triggerFunction: "triggerAndWait" | "trigger" | "batchTriggerAndWait" | "batchTrigger";
|
|
555
551
|
taskIdentifier: string;
|
|
@@ -559,7 +555,11 @@ declare function poll<TRunId extends RunHandle<any> | AnyTask | string>(runId: R
|
|
|
559
555
|
isSuccess: boolean;
|
|
560
556
|
isFailed: boolean;
|
|
561
557
|
isCancelled: boolean;
|
|
558
|
+
isTest: boolean;
|
|
562
559
|
updatedAt: Date;
|
|
560
|
+
costInCents: number;
|
|
561
|
+
baseCostInCents: number;
|
|
562
|
+
durationMs: number;
|
|
563
563
|
batchId?: string | undefined;
|
|
564
564
|
idempotencyKey?: string | undefined;
|
|
565
565
|
version?: string | undefined;
|
|
@@ -610,14 +610,10 @@ declare function poll<TRunId extends RunHandle<any> | AnyTask | string>(runId: R
|
|
|
610
610
|
}, "output"> & {
|
|
611
611
|
output?: TOutput;
|
|
612
612
|
} : TRunId extends Task<string, any, infer TTaskOutput> ? Omit<{
|
|
613
|
-
status: "CANCELED" | "COMPLETED" | "FAILED" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
|
|
613
|
+
status: "CANCELED" | "COMPLETED" | "FAILED" | "TIMED_OUT" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
|
|
614
614
|
id: string;
|
|
615
|
-
tags: string[];
|
|
616
|
-
isTest: boolean;
|
|
617
615
|
createdAt: Date;
|
|
618
|
-
|
|
619
|
-
costInCents: number;
|
|
620
|
-
baseCostInCents: number;
|
|
616
|
+
tags: string[];
|
|
621
617
|
depth: number;
|
|
622
618
|
triggerFunction: "triggerAndWait" | "trigger" | "batchTriggerAndWait" | "batchTrigger";
|
|
623
619
|
taskIdentifier: string;
|
|
@@ -627,17 +623,17 @@ declare function poll<TRunId extends RunHandle<any> | AnyTask | string>(runId: R
|
|
|
627
623
|
isSuccess: boolean;
|
|
628
624
|
isFailed: boolean;
|
|
629
625
|
isCancelled: boolean;
|
|
626
|
+
isTest: boolean;
|
|
630
627
|
updatedAt: Date;
|
|
628
|
+
costInCents: number;
|
|
629
|
+
baseCostInCents: number;
|
|
630
|
+
durationMs: number;
|
|
631
631
|
relatedRuns: {
|
|
632
632
|
root?: {
|
|
633
|
-
status: "CANCELED" | "COMPLETED" | "FAILED" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
|
|
633
|
+
status: "CANCELED" | "COMPLETED" | "FAILED" | "TIMED_OUT" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
|
|
634
634
|
id: string;
|
|
635
|
-
tags: string[];
|
|
636
|
-
isTest: boolean;
|
|
637
635
|
createdAt: Date;
|
|
638
|
-
|
|
639
|
-
costInCents: number;
|
|
640
|
-
baseCostInCents: number;
|
|
636
|
+
tags: string[];
|
|
641
637
|
depth: number;
|
|
642
638
|
triggerFunction: "triggerAndWait" | "trigger" | "batchTriggerAndWait" | "batchTrigger";
|
|
643
639
|
taskIdentifier: string;
|
|
@@ -647,7 +643,11 @@ declare function poll<TRunId extends RunHandle<any> | AnyTask | string>(runId: R
|
|
|
647
643
|
isSuccess: boolean;
|
|
648
644
|
isFailed: boolean;
|
|
649
645
|
isCancelled: boolean;
|
|
646
|
+
isTest: boolean;
|
|
650
647
|
updatedAt: Date;
|
|
648
|
+
costInCents: number;
|
|
649
|
+
baseCostInCents: number;
|
|
650
|
+
durationMs: number;
|
|
651
651
|
batchId?: string | undefined;
|
|
652
652
|
idempotencyKey?: string | undefined;
|
|
653
653
|
version?: string | undefined;
|
|
@@ -659,14 +659,10 @@ declare function poll<TRunId extends RunHandle<any> | AnyTask | string>(runId: R
|
|
|
659
659
|
metadata?: Record<string, any> | undefined;
|
|
660
660
|
} | undefined;
|
|
661
661
|
parent?: {
|
|
662
|
-
status: "CANCELED" | "COMPLETED" | "FAILED" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
|
|
662
|
+
status: "CANCELED" | "COMPLETED" | "FAILED" | "TIMED_OUT" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
|
|
663
663
|
id: string;
|
|
664
|
-
tags: string[];
|
|
665
|
-
isTest: boolean;
|
|
666
664
|
createdAt: Date;
|
|
667
|
-
|
|
668
|
-
costInCents: number;
|
|
669
|
-
baseCostInCents: number;
|
|
665
|
+
tags: string[];
|
|
670
666
|
depth: number;
|
|
671
667
|
triggerFunction: "triggerAndWait" | "trigger" | "batchTriggerAndWait" | "batchTrigger";
|
|
672
668
|
taskIdentifier: string;
|
|
@@ -676,7 +672,11 @@ declare function poll<TRunId extends RunHandle<any> | AnyTask | string>(runId: R
|
|
|
676
672
|
isSuccess: boolean;
|
|
677
673
|
isFailed: boolean;
|
|
678
674
|
isCancelled: boolean;
|
|
675
|
+
isTest: boolean;
|
|
679
676
|
updatedAt: Date;
|
|
677
|
+
costInCents: number;
|
|
678
|
+
baseCostInCents: number;
|
|
679
|
+
durationMs: number;
|
|
680
680
|
batchId?: string | undefined;
|
|
681
681
|
idempotencyKey?: string | undefined;
|
|
682
682
|
version?: string | undefined;
|
|
@@ -688,14 +688,10 @@ declare function poll<TRunId extends RunHandle<any> | AnyTask | string>(runId: R
|
|
|
688
688
|
metadata?: Record<string, any> | undefined;
|
|
689
689
|
} | undefined;
|
|
690
690
|
children?: {
|
|
691
|
-
status: "CANCELED" | "COMPLETED" | "FAILED" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
|
|
691
|
+
status: "CANCELED" | "COMPLETED" | "FAILED" | "TIMED_OUT" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
|
|
692
692
|
id: string;
|
|
693
|
-
tags: string[];
|
|
694
|
-
isTest: boolean;
|
|
695
693
|
createdAt: Date;
|
|
696
|
-
|
|
697
|
-
costInCents: number;
|
|
698
|
-
baseCostInCents: number;
|
|
694
|
+
tags: string[];
|
|
699
695
|
depth: number;
|
|
700
696
|
triggerFunction: "triggerAndWait" | "trigger" | "batchTriggerAndWait" | "batchTrigger";
|
|
701
697
|
taskIdentifier: string;
|
|
@@ -705,7 +701,11 @@ declare function poll<TRunId extends RunHandle<any> | AnyTask | string>(runId: R
|
|
|
705
701
|
isSuccess: boolean;
|
|
706
702
|
isFailed: boolean;
|
|
707
703
|
isCancelled: boolean;
|
|
704
|
+
isTest: boolean;
|
|
708
705
|
updatedAt: Date;
|
|
706
|
+
costInCents: number;
|
|
707
|
+
baseCostInCents: number;
|
|
708
|
+
durationMs: number;
|
|
709
709
|
batchId?: string | undefined;
|
|
710
710
|
idempotencyKey?: string | undefined;
|
|
711
711
|
version?: string | undefined;
|
|
@@ -756,14 +756,10 @@ declare function poll<TRunId extends RunHandle<any> | AnyTask | string>(runId: R
|
|
|
756
756
|
}, "output"> & {
|
|
757
757
|
output?: TTaskOutput;
|
|
758
758
|
} : TRunId extends string ? {
|
|
759
|
-
status: "CANCELED" | "COMPLETED" | "FAILED" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
|
|
759
|
+
status: "CANCELED" | "COMPLETED" | "FAILED" | "TIMED_OUT" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
|
|
760
760
|
id: string;
|
|
761
|
-
tags: string[];
|
|
762
|
-
isTest: boolean;
|
|
763
761
|
createdAt: Date;
|
|
764
|
-
|
|
765
|
-
costInCents: number;
|
|
766
|
-
baseCostInCents: number;
|
|
762
|
+
tags: string[];
|
|
767
763
|
depth: number;
|
|
768
764
|
triggerFunction: "triggerAndWait" | "trigger" | "batchTriggerAndWait" | "batchTrigger";
|
|
769
765
|
taskIdentifier: string;
|
|
@@ -773,17 +769,17 @@ declare function poll<TRunId extends RunHandle<any> | AnyTask | string>(runId: R
|
|
|
773
769
|
isSuccess: boolean;
|
|
774
770
|
isFailed: boolean;
|
|
775
771
|
isCancelled: boolean;
|
|
772
|
+
isTest: boolean;
|
|
776
773
|
updatedAt: Date;
|
|
774
|
+
costInCents: number;
|
|
775
|
+
baseCostInCents: number;
|
|
776
|
+
durationMs: number;
|
|
777
777
|
relatedRuns: {
|
|
778
778
|
root?: {
|
|
779
|
-
status: "CANCELED" | "COMPLETED" | "FAILED" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
|
|
779
|
+
status: "CANCELED" | "COMPLETED" | "FAILED" | "TIMED_OUT" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
|
|
780
780
|
id: string;
|
|
781
|
-
tags: string[];
|
|
782
|
-
isTest: boolean;
|
|
783
781
|
createdAt: Date;
|
|
784
|
-
|
|
785
|
-
costInCents: number;
|
|
786
|
-
baseCostInCents: number;
|
|
782
|
+
tags: string[];
|
|
787
783
|
depth: number;
|
|
788
784
|
triggerFunction: "triggerAndWait" | "trigger" | "batchTriggerAndWait" | "batchTrigger";
|
|
789
785
|
taskIdentifier: string;
|
|
@@ -793,7 +789,11 @@ declare function poll<TRunId extends RunHandle<any> | AnyTask | string>(runId: R
|
|
|
793
789
|
isSuccess: boolean;
|
|
794
790
|
isFailed: boolean;
|
|
795
791
|
isCancelled: boolean;
|
|
792
|
+
isTest: boolean;
|
|
796
793
|
updatedAt: Date;
|
|
794
|
+
costInCents: number;
|
|
795
|
+
baseCostInCents: number;
|
|
796
|
+
durationMs: number;
|
|
797
797
|
batchId?: string | undefined;
|
|
798
798
|
idempotencyKey?: string | undefined;
|
|
799
799
|
version?: string | undefined;
|
|
@@ -805,14 +805,10 @@ declare function poll<TRunId extends RunHandle<any> | AnyTask | string>(runId: R
|
|
|
805
805
|
metadata?: Record<string, any> | undefined;
|
|
806
806
|
} | undefined;
|
|
807
807
|
parent?: {
|
|
808
|
-
status: "CANCELED" | "COMPLETED" | "FAILED" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
|
|
808
|
+
status: "CANCELED" | "COMPLETED" | "FAILED" | "TIMED_OUT" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
|
|
809
809
|
id: string;
|
|
810
|
-
tags: string[];
|
|
811
|
-
isTest: boolean;
|
|
812
810
|
createdAt: Date;
|
|
813
|
-
|
|
814
|
-
costInCents: number;
|
|
815
|
-
baseCostInCents: number;
|
|
811
|
+
tags: string[];
|
|
816
812
|
depth: number;
|
|
817
813
|
triggerFunction: "triggerAndWait" | "trigger" | "batchTriggerAndWait" | "batchTrigger";
|
|
818
814
|
taskIdentifier: string;
|
|
@@ -822,7 +818,11 @@ declare function poll<TRunId extends RunHandle<any> | AnyTask | string>(runId: R
|
|
|
822
818
|
isSuccess: boolean;
|
|
823
819
|
isFailed: boolean;
|
|
824
820
|
isCancelled: boolean;
|
|
821
|
+
isTest: boolean;
|
|
825
822
|
updatedAt: Date;
|
|
823
|
+
costInCents: number;
|
|
824
|
+
baseCostInCents: number;
|
|
825
|
+
durationMs: number;
|
|
826
826
|
batchId?: string | undefined;
|
|
827
827
|
idempotencyKey?: string | undefined;
|
|
828
828
|
version?: string | undefined;
|
|
@@ -834,14 +834,10 @@ declare function poll<TRunId extends RunHandle<any> | AnyTask | string>(runId: R
|
|
|
834
834
|
metadata?: Record<string, any> | undefined;
|
|
835
835
|
} | undefined;
|
|
836
836
|
children?: {
|
|
837
|
-
status: "CANCELED" | "COMPLETED" | "FAILED" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
|
|
837
|
+
status: "CANCELED" | "COMPLETED" | "FAILED" | "TIMED_OUT" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
|
|
838
838
|
id: string;
|
|
839
|
-
tags: string[];
|
|
840
|
-
isTest: boolean;
|
|
841
839
|
createdAt: Date;
|
|
842
|
-
|
|
843
|
-
costInCents: number;
|
|
844
|
-
baseCostInCents: number;
|
|
840
|
+
tags: string[];
|
|
845
841
|
depth: number;
|
|
846
842
|
triggerFunction: "triggerAndWait" | "trigger" | "batchTriggerAndWait" | "batchTrigger";
|
|
847
843
|
taskIdentifier: string;
|
|
@@ -851,7 +847,11 @@ declare function poll<TRunId extends RunHandle<any> | AnyTask | string>(runId: R
|
|
|
851
847
|
isSuccess: boolean;
|
|
852
848
|
isFailed: boolean;
|
|
853
849
|
isCancelled: boolean;
|
|
850
|
+
isTest: boolean;
|
|
854
851
|
updatedAt: Date;
|
|
852
|
+
costInCents: number;
|
|
853
|
+
baseCostInCents: number;
|
|
854
|
+
durationMs: number;
|
|
855
855
|
batchId?: string | undefined;
|
|
856
856
|
idempotencyKey?: string | undefined;
|
|
857
857
|
version?: string | undefined;
|