@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
|
@@ -57,13 +57,13 @@ export declare const TaskRunExecutionPayload: z.ZodObject<{
|
|
|
57
57
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("../../index.js").DeserializedJson, z.ZodTypeDef, import("../../index.js").DeserializedJson>>>;
|
|
58
58
|
maxDuration: z.ZodOptional<z.ZodNumber>;
|
|
59
59
|
}, "strip", z.ZodTypeAny, {
|
|
60
|
-
payload: string;
|
|
61
60
|
id: string;
|
|
62
|
-
|
|
61
|
+
payload: string;
|
|
63
62
|
payloadType: string;
|
|
63
|
+
tags: string[];
|
|
64
64
|
isTest: boolean;
|
|
65
65
|
createdAt: Date;
|
|
66
|
-
|
|
66
|
+
startedAt: Date;
|
|
67
67
|
durationMs: number;
|
|
68
68
|
costInCents: number;
|
|
69
69
|
baseCostInCents: number;
|
|
@@ -74,11 +74,11 @@ export declare const TaskRunExecutionPayload: z.ZodObject<{
|
|
|
74
74
|
metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
|
|
75
75
|
maxDuration?: number | undefined;
|
|
76
76
|
}, {
|
|
77
|
-
payload: string;
|
|
78
77
|
id: string;
|
|
78
|
+
payload: string;
|
|
79
79
|
payloadType: string;
|
|
80
|
-
createdAt: Date;
|
|
81
80
|
tags: string[];
|
|
81
|
+
createdAt: Date;
|
|
82
82
|
context?: any;
|
|
83
83
|
isTest?: boolean | undefined;
|
|
84
84
|
startedAt?: Date | undefined;
|
|
@@ -156,25 +156,38 @@ export declare const TaskRunExecutionPayload: z.ZodObject<{
|
|
|
156
156
|
memory: z.ZodNumber;
|
|
157
157
|
centsPerMs: z.ZodNumber;
|
|
158
158
|
}, "strip", z.ZodTypeAny, {
|
|
159
|
-
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
160
159
|
cpu: number;
|
|
161
160
|
memory: number;
|
|
161
|
+
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
162
162
|
centsPerMs: number;
|
|
163
163
|
}, {
|
|
164
|
-
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
165
164
|
cpu: number;
|
|
166
165
|
memory: number;
|
|
166
|
+
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
167
167
|
centsPerMs: number;
|
|
168
168
|
}>>;
|
|
169
169
|
}, "strip", z.ZodTypeAny, {
|
|
170
|
-
|
|
171
|
-
|
|
170
|
+
task: {
|
|
171
|
+
id: string;
|
|
172
|
+
filePath: string;
|
|
173
|
+
exportName: string;
|
|
174
|
+
};
|
|
175
|
+
attempt: {
|
|
176
|
+
number: number;
|
|
177
|
+
status: string;
|
|
172
178
|
id: string;
|
|
173
179
|
startedAt: Date;
|
|
180
|
+
backgroundWorkerId: string;
|
|
181
|
+
backgroundWorkerTaskId: string;
|
|
182
|
+
};
|
|
183
|
+
run: {
|
|
184
|
+
id: string;
|
|
185
|
+
payload: string;
|
|
174
186
|
payloadType: string;
|
|
187
|
+
tags: string[];
|
|
175
188
|
isTest: boolean;
|
|
176
189
|
createdAt: Date;
|
|
177
|
-
|
|
190
|
+
startedAt: Date;
|
|
178
191
|
durationMs: number;
|
|
179
192
|
costInCents: number;
|
|
180
193
|
baseCostInCents: number;
|
|
@@ -185,6 +198,10 @@ export declare const TaskRunExecutionPayload: z.ZodObject<{
|
|
|
185
198
|
metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
|
|
186
199
|
maxDuration?: number | undefined;
|
|
187
200
|
};
|
|
201
|
+
queue: {
|
|
202
|
+
name: string;
|
|
203
|
+
id: string;
|
|
204
|
+
};
|
|
188
205
|
environment: {
|
|
189
206
|
type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
|
|
190
207
|
id: string;
|
|
@@ -201,6 +218,16 @@ export declare const TaskRunExecutionPayload: z.ZodObject<{
|
|
|
201
218
|
slug: string;
|
|
202
219
|
ref: string;
|
|
203
220
|
};
|
|
221
|
+
batch?: {
|
|
222
|
+
id: string;
|
|
223
|
+
} | undefined;
|
|
224
|
+
machine?: {
|
|
225
|
+
cpu: number;
|
|
226
|
+
memory: number;
|
|
227
|
+
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
228
|
+
centsPerMs: number;
|
|
229
|
+
} | undefined;
|
|
230
|
+
}, {
|
|
204
231
|
task: {
|
|
205
232
|
id: string;
|
|
206
233
|
filePath: string;
|
|
@@ -214,26 +241,12 @@ export declare const TaskRunExecutionPayload: z.ZodObject<{
|
|
|
214
241
|
backgroundWorkerId: string;
|
|
215
242
|
backgroundWorkerTaskId: string;
|
|
216
243
|
};
|
|
217
|
-
queue: {
|
|
218
|
-
name: string;
|
|
219
|
-
id: string;
|
|
220
|
-
};
|
|
221
|
-
batch?: {
|
|
222
|
-
id: string;
|
|
223
|
-
} | undefined;
|
|
224
|
-
machine?: {
|
|
225
|
-
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
226
|
-
cpu: number;
|
|
227
|
-
memory: number;
|
|
228
|
-
centsPerMs: number;
|
|
229
|
-
} | undefined;
|
|
230
|
-
}, {
|
|
231
244
|
run: {
|
|
232
|
-
payload: string;
|
|
233
245
|
id: string;
|
|
246
|
+
payload: string;
|
|
234
247
|
payloadType: string;
|
|
235
|
-
createdAt: Date;
|
|
236
248
|
tags: string[];
|
|
249
|
+
createdAt: Date;
|
|
237
250
|
context?: any;
|
|
238
251
|
isTest?: boolean | undefined;
|
|
239
252
|
startedAt?: Date | undefined;
|
|
@@ -246,6 +259,10 @@ export declare const TaskRunExecutionPayload: z.ZodObject<{
|
|
|
246
259
|
metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
|
|
247
260
|
maxDuration?: number | undefined;
|
|
248
261
|
};
|
|
262
|
+
queue: {
|
|
263
|
+
name: string;
|
|
264
|
+
id: string;
|
|
265
|
+
};
|
|
249
266
|
environment: {
|
|
250
267
|
type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
|
|
251
268
|
id: string;
|
|
@@ -262,45 +279,42 @@ export declare const TaskRunExecutionPayload: z.ZodObject<{
|
|
|
262
279
|
slug: string;
|
|
263
280
|
ref: string;
|
|
264
281
|
};
|
|
265
|
-
task: {
|
|
266
|
-
id: string;
|
|
267
|
-
filePath: string;
|
|
268
|
-
exportName: string;
|
|
269
|
-
};
|
|
270
|
-
attempt: {
|
|
271
|
-
number: number;
|
|
272
|
-
status: string;
|
|
273
|
-
id: string;
|
|
274
|
-
startedAt: Date;
|
|
275
|
-
backgroundWorkerId: string;
|
|
276
|
-
backgroundWorkerTaskId: string;
|
|
277
|
-
};
|
|
278
|
-
queue: {
|
|
279
|
-
name: string;
|
|
280
|
-
id: string;
|
|
281
|
-
};
|
|
282
282
|
batch?: {
|
|
283
283
|
id: string;
|
|
284
284
|
} | undefined;
|
|
285
285
|
machine?: {
|
|
286
|
-
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
287
286
|
cpu: number;
|
|
288
287
|
memory: number;
|
|
288
|
+
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
289
289
|
centsPerMs: number;
|
|
290
290
|
} | undefined;
|
|
291
291
|
}>;
|
|
292
292
|
traceContext: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
293
293
|
environment: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
294
294
|
}, "strip", z.ZodTypeAny, {
|
|
295
|
+
traceContext: Record<string, unknown>;
|
|
295
296
|
execution: {
|
|
296
|
-
|
|
297
|
-
|
|
297
|
+
task: {
|
|
298
|
+
id: string;
|
|
299
|
+
filePath: string;
|
|
300
|
+
exportName: string;
|
|
301
|
+
};
|
|
302
|
+
attempt: {
|
|
303
|
+
number: number;
|
|
304
|
+
status: string;
|
|
298
305
|
id: string;
|
|
299
306
|
startedAt: Date;
|
|
307
|
+
backgroundWorkerId: string;
|
|
308
|
+
backgroundWorkerTaskId: string;
|
|
309
|
+
};
|
|
310
|
+
run: {
|
|
311
|
+
id: string;
|
|
312
|
+
payload: string;
|
|
300
313
|
payloadType: string;
|
|
314
|
+
tags: string[];
|
|
301
315
|
isTest: boolean;
|
|
302
316
|
createdAt: Date;
|
|
303
|
-
|
|
317
|
+
startedAt: Date;
|
|
304
318
|
durationMs: number;
|
|
305
319
|
costInCents: number;
|
|
306
320
|
baseCostInCents: number;
|
|
@@ -311,6 +325,10 @@ export declare const TaskRunExecutionPayload: z.ZodObject<{
|
|
|
311
325
|
metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
|
|
312
326
|
maxDuration?: number | undefined;
|
|
313
327
|
};
|
|
328
|
+
queue: {
|
|
329
|
+
name: string;
|
|
330
|
+
id: string;
|
|
331
|
+
};
|
|
314
332
|
environment: {
|
|
315
333
|
type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
|
|
316
334
|
id: string;
|
|
@@ -327,6 +345,20 @@ export declare const TaskRunExecutionPayload: z.ZodObject<{
|
|
|
327
345
|
slug: string;
|
|
328
346
|
ref: string;
|
|
329
347
|
};
|
|
348
|
+
batch?: {
|
|
349
|
+
id: string;
|
|
350
|
+
} | undefined;
|
|
351
|
+
machine?: {
|
|
352
|
+
cpu: number;
|
|
353
|
+
memory: number;
|
|
354
|
+
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
355
|
+
centsPerMs: number;
|
|
356
|
+
} | undefined;
|
|
357
|
+
};
|
|
358
|
+
environment?: Record<string, string> | undefined;
|
|
359
|
+
}, {
|
|
360
|
+
traceContext: Record<string, unknown>;
|
|
361
|
+
execution: {
|
|
330
362
|
task: {
|
|
331
363
|
id: string;
|
|
332
364
|
filePath: string;
|
|
@@ -340,30 +372,12 @@ export declare const TaskRunExecutionPayload: z.ZodObject<{
|
|
|
340
372
|
backgroundWorkerId: string;
|
|
341
373
|
backgroundWorkerTaskId: string;
|
|
342
374
|
};
|
|
343
|
-
queue: {
|
|
344
|
-
name: string;
|
|
345
|
-
id: string;
|
|
346
|
-
};
|
|
347
|
-
batch?: {
|
|
348
|
-
id: string;
|
|
349
|
-
} | undefined;
|
|
350
|
-
machine?: {
|
|
351
|
-
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
352
|
-
cpu: number;
|
|
353
|
-
memory: number;
|
|
354
|
-
centsPerMs: number;
|
|
355
|
-
} | undefined;
|
|
356
|
-
};
|
|
357
|
-
traceContext: Record<string, unknown>;
|
|
358
|
-
environment?: Record<string, string> | undefined;
|
|
359
|
-
}, {
|
|
360
|
-
execution: {
|
|
361
375
|
run: {
|
|
362
|
-
payload: string;
|
|
363
376
|
id: string;
|
|
377
|
+
payload: string;
|
|
364
378
|
payloadType: string;
|
|
365
|
-
createdAt: Date;
|
|
366
379
|
tags: string[];
|
|
380
|
+
createdAt: Date;
|
|
367
381
|
context?: any;
|
|
368
382
|
isTest?: boolean | undefined;
|
|
369
383
|
startedAt?: Date | undefined;
|
|
@@ -376,6 +390,10 @@ export declare const TaskRunExecutionPayload: z.ZodObject<{
|
|
|
376
390
|
metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
|
|
377
391
|
maxDuration?: number | undefined;
|
|
378
392
|
};
|
|
393
|
+
queue: {
|
|
394
|
+
name: string;
|
|
395
|
+
id: string;
|
|
396
|
+
};
|
|
379
397
|
environment: {
|
|
380
398
|
type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
|
|
381
399
|
id: string;
|
|
@@ -392,38 +410,55 @@ export declare const TaskRunExecutionPayload: z.ZodObject<{
|
|
|
392
410
|
slug: string;
|
|
393
411
|
ref: string;
|
|
394
412
|
};
|
|
395
|
-
task: {
|
|
396
|
-
id: string;
|
|
397
|
-
filePath: string;
|
|
398
|
-
exportName: string;
|
|
399
|
-
};
|
|
400
|
-
attempt: {
|
|
401
|
-
number: number;
|
|
402
|
-
status: string;
|
|
403
|
-
id: string;
|
|
404
|
-
startedAt: Date;
|
|
405
|
-
backgroundWorkerId: string;
|
|
406
|
-
backgroundWorkerTaskId: string;
|
|
407
|
-
};
|
|
408
|
-
queue: {
|
|
409
|
-
name: string;
|
|
410
|
-
id: string;
|
|
411
|
-
};
|
|
412
413
|
batch?: {
|
|
413
414
|
id: string;
|
|
414
415
|
} | undefined;
|
|
415
416
|
machine?: {
|
|
416
|
-
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
417
417
|
cpu: number;
|
|
418
418
|
memory: number;
|
|
419
|
+
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
419
420
|
centsPerMs: number;
|
|
420
421
|
} | undefined;
|
|
421
422
|
};
|
|
422
|
-
traceContext: Record<string, unknown>;
|
|
423
423
|
environment?: Record<string, string> | undefined;
|
|
424
424
|
}>;
|
|
425
425
|
export type TaskRunExecutionPayload = z.infer<typeof TaskRunExecutionPayload>;
|
|
426
426
|
export declare const ProdTaskRunExecution: z.ZodObject<{
|
|
427
|
+
task: z.ZodObject<{
|
|
428
|
+
id: z.ZodString;
|
|
429
|
+
filePath: z.ZodString;
|
|
430
|
+
exportName: z.ZodString;
|
|
431
|
+
}, "strip", z.ZodTypeAny, {
|
|
432
|
+
id: string;
|
|
433
|
+
filePath: string;
|
|
434
|
+
exportName: string;
|
|
435
|
+
}, {
|
|
436
|
+
id: string;
|
|
437
|
+
filePath: string;
|
|
438
|
+
exportName: string;
|
|
439
|
+
}>;
|
|
440
|
+
attempt: z.ZodObject<{
|
|
441
|
+
id: z.ZodString;
|
|
442
|
+
number: z.ZodNumber;
|
|
443
|
+
startedAt: z.ZodDate;
|
|
444
|
+
backgroundWorkerId: z.ZodString;
|
|
445
|
+
backgroundWorkerTaskId: z.ZodString;
|
|
446
|
+
status: z.ZodString;
|
|
447
|
+
}, "strip", z.ZodTypeAny, {
|
|
448
|
+
number: number;
|
|
449
|
+
status: string;
|
|
450
|
+
id: string;
|
|
451
|
+
startedAt: Date;
|
|
452
|
+
backgroundWorkerId: string;
|
|
453
|
+
backgroundWorkerTaskId: string;
|
|
454
|
+
}, {
|
|
455
|
+
number: number;
|
|
456
|
+
status: string;
|
|
457
|
+
id: string;
|
|
458
|
+
startedAt: Date;
|
|
459
|
+
backgroundWorkerId: string;
|
|
460
|
+
backgroundWorkerTaskId: string;
|
|
461
|
+
}>;
|
|
427
462
|
run: z.ZodObject<{
|
|
428
463
|
id: z.ZodString;
|
|
429
464
|
payload: z.ZodString;
|
|
@@ -442,13 +477,13 @@ export declare const ProdTaskRunExecution: z.ZodObject<{
|
|
|
442
477
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("../../index.js").DeserializedJson, z.ZodTypeDef, import("../../index.js").DeserializedJson>>>;
|
|
443
478
|
maxDuration: z.ZodOptional<z.ZodNumber>;
|
|
444
479
|
}, "strip", z.ZodTypeAny, {
|
|
445
|
-
payload: string;
|
|
446
480
|
id: string;
|
|
447
|
-
|
|
481
|
+
payload: string;
|
|
448
482
|
payloadType: string;
|
|
483
|
+
tags: string[];
|
|
449
484
|
isTest: boolean;
|
|
450
485
|
createdAt: Date;
|
|
451
|
-
|
|
486
|
+
startedAt: Date;
|
|
452
487
|
durationMs: number;
|
|
453
488
|
costInCents: number;
|
|
454
489
|
baseCostInCents: number;
|
|
@@ -459,11 +494,11 @@ export declare const ProdTaskRunExecution: z.ZodObject<{
|
|
|
459
494
|
metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
|
|
460
495
|
maxDuration?: number | undefined;
|
|
461
496
|
}, {
|
|
462
|
-
payload: string;
|
|
463
497
|
id: string;
|
|
498
|
+
payload: string;
|
|
464
499
|
payloadType: string;
|
|
465
|
-
createdAt: Date;
|
|
466
500
|
tags: string[];
|
|
501
|
+
createdAt: Date;
|
|
467
502
|
context?: any;
|
|
468
503
|
isTest?: boolean | undefined;
|
|
469
504
|
startedAt?: Date | undefined;
|
|
@@ -476,6 +511,16 @@ export declare const ProdTaskRunExecution: z.ZodObject<{
|
|
|
476
511
|
metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
|
|
477
512
|
maxDuration?: number | undefined;
|
|
478
513
|
}>;
|
|
514
|
+
queue: z.ZodObject<{
|
|
515
|
+
id: z.ZodString;
|
|
516
|
+
name: z.ZodString;
|
|
517
|
+
}, "strip", z.ZodTypeAny, {
|
|
518
|
+
name: string;
|
|
519
|
+
id: string;
|
|
520
|
+
}, {
|
|
521
|
+
name: string;
|
|
522
|
+
id: string;
|
|
523
|
+
}>;
|
|
479
524
|
environment: z.ZodObject<{
|
|
480
525
|
id: z.ZodString;
|
|
481
526
|
slug: z.ZodString;
|
|
@@ -518,51 +563,6 @@ export declare const ProdTaskRunExecution: z.ZodObject<{
|
|
|
518
563
|
slug: string;
|
|
519
564
|
ref: string;
|
|
520
565
|
}>;
|
|
521
|
-
task: z.ZodObject<{
|
|
522
|
-
id: z.ZodString;
|
|
523
|
-
filePath: z.ZodString;
|
|
524
|
-
exportName: z.ZodString;
|
|
525
|
-
}, "strip", z.ZodTypeAny, {
|
|
526
|
-
id: string;
|
|
527
|
-
filePath: string;
|
|
528
|
-
exportName: string;
|
|
529
|
-
}, {
|
|
530
|
-
id: string;
|
|
531
|
-
filePath: string;
|
|
532
|
-
exportName: string;
|
|
533
|
-
}>;
|
|
534
|
-
attempt: z.ZodObject<{
|
|
535
|
-
id: z.ZodString;
|
|
536
|
-
number: z.ZodNumber;
|
|
537
|
-
startedAt: z.ZodDate;
|
|
538
|
-
backgroundWorkerId: z.ZodString;
|
|
539
|
-
backgroundWorkerTaskId: z.ZodString;
|
|
540
|
-
status: z.ZodString;
|
|
541
|
-
}, "strip", z.ZodTypeAny, {
|
|
542
|
-
number: number;
|
|
543
|
-
status: string;
|
|
544
|
-
id: string;
|
|
545
|
-
startedAt: Date;
|
|
546
|
-
backgroundWorkerId: string;
|
|
547
|
-
backgroundWorkerTaskId: string;
|
|
548
|
-
}, {
|
|
549
|
-
number: number;
|
|
550
|
-
status: string;
|
|
551
|
-
id: string;
|
|
552
|
-
startedAt: Date;
|
|
553
|
-
backgroundWorkerId: string;
|
|
554
|
-
backgroundWorkerTaskId: string;
|
|
555
|
-
}>;
|
|
556
|
-
queue: z.ZodObject<{
|
|
557
|
-
id: z.ZodString;
|
|
558
|
-
name: z.ZodString;
|
|
559
|
-
}, "strip", z.ZodTypeAny, {
|
|
560
|
-
name: string;
|
|
561
|
-
id: string;
|
|
562
|
-
}, {
|
|
563
|
-
name: string;
|
|
564
|
-
id: string;
|
|
565
|
-
}>;
|
|
566
566
|
batch: z.ZodOptional<z.ZodObject<{
|
|
567
567
|
id: z.ZodString;
|
|
568
568
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -575,12 +575,12 @@ export declare const ProdTaskRunExecution: z.ZodObject<{
|
|
|
575
575
|
contentHash: z.ZodString;
|
|
576
576
|
version: z.ZodString;
|
|
577
577
|
}, "strip", z.ZodTypeAny, {
|
|
578
|
-
version: string;
|
|
579
578
|
id: string;
|
|
579
|
+
version: string;
|
|
580
580
|
contentHash: string;
|
|
581
581
|
}, {
|
|
582
|
-
version: string;
|
|
583
582
|
id: string;
|
|
583
|
+
version: string;
|
|
584
584
|
contentHash: string;
|
|
585
585
|
}>;
|
|
586
586
|
machine: z.ZodDefault<z.ZodObject<{
|
|
@@ -589,25 +589,38 @@ export declare const ProdTaskRunExecution: z.ZodObject<{
|
|
|
589
589
|
memory: z.ZodNumber;
|
|
590
590
|
centsPerMs: z.ZodNumber;
|
|
591
591
|
}, "strip", z.ZodTypeAny, {
|
|
592
|
-
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
593
592
|
cpu: number;
|
|
594
593
|
memory: number;
|
|
594
|
+
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
595
595
|
centsPerMs: number;
|
|
596
596
|
}, {
|
|
597
|
-
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
598
597
|
cpu: number;
|
|
599
598
|
memory: number;
|
|
599
|
+
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
600
600
|
centsPerMs: number;
|
|
601
601
|
}>>;
|
|
602
602
|
}, "strip", z.ZodTypeAny, {
|
|
603
|
-
|
|
604
|
-
|
|
603
|
+
task: {
|
|
604
|
+
id: string;
|
|
605
|
+
filePath: string;
|
|
606
|
+
exportName: string;
|
|
607
|
+
};
|
|
608
|
+
attempt: {
|
|
609
|
+
number: number;
|
|
610
|
+
status: string;
|
|
605
611
|
id: string;
|
|
606
612
|
startedAt: Date;
|
|
613
|
+
backgroundWorkerId: string;
|
|
614
|
+
backgroundWorkerTaskId: string;
|
|
615
|
+
};
|
|
616
|
+
run: {
|
|
617
|
+
id: string;
|
|
618
|
+
payload: string;
|
|
607
619
|
payloadType: string;
|
|
620
|
+
tags: string[];
|
|
608
621
|
isTest: boolean;
|
|
609
622
|
createdAt: Date;
|
|
610
|
-
|
|
623
|
+
startedAt: Date;
|
|
611
624
|
durationMs: number;
|
|
612
625
|
costInCents: number;
|
|
613
626
|
baseCostInCents: number;
|
|
@@ -618,6 +631,10 @@ export declare const ProdTaskRunExecution: z.ZodObject<{
|
|
|
618
631
|
metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
|
|
619
632
|
maxDuration?: number | undefined;
|
|
620
633
|
};
|
|
634
|
+
queue: {
|
|
635
|
+
name: string;
|
|
636
|
+
id: string;
|
|
637
|
+
};
|
|
621
638
|
environment: {
|
|
622
639
|
type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
|
|
623
640
|
id: string;
|
|
@@ -634,44 +651,40 @@ export declare const ProdTaskRunExecution: z.ZodObject<{
|
|
|
634
651
|
slug: string;
|
|
635
652
|
ref: string;
|
|
636
653
|
};
|
|
637
|
-
task: {
|
|
638
|
-
id: string;
|
|
639
|
-
filePath: string;
|
|
640
|
-
exportName: string;
|
|
641
|
-
};
|
|
642
|
-
attempt: {
|
|
643
|
-
number: number;
|
|
644
|
-
status: string;
|
|
645
|
-
id: string;
|
|
646
|
-
startedAt: Date;
|
|
647
|
-
backgroundWorkerId: string;
|
|
648
|
-
backgroundWorkerTaskId: string;
|
|
649
|
-
};
|
|
650
|
-
queue: {
|
|
651
|
-
name: string;
|
|
652
|
-
id: string;
|
|
653
|
-
};
|
|
654
654
|
machine: {
|
|
655
|
-
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
656
655
|
cpu: number;
|
|
657
656
|
memory: number;
|
|
657
|
+
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
658
658
|
centsPerMs: number;
|
|
659
659
|
};
|
|
660
660
|
worker: {
|
|
661
|
-
version: string;
|
|
662
661
|
id: string;
|
|
662
|
+
version: string;
|
|
663
663
|
contentHash: string;
|
|
664
664
|
};
|
|
665
665
|
batch?: {
|
|
666
666
|
id: string;
|
|
667
667
|
} | undefined;
|
|
668
668
|
}, {
|
|
669
|
+
task: {
|
|
670
|
+
id: string;
|
|
671
|
+
filePath: string;
|
|
672
|
+
exportName: string;
|
|
673
|
+
};
|
|
674
|
+
attempt: {
|
|
675
|
+
number: number;
|
|
676
|
+
status: string;
|
|
677
|
+
id: string;
|
|
678
|
+
startedAt: Date;
|
|
679
|
+
backgroundWorkerId: string;
|
|
680
|
+
backgroundWorkerTaskId: string;
|
|
681
|
+
};
|
|
669
682
|
run: {
|
|
670
|
-
payload: string;
|
|
671
683
|
id: string;
|
|
684
|
+
payload: string;
|
|
672
685
|
payloadType: string;
|
|
673
|
-
createdAt: Date;
|
|
674
686
|
tags: string[];
|
|
687
|
+
createdAt: Date;
|
|
675
688
|
context?: any;
|
|
676
689
|
isTest?: boolean | undefined;
|
|
677
690
|
startedAt?: Date | undefined;
|
|
@@ -684,6 +697,10 @@ export declare const ProdTaskRunExecution: z.ZodObject<{
|
|
|
684
697
|
metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
|
|
685
698
|
maxDuration?: number | undefined;
|
|
686
699
|
};
|
|
700
|
+
queue: {
|
|
701
|
+
name: string;
|
|
702
|
+
id: string;
|
|
703
|
+
};
|
|
687
704
|
environment: {
|
|
688
705
|
type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
|
|
689
706
|
id: string;
|
|
@@ -700,41 +717,59 @@ export declare const ProdTaskRunExecution: z.ZodObject<{
|
|
|
700
717
|
slug: string;
|
|
701
718
|
ref: string;
|
|
702
719
|
};
|
|
703
|
-
task: {
|
|
704
|
-
id: string;
|
|
705
|
-
filePath: string;
|
|
706
|
-
exportName: string;
|
|
707
|
-
};
|
|
708
|
-
attempt: {
|
|
709
|
-
number: number;
|
|
710
|
-
status: string;
|
|
711
|
-
id: string;
|
|
712
|
-
startedAt: Date;
|
|
713
|
-
backgroundWorkerId: string;
|
|
714
|
-
backgroundWorkerTaskId: string;
|
|
715
|
-
};
|
|
716
|
-
queue: {
|
|
717
|
-
name: string;
|
|
718
|
-
id: string;
|
|
719
|
-
};
|
|
720
720
|
worker: {
|
|
721
|
-
version: string;
|
|
722
721
|
id: string;
|
|
722
|
+
version: string;
|
|
723
723
|
contentHash: string;
|
|
724
724
|
};
|
|
725
725
|
batch?: {
|
|
726
726
|
id: string;
|
|
727
727
|
} | undefined;
|
|
728
728
|
machine?: {
|
|
729
|
-
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
730
729
|
cpu: number;
|
|
731
730
|
memory: number;
|
|
731
|
+
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
732
732
|
centsPerMs: number;
|
|
733
733
|
} | undefined;
|
|
734
734
|
}>;
|
|
735
735
|
export type ProdTaskRunExecution = z.infer<typeof ProdTaskRunExecution>;
|
|
736
736
|
export declare const ProdTaskRunExecutionPayload: z.ZodObject<{
|
|
737
737
|
execution: z.ZodObject<{
|
|
738
|
+
task: z.ZodObject<{
|
|
739
|
+
id: z.ZodString;
|
|
740
|
+
filePath: z.ZodString;
|
|
741
|
+
exportName: z.ZodString;
|
|
742
|
+
}, "strip", z.ZodTypeAny, {
|
|
743
|
+
id: string;
|
|
744
|
+
filePath: string;
|
|
745
|
+
exportName: string;
|
|
746
|
+
}, {
|
|
747
|
+
id: string;
|
|
748
|
+
filePath: string;
|
|
749
|
+
exportName: string;
|
|
750
|
+
}>;
|
|
751
|
+
attempt: z.ZodObject<{
|
|
752
|
+
id: z.ZodString;
|
|
753
|
+
number: z.ZodNumber;
|
|
754
|
+
startedAt: z.ZodDate;
|
|
755
|
+
backgroundWorkerId: z.ZodString;
|
|
756
|
+
backgroundWorkerTaskId: z.ZodString;
|
|
757
|
+
status: z.ZodString;
|
|
758
|
+
}, "strip", z.ZodTypeAny, {
|
|
759
|
+
number: number;
|
|
760
|
+
status: string;
|
|
761
|
+
id: string;
|
|
762
|
+
startedAt: Date;
|
|
763
|
+
backgroundWorkerId: string;
|
|
764
|
+
backgroundWorkerTaskId: string;
|
|
765
|
+
}, {
|
|
766
|
+
number: number;
|
|
767
|
+
status: string;
|
|
768
|
+
id: string;
|
|
769
|
+
startedAt: Date;
|
|
770
|
+
backgroundWorkerId: string;
|
|
771
|
+
backgroundWorkerTaskId: string;
|
|
772
|
+
}>;
|
|
738
773
|
run: z.ZodObject<{
|
|
739
774
|
id: z.ZodString;
|
|
740
775
|
payload: z.ZodString;
|
|
@@ -753,13 +788,13 @@ export declare const ProdTaskRunExecutionPayload: z.ZodObject<{
|
|
|
753
788
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("../../index.js").DeserializedJson, z.ZodTypeDef, import("../../index.js").DeserializedJson>>>;
|
|
754
789
|
maxDuration: z.ZodOptional<z.ZodNumber>;
|
|
755
790
|
}, "strip", z.ZodTypeAny, {
|
|
756
|
-
payload: string;
|
|
757
791
|
id: string;
|
|
758
|
-
|
|
792
|
+
payload: string;
|
|
759
793
|
payloadType: string;
|
|
794
|
+
tags: string[];
|
|
760
795
|
isTest: boolean;
|
|
761
796
|
createdAt: Date;
|
|
762
|
-
|
|
797
|
+
startedAt: Date;
|
|
763
798
|
durationMs: number;
|
|
764
799
|
costInCents: number;
|
|
765
800
|
baseCostInCents: number;
|
|
@@ -770,11 +805,11 @@ export declare const ProdTaskRunExecutionPayload: z.ZodObject<{
|
|
|
770
805
|
metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
|
|
771
806
|
maxDuration?: number | undefined;
|
|
772
807
|
}, {
|
|
773
|
-
payload: string;
|
|
774
808
|
id: string;
|
|
809
|
+
payload: string;
|
|
775
810
|
payloadType: string;
|
|
776
|
-
createdAt: Date;
|
|
777
811
|
tags: string[];
|
|
812
|
+
createdAt: Date;
|
|
778
813
|
context?: any;
|
|
779
814
|
isTest?: boolean | undefined;
|
|
780
815
|
startedAt?: Date | undefined;
|
|
@@ -787,6 +822,16 @@ export declare const ProdTaskRunExecutionPayload: z.ZodObject<{
|
|
|
787
822
|
metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
|
|
788
823
|
maxDuration?: number | undefined;
|
|
789
824
|
}>;
|
|
825
|
+
queue: z.ZodObject<{
|
|
826
|
+
id: z.ZodString;
|
|
827
|
+
name: z.ZodString;
|
|
828
|
+
}, "strip", z.ZodTypeAny, {
|
|
829
|
+
name: string;
|
|
830
|
+
id: string;
|
|
831
|
+
}, {
|
|
832
|
+
name: string;
|
|
833
|
+
id: string;
|
|
834
|
+
}>;
|
|
790
835
|
environment: z.ZodObject<{
|
|
791
836
|
id: z.ZodString;
|
|
792
837
|
slug: z.ZodString;
|
|
@@ -829,51 +874,6 @@ export declare const ProdTaskRunExecutionPayload: z.ZodObject<{
|
|
|
829
874
|
slug: string;
|
|
830
875
|
ref: string;
|
|
831
876
|
}>;
|
|
832
|
-
task: z.ZodObject<{
|
|
833
|
-
id: z.ZodString;
|
|
834
|
-
filePath: z.ZodString;
|
|
835
|
-
exportName: z.ZodString;
|
|
836
|
-
}, "strip", z.ZodTypeAny, {
|
|
837
|
-
id: string;
|
|
838
|
-
filePath: string;
|
|
839
|
-
exportName: string;
|
|
840
|
-
}, {
|
|
841
|
-
id: string;
|
|
842
|
-
filePath: string;
|
|
843
|
-
exportName: string;
|
|
844
|
-
}>;
|
|
845
|
-
attempt: z.ZodObject<{
|
|
846
|
-
id: z.ZodString;
|
|
847
|
-
number: z.ZodNumber;
|
|
848
|
-
startedAt: z.ZodDate;
|
|
849
|
-
backgroundWorkerId: z.ZodString;
|
|
850
|
-
backgroundWorkerTaskId: z.ZodString;
|
|
851
|
-
status: z.ZodString;
|
|
852
|
-
}, "strip", z.ZodTypeAny, {
|
|
853
|
-
number: number;
|
|
854
|
-
status: string;
|
|
855
|
-
id: string;
|
|
856
|
-
startedAt: Date;
|
|
857
|
-
backgroundWorkerId: string;
|
|
858
|
-
backgroundWorkerTaskId: string;
|
|
859
|
-
}, {
|
|
860
|
-
number: number;
|
|
861
|
-
status: string;
|
|
862
|
-
id: string;
|
|
863
|
-
startedAt: Date;
|
|
864
|
-
backgroundWorkerId: string;
|
|
865
|
-
backgroundWorkerTaskId: string;
|
|
866
|
-
}>;
|
|
867
|
-
queue: z.ZodObject<{
|
|
868
|
-
id: z.ZodString;
|
|
869
|
-
name: z.ZodString;
|
|
870
|
-
}, "strip", z.ZodTypeAny, {
|
|
871
|
-
name: string;
|
|
872
|
-
id: string;
|
|
873
|
-
}, {
|
|
874
|
-
name: string;
|
|
875
|
-
id: string;
|
|
876
|
-
}>;
|
|
877
877
|
batch: z.ZodOptional<z.ZodObject<{
|
|
878
878
|
id: z.ZodString;
|
|
879
879
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -886,12 +886,12 @@ export declare const ProdTaskRunExecutionPayload: z.ZodObject<{
|
|
|
886
886
|
contentHash: z.ZodString;
|
|
887
887
|
version: z.ZodString;
|
|
888
888
|
}, "strip", z.ZodTypeAny, {
|
|
889
|
-
version: string;
|
|
890
889
|
id: string;
|
|
890
|
+
version: string;
|
|
891
891
|
contentHash: string;
|
|
892
892
|
}, {
|
|
893
|
-
version: string;
|
|
894
893
|
id: string;
|
|
894
|
+
version: string;
|
|
895
895
|
contentHash: string;
|
|
896
896
|
}>;
|
|
897
897
|
machine: z.ZodDefault<z.ZodObject<{
|
|
@@ -900,25 +900,38 @@ export declare const ProdTaskRunExecutionPayload: z.ZodObject<{
|
|
|
900
900
|
memory: z.ZodNumber;
|
|
901
901
|
centsPerMs: z.ZodNumber;
|
|
902
902
|
}, "strip", z.ZodTypeAny, {
|
|
903
|
-
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
904
903
|
cpu: number;
|
|
905
904
|
memory: number;
|
|
905
|
+
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
906
906
|
centsPerMs: number;
|
|
907
907
|
}, {
|
|
908
|
-
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
909
908
|
cpu: number;
|
|
910
909
|
memory: number;
|
|
910
|
+
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
911
911
|
centsPerMs: number;
|
|
912
912
|
}>>;
|
|
913
913
|
}, "strip", z.ZodTypeAny, {
|
|
914
|
-
|
|
915
|
-
|
|
914
|
+
task: {
|
|
915
|
+
id: string;
|
|
916
|
+
filePath: string;
|
|
917
|
+
exportName: string;
|
|
918
|
+
};
|
|
919
|
+
attempt: {
|
|
920
|
+
number: number;
|
|
921
|
+
status: string;
|
|
916
922
|
id: string;
|
|
917
923
|
startedAt: Date;
|
|
924
|
+
backgroundWorkerId: string;
|
|
925
|
+
backgroundWorkerTaskId: string;
|
|
926
|
+
};
|
|
927
|
+
run: {
|
|
928
|
+
id: string;
|
|
929
|
+
payload: string;
|
|
918
930
|
payloadType: string;
|
|
931
|
+
tags: string[];
|
|
919
932
|
isTest: boolean;
|
|
920
933
|
createdAt: Date;
|
|
921
|
-
|
|
934
|
+
startedAt: Date;
|
|
922
935
|
durationMs: number;
|
|
923
936
|
costInCents: number;
|
|
924
937
|
baseCostInCents: number;
|
|
@@ -929,6 +942,10 @@ export declare const ProdTaskRunExecutionPayload: z.ZodObject<{
|
|
|
929
942
|
metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
|
|
930
943
|
maxDuration?: number | undefined;
|
|
931
944
|
};
|
|
945
|
+
queue: {
|
|
946
|
+
name: string;
|
|
947
|
+
id: string;
|
|
948
|
+
};
|
|
932
949
|
environment: {
|
|
933
950
|
type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
|
|
934
951
|
id: string;
|
|
@@ -945,44 +962,40 @@ export declare const ProdTaskRunExecutionPayload: z.ZodObject<{
|
|
|
945
962
|
slug: string;
|
|
946
963
|
ref: string;
|
|
947
964
|
};
|
|
948
|
-
task: {
|
|
949
|
-
id: string;
|
|
950
|
-
filePath: string;
|
|
951
|
-
exportName: string;
|
|
952
|
-
};
|
|
953
|
-
attempt: {
|
|
954
|
-
number: number;
|
|
955
|
-
status: string;
|
|
956
|
-
id: string;
|
|
957
|
-
startedAt: Date;
|
|
958
|
-
backgroundWorkerId: string;
|
|
959
|
-
backgroundWorkerTaskId: string;
|
|
960
|
-
};
|
|
961
|
-
queue: {
|
|
962
|
-
name: string;
|
|
963
|
-
id: string;
|
|
964
|
-
};
|
|
965
965
|
machine: {
|
|
966
|
-
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
967
966
|
cpu: number;
|
|
968
967
|
memory: number;
|
|
968
|
+
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
969
969
|
centsPerMs: number;
|
|
970
970
|
};
|
|
971
971
|
worker: {
|
|
972
|
-
version: string;
|
|
973
972
|
id: string;
|
|
973
|
+
version: string;
|
|
974
974
|
contentHash: string;
|
|
975
975
|
};
|
|
976
976
|
batch?: {
|
|
977
977
|
id: string;
|
|
978
978
|
} | undefined;
|
|
979
979
|
}, {
|
|
980
|
+
task: {
|
|
981
|
+
id: string;
|
|
982
|
+
filePath: string;
|
|
983
|
+
exportName: string;
|
|
984
|
+
};
|
|
985
|
+
attempt: {
|
|
986
|
+
number: number;
|
|
987
|
+
status: string;
|
|
988
|
+
id: string;
|
|
989
|
+
startedAt: Date;
|
|
990
|
+
backgroundWorkerId: string;
|
|
991
|
+
backgroundWorkerTaskId: string;
|
|
992
|
+
};
|
|
980
993
|
run: {
|
|
981
|
-
payload: string;
|
|
982
994
|
id: string;
|
|
995
|
+
payload: string;
|
|
983
996
|
payloadType: string;
|
|
984
|
-
createdAt: Date;
|
|
985
997
|
tags: string[];
|
|
998
|
+
createdAt: Date;
|
|
986
999
|
context?: any;
|
|
987
1000
|
isTest?: boolean | undefined;
|
|
988
1001
|
startedAt?: Date | undefined;
|
|
@@ -995,6 +1008,10 @@ export declare const ProdTaskRunExecutionPayload: z.ZodObject<{
|
|
|
995
1008
|
metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
|
|
996
1009
|
maxDuration?: number | undefined;
|
|
997
1010
|
};
|
|
1011
|
+
queue: {
|
|
1012
|
+
name: string;
|
|
1013
|
+
id: string;
|
|
1014
|
+
};
|
|
998
1015
|
environment: {
|
|
999
1016
|
type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
|
|
1000
1017
|
id: string;
|
|
@@ -1011,50 +1028,47 @@ export declare const ProdTaskRunExecutionPayload: z.ZodObject<{
|
|
|
1011
1028
|
slug: string;
|
|
1012
1029
|
ref: string;
|
|
1013
1030
|
};
|
|
1014
|
-
task: {
|
|
1015
|
-
id: string;
|
|
1016
|
-
filePath: string;
|
|
1017
|
-
exportName: string;
|
|
1018
|
-
};
|
|
1019
|
-
attempt: {
|
|
1020
|
-
number: number;
|
|
1021
|
-
status: string;
|
|
1022
|
-
id: string;
|
|
1023
|
-
startedAt: Date;
|
|
1024
|
-
backgroundWorkerId: string;
|
|
1025
|
-
backgroundWorkerTaskId: string;
|
|
1026
|
-
};
|
|
1027
|
-
queue: {
|
|
1028
|
-
name: string;
|
|
1029
|
-
id: string;
|
|
1030
|
-
};
|
|
1031
1031
|
worker: {
|
|
1032
|
-
version: string;
|
|
1033
1032
|
id: string;
|
|
1033
|
+
version: string;
|
|
1034
1034
|
contentHash: string;
|
|
1035
1035
|
};
|
|
1036
1036
|
batch?: {
|
|
1037
1037
|
id: string;
|
|
1038
1038
|
} | undefined;
|
|
1039
1039
|
machine?: {
|
|
1040
|
-
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
1041
1040
|
cpu: number;
|
|
1042
1041
|
memory: number;
|
|
1042
|
+
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
1043
1043
|
centsPerMs: number;
|
|
1044
1044
|
} | undefined;
|
|
1045
1045
|
}>;
|
|
1046
1046
|
traceContext: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
1047
1047
|
environment: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1048
1048
|
}, "strip", z.ZodTypeAny, {
|
|
1049
|
+
traceContext: Record<string, unknown>;
|
|
1049
1050
|
execution: {
|
|
1050
|
-
|
|
1051
|
-
|
|
1051
|
+
task: {
|
|
1052
|
+
id: string;
|
|
1053
|
+
filePath: string;
|
|
1054
|
+
exportName: string;
|
|
1055
|
+
};
|
|
1056
|
+
attempt: {
|
|
1057
|
+
number: number;
|
|
1058
|
+
status: string;
|
|
1052
1059
|
id: string;
|
|
1053
1060
|
startedAt: Date;
|
|
1061
|
+
backgroundWorkerId: string;
|
|
1062
|
+
backgroundWorkerTaskId: string;
|
|
1063
|
+
};
|
|
1064
|
+
run: {
|
|
1065
|
+
id: string;
|
|
1066
|
+
payload: string;
|
|
1054
1067
|
payloadType: string;
|
|
1068
|
+
tags: string[];
|
|
1055
1069
|
isTest: boolean;
|
|
1056
1070
|
createdAt: Date;
|
|
1057
|
-
|
|
1071
|
+
startedAt: Date;
|
|
1058
1072
|
durationMs: number;
|
|
1059
1073
|
costInCents: number;
|
|
1060
1074
|
baseCostInCents: number;
|
|
@@ -1065,6 +1079,10 @@ export declare const ProdTaskRunExecutionPayload: z.ZodObject<{
|
|
|
1065
1079
|
metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
|
|
1066
1080
|
maxDuration?: number | undefined;
|
|
1067
1081
|
};
|
|
1082
|
+
queue: {
|
|
1083
|
+
name: string;
|
|
1084
|
+
id: string;
|
|
1085
|
+
};
|
|
1068
1086
|
environment: {
|
|
1069
1087
|
type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
|
|
1070
1088
|
id: string;
|
|
@@ -1081,48 +1099,44 @@ export declare const ProdTaskRunExecutionPayload: z.ZodObject<{
|
|
|
1081
1099
|
slug: string;
|
|
1082
1100
|
ref: string;
|
|
1083
1101
|
};
|
|
1084
|
-
task: {
|
|
1085
|
-
id: string;
|
|
1086
|
-
filePath: string;
|
|
1087
|
-
exportName: string;
|
|
1088
|
-
};
|
|
1089
|
-
attempt: {
|
|
1090
|
-
number: number;
|
|
1091
|
-
status: string;
|
|
1092
|
-
id: string;
|
|
1093
|
-
startedAt: Date;
|
|
1094
|
-
backgroundWorkerId: string;
|
|
1095
|
-
backgroundWorkerTaskId: string;
|
|
1096
|
-
};
|
|
1097
|
-
queue: {
|
|
1098
|
-
name: string;
|
|
1099
|
-
id: string;
|
|
1100
|
-
};
|
|
1101
1102
|
machine: {
|
|
1102
|
-
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
1103
1103
|
cpu: number;
|
|
1104
1104
|
memory: number;
|
|
1105
|
+
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
1105
1106
|
centsPerMs: number;
|
|
1106
1107
|
};
|
|
1107
1108
|
worker: {
|
|
1108
|
-
version: string;
|
|
1109
1109
|
id: string;
|
|
1110
|
+
version: string;
|
|
1110
1111
|
contentHash: string;
|
|
1111
1112
|
};
|
|
1112
1113
|
batch?: {
|
|
1113
1114
|
id: string;
|
|
1114
1115
|
} | undefined;
|
|
1115
1116
|
};
|
|
1116
|
-
traceContext: Record<string, unknown>;
|
|
1117
1117
|
environment?: Record<string, string> | undefined;
|
|
1118
1118
|
}, {
|
|
1119
|
+
traceContext: Record<string, unknown>;
|
|
1119
1120
|
execution: {
|
|
1121
|
+
task: {
|
|
1122
|
+
id: string;
|
|
1123
|
+
filePath: string;
|
|
1124
|
+
exportName: string;
|
|
1125
|
+
};
|
|
1126
|
+
attempt: {
|
|
1127
|
+
number: number;
|
|
1128
|
+
status: string;
|
|
1129
|
+
id: string;
|
|
1130
|
+
startedAt: Date;
|
|
1131
|
+
backgroundWorkerId: string;
|
|
1132
|
+
backgroundWorkerTaskId: string;
|
|
1133
|
+
};
|
|
1120
1134
|
run: {
|
|
1121
|
-
payload: string;
|
|
1122
1135
|
id: string;
|
|
1136
|
+
payload: string;
|
|
1123
1137
|
payloadType: string;
|
|
1124
|
-
createdAt: Date;
|
|
1125
1138
|
tags: string[];
|
|
1139
|
+
createdAt: Date;
|
|
1126
1140
|
context?: any;
|
|
1127
1141
|
isTest?: boolean | undefined;
|
|
1128
1142
|
startedAt?: Date | undefined;
|
|
@@ -1135,6 +1149,10 @@ export declare const ProdTaskRunExecutionPayload: z.ZodObject<{
|
|
|
1135
1149
|
metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
|
|
1136
1150
|
maxDuration?: number | undefined;
|
|
1137
1151
|
};
|
|
1152
|
+
queue: {
|
|
1153
|
+
name: string;
|
|
1154
|
+
id: string;
|
|
1155
|
+
};
|
|
1138
1156
|
environment: {
|
|
1139
1157
|
type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
|
|
1140
1158
|
id: string;
|
|
@@ -1151,39 +1169,21 @@ export declare const ProdTaskRunExecutionPayload: z.ZodObject<{
|
|
|
1151
1169
|
slug: string;
|
|
1152
1170
|
ref: string;
|
|
1153
1171
|
};
|
|
1154
|
-
task: {
|
|
1155
|
-
id: string;
|
|
1156
|
-
filePath: string;
|
|
1157
|
-
exportName: string;
|
|
1158
|
-
};
|
|
1159
|
-
attempt: {
|
|
1160
|
-
number: number;
|
|
1161
|
-
status: string;
|
|
1162
|
-
id: string;
|
|
1163
|
-
startedAt: Date;
|
|
1164
|
-
backgroundWorkerId: string;
|
|
1165
|
-
backgroundWorkerTaskId: string;
|
|
1166
|
-
};
|
|
1167
|
-
queue: {
|
|
1168
|
-
name: string;
|
|
1169
|
-
id: string;
|
|
1170
|
-
};
|
|
1171
1172
|
worker: {
|
|
1172
|
-
version: string;
|
|
1173
1173
|
id: string;
|
|
1174
|
+
version: string;
|
|
1174
1175
|
contentHash: string;
|
|
1175
1176
|
};
|
|
1176
1177
|
batch?: {
|
|
1177
1178
|
id: string;
|
|
1178
1179
|
} | undefined;
|
|
1179
1180
|
machine?: {
|
|
1180
|
-
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
1181
1181
|
cpu: number;
|
|
1182
1182
|
memory: number;
|
|
1183
|
+
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
1183
1184
|
centsPerMs: number;
|
|
1184
1185
|
} | undefined;
|
|
1185
1186
|
};
|
|
1186
|
-
traceContext: Record<string, unknown>;
|
|
1187
1187
|
environment?: Record<string, string> | undefined;
|
|
1188
1188
|
}>;
|
|
1189
1189
|
export type ProdTaskRunExecutionPayload = z.infer<typeof ProdTaskRunExecutionPayload>;
|
|
@@ -1926,12 +1926,12 @@ export declare const TaskMetadata: z.ZodObject<{
|
|
|
1926
1926
|
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>]>>;
|
|
1927
1927
|
preset: z.ZodOptional<z.ZodEnum<["micro", "small-1x", "small-2x", "medium-1x", "medium-2x", "large-1x", "large-2x"]>>;
|
|
1928
1928
|
}, "strip", z.ZodTypeAny, {
|
|
1929
|
-
cpu?:
|
|
1930
|
-
memory?:
|
|
1929
|
+
cpu?: 2 | 1 | 0.25 | 0.5 | 4 | undefined;
|
|
1930
|
+
memory?: 2 | 1 | 0.25 | 0.5 | 4 | 8 | undefined;
|
|
1931
1931
|
preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
|
|
1932
1932
|
}, {
|
|
1933
|
-
cpu?:
|
|
1934
|
-
memory?:
|
|
1933
|
+
cpu?: 2 | 1 | 0.25 | 0.5 | 4 | undefined;
|
|
1934
|
+
memory?: 2 | 1 | 0.25 | 0.5 | 4 | 8 | undefined;
|
|
1935
1935
|
preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
|
|
1936
1936
|
}>>;
|
|
1937
1937
|
triggerSource: z.ZodOptional<z.ZodString>;
|
|
@@ -1993,8 +1993,8 @@ export declare const TaskMetadata: z.ZodObject<{
|
|
|
1993
1993
|
randomize?: boolean | undefined;
|
|
1994
1994
|
} | undefined;
|
|
1995
1995
|
machine?: {
|
|
1996
|
-
cpu?:
|
|
1997
|
-
memory?:
|
|
1996
|
+
cpu?: 2 | 1 | 0.25 | 0.5 | 4 | undefined;
|
|
1997
|
+
memory?: 2 | 1 | 0.25 | 0.5 | 4 | 8 | undefined;
|
|
1998
1998
|
preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
|
|
1999
1999
|
} | undefined;
|
|
2000
2000
|
triggerSource?: string | undefined;
|
|
@@ -2050,8 +2050,8 @@ export declare const TaskMetadata: z.ZodObject<{
|
|
|
2050
2050
|
randomize?: boolean | undefined;
|
|
2051
2051
|
} | undefined;
|
|
2052
2052
|
machine?: {
|
|
2053
|
-
cpu?:
|
|
2054
|
-
memory?:
|
|
2053
|
+
cpu?: 2 | 1 | 0.25 | 0.5 | 4 | undefined;
|
|
2054
|
+
memory?: 2 | 1 | 0.25 | 0.5 | 4 | 8 | undefined;
|
|
2055
2055
|
preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
|
|
2056
2056
|
} | undefined;
|
|
2057
2057
|
triggerSource?: string | undefined;
|
|
@@ -2347,12 +2347,12 @@ export declare const TaskManifest: z.ZodObject<{
|
|
|
2347
2347
|
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>]>>;
|
|
2348
2348
|
preset: z.ZodOptional<z.ZodEnum<["micro", "small-1x", "small-2x", "medium-1x", "medium-2x", "large-1x", "large-2x"]>>;
|
|
2349
2349
|
}, "strip", z.ZodTypeAny, {
|
|
2350
|
-
cpu?:
|
|
2351
|
-
memory?:
|
|
2350
|
+
cpu?: 2 | 1 | 0.25 | 0.5 | 4 | undefined;
|
|
2351
|
+
memory?: 2 | 1 | 0.25 | 0.5 | 4 | 8 | undefined;
|
|
2352
2352
|
preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
|
|
2353
2353
|
}, {
|
|
2354
|
-
cpu?:
|
|
2355
|
-
memory?:
|
|
2354
|
+
cpu?: 2 | 1 | 0.25 | 0.5 | 4 | undefined;
|
|
2355
|
+
memory?: 2 | 1 | 0.25 | 0.5 | 4 | 8 | undefined;
|
|
2356
2356
|
preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
|
|
2357
2357
|
}>>;
|
|
2358
2358
|
triggerSource: z.ZodOptional<z.ZodString>;
|
|
@@ -2417,8 +2417,8 @@ export declare const TaskManifest: z.ZodObject<{
|
|
|
2417
2417
|
randomize?: boolean | undefined;
|
|
2418
2418
|
} | undefined;
|
|
2419
2419
|
machine?: {
|
|
2420
|
-
cpu?:
|
|
2421
|
-
memory?:
|
|
2420
|
+
cpu?: 2 | 1 | 0.25 | 0.5 | 4 | undefined;
|
|
2421
|
+
memory?: 2 | 1 | 0.25 | 0.5 | 4 | 8 | undefined;
|
|
2422
2422
|
preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
|
|
2423
2423
|
} | undefined;
|
|
2424
2424
|
triggerSource?: string | undefined;
|
|
@@ -2477,8 +2477,8 @@ export declare const TaskManifest: z.ZodObject<{
|
|
|
2477
2477
|
randomize?: boolean | undefined;
|
|
2478
2478
|
} | undefined;
|
|
2479
2479
|
machine?: {
|
|
2480
|
-
cpu?:
|
|
2481
|
-
memory?:
|
|
2480
|
+
cpu?: 2 | 1 | 0.25 | 0.5 | 4 | undefined;
|
|
2481
|
+
memory?: 2 | 1 | 0.25 | 0.5 | 4 | 8 | undefined;
|
|
2482
2482
|
preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
|
|
2483
2483
|
} | undefined;
|
|
2484
2484
|
triggerSource?: string | undefined;
|
|
@@ -2617,16 +2617,16 @@ export declare const TaskRunExecutionLazyAttemptPayload: z.ZodObject<{
|
|
|
2617
2617
|
environment: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
2618
2618
|
}, "strip", z.ZodTypeAny, {
|
|
2619
2619
|
isTest: boolean;
|
|
2620
|
-
traceContext: Record<string, unknown>;
|
|
2621
2620
|
runId: string;
|
|
2622
2621
|
messageId: string;
|
|
2622
|
+
traceContext: Record<string, unknown>;
|
|
2623
2623
|
attemptCount?: number | undefined;
|
|
2624
2624
|
environment?: Record<string, string> | undefined;
|
|
2625
2625
|
}, {
|
|
2626
2626
|
isTest: boolean;
|
|
2627
|
-
traceContext: Record<string, unknown>;
|
|
2628
2627
|
runId: string;
|
|
2629
2628
|
messageId: string;
|
|
2629
|
+
traceContext: Record<string, unknown>;
|
|
2630
2630
|
attemptCount?: number | undefined;
|
|
2631
2631
|
environment?: Record<string, string> | undefined;
|
|
2632
2632
|
}>;
|