@trigger.dev/core 0.0.0-v3-prerelease-20240916161707 → 0.0.0-v3-prerelease-20240916162259
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/commonjs/v3/apiClient/index.d.ts +44 -44
- package/dist/commonjs/v3/schemas/api.d.ts +178 -178
- package/dist/commonjs/v3/schemas/build.d.ts +126 -126
- package/dist/commonjs/v3/schemas/fetch.d.ts +14 -14
- package/dist/commonjs/v3/schemas/messages.d.ts +3125 -3125
- package/dist/commonjs/v3/schemas/resources.d.ts +30 -30
- package/dist/commonjs/v3/schemas/schemas.d.ts +466 -466
- package/dist/commonjs/version.js +1 -1
- package/dist/esm/v3/apiClient/index.d.ts +44 -44
- package/dist/esm/v3/schemas/api.d.ts +178 -178
- package/dist/esm/v3/schemas/build.d.ts +126 -126
- package/dist/esm/v3/schemas/fetch.d.ts +14 -14
- package/dist/esm/v3/schemas/messages.d.ts +3125 -3125
- package/dist/esm/v3/schemas/resources.d.ts +30 -30
- package/dist/esm/v3/schemas/schemas.d.ts +466 -466
- package/dist/esm/version.js +1 -1
- package/package.json +1 -1
|
@@ -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?:
|
|
216
|
-
memory?:
|
|
215
|
+
cpu?: 1 | 2 | 4 | 0.25 | 0.5 | undefined;
|
|
216
|
+
memory?: 8 | 1 | 2 | 4 | 0.25 | 0.5 | undefined;
|
|
217
217
|
preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
|
|
218
218
|
}, {
|
|
219
|
-
cpu?:
|
|
220
|
-
memory?:
|
|
219
|
+
cpu?: 1 | 2 | 4 | 0.25 | 0.5 | undefined;
|
|
220
|
+
memory?: 8 | 1 | 2 | 4 | 0.25 | 0.5 | 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?:
|
|
284
|
-
memory?:
|
|
283
|
+
cpu?: 1 | 2 | 4 | 0.25 | 0.5 | undefined;
|
|
284
|
+
memory?: 8 | 1 | 2 | 4 | 0.25 | 0.5 | 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?:
|
|
342
|
-
memory?:
|
|
341
|
+
cpu?: 1 | 2 | 4 | 0.25 | 0.5 | undefined;
|
|
342
|
+
memory?: 8 | 1 | 2 | 4 | 0.25 | 0.5 | 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
|
-
contentHash: string;
|
|
359
358
|
filePath: string;
|
|
359
|
+
contentHash: string;
|
|
360
360
|
contents: string;
|
|
361
361
|
taskIds: string[];
|
|
362
362
|
}, {
|
|
363
|
-
contentHash: string;
|
|
364
363
|
filePath: string;
|
|
364
|
+
contentHash: 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?:
|
|
587
|
-
memory?:
|
|
586
|
+
cpu?: 1 | 2 | 4 | 0.25 | 0.5 | undefined;
|
|
587
|
+
memory?: 8 | 1 | 2 | 4 | 0.25 | 0.5 | undefined;
|
|
588
588
|
preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
|
|
589
589
|
}, {
|
|
590
|
-
cpu?:
|
|
591
|
-
memory?:
|
|
590
|
+
cpu?: 1 | 2 | 4 | 0.25 | 0.5 | undefined;
|
|
591
|
+
memory?: 8 | 1 | 2 | 4 | 0.25 | 0.5 | 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?:
|
|
655
|
-
memory?:
|
|
654
|
+
cpu?: 1 | 2 | 4 | 0.25 | 0.5 | undefined;
|
|
655
|
+
memory?: 8 | 1 | 2 | 4 | 0.25 | 0.5 | 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?:
|
|
713
|
-
memory?:
|
|
712
|
+
cpu?: 1 | 2 | 4 | 0.25 | 0.5 | undefined;
|
|
713
|
+
memory?: 8 | 1 | 2 | 4 | 0.25 | 0.5 | 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,17 @@ 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
|
-
contentHash: string;
|
|
729
728
|
filePath: string;
|
|
729
|
+
contentHash: string;
|
|
730
730
|
contents: string;
|
|
731
731
|
taskIds: string[];
|
|
732
732
|
}, {
|
|
733
|
-
contentHash: string;
|
|
734
733
|
filePath: string;
|
|
734
|
+
contentHash: string;
|
|
735
735
|
contents: string;
|
|
736
736
|
taskIds: string[];
|
|
737
737
|
}>, "many">>;
|
|
738
738
|
}, "strip", z.ZodTypeAny, {
|
|
739
|
-
packageVersion: string;
|
|
740
|
-
contentHash: string;
|
|
741
739
|
tasks: {
|
|
742
740
|
id: string;
|
|
743
741
|
filePath: string;
|
|
@@ -787,8 +785,8 @@ export declare const BackgroundWorkerMetadata: z.ZodObject<{
|
|
|
787
785
|
randomize?: boolean | undefined;
|
|
788
786
|
} | undefined;
|
|
789
787
|
machine?: {
|
|
790
|
-
cpu?:
|
|
791
|
-
memory?:
|
|
788
|
+
cpu?: 1 | 2 | 4 | 0.25 | 0.5 | undefined;
|
|
789
|
+
memory?: 8 | 1 | 2 | 4 | 0.25 | 0.5 | undefined;
|
|
792
790
|
preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
|
|
793
791
|
} | undefined;
|
|
794
792
|
triggerSource?: string | undefined;
|
|
@@ -797,16 +795,16 @@ export declare const BackgroundWorkerMetadata: z.ZodObject<{
|
|
|
797
795
|
timezone: string;
|
|
798
796
|
} | undefined;
|
|
799
797
|
}[];
|
|
798
|
+
contentHash: string;
|
|
799
|
+
packageVersion: string;
|
|
800
800
|
cliPackageVersion?: string | undefined;
|
|
801
801
|
sourceFiles?: {
|
|
802
|
-
contentHash: string;
|
|
803
802
|
filePath: string;
|
|
803
|
+
contentHash: string;
|
|
804
804
|
contents: string;
|
|
805
805
|
taskIds: string[];
|
|
806
806
|
}[] | undefined;
|
|
807
807
|
}, {
|
|
808
|
-
packageVersion: string;
|
|
809
|
-
contentHash: string;
|
|
810
808
|
tasks: {
|
|
811
809
|
id: string;
|
|
812
810
|
filePath: string;
|
|
@@ -856,8 +854,8 @@ export declare const BackgroundWorkerMetadata: z.ZodObject<{
|
|
|
856
854
|
randomize?: boolean | undefined;
|
|
857
855
|
} | undefined;
|
|
858
856
|
machine?: {
|
|
859
|
-
cpu?:
|
|
860
|
-
memory?:
|
|
857
|
+
cpu?: 1 | 2 | 4 | 0.25 | 0.5 | undefined;
|
|
858
|
+
memory?: 8 | 1 | 2 | 4 | 0.25 | 0.5 | undefined;
|
|
861
859
|
preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
|
|
862
860
|
} | undefined;
|
|
863
861
|
triggerSource?: string | undefined;
|
|
@@ -866,10 +864,12 @@ export declare const BackgroundWorkerMetadata: z.ZodObject<{
|
|
|
866
864
|
timezone: string;
|
|
867
865
|
} | undefined;
|
|
868
866
|
}[];
|
|
867
|
+
contentHash: string;
|
|
868
|
+
packageVersion: string;
|
|
869
869
|
cliPackageVersion?: string | undefined;
|
|
870
870
|
sourceFiles?: {
|
|
871
|
-
contentHash: string;
|
|
872
871
|
filePath: string;
|
|
872
|
+
contentHash: string;
|
|
873
873
|
contents: string;
|
|
874
874
|
taskIds: string[];
|
|
875
875
|
}[] | undefined;
|