@cat-factory/contracts 0.70.0 → 0.71.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.
@@ -2188,6 +2188,22 @@ export declare const detectServiceProvisioningContract: {
2188
2188
  readonly name: v.StringSchema<undefined>;
2189
2189
  readonly recommended: v.BooleanSchema<undefined>;
2190
2190
  }, undefined>, undefined>, undefined>;
2191
+ readonly manifestRootCandidates: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
2192
+ readonly path: v.StringSchema<undefined>;
2193
+ readonly name: v.StringSchema<undefined>;
2194
+ readonly renderer: v.PicklistSchema<["raw", "kustomize"], undefined>;
2195
+ readonly recommended: v.BooleanSchema<undefined>;
2196
+ }, undefined>, undefined>, undefined>;
2197
+ readonly serviceDirCandidates: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
2198
+ readonly path: v.StringSchema<undefined>;
2199
+ readonly name: v.StringSchema<undefined>;
2200
+ readonly recommended: v.BooleanSchema<undefined>;
2201
+ }, undefined>, undefined>, undefined>;
2202
+ readonly composeServiceCandidates: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
2203
+ readonly composePath: v.StringSchema<undefined>;
2204
+ readonly service: v.StringSchema<undefined>;
2205
+ readonly recommended: v.BooleanSchema<undefined>;
2206
+ }, undefined>, undefined>, undefined>;
2191
2207
  readonly notes: v.ArraySchema<v.ObjectSchema<{
2192
2208
  readonly field: v.StringSchema<undefined>;
2193
2209
  readonly confidence: v.PicklistSchema<["high", "low"], undefined>;
@@ -2233,6 +2249,7 @@ export declare const listEnvironmentHandlersContract: {
2233
2249
  readonly connectedAt: v.NumberSchema<undefined>;
2234
2250
  readonly secretKeys: v.ArraySchema<v.StringSchema<undefined>, undefined>;
2235
2251
  readonly acceptsManifestId: v.NullableSchema<v.StringSchema<undefined>, undefined>;
2252
+ readonly backendKind: v.StringSchema<undefined>;
2236
2253
  readonly config: v.OptionalSchema<v.VariantSchema<"engine", [v.ObjectSchema<{
2237
2254
  readonly engine: v.LiteralSchema<"local-docker", undefined>;
2238
2255
  readonly manifest: v.ObjectSchema<{
@@ -2954,6 +2971,7 @@ export declare const registerEnvironmentHandlerContract: {
2954
2971
  readonly connectedAt: v.NumberSchema<undefined>;
2955
2972
  readonly secretKeys: v.ArraySchema<v.StringSchema<undefined>, undefined>;
2956
2973
  readonly acceptsManifestId: v.NullableSchema<v.StringSchema<undefined>, undefined>;
2974
+ readonly backendKind: v.StringSchema<undefined>;
2957
2975
  readonly config: v.OptionalSchema<v.VariantSchema<"engine", [v.ObjectSchema<{
2958
2976
  readonly engine: v.LiteralSchema<"local-docker", undefined>;
2959
2977
  readonly manifest: v.ObjectSchema<{
@@ -3291,6 +3309,376 @@ export declare const registerEnvironmentHandlerContract: {
3291
3309
  }, undefined>;
3292
3310
  };
3293
3311
  };
3312
+ export declare const testEnvironmentHandlerContract: {
3313
+ readonly method: "post";
3314
+ readonly pathResolver: () => string;
3315
+ readonly requestBodySchema: v.ObjectSchema<{
3316
+ readonly config: v.VariantSchema<"engine", [v.ObjectSchema<{
3317
+ readonly engine: v.LiteralSchema<"local-docker", undefined>;
3318
+ readonly manifest: v.ObjectSchema<{
3319
+ readonly providerId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 64, undefined>]>;
3320
+ readonly label: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 120, undefined>]>;
3321
+ readonly baseUrl: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 2000, undefined>]>;
3322
+ readonly auth: v.VariantSchema<"type", [v.ObjectSchema<{
3323
+ readonly type: v.LiteralSchema<"none", undefined>;
3324
+ }, undefined>, v.ObjectSchema<{
3325
+ readonly type: v.LiteralSchema<"api_key", undefined>;
3326
+ readonly headerName: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
3327
+ readonly secretRef: v.ObjectSchema<{
3328
+ readonly key: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 64, undefined>]>;
3329
+ }, undefined>;
3330
+ readonly valuePrefix: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
3331
+ }, undefined>, v.ObjectSchema<{
3332
+ readonly type: v.LiteralSchema<"bearer", undefined>;
3333
+ readonly secretRef: v.ObjectSchema<{
3334
+ readonly key: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 64, undefined>]>;
3335
+ }, undefined>;
3336
+ }, undefined>, v.ObjectSchema<{
3337
+ readonly type: v.LiteralSchema<"basic", undefined>;
3338
+ readonly usernameSecretRef: v.ObjectSchema<{
3339
+ readonly key: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 64, undefined>]>;
3340
+ }, undefined>;
3341
+ readonly passwordSecretRef: v.ObjectSchema<{
3342
+ readonly key: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 64, undefined>]>;
3343
+ }, undefined>;
3344
+ }, undefined>, v.ObjectSchema<{
3345
+ readonly type: v.LiteralSchema<"oauth2_client_credentials", undefined>;
3346
+ readonly tokenUrl: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 2000, undefined>]>;
3347
+ readonly clientIdSecretRef: v.ObjectSchema<{
3348
+ readonly key: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 64, undefined>]>;
3349
+ }, undefined>;
3350
+ readonly clientSecretSecretRef: v.ObjectSchema<{
3351
+ readonly key: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 64, undefined>]>;
3352
+ }, undefined>;
3353
+ readonly scope: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
3354
+ readonly audience: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
3355
+ }, undefined>, v.ObjectSchema<{
3356
+ readonly type: v.LiteralSchema<"custom_headers", undefined>;
3357
+ readonly headers: v.ArraySchema<v.ObjectSchema<{
3358
+ readonly name: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
3359
+ readonly secretRef: v.ObjectSchema<{
3360
+ readonly key: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 64, undefined>]>;
3361
+ }, undefined>;
3362
+ }, undefined>, undefined>;
3363
+ }, undefined>], undefined>;
3364
+ readonly provision: v.ObjectSchema<{
3365
+ readonly method: v.PicklistSchema<["GET", "POST", "PUT", "PATCH", "DELETE"], undefined>;
3366
+ readonly pathTemplate: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>;
3367
+ readonly query: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
3368
+ readonly key: v.StringSchema<undefined>;
3369
+ readonly value: v.StringSchema<undefined>;
3370
+ }, undefined>, undefined>, undefined>;
3371
+ readonly headers: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
3372
+ readonly name: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
3373
+ readonly value: v.StringSchema<undefined>;
3374
+ }, undefined>, undefined>, undefined>;
3375
+ readonly bodyTemplate: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
3376
+ readonly timeoutMs: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 60000, undefined>]>, undefined>;
3377
+ }, undefined>;
3378
+ readonly status: v.OptionalSchema<v.ObjectSchema<{
3379
+ readonly method: v.PicklistSchema<["GET", "POST", "PUT", "PATCH", "DELETE"], undefined>;
3380
+ readonly pathTemplate: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>;
3381
+ readonly query: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
3382
+ readonly key: v.StringSchema<undefined>;
3383
+ readonly value: v.StringSchema<undefined>;
3384
+ }, undefined>, undefined>, undefined>;
3385
+ readonly headers: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
3386
+ readonly name: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
3387
+ readonly value: v.StringSchema<undefined>;
3388
+ }, undefined>, undefined>, undefined>;
3389
+ readonly bodyTemplate: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
3390
+ readonly timeoutMs: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 60000, undefined>]>, undefined>;
3391
+ }, undefined>, undefined>;
3392
+ readonly teardown: v.OptionalSchema<v.ObjectSchema<{
3393
+ readonly method: v.PicklistSchema<["GET", "POST", "PUT", "PATCH", "DELETE"], undefined>;
3394
+ readonly pathTemplate: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>;
3395
+ readonly query: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
3396
+ readonly key: v.StringSchema<undefined>;
3397
+ readonly value: v.StringSchema<undefined>;
3398
+ }, undefined>, undefined>, undefined>;
3399
+ readonly headers: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
3400
+ readonly name: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
3401
+ readonly value: v.StringSchema<undefined>;
3402
+ }, undefined>, undefined>, undefined>;
3403
+ readonly bodyTemplate: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
3404
+ readonly timeoutMs: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 60000, undefined>]>, undefined>;
3405
+ }, undefined>, undefined>;
3406
+ readonly response: v.ObjectSchema<{
3407
+ readonly urlPath: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
3408
+ readonly statusPath: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
3409
+ readonly statusMap: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
3410
+ readonly from: v.StringSchema<undefined>;
3411
+ readonly to: v.PicklistSchema<["provisioning", "ready", "failed", "expired", "tearing_down", "torn_down"], undefined>;
3412
+ }, undefined>, undefined>, undefined>;
3413
+ readonly expiresAtPath: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
3414
+ readonly externalIdPath: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
3415
+ readonly access: v.OptionalSchema<v.ObjectSchema<{
3416
+ readonly scheme: v.PicklistSchema<["none", "bearer", "basic", "custom_header"], undefined>;
3417
+ readonly tokenPath: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
3418
+ readonly usernamePath: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
3419
+ readonly passwordPath: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
3420
+ readonly headerName: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
3421
+ readonly headerValuePath: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
3422
+ }, undefined>, undefined>;
3423
+ }, undefined>;
3424
+ readonly defaultTtlMs: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 60000, undefined>]>, undefined>;
3425
+ readonly providerConfig: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>;
3426
+ }, undefined>;
3427
+ }, undefined>, v.ObjectSchema<{
3428
+ readonly engine: v.LiteralSchema<"local-k3s", undefined>;
3429
+ readonly kubernetes: v.ObjectSchema<{
3430
+ readonly label: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 120, undefined>]>;
3431
+ readonly apiServerUrl: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 2000, undefined>]>;
3432
+ readonly caCertPem: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
3433
+ readonly insecureSkipTlsVerify: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
3434
+ readonly namespaceTemplate: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>, undefined>;
3435
+ readonly url: v.VariantSchema<"source", [v.ObjectSchema<{
3436
+ readonly source: v.LiteralSchema<"ingressTemplate", undefined>;
3437
+ readonly hostTemplate: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 500, undefined>]>;
3438
+ readonly scheme: v.OptionalSchema<v.PicklistSchema<["http", "https"], undefined>, undefined>;
3439
+ }, undefined>, v.ObjectSchema<{
3440
+ readonly source: v.LiteralSchema<"ingressStatus", undefined>;
3441
+ readonly ingressName: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>]>, undefined>;
3442
+ readonly scheme: v.OptionalSchema<v.PicklistSchema<["http", "https"], undefined>, undefined>;
3443
+ }, undefined>, v.ObjectSchema<{
3444
+ readonly source: v.LiteralSchema<"serviceStatus", undefined>;
3445
+ readonly serviceName: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>]>;
3446
+ 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>;
3447
+ readonly scheme: v.OptionalSchema<v.PicklistSchema<["http", "https"], undefined>, undefined>;
3448
+ }, undefined>, v.ObjectSchema<{
3449
+ readonly source: v.LiteralSchema<"gatewayStatus", undefined>;
3450
+ readonly gatewayName: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>]>, undefined>;
3451
+ readonly scheme: v.OptionalSchema<v.PicklistSchema<["http", "https"], undefined>, undefined>;
3452
+ }, undefined>, v.ObjectSchema<{
3453
+ readonly source: v.LiteralSchema<"httpRouteStatus", undefined>;
3454
+ readonly httpRouteName: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>]>, undefined>;
3455
+ readonly scheme: v.OptionalSchema<v.PicklistSchema<["http", "https"], undefined>, undefined>;
3456
+ }, undefined>], undefined>;
3457
+ readonly imageTemplate: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 500, undefined>]>, undefined>;
3458
+ readonly defaultTtlMs: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 60000, undefined>]>, undefined>;
3459
+ readonly rolloutTimeoutSeconds: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>;
3460
+ readonly labels: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.StringSchema<undefined>, undefined>, undefined>;
3461
+ readonly annotations: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.StringSchema<undefined>, undefined>, undefined>;
3462
+ readonly helmReleases: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
3463
+ readonly name: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
3464
+ readonly chart: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
3465
+ readonly repo: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>;
3466
+ readonly version: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.RegexAction<string, "version must be a pinned semver (e.g. 1.2.3), not a floating tag like latest or ^1.0.">]>;
3467
+ readonly namespaceTemplate: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 500, undefined>]>, undefined>;
3468
+ readonly values: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>;
3469
+ readonly set: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
3470
+ readonly path: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
3471
+ readonly valueTemplate: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 2000, undefined>]>;
3472
+ }, undefined>, undefined>, undefined>;
3473
+ readonly valuesSecretRefs: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
3474
+ readonly path: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
3475
+ readonly secretRef: v.ObjectSchema<{
3476
+ readonly key: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 64, undefined>]>;
3477
+ }, undefined>;
3478
+ }, undefined>, undefined>, undefined>;
3479
+ readonly scope: v.OptionalSchema<v.PicklistSchema<["per-environment", "shared"], undefined>, undefined>;
3480
+ }, undefined>, undefined>, undefined>;
3481
+ }, undefined>;
3482
+ }, undefined>, v.ObjectSchema<{
3483
+ readonly engine: v.LiteralSchema<"remote-kubernetes", undefined>;
3484
+ readonly kubernetes: v.ObjectSchema<{
3485
+ readonly label: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 120, undefined>]>;
3486
+ readonly apiServerUrl: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 2000, undefined>]>;
3487
+ readonly caCertPem: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
3488
+ readonly insecureSkipTlsVerify: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
3489
+ readonly namespaceTemplate: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>, undefined>;
3490
+ readonly url: v.VariantSchema<"source", [v.ObjectSchema<{
3491
+ readonly source: v.LiteralSchema<"ingressTemplate", undefined>;
3492
+ readonly hostTemplate: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 500, undefined>]>;
3493
+ readonly scheme: v.OptionalSchema<v.PicklistSchema<["http", "https"], undefined>, undefined>;
3494
+ }, undefined>, v.ObjectSchema<{
3495
+ readonly source: v.LiteralSchema<"ingressStatus", undefined>;
3496
+ readonly ingressName: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>]>, undefined>;
3497
+ readonly scheme: v.OptionalSchema<v.PicklistSchema<["http", "https"], undefined>, undefined>;
3498
+ }, undefined>, v.ObjectSchema<{
3499
+ readonly source: v.LiteralSchema<"serviceStatus", undefined>;
3500
+ readonly serviceName: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>]>;
3501
+ 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>;
3502
+ readonly scheme: v.OptionalSchema<v.PicklistSchema<["http", "https"], undefined>, undefined>;
3503
+ }, undefined>, v.ObjectSchema<{
3504
+ readonly source: v.LiteralSchema<"gatewayStatus", undefined>;
3505
+ readonly gatewayName: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>]>, undefined>;
3506
+ readonly scheme: v.OptionalSchema<v.PicklistSchema<["http", "https"], undefined>, undefined>;
3507
+ }, undefined>, v.ObjectSchema<{
3508
+ readonly source: v.LiteralSchema<"httpRouteStatus", undefined>;
3509
+ readonly httpRouteName: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>]>, undefined>;
3510
+ readonly scheme: v.OptionalSchema<v.PicklistSchema<["http", "https"], undefined>, undefined>;
3511
+ }, undefined>], undefined>;
3512
+ readonly imageTemplate: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 500, undefined>]>, undefined>;
3513
+ readonly defaultTtlMs: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 60000, undefined>]>, undefined>;
3514
+ readonly rolloutTimeoutSeconds: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>;
3515
+ readonly labels: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.StringSchema<undefined>, undefined>, undefined>;
3516
+ readonly annotations: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.StringSchema<undefined>, undefined>, undefined>;
3517
+ readonly helmReleases: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
3518
+ readonly name: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
3519
+ readonly chart: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
3520
+ readonly repo: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>;
3521
+ readonly version: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.RegexAction<string, "version must be a pinned semver (e.g. 1.2.3), not a floating tag like latest or ^1.0.">]>;
3522
+ readonly namespaceTemplate: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 500, undefined>]>, undefined>;
3523
+ readonly values: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>;
3524
+ readonly set: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
3525
+ readonly path: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
3526
+ readonly valueTemplate: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 2000, undefined>]>;
3527
+ }, undefined>, undefined>, undefined>;
3528
+ readonly valuesSecretRefs: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
3529
+ readonly path: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
3530
+ readonly secretRef: v.ObjectSchema<{
3531
+ readonly key: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 64, undefined>]>;
3532
+ }, undefined>;
3533
+ }, undefined>, undefined>, undefined>;
3534
+ readonly scope: v.OptionalSchema<v.PicklistSchema<["per-environment", "shared"], undefined>, undefined>;
3535
+ }, undefined>, undefined>, undefined>;
3536
+ }, undefined>;
3537
+ }, undefined>, v.ObjectSchema<{
3538
+ readonly engine: v.LiteralSchema<"remote-custom", undefined>;
3539
+ readonly manifest: v.ObjectSchema<{
3540
+ readonly providerId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 64, undefined>]>;
3541
+ readonly label: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 120, undefined>]>;
3542
+ readonly baseUrl: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 2000, undefined>]>;
3543
+ readonly auth: v.VariantSchema<"type", [v.ObjectSchema<{
3544
+ readonly type: v.LiteralSchema<"none", undefined>;
3545
+ }, undefined>, v.ObjectSchema<{
3546
+ readonly type: v.LiteralSchema<"api_key", undefined>;
3547
+ readonly headerName: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
3548
+ readonly secretRef: v.ObjectSchema<{
3549
+ readonly key: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 64, undefined>]>;
3550
+ }, undefined>;
3551
+ readonly valuePrefix: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
3552
+ }, undefined>, v.ObjectSchema<{
3553
+ readonly type: v.LiteralSchema<"bearer", undefined>;
3554
+ readonly secretRef: v.ObjectSchema<{
3555
+ readonly key: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 64, undefined>]>;
3556
+ }, undefined>;
3557
+ }, undefined>, v.ObjectSchema<{
3558
+ readonly type: v.LiteralSchema<"basic", undefined>;
3559
+ readonly usernameSecretRef: v.ObjectSchema<{
3560
+ readonly key: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 64, undefined>]>;
3561
+ }, undefined>;
3562
+ readonly passwordSecretRef: v.ObjectSchema<{
3563
+ readonly key: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 64, undefined>]>;
3564
+ }, undefined>;
3565
+ }, undefined>, v.ObjectSchema<{
3566
+ readonly type: v.LiteralSchema<"oauth2_client_credentials", undefined>;
3567
+ readonly tokenUrl: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 2000, undefined>]>;
3568
+ readonly clientIdSecretRef: v.ObjectSchema<{
3569
+ readonly key: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 64, undefined>]>;
3570
+ }, undefined>;
3571
+ readonly clientSecretSecretRef: v.ObjectSchema<{
3572
+ readonly key: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 64, undefined>]>;
3573
+ }, undefined>;
3574
+ readonly scope: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
3575
+ readonly audience: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
3576
+ }, undefined>, v.ObjectSchema<{
3577
+ readonly type: v.LiteralSchema<"custom_headers", undefined>;
3578
+ readonly headers: v.ArraySchema<v.ObjectSchema<{
3579
+ readonly name: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
3580
+ readonly secretRef: v.ObjectSchema<{
3581
+ readonly key: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 64, undefined>]>;
3582
+ }, undefined>;
3583
+ }, undefined>, undefined>;
3584
+ }, undefined>], undefined>;
3585
+ readonly provision: v.ObjectSchema<{
3586
+ readonly method: v.PicklistSchema<["GET", "POST", "PUT", "PATCH", "DELETE"], undefined>;
3587
+ readonly pathTemplate: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>;
3588
+ readonly query: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
3589
+ readonly key: v.StringSchema<undefined>;
3590
+ readonly value: v.StringSchema<undefined>;
3591
+ }, undefined>, undefined>, undefined>;
3592
+ readonly headers: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
3593
+ readonly name: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
3594
+ readonly value: v.StringSchema<undefined>;
3595
+ }, undefined>, undefined>, undefined>;
3596
+ readonly bodyTemplate: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
3597
+ readonly timeoutMs: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 60000, undefined>]>, undefined>;
3598
+ }, undefined>;
3599
+ readonly status: v.OptionalSchema<v.ObjectSchema<{
3600
+ readonly method: v.PicklistSchema<["GET", "POST", "PUT", "PATCH", "DELETE"], undefined>;
3601
+ readonly pathTemplate: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>;
3602
+ readonly query: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
3603
+ readonly key: v.StringSchema<undefined>;
3604
+ readonly value: v.StringSchema<undefined>;
3605
+ }, undefined>, undefined>, undefined>;
3606
+ readonly headers: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
3607
+ readonly name: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
3608
+ readonly value: v.StringSchema<undefined>;
3609
+ }, undefined>, undefined>, undefined>;
3610
+ readonly bodyTemplate: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
3611
+ readonly timeoutMs: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 60000, undefined>]>, undefined>;
3612
+ }, undefined>, undefined>;
3613
+ readonly teardown: v.OptionalSchema<v.ObjectSchema<{
3614
+ readonly method: v.PicklistSchema<["GET", "POST", "PUT", "PATCH", "DELETE"], undefined>;
3615
+ readonly pathTemplate: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>;
3616
+ readonly query: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
3617
+ readonly key: v.StringSchema<undefined>;
3618
+ readonly value: v.StringSchema<undefined>;
3619
+ }, undefined>, undefined>, undefined>;
3620
+ readonly headers: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
3621
+ readonly name: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
3622
+ readonly value: v.StringSchema<undefined>;
3623
+ }, undefined>, undefined>, undefined>;
3624
+ readonly bodyTemplate: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
3625
+ readonly timeoutMs: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 60000, undefined>]>, undefined>;
3626
+ }, undefined>, undefined>;
3627
+ readonly response: v.ObjectSchema<{
3628
+ readonly urlPath: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
3629
+ readonly statusPath: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
3630
+ readonly statusMap: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
3631
+ readonly from: v.StringSchema<undefined>;
3632
+ readonly to: v.PicklistSchema<["provisioning", "ready", "failed", "expired", "tearing_down", "torn_down"], undefined>;
3633
+ }, undefined>, undefined>, undefined>;
3634
+ readonly expiresAtPath: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
3635
+ readonly externalIdPath: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
3636
+ readonly access: v.OptionalSchema<v.ObjectSchema<{
3637
+ readonly scheme: v.PicklistSchema<["none", "bearer", "basic", "custom_header"], undefined>;
3638
+ readonly tokenPath: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
3639
+ readonly usernamePath: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
3640
+ readonly passwordPath: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
3641
+ readonly headerName: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
3642
+ readonly headerValuePath: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
3643
+ }, undefined>, undefined>;
3644
+ }, undefined>;
3645
+ readonly defaultTtlMs: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 60000, undefined>]>, undefined>;
3646
+ readonly providerConfig: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>;
3647
+ }, undefined>;
3648
+ readonly acceptsManifestId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 64, undefined>]>;
3649
+ }, undefined>], undefined>;
3650
+ readonly backendKind: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
3651
+ readonly secrets: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.StringSchema<undefined>, undefined>, undefined>;
3652
+ }, undefined>;
3653
+ readonly responsesByStatusCode: {
3654
+ readonly '4xx': v.ObjectSchema<{
3655
+ readonly error: v.ObjectSchema<{
3656
+ readonly code: v.StringSchema<undefined>;
3657
+ readonly message: v.StringSchema<undefined>;
3658
+ readonly details: v.OptionalSchema<v.UnknownSchema, undefined>;
3659
+ readonly issues: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
3660
+ readonly path: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
3661
+ readonly message: v.StringSchema<undefined>;
3662
+ }, undefined>, undefined>, undefined>;
3663
+ }, undefined>;
3664
+ }, undefined>;
3665
+ readonly '5xx': v.ObjectSchema<{
3666
+ readonly error: v.ObjectSchema<{
3667
+ readonly code: v.StringSchema<undefined>;
3668
+ readonly message: v.StringSchema<undefined>;
3669
+ readonly details: v.OptionalSchema<v.UnknownSchema, undefined>;
3670
+ readonly issues: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
3671
+ readonly path: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
3672
+ readonly message: v.StringSchema<undefined>;
3673
+ }, undefined>, undefined>, undefined>;
3674
+ }, undefined>;
3675
+ }, undefined>;
3676
+ readonly 200: v.ObjectSchema<{
3677
+ readonly ok: v.BooleanSchema<undefined>;
3678
+ readonly message: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
3679
+ }, undefined>;
3680
+ };
3681
+ };
3294
3682
  export declare const updateEnvironmentHandlerSecretsContract: {
3295
3683
  readonly method: "patch";
3296
3684
  readonly requestPathParamsSchema: v.ObjectSchema<{
@@ -3338,6 +3726,7 @@ export declare const updateEnvironmentHandlerSecretsContract: {
3338
3726
  readonly connectedAt: v.NumberSchema<undefined>;
3339
3727
  readonly secretKeys: v.ArraySchema<v.StringSchema<undefined>, undefined>;
3340
3728
  readonly acceptsManifestId: v.NullableSchema<v.StringSchema<undefined>, undefined>;
3729
+ readonly backendKind: v.StringSchema<undefined>;
3341
3730
  readonly config: v.OptionalSchema<v.VariantSchema<"engine", [v.ObjectSchema<{
3342
3731
  readonly engine: v.LiteralSchema<"local-docker", undefined>;
3343
3732
  readonly manifest: v.ObjectSchema<{
@@ -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;AA0C5B,eAAO,MAAM,gCAAgC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAI3C,CAAA;AAEF,eAAO,MAAM,mCAAmC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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strapEnvironmentRepoSchema, customManifestTypeSchema, detectServiceProvisioningSchema, environmentConnectionSchema, environmentHandleSchema, environmentHandlerViewSchema, environmentHandlersBundleSchema, provisionEnvironmentSchema, provisioningRecommendationSchema, registerEnvironmentHandlerSchema, registerEnvironmentProviderSchema, testEnvironmentConnectionSchema, updateEnvironmentSecretsSchema, upsertCustomManifestTypeSchema, validateEnvironmentRepoSchema, } from '../environments.js';
3
+ import { bootstrapEnvironmentRepoSchema, customManifestTypeSchema, detectServiceProvisioningSchema, environmentConnectionSchema, environmentHandleSchema, environmentHandlerViewSchema, environmentHandlersBundleSchema, provisionEnvironmentSchema, provisioningRecommendationSchema, registerEnvironmentHandlerSchema, registerEnvironmentProviderSchema, testEnvironmentConnectionSchema, testEnvironmentHandlerSchema, updateEnvironmentSecretsSchema, upsertCustomManifestTypeSchema, validateEnvironmentRepoSchema, } from '../environments.js';
4
4
  import { bootstrapRepoResultSchema, connectionTestResultSchema, providerDescriptorSchema, repoValidationResultSchema, } from '../provider-config.js';
5
5
  import { errorResponses, singleStringParam } from './_shared.js';
6
6
  // ---------------------------------------------------------------------------
@@ -95,6 +95,15 @@ export const registerEnvironmentHandlerContract = defineApiContract({
95
95
  requestBodySchema: registerEnvironmentHandlerSchema,
96
96
  responsesByStatusCode: { 201: environmentHandlerViewSchema, ...errorResponses },
97
97
  });
98
+ // Probe a candidate per-type handler connection before saving (nothing persisted). The body
99
+ // is the engine connection config + its secret bundle; the path is distinct from the
100
+ // `:provisionType`-keyed handler routes so it never collides with them.
101
+ export const testEnvironmentHandlerContract = defineApiContract({
102
+ method: 'post',
103
+ pathResolver: () => '/environments/handlers/test',
104
+ requestBodySchema: testEnvironmentHandlerSchema,
105
+ responsesByStatusCode: { 200: connectionTestResultSchema, ...errorResponses },
106
+ });
98
107
  export const updateEnvironmentHandlerSecretsContract = defineApiContract({
99
108
  method: 'patch',
100
109
  requestPathParamsSchema: provisionTypeParams,
@@ -1 +1 @@
1
- {"version":3,"file":"environments.js","s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
@@ -965,10 +965,12 @@ export declare const createWorkspaceContract: {
965
965
  readonly environmentBackendKinds: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
966
966
  readonly kind: v.StringSchema<undefined>;
967
967
  readonly label: v.StringSchema<undefined>;
968
+ readonly engines: v.OptionalSchema<v.ArraySchema<v.PicklistSchema<["local-docker", "local-k3s", "remote-kubernetes", "remote-custom", "none"], undefined>, undefined>, undefined>;
968
969
  }, undefined>, undefined>, undefined>;
969
970
  readonly runnerBackendKinds: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
970
971
  readonly kind: v.StringSchema<undefined>;
971
972
  readonly label: v.StringSchema<undefined>;
973
+ readonly engines: v.OptionalSchema<v.ArraySchema<v.PicklistSchema<["local-docker", "local-k3s", "remote-kubernetes", "remote-custom", "none"], undefined>, undefined>, undefined>;
972
974
  }, undefined>, undefined>, undefined>;
973
975
  readonly pipelineCatalogVersions: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.NumberSchema<undefined>, undefined>, undefined>;
974
976
  readonly mergePresetCatalogVersions: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.NumberSchema<undefined>, undefined>, undefined>;
@@ -1904,10 +1906,12 @@ export declare const getWorkspaceContract: {
1904
1906
  readonly environmentBackendKinds: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
1905
1907
  readonly kind: v.StringSchema<undefined>;
1906
1908
  readonly label: v.StringSchema<undefined>;
1909
+ readonly engines: v.OptionalSchema<v.ArraySchema<v.PicklistSchema<["local-docker", "local-k3s", "remote-kubernetes", "remote-custom", "none"], undefined>, undefined>, undefined>;
1907
1910
  }, undefined>, undefined>, undefined>;
1908
1911
  readonly runnerBackendKinds: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
1909
1912
  readonly kind: v.StringSchema<undefined>;
1910
1913
  readonly label: v.StringSchema<undefined>;
1914
+ readonly engines: v.OptionalSchema<v.ArraySchema<v.PicklistSchema<["local-docker", "local-k3s", "remote-kubernetes", "remote-custom", "none"], undefined>, undefined>, undefined>;
1911
1915
  }, undefined>, undefined>, undefined>;
1912
1916
  readonly pipelineCatalogVersions: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.NumberSchema<undefined>, undefined>, undefined>;
1913
1917
  readonly mergePresetCatalogVersions: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.NumberSchema<undefined>, undefined>, undefined>;
@@ -1 +1 @@
1
- {"version":3,"file":"workspaces.d.ts","sourceRoot":"","sources":["../../src/routes/workspaces.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAqB,MAAM,yBAAyB,CAAA;AAC3E,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAgB5B,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAIjC,CAAA;AAEF,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAK/B,CAAA;AAEF,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAMlC,CAAA;AAEF,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAKlC,CAAA"}
@@ -3,6 +3,13 @@ import * as v from 'valibot';
3
3
  export declare const backendKindOptionSchema: v.ObjectSchema<{
4
4
  readonly kind: v.StringSchema<undefined>;
5
5
  readonly label: v.StringSchema<undefined>;
6
+ /**
7
+ * The per-type infra engines this backend implements (e.g. a `remote-custom` backend a
8
+ * deployment registered). Lets the SPA offer the right backends per provision type — e.g.
9
+ * the custom-handler form lists only backends that serve `remote-custom`. Populated for
10
+ * environment backends; omitted for runner-pool backends (which have no engine axis).
11
+ */
12
+ readonly engines: v.OptionalSchema<v.ArraySchema<v.PicklistSchema<["local-docker", "local-k3s", "remote-kubernetes", "remote-custom", "none"], undefined>, undefined>, undefined>;
6
13
  }, undefined>;
7
14
  export type BackendKindOption = v.InferOutput<typeof backendKindOptionSchema>;
8
15
  export declare const workspaceSnapshotSchema: v.ObjectSchema<{
@@ -992,10 +999,24 @@ export declare const workspaceSnapshotSchema: v.ObjectSchema<{
992
999
  readonly environmentBackendKinds: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
993
1000
  readonly kind: v.StringSchema<undefined>;
994
1001
  readonly label: v.StringSchema<undefined>;
1002
+ /**
1003
+ * The per-type infra engines this backend implements (e.g. a `remote-custom` backend a
1004
+ * deployment registered). Lets the SPA offer the right backends per provision type — e.g.
1005
+ * the custom-handler form lists only backends that serve `remote-custom`. Populated for
1006
+ * environment backends; omitted for runner-pool backends (which have no engine axis).
1007
+ */
1008
+ readonly engines: v.OptionalSchema<v.ArraySchema<v.PicklistSchema<["local-docker", "local-k3s", "remote-kubernetes", "remote-custom", "none"], undefined>, undefined>, undefined>;
995
1009
  }, undefined>, undefined>, undefined>;
996
1010
  readonly runnerBackendKinds: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
997
1011
  readonly kind: v.StringSchema<undefined>;
998
1012
  readonly label: v.StringSchema<undefined>;
1013
+ /**
1014
+ * The per-type infra engines this backend implements (e.g. a `remote-custom` backend a
1015
+ * deployment registered). Lets the SPA offer the right backends per provision type — e.g.
1016
+ * the custom-handler form lists only backends that serve `remote-custom`. Populated for
1017
+ * environment backends; omitted for runner-pool backends (which have no engine axis).
1018
+ */
1019
+ readonly engines: v.OptionalSchema<v.ArraySchema<v.PicklistSchema<["local-docker", "local-k3s", "remote-kubernetes", "remote-custom", "none"], undefined>, undefined>, undefined>;
999
1020
  }, undefined>, undefined>, undefined>;
1000
1021
  /**
1001
1022
  * Current built-in pipeline catalog versions (`seedPipelines()`), keyed by pipeline id. The