@trigger.dev/core 0.0.0-v3-prerelease-20250108131948 → 0.0.0-v3-prerelease-20250108142426

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.
@@ -57,38 +57,38 @@ export declare const TaskRunExecutionPayload: z.ZodObject<{
57
57
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("../../index.js").DeserializedJson, z.ZodTypeDef, import("../../index.js").DeserializedJson>>>;
58
58
  maxDuration: z.ZodOptional<z.ZodNumber>;
59
59
  }, "strip", z.ZodTypeAny, {
60
- id: string;
61
60
  payload: string;
61
+ id: string;
62
+ startedAt: Date;
62
63
  payloadType: string;
63
- tags: string[];
64
64
  isTest: boolean;
65
65
  createdAt: Date;
66
- startedAt: Date;
66
+ tags: string[];
67
67
  durationMs: number;
68
68
  costInCents: number;
69
69
  baseCostInCents: number;
70
- metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
71
70
  context?: any;
71
+ version?: string | undefined;
72
+ metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
72
73
  idempotencyKey?: string | undefined;
73
74
  maxAttempts?: number | undefined;
74
- version?: string | undefined;
75
75
  maxDuration?: number | undefined;
76
76
  }, {
77
- id: string;
78
77
  payload: string;
78
+ id: string;
79
79
  payloadType: string;
80
- tags: string[];
81
80
  createdAt: Date;
82
- metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
81
+ tags: string[];
83
82
  context?: any;
84
- isTest?: boolean | undefined;
83
+ version?: string | undefined;
84
+ metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
85
85
  startedAt?: Date | undefined;
86
86
  idempotencyKey?: string | undefined;
87
+ isTest?: boolean | undefined;
87
88
  maxAttempts?: number | undefined;
88
89
  durationMs?: number | undefined;
89
90
  costInCents?: number | undefined;
90
91
  baseCostInCents?: number | undefined;
91
- version?: string | undefined;
92
92
  maxDuration?: number | undefined;
93
93
  }>;
