@trigger.dev/core 0.0.0-prerelease-20250116195421 → 0.0.0-prerelease-20250204161430
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/logger.js +38 -0
- package/dist/commonjs/logger.js.map +1 -1
- package/dist/commonjs/schemas/api.d.ts +2123 -2123
- package/dist/commonjs/schemas/events.d.ts +8 -8
- package/dist/commonjs/schemas/fetch.d.ts +54 -54
- package/dist/commonjs/schemas/integrations.d.ts +4 -4
- package/dist/commonjs/schemas/notifications.d.ts +80 -80
- package/dist/commonjs/schemas/properties.d.ts +4 -4
- package/dist/commonjs/schemas/request.d.ts +4 -4
- package/dist/commonjs/schemas/requestFilter.d.ts +2 -2
- package/dist/commonjs/schemas/runs.d.ts +39 -39
- package/dist/commonjs/schemas/schedules.d.ts +12 -12
- package/dist/commonjs/schemas/statuses.d.ts +24 -24
- package/dist/commonjs/schemas/tasks.d.ts +54 -54
- package/dist/commonjs/schemas/triggers.d.ts +36 -36
- package/dist/commonjs/v3/apiClient/core.d.ts +26 -2
- package/dist/commonjs/v3/apiClient/core.js +51 -1
- package/dist/commonjs/v3/apiClient/core.js.map +1 -1
- package/dist/commonjs/v3/apiClient/index.d.ts +70 -70
- package/dist/commonjs/v3/apiClient/index.js.map +1 -1
- package/dist/commonjs/v3/build/runtime.js +15 -1
- package/dist/commonjs/v3/build/runtime.js.map +1 -1
- package/dist/commonjs/v3/runtime/preventMultipleWaits.d.ts +1 -0
- package/dist/commonjs/v3/schemas/api.d.ts +406 -403
- package/dist/commonjs/v3/schemas/api.js +1 -0
- package/dist/commonjs/v3/schemas/api.js.map +1 -1
- package/dist/commonjs/v3/schemas/build.d.ts +178 -178
- package/dist/commonjs/v3/schemas/common.d.ts +1374 -1374
- package/dist/commonjs/v3/schemas/messages.d.ts +3001 -2959
- package/dist/commonjs/v3/schemas/messages.js +4 -4
- package/dist/commonjs/v3/schemas/messages.js.map +1 -1
- package/dist/commonjs/v3/schemas/openTelemetry.d.ts +20 -20
- package/dist/commonjs/v3/schemas/resources.d.ts +52 -52
- package/dist/commonjs/v3/schemas/schemas.d.ts +239 -239
- package/dist/commonjs/v3/schemas/schemas.js +2 -2
- package/dist/commonjs/v3/schemas/schemas.js.map +1 -1
- package/dist/commonjs/v3/schemas/style.d.ts +10 -10
- package/dist/commonjs/v3/zodMessageHandler.d.ts +4 -2
- package/dist/commonjs/v3/zodMessageHandler.js +8 -0
- package/dist/commonjs/v3/zodMessageHandler.js.map +1 -1
- package/dist/commonjs/version.js +1 -1
- package/dist/esm/logger.js +38 -0
- package/dist/esm/logger.js.map +1 -1
- package/dist/esm/schemas/api.d.ts +2123 -2123
- package/dist/esm/schemas/events.d.ts +8 -8
- package/dist/esm/schemas/fetch.d.ts +54 -54
- package/dist/esm/schemas/integrations.d.ts +4 -4
- package/dist/esm/schemas/notifications.d.ts +80 -80
- package/dist/esm/schemas/properties.d.ts +4 -4
- package/dist/esm/schemas/request.d.ts +4 -4
- package/dist/esm/schemas/requestFilter.d.ts +2 -2
- package/dist/esm/schemas/runs.d.ts +39 -39
- package/dist/esm/schemas/schedules.d.ts +12 -12
- package/dist/esm/schemas/statuses.d.ts +24 -24
- package/dist/esm/schemas/tasks.d.ts +54 -54
- package/dist/esm/schemas/triggers.d.ts +36 -36
- package/dist/esm/v3/apiClient/core.d.ts +26 -2
- package/dist/esm/v3/apiClient/core.js +48 -0
- package/dist/esm/v3/apiClient/core.js.map +1 -1
- package/dist/esm/v3/apiClient/index.d.ts +70 -70
- package/dist/esm/v3/apiClient/index.js.map +1 -1
- package/dist/esm/v3/build/runtime.js +15 -1
- package/dist/esm/v3/build/runtime.js.map +1 -1
- package/dist/esm/v3/schemas/api.d.ts +406 -403
- package/dist/esm/v3/schemas/api.js +1 -0
- package/dist/esm/v3/schemas/api.js.map +1 -1
- package/dist/esm/v3/schemas/build.d.ts +178 -178
- package/dist/esm/v3/schemas/common.d.ts +1374 -1374
- package/dist/esm/v3/schemas/messages.d.ts +3001 -2959
- package/dist/esm/v3/schemas/messages.js +3 -3
- package/dist/esm/v3/schemas/messages.js.map +1 -1
- package/dist/esm/v3/schemas/openTelemetry.d.ts +20 -20
- package/dist/esm/v3/schemas/resources.d.ts +52 -52
- package/dist/esm/v3/schemas/schemas.d.ts +239 -239
- package/dist/esm/v3/schemas/schemas.js +2 -2
- package/dist/esm/v3/schemas/schemas.js.map +1 -1
- package/dist/esm/v3/schemas/style.d.ts +10 -10
- package/dist/esm/v3/zodMessageHandler.d.ts +4 -2
- package/dist/esm/v3/zodMessageHandler.js +8 -0
- package/dist/esm/v3/zodMessageHandler.js.map +1 -1
- package/dist/esm/version.js +1 -1
- package/package.json +2 -1
|
@@ -10,12 +10,12 @@ export declare const TaskRunExecutionPayload: z.ZodObject<{
|
|
|
10
10
|
exportName: z.ZodString;
|
|
11
11
|
}, "strip", z.ZodTypeAny, {
|
|
12
12
|
id: string;
|
|
13
|
-
exportName: string;
|
|
14
13
|
filePath: string;
|
|
14
|
+
exportName: string;
|
|
15
15
|
}, {
|
|
16
16
|
id: string;
|
|
17
|
-
exportName: string;
|
|
18
17
|
filePath: string;
|
|
18
|
+
exportName: string;
|
|
19
19
|
}>;
|
|
20
20
|
attempt: z.ZodObject<{
|
|
21
21
|
id: z.ZodString;
|
|
@@ -26,15 +26,15 @@ export declare const TaskRunExecutionPayload: z.ZodObject<{
|
|
|
26
26
|
status: z.ZodString;
|
|
27
27
|
}, "strip", z.ZodTypeAny, {
|
|
28
28
|
number: number;
|
|
29
|
-
id: string;
|
|
30
29
|
status: string;
|
|
30
|
+
id: string;
|
|
31
31
|
startedAt: Date;
|
|
32
32
|
backgroundWorkerId: string;
|
|
33
33
|
backgroundWorkerTaskId: string;
|
|
34
34
|
}, {
|
|
35
35
|
number: number;
|
|
36
|
-
id: string;
|
|
37
36
|
status: string;
|
|
37
|
+
id: string;
|
|
38
38
|
startedAt: Date;
|
|
39
39
|
backgroundWorkerId: string;
|
|
40
40
|
backgroundWorkerTaskId: string;
|
|
@@ -68,11 +68,11 @@ export declare const TaskRunExecutionPayload: z.ZodObject<{
|
|
|
68
68
|
costInCents: number;
|
|
69
69
|
baseCostInCents: number;
|
|
70
70
|
maxAttempts?: number | undefined;
|
|
71
|
-
maxDuration?: number | undefined;
|
|
72
|
-
version?: string | undefined;
|
|
73
71
|
context?: any;
|
|
74
72
|
idempotencyKey?: string | undefined;
|
|
73
|
+
version?: string | undefined;
|
|
75
74
|
metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
|
|
75
|
+
maxDuration?: number | undefined;
|
|
76
76
|
}, {
|
|
77
77
|
id: string;
|
|
78
78
|
payload: string;
|
|
@@ -80,8 +80,6 @@ export declare const TaskRunExecutionPayload: z.ZodObject<{
|
|
|
80
80
|
tags: string[];
|
|
81
81
|
createdAt: Date;
|
|
82
82
|
maxAttempts?: number | undefined;
|
|
83
|
-
maxDuration?: number | undefined;
|
|
84
|
-
version?: string | undefined;
|
|
85
83
|
startedAt?: Date | undefined;
|
|
86
84
|
context?: any;
|
|
87
85
|
isTest?: boolean | undefined;
|
|
@@ -89,29 +87,31 @@ export declare const TaskRunExecutionPayload: z.ZodObject<{
|
|
|
89
87
|
durationMs?: number | undefined;
|
|
90
88
|
costInCents?: number | undefined;
|
|
91
89
|
baseCostInCents?: number | undefined;
|
|
90
|
+
version?: string | undefined;
|
|
92
91
|
metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
|
|
92
|
+
maxDuration?: number | undefined;
|
|
93
93
|
}>;
|
|
94
94
|
queue: z.ZodObject<{
|
|
95
95
|
id: z.ZodString;
|
|
96
96
|
name: z.ZodString;
|
|
97
97
|
}, "strip", z.ZodTypeAny, {
|
|
98
|
-
id: string;
|
|
99
98
|
name: string;
|
|
100
|
-
}, {
|
|
101
99
|
id: string;
|
|
100
|
+
}, {
|
|
102
101
|
name: string;
|
|
102
|
+
id: string;
|
|
103
103
|
}>;
|
|
104
104
|
environment: z.ZodObject<{
|
|
105
105
|
id: z.ZodString;
|
|
106
106
|
slug: z.ZodString;
|
|
107
107
|
type: z.ZodEnum<["PRODUCTION", "STAGING", "DEVELOPMENT", "PREVIEW"]>;
|
|
108
108
|
}, "strip", z.ZodTypeAny, {
|
|
109
|
-
id: string;
|
|
110
109
|
type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
|
|
110
|
+
id: string;
|
|
111
111
|
slug: string;
|
|
112
112
|
}, {
|
|
113
|
-
id: string;
|
|
114
113
|
type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
|
|
114
|
+
id: string;
|
|
115
115
|
slug: string;
|
|
116
116
|
}>;
|
|
117
117
|
organization: z.ZodObject<{
|
|
@@ -119,12 +119,12 @@ export declare const TaskRunExecutionPayload: z.ZodObject<{
|
|
|
119
119
|
slug: z.ZodString;
|
|
120
120
|
name: z.ZodString;
|
|
121
121
|
}, "strip", z.ZodTypeAny, {
|
|
122
|
-
id: string;
|
|
123
122
|
name: string;
|
|
123
|
+
id: string;
|
|
124
124
|
slug: string;
|
|
125
125
|
}, {
|
|
126
|
-
id: string;
|
|
127
126
|
name: string;
|
|
127
|
+
id: string;
|
|
128
128
|
slug: string;
|
|
129
129
|
}>;
|
|
130
130
|
project: z.ZodObject<{
|
|
@@ -133,13 +133,13 @@ export declare const TaskRunExecutionPayload: z.ZodObject<{
|
|
|
133
133
|
slug: z.ZodString;
|
|
134
134
|
name: z.ZodString;
|
|
135
135
|
}, "strip", z.ZodTypeAny, {
|
|
136
|
-
id: string;
|
|
137
136
|
name: string;
|
|
137
|
+
id: string;
|
|
138
138
|
slug: string;
|
|
139
139
|
ref: string;
|
|
140
140
|
}, {
|
|
141
|
-
id: string;
|
|
142
141
|
name: string;
|
|
142
|
+
id: string;
|
|
143
143
|
slug: string;
|
|
144
144
|
ref: string;
|
|
145
145
|
}>;
|
|
@@ -167,19 +167,15 @@ export declare const TaskRunExecutionPayload: z.ZodObject<{
|
|
|
167
167
|
centsPerMs: number;
|
|
168
168
|
}>>;
|
|
169
169
|
}, "strip", z.ZodTypeAny, {
|
|
170
|
-
queue: {
|
|
171
|
-
id: string;
|
|
172
|
-
name: string;
|
|
173
|
-
};
|
|
174
170
|
task: {
|
|
175
171
|
id: string;
|
|
176
|
-
exportName: string;
|
|
177
172
|
filePath: string;
|
|
173
|
+
exportName: string;
|
|
178
174
|
};
|
|
179
175
|
attempt: {
|
|
180
176
|
number: number;
|
|
181
|
-
id: string;
|
|
182
177
|
status: string;
|
|
178
|
+
id: string;
|
|
183
179
|
startedAt: Date;
|
|
184
180
|
backgroundWorkerId: string;
|
|
185
181
|
backgroundWorkerTaskId: string;
|
|
@@ -196,51 +192,51 @@ export declare const TaskRunExecutionPayload: z.ZodObject<{
|
|
|
196
192
|
costInCents: number;
|
|
197
193
|
baseCostInCents: number;
|
|
198
194
|
maxAttempts?: number | undefined;
|
|
199
|
-
maxDuration?: number | undefined;
|
|
200
|
-
version?: string | undefined;
|
|
201
195
|
context?: any;
|
|
202
196
|
idempotencyKey?: string | undefined;
|
|
197
|
+
version?: string | undefined;
|
|
203
198
|
metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
|
|
199
|
+
maxDuration?: number | undefined;
|
|
204
200
|
};
|
|
205
|
-
|
|
201
|
+
queue: {
|
|
202
|
+
name: string;
|
|
206
203
|
id: string;
|
|
204
|
+
};
|
|
205
|
+
environment: {
|
|
207
206
|
type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
|
|
207
|
+
id: string;
|
|
208
208
|
slug: string;
|
|
209
209
|
};
|
|
210
210
|
organization: {
|
|
211
|
-
id: string;
|
|
212
211
|
name: string;
|
|
212
|
+
id: string;
|
|
213
213
|
slug: string;
|
|
214
214
|
};
|
|
215
215
|
project: {
|
|
216
|
-
id: string;
|
|
217
216
|
name: string;
|
|
217
|
+
id: string;
|
|
218
218
|
slug: string;
|
|
219
219
|
ref: string;
|
|
220
220
|
};
|
|
221
|
+
batch?: {
|
|
222
|
+
id: string;
|
|
223
|
+
} | undefined;
|
|
221
224
|
machine?: {
|
|
222
225
|
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
223
226
|
cpu: number;
|
|
224
227
|
memory: number;
|
|
225
228
|
centsPerMs: number;
|
|
226
229
|
} | undefined;
|
|
227
|
-
batch?: {
|
|
228
|
-
id: string;
|
|
229
|
-
} | undefined;
|
|
230
230
|
}, {
|
|
231
|
-
queue: {
|
|
232
|
-
id: string;
|
|
233
|
-
name: string;
|
|
234
|
-
};
|
|
235
231
|
task: {
|
|
236
232
|
id: string;
|
|
237
|
-
exportName: string;
|
|
238
233
|
filePath: string;
|
|
234
|
+
exportName: string;
|
|
239
235
|
};
|
|
240
236
|
attempt: {
|
|
241
237
|
number: number;
|
|
242
|
-
id: string;
|
|
243
238
|
status: string;
|
|
239
|
+
id: string;
|
|
244
240
|
startedAt: Date;
|
|
245
241
|
backgroundWorkerId: string;
|
|
246
242
|
backgroundWorkerTaskId: string;
|
|
@@ -252,8 +248,6 @@ export declare const TaskRunExecutionPayload: z.ZodObject<{
|
|
|
252
248
|
tags: string[];
|
|
253
249
|
createdAt: Date;
|
|
254
250
|
maxAttempts?: number | undefined;
|
|
255
|
-
maxDuration?: number | undefined;
|
|
256
|
-
version?: string | undefined;
|
|
257
251
|
startedAt?: Date | undefined;
|
|
258
252
|
context?: any;
|
|
259
253
|
isTest?: boolean | undefined;
|
|
@@ -261,51 +255,53 @@ export declare const TaskRunExecutionPayload: z.ZodObject<{
|
|
|
261
255
|
durationMs?: number | undefined;
|
|
262
256
|
costInCents?: number | undefined;
|
|
263
257
|
baseCostInCents?: number | undefined;
|
|
258
|
+
version?: string | undefined;
|
|
264
259
|
metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
|
|
260
|
+
maxDuration?: number | undefined;
|
|
265
261
|
};
|
|
266
|
-
|
|
262
|
+
queue: {
|
|
263
|
+
name: string;
|
|
267
264
|
id: string;
|
|
265
|
+
};
|
|
266
|
+
environment: {
|
|
268
267
|
type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
|
|
268
|
+
id: string;
|
|
269
269
|
slug: string;
|
|
270
270
|
};
|
|
271
271
|
organization: {
|
|
272
|
-
id: string;
|
|
273
272
|
name: string;
|
|
273
|
+
id: string;
|
|
274
274
|
slug: string;
|
|
275
275
|
};
|
|
276
276
|
project: {
|
|
277
|
-
id: string;
|
|
278
277
|
name: string;
|
|
278
|
+
id: string;
|
|
279
279
|
slug: string;
|
|
280
280
|
ref: string;
|
|
281
281
|
};
|
|
282
|
+
batch?: {
|
|
283
|
+
id: string;
|
|
284
|
+
} | undefined;
|
|
282
285
|
machine?: {
|
|
283
286
|
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
284
287
|
cpu: number;
|
|
285
288
|
memory: number;
|
|
286
289
|
centsPerMs: number;
|
|
287
290
|
} | undefined;
|
|
288
|
-
batch?: {
|
|
289
|
-
id: string;
|
|
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
295
|
execution: {
|
|
296
|
-
queue: {
|
|
297
|
-
id: string;
|
|
298
|
-
name: string;
|
|
299
|
-
};
|
|
300
296
|
task: {
|
|
301
297
|
id: string;
|
|
302
|
-
exportName: string;
|
|
303
298
|
filePath: string;
|
|
299
|
+
exportName: string;
|
|
304
300
|
};
|
|
305
301
|
attempt: {
|
|
306
302
|
number: number;
|
|
307
|
-
id: string;
|
|
308
303
|
status: string;
|
|
304
|
+
id: string;
|
|
309
305
|
startedAt: Date;
|
|
310
306
|
backgroundWorkerId: string;
|
|
311
307
|
backgroundWorkerTaskId: string;
|
|
@@ -322,55 +318,55 @@ export declare const TaskRunExecutionPayload: z.ZodObject<{
|
|
|
322
318
|
costInCents: number;
|
|
323
319
|
baseCostInCents: number;
|
|
324
320
|
maxAttempts?: number | undefined;
|
|
325
|
-
maxDuration?: number | undefined;
|
|
326
|
-
version?: string | undefined;
|
|
327
321
|
context?: any;
|
|
328
322
|
idempotencyKey?: string | undefined;
|
|
323
|
+
version?: string | undefined;
|
|
329
324
|
metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
|
|
325
|
+
maxDuration?: number | undefined;
|
|
330
326
|
};
|
|
331
|
-
|
|
327
|
+
queue: {
|
|
328
|
+
name: string;
|
|
332
329
|
id: string;
|
|
330
|
+
};
|
|
331
|
+
environment: {
|
|
333
332
|
type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
|
|
333
|
+
id: string;
|
|
334
334
|
slug: string;
|
|
335
335
|
};
|
|
336
336
|
organization: {
|
|
337
|
-
id: string;
|
|
338
337
|
name: string;
|
|
338
|
+
id: string;
|
|
339
339
|
slug: string;
|
|
340
340
|
};
|
|
341
341
|
project: {
|
|
342
|
-
id: string;
|
|
343
342
|
name: string;
|
|
343
|
+
id: string;
|
|
344
344
|
slug: string;
|
|
345
345
|
ref: string;
|
|
346
346
|
};
|
|
347
|
+
batch?: {
|
|
348
|
+
id: string;
|
|
349
|
+
} | undefined;
|
|
347
350
|
machine?: {
|
|
348
351
|
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
349
352
|
cpu: number;
|
|
350
353
|
memory: number;
|
|
351
354
|
centsPerMs: number;
|
|
352
355
|
} | undefined;
|
|
353
|
-
batch?: {
|
|
354
|
-
id: string;
|
|
355
|
-
} | undefined;
|
|
356
356
|
};
|
|
357
357
|
traceContext: Record<string, unknown>;
|
|
358
358
|
environment?: Record<string, string> | undefined;
|
|
359
359
|
}, {
|
|
360
360
|
execution: {
|
|
361
|
-
queue: {
|
|
362
|
-
id: string;
|
|
363
|
-
name: string;
|
|
364
|
-
};
|
|
365
361
|
task: {
|
|
366
362
|
id: string;
|
|
367
|
-
exportName: string;
|
|
368
363
|
filePath: string;
|
|
364
|
+
exportName: string;
|
|
369
365
|
};
|
|
370
366
|
attempt: {
|
|
371
367
|
number: number;
|
|
372
|
-
id: string;
|
|
373
368
|
status: string;
|
|
369
|
+
id: string;
|
|
374
370
|
startedAt: Date;
|
|
375
371
|
backgroundWorkerId: string;
|
|
376
372
|
backgroundWorkerTaskId: string;
|
|
@@ -382,8 +378,6 @@ export declare const TaskRunExecutionPayload: z.ZodObject<{
|
|
|
382
378
|
tags: string[];
|
|
383
379
|
createdAt: Date;
|
|
384
380
|
maxAttempts?: number | undefined;
|
|
385
|
-
maxDuration?: number | undefined;
|
|
386
|
-
version?: string | undefined;
|
|
387
381
|
startedAt?: Date | undefined;
|
|
388
382
|
context?: any;
|
|
389
383
|
isTest?: boolean | undefined;
|
|
@@ -391,33 +385,39 @@ export declare const TaskRunExecutionPayload: z.ZodObject<{
|
|
|
391
385
|
durationMs?: number | undefined;
|
|
392
386
|
costInCents?: number | undefined;
|
|
393
387
|
baseCostInCents?: number | undefined;
|
|
388
|
+
version?: string | undefined;
|
|
394
389
|
metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
|
|
390
|
+
maxDuration?: number | undefined;
|
|
395
391
|
};
|
|
396
|
-
|
|
392
|
+
queue: {
|
|
393
|
+
name: string;
|
|
397
394
|
id: string;
|
|
395
|
+
};
|
|
396
|
+
environment: {
|
|
398
397
|
type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
|
|
398
|
+
id: string;
|
|
399
399
|
slug: string;
|
|
400
400
|
};
|
|
401
401
|
organization: {
|
|
402
|
-
id: string;
|
|
403
402
|
name: string;
|
|
403
|
+
id: string;
|
|
404
404
|
slug: string;
|
|
405
405
|
};
|
|
406
406
|
project: {
|
|
407
|
-
id: string;
|
|
408
407
|
name: string;
|
|
408
|
+
id: string;
|
|
409
409
|
slug: string;
|
|
410
410
|
ref: string;
|
|
411
411
|
};
|
|
412
|
+
batch?: {
|
|
413
|
+
id: string;
|
|
414
|
+
} | undefined;
|
|
412
415
|
machine?: {
|
|
413
416
|
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
414
417
|
cpu: number;
|
|
415
418
|
memory: number;
|
|
416
419
|
centsPerMs: number;
|
|
417
420
|
} | undefined;
|
|
418
|
-
batch?: {
|
|
419
|
-
id: string;
|
|
420
|
-
} | undefined;
|
|
421
421
|
};
|
|
422
422
|
traceContext: Record<string, unknown>;
|
|
423
423
|
environment?: Record<string, string> | undefined;
|
|
@@ -430,12 +430,12 @@ export declare const ProdTaskRunExecution: z.ZodObject<z.objectUtil.extendShape<
|
|
|
430
430
|
exportName: z.ZodString;
|
|
431
431
|
}, "strip", z.ZodTypeAny, {
|
|
432
432
|
id: string;
|
|
433
|
-
exportName: string;
|
|
434
433
|
filePath: string;
|
|
434
|
+
exportName: string;
|
|
435
435
|
}, {
|
|
436
436
|
id: string;
|
|
437
|
-
exportName: string;
|
|
438
437
|
filePath: string;
|
|
438
|
+
exportName: string;
|
|
439
439
|
}>;
|
|
440
440
|
attempt: z.ZodObject<{
|
|
441
441
|
id: z.ZodString;
|
|
@@ -446,15 +446,15 @@ export declare const ProdTaskRunExecution: z.ZodObject<z.objectUtil.extendShape<
|
|
|
446
446
|
status: z.ZodString;
|
|
447
447
|
}, "strip", z.ZodTypeAny, {
|
|
448
448
|
number: number;
|
|
449
|
-
id: string;
|
|
450
449
|
status: string;
|
|
450
|
+
id: string;
|
|
451
451
|
startedAt: Date;
|
|
452
452
|
backgroundWorkerId: string;
|
|
453
453
|
backgroundWorkerTaskId: string;
|
|
454
454
|
}, {
|
|
455
455
|
number: number;
|
|
456
|
-
id: string;
|
|
457
456
|
status: string;
|
|
457
|
+
id: string;
|
|
458
458
|
startedAt: Date;
|
|
459
459
|
backgroundWorkerId: string;
|
|
460
460
|
backgroundWorkerTaskId: string;
|
|
@@ -488,11 +488,11 @@ export declare const ProdTaskRunExecution: z.ZodObject<z.objectUtil.extendShape<
|
|
|
488
488
|
costInCents: number;
|
|
489
489
|
baseCostInCents: number;
|
|
490
490
|
maxAttempts?: number | undefined;
|
|
491
|
-
maxDuration?: number | undefined;
|
|
492
|
-
version?: string | undefined;
|
|
493
491
|
context?: any;
|
|
494
492
|
idempotencyKey?: string | undefined;
|
|
493
|
+
version?: string | undefined;
|
|
495
494
|
metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
|
|
495
|
+
maxDuration?: number | undefined;
|
|
496
496
|
}, {
|
|
497
497
|
id: string;
|
|
498
498
|
payload: string;
|
|
@@ -500,8 +500,6 @@ export declare const ProdTaskRunExecution: z.ZodObject<z.objectUtil.extendShape<
|
|
|
500
500
|
tags: string[];
|
|
501
501
|
createdAt: Date;
|
|
502
502
|
maxAttempts?: number | undefined;
|
|
503
|
-
maxDuration?: number | undefined;
|
|
504
|
-
version?: string | undefined;
|
|
505
503
|
startedAt?: Date | undefined;
|
|
506
504
|
context?: any;
|
|
507
505
|
isTest?: boolean | undefined;
|
|
@@ -509,29 +507,31 @@ export declare const ProdTaskRunExecution: z.ZodObject<z.objectUtil.extendShape<
|
|
|
509
507
|
durationMs?: number | undefined;
|
|
510
508
|
costInCents?: number | undefined;
|
|
511
509
|
baseCostInCents?: number | undefined;
|
|
510
|
+
version?: string | undefined;
|
|
512
511
|
metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
|
|
512
|
+
maxDuration?: number | undefined;
|
|
513
513
|
}>;
|
|
514
514
|
queue: z.ZodObject<{
|
|
515
515
|
id: z.ZodString;
|
|
516
516
|
name: z.ZodString;
|
|
517
517
|
}, "strip", z.ZodTypeAny, {
|
|
518
|
-
id: string;
|
|
519
518
|
name: string;
|
|
520
|
-
}, {
|
|
521
519
|
id: string;
|
|
520
|
+
}, {
|
|
522
521
|
name: string;
|
|
522
|
+
id: string;
|
|
523
523
|
}>;
|
|
524
524
|
environment: z.ZodObject<{
|
|
525
525
|
id: z.ZodString;
|
|
526
526
|
slug: z.ZodString;
|
|
527
527
|
type: z.ZodEnum<["PRODUCTION", "STAGING", "DEVELOPMENT", "PREVIEW"]>;
|
|
528
528
|
}, "strip", z.ZodTypeAny, {
|
|
529
|
-
id: string;
|
|
530
529
|
type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
|
|
530
|
+
id: string;
|
|
531
531
|
slug: string;
|
|
532
532
|
}, {
|
|
533
|
-
id: string;
|
|
534
533
|
type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
|
|
534
|
+
id: string;
|
|
535
535
|
slug: string;
|
|
536
536
|
}>;
|
|
537
537
|
organization: z.ZodObject<{
|
|
@@ -539,12 +539,12 @@ export declare const ProdTaskRunExecution: z.ZodObject<z.objectUtil.extendShape<
|
|
|
539
539
|
slug: z.ZodString;
|
|
540
540
|
name: z.ZodString;
|
|
541
541
|
}, "strip", z.ZodTypeAny, {
|
|
542
|
-
id: string;
|
|
543
542
|
name: string;
|
|
543
|
+
id: string;
|
|
544
544
|
slug: string;
|
|
545
545
|
}, {
|
|
546
|
-
id: string;
|
|
547
546
|
name: string;
|
|
547
|
+
id: string;
|
|
548
548
|
slug: string;
|
|
549
549
|
}>;
|
|
550
550
|
project: z.ZodObject<{
|
|
@@ -553,13 +553,13 @@ export declare const ProdTaskRunExecution: z.ZodObject<z.objectUtil.extendShape<
|
|
|
553
553
|
slug: z.ZodString;
|
|
554
554
|
name: z.ZodString;
|
|
555
555
|
}, "strip", z.ZodTypeAny, {
|
|
556
|
-
id: string;
|
|
557
556
|
name: string;
|
|
557
|
+
id: string;
|
|
558
558
|
slug: string;
|
|
559
559
|
ref: string;
|
|
560
560
|
}, {
|
|
561
|
-
id: string;
|
|
562
561
|
name: string;
|
|
562
|
+
id: string;
|
|
563
563
|
slug: string;
|
|
564
564
|
ref: string;
|
|
565
565
|
}>;
|
|
@@ -617,25 +617,15 @@ export declare const ProdTaskRunExecution: z.ZodObject<z.objectUtil.extendShape<
|
|
|
617
617
|
centsPerMs: number;
|
|
618
618
|
}>>;
|
|
619
619
|
}>, "strip", z.ZodTypeAny, {
|
|
620
|
-
queue: {
|
|
621
|
-
id: string;
|
|
622
|
-
name: string;
|
|
623
|
-
};
|
|
624
|
-
machine: {
|
|
625
|
-
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
626
|
-
cpu: number;
|
|
627
|
-
memory: number;
|
|
628
|
-
centsPerMs: number;
|
|
629
|
-
};
|
|
630
620
|
task: {
|
|
631
621
|
id: string;
|
|
632
|
-
exportName: string;
|
|
633
622
|
filePath: string;
|
|
623
|
+
exportName: string;
|
|
634
624
|
};
|
|
635
625
|
attempt: {
|
|
636
626
|
number: number;
|
|
637
|
-
id: string;
|
|
638
627
|
status: string;
|
|
628
|
+
id: string;
|
|
639
629
|
startedAt: Date;
|
|
640
630
|
backgroundWorkerId: string;
|
|
641
631
|
backgroundWorkerTaskId: string;
|
|
@@ -652,28 +642,38 @@ export declare const ProdTaskRunExecution: z.ZodObject<z.objectUtil.extendShape<
|
|
|
652
642
|
costInCents: number;
|
|
653
643
|
baseCostInCents: number;
|
|
654
644
|
maxAttempts?: number | undefined;
|
|
655
|
-
maxDuration?: number | undefined;
|
|
656
|
-
version?: string | undefined;
|
|
657
645
|
context?: any;
|
|
658
646
|
idempotencyKey?: string | undefined;
|
|
647
|
+
version?: string | undefined;
|
|
659
648
|
metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
|
|
649
|
+
maxDuration?: number | undefined;
|
|
660
650
|
};
|
|
661
|
-
|
|
651
|
+
queue: {
|
|
652
|
+
name: string;
|
|
662
653
|
id: string;
|
|
654
|
+
};
|
|
655
|
+
environment: {
|
|
663
656
|
type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
|
|
657
|
+
id: string;
|
|
664
658
|
slug: string;
|
|
665
659
|
};
|
|
666
660
|
organization: {
|
|
667
|
-
id: string;
|
|
668
661
|
name: string;
|
|
662
|
+
id: string;
|
|
669
663
|
slug: string;
|
|
670
664
|
};
|
|
671
665
|
project: {
|
|
672
|
-
id: string;
|
|
673
666
|
name: string;
|
|
667
|
+
id: string;
|
|
674
668
|
slug: string;
|
|
675
669
|
ref: string;
|
|
676
670
|
};
|
|
671
|
+
machine: {
|
|
672
|
+
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
673
|
+
cpu: number;
|
|
674
|
+
memory: number;
|
|
675
|
+
centsPerMs: number;
|
|
676
|
+
};
|
|
677
677
|
worker: {
|
|
678
678
|
id: string;
|
|
679
679
|
version: string;
|
|
@@ -683,19 +683,15 @@ export declare const ProdTaskRunExecution: z.ZodObject<z.objectUtil.extendShape<
|
|
|
683
683
|
id: string;
|
|
684
684
|
} | undefined;
|
|
685
685
|
}, {
|
|
686
|
-
queue: {
|
|
687
|
-
id: string;
|
|
688
|
-
name: string;
|
|
689
|
-
};
|
|
690
686
|
task: {
|
|
691
687
|
id: string;
|
|
692
|
-
exportName: string;
|
|
693
688
|
filePath: string;
|
|
689
|
+
exportName: string;
|
|
694
690
|
};
|
|
695
691
|
attempt: {
|
|
696
692
|
number: number;
|
|
697
|
-
id: string;
|
|
698
693
|
status: string;
|
|
694
|
+
id: string;
|
|
699
695
|
startedAt: Date;
|
|
700
696
|
backgroundWorkerId: string;
|
|
701
697
|
backgroundWorkerTaskId: string;
|
|
@@ -707,8 +703,6 @@ export declare const ProdTaskRunExecution: z.ZodObject<z.objectUtil.extendShape<
|
|
|
707
703
|
tags: string[];
|
|
708
704
|
createdAt: Date;
|
|
709
705
|
maxAttempts?: number | undefined;
|
|
710
|
-
maxDuration?: number | undefined;
|
|
711
|
-
version?: string | undefined;
|
|
712
706
|
startedAt?: Date | undefined;
|
|
713
707
|
context?: any;
|
|
714
708
|
isTest?: boolean | undefined;
|
|
@@ -716,21 +710,27 @@ export declare const ProdTaskRunExecution: z.ZodObject<z.objectUtil.extendShape<
|
|
|
716
710
|
durationMs?: number | undefined;
|
|
717
711
|
costInCents?: number | undefined;
|
|
718
712
|
baseCostInCents?: number | undefined;
|
|
713
|
+
version?: string | undefined;
|
|
719
714
|
metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
|
|
715
|
+
maxDuration?: number | undefined;
|
|
720
716
|
};
|
|
721
|
-
|
|
717
|
+
queue: {
|
|
718
|
+
name: string;
|
|
722
719
|
id: string;
|
|
720
|
+
};
|
|
721
|
+
environment: {
|
|
723
722
|
type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
|
|
723
|
+
id: string;
|
|
724
724
|
slug: string;
|
|
725
725
|
};
|
|
726
726
|
organization: {
|
|
727
|
-
id: string;
|
|
728
727
|
name: string;
|
|
728
|
+
id: string;
|
|
729
729
|
slug: string;
|
|
730
730
|
};
|
|
731
731
|
project: {
|
|
732
|
-
id: string;
|
|
733
732
|
name: string;
|
|
733
|
+
id: string;
|
|
734
734
|
slug: string;
|
|
735
735
|
ref: string;
|
|
736
736
|
};
|
|
@@ -739,15 +739,15 @@ export declare const ProdTaskRunExecution: z.ZodObject<z.objectUtil.extendShape<
|
|
|
739
739
|
version: string;
|
|
740
740
|
contentHash: string;
|
|
741
741
|
};
|
|
742
|
+
batch?: {
|
|
743
|
+
id: string;
|
|
744
|
+
} | undefined;
|
|
742
745
|
machine?: {
|
|
743
746
|
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
744
747
|
cpu: number;
|
|
745
748
|
memory: number;
|
|
746
749
|
centsPerMs: number;
|
|
747
750
|
} | undefined;
|
|
748
|
-
batch?: {
|
|
749
|
-
id: string;
|
|
750
|
-
} | undefined;
|
|
751
751
|
}>;
|
|
752
752
|
export type ProdTaskRunExecution = z.infer<typeof ProdTaskRunExecution>;
|
|
753
753
|
export declare const ProdTaskRunExecutionPayload: z.ZodObject<{
|
|
@@ -758,12 +758,12 @@ export declare const ProdTaskRunExecutionPayload: z.ZodObject<{
|
|
|
758
758
|
exportName: z.ZodString;
|
|
759
759
|
}, "strip", z.ZodTypeAny, {
|
|
760
760
|
id: string;
|
|
761
|
-
exportName: string;
|
|
762
761
|
filePath: string;
|
|
762
|
+
exportName: string;
|
|
763
763
|
}, {
|
|
764
764
|
id: string;
|
|
765
|
-
exportName: string;
|
|
766
765
|
filePath: string;
|
|
766
|
+
exportName: string;
|
|
767
767
|
}>;
|
|
768
768
|
attempt: z.ZodObject<{
|
|
769
769
|
id: z.ZodString;
|
|
@@ -774,15 +774,15 @@ export declare const ProdTaskRunExecutionPayload: z.ZodObject<{
|
|
|
774
774
|
status: z.ZodString;
|
|
775
775
|
}, "strip", z.ZodTypeAny, {
|
|
776
776
|
number: number;
|
|
777
|
-
id: string;
|
|
778
777
|
status: string;
|
|
778
|
+
id: string;
|
|
779
779
|
startedAt: Date;
|
|
780
780
|
backgroundWorkerId: string;
|
|
781
781
|
backgroundWorkerTaskId: string;
|
|
782
782
|
}, {
|
|
783
783
|
number: number;
|
|
784
|
-
id: string;
|
|
785
784
|
status: string;
|
|
785
|
+
id: string;
|
|
786
786
|
startedAt: Date;
|
|
787
787
|
backgroundWorkerId: string;
|
|
788
788
|
backgroundWorkerTaskId: string;
|
|
@@ -816,11 +816,11 @@ export declare const ProdTaskRunExecutionPayload: z.ZodObject<{
|
|
|
816
816
|
costInCents: number;
|
|
817
817
|
baseCostInCents: number;
|
|
818
818
|
maxAttempts?: number | undefined;
|
|
819
|
-
maxDuration?: number | undefined;
|
|
820
|
-
version?: string | undefined;
|
|
821
819
|
context?: any;
|
|
822
820
|
idempotencyKey?: string | undefined;
|
|
821
|
+
version?: string | undefined;
|
|
823
822
|
metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
|
|
823
|
+
maxDuration?: number | undefined;
|
|
824
824
|
}, {
|
|
825
825
|
id: string;
|
|
826
826
|
payload: string;
|
|
@@ -828,8 +828,6 @@ export declare const ProdTaskRunExecutionPayload: z.ZodObject<{
|
|
|
828
828
|
tags: string[];
|
|
829
829
|
createdAt: Date;
|
|
830
830
|
maxAttempts?: number | undefined;
|
|
831
|
-
maxDuration?: number | undefined;
|
|
832
|
-
version?: string | undefined;
|
|
833
831
|
startedAt?: Date | undefined;
|
|
834
832
|
context?: any;
|
|
835
833
|
isTest?: boolean | undefined;
|
|
@@ -837,29 +835,31 @@ export declare const ProdTaskRunExecutionPayload: z.ZodObject<{
|
|
|
837
835
|
durationMs?: number | undefined;
|
|
838
836
|
costInCents?: number | undefined;
|
|
839
837
|
baseCostInCents?: number | undefined;
|
|
838
|
+
version?: string | undefined;
|
|
840
839
|
metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
|
|
840
|
+
maxDuration?: number | undefined;
|
|
841
841
|
}>;
|
|
842
842
|
queue: z.ZodObject<{
|
|
843
843
|
id: z.ZodString;
|
|
844
844
|
name: z.ZodString;
|
|
845
845
|
}, "strip", z.ZodTypeAny, {
|
|
846
|
-
id: string;
|
|
847
846
|
name: string;
|
|
848
|
-
}, {
|
|
849
847
|
id: string;
|
|
848
|
+
}, {
|
|
850
849
|
name: string;
|
|
850
|
+
id: string;
|
|
851
851
|
}>;
|
|
852
852
|
environment: z.ZodObject<{
|
|
853
853
|
id: z.ZodString;
|
|
854
854
|
slug: z.ZodString;
|
|
855
855
|
type: z.ZodEnum<["PRODUCTION", "STAGING", "DEVELOPMENT", "PREVIEW"]>;
|
|
856
856
|
}, "strip", z.ZodTypeAny, {
|
|
857
|
-
id: string;
|
|
858
857
|
type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
|
|
858
|
+
id: string;
|
|
859
859
|
slug: string;
|
|
860
860
|
}, {
|
|
861
|
-
id: string;
|
|
862
861
|
type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
|
|
862
|
+
id: string;
|
|
863
863
|
slug: string;
|
|
864
864
|
}>;
|
|
865
865
|
organization: z.ZodObject<{
|
|
@@ -867,12 +867,12 @@ export declare const ProdTaskRunExecutionPayload: z.ZodObject<{
|
|
|
867
867
|
slug: z.ZodString;
|
|
868
868
|
name: z.ZodString;
|
|
869
869
|
}, "strip", z.ZodTypeAny, {
|
|
870
|
-
id: string;
|
|
871
870
|
name: string;
|
|
871
|
+
id: string;
|
|
872
872
|
slug: string;
|
|
873
873
|
}, {
|
|
874
|
-
id: string;
|
|
875
874
|
name: string;
|
|
875
|
+
id: string;
|
|
876
876
|
slug: string;
|
|
877
877
|
}>;
|
|
878
878
|
project: z.ZodObject<{
|
|
@@ -881,13 +881,13 @@ export declare const ProdTaskRunExecutionPayload: z.ZodObject<{
|
|
|
881
881
|
slug: z.ZodString;
|
|
882
882
|
name: z.ZodString;
|
|
883
883
|
}, "strip", z.ZodTypeAny, {
|
|
884
|
-
id: string;
|
|
885
884
|
name: string;
|
|
885
|
+
id: string;
|
|
886
886
|
slug: string;
|
|
887
887
|
ref: string;
|
|
888
888
|
}, {
|
|
889
|
-
id: string;
|
|
890
889
|
name: string;
|
|
890
|
+
id: string;
|
|
891
891
|
slug: string;
|
|
892
892
|
ref: string;
|
|
893
893
|
}>;
|
|
@@ -945,25 +945,15 @@ export declare const ProdTaskRunExecutionPayload: z.ZodObject<{
|
|
|
945
945
|
centsPerMs: number;
|
|
946
946
|
}>>;
|
|
947
947
|
}>, "strip", z.ZodTypeAny, {
|
|
948
|
-
queue: {
|
|
949
|
-
id: string;
|
|
950
|
-
name: string;
|
|
951
|
-
};
|
|
952
|
-
machine: {
|
|
953
|
-
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
954
|
-
cpu: number;
|
|
955
|
-
memory: number;
|
|
956
|
-
centsPerMs: number;
|
|
957
|
-
};
|
|
958
948
|
task: {
|
|
959
949
|
id: string;
|
|
960
|
-
exportName: string;
|
|
961
950
|
filePath: string;
|
|
951
|
+
exportName: string;
|
|
962
952
|
};
|
|
963
953
|
attempt: {
|
|
964
954
|
number: number;
|
|
965
|
-
id: string;
|
|
966
955
|
status: string;
|
|
956
|
+
id: string;
|
|
967
957
|
startedAt: Date;
|
|
968
958
|
backgroundWorkerId: string;
|
|
969
959
|
backgroundWorkerTaskId: string;
|
|
@@ -980,28 +970,38 @@ export declare const ProdTaskRunExecutionPayload: z.ZodObject<{
|
|
|
980
970
|
costInCents: number;
|
|
981
971
|
baseCostInCents: number;
|
|
982
972
|
maxAttempts?: number | undefined;
|
|
983
|
-
maxDuration?: number | undefined;
|
|
984
|
-
version?: string | undefined;
|
|
985
973
|
context?: any;
|
|
986
974
|
idempotencyKey?: string | undefined;
|
|
975
|
+
version?: string | undefined;
|
|
987
976
|
metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
|
|
977
|
+
maxDuration?: number | undefined;
|
|
988
978
|
};
|
|
989
|
-
|
|
979
|
+
queue: {
|
|
980
|
+
name: string;
|
|
990
981
|
id: string;
|
|
982
|
+
};
|
|
983
|
+
environment: {
|
|
991
984
|
type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
|
|
985
|
+
id: string;
|
|
992
986
|
slug: string;
|
|
993
987
|
};
|
|
994
988
|
organization: {
|
|
995
|
-
id: string;
|
|
996
989
|
name: string;
|
|
990
|
+
id: string;
|
|
997
991
|
slug: string;
|
|
998
992
|
};
|
|
999
993
|
project: {
|
|
1000
|
-
id: string;
|
|
1001
994
|
name: string;
|
|
995
|
+
id: string;
|
|
1002
996
|
slug: string;
|
|
1003
997
|
ref: string;
|
|
1004
998
|
};
|
|
999
|
+
machine: {
|
|
1000
|
+
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
1001
|
+
cpu: number;
|
|
1002
|
+
memory: number;
|
|
1003
|
+
centsPerMs: number;
|
|
1004
|
+
};
|
|
1005
1005
|
worker: {
|
|
1006
1006
|
id: string;
|
|
1007
1007
|
version: string;
|
|
@@ -1011,19 +1011,15 @@ export declare const ProdTaskRunExecutionPayload: z.ZodObject<{
|
|
|
1011
1011
|
id: string;
|
|
1012
1012
|
} | undefined;
|
|
1013
1013
|
}, {
|
|
1014
|
-
queue: {
|
|
1015
|
-
id: string;
|
|
1016
|
-
name: string;
|
|
1017
|
-
};
|
|
1018
1014
|
task: {
|
|
1019
1015
|
id: string;
|
|
1020
|
-
exportName: string;
|
|
1021
1016
|
filePath: string;
|
|
1017
|
+
exportName: string;
|
|
1022
1018
|
};
|
|
1023
1019
|
attempt: {
|
|
1024
1020
|
number: number;
|
|
1025
|
-
id: string;
|
|
1026
1021
|
status: string;
|
|
1022
|
+
id: string;
|
|
1027
1023
|
startedAt: Date;
|
|
1028
1024
|
backgroundWorkerId: string;
|
|
1029
1025
|
backgroundWorkerTaskId: string;
|
|
@@ -1035,8 +1031,6 @@ export declare const ProdTaskRunExecutionPayload: z.ZodObject<{
|
|
|
1035
1031
|
tags: string[];
|
|
1036
1032
|
createdAt: Date;
|
|
1037
1033
|
maxAttempts?: number | undefined;
|
|
1038
|
-
maxDuration?: number | undefined;
|
|
1039
|
-
version?: string | undefined;
|
|
1040
1034
|
startedAt?: Date | undefined;
|
|
1041
1035
|
context?: any;
|
|
1042
1036
|
isTest?: boolean | undefined;
|
|
@@ -1044,21 +1038,27 @@ export declare const ProdTaskRunExecutionPayload: z.ZodObject<{
|
|
|
1044
1038
|
durationMs?: number | undefined;
|
|
1045
1039
|
costInCents?: number | undefined;
|
|
1046
1040
|
baseCostInCents?: number | undefined;
|
|
1041
|
+
version?: string | undefined;
|
|
1047
1042
|
metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
|
|
1043
|
+
maxDuration?: number | undefined;
|
|
1048
1044
|
};
|
|
1049
|
-
|
|
1045
|
+
queue: {
|
|
1046
|
+
name: string;
|
|
1050
1047
|
id: string;
|
|
1048
|
+
};
|
|
1049
|
+
environment: {
|
|
1051
1050
|
type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
|
|
1051
|
+
id: string;
|
|
1052
1052
|
slug: string;
|
|
1053
1053
|
};
|
|
1054
1054
|
organization: {
|
|
1055
|
-
id: string;
|
|
1056
1055
|
name: string;
|
|
1056
|
+
id: string;
|
|
1057
1057
|
slug: string;
|
|
1058
1058
|
};
|
|
1059
1059
|
project: {
|
|
1060
|
-
id: string;
|
|
1061
1060
|
name: string;
|
|
1061
|
+
id: string;
|
|
1062
1062
|
slug: string;
|
|
1063
1063
|
ref: string;
|
|
1064
1064
|
};
|
|
@@ -1067,39 +1067,29 @@ export declare const ProdTaskRunExecutionPayload: z.ZodObject<{
|
|
|
1067
1067
|
version: string;
|
|
1068
1068
|
contentHash: string;
|
|
1069
1069
|
};
|
|
1070
|
+
batch?: {
|
|
1071
|
+
id: string;
|
|
1072
|
+
} | undefined;
|
|
1070
1073
|
machine?: {
|
|
1071
1074
|
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
1072
1075
|
cpu: number;
|
|
1073
1076
|
memory: number;
|
|
1074
1077
|
centsPerMs: number;
|
|
1075
1078
|
} | undefined;
|
|
1076
|
-
batch?: {
|
|
1077
|
-
id: string;
|
|
1078
|
-
} | undefined;
|
|
1079
1079
|
}>;
|
|
1080
1080
|
traceContext: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
1081
1081
|
environment: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1082
1082
|
}, "strip", z.ZodTypeAny, {
|
|
1083
1083
|
execution: {
|
|
1084
|
-
queue: {
|
|
1085
|
-
id: string;
|
|
1086
|
-
name: string;
|
|
1087
|
-
};
|
|
1088
|
-
machine: {
|
|
1089
|
-
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
1090
|
-
cpu: number;
|
|
1091
|
-
memory: number;
|
|
1092
|
-
centsPerMs: number;
|
|
1093
|
-
};
|
|
1094
1084
|
task: {
|
|
1095
1085
|
id: string;
|
|
1096
|
-
exportName: string;
|
|
1097
1086
|
filePath: string;
|
|
1087
|
+
exportName: string;
|
|
1098
1088
|
};
|
|
1099
1089
|
attempt: {
|
|
1100
1090
|
number: number;
|
|
1101
|
-
id: string;
|
|
1102
1091
|
status: string;
|
|
1092
|
+
id: string;
|
|
1103
1093
|
startedAt: Date;
|
|
1104
1094
|
backgroundWorkerId: string;
|
|
1105
1095
|
backgroundWorkerTaskId: string;
|
|
@@ -1116,28 +1106,38 @@ export declare const ProdTaskRunExecutionPayload: z.ZodObject<{
|
|
|
1116
1106
|
costInCents: number;
|
|
1117
1107
|
baseCostInCents: number;
|
|
1118
1108
|
maxAttempts?: number | undefined;
|
|
1119
|
-
maxDuration?: number | undefined;
|
|
1120
|
-
version?: string | undefined;
|
|
1121
1109
|
context?: any;
|
|
1122
1110
|
idempotencyKey?: string | undefined;
|
|
1111
|
+
version?: string | undefined;
|
|
1123
1112
|
metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
|
|
1113
|
+
maxDuration?: number | undefined;
|
|
1124
1114
|
};
|
|
1125
|
-
|
|
1115
|
+
queue: {
|
|
1116
|
+
name: string;
|
|
1126
1117
|
id: string;
|
|
1118
|
+
};
|
|
1119
|
+
environment: {
|
|
1127
1120
|
type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
|
|
1121
|
+
id: string;
|
|
1128
1122
|
slug: string;
|
|
1129
1123
|
};
|
|
1130
1124
|
organization: {
|
|
1131
|
-
id: string;
|
|
1132
1125
|
name: string;
|
|
1126
|
+
id: string;
|
|
1133
1127
|
slug: string;
|
|
1134
1128
|
};
|
|
1135
1129
|
project: {
|
|
1136
|
-
id: string;
|
|
1137
1130
|
name: string;
|
|
1131
|
+
id: string;
|
|
1138
1132
|
slug: string;
|
|
1139
1133
|
ref: string;
|
|
1140
1134
|
};
|
|
1135
|
+
machine: {
|
|
1136
|
+
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
1137
|
+
cpu: number;
|
|
1138
|
+
memory: number;
|
|
1139
|
+
centsPerMs: number;
|
|
1140
|
+
};
|
|
1141
1141
|
worker: {
|
|
1142
1142
|
id: string;
|
|
1143
1143
|
version: string;
|
|
@@ -1151,19 +1151,15 @@ export declare const ProdTaskRunExecutionPayload: z.ZodObject<{
|
|
|
1151
1151
|
environment?: Record<string, string> | undefined;
|
|
1152
1152
|
}, {
|
|
1153
1153
|
execution: {
|
|
1154
|
-
queue: {
|
|
1155
|
-
id: string;
|
|
1156
|
-
name: string;
|
|
1157
|
-
};
|
|
1158
1154
|
task: {
|
|
1159
1155
|
id: string;
|
|
1160
|
-
exportName: string;
|
|
1161
1156
|
filePath: string;
|
|
1157
|
+
exportName: string;
|
|
1162
1158
|
};
|
|
1163
1159
|
attempt: {
|
|
1164
1160
|
number: number;
|
|
1165
|
-
id: string;
|
|
1166
1161
|
status: string;
|
|
1162
|
+
id: string;
|
|
1167
1163
|
startedAt: Date;
|
|
1168
1164
|
backgroundWorkerId: string;
|
|
1169
1165
|
backgroundWorkerTaskId: string;
|
|
@@ -1175,8 +1171,6 @@ export declare const ProdTaskRunExecutionPayload: z.ZodObject<{
|
|
|
1175
1171
|
tags: string[];
|
|
1176
1172
|
createdAt: Date;
|
|
1177
1173
|
maxAttempts?: number | undefined;
|
|
1178
|
-
maxDuration?: number | undefined;
|
|
1179
|
-
version?: string | undefined;
|
|
1180
1174
|
startedAt?: Date | undefined;
|
|
1181
1175
|
context?: any;
|
|
1182
1176
|
isTest?: boolean | undefined;
|
|
@@ -1184,21 +1178,27 @@ export declare const ProdTaskRunExecutionPayload: z.ZodObject<{
|
|
|
1184
1178
|
durationMs?: number | undefined;
|
|
1185
1179
|
costInCents?: number | undefined;
|
|
1186
1180
|
baseCostInCents?: number | undefined;
|
|
1181
|
+
version?: string | undefined;
|
|
1187
1182
|
metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
|
|
1183
|
+
maxDuration?: number | undefined;
|
|
1188
1184
|
};
|
|
1189
|
-
|
|
1185
|
+
queue: {
|
|
1186
|
+
name: string;
|
|
1190
1187
|
id: string;
|
|
1188
|
+
};
|
|
1189
|
+
environment: {
|
|
1191
1190
|
type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
|
|
1191
|
+
id: string;
|
|
1192
1192
|
slug: string;
|
|
1193
1193
|
};
|
|
1194
1194
|
organization: {
|
|
1195
|
-
id: string;
|
|
1196
1195
|
name: string;
|
|
1196
|
+
id: string;
|
|
1197
1197
|
slug: string;
|
|
1198
1198
|
};
|
|
1199
1199
|
project: {
|
|
1200
|
-
id: string;
|
|
1201
1200
|
name: string;
|
|
1201
|
+
id: string;
|
|
1202
1202
|
slug: string;
|
|
1203
1203
|
ref: string;
|
|
1204
1204
|
};
|
|
@@ -1207,15 +1207,15 @@ export declare const ProdTaskRunExecutionPayload: z.ZodObject<{
|
|
|
1207
1207
|
version: string;
|
|
1208
1208
|
contentHash: string;
|
|
1209
1209
|
};
|
|
1210
|
+
batch?: {
|
|
1211
|
+
id: string;
|
|
1212
|
+
} | undefined;
|
|
1210
1213
|
machine?: {
|
|
1211
1214
|
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
1212
1215
|
cpu: number;
|
|
1213
1216
|
memory: number;
|
|
1214
1217
|
centsPerMs: number;
|
|
1215
1218
|
} | undefined;
|
|
1216
|
-
batch?: {
|
|
1217
|
-
id: string;
|
|
1218
|
-
} | undefined;
|
|
1219
1219
|
};
|
|
1220
1220
|
traceContext: Record<string, unknown>;
|
|
1221
1221
|
environment?: Record<string, string> | undefined;
|
|
@@ -1459,14 +1459,14 @@ export declare const QueueOptions: z.ZodObject<{
|
|
|
1459
1459
|
name: z.ZodOptional<z.ZodString>;
|
|
1460
1460
|
/** An optional property that specifies the maximum number of concurrent run executions.
|
|
1461
1461
|
*
|
|
1462
|
-
* If this property is omitted, the task can potentially use up the full concurrency of an environment
|
|
1463
|
-
concurrencyLimit: z.ZodOptional<z.ZodNumber
|
|
1462
|
+
* If this property is omitted, the task can potentially use up the full concurrency of an environment */
|
|
1463
|
+
concurrencyLimit: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
1464
1464
|
}, "strip", z.ZodTypeAny, {
|
|
1465
1465
|
name?: string | undefined;
|
|
1466
|
-
concurrencyLimit?: number | undefined;
|
|
1466
|
+
concurrencyLimit?: number | null | undefined;
|
|
1467
1467
|
}, {
|
|
1468
1468
|
name?: string | undefined;
|
|
1469
|
-
concurrencyLimit?: number | undefined;
|
|
1469
|
+
concurrencyLimit?: number | null | undefined;
|
|
1470
1470
|
}>;
|
|
1471
1471
|
export type QueueOptions = z.infer<typeof QueueOptions>;
|
|
1472
1472
|
export declare const ScheduleMetadata: z.ZodObject<{
|
|
@@ -1517,14 +1517,14 @@ export declare const TaskMetadata: z.ZodObject<{
|
|
|
1517
1517
|
name: z.ZodOptional<z.ZodString>;
|
|
1518
1518
|
/** An optional property that specifies the maximum number of concurrent run executions.
|
|
1519
1519
|
*
|
|
1520
|
-
* If this property is omitted, the task can potentially use up the full concurrency of an environment
|
|
1521
|
-
concurrencyLimit: z.ZodOptional<z.ZodNumber
|
|
1520
|
+
* If this property is omitted, the task can potentially use up the full concurrency of an environment */
|
|
1521
|
+
concurrencyLimit: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
1522
1522
|
}, "strip", z.ZodTypeAny, {
|
|
1523
1523
|
name?: string | undefined;
|
|
1524
|
-
concurrencyLimit?: number | undefined;
|
|
1524
|
+
concurrencyLimit?: number | null | undefined;
|
|
1525
1525
|
}, {
|
|
1526
1526
|
name?: string | undefined;
|
|
1527
|
-
concurrencyLimit?: number | undefined;
|
|
1527
|
+
concurrencyLimit?: number | null | undefined;
|
|
1528
1528
|
}>>;
|
|
1529
1529
|
retry: z.ZodOptional<z.ZodObject<{
|
|
1530
1530
|
/** The number of attempts before giving up */
|
|
@@ -1583,11 +1583,6 @@ export declare const TaskMetadata: z.ZodObject<{
|
|
|
1583
1583
|
maxDuration: z.ZodOptional<z.ZodNumber>;
|
|
1584
1584
|
}, "strip", z.ZodTypeAny, {
|
|
1585
1585
|
id: string;
|
|
1586
|
-
description?: string | undefined;
|
|
1587
|
-
queue?: {
|
|
1588
|
-
name?: string | undefined;
|
|
1589
|
-
concurrencyLimit?: number | undefined;
|
|
1590
|
-
} | undefined;
|
|
1591
1586
|
retry?: {
|
|
1592
1587
|
maxAttempts?: number | undefined;
|
|
1593
1588
|
factor?: number | undefined;
|
|
@@ -1595,24 +1590,24 @@ export declare const TaskMetadata: z.ZodObject<{
|
|
|
1595
1590
|
maxTimeoutInMs?: number | undefined;
|
|
1596
1591
|
randomize?: boolean | undefined;
|
|
1597
1592
|
} | undefined;
|
|
1593
|
+
maxDuration?: number | undefined;
|
|
1594
|
+
queue?: {
|
|
1595
|
+
name?: string | undefined;
|
|
1596
|
+
concurrencyLimit?: number | null | undefined;
|
|
1597
|
+
} | undefined;
|
|
1598
1598
|
machine?: {
|
|
1599
1599
|
cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
|
|
1600
1600
|
memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
|
|
1601
1601
|
preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
|
|
1602
1602
|
} | undefined;
|
|
1603
|
+
description?: string | undefined;
|
|
1603
1604
|
triggerSource?: string | undefined;
|
|
1604
1605
|
schedule?: {
|
|
1605
1606
|
cron: string;
|
|
1606
1607
|
timezone: string;
|
|
1607
1608
|
} | undefined;
|
|
1608
|
-
maxDuration?: number | undefined;
|
|
1609
1609
|
}, {
|
|
1610
1610
|
id: string;
|
|
1611
|
-
description?: string | undefined;
|
|
1612
|
-
queue?: {
|
|
1613
|
-
name?: string | undefined;
|
|
1614
|
-
concurrencyLimit?: number | undefined;
|
|
1615
|
-
} | undefined;
|
|
1616
1611
|
retry?: {
|
|
1617
1612
|
maxAttempts?: number | undefined;
|
|
1618
1613
|
factor?: number | undefined;
|
|
@@ -1620,17 +1615,22 @@ export declare const TaskMetadata: z.ZodObject<{
|
|
|
1620
1615
|
maxTimeoutInMs?: number | undefined;
|
|
1621
1616
|
randomize?: boolean | undefined;
|
|
1622
1617
|
} | undefined;
|
|
1618
|
+
maxDuration?: number | undefined;
|
|
1619
|
+
queue?: {
|
|
1620
|
+
name?: string | undefined;
|
|
1621
|
+
concurrencyLimit?: number | null | undefined;
|
|
1622
|
+
} | undefined;
|
|
1623
1623
|
machine?: {
|
|
1624
1624
|
cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
|
|
1625
1625
|
memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
|
|
1626
1626
|
preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
|
|
1627
1627
|
} | undefined;
|
|
1628
|
+
description?: string | undefined;
|
|
1628
1629
|
triggerSource?: string | undefined;
|
|
1629
1630
|
schedule?: {
|
|
1630
1631
|
cron: string;
|
|
1631
1632
|
timezone: string;
|
|
1632
1633
|
} | undefined;
|
|
1633
|
-
maxDuration?: number | undefined;
|
|
1634
1634
|
}>;
|
|
1635
1635
|
export type TaskMetadata = z.infer<typeof TaskMetadata>;
|
|
1636
1636
|
export declare const TaskFile: z.ZodObject<{
|
|
@@ -1649,12 +1649,12 @@ export declare const TaskFileMetadata: z.ZodObject<{
|
|
|
1649
1649
|
exportName: z.ZodString;
|
|
1650
1650
|
entryPoint: z.ZodString;
|
|
1651
1651
|
}, "strip", z.ZodTypeAny, {
|
|
1652
|
-
exportName: string;
|
|
1653
1652
|
filePath: string;
|
|
1653
|
+
exportName: string;
|
|
1654
1654
|
entryPoint: string;
|
|
1655
1655
|
}, {
|
|
1656
|
-
exportName: string;
|
|
1657
1656
|
filePath: string;
|
|
1657
|
+
exportName: string;
|
|
1658
1658
|
entryPoint: string;
|
|
1659
1659
|
}>;
|
|
1660
1660
|
export type TaskFileMetadata = z.infer<typeof TaskFileMetadata>;
|
|
@@ -1699,14 +1699,14 @@ export declare const TaskManifest: z.ZodObject<{
|
|
|
1699
1699
|
name: z.ZodOptional<z.ZodString>;
|
|
1700
1700
|
/** An optional property that specifies the maximum number of concurrent run executions.
|
|
1701
1701
|
*
|
|
1702
|
-
* If this property is omitted, the task can potentially use up the full concurrency of an environment
|
|
1703
|
-
concurrencyLimit: z.ZodOptional<z.ZodNumber
|
|
1702
|
+
* If this property is omitted, the task can potentially use up the full concurrency of an environment */
|
|
1703
|
+
concurrencyLimit: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
1704
1704
|
}, "strip", z.ZodTypeAny, {
|
|
1705
1705
|
name?: string | undefined;
|
|
1706
|
-
concurrencyLimit?: number | undefined;
|
|
1706
|
+
concurrencyLimit?: number | null | undefined;
|
|
1707
1707
|
}, {
|
|
1708
1708
|
name?: string | undefined;
|
|
1709
|
-
concurrencyLimit?: number | undefined;
|
|
1709
|
+
concurrencyLimit?: number | null | undefined;
|
|
1710
1710
|
}>>;
|
|
1711
1711
|
retry: z.ZodOptional<z.ZodObject<{
|
|
1712
1712
|
/** The number of attempts before giving up */
|
|
@@ -1765,14 +1765,9 @@ export declare const TaskManifest: z.ZodObject<{
|
|
|
1765
1765
|
maxDuration: z.ZodOptional<z.ZodNumber>;
|
|
1766
1766
|
}, "strip", z.ZodTypeAny, {
|
|
1767
1767
|
id: string;
|
|
1768
|
-
exportName: string;
|
|
1769
1768
|
filePath: string;
|
|
1769
|
+
exportName: string;
|
|
1770
1770
|
entryPoint: string;
|
|
1771
|
-
description?: string | undefined;
|
|
1772
|
-
queue?: {
|
|
1773
|
-
name?: string | undefined;
|
|
1774
|
-
concurrencyLimit?: number | undefined;
|
|
1775
|
-
} | undefined;
|
|
1776
1771
|
retry?: {
|
|
1777
1772
|
maxAttempts?: number | undefined;
|
|
1778
1773
|
factor?: number | undefined;
|
|
@@ -1780,27 +1775,27 @@ export declare const TaskManifest: z.ZodObject<{
|
|
|
1780
1775
|
maxTimeoutInMs?: number | undefined;
|
|
1781
1776
|
randomize?: boolean | undefined;
|
|
1782
1777
|
} | undefined;
|
|
1778
|
+
maxDuration?: number | undefined;
|
|
1779
|
+
queue?: {
|
|
1780
|
+
name?: string | undefined;
|
|
1781
|
+
concurrencyLimit?: number | null | undefined;
|
|
1782
|
+
} | undefined;
|
|
1783
1783
|
machine?: {
|
|
1784
1784
|
cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
|
|
1785
1785
|
memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
|
|
1786
1786
|
preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
|
|
1787
1787
|
} | undefined;
|
|
1788
|
+
description?: string | undefined;
|
|
1788
1789
|
triggerSource?: string | undefined;
|
|
1789
1790
|
schedule?: {
|
|
1790
1791
|
cron: string;
|
|
1791
1792
|
timezone: string;
|
|
1792
1793
|
} | undefined;
|
|
1793
|
-
maxDuration?: number | undefined;
|
|
1794
1794
|
}, {
|
|
1795
1795
|
id: string;
|
|
1796
|
-
exportName: string;
|
|
1797
1796
|
filePath: string;
|
|
1797
|
+
exportName: string;
|
|
1798
1798
|
entryPoint: string;
|
|
1799
|
-
description?: string | undefined;
|
|
1800
|
-
queue?: {
|
|
1801
|
-
name?: string | undefined;
|
|
1802
|
-
concurrencyLimit?: number | undefined;
|
|
1803
|
-
} | undefined;
|
|
1804
1799
|
retry?: {
|
|
1805
1800
|
maxAttempts?: number | undefined;
|
|
1806
1801
|
factor?: number | undefined;
|
|
@@ -1808,17 +1803,22 @@ export declare const TaskManifest: z.ZodObject<{
|
|
|
1808
1803
|
maxTimeoutInMs?: number | undefined;
|
|
1809
1804
|
randomize?: boolean | undefined;
|
|
1810
1805
|
} | undefined;
|
|
1806
|
+
maxDuration?: number | undefined;
|
|
1807
|
+
queue?: {
|
|
1808
|
+
name?: string | undefined;
|
|
1809
|
+
concurrencyLimit?: number | null | undefined;
|
|
1810
|
+
} | undefined;
|
|
1811
1811
|
machine?: {
|
|
1812
1812
|
cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
|
|
1813
1813
|
memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
|
|
1814
1814
|
preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
|
|
1815
1815
|
} | undefined;
|
|
1816
|
+
description?: string | undefined;
|
|
1816
1817
|
triggerSource?: string | undefined;
|
|
1817
1818
|
schedule?: {
|
|
1818
1819
|
cron: string;
|
|
1819
1820
|
timezone: string;
|
|
1820
1821
|
} | undefined;
|
|
1821
|
-
maxDuration?: number | undefined;
|
|
1822
1822
|
}>;
|
|
1823
1823
|
export type TaskManifest = z.infer<typeof TaskManifest>;
|
|
1824
1824
|
export declare const PostStartCauses: z.ZodEnum<["index", "create", "restore"]>;
|
|
@@ -1873,7 +1873,6 @@ export declare const Config: z.ZodObject<{
|
|
|
1873
1873
|
randomize?: boolean | undefined;
|
|
1874
1874
|
} | undefined;
|
|
1875
1875
|
}, {
|
|
1876
|
-
enabledInDev?: boolean | undefined;
|
|
1877
1876
|
default?: {
|
|
1878
1877
|
maxAttempts?: number | undefined;
|
|
1879
1878
|
factor?: number | undefined;
|
|
@@ -1881,6 +1880,7 @@ export declare const Config: z.ZodObject<{
|
|
|
1881
1880
|
maxTimeoutInMs?: number | undefined;
|
|
1882
1881
|
randomize?: boolean | undefined;
|
|
1883
1882
|
} | undefined;
|
|
1883
|
+
enabledInDev?: boolean | undefined;
|
|
1884
1884
|
}>>;
|
|
1885
1885
|
additionalPackages: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1886
1886
|
additionalFiles: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -1919,7 +1919,6 @@ export declare const Config: z.ZodObject<{
|
|
|
1919
1919
|
projectDir?: string | undefined;
|
|
1920
1920
|
tsconfigPath?: string | undefined;
|
|
1921
1921
|
retries?: {
|
|
1922
|
-
enabledInDev?: boolean | undefined;
|
|
1923
1922
|
default?: {
|
|
1924
1923
|
maxAttempts?: number | undefined;
|
|
1925
1924
|
factor?: number | undefined;
|
|
@@ -1927,6 +1926,7 @@ export declare const Config: z.ZodObject<{
|
|
|
1927
1926
|
maxTimeoutInMs?: number | undefined;
|
|
1928
1927
|
randomize?: boolean | undefined;
|
|
1929
1928
|
} | undefined;
|
|
1929
|
+
enabledInDev?: boolean | undefined;
|
|
1930
1930
|
} | undefined;
|
|
1931
1931
|
additionalPackages?: string[] | undefined;
|
|
1932
1932
|
additionalFiles?: string[] | undefined;
|