@trigger.dev/core 0.0.0-prerelease-20241202134753 → 0.0.0-prerelease-20241202154035

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.
@@ -26,15 +26,15 @@ export declare const TaskRunExecutionPayload: z.ZodObject<{
26
26
  status: z.ZodString;
27
27
  }, "strip", z.ZodTypeAny, {
28
28
  number: number;
29
- id: string;
30
29
  status: string;
30
+ id: string;
31
31
  startedAt: Date;
32
32
  backgroundWorkerId: string;
33
33
  backgroundWorkerTaskId: string;
34
34
  }, {
35
35
  number: number;
36
- id: string;
37
36
  status: string;
37
+ id: string;
38
38
  startedAt: Date;
39
39
  backgroundWorkerId: string;
40
40
  backgroundWorkerTaskId: string;
@@ -57,61 +57,61 @@ 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;
62
- payloadType: string;
63
61
  tags: string[];
64
- isTest: boolean;
62
+ id: string;
65
63
  createdAt: Date;
66
64
  startedAt: Date;
65
+ isTest: boolean;
67
66
  costInCents: number;
68
67
  baseCostInCents: number;
68
+ payloadType: string;
69
69
  durationMs: number;
70
- context?: any;
71
70
  idempotencyKey?: string | undefined;
72
71
  maxAttempts?: number | undefined;
73
72
  metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
74
73
  maxDuration?: number | undefined;
74
+ context?: any;
75
75
  version?: string | undefined;
76
76
  }, {
77
- id: string;
78
77
  payload: string;
79
- payloadType: string;
80
78
  tags: string[];
79
+ id: string;
81
80
  createdAt: Date;
82
- context?: any;
81
+ payloadType: string;
83
82
  idempotencyKey?: string | undefined;
84
83
  maxAttempts?: number | undefined;
85
84
  metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
86
85
  maxDuration?: number | undefined;
87
- version?: string | undefined;
88
- isTest?: boolean | undefined;
89
86
  startedAt?: Date | undefined;
87
+ isTest?: boolean | undefined;
90
88
  costInCents?: number | undefined;
91
89
  baseCostInCents?: number | undefined;
90
+ context?: any;
92
91
  durationMs?: number | undefined;
92
+ version?: string | undefined;
93
93
  }>;
94
94
  queue: z.ZodObject<{
95
95
  id: z.ZodString;
96
96
  name: z.ZodString;
97
97
  }, "strip", z.ZodTypeAny, {
98
- id: string;
99
98
  name: string;
100
- }, {
101
99
  id: string;
100
+ }, {
102
101
  name: string;
102
+ id: string;
103
103
  }>;
104
104
  environment: z.ZodObject<{
105
105
  id: z.ZodString;
106
106
  slug: z.ZodString;
107
107
  type: z.ZodEnum<["PRODUCTION", "STAGING", "DEVELOPMENT", "PREVIEW"]>;
108
108
  }, "strip", z.ZodTypeAny, {
109
- id: string;
110
109
  type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
110
+ id: string;
111
111
  slug: string;
112
112
  }, {
113
- id: string;
114
113
  type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
114
+ id: string;
115
115
  slug: string;
116
116
  }>;
