@trigger.dev/core 0.0.0-prerelease-20250810174508 → 0.0.0-prerelease-20250820151853
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 +4 -1
- package/dist/commonjs/logger.js.map +1 -1
- package/dist/commonjs/v3/apiClient/index.d.ts +90 -1
- package/dist/commonjs/v3/apiClient/index.js +29 -0
- package/dist/commonjs/v3/apiClient/index.js.map +1 -1
- package/dist/commonjs/v3/config.d.ts +3 -3
- package/dist/commonjs/v3/isomorphic/dates.d.ts +13 -0
- package/dist/commonjs/v3/isomorphic/dates.js +39 -0
- package/dist/commonjs/v3/isomorphic/dates.js.map +1 -0
- package/dist/commonjs/v3/isomorphic/index.d.ts +1 -0
- package/dist/commonjs/v3/isomorphic/index.js +1 -0
- package/dist/commonjs/v3/isomorphic/index.js.map +1 -1
- package/dist/commonjs/v3/isomorphic/traceContext.d.ts +2 -1
- package/dist/commonjs/v3/isomorphic/traceContext.js +4 -4
- package/dist/commonjs/v3/isomorphic/traceContext.js.map +1 -1
- package/dist/commonjs/v3/otel/tracingSDK.js +57 -3
- package/dist/commonjs/v3/otel/tracingSDK.js.map +1 -1
- package/dist/commonjs/v3/resource-catalog/standardResourceCatalog.js +3 -3
- package/dist/commonjs/v3/resource-catalog/standardResourceCatalog.js.map +1 -1
- package/dist/commonjs/v3/runEngineWorker/supervisor/http.d.ts +16 -0
- package/dist/commonjs/v3/runEngineWorker/supervisor/schemas.d.ts +108 -0
- package/dist/commonjs/v3/runEngineWorker/workload/http.d.ts +12 -0
- package/dist/commonjs/v3/runEngineWorker/workload/schemas.d.ts +90 -0
- package/dist/commonjs/v3/schemas/api.d.ts +630 -2
- package/dist/commonjs/v3/schemas/api.js +144 -3
- package/dist/commonjs/v3/schemas/api.js.map +1 -1
- package/dist/commonjs/v3/schemas/checkpoints.d.ts +18 -0
- package/dist/commonjs/v3/schemas/common.d.ts +248 -0
- package/dist/commonjs/v3/schemas/common.js +5 -0
- package/dist/commonjs/v3/schemas/common.js.map +1 -1
- package/dist/commonjs/v3/schemas/messages.d.ts +768 -0
- package/dist/commonjs/v3/schemas/runEngine.d.ts +101 -0
- package/dist/commonjs/v3/schemas/runEngine.js +6 -1
- package/dist/commonjs/v3/schemas/runEngine.js.map +1 -1
- package/dist/commonjs/v3/schemas/schemas.d.ts +136 -0
- package/dist/commonjs/v3/serverOnly/index.d.ts +1 -0
- package/dist/commonjs/v3/serverOnly/index.js +1 -0
- package/dist/commonjs/v3/serverOnly/index.js.map +1 -1
- package/dist/commonjs/v3/serverOnly/placementTags.d.ts +20 -0
- package/dist/commonjs/v3/serverOnly/placementTags.js +49 -0
- package/dist/commonjs/v3/serverOnly/placementTags.js.map +1 -0
- package/dist/commonjs/v3/traceContext/api.d.ts +1 -0
- package/dist/commonjs/v3/traceContext/manager.d.ts +1 -0
- package/dist/commonjs/v3/traceContext/manager.js +7 -5
- package/dist/commonjs/v3/traceContext/manager.js.map +1 -1
- package/dist/commonjs/v3/traceContext/types.d.ts +1 -0
- package/dist/commonjs/v3/types/tasks.d.ts +1 -0
- package/dist/commonjs/version.js +1 -1
- package/dist/esm/logger.js +4 -1
- package/dist/esm/logger.js.map +1 -1
- package/dist/esm/v3/apiClient/index.d.ts +90 -1
- package/dist/esm/v3/apiClient/index.js +30 -1
- package/dist/esm/v3/apiClient/index.js.map +1 -1
- package/dist/esm/v3/config.d.ts +3 -3
- package/dist/esm/v3/isomorphic/dates.d.ts +13 -0
- package/dist/esm/v3/isomorphic/dates.js +36 -0
- package/dist/esm/v3/isomorphic/dates.js.map +1 -0
- package/dist/esm/v3/isomorphic/index.d.ts +1 -0
- package/dist/esm/v3/isomorphic/index.js +1 -0
- package/dist/esm/v3/isomorphic/index.js.map +1 -1
- package/dist/esm/v3/isomorphic/traceContext.d.ts +2 -1
- package/dist/esm/v3/isomorphic/traceContext.js +4 -4
- package/dist/esm/v3/isomorphic/traceContext.js.map +1 -1
- package/dist/esm/v3/otel/tracingSDK.js +59 -5
- package/dist/esm/v3/otel/tracingSDK.js.map +1 -1
- package/dist/esm/v3/resource-catalog/standardResourceCatalog.js +3 -3
- package/dist/esm/v3/resource-catalog/standardResourceCatalog.js.map +1 -1
- package/dist/esm/v3/runEngineWorker/supervisor/http.d.ts +16 -0
- package/dist/esm/v3/runEngineWorker/supervisor/schemas.d.ts +108 -0
- package/dist/esm/v3/runEngineWorker/workload/http.d.ts +12 -0
- package/dist/esm/v3/runEngineWorker/workload/schemas.d.ts +90 -0
- package/dist/esm/v3/schemas/api.d.ts +630 -2
- package/dist/esm/v3/schemas/api.js +141 -1
- package/dist/esm/v3/schemas/api.js.map +1 -1
- package/dist/esm/v3/schemas/checkpoints.d.ts +18 -0
- package/dist/esm/v3/schemas/common.d.ts +248 -0
- package/dist/esm/v3/schemas/common.js +5 -0
- package/dist/esm/v3/schemas/common.js.map +1 -1
- package/dist/esm/v3/schemas/messages.d.ts +768 -0
- package/dist/esm/v3/schemas/runEngine.d.ts +101 -0
- package/dist/esm/v3/schemas/runEngine.js +5 -0
- package/dist/esm/v3/schemas/runEngine.js.map +1 -1
- package/dist/esm/v3/schemas/schemas.d.ts +136 -0
- package/dist/esm/v3/serverOnly/index.d.ts +1 -0
- package/dist/esm/v3/serverOnly/index.js +1 -0
- package/dist/esm/v3/serverOnly/index.js.map +1 -1
- package/dist/esm/v3/serverOnly/placementTags.d.ts +20 -0
- package/dist/esm/v3/serverOnly/placementTags.js +44 -0
- package/dist/esm/v3/serverOnly/placementTags.js.map +1 -0
- package/dist/esm/v3/traceContext/api.d.ts +1 -0
- package/dist/esm/v3/traceContext/manager.d.ts +1 -0
- package/dist/esm/v3/traceContext/manager.js +8 -6
- package/dist/esm/v3/traceContext/manager.js.map +1 -1
- package/dist/esm/v3/traceContext/types.d.ts +1 -0
- package/dist/esm/v3/types/tasks.d.ts +1 -0
- package/dist/esm/version.js +1 -1
- package/package.json +1 -1
|
@@ -92,6 +92,10 @@ export declare class SupervisorHttpClient {
|
|
|
92
92
|
reason?: string | null | undefined;
|
|
93
93
|
} | undefined;
|
|
94
94
|
image?: string | undefined;
|
|
95
|
+
placementTags?: {
|
|
96
|
+
key: string;
|
|
97
|
+
values?: string[] | undefined;
|
|
98
|
+
}[] | undefined;
|
|
95
99
|
}[]>>;
|
|
96
100
|
/** @deprecated Not currently used */
|
|
97
101
|
dequeueFromVersion(deploymentId: string, maxRunCount?: number, runnerId?: string): Promise<import("../../zodfetch.js").ApiResult<{
|
|
@@ -170,6 +174,10 @@ export declare class SupervisorHttpClient {
|
|
|
170
174
|
reason?: string | null | undefined;
|
|
171
175
|
} | undefined;
|
|
172
176
|
image?: string | undefined;
|
|
177
|
+
placementTags?: {
|
|
178
|
+
key: string;
|
|
179
|
+
values?: string[] | undefined;
|
|
180
|
+
}[] | undefined;
|
|
173
181
|
}[]>>;
|
|
174
182
|
heartbeatWorker(body: WorkerApiHeartbeatRequestBody): Promise<import("../../zodfetch.js").ApiResult<{
|
|
175
183
|
ok: true;
|
|
@@ -210,6 +218,10 @@ export declare class SupervisorHttpClient {
|
|
|
210
218
|
branchName?: string | undefined;
|
|
211
219
|
git?: {
|
|
212
220
|
dirty?: boolean | undefined;
|
|
221
|
+
source?: "trigger_github_app" | "github_actions" | "local" | undefined;
|
|
222
|
+
provider?: string | undefined;
|
|
223
|
+
ghUsername?: string | undefined;
|
|
224
|
+
ghUserAvatarUrl?: string | undefined;
|
|
213
225
|
commitAuthorName?: string | undefined;
|
|
214
226
|
commitMessage?: string | undefined;
|
|
215
227
|
commitRef?: string | undefined;
|
|
@@ -277,6 +289,10 @@ export declare class SupervisorHttpClient {
|
|
|
277
289
|
runtimeVersion: string;
|
|
278
290
|
git?: {
|
|
279
291
|
dirty?: boolean | undefined;
|
|
292
|
+
source?: "trigger_github_app" | "github_actions" | "local" | undefined;
|
|
293
|
+
provider?: string | undefined;
|
|
294
|
+
ghUsername?: string | undefined;
|
|
295
|
+
ghUserAvatarUrl?: string | undefined;
|
|
280
296
|
commitAuthorName?: string | undefined;
|
|
281
297
|
commitMessage?: string | undefined;
|
|
282
298
|
commitRef?: string | undefined;
|
|
@@ -468,6 +468,16 @@ export declare const WorkerApiDequeueResponseBody: z.ZodArray<z.ZodObject<{
|
|
|
468
468
|
}, {
|
|
469
469
|
id: string;
|
|
470
470
|
}>;
|
|
471
|
+
placementTags: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
472
|
+
key: z.ZodString;
|
|
473
|
+
values: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
474
|
+
}, "strip", z.ZodTypeAny, {
|
|
475
|
+
key: string;
|
|
476
|
+
values?: string[] | undefined;
|
|
477
|
+
}, {
|
|
478
|
+
key: string;
|
|
479
|
+
values?: string[] | undefined;
|
|
480
|
+
}>, "many">>;
|
|
471
481
|
}, "strip", z.ZodTypeAny, {
|
|
472
482
|
version: "1";
|
|
473
483
|
environment: {
|
|
@@ -544,6 +554,10 @@ export declare const WorkerApiDequeueResponseBody: z.ZodArray<z.ZodObject<{
|
|
|
544
554
|
reason?: string | null | undefined;
|
|
545
555
|
} | undefined;
|
|
546
556
|
image?: string | undefined;
|
|
557
|
+
placementTags?: {
|
|
558
|
+
key: string;
|
|
559
|
+
values?: string[] | undefined;
|
|
560
|
+
}[] | undefined;
|
|
547
561
|
}, {
|
|
548
562
|
version: "1";
|
|
549
563
|
environment: {
|
|
@@ -620,6 +634,10 @@ export declare const WorkerApiDequeueResponseBody: z.ZodArray<z.ZodObject<{
|
|
|
620
634
|
reason?: string | null | undefined;
|
|
621
635
|
} | undefined;
|
|
622
636
|
image?: string | undefined;
|
|
637
|
+
placementTags?: {
|
|
638
|
+
key: string;
|
|
639
|
+
values?: string[] | undefined;
|
|
640
|
+
}[] | undefined;
|
|
623
641
|
}>, "many">;
|
|
624
642
|
export type WorkerApiDequeueResponseBody = z.infer<typeof WorkerApiDequeueResponseBody>;
|
|
625
643
|
export declare const WorkerApiRunHeartbeatRequestBody: z.ZodObject<{
|
|
@@ -741,6 +759,10 @@ export declare const WorkerApiRunAttemptStartResponseBody: z.ZodIntersection<z.Z
|
|
|
741
759
|
type: z.ZodEnum<["PRODUCTION", "STAGING", "DEVELOPMENT", "PREVIEW"]>;
|
|
742
760
|
branchName: z.ZodOptional<z.ZodString>;
|
|
743
761
|
git: z.ZodOptional<z.ZodObject<{
|
|
762
|
+
provider: z.ZodOptional<z.ZodString>;
|
|
763
|
+
source: z.ZodOptional<z.ZodEnum<["trigger_github_app", "github_actions", "local"]>>;
|
|
764
|
+
ghUsername: z.ZodOptional<z.ZodString>;
|
|
765
|
+
ghUserAvatarUrl: z.ZodOptional<z.ZodString>;
|
|
744
766
|
commitAuthorName: z.ZodOptional<z.ZodString>;
|
|
745
767
|
commitMessage: z.ZodOptional<z.ZodString>;
|
|
746
768
|
commitRef: z.ZodOptional<z.ZodString>;
|
|
@@ -752,6 +774,10 @@ export declare const WorkerApiRunAttemptStartResponseBody: z.ZodIntersection<z.Z
|
|
|
752
774
|
pullRequestState: z.ZodOptional<z.ZodEnum<["open", "closed", "merged"]>>;
|
|
753
775
|
}, "strip", z.ZodTypeAny, {
|
|
754
776
|
dirty?: boolean | undefined;
|
|
777
|
+
source?: "trigger_github_app" | "github_actions" | "local" | undefined;
|
|
778
|
+
provider?: string | undefined;
|
|
779
|
+
ghUsername?: string | undefined;
|
|
780
|
+
ghUserAvatarUrl?: string | undefined;
|
|
755
781
|
commitAuthorName?: string | undefined;
|
|
756
782
|
commitMessage?: string | undefined;
|
|
757
783
|
commitRef?: string | undefined;
|
|
@@ -762,6 +788,10 @@ export declare const WorkerApiRunAttemptStartResponseBody: z.ZodIntersection<z.Z
|
|
|
762
788
|
pullRequestState?: "open" | "closed" | "merged" | undefined;
|
|
763
789
|
}, {
|
|
764
790
|
dirty?: boolean | undefined;
|
|
791
|
+
source?: "trigger_github_app" | "github_actions" | "local" | undefined;
|
|
792
|
+
provider?: string | undefined;
|
|
793
|
+
ghUsername?: string | undefined;
|
|
794
|
+
ghUserAvatarUrl?: string | undefined;
|
|
765
795
|
commitAuthorName?: string | undefined;
|
|
766
796
|
commitMessage?: string | undefined;
|
|
767
797
|
commitRef?: string | undefined;
|
|
@@ -778,6 +808,10 @@ export declare const WorkerApiRunAttemptStartResponseBody: z.ZodIntersection<z.Z
|
|
|
778
808
|
branchName?: string | undefined;
|
|
779
809
|
git?: {
|
|
780
810
|
dirty?: boolean | undefined;
|
|
811
|
+
source?: "trigger_github_app" | "github_actions" | "local" | undefined;
|
|
812
|
+
provider?: string | undefined;
|
|
813
|
+
ghUsername?: string | undefined;
|
|
814
|
+
ghUserAvatarUrl?: string | undefined;
|
|
781
815
|
commitAuthorName?: string | undefined;
|
|
782
816
|
commitMessage?: string | undefined;
|
|
783
817
|
commitRef?: string | undefined;
|
|
@@ -794,6 +828,10 @@ export declare const WorkerApiRunAttemptStartResponseBody: z.ZodIntersection<z.Z
|
|
|
794
828
|
branchName?: string | undefined;
|
|
795
829
|
git?: {
|
|
796
830
|
dirty?: boolean | undefined;
|
|
831
|
+
source?: "trigger_github_app" | "github_actions" | "local" | undefined;
|
|
832
|
+
provider?: string | undefined;
|
|
833
|
+
ghUsername?: string | undefined;
|
|
834
|
+
ghUserAvatarUrl?: string | undefined;
|
|
797
835
|
commitAuthorName?: string | undefined;
|
|
798
836
|
commitMessage?: string | undefined;
|
|
799
837
|
commitRef?: string | undefined;
|
|
@@ -863,6 +901,10 @@ export declare const WorkerApiRunAttemptStartResponseBody: z.ZodIntersection<z.Z
|
|
|
863
901
|
runtime: z.ZodString;
|
|
864
902
|
runtimeVersion: z.ZodString;
|
|
865
903
|
git: z.ZodOptional<z.ZodObject<{
|
|
904
|
+
provider: z.ZodOptional<z.ZodString>;
|
|
905
|
+
source: z.ZodOptional<z.ZodEnum<["trigger_github_app", "github_actions", "local"]>>;
|
|
906
|
+
ghUsername: z.ZodOptional<z.ZodString>;
|
|
907
|
+
ghUserAvatarUrl: z.ZodOptional<z.ZodString>;
|
|
866
908
|
commitAuthorName: z.ZodOptional<z.ZodString>;
|
|
867
909
|
commitMessage: z.ZodOptional<z.ZodString>;
|
|
868
910
|
commitRef: z.ZodOptional<z.ZodString>;
|
|
@@ -874,6 +916,10 @@ export declare const WorkerApiRunAttemptStartResponseBody: z.ZodIntersection<z.Z
|
|
|
874
916
|
pullRequestState: z.ZodOptional<z.ZodEnum<["open", "closed", "merged"]>>;
|
|
875
917
|
}, "strip", z.ZodTypeAny, {
|
|
876
918
|
dirty?: boolean | undefined;
|
|
919
|
+
source?: "trigger_github_app" | "github_actions" | "local" | undefined;
|
|
920
|
+
provider?: string | undefined;
|
|
921
|
+
ghUsername?: string | undefined;
|
|
922
|
+
ghUserAvatarUrl?: string | undefined;
|
|
877
923
|
commitAuthorName?: string | undefined;
|
|
878
924
|
commitMessage?: string | undefined;
|
|
879
925
|
commitRef?: string | undefined;
|
|
@@ -884,6 +930,10 @@ export declare const WorkerApiRunAttemptStartResponseBody: z.ZodIntersection<z.Z
|
|
|
884
930
|
pullRequestState?: "open" | "closed" | "merged" | undefined;
|
|
885
931
|
}, {
|
|
886
932
|
dirty?: boolean | undefined;
|
|
933
|
+
source?: "trigger_github_app" | "github_actions" | "local" | undefined;
|
|
934
|
+
provider?: string | undefined;
|
|
935
|
+
ghUsername?: string | undefined;
|
|
936
|
+
ghUserAvatarUrl?: string | undefined;
|
|
887
937
|
commitAuthorName?: string | undefined;
|
|
888
938
|
commitMessage?: string | undefined;
|
|
889
939
|
commitRef?: string | undefined;
|
|
@@ -901,6 +951,10 @@ export declare const WorkerApiRunAttemptStartResponseBody: z.ZodIntersection<z.Z
|
|
|
901
951
|
runtimeVersion: string;
|
|
902
952
|
git?: {
|
|
903
953
|
dirty?: boolean | undefined;
|
|
954
|
+
source?: "trigger_github_app" | "github_actions" | "local" | undefined;
|
|
955
|
+
provider?: string | undefined;
|
|
956
|
+
ghUsername?: string | undefined;
|
|
957
|
+
ghUserAvatarUrl?: string | undefined;
|
|
904
958
|
commitAuthorName?: string | undefined;
|
|
905
959
|
commitMessage?: string | undefined;
|
|
906
960
|
commitRef?: string | undefined;
|
|
@@ -918,6 +972,10 @@ export declare const WorkerApiRunAttemptStartResponseBody: z.ZodIntersection<z.Z
|
|
|
918
972
|
runtimeVersion: string;
|
|
919
973
|
git?: {
|
|
920
974
|
dirty?: boolean | undefined;
|
|
975
|
+
source?: "trigger_github_app" | "github_actions" | "local" | undefined;
|
|
976
|
+
provider?: string | undefined;
|
|
977
|
+
ghUsername?: string | undefined;
|
|
978
|
+
ghUserAvatarUrl?: string | undefined;
|
|
921
979
|
commitAuthorName?: string | undefined;
|
|
922
980
|
commitMessage?: string | undefined;
|
|
923
981
|
commitRef?: string | undefined;
|
|
@@ -1023,6 +1081,10 @@ export declare const WorkerApiRunAttemptStartResponseBody: z.ZodIntersection<z.Z
|
|
|
1023
1081
|
branchName?: string | undefined;
|
|
1024
1082
|
git?: {
|
|
1025
1083
|
dirty?: boolean | undefined;
|
|
1084
|
+
source?: "trigger_github_app" | "github_actions" | "local" | undefined;
|
|
1085
|
+
provider?: string | undefined;
|
|
1086
|
+
ghUsername?: string | undefined;
|
|
1087
|
+
ghUserAvatarUrl?: string | undefined;
|
|
1026
1088
|
commitAuthorName?: string | undefined;
|
|
1027
1089
|
commitMessage?: string | undefined;
|
|
1028
1090
|
commitRef?: string | undefined;
|
|
@@ -1090,6 +1152,10 @@ export declare const WorkerApiRunAttemptStartResponseBody: z.ZodIntersection<z.Z
|
|
|
1090
1152
|
runtimeVersion: string;
|
|
1091
1153
|
git?: {
|
|
1092
1154
|
dirty?: boolean | undefined;
|
|
1155
|
+
source?: "trigger_github_app" | "github_actions" | "local" | undefined;
|
|
1156
|
+
provider?: string | undefined;
|
|
1157
|
+
ghUsername?: string | undefined;
|
|
1158
|
+
ghUserAvatarUrl?: string | undefined;
|
|
1093
1159
|
commitAuthorName?: string | undefined;
|
|
1094
1160
|
commitMessage?: string | undefined;
|
|
1095
1161
|
commitRef?: string | undefined;
|
|
@@ -1118,6 +1184,10 @@ export declare const WorkerApiRunAttemptStartResponseBody: z.ZodIntersection<z.Z
|
|
|
1118
1184
|
branchName?: string | undefined;
|
|
1119
1185
|
git?: {
|
|
1120
1186
|
dirty?: boolean | undefined;
|
|
1187
|
+
source?: "trigger_github_app" | "github_actions" | "local" | undefined;
|
|
1188
|
+
provider?: string | undefined;
|
|
1189
|
+
ghUsername?: string | undefined;
|
|
1190
|
+
ghUserAvatarUrl?: string | undefined;
|
|
1121
1191
|
commitAuthorName?: string | undefined;
|
|
1122
1192
|
commitMessage?: string | undefined;
|
|
1123
1193
|
commitRef?: string | undefined;
|
|
@@ -1185,6 +1255,10 @@ export declare const WorkerApiRunAttemptStartResponseBody: z.ZodIntersection<z.Z
|
|
|
1185
1255
|
runtimeVersion: string;
|
|
1186
1256
|
git?: {
|
|
1187
1257
|
dirty?: boolean | undefined;
|
|
1258
|
+
source?: "trigger_github_app" | "github_actions" | "local" | undefined;
|
|
1259
|
+
provider?: string | undefined;
|
|
1260
|
+
ghUsername?: string | undefined;
|
|
1261
|
+
ghUserAvatarUrl?: string | undefined;
|
|
1188
1262
|
commitAuthorName?: string | undefined;
|
|
1189
1263
|
commitMessage?: string | undefined;
|
|
1190
1264
|
commitRef?: string | undefined;
|
|
@@ -1215,6 +1289,10 @@ export declare const WorkerApiRunAttemptStartResponseBody: z.ZodIntersection<z.Z
|
|
|
1215
1289
|
branchName?: string | undefined;
|
|
1216
1290
|
git?: {
|
|
1217
1291
|
dirty?: boolean | undefined;
|
|
1292
|
+
source?: "trigger_github_app" | "github_actions" | "local" | undefined;
|
|
1293
|
+
provider?: string | undefined;
|
|
1294
|
+
ghUsername?: string | undefined;
|
|
1295
|
+
ghUserAvatarUrl?: string | undefined;
|
|
1218
1296
|
commitAuthorName?: string | undefined;
|
|
1219
1297
|
commitMessage?: string | undefined;
|
|
1220
1298
|
commitRef?: string | undefined;
|
|
@@ -1282,6 +1360,10 @@ export declare const WorkerApiRunAttemptStartResponseBody: z.ZodIntersection<z.Z
|
|
|
1282
1360
|
runtimeVersion: string;
|
|
1283
1361
|
git?: {
|
|
1284
1362
|
dirty?: boolean | undefined;
|
|
1363
|
+
source?: "trigger_github_app" | "github_actions" | "local" | undefined;
|
|
1364
|
+
provider?: string | undefined;
|
|
1365
|
+
ghUsername?: string | undefined;
|
|
1366
|
+
ghUserAvatarUrl?: string | undefined;
|
|
1285
1367
|
commitAuthorName?: string | undefined;
|
|
1286
1368
|
commitMessage?: string | undefined;
|
|
1287
1369
|
commitRef?: string | undefined;
|
|
@@ -1312,6 +1394,10 @@ export declare const WorkerApiRunAttemptStartResponseBody: z.ZodIntersection<z.Z
|
|
|
1312
1394
|
branchName?: string | undefined;
|
|
1313
1395
|
git?: {
|
|
1314
1396
|
dirty?: boolean | undefined;
|
|
1397
|
+
source?: "trigger_github_app" | "github_actions" | "local" | undefined;
|
|
1398
|
+
provider?: string | undefined;
|
|
1399
|
+
ghUsername?: string | undefined;
|
|
1400
|
+
ghUserAvatarUrl?: string | undefined;
|
|
1315
1401
|
commitAuthorName?: string | undefined;
|
|
1316
1402
|
commitMessage?: string | undefined;
|
|
1317
1403
|
commitRef?: string | undefined;
|
|
@@ -1379,6 +1465,10 @@ export declare const WorkerApiRunAttemptStartResponseBody: z.ZodIntersection<z.Z
|
|
|
1379
1465
|
runtimeVersion: string;
|
|
1380
1466
|
git?: {
|
|
1381
1467
|
dirty?: boolean | undefined;
|
|
1468
|
+
source?: "trigger_github_app" | "github_actions" | "local" | undefined;
|
|
1469
|
+
provider?: string | undefined;
|
|
1470
|
+
ghUsername?: string | undefined;
|
|
1471
|
+
ghUserAvatarUrl?: string | undefined;
|
|
1382
1472
|
commitAuthorName?: string | undefined;
|
|
1383
1473
|
commitMessage?: string | undefined;
|
|
1384
1474
|
commitRef?: string | undefined;
|
|
@@ -3695,6 +3785,16 @@ export declare const WorkerApiDequeueFromVersionResponseBody: z.ZodArray<z.ZodOb
|
|
|
3695
3785
|
}, {
|
|
3696
3786
|
id: string;
|
|
3697
3787
|
}>;
|
|
3788
|
+
placementTags: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3789
|
+
key: z.ZodString;
|
|
3790
|
+
values: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3791
|
+
}, "strip", z.ZodTypeAny, {
|
|
3792
|
+
key: string;
|
|
3793
|
+
values?: string[] | undefined;
|
|
3794
|
+
}, {
|
|
3795
|
+
key: string;
|
|
3796
|
+
values?: string[] | undefined;
|
|
3797
|
+
}>, "many">>;
|
|
3698
3798
|
}, "strip", z.ZodTypeAny, {
|
|
3699
3799
|
version: "1";
|
|
3700
3800
|
environment: {
|
|
@@ -3771,6 +3871,10 @@ export declare const WorkerApiDequeueFromVersionResponseBody: z.ZodArray<z.ZodOb
|
|
|
3771
3871
|
reason?: string | null | undefined;
|
|
3772
3872
|
} | undefined;
|
|
3773
3873
|
image?: string | undefined;
|
|
3874
|
+
placementTags?: {
|
|
3875
|
+
key: string;
|
|
3876
|
+
values?: string[] | undefined;
|
|
3877
|
+
}[] | undefined;
|
|
3774
3878
|
}, {
|
|
3775
3879
|
version: "1";
|
|
3776
3880
|
environment: {
|
|
@@ -3847,6 +3951,10 @@ export declare const WorkerApiDequeueFromVersionResponseBody: z.ZodArray<z.ZodOb
|
|
|
3847
3951
|
reason?: string | null | undefined;
|
|
3848
3952
|
} | undefined;
|
|
3849
3953
|
image?: string | undefined;
|
|
3954
|
+
placementTags?: {
|
|
3955
|
+
key: string;
|
|
3956
|
+
values?: string[] | undefined;
|
|
3957
|
+
}[] | undefined;
|
|
3850
3958
|
}>, "many">;
|
|
3851
3959
|
export type WorkerApiDequeueFromVersionResponseBody = z.infer<typeof WorkerApiDequeueFromVersionResponseBody>;
|
|
3852
3960
|
export declare const DebugLogPropertiesValue: z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodArray<z.ZodOptional<z.ZodNullable<z.ZodString>>, "many">, z.ZodArray<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, "many">, z.ZodArray<z.ZodOptional<z.ZodNullable<z.ZodBoolean>>, "many">]>;
|
|
@@ -67,6 +67,10 @@ export declare class WorkloadHttpClient {
|
|
|
67
67
|
branchName?: string | undefined;
|
|
68
68
|
git?: {
|
|
69
69
|
dirty?: boolean | undefined;
|
|
70
|
+
source?: "trigger_github_app" | "github_actions" | "local" | undefined;
|
|
71
|
+
provider?: string | undefined;
|
|
72
|
+
ghUsername?: string | undefined;
|
|
73
|
+
ghUserAvatarUrl?: string | undefined;
|
|
70
74
|
commitAuthorName?: string | undefined;
|
|
71
75
|
commitMessage?: string | undefined;
|
|
72
76
|
commitRef?: string | undefined;
|
|
@@ -134,6 +138,10 @@ export declare class WorkloadHttpClient {
|
|
|
134
138
|
runtimeVersion: string;
|
|
135
139
|
git?: {
|
|
136
140
|
dirty?: boolean | undefined;
|
|
141
|
+
source?: "trigger_github_app" | "github_actions" | "local" | undefined;
|
|
142
|
+
provider?: string | undefined;
|
|
143
|
+
ghUsername?: string | undefined;
|
|
144
|
+
ghUserAvatarUrl?: string | undefined;
|
|
137
145
|
commitAuthorName?: string | undefined;
|
|
138
146
|
commitMessage?: string | undefined;
|
|
139
147
|
commitRef?: string | undefined;
|
|
@@ -353,6 +361,10 @@ export declare class WorkloadHttpClient {
|
|
|
353
361
|
reason?: string | null | undefined;
|
|
354
362
|
} | undefined;
|
|
355
363
|
image?: string | undefined;
|
|
364
|
+
placementTags?: {
|
|
365
|
+
key: string;
|
|
366
|
+
values?: string[] | undefined;
|
|
367
|
+
}[] | undefined;
|
|
356
368
|
}[]>>;
|
|
357
369
|
}
|
|
358
370
|
export {};
|
|
@@ -1882,6 +1882,10 @@ export declare const WorkloadRunAttemptStartResponseBody: z.ZodIntersection<z.Zo
|
|
|
1882
1882
|
type: z.ZodEnum<["PRODUCTION", "STAGING", "DEVELOPMENT", "PREVIEW"]>;
|
|
1883
1883
|
branchName: z.ZodOptional<z.ZodString>;
|
|
1884
1884
|
git: z.ZodOptional<z.ZodObject<{
|
|
1885
|
+
provider: z.ZodOptional<z.ZodString>;
|
|
1886
|
+
source: z.ZodOptional<z.ZodEnum<["trigger_github_app", "github_actions", "local"]>>;
|
|
1887
|
+
ghUsername: z.ZodOptional<z.ZodString>;
|
|
1888
|
+
ghUserAvatarUrl: z.ZodOptional<z.ZodString>;
|
|
1885
1889
|
commitAuthorName: z.ZodOptional<z.ZodString>;
|
|
1886
1890
|
commitMessage: z.ZodOptional<z.ZodString>;
|
|
1887
1891
|
commitRef: z.ZodOptional<z.ZodString>;
|
|
@@ -1893,6 +1897,10 @@ export declare const WorkloadRunAttemptStartResponseBody: z.ZodIntersection<z.Zo
|
|
|
1893
1897
|
pullRequestState: z.ZodOptional<z.ZodEnum<["open", "closed", "merged"]>>;
|
|
1894
1898
|
}, "strip", z.ZodTypeAny, {
|
|
1895
1899
|
dirty?: boolean | undefined;
|
|
1900
|
+
source?: "trigger_github_app" | "github_actions" | "local" | undefined;
|
|
1901
|
+
provider?: string | undefined;
|
|
1902
|
+
ghUsername?: string | undefined;
|
|
1903
|
+
ghUserAvatarUrl?: string | undefined;
|
|
1896
1904
|
commitAuthorName?: string | undefined;
|
|
1897
1905
|
commitMessage?: string | undefined;
|
|
1898
1906
|
commitRef?: string | undefined;
|
|
@@ -1903,6 +1911,10 @@ export declare const WorkloadRunAttemptStartResponseBody: z.ZodIntersection<z.Zo
|
|
|
1903
1911
|
pullRequestState?: "open" | "closed" | "merged" | undefined;
|
|
1904
1912
|
}, {
|
|
1905
1913
|
dirty?: boolean | undefined;
|
|
1914
|
+
source?: "trigger_github_app" | "github_actions" | "local" | undefined;
|
|
1915
|
+
provider?: string | undefined;
|
|
1916
|
+
ghUsername?: string | undefined;
|
|
1917
|
+
ghUserAvatarUrl?: string | undefined;
|
|
1906
1918
|
commitAuthorName?: string | undefined;
|
|
1907
1919
|
commitMessage?: string | undefined;
|
|
1908
1920
|
commitRef?: string | undefined;
|
|
@@ -1919,6 +1931,10 @@ export declare const WorkloadRunAttemptStartResponseBody: z.ZodIntersection<z.Zo
|
|
|
1919
1931
|
branchName?: string | undefined;
|
|
1920
1932
|
git?: {
|
|
1921
1933
|
dirty?: boolean | undefined;
|
|
1934
|
+
source?: "trigger_github_app" | "github_actions" | "local" | undefined;
|
|
1935
|
+
provider?: string | undefined;
|
|
1936
|
+
ghUsername?: string | undefined;
|
|
1937
|
+
ghUserAvatarUrl?: string | undefined;
|
|
1922
1938
|
commitAuthorName?: string | undefined;
|
|
1923
1939
|
commitMessage?: string | undefined;
|
|
1924
1940
|
commitRef?: string | undefined;
|
|
@@ -1935,6 +1951,10 @@ export declare const WorkloadRunAttemptStartResponseBody: z.ZodIntersection<z.Zo
|
|
|
1935
1951
|
branchName?: string | undefined;
|
|
1936
1952
|
git?: {
|
|
1937
1953
|
dirty?: boolean | undefined;
|
|
1954
|
+
source?: "trigger_github_app" | "github_actions" | "local" | undefined;
|
|
1955
|
+
provider?: string | undefined;
|
|
1956
|
+
ghUsername?: string | undefined;
|
|
1957
|
+
ghUserAvatarUrl?: string | undefined;
|
|
1938
1958
|
commitAuthorName?: string | undefined;
|
|
1939
1959
|
commitMessage?: string | undefined;
|
|
1940
1960
|
commitRef?: string | undefined;
|
|
@@ -2004,6 +2024,10 @@ export declare const WorkloadRunAttemptStartResponseBody: z.ZodIntersection<z.Zo
|
|
|
2004
2024
|
runtime: z.ZodString;
|
|
2005
2025
|
runtimeVersion: z.ZodString;
|
|
2006
2026
|
git: z.ZodOptional<z.ZodObject<{
|
|
2027
|
+
provider: z.ZodOptional<z.ZodString>;
|
|
2028
|
+
source: z.ZodOptional<z.ZodEnum<["trigger_github_app", "github_actions", "local"]>>;
|
|
2029
|
+
ghUsername: z.ZodOptional<z.ZodString>;
|
|
2030
|
+
ghUserAvatarUrl: z.ZodOptional<z.ZodString>;
|
|
2007
2031
|
commitAuthorName: z.ZodOptional<z.ZodString>;
|
|
2008
2032
|
commitMessage: z.ZodOptional<z.ZodString>;
|
|
2009
2033
|
commitRef: z.ZodOptional<z.ZodString>;
|
|
@@ -2015,6 +2039,10 @@ export declare const WorkloadRunAttemptStartResponseBody: z.ZodIntersection<z.Zo
|
|
|
2015
2039
|
pullRequestState: z.ZodOptional<z.ZodEnum<["open", "closed", "merged"]>>;
|
|
2016
2040
|
}, "strip", z.ZodTypeAny, {
|
|
2017
2041
|
dirty?: boolean | undefined;
|
|
2042
|
+
source?: "trigger_github_app" | "github_actions" | "local" | undefined;
|
|
2043
|
+
provider?: string | undefined;
|
|
2044
|
+
ghUsername?: string | undefined;
|
|
2045
|
+
ghUserAvatarUrl?: string | undefined;
|
|
2018
2046
|
commitAuthorName?: string | undefined;
|
|
2019
2047
|
commitMessage?: string | undefined;
|
|
2020
2048
|
commitRef?: string | undefined;
|
|
@@ -2025,6 +2053,10 @@ export declare const WorkloadRunAttemptStartResponseBody: z.ZodIntersection<z.Zo
|
|
|
2025
2053
|
pullRequestState?: "open" | "closed" | "merged" | undefined;
|
|
2026
2054
|
}, {
|
|
2027
2055
|
dirty?: boolean | undefined;
|
|
2056
|
+
source?: "trigger_github_app" | "github_actions" | "local" | undefined;
|
|
2057
|
+
provider?: string | undefined;
|
|
2058
|
+
ghUsername?: string | undefined;
|
|
2059
|
+
ghUserAvatarUrl?: string | undefined;
|
|
2028
2060
|
commitAuthorName?: string | undefined;
|
|
2029
2061
|
commitMessage?: string | undefined;
|
|
2030
2062
|
commitRef?: string | undefined;
|
|
@@ -2042,6 +2074,10 @@ export declare const WorkloadRunAttemptStartResponseBody: z.ZodIntersection<z.Zo
|
|
|
2042
2074
|
runtimeVersion: string;
|
|
2043
2075
|
git?: {
|
|
2044
2076
|
dirty?: boolean | undefined;
|
|
2077
|
+
source?: "trigger_github_app" | "github_actions" | "local" | undefined;
|
|
2078
|
+
provider?: string | undefined;
|
|
2079
|
+
ghUsername?: string | undefined;
|
|
2080
|
+
ghUserAvatarUrl?: string | undefined;
|
|
2045
2081
|
commitAuthorName?: string | undefined;
|
|
2046
2082
|
commitMessage?: string | undefined;
|
|
2047
2083
|
commitRef?: string | undefined;
|
|
@@ -2059,6 +2095,10 @@ export declare const WorkloadRunAttemptStartResponseBody: z.ZodIntersection<z.Zo
|
|
|
2059
2095
|
runtimeVersion: string;
|
|
2060
2096
|
git?: {
|
|
2061
2097
|
dirty?: boolean | undefined;
|
|
2098
|
+
source?: "trigger_github_app" | "github_actions" | "local" | undefined;
|
|
2099
|
+
provider?: string | undefined;
|
|
2100
|
+
ghUsername?: string | undefined;
|
|
2101
|
+
ghUserAvatarUrl?: string | undefined;
|
|
2062
2102
|
commitAuthorName?: string | undefined;
|
|
2063
2103
|
commitMessage?: string | undefined;
|
|
2064
2104
|
commitRef?: string | undefined;
|
|
@@ -2164,6 +2204,10 @@ export declare const WorkloadRunAttemptStartResponseBody: z.ZodIntersection<z.Zo
|
|
|
2164
2204
|
branchName?: string | undefined;
|
|
2165
2205
|
git?: {
|
|
2166
2206
|
dirty?: boolean | undefined;
|
|
2207
|
+
source?: "trigger_github_app" | "github_actions" | "local" | undefined;
|
|
2208
|
+
provider?: string | undefined;
|
|
2209
|
+
ghUsername?: string | undefined;
|
|
2210
|
+
ghUserAvatarUrl?: string | undefined;
|
|
2167
2211
|
commitAuthorName?: string | undefined;
|
|
2168
2212
|
commitMessage?: string | undefined;
|
|
2169
2213
|
commitRef?: string | undefined;
|
|
@@ -2231,6 +2275,10 @@ export declare const WorkloadRunAttemptStartResponseBody: z.ZodIntersection<z.Zo
|
|
|
2231
2275
|
runtimeVersion: string;
|
|
2232
2276
|
git?: {
|
|
2233
2277
|
dirty?: boolean | undefined;
|
|
2278
|
+
source?: "trigger_github_app" | "github_actions" | "local" | undefined;
|
|
2279
|
+
provider?: string | undefined;
|
|
2280
|
+
ghUsername?: string | undefined;
|
|
2281
|
+
ghUserAvatarUrl?: string | undefined;
|
|
2234
2282
|
commitAuthorName?: string | undefined;
|
|
2235
2283
|
commitMessage?: string | undefined;
|
|
2236
2284
|
commitRef?: string | undefined;
|
|
@@ -2259,6 +2307,10 @@ export declare const WorkloadRunAttemptStartResponseBody: z.ZodIntersection<z.Zo
|
|
|
2259
2307
|
branchName?: string | undefined;
|
|
2260
2308
|
git?: {
|
|
2261
2309
|
dirty?: boolean | undefined;
|
|
2310
|
+
source?: "trigger_github_app" | "github_actions" | "local" | undefined;
|
|
2311
|
+
provider?: string | undefined;
|
|
2312
|
+
ghUsername?: string | undefined;
|
|
2313
|
+
ghUserAvatarUrl?: string | undefined;
|
|
2262
2314
|
commitAuthorName?: string | undefined;
|
|
2263
2315
|
commitMessage?: string | undefined;
|
|
2264
2316
|
commitRef?: string | undefined;
|
|
@@ -2326,6 +2378,10 @@ export declare const WorkloadRunAttemptStartResponseBody: z.ZodIntersection<z.Zo
|
|
|
2326
2378
|
runtimeVersion: string;
|
|
2327
2379
|
git?: {
|
|
2328
2380
|
dirty?: boolean | undefined;
|
|
2381
|
+
source?: "trigger_github_app" | "github_actions" | "local" | undefined;
|
|
2382
|
+
provider?: string | undefined;
|
|
2383
|
+
ghUsername?: string | undefined;
|
|
2384
|
+
ghUserAvatarUrl?: string | undefined;
|
|
2329
2385
|
commitAuthorName?: string | undefined;
|
|
2330
2386
|
commitMessage?: string | undefined;
|
|
2331
2387
|
commitRef?: string | undefined;
|
|
@@ -2356,6 +2412,10 @@ export declare const WorkloadRunAttemptStartResponseBody: z.ZodIntersection<z.Zo
|
|
|
2356
2412
|
branchName?: string | undefined;
|
|
2357
2413
|
git?: {
|
|
2358
2414
|
dirty?: boolean | undefined;
|
|
2415
|
+
source?: "trigger_github_app" | "github_actions" | "local" | undefined;
|
|
2416
|
+
provider?: string | undefined;
|
|
2417
|
+
ghUsername?: string | undefined;
|
|
2418
|
+
ghUserAvatarUrl?: string | undefined;
|
|
2359
2419
|
commitAuthorName?: string | undefined;
|
|
2360
2420
|
commitMessage?: string | undefined;
|
|
2361
2421
|
commitRef?: string | undefined;
|
|
@@ -2423,6 +2483,10 @@ export declare const WorkloadRunAttemptStartResponseBody: z.ZodIntersection<z.Zo
|
|
|
2423
2483
|
runtimeVersion: string;
|
|
2424
2484
|
git?: {
|
|
2425
2485
|
dirty?: boolean | undefined;
|
|
2486
|
+
source?: "trigger_github_app" | "github_actions" | "local" | undefined;
|
|
2487
|
+
provider?: string | undefined;
|
|
2488
|
+
ghUsername?: string | undefined;
|
|
2489
|
+
ghUserAvatarUrl?: string | undefined;
|
|
2426
2490
|
commitAuthorName?: string | undefined;
|
|
2427
2491
|
commitMessage?: string | undefined;
|
|
2428
2492
|
commitRef?: string | undefined;
|
|
@@ -2453,6 +2517,10 @@ export declare const WorkloadRunAttemptStartResponseBody: z.ZodIntersection<z.Zo
|
|
|
2453
2517
|
branchName?: string | undefined;
|
|
2454
2518
|
git?: {
|
|
2455
2519
|
dirty?: boolean | undefined;
|
|
2520
|
+
source?: "trigger_github_app" | "github_actions" | "local" | undefined;
|
|
2521
|
+
provider?: string | undefined;
|
|
2522
|
+
ghUsername?: string | undefined;
|
|
2523
|
+
ghUserAvatarUrl?: string | undefined;
|
|
2456
2524
|
commitAuthorName?: string | undefined;
|
|
2457
2525
|
commitMessage?: string | undefined;
|
|
2458
2526
|
commitRef?: string | undefined;
|
|
@@ -2520,6 +2588,10 @@ export declare const WorkloadRunAttemptStartResponseBody: z.ZodIntersection<z.Zo
|
|
|
2520
2588
|
runtimeVersion: string;
|
|
2521
2589
|
git?: {
|
|
2522
2590
|
dirty?: boolean | undefined;
|
|
2591
|
+
source?: "trigger_github_app" | "github_actions" | "local" | undefined;
|
|
2592
|
+
provider?: string | undefined;
|
|
2593
|
+
ghUsername?: string | undefined;
|
|
2594
|
+
ghUserAvatarUrl?: string | undefined;
|
|
2523
2595
|
commitAuthorName?: string | undefined;
|
|
2524
2596
|
commitMessage?: string | undefined;
|
|
2525
2597
|
commitRef?: string | undefined;
|
|
@@ -3169,6 +3241,16 @@ export declare const WorkloadDequeueFromVersionResponseBody: z.ZodArray<z.ZodObj
|
|
|
3169
3241
|
}, {
|
|
3170
3242
|
id: string;
|
|
3171
3243
|
}>;
|
|
3244
|
+
placementTags: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3245
|
+
key: z.ZodString;
|
|
3246
|
+
values: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3247
|
+
}, "strip", z.ZodTypeAny, {
|
|
3248
|
+
key: string;
|
|
3249
|
+
values?: string[] | undefined;
|
|
3250
|
+
}, {
|
|
3251
|
+
key: string;
|
|
3252
|
+
values?: string[] | undefined;
|
|
3253
|
+
}>, "many">>;
|
|
3172
3254
|
}, "strip", z.ZodTypeAny, {
|
|
3173
3255
|
version: "1";
|
|
3174
3256
|
environment: {
|
|
@@ -3245,6 +3327,10 @@ export declare const WorkloadDequeueFromVersionResponseBody: z.ZodArray<z.ZodObj
|
|
|
3245
3327
|
reason?: string | null | undefined;
|
|
3246
3328
|
} | undefined;
|
|
3247
3329
|
image?: string | undefined;
|
|
3330
|
+
placementTags?: {
|
|
3331
|
+
key: string;
|
|
3332
|
+
values?: string[] | undefined;
|
|
3333
|
+
}[] | undefined;
|
|
3248
3334
|
}, {
|
|
3249
3335
|
version: "1";
|
|
3250
3336
|
environment: {
|
|
@@ -3321,6 +3407,10 @@ export declare const WorkloadDequeueFromVersionResponseBody: z.ZodArray<z.ZodObj
|
|
|
3321
3407
|
reason?: string | null | undefined;
|
|
3322
3408
|
} | undefined;
|
|
3323
3409
|
image?: string | undefined;
|
|
3410
|
+
placementTags?: {
|
|
3411
|
+
key: string;
|
|
3412
|
+
values?: string[] | undefined;
|
|
3413
|
+
}[] | undefined;
|
|
3324
3414
|
}>, "many">;
|
|
3325
3415
|
export type WorkloadDequeueFromVersionResponseBody = z.infer<typeof WorkloadDequeueFromVersionResponseBody>;
|
|
3326
3416
|
export declare const WorkloadRunSnapshotsSinceResponseBody: z.ZodObject<{
|