@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
|
@@ -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<{
|
|
@@ -1693,6 +1693,10 @@ export declare const ExternalBuildData: z.ZodObject<{
|
|
|
1693
1693
|
export type ExternalBuildData = z.infer<typeof ExternalBuildData>;
|
|
1694
1694
|
export declare const UpsertBranchRequestBody: z.ZodObject<{
|
|
1695
1695
|
git: z.ZodOptional<z.ZodObject<{
|
|
1696
|
+
provider: z.ZodOptional<z.ZodString>;
|
|
1697
|
+
source: z.ZodOptional<z.ZodEnum<["trigger_github_app", "github_actions", "local"]>>;
|
|
1698
|
+
ghUsername: z.ZodOptional<z.ZodString>;
|
|
1699
|
+
ghUserAvatarUrl: z.ZodOptional<z.ZodString>;
|
|
1696
1700
|
commitAuthorName: z.ZodOptional<z.ZodString>;
|
|
1697
1701
|
commitMessage: z.ZodOptional<z.ZodString>;
|
|
1698
1702
|
commitRef: z.ZodOptional<z.ZodString>;
|
|
@@ -1704,6 +1708,10 @@ export declare const UpsertBranchRequestBody: z.ZodObject<{
|
|
|
1704
1708
|
pullRequestState: z.ZodOptional<z.ZodEnum<["open", "closed", "merged"]>>;
|
|
1705
1709
|
}, "strip", z.ZodTypeAny, {
|
|
1706
1710
|
dirty?: boolean | undefined;
|
|
1711
|
+
source?: "trigger_github_app" | "github_actions" | "local" | undefined;
|
|
1712
|
+
provider?: string | undefined;
|
|
1713
|
+
ghUsername?: string | undefined;
|
|
1714
|
+
ghUserAvatarUrl?: string | undefined;
|
|
1707
1715
|
commitAuthorName?: string | undefined;
|
|
1708
1716
|
commitMessage?: string | undefined;
|
|
1709
1717
|
commitRef?: string | undefined;
|
|
@@ -1714,6 +1722,10 @@ export declare const UpsertBranchRequestBody: z.ZodObject<{
|
|
|
1714
1722
|
pullRequestState?: "open" | "closed" | "merged" | undefined;
|
|
1715
1723
|
}, {
|
|
1716
1724
|
dirty?: boolean | undefined;
|
|
1725
|
+
source?: "trigger_github_app" | "github_actions" | "local" | undefined;
|
|
1726
|
+
provider?: string | undefined;
|
|
1727
|
+
ghUsername?: string | undefined;
|
|
1728
|
+
ghUserAvatarUrl?: string | undefined;
|
|
1717
1729
|
commitAuthorName?: string | undefined;
|
|
1718
1730
|
commitMessage?: string | undefined;
|
|
1719
1731
|
commitRef?: string | undefined;
|
|
@@ -1730,6 +1742,10 @@ export declare const UpsertBranchRequestBody: z.ZodObject<{
|
|
|
1730
1742
|
branch: string;
|
|
1731
1743
|
git?: {
|
|
1732
1744
|
dirty?: boolean | undefined;
|
|
1745
|
+
source?: "trigger_github_app" | "github_actions" | "local" | undefined;
|
|
1746
|
+
provider?: string | undefined;
|
|
1747
|
+
ghUsername?: string | undefined;
|
|
1748
|
+
ghUserAvatarUrl?: string | undefined;
|
|
1733
1749
|
commitAuthorName?: string | undefined;
|
|
1734
1750
|
commitMessage?: string | undefined;
|
|
1735
1751
|
commitRef?: string | undefined;
|
|
@@ -1744,6 +1760,10 @@ export declare const UpsertBranchRequestBody: z.ZodObject<{
|
|
|
1744
1760
|
branch: string;
|
|
1745
1761
|
git?: {
|
|
1746
1762
|
dirty?: boolean | undefined;
|
|
1763
|
+
source?: "trigger_github_app" | "github_actions" | "local" | undefined;
|
|
1764
|
+
provider?: string | undefined;
|
|
1765
|
+
ghUsername?: string | undefined;
|
|
1766
|
+
ghUserAvatarUrl?: string | undefined;
|
|
1747
1767
|
commitAuthorName?: string | undefined;
|
|
1748
1768
|
commitMessage?: string | undefined;
|
|
1749
1769
|
commitRef?: string | undefined;
|
|
@@ -1815,6 +1835,10 @@ export declare const InitializeDeploymentRequestBody: z.ZodObject<{
|
|
|
1815
1835
|
/** @deprecated This is now determined by the webapp. This is only used to warn users with old CLI versions. */
|
|
1816
1836
|
selfHosted: z.ZodOptional<z.ZodBoolean>;
|
|
1817
1837
|
gitMeta: z.ZodOptional<z.ZodObject<{
|
|
1838
|
+
provider: z.ZodOptional<z.ZodString>;
|
|
1839
|
+
source: z.ZodOptional<z.ZodEnum<["trigger_github_app", "github_actions", "local"]>>;
|
|
1840
|
+
ghUsername: z.ZodOptional<z.ZodString>;
|
|
1841
|
+
ghUserAvatarUrl: z.ZodOptional<z.ZodString>;
|
|
1818
1842
|
commitAuthorName: z.ZodOptional<z.ZodString>;
|
|
1819
1843
|
commitMessage: z.ZodOptional<z.ZodString>;
|
|
1820
1844
|
commitRef: z.ZodOptional<z.ZodString>;
|
|
@@ -1826,6 +1850,10 @@ export declare const InitializeDeploymentRequestBody: z.ZodObject<{
|
|
|
1826
1850
|
pullRequestState: z.ZodOptional<z.ZodEnum<["open", "closed", "merged"]>>;
|
|
1827
1851
|
}, "strip", z.ZodTypeAny, {
|
|
1828
1852
|
dirty?: boolean | undefined;
|
|
1853
|
+
source?: "trigger_github_app" | "github_actions" | "local" | undefined;
|
|
1854
|
+
provider?: string | undefined;
|
|
1855
|
+
ghUsername?: string | undefined;
|
|
1856
|
+
ghUserAvatarUrl?: string | undefined;
|
|
1829
1857
|
commitAuthorName?: string | undefined;
|
|
1830
1858
|
commitMessage?: string | undefined;
|
|
1831
1859
|
commitRef?: string | undefined;
|
|
@@ -1836,6 +1864,10 @@ export declare const InitializeDeploymentRequestBody: z.ZodObject<{
|
|
|
1836
1864
|
pullRequestState?: "open" | "closed" | "merged" | undefined;
|
|
1837
1865
|
}, {
|
|
1838
1866
|
dirty?: boolean | undefined;
|
|
1867
|
+
source?: "trigger_github_app" | "github_actions" | "local" | undefined;
|
|
1868
|
+
provider?: string | undefined;
|
|
1869
|
+
ghUsername?: string | undefined;
|
|
1870
|
+
ghUserAvatarUrl?: string | undefined;
|
|
1839
1871
|
commitAuthorName?: string | undefined;
|
|
1840
1872
|
commitMessage?: string | undefined;
|
|
1841
1873
|
commitRef?: string | undefined;
|
|
@@ -1855,6 +1887,10 @@ export declare const InitializeDeploymentRequestBody: z.ZodObject<{
|
|
|
1855
1887
|
selfHosted?: boolean | undefined;
|
|
1856
1888
|
gitMeta?: {
|
|
1857
1889
|
dirty?: boolean | undefined;
|
|
1890
|
+
source?: "trigger_github_app" | "github_actions" | "local" | undefined;
|
|
1891
|
+
provider?: string | undefined;
|
|
1892
|
+
ghUsername?: string | undefined;
|
|
1893
|
+
ghUserAvatarUrl?: string | undefined;
|
|
1858
1894
|
commitAuthorName?: string | undefined;
|
|
1859
1895
|
commitMessage?: string | undefined;
|
|
1860
1896
|
commitRef?: string | undefined;
|
|
@@ -1872,6 +1908,10 @@ export declare const InitializeDeploymentRequestBody: z.ZodObject<{
|
|
|
1872
1908
|
selfHosted?: boolean | undefined;
|
|
1873
1909
|
gitMeta?: {
|
|
1874
1910
|
dirty?: boolean | undefined;
|
|
1911
|
+
source?: "trigger_github_app" | "github_actions" | "local" | undefined;
|
|
1912
|
+
provider?: string | undefined;
|
|
1913
|
+
ghUsername?: string | undefined;
|
|
1914
|
+
ghUserAvatarUrl?: string | undefined;
|
|
1875
1915
|
commitAuthorName?: string | undefined;
|
|
1876
1916
|
commitMessage?: string | undefined;
|
|
1877
1917
|
commitRef?: string | undefined;
|
|
@@ -2521,6 +2561,16 @@ export declare const DevDequeueResponseBody: z.ZodObject<{
|
|
|
2521
2561
|
}, {
|
|
2522
2562
|
id: string;
|
|
2523
2563
|
}>;
|
|
2564
|
+
placementTags: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2565
|
+
key: z.ZodString;
|
|
2566
|
+
values: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2567
|
+
}, "strip", z.ZodTypeAny, {
|
|
2568
|
+
key: string;
|
|
2569
|
+
values?: string[] | undefined;
|
|
2570
|
+
}, {
|
|
2571
|
+
key: string;
|
|
2572
|
+
values?: string[] | undefined;
|
|
2573
|
+
}>, "many">>;
|
|
2524
2574
|
}, "strip", z.ZodTypeAny, {
|
|
2525
2575
|
version: "1";
|
|
2526
2576
|
environment: {
|
|
@@ -2597,6 +2647,10 @@ export declare const DevDequeueResponseBody: z.ZodObject<{
|
|
|
2597
2647
|
reason?: string | null | undefined;
|
|
2598
2648
|
} | undefined;
|
|
2599
2649
|
image?: string | undefined;
|
|
2650
|
+
placementTags?: {
|
|
2651
|
+
key: string;
|
|
2652
|
+
values?: string[] | undefined;
|
|
2653
|
+
}[] | undefined;
|
|
2600
2654
|
}, {
|
|
2601
2655
|
version: "1";
|
|
2602
2656
|
environment: {
|
|
@@ -2673,6 +2727,10 @@ export declare const DevDequeueResponseBody: z.ZodObject<{
|
|
|
2673
2727
|
reason?: string | null | undefined;
|
|
2674
2728
|
} | undefined;
|
|
2675
2729
|
image?: string | undefined;
|
|
2730
|
+
placementTags?: {
|
|
2731
|
+
key: string;
|
|
2732
|
+
values?: string[] | undefined;
|
|
2733
|
+
}[] | undefined;
|
|
2676
2734
|
}>, "many">;
|
|
2677
2735
|
}, "strip", z.ZodTypeAny, {
|
|
2678
2736
|
dequeuedMessages: {
|
|
@@ -2751,6 +2809,10 @@ export declare const DevDequeueResponseBody: z.ZodObject<{
|
|
|
2751
2809
|
reason?: string | null | undefined;
|
|
2752
2810
|
} | undefined;
|
|
2753
2811
|
image?: string | undefined;
|
|
2812
|
+
placementTags?: {
|
|
2813
|
+
key: string;
|
|
2814
|
+
values?: string[] | undefined;
|
|
2815
|
+
}[] | undefined;
|
|
2754
2816
|
}[];
|
|
2755
2817
|
}, {
|
|
2756
2818
|
dequeuedMessages: {
|
|
@@ -2829,6 +2891,10 @@ export declare const DevDequeueResponseBody: z.ZodObject<{
|
|
|
2829
2891
|
reason?: string | null | undefined;
|
|
2830
2892
|
} | undefined;
|
|
2831
2893
|
image?: string | undefined;
|
|
2894
|
+
placementTags?: {
|
|
2895
|
+
key: string;
|
|
2896
|
+
values?: string[] | undefined;
|
|
2897
|
+
}[] | undefined;
|
|
2832
2898
|
}[];
|
|
2833
2899
|
}>;
|
|
2834
2900
|
export type DevDequeueResponseBody = z.infer<typeof DevDequeueResponseBody>;
|
|
@@ -272,6 +272,16 @@ export declare const CheckpointServiceRestoreRequestBody: z.ZodObject<{
|
|
|
272
272
|
version: string;
|
|
273
273
|
friendlyId: string;
|
|
274
274
|
}>;
|
|
275
|
+
placementTags: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
276
|
+
key: z.ZodString;
|
|
277
|
+
values: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
278
|
+
}, "strip", z.ZodTypeAny, {
|
|
279
|
+
key: string;
|
|
280
|
+
values?: string[] | undefined;
|
|
281
|
+
}, {
|
|
282
|
+
key: string;
|
|
283
|
+
values?: string[] | undefined;
|
|
284
|
+
}>, "many">>;
|
|
275
285
|
}, "strip", z.ZodTypeAny, {
|
|
276
286
|
version: "1";
|
|
277
287
|
environment: {
|
|
@@ -348,6 +358,10 @@ export declare const CheckpointServiceRestoreRequestBody: z.ZodObject<{
|
|
|
348
358
|
friendlyId: string;
|
|
349
359
|
};
|
|
350
360
|
image?: string | undefined;
|
|
361
|
+
placementTags?: {
|
|
362
|
+
key: string;
|
|
363
|
+
values?: string[] | undefined;
|
|
364
|
+
}[] | undefined;
|
|
351
365
|
}, {
|
|
352
366
|
version: "1";
|
|
353
367
|
environment: {
|
|
@@ -424,6 +438,10 @@ export declare const CheckpointServiceRestoreRequestBody: z.ZodObject<{
|
|
|
424
438
|
friendlyId: string;
|
|
425
439
|
};
|
|
426
440
|
image?: string | undefined;
|
|
441
|
+
placementTags?: {
|
|
442
|
+
key: string;
|
|
443
|
+
values?: string[] | undefined;
|
|
444
|
+
}[] | undefined;
|
|
427
445
|
}>;
|
|
428
446
|
export type CheckpointServiceRestoreRequestBody = z.infer<typeof CheckpointServiceRestoreRequestBody>;
|
|
429
447
|
export type CheckpointServiceRestoreRequestBodyInput = z.input<typeof CheckpointServiceRestoreRequestBody>;
|