@trigger.dev/core 4.0.0-v4-beta.27 → 4.0.0
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 +2 -0
- package/dist/commonjs/logger.js.map +1 -1
- package/dist/commonjs/v3/config.d.ts +2 -2
- 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 +66 -0
- 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 +2 -0
- package/dist/esm/logger.js.map +1 -1
- package/dist/esm/v3/config.d.ts +2 -2
- 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 +66 -0
- 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
|
@@ -707,6 +707,10 @@ export declare const TaskRun: z.ZodObject<{
|
|
|
707
707
|
}>;
|
|
708
708
|
export type TaskRun = z.infer<typeof TaskRun>;
|
|
709
709
|
export declare const GitMeta: z.ZodObject<{
|
|
710
|
+
provider: z.ZodOptional<z.ZodString>;
|
|
711
|
+
source: z.ZodOptional<z.ZodEnum<["trigger_github_app", "github_actions", "local"]>>;
|
|
712
|
+
ghUsername: z.ZodOptional<z.ZodString>;
|
|
713
|
+
ghUserAvatarUrl: z.ZodOptional<z.ZodString>;
|
|
710
714
|
commitAuthorName: z.ZodOptional<z.ZodString>;
|
|
711
715
|
commitMessage: z.ZodOptional<z.ZodString>;
|
|
712
716
|
commitRef: z.ZodOptional<z.ZodString>;
|
|
@@ -718,6 +722,10 @@ export declare const GitMeta: z.ZodObject<{
|
|
|
718
722
|
pullRequestState: z.ZodOptional<z.ZodEnum<["open", "closed", "merged"]>>;
|
|
719
723
|
}, "strip", z.ZodTypeAny, {
|
|
720
724
|
dirty?: boolean | undefined;
|
|
725
|
+
source?: "trigger_github_app" | "github_actions" | "local" | undefined;
|
|
726
|
+
provider?: string | undefined;
|
|
727
|
+
ghUsername?: string | undefined;
|
|
728
|
+
ghUserAvatarUrl?: string | undefined;
|
|
721
729
|
commitAuthorName?: string | undefined;
|
|
722
730
|
commitMessage?: string | undefined;
|
|
723
731
|
commitRef?: string | undefined;
|
|
@@ -728,6 +736,10 @@ export declare const GitMeta: z.ZodObject<{
|
|
|
728
736
|
pullRequestState?: "open" | "closed" | "merged" | undefined;
|
|
729
737
|
}, {
|
|
730
738
|
dirty?: boolean | undefined;
|
|
739
|
+
source?: "trigger_github_app" | "github_actions" | "local" | undefined;
|
|
740
|
+
provider?: string | undefined;
|
|
741
|
+
ghUsername?: string | undefined;
|
|
742
|
+
ghUserAvatarUrl?: string | undefined;
|
|
731
743
|
commitAuthorName?: string | undefined;
|
|
732
744
|
commitMessage?: string | undefined;
|
|
733
745
|
commitRef?: string | undefined;
|
|
@@ -766,6 +778,10 @@ export declare const TaskRunExecutionEnvironment: z.ZodObject<{
|
|
|
766
778
|
type: z.ZodEnum<["PRODUCTION", "STAGING", "DEVELOPMENT", "PREVIEW"]>;
|
|
767
779
|
branchName: z.ZodOptional<z.ZodString>;
|
|
768
780
|
git: z.ZodOptional<z.ZodObject<{
|
|
781
|
+
provider: z.ZodOptional<z.ZodString>;
|
|
782
|
+
source: z.ZodOptional<z.ZodEnum<["trigger_github_app", "github_actions", "local"]>>;
|
|
783
|
+
ghUsername: z.ZodOptional<z.ZodString>;
|
|
784
|
+
ghUserAvatarUrl: z.ZodOptional<z.ZodString>;
|
|
769
785
|
commitAuthorName: z.ZodOptional<z.ZodString>;
|
|
770
786
|
commitMessage: z.ZodOptional<z.ZodString>;
|
|
771
787
|
commitRef: z.ZodOptional<z.ZodString>;
|
|
@@ -777,6 +793,10 @@ export declare const TaskRunExecutionEnvironment: z.ZodObject<{
|
|
|
777
793
|
pullRequestState: z.ZodOptional<z.ZodEnum<["open", "closed", "merged"]>>;
|
|
778
794
|
}, "strip", z.ZodTypeAny, {
|
|
779
795
|
dirty?: boolean | undefined;
|
|
796
|
+
source?: "trigger_github_app" | "github_actions" | "local" | undefined;
|
|
797
|
+
provider?: string | undefined;
|
|
798
|
+
ghUsername?: string | undefined;
|
|
799
|
+
ghUserAvatarUrl?: string | undefined;
|
|
780
800
|
commitAuthorName?: string | undefined;
|
|
781
801
|
commitMessage?: string | undefined;
|
|
782
802
|
commitRef?: string | undefined;
|
|
@@ -787,6 +807,10 @@ export declare const TaskRunExecutionEnvironment: z.ZodObject<{
|
|
|
787
807
|
pullRequestState?: "open" | "closed" | "merged" | undefined;
|
|
788
808
|
}, {
|
|
789
809
|
dirty?: boolean | undefined;
|
|
810
|
+
source?: "trigger_github_app" | "github_actions" | "local" | undefined;
|
|
811
|
+
provider?: string | undefined;
|
|
812
|
+
ghUsername?: string | undefined;
|
|
813
|
+
ghUserAvatarUrl?: string | undefined;
|
|
790
814
|
commitAuthorName?: string | undefined;
|
|
791
815
|
commitMessage?: string | undefined;
|
|
792
816
|
commitRef?: string | undefined;
|
|
@@ -803,6 +827,10 @@ export declare const TaskRunExecutionEnvironment: z.ZodObject<{
|
|
|
803
827
|
branchName?: string | undefined;
|
|
804
828
|
git?: {
|
|
805
829
|
dirty?: boolean | undefined;
|
|
830
|
+
source?: "trigger_github_app" | "github_actions" | "local" | undefined;
|
|
831
|
+
provider?: string | undefined;
|
|
832
|
+
ghUsername?: string | undefined;
|
|
833
|
+
ghUserAvatarUrl?: string | undefined;
|
|
806
834
|
commitAuthorName?: string | undefined;
|
|
807
835
|
commitMessage?: string | undefined;
|
|
808
836
|
commitRef?: string | undefined;
|
|
@@ -819,6 +847,10 @@ export declare const TaskRunExecutionEnvironment: z.ZodObject<{
|
|
|
819
847
|
branchName?: string | undefined;
|
|
820
848
|
git?: {
|
|
821
849
|
dirty?: boolean | undefined;
|
|
850
|
+
source?: "trigger_github_app" | "github_actions" | "local" | undefined;
|
|
851
|
+
provider?: string | undefined;
|
|
852
|
+
ghUsername?: string | undefined;
|
|
853
|
+
ghUserAvatarUrl?: string | undefined;
|
|
822
854
|
commitAuthorName?: string | undefined;
|
|
823
855
|
commitMessage?: string | undefined;
|
|
824
856
|
commitRef?: string | undefined;
|
|
@@ -886,6 +918,10 @@ export declare const TaskRunExecutionDeployment: z.ZodObject<{
|
|
|
886
918
|
runtime: z.ZodString;
|
|
887
919
|
runtimeVersion: z.ZodString;
|
|
888
920
|
git: z.ZodOptional<z.ZodObject<{
|
|
921
|
+
provider: z.ZodOptional<z.ZodString>;
|
|
922
|
+
source: z.ZodOptional<z.ZodEnum<["trigger_github_app", "github_actions", "local"]>>;
|
|
923
|
+
ghUsername: z.ZodOptional<z.ZodString>;
|
|
924
|
+
ghUserAvatarUrl: z.ZodOptional<z.ZodString>;
|
|
889
925
|
commitAuthorName: z.ZodOptional<z.ZodString>;
|
|
890
926
|
commitMessage: z.ZodOptional<z.ZodString>;
|
|
891
927
|
commitRef: z.ZodOptional<z.ZodString>;
|
|
@@ -897,6 +933,10 @@ export declare const TaskRunExecutionDeployment: z.ZodObject<{
|
|
|
897
933
|
pullRequestState: z.ZodOptional<z.ZodEnum<["open", "closed", "merged"]>>;
|
|
898
934
|
}, "strip", z.ZodTypeAny, {
|
|
899
935
|
dirty?: boolean | undefined;
|
|
936
|
+
source?: "trigger_github_app" | "github_actions" | "local" | undefined;
|
|
937
|
+
provider?: string | undefined;
|
|
938
|
+
ghUsername?: string | undefined;
|
|
939
|
+
ghUserAvatarUrl?: string | undefined;
|
|
900
940
|
commitAuthorName?: string | undefined;
|
|
901
941
|
commitMessage?: string | undefined;
|
|
902
942
|
commitRef?: string | undefined;
|
|
@@ -907,6 +947,10 @@ export declare const TaskRunExecutionDeployment: z.ZodObject<{
|
|
|
907
947
|
pullRequestState?: "open" | "closed" | "merged" | undefined;
|
|
908
948
|
}, {
|
|
909
949
|
dirty?: boolean | undefined;
|
|
950
|
+
source?: "trigger_github_app" | "github_actions" | "local" | undefined;
|
|
951
|
+
provider?: string | undefined;
|
|
952
|
+
ghUsername?: string | undefined;
|
|
953
|
+
ghUserAvatarUrl?: string | undefined;
|
|
910
954
|
commitAuthorName?: string | undefined;
|
|
911
955
|
commitMessage?: string | undefined;
|
|
912
956
|
commitRef?: string | undefined;
|
|
@@ -924,6 +968,10 @@ export declare const TaskRunExecutionDeployment: z.ZodObject<{
|
|
|
924
968
|
runtimeVersion: string;
|
|
925
969
|
git?: {
|
|
926
970
|
dirty?: boolean | undefined;
|
|
971
|
+
source?: "trigger_github_app" | "github_actions" | "local" | undefined;
|
|
972
|
+
provider?: string | undefined;
|
|
973
|
+
ghUsername?: string | undefined;
|
|
974
|
+
ghUserAvatarUrl?: string | undefined;
|
|
927
975
|
commitAuthorName?: string | undefined;
|
|
928
976
|
commitMessage?: string | undefined;
|
|
929
977
|
commitRef?: string | undefined;
|
|
@@ -941,6 +989,10 @@ export declare const TaskRunExecutionDeployment: z.ZodObject<{
|
|
|
941
989
|
runtimeVersion: string;
|
|
942
990
|
git?: {
|
|
943
991
|
dirty?: boolean | undefined;
|
|
992
|
+
source?: "trigger_github_app" | "github_actions" | "local" | undefined;
|
|
993
|
+
provider?: string | undefined;
|
|
994
|
+
ghUsername?: string | undefined;
|
|
995
|
+
ghUserAvatarUrl?: string | undefined;
|
|
944
996
|
commitAuthorName?: string | undefined;
|
|
945
997
|
commitMessage?: string | undefined;
|
|
946
998
|
commitRef?: string | undefined;
|
|
@@ -979,6 +1031,10 @@ export declare const StaticTaskRunExecution: z.ZodObject<{
|
|
|
979
1031
|
type: z.ZodEnum<["PRODUCTION", "STAGING", "DEVELOPMENT", "PREVIEW"]>;
|
|
980
1032
|
branchName: z.ZodOptional<z.ZodString>;
|
|
981
1033
|
git: z.ZodOptional<z.ZodObject<{
|
|
1034
|
+
provider: z.ZodOptional<z.ZodString>;
|
|
1035
|
+
source: z.ZodOptional<z.ZodEnum<["trigger_github_app", "github_actions", "local"]>>;
|
|
1036
|
+
ghUsername: z.ZodOptional<z.ZodString>;
|
|
1037
|
+
ghUserAvatarUrl: z.ZodOptional<z.ZodString>;
|
|
982
1038
|
commitAuthorName: z.ZodOptional<z.ZodString>;
|
|
983
1039
|
commitMessage: z.ZodOptional<z.ZodString>;
|
|
984
1040
|
commitRef: z.ZodOptional<z.ZodString>;
|
|
@@ -990,6 +1046,10 @@ export declare const StaticTaskRunExecution: z.ZodObject<{
|
|
|
990
1046
|
pullRequestState: z.ZodOptional<z.ZodEnum<["open", "closed", "merged"]>>;
|
|
991
1047
|
}, "strip", z.ZodTypeAny, {
|
|
992
1048
|
dirty?: boolean | undefined;
|
|
1049
|
+
source?: "trigger_github_app" | "github_actions" | "local" | undefined;
|
|
1050
|
+
provider?: string | undefined;
|
|
1051
|
+
ghUsername?: string | undefined;
|
|
1052
|
+
ghUserAvatarUrl?: string | undefined;
|
|
993
1053
|
commitAuthorName?: string | undefined;
|
|
994
1054
|
commitMessage?: string | undefined;
|
|
995
1055
|
commitRef?: string | undefined;
|
|
@@ -1000,6 +1060,10 @@ export declare const StaticTaskRunExecution: z.ZodObject<{
|
|
|
1000
1060
|
pullRequestState?: "open" | "closed" | "merged" | undefined;
|
|
1001
1061
|
}, {
|
|
1002
1062
|
dirty?: boolean | undefined;
|
|
1063
|
+
source?: "trigger_github_app" | "github_actions" | "local" | undefined;
|
|
1064
|
+
provider?: string | undefined;
|
|
1065
|
+
ghUsername?: string | undefined;
|
|
1066
|
+
ghUserAvatarUrl?: string | undefined;
|
|
1003
1067
|
commitAuthorName?: string | undefined;
|
|
1004
1068
|
commitMessage?: string | undefined;
|
|
1005
1069
|
commitRef?: string | undefined;
|
|
@@ -1016,6 +1080,10 @@ export declare const StaticTaskRunExecution: z.ZodObject<{
|
|
|
1016
1080
|
branchName?: string | undefined;
|
|
1017
1081
|
git?: {
|
|
1018
1082
|
dirty?: boolean | undefined;
|
|
1083
|
+
source?: "trigger_github_app" | "github_actions" | "local" | undefined;
|
|
1084
|
+
provider?: string | undefined;
|
|
1085
|
+
ghUsername?: string | undefined;
|
|
1086
|
+
ghUserAvatarUrl?: string | undefined;
|
|
1019
1087
|
commitAuthorName?: string | undefined;
|
|
1020
1088
|
commitMessage?: string | undefined;
|
|
1021
1089
|
commitRef?: string | undefined;
|
|
@@ -1032,6 +1100,10 @@ export declare const StaticTaskRunExecution: z.ZodObject<{
|
|
|
1032
1100
|
branchName?: string | undefined;
|
|
1033
1101
|
git?: {
|
|
1034
1102
|
dirty?: boolean | undefined;
|
|
1103
|
+
source?: "trigger_github_app" | "github_actions" | "local" | undefined;
|
|
1104
|
+
provider?: string | undefined;
|
|
1105
|
+
ghUsername?: string | undefined;
|
|
1106
|
+
ghUserAvatarUrl?: string | undefined;
|
|
1035
1107
|
commitAuthorName?: string | undefined;
|
|
1036
1108
|
commitMessage?: string | undefined;
|
|
1037
1109
|
commitRef?: string | undefined;
|
|
@@ -1103,6 +1175,10 @@ export declare const StaticTaskRunExecution: z.ZodObject<{
|
|
|
1103
1175
|
runtime: z.ZodString;
|
|
1104
1176
|
runtimeVersion: z.ZodString;
|
|
1105
1177
|
git: z.ZodOptional<z.ZodObject<{
|
|
1178
|
+
provider: z.ZodOptional<z.ZodString>;
|
|
1179
|
+
source: z.ZodOptional<z.ZodEnum<["trigger_github_app", "github_actions", "local"]>>;
|
|
1180
|
+
ghUsername: z.ZodOptional<z.ZodString>;
|
|
1181
|
+
ghUserAvatarUrl: z.ZodOptional<z.ZodString>;
|
|
1106
1182
|
commitAuthorName: z.ZodOptional<z.ZodString>;
|
|
1107
1183
|
commitMessage: z.ZodOptional<z.ZodString>;
|
|
1108
1184
|
commitRef: z.ZodOptional<z.ZodString>;
|
|
@@ -1114,6 +1190,10 @@ export declare const StaticTaskRunExecution: z.ZodObject<{
|
|
|
1114
1190
|
pullRequestState: z.ZodOptional<z.ZodEnum<["open", "closed", "merged"]>>;
|
|
1115
1191
|
}, "strip", z.ZodTypeAny, {
|
|
1116
1192
|
dirty?: boolean | undefined;
|
|
1193
|
+
source?: "trigger_github_app" | "github_actions" | "local" | undefined;
|
|
1194
|
+
provider?: string | undefined;
|
|
1195
|
+
ghUsername?: string | undefined;
|
|
1196
|
+
ghUserAvatarUrl?: string | undefined;
|
|
1117
1197
|
commitAuthorName?: string | undefined;
|
|
1118
1198
|
commitMessage?: string | undefined;
|
|
1119
1199
|
commitRef?: string | undefined;
|
|
@@ -1124,6 +1204,10 @@ export declare const StaticTaskRunExecution: z.ZodObject<{
|
|
|
1124
1204
|
pullRequestState?: "open" | "closed" | "merged" | undefined;
|
|
1125
1205
|
}, {
|
|
1126
1206
|
dirty?: boolean | undefined;
|
|
1207
|
+
source?: "trigger_github_app" | "github_actions" | "local" | undefined;
|
|
1208
|
+
provider?: string | undefined;
|
|
1209
|
+
ghUsername?: string | undefined;
|
|
1210
|
+
ghUserAvatarUrl?: string | undefined;
|
|
1127
1211
|
commitAuthorName?: string | undefined;
|
|
1128
1212
|
commitMessage?: string | undefined;
|
|
1129
1213
|
commitRef?: string | undefined;
|
|
@@ -1141,6 +1225,10 @@ export declare const StaticTaskRunExecution: z.ZodObject<{
|
|
|
1141
1225
|
runtimeVersion: string;
|
|
1142
1226
|
git?: {
|
|
1143
1227
|
dirty?: boolean | undefined;
|
|
1228
|
+
source?: "trigger_github_app" | "github_actions" | "local" | undefined;
|
|
1229
|
+
provider?: string | undefined;
|
|
1230
|
+
ghUsername?: string | undefined;
|
|
1231
|
+
ghUserAvatarUrl?: string | undefined;
|
|
1144
1232
|
commitAuthorName?: string | undefined;
|
|
1145
1233
|
commitMessage?: string | undefined;
|
|
1146
1234
|
commitRef?: string | undefined;
|
|
@@ -1158,6 +1246,10 @@ export declare const StaticTaskRunExecution: z.ZodObject<{
|
|
|
1158
1246
|
runtimeVersion: string;
|
|
1159
1247
|
git?: {
|
|
1160
1248
|
dirty?: boolean | undefined;
|
|
1249
|
+
source?: "trigger_github_app" | "github_actions" | "local" | undefined;
|
|
1250
|
+
provider?: string | undefined;
|
|
1251
|
+
ghUsername?: string | undefined;
|
|
1252
|
+
ghUserAvatarUrl?: string | undefined;
|
|
1161
1253
|
commitAuthorName?: string | undefined;
|
|
1162
1254
|
commitMessage?: string | undefined;
|
|
1163
1255
|
commitRef?: string | undefined;
|
|
@@ -1186,6 +1278,10 @@ export declare const StaticTaskRunExecution: z.ZodObject<{
|
|
|
1186
1278
|
branchName?: string | undefined;
|
|
1187
1279
|
git?: {
|
|
1188
1280
|
dirty?: boolean | undefined;
|
|
1281
|
+
source?: "trigger_github_app" | "github_actions" | "local" | undefined;
|
|
1282
|
+
provider?: string | undefined;
|
|
1283
|
+
ghUsername?: string | undefined;
|
|
1284
|
+
ghUserAvatarUrl?: string | undefined;
|
|
1189
1285
|
commitAuthorName?: string | undefined;
|
|
1190
1286
|
commitMessage?: string | undefined;
|
|
1191
1287
|
commitRef?: string | undefined;
|
|
@@ -1224,6 +1320,10 @@ export declare const StaticTaskRunExecution: z.ZodObject<{
|
|
|
1224
1320
|
runtimeVersion: string;
|
|
1225
1321
|
git?: {
|
|
1226
1322
|
dirty?: boolean | undefined;
|
|
1323
|
+
source?: "trigger_github_app" | "github_actions" | "local" | undefined;
|
|
1324
|
+
provider?: string | undefined;
|
|
1325
|
+
ghUsername?: string | undefined;
|
|
1326
|
+
ghUserAvatarUrl?: string | undefined;
|
|
1227
1327
|
commitAuthorName?: string | undefined;
|
|
1228
1328
|
commitMessage?: string | undefined;
|
|
1229
1329
|
commitRef?: string | undefined;
|
|
@@ -1252,6 +1352,10 @@ export declare const StaticTaskRunExecution: z.ZodObject<{
|
|
|
1252
1352
|
branchName?: string | undefined;
|
|
1253
1353
|
git?: {
|
|
1254
1354
|
dirty?: boolean | undefined;
|
|
1355
|
+
source?: "trigger_github_app" | "github_actions" | "local" | undefined;
|
|
1356
|
+
provider?: string | undefined;
|
|
1357
|
+
ghUsername?: string | undefined;
|
|
1358
|
+
ghUserAvatarUrl?: string | undefined;
|
|
1255
1359
|
commitAuthorName?: string | undefined;
|
|
1256
1360
|
commitMessage?: string | undefined;
|
|
1257
1361
|
commitRef?: string | undefined;
|
|
@@ -1290,6 +1394,10 @@ export declare const StaticTaskRunExecution: z.ZodObject<{
|
|
|
1290
1394
|
runtimeVersion: string;
|
|
1291
1395
|
git?: {
|
|
1292
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;
|
|
1293
1401
|
commitAuthorName?: string | undefined;
|
|
1294
1402
|
commitMessage?: string | undefined;
|
|
1295
1403
|
commitRef?: string | undefined;
|
|
@@ -1329,6 +1437,10 @@ export declare const TaskRunExecution: z.ZodObject<{
|
|
|
1329
1437
|
type: z.ZodEnum<["PRODUCTION", "STAGING", "DEVELOPMENT", "PREVIEW"]>;
|
|
1330
1438
|
branchName: z.ZodOptional<z.ZodString>;
|
|
1331
1439
|
git: z.ZodOptional<z.ZodObject<{
|
|
1440
|
+
provider: z.ZodOptional<z.ZodString>;
|
|
1441
|
+
source: z.ZodOptional<z.ZodEnum<["trigger_github_app", "github_actions", "local"]>>;
|
|
1442
|
+
ghUsername: z.ZodOptional<z.ZodString>;
|
|
1443
|
+
ghUserAvatarUrl: z.ZodOptional<z.ZodString>;
|
|
1332
1444
|
commitAuthorName: z.ZodOptional<z.ZodString>;
|
|
1333
1445
|
commitMessage: z.ZodOptional<z.ZodString>;
|
|
1334
1446
|
commitRef: z.ZodOptional<z.ZodString>;
|
|
@@ -1340,6 +1452,10 @@ export declare const TaskRunExecution: z.ZodObject<{
|
|
|
1340
1452
|
pullRequestState: z.ZodOptional<z.ZodEnum<["open", "closed", "merged"]>>;
|
|
1341
1453
|
}, "strip", z.ZodTypeAny, {
|
|
1342
1454
|
dirty?: boolean | undefined;
|
|
1455
|
+
source?: "trigger_github_app" | "github_actions" | "local" | undefined;
|
|
1456
|
+
provider?: string | undefined;
|
|
1457
|
+
ghUsername?: string | undefined;
|
|
1458
|
+
ghUserAvatarUrl?: string | undefined;
|
|
1343
1459
|
commitAuthorName?: string | undefined;
|
|
1344
1460
|
commitMessage?: string | undefined;
|
|
1345
1461
|
commitRef?: string | undefined;
|
|
@@ -1350,6 +1466,10 @@ export declare const TaskRunExecution: z.ZodObject<{
|
|
|
1350
1466
|
pullRequestState?: "open" | "closed" | "merged" | undefined;
|
|
1351
1467
|
}, {
|
|
1352
1468
|
dirty?: boolean | undefined;
|
|
1469
|
+
source?: "trigger_github_app" | "github_actions" | "local" | undefined;
|
|
1470
|
+
provider?: string | undefined;
|
|
1471
|
+
ghUsername?: string | undefined;
|
|
1472
|
+
ghUserAvatarUrl?: string | undefined;
|
|
1353
1473
|
commitAuthorName?: string | undefined;
|
|
1354
1474
|
commitMessage?: string | undefined;
|
|
1355
1475
|
commitRef?: string | undefined;
|
|
@@ -1366,6 +1486,10 @@ export declare const TaskRunExecution: z.ZodObject<{
|
|
|
1366
1486
|
branchName?: string | undefined;
|
|
1367
1487
|
git?: {
|
|
1368
1488
|
dirty?: boolean | undefined;
|
|
1489
|
+
source?: "trigger_github_app" | "github_actions" | "local" | undefined;
|
|
1490
|
+
provider?: string | undefined;
|
|
1491
|
+
ghUsername?: string | undefined;
|
|
1492
|
+
ghUserAvatarUrl?: string | undefined;
|
|
1369
1493
|
commitAuthorName?: string | undefined;
|
|
1370
1494
|
commitMessage?: string | undefined;
|
|
1371
1495
|
commitRef?: string | undefined;
|
|
@@ -1382,6 +1506,10 @@ export declare const TaskRunExecution: z.ZodObject<{
|
|
|
1382
1506
|
branchName?: string | undefined;
|
|
1383
1507
|
git?: {
|
|
1384
1508
|
dirty?: boolean | undefined;
|
|
1509
|
+
source?: "trigger_github_app" | "github_actions" | "local" | undefined;
|
|
1510
|
+
provider?: string | undefined;
|
|
1511
|
+
ghUsername?: string | undefined;
|
|
1512
|
+
ghUserAvatarUrl?: string | undefined;
|
|
1385
1513
|
commitAuthorName?: string | undefined;
|
|
1386
1514
|
commitMessage?: string | undefined;
|
|
1387
1515
|
commitRef?: string | undefined;
|
|
@@ -1453,6 +1581,10 @@ export declare const TaskRunExecution: z.ZodObject<{
|
|
|
1453
1581
|
runtime: z.ZodString;
|
|
1454
1582
|
runtimeVersion: z.ZodString;
|
|
1455
1583
|
git: z.ZodOptional<z.ZodObject<{
|
|
1584
|
+
provider: z.ZodOptional<z.ZodString>;
|
|
1585
|
+
source: z.ZodOptional<z.ZodEnum<["trigger_github_app", "github_actions", "local"]>>;
|
|
1586
|
+
ghUsername: z.ZodOptional<z.ZodString>;
|
|
1587
|
+
ghUserAvatarUrl: z.ZodOptional<z.ZodString>;
|
|
1456
1588
|
commitAuthorName: z.ZodOptional<z.ZodString>;
|
|
1457
1589
|
commitMessage: z.ZodOptional<z.ZodString>;
|
|
1458
1590
|
commitRef: z.ZodOptional<z.ZodString>;
|
|
@@ -1464,6 +1596,10 @@ export declare const TaskRunExecution: z.ZodObject<{
|
|
|
1464
1596
|
pullRequestState: z.ZodOptional<z.ZodEnum<["open", "closed", "merged"]>>;
|
|
1465
1597
|
}, "strip", z.ZodTypeAny, {
|
|
1466
1598
|
dirty?: boolean | undefined;
|
|
1599
|
+
source?: "trigger_github_app" | "github_actions" | "local" | undefined;
|
|
1600
|
+
provider?: string | undefined;
|
|
1601
|
+
ghUsername?: string | undefined;
|
|
1602
|
+
ghUserAvatarUrl?: string | undefined;
|
|
1467
1603
|
commitAuthorName?: string | undefined;
|
|
1468
1604
|
commitMessage?: string | undefined;
|
|
1469
1605
|
commitRef?: string | undefined;
|
|
@@ -1474,6 +1610,10 @@ export declare const TaskRunExecution: z.ZodObject<{
|
|
|
1474
1610
|
pullRequestState?: "open" | "closed" | "merged" | undefined;
|
|
1475
1611
|
}, {
|
|
1476
1612
|
dirty?: boolean | undefined;
|
|
1613
|
+
source?: "trigger_github_app" | "github_actions" | "local" | undefined;
|
|
1614
|
+
provider?: string | undefined;
|
|
1615
|
+
ghUsername?: string | undefined;
|
|
1616
|
+
ghUserAvatarUrl?: string | undefined;
|
|
1477
1617
|
commitAuthorName?: string | undefined;
|
|
1478
1618
|
commitMessage?: string | undefined;
|
|
1479
1619
|
commitRef?: string | undefined;
|
|
@@ -1491,6 +1631,10 @@ export declare const TaskRunExecution: z.ZodObject<{
|
|
|
1491
1631
|
runtimeVersion: string;
|
|
1492
1632
|
git?: {
|
|
1493
1633
|
dirty?: boolean | undefined;
|
|
1634
|
+
source?: "trigger_github_app" | "github_actions" | "local" | undefined;
|
|
1635
|
+
provider?: string | undefined;
|
|
1636
|
+
ghUsername?: string | undefined;
|
|
1637
|
+
ghUserAvatarUrl?: string | undefined;
|
|
1494
1638
|
commitAuthorName?: string | undefined;
|
|
1495
1639
|
commitMessage?: string | undefined;
|
|
1496
1640
|
commitRef?: string | undefined;
|
|
@@ -1508,6 +1652,10 @@ export declare const TaskRunExecution: z.ZodObject<{
|
|
|
1508
1652
|
runtimeVersion: string;
|
|
1509
1653
|
git?: {
|
|
1510
1654
|
dirty?: boolean | undefined;
|
|
1655
|
+
source?: "trigger_github_app" | "github_actions" | "local" | undefined;
|
|
1656
|
+
provider?: string | undefined;
|
|
1657
|
+
ghUsername?: string | undefined;
|
|
1658
|
+
ghUserAvatarUrl?: string | undefined;
|
|
1511
1659
|
commitAuthorName?: string | undefined;
|
|
1512
1660
|
commitMessage?: string | undefined;
|
|
1513
1661
|
commitRef?: string | undefined;
|
|
@@ -1614,6 +1762,10 @@ export declare const TaskRunExecution: z.ZodObject<{
|
|
|
1614
1762
|
branchName?: string | undefined;
|
|
1615
1763
|
git?: {
|
|
1616
1764
|
dirty?: boolean | undefined;
|
|
1765
|
+
source?: "trigger_github_app" | "github_actions" | "local" | undefined;
|
|
1766
|
+
provider?: string | undefined;
|
|
1767
|
+
ghUsername?: string | undefined;
|
|
1768
|
+
ghUserAvatarUrl?: string | undefined;
|
|
1617
1769
|
commitAuthorName?: string | undefined;
|
|
1618
1770
|
commitMessage?: string | undefined;
|
|
1619
1771
|
commitRef?: string | undefined;
|
|
@@ -1681,6 +1833,10 @@ export declare const TaskRunExecution: z.ZodObject<{
|
|
|
1681
1833
|
runtimeVersion: string;
|
|
1682
1834
|
git?: {
|
|
1683
1835
|
dirty?: boolean | undefined;
|
|
1836
|
+
source?: "trigger_github_app" | "github_actions" | "local" | undefined;
|
|
1837
|
+
provider?: string | undefined;
|
|
1838
|
+
ghUsername?: string | undefined;
|
|
1839
|
+
ghUserAvatarUrl?: string | undefined;
|
|
1684
1840
|
commitAuthorName?: string | undefined;
|
|
1685
1841
|
commitMessage?: string | undefined;
|
|
1686
1842
|
commitRef?: string | undefined;
|
|
@@ -1709,6 +1865,10 @@ export declare const TaskRunExecution: z.ZodObject<{
|
|
|
1709
1865
|
branchName?: string | undefined;
|
|
1710
1866
|
git?: {
|
|
1711
1867
|
dirty?: boolean | undefined;
|
|
1868
|
+
source?: "trigger_github_app" | "github_actions" | "local" | undefined;
|
|
1869
|
+
provider?: string | undefined;
|
|
1870
|
+
ghUsername?: string | undefined;
|
|
1871
|
+
ghUserAvatarUrl?: string | undefined;
|
|
1712
1872
|
commitAuthorName?: string | undefined;
|
|
1713
1873
|
commitMessage?: string | undefined;
|
|
1714
1874
|
commitRef?: string | undefined;
|
|
@@ -1776,6 +1936,10 @@ export declare const TaskRunExecution: z.ZodObject<{
|
|
|
1776
1936
|
runtimeVersion: string;
|
|
1777
1937
|
git?: {
|
|
1778
1938
|
dirty?: boolean | undefined;
|
|
1939
|
+
source?: "trigger_github_app" | "github_actions" | "local" | undefined;
|
|
1940
|
+
provider?: string | undefined;
|
|
1941
|
+
ghUsername?: string | undefined;
|
|
1942
|
+
ghUserAvatarUrl?: string | undefined;
|
|
1779
1943
|
commitAuthorName?: string | undefined;
|
|
1780
1944
|
commitMessage?: string | undefined;
|
|
1781
1945
|
commitRef?: string | undefined;
|
|
@@ -1988,6 +2152,10 @@ export declare const V3TaskRunExecution: z.ZodObject<{
|
|
|
1988
2152
|
type: z.ZodEnum<["PRODUCTION", "STAGING", "DEVELOPMENT", "PREVIEW"]>;
|
|
1989
2153
|
branchName: z.ZodOptional<z.ZodString>;
|
|
1990
2154
|
git: z.ZodOptional<z.ZodObject<{
|
|
2155
|
+
provider: z.ZodOptional<z.ZodString>;
|
|
2156
|
+
source: z.ZodOptional<z.ZodEnum<["trigger_github_app", "github_actions", "local"]>>;
|
|
2157
|
+
ghUsername: z.ZodOptional<z.ZodString>;
|
|
2158
|
+
ghUserAvatarUrl: z.ZodOptional<z.ZodString>;
|
|
1991
2159
|
commitAuthorName: z.ZodOptional<z.ZodString>;
|
|
1992
2160
|
commitMessage: z.ZodOptional<z.ZodString>;
|
|
1993
2161
|
commitRef: z.ZodOptional<z.ZodString>;
|
|
@@ -1999,6 +2167,10 @@ export declare const V3TaskRunExecution: z.ZodObject<{
|
|
|
1999
2167
|
pullRequestState: z.ZodOptional<z.ZodEnum<["open", "closed", "merged"]>>;
|
|
2000
2168
|
}, "strip", z.ZodTypeAny, {
|
|
2001
2169
|
dirty?: boolean | undefined;
|
|
2170
|
+
source?: "trigger_github_app" | "github_actions" | "local" | undefined;
|
|
2171
|
+
provider?: string | undefined;
|
|
2172
|
+
ghUsername?: string | undefined;
|
|
2173
|
+
ghUserAvatarUrl?: string | undefined;
|
|
2002
2174
|
commitAuthorName?: string | undefined;
|
|
2003
2175
|
commitMessage?: string | undefined;
|
|
2004
2176
|
commitRef?: string | undefined;
|
|
@@ -2009,6 +2181,10 @@ export declare const V3TaskRunExecution: z.ZodObject<{
|
|
|
2009
2181
|
pullRequestState?: "open" | "closed" | "merged" | undefined;
|
|
2010
2182
|
}, {
|
|
2011
2183
|
dirty?: boolean | undefined;
|
|
2184
|
+
source?: "trigger_github_app" | "github_actions" | "local" | undefined;
|
|
2185
|
+
provider?: string | undefined;
|
|
2186
|
+
ghUsername?: string | undefined;
|
|
2187
|
+
ghUserAvatarUrl?: string | undefined;
|
|
2012
2188
|
commitAuthorName?: string | undefined;
|
|
2013
2189
|
commitMessage?: string | undefined;
|
|
2014
2190
|
commitRef?: string | undefined;
|
|
@@ -2025,6 +2201,10 @@ export declare const V3TaskRunExecution: z.ZodObject<{
|
|
|
2025
2201
|
branchName?: string | undefined;
|
|
2026
2202
|
git?: {
|
|
2027
2203
|
dirty?: boolean | undefined;
|
|
2204
|
+
source?: "trigger_github_app" | "github_actions" | "local" | undefined;
|
|
2205
|
+
provider?: string | undefined;
|
|
2206
|
+
ghUsername?: string | undefined;
|
|
2207
|
+
ghUserAvatarUrl?: string | undefined;
|
|
2028
2208
|
commitAuthorName?: string | undefined;
|
|
2029
2209
|
commitMessage?: string | undefined;
|
|
2030
2210
|
commitRef?: string | undefined;
|
|
@@ -2041,6 +2221,10 @@ export declare const V3TaskRunExecution: z.ZodObject<{
|
|
|
2041
2221
|
branchName?: string | undefined;
|
|
2042
2222
|
git?: {
|
|
2043
2223
|
dirty?: boolean | undefined;
|
|
2224
|
+
source?: "trigger_github_app" | "github_actions" | "local" | undefined;
|
|
2225
|
+
provider?: string | undefined;
|
|
2226
|
+
ghUsername?: string | undefined;
|
|
2227
|
+
ghUserAvatarUrl?: string | undefined;
|
|
2044
2228
|
commitAuthorName?: string | undefined;
|
|
2045
2229
|
commitMessage?: string | undefined;
|
|
2046
2230
|
commitRef?: string | undefined;
|
|
@@ -2122,6 +2306,10 @@ export declare const V3TaskRunExecution: z.ZodObject<{
|
|
|
2122
2306
|
branchName?: string | undefined;
|
|
2123
2307
|
git?: {
|
|
2124
2308
|
dirty?: boolean | undefined;
|
|
2309
|
+
source?: "trigger_github_app" | "github_actions" | "local" | undefined;
|
|
2310
|
+
provider?: string | undefined;
|
|
2311
|
+
ghUsername?: string | undefined;
|
|
2312
|
+
ghUserAvatarUrl?: string | undefined;
|
|
2125
2313
|
commitAuthorName?: string | undefined;
|
|
2126
2314
|
commitMessage?: string | undefined;
|
|
2127
2315
|
commitRef?: string | undefined;
|
|
@@ -2197,6 +2385,10 @@ export declare const V3TaskRunExecution: z.ZodObject<{
|
|
|
2197
2385
|
branchName?: string | undefined;
|
|
2198
2386
|
git?: {
|
|
2199
2387
|
dirty?: boolean | undefined;
|
|
2388
|
+
source?: "trigger_github_app" | "github_actions" | "local" | undefined;
|
|
2389
|
+
provider?: string | undefined;
|
|
2390
|
+
ghUsername?: string | undefined;
|
|
2391
|
+
ghUserAvatarUrl?: string | undefined;
|
|
2200
2392
|
commitAuthorName?: string | undefined;
|
|
2201
2393
|
commitMessage?: string | undefined;
|
|
2202
2394
|
commitRef?: string | undefined;
|
|
@@ -2284,6 +2476,10 @@ export declare const TaskRunContext: z.ZodObject<{
|
|
|
2284
2476
|
type: z.ZodEnum<["PRODUCTION", "STAGING", "DEVELOPMENT", "PREVIEW"]>;
|
|
2285
2477
|
branchName: z.ZodOptional<z.ZodString>;
|
|
2286
2478
|
git: z.ZodOptional<z.ZodObject<{
|
|
2479
|
+
provider: z.ZodOptional<z.ZodString>;
|
|
2480
|
+
source: z.ZodOptional<z.ZodEnum<["trigger_github_app", "github_actions", "local"]>>;
|
|
2481
|
+
ghUsername: z.ZodOptional<z.ZodString>;
|
|
2482
|
+
ghUserAvatarUrl: z.ZodOptional<z.ZodString>;
|
|
2287
2483
|
commitAuthorName: z.ZodOptional<z.ZodString>;
|
|
2288
2484
|
commitMessage: z.ZodOptional<z.ZodString>;
|
|
2289
2485
|
commitRef: z.ZodOptional<z.ZodString>;
|
|
@@ -2295,6 +2491,10 @@ export declare const TaskRunContext: z.ZodObject<{
|
|
|
2295
2491
|
pullRequestState: z.ZodOptional<z.ZodEnum<["open", "closed", "merged"]>>;
|
|
2296
2492
|
}, "strip", z.ZodTypeAny, {
|
|
2297
2493
|
dirty?: boolean | undefined;
|
|
2494
|
+
source?: "trigger_github_app" | "github_actions" | "local" | undefined;
|
|
2495
|
+
provider?: string | undefined;
|
|
2496
|
+
ghUsername?: string | undefined;
|
|
2497
|
+
ghUserAvatarUrl?: string | undefined;
|
|
2298
2498
|
commitAuthorName?: string | undefined;
|
|
2299
2499
|
commitMessage?: string | undefined;
|
|
2300
2500
|
commitRef?: string | undefined;
|
|
@@ -2305,6 +2505,10 @@ export declare const TaskRunContext: z.ZodObject<{
|
|
|
2305
2505
|
pullRequestState?: "open" | "closed" | "merged" | undefined;
|
|
2306
2506
|
}, {
|
|
2307
2507
|
dirty?: boolean | undefined;
|
|
2508
|
+
source?: "trigger_github_app" | "github_actions" | "local" | undefined;
|
|
2509
|
+
provider?: string | undefined;
|
|
2510
|
+
ghUsername?: string | undefined;
|
|
2511
|
+
ghUserAvatarUrl?: string | undefined;
|
|
2308
2512
|
commitAuthorName?: string | undefined;
|
|
2309
2513
|
commitMessage?: string | undefined;
|
|
2310
2514
|
commitRef?: string | undefined;
|
|
@@ -2321,6 +2525,10 @@ export declare const TaskRunContext: z.ZodObject<{
|
|
|
2321
2525
|
branchName?: string | undefined;
|
|
2322
2526
|
git?: {
|
|
2323
2527
|
dirty?: boolean | undefined;
|
|
2528
|
+
source?: "trigger_github_app" | "github_actions" | "local" | undefined;
|
|
2529
|
+
provider?: string | undefined;
|
|
2530
|
+
ghUsername?: string | undefined;
|
|
2531
|
+
ghUserAvatarUrl?: string | undefined;
|
|
2324
2532
|
commitAuthorName?: string | undefined;
|
|
2325
2533
|
commitMessage?: string | undefined;
|
|
2326
2534
|
commitRef?: string | undefined;
|
|
@@ -2337,6 +2545,10 @@ export declare const TaskRunContext: z.ZodObject<{
|
|
|
2337
2545
|
branchName?: string | undefined;
|
|
2338
2546
|
git?: {
|
|
2339
2547
|
dirty?: boolean | undefined;
|
|
2548
|
+
source?: "trigger_github_app" | "github_actions" | "local" | undefined;
|
|
2549
|
+
provider?: string | undefined;
|
|
2550
|
+
ghUsername?: string | undefined;
|
|
2551
|
+
ghUserAvatarUrl?: string | undefined;
|
|
2340
2552
|
commitAuthorName?: string | undefined;
|
|
2341
2553
|
commitMessage?: string | undefined;
|
|
2342
2554
|
commitRef?: string | undefined;
|
|
@@ -2408,6 +2620,10 @@ export declare const TaskRunContext: z.ZodObject<{
|
|
|
2408
2620
|
runtime: z.ZodString;
|
|
2409
2621
|
runtimeVersion: z.ZodString;
|
|
2410
2622
|
git: z.ZodOptional<z.ZodObject<{
|
|
2623
|
+
provider: z.ZodOptional<z.ZodString>;
|
|
2624
|
+
source: z.ZodOptional<z.ZodEnum<["trigger_github_app", "github_actions", "local"]>>;
|
|
2625
|
+
ghUsername: z.ZodOptional<z.ZodString>;
|
|
2626
|
+
ghUserAvatarUrl: z.ZodOptional<z.ZodString>;
|
|
2411
2627
|
commitAuthorName: z.ZodOptional<z.ZodString>;
|
|
2412
2628
|
commitMessage: z.ZodOptional<z.ZodString>;
|
|
2413
2629
|
commitRef: z.ZodOptional<z.ZodString>;
|
|
@@ -2419,6 +2635,10 @@ export declare const TaskRunContext: z.ZodObject<{
|
|
|
2419
2635
|
pullRequestState: z.ZodOptional<z.ZodEnum<["open", "closed", "merged"]>>;
|
|
2420
2636
|
}, "strip", z.ZodTypeAny, {
|
|
2421
2637
|
dirty?: boolean | undefined;
|
|
2638
|
+
source?: "trigger_github_app" | "github_actions" | "local" | undefined;
|
|
2639
|
+
provider?: string | undefined;
|
|
2640
|
+
ghUsername?: string | undefined;
|
|
2641
|
+
ghUserAvatarUrl?: string | undefined;
|
|
2422
2642
|
commitAuthorName?: string | undefined;
|
|
2423
2643
|
commitMessage?: string | undefined;
|
|
2424
2644
|
commitRef?: string | undefined;
|
|
@@ -2429,6 +2649,10 @@ export declare const TaskRunContext: z.ZodObject<{
|
|
|
2429
2649
|
pullRequestState?: "open" | "closed" | "merged" | undefined;
|
|
2430
2650
|
}, {
|
|
2431
2651
|
dirty?: boolean | undefined;
|
|
2652
|
+
source?: "trigger_github_app" | "github_actions" | "local" | undefined;
|
|
2653
|
+
provider?: string | undefined;
|
|
2654
|
+
ghUsername?: string | undefined;
|
|
2655
|
+
ghUserAvatarUrl?: string | undefined;
|
|
2432
2656
|
commitAuthorName?: string | undefined;
|
|
2433
2657
|
commitMessage?: string | undefined;
|
|
2434
2658
|
commitRef?: string | undefined;
|
|
@@ -2446,6 +2670,10 @@ export declare const TaskRunContext: z.ZodObject<{
|
|
|
2446
2670
|
runtimeVersion: string;
|
|
2447
2671
|
git?: {
|
|
2448
2672
|
dirty?: boolean | undefined;
|
|
2673
|
+
source?: "trigger_github_app" | "github_actions" | "local" | undefined;
|
|
2674
|
+
provider?: string | undefined;
|
|
2675
|
+
ghUsername?: string | undefined;
|
|
2676
|
+
ghUserAvatarUrl?: string | undefined;
|
|
2449
2677
|
commitAuthorName?: string | undefined;
|
|
2450
2678
|
commitMessage?: string | undefined;
|
|
2451
2679
|
commitRef?: string | undefined;
|
|
@@ -2463,6 +2691,10 @@ export declare const TaskRunContext: z.ZodObject<{
|
|
|
2463
2691
|
runtimeVersion: string;
|
|
2464
2692
|
git?: {
|
|
2465
2693
|
dirty?: boolean | undefined;
|
|
2694
|
+
source?: "trigger_github_app" | "github_actions" | "local" | undefined;
|
|
2695
|
+
provider?: string | undefined;
|
|
2696
|
+
ghUsername?: string | undefined;
|
|
2697
|
+
ghUserAvatarUrl?: string | undefined;
|
|
2466
2698
|
commitAuthorName?: string | undefined;
|
|
2467
2699
|
commitMessage?: string | undefined;
|
|
2468
2700
|
commitRef?: string | undefined;
|
|
@@ -2553,6 +2785,10 @@ export declare const TaskRunContext: z.ZodObject<{
|
|
|
2553
2785
|
branchName?: string | undefined;
|
|
2554
2786
|
git?: {
|
|
2555
2787
|
dirty?: boolean | undefined;
|
|
2788
|
+
source?: "trigger_github_app" | "github_actions" | "local" | undefined;
|
|
2789
|
+
provider?: string | undefined;
|
|
2790
|
+
ghUsername?: string | undefined;
|
|
2791
|
+
ghUserAvatarUrl?: string | undefined;
|
|
2556
2792
|
commitAuthorName?: string | undefined;
|
|
2557
2793
|
commitMessage?: string | undefined;
|
|
2558
2794
|
commitRef?: string | undefined;
|
|
@@ -2611,6 +2847,10 @@ export declare const TaskRunContext: z.ZodObject<{
|
|
|
2611
2847
|
runtimeVersion: string;
|
|
2612
2848
|
git?: {
|
|
2613
2849
|
dirty?: boolean | undefined;
|
|
2850
|
+
source?: "trigger_github_app" | "github_actions" | "local" | undefined;
|
|
2851
|
+
provider?: string | undefined;
|
|
2852
|
+
ghUsername?: string | undefined;
|
|
2853
|
+
ghUserAvatarUrl?: string | undefined;
|
|
2614
2854
|
commitAuthorName?: string | undefined;
|
|
2615
2855
|
commitMessage?: string | undefined;
|
|
2616
2856
|
commitRef?: string | undefined;
|
|
@@ -2639,6 +2879,10 @@ export declare const TaskRunContext: z.ZodObject<{
|
|
|
2639
2879
|
branchName?: string | undefined;
|
|
2640
2880
|
git?: {
|
|
2641
2881
|
dirty?: boolean | undefined;
|
|
2882
|
+
source?: "trigger_github_app" | "github_actions" | "local" | undefined;
|
|
2883
|
+
provider?: string | undefined;
|
|
2884
|
+
ghUsername?: string | undefined;
|
|
2885
|
+
ghUserAvatarUrl?: string | undefined;
|
|
2642
2886
|
commitAuthorName?: string | undefined;
|
|
2643
2887
|
commitMessage?: string | undefined;
|
|
2644
2888
|
commitRef?: string | undefined;
|
|
@@ -2697,6 +2941,10 @@ export declare const TaskRunContext: z.ZodObject<{
|
|
|
2697
2941
|
runtimeVersion: string;
|
|
2698
2942
|
git?: {
|
|
2699
2943
|
dirty?: boolean | undefined;
|
|
2944
|
+
source?: "trigger_github_app" | "github_actions" | "local" | undefined;
|
|
2945
|
+
provider?: string | undefined;
|
|
2946
|
+
ghUsername?: string | undefined;
|
|
2947
|
+
ghUserAvatarUrl?: string | undefined;
|
|
2700
2948
|
commitAuthorName?: string | undefined;
|
|
2701
2949
|
commitMessage?: string | undefined;
|
|
2702
2950
|
commitRef?: string | undefined;
|
|
@@ -167,7 +167,12 @@ export const TaskRun = z.object({
|
|
|
167
167
|
costInCents: z.number().optional(),
|
|
168
168
|
region: z.string().optional(),
|
|
169
169
|
});
|
|
170
|
+
// newly added fields need to be optional for backwards compatibility
|
|
170
171
|
export const GitMeta = z.object({
|
|
172
|
+
provider: z.string().optional(),
|
|
173
|
+
source: z.enum(["trigger_github_app", "github_actions", "local"]).optional(),
|
|
174
|
+
ghUsername: z.string().optional(),
|
|
175
|
+
ghUserAvatarUrl: z.string().optional(),
|
|
171
176
|
commitAuthorName: z.string().optional(),
|
|
172
177
|
commitMessage: z.string().optional(),
|
|
173
178
|
commitRef: z.string().optional(),
|