94
94
  queue: z.ZodObject<{
@@ -156,52 +156,35 @@ 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";
159
160
  cpu: number;
160
161
  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";
164
165
  cpu: number;
165
166
  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
- task: {
171
- id: string;
172
- filePath: string;
173
- exportName: string;
174
- };
175
- attempt: {
176
- number: number;
177
- status: string;
178
- id: string;
179
- startedAt: Date;
180
- backgroundWorkerId: string;
181
- backgroundWorkerTaskId: string;
182
- };
183
170
  run: {
184
- id: string;
185
171
  payload: string;
172
+ id: string;
173
+ startedAt: Date;
186
174
  payloadType: string;
187
- tags: string[];
188
175
  isTest: boolean;
189
176
  createdAt: Date;
190
- startedAt: Date;
177
+ tags: string[];
191
178
  durationMs: number;
192
179
  costInCents: number;
193
180
  baseCostInCents: number;
194
- metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
195
181
  context?: any;
182
+ version?: string | undefined;
183
+ metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
196
184
  idempotencyKey?: string | undefined;
197
185
  maxAttempts?: number | undefined;
198
- version?: string | undefined;
199
186
  maxDuration?: number | undefined;
200
187
  };
201
- queue: {
202
- name: string;
203
- id: string;
204
- };
205
188
  environment: {
206
189
  type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
207
190
  id: string;
@@ -218,16 +201,6 @@ export declare const TaskRunExecutionPayload: z.ZodObject<{
218
201
  slug: string;
219
202
  ref: string;
220
203
  };
221
- batch?: {
222
- id: string;
223
- } | undefined;
224
- machine?: {
225
- cpu: number;
226
- memory: number;
227
- name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
228
- centsPerMs: number;
229
- } | undefined;
230
- }, {
231
204
  task: {
232
205
  id: string;
233
206
  filePath: string;
@@ -241,28 +214,38 @@ export declare const TaskRunExecutionPayload: z.ZodObject<{
241
214
  backgroundWorkerId: string;
242
215
  backgroundWorkerTaskId: string;
243
216
  };
244
- run: {
217
+ queue: {
218
+ name: string;
219
+ id: string;
220
+ };
221
+ batch?: {
245
222
  id: string;
223
+ } | undefined;
224
+ machine?: {
225
+ name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
226
+ cpu: number;
227
+ memory: number;
228
+ centsPerMs: number;
229
+ } | undefined;
230
+ }, {
231
+ run: {
246
232
  payload: string;
233
+ id: string;
247
234
  payloadType: string;
248
- tags: string[];
249
235
  createdAt: Date;
250
- metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
236
+ tags: string[];
251
237
  context?: any;
252
- isTest?: boolean | undefined;
238
+ version?: string | undefined;
239
+ metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
253
240
  startedAt?: Date | undefined;
254
241
  idempotencyKey?: string | undefined;
242
+ isTest?: boolean | undefined;
255
243
  maxAttempts?: number | undefined;
256
244
  durationMs?: number | undefined;
257
245
  costInCents?: number | undefined;
258
246
  baseCostInCents?: number | undefined;
259
- version?: string | undefined;
260
247
  maxDuration?: number | undefined;
261
248
  };
262
- queue: {
263
- name: string;
264
- id: string;
265
- };
266
249
  environment: {
267
250
  type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
268
251
  id: string;
@@ -279,20 +262,6 @@ export declare const TaskRunExecutionPayload: z.ZodObject<{
279
262
  slug: string;
280
263
  ref: string;
281
264
  };
282
- batch?: {
283
- id: string;
284
- } | undefined;
285
- machine?: {
286
- cpu: number;
287
- memory: number;
288
- name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
289
- centsPerMs: number;
290
- } | undefined;
291
- }>;
292
- traceContext: z.ZodRecord<z.ZodString, z.ZodUnknown>;
293
- environment: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
294
- }, "strip", z.ZodTypeAny, {
295
- execution: {
296
265
  task: {
297
266
  id: string;
298
267
  filePath: string;
@@ -306,28 +275,42 @@ export declare const TaskRunExecutionPayload: z.ZodObject<{
306
275
  backgroundWorkerId: string;
307
276
  backgroundWorkerTaskId: string;
308
277
  };
309
- run: {
278
+ queue: {
279
+ name: string;
280
+ id: string;
281
+ };
282
+ batch?: {
310
283
  id: string;
284
+ } | undefined;
285
+ machine?: {
286
+ name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
287
+ cpu: number;
288
+ memory: number;
289
+ centsPerMs: number;
290
+ } | undefined;
291
+ }>;
292
+ traceContext: z.ZodRecord<z.ZodString, z.ZodUnknown>;
293
+ environment: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
294
+ }, "strip", z.ZodTypeAny, {
295
+ execution: {
296
+ run: {
311
297
  payload: string;
298
+ id: string;
299
+ startedAt: Date;
312
300
  payloadType: string;
313
- tags: string[];
314
301
  isTest: boolean;
315
302
  createdAt: Date;
316
- startedAt: Date;
303
+ tags: string[];
317
304
  durationMs: number;
318
305
  costInCents: number;
319
306
  baseCostInCents: number;
320
- metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
321
307
  context?: any;
308
+ version?: string | undefined;
309
+ metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
322
310
  idempotencyKey?: string | undefined;
323
311
  maxAttempts?: number | undefined;
324
- version?: string | undefined;
325
312
  maxDuration?: number | undefined;
326
313
  };
327
- queue: {
328
- name: string;
329
- id: string;
330
- };
331
314
  environment: {
332
315
  type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
333
316
  id: string;
@@ -344,20 +327,6 @@ export declare const TaskRunExecutionPayload: z.ZodObject<{
344
327
  slug: string;
345
328
  ref: string;
346
329
  };
347
- batch?: {
348
- id: string;
349
- } | undefined;
350
- machine?: {
351
- cpu: number;
352
- memory: number;
353
- name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
354
- centsPerMs: number;
355
- } | undefined;
356
- };
357
- traceContext: Record<string, unknown>;
358
- environment?: Record<string, string> | undefined;
359
- }, {
360
- execution: {
361
330
  task: {
362
331
  id: string;
363
332
  filePath: string;
@@ -371,28 +340,42 @@ export declare const TaskRunExecutionPayload: z.ZodObject<{
371
340
  backgroundWorkerId: string;
372
341
  backgroundWorkerTaskId: string;
373
342
  };
374
- run: {
343
+ queue: {
344
+ name: string;
345
+ id: string;
346
+ };
347
+ batch?: {
375
348
  id: string;
349
+ } | undefined;
350
+ machine?: {
351
+ name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
352
+ cpu: number;
353
+ memory: number;
354
+ centsPerMs: number;
355
+ } | undefined;
356
+ };
357
+ traceContext: Record<string, unknown>;
358
+ environment?: Record<string, string> | undefined;
359
+ }, {
360
+ execution: {
361
+ run: {
376
362
  payload: string;
363
+ id: string;
377
364
  payloadType: string;
378
- tags: string[];
379
365
  createdAt: Date;
380
- metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
366
+ tags: string[];
381
367
  context?: any;
382
- isTest?: boolean | undefined;
368
+ version?: string | undefined;
369
+ metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
383
370
  startedAt?: Date | undefined;
384
371
  idempotencyKey?: string | undefined;
372
+ isTest?: boolean | undefined;
385
373
  maxAttempts?: number | undefined;
386
374
  durationMs?: number | undefined;
387
375
  costInCents?: number | undefined;
388
376
  baseCostInCents?: number | undefined;
389
- version?: string | undefined;
390
377
  maxDuration?: number | undefined;
391
378
  };
392
- queue: {
393
- name: string;
394
- id: string;
395
- };
396
379
  environment: {
397
380
  type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
398
381
  id: string;
@@ -409,13 +392,30 @@ export declare const TaskRunExecutionPayload: z.ZodObject<{
409
392
  slug: string;
410
393
  ref: string;
411
394
  };
395
+ task: {
396
+ id: string;
397
+ filePath: string;
398
+ exportName: string;
399
+ };
400
+ attempt: {
401
+ number: number;
402
+ status: string;
403
+ id: string;
404
+ startedAt: Date;
405
+ backgroundWorkerId: string;
406
+ backgroundWorkerTaskId: string;
407
+ };
408
+ queue: {
409
+ name: string;
410
+ id: string;
411
+ };
412
412
  batch?: {
413
413
  id: string;
414
414
  } | undefined;
415
415
  machine?: {
416
+ name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
416
417
  cpu: number;
417
418
  memory: number;
418
- name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
419
419
  centsPerMs: number;
420
420
  } | undefined;
421
421
  };
@@ -477,38 +477,38 @@ export declare const ProdTaskRunExecution: z.ZodObject<z.objectUtil.extendShape<
477
477
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("../../index.js").DeserializedJson, z.ZodTypeDef, import("../../index.js").DeserializedJson>>>;
478
478
  maxDuration: z.ZodOptional<z.ZodNumber>;
479
479
  }, "strip", z.ZodTypeAny, {
480
- id: string;
481
480
  payload: string;
481
+ id: string;
482
+ startedAt: Date;
482
483
  payloadType: string;
483
- tags: string[];
484
484
  isTest: boolean;
485
485
  createdAt: Date;
486
- startedAt: Date;
486
+ tags: string[];
487
487
  durationMs: number;
488
488
  costInCents: number;
489
489
  baseCostInCents: number;
490
- metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
491
490
  context?: any;
491
+ version?: string | undefined;
492
+ metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
492
493
  idempotencyKey?: string | undefined;
493
494
  maxAttempts?: number | undefined;
494
- version?: string | undefined;
495
495
  maxDuration?: number | undefined;
496
496
  }, {
497
- id: string;
498
497
  payload: string;
498
+ id: string;
499
499
  payloadType: string;
500
- tags: string[];
501
500
  createdAt: Date;
502
- metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
501
+ tags: string[];
503
502
  context?: any;
504
- isTest?: boolean | undefined;
503
+ version?: string | undefined;
504
+ metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
505
505
  startedAt?: Date | undefined;
506
506
  idempotencyKey?: string | undefined;
507
+ isTest?: boolean | undefined;
507
508
  maxAttempts?: number | undefined;
508
509
  durationMs?: number | undefined;
509
510
  costInCents?: number | undefined;
510
511
  baseCostInCents?: number | undefined;
511
- version?: string | undefined;
512
512
  maxDuration?: number | undefined;
513
513
  }>;
514
514
  queue: z.ZodObject<{
@@ -576,14 +576,14 @@ export declare const ProdTaskRunExecution: z.ZodObject<z.objectUtil.extendShape<
576
576
  memory: z.ZodNumber;
577
577
  centsPerMs: z.ZodNumber;
578
578
  }, "strip", z.ZodTypeAny, {
579
+ name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
579
580
  cpu: number;
580
581
  memory: number;
581
- name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
582
582
  centsPerMs: number;
583
583
  }, {
584
+ name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
584
585
  cpu: number;
585
586
  memory: number;
586
- name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
587
587
  centsPerMs: number;
588
588
  }>>;
589
589
  }, {
@@ -592,12 +592,12 @@ export declare const ProdTaskRunExecution: z.ZodObject<z.objectUtil.extendShape<
592
592
  contentHash: z.ZodString;
593
593
  version: z.ZodString;
594
594
  }, "strip", z.ZodTypeAny, {
595
- id: string;
596
595
  version: string;
596
+ id: string;
597
597
  contentHash: string;
598
598
  }, {
599
- id: string;
600
599
  version: string;
600
+ id: string;
601
601
  contentHash: string;
602
602
  }>;
603
603
  machine: z.ZodDefault<z.ZodObject<{
@@ -606,52 +606,35 @@ export declare const ProdTaskRunExecution: z.ZodObject<z.objectUtil.extendShape<
606
606
  memory: z.ZodNumber;
607
607
  centsPerMs: z.ZodNumber;
608
608
  }, "strip", z.ZodTypeAny, {
609
+ name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
609
610
  cpu: number;
610
611
  memory: number;
611
- name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
612
612
  centsPerMs: number;
613
613
  }, {
614
+ name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
614
615
  cpu: number;
615
616
  memory: number;
616
- name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
617
617
  centsPerMs: number;
618
618
  }>>;
619
619
  }>, "strip", z.ZodTypeAny, {
620
- task: {
621
- id: string;
622
- filePath: string;
623
- exportName: string;
624
- };
625
- attempt: {
626
- number: number;
627
- status: string;
628
- id: string;
629
- startedAt: Date;
630
- backgroundWorkerId: string;
631
- backgroundWorkerTaskId: string;
632
- };
633
620
  run: {
634
- id: string;
635
621
  payload: string;
622
+ id: string;
623
+ startedAt: Date;
636
624
  payloadType: string;
637
- tags: string[];
638
625
  isTest: boolean;
639
626
  createdAt: Date;
640
- startedAt: Date;
627
+ tags: string[];
641
628
  durationMs: number;
642
629
  costInCents: number;
643
630
  baseCostInCents: number;
644
- metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
645
631
  context?: any;
632
+ version?: string | undefined;
633
+ metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
646
634
  idempotencyKey?: string | undefined;
647
635
  maxAttempts?: number | undefined;
648
- version?: string | undefined;
649
636
  maxDuration?: number | undefined;
650
637
  };
651
- queue: {
652
- name: string;
653
- id: string;
654
- };
655
638
  environment: {
656
639
  type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
657
640
  id: string;
@@ -668,21 +651,6 @@ export declare const ProdTaskRunExecution: z.ZodObject<z.objectUtil.extendShape<
668
651
  slug: string;
669
652
  ref: string;
670
653
  };
671
- machine: {
672
- cpu: number;
673
- memory: number;
674
- name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
675
- centsPerMs: number;
676
- };
677
- worker: {
678
- id: string;
679
- version: string;
680
- contentHash: string;
681
- };
682
- batch?: {
683
- id: string;
684
- } | undefined;
685
- }, {
686
654
  task: {
687
655
  id: string;
688
656
  filePath: string;
@@ -696,28 +664,43 @@ export declare const ProdTaskRunExecution: z.ZodObject<z.objectUtil.extendShape<
696
664
  backgroundWorkerId: string;
697
665
  backgroundWorkerTaskId: string;
698
666
  };
699
- run: {
667
+ queue: {
668
+ name: string;
669
+ id: string;
670
+ };
671
+ machine: {
672
+ name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
673
+ cpu: number;
674
+ memory: number;
675
+ centsPerMs: number;
676
+ };
677
+ worker: {
678
+ version: string;
679
+ id: string;
680
+ contentHash: string;
681
+ };
682
+ batch?: {
700
683
  id: string;
684
+ } | undefined;
685
+ }, {
686
+ run: {
701
687
  payload: string;
688
+ id: string;
702
689
  payloadType: string;
703
- tags: string[];
704
690
  createdAt: Date;
705
- metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
691
+ tags: string[];
706
692
  context?: any;
707
- isTest?: boolean | undefined;
693
+ version?: string | undefined;
694
+ metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
708
695
  startedAt?: Date | undefined;
709
696
  idempotencyKey?: string | undefined;
697
+ isTest?: boolean | undefined;
710
698
  maxAttempts?: number | undefined;
711
699
  durationMs?: number | undefined;
712
700
  costInCents?: number | undefined;
713
701
  baseCostInCents?: number | undefined;
714
- version?: string | undefined;
715
702
  maxDuration?: number | undefined;
716
703
  };
717
- queue: {
718
- name: string;
719
- id: string;
720
- };
721
704
  environment: {
722
705
  type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
723
706
  id: string;
@@ -734,18 +717,35 @@ export declare const ProdTaskRunExecution: z.ZodObject<z.objectUtil.extendShape<
734
717
  slug: string;
735
718
  ref: string;
736
719
  };
737
- worker: {
720
+ task: {
738
721
  id: string;
722
+ filePath: string;
723
+ exportName: string;
724
+ };
725
+ attempt: {
726
+ number: number;
727
+ status: string;
728
+ id: string;
729
+ startedAt: Date;
730
+ backgroundWorkerId: string;
731
+ backgroundWorkerTaskId: string;
732
+ };
733
+ queue: {
734
+ name: string;
735
+ id: string;
736
+ };
737
+ worker: {
739
738
  version: string;
739
+ id: string;
740
740
  contentHash: string;
741
741
  };
742
742
  batch?: {
743
743
  id: string;
744
744
  } | undefined;
745
745
  machine?: {
746
+ name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
746
747
  cpu: number;
747
748
  memory: number;
748
- name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
749
749
  centsPerMs: number;
750
750
  } | undefined;
751
751
  }>;
@@ -805,38 +805,38 @@ export declare const ProdTaskRunExecutionPayload: z.ZodObject<{
805
805
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("../../index.js").DeserializedJson, z.ZodTypeDef, import("../../index.js").DeserializedJson>>>;
806
806
  maxDuration: z.ZodOptional<z.ZodNumber>;
807
807
  }, "strip", z.ZodTypeAny, {
808
- id: string;
809
808
  payload: string;
809
+ id: string;
810
+ startedAt: Date;
810
811
  payloadType: string;
811
- tags: string[];
812
812
  isTest: boolean;
813
813
  createdAt: Date;
814
- startedAt: Date;
814
+ tags: string[];
815
815
  durationMs: number;
816
816
  costInCents: number;
817
817
  baseCostInCents: number;
818
- metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
819
818
  context?: any;
819
+ version?: string | undefined;
820
+ metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
820
821
  idempotencyKey?: string | undefined;
821
822
  maxAttempts?: number | undefined;
822
- version?: string | undefined;
823
823
  maxDuration?: number | undefined;
824
824
  }, {
825
- id: string;
826
825
  payload: string;
826
+ id: string;
827
827
  payloadType: string;
828
- tags: string[];
829
828
  createdAt: Date;
830
- metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
829
+ tags: string[];
831
830
  context?: any;
832
- isTest?: boolean | undefined;
831
+ version?: string | undefined;
832
+ metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
833
833
  startedAt?: Date | undefined;
834
834
  idempotencyKey?: string | undefined;
835
+ isTest?: boolean | undefined;
835
836
  maxAttempts?: number | undefined;
836
837
  durationMs?: number | undefined;
837
838
  costInCents?: number | undefined;
838
839
  baseCostInCents?: number | undefined;
839
- version?: string | undefined;
840
840
  maxDuration?: number | undefined;
841
841
  }>;
842
842
  queue: z.ZodObject<{
@@ -904,14 +904,14 @@ export declare const ProdTaskRunExecutionPayload: z.ZodObject<{
904
904
  memory: z.ZodNumber;
905
905
  centsPerMs: z.ZodNumber;
906
906
  }, "strip", z.ZodTypeAny, {
907
+ name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
907
908
  cpu: number;
908
909
  memory: number;
909
- name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
910
910
  centsPerMs: number;
911
911
  }, {
912
+ name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
912
913
  cpu: number;
913
914
  memory: number;
914
- name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
915
915
  centsPerMs: number;
916
916
  }>>;
917
917
  }, {
@@ -920,12 +920,12 @@ export declare const ProdTaskRunExecutionPayload: z.ZodObject<{
920
920
  contentHash: z.ZodString;
921
921
  version: z.ZodString;
922
922
  }, "strip", z.ZodTypeAny, {
923
- id: string;
924
923
  version: string;
924
+ id: string;
925
925
  contentHash: string;
926
926
  }, {
927
- id: string;
928
927
  version: string;
928
+ id: string;
929
929
  contentHash: string;
930
930
  }>;
931
931
  machine: z.ZodDefault<z.ZodObject<{
@@ -934,52 +934,35 @@ export declare const ProdTaskRunExecutionPayload: z.ZodObject<{
934
934
  memory: z.ZodNumber;
935
935
  centsPerMs: z.ZodNumber;
936
936
  }, "strip", z.ZodTypeAny, {
937
+ name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
937
938
  cpu: number;
938
939
  memory: number;
939
- name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
940
940
  centsPerMs: number;
941
941
  }, {
942
+ name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
942
943
  cpu: number;
943
944
  memory: number;
944
- name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
945
945
  centsPerMs: number;
946
946
  }>>;
947
947
  }>, "strip", z.ZodTypeAny, {
948
- task: {
949
- id: string;
950
- filePath: string;
951
- exportName: string;
952
- };
953
- attempt: {
954
- number: number;
955
- status: string;
956
- id: string;
957
- startedAt: Date;
958
- backgroundWorkerId: string;
959
- backgroundWorkerTaskId: string;
960
- };
961
948
  run: {
962
- id: string;
963
949
  payload: string;
950
+ id: string;
951
+ startedAt: Date;
964
952
  payloadType: string;
965
- tags: string[];
966
953
  isTest: boolean;
967
954
  createdAt: Date;
968
- startedAt: Date;
955
+ tags: string[];
969
956
  durationMs: number;
970
957
  costInCents: number;
971
958
  baseCostInCents: number;
972
- metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
973
959
  context?: any;
960
+ version?: string | undefined;
961
+ metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
974
962
  idempotencyKey?: string | undefined;
975
963
  maxAttempts?: number | undefined;
976
- version?: string | undefined;
977
964
  maxDuration?: number | undefined;
978
965
  };
979
- queue: {
980
- name: string;
981
- id: string;
982
- };
983
966
  environment: {
984
967
  type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
985
968
  id: string;
@@ -996,21 +979,6 @@ export declare const ProdTaskRunExecutionPayload: z.ZodObject<{
996
979
  slug: string;
997
980
  ref: string;
998
981
  };
999
- machine: {
1000
- cpu: number;
1001
- memory: number;
1002
- name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
1003
- centsPerMs: number;
1004
- };
1005
- worker: {
1006
- id: string;
1007
- version: string;
1008
- contentHash: string;
1009
- };
1010
- batch?: {
1011
- id: string;
1012
- } | undefined;
1013
- }, {
1014
982
  task: {
1015
983
  id: string;
1016
984
  filePath: string;
@@ -1024,28 +992,43 @@ export declare const ProdTaskRunExecutionPayload: z.ZodObject<{
1024
992
  backgroundWorkerId: string;
1025
993
  backgroundWorkerTaskId: string;
1026
994
  };
1027
- run: {
995
+ queue: {
996
+ name: string;
997
+ id: string;
998
+ };
999
+ machine: {
1000
+ name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
1001
+ cpu: number;
1002
+ memory: number;
1003
+ centsPerMs: number;
1004
+ };
1005
+ worker: {
1006
+ version: string;
1007
+ id: string;
1008
+ contentHash: string;
1009
+ };
1010
+ batch?: {
1028
1011
  id: string;
1012
+ } | undefined;
1013
+ }, {
1014
+ run: {
1029
1015
  payload: string;
1016
+ id: string;
1030
1017
  payloadType: string;
1031
- tags: string[];
1032
1018
  createdAt: Date;
1033
- metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
1019
+ tags: string[];
1034
1020
  context?: any;
1035
- isTest?: boolean | undefined;
1021
+ version?: string | undefined;
1022
+ metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
1036
1023
  startedAt?: Date | undefined;
1037
1024
  idempotencyKey?: string | undefined;
1025
+ isTest?: boolean | undefined;
1038
1026
  maxAttempts?: number | undefined;
1039
1027
  durationMs?: number | undefined;
1040
1028
  costInCents?: number | undefined;
1041
1029
  baseCostInCents?: number | undefined;
1042
- version?: string | undefined;
1043
1030
  maxDuration?: number | undefined;
1044
1031
  };
1045
- queue: {
1046
- name: string;
1047
- id: string;
1048
- };
1049
1032
  environment: {
1050
1033
  type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
1051
1034
  id: string;
@@ -1062,18 +1045,35 @@ export declare const ProdTaskRunExecutionPayload: z.ZodObject<{
1062
1045
  slug: string;
1063
1046
  ref: string;
1064
1047
  };
1065
- worker: {
1048
+ task: {
1049
+ id: string;
1050
+ filePath: string;
1051
+ exportName: string;
1052
+ };
1053
+ attempt: {
1054
+ number: number;
1055
+ status: string;
1056
+ id: string;
1057
+ startedAt: Date;
1058
+ backgroundWorkerId: string;
1059
+ backgroundWorkerTaskId: string;
1060
+ };
1061
+ queue: {
1062
+ name: string;
1066
1063
  id: string;
1064
+ };
1065
+ worker: {
1067
1066
  version: string;
1067
+ id: string;
1068
1068
  contentHash: string;
1069
1069
  };
1070
1070
  batch?: {
1071
1071
  id: string;
1072
1072
  } | undefined;
1073
1073
  machine?: {
1074
+ name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
1074
1075
  cpu: number;
1075
1076
  memory: number;
1076
- name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
1077
1077
  centsPerMs: number;
1078
1078
  } | undefined;
1079
1079
  }>;
@@ -1081,41 +1081,24 @@ export declare const ProdTaskRunExecutionPayload: z.ZodObject<{
1081
1081
  environment: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1082
1082
  }, "strip", z.ZodTypeAny, {
1083
1083
  execution: {
1084
- task: {
1085
- id: string;
1086
- filePath: string;
1087
- exportName: string;
1088
- };
1089
- attempt: {
1090
- number: number;
1091
- status: string;
1092
- id: string;
1093
- startedAt: Date;
1094
- backgroundWorkerId: string;
1095
- backgroundWorkerTaskId: string;
1096
- };
1097
1084
  run: {
1098
- id: string;
1099
1085
  payload: string;
1086
+ id: string;
1087
+ startedAt: Date;
1100
1088
  payloadType: string;
1101
- tags: string[];
1102
1089
  isTest: boolean;
1103
1090
  createdAt: Date;
1104
- startedAt: Date;
1091
+ tags: string[];
1105
1092
  durationMs: number;
1106
1093
  costInCents: number;
1107
1094
  baseCostInCents: number;
1108
- metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
1109
1095
  context?: any;
1096
+ version?: string | undefined;
1097
+ metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
1110
1098
  idempotencyKey?: string | undefined;
1111
1099
  maxAttempts?: number | undefined;
1112
- version?: string | undefined;
1113
1100
  maxDuration?: number | undefined;
1114
1101
  };
1115
- queue: {
1116
- name: string;
1117
- id: string;
1118
- };
1119
1102
  environment: {
1120
1103
  type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
1121
1104
  id: string;
@@ -1132,15 +1115,32 @@ export declare const ProdTaskRunExecutionPayload: z.ZodObject<{
1132
1115
  slug: string;
1133
1116
  ref: string;
1134
1117
  };
1118
+ task: {
1119
+ id: string;
1120
+ filePath: string;
1121
+ exportName: string;
1122
+ };
1123
+ attempt: {
1124
+ number: number;
1125
+ status: string;
1126
+ id: string;
1127
+ startedAt: Date;
1128
+ backgroundWorkerId: string;
1129
+ backgroundWorkerTaskId: string;
1130
+ };
1131
+ queue: {
1132
+ name: string;
1133
+ id: string;
1134
+ };
1135
1135
  machine: {
1136
+ name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
1136
1137
  cpu: number;
1137
1138
  memory: number;
1138
- name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
1139
1139
  centsPerMs: number;
1140
1140
  };
1141
1141
  worker: {
1142
- id: string;
1143
1142
  version: string;
1143
+ id: string;
1144
1144
  contentHash: string;
1145
1145
  };
1146
1146
  batch?: {
@@ -1151,41 +1151,24 @@ export declare const ProdTaskRunExecutionPayload: z.ZodObject<{
1151
1151
  environment?: Record<string, string> | undefined;
1152
1152
  }, {
1153
1153
  execution: {
1154
- task: {
1155
- id: string;
1156
- filePath: string;
1157
- exportName: string;
1158
- };
1159
- attempt: {
1160
- number: number;
1161
- status: string;
1162
- id: string;
1163
- startedAt: Date;
1164
- backgroundWorkerId: string;
1165
- backgroundWorkerTaskId: string;
1166
- };
1167
1154
  run: {
1168
- id: string;
1169
1155
  payload: string;
1156
+ id: string;
1170
1157
  payloadType: string;
1171
- tags: string[];
1172
1158
  createdAt: Date;
1173
- metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
1159
+ tags: string[];
1174
1160
  context?: any;
1175
- isTest?: boolean | undefined;
1161
+ version?: string | undefined;
1162
+ metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
1176
1163
  startedAt?: Date | undefined;
1177
1164
  idempotencyKey?: string | undefined;
1165
+ isTest?: boolean | undefined;
1178
1166
  maxAttempts?: number | undefined;
1179
1167
  durationMs?: number | undefined;
1180
1168
  costInCents?: number | undefined;
1181
1169
  baseCostInCents?: number | undefined;
1182
- version?: string | undefined;
1183
1170
  maxDuration?: number | undefined;
1184
1171
  };
1185
- queue: {
1186
- name: string;
1187
- id: string;
1188
- };
1189
1172
  environment: {
1190
1173
  type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
1191
1174
  id: string;
@@ -1202,18 +1185,35 @@ export declare const ProdTaskRunExecutionPayload: z.ZodObject<{
1202
1185
  slug: string;
1203
1186
  ref: string;
1204
1187
  };
1205
- worker: {
1188
+ task: {
1189
+ id: string;
1190
+ filePath: string;
1191
+ exportName: string;
1192
+ };
1193
+ attempt: {
1194
+ number: number;
1195
+ status: string;
1196
+ id: string;
1197
+ startedAt: Date;
1198
+ backgroundWorkerId: string;
1199
+ backgroundWorkerTaskId: string;
1200
+ };
1201
+ queue: {
1202
+ name: string;
1206
1203
  id: string;
1204
+ };
1205
+ worker: {
1207
1206
  version: string;
1207
+ id: string;
1208
1208
  contentHash: string;
1209
1209
  };
1210
1210
  batch?: {
1211
1211
  id: string;
1212
1212
  } | undefined;
1213
1213
  machine?: {
1214
+ name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
1214
1215
  cpu: number;
1215
1216
  memory: number;
1216
- name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
1217
1217
  centsPerMs: number;
1218
1218
  } | undefined;
1219
1219
  };
@@ -1411,17 +1411,17 @@ export declare const RetryOptions: z.ZodObject<{
1411
1411
  */
1412
1412
  randomize: z.ZodOptional<z.ZodBoolean>;
1413
1413
  }, "strip", z.ZodTypeAny, {
1414
- maxAttempts?: number | undefined;
1415
1414
  factor?: number | undefined;
1416
1415
  minTimeoutInMs?: number | undefined;
1417
1416
  maxTimeoutInMs?: number | undefined;
1418
1417
  randomize?: boolean | undefined;
1419
- }, {
1420
1418
  maxAttempts?: number | undefined;
1419
+ }, {
1421
1420
  factor?: number | undefined;
1422
1421
  minTimeoutInMs?: number | undefined;
1423
1422
  maxTimeoutInMs?: number | undefined;
1424
1423
  randomize?: boolean | undefined;
1424
+ maxAttempts?: number | undefined;
1425
1425
  }>;
1426
1426
  export type RetryOptions = z.infer<typeof RetryOptions>;
1427
1427
  export declare const QueueOptions: z.ZodObject<{
@@ -1544,29 +1544,29 @@ export declare const TaskMetadata: z.ZodObject<{
1544
1544
  */
1545
1545
  randomize: z.ZodOptional<z.ZodBoolean>;
1546
1546
  }, "strip", z.ZodTypeAny, {
1547
- maxAttempts?: number | undefined;
1548
1547
  factor?: number | undefined;
1549
1548
  minTimeoutInMs?: number | undefined;
1550
1549
  maxTimeoutInMs?: number | undefined;
1551
1550
  randomize?: boolean | undefined;
1552
- }, {
1553
1551
  maxAttempts?: number | undefined;
1552
+ }, {
1554
1553
  factor?: number | undefined;
1555
1554
  minTimeoutInMs?: number | undefined;
1556
1555
  maxTimeoutInMs?: number | undefined;
1557
1556
  randomize?: boolean | undefined;
1557
+ maxAttempts?: number | undefined;
1558
1558
  }>>;
1559
1559
  machine: z.ZodOptional<z.ZodObject<{
1560
1560
  cpu: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<0.25>, z.ZodLiteral<0.5>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<4>]>>;
1561
1561
  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>]>>;
1562
1562
  preset: z.ZodOptional<z.ZodEnum<["micro", "small-1x", "small-2x", "medium-1x", "medium-2x", "large-1x", "large-2x"]>>;
1563
1563
  }, "strip", z.ZodTypeAny, {
1564
- cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
1565
- memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
1564
+ cpu?: 1 | 2 | 4 | 0.25 | 0.5 | undefined;
1565
+ memory?: 8 | 1 | 2 | 4 | 0.25 | 0.5 | undefined;
1566
1566
  preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
1567
1567
  }, {
1568
- cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
1569
- memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
1568
+ cpu?: 1 | 2 | 4 | 0.25 | 0.5 | undefined;
1569
+ memory?: 8 | 1 | 2 | 4 | 0.25 | 0.5 | undefined;
1570
1570
  preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
1571
1571
  }>>;
1572
1572
  triggerSource: z.ZodOptional<z.ZodString>;
@@ -1583,65 +1583,65 @@ export declare const TaskMetadata: z.ZodObject<{
1583
1583
  maxDuration: z.ZodOptional<z.ZodNumber>;
1584
1584
  }, "strip", z.ZodTypeAny, {
1585
1585
  id: string;
1586
+ description?: string | undefined;
1587
+ schedule?: {
1588
+ cron: string;
1589
+ timezone: string;
1590
+ } | undefined;
1591
+ retry?: {
1592
+ factor?: number | undefined;
1593
+ minTimeoutInMs?: number | undefined;
1594
+ maxTimeoutInMs?: number | undefined;
1595
+ randomize?: boolean | undefined;
1596
+ maxAttempts?: number | undefined;
1597
+ } | undefined;
1586
1598
  maxDuration?: number | undefined;
1587
1599
  queue?: {
1588
1600
  name?: string | undefined;
1589
1601
  concurrencyLimit?: number | undefined;
1590
1602
  } | undefined;
1591
1603
  machine?: {
1592
- cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
1593
- memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
1604
+ cpu?: 1 | 2 | 4 | 0.25 | 0.5 | undefined;
1605
+ memory?: 8 | 1 | 2 | 4 | 0.25 | 0.5 | undefined;
1594
1606
  preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
1595
1607
  } | undefined;
1608
+ triggerSource?: string | undefined;
1609
+ }, {
1610
+ id: string;
1611
+ description?: string | undefined;
1612
+ schedule?: {
1613
+ cron: string;
1614
+ timezone: string;
1615
+ } | undefined;
1596
1616
  retry?: {
1597
- maxAttempts?: number | undefined;
1598
1617
  factor?: number | undefined;
1599
1618
  minTimeoutInMs?: number | undefined;
1600
1619
  maxTimeoutInMs?: number | undefined;
1601
1620
  randomize?: boolean | undefined;
1621
+ maxAttempts?: number | undefined;
1602
1622
  } | undefined;
1603
- description?: string | undefined;
1604
- triggerSource?: string | undefined;
1605
- schedule?: {
1606
- cron: string;
1607
- timezone: string;
1608
- } | undefined;
1609
- }, {
1610
- id: string;
1611
1623
  maxDuration?: number | undefined;
1612
1624
  queue?: {
1613
1625
  name?: string | undefined;
1614
1626
  concurrencyLimit?: number | undefined;
1615
1627
  } | undefined;
1616
1628
  machine?: {
1617
- cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
1618
- memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
1629
+ cpu?: 1 | 2 | 4 | 0.25 | 0.5 | undefined;
1630
+ memory?: 8 | 1 | 2 | 4 | 0.25 | 0.5 | undefined;
1619
1631
  preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
1620
1632
  } | undefined;
1621
- retry?: {
1622
- maxAttempts?: number | undefined;
1623
- factor?: number | undefined;
1624
- minTimeoutInMs?: number | undefined;
1625
- maxTimeoutInMs?: number | undefined;
1626
- randomize?: boolean | undefined;
1627
- } | undefined;
1628
- description?: string | undefined;
1629
1633
  triggerSource?: string | undefined;
1630
- schedule?: {
1631
- cron: string;
1632
- timezone: string;
1633
- } | undefined;
1634
1634
  }>;
1635
1635
  export type TaskMetadata = z.infer<typeof TaskMetadata>;
1636
1636
  export declare const TaskFile: z.ZodObject<{
1637
1637
  entry: z.ZodString;
1638
1638
  out: z.ZodString;
1639
1639
  }, "strip", z.ZodTypeAny, {
1640
- entry: string;
1641
1640
  out: string;
1642
- }, {
1643
1641
  entry: string;
1642
+ }, {
1644
1643
  out: string;
1644
+ entry: string;
1645
1645
  }>;
1646
1646
  export type TaskFile = z.infer<typeof TaskFile>;
1647
1647
  export declare const TaskFileMetadata: z.ZodObject<{
@@ -1726,29 +1726,29 @@ export declare const TaskManifest: z.ZodObject<{
1726
1726
  */
1727
1727
  randomize: z.ZodOptional<z.ZodBoolean>;
1728
1728
  }, "strip", z.ZodTypeAny, {
1729
- maxAttempts?: number | undefined;
1730
1729
  factor?: number | undefined;
1731
1730
  minTimeoutInMs?: number | undefined;
1732
1731
  maxTimeoutInMs?: number | undefined;
1733
1732
  randomize?: boolean | undefined;
1734
- }, {
1735
1733
  maxAttempts?: number | undefined;
1734
+ }, {
1736
1735
  factor?: number | undefined;
1737
1736
  minTimeoutInMs?: number | undefined;
1738
1737
  maxTimeoutInMs?: number | undefined;
1739
1738
  randomize?: boolean | undefined;
1739
+ maxAttempts?: number | undefined;
1740
1740
  }>>;
1741
1741
  machine: z.ZodOptional<z.ZodObject<{
1742
1742
  cpu: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<0.25>, z.ZodLiteral<0.5>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<4>]>>;
1743
1743
  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>]>>;
1744
1744
  preset: z.ZodOptional<z.ZodEnum<["micro", "small-1x", "small-2x", "medium-1x", "medium-2x", "large-1x", "large-2x"]>>;
1745
1745
  }, "strip", z.ZodTypeAny, {
1746
- cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
1747
- memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
1746
+ cpu?: 1 | 2 | 4 | 0.25 | 0.5 | undefined;
1747
+ memory?: 8 | 1 | 2 | 4 | 0.25 | 0.5 | undefined;
1748
1748
  preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
1749
1749
  }, {
1750
- cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
1751
- memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
1750
+ cpu?: 1 | 2 | 4 | 0.25 | 0.5 | undefined;
1751
+ memory?: 8 | 1 | 2 | 4 | 0.25 | 0.5 | undefined;
1752
1752
  preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
1753
1753
  }>>;
1754
1754
  triggerSource: z.ZodOptional<z.ZodString>;
@@ -1768,57 +1768,57 @@ export declare const TaskManifest: z.ZodObject<{
1768
1768
  filePath: string;
1769
1769
  exportName: string;
1770
1770
  entryPoint: string;
1771
+ description?: string | undefined;
1772
+ schedule?: {
1773
+ cron: string;
1774
+ timezone: string;
1775
+ } | undefined;
1776
+ retry?: {
1777
+ factor?: number | undefined;
1778
+ minTimeoutInMs?: number | undefined;
1779
+ maxTimeoutInMs?: number | undefined;
1780
+ randomize?: boolean | undefined;
1781
+ maxAttempts?: number | undefined;
1782
+ } | undefined;
1771
1783
  maxDuration?: number | undefined;
1772
1784
  queue?: {
1773
1785
  name?: string | undefined;
1774
1786
  concurrencyLimit?: number | undefined;
1775
1787
  } | undefined;
1776
1788
  machine?: {
1777
- cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
1778
- memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
1789
+ cpu?: 1 | 2 | 4 | 0.25 | 0.5 | undefined;
1790
+ memory?: 8 | 1 | 2 | 4 | 0.25 | 0.5 | undefined;
1779
1791
  preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
1780
1792
  } | undefined;
1781
- retry?: {
1782
- maxAttempts?: number | undefined;
1783
- factor?: number | undefined;
1784
- minTimeoutInMs?: number | undefined;
1785
- maxTimeoutInMs?: number | undefined;
1786
- randomize?: boolean | undefined;
1787
- } | undefined;
1788
- description?: string | undefined;
1789
1793
  triggerSource?: string | undefined;
1790
- schedule?: {
1791
- cron: string;
1792
- timezone: string;
1793
- } | undefined;
1794
1794
  }, {
1795
1795
  id: string;
1796
1796
  filePath: string;
1797
1797
  exportName: string;
1798
1798
  entryPoint: string;
1799
+ description?: string | undefined;
1800
+ schedule?: {
1801
+ cron: string;
1802
+ timezone: string;
1803
+ } | undefined;
1804
+ retry?: {
1805
+ factor?: number | undefined;
1806
+ minTimeoutInMs?: number | undefined;
1807
+ maxTimeoutInMs?: number | undefined;
1808
+ randomize?: boolean | undefined;
1809
+ maxAttempts?: number | undefined;
1810
+ } | undefined;
1799
1811
  maxDuration?: number | undefined;
1800
1812
  queue?: {
1801
1813
  name?: string | undefined;
1802
1814
  concurrencyLimit?: number | undefined;
1803
1815
  } | undefined;
1804
1816
  machine?: {
1805
- cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
1806
- memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
1817
+ cpu?: 1 | 2 | 4 | 0.25 | 0.5 | undefined;
1818
+ memory?: 8 | 1 | 2 | 4 | 0.25 | 0.5 | undefined;
1807
1819
  preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
1808
1820
  } | undefined;
1809
- retry?: {
1810
- maxAttempts?: number | undefined;
1811
- factor?: number | undefined;
1812
- minTimeoutInMs?: number | undefined;
1813
- maxTimeoutInMs?: number | undefined;
1814
- randomize?: boolean | undefined;
1815
- } | undefined;
1816
- description?: string | undefined;
1817
1821
  triggerSource?: string | undefined;
1818
- schedule?: {
1819
- cron: string;
1820
- timezone: string;
1821
- } | undefined;
1822
1822
  }>;
1823
1823
  export type TaskManifest = z.infer<typeof TaskManifest>;
1824
1824
  export declare const PostStartCauses: z.ZodEnum<["index", "create", "restore"]>;
@@ -1851,36 +1851,36 @@ export declare const Config: z.ZodObject<{
1851
1851
  */
1852
1852
  randomize: z.ZodOptional<z.ZodBoolean>;
1853
1853
  }, "strip", z.ZodTypeAny, {
1854
- maxAttempts?: number | undefined;
1855
1854
  factor?: number | undefined;
1856
1855
  minTimeoutInMs?: number | undefined;
1857
1856
  maxTimeoutInMs?: number | undefined;
1858
1857
  randomize?: boolean | undefined;
1859
- }, {
1860
1858
  maxAttempts?: number | undefined;
1859
+ }, {
1861
1860
  factor?: number | undefined;
1862
1861
  minTimeoutInMs?: number | undefined;
1863
1862
  maxTimeoutInMs?: number | undefined;
1864
1863
  randomize?: boolean | undefined;
1864
+ maxAttempts?: number | undefined;
1865
1865
  }>>;
1866
1866
  }, "strip", z.ZodTypeAny, {
1867
1867
  enabledInDev: boolean;
1868
1868
  default?: {
1869
- maxAttempts?: number | undefined;
1870
1869
  factor?: number | undefined;
1871
1870
  minTimeoutInMs?: number | undefined;
1872
1871
  maxTimeoutInMs?: number | undefined;
1873
1872
  randomize?: boolean | undefined;
1873
+ maxAttempts?: number | undefined;
1874
1874
  } | undefined;
1875
1875
  }, {
1876
- enabledInDev?: boolean | undefined;
1877
1876
  default?: {
1878
- maxAttempts?: number | undefined;
1879
1877
  factor?: number | undefined;
1880
1878
  minTimeoutInMs?: number | undefined;
1881
1879
  maxTimeoutInMs?: number | undefined;
1882
1880
  randomize?: boolean | undefined;
1881
+ maxAttempts?: number | undefined;
1883
1882
  } | undefined;
1883
+ enabledInDev?: boolean | undefined;
1884
1884
  }>>;
1885
1885
  additionalPackages: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1886
1886
  additionalFiles: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
@@ -1898,11 +1898,11 @@ export declare const Config: z.ZodObject<{
1898
1898
  retries?: {
1899
1899
  enabledInDev: boolean;
1900
1900
  default?: {
1901
- maxAttempts?: number | undefined;
1902
1901
  factor?: number | undefined;
1903
1902
  minTimeoutInMs?: number | undefined;
1904
1903
  maxTimeoutInMs?: number | undefined;
1905
1904
  randomize?: boolean | undefined;
1905
+ maxAttempts?: number | undefined;
1906
1906
  } | undefined;
1907
1907
  } | undefined;
1908
1908
  additionalPackages?: string[] | undefined;
@@ -1919,14 +1919,14 @@ export declare const Config: z.ZodObject<{
1919
1919
  projectDir?: string | undefined;
1920
1920
  tsconfigPath?: string | undefined;
1921
1921
  retries?: {
1922
- enabledInDev?: boolean | undefined;
1923
1922
  default?: {
1924
- maxAttempts?: number | undefined;
1925
1923
  factor?: number | undefined;
1926
1924
  minTimeoutInMs?: number | undefined;
1927
1925
  maxTimeoutInMs?: number | undefined;
1928
1926
  randomize?: boolean | undefined;
1927
+ maxAttempts?: number | undefined;
1929
1928
  } | undefined;
1929
+ enabledInDev?: boolean | undefined;
1930
1930
  } | undefined;
1931
1931
  additionalPackages?: string[] | undefined;
1932
1932
  additionalFiles?: string[] | undefined;