@trigger.dev/core 0.0.0-prerelease-20240926084729 → 0.0.0-prerelease-20240930020332

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.
@@ -212,12 +212,12 @@ export declare const TaskResource: z.ZodObject<{
212
212
  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>]>>;
213
213
  preset: z.ZodOptional<z.ZodEnum<["micro", "small-1x", "small-2x", "medium-1x", "medium-2x", "large-1x", "large-2x"]>>;
214
214
  }, "strip", z.ZodTypeAny, {
215
- cpu?: 2 | 1 | 0.25 | 0.5 | 4 | undefined;
216
- memory?: 2 | 1 | 0.25 | 0.5 | 4 | 8 | undefined;
215
+ cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
216
+ memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
217
217
  preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
218
218
  }, {
219
- cpu?: 2 | 1 | 0.25 | 0.5 | 4 | undefined;
220
- memory?: 2 | 1 | 0.25 | 0.5 | 4 | 8 | undefined;
219
+ cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
220
+ memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
221
221
  preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
222
222
  }>>;
223
223
  triggerSource: z.ZodOptional<z.ZodString>;
@@ -280,8 +280,8 @@ export declare const TaskResource: z.ZodObject<{
280
280
  randomize?: boolean | undefined;
281
281
  } | undefined;
282
282
  machine?: {
283
- cpu?: 2 | 1 | 0.25 | 0.5 | 4 | undefined;
284
- memory?: 2 | 1 | 0.25 | 0.5 | 4 | 8 | undefined;
283
+ cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
284
+ memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
285
285
  preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
286
286
  } | undefined;
287
287
  triggerSource?: string | undefined;
@@ -338,8 +338,8 @@ export declare const TaskResource: z.ZodObject<{
338
338
  randomize?: boolean | undefined;
339
339
  } | undefined;
340
340
  machine?: {
341
- cpu?: 2 | 1 | 0.25 | 0.5 | 4 | undefined;
342
- memory?: 2 | 1 | 0.25 | 0.5 | 4 | 8 | undefined;
341
+ cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
342
+ memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
343
343
  preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
344
344
  } | undefined;
345
345
  triggerSource?: string | undefined;
@@ -355,13 +355,13 @@ export declare const BackgroundWorkerSourceFileMetadata: z.ZodObject<{
355
355
  contentHash: z.ZodString;
356
356
  taskIds: z.ZodArray<z.ZodString, "many">;
357
357
  }, "strip", z.ZodTypeAny, {
358
- filePath: string;
359
358
  contentHash: string;
359
+ filePath: string;
360
360
  contents: string;
361
361
  taskIds: string[];
362
362
  }, {
363
- filePath: string;
364
363
  contentHash: string;
364
+ filePath: string;
365
365
  contents: string;
366
366
  taskIds: string[];
367
367
  }>;
@@ -583,12 +583,12 @@ export declare const BackgroundWorkerMetadata: z.ZodObject<{
583
583
  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>]>>;
584
584
  preset: z.ZodOptional<z.ZodEnum<["micro", "small-1x", "small-2x", "medium-1x", "medium-2x", "large-1x", "large-2x"]>>;
585
585
  }, "strip", z.ZodTypeAny, {
586
- cpu?: 2 | 1 | 0.25 | 0.5 | 4 | undefined;
587
- memory?: 2 | 1 | 0.25 | 0.5 | 4 | 8 | undefined;
586
+ cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
587
+ memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
588
588
  preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
589
589
  }, {
590
- cpu?: 2 | 1 | 0.25 | 0.5 | 4 | undefined;
591
- memory?: 2 | 1 | 0.25 | 0.5 | 4 | 8 | undefined;
590
+ cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
591
+ memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
592
592
  preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
593
593
  }>>;
594
594
  triggerSource: z.ZodOptional<z.ZodString>;
@@ -651,8 +651,8 @@ export declare const BackgroundWorkerMetadata: z.ZodObject<{
651
651
  randomize?: boolean | undefined;
652
652
  } | undefined;
