@trigger.dev/core 0.0.0-v3-prerelease-20241028160720 → 0.0.0-v3-prerelease-20241105122139
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/apiClient/index.d.ts +18 -18
- package/dist/commonjs/v3/apiClient/index.js +1 -1
- package/dist/commonjs/v3/apiClient/index.js.map +1 -1
- package/dist/commonjs/v3/errors.js +8 -0
- package/dist/commonjs/v3/errors.js.map +1 -1
- package/dist/commonjs/v3/links.d.ts +3 -0
- package/dist/commonjs/v3/links.js +3 -0
- package/dist/commonjs/v3/links.js.map +1 -1
- package/dist/commonjs/v3/schemas/api.d.ts +95 -95
- package/dist/commonjs/v3/schemas/build.d.ts +74 -74
- package/dist/commonjs/v3/schemas/common.d.ts +124 -124
- package/dist/commonjs/v3/schemas/common.js +1 -0
- package/dist/commonjs/v3/schemas/common.js.map +1 -1
- package/dist/commonjs/v3/schemas/messages.d.ts +1911 -1911
- package/dist/commonjs/v3/schemas/resources.d.ts +22 -22
- package/dist/commonjs/v3/schemas/schemas.d.ts +181 -181
- package/dist/commonjs/v3/types/tasks.d.ts +1 -0
- package/dist/commonjs/v3/workers/taskExecutor.js +4 -2
- package/dist/commonjs/v3/workers/taskExecutor.js.map +1 -1
- package/dist/commonjs/version.js +1 -1
- package/dist/esm/v3/apiClient/index.d.ts +18 -18
- package/dist/esm/v3/apiClient/index.js +1 -1
- package/dist/esm/v3/apiClient/index.js.map +1 -1
- package/dist/esm/v3/errors.js +8 -0
- package/dist/esm/v3/errors.js.map +1 -1
- package/dist/esm/v3/links.d.ts +3 -0
- package/dist/esm/v3/links.js +3 -0
- package/dist/esm/v3/links.js.map +1 -1
- package/dist/esm/v3/schemas/api.d.ts +95 -95
- package/dist/esm/v3/schemas/build.d.ts +74 -74
- package/dist/esm/v3/schemas/common.d.ts +124 -124
- package/dist/esm/v3/schemas/common.js +1 -0
- package/dist/esm/v3/schemas/common.js.map +1 -1
- package/dist/esm/v3/schemas/messages.d.ts +1911 -1911
- package/dist/esm/v3/schemas/resources.d.ts +22 -22
- package/dist/esm/v3/schemas/schemas.d.ts +181 -181
- package/dist/esm/v3/types/tasks.d.ts +1 -0
- package/dist/esm/v3/workers/taskExecutor.js +4 -2
- package/dist/esm/v3/workers/taskExecutor.js.map +1 -1
- package/dist/esm/version.js +1 -1
- package/package.json +1 -1
|
@@ -28,15 +28,15 @@ export declare const TaskRunExecutionPayload: z.ZodObject<{
|
|
|
28
28
|
number: number;
|
|
29
29
|
status: string;
|
|
30
30
|
id: string;
|
|
31
|
-
backgroundWorkerId: string;
|
|
32
31
|
startedAt: Date;
|
|
32
|
+
backgroundWorkerId: string;
|
|
33
33
|
backgroundWorkerTaskId: string;
|
|
34
34
|
}, {
|
|
35
35
|
number: number;
|
|
36
36
|
status: string;
|
|
37
37
|
id: string;
|
|
38
|
-
backgroundWorkerId: string;
|
|
39
38
|
startedAt: Date;
|
|
39
|
+
backgroundWorkerId: string;
|
|
40
40
|
backgroundWorkerTaskId: string;
|
|
41
41
|
}>;
|
|
42
42
|
run: z.ZodObject<{
|
|
@@ -58,13 +58,13 @@ export declare const TaskRunExecutionPayload: z.ZodObject<{
|
|
|
58
58
|
maxDuration: z.ZodOptional<z.ZodNumber>;
|
|
59
59
|
}, "strip", z.ZodTypeAny, {
|
|
60
60
|
id: string;
|
|
61
|
-
isTest: boolean;
|
|
62
61
|
payload: string;
|
|
63
|
-
durationMs: number;
|
|
64
|
-
startedAt: Date;
|
|
65
62
|
payloadType: string;
|
|
66
63
|
tags: string[];
|
|
64
|
+
isTest: boolean;
|
|
67
65
|
createdAt: Date;
|
|
66
|
+
startedAt: Date;
|
|
67
|
+
durationMs: number;
|
|
68
68
|
costInCents: number;
|
|
69
69
|
baseCostInCents: number;
|
|
70
70
|
context?: any;
|
|
@@ -156,22 +156,17 @@ export declare const TaskRunExecutionPayload: z.ZodObject<{
|
|
|
156
156
|
memory: z.ZodNumber;
|
|
157
157
|
centsPerMs: z.ZodNumber;
|
|
158
158
|
}, "strip", z.ZodTypeAny, {
|
|
159
|
-
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
160
159
|
cpu: number;
|
|
161
160
|
memory: number;
|
|
161
|
+
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
162
162
|
centsPerMs: number;
|
|
163
163
|
}, {
|
|
164
|
-
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
165
164
|
cpu: number;
|
|
166
165
|
memory: number;
|
|
166
|
+
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
167
167
|
centsPerMs: number;
|
|
168
168
|
}>>;
|
|
169
169
|
}, "strip", z.ZodTypeAny, {
|
|
170
|
-
environment: {
|
|
171
|
-
type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
|
|
172
|
-
id: string;
|
|
173
|
-
slug: string;
|
|
174
|
-
};
|
|
175
170
|
task: {
|
|
176
171
|
id: string;
|
|
177
172
|
filePath: string;
|
|
@@ -181,19 +176,19 @@ export declare const TaskRunExecutionPayload: z.ZodObject<{
|
|
|
181
176
|
number: number;
|
|
182
177
|
status: string;
|
|
183
178
|
id: string;
|
|
184
|
-
backgroundWorkerId: string;
|
|
185
179
|
startedAt: Date;
|
|
180
|
+
backgroundWorkerId: string;
|
|
186
181
|
backgroundWorkerTaskId: string;
|
|
187
182
|
};
|
|
188
183
|
run: {
|
|
189
184
|
id: string;
|
|
190
|
-
isTest: boolean;
|
|
191
185
|
payload: string;
|
|
192
|
-
durationMs: number;
|
|
193
|
-
startedAt: Date;
|
|
194
186
|
payloadType: string;
|
|
195
187
|
tags: string[];
|
|
188
|
+
isTest: boolean;
|
|
196
189
|
createdAt: Date;
|
|
190
|
+
startedAt: Date;
|
|
191
|
+
durationMs: number;
|
|
197
192
|
costInCents: number;
|
|
198
193
|
baseCostInCents: number;
|
|
199
194
|
context?: any;
|
|
@@ -207,6 +202,11 @@ export declare const TaskRunExecutionPayload: z.ZodObject<{
|
|
|
207
202
|
name: string;
|
|
208
203
|
id: string;
|
|
209
204
|
};
|
|
205
|
+
environment: {
|
|
206
|
+
type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
|
|
207
|
+
id: string;
|
|
208
|
+
slug: string;
|
|
209
|
+
};
|
|
210
210
|
organization: {
|
|
211
211
|
name: string;
|
|
212
212
|
id: string;
|
|
@@ -222,17 +222,12 @@ export declare const TaskRunExecutionPayload: z.ZodObject<{
|
|
|
222
222
|
id: string;
|
|
223
223
|
} | undefined;
|
|
224
224
|
machine?: {
|
|
225
|
-
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
226
225
|
cpu: number;
|
|
227
226
|
memory: number;
|
|
227
|
+
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
228
228
|
centsPerMs: number;
|
|
229
229
|
} | undefined;
|
|
230
230
|
}, {
|
|
231
|
-
environment: {
|
|
232
|
-
type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
|
|
233
|
-
id: string;
|
|
234
|
-
slug: string;
|
|
235
|
-
};
|
|
236
231
|
task: {
|
|
237
232
|
id: string;
|
|
238
233
|
filePath: string;
|
|
@@ -242,8 +237,8 @@ export declare const TaskRunExecutionPayload: z.ZodObject<{
|
|
|
242
237
|
number: number;
|
|
243
238
|
status: string;
|
|
244
239
|
id: string;
|
|
245
|
-
backgroundWorkerId: string;
|
|
246
240
|
startedAt: Date;
|
|
241
|
+
backgroundWorkerId: string;
|
|
247
242
|
backgroundWorkerTaskId: string;
|
|
248
243
|
};
|
|
249
244
|
run: {
|
|
@@ -268,6 +263,11 @@ export declare const TaskRunExecutionPayload: z.ZodObject<{
|
|
|
268
263
|
name: string;
|
|
269
264
|
id: string;
|
|
270
265
|
};
|
|
266
|
+
environment: {
|
|
267
|
+
type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
|
|
268
|
+
id: string;
|
|
269
|
+
slug: string;
|
|
270
|
+
};
|
|
271
271
|
organization: {
|
|
272
272
|
name: string;
|
|
273
273
|
id: string;
|
|
@@ -283,22 +283,16 @@ export declare const TaskRunExecutionPayload: z.ZodObject<{
|
|
|
283
283
|
id: string;
|
|
284
284
|
} | undefined;
|
|
285
285
|
machine?: {
|
|
286
|
-
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
287
286
|
cpu: number;
|
|
288
287
|
memory: number;
|
|
288
|
+
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
289
289
|
centsPerMs: number;
|
|
290
290
|
} | undefined;
|
|
291
291
|
}>;
|
|
292
292
|
traceContext: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
293
293
|
environment: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
294
294
|
}, "strip", z.ZodTypeAny, {
|
|
295
|
-
traceContext: Record<string, unknown>;
|
|
296
295
|
execution: {
|
|
297
|
-
environment: {
|
|
298
|
-
type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
|
|
299
|
-
id: string;
|
|
300
|
-
slug: string;
|
|
301
|
-
};
|
|
302
296
|
task: {
|
|
303
297
|
id: string;
|
|
304
298
|
filePath: string;
|
|
@@ -308,19 +302,19 @@ export declare const TaskRunExecutionPayload: z.ZodObject<{
|
|
|
308
302
|
number: number;
|
|
309
303
|
status: string;
|
|
310
304
|
id: string;
|
|
311
|
-
backgroundWorkerId: string;
|
|
312
305
|
startedAt: Date;
|
|
306
|
+
backgroundWorkerId: string;
|
|
313
307
|
backgroundWorkerTaskId: string;
|
|
314
308
|
};
|
|
315
309
|
run: {
|
|
316
310
|
id: string;
|
|
317
|
-
isTest: boolean;
|
|
318
311
|
payload: string;
|
|
319
|
-
durationMs: number;
|
|
320
|
-
startedAt: Date;
|
|
321
312
|
payloadType: string;
|
|
322
313
|
tags: string[];
|
|
314
|
+
isTest: boolean;
|
|
323
315
|
createdAt: Date;
|
|
316
|
+
startedAt: Date;
|
|
317
|
+
durationMs: number;
|
|
324
318
|
costInCents: number;
|
|
325
319
|
baseCostInCents: number;
|
|
326
320
|
context?: any;
|
|
@@ -334,6 +328,11 @@ export declare const TaskRunExecutionPayload: z.ZodObject<{
|
|
|
334
328
|
name: string;
|
|
335
329
|
id: string;
|
|
336
330
|
};
|
|
331
|
+
environment: {
|
|
332
|
+
type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
|
|
333
|
+
id: string;
|
|
334
|
+
slug: string;
|
|
335
|
+
};
|
|
337
336
|
organization: {
|
|
338
337
|
name: string;
|
|
339
338
|
id: string;
|
|
@@ -349,21 +348,16 @@ export declare const TaskRunExecutionPayload: z.ZodObject<{
|
|
|
349
348
|
id: string;
|
|
350
349
|
} | undefined;
|
|
351
350
|
machine?: {
|
|
352
|
-
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
353
351
|
cpu: number;
|
|
354
352
|
memory: number;
|
|
353
|
+
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
355
354
|
centsPerMs: number;
|
|
356
355
|
} | undefined;
|
|
357
356
|
};
|
|
357
|
+
traceContext: Record<string, unknown>;
|
|
358
358
|
environment?: Record<string, string> | undefined;
|
|
359
359
|
}, {
|
|
360
|
-
traceContext: Record<string, unknown>;
|
|
361
360
|
execution: {
|
|
362
|
-
environment: {
|
|
363
|
-
type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
|
|
364
|
-
id: string;
|
|
365
|
-
slug: string;
|
|
366
|
-
};
|
|
367
361
|
task: {
|
|
368
362
|
id: string;
|
|
369
363
|
filePath: string;
|
|
@@ -373,8 +367,8 @@ export declare const TaskRunExecutionPayload: z.ZodObject<{
|
|
|
373
367
|
number: number;
|
|
374
368
|
status: string;
|
|
375
369
|
id: string;
|
|
376
|
-
backgroundWorkerId: string;
|
|
377
370
|
startedAt: Date;
|
|
371
|
+
backgroundWorkerId: string;
|
|
378
372
|
backgroundWorkerTaskId: string;
|
|
379
373
|
};
|
|
380
374
|
run: {
|
|
@@ -399,6 +393,11 @@ export declare const TaskRunExecutionPayload: z.ZodObject<{
|
|
|
399
393
|
name: string;
|
|
400
394
|
id: string;
|
|
401
395
|
};
|
|
396
|
+
environment: {
|
|
397
|
+
type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
|
|
398
|
+
id: string;
|
|
399
|
+
slug: string;
|
|
400
|
+
};
|
|
402
401
|
organization: {
|
|
403
402
|
name: string;
|
|
404
403
|
id: string;
|
|
@@ -414,29 +413,17 @@ export declare const TaskRunExecutionPayload: z.ZodObject<{
|
|
|
414
413
|
id: string;
|
|
415
414
|
} | undefined;
|
|
416
415
|
machine?: {
|
|
417
|
-
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
418
416
|
cpu: number;
|
|
419
417
|
memory: number;
|
|
418
|
+
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
420
419
|
centsPerMs: number;
|
|
421
420
|
} | undefined;
|
|
422
421
|
};
|
|
422
|
+
traceContext: Record<string, unknown>;
|
|
423
423
|
environment?: Record<string, string> | undefined;
|
|
424
424
|
}>;
|
|
425
425
|
export type TaskRunExecutionPayload = z.infer<typeof TaskRunExecutionPayload>;
|
|
426
426
|
export declare const ProdTaskRunExecution: z.ZodObject<{
|
|
427
|
-
environment: z.ZodObject<{
|
|
428
|
-
id: z.ZodString;
|
|
429
|
-
slug: z.ZodString;
|
|
430
|
-
type: z.ZodEnum<["PRODUCTION", "STAGING", "DEVELOPMENT", "PREVIEW"]>;
|
|
431
|
-
}, "strip", z.ZodTypeAny, {
|
|
432
|
-
type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
|
|
433
|
-
id: string;
|
|
434
|
-
slug: string;
|
|
435
|
-
}, {
|
|
436
|
-
type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
|
|
437
|
-
id: string;
|
|
438
|
-
slug: string;
|
|
439
|
-
}>;
|
|
440
427
|
task: z.ZodObject<{
|
|
441
428
|
id: z.ZodString;
|
|
442
429
|
filePath: z.ZodString;
|
|
@@ -461,15 +448,15 @@ export declare const ProdTaskRunExecution: z.ZodObject<{
|
|
|
461
448
|
number: number;
|
|
462
449
|
status: string;
|
|
463
450
|
id: string;
|
|
464
|
-
backgroundWorkerId: string;
|
|
465
451
|
startedAt: Date;
|
|
452
|
+
backgroundWorkerId: string;
|
|
466
453
|
backgroundWorkerTaskId: string;
|
|
467
454
|
}, {
|
|
468
455
|
number: number;
|
|
469
456
|
status: string;
|
|
470
457
|
id: string;
|
|
471
|
-
backgroundWorkerId: string;
|
|
472
458
|
startedAt: Date;
|
|
459
|
+
backgroundWorkerId: string;
|
|
473
460
|
backgroundWorkerTaskId: string;
|
|
474
461
|
}>;
|
|
475
462
|
run: z.ZodObject<{
|
|
@@ -491,13 +478,13 @@ export declare const ProdTaskRunExecution: z.ZodObject<{
|
|
|
491
478
|
maxDuration: z.ZodOptional<z.ZodNumber>;
|
|
492
479
|
}, "strip", z.ZodTypeAny, {
|
|
493
480
|
id: string;
|
|
494
|
-
isTest: boolean;
|
|
495
481
|
payload: string;
|
|
496
|
-
durationMs: number;
|
|
497
|
-
startedAt: Date;
|
|
498
482
|
payloadType: string;
|
|
499
483
|
tags: string[];
|
|
484
|
+
isTest: boolean;
|
|
500
485
|
createdAt: Date;
|
|
486
|
+
startedAt: Date;
|
|
487
|
+
durationMs: number;
|
|
501
488
|
costInCents: number;
|
|
502
489
|
baseCostInCents: number;
|
|
503
490
|
context?: any;
|
|
@@ -534,6 +521,19 @@ export declare const ProdTaskRunExecution: z.ZodObject<{
|
|
|
534
521
|
name: string;
|
|
535
522
|
id: string;
|
|
536
523
|
}>;
|
|
524
|
+
environment: z.ZodObject<{
|
|
525
|
+
id: z.ZodString;
|
|
526
|
+
slug: z.ZodString;
|
|
527
|
+
type: z.ZodEnum<["PRODUCTION", "STAGING", "DEVELOPMENT", "PREVIEW"]>;
|
|
528
|
+
}, "strip", z.ZodTypeAny, {
|
|
529
|
+
type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
|
|
530
|
+
id: string;
|
|
531
|
+
slug: string;
|
|
532
|
+
}, {
|
|
533
|
+
type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
|
|
534
|
+
id: string;
|
|
535
|
+
slug: string;
|
|
536
|
+
}>;
|
|
537
537
|
organization: z.ZodObject<{
|
|
538
538
|
id: z.ZodString;
|
|
539
539
|
slug: z.ZodString;
|
|
@@ -575,12 +575,12 @@ export declare const ProdTaskRunExecution: z.ZodObject<{
|
|
|
575
575
|
contentHash: z.ZodString;
|
|
576
576
|
version: z.ZodString;
|
|
577
577
|
}, "strip", z.ZodTypeAny, {
|
|
578
|
-
version: string;
|
|
579
578
|
id: string;
|
|
579
|
+
version: string;
|
|
580
580
|
contentHash: string;
|
|
581
581
|
}, {
|
|
582
|
-
version: string;
|
|
583
582
|
id: string;
|
|
583
|
+
version: string;
|
|
584
584
|
contentHash: string;
|
|
585
585
|
}>;
|
|
586
586
|
machine: z.ZodDefault<z.ZodObject<{
|
|
@@ -589,28 +589,17 @@ export declare const ProdTaskRunExecution: z.ZodObject<{
|
|
|
589
589
|
memory: z.ZodNumber;
|
|
590
590
|
centsPerMs: z.ZodNumber;
|
|
591
591
|
}, "strip", z.ZodTypeAny, {
|
|
592
|
-
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
593
592
|
cpu: number;
|
|
594
593
|
memory: number;
|
|
594
|
+
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
595
595
|
centsPerMs: number;
|
|
596
596
|
}, {
|
|
597
|
-
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
598
597
|
cpu: number;
|
|
599
598
|
memory: number;
|
|
599
|
+
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
600
600
|
centsPerMs: number;
|
|
601
601
|
}>>;
|
|
602
602
|
}, "strip", z.ZodTypeAny, {
|
|
603
|
-
machine: {
|
|
604
|
-
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
605
|
-
cpu: number;
|
|
606
|
-
memory: number;
|
|
607
|
-
centsPerMs: number;
|
|
608
|
-
};
|
|
609
|
-
environment: {
|
|
610
|
-
type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
|
|
611
|
-
id: string;
|
|
612
|
-
slug: string;
|
|
613
|
-
};
|
|
614
603
|
task: {
|
|
615
604
|
id: string;
|
|
616
605
|
filePath: string;
|
|
@@ -620,19 +609,19 @@ export declare const ProdTaskRunExecution: z.ZodObject<{
|
|
|
620
609
|
number: number;
|
|
621
610
|
status: string;
|
|
622
611
|
id: string;
|
|
623
|
-
backgroundWorkerId: string;
|
|
624
612
|
startedAt: Date;
|
|
613
|
+
backgroundWorkerId: string;
|
|
625
614
|
backgroundWorkerTaskId: string;
|
|
626
615
|
};
|
|
627
616
|
run: {
|
|
628
617
|
id: string;
|
|
629
|
-
isTest: boolean;
|
|
630
618
|
payload: string;
|
|
631
|
-
durationMs: number;
|
|
632
|
-
startedAt: Date;
|
|
633
619
|
payloadType: string;
|
|
634
620
|
tags: string[];
|
|
621
|
+
isTest: boolean;
|
|
635
622
|
createdAt: Date;
|
|
623
|
+
startedAt: Date;
|
|
624
|
+
durationMs: number;
|
|
636
625
|
costInCents: number;
|
|
637
626
|
baseCostInCents: number;
|
|
638
627
|
context?: any;
|
|
@@ -646,6 +635,11 @@ export declare const ProdTaskRunExecution: z.ZodObject<{
|
|
|
646
635
|
name: string;
|
|
647
636
|
id: string;
|
|
648
637
|
};
|
|
638
|
+
environment: {
|
|
639
|
+
type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
|
|
640
|
+
id: string;
|
|
641
|
+
slug: string;
|
|
642
|
+
};
|
|
649
643
|
organization: {
|
|
650
644
|
name: string;
|
|
651
645
|
id: string;
|
|
@@ -657,20 +651,21 @@ export declare const ProdTaskRunExecution: z.ZodObject<{
|
|
|
657
651
|
slug: string;
|
|
658
652
|
ref: string;
|
|
659
653
|
};
|
|
654
|
+
machine: {
|
|
655
|
+
cpu: number;
|
|
656
|
+
memory: number;
|
|
657
|
+
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
658
|
+
centsPerMs: number;
|
|
659
|
+
};
|
|
660
660
|
worker: {
|
|
661
|
-
version: string;
|
|
662
661
|
id: string;
|
|
662
|
+
version: string;
|
|
663
663
|
contentHash: string;
|
|
664
664
|
};
|
|
665
665
|
batch?: {
|
|
666
666
|
id: string;
|
|
667
667
|
} | undefined;
|
|
668
668
|
}, {
|
|
669
|
-
environment: {
|
|
670
|
-
type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
|
|
671
|
-
id: string;
|
|
672
|
-
slug: string;
|
|
673
|
-
};
|
|
674
669
|
task: {
|
|
675
670
|
id: string;
|
|
676
671
|
filePath: string;
|
|
@@ -680,8 +675,8 @@ export declare const ProdTaskRunExecution: z.ZodObject<{
|
|
|
680
675
|
number: number;
|
|
681
676
|
status: string;
|
|
682
677
|
id: string;
|
|
683
|
-
backgroundWorkerId: string;
|
|
684
678
|
startedAt: Date;
|
|
679
|
+
backgroundWorkerId: string;
|
|
685
680
|
backgroundWorkerTaskId: string;
|
|
686
681
|
};
|
|
687
682
|
run: {
|
|
@@ -706,6 +701,11 @@ export declare const ProdTaskRunExecution: z.ZodObject<{
|
|
|
706
701
|
name: string;
|
|
707
702
|
id: string;
|
|
708
703
|
};
|
|
704
|
+
environment: {
|
|
705
|
+
type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
|
|
706
|
+
id: string;
|
|
707
|
+
slug: string;
|
|
708
|
+
};
|
|
709
709
|
organization: {
|
|
710
710
|
name: string;
|
|
711
711
|
id: string;
|
|
@@ -718,36 +718,23 @@ export declare const ProdTaskRunExecution: z.ZodObject<{
|
|
|
718
718
|
ref: string;
|
|
719
719
|
};
|
|
720
720
|
worker: {
|
|
721
|
-
version: string;
|
|
722
721
|
id: string;
|
|
722
|
+
version: string;
|
|
723
723
|
contentHash: string;
|
|
724
724
|
};
|
|
725
725
|
batch?: {
|
|
726
726
|
id: string;
|
|
727
727
|
} | undefined;
|
|
728
728
|
machine?: {
|
|
729
|
-
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
730
729
|
cpu: number;
|
|
731
730
|
memory: number;
|
|
731
|
+
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
732
732
|
centsPerMs: number;
|
|
733
733
|
} | undefined;
|
|
734
734
|
}>;
|
|
735
735
|
export type ProdTaskRunExecution = z.infer<typeof ProdTaskRunExecution>;
|
|
736
736
|
export declare const ProdTaskRunExecutionPayload: z.ZodObject<{
|
|
737
737
|
execution: z.ZodObject<{
|
|
738
|
-
environment: z.ZodObject<{
|
|
739
|
-
id: z.ZodString;
|
|
740
|
-
slug: z.ZodString;
|
|
741
|
-
type: z.ZodEnum<["PRODUCTION", "STAGING", "DEVELOPMENT", "PREVIEW"]>;
|
|
742
|
-
}, "strip", z.ZodTypeAny, {
|
|
743
|
-
type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
|
|
744
|
-
id: string;
|
|
745
|
-
slug: string;
|
|
746
|
-
}, {
|
|
747
|
-
type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
|
|
748
|
-
id: string;
|
|
749
|
-
slug: string;
|
|
750
|
-
}>;
|
|
751
738
|
task: z.ZodObject<{
|
|
752
739
|
id: z.ZodString;
|
|
753
740
|
filePath: z.ZodString;
|
|
@@ -772,15 +759,15 @@ export declare const ProdTaskRunExecutionPayload: z.ZodObject<{
|
|
|
772
759
|
number: number;
|
|
773
760
|
status: string;
|
|
774
761
|
id: string;
|
|
775
|
-
backgroundWorkerId: string;
|
|
776
762
|
startedAt: Date;
|
|
763
|
+
backgroundWorkerId: string;
|
|
777
764
|
backgroundWorkerTaskId: string;
|
|
778
765
|
}, {
|
|
779
766
|
number: number;
|
|
780
767
|
status: string;
|
|
781
768
|
id: string;
|
|
782
|
-
backgroundWorkerId: string;
|
|
783
769
|
startedAt: Date;
|
|
770
|
+
backgroundWorkerId: string;
|
|
784
771
|
backgroundWorkerTaskId: string;
|
|
785
772
|
}>;
|
|
786
773
|
run: z.ZodObject<{
|
|
@@ -802,13 +789,13 @@ export declare const ProdTaskRunExecutionPayload: z.ZodObject<{
|
|
|
802
789
|
maxDuration: z.ZodOptional<z.ZodNumber>;
|
|
803
790
|
}, "strip", z.ZodTypeAny, {
|
|
804
791
|
id: string;
|
|
805
|
-
isTest: boolean;
|
|
806
792
|
payload: string;
|
|
807
|
-
durationMs: number;
|
|
808
|
-
startedAt: Date;
|
|
809
793
|
payloadType: string;
|
|
810
794
|
tags: string[];
|
|
795
|
+
isTest: boolean;
|
|
811
796
|
createdAt: Date;
|
|
797
|
+
startedAt: Date;
|
|
798
|
+
durationMs: number;
|
|
812
799
|
costInCents: number;
|
|
813
800
|
baseCostInCents: number;
|
|
814
801
|
context?: any;
|
|
@@ -845,6 +832,19 @@ export declare const ProdTaskRunExecutionPayload: z.ZodObject<{
|
|
|
845
832
|
name: string;
|
|
846
833
|
id: string;
|
|
847
834
|
}>;
|
|
835
|
+
environment: z.ZodObject<{
|
|
836
|
+
id: z.ZodString;
|
|
837
|
+
slug: z.ZodString;
|
|
838
|
+
type: z.ZodEnum<["PRODUCTION", "STAGING", "DEVELOPMENT", "PREVIEW"]>;
|
|
839
|
+
}, "strip", z.ZodTypeAny, {
|
|
840
|
+
type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
|
|
841
|
+
id: string;
|
|
842
|
+
slug: string;
|
|
843
|
+
}, {
|
|
844
|
+
type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
|
|
845
|
+
id: string;
|
|
846
|
+
slug: string;
|
|
847
|
+
}>;
|
|
848
848
|
organization: z.ZodObject<{
|
|
849
849
|
id: z.ZodString;
|
|
850
850
|
slug: z.ZodString;
|
|
@@ -886,12 +886,12 @@ export declare const ProdTaskRunExecutionPayload: z.ZodObject<{
|
|
|
886
886
|
contentHash: z.ZodString;
|
|
887
887
|
version: z.ZodString;
|
|
888
888
|
}, "strip", z.ZodTypeAny, {
|
|
889
|
-
version: string;
|
|
890
889
|
id: string;
|
|
890
|
+
version: string;
|
|
891
891
|
contentHash: string;
|
|
892
892
|
}, {
|
|
893
|
-
version: string;
|
|
894
893
|
id: string;
|
|
894
|
+
version: string;
|
|
895
895
|
contentHash: string;
|
|
896
896
|
}>;
|
|
897
897
|
machine: z.ZodDefault<z.ZodObject<{
|
|
@@ -900,28 +900,17 @@ export declare const ProdTaskRunExecutionPayload: z.ZodObject<{
|
|
|
900
900
|
memory: z.ZodNumber;
|
|
901
901
|
centsPerMs: z.ZodNumber;
|
|
902
902
|
}, "strip", z.ZodTypeAny, {
|
|
903
|
-
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
904
903
|
cpu: number;
|
|
905
904
|
memory: number;
|
|
905
|
+
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
906
906
|
centsPerMs: number;
|
|
907
907
|
}, {
|
|
908
|
-
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
909
908
|
cpu: number;
|
|
910
909
|
memory: number;
|
|
910
|
+
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
911
911
|
centsPerMs: number;
|
|
912
912
|
}>>;
|
|
913
913
|
}, "strip", z.ZodTypeAny, {
|
|
914
|
-
machine: {
|
|
915
|
-
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
916
|
-
cpu: number;
|
|
917
|
-
memory: number;
|
|
918
|
-
centsPerMs: number;
|
|
919
|
-
};
|
|
920
|
-
environment: {
|
|
921
|
-
type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
|
|
922
|
-
id: string;
|
|
923
|
-
slug: string;
|
|
924
|
-
};
|
|
925
914
|
task: {
|
|
926
915
|
id: string;
|
|
927
916
|
filePath: string;
|
|
@@ -931,19 +920,19 @@ export declare const ProdTaskRunExecutionPayload: z.ZodObject<{
|
|
|
931
920
|
number: number;
|
|
932
921
|
status: string;
|
|
933
922
|
id: string;
|
|
934
|
-
backgroundWorkerId: string;
|
|
935
923
|
startedAt: Date;
|
|
924
|
+
backgroundWorkerId: string;
|
|
936
925
|
backgroundWorkerTaskId: string;
|
|
937
926
|
};
|
|
938
927
|
run: {
|
|
939
928
|
id: string;
|
|
940
|
-
isTest: boolean;
|
|
941
929
|
payload: string;
|
|
942
|
-
durationMs: number;
|
|
943
|
-
startedAt: Date;
|
|
944
930
|
payloadType: string;
|
|
945
931
|
tags: string[];
|
|
932
|
+
isTest: boolean;
|
|
946
933
|
createdAt: Date;
|
|
934
|
+
startedAt: Date;
|
|
935
|
+
durationMs: number;
|
|
947
936
|
costInCents: number;
|
|
948
937
|
baseCostInCents: number;
|
|
949
938
|
context?: any;
|
|
@@ -957,6 +946,11 @@ export declare const ProdTaskRunExecutionPayload: z.ZodObject<{
|
|
|
957
946
|
name: string;
|
|
958
947
|
id: string;
|
|
959
948
|
};
|
|
949
|
+
environment: {
|
|
950
|
+
type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
|
|
951
|
+
id: string;
|
|
952
|
+
slug: string;
|
|
953
|
+
};
|
|
960
954
|
organization: {
|
|
961
955
|
name: string;
|
|
962
956
|
id: string;
|
|
@@ -968,20 +962,21 @@ export declare const ProdTaskRunExecutionPayload: z.ZodObject<{
|
|
|
968
962
|
slug: string;
|
|
969
963
|
ref: string;
|
|
970
964
|
};
|
|
965
|
+
machine: {
|
|
966
|
+
cpu: number;
|
|
967
|
+
memory: number;
|
|
968
|
+
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
969
|
+
centsPerMs: number;
|
|
970
|
+
};
|
|
971
971
|
worker: {
|
|
972
|
-
version: string;
|
|
973
972
|
id: string;
|
|
973
|
+
version: string;
|
|
974
974
|
contentHash: string;
|
|
975
975
|
};
|
|
976
976
|
batch?: {
|
|
977
977
|
id: string;
|
|
978
978
|
} | undefined;
|
|
979
979
|
}, {
|
|
980
|
-
environment: {
|
|
981
|
-
type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
|
|
982
|
-
id: string;
|
|
983
|
-
slug: string;
|
|
984
|
-
};
|
|
985
980
|
task: {
|
|
986
981
|
id: string;
|
|
987
982
|
filePath: string;
|
|
@@ -991,8 +986,8 @@ export declare const ProdTaskRunExecutionPayload: z.ZodObject<{
|
|
|
991
986
|
number: number;
|
|
992
987
|
status: string;
|
|
993
988
|
id: string;
|
|
994
|
-
backgroundWorkerId: string;
|
|
995
989
|
startedAt: Date;
|
|
990
|
+
backgroundWorkerId: string;
|
|
996
991
|
backgroundWorkerTaskId: string;
|
|
997
992
|
};
|
|
998
993
|
run: {
|
|
@@ -1017,6 +1012,11 @@ export declare const ProdTaskRunExecutionPayload: z.ZodObject<{
|
|
|
1017
1012
|
name: string;
|
|
1018
1013
|
id: string;
|
|
1019
1014
|
};
|
|
1015
|
+
environment: {
|
|
1016
|
+
type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
|
|
1017
|
+
id: string;
|
|
1018
|
+
slug: string;
|
|
1019
|
+
};
|
|
1020
1020
|
organization: {
|
|
1021
1021
|
name: string;
|
|
1022
1022
|
id: string;
|
|
@@ -1029,36 +1029,24 @@ export declare const ProdTaskRunExecutionPayload: z.ZodObject<{
|
|
|
1029
1029
|
ref: string;
|
|
1030
1030
|
};
|
|
1031
1031
|
worker: {
|
|
1032
|
-
version: string;
|
|
1033
1032
|
id: string;
|
|
1033
|
+
version: string;
|
|
1034
1034
|
contentHash: string;
|
|
1035
1035
|
};
|
|
1036
1036
|
batch?: {
|
|
1037
1037
|
id: string;
|
|
1038
1038
|
} | undefined;
|
|
1039
1039
|
machine?: {
|
|
1040
|
-
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
1041
1040
|
cpu: number;
|
|
1042
1041
|
memory: number;
|
|
1042
|
+
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
1043
1043
|
centsPerMs: number;
|
|
1044
1044
|
} | undefined;
|
|
1045
1045
|
}>;
|
|
1046
1046
|
traceContext: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
1047
1047
|
environment: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1048
1048
|
}, "strip", z.ZodTypeAny, {
|
|
1049
|
-
traceContext: Record<string, unknown>;
|
|
1050
1049
|
execution: {
|
|
1051
|
-
machine: {
|
|
1052
|
-
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
1053
|
-
cpu: number;
|
|
1054
|
-
memory: number;
|
|
1055
|
-
centsPerMs: number;
|
|
1056
|
-
};
|
|
1057
|
-
environment: {
|
|
1058
|
-
type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
|
|
1059
|
-
id: string;
|
|
1060
|
-
slug: string;
|
|
1061
|
-
};
|
|
1062
1050
|
task: {
|
|
1063
1051
|
id: string;
|
|
1064
1052
|
filePath: string;
|
|
@@ -1068,19 +1056,19 @@ export declare const ProdTaskRunExecutionPayload: z.ZodObject<{
|
|
|
1068
1056
|
number: number;
|
|
1069
1057
|
status: string;
|
|
1070
1058
|
id: string;
|
|
1071
|
-
backgroundWorkerId: string;
|
|
1072
1059
|
startedAt: Date;
|
|
1060
|
+
backgroundWorkerId: string;
|
|
1073
1061
|
backgroundWorkerTaskId: string;
|
|
1074
1062
|
};
|
|
1075
1063
|
run: {
|
|
1076
1064
|
id: string;
|
|
1077
|
-
isTest: boolean;
|
|
1078
1065
|
payload: string;
|
|
1079
|
-
durationMs: number;
|
|
1080
|
-
startedAt: Date;
|
|
1081
1066
|
payloadType: string;
|
|
1082
1067
|
tags: string[];
|
|
1068
|
+
isTest: boolean;
|
|
1083
1069
|
createdAt: Date;
|
|
1070
|
+
startedAt: Date;
|
|
1071
|
+
durationMs: number;
|
|
1084
1072
|
costInCents: number;
|
|
1085
1073
|
baseCostInCents: number;
|
|
1086
1074
|
context?: any;
|
|
@@ -1094,6 +1082,11 @@ export declare const ProdTaskRunExecutionPayload: z.ZodObject<{
|
|
|
1094
1082
|
name: string;
|
|
1095
1083
|
id: string;
|
|
1096
1084
|
};
|
|
1085
|
+
environment: {
|
|
1086
|
+
type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
|
|
1087
|
+
id: string;
|
|
1088
|
+
slug: string;
|
|
1089
|
+
};
|
|
1097
1090
|
organization: {
|
|
1098
1091
|
name: string;
|
|
1099
1092
|
id: string;
|
|
@@ -1105,24 +1098,25 @@ export declare const ProdTaskRunExecutionPayload: z.ZodObject<{
|
|
|
1105
1098
|
slug: string;
|
|
1106
1099
|
ref: string;
|
|
1107
1100
|
};
|
|
1101
|
+
machine: {
|
|
1102
|
+
cpu: number;
|
|
1103
|
+
memory: number;
|
|
1104
|
+
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
1105
|
+
centsPerMs: number;
|
|
1106
|
+
};
|
|
1108
1107
|
worker: {
|
|
1109
|
-
version: string;
|
|
1110
1108
|
id: string;
|
|
1109
|
+
version: string;
|
|
1111
1110
|
contentHash: string;
|
|
1112
1111
|
};
|
|
1113
1112
|
batch?: {
|
|
1114
1113
|
id: string;
|
|
1115
1114
|
} | undefined;
|
|
1116
1115
|
};
|
|
1116
|
+
traceContext: Record<string, unknown>;
|
|
1117
1117
|
environment?: Record<string, string> | undefined;
|
|
1118
1118
|
}, {
|
|
1119
|
-
traceContext: Record<string, unknown>;
|
|
1120
1119
|
execution: {
|
|
1121
|
-
environment: {
|
|
1122
|
-
type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
|
|
1123
|
-
id: string;
|
|
1124
|
-
slug: string;
|
|
1125
|
-
};
|
|
1126
1120
|
task: {
|
|
1127
1121
|
id: string;
|
|
1128
1122
|
filePath: string;
|
|
@@ -1132,8 +1126,8 @@ export declare const ProdTaskRunExecutionPayload: z.ZodObject<{
|
|
|
1132
1126
|
number: number;
|
|
1133
1127
|
status: string;
|
|
1134
1128
|
id: string;
|
|
1135
|
-
backgroundWorkerId: string;
|
|
1136
1129
|
startedAt: Date;
|
|
1130
|
+
backgroundWorkerId: string;
|
|
1137
1131
|
backgroundWorkerTaskId: string;
|
|
1138
1132
|
};
|
|
1139
1133
|
run: {
|
|
@@ -1158,6 +1152,11 @@ export declare const ProdTaskRunExecutionPayload: z.ZodObject<{
|
|
|
1158
1152
|
name: string;
|
|
1159
1153
|
id: string;
|
|
1160
1154
|
};
|
|
1155
|
+
environment: {
|
|
1156
|
+
type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
|
|
1157
|
+
id: string;
|
|
1158
|
+
slug: string;
|
|
1159
|
+
};
|
|
1161
1160
|
organization: {
|
|
1162
1161
|
name: string;
|
|
1163
1162
|
id: string;
|
|
@@ -1170,20 +1169,21 @@ export declare const ProdTaskRunExecutionPayload: z.ZodObject<{
|
|
|
1170
1169
|
ref: string;
|
|
1171
1170
|
};
|
|
1172
1171
|
worker: {
|
|
1173
|
-
version: string;
|
|
1174
1172
|
id: string;
|
|
1173
|
+
version: string;
|
|
1175
1174
|
contentHash: string;
|
|
1176
1175
|
};
|
|
1177
1176
|
batch?: {
|
|
1178
1177
|
id: string;
|
|
1179
1178
|
} | undefined;
|
|
1180
1179
|
machine?: {
|
|
1181
|
-
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
1182
1180
|
cpu: number;
|
|
1183
1181
|
memory: number;
|
|
1182
|
+
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
1184
1183
|
centsPerMs: number;
|
|
1185
1184
|
} | undefined;
|
|
1186
1185
|
};
|
|
1186
|
+
traceContext: Record<string, unknown>;
|
|
1187
1187
|
environment?: Record<string, string> | undefined;
|
|
1188
1188
|
}>;
|
|
1189
1189
|
export type ProdTaskRunExecutionPayload = z.infer<typeof ProdTaskRunExecutionPayload>;
|
|
@@ -1926,12 +1926,12 @@ export declare const TaskMetadata: z.ZodObject<{
|
|
|
1926
1926
|
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>]>>;
|
|
1927
1927
|
preset: z.ZodOptional<z.ZodEnum<["micro", "small-1x", "small-2x", "medium-1x", "medium-2x", "large-1x", "large-2x"]>>;
|
|
1928
1928
|
}, "strip", z.ZodTypeAny, {
|
|
1929
|
-
cpu?:
|
|
1930
|
-
memory?:
|
|
1929
|
+
cpu?: 2 | 1 | 0.25 | 0.5 | 4 | undefined;
|
|
1930
|
+
memory?: 2 | 1 | 0.25 | 0.5 | 4 | 8 | undefined;
|
|
1931
1931
|
preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
|
|
1932
1932
|
}, {
|
|
1933
|
-
cpu?:
|
|
1934
|
-
memory?:
|
|
1933
|
+
cpu?: 2 | 1 | 0.25 | 0.5 | 4 | undefined;
|
|
1934
|
+
memory?: 2 | 1 | 0.25 | 0.5 | 4 | 8 | undefined;
|
|
1935
1935
|
preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
|
|
1936
1936
|
}>>;
|
|
1937
1937
|
triggerSource: z.ZodOptional<z.ZodString>;
|
|
@@ -1993,8 +1993,8 @@ export declare const TaskMetadata: z.ZodObject<{
|
|
|
1993
1993
|
randomize?: boolean | undefined;
|
|
1994
1994
|
} | undefined;
|
|
1995
1995
|
machine?: {
|
|
1996
|
-
cpu?:
|
|
1997
|
-
memory?:
|
|
1996
|
+
cpu?: 2 | 1 | 0.25 | 0.5 | 4 | undefined;
|
|
1997
|
+
memory?: 2 | 1 | 0.25 | 0.5 | 4 | 8 | undefined;
|
|
1998
1998
|
preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
|
|
1999
1999
|
} | undefined;
|
|
2000
2000
|
triggerSource?: string | undefined;
|
|
@@ -2050,8 +2050,8 @@ export declare const TaskMetadata: z.ZodObject<{
|
|
|
2050
2050
|
randomize?: boolean | undefined;
|
|
2051
2051
|
} | undefined;
|
|
2052
2052
|
machine?: {
|
|
2053
|
-
cpu?:
|
|
2054
|
-
memory?:
|
|
2053
|
+
cpu?: 2 | 1 | 0.25 | 0.5 | 4 | undefined;
|
|
2054
|
+
memory?: 2 | 1 | 0.25 | 0.5 | 4 | 8 | undefined;
|
|
2055
2055
|
preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
|
|
2056
2056
|
} | undefined;
|
|
2057
2057
|
triggerSource?: string | undefined;
|
|
@@ -2347,12 +2347,12 @@ export declare const TaskManifest: z.ZodObject<{
|
|
|
2347
2347
|
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>]>>;
|
|
2348
2348
|
preset: z.ZodOptional<z.ZodEnum<["micro", "small-1x", "small-2x", "medium-1x", "medium-2x", "large-1x", "large-2x"]>>;
|
|
2349
2349
|
}, "strip", z.ZodTypeAny, {
|
|
2350
|
-
cpu?:
|
|
2351
|
-
memory?:
|
|
2350
|
+
cpu?: 2 | 1 | 0.25 | 0.5 | 4 | undefined;
|
|
2351
|
+
memory?: 2 | 1 | 0.25 | 0.5 | 4 | 8 | undefined;
|
|
2352
2352
|
preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
|
|
2353
2353
|
}, {
|
|
2354
|
-
cpu?:
|
|
2355
|
-
memory?:
|
|
2354
|
+
cpu?: 2 | 1 | 0.25 | 0.5 | 4 | undefined;
|
|
2355
|
+
memory?: 2 | 1 | 0.25 | 0.5 | 4 | 8 | undefined;
|
|
2356
2356
|
preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
|
|
2357
2357
|
}>>;
|
|
2358
2358
|
triggerSource: z.ZodOptional<z.ZodString>;
|
|
@@ -2417,8 +2417,8 @@ export declare const TaskManifest: z.ZodObject<{
|
|
|
2417
2417
|
randomize?: boolean | undefined;
|
|
2418
2418
|
} | undefined;
|
|
2419
2419
|
machine?: {
|
|
2420
|
-
cpu?:
|
|
2421
|
-
memory?:
|
|
2420
|
+
cpu?: 2 | 1 | 0.25 | 0.5 | 4 | undefined;
|
|
2421
|
+
memory?: 2 | 1 | 0.25 | 0.5 | 4 | 8 | undefined;
|
|
2422
2422
|
preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
|
|
2423
2423
|
} | undefined;
|
|
2424
2424
|
triggerSource?: string | undefined;
|
|
@@ -2477,8 +2477,8 @@ export declare const TaskManifest: z.ZodObject<{
|
|
|
2477
2477
|
randomize?: boolean | undefined;
|
|
2478
2478
|
} | undefined;
|
|
2479
2479
|
machine?: {
|
|
2480
|
-
cpu?:
|
|
2481
|
-
memory?:
|
|
2480
|
+
cpu?: 2 | 1 | 0.25 | 0.5 | 4 | undefined;
|
|
2481
|
+
memory?: 2 | 1 | 0.25 | 0.5 | 4 | 8 | undefined;
|
|
2482
2482
|
preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
|
|
2483
2483
|
} | undefined;
|
|
2484
2484
|
triggerSource?: string | undefined;
|
|
@@ -2616,17 +2616,17 @@ export declare const TaskRunExecutionLazyAttemptPayload: z.ZodObject<{
|
|
|
2616
2616
|
traceContext: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
2617
2617
|
environment: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
2618
2618
|
}, "strip", z.ZodTypeAny, {
|
|
2619
|
-
runId: string;
|
|
2620
|
-
messageId: string;
|
|
2621
2619
|
isTest: boolean;
|
|
2622
2620
|
traceContext: Record<string, unknown>;
|
|
2621
|
+
runId: string;
|
|
2622
|
+
messageId: string;
|
|
2623
2623
|
attemptCount?: number | undefined;
|
|
2624
2624
|
environment?: Record<string, string> | undefined;
|
|
2625
2625
|
}, {
|
|
2626
|
-
runId: string;
|
|
2627
|
-
messageId: string;
|
|
2628
2626
|
isTest: boolean;
|
|
2629
2627
|
traceContext: Record<string, unknown>;
|
|
2628
|
+
runId: string;
|
|
2629
|
+
messageId: string;
|
|
2630
2630
|
attemptCount?: number | undefined;
|
|
2631
2631
|
environment?: Record<string, string> | undefined;
|
|
2632
2632
|
}>;
|