@trigger.dev/core 0.0.0-prerelease-20250430143421 → 0.0.0-prerelease-20250503193704
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/utils.d.ts +6 -0
- package/dist/commonjs/utils.js +14 -0
- package/dist/commonjs/utils.js.map +1 -1
- package/dist/commonjs/v3/apiClient/index.d.ts +43 -43
- package/dist/commonjs/v3/apiClientManager/index.d.ts +1 -1
- package/dist/commonjs/v3/lifecycle-hooks-api.d.ts +1 -1
- package/dist/commonjs/v3/lifecycleHooks/index.d.ts +7 -1
- package/dist/commonjs/v3/lifecycleHooks/index.js +18 -0
- package/dist/commonjs/v3/lifecycleHooks/index.js.map +1 -1
- package/dist/commonjs/v3/lifecycleHooks/manager.d.ts +18 -3
- package/dist/commonjs/v3/lifecycleHooks/manager.js +49 -2
- package/dist/commonjs/v3/lifecycleHooks/manager.js.map +1 -1
- package/dist/commonjs/v3/lifecycleHooks/types.d.ts +26 -10
- package/dist/commonjs/v3/runEngineWorker/supervisor/http.d.ts +17 -17
- package/dist/commonjs/v3/runEngineWorker/supervisor/queueConsumer.d.ts +4 -2
- package/dist/commonjs/v3/runEngineWorker/supervisor/queueConsumer.js +11 -5
- package/dist/commonjs/v3/runEngineWorker/supervisor/queueConsumer.js.map +1 -1
- package/dist/commonjs/v3/runEngineWorker/supervisor/schemas.d.ts +164 -164
- package/dist/commonjs/v3/runEngineWorker/supervisor/session.d.ts +3 -3
- package/dist/commonjs/v3/runEngineWorker/supervisor/session.js +2 -4
- package/dist/commonjs/v3/runEngineWorker/supervisor/session.js.map +1 -1
- package/dist/commonjs/v3/runEngineWorker/workload/http.d.ts +12 -12
- package/dist/commonjs/v3/runEngineWorker/workload/schemas.d.ts +142 -142
- package/dist/commonjs/v3/schemas/api.d.ts +214 -214
- package/dist/commonjs/v3/schemas/build.d.ts +164 -164
- package/dist/commonjs/v3/schemas/checkpoints.d.ts +18 -18
- package/dist/commonjs/v3/schemas/common.d.ts +171 -171
- package/dist/commonjs/v3/schemas/fetch.d.ts +10 -10
- package/dist/commonjs/v3/schemas/messages.d.ts +3046 -3036
- package/dist/commonjs/v3/schemas/messages.js +6 -0
- package/dist/commonjs/v3/schemas/messages.js.map +1 -1
- package/dist/commonjs/v3/schemas/resources.d.ts +34 -34
- package/dist/commonjs/v3/schemas/runEngine.d.ts +68 -68
- package/dist/commonjs/v3/schemas/schemas.d.ts +128 -128
- package/dist/commonjs/v3/schemas/style.d.ts +2 -2
- package/dist/commonjs/v3/schemas/webhooks.d.ts +166 -166
- package/dist/commonjs/v3/streams/asyncIterableStream.d.ts +2 -1
- package/dist/commonjs/v3/streams/asyncIterableStream.js +4 -0
- package/dist/commonjs/v3/streams/asyncIterableStream.js.map +1 -1
- package/dist/commonjs/v3/timeout/api.d.ts +1 -1
- package/dist/commonjs/v3/timeout/api.js +4 -4
- package/dist/commonjs/v3/timeout/api.js.map +1 -1
- package/dist/commonjs/v3/timeout/types.d.ts +1 -1
- package/dist/commonjs/v3/timeout/usageTimeoutManager.d.ts +2 -1
- package/dist/commonjs/v3/timeout/usageTimeoutManager.js +10 -3
- package/dist/commonjs/v3/timeout/usageTimeoutManager.js.map +1 -1
- package/dist/commonjs/v3/tryCatch.d.ts +3 -4
- package/dist/commonjs/v3/types/tasks.d.ts +17 -9
- package/dist/commonjs/v3/types/tasks.js.map +1 -1
- package/dist/commonjs/v3/usage/devUsageManager.js +3 -1
- package/dist/commonjs/v3/usage/devUsageManager.js.map +1 -1
- package/dist/commonjs/v3/usage-api.d.ts +1 -0
- package/dist/commonjs/v3/workers/taskExecutor.d.ts +1 -1
- package/dist/commonjs/v3/workers/taskExecutor.js +76 -16
- package/dist/commonjs/v3/workers/taskExecutor.js.map +1 -1
- package/dist/commonjs/v3/zodMessageHandler.d.ts +1 -1
- package/dist/commonjs/version.js +1 -1
- package/dist/esm/utils.d.ts +6 -0
- package/dist/esm/utils.js +13 -0
- package/dist/esm/utils.js.map +1 -1
- package/dist/esm/v3/apiClient/index.d.ts +43 -43
- package/dist/esm/v3/apiClientManager/index.d.ts +1 -1
- package/dist/esm/v3/lifecycle-hooks-api.d.ts +1 -1
- package/dist/esm/v3/lifecycleHooks/index.d.ts +7 -1
- package/dist/esm/v3/lifecycleHooks/index.js +18 -0
- package/dist/esm/v3/lifecycleHooks/index.js.map +1 -1
- package/dist/esm/v3/lifecycleHooks/manager.d.ts +18 -3
- package/dist/esm/v3/lifecycleHooks/manager.js +49 -2
- package/dist/esm/v3/lifecycleHooks/manager.js.map +1 -1
- package/dist/esm/v3/lifecycleHooks/types.d.ts +26 -10
- package/dist/esm/v3/runEngineWorker/supervisor/http.d.ts +17 -17
- package/dist/esm/v3/runEngineWorker/supervisor/queueConsumer.d.ts +4 -2
- package/dist/esm/v3/runEngineWorker/supervisor/queueConsumer.js +11 -5
- package/dist/esm/v3/runEngineWorker/supervisor/queueConsumer.js.map +1 -1
- package/dist/esm/v3/runEngineWorker/supervisor/schemas.d.ts +164 -164
- package/dist/esm/v3/runEngineWorker/supervisor/session.d.ts +3 -3
- package/dist/esm/v3/runEngineWorker/supervisor/session.js +2 -4
- package/dist/esm/v3/runEngineWorker/supervisor/session.js.map +1 -1
- package/dist/esm/v3/runEngineWorker/workload/http.d.ts +12 -12
- package/dist/esm/v3/runEngineWorker/workload/schemas.d.ts +142 -142
- package/dist/esm/v3/schemas/api.d.ts +214 -214
- package/dist/esm/v3/schemas/build.d.ts +164 -164
- package/dist/esm/v3/schemas/checkpoints.d.ts +18 -18
- package/dist/esm/v3/schemas/common.d.ts +171 -171
- package/dist/esm/v3/schemas/fetch.d.ts +10 -10
- package/dist/esm/v3/schemas/messages.d.ts +3046 -3036
- package/dist/esm/v3/schemas/messages.js +6 -0
- package/dist/esm/v3/schemas/messages.js.map +1 -1
- package/dist/esm/v3/schemas/resources.d.ts +34 -34
- package/dist/esm/v3/schemas/runEngine.d.ts +68 -68
- package/dist/esm/v3/schemas/schemas.d.ts +128 -128
- package/dist/esm/v3/schemas/style.d.ts +2 -2
- package/dist/esm/v3/schemas/webhooks.d.ts +166 -166
- package/dist/esm/v3/streams/asyncIterableStream.d.ts +2 -1
- package/dist/esm/v3/streams/asyncIterableStream.js +3 -0
- package/dist/esm/v3/streams/asyncIterableStream.js.map +1 -1
- package/dist/esm/v3/timeout/api.d.ts +1 -1
- package/dist/esm/v3/timeout/api.js +4 -4
- package/dist/esm/v3/timeout/api.js.map +1 -1
- package/dist/esm/v3/timeout/types.d.ts +1 -1
- package/dist/esm/v3/timeout/usageTimeoutManager.d.ts +2 -1
- package/dist/esm/v3/timeout/usageTimeoutManager.js +10 -3
- package/dist/esm/v3/timeout/usageTimeoutManager.js.map +1 -1
- package/dist/esm/v3/tryCatch.d.ts +3 -4
- package/dist/esm/v3/types/tasks.d.ts +17 -9
- package/dist/esm/v3/types/tasks.js.map +1 -1
- package/dist/esm/v3/usage/devUsageManager.js +3 -1
- package/dist/esm/v3/usage/devUsageManager.js.map +1 -1
- package/dist/esm/v3/usage-api.d.ts +1 -0
- package/dist/esm/v3/workers/taskExecutor.d.ts +1 -1
- package/dist/esm/v3/workers/taskExecutor.js +77 -17
- package/dist/esm/v3/workers/taskExecutor.js.map +1 -1
- package/dist/esm/v3/zodMessageHandler.d.ts +1 -1
- package/dist/esm/version.js +1 -1
- package/package.json +1 -1
|
@@ -9,13 +9,13 @@ export declare const TaskRunExecutionMetric: z.ZodObject<{
|
|
|
9
9
|
timestamp: z.ZodNumber;
|
|
10
10
|
duration: z.ZodNumber;
|
|
11
11
|
}, "strip", z.ZodTypeAny, {
|
|
12
|
-
name: string;
|
|
13
12
|
event: string;
|
|
13
|
+
name: string;
|
|
14
14
|
timestamp: number;
|
|
15
15
|
duration: number;
|
|
16
16
|
}, {
|
|
17
|
-
name: string;
|
|
18
17
|
event: string;
|
|
18
|
+
name: string;
|
|
19
19
|
timestamp: number;
|
|
20
20
|
duration: number;
|
|
21
21
|
}>;
|
|
@@ -26,13 +26,13 @@ export declare const TaskRunExecutionMetrics: z.ZodArray<z.ZodObject<{
|
|
|
26
26
|
timestamp: z.ZodNumber;
|
|
27
27
|
duration: z.ZodNumber;
|
|
28
28
|
}, "strip", z.ZodTypeAny, {
|
|
29
|
-
name: string;
|
|
30
29
|
event: string;
|
|
30
|
+
name: string;
|
|
31
31
|
timestamp: number;
|
|
32
32
|
duration: number;
|
|
33
33
|
}, {
|
|
34
|
-
name: string;
|
|
35
34
|
event: string;
|
|
35
|
+
name: string;
|
|
36
36
|
timestamp: number;
|
|
37
37
|
duration: number;
|
|
38
38
|
}>, "many">;
|
|
@@ -93,37 +93,37 @@ export declare const TaskRunExecutionPayload: z.ZodObject<{
|
|
|
93
93
|
baseCostInCents: z.ZodDefault<z.ZodNumber>;
|
|
94
94
|
priority: z.ZodOptional<z.ZodNumber>;
|
|
95
95
|
}, "strip", z.ZodTypeAny, {
|
|
96
|
-
id: string;
|
|
97
|
-
startedAt: Date;
|
|
98
96
|
payload: string;
|
|
97
|
+
id: string;
|
|
99
98
|
payloadType: string;
|
|
100
99
|
tags: string[];
|
|
101
100
|
isTest: boolean;
|
|
102
101
|
createdAt: Date;
|
|
102
|
+
startedAt: Date;
|
|
103
103
|
durationMs: number;
|
|
104
104
|
costInCents: number;
|
|
105
105
|
baseCostInCents: number;
|
|
106
|
+
context?: any;
|
|
107
|
+
metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
|
|
106
108
|
idempotencyKey?: string | undefined;
|
|
107
109
|
maxAttempts?: number | undefined;
|
|
108
110
|
version?: string | undefined;
|
|
109
|
-
metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
|
|
110
111
|
maxDuration?: number | undefined;
|
|
111
|
-
context?: any;
|
|
112
112
|
priority?: number | undefined;
|
|
113
113
|
}, {
|
|
114
|
-
id: string;
|
|
115
114
|
payload: string;
|
|
115
|
+
id: string;
|
|
116
116
|
payloadType: string;
|
|
117
117
|
tags: string[];
|
|
118
118
|
createdAt: Date;
|
|
119
|
-
|
|
119
|
+
context?: any;
|
|
120
|
+
metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
|
|
120
121
|
isTest?: boolean | undefined;
|
|
122
|
+
startedAt?: Date | undefined;
|
|
121
123
|
idempotencyKey?: string | undefined;
|
|
122
124
|
maxAttempts?: number | undefined;
|
|
123
125
|
version?: string | undefined;
|
|
124
|
-
metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
|
|
125
126
|
maxDuration?: number | undefined;
|
|
126
|
-
context?: any;
|
|
127
127
|
durationMs?: number | undefined;
|
|
128
128
|
costInCents?: number | undefined;
|
|
129
129
|
baseCostInCents?: number | undefined;
|
|
@@ -200,14 +200,14 @@ export declare const TaskRunExecutionPayload: z.ZodObject<{
|
|
|
200
200
|
memory: z.ZodNumber;
|
|
201
201
|
centsPerMs: z.ZodNumber;
|
|
202
202
|
}, "strip", z.ZodTypeAny, {
|
|
203
|
-
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
204
203
|
cpu: number;
|
|
205
204
|
memory: number;
|
|
205
|
+
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
206
206
|
centsPerMs: number;
|
|
207
207
|
}, {
|
|
208
|
-
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
209
208
|
cpu: number;
|
|
210
209
|
memory: number;
|
|
210
|
+
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
211
211
|
centsPerMs: number;
|
|
212
212
|
}>;
|
|
213
213
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -225,22 +225,22 @@ export declare const TaskRunExecutionPayload: z.ZodObject<{
|
|
|
225
225
|
backgroundWorkerTaskId: string;
|
|
226
226
|
};
|
|
227
227
|
run: {
|
|
228
|
-
id: string;
|
|
229
|
-
startedAt: Date;
|
|
230
228
|
payload: string;
|
|
229
|
+
id: string;
|
|
231
230
|
payloadType: string;
|
|
232
231
|
tags: string[];
|
|
233
232
|
isTest: boolean;
|
|
234
233
|
createdAt: Date;
|
|
234
|
+
startedAt: Date;
|
|
235
235
|
durationMs: number;
|
|
236
236
|
costInCents: number;
|
|
237
237
|
baseCostInCents: number;
|
|
238
|
+
context?: any;
|
|
239
|
+
metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
|
|
238
240
|
idempotencyKey?: string | undefined;
|
|
239
241
|
maxAttempts?: number | undefined;
|
|
240
242
|
version?: string | undefined;
|
|
241
|
-
metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
|
|
242
243
|
maxDuration?: number | undefined;
|
|
243
|
-
context?: any;
|
|
244
244
|
priority?: number | undefined;
|
|
245
245
|
} & {
|
|
246
246
|
traceContext?: Record<string, unknown> | undefined;
|
|
@@ -266,9 +266,9 @@ export declare const TaskRunExecutionPayload: z.ZodObject<{
|
|
|
266
266
|
ref: string;
|
|
267
267
|
};
|
|
268
268
|
machine: {
|
|
269
|
-
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
270
269
|
cpu: number;
|
|
271
270
|
memory: number;
|
|
271
|
+
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
272
272
|
centsPerMs: number;
|
|
273
273
|
};
|
|
274
274
|
batch?: {
|
|
@@ -289,19 +289,19 @@ export declare const TaskRunExecutionPayload: z.ZodObject<{
|
|
|
289
289
|
backgroundWorkerTaskId: string;
|
|
290
290
|
};
|
|
291
291
|
run: {
|
|
292
|
-
id: string;
|
|
293
292
|
payload: string;
|
|
293
|
+
id: string;
|
|
294
294
|
payloadType: string;
|
|
295
295
|
tags: string[];
|
|
296
296
|
createdAt: Date;
|
|
297
|
-
|
|
297
|
+
context?: any;
|
|
298
|
+
metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
|
|
298
299
|
isTest?: boolean | undefined;
|
|
300
|
+
startedAt?: Date | undefined;
|
|
299
301
|
idempotencyKey?: string | undefined;
|
|
300
302
|
maxAttempts?: number | undefined;
|
|
301
303
|
version?: string | undefined;
|
|
302
|
-
metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
|
|
303
304
|
maxDuration?: number | undefined;
|
|
304
|
-
context?: any;
|
|
305
305
|
durationMs?: number | undefined;
|
|
306
306
|
costInCents?: number | undefined;
|
|
307
307
|
baseCostInCents?: number | undefined;
|
|
@@ -330,9 +330,9 @@ export declare const TaskRunExecutionPayload: z.ZodObject<{
|
|
|
330
330
|
ref: string;
|
|
331
331
|
};
|
|
332
332
|
machine: {
|
|
333
|
-
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
334
333
|
cpu: number;
|
|
335
334
|
memory: number;
|
|
335
|
+
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
336
336
|
centsPerMs: number;
|
|
337
337
|
};
|
|
338
338
|
batch?: {
|
|
@@ -347,13 +347,13 @@ export declare const TaskRunExecutionPayload: z.ZodObject<{
|
|
|
347
347
|
timestamp: z.ZodNumber;
|
|
348
348
|
duration: z.ZodNumber;
|
|
349
349
|
}, "strip", z.ZodTypeAny, {
|
|
350
|
-
name: string;
|
|
351
350
|
event: string;
|
|
351
|
+
name: string;
|
|
352
352
|
timestamp: number;
|
|
353
353
|
duration: number;
|
|
354
354
|
}, {
|
|
355
|
-
name: string;
|
|
356
355
|
event: string;
|
|
356
|
+
name: string;
|
|
357
357
|
timestamp: number;
|
|
358
358
|
duration: number;
|
|
359
359
|
}>, "many">>;
|
|
@@ -374,22 +374,22 @@ export declare const TaskRunExecutionPayload: z.ZodObject<{
|
|
|
374
374
|
backgroundWorkerTaskId: string;
|
|
375
375
|
};
|
|
376
376
|
run: {
|
|
377
|
-
id: string;
|
|
378
|
-
startedAt: Date;
|
|
379
377
|
payload: string;
|
|
378
|
+
id: string;
|
|
380
379
|
payloadType: string;
|
|
381
380
|
tags: string[];
|
|
382
381
|
isTest: boolean;
|
|
383
382
|
createdAt: Date;
|
|
383
|
+
startedAt: Date;
|
|
384
384
|
durationMs: number;
|
|
385
385
|
costInCents: number;
|
|
386
386
|
baseCostInCents: number;
|
|
387
|
+
context?: any;
|
|
388
|
+
metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
|
|
387
389
|
idempotencyKey?: string | undefined;
|
|
388
390
|
maxAttempts?: number | undefined;
|
|
389
391
|
version?: string | undefined;
|
|
390
|
-
metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
|
|
391
392
|
maxDuration?: number | undefined;
|
|
392
|
-
context?: any;
|
|
393
393
|
priority?: number | undefined;
|
|
394
394
|
} & {
|
|
395
395
|
traceContext?: Record<string, unknown> | undefined;
|
|
@@ -415,9 +415,9 @@ export declare const TaskRunExecutionPayload: z.ZodObject<{
|
|
|
415
415
|
ref: string;
|
|
416
416
|
};
|
|
417
417
|
machine: {
|
|
418
|
-
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
419
418
|
cpu: number;
|
|
420
419
|
memory: number;
|
|
420
|
+
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
421
421
|
centsPerMs: number;
|
|
422
422
|
};
|
|
423
423
|
batch?: {
|
|
@@ -426,8 +426,8 @@ export declare const TaskRunExecutionPayload: z.ZodObject<{
|
|
|
426
426
|
};
|
|
427
427
|
environment?: Record<string, string> | undefined;
|
|
428
428
|
metrics?: {
|
|
429
|
-
name: string;
|
|
430
429
|
event: string;
|
|
430
|
+
name: string;
|
|
431
431
|
timestamp: number;
|
|
432
432
|
duration: number;
|
|
433
433
|
}[] | undefined;
|
|
@@ -448,19 +448,19 @@ export declare const TaskRunExecutionPayload: z.ZodObject<{
|
|
|
448
448
|
backgroundWorkerTaskId: string;
|
|
449
449
|
};
|
|
450
450
|
run: {
|
|
451
|
-
id: string;
|
|
452
451
|
payload: string;
|
|
452
|
+
id: string;
|
|
453
453
|
payloadType: string;
|
|
454
454
|
tags: string[];
|
|
455
455
|
createdAt: Date;
|
|
456
|
-
|
|
456
|
+
context?: any;
|
|
457
|
+
metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
|
|
457
458
|
isTest?: boolean | undefined;
|
|
459
|
+
startedAt?: Date | undefined;
|
|
458
460
|
idempotencyKey?: string | undefined;
|
|
459
461
|
maxAttempts?: number | undefined;
|
|
460
462
|
version?: string | undefined;
|
|
461
|
-
metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
|
|
462
463
|
maxDuration?: number | undefined;
|
|
463
|
-
context?: any;
|
|
464
464
|
durationMs?: number | undefined;
|
|
465
465
|
costInCents?: number | undefined;
|
|
466
466
|
baseCostInCents?: number | undefined;
|
|
@@ -489,9 +489,9 @@ export declare const TaskRunExecutionPayload: z.ZodObject<{
|
|
|
489
489
|
ref: string;
|
|
490
490
|
};
|
|
491
491
|
machine: {
|
|
492
|
-
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
493
492
|
cpu: number;
|
|
494
493
|
memory: number;
|
|
494
|
+
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
495
495
|
centsPerMs: number;
|
|
496
496
|
};
|
|
497
497
|
batch?: {
|
|
@@ -500,8 +500,8 @@ export declare const TaskRunExecutionPayload: z.ZodObject<{
|
|
|
500
500
|
};
|
|
501
501
|
environment?: Record<string, string> | undefined;
|
|
502
502
|
metrics?: {
|
|
503
|
-
name: string;
|
|
504
503
|
event: string;
|
|
504
|
+
name: string;
|
|
505
505
|
timestamp: number;
|
|
506
506
|
duration: number;
|
|
507
507
|
}[] | undefined;
|
|
@@ -562,37 +562,37 @@ export declare const ProdTaskRunExecution: z.ZodObject<z.objectUtil.extendShape<
|
|
|
562
562
|
baseCostInCents: z.ZodDefault<z.ZodNumber>;
|
|
563
563
|
priority: z.ZodOptional<z.ZodNumber>;
|
|
564
564
|
}, "strip", z.ZodTypeAny, {
|
|
565
|
-
id: string;
|
|
566
|
-
startedAt: Date;
|
|
567
565
|
payload: string;
|
|
566
|
+
id: string;
|
|
568
567
|
payloadType: string;
|
|
569
568
|
tags: string[];
|
|
570
569
|
isTest: boolean;
|
|
571
570
|
createdAt: Date;
|
|
571
|
+
startedAt: Date;
|
|
572
572
|
durationMs: number;
|
|
573
573
|
costInCents: number;
|
|
574
574
|
baseCostInCents: number;
|
|
575
|
+
context?: any;
|
|
576
|
+
metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
|
|
575
577
|
idempotencyKey?: string | undefined;
|
|
576
578
|
maxAttempts?: number | undefined;
|
|
577
579
|
version?: string | undefined;
|
|
578
|
-
metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
|
|
579
580
|
maxDuration?: number | undefined;
|
|
580
|
-
context?: any;
|
|
581
581
|
priority?: number | undefined;
|
|
582
582
|
}, {
|
|
583
|
-
id: string;
|
|
584
583
|
payload: string;
|
|
584
|
+
id: string;
|
|
585
585
|
payloadType: string;
|
|
586
586
|
tags: string[];
|
|
587
587
|
createdAt: Date;
|
|
588
|
-
|
|
588
|
+
context?: any;
|
|
589
|
+
metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
|
|
589
590
|
isTest?: boolean | undefined;
|
|
591
|
+
startedAt?: Date | undefined;
|
|
590
592
|
idempotencyKey?: string | undefined;
|
|
591
593
|
maxAttempts?: number | undefined;
|
|
592
594
|
version?: string | undefined;
|
|
593
|
-
metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
|
|
594
595
|
maxDuration?: number | undefined;
|
|
595
|
-
context?: any;
|
|
596
596
|
durationMs?: number | undefined;
|
|
597
597
|
costInCents?: number | undefined;
|
|
598
598
|
baseCostInCents?: number | undefined;
|
|
@@ -669,14 +669,14 @@ export declare const ProdTaskRunExecution: z.ZodObject<z.objectUtil.extendShape<
|
|
|
669
669
|
memory: z.ZodNumber;
|
|
670
670
|
centsPerMs: z.ZodNumber;
|
|
671
671
|
}, "strip", z.ZodTypeAny, {
|
|
672
|
-
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
673
672
|
cpu: number;
|
|
674
673
|
memory: number;
|
|
674
|
+
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
675
675
|
centsPerMs: number;
|
|
676
676
|
}, {
|
|
677
|
-
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
678
677
|
cpu: number;
|
|
679
678
|
memory: number;
|
|
679
|
+
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
680
680
|
centsPerMs: number;
|
|
681
681
|
}>;
|
|
682
682
|
}, {
|
|
@@ -702,14 +702,14 @@ export declare const ProdTaskRunExecution: z.ZodObject<z.objectUtil.extendShape<
|
|
|
702
702
|
memory: z.ZodNumber;
|
|
703
703
|
centsPerMs: z.ZodNumber;
|
|
704
704
|
}, "strip", z.ZodTypeAny, {
|
|
705
|
-
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
706
705
|
cpu: number;
|
|
707
706
|
memory: number;
|
|
707
|
+
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
708
708
|
centsPerMs: number;
|
|
709
709
|
}, {
|
|
710
|
-
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
711
710
|
cpu: number;
|
|
712
711
|
memory: number;
|
|
712
|
+
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
713
713
|
centsPerMs: number;
|
|
714
714
|
}>>;
|
|
715
715
|
}>, "strip", z.ZodTypeAny, {
|
|
@@ -727,22 +727,22 @@ export declare const ProdTaskRunExecution: z.ZodObject<z.objectUtil.extendShape<
|
|
|
727
727
|
backgroundWorkerTaskId: string;
|
|
728
728
|
};
|
|
729
729
|
run: {
|
|
730
|
-
id: string;
|
|
731
|
-
startedAt: Date;
|
|
732
730
|
payload: string;
|
|
731
|
+
id: string;
|
|
733
732
|
payloadType: string;
|
|
734
733
|
tags: string[];
|
|
735
734
|
isTest: boolean;
|
|
736
735
|
createdAt: Date;
|
|
736
|
+
startedAt: Date;
|
|
737
737
|
durationMs: number;
|
|
738
738
|
costInCents: number;
|
|
739
739
|
baseCostInCents: number;
|
|
740
|
+
context?: any;
|
|
741
|
+
metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
|
|
740
742
|
idempotencyKey?: string | undefined;
|
|
741
743
|
maxAttempts?: number | undefined;
|
|
742
744
|
version?: string | undefined;
|
|
743
|
-
metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
|
|
744
745
|
maxDuration?: number | undefined;
|
|
745
|
-
context?: any;
|
|
746
746
|
priority?: number | undefined;
|
|
747
747
|
} & {
|
|
748
748
|
traceContext?: Record<string, unknown> | undefined;
|
|
@@ -768,9 +768,9 @@ export declare const ProdTaskRunExecution: z.ZodObject<z.objectUtil.extendShape<
|
|
|
768
768
|
ref: string;
|
|
769
769
|
};
|
|
770
770
|
machine: {
|
|
771
|
-
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
772
771
|
cpu: number;
|
|
773
772
|
memory: number;
|
|
773
|
+
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
774
774
|
centsPerMs: number;
|
|
775
775
|
};
|
|
776
776
|
worker: {
|
|
@@ -797,19 +797,19 @@ export declare const ProdTaskRunExecution: z.ZodObject<z.objectUtil.extendShape<
|
|
|
797
797
|
backgroundWorkerTaskId: string;
|
|
798
798
|
};
|
|
799
799
|
run: {
|
|
800
|
-
id: string;
|
|
801
800
|
payload: string;
|
|
801
|
+
id: string;
|
|
802
802
|
payloadType: string;
|
|
803
803
|
tags: string[];
|
|
804
804
|
createdAt: Date;
|
|
805
|
-
|
|
805
|
+
context?: any;
|
|
806
|
+
metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
|
|
806
807
|
isTest?: boolean | undefined;
|
|
808
|
+
startedAt?: Date | undefined;
|
|
807
809
|
idempotencyKey?: string | undefined;
|
|
808
810
|
maxAttempts?: number | undefined;
|
|
809
811
|
version?: string | undefined;
|
|
810
|
-
metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
|
|
811
812
|
maxDuration?: number | undefined;
|
|
812
|
-
context?: any;
|
|
813
813
|
durationMs?: number | undefined;
|
|
814
814
|
costInCents?: number | undefined;
|
|
815
815
|
baseCostInCents?: number | undefined;
|
|
@@ -847,9 +847,9 @@ export declare const ProdTaskRunExecution: z.ZodObject<z.objectUtil.extendShape<
|
|
|
847
847
|
id: string;
|
|
848
848
|
} | undefined;
|
|
849
849
|
machine?: {
|
|
850
|
-
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
851
850
|
cpu: number;
|
|
852
851
|
memory: number;
|
|
852
|
+
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
853
853
|
centsPerMs: number;
|
|
854
854
|
} | undefined;
|
|
855
855
|
}>;
|
|
@@ -910,37 +910,37 @@ export declare const ProdTaskRunExecutionPayload: z.ZodObject<{
|
|
|
910
910
|
baseCostInCents: z.ZodDefault<z.ZodNumber>;
|
|
911
911
|
priority: z.ZodOptional<z.ZodNumber>;
|
|
912
912
|
}, "strip", z.ZodTypeAny, {
|
|
913
|
-
id: string;
|
|
914
|
-
startedAt: Date;
|
|
915
913
|
payload: string;
|
|
914
|
+
id: string;
|
|
916
915
|
payloadType: string;
|
|
917
916
|
tags: string[];
|
|
918
917
|
isTest: boolean;
|
|
919
918
|
createdAt: Date;
|
|
919
|
+
startedAt: Date;
|
|
920
920
|
durationMs: number;
|
|
921
921
|
costInCents: number;
|
|
922
922
|
baseCostInCents: number;
|
|
923
|
+
context?: any;
|
|
924
|
+
metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
|
|
923
925
|
idempotencyKey?: string | undefined;
|
|
924
926
|
maxAttempts?: number | undefined;
|
|
925
927
|
version?: string | undefined;
|
|
926
|
-
metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
|
|
927
928
|
maxDuration?: number | undefined;
|
|
928
|
-
context?: any;
|
|
929
929
|
priority?: number | undefined;
|
|
930
930
|
}, {
|
|
931
|
-
id: string;
|
|
932
931
|
payload: string;
|
|
932
|
+
id: string;
|
|
933
933
|
payloadType: string;
|
|
934
934
|
tags: string[];
|
|
935
935
|
createdAt: Date;
|
|
936
|
-
|
|
936
|
+
context?: any;
|
|
937
|
+
metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
|
|
937
938
|
isTest?: boolean | undefined;
|
|
939
|
+
startedAt?: Date | undefined;
|
|
938
940
|
idempotencyKey?: string | undefined;
|
|
939
941
|
maxAttempts?: number | undefined;
|
|
940
942
|
version?: string | undefined;
|
|
941
|
-
metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
|
|
942
943
|
maxDuration?: number | undefined;
|
|
943
|
-
context?: any;
|
|
944
944
|
durationMs?: number | undefined;
|
|
945
945
|
costInCents?: number | undefined;
|
|
946
946
|
baseCostInCents?: number | undefined;
|
|
@@ -1017,14 +1017,14 @@ export declare const ProdTaskRunExecutionPayload: z.ZodObject<{
|
|
|
1017
1017
|
memory: z.ZodNumber;
|
|
1018
1018
|
centsPerMs: z.ZodNumber;
|
|
1019
1019
|
}, "strip", z.ZodTypeAny, {
|
|
1020
|
-
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
1021
1020
|
cpu: number;
|
|
1022
1021
|
memory: number;
|
|
1022
|
+
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
1023
1023
|
centsPerMs: number;
|
|
1024
1024
|
}, {
|
|
1025
|
-
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
1026
1025
|
cpu: number;
|
|
1027
1026
|
memory: number;
|
|
1027
|
+
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
1028
1028
|
centsPerMs: number;
|
|
1029
1029
|
}>;
|
|
1030
1030
|
}, {
|
|
@@ -1050,14 +1050,14 @@ export declare const ProdTaskRunExecutionPayload: z.ZodObject<{
|
|
|
1050
1050
|
memory: z.ZodNumber;
|
|
1051
1051
|
centsPerMs: z.ZodNumber;
|
|
1052
1052
|
}, "strip", z.ZodTypeAny, {
|
|
1053
|
-
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
1054
1053
|
cpu: number;
|
|
1055
1054
|
memory: number;
|
|
1055
|
+
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
1056
1056
|
centsPerMs: number;
|
|
1057
1057
|
}, {
|
|
1058
|
-
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
1059
1058
|
cpu: number;
|
|
1060
1059
|
memory: number;
|
|
1060
|
+
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
1061
1061
|
centsPerMs: number;
|
|
1062
1062
|
}>>;
|
|
1063
1063
|
}>, "strip", z.ZodTypeAny, {
|
|
@@ -1075,22 +1075,22 @@ export declare const ProdTaskRunExecutionPayload: z.ZodObject<{
|
|
|
1075
1075
|
backgroundWorkerTaskId: string;
|
|
1076
1076
|
};
|
|
1077
1077
|
run: {
|
|
1078
|
-
id: string;
|
|
1079
|
-
startedAt: Date;
|
|
1080
1078
|
payload: string;
|
|
1079
|
+
id: string;
|
|
1081
1080
|
payloadType: string;
|
|
1082
1081
|
tags: string[];
|
|
1083
1082
|
isTest: boolean;
|
|
1084
1083
|
createdAt: Date;
|
|
1084
|
+
startedAt: Date;
|
|
1085
1085
|
durationMs: number;
|
|
1086
1086
|
costInCents: number;
|
|
1087
1087
|
baseCostInCents: number;
|
|
1088
|
+
context?: any;
|
|
1089
|
+
metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
|
|
1088
1090
|
idempotencyKey?: string | undefined;
|
|
1089
1091
|
maxAttempts?: number | undefined;
|
|
1090
1092
|
version?: string | undefined;
|
|
1091
|
-
metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
|
|
1092
1093
|
maxDuration?: number | undefined;
|
|
1093
|
-
context?: any;
|
|
1094
1094
|
priority?: number | undefined;
|
|
1095
1095
|
} & {
|
|
1096
1096
|
traceContext?: Record<string, unknown> | undefined;
|
|
@@ -1116,9 +1116,9 @@ export declare const ProdTaskRunExecutionPayload: z.ZodObject<{
|
|
|
1116
1116
|
ref: string;
|
|
1117
1117
|
};
|
|
1118
1118
|
machine: {
|
|
1119
|
-
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
1120
1119
|
cpu: number;
|
|
1121
1120
|
memory: number;
|
|
1121
|
+
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
1122
1122
|
centsPerMs: number;
|
|
1123
1123
|
};
|
|
1124
1124
|
worker: {
|
|
@@ -1145,19 +1145,19 @@ export declare const ProdTaskRunExecutionPayload: z.ZodObject<{
|
|
|
1145
1145
|
backgroundWorkerTaskId: string;
|
|
1146
1146
|
};
|
|
1147
1147
|
run: {
|
|
1148
|
-
id: string;
|
|
1149
1148
|
payload: string;
|
|
1149
|
+
id: string;
|
|
1150
1150
|
payloadType: string;
|
|
1151
1151
|
tags: string[];
|
|
1152
1152
|
createdAt: Date;
|
|
1153
|
-
|
|
1153
|
+
context?: any;
|
|
1154
|
+
metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
|
|
1154
1155
|
isTest?: boolean | undefined;
|
|
1156
|
+
startedAt?: Date | undefined;
|
|
1155
1157
|
idempotencyKey?: string | undefined;
|
|
1156
1158
|
maxAttempts?: number | undefined;
|
|
1157
1159
|
version?: string | undefined;
|
|
1158
|
-
metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
|
|
1159
1160
|
maxDuration?: number | undefined;
|
|
1160
|
-
context?: any;
|
|
1161
1161
|
durationMs?: number | undefined;
|
|
1162
1162
|
costInCents?: number | undefined;
|
|
1163
1163
|
baseCostInCents?: number | undefined;
|
|
@@ -1195,9 +1195,9 @@ export declare const ProdTaskRunExecutionPayload: z.ZodObject<{
|
|
|
1195
1195
|
id: string;
|
|
1196
1196
|
} | undefined;
|
|
1197
1197
|
machine?: {
|
|
1198
|
-
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
1199
1198
|
cpu: number;
|
|
1200
1199
|
memory: number;
|
|
1200
|
+
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
1201
1201
|
centsPerMs: number;
|
|
1202
1202
|
} | undefined;
|
|
1203
1203
|
}>;
|
|
@@ -1209,13 +1209,13 @@ export declare const ProdTaskRunExecutionPayload: z.ZodObject<{
|
|
|
1209
1209
|
timestamp: z.ZodNumber;
|
|
1210
1210
|
duration: z.ZodNumber;
|
|
1211
1211
|
}, "strip", z.ZodTypeAny, {
|
|
1212
|
-
name: string;
|
|
1213
1212
|
event: string;
|
|
1213
|
+
name: string;
|
|
1214
1214
|
timestamp: number;
|
|
1215
1215
|
duration: number;
|
|
1216
1216
|
}, {
|
|
1217
|
-
name: string;
|
|
1218
1217
|
event: string;
|
|
1218
|
+
name: string;
|
|
1219
1219
|
timestamp: number;
|
|
1220
1220
|
duration: number;
|
|
1221
1221
|
}>, "many">>;
|
|
@@ -1236,22 +1236,22 @@ export declare const ProdTaskRunExecutionPayload: z.ZodObject<{
|
|
|
1236
1236
|
backgroundWorkerTaskId: string;
|
|
1237
1237
|
};
|
|
1238
1238
|
run: {
|
|
1239
|
-
id: string;
|
|
1240
|
-
startedAt: Date;
|
|
1241
1239
|
payload: string;
|
|
1240
|
+
id: string;
|
|
1242
1241
|
payloadType: string;
|
|
1243
1242
|
tags: string[];
|
|
1244
1243
|
isTest: boolean;
|
|
1245
1244
|
createdAt: Date;
|
|
1245
|
+
startedAt: Date;
|
|
1246
1246
|
durationMs: number;
|
|
1247
1247
|
costInCents: number;
|
|
1248
1248
|
baseCostInCents: number;
|
|
1249
|
+
context?: any;
|
|
1250
|
+
metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
|
|
1249
1251
|
idempotencyKey?: string | undefined;
|
|
1250
1252
|
maxAttempts?: number | undefined;
|
|
1251
1253
|
version?: string | undefined;
|
|
1252
|
-
metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
|
|
1253
1254
|
maxDuration?: number | undefined;
|
|
1254
|
-
context?: any;
|
|
1255
1255
|
priority?: number | undefined;
|
|
1256
1256
|
} & {
|
|
1257
1257
|
traceContext?: Record<string, unknown> | undefined;
|
|
@@ -1277,9 +1277,9 @@ export declare const ProdTaskRunExecutionPayload: z.ZodObject<{
|
|
|
1277
1277
|
ref: string;
|
|
1278
1278
|
};
|
|
1279
1279
|
machine: {
|
|
1280
|
-
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
1281
1280
|
cpu: number;
|
|
1282
1281
|
memory: number;
|
|
1282
|
+
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
1283
1283
|
centsPerMs: number;
|
|
1284
1284
|
};
|
|
1285
1285
|
worker: {
|
|
@@ -1294,8 +1294,8 @@ export declare const ProdTaskRunExecutionPayload: z.ZodObject<{
|
|
|
1294
1294
|
};
|
|
1295
1295
|
environment?: Record<string, string> | undefined;
|
|
1296
1296
|
metrics?: {
|
|
1297
|
-
name: string;
|
|
1298
1297
|
event: string;
|
|
1298
|
+
name: string;
|
|
1299
1299
|
timestamp: number;
|
|
1300
1300
|
duration: number;
|
|
1301
1301
|
}[] | undefined;
|
|
@@ -1316,19 +1316,19 @@ export declare const ProdTaskRunExecutionPayload: z.ZodObject<{
|
|
|
1316
1316
|
backgroundWorkerTaskId: string;
|
|
1317
1317
|
};
|
|
1318
1318
|
run: {
|
|
1319
|
-
id: string;
|
|
1320
1319
|
payload: string;
|
|
1320
|
+
id: string;
|
|
1321
1321
|
payloadType: string;
|
|
1322
1322
|
tags: string[];
|
|
1323
1323
|
createdAt: Date;
|
|
1324
|
-
|
|
1324
|
+
context?: any;
|
|
1325
|
+
metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
|
|
1325
1326
|
isTest?: boolean | undefined;
|
|
1327
|
+
startedAt?: Date | undefined;
|
|
1326
1328
|
idempotencyKey?: string | undefined;
|
|
1327
1329
|
maxAttempts?: number | undefined;
|
|
1328
1330
|
version?: string | undefined;
|
|
1329
|
-
metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
|
|
1330
1331
|
maxDuration?: number | undefined;
|
|
1331
|
-
context?: any;
|
|
1332
1332
|
durationMs?: number | undefined;
|
|
1333
1333
|
costInCents?: number | undefined;
|
|
1334
1334
|
baseCostInCents?: number | undefined;
|
|
@@ -1366,16 +1366,16 @@ export declare const ProdTaskRunExecutionPayload: z.ZodObject<{
|
|
|
1366
1366
|
id: string;
|
|
1367
1367
|
} | undefined;
|
|
1368
1368
|
machine?: {
|
|
1369
|
-
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
1370
1369
|
cpu: number;
|
|
1371
1370
|
memory: number;
|
|
1371
|
+
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
1372
1372
|
centsPerMs: number;
|
|
1373
1373
|
} | undefined;
|
|
1374
1374
|
};
|
|
1375
1375
|
environment?: Record<string, string> | undefined;
|
|
1376
1376
|
metrics?: {
|
|
1377
|
-
name: string;
|
|
1378
1377
|
event: string;
|
|
1378
|
+
name: string;
|
|
1379
1379
|
timestamp: number;
|
|
1380
1380
|
duration: number;
|
|
1381
1381
|
}[] | undefined;
|
|
@@ -1771,12 +1771,12 @@ export declare const TaskMetadata: z.ZodObject<{
|
|
|
1771
1771
|
memory: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<0.25>, z.ZodLiteral<0.5>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<4>, z.ZodLiteral<8>]>>;
|
|
1772
1772
|
preset: z.ZodOptional<z.ZodEnum<["micro", "small-1x", "small-2x", "medium-1x", "medium-2x", "large-1x", "large-2x"]>>;
|
|
1773
1773
|
}, "strip", z.ZodTypeAny, {
|
|
1774
|
-
cpu?:
|
|
1775
|
-
memory?:
|
|
1774
|
+
cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
|
|
1775
|
+
memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
|
|
1776
1776
|
preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
|
|
1777
1777
|
}, {
|
|
1778
|
-
cpu?:
|
|
1779
|
-
memory?:
|
|
1778
|
+
cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
|
|
1779
|
+
memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
|
|
1780
1780
|
preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
|
|
1781
1781
|
}>>;
|
|
1782
1782
|
triggerSource: z.ZodOptional<z.ZodString>;
|
|
@@ -1800,11 +1800,10 @@ export declare const TaskMetadata: z.ZodObject<{
|
|
|
1800
1800
|
releaseConcurrencyOnWaitpoint?: boolean | undefined;
|
|
1801
1801
|
} | undefined;
|
|
1802
1802
|
machine?: {
|
|
1803
|
-
cpu?:
|
|
1804
|
-
memory?:
|
|
1803
|
+
cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
|
|
1804
|
+
memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
|
|
1805
1805
|
preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
|
|
1806
1806
|
} | undefined;
|
|
1807
|
-
description?: string | undefined;
|
|
1808
1807
|
retry?: {
|
|
1809
1808
|
maxAttempts?: number | undefined;
|
|
1810
1809
|
factor?: number | undefined;
|
|
@@ -1815,6 +1814,7 @@ export declare const TaskMetadata: z.ZodObject<{
|
|
|
1815
1814
|
machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
|
|
1816
1815
|
} | undefined;
|
|
1817
1816
|
} | undefined;
|
|
1817
|
+
description?: string | undefined;
|
|
1818
1818
|
triggerSource?: string | undefined;
|
|
1819
1819
|
schedule?: {
|
|
1820
1820
|
cron: string;
|
|
@@ -1829,11 +1829,10 @@ export declare const TaskMetadata: z.ZodObject<{
|
|
|
1829
1829
|
releaseConcurrencyOnWaitpoint?: boolean | undefined;
|
|
1830
1830
|
} | undefined;
|
|
1831
1831
|
machine?: {
|
|
1832
|
-
cpu?:
|
|
1833
|
-
memory?:
|
|
1832
|
+
cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
|
|
1833
|
+
memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
|
|
1834
1834
|
preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
|
|
1835
1835
|
} | undefined;
|
|
1836
|
-
description?: string | undefined;
|
|
1837
1836
|
retry?: {
|
|
1838
1837
|
maxAttempts?: number | undefined;
|
|
1839
1838
|
factor?: number | undefined;
|
|
@@ -1844,6 +1843,7 @@ export declare const TaskMetadata: z.ZodObject<{
|
|
|
1844
1843
|
machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
|
|
1845
1844
|
} | undefined;
|
|
1846
1845
|
} | undefined;
|
|
1846
|
+
description?: string | undefined;
|
|
1847
1847
|
triggerSource?: string | undefined;
|
|
1848
1848
|
schedule?: {
|
|
1849
1849
|
cron: string;
|
|
@@ -1855,11 +1855,11 @@ export declare const TaskFile: z.ZodObject<{
|
|
|
1855
1855
|
entry: z.ZodString;
|
|
1856
1856
|
out: z.ZodString;
|
|
1857
1857
|
}, "strip", z.ZodTypeAny, {
|
|
1858
|
-
entry: string;
|
|
1859
1858
|
out: string;
|
|
1860
|
-
}, {
|
|
1861
1859
|
entry: string;
|
|
1860
|
+
}, {
|
|
1862
1861
|
out: string;
|
|
1862
|
+
entry: string;
|
|
1863
1863
|
}>;
|
|
1864
1864
|
export type TaskFile = z.infer<typeof TaskFile>;
|
|
1865
1865
|
export declare const TaskFileMetadata: z.ZodObject<{
|
|
@@ -1987,12 +1987,12 @@ export declare const TaskManifest: z.ZodObject<{
|
|
|
1987
1987
|
memory: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<0.25>, z.ZodLiteral<0.5>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<4>, z.ZodLiteral<8>]>>;
|
|
1988
1988
|
preset: z.ZodOptional<z.ZodEnum<["micro", "small-1x", "small-2x", "medium-1x", "medium-2x", "large-1x", "large-2x"]>>;
|
|
1989
1989
|
}, "strip", z.ZodTypeAny, {
|
|
1990
|
-
cpu?:
|
|
1991
|
-
memory?:
|
|
1990
|
+
cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
|
|
1991
|
+
memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
|
|
1992
1992
|
preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
|
|
1993
1993
|
}, {
|
|
1994
|
-
cpu?:
|
|
1995
|
-
memory?:
|
|
1994
|
+
cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
|
|
1995
|
+
memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
|
|
1996
1996
|
preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
|
|
1997
1997
|
}>>;
|
|
1998
1998
|
triggerSource: z.ZodOptional<z.ZodString>;
|
|
@@ -2011,19 +2011,18 @@ export declare const TaskManifest: z.ZodObject<{
|
|
|
2011
2011
|
id: string;
|
|
2012
2012
|
filePath: string;
|
|
2013
2013
|
entryPoint: string;
|
|
2014
|
-
exportName?: string | undefined;
|
|
2015
2014
|
maxDuration?: number | undefined;
|
|
2015
|
+
exportName?: string | undefined;
|
|
2016
2016
|
queue?: {
|
|
2017
2017
|
name?: string | undefined;
|
|
2018
2018
|
concurrencyLimit?: number | null | undefined;
|
|
2019
2019
|
releaseConcurrencyOnWaitpoint?: boolean | undefined;
|
|
2020
2020
|
} | undefined;
|
|
2021
2021
|
machine?: {
|
|
2022
|
-
cpu?:
|
|
2023
|
-
memory?:
|
|
2022
|
+
cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
|
|
2023
|
+
memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
|
|
2024
2024
|
preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
|
|
2025
2025
|
} | undefined;
|
|
2026
|
-
description?: string | undefined;
|
|
2027
2026
|
retry?: {
|
|
2028
2027
|
maxAttempts?: number | undefined;
|
|
2029
2028
|
factor?: number | undefined;
|
|
@@ -2034,6 +2033,7 @@ export declare const TaskManifest: z.ZodObject<{
|
|
|
2034
2033
|
machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
|
|
2035
2034
|
} | undefined;
|
|
2036
2035
|
} | undefined;
|
|
2036
|
+
description?: string | undefined;
|
|
2037
2037
|
triggerSource?: string | undefined;
|
|
2038
2038
|
schedule?: {
|
|
2039
2039
|
cron: string;
|
|
@@ -2043,19 +2043,18 @@ export declare const TaskManifest: z.ZodObject<{
|
|
|
2043
2043
|
id: string;
|
|
2044
2044
|
filePath: string;
|
|
2045
2045
|
entryPoint: string;
|
|
2046
|
-
exportName?: string | undefined;
|
|
2047
2046
|
maxDuration?: number | undefined;
|
|
2047
|
+
exportName?: string | undefined;
|
|
2048
2048
|
queue?: {
|
|
2049
2049
|
name?: string | undefined;
|
|
2050
2050
|
concurrencyLimit?: number | null | undefined;
|
|
2051
2051
|
releaseConcurrencyOnWaitpoint?: boolean | undefined;
|
|
2052
2052
|
} | undefined;
|
|
2053
2053
|
machine?: {
|
|
2054
|
-
cpu?:
|
|
2055
|
-
memory?:
|
|
2054
|
+
cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
|
|
2055
|
+
memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
|
|
2056
2056
|
preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
|
|
2057
2057
|
} | undefined;
|
|
2058
|
-
description?: string | undefined;
|
|
2059
2058
|
retry?: {
|
|
2060
2059
|
maxAttempts?: number | undefined;
|
|
2061
2060
|
factor?: number | undefined;
|
|
@@ -2066,6 +2065,7 @@ export declare const TaskManifest: z.ZodObject<{
|
|
|
2066
2065
|
machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
|
|
2067
2066
|
} | undefined;
|
|
2068
2067
|
} | undefined;
|
|
2068
|
+
description?: string | undefined;
|
|
2069
2069
|
triggerSource?: string | undefined;
|
|
2070
2070
|
schedule?: {
|
|
2071
2071
|
cron: string;
|
|
@@ -2234,13 +2234,13 @@ export declare const TaskRunExecutionLazyAttemptPayload: z.ZodObject<{
|
|
|
2234
2234
|
timestamp: z.ZodNumber;
|
|
2235
2235
|
duration: z.ZodNumber;
|
|
2236
2236
|
}, "strip", z.ZodTypeAny, {
|
|
2237
|
-
name: string;
|
|
2238
2237
|
event: string;
|
|
2238
|
+
name: string;
|
|
2239
2239
|
timestamp: number;
|
|
2240
2240
|
duration: number;
|
|
2241
2241
|
}, {
|
|
2242
|
-
name: string;
|
|
2243
2242
|
event: string;
|
|
2243
|
+
name: string;
|
|
2244
2244
|
timestamp: number;
|
|
2245
2245
|
duration: number;
|
|
2246
2246
|
}>, "many">>;
|
|
@@ -2250,26 +2250,26 @@ export declare const TaskRunExecutionLazyAttemptPayload: z.ZodObject<{
|
|
|
2250
2250
|
runId: string;
|
|
2251
2251
|
messageId: string;
|
|
2252
2252
|
environment?: Record<string, string> | undefined;
|
|
2253
|
+
attemptCount?: number | undefined;
|
|
2253
2254
|
metrics?: {
|
|
2254
|
-
name: string;
|
|
2255
2255
|
event: string;
|
|
2256
|
+
name: string;
|
|
2256
2257
|
timestamp: number;
|
|
2257
2258
|
duration: number;
|
|
2258
2259
|
}[] | undefined;
|
|
2259
|
-
attemptCount?: number | undefined;
|
|
2260
2260
|
}, {
|
|
2261
2261
|
isTest: boolean;
|
|
2262
2262
|
traceContext: Record<string, unknown>;
|
|
2263
2263
|
runId: string;
|
|
2264
2264
|
messageId: string;
|
|
2265
2265
|
environment?: Record<string, string> | undefined;
|
|
2266
|
+
attemptCount?: number | undefined;
|
|
2266
2267
|
metrics?: {
|
|
2267
|
-
name: string;
|
|
2268
2268
|
event: string;
|
|
2269
|
+
name: string;
|
|
2269
2270
|
timestamp: number;
|
|
2270
2271
|
duration: number;
|
|
2271
2272
|
}[] | undefined;
|
|
2272
|
-
attemptCount?: number | undefined;
|
|
2273
2273
|
}>;
|
|
2274
2274
|
export type TaskRunExecutionLazyAttemptPayload = z.infer<typeof TaskRunExecutionLazyAttemptPayload>;
|
|
2275
2275
|
export declare const RuntimeWait: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
@@ -2278,12 +2278,12 @@ export declare const RuntimeWait: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
2278
2278
|
date: z.ZodDate;
|
|
2279
2279
|
}, "strip", z.ZodTypeAny, {
|
|
2280
2280
|
type: "DATETIME";
|
|
2281
|
-
id: string;
|
|
2282
2281
|
date: Date;
|
|
2282
|
+
id: string;
|
|
2283
2283
|
}, {
|
|
2284
2284
|
type: "DATETIME";
|
|
2285
|
-
id: string;
|
|
2286
2285
|
date: Date;
|
|
2286
|
+
id: string;
|
|
2287
2287
|
}>, z.ZodObject<{
|
|
2288
2288
|
type: z.ZodLiteral<"MANUAL">;
|
|
2289
2289
|
id: z.ZodString;
|