117
117
  organization: z.ZodObject<{
@@ -119,12 +119,12 @@ export declare const TaskRunExecutionPayload: z.ZodObject<{
119
119
  slug: z.ZodString;
120
120
  name: z.ZodString;
121
121
  }, "strip", z.ZodTypeAny, {
122
- id: string;
123
122
  name: string;
123
+ id: string;
124
124
  slug: string;
125
125
  }, {
126
- id: string;
127
126
  name: string;
127
+ id: string;
128
128
  slug: string;
129
129
  }>;
130
130
  project: z.ZodObject<{
@@ -133,13 +133,13 @@ export declare const TaskRunExecutionPayload: z.ZodObject<{
133
133
  slug: z.ZodString;
134
134
  name: z.ZodString;
135
135
  }, "strip", z.ZodTypeAny, {
136
- id: string;
137
136
  name: string;
137
+ id: string;
138
138
  slug: string;
139
139
  ref: string;
140
140
  }, {
141
- id: string;
142
141
  name: string;
142
+ id: string;
143
143
  slug: string;
144
144
  ref: string;
145
145
  }>;
@@ -168,53 +168,53 @@ export declare const TaskRunExecutionPayload: z.ZodObject<{
168
168
  }>>;
169
169
  }, "strip", z.ZodTypeAny, {
170
170
  queue: {
171
- id: string;
172
171
  name: string;
173
- };
174
- task: {
175
- id: string;
176
- filePath: string;
177
- exportName: string;
178
- };
179
- attempt: {
180
- number: number;
181
172
  id: string;
182
- status: string;
183
- startedAt: Date;
184
- backgroundWorkerId: string;
185
- backgroundWorkerTaskId: string;
186
173
  };
187
174
  run: {
188
- id: string;
189
175
  payload: string;
190
- payloadType: string;
191
176
  tags: string[];
192
- isTest: boolean;
177
+ id: string;
193
178
  createdAt: Date;
194
179
  startedAt: Date;
180
+ isTest: boolean;
195
181
  costInCents: number;
196
182
  baseCostInCents: number;
183
+ payloadType: string;
197
184
  durationMs: number;
198
- context?: any;
199
185
  idempotencyKey?: string | undefined;
200
186
  maxAttempts?: number | undefined;
201
187
  metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
202
188
  maxDuration?: number | undefined;
189
+ context?: any;
203
190
  version?: string | undefined;
204
191
  };
205
- environment: {
192
+ task: {
193
+ id: string;
194
+ filePath: string;
195
+ exportName: string;
196
+ };
197
+ attempt: {
198
+ number: number;
199
+ status: string;
206
200
  id: string;
201
+ startedAt: Date;
202
+ backgroundWorkerId: string;
203
+ backgroundWorkerTaskId: string;
204
+ };
205
+ environment: {
207
206
  type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
207
+ id: string;
208
208
  slug: string;
209
209
  };
210
210
  organization: {
211
- id: string;
212
211
  name: string;
212
+ id: string;
213
213
  slug: string;
214
214
  };
215
215
  project: {
216
- id: string;
217
216
  name: string;
217
+ id: string;
218
218
  slug: string;
219
219
  ref: string;
220
220
  };
@@ -229,53 +229,53 @@ export declare const TaskRunExecutionPayload: z.ZodObject<{
229
229
  } | undefined;
230
230
  }, {
231
231
  queue: {
232
- id: string;
233
232
  name: string;
234
- };
235
- task: {
236
233
  id: string;
237
- filePath: string;
238
- exportName: string;
239
- };
240
- attempt: {
241
- number: number;
242
- id: string;
243
- status: string;
244
- startedAt: Date;
245
- backgroundWorkerId: string;
246
- backgroundWorkerTaskId: string;
247
234
  };
248
235
  run: {
249
- id: string;
250
236
  payload: string;
251
- payloadType: string;
252
237
  tags: string[];
238
+ id: string;
253
239
  createdAt: Date;
254
- context?: any;
240
+ payloadType: string;
255
241
  idempotencyKey?: string | undefined;
256
242
  maxAttempts?: number | undefined;
257
243
  metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
258
244
  maxDuration?: number | undefined;
259
- version?: string | undefined;
260
- isTest?: boolean | undefined;
261
245
  startedAt?: Date | undefined;
246
+ isTest?: boolean | undefined;
262
247
  costInCents?: number | undefined;
263
248
  baseCostInCents?: number | undefined;
249
+ context?: any;
264
250
  durationMs?: number | undefined;
251
+ version?: string | undefined;
265
252
  };
266
- environment: {
253
+ task: {
267
254
  id: string;
255
+ filePath: string;
256
+ exportName: string;
257
+ };
258
+ attempt: {
259
+ number: number;
260
+ status: string;
261
+ id: string;
262
+ startedAt: Date;
263
+ backgroundWorkerId: string;
264
+ backgroundWorkerTaskId: string;
265
+ };
266
+ environment: {
268
267
  type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
268
+ id: string;
269
269
  slug: string;
270
270
  };
271
271
  organization: {
272
- id: string;
273
272
  name: string;
273
+ id: string;
274
274
  slug: string;
275
275
  };
276
276
  project: {
277
- id: string;
278
277
  name: string;
278
+ id: string;
279
279
  slug: string;
280
280
  ref: string;
281
281
  };
@@ -294,53 +294,53 @@ export declare const TaskRunExecutionPayload: z.ZodObject<{
294
294
  }, "strip", z.ZodTypeAny, {
295
295
  execution: {
296
296
  queue: {
297
- id: string;
298
297
  name: string;
299
- };
300
- task: {
301
- id: string;
302
- filePath: string;
303
- exportName: string;
304
- };
305
- attempt: {
306
- number: number;
307
298
  id: string;
308
- status: string;
309
- startedAt: Date;
310
- backgroundWorkerId: string;
311
- backgroundWorkerTaskId: string;
312
299
  };
313
300
  run: {
314
- id: string;
315
301
  payload: string;
316
- payloadType: string;
317
302
  tags: string[];
318
- isTest: boolean;
303
+ id: string;
319
304
  createdAt: Date;
320
305
  startedAt: Date;
306
+ isTest: boolean;
321
307
  costInCents: number;
322
308
  baseCostInCents: number;
309
+ payloadType: string;
323
310
  durationMs: number;
324
- context?: any;
325
311
  idempotencyKey?: string | undefined;
326
312
  maxAttempts?: number | undefined;
327
313
  metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
328
314
  maxDuration?: number | undefined;
315
+ context?: any;
329
316
  version?: string | undefined;
330
317
  };
331
- environment: {
318
+ task: {
332
319
  id: string;
320
+ filePath: string;
321
+ exportName: string;
322
+ };
323
+ attempt: {
324
+ number: number;
325
+ status: string;
326
+ id: string;
327
+ startedAt: Date;
328
+ backgroundWorkerId: string;
329
+ backgroundWorkerTaskId: string;
330
+ };
331
+ environment: {
333
332
  type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
333
+ id: string;
334
334
  slug: string;
335
335
  };
336
336
  organization: {
337
- id: string;
338
337
  name: string;
338
+ id: string;
339
339
  slug: string;
340
340
  };
341
341
  project: {
342
- id: string;
343
342
  name: string;
343
+ id: string;
344
344
  slug: string;
345
345
  ref: string;
346
346
  };
@@ -359,53 +359,53 @@ export declare const TaskRunExecutionPayload: z.ZodObject<{
359
359
  }, {
360
360
  execution: {
361
361
  queue: {
362
- id: string;
363
362
  name: string;
364
- };
365
- task: {
366
- id: string;
367
- filePath: string;
368
- exportName: string;
369
- };
370
- attempt: {
371
- number: number;
372
363
  id: string;
373
- status: string;
374
- startedAt: Date;
375
- backgroundWorkerId: string;
376
- backgroundWorkerTaskId: string;
377
364
  };
378
365
  run: {
379
- id: string;
380
366
  payload: string;
381
- payloadType: string;
382
367
  tags: string[];
368
+ id: string;
383
369
  createdAt: Date;
384
- context?: any;
370
+ payloadType: string;
385
371
  idempotencyKey?: string | undefined;
386
372
  maxAttempts?: number | undefined;
387
373
  metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
388
374
  maxDuration?: number | undefined;
389
- version?: string | undefined;
390
- isTest?: boolean | undefined;
391
375
  startedAt?: Date | undefined;
376
+ isTest?: boolean | undefined;
392
377
  costInCents?: number | undefined;
393
378
  baseCostInCents?: number | undefined;
379
+ context?: any;
394
380
  durationMs?: number | undefined;
381
+ version?: string | undefined;
395
382
  };
396
- environment: {
383
+ task: {
384
+ id: string;
385
+ filePath: string;
386
+ exportName: string;
387
+ };
388
+ attempt: {
389
+ number: number;
390
+ status: string;
397
391
  id: string;
392
+ startedAt: Date;
393
+ backgroundWorkerId: string;
394
+ backgroundWorkerTaskId: string;
395
+ };
396
+ environment: {
398
397
  type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
398
+ id: string;
399
399
  slug: string;
400
400
  };
401
401
  organization: {
402
- id: string;
403
402
  name: string;
403
+ id: string;
404
404
  slug: string;
405
405
  };
406
406
  project: {
407
- id: string;
408
407
  name: string;
408
+ id: string;
409
409
  slug: string;
410
410
  ref: string;
411
411
  };
@@ -446,15 +446,15 @@ export declare const ProdTaskRunExecution: z.ZodObject<z.objectUtil.extendShape<
446
446
  status: z.ZodString;
447
447
  }, "strip", z.ZodTypeAny, {
448
448
  number: number;
449
- id: string;
450
449
  status: string;
450
+ id: string;
451
451
  startedAt: Date;
452
452
  backgroundWorkerId: string;
453
453
  backgroundWorkerTaskId: string;
454
454
  }, {
455
455
  number: number;
456
- id: string;
457
456
  status: string;
457
+ id: string;
458
458
  startedAt: Date;
459
459
  backgroundWorkerId: string;
460
460
  backgroundWorkerTaskId: string;
@@ -477,61 +477,61 @@ 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;
482
- payloadType: string;
483
481
  tags: string[];
484
- isTest: boolean;
482
+ id: string;
485
483
  createdAt: Date;
486
484
  startedAt: Date;
485
+ isTest: boolean;
487
486
  costInCents: number;
488
487
  baseCostInCents: number;
488
+ payloadType: string;
489
489
  durationMs: number;
490
- context?: any;
491
490
  idempotencyKey?: string | undefined;
492
491
  maxAttempts?: number | undefined;
493
492
  metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
494
493
  maxDuration?: number | undefined;
494
+ context?: any;
495
495
  version?: string | undefined;
496
496
  }, {
497
- id: string;
498
497
  payload: string;
499
- payloadType: string;
500
498
  tags: string[];
499
+ id: string;
501
500
  createdAt: Date;
502
- context?: any;
501
+ payloadType: string;
503
502
  idempotencyKey?: string | undefined;
504
503
  maxAttempts?: number | undefined;
505
504
  metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
506
505
  maxDuration?: number | undefined;
507
- version?: string | undefined;
508
- isTest?: boolean | undefined;
509
506
  startedAt?: Date | undefined;
507
+ isTest?: boolean | undefined;
510
508
  costInCents?: number | undefined;
511
509
  baseCostInCents?: number | undefined;
510
+ context?: any;
512
511
  durationMs?: number | undefined;
512
+ version?: string | undefined;
513
513
  }>;
514
514
  queue: z.ZodObject<{
515
515
  id: z.ZodString;
516
516
  name: z.ZodString;
517
517
  }, "strip", z.ZodTypeAny, {
518
- id: string;
519
518
  name: string;
520
- }, {
521
519
  id: string;
520
+ }, {
522
521
  name: string;
522
+ id: string;
523
523
  }>;
524
524
  environment: z.ZodObject<{
525
525
  id: z.ZodString;
526
526
  slug: z.ZodString;
527
527
  type: z.ZodEnum<["PRODUCTION", "STAGING", "DEVELOPMENT", "PREVIEW"]>;
528
528
  }, "strip", z.ZodTypeAny, {
529
- id: string;
530
529
  type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
530
+ id: string;
531
531
  slug: string;
532
532
  }, {
533
- id: string;
534
533
  type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
534
+ id: string;
535
535
  slug: string;
536
536
  }>;
537
537
  organization: z.ZodObject<{
@@ -539,12 +539,12 @@ export declare const ProdTaskRunExecution: z.ZodObject<z.objectUtil.extendShape<
539
539
  slug: z.ZodString;
540
540
  name: z.ZodString;
541
541
  }, "strip", z.ZodTypeAny, {
542
- id: string;
543
542
  name: string;
543
+ id: string;
544
544
  slug: string;
545
545
  }, {
546
- id: string;
547
546
  name: string;
547
+ id: string;
548
548
  slug: string;
549
549
  }>;
550
550
  project: z.ZodObject<{
@@ -553,13 +553,13 @@ export declare const ProdTaskRunExecution: z.ZodObject<z.objectUtil.extendShape<
553
553
  slug: z.ZodString;
554
554
  name: z.ZodString;
555
555
  }, "strip", z.ZodTypeAny, {
556
- id: string;
557
556
  name: string;
557
+ id: string;
558
558
  slug: string;
559
559
  ref: string;
560
560
  }, {
561
- id: string;
562
561
  name: string;
562
+ id: string;
563
563
  slug: string;
564
564
  ref: string;
565
565
  }>;
@@ -618,53 +618,53 @@ export declare const ProdTaskRunExecution: z.ZodObject<z.objectUtil.extendShape<
618
618
  }>>;
619
619
  }>, "strip", z.ZodTypeAny, {
620
620
  queue: {
621
- id: string;
622
621
  name: string;
623
- };
624
- task: {
625
622
  id: string;
626
- filePath: string;
627
- exportName: string;
628
- };
629
- attempt: {
630
- number: number;
631
- id: string;
632
- status: string;
633
- startedAt: Date;
634
- backgroundWorkerId: string;
635
- backgroundWorkerTaskId: string;
636
623
  };
637
624
  run: {
638
- id: string;
639
625
  payload: string;
640
- payloadType: string;
641
626
  tags: string[];
642
- isTest: boolean;
627
+ id: string;
643
628
  createdAt: Date;
644
629
  startedAt: Date;
630
+ isTest: boolean;
645
631
  costInCents: number;
646
632
  baseCostInCents: number;
633
+ payloadType: string;
647
634
  durationMs: number;
648
- context?: any;
649
635
  idempotencyKey?: string | undefined;
650
636
  maxAttempts?: number | undefined;
651
637
  metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
652
638
  maxDuration?: number | undefined;
639
+ context?: any;
653
640
  version?: string | undefined;
654
641
  };
655
- environment: {
642
+ task: {
643
+ id: string;
644
+ filePath: string;
645
+ exportName: string;
646
+ };
647
+ attempt: {
648
+ number: number;
649
+ status: string;
656
650
  id: string;
651
+ startedAt: Date;
652
+ backgroundWorkerId: string;
653
+ backgroundWorkerTaskId: string;
654
+ };
655
+ environment: {
657
656
  type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
657
+ id: string;
658
658
  slug: string;
659
659
  };
660
660
  organization: {
661
- id: string;
662
661
  name: string;
662
+ id: string;
663
663
  slug: string;
664
664
  };
665
665
  project: {
666
- id: string;
667
666
  name: string;
667
+ id: string;
668
668
  slug: string;
669
669
  ref: string;
670
670
  };
@@ -684,53 +684,53 @@ export declare const ProdTaskRunExecution: z.ZodObject<z.objectUtil.extendShape<
684
684
  } | undefined;
685
685
  }, {
686
686
  queue: {
687
- id: string;
688
687
  name: string;
689
- };
690
- task: {
691
688
  id: string;
692
- filePath: string;
693
- exportName: string;
694
- };
695
- attempt: {
696
- number: number;
697
- id: string;
698
- status: string;
699
- startedAt: Date;
700
- backgroundWorkerId: string;
701
- backgroundWorkerTaskId: string;
702
689
  };
703
690
  run: {
704
- id: string;
705
691
  payload: string;
706
- payloadType: string;
707
692
  tags: string[];
693
+ id: string;
708
694
  createdAt: Date;
709
- context?: any;
695
+ payloadType: string;
710
696
  idempotencyKey?: string | undefined;
711
697
  maxAttempts?: number | undefined;
712
698
  metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
713
699
  maxDuration?: number | undefined;
714
- version?: string | undefined;
715
- isTest?: boolean | undefined;
716
700
  startedAt?: Date | undefined;
701
+ isTest?: boolean | undefined;
717
702
  costInCents?: number | undefined;
718
703
  baseCostInCents?: number | undefined;
704
+ context?: any;
719
705
  durationMs?: number | undefined;
706
+ version?: string | undefined;
720
707
  };
721
- environment: {
708
+ task: {
722
709
  id: string;
710
+ filePath: string;
711
+ exportName: string;
712
+ };
713
+ attempt: {
714
+ number: number;
715
+ status: string;
716
+ id: string;
717
+ startedAt: Date;
718
+ backgroundWorkerId: string;
719
+ backgroundWorkerTaskId: string;
720
+ };
721
+ environment: {
723
722
  type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
723
+ id: string;
724
724
  slug: string;
725
725
  };
726
726
  organization: {
727
- id: string;
728
727
  name: string;
728
+ id: string;
729
729
  slug: string;
730
730
  };
731
731
  project: {
732
- id: string;
733
732
  name: string;
733
+ id: string;
734
734
  slug: string;
735
735
  ref: string;
736
736
  };
@@ -774,15 +774,15 @@ export declare const ProdTaskRunExecutionPayload: z.ZodObject<{
774
774
  status: z.ZodString;
775
775
  }, "strip", z.ZodTypeAny, {
776
776
  number: number;
777
- id: string;
778
777
  status: string;
778
+ id: string;
779
779
  startedAt: Date;
780
780
  backgroundWorkerId: string;
781
781
  backgroundWorkerTaskId: string;
782
782
  }, {
783
783
  number: number;
784
- id: string;
785
784
  status: string;
785
+ id: string;
786
786
  startedAt: Date;
787
787
  backgroundWorkerId: string;
788
788
  backgroundWorkerTaskId: string;
@@ -805,61 +805,61 @@ 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;
810
- payloadType: string;
811
809
  tags: string[];
812
- isTest: boolean;
810
+ id: string;
813
811
  createdAt: Date;
814
812
  startedAt: Date;
813
+ isTest: boolean;
815
814
  costInCents: number;
816
815
  baseCostInCents: number;
816
+ payloadType: string;
817
817
  durationMs: number;
818
- context?: any;
819
818
  idempotencyKey?: string | undefined;
820
819
  maxAttempts?: number | undefined;
821
820
  metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
822
821
  maxDuration?: number | undefined;
822
+ context?: any;
823
823
  version?: string | undefined;
824
824
  }, {
825
- id: string;
826
825
  payload: string;
827
- payloadType: string;
828
826
  tags: string[];
827
+ id: string;
829
828
  createdAt: Date;
830
- context?: any;
829
+ payloadType: string;
831
830
  idempotencyKey?: string | undefined;
832
831
  maxAttempts?: number | undefined;
833
832
  metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
834
833
  maxDuration?: number | undefined;
835
- version?: string | undefined;
836
- isTest?: boolean | undefined;
837
834
  startedAt?: Date | undefined;
835
+ isTest?: boolean | undefined;
838
836
  costInCents?: number | undefined;
839
837
  baseCostInCents?: number | undefined;
838
+ context?: any;
840
839
  durationMs?: number | undefined;
840
+ version?: string | undefined;
841
841
  }>;
842
842
  queue: z.ZodObject<{
843
843
  id: z.ZodString;
844
844
  name: z.ZodString;
845
845
  }, "strip", z.ZodTypeAny, {
846
- id: string;
847
846
  name: string;
848
- }, {
849
847
  id: string;
848
+ }, {
850
849
  name: string;
850
+ id: string;
851
851
  }>;
852
852
  environment: z.ZodObject<{
853
853
  id: z.ZodString;
854
854
  slug: z.ZodString;
855
855
  type: z.ZodEnum<["PRODUCTION", "STAGING", "DEVELOPMENT", "PREVIEW"]>;
856
856
  }, "strip", z.ZodTypeAny, {
857
- id: string;
858
857
  type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
858
+ id: string;
859
859
  slug: string;
860
860
  }, {
861
- id: string;
862
861
  type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
862
+ id: string;
863
863
  slug: string;
864
864
  }>;
865
865
  organization: z.ZodObject<{
@@ -867,12 +867,12 @@ export declare const ProdTaskRunExecutionPayload: z.ZodObject<{
867
867
  slug: z.ZodString;
868
868
  name: z.ZodString;
869
869
  }, "strip", z.ZodTypeAny, {
870
- id: string;
871
870
  name: string;
871
+ id: string;
872
872
  slug: string;
873
873
  }, {
874
- id: string;
875
874
  name: string;
875
+ id: string;
876
876
  slug: string;
877
877
  }>;
878
878
  project: z.ZodObject<{
@@ -881,13 +881,13 @@ export declare const ProdTaskRunExecutionPayload: z.ZodObject<{
881
881
  slug: z.ZodString;
882
882
  name: z.ZodString;
883
883
  }, "strip", z.ZodTypeAny, {
884
- id: string;
885
884
  name: string;
885
+ id: string;
886
886
  slug: string;
887
887
  ref: string;
888
888
  }, {
889
- id: string;
890
889
  name: string;
890
+ id: string;
891
891
  slug: string;
892
892
  ref: string;
893
893
  }>;
@@ -946,53 +946,53 @@ export declare const ProdTaskRunExecutionPayload: z.ZodObject<{
946
946
  }>>;
947
947
  }>, "strip", z.ZodTypeAny, {
948
948
  queue: {
949
- id: string;
950
949
  name: string;
951
- };
952
- task: {
953
- id: string;
954
- filePath: string;
955
- exportName: string;
956
- };
957
- attempt: {
958
- number: number;
959
950
  id: string;
960
- status: string;
961
- startedAt: Date;
962
- backgroundWorkerId: string;
963
- backgroundWorkerTaskId: string;
964
951
  };
965
952
  run: {
966
- id: string;
967
953
  payload: string;
968
- payloadType: string;
969
954
  tags: string[];
970
- isTest: boolean;
955
+ id: string;
971
956
  createdAt: Date;
972
957
  startedAt: Date;
958
+ isTest: boolean;
973
959
  costInCents: number;
974
960
  baseCostInCents: number;
961
+ payloadType: string;
975
962
  durationMs: number;
976
- context?: any;
977
963
  idempotencyKey?: string | undefined;
978
964
  maxAttempts?: number | undefined;
979
965
  metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
980
966
  maxDuration?: number | undefined;
967
+ context?: any;
981
968
  version?: string | undefined;
982
969
  };
983
- environment: {
970
+ task: {
971
+ id: string;
972
+ filePath: string;
973
+ exportName: string;
974
+ };
975
+ attempt: {
976
+ number: number;
977
+ status: string;
984
978
  id: string;
979
+ startedAt: Date;
980
+ backgroundWorkerId: string;
981
+ backgroundWorkerTaskId: string;
982
+ };
983
+ environment: {
985
984
  type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
985
+ id: string;
986
986
  slug: string;
987
987
  };
988
988
  organization: {
989
- id: string;
990
989
  name: string;
990
+ id: string;
991
991
  slug: string;
992
992
  };
993
993
  project: {
994
- id: string;
995
994
  name: string;
995
+ id: string;
996
996
  slug: string;
997
997
  ref: string;
998
998
  };
@@ -1012,53 +1012,53 @@ export declare const ProdTaskRunExecutionPayload: z.ZodObject<{
1012
1012
  } | undefined;
1013
1013
  }, {
1014
1014
  queue: {
1015
- id: string;
1016
1015
  name: string;
1017
- };
1018
- task: {
1019
- id: string;
1020
- filePath: string;
1021
- exportName: string;
1022
- };
1023
- attempt: {
1024
- number: number;
1025
1016
  id: string;
1026
- status: string;
1027
- startedAt: Date;
1028
- backgroundWorkerId: string;
1029
- backgroundWorkerTaskId: string;
1030
1017
  };
1031
1018
  run: {
1032
- id: string;
1033
1019
  payload: string;
1034
- payloadType: string;
1035
1020
  tags: string[];
1021
+ id: string;
1036
1022
  createdAt: Date;
1037
- context?: any;
1023
+ payloadType: string;
1038
1024
  idempotencyKey?: string | undefined;
1039
1025
  maxAttempts?: number | undefined;
1040
1026
  metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
1041
1027
  maxDuration?: number | undefined;
1042
- version?: string | undefined;
1043
- isTest?: boolean | undefined;
1044
1028
  startedAt?: Date | undefined;
1029
+ isTest?: boolean | undefined;
1045
1030
  costInCents?: number | undefined;
1046
1031
  baseCostInCents?: number | undefined;
1032
+ context?: any;
1047
1033
  durationMs?: number | undefined;
1034
+ version?: string | undefined;
1048
1035
  };
1049
- environment: {
1036
+ task: {
1037
+ id: string;
1038
+ filePath: string;
1039
+ exportName: string;
1040
+ };
1041
+ attempt: {
1042
+ number: number;
1043
+ status: string;
1050
1044
  id: string;
1045
+ startedAt: Date;
1046
+ backgroundWorkerId: string;
1047
+ backgroundWorkerTaskId: string;
1048
+ };
1049
+ environment: {
1051
1050
  type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
1051
+ id: string;
1052
1052
  slug: string;
1053
1053
  };
1054
1054
  organization: {
1055
- id: string;
1056
1055
  name: string;
1056
+ id: string;
1057
1057
  slug: string;
1058
1058
  };
1059
1059
  project: {
1060
- id: string;
1061
1060
  name: string;
1061
+ id: string;
1062
1062
  slug: string;
1063
1063
  ref: string;
1064
1064
  };
@@ -1082,53 +1082,53 @@ export declare const ProdTaskRunExecutionPayload: z.ZodObject<{
1082
1082
  }, "strip", z.ZodTypeAny, {
1083
1083
  execution: {
1084
1084
  queue: {
1085
- id: string;
1086
1085
  name: string;
1087
- };
1088
- task: {
1089
- id: string;
1090
- filePath: string;
1091
- exportName: string;
1092
- };
1093
- attempt: {
1094
- number: number;
1095
1086
  id: string;
1096
- status: string;
1097
- startedAt: Date;
1098
- backgroundWorkerId: string;
1099
- backgroundWorkerTaskId: string;
1100
1087
  };
1101
1088
  run: {
1102
- id: string;
1103
1089
  payload: string;
1104
- payloadType: string;
1105
1090
  tags: string[];
1106
- isTest: boolean;
1091
+ id: string;
1107
1092
  createdAt: Date;
1108
1093
  startedAt: Date;
1094
+ isTest: boolean;
1109
1095
  costInCents: number;
1110
1096
  baseCostInCents: number;
1097
+ payloadType: string;
1111
1098
  durationMs: number;
1112
- context?: any;
1113
1099
  idempotencyKey?: string | undefined;
1114
1100
  maxAttempts?: number | undefined;
1115
1101
  metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
1116
1102
  maxDuration?: number | undefined;
1103
+ context?: any;
1117
1104
  version?: string | undefined;
1118
1105
  };
1119
- environment: {
1106
+ task: {
1107
+ id: string;
1108
+ filePath: string;
1109
+ exportName: string;
1110
+ };
1111
+ attempt: {
1112
+ number: number;
1113
+ status: string;
1120
1114
  id: string;
1115
+ startedAt: Date;
1116
+ backgroundWorkerId: string;
1117
+ backgroundWorkerTaskId: string;
1118
+ };
1119
+ environment: {
1121
1120
  type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
1121
+ id: string;
1122
1122
  slug: string;
1123
1123
  };
1124
1124
  organization: {
1125
- id: string;
1126
1125
  name: string;
1126
+ id: string;
1127
1127
  slug: string;
1128
1128
  };
1129
1129
  project: {
1130
- id: string;
1131
1130
  name: string;
1131
+ id: string;
1132
1132
  slug: string;
1133
1133
  ref: string;
1134
1134
  };
@@ -1152,53 +1152,53 @@ export declare const ProdTaskRunExecutionPayload: z.ZodObject<{
1152
1152
  }, {
1153
1153
  execution: {
1154
1154
  queue: {
1155
- id: string;
1156
1155
  name: string;
1157
- };
1158
- task: {
1159
- id: string;
1160
- filePath: string;
1161
- exportName: string;
1162
- };
1163
- attempt: {
1164
- number: number;
1165
1156
  id: string;
1166
- status: string;
1167
- startedAt: Date;
1168
- backgroundWorkerId: string;
1169
- backgroundWorkerTaskId: string;
1170
1157
  };
1171
1158
  run: {
1172
- id: string;
1173
1159
  payload: string;
1174
- payloadType: string;
1175
1160
  tags: string[];
1161
+ id: string;
1176
1162
  createdAt: Date;
1177
- context?: any;
1163
+ payloadType: string;
1178
1164
  idempotencyKey?: string | undefined;
1179
1165
  maxAttempts?: number | undefined;
1180
1166
  metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
1181
1167
  maxDuration?: number | undefined;
1182
- version?: string | undefined;
1183
- isTest?: boolean | undefined;
1184
1168
  startedAt?: Date | undefined;
1169
+ isTest?: boolean | undefined;
1185
1170
  costInCents?: number | undefined;
1186
1171
  baseCostInCents?: number | undefined;
1172
+ context?: any;
1187
1173
  durationMs?: number | undefined;
1174
+ version?: string | undefined;
1188
1175
  };
1189
- environment: {
1176
+ task: {
1177
+ id: string;
1178
+ filePath: string;
1179
+ exportName: string;
1180
+ };
1181
+ attempt: {
1182
+ number: number;
1183
+ status: string;
1190
1184
  id: string;
1185
+ startedAt: Date;
1186
+ backgroundWorkerId: string;
1187
+ backgroundWorkerTaskId: string;
1188
+ };
1189
+ environment: {
1191
1190
  type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
1191
+ id: string;
1192
1192
  slug: string;
1193
1193
  };
1194
1194
  organization: {
1195
- id: string;
1196
1195
  name: string;
1196
+ id: string;
1197
1197
  slug: string;
1198
1198
  };
1199
1199
  project: {
1200
- id: string;
1201
1200
  name: string;
1201
+ id: string;
1202
1202
  slug: string;
1203
1203
  ref: string;
1204
1204
  };
@@ -1473,11 +1473,11 @@ export declare const ScheduleMetadata: z.ZodObject<{
1473
1473
  cron: z.ZodString;
1474
1474
  timezone: z.ZodString;
1475
1475
  }, "strip", z.ZodTypeAny, {
1476
- timezone: string;
1477
1476
  cron: string;
1478
- }, {
1479
1477
  timezone: string;
1478
+ }, {
1480
1479
  cron: string;
1480
+ timezone: string;
1481
1481
  }>;
1482
1482
  export declare const TaskMetadata: z.ZodObject<{
1483
1483
  id: z.ZodString;
@@ -1561,12 +1561,12 @@ export declare const TaskMetadata: z.ZodObject<{
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?: 4 | 2 | 1 | 0.25 | 0.5 | undefined;
1565
+ memory?: 4 | 2 | 1 | 0.25 | 0.5 | 8 | 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?: 4 | 2 | 1 | 0.25 | 0.5 | undefined;
1569
+ memory?: 4 | 2 | 1 | 0.25 | 0.5 | 8 | 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>;
@@ -1574,20 +1574,15 @@ export declare const TaskMetadata: z.ZodObject<{
1574
1574
  cron: z.ZodString;
1575
1575
  timezone: z.ZodString;
1576
1576
  }, "strip", z.ZodTypeAny, {
1577
- timezone: string;
1578
1577
  cron: string;
1579
- }, {
1580
1578
  timezone: string;
1579
+ }, {
1581
1580
  cron: string;
1581
+ timezone: string;
1582
1582
  }>>;
1583
1583
  maxDuration: z.ZodOptional<z.ZodNumber>;
1584
1584
  }, "strip", z.ZodTypeAny, {
1585
1585
  id: string;
1586
- queue?: {
1587
- name?: string | undefined;
1588
- concurrencyLimit?: number | undefined;
1589
- } | undefined;
1590
- maxDuration?: number | undefined;
1591
1586
  retry?: {
1592
1587
  maxAttempts?: number | undefined;
1593
1588
  factor?: number | undefined;
@@ -1595,24 +1590,24 @@ export declare const TaskMetadata: z.ZodObject<{
1595
1590
  maxTimeoutInMs?: number | undefined;
1596
1591
  randomize?: boolean | undefined;
1597
1592
  } | undefined;
1598
- description?: string | undefined;
1599
- schedule?: {
1600
- timezone: string;
1601
- cron: string;
1593
+ queue?: {
1594
+ name?: string | undefined;
1595
+ concurrencyLimit?: number | undefined;
1602
1596
  } | undefined;
1597
+ maxDuration?: number | undefined;
1603
1598
  machine?: {
1604
- cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
1605
- memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
1599
+ cpu?: 4 | 2 | 1 | 0.25 | 0.5 | undefined;
1600
+ memory?: 4 | 2 | 1 | 0.25 | 0.5 | 8 | undefined;
1606
1601
  preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
1607
1602
  } | undefined;
1603
+ description?: string | undefined;
1608
1604
  triggerSource?: string | undefined;
1605
+ schedule?: {
1606
+ cron: string;
1607
+ timezone: string;
1608
+ } | undefined;
1609
1609
  }, {
1610
1610
  id: string;
1611
- queue?: {
1612
- name?: string | undefined;
1613
- concurrencyLimit?: number | undefined;
1614
- } | undefined;
1615
- maxDuration?: number | undefined;
1616
1611
  retry?: {
1617
1612
  maxAttempts?: number | undefined;
1618
1613
  factor?: number | undefined;
@@ -1620,17 +1615,22 @@ export declare const TaskMetadata: z.ZodObject<{
1620
1615
  maxTimeoutInMs?: number | undefined;
1621
1616
  randomize?: boolean | undefined;
1622
1617
  } | undefined;
1623
- description?: string | undefined;
1624
- schedule?: {
1625
- timezone: string;
1626
- cron: string;
1618
+ queue?: {
1619
+ name?: string | undefined;
1620
+ concurrencyLimit?: number | undefined;
1627
1621
  } | undefined;
1622
+ maxDuration?: number | undefined;
1628
1623
  machine?: {
1629
- cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
1630
- memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
1624
+ cpu?: 4 | 2 | 1 | 0.25 | 0.5 | undefined;
1625
+ memory?: 4 | 2 | 1 | 0.25 | 0.5 | 8 | undefined;
1631
1626
  preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
1632
1627
  } | undefined;
1628
+ description?: string | undefined;
1633
1629
  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<{
@@ -1743,12 +1743,12 @@ export declare const TaskManifest: z.ZodObject<{
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?: 4 | 2 | 1 | 0.25 | 0.5 | undefined;
1747
+ memory?: 4 | 2 | 1 | 0.25 | 0.5 | 8 | 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?: 4 | 2 | 1 | 0.25 | 0.5 | undefined;
1751
+ memory?: 4 | 2 | 1 | 0.25 | 0.5 | 8 | 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>;
@@ -1756,11 +1756,11 @@ export declare const TaskManifest: z.ZodObject<{
1756
1756
  cron: z.ZodString;
1757
1757
  timezone: z.ZodString;
1758
1758
  }, "strip", z.ZodTypeAny, {
1759
- timezone: string;
1760
1759
  cron: string;
1761
- }, {
1762
1760
  timezone: string;
1761
+ }, {
1763
1762
  cron: string;
1763
+ timezone: string;
1764
1764
  }>>;
1765
1765
  maxDuration: z.ZodOptional<z.ZodNumber>;
1766
1766
  }, "strip", z.ZodTypeAny, {
@@ -1768,11 +1768,6 @@ export declare const TaskManifest: z.ZodObject<{
1768
1768
  filePath: string;
1769
1769
  exportName: string;
1770
1770
  entryPoint: string;
1771
- queue?: {
1772
- name?: string | undefined;
1773
- concurrencyLimit?: number | undefined;
1774
- } | undefined;
1775
- maxDuration?: number | undefined;
1776
1771
  retry?: {
1777
1772
  maxAttempts?: number | undefined;
1778
1773
  factor?: number | undefined;
@@ -1780,27 +1775,27 @@ export declare const TaskManifest: z.ZodObject<{
1780
1775
  maxTimeoutInMs?: number | undefined;
1781
1776
  randomize?: boolean | undefined;
1782
1777
  } | undefined;
1783
- description?: string | undefined;
1784
- schedule?: {
1785
- timezone: string;
1786
- cron: string;
1778
+ queue?: {
1779
+ name?: string | undefined;
1780
+ concurrencyLimit?: number | undefined;
1787
1781
  } | undefined;
1782
+ maxDuration?: number | undefined;
1788
1783
  machine?: {
1789
- cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
1790
- memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
1784
+ cpu?: 4 | 2 | 1 | 0.25 | 0.5 | undefined;
1785
+ memory?: 4 | 2 | 1 | 0.25 | 0.5 | 8 | undefined;
1791
1786
  preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
1792
1787
  } | undefined;
1788
+ description?: string | undefined;
1793
1789
  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
- queue?: {
1800
- name?: string | undefined;
1801
- concurrencyLimit?: number | undefined;
1802
- } | undefined;
1803
- maxDuration?: number | undefined;
1804
1799
  retry?: {
1805
1800
  maxAttempts?: number | undefined;
1806
1801
  factor?: number | undefined;
@@ -1808,17 +1803,22 @@ export declare const TaskManifest: z.ZodObject<{
1808
1803
  maxTimeoutInMs?: number | undefined;
1809
1804
  randomize?: boolean | undefined;
1810
1805
  } | undefined;
1811
- description?: string | undefined;
1812
- schedule?: {
1813
- timezone: string;
1814
- cron: string;
1806
+ queue?: {
1807
+ name?: string | undefined;
1808
+ concurrencyLimit?: number | undefined;
1815
1809
  } | undefined;
1810
+ maxDuration?: number | undefined;
1816
1811
  machine?: {
1817
- cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
1818
- memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
1812
+ cpu?: 4 | 2 | 1 | 0.25 | 0.5 | undefined;
1813
+ memory?: 4 | 2 | 1 | 0.25 | 0.5 | 8 | undefined;
1819
1814
  preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
1820
1815
  } | undefined;
1816
+ description?: string | undefined;
1821
1817
  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"]>;
@@ -1873,6 +1873,7 @@ export declare const Config: z.ZodObject<{
1873
1873
  randomize?: boolean | undefined;
1874
1874
  } | undefined;
1875
1875
  }, {
1876
+ enabledInDev?: boolean | undefined;
1876
1877
  default?: {
1877
1878
  maxAttempts?: number | undefined;
1878
1879
  factor?: number | undefined;
@@ -1880,7 +1881,6 @@ export declare const Config: z.ZodObject<{
1880
1881
  maxTimeoutInMs?: number | undefined;
1881
1882
  randomize?: boolean | undefined;
1882
1883
  } | 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">>;
@@ -1919,6 +1919,7 @@ export declare const Config: z.ZodObject<{
1919
1919
  projectDir?: string | undefined;
1920
1920
  tsconfigPath?: string | undefined;
1921
1921
  retries?: {
1922
+ enabledInDev?: boolean | undefined;
1922
1923
  default?: {
1923
1924
  maxAttempts?: number | undefined;
1924
1925
  factor?: number | undefined;
@@ -1926,7 +1927,6 @@ export declare const Config: z.ZodObject<{
1926
1927
  maxTimeoutInMs?: number | undefined;
1927
1928
  randomize?: boolean | undefined;
1928
1929
  } | undefined;
1929
- enabledInDev?: boolean | undefined;
1930
1930
  } | undefined;
1931
1931
  additionalPackages?: string[] | undefined;
1932
1932
  additionalFiles?: string[] | undefined;
@@ -1952,14 +1952,14 @@ export declare const TaskRunExecutionLazyAttemptPayload: z.ZodObject<{
1952
1952
  traceContext: Record<string, unknown>;
1953
1953
  runId: string;
1954
1954
  messageId: string;
1955
- attemptCount?: number | undefined;
1956
1955
  environment?: Record<string, string> | undefined;
1956
+ attemptCount?: number | undefined;
1957
1957
  }, {
1958
1958
  isTest: boolean;
1959
1959
  traceContext: Record<string, unknown>;
1960
1960
  runId: string;
1961
1961
  messageId: string;
1962
- attemptCount?: number | undefined;
1963
1962
  environment?: Record<string, string> | undefined;
1963
+ attemptCount?: number | undefined;
1964
1964
  }>;
1965
1965
  export type TaskRunExecutionLazyAttemptPayload = z.infer<typeof TaskRunExecutionLazyAttemptPayload>;