@trigger.dev/core 4.0.0-v4-beta.17 → 4.0.0-v4-beta.19
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/getBranch.d.ts +5 -0
- package/dist/commonjs/v3/apiClient/getBranch.js +25 -0
- package/dist/commonjs/v3/apiClient/getBranch.js.map +1 -0
- package/dist/commonjs/v3/apiClient/index.d.ts +3 -1
- package/dist/commonjs/v3/apiClient/index.js +25 -2
- package/dist/commonjs/v3/apiClient/index.js.map +1 -1
- package/dist/commonjs/v3/apiClientManager/index.d.ts +1 -0
- package/dist/commonjs/v3/apiClientManager/index.js +10 -2
- package/dist/commonjs/v3/apiClientManager/index.js.map +1 -1
- package/dist/commonjs/v3/apiClientManager/types.d.ts +4 -0
- package/dist/commonjs/v3/build/extensions.d.ts +1 -0
- package/dist/commonjs/v3/runEngineWorker/supervisor/http.d.ts +13 -0
- package/dist/commonjs/v3/runEngineWorker/supervisor/http.js +5 -0
- package/dist/commonjs/v3/runEngineWorker/supervisor/http.js.map +1 -1
- package/dist/commonjs/v3/runEngineWorker/supervisor/schemas.d.ts +104 -0
- package/dist/commonjs/v3/runEngineWorker/supervisor/session.d.ts +1 -0
- package/dist/commonjs/v3/runEngineWorker/supervisor/session.js.map +1 -1
- package/dist/commonjs/v3/runEngineWorker/supervisor/types.d.ts +1 -0
- package/dist/commonjs/v3/runEngineWorker/workload/http.d.ts +12 -0
- package/dist/commonjs/v3/runEngineWorker/workload/schemas.d.ts +104 -0
- package/dist/commonjs/v3/runMetadata/manager.js +14 -4
- package/dist/commonjs/v3/runMetadata/manager.js.map +1 -1
- package/dist/commonjs/v3/runMetadata/operations.d.ts +38 -0
- package/dist/commonjs/v3/runMetadata/operations.js +96 -0
- package/dist/commonjs/v3/runMetadata/operations.js.map +1 -1
- package/dist/commonjs/v3/schemas/api.d.ts +128 -0
- package/dist/commonjs/v3/schemas/api.js +12 -2
- package/dist/commonjs/v3/schemas/api.js.map +1 -1
- package/dist/commonjs/v3/schemas/build.d.ts +38 -0
- package/dist/commonjs/v3/schemas/build.js +3 -0
- package/dist/commonjs/v3/schemas/build.js.map +1 -1
- package/dist/commonjs/v3/schemas/common.d.ts +248 -0
- package/dist/commonjs/v3/schemas/common.js +14 -1
- package/dist/commonjs/v3/schemas/common.js.map +1 -1
- package/dist/commonjs/v3/schemas/messages.d.ts +1709 -0
- package/dist/commonjs/v3/schemas/runEngine.d.ts +104 -0
- package/dist/commonjs/v3/schemas/schemas.d.ts +288 -0
- package/dist/commonjs/v3/schemas/webhooks.d.ts +42 -0
- package/dist/commonjs/v3/schemas/webhooks.js +4 -0
- package/dist/commonjs/v3/schemas/webhooks.js.map +1 -1
- package/dist/commonjs/version.js +1 -1
- package/dist/esm/v3/apiClient/getBranch.d.ts +5 -0
- package/dist/esm/v3/apiClient/getBranch.js +22 -0
- package/dist/esm/v3/apiClient/getBranch.js.map +1 -0
- package/dist/esm/v3/apiClient/index.d.ts +3 -1
- package/dist/esm/v3/apiClient/index.js +11 -2
- package/dist/esm/v3/apiClient/index.js.map +1 -1
- package/dist/esm/v3/apiClientManager/index.d.ts +1 -0
- package/dist/esm/v3/apiClientManager/index.js +10 -2
- package/dist/esm/v3/apiClientManager/index.js.map +1 -1
- package/dist/esm/v3/apiClientManager/types.d.ts +4 -0
- package/dist/esm/v3/build/extensions.d.ts +1 -0
- package/dist/esm/v3/runEngineWorker/supervisor/http.d.ts +13 -0
- package/dist/esm/v3/runEngineWorker/supervisor/http.js +5 -0
- package/dist/esm/v3/runEngineWorker/supervisor/http.js.map +1 -1
- package/dist/esm/v3/runEngineWorker/supervisor/schemas.d.ts +104 -0
- package/dist/esm/v3/runEngineWorker/supervisor/session.d.ts +1 -0
- package/dist/esm/v3/runEngineWorker/supervisor/session.js.map +1 -1
- package/dist/esm/v3/runEngineWorker/supervisor/types.d.ts +1 -0
- package/dist/esm/v3/runEngineWorker/workload/http.d.ts +12 -0
- package/dist/esm/v3/runEngineWorker/workload/schemas.d.ts +104 -0
- package/dist/esm/v3/runMetadata/manager.js +15 -5
- package/dist/esm/v3/runMetadata/manager.js.map +1 -1
- package/dist/esm/v3/runMetadata/operations.d.ts +38 -0
- package/dist/esm/v3/runMetadata/operations.js +95 -0
- package/dist/esm/v3/runMetadata/operations.js.map +1 -1
- package/dist/esm/v3/schemas/api.d.ts +128 -0
- package/dist/esm/v3/schemas/api.js +11 -1
- package/dist/esm/v3/schemas/api.js.map +1 -1
- package/dist/esm/v3/schemas/build.d.ts +38 -0
- package/dist/esm/v3/schemas/build.js +3 -0
- package/dist/esm/v3/schemas/build.js.map +1 -1
- package/dist/esm/v3/schemas/common.d.ts +248 -0
- package/dist/esm/v3/schemas/common.js +13 -0
- package/dist/esm/v3/schemas/common.js.map +1 -1
- package/dist/esm/v3/schemas/messages.d.ts +1709 -0
- package/dist/esm/v3/schemas/runEngine.d.ts +104 -0
- package/dist/esm/v3/schemas/schemas.d.ts +288 -0
- package/dist/esm/v3/schemas/webhooks.d.ts +42 -0
- package/dist/esm/v3/schemas/webhooks.js +4 -0
- package/dist/esm/v3/schemas/webhooks.js.map +1 -1
- package/dist/esm/version.js +1 -1
- package/package.json +1 -2
|
@@ -394,14 +394,70 @@ export declare const StartRunAttemptResult: z.ZodIntersection<z.ZodObject<{
|
|
|
394
394
|
id: z.ZodString;
|
|
395
395
|
slug: z.ZodString;
|
|
396
396
|
type: z.ZodEnum<["PRODUCTION", "STAGING", "DEVELOPMENT", "PREVIEW"]>;
|
|
397
|
+
branchName: z.ZodOptional<z.ZodString>;
|
|
398
|
+
git: z.ZodOptional<z.ZodObject<{
|
|
399
|
+
commitAuthorName: z.ZodOptional<z.ZodString>;
|
|
400
|
+
commitMessage: z.ZodOptional<z.ZodString>;
|
|
401
|
+
commitRef: z.ZodOptional<z.ZodString>;
|
|
402
|
+
commitSha: z.ZodOptional<z.ZodString>;
|
|
403
|
+
dirty: z.ZodOptional<z.ZodBoolean>;
|
|
404
|
+
remoteUrl: z.ZodOptional<z.ZodString>;
|
|
405
|
+
pullRequestNumber: z.ZodOptional<z.ZodNumber>;
|
|
406
|
+
pullRequestTitle: z.ZodOptional<z.ZodString>;
|
|
407
|
+
pullRequestState: z.ZodOptional<z.ZodEnum<["open", "closed", "merged"]>>;
|
|
408
|
+
}, "strip", z.ZodTypeAny, {
|
|
409
|
+
dirty?: boolean | undefined;
|
|
410
|
+
commitAuthorName?: string | undefined;
|
|
411
|
+
commitMessage?: string | undefined;
|
|
412
|
+
commitRef?: string | undefined;
|
|
413
|
+
commitSha?: string | undefined;
|
|
414
|
+
remoteUrl?: string | undefined;
|
|
415
|
+
pullRequestNumber?: number | undefined;
|
|
416
|
+
pullRequestTitle?: string | undefined;
|
|
417
|
+
pullRequestState?: "open" | "closed" | "merged" | undefined;
|
|
418
|
+
}, {
|
|
419
|
+
dirty?: boolean | undefined;
|
|
420
|
+
commitAuthorName?: string | undefined;
|
|
421
|
+
commitMessage?: string | undefined;
|
|
422
|
+
commitRef?: string | undefined;
|
|
423
|
+
commitSha?: string | undefined;
|
|
424
|
+
remoteUrl?: string | undefined;
|
|
425
|
+
pullRequestNumber?: number | undefined;
|
|
426
|
+
pullRequestTitle?: string | undefined;
|
|
427
|
+
pullRequestState?: "open" | "closed" | "merged" | undefined;
|
|
428
|
+
}>>;
|
|
397
429
|
}, "strip", z.ZodTypeAny, {
|
|
398
430
|
type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
|
|
399
431
|
id: string;
|
|
400
432
|
slug: string;
|
|
433
|
+
branchName?: string | undefined;
|
|
434
|
+
git?: {
|
|
435
|
+
dirty?: boolean | undefined;
|
|
436
|
+
commitAuthorName?: string | undefined;
|
|
437
|
+
commitMessage?: string | undefined;
|
|
438
|
+
commitRef?: string | undefined;
|
|
439
|
+
commitSha?: string | undefined;
|
|
440
|
+
remoteUrl?: string | undefined;
|
|
441
|
+
pullRequestNumber?: number | undefined;
|
|
442
|
+
pullRequestTitle?: string | undefined;
|
|
443
|
+
pullRequestState?: "open" | "closed" | "merged" | undefined;
|
|
444
|
+
} | undefined;
|
|
401
445
|
}, {
|
|
402
446
|
type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
|
|
403
447
|
id: string;
|
|
404
448
|
slug: string;
|
|
449
|
+
branchName?: string | undefined;
|
|
450
|
+
git?: {
|
|
451
|
+
dirty?: boolean | undefined;
|
|
452
|
+
commitAuthorName?: string | undefined;
|
|
453
|
+
commitMessage?: string | undefined;
|
|
454
|
+
commitRef?: string | undefined;
|
|
455
|
+
commitSha?: string | undefined;
|
|
456
|
+
remoteUrl?: string | undefined;
|
|
457
|
+
pullRequestNumber?: number | undefined;
|
|
458
|
+
pullRequestTitle?: string | undefined;
|
|
459
|
+
pullRequestState?: "open" | "closed" | "merged" | undefined;
|
|
460
|
+
} | undefined;
|
|
405
461
|
}>;
|
|
406
462
|
organization: z.ZodObject<{
|
|
407
463
|
id: z.ZodString;
|
|
@@ -498,6 +554,18 @@ export declare const StartRunAttemptResult: z.ZodIntersection<z.ZodObject<{
|
|
|
498
554
|
type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
|
|
499
555
|
id: string;
|
|
500
556
|
slug: string;
|
|
557
|
+
branchName?: string | undefined;
|
|
558
|
+
git?: {
|
|
559
|
+
dirty?: boolean | undefined;
|
|
560
|
+
commitAuthorName?: string | undefined;
|
|
561
|
+
commitMessage?: string | undefined;
|
|
562
|
+
commitRef?: string | undefined;
|
|
563
|
+
commitSha?: string | undefined;
|
|
564
|
+
remoteUrl?: string | undefined;
|
|
565
|
+
pullRequestNumber?: number | undefined;
|
|
566
|
+
pullRequestTitle?: string | undefined;
|
|
567
|
+
pullRequestState?: "open" | "closed" | "merged" | undefined;
|
|
568
|
+
} | undefined;
|
|
501
569
|
};
|
|
502
570
|
organization: {
|
|
503
571
|
name: string;
|
|
@@ -562,6 +630,18 @@ export declare const StartRunAttemptResult: z.ZodIntersection<z.ZodObject<{
|
|
|
562
630
|
type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
|
|
563
631
|
id: string;
|
|
564
632
|
slug: string;
|
|
633
|
+
branchName?: string | undefined;
|
|
634
|
+
git?: {
|
|
635
|
+
dirty?: boolean | undefined;
|
|
636
|
+
commitAuthorName?: string | undefined;
|
|
637
|
+
commitMessage?: string | undefined;
|
|
638
|
+
commitRef?: string | undefined;
|
|
639
|
+
commitSha?: string | undefined;
|
|
640
|
+
remoteUrl?: string | undefined;
|
|
641
|
+
pullRequestNumber?: number | undefined;
|
|
642
|
+
pullRequestTitle?: string | undefined;
|
|
643
|
+
pullRequestState?: "open" | "closed" | "merged" | undefined;
|
|
644
|
+
} | undefined;
|
|
565
645
|
};
|
|
566
646
|
organization: {
|
|
567
647
|
name: string;
|
|
@@ -628,6 +708,18 @@ export declare const StartRunAttemptResult: z.ZodIntersection<z.ZodObject<{
|
|
|
628
708
|
type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
|
|
629
709
|
id: string;
|
|
630
710
|
slug: string;
|
|
711
|
+
branchName?: string | undefined;
|
|
712
|
+
git?: {
|
|
713
|
+
dirty?: boolean | undefined;
|
|
714
|
+
commitAuthorName?: string | undefined;
|
|
715
|
+
commitMessage?: string | undefined;
|
|
716
|
+
commitRef?: string | undefined;
|
|
717
|
+
commitSha?: string | undefined;
|
|
718
|
+
remoteUrl?: string | undefined;
|
|
719
|
+
pullRequestNumber?: number | undefined;
|
|
720
|
+
pullRequestTitle?: string | undefined;
|
|
721
|
+
pullRequestState?: "open" | "closed" | "merged" | undefined;
|
|
722
|
+
} | undefined;
|
|
631
723
|
};
|
|
632
724
|
organization: {
|
|
633
725
|
name: string;
|
|
@@ -694,6 +786,18 @@ export declare const StartRunAttemptResult: z.ZodIntersection<z.ZodObject<{
|
|
|
694
786
|
type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
|
|
695
787
|
id: string;
|
|
696
788
|
slug: string;
|
|
789
|
+
branchName?: string | undefined;
|
|
790
|
+
git?: {
|
|
791
|
+
dirty?: boolean | undefined;
|
|
792
|
+
commitAuthorName?: string | undefined;
|
|
793
|
+
commitMessage?: string | undefined;
|
|
794
|
+
commitRef?: string | undefined;
|
|
795
|
+
commitSha?: string | undefined;
|
|
796
|
+
remoteUrl?: string | undefined;
|
|
797
|
+
pullRequestNumber?: number | undefined;
|
|
798
|
+
pullRequestTitle?: string | undefined;
|
|
799
|
+
pullRequestState?: "open" | "closed" | "merged" | undefined;
|
|
800
|
+
} | undefined;
|
|
697
801
|
};
|
|
698
802
|
organization: {
|
|
699
803
|
name: string;
|
|
@@ -149,14 +149,70 @@ export declare const TaskRunExecutionPayload: z.ZodObject<{
|
|
|
149
149
|
id: z.ZodString;
|
|
150
150
|
slug: z.ZodString;
|
|
151
151
|
type: z.ZodEnum<["PRODUCTION", "STAGING", "DEVELOPMENT", "PREVIEW"]>;
|
|
152
|
+
branchName: z.ZodOptional<z.ZodString>;
|
|
153
|
+
git: z.ZodOptional<z.ZodObject<{
|
|
154
|
+
commitAuthorName: z.ZodOptional<z.ZodString>;
|
|
155
|
+
commitMessage: z.ZodOptional<z.ZodString>;
|
|
156
|
+
commitRef: z.ZodOptional<z.ZodString>;
|
|
157
|
+
commitSha: z.ZodOptional<z.ZodString>;
|
|
158
|
+
dirty: z.ZodOptional<z.ZodBoolean>;
|
|
159
|
+
remoteUrl: z.ZodOptional<z.ZodString>;
|
|
160
|
+
pullRequestNumber: z.ZodOptional<z.ZodNumber>;
|
|
161
|
+
pullRequestTitle: z.ZodOptional<z.ZodString>;
|
|
162
|
+
pullRequestState: z.ZodOptional<z.ZodEnum<["open", "closed", "merged"]>>;
|
|
163
|
+
}, "strip", z.ZodTypeAny, {
|
|
164
|
+
dirty?: boolean | undefined;
|
|
165
|
+
commitAuthorName?: string | undefined;
|
|
166
|
+
commitMessage?: string | undefined;
|
|
167
|
+
commitRef?: string | undefined;
|
|
168
|
+
commitSha?: string | undefined;
|
|
169
|
+
remoteUrl?: string | undefined;
|
|
170
|
+
pullRequestNumber?: number | undefined;
|
|
171
|
+
pullRequestTitle?: string | undefined;
|
|
172
|
+
pullRequestState?: "open" | "closed" | "merged" | undefined;
|
|
173
|
+
}, {
|
|
174
|
+
dirty?: boolean | undefined;
|
|
175
|
+
commitAuthorName?: string | undefined;
|
|
176
|
+
commitMessage?: string | undefined;
|
|
177
|
+
commitRef?: string | undefined;
|
|
178
|
+
commitSha?: string | undefined;
|
|
179
|
+
remoteUrl?: string | undefined;
|
|
180
|
+
pullRequestNumber?: number | undefined;
|
|
181
|
+
pullRequestTitle?: string | undefined;
|
|
182
|
+
pullRequestState?: "open" | "closed" | "merged" | undefined;
|
|
183
|
+
}>>;
|
|
152
184
|
}, "strip", z.ZodTypeAny, {
|
|
153
185
|
type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
|
|
154
186
|
id: string;
|
|
155
187
|
slug: string;
|
|
188
|
+
branchName?: string | undefined;
|
|
189
|
+
git?: {
|
|
190
|
+
dirty?: boolean | undefined;
|
|
191
|
+
commitAuthorName?: string | undefined;
|
|
192
|
+
commitMessage?: string | undefined;
|
|
193
|
+
commitRef?: string | undefined;
|
|
194
|
+
commitSha?: string | undefined;
|
|
195
|
+
remoteUrl?: string | undefined;
|
|
196
|
+
pullRequestNumber?: number | undefined;
|
|
197
|
+
pullRequestTitle?: string | undefined;
|
|
198
|
+
pullRequestState?: "open" | "closed" | "merged" | undefined;
|
|
199
|
+
} | undefined;
|
|
156
200
|
}, {
|
|
157
201
|
type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
|
|
158
202
|
id: string;
|
|
159
203
|
slug: string;
|
|
204
|
+
branchName?: string | undefined;
|
|
205
|
+
git?: {
|
|
206
|
+
dirty?: boolean | undefined;
|
|
207
|
+
commitAuthorName?: string | undefined;
|
|
208
|
+
commitMessage?: string | undefined;
|
|
209
|
+
commitRef?: string | undefined;
|
|
210
|
+
commitSha?: string | undefined;
|
|
211
|
+
remoteUrl?: string | undefined;
|
|
212
|
+
pullRequestNumber?: number | undefined;
|
|
213
|
+
pullRequestTitle?: string | undefined;
|
|
214
|
+
pullRequestState?: "open" | "closed" | "merged" | undefined;
|
|
215
|
+
} | undefined;
|
|
160
216
|
}>;
|
|
161
217
|
organization: z.ZodObject<{
|
|
162
218
|
id: z.ZodString;
|
|
@@ -253,6 +309,18 @@ export declare const TaskRunExecutionPayload: z.ZodObject<{
|
|
|
253
309
|
type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
|
|
254
310
|
id: string;
|
|
255
311
|
slug: string;
|
|
312
|
+
branchName?: string | undefined;
|
|
313
|
+
git?: {
|
|
314
|
+
dirty?: boolean | undefined;
|
|
315
|
+
commitAuthorName?: string | undefined;
|
|
316
|
+
commitMessage?: string | undefined;
|
|
317
|
+
commitRef?: string | undefined;
|
|
318
|
+
commitSha?: string | undefined;
|
|
319
|
+
remoteUrl?: string | undefined;
|
|
320
|
+
pullRequestNumber?: number | undefined;
|
|
321
|
+
pullRequestTitle?: string | undefined;
|
|
322
|
+
pullRequestState?: "open" | "closed" | "merged" | undefined;
|
|
323
|
+
} | undefined;
|
|
256
324
|
};
|
|
257
325
|
organization: {
|
|
258
326
|
name: string;
|
|
@@ -317,6 +385,18 @@ export declare const TaskRunExecutionPayload: z.ZodObject<{
|
|
|
317
385
|
type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
|
|
318
386
|
id: string;
|
|
319
387
|
slug: string;
|
|
388
|
+
branchName?: string | undefined;
|
|
389
|
+
git?: {
|
|
390
|
+
dirty?: boolean | undefined;
|
|
391
|
+
commitAuthorName?: string | undefined;
|
|
392
|
+
commitMessage?: string | undefined;
|
|
393
|
+
commitRef?: string | undefined;
|
|
394
|
+
commitSha?: string | undefined;
|
|
395
|
+
remoteUrl?: string | undefined;
|
|
396
|
+
pullRequestNumber?: number | undefined;
|
|
397
|
+
pullRequestTitle?: string | undefined;
|
|
398
|
+
pullRequestState?: "open" | "closed" | "merged" | undefined;
|
|
399
|
+
} | undefined;
|
|
320
400
|
};
|
|
321
401
|
organization: {
|
|
322
402
|
name: string;
|
|
@@ -402,6 +482,18 @@ export declare const TaskRunExecutionPayload: z.ZodObject<{
|
|
|
402
482
|
type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
|
|
403
483
|
id: string;
|
|
404
484
|
slug: string;
|
|
485
|
+
branchName?: string | undefined;
|
|
486
|
+
git?: {
|
|
487
|
+
dirty?: boolean | undefined;
|
|
488
|
+
commitAuthorName?: string | undefined;
|
|
489
|
+
commitMessage?: string | undefined;
|
|
490
|
+
commitRef?: string | undefined;
|
|
491
|
+
commitSha?: string | undefined;
|
|
492
|
+
remoteUrl?: string | undefined;
|
|
493
|
+
pullRequestNumber?: number | undefined;
|
|
494
|
+
pullRequestTitle?: string | undefined;
|
|
495
|
+
pullRequestState?: "open" | "closed" | "merged" | undefined;
|
|
496
|
+
} | undefined;
|
|
405
497
|
};
|
|
406
498
|
organization: {
|
|
407
499
|
name: string;
|
|
@@ -476,6 +568,18 @@ export declare const TaskRunExecutionPayload: z.ZodObject<{
|
|
|
476
568
|
type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
|
|
477
569
|
id: string;
|
|
478
570
|
slug: string;
|
|
571
|
+
branchName?: string | undefined;
|
|
572
|
+
git?: {
|
|
573
|
+
dirty?: boolean | undefined;
|
|
574
|
+
commitAuthorName?: string | undefined;
|
|
575
|
+
commitMessage?: string | undefined;
|
|
576
|
+
commitRef?: string | undefined;
|
|
577
|
+
commitSha?: string | undefined;
|
|
578
|
+
remoteUrl?: string | undefined;
|
|
579
|
+
pullRequestNumber?: number | undefined;
|
|
580
|
+
pullRequestTitle?: string | undefined;
|
|
581
|
+
pullRequestState?: "open" | "closed" | "merged" | undefined;
|
|
582
|
+
} | undefined;
|
|
479
583
|
};
|
|
480
584
|
organization: {
|
|
481
585
|
name: string;
|
|
@@ -618,14 +722,70 @@ export declare const ProdTaskRunExecution: z.ZodObject<z.objectUtil.extendShape<
|
|
|
618
722
|
id: z.ZodString;
|
|
619
723
|
slug: z.ZodString;
|
|
620
724
|
type: z.ZodEnum<["PRODUCTION", "STAGING", "DEVELOPMENT", "PREVIEW"]>;
|
|
725
|
+
branchName: z.ZodOptional<z.ZodString>;
|
|
726
|
+
git: z.ZodOptional<z.ZodObject<{
|
|
727
|
+
commitAuthorName: z.ZodOptional<z.ZodString>;
|
|
728
|
+
commitMessage: z.ZodOptional<z.ZodString>;
|
|
729
|
+
commitRef: z.ZodOptional<z.ZodString>;
|
|
730
|
+
commitSha: z.ZodOptional<z.ZodString>;
|
|
731
|
+
dirty: z.ZodOptional<z.ZodBoolean>;
|
|
732
|
+
remoteUrl: z.ZodOptional<z.ZodString>;
|
|
733
|
+
pullRequestNumber: z.ZodOptional<z.ZodNumber>;
|
|
734
|
+
pullRequestTitle: z.ZodOptional<z.ZodString>;
|
|
735
|
+
pullRequestState: z.ZodOptional<z.ZodEnum<["open", "closed", "merged"]>>;
|
|
736
|
+
}, "strip", z.ZodTypeAny, {
|
|
737
|
+
dirty?: boolean | undefined;
|
|
738
|
+
commitAuthorName?: string | undefined;
|
|
739
|
+
commitMessage?: string | undefined;
|
|
740
|
+
commitRef?: string | undefined;
|
|
741
|
+
commitSha?: string | undefined;
|
|
742
|
+
remoteUrl?: string | undefined;
|
|
743
|
+
pullRequestNumber?: number | undefined;
|
|
744
|
+
pullRequestTitle?: string | undefined;
|
|
745
|
+
pullRequestState?: "open" | "closed" | "merged" | undefined;
|
|
746
|
+
}, {
|
|
747
|
+
dirty?: boolean | undefined;
|
|
748
|
+
commitAuthorName?: string | undefined;
|
|
749
|
+
commitMessage?: string | undefined;
|
|
750
|
+
commitRef?: string | undefined;
|
|
751
|
+
commitSha?: string | undefined;
|
|
752
|
+
remoteUrl?: string | undefined;
|
|
753
|
+
pullRequestNumber?: number | undefined;
|
|
754
|
+
pullRequestTitle?: string | undefined;
|
|
755
|
+
pullRequestState?: "open" | "closed" | "merged" | undefined;
|
|
756
|
+
}>>;
|
|
621
757
|
}, "strip", z.ZodTypeAny, {
|
|
622
758
|
type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
|
|
623
759
|
id: string;
|
|
624
760
|
slug: string;
|
|
761
|
+
branchName?: string | undefined;
|
|
762
|
+
git?: {
|
|
763
|
+
dirty?: boolean | undefined;
|
|
764
|
+
commitAuthorName?: string | undefined;
|
|
765
|
+
commitMessage?: string | undefined;
|
|
766
|
+
commitRef?: string | undefined;
|
|
767
|
+
commitSha?: string | undefined;
|
|
768
|
+
remoteUrl?: string | undefined;
|
|
769
|
+
pullRequestNumber?: number | undefined;
|
|
770
|
+
pullRequestTitle?: string | undefined;
|
|
771
|
+
pullRequestState?: "open" | "closed" | "merged" | undefined;
|
|
772
|
+
} | undefined;
|
|
625
773
|
}, {
|
|
626
774
|
type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
|
|
627
775
|
id: string;
|
|
628
776
|
slug: string;
|
|
777
|
+
branchName?: string | undefined;
|
|
778
|
+
git?: {
|
|
779
|
+
dirty?: boolean | undefined;
|
|
780
|
+
commitAuthorName?: string | undefined;
|
|
781
|
+
commitMessage?: string | undefined;
|
|
782
|
+
commitRef?: string | undefined;
|
|
783
|
+
commitSha?: string | undefined;
|
|
784
|
+
remoteUrl?: string | undefined;
|
|
785
|
+
pullRequestNumber?: number | undefined;
|
|
786
|
+
pullRequestTitle?: string | undefined;
|
|
787
|
+
pullRequestState?: "open" | "closed" | "merged" | undefined;
|
|
788
|
+
} | undefined;
|
|
629
789
|
}>;
|
|
630
790
|
organization: z.ZodObject<{
|
|
631
791
|
id: z.ZodString;
|
|
@@ -755,6 +915,18 @@ export declare const ProdTaskRunExecution: z.ZodObject<z.objectUtil.extendShape<
|
|
|
755
915
|
type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
|
|
756
916
|
id: string;
|
|
757
917
|
slug: string;
|
|
918
|
+
branchName?: string | undefined;
|
|
919
|
+
git?: {
|
|
920
|
+
dirty?: boolean | undefined;
|
|
921
|
+
commitAuthorName?: string | undefined;
|
|
922
|
+
commitMessage?: string | undefined;
|
|
923
|
+
commitRef?: string | undefined;
|
|
924
|
+
commitSha?: string | undefined;
|
|
925
|
+
remoteUrl?: string | undefined;
|
|
926
|
+
pullRequestNumber?: number | undefined;
|
|
927
|
+
pullRequestTitle?: string | undefined;
|
|
928
|
+
pullRequestState?: "open" | "closed" | "merged" | undefined;
|
|
929
|
+
} | undefined;
|
|
758
930
|
};
|
|
759
931
|
organization: {
|
|
760
932
|
name: string;
|
|
@@ -825,6 +997,18 @@ export declare const ProdTaskRunExecution: z.ZodObject<z.objectUtil.extendShape<
|
|
|
825
997
|
type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
|
|
826
998
|
id: string;
|
|
827
999
|
slug: string;
|
|
1000
|
+
branchName?: string | undefined;
|
|
1001
|
+
git?: {
|
|
1002
|
+
dirty?: boolean | undefined;
|
|
1003
|
+
commitAuthorName?: string | undefined;
|
|
1004
|
+
commitMessage?: string | undefined;
|
|
1005
|
+
commitRef?: string | undefined;
|
|
1006
|
+
commitSha?: string | undefined;
|
|
1007
|
+
remoteUrl?: string | undefined;
|
|
1008
|
+
pullRequestNumber?: number | undefined;
|
|
1009
|
+
pullRequestTitle?: string | undefined;
|
|
1010
|
+
pullRequestState?: "open" | "closed" | "merged" | undefined;
|
|
1011
|
+
} | undefined;
|
|
828
1012
|
};
|
|
829
1013
|
organization: {
|
|
830
1014
|
name: string;
|
|
@@ -966,14 +1150,70 @@ export declare const ProdTaskRunExecutionPayload: z.ZodObject<{
|
|
|
966
1150
|
id: z.ZodString;
|
|
967
1151
|
slug: z.ZodString;
|
|
968
1152
|
type: z.ZodEnum<["PRODUCTION", "STAGING", "DEVELOPMENT", "PREVIEW"]>;
|
|
1153
|
+
branchName: z.ZodOptional<z.ZodString>;
|
|
1154
|
+
git: z.ZodOptional<z.ZodObject<{
|
|
1155
|
+
commitAuthorName: z.ZodOptional<z.ZodString>;
|
|
1156
|
+
commitMessage: z.ZodOptional<z.ZodString>;
|
|
1157
|
+
commitRef: z.ZodOptional<z.ZodString>;
|
|
1158
|
+
commitSha: z.ZodOptional<z.ZodString>;
|
|
1159
|
+
dirty: z.ZodOptional<z.ZodBoolean>;
|
|
1160
|
+
remoteUrl: z.ZodOptional<z.ZodString>;
|
|
1161
|
+
pullRequestNumber: z.ZodOptional<z.ZodNumber>;
|
|
1162
|
+
pullRequestTitle: z.ZodOptional<z.ZodString>;
|
|
1163
|
+
pullRequestState: z.ZodOptional<z.ZodEnum<["open", "closed", "merged"]>>;
|
|
1164
|
+
}, "strip", z.ZodTypeAny, {
|
|
1165
|
+
dirty?: boolean | undefined;
|
|
1166
|
+
commitAuthorName?: string | undefined;
|
|
1167
|
+
commitMessage?: string | undefined;
|
|
1168
|
+
commitRef?: string | undefined;
|
|
1169
|
+
commitSha?: string | undefined;
|
|
1170
|
+
remoteUrl?: string | undefined;
|
|
1171
|
+
pullRequestNumber?: number | undefined;
|
|
1172
|
+
pullRequestTitle?: string | undefined;
|
|
1173
|
+
pullRequestState?: "open" | "closed" | "merged" | undefined;
|
|
1174
|
+
}, {
|
|
1175
|
+
dirty?: boolean | undefined;
|
|
1176
|
+
commitAuthorName?: string | undefined;
|
|
1177
|
+
commitMessage?: string | undefined;
|
|
1178
|
+
commitRef?: string | undefined;
|
|
1179
|
+
commitSha?: string | undefined;
|
|
1180
|
+
remoteUrl?: string | undefined;
|
|
1181
|
+
pullRequestNumber?: number | undefined;
|
|
1182
|
+
pullRequestTitle?: string | undefined;
|
|
1183
|
+
pullRequestState?: "open" | "closed" | "merged" | undefined;
|
|
1184
|
+
}>>;
|
|
969
1185
|
}, "strip", z.ZodTypeAny, {
|
|
970
1186
|
type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
|
|
971
1187
|
id: string;
|
|
972
1188
|
slug: string;
|
|
1189
|
+
branchName?: string | undefined;
|
|
1190
|
+
git?: {
|
|
1191
|
+
dirty?: boolean | undefined;
|
|
1192
|
+
commitAuthorName?: string | undefined;
|
|
1193
|
+
commitMessage?: string | undefined;
|
|
1194
|
+
commitRef?: string | undefined;
|
|
1195
|
+
commitSha?: string | undefined;
|
|
1196
|
+
remoteUrl?: string | undefined;
|
|
1197
|
+
pullRequestNumber?: number | undefined;
|
|
1198
|
+
pullRequestTitle?: string | undefined;
|
|
1199
|
+
pullRequestState?: "open" | "closed" | "merged" | undefined;
|
|
1200
|
+
} | undefined;
|
|
973
1201
|
}, {
|
|
974
1202
|
type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
|
|
975
1203
|
id: string;
|
|
976
1204
|
slug: string;
|
|
1205
|
+
branchName?: string | undefined;
|
|
1206
|
+
git?: {
|
|
1207
|
+
dirty?: boolean | undefined;
|
|
1208
|
+
commitAuthorName?: string | undefined;
|
|
1209
|
+
commitMessage?: string | undefined;
|
|
1210
|
+
commitRef?: string | undefined;
|
|
1211
|
+
commitSha?: string | undefined;
|
|
1212
|
+
remoteUrl?: string | undefined;
|
|
1213
|
+
pullRequestNumber?: number | undefined;
|
|
1214
|
+
pullRequestTitle?: string | undefined;
|
|
1215
|
+
pullRequestState?: "open" | "closed" | "merged" | undefined;
|
|
1216
|
+
} | undefined;
|
|
977
1217
|
}>;
|
|
978
1218
|
organization: z.ZodObject<{
|
|
979
1219
|
id: z.ZodString;
|
|
@@ -1103,6 +1343,18 @@ export declare const ProdTaskRunExecutionPayload: z.ZodObject<{
|
|
|
1103
1343
|
type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
|
|
1104
1344
|
id: string;
|
|
1105
1345
|
slug: string;
|
|
1346
|
+
branchName?: string | undefined;
|
|
1347
|
+
git?: {
|
|
1348
|
+
dirty?: boolean | undefined;
|
|
1349
|
+
commitAuthorName?: string | undefined;
|
|
1350
|
+
commitMessage?: string | undefined;
|
|
1351
|
+
commitRef?: string | undefined;
|
|
1352
|
+
commitSha?: string | undefined;
|
|
1353
|
+
remoteUrl?: string | undefined;
|
|
1354
|
+
pullRequestNumber?: number | undefined;
|
|
1355
|
+
pullRequestTitle?: string | undefined;
|
|
1356
|
+
pullRequestState?: "open" | "closed" | "merged" | undefined;
|
|
1357
|
+
} | undefined;
|
|
1106
1358
|
};
|
|
1107
1359
|
organization: {
|
|
1108
1360
|
name: string;
|
|
@@ -1173,6 +1425,18 @@ export declare const ProdTaskRunExecutionPayload: z.ZodObject<{
|
|
|
1173
1425
|
type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
|
|
1174
1426
|
id: string;
|
|
1175
1427
|
slug: string;
|
|
1428
|
+
branchName?: string | undefined;
|
|
1429
|
+
git?: {
|
|
1430
|
+
dirty?: boolean | undefined;
|
|
1431
|
+
commitAuthorName?: string | undefined;
|
|
1432
|
+
commitMessage?: string | undefined;
|
|
1433
|
+
commitRef?: string | undefined;
|
|
1434
|
+
commitSha?: string | undefined;
|
|
1435
|
+
remoteUrl?: string | undefined;
|
|
1436
|
+
pullRequestNumber?: number | undefined;
|
|
1437
|
+
pullRequestTitle?: string | undefined;
|
|
1438
|
+
pullRequestState?: "open" | "closed" | "merged" | undefined;
|
|
1439
|
+
} | undefined;
|
|
1176
1440
|
};
|
|
1177
1441
|
organization: {
|
|
1178
1442
|
name: string;
|
|
@@ -1264,6 +1528,18 @@ export declare const ProdTaskRunExecutionPayload: z.ZodObject<{
|
|
|
1264
1528
|
type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
|
|
1265
1529
|
id: string;
|
|
1266
1530
|
slug: string;
|
|
1531
|
+
branchName?: string | undefined;
|
|
1532
|
+
git?: {
|
|
1533
|
+
dirty?: boolean | undefined;
|
|
1534
|
+
commitAuthorName?: string | undefined;
|
|
1535
|
+
commitMessage?: string | undefined;
|
|
1536
|
+
commitRef?: string | undefined;
|
|
1537
|
+
commitSha?: string | undefined;
|
|
1538
|
+
remoteUrl?: string | undefined;
|
|
1539
|
+
pullRequestNumber?: number | undefined;
|
|
1540
|
+
pullRequestTitle?: string | undefined;
|
|
1541
|
+
pullRequestState?: "open" | "closed" | "merged" | undefined;
|
|
1542
|
+
} | undefined;
|
|
1267
1543
|
};
|
|
1268
1544
|
organization: {
|
|
1269
1545
|
name: string;
|
|
@@ -1344,6 +1620,18 @@ export declare const ProdTaskRunExecutionPayload: z.ZodObject<{
|
|
|
1344
1620
|
type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
|
|
1345
1621
|
id: string;
|
|
1346
1622
|
slug: string;
|
|
1623
|
+
branchName?: string | undefined;
|
|
1624
|
+
git?: {
|
|
1625
|
+
dirty?: boolean | undefined;
|
|
1626
|
+
commitAuthorName?: string | undefined;
|
|
1627
|
+
commitMessage?: string | undefined;
|
|
1628
|
+
commitRef?: string | undefined;
|
|
1629
|
+
commitSha?: string | undefined;
|
|
1630
|
+
remoteUrl?: string | undefined;
|
|
1631
|
+
pullRequestNumber?: number | undefined;
|
|
1632
|
+
pullRequestTitle?: string | undefined;
|
|
1633
|
+
pullRequestState?: "open" | "closed" | "merged" | undefined;
|
|
1634
|
+
} | undefined;
|
|
1347
1635
|
};
|
|
1348
1636
|
organization: {
|
|
1349
1637
|
name: string;
|