@trigger.dev/core 0.0.0-v3-prerelease-20240916161707 → 0.0.0-v3-prerelease-20240916162259
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/commonjs/v3/apiClient/index.d.ts +44 -44
- package/dist/commonjs/v3/schemas/api.d.ts +178 -178
- package/dist/commonjs/v3/schemas/build.d.ts +126 -126
- package/dist/commonjs/v3/schemas/fetch.d.ts +14 -14
- package/dist/commonjs/v3/schemas/messages.d.ts +3125 -3125
- package/dist/commonjs/v3/schemas/resources.d.ts +30 -30
- package/dist/commonjs/v3/schemas/schemas.d.ts +466 -466
- package/dist/commonjs/version.js +1 -1
- package/dist/esm/v3/apiClient/index.d.ts +44 -44
- package/dist/esm/v3/schemas/api.d.ts +178 -178
- package/dist/esm/v3/schemas/build.d.ts +126 -126
- package/dist/esm/v3/schemas/fetch.d.ts +14 -14
- package/dist/esm/v3/schemas/messages.d.ts +3125 -3125
- package/dist/esm/v3/schemas/resources.d.ts +30 -30
- package/dist/esm/v3/schemas/schemas.d.ts +466 -466
- package/dist/esm/version.js +1 -1
- package/package.json +1 -1
|
@@ -55,25 +55,25 @@ export declare const TaskRunExecutionPayload: z.ZodObject<{
|
|
|
55
55
|
baseCostInCents: z.ZodDefault<z.ZodNumber>;
|
|
56
56
|
version: z.ZodOptional<z.ZodString>;
|
|
57
57
|
}, "strip", z.ZodTypeAny, {
|
|
58
|
-
id: string;
|
|
59
|
-
createdAt: Date;
|
|
60
58
|
payload: string;
|
|
61
|
-
|
|
62
|
-
tags: string[];
|
|
59
|
+
id: string;
|
|
63
60
|
startedAt: Date;
|
|
61
|
+
payloadType: string;
|
|
64
62
|
isTest: boolean;
|
|
63
|
+
createdAt: Date;
|
|
64
|
+
tags: string[];
|
|
65
|
+
durationMs: number;
|
|
65
66
|
costInCents: number;
|
|
66
67
|
baseCostInCents: number;
|
|
67
|
-
durationMs: number;
|
|
68
68
|
context?: any;
|
|
69
69
|
idempotencyKey?: string | undefined;
|
|
70
70
|
maxAttempts?: number | undefined;
|
|
71
71
|
version?: string | undefined;
|
|
72
72
|
}, {
|
|
73
|
-
id: string;
|
|
74
|
-
createdAt: Date;
|
|
75
73
|
payload: string;
|
|
74
|
+
id: string;
|
|
76
75
|
payloadType: string;
|
|
76
|
+
createdAt: Date;
|
|
77
77
|
tags: string[];
|
|
78
78
|
context?: any;
|
|
79
79
|
isTest?: boolean | undefined;
|
|
@@ -89,11 +89,11 @@ export declare const TaskRunExecutionPayload: z.ZodObject<{
|
|
|
89
89
|
id: z.ZodString;
|
|
90
90
|
name: z.ZodString;
|
|
91
91
|
}, "strip", z.ZodTypeAny, {
|
|
92
|
-
id: string;
|
|
93
92
|
name: string;
|
|
94
|
-
}, {
|
|
95
93
|
id: string;
|
|
94
|
+
}, {
|
|
96
95
|
name: string;
|
|
96
|
+
id: string;
|
|
97
97
|
}>;
|
|
98
98
|
environment: z.ZodObject<{
|
|
99
99
|
id: z.ZodString;
|
|
@@ -113,12 +113,12 @@ export declare const TaskRunExecutionPayload: z.ZodObject<{
|
|
|
113
113
|
slug: z.ZodString;
|
|
114
114
|
name: z.ZodString;
|
|
115
115
|
}, "strip", z.ZodTypeAny, {
|
|
116
|
-
id: string;
|
|
117
116
|
name: string;
|
|
117
|
+
id: string;
|
|
118
118
|
slug: string;
|
|
119
119
|
}, {
|
|
120
|
-
id: string;
|
|
121
120
|
name: string;
|
|
121
|
+
id: string;
|
|
122
122
|
slug: string;
|
|
123
123
|
}>;
|
|
124
124
|
project: z.ZodObject<{
|
|
@@ -127,13 +127,13 @@ export declare const TaskRunExecutionPayload: z.ZodObject<{
|
|
|
127
127
|
slug: z.ZodString;
|
|
128
128
|
name: z.ZodString;
|
|
129
129
|
}, "strip", z.ZodTypeAny, {
|
|
130
|
-
id: string;
|
|
131
130
|
name: string;
|
|
131
|
+
id: string;
|
|
132
132
|
slug: string;
|
|
133
133
|
ref: string;
|
|
134
134
|
}, {
|
|
135
|
-
id: string;
|
|
136
135
|
name: string;
|
|
136
|
+
id: string;
|
|
137
137
|
slug: string;
|
|
138
138
|
ref: string;
|
|
139
139
|
}>;
|
|
@@ -161,39 +161,17 @@ export declare const TaskRunExecutionPayload: z.ZodObject<{
|
|
|
161
161
|
centsPerMs: number;
|
|
162
162
|
}>>;
|
|
163
163
|
}, "strip", z.ZodTypeAny, {
|
|
164
|
-
organization: {
|
|
165
|
-
id: string;
|
|
166
|
-
name: string;
|
|
167
|
-
slug: string;
|
|
168
|
-
};
|
|
169
|
-
queue: {
|
|
170
|
-
id: string;
|
|
171
|
-
name: string;
|
|
172
|
-
};
|
|
173
|
-
task: {
|
|
174
|
-
id: string;
|
|
175
|
-
filePath: string;
|
|
176
|
-
exportName: string;
|
|
177
|
-
};
|
|
178
|
-
attempt: {
|
|
179
|
-
number: number;
|
|
180
|
-
status: string;
|
|
181
|
-
id: string;
|
|
182
|
-
startedAt: Date;
|
|
183
|
-
backgroundWorkerId: string;
|
|
184
|
-
backgroundWorkerTaskId: string;
|
|
185
|
-
};
|
|
186
164
|
run: {
|
|
187
|
-
id: string;
|
|
188
|
-
createdAt: Date;
|
|
189
165
|
payload: string;
|
|
190
|
-
|
|
191
|
-
tags: string[];
|
|
166
|
+
id: string;
|
|
192
167
|
startedAt: Date;
|
|
168
|
+
payloadType: string;
|
|
193
169
|
isTest: boolean;
|
|
170
|
+
createdAt: Date;
|
|
171
|
+
tags: string[];
|
|
172
|
+
durationMs: number;
|
|
194
173
|
costInCents: number;
|
|
195
174
|
baseCostInCents: number;
|
|
196
|
-
durationMs: number;
|
|
197
175
|
context?: any;
|
|
198
176
|
idempotencyKey?: string | undefined;
|
|
199
177
|
maxAttempts?: number | undefined;
|
|
@@ -204,30 +182,16 @@ export declare const TaskRunExecutionPayload: z.ZodObject<{
|
|
|
204
182
|
id: string;
|
|
205
183
|
slug: string;
|
|
206
184
|
};
|
|
207
|
-
project: {
|
|
208
|
-
id: string;
|
|
209
|
-
name: string;
|
|
210
|
-
slug: string;
|
|
211
|
-
ref: string;
|
|
212
|
-
};
|
|
213
|
-
batch?: {
|
|
214
|
-
id: string;
|
|
215
|
-
} | undefined;
|
|
216
|
-
machine?: {
|
|
217
|
-
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
218
|
-
cpu: number;
|
|
219
|
-
memory: number;
|
|
220
|
-
centsPerMs: number;
|
|
221
|
-
} | undefined;
|
|
222
|
-
}, {
|
|
223
185
|
organization: {
|
|
224
|
-
id: string;
|
|
225
186
|
name: string;
|
|
187
|
+
id: string;
|
|
226
188
|
slug: string;
|
|
227
189
|
};
|
|
228
|
-
|
|
229
|
-
id: string;
|
|
190
|
+
project: {
|
|
230
191
|
name: string;
|
|
192
|
+
id: string;
|
|
193
|
+
slug: string;
|
|
194
|
+
ref: string;
|
|
231
195
|
};
|
|
232
196
|
task: {
|
|
233
197
|
id: string;
|
|
@@ -242,11 +206,25 @@ export declare const TaskRunExecutionPayload: z.ZodObject<{
|
|
|
242
206
|
backgroundWorkerId: string;
|
|
243
207
|
backgroundWorkerTaskId: string;
|
|
244
208
|
};
|
|
245
|
-
|
|
209
|
+
queue: {
|
|
210
|
+
name: string;
|
|
246
211
|
id: string;
|
|
247
|
-
|
|
212
|
+
};
|
|
213
|
+
batch?: {
|
|
214
|
+
id: string;
|
|
215
|
+
} | undefined;
|
|
216
|
+
machine?: {
|
|
217
|
+
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
218
|
+
cpu: number;
|
|
219
|
+
memory: number;
|
|
220
|
+
centsPerMs: number;
|
|
221
|
+
} | undefined;
|
|
222
|
+
}, {
|
|
223
|
+
run: {
|
|
248
224
|
payload: string;
|
|
225
|
+
id: string;
|
|
249
226
|
payloadType: string;
|
|
227
|
+
createdAt: Date;
|
|
250
228
|
tags: string[];
|
|
251
229
|
context?: any;
|
|
252
230
|
isTest?: boolean | undefined;
|
|
@@ -263,34 +241,16 @@ export declare const TaskRunExecutionPayload: z.ZodObject<{
|
|
|
263
241
|
id: string;
|
|
264
242
|
slug: string;
|
|
265
243
|
};
|
|
266
|
-
project: {
|
|
267
|
-
id: string;
|
|
268
|
-
name: string;
|
|
269
|
-
slug: string;
|
|
270
|
-
ref: string;
|
|
271
|
-
};
|
|
272
|
-
batch?: {
|
|
273
|
-
id: string;
|
|
274
|
-
} | undefined;
|
|
275
|
-
machine?: {
|
|
276
|
-
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
277
|
-
cpu: number;
|
|
278
|
-
memory: number;
|
|
279
|
-
centsPerMs: number;
|
|
280
|
-
} | undefined;
|
|
281
|
-
}>;
|
|
282
|
-
traceContext: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
283
|
-
environment: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
284
|
-
}, "strip", z.ZodTypeAny, {
|
|
285
|
-
execution: {
|
|
286
244
|
organization: {
|
|
287
|
-
id: string;
|
|
288
245
|
name: string;
|
|
246
|
+
id: string;
|
|
289
247
|
slug: string;
|
|
290
248
|
};
|
|
291
|
-
|
|
292
|
-
id: string;
|
|
249
|
+
project: {
|
|
293
250
|
name: string;
|
|
251
|
+
id: string;
|
|
252
|
+
slug: string;
|
|
253
|
+
ref: string;
|
|
294
254
|
};
|
|
295
255
|
task: {
|
|
296
256
|
id: string;
|
|
@@ -305,17 +265,35 @@ export declare const TaskRunExecutionPayload: z.ZodObject<{
|
|
|
305
265
|
backgroundWorkerId: string;
|
|
306
266
|
backgroundWorkerTaskId: string;
|
|
307
267
|
};
|
|
308
|
-
|
|
268
|
+
queue: {
|
|
269
|
+
name: string;
|
|
309
270
|
id: string;
|
|
310
|
-
|
|
271
|
+
};
|
|
272
|
+
batch?: {
|
|
273
|
+
id: string;
|
|
274
|
+
} | undefined;
|
|
275
|
+
machine?: {
|
|
276
|
+
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
277
|
+
cpu: number;
|
|
278
|
+
memory: number;
|
|
279
|
+
centsPerMs: number;
|
|
280
|
+
} | undefined;
|
|
281
|
+
}>;
|
|
282
|
+
traceContext: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
283
|
+
environment: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
284
|
+
}, "strip", z.ZodTypeAny, {
|
|
285
|
+
execution: {
|
|
286
|
+
run: {
|
|
311
287
|
payload: string;
|
|
312
|
-
|
|
313
|
-
tags: string[];
|
|
288
|
+
id: string;
|
|
314
289
|
startedAt: Date;
|
|
290
|
+
payloadType: string;
|
|
315
291
|
isTest: boolean;
|
|
292
|
+
createdAt: Date;
|
|
293
|
+
tags: string[];
|
|
294
|
+
durationMs: number;
|
|
316
295
|
costInCents: number;
|
|
317
296
|
baseCostInCents: number;
|
|
318
|
-
durationMs: number;
|
|
319
297
|
context?: any;
|
|
320
298
|
idempotencyKey?: string | undefined;
|
|
321
299
|
maxAttempts?: number | undefined;
|
|
@@ -326,34 +304,16 @@ export declare const TaskRunExecutionPayload: z.ZodObject<{
|
|
|
326
304
|
id: string;
|
|
327
305
|
slug: string;
|
|
328
306
|
};
|
|
329
|
-
project: {
|
|
330
|
-
id: string;
|
|
331
|
-
name: string;
|
|
332
|
-
slug: string;
|
|
333
|
-
ref: string;
|
|
334
|
-
};
|
|
335
|
-
batch?: {
|
|
336
|
-
id: string;
|
|
337
|
-
} | undefined;
|
|
338
|
-
machine?: {
|
|
339
|
-
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
340
|
-
cpu: number;
|
|
341
|
-
memory: number;
|
|
342
|
-
centsPerMs: number;
|
|
343
|
-
} | undefined;
|
|
344
|
-
};
|
|
345
|
-
traceContext: Record<string, unknown>;
|
|
346
|
-
environment?: Record<string, string> | undefined;
|
|
347
|
-
}, {
|
|
348
|
-
execution: {
|
|
349
307
|
organization: {
|
|
350
|
-
id: string;
|
|
351
308
|
name: string;
|
|
309
|
+
id: string;
|
|
352
310
|
slug: string;
|
|
353
311
|
};
|
|
354
|
-
|
|
355
|
-
id: string;
|
|
312
|
+
project: {
|
|
356
313
|
name: string;
|
|
314
|
+
id: string;
|
|
315
|
+
slug: string;
|
|
316
|
+
ref: string;
|
|
357
317
|
};
|
|
358
318
|
task: {
|
|
359
319
|
id: string;
|
|
@@ -368,11 +328,29 @@ export declare const TaskRunExecutionPayload: z.ZodObject<{
|
|
|
368
328
|
backgroundWorkerId: string;
|
|
369
329
|
backgroundWorkerTaskId: string;
|
|
370
330
|
};
|
|
371
|
-
|
|
331
|
+
queue: {
|
|
332
|
+
name: string;
|
|
372
333
|
id: string;
|
|
373
|
-
|
|
334
|
+
};
|
|
335
|
+
batch?: {
|
|
336
|
+
id: string;
|
|
337
|
+
} | undefined;
|
|
338
|
+
machine?: {
|
|
339
|
+
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
340
|
+
cpu: number;
|
|
341
|
+
memory: number;
|
|
342
|
+
centsPerMs: number;
|
|
343
|
+
} | undefined;
|
|
344
|
+
};
|
|
345
|
+
traceContext: Record<string, unknown>;
|
|
346
|
+
environment?: Record<string, string> | undefined;
|
|
347
|
+
}, {
|
|
348
|
+
execution: {
|
|
349
|
+
run: {
|
|
374
350
|
payload: string;
|
|
351
|
+
id: string;
|
|
375
352
|
payloadType: string;
|
|
353
|
+
createdAt: Date;
|
|
376
354
|
tags: string[];
|
|
377
355
|
context?: any;
|
|
378
356
|
isTest?: boolean | undefined;
|
|
@@ -389,12 +367,34 @@ export declare const TaskRunExecutionPayload: z.ZodObject<{
|
|
|
389
367
|
id: string;
|
|
390
368
|
slug: string;
|
|
391
369
|
};
|
|
392
|
-
|
|
370
|
+
organization: {
|
|
371
|
+
name: string;
|
|
393
372
|
id: string;
|
|
373
|
+
slug: string;
|
|
374
|
+
};
|
|
375
|
+
project: {
|
|
394
376
|
name: string;
|
|
377
|
+
id: string;
|
|
395
378
|
slug: string;
|
|
396
379
|
ref: string;
|
|
397
380
|
};
|
|
381
|
+
task: {
|
|
382
|
+
id: string;
|
|
383
|
+
filePath: string;
|
|
384
|
+
exportName: string;
|
|
385
|
+
};
|
|
386
|
+
attempt: {
|
|
387
|
+
number: number;
|
|
388
|
+
status: string;
|
|
389
|
+
id: string;
|
|
390
|
+
startedAt: Date;
|
|
391
|
+
backgroundWorkerId: string;
|
|
392
|
+
backgroundWorkerTaskId: string;
|
|
393
|
+
};
|
|
394
|
+
queue: {
|
|
395
|
+
name: string;
|
|
396
|
+
id: string;
|
|
397
|
+
};
|
|
398
398
|
batch?: {
|
|
399
399
|
id: string;
|
|
400
400
|
} | undefined;
|
|
@@ -410,99 +410,41 @@ export declare const TaskRunExecutionPayload: z.ZodObject<{
|
|
|
410
410
|
}>;
|
|
411
411
|
export type TaskRunExecutionPayload = z.infer<typeof TaskRunExecutionPayload>;
|
|
412
412
|
export declare const ProdTaskRunExecution: z.ZodObject<{
|
|
413
|
-
|
|
413
|
+
run: z.ZodObject<{
|
|
414
414
|
id: z.ZodString;
|
|
415
|
-
|
|
416
|
-
|
|
415
|
+
payload: z.ZodString;
|
|
416
|
+
payloadType: z.ZodString;
|
|
417
|
+
context: z.ZodAny;
|
|
418
|
+
tags: z.ZodArray<z.ZodString, "many">;
|
|
419
|
+
isTest: z.ZodDefault<z.ZodBoolean>;
|
|
420
|
+
createdAt: z.ZodDate;
|
|
421
|
+
startedAt: z.ZodDefault<z.ZodDate>;
|
|
422
|
+
idempotencyKey: z.ZodOptional<z.ZodString>;
|
|
423
|
+
maxAttempts: z.ZodOptional<z.ZodNumber>;
|
|
424
|
+
durationMs: z.ZodDefault<z.ZodNumber>;
|
|
425
|
+
costInCents: z.ZodDefault<z.ZodNumber>;
|
|
426
|
+
baseCostInCents: z.ZodDefault<z.ZodNumber>;
|
|
427
|
+
version: z.ZodOptional<z.ZodString>;
|
|
417
428
|
}, "strip", z.ZodTypeAny, {
|
|
418
|
-
|
|
419
|
-
name: string;
|
|
420
|
-
slug: string;
|
|
421
|
-
}, {
|
|
422
|
-
id: string;
|
|
423
|
-
name: string;
|
|
424
|
-
slug: string;
|
|
425
|
-
}>;
|
|
426
|
-
queue: z.ZodObject<{
|
|
427
|
-
id: z.ZodString;
|
|
428
|
-
name: z.ZodString;
|
|
429
|
-
}, "strip", z.ZodTypeAny, {
|
|
430
|
-
id: string;
|
|
431
|
-
name: string;
|
|
432
|
-
}, {
|
|
433
|
-
id: string;
|
|
434
|
-
name: string;
|
|
435
|
-
}>;
|
|
436
|
-
task: z.ZodObject<{
|
|
437
|
-
id: z.ZodString;
|
|
438
|
-
filePath: z.ZodString;
|
|
439
|
-
exportName: z.ZodString;
|
|
440
|
-
}, "strip", z.ZodTypeAny, {
|
|
441
|
-
id: string;
|
|
442
|
-
filePath: string;
|
|
443
|
-
exportName: string;
|
|
444
|
-
}, {
|
|
445
|
-
id: string;
|
|
446
|
-
filePath: string;
|
|
447
|
-
exportName: string;
|
|
448
|
-
}>;
|
|
449
|
-
attempt: z.ZodObject<{
|
|
450
|
-
id: z.ZodString;
|
|
451
|
-
number: z.ZodNumber;
|
|
452
|
-
startedAt: z.ZodDate;
|
|
453
|
-
backgroundWorkerId: z.ZodString;
|
|
454
|
-
backgroundWorkerTaskId: z.ZodString;
|
|
455
|
-
status: z.ZodString;
|
|
456
|
-
}, "strip", z.ZodTypeAny, {
|
|
457
|
-
number: number;
|
|
458
|
-
status: string;
|
|
459
|
-
id: string;
|
|
460
|
-
startedAt: Date;
|
|
461
|
-
backgroundWorkerId: string;
|
|
462
|
-
backgroundWorkerTaskId: string;
|
|
463
|
-
}, {
|
|
464
|
-
number: number;
|
|
465
|
-
status: string;
|
|
429
|
+
payload: string;
|
|
466
430
|
id: string;
|
|
467
431
|
startedAt: Date;
|
|
468
|
-
backgroundWorkerId: string;
|
|
469
|
-
backgroundWorkerTaskId: string;
|
|
470
|
-
}>;
|
|
471
|
-
run: z.ZodObject<{
|
|
472
|
-
id: z.ZodString;
|
|
473
|
-
payload: z.ZodString;
|
|
474
|
-
payloadType: z.ZodString;
|
|
475
|
-
context: z.ZodAny;
|
|
476
|
-
tags: z.ZodArray<z.ZodString, "many">;
|
|
477
|
-
isTest: z.ZodDefault<z.ZodBoolean>;
|
|
478
|
-
createdAt: z.ZodDate;
|
|
479
|
-
startedAt: z.ZodDefault<z.ZodDate>;
|
|
480
|
-
idempotencyKey: z.ZodOptional<z.ZodString>;
|
|
481
|
-
maxAttempts: z.ZodOptional<z.ZodNumber>;
|
|
482
|
-
durationMs: z.ZodDefault<z.ZodNumber>;
|
|
483
|
-
costInCents: z.ZodDefault<z.ZodNumber>;
|
|
484
|
-
baseCostInCents: z.ZodDefault<z.ZodNumber>;
|
|
485
|
-
version: z.ZodOptional<z.ZodString>;
|
|
486
|
-
}, "strip", z.ZodTypeAny, {
|
|
487
|
-
id: string;
|
|
488
|
-
createdAt: Date;
|
|
489
|
-
payload: string;
|
|
490
432
|
payloadType: string;
|
|
491
|
-
tags: string[];
|
|
492
|
-
startedAt: Date;
|
|
493
433
|
isTest: boolean;
|
|
434
|
+
createdAt: Date;
|
|
435
|
+
tags: string[];
|
|
436
|
+
durationMs: number;
|
|
494
437
|
costInCents: number;
|
|
495
438
|
baseCostInCents: number;
|
|
496
|
-
durationMs: number;
|
|
497
439
|
context?: any;
|
|
498
440
|
idempotencyKey?: string | undefined;
|
|
499
441
|
maxAttempts?: number | undefined;
|
|
500
442
|
version?: string | undefined;
|
|
501
443
|
}, {
|
|
502
|
-
id: string;
|
|
503
|
-
createdAt: Date;
|
|
504
444
|
payload: string;
|
|
445
|
+
id: string;
|
|
505
446
|
payloadType: string;
|
|
447
|
+
createdAt: Date;
|
|
506
448
|
tags: string[];
|
|
507
449
|
context?: any;
|
|
508
450
|
isTest?: boolean | undefined;
|
|
@@ -527,22 +469,80 @@ export declare const ProdTaskRunExecution: z.ZodObject<{
|
|
|
527
469
|
id: string;
|
|
528
470
|
slug: string;
|
|
529
471
|
}>;
|
|
472
|
+
organization: z.ZodObject<{
|
|
473
|
+
id: z.ZodString;
|
|
474
|
+
slug: z.ZodString;
|
|
475
|
+
name: z.ZodString;
|
|
476
|
+
}, "strip", z.ZodTypeAny, {
|
|
477
|
+
name: string;
|
|
478
|
+
id: string;
|
|
479
|
+
slug: string;
|
|
480
|
+
}, {
|
|
481
|
+
name: string;
|
|
482
|
+
id: string;
|
|
483
|
+
slug: string;
|
|
484
|
+
}>;
|
|
530
485
|
project: z.ZodObject<{
|
|
531
486
|
id: z.ZodString;
|
|
532
487
|
ref: z.ZodString;
|
|
533
488
|
slug: z.ZodString;
|
|
534
489
|
name: z.ZodString;
|
|
535
490
|
}, "strip", z.ZodTypeAny, {
|
|
536
|
-
id: string;
|
|
537
491
|
name: string;
|
|
492
|
+
id: string;
|
|
538
493
|
slug: string;
|
|
539
494
|
ref: string;
|
|
540
495
|
}, {
|
|
541
|
-
id: string;
|
|
542
496
|
name: string;
|
|
497
|
+
id: string;
|
|
543
498
|
slug: string;
|
|
544
499
|
ref: string;
|
|
545
500
|
}>;
|
|
501
|
+
task: z.ZodObject<{
|
|
502
|
+
id: z.ZodString;
|
|
503
|
+
filePath: z.ZodString;
|
|
504
|
+
exportName: z.ZodString;
|
|
505
|
+
}, "strip", z.ZodTypeAny, {
|
|
506
|
+
id: string;
|
|
507
|
+
filePath: string;
|
|
508
|
+
exportName: string;
|
|
509
|
+
}, {
|
|
510
|
+
id: string;
|
|
511
|
+
filePath: string;
|
|
512
|
+
exportName: string;
|
|
513
|
+
}>;
|
|
514
|
+
attempt: z.ZodObject<{
|
|
515
|
+
id: z.ZodString;
|
|
516
|
+
number: z.ZodNumber;
|
|
517
|
+
startedAt: z.ZodDate;
|
|
518
|
+
backgroundWorkerId: z.ZodString;
|
|
519
|
+
backgroundWorkerTaskId: z.ZodString;
|
|
520
|
+
status: z.ZodString;
|
|
521
|
+
}, "strip", z.ZodTypeAny, {
|
|
522
|
+
number: number;
|
|
523
|
+
status: string;
|
|
524
|
+
id: string;
|
|
525
|
+
startedAt: Date;
|
|
526
|
+
backgroundWorkerId: string;
|
|
527
|
+
backgroundWorkerTaskId: string;
|
|
528
|
+
}, {
|
|
529
|
+
number: number;
|
|
530
|
+
status: string;
|
|
531
|
+
id: string;
|
|
532
|
+
startedAt: Date;
|
|
533
|
+
backgroundWorkerId: string;
|
|
534
|
+
backgroundWorkerTaskId: string;
|
|
535
|
+
}>;
|
|
536
|
+
queue: z.ZodObject<{
|
|
537
|
+
id: z.ZodString;
|
|
538
|
+
name: z.ZodString;
|
|
539
|
+
}, "strip", z.ZodTypeAny, {
|
|
540
|
+
name: string;
|
|
541
|
+
id: string;
|
|
542
|
+
}, {
|
|
543
|
+
name: string;
|
|
544
|
+
id: string;
|
|
545
|
+
}>;
|
|
546
546
|
batch: z.ZodOptional<z.ZodObject<{
|
|
547
547
|
id: z.ZodString;
|
|
548
548
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -555,13 +555,13 @@ export declare const ProdTaskRunExecution: z.ZodObject<{
|
|
|
555
555
|
contentHash: z.ZodString;
|
|
556
556
|
version: z.ZodString;
|
|
557
557
|
}, "strip", z.ZodTypeAny, {
|
|
558
|
+
version: string;
|
|
558
559
|
id: string;
|
|
559
560
|
contentHash: string;
|
|
560
|
-
version: string;
|
|
561
561
|
}, {
|
|
562
|
+
version: string;
|
|
562
563
|
id: string;
|
|
563
564
|
contentHash: string;
|
|
564
|
-
version: string;
|
|
565
565
|
}>;
|
|
566
566
|
machine: z.ZodDefault<z.ZodObject<{
|
|
567
567
|
name: z.ZodEnum<["micro", "small-1x", "small-2x", "medium-1x", "medium-2x", "large-1x", "large-2x"]>;
|
|
@@ -580,50 +580,17 @@ export declare const ProdTaskRunExecution: z.ZodObject<{
|
|
|
580
580
|
centsPerMs: number;
|
|
581
581
|
}>>;
|
|
582
582
|
}, "strip", z.ZodTypeAny, {
|
|
583
|
-
organization: {
|
|
584
|
-
id: string;
|
|
585
|
-
name: string;
|
|
586
|
-
slug: string;
|
|
587
|
-
};
|
|
588
|
-
queue: {
|
|
589
|
-
id: string;
|
|
590
|
-
name: string;
|
|
591
|
-
};
|
|
592
|
-
machine: {
|
|
593
|
-
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
594
|
-
cpu: number;
|
|
595
|
-
memory: number;
|
|
596
|
-
centsPerMs: number;
|
|
597
|
-
};
|
|
598
|
-
worker: {
|
|
599
|
-
id: string;
|
|
600
|
-
contentHash: string;
|
|
601
|
-
version: string;
|
|
602
|
-
};
|
|
603
|
-
task: {
|
|
604
|
-
id: string;
|
|
605
|
-
filePath: string;
|
|
606
|
-
exportName: string;
|
|
607
|
-
};
|
|
608
|
-
attempt: {
|
|
609
|
-
number: number;
|
|
610
|
-
status: string;
|
|
611
|
-
id: string;
|
|
612
|
-
startedAt: Date;
|
|
613
|
-
backgroundWorkerId: string;
|
|
614
|
-
backgroundWorkerTaskId: string;
|
|
615
|
-
};
|
|
616
583
|
run: {
|
|
617
|
-
id: string;
|
|
618
|
-
createdAt: Date;
|
|
619
584
|
payload: string;
|
|
620
|
-
|
|
621
|
-
tags: string[];
|
|
585
|
+
id: string;
|
|
622
586
|
startedAt: Date;
|
|
587
|
+
payloadType: string;
|
|
623
588
|
isTest: boolean;
|
|
589
|
+
createdAt: Date;
|
|
590
|
+
tags: string[];
|
|
591
|
+
durationMs: number;
|
|
624
592
|
costInCents: number;
|
|
625
593
|
baseCostInCents: number;
|
|
626
|
-
durationMs: number;
|
|
627
594
|
context?: any;
|
|
628
595
|
idempotencyKey?: string | undefined;
|
|
629
596
|
maxAttempts?: number | undefined;
|
|
@@ -634,29 +601,16 @@ export declare const ProdTaskRunExecution: z.ZodObject<{
|
|
|
634
601
|
id: string;
|
|
635
602
|
slug: string;
|
|
636
603
|
};
|
|
637
|
-
project: {
|
|
638
|
-
id: string;
|
|
639
|
-
name: string;
|
|
640
|
-
slug: string;
|
|
641
|
-
ref: string;
|
|
642
|
-
};
|
|
643
|
-
batch?: {
|
|
644
|
-
id: string;
|
|
645
|
-
} | undefined;
|
|
646
|
-
}, {
|
|
647
604
|
organization: {
|
|
648
|
-
id: string;
|
|
649
605
|
name: string;
|
|
606
|
+
id: string;
|
|
650
607
|
slug: string;
|
|
651
608
|
};
|
|
652
|
-
|
|
653
|
-
id: string;
|
|
609
|
+
project: {
|
|
654
610
|
name: string;
|
|
655
|
-
};
|
|
656
|
-
worker: {
|
|
657
611
|
id: string;
|
|
658
|
-
|
|
659
|
-
|
|
612
|
+
slug: string;
|
|
613
|
+
ref: string;
|
|
660
614
|
};
|
|
661
615
|
task: {
|
|
662
616
|
id: string;
|
|
@@ -671,11 +625,30 @@ export declare const ProdTaskRunExecution: z.ZodObject<{
|
|
|
671
625
|
backgroundWorkerId: string;
|
|
672
626
|
backgroundWorkerTaskId: string;
|
|
673
627
|
};
|
|
674
|
-
|
|
628
|
+
queue: {
|
|
629
|
+
name: string;
|
|
675
630
|
id: string;
|
|
676
|
-
|
|
631
|
+
};
|
|
632
|
+
machine: {
|
|
633
|
+
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
634
|
+
cpu: number;
|
|
635
|
+
memory: number;
|
|
636
|
+
centsPerMs: number;
|
|
637
|
+
};
|
|
638
|
+
worker: {
|
|
639
|
+
version: string;
|
|
640
|
+
id: string;
|
|
641
|
+
contentHash: string;
|
|
642
|
+
};
|
|
643
|
+
batch?: {
|
|
644
|
+
id: string;
|
|
645
|
+
} | undefined;
|
|
646
|
+
}, {
|
|
647
|
+
run: {
|
|
677
648
|
payload: string;
|
|
649
|
+
id: string;
|
|
678
650
|
payloadType: string;
|
|
651
|
+
createdAt: Date;
|
|
679
652
|
tags: string[];
|
|
680
653
|
context?: any;
|
|
681
654
|
isTest?: boolean | undefined;
|
|
@@ -692,12 +665,39 @@ export declare const ProdTaskRunExecution: z.ZodObject<{
|
|
|
692
665
|
id: string;
|
|
693
666
|
slug: string;
|
|
694
667
|
};
|
|
695
|
-
|
|
668
|
+
organization: {
|
|
669
|
+
name: string;
|
|
696
670
|
id: string;
|
|
671
|
+
slug: string;
|
|
672
|
+
};
|
|
673
|
+
project: {
|
|
697
674
|
name: string;
|
|
675
|
+
id: string;
|
|
698
676
|
slug: string;
|
|
699
677
|
ref: string;
|
|
700
678
|
};
|
|
679
|
+
task: {
|
|
680
|
+
id: string;
|
|
681
|
+
filePath: string;
|
|
682
|
+
exportName: string;
|
|
683
|
+
};
|
|
684
|
+
attempt: {
|
|
685
|
+
number: number;
|
|
686
|
+
status: string;
|
|
687
|
+
id: string;
|
|
688
|
+
startedAt: Date;
|
|
689
|
+
backgroundWorkerId: string;
|
|
690
|
+
backgroundWorkerTaskId: string;
|
|
691
|
+
};
|
|
692
|
+
queue: {
|
|
693
|
+
name: string;
|
|
694
|
+
id: string;
|
|
695
|
+
};
|
|
696
|
+
worker: {
|
|
697
|
+
version: string;
|
|
698
|
+
id: string;
|
|
699
|
+
contentHash: string;
|
|
700
|
+
};
|
|
701
701
|
batch?: {
|
|
702
702
|
id: string;
|
|
703
703
|
} | undefined;
|
|
@@ -711,64 +711,6 @@ export declare const ProdTaskRunExecution: z.ZodObject<{
|
|
|
711
711
|
export type ProdTaskRunExecution = z.infer<typeof ProdTaskRunExecution>;
|
|
712
712
|
export declare const ProdTaskRunExecutionPayload: z.ZodObject<{
|
|
713
713
|
execution: z.ZodObject<{
|
|
714
|
-
organization: z.ZodObject<{
|
|
715
|
-
id: z.ZodString;
|
|
716
|
-
slug: z.ZodString;
|
|
717
|
-
name: z.ZodString;
|
|
718
|
-
}, "strip", z.ZodTypeAny, {
|
|
719
|
-
id: string;
|
|
720
|
-
name: string;
|
|
721
|
-
slug: string;
|
|
722
|
-
}, {
|
|
723
|
-
id: string;
|
|
724
|
-
name: string;
|
|
725
|
-
slug: string;
|
|
726
|
-
}>;
|
|
727
|
-
queue: z.ZodObject<{
|
|
728
|
-
id: z.ZodString;
|
|
729
|
-
name: z.ZodString;
|
|
730
|
-
}, "strip", z.ZodTypeAny, {
|
|
731
|
-
id: string;
|
|
732
|
-
name: string;
|
|
733
|
-
}, {
|
|
734
|
-
id: string;
|
|
735
|
-
name: string;
|
|
736
|
-
}>;
|
|
737
|
-
task: z.ZodObject<{
|
|
738
|
-
id: z.ZodString;
|
|
739
|
-
filePath: z.ZodString;
|
|
740
|
-
exportName: z.ZodString;
|
|
741
|
-
}, "strip", z.ZodTypeAny, {
|
|
742
|
-
id: string;
|
|
743
|
-
filePath: string;
|
|
744
|
-
exportName: string;
|
|
745
|
-
}, {
|
|
746
|
-
id: string;
|
|
747
|
-
filePath: string;
|
|
748
|
-
exportName: string;
|
|
749
|
-
}>;
|
|
750
|
-
attempt: z.ZodObject<{
|
|
751
|
-
id: z.ZodString;
|
|
752
|
-
number: z.ZodNumber;
|
|
753
|
-
startedAt: z.ZodDate;
|
|
754
|
-
backgroundWorkerId: z.ZodString;
|
|
755
|
-
backgroundWorkerTaskId: z.ZodString;
|
|
756
|
-
status: z.ZodString;
|
|
757
|
-
}, "strip", z.ZodTypeAny, {
|
|
758
|
-
number: number;
|
|
759
|
-
status: string;
|
|
760
|
-
id: string;
|
|
761
|
-
startedAt: Date;
|
|
762
|
-
backgroundWorkerId: string;
|
|
763
|
-
backgroundWorkerTaskId: string;
|
|
764
|
-
}, {
|
|
765
|
-
number: number;
|
|
766
|
-
status: string;
|
|
767
|
-
id: string;
|
|
768
|
-
startedAt: Date;
|
|
769
|
-
backgroundWorkerId: string;
|
|
770
|
-
backgroundWorkerTaskId: string;
|
|
771
|
-
}>;
|
|
772
714
|
run: z.ZodObject<{
|
|
773
715
|
id: z.ZodString;
|
|
774
716
|
payload: z.ZodString;
|
|
@@ -785,25 +727,25 @@ export declare const ProdTaskRunExecutionPayload: z.ZodObject<{
|
|
|
785
727
|
baseCostInCents: z.ZodDefault<z.ZodNumber>;
|
|
786
728
|
version: z.ZodOptional<z.ZodString>;
|
|
787
729
|
}, "strip", z.ZodTypeAny, {
|
|
788
|
-
id: string;
|
|
789
|
-
createdAt: Date;
|
|
790
730
|
payload: string;
|
|
791
|
-
|
|
792
|
-
tags: string[];
|
|
731
|
+
id: string;
|
|
793
732
|
startedAt: Date;
|
|
733
|
+
payloadType: string;
|
|
794
734
|
isTest: boolean;
|
|
735
|
+
createdAt: Date;
|
|
736
|
+
tags: string[];
|
|
737
|
+
durationMs: number;
|
|
795
738
|
costInCents: number;
|
|
796
739
|
baseCostInCents: number;
|
|
797
|
-
durationMs: number;
|
|
798
740
|
context?: any;
|
|
799
741
|
idempotencyKey?: string | undefined;
|
|
800
742
|
maxAttempts?: number | undefined;
|
|
801
743
|
version?: string | undefined;
|
|
802
744
|
}, {
|
|
803
|
-
id: string;
|
|
804
|
-
createdAt: Date;
|
|
805
745
|
payload: string;
|
|
746
|
+
id: string;
|
|
806
747
|
payloadType: string;
|
|
748
|
+
createdAt: Date;
|
|
807
749
|
tags: string[];
|
|
808
750
|
context?: any;
|
|
809
751
|
isTest?: boolean | undefined;
|
|
@@ -828,21 +770,79 @@ export declare const ProdTaskRunExecutionPayload: z.ZodObject<{
|
|
|
828
770
|
id: string;
|
|
829
771
|
slug: string;
|
|
830
772
|
}>;
|
|
831
|
-
|
|
773
|
+
organization: z.ZodObject<{
|
|
774
|
+
id: z.ZodString;
|
|
775
|
+
slug: z.ZodString;
|
|
776
|
+
name: z.ZodString;
|
|
777
|
+
}, "strip", z.ZodTypeAny, {
|
|
778
|
+
name: string;
|
|
779
|
+
id: string;
|
|
780
|
+
slug: string;
|
|
781
|
+
}, {
|
|
782
|
+
name: string;
|
|
783
|
+
id: string;
|
|
784
|
+
slug: string;
|
|
785
|
+
}>;
|
|
786
|
+
project: z.ZodObject<{
|
|
787
|
+
id: z.ZodString;
|
|
788
|
+
ref: z.ZodString;
|
|
789
|
+
slug: z.ZodString;
|
|
790
|
+
name: z.ZodString;
|
|
791
|
+
}, "strip", z.ZodTypeAny, {
|
|
792
|
+
name: string;
|
|
793
|
+
id: string;
|
|
794
|
+
slug: string;
|
|
795
|
+
ref: string;
|
|
796
|
+
}, {
|
|
797
|
+
name: string;
|
|
798
|
+
id: string;
|
|
799
|
+
slug: string;
|
|
800
|
+
ref: string;
|
|
801
|
+
}>;
|
|
802
|
+
task: z.ZodObject<{
|
|
803
|
+
id: z.ZodString;
|
|
804
|
+
filePath: z.ZodString;
|
|
805
|
+
exportName: z.ZodString;
|
|
806
|
+
}, "strip", z.ZodTypeAny, {
|
|
807
|
+
id: string;
|
|
808
|
+
filePath: string;
|
|
809
|
+
exportName: string;
|
|
810
|
+
}, {
|
|
811
|
+
id: string;
|
|
812
|
+
filePath: string;
|
|
813
|
+
exportName: string;
|
|
814
|
+
}>;
|
|
815
|
+
attempt: z.ZodObject<{
|
|
816
|
+
id: z.ZodString;
|
|
817
|
+
number: z.ZodNumber;
|
|
818
|
+
startedAt: z.ZodDate;
|
|
819
|
+
backgroundWorkerId: z.ZodString;
|
|
820
|
+
backgroundWorkerTaskId: z.ZodString;
|
|
821
|
+
status: z.ZodString;
|
|
822
|
+
}, "strip", z.ZodTypeAny, {
|
|
823
|
+
number: number;
|
|
824
|
+
status: string;
|
|
825
|
+
id: string;
|
|
826
|
+
startedAt: Date;
|
|
827
|
+
backgroundWorkerId: string;
|
|
828
|
+
backgroundWorkerTaskId: string;
|
|
829
|
+
}, {
|
|
830
|
+
number: number;
|
|
831
|
+
status: string;
|
|
832
|
+
id: string;
|
|
833
|
+
startedAt: Date;
|
|
834
|
+
backgroundWorkerId: string;
|
|
835
|
+
backgroundWorkerTaskId: string;
|
|
836
|
+
}>;
|
|
837
|
+
queue: z.ZodObject<{
|
|
832
838
|
id: z.ZodString;
|
|
833
|
-
ref: z.ZodString;
|
|
834
|
-
slug: z.ZodString;
|
|
835
839
|
name: z.ZodString;
|
|
836
840
|
}, "strip", z.ZodTypeAny, {
|
|
837
|
-
id: string;
|
|
838
841
|
name: string;
|
|
839
|
-
slug: string;
|
|
840
|
-
ref: string;
|
|
841
|
-
}, {
|
|
842
842
|
id: string;
|
|
843
|
+
}, {
|
|
843
844
|
name: string;
|
|
844
|
-
|
|
845
|
-
ref: string;
|
|
845
|
+
id: string;
|
|
846
846
|
}>;
|
|
847
847
|
batch: z.ZodOptional<z.ZodObject<{
|
|
848
848
|
id: z.ZodString;
|
|
@@ -856,13 +856,13 @@ export declare const ProdTaskRunExecutionPayload: z.ZodObject<{
|
|
|
856
856
|
contentHash: z.ZodString;
|
|
857
857
|
version: z.ZodString;
|
|
858
858
|
}, "strip", z.ZodTypeAny, {
|
|
859
|
+
version: string;
|
|
859
860
|
id: string;
|
|
860
861
|
contentHash: string;
|
|
861
|
-
version: string;
|
|
862
862
|
}, {
|
|
863
|
+
version: string;
|
|
863
864
|
id: string;
|
|
864
865
|
contentHash: string;
|
|
865
|
-
version: string;
|
|
866
866
|
}>;
|
|
867
867
|
machine: z.ZodDefault<z.ZodObject<{
|
|
868
868
|
name: z.ZodEnum<["micro", "small-1x", "small-2x", "medium-1x", "medium-2x", "large-1x", "large-2x"]>;
|
|
@@ -881,50 +881,17 @@ export declare const ProdTaskRunExecutionPayload: z.ZodObject<{
|
|
|
881
881
|
centsPerMs: number;
|
|
882
882
|
}>>;
|
|
883
883
|
}, "strip", z.ZodTypeAny, {
|
|
884
|
-
organization: {
|
|
885
|
-
id: string;
|
|
886
|
-
name: string;
|
|
887
|
-
slug: string;
|
|
888
|
-
};
|
|
889
|
-
queue: {
|
|
890
|
-
id: string;
|
|
891
|
-
name: string;
|
|
892
|
-
};
|
|
893
|
-
machine: {
|
|
894
|
-
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
895
|
-
cpu: number;
|
|
896
|
-
memory: number;
|
|
897
|
-
centsPerMs: number;
|
|
898
|
-
};
|
|
899
|
-
worker: {
|
|
900
|
-
id: string;
|
|
901
|
-
contentHash: string;
|
|
902
|
-
version: string;
|
|
903
|
-
};
|
|
904
|
-
task: {
|
|
905
|
-
id: string;
|
|
906
|
-
filePath: string;
|
|
907
|
-
exportName: string;
|
|
908
|
-
};
|
|
909
|
-
attempt: {
|
|
910
|
-
number: number;
|
|
911
|
-
status: string;
|
|
912
|
-
id: string;
|
|
913
|
-
startedAt: Date;
|
|
914
|
-
backgroundWorkerId: string;
|
|
915
|
-
backgroundWorkerTaskId: string;
|
|
916
|
-
};
|
|
917
884
|
run: {
|
|
918
|
-
id: string;
|
|
919
|
-
createdAt: Date;
|
|
920
885
|
payload: string;
|
|
921
|
-
|
|
922
|
-
tags: string[];
|
|
886
|
+
id: string;
|
|
923
887
|
startedAt: Date;
|
|
888
|
+
payloadType: string;
|
|
924
889
|
isTest: boolean;
|
|
890
|
+
createdAt: Date;
|
|
891
|
+
tags: string[];
|
|
892
|
+
durationMs: number;
|
|
925
893
|
costInCents: number;
|
|
926
894
|
baseCostInCents: number;
|
|
927
|
-
durationMs: number;
|
|
928
895
|
context?: any;
|
|
929
896
|
idempotencyKey?: string | undefined;
|
|
930
897
|
maxAttempts?: number | undefined;
|
|
@@ -935,29 +902,16 @@ export declare const ProdTaskRunExecutionPayload: z.ZodObject<{
|
|
|
935
902
|
id: string;
|
|
936
903
|
slug: string;
|
|
937
904
|
};
|
|
938
|
-
project: {
|
|
939
|
-
id: string;
|
|
940
|
-
name: string;
|
|
941
|
-
slug: string;
|
|
942
|
-
ref: string;
|
|
943
|
-
};
|
|
944
|
-
batch?: {
|
|
945
|
-
id: string;
|
|
946
|
-
} | undefined;
|
|
947
|
-
}, {
|
|
948
905
|
organization: {
|
|
949
|
-
id: string;
|
|
950
906
|
name: string;
|
|
907
|
+
id: string;
|
|
951
908
|
slug: string;
|
|
952
909
|
};
|
|
953
|
-
|
|
954
|
-
id: string;
|
|
910
|
+
project: {
|
|
955
911
|
name: string;
|
|
956
|
-
};
|
|
957
|
-
worker: {
|
|
958
912
|
id: string;
|
|
959
|
-
|
|
960
|
-
|
|
913
|
+
slug: string;
|
|
914
|
+
ref: string;
|
|
961
915
|
};
|
|
962
916
|
task: {
|
|
963
917
|
id: string;
|
|
@@ -972,11 +926,30 @@ export declare const ProdTaskRunExecutionPayload: z.ZodObject<{
|
|
|
972
926
|
backgroundWorkerId: string;
|
|
973
927
|
backgroundWorkerTaskId: string;
|
|
974
928
|
};
|
|
975
|
-
|
|
929
|
+
queue: {
|
|
930
|
+
name: string;
|
|
976
931
|
id: string;
|
|
977
|
-
|
|
932
|
+
};
|
|
933
|
+
machine: {
|
|
934
|
+
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
935
|
+
cpu: number;
|
|
936
|
+
memory: number;
|
|
937
|
+
centsPerMs: number;
|
|
938
|
+
};
|
|
939
|
+
worker: {
|
|
940
|
+
version: string;
|
|
941
|
+
id: string;
|
|
942
|
+
contentHash: string;
|
|
943
|
+
};
|
|
944
|
+
batch?: {
|
|
945
|
+
id: string;
|
|
946
|
+
} | undefined;
|
|
947
|
+
}, {
|
|
948
|
+
run: {
|
|
978
949
|
payload: string;
|
|
950
|
+
id: string;
|
|
979
951
|
payloadType: string;
|
|
952
|
+
createdAt: Date;
|
|
980
953
|
tags: string[];
|
|
981
954
|
context?: any;
|
|
982
955
|
isTest?: boolean | undefined;
|
|
@@ -993,45 +966,16 @@ export declare const ProdTaskRunExecutionPayload: z.ZodObject<{
|
|
|
993
966
|
id: string;
|
|
994
967
|
slug: string;
|
|
995
968
|
};
|
|
996
|
-
project: {
|
|
997
|
-
id: string;
|
|
998
|
-
name: string;
|
|
999
|
-
slug: string;
|
|
1000
|
-
ref: string;
|
|
1001
|
-
};
|
|
1002
|
-
batch?: {
|
|
1003
|
-
id: string;
|
|
1004
|
-
} | undefined;
|
|
1005
|
-
machine?: {
|
|
1006
|
-
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
1007
|
-
cpu: number;
|
|
1008
|
-
memory: number;
|
|
1009
|
-
centsPerMs: number;
|
|
1010
|
-
} | undefined;
|
|
1011
|
-
}>;
|
|
1012
|
-
traceContext: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
1013
|
-
environment: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1014
|
-
}, "strip", z.ZodTypeAny, {
|
|
1015
|
-
execution: {
|
|
1016
969
|
organization: {
|
|
1017
|
-
id: string;
|
|
1018
970
|
name: string;
|
|
971
|
+
id: string;
|
|
1019
972
|
slug: string;
|
|
1020
973
|
};
|
|
1021
|
-
|
|
1022
|
-
id: string;
|
|
974
|
+
project: {
|
|
1023
975
|
name: string;
|
|
1024
|
-
};
|
|
1025
|
-
machine: {
|
|
1026
|
-
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
1027
|
-
cpu: number;
|
|
1028
|
-
memory: number;
|
|
1029
|
-
centsPerMs: number;
|
|
1030
|
-
};
|
|
1031
|
-
worker: {
|
|
1032
976
|
id: string;
|
|
1033
|
-
|
|
1034
|
-
|
|
977
|
+
slug: string;
|
|
978
|
+
ref: string;
|
|
1035
979
|
};
|
|
1036
980
|
task: {
|
|
1037
981
|
id: string;
|
|
@@ -1046,17 +990,40 @@ export declare const ProdTaskRunExecutionPayload: z.ZodObject<{
|
|
|
1046
990
|
backgroundWorkerId: string;
|
|
1047
991
|
backgroundWorkerTaskId: string;
|
|
1048
992
|
};
|
|
1049
|
-
|
|
993
|
+
queue: {
|
|
994
|
+
name: string;
|
|
1050
995
|
id: string;
|
|
1051
|
-
|
|
996
|
+
};
|
|
997
|
+
worker: {
|
|
998
|
+
version: string;
|
|
999
|
+
id: string;
|
|
1000
|
+
contentHash: string;
|
|
1001
|
+
};
|
|
1002
|
+
batch?: {
|
|
1003
|
+
id: string;
|
|
1004
|
+
} | undefined;
|
|
1005
|
+
machine?: {
|
|
1006
|
+
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
1007
|
+
cpu: number;
|
|
1008
|
+
memory: number;
|
|
1009
|
+
centsPerMs: number;
|
|
1010
|
+
} | undefined;
|
|
1011
|
+
}>;
|
|
1012
|
+
traceContext: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
1013
|
+
environment: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1014
|
+
}, "strip", z.ZodTypeAny, {
|
|
1015
|
+
execution: {
|
|
1016
|
+
run: {
|
|
1052
1017
|
payload: string;
|
|
1053
|
-
|
|
1054
|
-
tags: string[];
|
|
1018
|
+
id: string;
|
|
1055
1019
|
startedAt: Date;
|
|
1020
|
+
payloadType: string;
|
|
1056
1021
|
isTest: boolean;
|
|
1022
|
+
createdAt: Date;
|
|
1023
|
+
tags: string[];
|
|
1024
|
+
durationMs: number;
|
|
1057
1025
|
costInCents: number;
|
|
1058
1026
|
baseCostInCents: number;
|
|
1059
|
-
durationMs: number;
|
|
1060
1027
|
context?: any;
|
|
1061
1028
|
idempotencyKey?: string | undefined;
|
|
1062
1029
|
maxAttempts?: number | undefined;
|
|
@@ -1067,33 +1034,16 @@ export declare const ProdTaskRunExecutionPayload: z.ZodObject<{
|
|
|
1067
1034
|
id: string;
|
|
1068
1035
|
slug: string;
|
|
1069
1036
|
};
|
|
1070
|
-
project: {
|
|
1071
|
-
id: string;
|
|
1072
|
-
name: string;
|
|
1073
|
-
slug: string;
|
|
1074
|
-
ref: string;
|
|
1075
|
-
};
|
|
1076
|
-
batch?: {
|
|
1077
|
-
id: string;
|
|
1078
|
-
} | undefined;
|
|
1079
|
-
};
|
|
1080
|
-
traceContext: Record<string, unknown>;
|
|
1081
|
-
environment?: Record<string, string> | undefined;
|
|
1082
|
-
}, {
|
|
1083
|
-
execution: {
|
|
1084
1037
|
organization: {
|
|
1085
|
-
id: string;
|
|
1086
1038
|
name: string;
|
|
1039
|
+
id: string;
|
|
1087
1040
|
slug: string;
|
|
1088
1041
|
};
|
|
1089
|
-
|
|
1090
|
-
id: string;
|
|
1042
|
+
project: {
|
|
1091
1043
|
name: string;
|
|
1092
|
-
};
|
|
1093
|
-
worker: {
|
|
1094
1044
|
id: string;
|
|
1095
|
-
|
|
1096
|
-
|
|
1045
|
+
slug: string;
|
|
1046
|
+
ref: string;
|
|
1097
1047
|
};
|
|
1098
1048
|
task: {
|
|
1099
1049
|
id: string;
|
|
@@ -1108,11 +1058,34 @@ export declare const ProdTaskRunExecutionPayload: z.ZodObject<{
|
|
|
1108
1058
|
backgroundWorkerId: string;
|
|
1109
1059
|
backgroundWorkerTaskId: string;
|
|
1110
1060
|
};
|
|
1111
|
-
|
|
1061
|
+
queue: {
|
|
1062
|
+
name: string;
|
|
1112
1063
|
id: string;
|
|
1113
|
-
|
|
1064
|
+
};
|
|
1065
|
+
machine: {
|
|
1066
|
+
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
1067
|
+
cpu: number;
|
|
1068
|
+
memory: number;
|
|
1069
|
+
centsPerMs: number;
|
|
1070
|
+
};
|
|
1071
|
+
worker: {
|
|
1072
|
+
version: string;
|
|
1073
|
+
id: string;
|
|
1074
|
+
contentHash: string;
|
|
1075
|
+
};
|
|
1076
|
+
batch?: {
|
|
1077
|
+
id: string;
|
|
1078
|
+
} | undefined;
|
|
1079
|
+
};
|
|
1080
|
+
traceContext: Record<string, unknown>;
|
|
1081
|
+
environment?: Record<string, string> | undefined;
|
|
1082
|
+
}, {
|
|
1083
|
+
execution: {
|
|
1084
|
+
run: {
|
|
1114
1085
|
payload: string;
|
|
1086
|
+
id: string;
|
|
1115
1087
|
payloadType: string;
|
|
1088
|
+
createdAt: Date;
|
|
1116
1089
|
tags: string[];
|
|
1117
1090
|
context?: any;
|
|
1118
1091
|
isTest?: boolean | undefined;
|
|
@@ -1129,12 +1102,39 @@ export declare const ProdTaskRunExecutionPayload: z.ZodObject<{
|
|
|
1129
1102
|
id: string;
|
|
1130
1103
|
slug: string;
|
|
1131
1104
|
};
|
|
1132
|
-
|
|
1105
|
+
organization: {
|
|
1106
|
+
name: string;
|
|
1133
1107
|
id: string;
|
|
1108
|
+
slug: string;
|
|
1109
|
+
};
|
|
1110
|
+
project: {
|
|
1134
1111
|
name: string;
|
|
1112
|
+
id: string;
|
|
1135
1113
|
slug: string;
|
|
1136
1114
|
ref: string;
|
|
1137
1115
|
};
|
|
1116
|
+
task: {
|
|
1117
|
+
id: string;
|
|
1118
|
+
filePath: string;
|
|
1119
|
+
exportName: string;
|
|
1120
|
+
};
|
|
1121
|
+
attempt: {
|
|
1122
|
+
number: number;
|
|
1123
|
+
status: string;
|
|
1124
|
+
id: string;
|
|
1125
|
+
startedAt: Date;
|
|
1126
|
+
backgroundWorkerId: string;
|
|
1127
|
+
backgroundWorkerTaskId: string;
|
|
1128
|
+
};
|
|
1129
|
+
queue: {
|
|
1130
|
+
name: string;
|
|
1131
|
+
id: string;
|
|
1132
|
+
};
|
|
1133
|
+
worker: {
|
|
1134
|
+
version: string;
|
|
1135
|
+
id: string;
|
|
1136
|
+
contentHash: string;
|
|
1137
|
+
};
|
|
1138
1138
|
batch?: {
|
|
1139
1139
|
id: string;
|
|
1140
1140
|
} | undefined;
|
|
@@ -1888,12 +1888,12 @@ export declare const TaskMetadata: z.ZodObject<{
|
|
|
1888
1888
|
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>]>>;
|
|
1889
1889
|
preset: z.ZodOptional<z.ZodEnum<["micro", "small-1x", "small-2x", "medium-1x", "medium-2x", "large-1x", "large-2x"]>>;
|
|
1890
1890
|
}, "strip", z.ZodTypeAny, {
|
|
1891
|
-
cpu?:
|
|
1892
|
-
memory?:
|
|
1891
|
+
cpu?: 1 | 2 | 4 | 0.25 | 0.5 | undefined;
|
|
1892
|
+
memory?: 8 | 1 | 2 | 4 | 0.25 | 0.5 | undefined;
|
|
1893
1893
|
preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
|
|
1894
1894
|
}, {
|
|
1895
|
-
cpu?:
|
|
1896
|
-
memory?:
|
|
1895
|
+
cpu?: 1 | 2 | 4 | 0.25 | 0.5 | undefined;
|
|
1896
|
+
memory?: 8 | 1 | 2 | 4 | 0.25 | 0.5 | undefined;
|
|
1897
1897
|
preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
|
|
1898
1898
|
}>>;
|
|
1899
1899
|
triggerSource: z.ZodOptional<z.ZodString>;
|
|
@@ -1954,8 +1954,8 @@ export declare const TaskMetadata: z.ZodObject<{
|
|
|
1954
1954
|
randomize?: boolean | undefined;
|
|
1955
1955
|
} | undefined;
|
|
1956
1956
|
machine?: {
|
|
1957
|
-
cpu?:
|
|
1958
|
-
memory?:
|
|
1957
|
+
cpu?: 1 | 2 | 4 | 0.25 | 0.5 | undefined;
|
|
1958
|
+
memory?: 8 | 1 | 2 | 4 | 0.25 | 0.5 | undefined;
|
|
1959
1959
|
preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
|
|
1960
1960
|
} | undefined;
|
|
1961
1961
|
triggerSource?: string | undefined;
|
|
@@ -2010,8 +2010,8 @@ export declare const TaskMetadata: z.ZodObject<{
|
|
|
2010
2010
|
randomize?: boolean | undefined;
|
|
2011
2011
|
} | undefined;
|
|
2012
2012
|
machine?: {
|
|
2013
|
-
cpu?:
|
|
2014
|
-
memory?:
|
|
2013
|
+
cpu?: 1 | 2 | 4 | 0.25 | 0.5 | undefined;
|
|
2014
|
+
memory?: 8 | 1 | 2 | 4 | 0.25 | 0.5 | undefined;
|
|
2015
2015
|
preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
|
|
2016
2016
|
} | undefined;
|
|
2017
2017
|
triggerSource?: string | undefined;
|
|
@@ -2306,12 +2306,12 @@ export declare const TaskManifest: z.ZodObject<{
|
|
|
2306
2306
|
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>]>>;
|
|
2307
2307
|
preset: z.ZodOptional<z.ZodEnum<["micro", "small-1x", "small-2x", "medium-1x", "medium-2x", "large-1x", "large-2x"]>>;
|
|
2308
2308
|
}, "strip", z.ZodTypeAny, {
|
|
2309
|
-
cpu?:
|
|
2310
|
-
memory?:
|
|
2309
|
+
cpu?: 1 | 2 | 4 | 0.25 | 0.5 | undefined;
|
|
2310
|
+
memory?: 8 | 1 | 2 | 4 | 0.25 | 0.5 | undefined;
|
|
2311
2311
|
preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
|
|
2312
2312
|
}, {
|
|
2313
|
-
cpu?:
|
|
2314
|
-
memory?:
|
|
2313
|
+
cpu?: 1 | 2 | 4 | 0.25 | 0.5 | undefined;
|
|
2314
|
+
memory?: 8 | 1 | 2 | 4 | 0.25 | 0.5 | undefined;
|
|
2315
2315
|
preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
|
|
2316
2316
|
}>>;
|
|
2317
2317
|
triggerSource: z.ZodOptional<z.ZodString>;
|
|
@@ -2375,8 +2375,8 @@ export declare const TaskManifest: z.ZodObject<{
|
|
|
2375
2375
|
randomize?: boolean | undefined;
|
|
2376
2376
|
} | undefined;
|
|
2377
2377
|
machine?: {
|
|
2378
|
-
cpu?:
|
|
2379
|
-
memory?:
|
|
2378
|
+
cpu?: 1 | 2 | 4 | 0.25 | 0.5 | undefined;
|
|
2379
|
+
memory?: 8 | 1 | 2 | 4 | 0.25 | 0.5 | undefined;
|
|
2380
2380
|
preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
|
|
2381
2381
|
} | undefined;
|
|
2382
2382
|
triggerSource?: string | undefined;
|
|
@@ -2434,8 +2434,8 @@ export declare const TaskManifest: z.ZodObject<{
|
|
|
2434
2434
|
randomize?: boolean | undefined;
|
|
2435
2435
|
} | undefined;
|
|
2436
2436
|
machine?: {
|
|
2437
|
-
cpu?:
|
|
2438
|
-
memory?:
|
|
2437
|
+
cpu?: 1 | 2 | 4 | 0.25 | 0.5 | undefined;
|
|
2438
|
+
memory?: 8 | 1 | 2 | 4 | 0.25 | 0.5 | undefined;
|
|
2439
2439
|
preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
|
|
2440
2440
|
} | undefined;
|
|
2441
2441
|
triggerSource?: string | undefined;
|