653
653
  machine?: {
654
- cpu?: 2 | 1 | 0.25 | 0.5 | 4 | undefined;
655
- memory?: 2 | 1 | 0.25 | 0.5 | 4 | 8 | undefined;
654
+ cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
655
+ memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
656
656
  preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
657
657
  } | undefined;
658
658
  triggerSource?: string | undefined;
@@ -709,8 +709,8 @@ export declare const BackgroundWorkerMetadata: z.ZodObject<{
709
709
  randomize?: boolean | undefined;
710
710
  } | undefined;
711
711
  machine?: {
712
- cpu?: 2 | 1 | 0.25 | 0.5 | 4 | undefined;
713
- memory?: 2 | 1 | 0.25 | 0.5 | 4 | 8 | undefined;
712
+ cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
713
+ memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
714
714
  preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
715
715
  } | undefined;
716
716
  triggerSource?: string | undefined;
@@ -725,19 +725,19 @@ export declare const BackgroundWorkerMetadata: z.ZodObject<{
725
725
  contentHash: z.ZodString;
726
726
  taskIds: z.ZodArray<z.ZodString, "many">;
727
727
  }, "strip", z.ZodTypeAny, {
728
- filePath: string;
729
728
  contentHash: string;
729
+ filePath: string;
730
730
  contents: string;
731
731
  taskIds: string[];
732
732
  }, {
733
- filePath: string;
734
733
  contentHash: string;
734
+ filePath: string;
735
735
  contents: string;
736
736
  taskIds: string[];
737
737
  }>, "many">>;
738
738
  }, "strip", z.ZodTypeAny, {
739
- contentHash: string;
740
739
  packageVersion: string;
740
+ contentHash: string;
741
741
  tasks: {
742
742
  id: string;
743
743
  filePath: string;
@@ -787,8 +787,8 @@ export declare const BackgroundWorkerMetadata: z.ZodObject<{
787
787
  randomize?: boolean | undefined;
788
788
  } | undefined;
789
789
  machine?: {
790
- cpu?: 2 | 1 | 0.25 | 0.5 | 4 | undefined;
791
- memory?: 2 | 1 | 0.25 | 0.5 | 4 | 8 | undefined;
790
+ cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
791
+ memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
792
792
  preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
793
793
  } | undefined;
794
794
  triggerSource?: string | undefined;
@@ -799,14 +799,14 @@ export declare const BackgroundWorkerMetadata: z.ZodObject<{
799
799
  }[];
800
800
  cliPackageVersion?: string | undefined;
801
801
  sourceFiles?: {
802
- filePath: string;
803
802
  contentHash: string;
803
+ filePath: string;
804
804
  contents: string;
805
805
  taskIds: string[];
806
806
  }[] | undefined;
807
807
  }, {
808
- contentHash: string;
809
808
  packageVersion: string;
809
+ contentHash: string;
810
810
  tasks: {
811
811
  id: string;
812
812
  filePath: string;
@@ -856,8 +856,8 @@ export declare const BackgroundWorkerMetadata: z.ZodObject<{
856
856
  randomize?: boolean | undefined;
857
857
  } | undefined;
858
858
  machine?: {
859
- cpu?: 2 | 1 | 0.25 | 0.5 | 4 | undefined;
860
- memory?: 2 | 1 | 0.25 | 0.5 | 4 | 8 | undefined;
859
+ cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
860
+ memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
861
861
  preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
862
862
  } | undefined;
863
863
  triggerSource?: string | undefined;
@@ -868,8 +868,8 @@ export declare const BackgroundWorkerMetadata: z.ZodObject<{
868
868
  }[];
869
869
  cliPackageVersion?: string | undefined;
870
870
  sourceFiles?: {
871
- filePath: string;
872
871
  contentHash: string;
872
+ filePath: string;
873
873
  contents: string;
874
874
  taskIds: string[];
875
875
  }[] | undefined;