@cat-factory/contracts 0.70.0 → 0.70.1

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.
@@ -2233,6 +2233,7 @@ export declare const listEnvironmentHandlersContract: {
2233
2233
  readonly connectedAt: v.NumberSchema<undefined>;
2234
2234
  readonly secretKeys: v.ArraySchema<v.StringSchema<undefined>, undefined>;
2235
2235
  readonly acceptsManifestId: v.NullableSchema<v.StringSchema<undefined>, undefined>;
2236
+ readonly backendKind: v.StringSchema<undefined>;
2236
2237
  readonly config: v.OptionalSchema<v.VariantSchema<"engine", [v.ObjectSchema<{
2237
2238
  readonly engine: v.LiteralSchema<"local-docker", undefined>;
2238
2239
  readonly manifest: v.ObjectSchema<{
@@ -2954,6 +2955,7 @@ export declare const registerEnvironmentHandlerContract: {
2954
2955
  readonly connectedAt: v.NumberSchema<undefined>;
2955
2956
  readonly secretKeys: v.ArraySchema<v.StringSchema<undefined>, undefined>;
2956
2957
  readonly acceptsManifestId: v.NullableSchema<v.StringSchema<undefined>, undefined>;
2958
+ readonly backendKind: v.StringSchema<undefined>;
2957
2959
  readonly config: v.OptionalSchema<v.VariantSchema<"engine", [v.ObjectSchema<{
2958
2960
  readonly engine: v.LiteralSchema<"local-docker", undefined>;
2959
2961
  readonly manifest: v.ObjectSchema<{
@@ -3291,6 +3293,376 @@ export declare const registerEnvironmentHandlerContract: {
3291
3293
  }, undefined>;
3292
3294
  };
3293
3295
  };
3296
+ export declare const testEnvironmentHandlerContract: {
3297
+ readonly method: "post";
3298
+ readonly pathResolver: () => string;
3299
+ readonly requestBodySchema: v.ObjectSchema<{
3300
+ readonly config: v.VariantSchema<"engine", [v.ObjectSchema<{
3301
+ readonly engine: v.LiteralSchema<"local-docker", undefined>;
3302
+ readonly manifest: v.ObjectSchema<{
3303
+ readonly providerId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 64, undefined>]>;
3304
+ readonly label: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 120, undefined>]>;
3305
+ readonly baseUrl: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 2000, undefined>]>;
3306
+ readonly auth: v.VariantSchema<"type", [v.ObjectSchema<{
3307
+ readonly type: v.LiteralSchema<"none", undefined>;
3308
+ }, undefined>, v.ObjectSchema<{
3309
+ readonly type: v.LiteralSchema<"api_key", undefined>;
3310
+ readonly headerName: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
3311
+ readonly secretRef: v.ObjectSchema<{
3312
+ readonly key: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 64, undefined>]>;
3313
+ }, undefined>;
3314
+ readonly valuePrefix: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
3315
+ }, undefined>, v.ObjectSchema<{
3316
+ readonly type: v.LiteralSchema<"bearer", undefined>;
3317
+ readonly secretRef: v.ObjectSchema<{
3318
+ readonly key: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 64, undefined>]>;
3319
+ }, undefined>;
3320
+ }, undefined>, v.ObjectSchema<{
3321
+ readonly type: v.LiteralSchema<"basic", undefined>;
3322
+ readonly usernameSecretRef: v.ObjectSchema<{
3323
+ readonly key: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 64, undefined>]>;
3324
+ }, undefined>;
3325
+ readonly passwordSecretRef: v.ObjectSchema<{
3326
+ readonly key: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 64, undefined>]>;
3327
+ }, undefined>;
3328
+ }, undefined>, v.ObjectSchema<{
3329
+ readonly type: v.LiteralSchema<"oauth2_client_credentials", undefined>;
3330
+ readonly tokenUrl: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 2000, undefined>]>;
3331
+ readonly clientIdSecretRef: v.ObjectSchema<{
3332
+ readonly key: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 64, undefined>]>;
3333
+ }, undefined>;
3334
+ readonly clientSecretSecretRef: v.ObjectSchema<{
3335
+ readonly key: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 64, undefined>]>;
3336
+ }, undefined>;
3337
+ readonly scope: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
3338
+ readonly audience: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
3339
+ }, undefined>, v.ObjectSchema<{
3340
+ readonly type: v.LiteralSchema<"custom_headers", undefined>;
3341
+ readonly headers: v.ArraySchema<v.ObjectSchema<{
3342
+ readonly name: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
3343
+ readonly secretRef: v.ObjectSchema<{
3344
+ readonly key: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 64, undefined>]>;
3345
+ }, undefined>;
3346
+ }, undefined>, undefined>;
3347
+ }, undefined>], undefined>;
3348
+ readonly provision: v.ObjectSchema<{
3349
+ readonly method: v.PicklistSchema<["GET", "POST", "PUT", "PATCH", "DELETE"], undefined>;
3350
+ readonly pathTemplate: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>;
3351
+ readonly query: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
3352
+ readonly key: v.StringSchema<undefined>;
3353
+ readonly value: v.StringSchema<undefined>;
3354
+ }, undefined>, undefined>, undefined>;
3355
+ readonly headers: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
3356
+ readonly name: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
3357
+ readonly value: v.StringSchema<undefined>;
3358
+ }, undefined>, undefined>, undefined>;
3359
+ readonly bodyTemplate: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
3360
+ readonly timeoutMs: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 60000, undefined>]>, undefined>;
3361
+ }, undefined>;
3362
+ readonly status: v.OptionalSchema<v.ObjectSchema<{
3363
+ readonly method: v.PicklistSchema<["GET", "POST", "PUT", "PATCH", "DELETE"], undefined>;
3364
+ readonly pathTemplate: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>;
3365
+ readonly query: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
3366
+ readonly key: v.StringSchema<undefined>;
3367
+ readonly value: v.StringSchema<undefined>;
3368
+ }, undefined>, undefined>, undefined>;
3369
+ readonly headers: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
3370
+ readonly name: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
3371
+ readonly value: v.StringSchema<undefined>;
3372
+ }, undefined>, undefined>, undefined>;
3373
+ readonly bodyTemplate: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
3374
+ readonly timeoutMs: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 60000, undefined>]>, undefined>;
3375
+ }, undefined>, undefined>;
3376
+ readonly teardown: v.OptionalSchema<v.ObjectSchema<{
3377
+ readonly method: v.PicklistSchema<["GET", "POST", "PUT", "PATCH", "DELETE"], undefined>;
3378
+ readonly pathTemplate: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>;
3379
+ readonly query: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
3380
+ readonly key: v.StringSchema<undefined>;
3381
+ readonly value: v.StringSchema<undefined>;
3382
+ }, undefined>, undefined>, undefined>;
3383
+ readonly headers: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
3384
+ readonly name: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
3385
+ readonly value: v.StringSchema<undefined>;
3386
+ }, undefined>, undefined>, undefined>;
3387
+ readonly bodyTemplate: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
3388
+ readonly timeoutMs: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 60000, undefined>]>, undefined>;
3389
+ }, undefined>, undefined>;
3390
+ readonly response: v.ObjectSchema<{
3391
+ readonly urlPath: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
3392
+ readonly statusPath: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
3393
+ readonly statusMap: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
3394
+ readonly from: v.StringSchema<undefined>;
3395
+ readonly to: v.PicklistSchema<["provisioning", "ready", "failed", "expired", "tearing_down", "torn_down"], undefined>;
3396
+ }, undefined>, undefined>, undefined>;
3397
+ readonly expiresAtPath: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
3398
+ readonly externalIdPath: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
3399
+ readonly access: v.OptionalSchema<v.ObjectSchema<{
3400
+ readonly scheme: v.PicklistSchema<["none", "bearer", "basic", "custom_header"], undefined>;
3401
+ readonly tokenPath: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
3402
+ readonly usernamePath: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
3403
+ readonly passwordPath: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
3404
+ readonly headerName: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
3405
+ readonly headerValuePath: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
3406
+ }, undefined>, undefined>;
3407
+ }, undefined>;
3408
+ readonly defaultTtlMs: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 60000, undefined>]>, undefined>;
3409
+ readonly providerConfig: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>;
3410
+ }, undefined>;
3411
+ }, undefined>, v.ObjectSchema<{
3412
+ readonly engine: v.LiteralSchema<"local-k3s", undefined>;
3413
+ readonly kubernetes: v.ObjectSchema<{
3414
+ readonly label: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 120, undefined>]>;
3415
+ readonly apiServerUrl: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 2000, undefined>]>;
3416
+ readonly caCertPem: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
3417
+ readonly insecureSkipTlsVerify: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
3418
+ readonly namespaceTemplate: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>, undefined>;
3419
+ readonly url: v.VariantSchema<"source", [v.ObjectSchema<{
3420
+ readonly source: v.LiteralSchema<"ingressTemplate", undefined>;
3421
+ readonly hostTemplate: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 500, undefined>]>;
3422
+ readonly scheme: v.OptionalSchema<v.PicklistSchema<["http", "https"], undefined>, undefined>;
3423
+ }, undefined>, v.ObjectSchema<{
3424
+ readonly source: v.LiteralSchema<"ingressStatus", undefined>;
3425
+ readonly ingressName: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>]>, undefined>;
3426
+ readonly scheme: v.OptionalSchema<v.PicklistSchema<["http", "https"], undefined>, undefined>;
3427
+ }, undefined>, v.ObjectSchema<{
3428
+ readonly source: v.LiteralSchema<"serviceStatus", undefined>;
3429
+ readonly serviceName: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>]>;
3430
+ 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>;
3431
+ readonly scheme: v.OptionalSchema<v.PicklistSchema<["http", "https"], undefined>, undefined>;
3432
+ }, undefined>, v.ObjectSchema<{
3433
+ readonly source: v.LiteralSchema<"gatewayStatus", undefined>;
3434
+ readonly gatewayName: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>]>, undefined>;
3435
+ readonly scheme: v.OptionalSchema<v.PicklistSchema<["http", "https"], undefined>, undefined>;
3436
+ }, undefined>, v.ObjectSchema<{
3437
+ readonly source: v.LiteralSchema<"httpRouteStatus", undefined>;
3438
+ readonly httpRouteName: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>]>, undefined>;
3439
+ readonly scheme: v.OptionalSchema<v.PicklistSchema<["http", "https"], undefined>, undefined>;
3440
+ }, undefined>], undefined>;
3441
+ readonly imageTemplate: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 500, undefined>]>, undefined>;
3442
+ readonly defaultTtlMs: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 60000, undefined>]>, undefined>;
3443
+ readonly rolloutTimeoutSeconds: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>;
3444
+ readonly labels: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.StringSchema<undefined>, undefined>, undefined>;
3445
+ readonly annotations: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.StringSchema<undefined>, undefined>, undefined>;
3446
+ readonly helmReleases: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
3447
+ readonly name: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
3448
+ readonly chart: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
3449
+ readonly repo: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>;
3450
+ 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.">]>;
3451
+ readonly namespaceTemplate: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 500, undefined>]>, undefined>;
3452
+ readonly values: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>;
3453
+ readonly set: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
3454
+ readonly path: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
3455
+ readonly valueTemplate: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 2000, undefined>]>;
3456
+ }, undefined>, undefined>, undefined>;
3457
+ readonly valuesSecretRefs: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
3458
+ readonly path: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
3459
+ readonly secretRef: v.ObjectSchema<{
3460
+ readonly key: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 64, undefined>]>;
3461
+ }, undefined>;
3462
+ }, undefined>, undefined>, undefined>;
3463
+ readonly scope: v.OptionalSchema<v.PicklistSchema<["per-environment", "shared"], undefined>, undefined>;
3464
+ }, undefined>, undefined>, undefined>;
3465
+ }, undefined>;
3466
+ }, undefined>, v.ObjectSchema<{
3467
+ readonly engine: v.LiteralSchema<"remote-kubernetes", undefined>;
3468
+ readonly kubernetes: v.ObjectSchema<{
3469
+ readonly label: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 120, undefined>]>;
3470
+ readonly apiServerUrl: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 2000, undefined>]>;
3471
+ readonly caCertPem: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
3472
+ readonly insecureSkipTlsVerify: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
3473
+ readonly namespaceTemplate: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>, undefined>;
3474
+ readonly url: v.VariantSchema<"source", [v.ObjectSchema<{
3475
+ readonly source: v.LiteralSchema<"ingressTemplate", undefined>;
3476
+ readonly hostTemplate: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 500, undefined>]>;
3477
+ readonly scheme: v.OptionalSchema<v.PicklistSchema<["http", "https"], undefined>, undefined>;
3478
+ }, undefined>, v.ObjectSchema<{
3479
+ readonly source: v.LiteralSchema<"ingressStatus", undefined>;
3480
+ readonly ingressName: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>]>, undefined>;
3481
+ readonly scheme: v.OptionalSchema<v.PicklistSchema<["http", "https"], undefined>, undefined>;
3482
+ }, undefined>, v.ObjectSchema<{
3483
+ readonly source: v.LiteralSchema<"serviceStatus", undefined>;
3484
+ readonly serviceName: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>]>;
3485
+ 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>;
3486
+ readonly scheme: v.OptionalSchema<v.PicklistSchema<["http", "https"], undefined>, undefined>;
3487
+ }, undefined>, v.ObjectSchema<{
3488
+ readonly source: v.LiteralSchema<"gatewayStatus", undefined>;
3489
+ readonly gatewayName: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>]>, undefined>;
3490
+ readonly scheme: v.OptionalSchema<v.PicklistSchema<["http", "https"], undefined>, undefined>;
3491
+ }, undefined>, v.ObjectSchema<{
3492
+ readonly source: v.LiteralSchema<"httpRouteStatus", undefined>;
3493
+ readonly httpRouteName: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>]>, undefined>;
3494
+ readonly scheme: v.OptionalSchema<v.PicklistSchema<["http", "https"], undefined>, undefined>;
3495
+ }, undefined>], undefined>;
3496
+ readonly imageTemplate: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 500, undefined>]>, undefined>;
3497
+ readonly defaultTtlMs: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 60000, undefined>]>, undefined>;
3498
+ readonly rolloutTimeoutSeconds: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>;
3499
+ readonly labels: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.StringSchema<undefined>, undefined>, undefined>;
3500
+ readonly annotations: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.StringSchema<undefined>, undefined>, undefined>;
3501
+ readonly helmReleases: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
3502
+ readonly name: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
3503
+ readonly chart: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
3504
+ readonly repo: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>;
3505
+ 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.">]>;
3506
+ readonly namespaceTemplate: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 500, undefined>]>, undefined>;
3507
+ readonly values: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>;
3508
+ readonly set: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
3509
+ readonly path: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
3510
+ readonly valueTemplate: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 2000, undefined>]>;
3511
+ }, undefined>, undefined>, undefined>;
3512
+ readonly valuesSecretRefs: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
3513
+ readonly path: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
3514
+ readonly secretRef: v.ObjectSchema<{
3515
+ readonly key: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 64, undefined>]>;
3516
+ }, undefined>;
3517
+ }, undefined>, undefined>, undefined>;
3518
+ readonly scope: v.OptionalSchema<v.PicklistSchema<["per-environment", "shared"], undefined>, undefined>;
3519
+ }, undefined>, undefined>, undefined>;
3520
+ }, undefined>;
3521
+ }, undefined>, v.ObjectSchema<{
3522
+ readonly engine: v.LiteralSchema<"remote-custom", undefined>;
3523
+ readonly manifest: v.ObjectSchema<{
3524
+ readonly providerId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 64, undefined>]>;
3525
+ readonly label: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 120, undefined>]>;
3526
+ readonly baseUrl: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 2000, undefined>]>;
3527
+ readonly auth: v.VariantSchema<"type", [v.ObjectSchema<{
3528
+ readonly type: v.LiteralSchema<"none", undefined>;
3529
+ }, undefined>, v.ObjectSchema<{
3530
+ readonly type: v.LiteralSchema<"api_key", undefined>;
3531
+ readonly headerName: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
3532
+ readonly secretRef: v.ObjectSchema<{
3533
+ readonly key: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 64, undefined>]>;
3534
+ }, undefined>;
3535
+ readonly valuePrefix: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
3536
+ }, undefined>, v.ObjectSchema<{
3537
+ readonly type: v.LiteralSchema<"bearer", undefined>;
3538
+ readonly secretRef: v.ObjectSchema<{
3539
+ readonly key: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 64, undefined>]>;
3540
+ }, undefined>;
3541
+ }, undefined>, v.ObjectSchema<{
3542
+ readonly type: v.LiteralSchema<"basic", undefined>;
3543
+ readonly usernameSecretRef: v.ObjectSchema<{
3544
+ readonly key: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 64, undefined>]>;
3545
+ }, undefined>;
3546
+ readonly passwordSecretRef: v.ObjectSchema<{
3547
+ readonly key: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 64, undefined>]>;
3548
+ }, undefined>;
3549
+ }, undefined>, v.ObjectSchema<{
3550
+ readonly type: v.LiteralSchema<"oauth2_client_credentials", undefined>;
3551
+ readonly tokenUrl: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 2000, undefined>]>;
3552
+ readonly clientIdSecretRef: v.ObjectSchema<{
3553
+ readonly key: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 64, undefined>]>;
3554
+ }, undefined>;
3555
+ readonly clientSecretSecretRef: v.ObjectSchema<{
3556
+ readonly key: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 64, undefined>]>;
3557
+ }, undefined>;
3558
+ readonly scope: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
3559
+ readonly audience: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
3560
+ }, undefined>, v.ObjectSchema<{
3561
+ readonly type: v.LiteralSchema<"custom_headers", undefined>;
3562
+ readonly headers: v.ArraySchema<v.ObjectSchema<{
3563
+ readonly name: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
3564
+ readonly secretRef: v.ObjectSchema<{
3565
+ readonly key: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 64, undefined>]>;
3566
+ }, undefined>;
3567
+ }, undefined>, undefined>;
3568
+ }, undefined>], undefined>;
3569
+ readonly provision: v.ObjectSchema<{
3570
+ readonly method: v.PicklistSchema<["GET", "POST", "PUT", "PATCH", "DELETE"], undefined>;
3571
+ readonly pathTemplate: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>;
3572
+ readonly query: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
3573
+ readonly key: v.StringSchema<undefined>;
3574
+ readonly value: v.StringSchema<undefined>;
3575
+ }, undefined>, undefined>, undefined>;
3576
+ readonly headers: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
3577
+ readonly name: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
3578
+ readonly value: v.StringSchema<undefined>;
3579
+ }, undefined>, undefined>, undefined>;
3580
+ readonly bodyTemplate: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
3581
+ readonly timeoutMs: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 60000, undefined>]>, undefined>;
3582
+ }, undefined>;
3583
+ readonly status: v.OptionalSchema<v.ObjectSchema<{
3584
+ readonly method: v.PicklistSchema<["GET", "POST", "PUT", "PATCH", "DELETE"], undefined>;
3585
+ readonly pathTemplate: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>;
3586
+ readonly query: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
3587
+ readonly key: v.StringSchema<undefined>;
3588
+ readonly value: v.StringSchema<undefined>;
3589
+ }, undefined>, undefined>, undefined>;
3590
+ readonly headers: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
3591
+ readonly name: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
3592
+ readonly value: v.StringSchema<undefined>;
3593
+ }, undefined>, undefined>, undefined>;
3594
+ readonly bodyTemplate: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
3595
+ readonly timeoutMs: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 60000, undefined>]>, undefined>;
3596
+ }, undefined>, undefined>;
3597
+ readonly teardown: v.OptionalSchema<v.ObjectSchema<{
3598
+ readonly method: v.PicklistSchema<["GET", "POST", "PUT", "PATCH", "DELETE"], undefined>;
3599
+ readonly pathTemplate: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>;
3600
+ readonly query: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
3601
+ readonly key: v.StringSchema<undefined>;
3602
+ readonly value: v.StringSchema<undefined>;
3603
+ }, undefined>, undefined>, undefined>;
3604
+ readonly headers: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
3605
+ readonly name: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
3606
+ readonly value: v.StringSchema<undefined>;
3607
+ }, undefined>, undefined>, undefined>;
3608
+ readonly bodyTemplate: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
3609
+ readonly timeoutMs: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 60000, undefined>]>, undefined>;
3610
+ }, undefined>, undefined>;
3611
+ readonly response: v.ObjectSchema<{
3612
+ readonly urlPath: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
3613
+ readonly statusPath: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
3614
+ readonly statusMap: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
3615
+ readonly from: v.StringSchema<undefined>;
3616
+ readonly to: v.PicklistSchema<["provisioning", "ready", "failed", "expired", "tearing_down", "torn_down"], undefined>;
3617
+ }, undefined>, undefined>, undefined>;
3618
+ readonly expiresAtPath: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
3619
+ readonly externalIdPath: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
3620
+ readonly access: v.OptionalSchema<v.ObjectSchema<{
3621
+ readonly scheme: v.PicklistSchema<["none", "bearer", "basic", "custom_header"], undefined>;
3622
+ readonly tokenPath: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
3623
+ readonly usernamePath: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
3624
+ readonly passwordPath: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
3625
+ readonly headerName: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
3626
+ readonly headerValuePath: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
3627
+ }, undefined>, undefined>;
3628
+ }, undefined>;
3629
+ readonly defaultTtlMs: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 60000, undefined>]>, undefined>;
3630
+ readonly providerConfig: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>;
3631
+ }, undefined>;
3632
+ readonly acceptsManifestId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 64, undefined>]>;
3633
+ }, undefined>], undefined>;
3634
+ readonly backendKind: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
3635
+ readonly secrets: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.StringSchema<undefined>, undefined>, undefined>;
3636
+ }, undefined>;
3637
+ readonly responsesByStatusCode: {
3638
+ readonly '4xx': v.ObjectSchema<{
3639
+ readonly error: v.ObjectSchema<{
3640
+ readonly code: v.StringSchema<undefined>;
3641
+ readonly message: v.StringSchema<undefined>;
3642
+ readonly details: v.OptionalSchema<v.UnknownSchema, undefined>;
3643
+ readonly issues: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
3644
+ readonly path: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
3645
+ readonly message: v.StringSchema<undefined>;
3646
+ }, undefined>, undefined>, undefined>;
3647
+ }, undefined>;
3648
+ }, undefined>;
3649
+ readonly '5xx': v.ObjectSchema<{
3650
+ readonly error: v.ObjectSchema<{
3651
+ readonly code: v.StringSchema<undefined>;
3652
+ readonly message: v.StringSchema<undefined>;
3653
+ readonly details: v.OptionalSchema<v.UnknownSchema, undefined>;
3654
+ readonly issues: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
3655
+ readonly path: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
3656
+ readonly message: v.StringSchema<undefined>;
3657
+ }, undefined>, undefined>, undefined>;
3658
+ }, undefined>;
3659
+ }, undefined>;
3660
+ readonly 200: v.ObjectSchema<{
3661
+ readonly ok: v.BooleanSchema<undefined>;
3662
+ readonly message: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
3663
+ }, undefined>;
3664
+ };
3665
+ };
3294
3666
  export declare const updateEnvironmentHandlerSecretsContract: {
3295
3667
  readonly method: "patch";
3296
3668
  readonly requestPathParamsSchema: v.ObjectSchema<{
@@ -3338,6 +3710,7 @@ export declare const updateEnvironmentHandlerSecretsContract: {
3338
3710
  readonly connectedAt: v.NumberSchema<undefined>;
3339
3711
  readonly secretKeys: v.ArraySchema<v.StringSchema<undefined>, undefined>;
3340
3712
  readonly acceptsManifestId: v.NullableSchema<v.StringSchema<undefined>, undefined>;
3713
+ readonly backendKind: v.StringSchema<undefined>;
3341
3714
  readonly config: v.OptionalSchema<v.VariantSchema<"engine", [v.ObjectSchema<{
3342
3715
  readonly engine: v.LiteralSchema<"local-docker", undefined>;
3343
3716
  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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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAKvC,CAAA;AAEF,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAKvC,CAAA;AAEF,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAMtC,CAAA"}
@@ -1,6 +1,6 @@
1
1
  import { ContractNoBody, defineApiContract } from '@toad-contracts/valibot';
2
2
  import * as v from 'valibot';
3
- import { bootstrapEnvironmentRepoSchema, 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","sourceRoot":"","sources":["../../src/routes/environments.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAA;AAC3E,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAC5B,OAAO,EACL,8BAA8B,EAC9B,wBAAwB,EACxB,+BAA+B,EAC/B,2BAA2B,EAC3B,uBAAuB,EACvB,4BAA4B,EAC5B,+BAA+B,EAC/B,0BAA0B,EAC1B,gCAAgC,EAChC,gCAAgC,EAChC,iCAAiC,EACjC,+BAA+B,EAC/B,8BAA8B,EAC9B,8BAA8B,EAC9B,6BAA6B,GAC9B,MAAM,oBAAoB,CAAA;AAC3B,OAAO,EACL,yBAAyB,EACzB,0BAA0B,EAC1B,wBAAwB,EACxB,0BAA0B,GAC3B,MAAM,uBAAuB,CAAA;AAC9B,OAAO,EAAE,cAAc,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAA;AAEhE,8EAA8E;AAC9E,2EAA2E;AAC3E,iFAAiF;AACjF,2EAA2E;AAC3E,8EAA8E;AAC9E,0CAA0C;AAC1C,8EAA8E;AAE9E,MAAM,mBAAmB,GAAG,iBAAiB,CAAC,eAAe,CAAC,CAAA;AAE9D,oEAAoE;AACpE,MAAM,+BAA+B,GAAG,CAAC,CAAC,MAAM,CAAC;IAC/C,UAAU,EAAE,CAAC,CAAC,QAAQ,CAAC,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GAAG,EAAE,uBAAuB,EAAE,GAAG,cAAc,EAAE;CAC3E,CAAC,CAAA;AAEF,MAAM,CAAC,MAAM,2BAA2B,GAAG,iBAAiB,CAAC;IAC3D,MAAM,EAAE,MAAM;IACd,uBAAuB,EAAE,mBAAmB;IAC5C,YAAY,EAAE,CAAC,EAAE,aAAa,EAAE,EAAE,EAAE,CAAC,iBAAiB,aAAa,WAAW;IAC9E,iBAAiB,EAAE,cAAc;IACjC,qBAAqB,EAAE,EAAE,GAAG,EAAE,uBAAuB,EAAE,GAAG,cAAc,EAAE;CAC3E,CAAC,CAAA"}
@@ -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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AAA"}
@@ -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
@@ -1 +1 @@
1
- {"version":3,"file":"snapshot.d.ts","sourceRoot":"","sources":["../src/snapshot.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AA0B5B,4EAA4E;AAC5E,eAAO,MAAM,uBAAuB;;;aAGlC,CAAA;AACF,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,uBAAuB,CAAC,CAAA;AAE7E,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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