@trigger.dev/core 0.0.0-v3-prerelease-20240923150540 → 0.0.0-v3-prerelease-20241009112547
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/schemas/api.d.ts +8 -8
- package/dist/commonjs/v3/apiClient/core.js +18 -1
- package/dist/commonjs/v3/apiClient/core.js.map +1 -1
- package/dist/commonjs/v3/apiClient/index.d.ts +78 -67
- package/dist/commonjs/v3/apiClient/index.js +7 -2
- package/dist/commonjs/v3/apiClient/index.js.map +1 -1
- package/dist/commonjs/v3/apiClientManager/index.d.ts +5 -0
- package/dist/commonjs/v3/apiClientManager/index.js +28 -1
- package/dist/commonjs/v3/apiClientManager/index.js.map +1 -1
- package/dist/commonjs/v3/apps/duration.d.ts +1 -0
- package/dist/commonjs/v3/apps/duration.js +51 -0
- package/dist/commonjs/v3/apps/duration.js.map +1 -0
- package/dist/commonjs/v3/apps/friendlyId.d.ts +1 -0
- package/dist/commonjs/v3/apps/friendlyId.js +9 -0
- package/dist/commonjs/v3/apps/friendlyId.js.map +1 -0
- package/dist/commonjs/v3/apps/index.d.ts +2 -0
- package/dist/commonjs/v3/apps/index.js +2 -0
- package/dist/commonjs/v3/apps/index.js.map +1 -1
- package/dist/commonjs/v3/config.d.ts +8 -0
- package/dist/commonjs/v3/errors.d.ts +12 -2
- package/dist/commonjs/v3/errors.js +107 -24
- package/dist/commonjs/v3/errors.js.map +1 -1
- package/dist/commonjs/v3/index.d.ts +3 -0
- package/dist/commonjs/v3/index.js +5 -1
- package/dist/commonjs/v3/index.js.map +1 -1
- package/dist/commonjs/v3/links.d.ts +17 -0
- package/dist/commonjs/v3/links.js +21 -0
- package/dist/commonjs/v3/links.js.map +1 -0
- package/dist/commonjs/v3/run-metadata-api.d.ts +2 -0
- package/dist/commonjs/v3/run-metadata-api.js +8 -0
- package/dist/commonjs/v3/run-metadata-api.js.map +1 -0
- package/dist/commonjs/v3/runMetadata/index.d.ts +15 -0
- package/dist/commonjs/v3/runMetadata/index.js +67 -0
- package/dist/commonjs/v3/runMetadata/index.js.map +1 -0
- package/dist/commonjs/v3/schemas/api.d.ts +387 -290
- package/dist/commonjs/v3/schemas/api.js +15 -1
- package/dist/commonjs/v3/schemas/api.js.map +1 -1
- package/dist/commonjs/v3/schemas/build.d.ts +90 -76
- package/dist/commonjs/v3/schemas/common.d.ts +151 -123
- package/dist/commonjs/v3/schemas/common.js +16 -1
- package/dist/commonjs/v3/schemas/common.js.map +1 -1
- package/dist/commonjs/v3/schemas/messages.d.ts +2710 -2442
- package/dist/commonjs/v3/schemas/messages.js +1 -0
- package/dist/commonjs/v3/schemas/messages.js.map +1 -1
- package/dist/commonjs/v3/schemas/resources.d.ts +36 -28
- package/dist/commonjs/v3/schemas/resources.js +1 -0
- package/dist/commonjs/v3/schemas/resources.js.map +1 -1
- package/dist/commonjs/v3/schemas/schemas.d.ts +307 -263
- package/dist/commonjs/v3/schemas/schemas.js +1 -0
- package/dist/commonjs/v3/schemas/schemas.js.map +1 -1
- package/dist/commonjs/v3/timeout/api.d.ts +11 -0
- package/dist/commonjs/v3/timeout/api.js +38 -0
- package/dist/commonjs/v3/timeout/api.js.map +1 -0
- package/dist/commonjs/v3/timeout/types.d.ts +9 -0
- package/dist/commonjs/v3/timeout/types.js +15 -0
- package/dist/commonjs/v3/timeout/types.js.map +1 -0
- package/dist/commonjs/v3/timeout/usageTimeoutManager.d.ts +10 -0
- package/dist/commonjs/v3/timeout/usageTimeoutManager.js +32 -0
- package/dist/commonjs/v3/timeout/usageTimeoutManager.js.map +1 -0
- package/dist/commonjs/v3/timeout-api.d.ts +3 -0
- package/dist/commonjs/v3/timeout-api.js +9 -0
- package/dist/commonjs/v3/timeout-api.js.map +1 -0
- package/dist/commonjs/v3/tracer.d.ts +1 -1
- package/dist/commonjs/v3/tracer.js +28 -14
- package/dist/commonjs/v3/tracer.js.map +1 -1
- package/dist/commonjs/v3/types/index.d.ts +10 -0
- package/dist/commonjs/v3/utils/globals.d.ts +4 -0
- package/dist/commonjs/v3/utils/globals.js.map +1 -1
- package/dist/commonjs/v3/utils/structuredLogger.d.ts +1 -0
- package/dist/commonjs/v3/utils/structuredLogger.js +10 -4
- package/dist/commonjs/v3/utils/structuredLogger.js.map +1 -1
- package/dist/commonjs/v3/workers/index.d.ts +1 -0
- package/dist/commonjs/v3/workers/index.js +3 -1
- package/dist/commonjs/v3/workers/index.js.map +1 -1
- package/dist/commonjs/v3/workers/taskExecutor.d.ts +1 -1
- package/dist/commonjs/v3/workers/taskExecutor.js +53 -43
- package/dist/commonjs/v3/workers/taskExecutor.js.map +1 -1
- package/dist/commonjs/v3/zodNamespace.d.ts +1 -0
- package/dist/commonjs/v3/zodNamespace.js +6 -1
- package/dist/commonjs/v3/zodNamespace.js.map +1 -1
- package/dist/commonjs/v3/zodSocket.d.ts +2 -0
- package/dist/commonjs/v3/zodSocket.js +15 -5
- package/dist/commonjs/v3/zodSocket.js.map +1 -1
- package/dist/commonjs/version.js +1 -1
- package/dist/esm/schemas/api.d.ts +8 -8
- package/dist/esm/v3/apiClient/core.js +18 -1
- package/dist/esm/v3/apiClient/core.js.map +1 -1
- package/dist/esm/v3/apiClient/index.d.ts +78 -67
- package/dist/esm/v3/apiClient/index.js +8 -3
- package/dist/esm/v3/apiClient/index.js.map +1 -1
- package/dist/esm/v3/apiClientManager/index.d.ts +5 -0
- package/dist/esm/v3/apiClientManager/index.js +26 -0
- package/dist/esm/v3/apiClientManager/index.js.map +1 -1
- package/dist/esm/v3/apps/duration.d.ts +1 -0
- package/dist/esm/v3/apps/duration.js +48 -0
- package/dist/esm/v3/apps/duration.js.map +1 -0
- package/dist/esm/v3/apps/friendlyId.d.ts +1 -0
- package/dist/esm/v3/apps/friendlyId.js +6 -0
- package/dist/esm/v3/apps/friendlyId.js.map +1 -0
- package/dist/esm/v3/apps/index.d.ts +2 -0
- package/dist/esm/v3/apps/index.js +2 -0
- package/dist/esm/v3/apps/index.js.map +1 -1
- package/dist/esm/v3/config.d.ts +8 -0
- package/dist/esm/v3/errors.d.ts +12 -2
- package/dist/esm/v3/errors.js +104 -23
- package/dist/esm/v3/errors.js.map +1 -1
- package/dist/esm/v3/index.d.ts +3 -0
- package/dist/esm/v3/index.js +3 -0
- package/dist/esm/v3/index.js.map +1 -1
- package/dist/esm/v3/links.d.ts +17 -0
- package/dist/esm/v3/links.js +18 -0
- package/dist/esm/v3/links.js.map +1 -0
- package/dist/esm/v3/run-metadata-api.d.ts +2 -0
- package/dist/esm/v3/run-metadata-api.js +5 -0
- package/dist/esm/v3/run-metadata-api.js.map +1 -0
- package/dist/esm/v3/runMetadata/index.d.ts +15 -0
- package/dist/esm/v3/runMetadata/index.js +63 -0
- package/dist/esm/v3/runMetadata/index.js.map +1 -0
- package/dist/esm/v3/schemas/api.d.ts +317 -220
- package/dist/esm/v3/schemas/api.js +14 -0
- package/dist/esm/v3/schemas/api.js.map +1 -1
- package/dist/esm/v3/schemas/build.d.ts +160 -146
- package/dist/esm/v3/schemas/common.d.ts +151 -123
- package/dist/esm/v3/schemas/common.js +16 -1
- package/dist/esm/v3/schemas/common.js.map +1 -1
- package/dist/esm/v3/schemas/fetch.d.ts +14 -14
- package/dist/esm/v3/schemas/messages.d.ts +2909 -2641
- package/dist/esm/v3/schemas/messages.js +2 -1
- package/dist/esm/v3/schemas/messages.js.map +1 -1
- package/dist/esm/v3/schemas/resources.d.ts +30 -22
- package/dist/esm/v3/schemas/resources.js +1 -0
- package/dist/esm/v3/schemas/resources.js.map +1 -1
- package/dist/esm/v3/schemas/schemas.d.ts +387 -343
- package/dist/esm/v3/schemas/schemas.js +1 -0
- package/dist/esm/v3/schemas/schemas.js.map +1 -1
- package/dist/esm/v3/timeout/api.d.ts +11 -0
- package/dist/esm/v3/timeout/api.js +34 -0
- package/dist/esm/v3/timeout/api.js.map +1 -0
- package/dist/esm/v3/timeout/types.d.ts +9 -0
- package/dist/esm/v3/timeout/types.js +11 -0
- package/dist/esm/v3/timeout/types.js.map +1 -0
- package/dist/esm/v3/timeout/usageTimeoutManager.d.ts +10 -0
- package/dist/esm/v3/timeout/usageTimeoutManager.js +28 -0
- package/dist/esm/v3/timeout/usageTimeoutManager.js.map +1 -0
- package/dist/esm/v3/timeout-api.d.ts +3 -0
- package/dist/esm/v3/timeout-api.js +6 -0
- package/dist/esm/v3/timeout-api.js.map +1 -0
- package/dist/esm/v3/tracer.d.ts +1 -1
- package/dist/esm/v3/tracer.js +28 -14
- package/dist/esm/v3/tracer.js.map +1 -1
- package/dist/esm/v3/types/index.d.ts +10 -0
- package/dist/esm/v3/utils/globals.d.ts +4 -0
- package/dist/esm/v3/utils/globals.js.map +1 -1
- package/dist/esm/v3/utils/structuredLogger.d.ts +1 -0
- package/dist/esm/v3/utils/structuredLogger.js +10 -4
- package/dist/esm/v3/utils/structuredLogger.js.map +1 -1
- package/dist/esm/v3/workers/index.d.ts +1 -0
- package/dist/esm/v3/workers/index.js +1 -0
- package/dist/esm/v3/workers/index.js.map +1 -1
- package/dist/esm/v3/workers/taskExecutor.d.ts +1 -1
- package/dist/esm/v3/workers/taskExecutor.js +45 -35
- package/dist/esm/v3/workers/taskExecutor.js.map +1 -1
- package/dist/esm/v3/zodNamespace.d.ts +1 -0
- package/dist/esm/v3/zodNamespace.js +6 -1
- package/dist/esm/v3/zodNamespace.js.map +1 -1
- package/dist/esm/v3/zodSocket.d.ts +2 -0
- package/dist/esm/v3/zodSocket.js +15 -5
- package/dist/esm/v3/zodSocket.js.map +1 -1
- package/dist/esm/version.js +1 -1
- package/package.json +2 -1
|
@@ -3,11 +3,11 @@ export declare const BuildExternal: z.ZodObject<{
|
|
|
3
3
|
name: z.ZodString;
|
|
4
4
|
version: z.ZodString;
|
|
5
5
|
}, "strip", z.ZodTypeAny, {
|
|
6
|
-
version: string;
|
|
7
6
|
name: string;
|
|
8
|
-
}, {
|
|
9
7
|
version: string;
|
|
8
|
+
}, {
|
|
10
9
|
name: string;
|
|
10
|
+
version: string;
|
|
11
11
|
}>;
|
|
12
12
|
export type BuildExternal = z.infer<typeof BuildExternal>;
|
|
13
13
|
export declare const BuildTarget: z.ZodEnum<["dev", "deploy"]>;
|
|
@@ -62,11 +62,11 @@ export declare const BuildManifest: z.ZodObject<{
|
|
|
62
62
|
name: z.ZodString;
|
|
63
63
|
version: z.ZodString;
|
|
64
64
|
}, "strip", z.ZodTypeAny, {
|
|
65
|
-
version: string;
|
|
66
65
|
name: string;
|
|
67
|
-
}, {
|
|
68
66
|
version: string;
|
|
67
|
+
}, {
|
|
69
68
|
name: string;
|
|
69
|
+
version: string;
|
|
70
70
|
}>, "many">>;
|
|
71
71
|
build: z.ZodObject<{
|
|
72
72
|
env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
@@ -120,18 +120,12 @@ export declare const BuildManifest: z.ZodObject<{
|
|
|
120
120
|
exclude?: string[] | undefined;
|
|
121
121
|
}>>;
|
|
122
122
|
}, "strip", z.ZodTypeAny, {
|
|
123
|
-
config: {
|
|
124
|
-
project: string;
|
|
125
|
-
dirs: string[];
|
|
126
|
-
};
|
|
127
|
-
sources: Record<string, {
|
|
128
|
-
contentHash: string;
|
|
129
|
-
contents: string;
|
|
130
|
-
}>;
|
|
131
123
|
environment: string;
|
|
132
124
|
contentHash: string;
|
|
133
|
-
|
|
125
|
+
configPath: string;
|
|
126
|
+
runtime: "node" | "bun";
|
|
134
127
|
cliPackageVersion: string;
|
|
128
|
+
packageVersion: string;
|
|
135
129
|
deploy: {
|
|
136
130
|
env?: Record<string, string> | undefined;
|
|
137
131
|
sync?: {
|
|
@@ -139,15 +133,21 @@ export declare const BuildManifest: z.ZodObject<{
|
|
|
139
133
|
} | undefined;
|
|
140
134
|
};
|
|
141
135
|
target: "dev" | "deploy";
|
|
142
|
-
|
|
136
|
+
config: {
|
|
137
|
+
project: string;
|
|
138
|
+
dirs: string[];
|
|
139
|
+
};
|
|
143
140
|
files: {
|
|
144
141
|
entry: string;
|
|
145
142
|
out: string;
|
|
146
143
|
}[];
|
|
144
|
+
sources: Record<string, {
|
|
145
|
+
contentHash: string;
|
|
146
|
+
contents: string;
|
|
147
|
+
}>;
|
|
147
148
|
outputPath: string;
|
|
148
149
|
runWorkerEntryPoint: string;
|
|
149
150
|
indexWorkerEntryPoint: string;
|
|
150
|
-
configPath: string;
|
|
151
151
|
build: {
|
|
152
152
|
env?: Record<string, string> | undefined;
|
|
153
153
|
commands?: string[] | undefined;
|
|
@@ -156,8 +156,8 @@ export declare const BuildManifest: z.ZodObject<{
|
|
|
156
156
|
indexControllerEntryPoint?: string | undefined;
|
|
157
157
|
loaderEntryPoint?: string | undefined;
|
|
158
158
|
externals?: {
|
|
159
|
-
version: string;
|
|
160
159
|
name: string;
|
|
160
|
+
version: string;
|
|
161
161
|
}[] | undefined;
|
|
162
162
|
customConditions?: string[] | undefined;
|
|
163
163
|
image?: {
|
|
@@ -169,18 +169,12 @@ export declare const BuildManifest: z.ZodObject<{
|
|
|
169
169
|
exclude?: string[] | undefined;
|
|
170
170
|
} | undefined;
|
|
171
171
|
}, {
|
|
172
|
-
config: {
|
|
173
|
-
project: string;
|
|
174
|
-
dirs: string[];
|
|
175
|
-
};
|
|
176
|
-
sources: Record<string, {
|
|
177
|
-
contentHash: string;
|
|
178
|
-
contents: string;
|
|
179
|
-
}>;
|
|
180
172
|
environment: string;
|
|
181
173
|
contentHash: string;
|
|
182
|
-
|
|
174
|
+
configPath: string;
|
|
175
|
+
runtime: "node" | "bun";
|
|
183
176
|
cliPackageVersion: string;
|
|
177
|
+
packageVersion: string;
|
|
184
178
|
deploy: {
|
|
185
179
|
env?: Record<string, string> | undefined;
|
|
186
180
|
sync?: {
|
|
@@ -188,15 +182,21 @@ export declare const BuildManifest: z.ZodObject<{
|
|
|
188
182
|
} | undefined;
|
|
189
183
|
};
|
|
190
184
|
target: "dev" | "deploy";
|
|
191
|
-
|
|
185
|
+
config: {
|
|
186
|
+
project: string;
|
|
187
|
+
dirs: string[];
|
|
188
|
+
};
|
|
192
189
|
files: {
|
|
193
190
|
entry: string;
|
|
194
191
|
out: string;
|
|
195
192
|
}[];
|
|
193
|
+
sources: Record<string, {
|
|
194
|
+
contentHash: string;
|
|
195
|
+
contents: string;
|
|
196
|
+
}>;
|
|
196
197
|
outputPath: string;
|
|
197
198
|
runWorkerEntryPoint: string;
|
|
198
199
|
indexWorkerEntryPoint: string;
|
|
199
|
-
configPath: string;
|
|
200
200
|
build: {
|
|
201
201
|
env?: Record<string, string> | undefined;
|
|
202
202
|
commands?: string[] | undefined;
|
|
@@ -205,8 +205,8 @@ export declare const BuildManifest: z.ZodObject<{
|
|
|
205
205
|
indexControllerEntryPoint?: string | undefined;
|
|
206
206
|
loaderEntryPoint?: string | undefined;
|
|
207
207
|
externals?: {
|
|
208
|
-
version: string;
|
|
209
208
|
name: string;
|
|
209
|
+
version: string;
|
|
210
210
|
}[] | undefined;
|
|
211
211
|
customConditions?: string[] | undefined;
|
|
212
212
|
image?: {
|
|
@@ -270,11 +270,11 @@ export declare const IndexMessage: z.ZodObject<{
|
|
|
270
270
|
name: z.ZodString;
|
|
271
271
|
version: z.ZodString;
|
|
272
272
|
}, "strip", z.ZodTypeAny, {
|
|
273
|
-
version: string;
|
|
274
273
|
name: string;
|
|
275
|
-
}, {
|
|
276
274
|
version: string;
|
|
275
|
+
}, {
|
|
277
276
|
name: string;
|
|
277
|
+
version: string;
|
|
278
278
|
}>, "many">>;
|
|
279
279
|
build: z.ZodObject<{
|
|
280
280
|
env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
@@ -328,18 +328,12 @@ export declare const IndexMessage: z.ZodObject<{
|
|
|
328
328
|
exclude?: string[] | undefined;
|
|
329
329
|
}>>;
|
|
330
330
|
}, "strip", z.ZodTypeAny, {
|
|
331
|
-
config: {
|
|
332
|
-
project: string;
|
|
333
|
-
dirs: string[];
|
|
334
|
-
};
|
|
335
|
-
sources: Record<string, {
|
|
336
|
-
contentHash: string;
|
|
337
|
-
contents: string;
|
|
338
|
-
}>;
|
|
339
331
|
environment: string;
|
|
340
332
|
contentHash: string;
|
|
341
|
-
|
|
333
|
+
configPath: string;
|
|
334
|
+
runtime: "node" | "bun";
|
|
342
335
|
cliPackageVersion: string;
|
|
336
|
+
packageVersion: string;
|
|
343
337
|
deploy: {
|
|
344
338
|
env?: Record<string, string> | undefined;
|
|
345
339
|
sync?: {
|
|
@@ -347,15 +341,21 @@ export declare const IndexMessage: z.ZodObject<{
|
|
|
347
341
|
} | undefined;
|
|
348
342
|
};
|
|
349
343
|
target: "dev" | "deploy";
|
|
350
|
-
|
|
344
|
+
config: {
|
|
345
|
+
project: string;
|
|
346
|
+
dirs: string[];
|
|
347
|
+
};
|
|
351
348
|
files: {
|
|
352
349
|
entry: string;
|
|
353
350
|
out: string;
|
|
354
351
|
}[];
|
|
352
|
+
sources: Record<string, {
|
|
353
|
+
contentHash: string;
|
|
354
|
+
contents: string;
|
|
355
|
+
}>;
|
|
355
356
|
outputPath: string;
|
|
356
357
|
runWorkerEntryPoint: string;
|
|
357
358
|
indexWorkerEntryPoint: string;
|
|
358
|
-
configPath: string;
|
|
359
359
|
build: {
|
|
360
360
|
env?: Record<string, string> | undefined;
|
|
361
361
|
commands?: string[] | undefined;
|
|
@@ -364,8 +364,8 @@ export declare const IndexMessage: z.ZodObject<{
|
|
|
364
364
|
indexControllerEntryPoint?: string | undefined;
|
|
365
365
|
loaderEntryPoint?: string | undefined;
|
|
366
366
|
externals?: {
|
|
367
|
-
version: string;
|
|
368
367
|
name: string;
|
|
368
|
+
version: string;
|
|
369
369
|
}[] | undefined;
|
|
370
370
|
customConditions?: string[] | undefined;
|
|
371
371
|
image?: {
|
|
@@ -377,18 +377,12 @@ export declare const IndexMessage: z.ZodObject<{
|
|
|
377
377
|
exclude?: string[] | undefined;
|
|
378
378
|
} | undefined;
|
|
379
379
|
}, {
|
|
380
|
-
config: {
|
|
381
|
-
project: string;
|
|
382
|
-
dirs: string[];
|
|
383
|
-
};
|
|
384
|
-
sources: Record<string, {
|
|
385
|
-
contentHash: string;
|
|
386
|
-
contents: string;
|
|
387
|
-
}>;
|
|
388
380
|
environment: string;
|
|
389
381
|
contentHash: string;
|
|
390
|
-
|
|
382
|
+
configPath: string;
|
|
383
|
+
runtime: "node" | "bun";
|
|
391
384
|
cliPackageVersion: string;
|
|
385
|
+
packageVersion: string;
|
|
392
386
|
deploy: {
|
|
393
387
|
env?: Record<string, string> | undefined;
|
|
394
388
|
sync?: {
|
|
@@ -396,15 +390,21 @@ export declare const IndexMessage: z.ZodObject<{
|
|
|
396
390
|
} | undefined;
|
|
397
391
|
};
|
|
398
392
|
target: "dev" | "deploy";
|
|
399
|
-
|
|
393
|
+
config: {
|
|
394
|
+
project: string;
|
|
395
|
+
dirs: string[];
|
|
396
|
+
};
|
|
400
397
|
files: {
|
|
401
398
|
entry: string;
|
|
402
399
|
out: string;
|
|
403
400
|
}[];
|
|
401
|
+
sources: Record<string, {
|
|
402
|
+
contentHash: string;
|
|
403
|
+
contents: string;
|
|
404
|
+
}>;
|
|
404
405
|
outputPath: string;
|
|
405
406
|
runWorkerEntryPoint: string;
|
|
406
407
|
indexWorkerEntryPoint: string;
|
|
407
|
-
configPath: string;
|
|
408
408
|
build: {
|
|
409
409
|
env?: Record<string, string> | undefined;
|
|
410
410
|
commands?: string[] | undefined;
|
|
@@ -413,8 +413,8 @@ export declare const IndexMessage: z.ZodObject<{
|
|
|
413
413
|
indexControllerEntryPoint?: string | undefined;
|
|
414
414
|
loaderEntryPoint?: string | undefined;
|
|
415
415
|
externals?: {
|
|
416
|
-
version: string;
|
|
417
416
|
name: string;
|
|
417
|
+
version: string;
|
|
418
418
|
}[] | undefined;
|
|
419
419
|
customConditions?: string[] | undefined;
|
|
420
420
|
image?: {
|
|
@@ -428,18 +428,12 @@ export declare const IndexMessage: z.ZodObject<{
|
|
|
428
428
|
}>;
|
|
429
429
|
}, "strip", z.ZodTypeAny, {
|
|
430
430
|
build: {
|
|
431
|
-
config: {
|
|
432
|
-
project: string;
|
|
433
|
-
dirs: string[];
|
|
434
|
-
};
|
|
435
|
-
sources: Record<string, {
|
|
436
|
-
contentHash: string;
|
|
437
|
-
contents: string;
|
|
438
|
-
}>;
|
|
439
431
|
environment: string;
|
|
440
432
|
contentHash: string;
|
|
441
|
-
|
|
433
|
+
configPath: string;
|
|
434
|
+
runtime: "node" | "bun";
|
|
442
435
|
cliPackageVersion: string;
|
|
436
|
+
packageVersion: string;
|
|
443
437
|
deploy: {
|
|
444
438
|
env?: Record<string, string> | undefined;
|
|
445
439
|
sync?: {
|
|
@@ -447,15 +441,21 @@ export declare const IndexMessage: z.ZodObject<{
|
|
|
447
441
|
} | undefined;
|
|
448
442
|
};
|
|
449
443
|
target: "dev" | "deploy";
|
|
450
|
-
|
|
444
|
+
config: {
|
|
445
|
+
project: string;
|
|
446
|
+
dirs: string[];
|
|
447
|
+
};
|
|
451
448
|
files: {
|
|
452
449
|
entry: string;
|
|
453
450
|
out: string;
|
|
454
451
|
}[];
|
|
452
|
+
sources: Record<string, {
|
|
453
|
+
contentHash: string;
|
|
454
|
+
contents: string;
|
|
455
|
+
}>;
|
|
455
456
|
outputPath: string;
|
|
456
457
|
runWorkerEntryPoint: string;
|
|
457
458
|
indexWorkerEntryPoint: string;
|
|
458
|
-
configPath: string;
|
|
459
459
|
build: {
|
|
460
460
|
env?: Record<string, string> | undefined;
|
|
461
461
|
commands?: string[] | undefined;
|
|
@@ -464,8 +464,8 @@ export declare const IndexMessage: z.ZodObject<{
|
|
|
464
464
|
indexControllerEntryPoint?: string | undefined;
|
|
465
465
|
loaderEntryPoint?: string | undefined;
|
|
466
466
|
externals?: {
|
|
467
|
-
version: string;
|
|
468
467
|
name: string;
|
|
468
|
+
version: string;
|
|
469
469
|
}[] | undefined;
|
|
470
470
|
customConditions?: string[] | undefined;
|
|
471
471
|
image?: {
|
|
@@ -479,18 +479,12 @@ export declare const IndexMessage: z.ZodObject<{
|
|
|
479
479
|
};
|
|
480
480
|
}, {
|
|
481
481
|
build: {
|
|
482
|
-
config: {
|
|
483
|
-
project: string;
|
|
484
|
-
dirs: string[];
|
|
485
|
-
};
|
|
486
|
-
sources: Record<string, {
|
|
487
|
-
contentHash: string;
|
|
488
|
-
contents: string;
|
|
489
|
-
}>;
|
|
490
482
|
environment: string;
|
|
491
483
|
contentHash: string;
|
|
492
|
-
|
|
484
|
+
configPath: string;
|
|
485
|
+
runtime: "node" | "bun";
|
|
493
486
|
cliPackageVersion: string;
|
|
487
|
+
packageVersion: string;
|
|
494
488
|
deploy: {
|
|
495
489
|
env?: Record<string, string> | undefined;
|
|
496
490
|
sync?: {
|
|
@@ -498,15 +492,21 @@ export declare const IndexMessage: z.ZodObject<{
|
|
|
498
492
|
} | undefined;
|
|
499
493
|
};
|
|
500
494
|
target: "dev" | "deploy";
|
|
501
|
-
|
|
495
|
+
config: {
|
|
496
|
+
project: string;
|
|
497
|
+
dirs: string[];
|
|
498
|
+
};
|
|
502
499
|
files: {
|
|
503
500
|
entry: string;
|
|
504
501
|
out: string;
|
|
505
502
|
}[];
|
|
503
|
+
sources: Record<string, {
|
|
504
|
+
contentHash: string;
|
|
505
|
+
contents: string;
|
|
506
|
+
}>;
|
|
506
507
|
outputPath: string;
|
|
507
508
|
runWorkerEntryPoint: string;
|
|
508
509
|
indexWorkerEntryPoint: string;
|
|
509
|
-
configPath: string;
|
|
510
510
|
build: {
|
|
511
511
|
env?: Record<string, string> | undefined;
|
|
512
512
|
commands?: string[] | undefined;
|
|
@@ -515,8 +515,8 @@ export declare const IndexMessage: z.ZodObject<{
|
|
|
515
515
|
indexControllerEntryPoint?: string | undefined;
|
|
516
516
|
loaderEntryPoint?: string | undefined;
|
|
517
517
|
externals?: {
|
|
518
|
-
version: string;
|
|
519
518
|
name: string;
|
|
519
|
+
version: string;
|
|
520
520
|
}[] | undefined;
|
|
521
521
|
customConditions?: string[] | undefined;
|
|
522
522
|
image?: {
|
|
@@ -530,21 +530,14 @@ export declare const IndexMessage: z.ZodObject<{
|
|
|
530
530
|
};
|
|
531
531
|
}>;
|
|
532
532
|
}, "strip", z.ZodTypeAny, {
|
|
533
|
-
type: "index";
|
|
534
533
|
data: {
|
|
535
534
|
build: {
|
|
536
|
-
config: {
|
|
537
|
-
project: string;
|
|
538
|
-
dirs: string[];
|
|
539
|
-
};
|
|
540
|
-
sources: Record<string, {
|
|
541
|
-
contentHash: string;
|
|
542
|
-
contents: string;
|
|
543
|
-
}>;
|
|
544
535
|
environment: string;
|
|
545
536
|
contentHash: string;
|
|
546
|
-
|
|
537
|
+
configPath: string;
|
|
538
|
+
runtime: "node" | "bun";
|
|
547
539
|
cliPackageVersion: string;
|
|
540
|
+
packageVersion: string;
|
|
548
541
|
deploy: {
|
|
549
542
|
env?: Record<string, string> | undefined;
|
|
550
543
|
sync?: {
|
|
@@ -552,15 +545,21 @@ export declare const IndexMessage: z.ZodObject<{
|
|
|
552
545
|
} | undefined;
|
|
553
546
|
};
|
|
554
547
|
target: "dev" | "deploy";
|
|
555
|
-
|
|
548
|
+
config: {
|
|
549
|
+
project: string;
|
|
550
|
+
dirs: string[];
|
|
551
|
+
};
|
|
556
552
|
files: {
|
|
557
553
|
entry: string;
|
|
558
554
|
out: string;
|
|
559
555
|
}[];
|
|
556
|
+
sources: Record<string, {
|
|
557
|
+
contentHash: string;
|
|
558
|
+
contents: string;
|
|
559
|
+
}>;
|
|
560
560
|
outputPath: string;
|
|
561
561
|
runWorkerEntryPoint: string;
|
|
562
562
|
indexWorkerEntryPoint: string;
|
|
563
|
-
configPath: string;
|
|
564
563
|
build: {
|
|
565
564
|
env?: Record<string, string> | undefined;
|
|
566
565
|
commands?: string[] | undefined;
|
|
@@ -569,8 +568,8 @@ export declare const IndexMessage: z.ZodObject<{
|
|
|
569
568
|
indexControllerEntryPoint?: string | undefined;
|
|
570
569
|
loaderEntryPoint?: string | undefined;
|
|
571
570
|
externals?: {
|
|
572
|
-
version: string;
|
|
573
571
|
name: string;
|
|
572
|
+
version: string;
|
|
574
573
|
}[] | undefined;
|
|
575
574
|
customConditions?: string[] | undefined;
|
|
576
575
|
image?: {
|
|
@@ -583,22 +582,16 @@ export declare const IndexMessage: z.ZodObject<{
|
|
|
583
582
|
} | undefined;
|
|
584
583
|
};
|
|
585
584
|
};
|
|
586
|
-
}, {
|
|
587
585
|
type: "index";
|
|
586
|
+
}, {
|
|
588
587
|
data: {
|
|
589
588
|
build: {
|
|
590
|
-
config: {
|
|
591
|
-
project: string;
|
|
592
|
-
dirs: string[];
|
|
593
|
-
};
|
|
594
|
-
sources: Record<string, {
|
|
595
|
-
contentHash: string;
|
|
596
|
-
contents: string;
|
|
597
|
-
}>;
|
|
598
589
|
environment: string;
|
|
599
590
|
contentHash: string;
|
|
600
|
-
|
|
591
|
+
configPath: string;
|
|
592
|
+
runtime: "node" | "bun";
|
|
601
593
|
cliPackageVersion: string;
|
|
594
|
+
packageVersion: string;
|
|
602
595
|
deploy: {
|
|
603
596
|
env?: Record<string, string> | undefined;
|
|
604
597
|
sync?: {
|
|
@@ -606,15 +599,21 @@ export declare const IndexMessage: z.ZodObject<{
|
|
|
606
599
|
} | undefined;
|
|
607
600
|
};
|
|
608
601
|
target: "dev" | "deploy";
|
|
609
|
-
|
|
602
|
+
config: {
|
|
603
|
+
project: string;
|
|
604
|
+
dirs: string[];
|
|
605
|
+
};
|
|
610
606
|
files: {
|
|
611
607
|
entry: string;
|
|
612
608
|
out: string;
|
|
613
609
|
}[];
|
|
610
|
+
sources: Record<string, {
|
|
611
|
+
contentHash: string;
|
|
612
|
+
contents: string;
|
|
613
|
+
}>;
|
|
614
614
|
outputPath: string;
|
|
615
615
|
runWorkerEntryPoint: string;
|
|
616
616
|
indexWorkerEntryPoint: string;
|
|
617
|
-
configPath: string;
|
|
618
617
|
build: {
|
|
619
618
|
env?: Record<string, string> | undefined;
|
|
620
619
|
commands?: string[] | undefined;
|
|
@@ -623,8 +622,8 @@ export declare const IndexMessage: z.ZodObject<{
|
|
|
623
622
|
indexControllerEntryPoint?: string | undefined;
|
|
624
623
|
loaderEntryPoint?: string | undefined;
|
|
625
624
|
externals?: {
|
|
626
|
-
version: string;
|
|
627
625
|
name: string;
|
|
626
|
+
version: string;
|
|
628
627
|
}[] | undefined;
|
|
629
628
|
customConditions?: string[] | undefined;
|
|
630
629
|
image?: {
|
|
@@ -637,6 +636,7 @@ export declare const IndexMessage: z.ZodObject<{
|
|
|
637
636
|
} | undefined;
|
|
638
637
|
};
|
|
639
638
|
};
|
|
639
|
+
type: "index";
|
|
640
640
|
}>;
|
|
641
641
|
export type IndexMessage = z.infer<typeof IndexMessage>;
|
|
642
642
|
export declare const WorkerManifest: z.ZodObject<{
|
|
@@ -855,12 +855,12 @@ export declare const WorkerManifest: z.ZodObject<{
|
|
|
855
855
|
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>]>>;
|
|
856
856
|
preset: z.ZodOptional<z.ZodEnum<["micro", "small-1x", "small-2x", "medium-1x", "medium-2x", "large-1x", "large-2x"]>>;
|
|
857
857
|
}, "strip", z.ZodTypeAny, {
|
|
858
|
-
cpu?:
|
|
859
|
-
memory?:
|
|
858
|
+
cpu?: 2 | 1 | 0.25 | 0.5 | 4 | undefined;
|
|
859
|
+
memory?: 2 | 1 | 0.25 | 0.5 | 4 | 8 | undefined;
|
|
860
860
|
preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
|
|
861
861
|
}, {
|
|
862
|
-
cpu?:
|
|
863
|
-
memory?:
|
|
862
|
+
cpu?: 2 | 1 | 0.25 | 0.5 | 4 | undefined;
|
|
863
|
+
memory?: 2 | 1 | 0.25 | 0.5 | 4 | 8 | undefined;
|
|
864
864
|
preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
|
|
865
865
|
}>>;
|
|
866
866
|
triggerSource: z.ZodOptional<z.ZodString>;
|
|
@@ -874,6 +874,7 @@ export declare const WorkerManifest: z.ZodObject<{
|
|
|
874
874
|
cron: string;
|
|
875
875
|
timezone: string;
|
|
876
876
|
}>>;
|
|
877
|
+
maxDuration: z.ZodOptional<z.ZodNumber>;
|
|
877
878
|
}, "strip", z.ZodTypeAny, {
|
|
878
879
|
id: string;
|
|
879
880
|
filePath: string;
|
|
@@ -924,8 +925,8 @@ export declare const WorkerManifest: z.ZodObject<{
|
|
|
924
925
|
randomize?: boolean | undefined;
|
|
925
926
|
} | undefined;
|
|
926
927
|
machine?: {
|
|
927
|
-
cpu?:
|
|
928
|
-
memory?:
|
|
928
|
+
cpu?: 2 | 1 | 0.25 | 0.5 | 4 | undefined;
|
|
929
|
+
memory?: 2 | 1 | 0.25 | 0.5 | 4 | 8 | undefined;
|
|
929
930
|
preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
|
|
930
931
|
} | undefined;
|
|
931
932
|
triggerSource?: string | undefined;
|
|
@@ -933,6 +934,7 @@ export declare const WorkerManifest: z.ZodObject<{
|
|
|
933
934
|
cron: string;
|
|
934
935
|
timezone: string;
|
|
935
936
|
} | undefined;
|
|
937
|
+
maxDuration?: number | undefined;
|
|
936
938
|
}, {
|
|
937
939
|
id: string;
|
|
938
940
|
filePath: string;
|
|
@@ -983,8 +985,8 @@ export declare const WorkerManifest: z.ZodObject<{
|
|
|
983
985
|
randomize?: boolean | undefined;
|
|
984
986
|
} | undefined;
|
|
985
987
|
machine?: {
|
|
986
|
-
cpu?:
|
|
987
|
-
memory?:
|
|
988
|
+
cpu?: 2 | 1 | 0.25 | 0.5 | 4 | undefined;
|
|
989
|
+
memory?: 2 | 1 | 0.25 | 0.5 | 4 | 8 | undefined;
|
|
988
990
|
preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
|
|
989
991
|
} | undefined;
|
|
990
992
|
triggerSource?: string | undefined;
|
|
@@ -992,6 +994,7 @@ export declare const WorkerManifest: z.ZodObject<{
|
|
|
992
994
|
cron: string;
|
|
993
995
|
timezone: string;
|
|
994
996
|
} | undefined;
|
|
997
|
+
maxDuration?: number | undefined;
|
|
995
998
|
}>, "many">;
|
|
996
999
|
workerEntryPoint: z.ZodString;
|
|
997
1000
|
controllerEntryPoint: z.ZodOptional<z.ZodString>;
|
|
@@ -1059,8 +1062,8 @@ export declare const WorkerManifest: z.ZodObject<{
|
|
|
1059
1062
|
randomize?: boolean | undefined;
|
|
1060
1063
|
} | undefined;
|
|
1061
1064
|
machine?: {
|
|
1062
|
-
cpu?:
|
|
1063
|
-
memory?:
|
|
1065
|
+
cpu?: 2 | 1 | 0.25 | 0.5 | 4 | undefined;
|
|
1066
|
+
memory?: 2 | 1 | 0.25 | 0.5 | 4 | 8 | undefined;
|
|
1064
1067
|
preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
|
|
1065
1068
|
} | undefined;
|
|
1066
1069
|
triggerSource?: string | undefined;
|
|
@@ -1068,10 +1071,11 @@ export declare const WorkerManifest: z.ZodObject<{
|
|
|
1068
1071
|
cron: string;
|
|
1069
1072
|
timezone: string;
|
|
1070
1073
|
} | undefined;
|
|
1074
|
+
maxDuration?: number | undefined;
|
|
1071
1075
|
}[];
|
|
1072
|
-
runtime: "node" | "bun";
|
|
1073
1076
|
configPath: string;
|
|
1074
1077
|
workerEntryPoint: string;
|
|
1078
|
+
runtime: "node" | "bun";
|
|
1075
1079
|
controllerEntryPoint?: string | undefined;
|
|
1076
1080
|
loaderEntryPoint?: string | undefined;
|
|
1077
1081
|
customConditions?: string[] | undefined;
|
|
@@ -1130,8 +1134,8 @@ export declare const WorkerManifest: z.ZodObject<{
|
|
|
1130
1134
|
randomize?: boolean | undefined;
|
|
1131
1135
|
} | undefined;
|
|
1132
1136
|
machine?: {
|
|
1133
|
-
cpu?:
|
|
1134
|
-
memory?:
|
|
1137
|
+
cpu?: 2 | 1 | 0.25 | 0.5 | 4 | undefined;
|
|
1138
|
+
memory?: 2 | 1 | 0.25 | 0.5 | 4 | 8 | undefined;
|
|
1135
1139
|
preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
|
|
1136
1140
|
} | undefined;
|
|
1137
1141
|
triggerSource?: string | undefined;
|
|
@@ -1139,10 +1143,11 @@ export declare const WorkerManifest: z.ZodObject<{
|
|
|
1139
1143
|
cron: string;
|
|
1140
1144
|
timezone: string;
|
|
1141
1145
|
} | undefined;
|
|
1146
|
+
maxDuration?: number | undefined;
|
|
1142
1147
|
}[];
|
|
1143
|
-
runtime: "node" | "bun";
|
|
1144
1148
|
configPath: string;
|
|
1145
1149
|
workerEntryPoint: string;
|
|
1150
|
+
runtime: "node" | "bun";
|
|
1146
1151
|
controllerEntryPoint?: string | undefined;
|
|
1147
1152
|
loaderEntryPoint?: string | undefined;
|
|
1148
1153
|
customConditions?: string[] | undefined;
|
|
@@ -1371,12 +1376,12 @@ export declare const WorkerManifestMessage: z.ZodObject<{
|
|
|
1371
1376
|
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>]>>;
|
|
1372
1377
|
preset: z.ZodOptional<z.ZodEnum<["micro", "small-1x", "small-2x", "medium-1x", "medium-2x", "large-1x", "large-2x"]>>;
|
|
1373
1378
|
}, "strip", z.ZodTypeAny, {
|
|
1374
|
-
cpu?:
|
|
1375
|
-
memory?:
|
|
1379
|
+
cpu?: 2 | 1 | 0.25 | 0.5 | 4 | undefined;
|
|
1380
|
+
memory?: 2 | 1 | 0.25 | 0.5 | 4 | 8 | undefined;
|
|
1376
1381
|
preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
|
|
1377
1382
|
}, {
|
|
1378
|
-
cpu?:
|
|
1379
|
-
memory?:
|
|
1383
|
+
cpu?: 2 | 1 | 0.25 | 0.5 | 4 | undefined;
|
|
1384
|
+
memory?: 2 | 1 | 0.25 | 0.5 | 4 | 8 | undefined;
|
|
1380
1385
|
preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
|
|
1381
1386
|
}>>;
|
|
1382
1387
|
triggerSource: z.ZodOptional<z.ZodString>;
|
|
@@ -1390,6 +1395,7 @@ export declare const WorkerManifestMessage: z.ZodObject<{
|
|
|
1390
1395
|
cron: string;
|
|
1391
1396
|
timezone: string;
|
|
1392
1397
|
}>>;
|
|
1398
|
+
maxDuration: z.ZodOptional<z.ZodNumber>;
|
|
1393
1399
|
}, "strip", z.ZodTypeAny, {
|
|
1394
1400
|
id: string;
|
|
1395
1401
|
filePath: string;
|
|
@@ -1440,8 +1446,8 @@ export declare const WorkerManifestMessage: z.ZodObject<{
|
|
|
1440
1446
|
randomize?: boolean | undefined;
|
|
1441
1447
|
} | undefined;
|
|
1442
1448
|
machine?: {
|
|
1443
|
-
cpu?:
|
|
1444
|
-
memory?:
|
|
1449
|
+
cpu?: 2 | 1 | 0.25 | 0.5 | 4 | undefined;
|
|
1450
|
+
memory?: 2 | 1 | 0.25 | 0.5 | 4 | 8 | undefined;
|
|
1445
1451
|
preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
|
|
1446
1452
|
} | undefined;
|
|
1447
1453
|
triggerSource?: string | undefined;
|
|
@@ -1449,6 +1455,7 @@ export declare const WorkerManifestMessage: z.ZodObject<{
|
|
|
1449
1455
|
cron: string;
|
|
1450
1456
|
timezone: string;
|
|
1451
1457
|
} | undefined;
|
|
1458
|
+
maxDuration?: number | undefined;
|
|
1452
1459
|
}, {
|
|
1453
1460
|
id: string;
|
|
1454
1461
|
filePath: string;
|
|
@@ -1499,8 +1506,8 @@ export declare const WorkerManifestMessage: z.ZodObject<{
|
|
|
1499
1506
|
randomize?: boolean | undefined;
|
|
1500
1507
|
} | undefined;
|
|
1501
1508
|
machine?: {
|
|
1502
|
-
cpu?:
|
|
1503
|
-
memory?:
|
|
1509
|
+
cpu?: 2 | 1 | 0.25 | 0.5 | 4 | undefined;
|
|
1510
|
+
memory?: 2 | 1 | 0.25 | 0.5 | 4 | 8 | undefined;
|
|
1504
1511
|
preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
|
|
1505
1512
|
} | undefined;
|
|
1506
1513
|
triggerSource?: string | undefined;
|
|
@@ -1508,6 +1515,7 @@ export declare const WorkerManifestMessage: z.ZodObject<{
|
|
|
1508
1515
|
cron: string;
|
|
1509
1516
|
timezone: string;
|
|
1510
1517
|
} | undefined;
|
|
1518
|
+
maxDuration?: number | undefined;
|
|
1511
1519
|
}>, "many">;
|
|
1512
1520
|
workerEntryPoint: z.ZodString;
|
|
1513
1521
|
controllerEntryPoint: z.ZodOptional<z.ZodString>;
|
|
@@ -1575,8 +1583,8 @@ export declare const WorkerManifestMessage: z.ZodObject<{
|
|
|
1575
1583
|
randomize?: boolean | undefined;
|
|
1576
1584
|
} | undefined;
|
|
1577
1585
|
machine?: {
|
|
1578
|
-
cpu?:
|
|
1579
|
-
memory?:
|
|
1586
|
+
cpu?: 2 | 1 | 0.25 | 0.5 | 4 | undefined;
|
|
1587
|
+
memory?: 2 | 1 | 0.25 | 0.5 | 4 | 8 | undefined;
|
|
1580
1588
|
preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
|
|
1581
1589
|
} | undefined;
|
|
1582
1590
|
triggerSource?: string | undefined;
|
|
@@ -1584,10 +1592,11 @@ export declare const WorkerManifestMessage: z.ZodObject<{
|
|
|
1584
1592
|
cron: string;
|
|
1585
1593
|
timezone: string;
|
|
1586
1594
|
} | undefined;
|
|
1595
|
+
maxDuration?: number | undefined;
|
|
1587
1596
|
}[];
|
|
1588
|
-
runtime: "node" | "bun";
|
|
1589
1597
|
configPath: string;
|
|
1590
1598
|
workerEntryPoint: string;
|
|
1599
|
+
runtime: "node" | "bun";
|
|
1591
1600
|
controllerEntryPoint?: string | undefined;
|
|
1592
1601
|
loaderEntryPoint?: string | undefined;
|
|
1593
1602
|
customConditions?: string[] | undefined;
|
|
@@ -1646,8 +1655,8 @@ export declare const WorkerManifestMessage: z.ZodObject<{
|
|
|
1646
1655
|
randomize?: boolean | undefined;
|
|
1647
1656
|
} | undefined;
|
|
1648
1657
|
machine?: {
|
|
1649
|
-
cpu?:
|
|
1650
|
-
memory?:
|
|
1658
|
+
cpu?: 2 | 1 | 0.25 | 0.5 | 4 | undefined;
|
|
1659
|
+
memory?: 2 | 1 | 0.25 | 0.5 | 4 | 8 | undefined;
|
|
1651
1660
|
preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
|
|
1652
1661
|
} | undefined;
|
|
1653
1662
|
triggerSource?: string | undefined;
|
|
@@ -1655,10 +1664,11 @@ export declare const WorkerManifestMessage: z.ZodObject<{
|
|
|
1655
1664
|
cron: string;
|
|
1656
1665
|
timezone: string;
|
|
1657
1666
|
} | undefined;
|
|
1667
|
+
maxDuration?: number | undefined;
|
|
1658
1668
|
}[];
|
|
1659
|
-
runtime: "node" | "bun";
|
|
1660
1669
|
configPath: string;
|
|
1661
1670
|
workerEntryPoint: string;
|
|
1671
|
+
runtime: "node" | "bun";
|
|
1662
1672
|
controllerEntryPoint?: string | undefined;
|
|
1663
1673
|
loaderEntryPoint?: string | undefined;
|
|
1664
1674
|
customConditions?: string[] | undefined;
|
|
@@ -1719,8 +1729,8 @@ export declare const WorkerManifestMessage: z.ZodObject<{
|
|
|
1719
1729
|
randomize?: boolean | undefined;
|
|
1720
1730
|
} | undefined;
|
|
1721
1731
|
machine?: {
|
|
1722
|
-
cpu?:
|
|
1723
|
-
memory?:
|
|
1732
|
+
cpu?: 2 | 1 | 0.25 | 0.5 | 4 | undefined;
|
|
1733
|
+
memory?: 2 | 1 | 0.25 | 0.5 | 4 | 8 | undefined;
|
|
1724
1734
|
preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
|
|
1725
1735
|
} | undefined;
|
|
1726
1736
|
triggerSource?: string | undefined;
|
|
@@ -1728,10 +1738,11 @@ export declare const WorkerManifestMessage: z.ZodObject<{
|
|
|
1728
1738
|
cron: string;
|
|
1729
1739
|
timezone: string;
|
|
1730
1740
|
} | undefined;
|
|
1741
|
+
maxDuration?: number | undefined;
|
|
1731
1742
|
}[];
|
|
1732
|
-
runtime: "node" | "bun";
|
|
1733
1743
|
configPath: string;
|
|
1734
1744
|
workerEntryPoint: string;
|
|
1745
|
+
runtime: "node" | "bun";
|
|
1735
1746
|
controllerEntryPoint?: string | undefined;
|
|
1736
1747
|
loaderEntryPoint?: string | undefined;
|
|
1737
1748
|
customConditions?: string[] | undefined;
|
|
@@ -1792,8 +1803,8 @@ export declare const WorkerManifestMessage: z.ZodObject<{
|
|
|
1792
1803
|
randomize?: boolean | undefined;
|
|
1793
1804
|
} | undefined;
|
|
1794
1805
|
machine?: {
|
|
1795
|
-
cpu?:
|
|
1796
|
-
memory?:
|
|
1806
|
+
cpu?: 2 | 1 | 0.25 | 0.5 | 4 | undefined;
|
|
1807
|
+
memory?: 2 | 1 | 0.25 | 0.5 | 4 | 8 | undefined;
|
|
1797
1808
|
preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
|
|
1798
1809
|
} | undefined;
|
|
1799
1810
|
triggerSource?: string | undefined;
|
|
@@ -1801,10 +1812,11 @@ export declare const WorkerManifestMessage: z.ZodObject<{
|
|
|
1801
1812
|
cron: string;
|
|
1802
1813
|
timezone: string;
|
|
1803
1814
|
} | undefined;
|
|
1815
|
+
maxDuration?: number | undefined;
|
|
1804
1816
|
}[];
|
|
1805
|
-
runtime: "node" | "bun";
|
|
1806
1817
|
configPath: string;
|
|
1807
1818
|
workerEntryPoint: string;
|
|
1819
|
+
runtime: "node" | "bun";
|
|
1808
1820
|
controllerEntryPoint?: string | undefined;
|
|
1809
1821
|
loaderEntryPoint?: string | undefined;
|
|
1810
1822
|
customConditions?: string[] | undefined;
|
|
@@ -1815,7 +1827,6 @@ export declare const WorkerManifestMessage: z.ZodObject<{
|
|
|
1815
1827
|
};
|
|
1816
1828
|
}>;
|
|
1817
1829
|
}, "strip", z.ZodTypeAny, {
|
|
1818
|
-
type: "worker-manifest";
|
|
1819
1830
|
data: {
|
|
1820
1831
|
manifest: {
|
|
1821
1832
|
tasks: {
|
|
@@ -1868,8 +1879,8 @@ export declare const WorkerManifestMessage: z.ZodObject<{
|
|
|
1868
1879
|
randomize?: boolean | undefined;
|
|
1869
1880
|
} | undefined;
|
|
1870
1881
|
machine?: {
|
|
1871
|
-
cpu?:
|
|
1872
|
-
memory?:
|
|
1882
|
+
cpu?: 2 | 1 | 0.25 | 0.5 | 4 | undefined;
|
|
1883
|
+
memory?: 2 | 1 | 0.25 | 0.5 | 4 | 8 | undefined;
|
|
1873
1884
|
preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
|
|
1874
1885
|
} | undefined;
|
|
1875
1886
|
triggerSource?: string | undefined;
|
|
@@ -1877,10 +1888,11 @@ export declare const WorkerManifestMessage: z.ZodObject<{
|
|
|
1877
1888
|
cron: string;
|
|
1878
1889
|
timezone: string;
|
|
1879
1890
|
} | undefined;
|
|
1891
|
+
maxDuration?: number | undefined;
|
|
1880
1892
|
}[];
|
|
1881
|
-
runtime: "node" | "bun";
|
|
1882
1893
|
configPath: string;
|
|
1883
1894
|
workerEntryPoint: string;
|
|
1895
|
+
runtime: "node" | "bun";
|
|
1884
1896
|
controllerEntryPoint?: string | undefined;
|
|
1885
1897
|
loaderEntryPoint?: string | undefined;
|
|
1886
1898
|
customConditions?: string[] | undefined;
|
|
@@ -1890,8 +1902,8 @@ export declare const WorkerManifestMessage: z.ZodObject<{
|
|
|
1890
1902
|
} | undefined;
|
|
1891
1903
|
};
|
|
1892
1904
|
};
|
|
1893
|
-
}, {
|
|
1894
1905
|
type: "worker-manifest";
|
|
1906
|
+
}, {
|
|
1895
1907
|
data: {
|
|
1896
1908
|
manifest: {
|
|
1897
1909
|
tasks: {
|
|
@@ -1944,8 +1956,8 @@ export declare const WorkerManifestMessage: z.ZodObject<{
|
|
|
1944
1956
|
randomize?: boolean | undefined;
|
|
1945
1957
|
} | undefined;
|
|
1946
1958
|
machine?: {
|
|
1947
|
-
cpu?:
|
|
1948
|
-
memory?:
|
|
1959
|
+
cpu?: 2 | 1 | 0.25 | 0.5 | 4 | undefined;
|
|
1960
|
+
memory?: 2 | 1 | 0.25 | 0.5 | 4 | 8 | undefined;
|
|
1949
1961
|
preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
|
|
1950
1962
|
} | undefined;
|
|
1951
1963
|
triggerSource?: string | undefined;
|
|
@@ -1953,10 +1965,11 @@ export declare const WorkerManifestMessage: z.ZodObject<{
|
|
|
1953
1965
|
cron: string;
|
|
1954
1966
|
timezone: string;
|
|
1955
1967
|
} | undefined;
|
|
1968
|
+
maxDuration?: number | undefined;
|
|
1956
1969
|
}[];
|
|
1957
|
-
runtime: "node" | "bun";
|
|
1958
1970
|
configPath: string;
|
|
1959
1971
|
workerEntryPoint: string;
|
|
1972
|
+
runtime: "node" | "bun";
|
|
1960
1973
|
controllerEntryPoint?: string | undefined;
|
|
1961
1974
|
loaderEntryPoint?: string | undefined;
|
|
1962
1975
|
customConditions?: string[] | undefined;
|
|
@@ -1966,6 +1979,7 @@ export declare const WorkerManifestMessage: z.ZodObject<{
|
|
|
1966
1979
|
} | undefined;
|
|
1967
1980
|
};
|
|
1968
1981
|
};
|
|
1982
|
+
type: "worker-manifest";
|
|
1969
1983
|
}>;
|
|
1970
1984
|
export type WorkerManifestMessage = z.infer<typeof WorkerManifestMessage>;
|
|
1971
1985
|
export declare const ImportError: z.ZodObject<{
|