@cat-factory/contracts 0.293.0 → 0.295.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/environments-kubernetes.d.ts +32 -0
- package/dist/environments-kubernetes.d.ts.map +1 -1
- package/dist/environments-kubernetes.js +8 -0
- package/dist/environments-kubernetes.js.map +1 -1
- package/dist/environments.d.ts +22 -0
- package/dist/environments.d.ts.map +1 -1
- package/dist/public-api.d.ts +93 -4
- package/dist/public-api.d.ts.map +1 -1
- package/dist/public-api.js +89 -4
- package/dist/public-api.js.map +1 -1
- package/dist/public-provisioning.d.ts +104 -13
- package/dist/public-provisioning.d.ts.map +1 -1
- package/dist/public-provisioning.js +55 -8
- package/dist/public-provisioning.js.map +1 -1
- package/dist/routes/environmentUserHandlers.d.ts +6 -0
- package/dist/routes/environmentUserHandlers.d.ts.map +1 -1
- package/dist/routes/environments.d.ts +21 -0
- package/dist/routes/environments.d.ts.map +1 -1
- package/dist/routes/public-api.d.ts +18 -0
- package/dist/routes/public-api.d.ts.map +1 -1
- package/dist/routes/public-board.d.ts +4 -0
- package/dist/routes/public-board.d.ts.map +1 -1
- package/dist/routes/public-provisioning.d.ts +65 -4
- package/dist/routes/public-provisioning.d.ts.map +1 -1
- package/dist/routes/public-provisioning.js +30 -5
- package/dist/routes/public-provisioning.js.map +1 -1
- package/package.json +1 -1
|
@@ -167,6 +167,7 @@ export declare const getEnvironmentConnectionContract: {
|
|
|
167
167
|
readonly url: v.VariantSchema<"source", [v.ObjectSchema<{
|
|
168
168
|
readonly source: v.LiteralSchema<"ingressTemplate", undefined>;
|
|
169
169
|
readonly hostTemplate: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 500, undefined>]>;
|
|
170
|
+
readonly port: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 65535, undefined>]>, undefined>;
|
|
170
171
|
readonly scheme: v.OptionalSchema<v.PicklistSchema<["http", "https"], undefined>, undefined>;
|
|
171
172
|
}, undefined>, v.ObjectSchema<{
|
|
172
173
|
readonly source: v.LiteralSchema<"ingressStatus", undefined>;
|
|
@@ -286,6 +287,7 @@ export declare const getEnvironmentConnectionContract: {
|
|
|
286
287
|
readonly url: v.VariantSchema<"source", [v.ObjectSchema<{
|
|
287
288
|
readonly source: v.LiteralSchema<"ingressTemplate", undefined>;
|
|
288
289
|
readonly hostTemplate: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 500, undefined>]>;
|
|
290
|
+
readonly port: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 65535, undefined>]>, undefined>;
|
|
289
291
|
readonly scheme: v.OptionalSchema<v.PicklistSchema<["http", "https"], undefined>, undefined>;
|
|
290
292
|
}, undefined>, v.ObjectSchema<{
|
|
291
293
|
readonly source: v.LiteralSchema<"ingressStatus", undefined>;
|
|
@@ -644,6 +646,7 @@ export declare const registerEnvironmentProviderContract: {
|
|
|
644
646
|
readonly url: v.VariantSchema<"source", [v.ObjectSchema<{
|
|
645
647
|
readonly source: v.LiteralSchema<"ingressTemplate", undefined>;
|
|
646
648
|
readonly hostTemplate: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 500, undefined>]>;
|
|
649
|
+
readonly port: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 65535, undefined>]>, undefined>;
|
|
647
650
|
readonly scheme: v.OptionalSchema<v.PicklistSchema<["http", "https"], undefined>, undefined>;
|
|
648
651
|
}, undefined>, v.ObjectSchema<{
|
|
649
652
|
readonly source: v.LiteralSchema<"ingressStatus", undefined>;
|
|
@@ -763,6 +766,7 @@ export declare const registerEnvironmentProviderContract: {
|
|
|
763
766
|
readonly url: v.VariantSchema<"source", [v.ObjectSchema<{
|
|
764
767
|
readonly source: v.LiteralSchema<"ingressTemplate", undefined>;
|
|
765
768
|
readonly hostTemplate: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 500, undefined>]>;
|
|
769
|
+
readonly port: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 65535, undefined>]>, undefined>;
|
|
766
770
|
readonly scheme: v.OptionalSchema<v.PicklistSchema<["http", "https"], undefined>, undefined>;
|
|
767
771
|
}, undefined>, v.ObjectSchema<{
|
|
768
772
|
readonly source: v.LiteralSchema<"ingressStatus", undefined>;
|
|
@@ -1145,6 +1149,7 @@ export declare const registerEnvironmentProviderContract: {
|
|
|
1145
1149
|
readonly url: v.VariantSchema<"source", [v.ObjectSchema<{
|
|
1146
1150
|
readonly source: v.LiteralSchema<"ingressTemplate", undefined>;
|
|
1147
1151
|
readonly hostTemplate: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 500, undefined>]>;
|
|
1152
|
+
readonly port: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 65535, undefined>]>, undefined>;
|
|
1148
1153
|
readonly scheme: v.OptionalSchema<v.PicklistSchema<["http", "https"], undefined>, undefined>;
|
|
1149
1154
|
}, undefined>, v.ObjectSchema<{
|
|
1150
1155
|
readonly source: v.LiteralSchema<"ingressStatus", undefined>;
|
|
@@ -1264,6 +1269,7 @@ export declare const registerEnvironmentProviderContract: {
|
|
|
1264
1269
|
readonly url: v.VariantSchema<"source", [v.ObjectSchema<{
|
|
1265
1270
|
readonly source: v.LiteralSchema<"ingressTemplate", undefined>;
|
|
1266
1271
|
readonly hostTemplate: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 500, undefined>]>;
|
|
1272
|
+
readonly port: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 65535, undefined>]>, undefined>;
|
|
1267
1273
|
readonly scheme: v.OptionalSchema<v.PicklistSchema<["http", "https"], undefined>, undefined>;
|
|
1268
1274
|
}, undefined>, v.ObjectSchema<{
|
|
1269
1275
|
readonly source: v.LiteralSchema<"ingressStatus", undefined>;
|
|
@@ -1653,6 +1659,7 @@ export declare const updateEnvironmentSecretsContract: {
|
|
|
1653
1659
|
readonly url: v.VariantSchema<"source", [v.ObjectSchema<{
|
|
1654
1660
|
readonly source: v.LiteralSchema<"ingressTemplate", undefined>;
|
|
1655
1661
|
readonly hostTemplate: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 500, undefined>]>;
|
|
1662
|
+
readonly port: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 65535, undefined>]>, undefined>;
|
|
1656
1663
|
readonly scheme: v.OptionalSchema<v.PicklistSchema<["http", "https"], undefined>, undefined>;
|
|
1657
1664
|
}, undefined>, v.ObjectSchema<{
|
|
1658
1665
|
readonly source: v.LiteralSchema<"ingressStatus", undefined>;
|
|
@@ -1772,6 +1779,7 @@ export declare const updateEnvironmentSecretsContract: {
|
|
|
1772
1779
|
readonly url: v.VariantSchema<"source", [v.ObjectSchema<{
|
|
1773
1780
|
readonly source: v.LiteralSchema<"ingressTemplate", undefined>;
|
|
1774
1781
|
readonly hostTemplate: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 500, undefined>]>;
|
|
1782
|
+
readonly port: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 65535, undefined>]>, undefined>;
|
|
1775
1783
|
readonly scheme: v.OptionalSchema<v.PicklistSchema<["http", "https"], undefined>, undefined>;
|
|
1776
1784
|
}, undefined>, v.ObjectSchema<{
|
|
1777
1785
|
readonly source: v.LiteralSchema<"ingressStatus", undefined>;
|
|
@@ -2230,6 +2238,7 @@ export declare const testEnvironmentConnectionContract: {
|
|
|
2230
2238
|
readonly url: v.VariantSchema<"source", [v.ObjectSchema<{
|
|
2231
2239
|
readonly source: v.LiteralSchema<"ingressTemplate", undefined>;
|
|
2232
2240
|
readonly hostTemplate: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 500, undefined>]>;
|
|
2241
|
+
readonly port: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 65535, undefined>]>, undefined>;
|
|
2233
2242
|
readonly scheme: v.OptionalSchema<v.PicklistSchema<["http", "https"], undefined>, undefined>;
|
|
2234
2243
|
}, undefined>, v.ObjectSchema<{
|
|
2235
2244
|
readonly source: v.LiteralSchema<"ingressStatus", undefined>;
|
|
@@ -2349,6 +2358,7 @@ export declare const testEnvironmentConnectionContract: {
|
|
|
2349
2358
|
readonly url: v.VariantSchema<"source", [v.ObjectSchema<{
|
|
2350
2359
|
readonly source: v.LiteralSchema<"ingressTemplate", undefined>;
|
|
2351
2360
|
readonly hostTemplate: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 500, undefined>]>;
|
|
2361
|
+
readonly port: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 65535, undefined>]>, undefined>;
|
|
2352
2362
|
readonly scheme: v.OptionalSchema<v.PicklistSchema<["http", "https"], undefined>, undefined>;
|
|
2353
2363
|
}, undefined>, v.ObjectSchema<{
|
|
2354
2364
|
readonly source: v.LiteralSchema<"ingressStatus", undefined>;
|
|
@@ -2967,6 +2977,7 @@ export declare const detectServiceProvisioningContract: {
|
|
|
2967
2977
|
readonly urlSource: v.OptionalSchema<v.VariantSchema<"source", [v.ObjectSchema<{
|
|
2968
2978
|
readonly source: v.LiteralSchema<"ingressTemplate", undefined>;
|
|
2969
2979
|
readonly hostTemplate: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 500, undefined>]>;
|
|
2980
|
+
readonly port: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 65535, undefined>]>, undefined>;
|
|
2970
2981
|
readonly scheme: v.OptionalSchema<v.PicklistSchema<["http", "https"], undefined>, undefined>;
|
|
2971
2982
|
}, undefined>, v.ObjectSchema<{
|
|
2972
2983
|
readonly source: v.LiteralSchema<"ingressStatus", undefined>;
|
|
@@ -3326,6 +3337,7 @@ export declare const listEnvironmentHandlersContract: {
|
|
|
3326
3337
|
readonly url: v.VariantSchema<"source", [v.ObjectSchema<{
|
|
3327
3338
|
readonly source: v.LiteralSchema<"ingressTemplate", undefined>;
|
|
3328
3339
|
readonly hostTemplate: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 500, undefined>]>;
|
|
3340
|
+
readonly port: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 65535, undefined>]>, undefined>;
|
|
3329
3341
|
readonly scheme: v.OptionalSchema<v.PicklistSchema<["http", "https"], undefined>, undefined>;
|
|
3330
3342
|
}, undefined>, v.ObjectSchema<{
|
|
3331
3343
|
readonly source: v.LiteralSchema<"ingressStatus", undefined>;
|
|
@@ -3381,6 +3393,7 @@ export declare const listEnvironmentHandlersContract: {
|
|
|
3381
3393
|
readonly url: v.VariantSchema<"source", [v.ObjectSchema<{
|
|
3382
3394
|
readonly source: v.LiteralSchema<"ingressTemplate", undefined>;
|
|
3383
3395
|
readonly hostTemplate: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 500, undefined>]>;
|
|
3396
|
+
readonly port: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 65535, undefined>]>, undefined>;
|
|
3384
3397
|
readonly scheme: v.OptionalSchema<v.PicklistSchema<["http", "https"], undefined>, undefined>;
|
|
3385
3398
|
}, undefined>, v.ObjectSchema<{
|
|
3386
3399
|
readonly source: v.LiteralSchema<"ingressStatus", undefined>;
|
|
@@ -3690,6 +3703,7 @@ export declare const registerEnvironmentHandlerContract: {
|
|
|
3690
3703
|
readonly url: v.VariantSchema<"source", [v.ObjectSchema<{
|
|
3691
3704
|
readonly source: v.LiteralSchema<"ingressTemplate", undefined>;
|
|
3692
3705
|
readonly hostTemplate: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 500, undefined>]>;
|
|
3706
|
+
readonly port: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 65535, undefined>]>, undefined>;
|
|
3693
3707
|
readonly scheme: v.OptionalSchema<v.PicklistSchema<["http", "https"], undefined>, undefined>;
|
|
3694
3708
|
}, undefined>, v.ObjectSchema<{
|
|
3695
3709
|
readonly source: v.LiteralSchema<"ingressStatus", undefined>;
|
|
@@ -3745,6 +3759,7 @@ export declare const registerEnvironmentHandlerContract: {
|
|
|
3745
3759
|
readonly url: v.VariantSchema<"source", [v.ObjectSchema<{
|
|
3746
3760
|
readonly source: v.LiteralSchema<"ingressTemplate", undefined>;
|
|
3747
3761
|
readonly hostTemplate: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 500, undefined>]>;
|
|
3762
|
+
readonly port: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 65535, undefined>]>, undefined>;
|
|
3748
3763
|
readonly scheme: v.OptionalSchema<v.PicklistSchema<["http", "https"], undefined>, undefined>;
|
|
3749
3764
|
}, undefined>, v.ObjectSchema<{
|
|
3750
3765
|
readonly source: v.LiteralSchema<"ingressStatus", undefined>;
|
|
@@ -4072,6 +4087,7 @@ export declare const registerEnvironmentHandlerContract: {
|
|
|
4072
4087
|
readonly url: v.VariantSchema<"source", [v.ObjectSchema<{
|
|
4073
4088
|
readonly source: v.LiteralSchema<"ingressTemplate", undefined>;
|
|
4074
4089
|
readonly hostTemplate: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 500, undefined>]>;
|
|
4090
|
+
readonly port: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 65535, undefined>]>, undefined>;
|
|
4075
4091
|
readonly scheme: v.OptionalSchema<v.PicklistSchema<["http", "https"], undefined>, undefined>;
|
|
4076
4092
|
}, undefined>, v.ObjectSchema<{
|
|
4077
4093
|
readonly source: v.LiteralSchema<"ingressStatus", undefined>;
|
|
@@ -4127,6 +4143,7 @@ export declare const registerEnvironmentHandlerContract: {
|
|
|
4127
4143
|
readonly url: v.VariantSchema<"source", [v.ObjectSchema<{
|
|
4128
4144
|
readonly source: v.LiteralSchema<"ingressTemplate", undefined>;
|
|
4129
4145
|
readonly hostTemplate: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 500, undefined>]>;
|
|
4146
|
+
readonly port: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 65535, undefined>]>, undefined>;
|
|
4130
4147
|
readonly scheme: v.OptionalSchema<v.PicklistSchema<["http", "https"], undefined>, undefined>;
|
|
4131
4148
|
}, undefined>, v.ObjectSchema<{
|
|
4132
4149
|
readonly source: v.LiteralSchema<"ingressStatus", undefined>;
|
|
@@ -4424,6 +4441,7 @@ export declare const testEnvironmentHandlerContract: {
|
|
|
4424
4441
|
readonly url: v.VariantSchema<"source", [v.ObjectSchema<{
|
|
4425
4442
|
readonly source: v.LiteralSchema<"ingressTemplate", undefined>;
|
|
4426
4443
|
readonly hostTemplate: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 500, undefined>]>;
|
|
4444
|
+
readonly port: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 65535, undefined>]>, undefined>;
|
|
4427
4445
|
readonly scheme: v.OptionalSchema<v.PicklistSchema<["http", "https"], undefined>, undefined>;
|
|
4428
4446
|
}, undefined>, v.ObjectSchema<{
|
|
4429
4447
|
readonly source: v.LiteralSchema<"ingressStatus", undefined>;
|
|
@@ -4479,6 +4497,7 @@ export declare const testEnvironmentHandlerContract: {
|
|
|
4479
4497
|
readonly url: v.VariantSchema<"source", [v.ObjectSchema<{
|
|
4480
4498
|
readonly source: v.LiteralSchema<"ingressTemplate", undefined>;
|
|
4481
4499
|
readonly hostTemplate: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 500, undefined>]>;
|
|
4500
|
+
readonly port: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 65535, undefined>]>, undefined>;
|
|
4482
4501
|
readonly scheme: v.OptionalSchema<v.PicklistSchema<["http", "https"], undefined>, undefined>;
|
|
4483
4502
|
}, undefined>, v.ObjectSchema<{
|
|
4484
4503
|
readonly source: v.LiteralSchema<"ingressStatus", undefined>;
|
|
@@ -4854,6 +4873,7 @@ export declare const updateEnvironmentHandlerSecretsContract: {
|
|
|
4854
4873
|
readonly url: v.VariantSchema<"source", [v.ObjectSchema<{
|
|
4855
4874
|
readonly source: v.LiteralSchema<"ingressTemplate", undefined>;
|
|
4856
4875
|
readonly hostTemplate: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 500, undefined>]>;
|
|
4876
|
+
readonly port: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 65535, undefined>]>, undefined>;
|
|
4857
4877
|
readonly scheme: v.OptionalSchema<v.PicklistSchema<["http", "https"], undefined>, undefined>;
|
|
4858
4878
|
}, undefined>, v.ObjectSchema<{
|
|
4859
4879
|
readonly source: v.LiteralSchema<"ingressStatus", undefined>;
|
|
@@ -4909,6 +4929,7 @@ export declare const updateEnvironmentHandlerSecretsContract: {
|
|
|
4909
4929
|
readonly url: v.VariantSchema<"source", [v.ObjectSchema<{
|
|
4910
4930
|
readonly source: v.LiteralSchema<"ingressTemplate", undefined>;
|
|
4911
4931
|
readonly hostTemplate: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 500, undefined>]>;
|
|
4932
|
+
readonly port: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 65535, undefined>]>, undefined>;
|
|
4912
4933
|
readonly scheme: v.OptionalSchema<v.PicklistSchema<["http", "https"], undefined>, undefined>;
|
|
4913
4934
|
}, undefined>, v.ObjectSchema<{
|
|
4914
4935
|
readonly source: v.LiteralSchema<"ingressStatus", undefined>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"environments.d.ts","sourceRoot":"","sources":["../../src/routes/environments.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAqB,MAAM,yBAAyB,CAAA;AAC3E,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AA8C5B,eAAO,MAAM,gCAAgC
|
|
1
|
+
{"version":3,"file":"environments.d.ts","sourceRoot":"","sources":["../../src/routes/environments.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAqB,MAAM,yBAAyB,CAAA;AAC3E,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AA8C5B,eAAO,MAAM,gCAAgC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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A+D;AAC/D,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAKrC,CAAA;AAEF,4FAA4F;AAC5F,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAMtC,CAAA"}
|
|
@@ -433,6 +433,8 @@ export declare const createPublicTaskContract: {
|
|
|
433
433
|
content: string;
|
|
434
434
|
})[], 10, undefined>]>, undefined>;
|
|
435
435
|
readonly fields: import("valibot").OptionalSchema<import("valibot").RecordSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>, import("valibot").MaxLengthAction<string, 80, undefined>]>, import("valibot").UnionSchema<[import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 2000, undefined>]>, import("valibot").SchemaWithPipe<readonly [import("valibot").ArraySchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 2000, undefined>]>, undefined>, import("valibot").MaxLengthAction<string[], 50, undefined>]>, import("valibot").BooleanSchema<undefined>, import("valibot").NumberSchema<undefined>], undefined>, undefined>, undefined>;
|
|
436
|
+
readonly modelPresetId: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").TrimAction, import("valibot").MinLengthAction<string, 1, undefined>, import("valibot").MaxLengthAction<string, 120, undefined>]>, undefined>;
|
|
437
|
+
readonly riskPolicyId: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").TrimAction, import("valibot").MinLengthAction<string, 1, undefined>, import("valibot").MaxLengthAction<string, 120, undefined>]>, undefined>;
|
|
436
438
|
}, undefined>;
|
|
437
439
|
readonly responsesByStatusCode: {
|
|
438
440
|
readonly '4xx': import("valibot").ObjectSchema<{
|
|
@@ -469,6 +471,8 @@ export declare const createPublicTaskContract: {
|
|
|
469
471
|
readonly pullRequestUrl: import("valibot").NullableSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
470
472
|
readonly dependsOn: import("valibot").ArraySchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
471
473
|
readonly autoStartDependents: import("valibot").BooleanSchema<undefined>;
|
|
474
|
+
readonly modelPresetId: import("valibot").NullableSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
475
|
+
readonly riskPolicyId: import("valibot").NullableSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
472
476
|
}, undefined>;
|
|
473
477
|
};
|
|
474
478
|
} & {
|
|
@@ -528,6 +532,8 @@ export declare const listPublicServiceTasksContract: {
|
|
|
528
532
|
readonly pullRequestUrl: import("valibot").NullableSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
529
533
|
readonly dependsOn: import("valibot").ArraySchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
530
534
|
readonly autoStartDependents: import("valibot").BooleanSchema<undefined>;
|
|
535
|
+
readonly modelPresetId: import("valibot").NullableSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
536
|
+
readonly riskPolicyId: import("valibot").NullableSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
531
537
|
}, undefined>, undefined>;
|
|
532
538
|
readonly nextCursor: import("valibot").NullableSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
533
539
|
}, undefined>;
|
|
@@ -579,6 +585,8 @@ export declare const getPublicTaskContract: {
|
|
|
579
585
|
readonly pullRequestUrl: import("valibot").NullableSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
580
586
|
readonly dependsOn: import("valibot").ArraySchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
581
587
|
readonly autoStartDependents: import("valibot").BooleanSchema<undefined>;
|
|
588
|
+
readonly modelPresetId: import("valibot").NullableSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
589
|
+
readonly riskPolicyId: import("valibot").NullableSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
582
590
|
}, undefined>;
|
|
583
591
|
};
|
|
584
592
|
} & {
|
|
@@ -631,6 +639,8 @@ export declare const startPublicTaskContract: {
|
|
|
631
639
|
readonly pullRequestUrl: import("valibot").NullableSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
632
640
|
readonly dependsOn: import("valibot").ArraySchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
633
641
|
readonly autoStartDependents: import("valibot").BooleanSchema<undefined>;
|
|
642
|
+
readonly modelPresetId: import("valibot").NullableSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
643
|
+
readonly riskPolicyId: import("valibot").NullableSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
634
644
|
}, undefined>;
|
|
635
645
|
};
|
|
636
646
|
} & {
|
|
@@ -650,6 +660,8 @@ export declare const updatePublicTaskContract: {
|
|
|
650
660
|
readonly description: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").TrimAction, import("valibot").MaxLengthAction<string, 2000, undefined>]>, undefined>;
|
|
651
661
|
readonly fields: import("valibot").OptionalSchema<import("valibot").RecordSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>, import("valibot").MaxLengthAction<string, 80, undefined>]>, import("valibot").UnionSchema<[import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 2000, undefined>]>, import("valibot").SchemaWithPipe<readonly [import("valibot").ArraySchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 2000, undefined>]>, undefined>, import("valibot").MaxLengthAction<string[], 50, undefined>]>, import("valibot").BooleanSchema<undefined>, import("valibot").NumberSchema<undefined>], undefined>, undefined>, undefined>;
|
|
652
662
|
readonly autoStartDependents: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
|
|
663
|
+
readonly modelPresetId: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").TrimAction, import("valibot").MinLengthAction<string, 1, undefined>, import("valibot").MaxLengthAction<string, 120, undefined>]>, undefined>;
|
|
664
|
+
readonly riskPolicyId: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").TrimAction, import("valibot").MinLengthAction<string, 1, undefined>, import("valibot").MaxLengthAction<string, 120, undefined>]>, undefined>;
|
|
653
665
|
}, undefined>;
|
|
654
666
|
readonly responsesByStatusCode: {
|
|
655
667
|
readonly '4xx': import("valibot").ObjectSchema<{
|
|
@@ -686,6 +698,8 @@ export declare const updatePublicTaskContract: {
|
|
|
686
698
|
readonly pullRequestUrl: import("valibot").NullableSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
687
699
|
readonly dependsOn: import("valibot").ArraySchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
688
700
|
readonly autoStartDependents: import("valibot").BooleanSchema<undefined>;
|
|
701
|
+
readonly modelPresetId: import("valibot").NullableSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
702
|
+
readonly riskPolicyId: import("valibot").NullableSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
689
703
|
}, undefined>;
|
|
690
704
|
};
|
|
691
705
|
} & {
|
|
@@ -736,6 +750,8 @@ export declare const stopPublicTaskContract: {
|
|
|
736
750
|
readonly pullRequestUrl: import("valibot").NullableSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
737
751
|
readonly dependsOn: import("valibot").ArraySchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
738
752
|
readonly autoStartDependents: import("valibot").BooleanSchema<undefined>;
|
|
753
|
+
readonly modelPresetId: import("valibot").NullableSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
754
|
+
readonly riskPolicyId: import("valibot").NullableSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
739
755
|
}, undefined>;
|
|
740
756
|
};
|
|
741
757
|
} & {
|
|
@@ -786,6 +802,8 @@ export declare const retryPublicTaskContract: {
|
|
|
786
802
|
readonly pullRequestUrl: import("valibot").NullableSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
787
803
|
readonly dependsOn: import("valibot").ArraySchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
788
804
|
readonly autoStartDependents: import("valibot").BooleanSchema<undefined>;
|
|
805
|
+
readonly modelPresetId: import("valibot").NullableSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
806
|
+
readonly riskPolicyId: import("valibot").NullableSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
789
807
|
}, undefined>;
|
|
790
808
|
};
|
|
791
809
|
} & {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"public-api.d.ts","sourceRoot":"","sources":["../../src/routes/public-api.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAqB,MAAM,yBAAyB,CAAA;AAmD3E,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAIpC,CAAA;AAEF,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAKrC,CAAA;AAEF,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAKrC,CAAA;AAIF;;;;;GAKG;AACH,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAQnC,CAAA;AAED;;;;GAIG;AACH,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAQlC,CAAA;AAED,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAQhC,CAAA;AAED;;;;;;;GAOG;AACH,eAAO,MAAM,uBAA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are const addPublicTaskDependencyContract: {
|
|
|
173
173
|
readonly pullRequestUrl: import("valibot").NullableSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
174
174
|
readonly dependsOn: import("valibot").ArraySchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
175
175
|
readonly autoStartDependents: import("valibot").BooleanSchema<undefined>;
|
|
176
|
+
readonly modelPresetId: import("valibot").NullableSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
177
|
+
readonly riskPolicyId: import("valibot").NullableSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
176
178
|
}, undefined>;
|
|
177
179
|
};
|
|
178
180
|
} & {
|
|
@@ -225,6 +227,8 @@ export declare const removePublicTaskDependencyContract: {
|
|
|
225
227
|
readonly pullRequestUrl: import("valibot").NullableSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
226
228
|
readonly dependsOn: import("valibot").ArraySchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
227
229
|
readonly autoStartDependents: import("valibot").BooleanSchema<undefined>;
|
|
230
|
+
readonly modelPresetId: import("valibot").NullableSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
231
|
+
readonly riskPolicyId: import("valibot").NullableSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
228
232
|
}, undefined>;
|
|
229
233
|
};
|
|
230
234
|
} & {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"public-board.d.ts","sourceRoot":"","sources":["../../src/routes/public-board.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAqB,MAAM,yBAAyB,CAAA;AAsC3E;;;;;;;;GAQG;AACH,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAOnC,CAAA;AAED;;;;;;;;;GASG;AACH,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAQvC,CAAA;AAID;;;;GAIG;AACH,eAAO,MAAM,+BAA+B
|
|
1
|
+
{"version":3,"file":"public-board.d.ts","sourceRoot":"","sources":["../../src/routes/public-board.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAqB,MAAM,yBAAyB,CAAA;AAsC3E;;;;;;;;GAQG;AACH,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAOnC,CAAA;AAED;;;;;;;;;GASG;AACH,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAQvC,CAAA;AAID;;;;GAIG;AACH,eAAO,MAAM,+BAA+B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAS3C,CAAA;AAED,0EAA0E;AAC1E,eAAO,MAAM,kCAAkC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAS9C,CAAA;AAID,wFAAwF;AACxF,eAAO,MAAM,+BAA+B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAQ3C,CAAA;AAED;;;GAGG;AACH,eAAO,MAAM,gCAAgC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAS5C,CAAA;AAED;;;;;;;GAOG;AACH,eAAO,MAAM,gCAAgC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAS5C,CAAA"}
|
|
@@ -157,6 +157,7 @@ export declare const testPublicEnvironmentConnectionContract: {
|
|
|
157
157
|
readonly url: import("valibot").VariantSchema<"source", [import("valibot").ObjectSchema<{
|
|
158
158
|
readonly source: import("valibot").LiteralSchema<"ingressTemplate", undefined>;
|
|
159
159
|
readonly hostTemplate: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").TrimAction, import("valibot").MinLengthAction<string, 1, undefined>, import("valibot").MaxLengthAction<string, 500, undefined>]>;
|
|
160
|
+
readonly port: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 1, undefined>, import("valibot").MaxValueAction<number, 65535, undefined>]>, undefined>;
|
|
160
161
|
readonly scheme: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["http", "https"], undefined>, undefined>;
|
|
161
162
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
162
163
|
readonly source: import("valibot").LiteralSchema<"ingressStatus", undefined>;
|
|
@@ -237,6 +238,7 @@ export declare const connectPublicEnvironmentContract: {
|
|
|
237
238
|
readonly url: import("valibot").VariantSchema<"source", [import("valibot").ObjectSchema<{
|
|
238
239
|
readonly source: import("valibot").LiteralSchema<"ingressTemplate", undefined>;
|
|
239
240
|
readonly hostTemplate: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").TrimAction, import("valibot").MinLengthAction<string, 1, undefined>, import("valibot").MaxLengthAction<string, 500, undefined>]>;
|
|
241
|
+
readonly port: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 1, undefined>, import("valibot").MaxValueAction<number, 65535, undefined>]>, undefined>;
|
|
240
242
|
readonly scheme: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["http", "https"], undefined>, undefined>;
|
|
241
243
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
242
244
|
readonly source: import("valibot").LiteralSchema<"ingressStatus", undefined>;
|
|
@@ -491,10 +493,15 @@ export declare const getPublicVcsConnectionContract: {
|
|
|
491
493
|
readonly minScope: "admin";
|
|
492
494
|
};
|
|
493
495
|
/**
|
|
494
|
-
* The workspace's
|
|
496
|
+
* The workspace's risk-policy library. The `isDefault` row is the policy a task that pins none
|
|
495
497
|
* resolves, so it is the one that decides whether this caller's runs can land without a person.
|
|
498
|
+
*
|
|
499
|
+
* The id a caller reads here is the one it pins as `riskPolicyId`. It answered at
|
|
500
|
+
* `/api/v1/merge-presets` in 1.41.0, under the name the product renamed away from a month before
|
|
501
|
+
* that release; the correction is a rename in place rather than a dual-served migration because
|
|
502
|
+
* 1.41.0 had no adopters, and `backend/docs/public-api-versions.md` records the exception.
|
|
496
503
|
*/
|
|
497
|
-
export declare const
|
|
504
|
+
export declare const listPublicRiskPoliciesContract: {
|
|
498
505
|
readonly method: "get";
|
|
499
506
|
readonly pathResolver: () => string;
|
|
500
507
|
readonly responsesByStatusCode: {
|
|
@@ -521,8 +528,8 @@ export declare const listPublicMergePresetsContract: {
|
|
|
521
528
|
}, undefined>;
|
|
522
529
|
}, undefined>;
|
|
523
530
|
readonly 200: import("valibot").ObjectSchema<{
|
|
524
|
-
readonly
|
|
525
|
-
readonly
|
|
531
|
+
readonly policies: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
|
|
532
|
+
readonly policyId: import("valibot").StringSchema<undefined>;
|
|
526
533
|
readonly name: import("valibot").StringSchema<undefined>;
|
|
527
534
|
readonly isDefault: import("valibot").BooleanSchema<undefined>;
|
|
528
535
|
readonly autoMergeEnabled: import("valibot").BooleanSchema<undefined>;
|
|
@@ -535,4 +542,58 @@ export declare const listPublicMergePresetsContract: {
|
|
|
535
542
|
} & {
|
|
536
543
|
readonly minScope: "admin";
|
|
537
544
|
};
|
|
545
|
+
/**
|
|
546
|
+
* The workspace's model-preset library, and which one a task pinning none resolves.
|
|
547
|
+
*
|
|
548
|
+
* Beside the risk policies rather than beside the pipelines because the two libraries are siblings:
|
|
549
|
+
* a caller setting a workspace up reads both to learn what its runs will cost and whether they can
|
|
550
|
+
* land. It is what makes `modelPresetId` on task create usable, since an id a caller cannot
|
|
551
|
+
* discover is one it has to hard-code.
|
|
552
|
+
*
|
|
553
|
+
* `admin` follows this file's rule and ADR 0034's reversibility argument, not a claim that a lower
|
|
554
|
+
* rung would be wrong. A `write` key can PIN a preset and cannot LIST one, which is the same gap the
|
|
555
|
+
* public pipeline list was added to close, so relaxing this to `read` is the likely next step. That
|
|
556
|
+
* direction is available; the other one is not. What a refused pin may NOT do is close the gap by
|
|
557
|
+
* accident: the `422` names the id that missed and never the library's contents, or a `write` key
|
|
558
|
+
* would read by typo what this route holds at `admin`.
|
|
559
|
+
*/
|
|
560
|
+
export declare const listPublicModelPresetsContract: {
|
|
561
|
+
readonly method: "get";
|
|
562
|
+
readonly pathResolver: () => string;
|
|
563
|
+
readonly responsesByStatusCode: {
|
|
564
|
+
readonly '4xx': import("valibot").ObjectSchema<{
|
|
565
|
+
readonly error: import("valibot").ObjectSchema<{
|
|
566
|
+
readonly code: import("valibot").StringSchema<undefined>;
|
|
567
|
+
readonly message: import("valibot").StringSchema<undefined>;
|
|
568
|
+
readonly details: import("valibot").OptionalSchema<import("valibot").UnknownSchema, undefined>;
|
|
569
|
+
readonly issues: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").ObjectSchema<{
|
|
570
|
+
readonly path: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
571
|
+
readonly message: import("valibot").StringSchema<undefined>;
|
|
572
|
+
}, undefined>, undefined>, undefined>;
|
|
573
|
+
}, undefined>;
|
|
574
|
+
}, undefined>;
|
|
575
|
+
readonly '5xx': import("valibot").ObjectSchema<{
|
|
576
|
+
readonly error: import("valibot").ObjectSchema<{
|
|
577
|
+
readonly code: import("valibot").StringSchema<undefined>;
|
|
578
|
+
readonly message: import("valibot").StringSchema<undefined>;
|
|
579
|
+
readonly details: import("valibot").OptionalSchema<import("valibot").UnknownSchema, undefined>;
|
|
580
|
+
readonly issues: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").ObjectSchema<{
|
|
581
|
+
readonly path: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
582
|
+
readonly message: import("valibot").StringSchema<undefined>;
|
|
583
|
+
}, undefined>, undefined>, undefined>;
|
|
584
|
+
}, undefined>;
|
|
585
|
+
}, undefined>;
|
|
586
|
+
readonly 200: import("valibot").ObjectSchema<{
|
|
587
|
+
readonly presets: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
|
|
588
|
+
readonly presetId: import("valibot").StringSchema<undefined>;
|
|
589
|
+
readonly name: import("valibot").StringSchema<undefined>;
|
|
590
|
+
readonly isDefault: import("valibot").BooleanSchema<undefined>;
|
|
591
|
+
readonly baseModelId: import("valibot").StringSchema<undefined>;
|
|
592
|
+
readonly overrides: import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").StringSchema<undefined>, undefined>;
|
|
593
|
+
}, undefined>, undefined>;
|
|
594
|
+
}, undefined>;
|
|
595
|
+
};
|
|
596
|
+
} & {
|
|
597
|
+
readonly minScope: "admin";
|
|
598
|
+
};
|
|
538
599
|
//# sourceMappingURL=public-provisioning.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"public-provisioning.d.ts","sourceRoot":"","sources":["../../src/routes/public-provisioning.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"public-provisioning.d.ts","sourceRoot":"","sources":["../../src/routes/public-provisioning.ts"],"names":[],"mappings":"AA2CA;;;;;;;GAOG;AACH,eAAO,MAAM,gCAAgC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAQ5C,CAAA;AAED,qFAAqF;AACrF,eAAO,MAAM,8BAA8B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAQ1C,CAAA;AAID;;;;;;;;GAQG;AACH,eAAO,MAAM,uCAAuC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAQnD,CAAA;AAED;;;;;;GAMG;AACH,eAAO,MAAM,gCAAgC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAQ5C,CAAA;AAID;;;;;;;;;;GAUG;AACH,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CASvC,CAAA;AAID;;;;;GAKG;AACH,eAAO,MAAM,6BAA6B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAOzC,CAAA;AAED;;;;GAIG;AACH,eAAO,MAAM,8BAA8B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAO1C,CAAA;AAED;;;;;;;;GAQG;AACH,eAAO,MAAM,8BAA8B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAO1C,CAAA;AAED;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,8BAA8B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAO1C,CAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineApiContract } from '@toad-contracts/valibot';
|
|
2
|
-
import { connectPublicEnvironmentSchema, publicBootstrapJobSchema, publicBootstrapRepoSchema, publicEnvironmentConnectionTestSchema, publicEnvironmentConnectionViewSchema,
|
|
2
|
+
import { connectPublicEnvironmentSchema, publicBootstrapJobSchema, publicBootstrapRepoSchema, publicEnvironmentConnectionTestSchema, publicEnvironmentConnectionViewSchema, publicModelPresetListSchema, publicRiskPolicyListSchema, publicVcsConnectionViewSchema, publicWiredModelListSchema, testPublicEnvironmentConnectionSchema, updatePublicServiceSchema, } from '../public-provisioning.js';
|
|
3
3
|
import { publicServiceSchema } from '../public-api.js';
|
|
4
4
|
import { errorResponses, singleStringParam, withMinScope } from './_shared.js';
|
|
5
5
|
// ---------------------------------------------------------------------------
|
|
@@ -117,12 +117,37 @@ export const getPublicVcsConnectionContract = withMinScope('admin', defineApiCon
|
|
|
117
117
|
responsesByStatusCode: { 200: publicVcsConnectionViewSchema, ...errorResponses },
|
|
118
118
|
}));
|
|
119
119
|
/**
|
|
120
|
-
* The workspace's
|
|
120
|
+
* The workspace's risk-policy library. The `isDefault` row is the policy a task that pins none
|
|
121
121
|
* resolves, so it is the one that decides whether this caller's runs can land without a person.
|
|
122
|
+
*
|
|
123
|
+
* The id a caller reads here is the one it pins as `riskPolicyId`. It answered at
|
|
124
|
+
* `/api/v1/merge-presets` in 1.41.0, under the name the product renamed away from a month before
|
|
125
|
+
* that release; the correction is a rename in place rather than a dual-served migration because
|
|
126
|
+
* 1.41.0 had no adopters, and `backend/docs/public-api-versions.md` records the exception.
|
|
127
|
+
*/
|
|
128
|
+
export const listPublicRiskPoliciesContract = withMinScope('admin', defineApiContract({
|
|
129
|
+
method: 'get',
|
|
130
|
+
pathResolver: () => '/api/v1/risk-policies',
|
|
131
|
+
responsesByStatusCode: { 200: publicRiskPolicyListSchema, ...errorResponses },
|
|
132
|
+
}));
|
|
133
|
+
/**
|
|
134
|
+
* The workspace's model-preset library, and which one a task pinning none resolves.
|
|
135
|
+
*
|
|
136
|
+
* Beside the risk policies rather than beside the pipelines because the two libraries are siblings:
|
|
137
|
+
* a caller setting a workspace up reads both to learn what its runs will cost and whether they can
|
|
138
|
+
* land. It is what makes `modelPresetId` on task create usable, since an id a caller cannot
|
|
139
|
+
* discover is one it has to hard-code.
|
|
140
|
+
*
|
|
141
|
+
* `admin` follows this file's rule and ADR 0034's reversibility argument, not a claim that a lower
|
|
142
|
+
* rung would be wrong. A `write` key can PIN a preset and cannot LIST one, which is the same gap the
|
|
143
|
+
* public pipeline list was added to close, so relaxing this to `read` is the likely next step. That
|
|
144
|
+
* direction is available; the other one is not. What a refused pin may NOT do is close the gap by
|
|
145
|
+
* accident: the `422` names the id that missed and never the library's contents, or a `write` key
|
|
146
|
+
* would read by typo what this route holds at `admin`.
|
|
122
147
|
*/
|
|
123
|
-
export const
|
|
148
|
+
export const listPublicModelPresetsContract = withMinScope('admin', defineApiContract({
|
|
124
149
|
method: 'get',
|
|
125
|
-
pathResolver: () => '/api/v1/
|
|
126
|
-
responsesByStatusCode: { 200:
|
|
150
|
+
pathResolver: () => '/api/v1/model-presets',
|
|
151
|
+
responsesByStatusCode: { 200: publicModelPresetListSchema, ...errorResponses },
|
|
127
152
|
}));
|
|
128
153
|
//# sourceMappingURL=public-provisioning.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"public-provisioning.js","sourceRoot":"","sources":["../../src/routes/public-provisioning.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAA;AAC3D,OAAO,EACL,8BAA8B,EAC9B,wBAAwB,EACxB,yBAAyB,EACzB,qCAAqC,EACrC,qCAAqC,EACrC,2BAA2B,EAC3B,6BAA6B,EAC7B,0BAA0B,EAC1B,qCAAqC,EACrC,yBAAyB,GAC1B,MAAM,2BAA2B,CAAA;AAClC,OAAO,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAA;AACtD,OAAO,EAAE,cAAc,EAAE,iBAAiB,EAAE,YAAY,EAAE,MAAM,cAAc,CAAA;AAE9E,8EAA8E;AAC9E,uEAAuE;AACvE,EAAE;AACF,kGAAkG;AAClG,gGAAgG;AAChG,oGAAoG;AACpG,oEAAoE;AACpE,EAAE;AACF,+FAA+F;AAC/F,oGAAoG;AACpG,iGAAiG;AACjG,+FAA+F;AAC/F,kGAAkG;AAClG,8FAA8F;AAC9F,oFAAoF;AACpF,EAAE;AACF,oGAAoG;AACpG,iGAAiG;AACjG,0BAA0B;AAC1B,8EAA8E;AAE9E,MAAM,WAAW,GAAG,iBAAiB,CAAC,OAAO,CAAC,CAAA;AAC9C,MAAM,eAAe,GAAG,iBAAiB,CAAC,WAAW,CAAC,CAAA;AAEtD,gFAAgF;AAEhF;;;;;;;GAOG;AACH,MAAM,CAAC,MAAM,gCAAgC,GAAG,YAAY,CAC1D,OAAO,E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M,EAAE,OAAO;IACf,uBAAuB,EAAE,eAAe;IACxC,YAAY,EAAE,CAAC,EAAE,SAAS,EAAE,EAAE,EAAE,CAAC,oBAAoB,SAAS,EAAE;IAChE,iBAAiB,EAAE,yBAAyB;IAC5C,qBAAqB,EAAE,EAAE,GAAG,EAAE,mBAAmB,EAAE,GAAG,cAAc,EAAE;CACvE,CAAC,CACH,CAAA;AAED,gFAAgF;AAEhF;;;;;GAKG;AACH,MAAM,CAAC,MAAM,6BAA6B,GAAG,YAAY,CACvD,OAAO,EACP,iBAAiB,CAAC;IAChB,MAAM,EAAE,KAAK;IACb,YAAY,EAAE,GAAG,EAAE,CAAC,gBAAgB;IACpC,qBAAqB,EAAE,EAAE,GAAG,EAAE,0BAA0B,EAAE,GAAG,cAAc,EAAE;CAC9E,CAAC,CACH,CAAA;AAED;;;;GAIG;AACH,MAAM,CAAC,MAAM,8BAA8B,GAAG,YAAY,CACxD,OAAO,EACP,iBAAiB,CAAC;IAChB,MAAM,EAAE,KAAK;IACb,YAAY,EAAE,GAAG,EAAE,CAAC,wBAAwB;IAC5C,qBAAqB,EAAE,EAAE,GAAG,EAAE,6BAA6B,EAAE,GAAG,cAAc,EAAE;CACjF,CAAC,CACH,CAAA;AAED
|
|
1
|
+
{"version":3,"file":"public-provisioning.js","sourceRoot":"","sources":["../../src/routes/public-provisioning.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAA;AAC3D,OAAO,EACL,8BAA8B,EAC9B,wBAAwB,EACxB,yBAAyB,EACzB,qCAAqC,EACrC,qCAAqC,EACrC,2BAA2B,EAC3B,0BAA0B,EAC1B,6BAA6B,EAC7B,0BAA0B,EAC1B,qCAAqC,EACrC,yBAAyB,GAC1B,MAAM,2BAA2B,CAAA;AAClC,OAAO,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAA;AACtD,OAAO,EAAE,cAAc,EAAE,iBAAiB,EAAE,YAAY,EAAE,MAAM,cAAc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