@trigger.dev/core 0.0.0-v3-prerelease-20241014153026 → 0.0.0-v3-prerelease-20241101212227
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/core.d.ts +1 -1
- package/dist/commonjs/v3/apiClient/core.js +9 -1
- package/dist/commonjs/v3/apiClient/core.js.map +1 -1
- package/dist/commonjs/v3/apiClient/index.d.ts +127 -99
- package/dist/commonjs/v3/apiClient/index.js +100 -4
- package/dist/commonjs/v3/apiClient/index.js.map +1 -1
- package/dist/commonjs/v3/apiClient/runStream.d.ts +50 -0
- package/dist/commonjs/v3/apiClient/runStream.js +159 -0
- package/dist/commonjs/v3/apiClient/runStream.js.map +1 -0
- package/dist/commonjs/v3/apiClient/stream.d.ts +9 -0
- package/dist/commonjs/v3/apiClient/stream.js +37 -0
- package/dist/commonjs/v3/apiClient/stream.js.map +1 -0
- package/dist/commonjs/v3/apiClient/types.d.ts +4 -0
- package/dist/commonjs/v3/apiClientManager/index.d.ts +2 -1
- package/dist/commonjs/v3/apiClientManager/index.js +18 -7
- package/dist/commonjs/v3/apiClientManager/index.js.map +1 -1
- package/dist/commonjs/v3/apiClientManager/types.d.ts +7 -0
- package/dist/commonjs/v3/apps/process.d.ts +2 -0
- package/dist/commonjs/v3/apps/process.js +2 -0
- package/dist/commonjs/v3/apps/process.js.map +1 -1
- package/dist/commonjs/v3/errors.d.ts +11 -4
- package/dist/commonjs/v3/errors.js +221 -24
- package/dist/commonjs/v3/errors.js.map +1 -1
- package/dist/commonjs/v3/index.d.ts +2 -1
- package/dist/commonjs/v3/index.js +4 -3
- package/dist/commonjs/v3/index.js.map +1 -1
- package/dist/commonjs/v3/jwt.d.ts +10 -0
- package/dist/commonjs/v3/jwt.js +34 -0
- package/dist/commonjs/v3/jwt.js.map +1 -0
- package/dist/commonjs/v3/links.d.ts +3 -0
- package/dist/commonjs/v3/links.js +3 -0
- package/dist/commonjs/v3/links.js.map +1 -1
- package/dist/commonjs/v3/otel/index.d.ts +2 -3
- package/dist/commonjs/v3/otel/index.js +15 -21
- package/dist/commonjs/v3/otel/index.js.map +1 -1
- package/dist/commonjs/v3/otel/utils.d.ts +2 -0
- package/dist/commonjs/v3/otel/utils.js +24 -0
- package/dist/commonjs/v3/otel/utils.js.map +1 -0
- package/dist/commonjs/v3/runMetadata/index.d.ts +8 -6
- package/dist/commonjs/v3/runMetadata/index.js +18 -39
- package/dist/commonjs/v3/runMetadata/index.js.map +1 -1
- package/dist/commonjs/v3/runMetadata/manager.d.ts +17 -0
- package/dist/commonjs/v3/runMetadata/manager.js +116 -0
- package/dist/commonjs/v3/runMetadata/manager.js.map +1 -0
- package/dist/commonjs/v3/runMetadata/noopManager.d.ts +12 -0
- package/dist/commonjs/v3/runMetadata/noopManager.js +26 -0
- package/dist/commonjs/v3/runMetadata/noopManager.js.map +1 -0
- package/dist/commonjs/v3/runMetadata/types.d.ts +11 -0
- package/dist/commonjs/v3/runMetadata/types.js +3 -0
- package/dist/commonjs/v3/runMetadata/types.js.map +1 -0
- package/dist/commonjs/v3/runtime/noopRuntimeManager.js +5 -1
- package/dist/commonjs/v3/runtime/noopRuntimeManager.js.map +1 -1
- package/dist/commonjs/v3/runtime/prodRuntimeManager.js +0 -4
- package/dist/commonjs/v3/runtime/prodRuntimeManager.js.map +1 -1
- package/dist/commonjs/v3/schemas/api.d.ts +379 -250
- package/dist/commonjs/v3/schemas/api.js +34 -4
- package/dist/commonjs/v3/schemas/api.js.map +1 -1
- package/dist/commonjs/v3/schemas/build.d.ts +146 -146
- package/dist/commonjs/v3/schemas/common.d.ts +124 -145
- package/dist/commonjs/v3/schemas/common.js +6 -23
- package/dist/commonjs/v3/schemas/common.js.map +1 -1
- package/dist/commonjs/v3/schemas/fetch.d.ts +14 -14
- package/dist/commonjs/v3/schemas/messages.d.ts +2647 -2646
- 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 +22 -22
- package/dist/commonjs/v3/schemas/schemas.d.ts +343 -343
- package/dist/commonjs/v3/tracer.js +2 -2
- package/dist/commonjs/v3/types/idempotencyKeys.d.ts +7 -0
- package/dist/commonjs/v3/types/idempotencyKeys.js +3 -0
- package/dist/commonjs/v3/types/idempotencyKeys.js.map +1 -0
- package/dist/commonjs/v3/types/index.d.ts +9 -63
- package/dist/commonjs/v3/types/index.js +2 -0
- package/dist/commonjs/v3/types/index.js.map +1 -1
- package/dist/commonjs/v3/types/schemas.d.ts +44 -0
- package/dist/commonjs/v3/types/schemas.js +41 -0
- package/dist/commonjs/v3/types/schemas.js.map +1 -0
- package/dist/commonjs/v3/types/tasks.d.ts +474 -0
- package/dist/commonjs/v3/types/tasks.js +42 -0
- package/dist/commonjs/v3/types/tasks.js.map +1 -0
- package/dist/commonjs/v3/utils/flattenAttributes.d.ts +2 -1
- package/dist/commonjs/v3/utils/flattenAttributes.js +39 -16
- package/dist/commonjs/v3/utils/flattenAttributes.js.map +1 -1
- package/dist/commonjs/v3/utils/getEnv.d.ts +1 -0
- package/dist/commonjs/v3/utils/getEnv.js +12 -0
- package/dist/commonjs/v3/utils/getEnv.js.map +1 -1
- package/dist/commonjs/v3/utils/globals.d.ts +2 -2
- package/dist/commonjs/v3/utils/globals.js.map +1 -1
- package/dist/commonjs/v3/utils/ioSerialization.d.ts +1 -0
- package/dist/commonjs/v3/utils/ioSerialization.js +21 -3
- package/dist/commonjs/v3/utils/ioSerialization.js.map +1 -1
- package/dist/commonjs/v3/utils/safeAsyncLocalStorage.d.ts +1 -0
- package/dist/commonjs/v3/utils/safeAsyncLocalStorage.js +3 -0
- package/dist/commonjs/v3/utils/safeAsyncLocalStorage.js.map +1 -1
- package/dist/commonjs/v3/workers/index.d.ts +2 -1
- package/dist/commonjs/v3/workers/index.js +4 -1
- package/dist/commonjs/v3/workers/index.js.map +1 -1
- package/dist/commonjs/v3/workers/taskExecutor.js +43 -9
- package/dist/commonjs/v3/workers/taskExecutor.js.map +1 -1
- package/dist/commonjs/version.js +1 -1
- package/dist/esm/v3/apiClient/core.d.ts +1 -1
- package/dist/esm/v3/apiClient/core.js +9 -1
- package/dist/esm/v3/apiClient/core.js.map +1 -1
- package/dist/esm/v3/apiClient/index.d.ts +127 -99
- package/dist/esm/v3/apiClient/index.js +100 -4
- package/dist/esm/v3/apiClient/index.js.map +1 -1
- package/dist/esm/v3/apiClient/runStream.d.ts +50 -0
- package/dist/esm/v3/apiClient/runStream.js +154 -0
- package/dist/esm/v3/apiClient/runStream.js.map +1 -0
- package/dist/esm/v3/apiClient/stream.d.ts +9 -0
- package/dist/esm/v3/apiClient/stream.js +33 -0
- package/dist/esm/v3/apiClient/stream.js.map +1 -0
- package/dist/esm/v3/apiClient/types.d.ts +4 -0
- package/dist/esm/v3/apiClientManager/index.d.ts +2 -1
- package/dist/esm/v3/apiClientManager/index.js +18 -7
- package/dist/esm/v3/apiClientManager/index.js.map +1 -1
- package/dist/esm/v3/apiClientManager/types.d.ts +7 -0
- package/dist/esm/v3/apps/process.d.ts +2 -0
- package/dist/esm/v3/apps/process.js +2 -0
- package/dist/esm/v3/apps/process.js.map +1 -1
- package/dist/esm/v3/errors.d.ts +11 -4
- package/dist/esm/v3/errors.js +218 -23
- package/dist/esm/v3/errors.js.map +1 -1
- package/dist/esm/v3/index.d.ts +2 -1
- package/dist/esm/v3/index.js +2 -1
- package/dist/esm/v3/index.js.map +1 -1
- package/dist/esm/v3/jwt.d.ts +10 -0
- package/dist/esm/v3/jwt.js +29 -0
- package/dist/esm/v3/jwt.js.map +1 -0
- package/dist/esm/v3/links.d.ts +3 -0
- package/dist/esm/v3/links.js +3 -0
- package/dist/esm/v3/links.js.map +1 -1
- package/dist/esm/v3/otel/index.d.ts +2 -3
- package/dist/esm/v3/otel/index.js +1 -20
- package/dist/esm/v3/otel/index.js.map +1 -1
- package/dist/esm/v3/otel/utils.d.ts +2 -0
- package/dist/esm/v3/otel/utils.js +21 -0
- package/dist/esm/v3/otel/utils.js.map +1 -0
- package/dist/esm/v3/runMetadata/index.d.ts +8 -6
- package/dist/esm/v3/runMetadata/index.js +20 -41
- package/dist/esm/v3/runMetadata/index.js.map +1 -1
- package/dist/esm/v3/runMetadata/manager.d.ts +17 -0
- package/dist/esm/v3/runMetadata/manager.js +112 -0
- package/dist/esm/v3/runMetadata/manager.js.map +1 -0
- package/dist/esm/v3/runMetadata/noopManager.d.ts +12 -0
- package/dist/esm/v3/runMetadata/noopManager.js +22 -0
- package/dist/esm/v3/runMetadata/noopManager.js.map +1 -0
- package/dist/esm/v3/runMetadata/types.d.ts +11 -0
- package/dist/esm/v3/runMetadata/types.js +2 -0
- package/dist/esm/v3/runMetadata/types.js.map +1 -0
- package/dist/esm/v3/runtime/noopRuntimeManager.js +5 -1
- package/dist/esm/v3/runtime/noopRuntimeManager.js.map +1 -1
- package/dist/esm/v3/runtime/prodRuntimeManager.js +0 -4
- package/dist/esm/v3/runtime/prodRuntimeManager.js.map +1 -1
- package/dist/esm/v3/schemas/api.d.ts +379 -250
- package/dist/esm/v3/schemas/api.js +33 -3
- package/dist/esm/v3/schemas/api.js.map +1 -1
- package/dist/esm/v3/schemas/build.d.ts +146 -146
- package/dist/esm/v3/schemas/common.d.ts +124 -145
- package/dist/esm/v3/schemas/common.js +5 -22
- 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 +2647 -2646
- package/dist/esm/v3/schemas/messages.js +1 -0
- package/dist/esm/v3/schemas/messages.js.map +1 -1
- package/dist/esm/v3/schemas/resources.d.ts +22 -22
- package/dist/esm/v3/schemas/schemas.d.ts +343 -343
- package/dist/esm/v3/tracer.js +1 -1
- package/dist/esm/v3/types/idempotencyKeys.d.ts +7 -0
- package/dist/esm/v3/types/idempotencyKeys.js +2 -0
- package/dist/esm/v3/types/idempotencyKeys.js.map +1 -0
- package/dist/esm/v3/types/index.d.ts +9 -63
- package/dist/esm/v3/types/index.js +2 -0
- package/dist/esm/v3/types/index.js.map +1 -1
- package/dist/esm/v3/types/schemas.d.ts +44 -0
- package/dist/esm/v3/types/schemas.js +38 -0
- package/dist/esm/v3/types/schemas.js.map +1 -0
- package/dist/esm/v3/types/tasks.d.ts +474 -0
- package/dist/esm/v3/types/tasks.js +37 -0
- package/dist/esm/v3/types/tasks.js.map +1 -0
- package/dist/esm/v3/utils/flattenAttributes.d.ts +2 -1
- package/dist/esm/v3/utils/flattenAttributes.js +38 -15
- package/dist/esm/v3/utils/flattenAttributes.js.map +1 -1
- package/dist/esm/v3/utils/getEnv.d.ts +1 -0
- package/dist/esm/v3/utils/getEnv.js +11 -0
- package/dist/esm/v3/utils/getEnv.js.map +1 -1
- package/dist/esm/v3/utils/globals.d.ts +2 -2
- package/dist/esm/v3/utils/globals.js.map +1 -1
- package/dist/esm/v3/utils/ioSerialization.d.ts +1 -0
- package/dist/esm/v3/utils/ioSerialization.js +20 -3
- package/dist/esm/v3/utils/ioSerialization.js.map +1 -1
- package/dist/esm/v3/utils/safeAsyncLocalStorage.d.ts +1 -0
- package/dist/esm/v3/utils/safeAsyncLocalStorage.js +3 -0
- package/dist/esm/v3/utils/safeAsyncLocalStorage.js.map +1 -1
- package/dist/esm/v3/workers/index.d.ts +2 -1
- package/dist/esm/v3/workers/index.js +2 -1
- package/dist/esm/v3/workers/index.js.map +1 -1
- package/dist/esm/v3/workers/taskExecutor.js +44 -10
- package/dist/esm/v3/workers/taskExecutor.js.map +1 -1
- package/dist/esm/version.js +1 -1
- package/package.json +35 -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>;
|
|
@@ -925,8 +925,8 @@ export declare const WorkerManifest: z.ZodObject<{
|
|
|
925
925
|
randomize?: boolean | undefined;
|
|
926
926
|
} | undefined;
|
|
927
927
|
machine?: {
|
|
928
|
-
cpu?:
|
|
929
|
-
memory?:
|
|
928
|
+
cpu?: 2 | 1 | 0.25 | 0.5 | 4 | undefined;
|
|
929
|
+
memory?: 2 | 1 | 0.25 | 0.5 | 4 | 8 | undefined;
|
|
930
930
|
preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
|
|
931
931
|
} | undefined;
|
|
932
932
|
triggerSource?: string | undefined;
|
|
@@ -985,8 +985,8 @@ export declare const WorkerManifest: z.ZodObject<{
|
|
|
985
985
|
randomize?: boolean | undefined;
|
|
986
986
|
} | undefined;
|
|
987
987
|
machine?: {
|
|
988
|
-
cpu?:
|
|
989
|
-
memory?:
|
|
988
|
+
cpu?: 2 | 1 | 0.25 | 0.5 | 4 | undefined;
|
|
989
|
+
memory?: 2 | 1 | 0.25 | 0.5 | 4 | 8 | undefined;
|
|
990
990
|
preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
|
|
991
991
|
} | undefined;
|
|
992
992
|
triggerSource?: string | undefined;
|
|
@@ -1062,8 +1062,8 @@ export declare const WorkerManifest: z.ZodObject<{
|
|
|
1062
1062
|
randomize?: boolean | undefined;
|
|
1063
1063
|
} | undefined;
|
|
1064
1064
|
machine?: {
|
|
1065
|
-
cpu?:
|
|
1066
|
-
memory?:
|
|
1065
|
+
cpu?: 2 | 1 | 0.25 | 0.5 | 4 | undefined;
|
|
1066
|
+
memory?: 2 | 1 | 0.25 | 0.5 | 4 | 8 | undefined;
|
|
1067
1067
|
preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
|
|
1068
1068
|
} | undefined;
|
|
1069
1069
|
triggerSource?: string | undefined;
|
|
@@ -1073,9 +1073,9 @@ export declare const WorkerManifest: z.ZodObject<{
|
|
|
1073
1073
|
} | undefined;
|
|
1074
1074
|
maxDuration?: number | undefined;
|
|
1075
1075
|
}[];
|
|
1076
|
-
runtime: "node" | "bun";
|
|
1077
1076
|
configPath: string;
|
|
1078
1077
|
workerEntryPoint: string;
|
|
1078
|
+
runtime: "node" | "bun";
|
|
1079
1079
|
controllerEntryPoint?: string | undefined;
|
|
1080
1080
|
loaderEntryPoint?: string | undefined;
|
|
1081
1081
|
customConditions?: string[] | undefined;
|
|
@@ -1134,8 +1134,8 @@ export declare const WorkerManifest: z.ZodObject<{
|
|
|
1134
1134
|
randomize?: boolean | undefined;
|
|
1135
1135
|
} | undefined;
|
|
1136
1136
|
machine?: {
|
|
1137
|
-
cpu?:
|
|
1138
|
-
memory?:
|
|
1137
|
+
cpu?: 2 | 1 | 0.25 | 0.5 | 4 | undefined;
|
|
1138
|
+
memory?: 2 | 1 | 0.25 | 0.5 | 4 | 8 | undefined;
|
|
1139
1139
|
preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
|
|
1140
1140
|
} | undefined;
|
|
1141
1141
|
triggerSource?: string | undefined;
|
|
@@ -1145,9 +1145,9 @@ export declare const WorkerManifest: z.ZodObject<{
|
|
|
1145
1145
|
} | undefined;
|
|
1146
1146
|
maxDuration?: number | undefined;
|
|
1147
1147
|
}[];
|
|
1148
|
-
runtime: "node" | "bun";
|
|
1149
1148
|
configPath: string;
|
|
1150
1149
|
workerEntryPoint: string;
|
|
1150
|
+
runtime: "node" | "bun";
|
|
1151
1151
|
controllerEntryPoint?: string | undefined;
|
|
1152
1152
|
loaderEntryPoint?: string | undefined;
|
|
1153
1153
|
customConditions?: string[] | undefined;
|
|
@@ -1376,12 +1376,12 @@ export declare const WorkerManifestMessage: z.ZodObject<{
|
|
|
1376
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>]>>;
|
|
1377
1377
|
preset: z.ZodOptional<z.ZodEnum<["micro", "small-1x", "small-2x", "medium-1x", "medium-2x", "large-1x", "large-2x"]>>;
|
|
1378
1378
|
}, "strip", z.ZodTypeAny, {
|
|
1379
|
-
cpu?:
|
|
1380
|
-
memory?:
|
|
1379
|
+
cpu?: 2 | 1 | 0.25 | 0.5 | 4 | undefined;
|
|
1380
|
+
memory?: 2 | 1 | 0.25 | 0.5 | 4 | 8 | undefined;
|
|
1381
1381
|
preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
|
|
1382
1382
|
}, {
|
|
1383
|
-
cpu?:
|
|
1384
|
-
memory?:
|
|
1383
|
+
cpu?: 2 | 1 | 0.25 | 0.5 | 4 | undefined;
|
|
1384
|
+
memory?: 2 | 1 | 0.25 | 0.5 | 4 | 8 | undefined;
|
|
1385
1385
|
preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
|
|
1386
1386
|
}>>;
|
|
1387
1387
|
triggerSource: z.ZodOptional<z.ZodString>;
|
|
@@ -1446,8 +1446,8 @@ export declare const WorkerManifestMessage: z.ZodObject<{
|
|
|
1446
1446
|
randomize?: boolean | undefined;
|
|
1447
1447
|
} | undefined;
|
|
1448
1448
|
machine?: {
|
|
1449
|
-
cpu?:
|
|
1450
|
-
memory?:
|
|
1449
|
+
cpu?: 2 | 1 | 0.25 | 0.5 | 4 | undefined;
|
|
1450
|
+
memory?: 2 | 1 | 0.25 | 0.5 | 4 | 8 | undefined;
|
|
1451
1451
|
preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
|
|
1452
1452
|
} | undefined;
|
|
1453
1453
|
triggerSource?: string | undefined;
|
|
@@ -1506,8 +1506,8 @@ export declare const WorkerManifestMessage: z.ZodObject<{
|
|
|
1506
1506
|
randomize?: boolean | undefined;
|
|
1507
1507
|
} | undefined;
|
|
1508
1508
|
machine?: {
|
|
1509
|
-
cpu?:
|
|
1510
|
-
memory?:
|
|
1509
|
+
cpu?: 2 | 1 | 0.25 | 0.5 | 4 | undefined;
|
|
1510
|
+
memory?: 2 | 1 | 0.25 | 0.5 | 4 | 8 | undefined;
|
|
1511
1511
|
preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
|
|
1512
1512
|
} | undefined;
|
|
1513
1513
|
triggerSource?: string | undefined;
|
|
@@ -1583,8 +1583,8 @@ export declare const WorkerManifestMessage: z.ZodObject<{
|
|
|
1583
1583
|
randomize?: boolean | undefined;
|
|
1584
1584
|
} | undefined;
|
|
1585
1585
|
machine?: {
|
|
1586
|
-
cpu?:
|
|
1587
|
-
memory?:
|
|
1586
|
+
cpu?: 2 | 1 | 0.25 | 0.5 | 4 | undefined;
|
|
1587
|
+
memory?: 2 | 1 | 0.25 | 0.5 | 4 | 8 | undefined;
|
|
1588
1588
|
preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
|
|
1589
1589
|
} | undefined;
|
|
1590
1590
|
triggerSource?: string | undefined;
|
|
@@ -1594,9 +1594,9 @@ export declare const WorkerManifestMessage: z.ZodObject<{
|
|
|
1594
1594
|
} | undefined;
|
|
1595
1595
|
maxDuration?: number | undefined;
|
|
1596
1596
|
}[];
|
|
1597
|
-
runtime: "node" | "bun";
|
|
1598
1597
|
configPath: string;
|
|
1599
1598
|
workerEntryPoint: string;
|
|
1599
|
+
runtime: "node" | "bun";
|
|
1600
1600
|
controllerEntryPoint?: string | undefined;
|
|
1601
1601
|
loaderEntryPoint?: string | undefined;
|
|
1602
1602
|
customConditions?: string[] | undefined;
|
|
@@ -1655,8 +1655,8 @@ export declare const WorkerManifestMessage: z.ZodObject<{
|
|
|
1655
1655
|
randomize?: boolean | undefined;
|
|
1656
1656
|
} | undefined;
|
|
1657
1657
|
machine?: {
|
|
1658
|
-
cpu?:
|
|
1659
|
-
memory?:
|
|
1658
|
+
cpu?: 2 | 1 | 0.25 | 0.5 | 4 | undefined;
|
|
1659
|
+
memory?: 2 | 1 | 0.25 | 0.5 | 4 | 8 | undefined;
|
|
1660
1660
|
preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
|
|
1661
1661
|
} | undefined;
|
|
1662
1662
|
triggerSource?: string | undefined;
|
|
@@ -1666,9 +1666,9 @@ export declare const WorkerManifestMessage: z.ZodObject<{
|
|
|
1666
1666
|
} | undefined;
|
|
1667
1667
|
maxDuration?: number | undefined;
|
|
1668
1668
|
}[];
|
|
1669
|
-
runtime: "node" | "bun";
|
|
1670
1669
|
configPath: string;
|
|
1671
1670
|
workerEntryPoint: string;
|
|
1671
|
+
runtime: "node" | "bun";
|
|
1672
1672
|
controllerEntryPoint?: string | undefined;
|
|
1673
1673
|
loaderEntryPoint?: string | undefined;
|
|
1674
1674
|
customConditions?: string[] | undefined;
|
|
@@ -1729,8 +1729,8 @@ export declare const WorkerManifestMessage: z.ZodObject<{
|
|
|
1729
1729
|
randomize?: boolean | undefined;
|
|
1730
1730
|
} | undefined;
|
|
1731
1731
|
machine?: {
|
|
1732
|
-
cpu?:
|
|
1733
|
-
memory?:
|
|
1732
|
+
cpu?: 2 | 1 | 0.25 | 0.5 | 4 | undefined;
|
|
1733
|
+
memory?: 2 | 1 | 0.25 | 0.5 | 4 | 8 | undefined;
|
|
1734
1734
|
preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
|
|
1735
1735
|
} | undefined;
|
|
1736
1736
|
triggerSource?: string | undefined;
|
|
@@ -1740,9 +1740,9 @@ export declare const WorkerManifestMessage: z.ZodObject<{
|
|
|
1740
1740
|
} | undefined;
|
|
1741
1741
|
maxDuration?: number | undefined;
|
|
1742
1742
|
}[];
|
|
1743
|
-
runtime: "node" | "bun";
|
|
1744
1743
|
configPath: string;
|
|
1745
1744
|
workerEntryPoint: string;
|
|
1745
|
+
runtime: "node" | "bun";
|
|
1746
1746
|
controllerEntryPoint?: string | undefined;
|
|
1747
1747
|
loaderEntryPoint?: string | undefined;
|
|
1748
1748
|
customConditions?: string[] | undefined;
|
|
@@ -1803,8 +1803,8 @@ export declare const WorkerManifestMessage: z.ZodObject<{
|
|
|
1803
1803
|
randomize?: boolean | undefined;
|
|
1804
1804
|
} | undefined;
|
|
1805
1805
|
machine?: {
|
|
1806
|
-
cpu?:
|
|
1807
|
-
memory?:
|
|
1806
|
+
cpu?: 2 | 1 | 0.25 | 0.5 | 4 | undefined;
|
|
1807
|
+
memory?: 2 | 1 | 0.25 | 0.5 | 4 | 8 | undefined;
|
|
1808
1808
|
preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
|
|
1809
1809
|
} | undefined;
|
|
1810
1810
|
triggerSource?: string | undefined;
|
|
@@ -1814,9 +1814,9 @@ export declare const WorkerManifestMessage: z.ZodObject<{
|
|
|
1814
1814
|
} | undefined;
|
|
1815
1815
|
maxDuration?: number | undefined;
|
|
1816
1816
|
}[];
|
|
1817
|
-
runtime: "node" | "bun";
|
|
1818
1817
|
configPath: string;
|
|
1819
1818
|
workerEntryPoint: string;
|
|
1819
|
+
runtime: "node" | "bun";
|
|
1820
1820
|
controllerEntryPoint?: string | undefined;
|
|
1821
1821
|
loaderEntryPoint?: string | undefined;
|
|
1822
1822
|
customConditions?: string[] | undefined;
|
|
@@ -1827,7 +1827,6 @@ export declare const WorkerManifestMessage: z.ZodObject<{
|
|
|
1827
1827
|
};
|
|
1828
1828
|
}>;
|
|
1829
1829
|
}, "strip", z.ZodTypeAny, {
|
|
1830
|
-
type: "worker-manifest";
|
|
1831
1830
|
data: {
|
|
1832
1831
|
manifest: {
|
|
1833
1832
|
tasks: {
|
|
@@ -1880,8 +1879,8 @@ export declare const WorkerManifestMessage: z.ZodObject<{
|
|
|
1880
1879
|
randomize?: boolean | undefined;
|
|
1881
1880
|
} | undefined;
|
|
1882
1881
|
machine?: {
|
|
1883
|
-
cpu?:
|
|
1884
|
-
memory?:
|
|
1882
|
+
cpu?: 2 | 1 | 0.25 | 0.5 | 4 | undefined;
|
|
1883
|
+
memory?: 2 | 1 | 0.25 | 0.5 | 4 | 8 | undefined;
|
|
1885
1884
|
preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
|
|
1886
1885
|
} | undefined;
|
|
1887
1886
|
triggerSource?: string | undefined;
|
|
@@ -1891,9 +1890,9 @@ export declare const WorkerManifestMessage: z.ZodObject<{
|
|
|
1891
1890
|
} | undefined;
|
|
1892
1891
|
maxDuration?: number | undefined;
|
|
1893
1892
|
}[];
|
|
1894
|
-
runtime: "node" | "bun";
|
|
1895
1893
|
configPath: string;
|
|
1896
1894
|
workerEntryPoint: string;
|
|
1895
|
+
runtime: "node" | "bun";
|
|
1897
1896
|
controllerEntryPoint?: string | undefined;
|
|
1898
1897
|
loaderEntryPoint?: string | undefined;
|
|
1899
1898
|
customConditions?: string[] | undefined;
|
|
@@ -1903,8 +1902,8 @@ export declare const WorkerManifestMessage: z.ZodObject<{
|
|
|
1903
1902
|
} | undefined;
|
|
1904
1903
|
};
|
|
1905
1904
|
};
|
|
1906
|
-
}, {
|
|
1907
1905
|
type: "worker-manifest";
|
|
1906
|
+
}, {
|
|
1908
1907
|
data: {
|
|
1909
1908
|
manifest: {
|
|
1910
1909
|
tasks: {
|
|
@@ -1957,8 +1956,8 @@ export declare const WorkerManifestMessage: z.ZodObject<{
|
|
|
1957
1956
|
randomize?: boolean | undefined;
|
|
1958
1957
|
} | undefined;
|
|
1959
1958
|
machine?: {
|
|
1960
|
-
cpu?:
|
|
1961
|
-
memory?:
|
|
1959
|
+
cpu?: 2 | 1 | 0.25 | 0.5 | 4 | undefined;
|
|
1960
|
+
memory?: 2 | 1 | 0.25 | 0.5 | 4 | 8 | undefined;
|
|
1962
1961
|
preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
|
|
1963
1962
|
} | undefined;
|
|
1964
1963
|
triggerSource?: string | undefined;
|
|
@@ -1968,9 +1967,9 @@ export declare const WorkerManifestMessage: z.ZodObject<{
|
|
|
1968
1967
|
} | undefined;
|
|
1969
1968
|
maxDuration?: number | undefined;
|
|
1970
1969
|
}[];
|
|
1971
|
-
runtime: "node" | "bun";
|
|
1972
1970
|
configPath: string;
|
|
1973
1971
|
workerEntryPoint: string;
|
|
1972
|
+
runtime: "node" | "bun";
|
|
1974
1973
|
controllerEntryPoint?: string | undefined;
|
|
1975
1974
|
loaderEntryPoint?: string | undefined;
|
|
1976
1975
|
customConditions?: string[] | undefined;
|
|
@@ -1980,6 +1979,7 @@ export declare const WorkerManifestMessage: z.ZodObject<{
|
|
|
1980
1979
|
} | undefined;
|
|
1981
1980
|
};
|
|
1982
1981
|
};
|
|
1982
|
+
type: "worker-manifest";
|
|
1983
1983
|
}>;
|
|
1984
1984
|
export type WorkerManifestMessage = z.infer<typeof WorkerManifestMessage>;
|
|
1985
1985
|
export declare const ImportError: z.ZodObject<{
|