@sealant/api-contracts-next 0.40.0-next.897 → 0.40.0-next.899
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/core-api/control-plane.d.ts +85 -85
- package/package.json +2 -2
|
@@ -2211,7 +2211,14 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
|
|
|
2211
2211
|
readonly suffix: import("effect/Schema").String;
|
|
2212
2212
|
readonly endpointHost: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
2213
2213
|
}>]>>;
|
|
2214
|
-
}>>, import("effect/Schema").toCodecJson<typeof import("./connected-accounts.js").ConnectedAccountNotFoundError | typeof import("./connected-accounts.js").ConnectedAccountConflictError | typeof import("./connected-accounts.js").ConnectedAccountInternalServerError>, RequestBudget | RequestRefusal, never>, false> | import("effect/http-api/HttpApiGroup").HttpApiGroup<"github", import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"
|
|
2214
|
+
}>>, import("effect/Schema").toCodecJson<typeof import("./connected-accounts.js").ConnectedAccountNotFoundError | typeof import("./connected-accounts.js").ConnectedAccountConflictError | typeof import("./connected-accounts.js").ConnectedAccountInternalServerError>, RequestBudget | RequestRefusal, never>, false> | import("effect/http-api/HttpApiGroup").HttpApiGroup<"github", import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"handleWebhook", "POST", "/v1/github/webhooks", never, never, import("effect/Schema").toCodecJson<import("effect/Schema").String>, import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
|
|
2215
|
+
readonly "x-github-delivery": import("effect/Schema").optional<import("effect/Schema").String>;
|
|
2216
|
+
readonly "x-github-event": import("effect/Schema").optional<import("effect/Schema").String>;
|
|
2217
|
+
readonly "x-hub-signature-256": import("effect/Schema").optional<import("effect/Schema").String>;
|
|
2218
|
+
}>>, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
|
|
2219
|
+
readonly deliveryId: import("effect/Schema").String;
|
|
2220
|
+
readonly status: import("effect/Schema").Literals<readonly ["received", "processed", "failed", "ignored"]>;
|
|
2221
|
+
}>>, import("effect/Schema").toCodecJson<typeof import("./github.js").GitHubBadRequestError | typeof import("./github.js").GitHubUnauthorizedError | typeof import("./github.js").GitHubServiceUnavailableError | typeof import("./github.js").GitHubInternalServerError>, RequestBudget | RequestRefusal, never> | import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"importInstallation", "POST", "/v1/github/installations/import", never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
|
|
2215
2222
|
readonly userId: import("effect/Schema").String;
|
|
2216
2223
|
readonly externalInstallationId: import("effect/Schema").String;
|
|
2217
2224
|
}>>, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
|
|
@@ -2265,14 +2272,7 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
|
|
|
2265
2272
|
readonly installationId: import("effect/Schema").String;
|
|
2266
2273
|
readonly syncedRepositoryCount: import("effect/Schema").Number;
|
|
2267
2274
|
readonly syncedAt: import("effect/Schema").String;
|
|
2268
|
-
}>>, import("effect/Schema").toCodecJson<typeof import("./github.js").GitHubForbiddenError | typeof import("./github.js").GitHubNotFoundError | typeof import("./github.js").GitHubServiceUnavailableError | typeof import("./github.js").GitHubInternalServerError>, RequestBudget | RequestRefusal, never> | import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"
|
|
2269
|
-
readonly "x-github-delivery": import("effect/Schema").optional<import("effect/Schema").String>;
|
|
2270
|
-
readonly "x-github-event": import("effect/Schema").optional<import("effect/Schema").String>;
|
|
2271
|
-
readonly "x-hub-signature-256": import("effect/Schema").optional<import("effect/Schema").String>;
|
|
2272
|
-
}>>, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
|
|
2273
|
-
readonly deliveryId: import("effect/Schema").String;
|
|
2274
|
-
readonly status: import("effect/Schema").Literals<readonly ["received", "processed", "failed", "ignored"]>;
|
|
2275
|
-
}>>, import("effect/Schema").toCodecJson<typeof import("./github.js").GitHubBadRequestError | typeof import("./github.js").GitHubUnauthorizedError | typeof import("./github.js").GitHubServiceUnavailableError | typeof import("./github.js").GitHubInternalServerError>, RequestBudget | RequestRefusal, never>, false> | import("effect/http-api/HttpApiGroup").HttpApiGroup<"inference", import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"respond", "POST", "/v1/inference/respond", never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
|
|
2275
|
+
}>>, import("effect/Schema").toCodecJson<typeof import("./github.js").GitHubForbiddenError | typeof import("./github.js").GitHubNotFoundError | typeof import("./github.js").GitHubServiceUnavailableError | typeof import("./github.js").GitHubInternalServerError>, RequestBudget | RequestRefusal, never>, false> | import("effect/http-api/HttpApiGroup").HttpApiGroup<"inference", import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"respond", "POST", "/v1/inference/respond", never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
|
|
2276
2276
|
readonly ownerUserId: import("effect/Schema").String;
|
|
2277
2277
|
readonly credentials: import("effect/Schema").optional<import("effect/Schema").Struct<{
|
|
2278
2278
|
readonly profileId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
@@ -3542,7 +3542,61 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
|
|
|
3542
3542
|
}>>, never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
|
|
3543
3543
|
readonly workspaceId: import("effect/Schema").String;
|
|
3544
3544
|
readonly sshUser: import("effect/Schema").Null;
|
|
3545
|
-
}>>, import("effect/Schema").toCodecJson<typeof import("./workspaces.js").WorkspaceNotFoundError | typeof import("./workspaces.js").WorkspaceInternalServerError>, RequestBudget | RequestRefusal, never> | import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"
|
|
3545
|
+
}>>, import("effect/Schema").toCodecJson<typeof import("./workspaces.js").WorkspaceNotFoundError | typeof import("./workspaces.js").WorkspaceInternalServerError>, RequestBudget | RequestRefusal, never> | import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"createWorkspace", "POST", "/v1/workspaces/", never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
|
|
3546
|
+
readonly imageScopeId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
3547
|
+
readonly ownerUserId: import("effect/Schema").String;
|
|
3548
|
+
readonly registryId: import("effect/Schema").String;
|
|
3549
|
+
readonly repository: import("effect/Schema").String;
|
|
3550
|
+
readonly tag: import("effect/Schema").String;
|
|
3551
|
+
readonly name: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
3552
|
+
readonly sourceSelection: import("effect/Schema").optional<import("effect/Schema").Struct<{
|
|
3553
|
+
readonly provider: import("effect/Schema").Literal<"github">;
|
|
3554
|
+
readonly installationId: import("effect/Schema").String;
|
|
3555
|
+
readonly installationRepositoryId: import("effect/Schema").String;
|
|
3556
|
+
readonly ref: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
3557
|
+
}>>;
|
|
3558
|
+
readonly dotfilesSelection: import("effect/Schema").optional<import("effect/Schema").Struct<{
|
|
3559
|
+
readonly provider: import("effect/Schema").Literal<"github">;
|
|
3560
|
+
readonly installationId: import("effect/Schema").String;
|
|
3561
|
+
readonly installationRepositoryId: import("effect/Schema").String;
|
|
3562
|
+
readonly ref: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
3563
|
+
}>>;
|
|
3564
|
+
readonly credentials: import("effect/Schema").optional<import("effect/Schema").Struct<{
|
|
3565
|
+
readonly profileId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
3566
|
+
readonly claude: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
3567
|
+
readonly codex: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
3568
|
+
readonly github: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
3569
|
+
}>>;
|
|
3570
|
+
readonly spec: import("effect/Schema").Unknown;
|
|
3571
|
+
readonly secretEnv: import("effect/Schema").optional<import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").String>>;
|
|
3572
|
+
readonly captureToken: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
3573
|
+
readonly ttlSeconds: import("effect/Schema").optional<import("effect/Schema").Int>;
|
|
3574
|
+
readonly idempotencyKey: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
3575
|
+
readonly launchId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
3576
|
+
readonly sshAsOwner: import("effect/Schema").optional<import("effect/Schema").Boolean>;
|
|
3577
|
+
}>>, import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
|
|
3578
|
+
readonly "idempotency-key": import("effect/Schema").optional<import("effect/Schema").String>;
|
|
3579
|
+
}>>, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
|
|
3580
|
+
readonly workspaceId: import("effect/Schema").String;
|
|
3581
|
+
readonly name: import("effect/Schema").String;
|
|
3582
|
+
readonly status: import("effect/Schema").Literals<readonly ["queued", "running", "ready", "failed", "cancelled", "stopped", "retained"]>;
|
|
3583
|
+
readonly registryId: import("effect/Schema").String;
|
|
3584
|
+
readonly repository: import("effect/Schema").String;
|
|
3585
|
+
readonly tag: import("effect/Schema").String;
|
|
3586
|
+
readonly runId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
3587
|
+
readonly runtime: import("effect/Schema").optional<import("effect/Schema").Struct<{
|
|
3588
|
+
readonly adapter: import("effect/Schema").Literals<readonly ["docker", "k8s", "k3s", "cloudflare", "microvm", "boat"]>;
|
|
3589
|
+
readonly resourceId: import("effect/Schema").String;
|
|
3590
|
+
readonly reference: import("effect/Schema").String;
|
|
3591
|
+
readonly status: import("effect/Schema").Literals<readonly ["pending", "running", "ready", "failed", "stopped", "retained"]>;
|
|
3592
|
+
readonly endpoint: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
3593
|
+
readonly deadline: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").String>>;
|
|
3594
|
+
readonly runId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
3595
|
+
readonly launchId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
3596
|
+
}>>;
|
|
3597
|
+
readonly replayed: import("effect/Schema").optional<import("effect/Schema").Boolean>;
|
|
3598
|
+
readonly launchId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
3599
|
+
}>>, import("effect/Schema").toCodecJson<typeof import("./budgets.js").BudgetExceededError | typeof import("./workspaces.js").WorkspaceBadRequestError | typeof import("./workspaces.js").WorkspaceRuntimeEnvReferencesUnsupportedError | typeof import("./workspaces.js").WorkspaceRuntimeRequirementUnsupportedError | typeof import("./workspaces.js").WorkspaceDockerServiceUnsupportedError | typeof import("./workspaces.js").WorkspaceSshOwnerRefusedError | typeof import("./workspaces.js").WorkspaceForbiddenError | typeof import("./workspaces.js").WorkspaceNotFoundError | typeof import("./workspaces.js").WorkspaceConflictError | typeof import("./workspaces.js").WorkspaceBadGatewayError | typeof import("./workspaces.js").WorkspaceServiceUnavailableError | typeof import("./workspaces.js").WorkspaceInternalServerError>, RequestBudget | RequestRefusal, never> | import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"execWorkspace", "POST", "/v1/workspaces/:workspaceId/exec", import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
|
|
3546
3600
|
readonly workspaceId: import("effect/Schema").String;
|
|
3547
3601
|
}>>, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
|
|
3548
3602
|
readonly ownerUserId: import("effect/Schema").String;
|
|
@@ -3900,7 +3954,26 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
|
|
|
3900
3954
|
readonly workspaceId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
3901
3955
|
readonly runId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
3902
3956
|
readonly launchId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
3903
|
-
}>>, import("effect/Schema").toCodecJson<typeof import("./workspaces.js").WorkspaceBadRequestError | typeof import("./workspaces.js").WorkspaceInternalServerError>, RequestBudget | RequestRefusal, never> | import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"
|
|
3957
|
+
}>>, import("effect/Schema").toCodecJson<typeof import("./workspaces.js").WorkspaceBadRequestError | typeof import("./workspaces.js").WorkspaceInternalServerError>, RequestBudget | RequestRefusal, never> | import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"getWorkspaceSshTarget", "GET", "/v1/workspaces/:workspaceId/ssh-target", import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
|
|
3958
|
+
readonly workspaceId: import("effect/Schema").String;
|
|
3959
|
+
}>>, never, never, import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
|
|
3960
|
+
readonly "x-sealant-gateway-token": import("effect/Schema").optional<import("effect/Schema").String>;
|
|
3961
|
+
readonly "x-sealant-principal-id": import("effect/Schema").optional<import("effect/Schema").String>;
|
|
3962
|
+
readonly "x-sealant-gateway-ssh-user": import("effect/Schema").optional<import("effect/Schema").String>;
|
|
3963
|
+
readonly "x-sealant-ssh-key-fingerprint": import("effect/Schema").optional<import("effect/Schema").String>;
|
|
3964
|
+
}>>, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
|
|
3965
|
+
readonly workspaceId: import("effect/Schema").String;
|
|
3966
|
+
readonly attemptId: import("effect/Schema").String;
|
|
3967
|
+
readonly runtime: import("effect/Schema").Struct<{
|
|
3968
|
+
readonly adapter: import("effect/Schema").Literals<readonly ["docker", "k8s", "k3s", "cloudflare", "microvm", "boat"]>;
|
|
3969
|
+
readonly resourceId: import("effect/Schema").String;
|
|
3970
|
+
readonly reference: import("effect/Schema").String;
|
|
3971
|
+
readonly status: import("effect/Schema").Literals<readonly ["pending", "running", "ready", "failed", "stopped"]>;
|
|
3972
|
+
readonly endpoint: import("effect/Schema").String;
|
|
3973
|
+
}>;
|
|
3974
|
+
readonly sessionUser: import("effect/Schema").NullOr<import("effect/Schema").String>;
|
|
3975
|
+
readonly sshKeyFingerprint: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
3976
|
+
}>>, import("effect/Schema").toCodecJson<typeof import("./workspaces.js").WorkspaceUnauthorizedError | typeof import("./workspaces.js").WorkspaceSshKeyNoLongerRegisteredError | typeof import("./workspaces.js").WorkspaceNotFoundError | typeof import("./workspaces.js").WorkspaceConflictError | typeof import("./workspaces.js").WorkspaceServiceUnavailableError | typeof import("./workspaces.js").WorkspaceInternalServerError>, RequestBudget | RequestRefusal, never> | import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"inspectWorkspaceImage", "POST", "/v1/workspaces/image", never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
|
|
3904
3977
|
readonly imageScopeId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
3905
3978
|
readonly ownerUserId: import("effect/Schema").String;
|
|
3906
3979
|
readonly registryId: import("effect/Schema").String;
|
|
@@ -4558,77 +4631,4 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
|
|
|
4558
4631
|
readonly outcome: import("effect/Schema").Literals<readonly ["accepted", "ignored"]>;
|
|
4559
4632
|
readonly detail: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
4560
4633
|
}>>;
|
|
4561
|
-
}>>, import("effect/Schema").toCodecJson<typeof import("./workspaces.js").WorkspaceBadRequestError | typeof import("./workspaces.js").WorkspaceNotFoundError | typeof import("./workspaces.js").WorkspaceConflictError | typeof import("./workspaces.js").WorkspaceBadGatewayError | typeof import("./workspaces.js").WorkspaceInternalServerError>, RequestBudget | RequestRefusal, never
|
|
4562
|
-
readonly imageScopeId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
4563
|
-
readonly ownerUserId: import("effect/Schema").String;
|
|
4564
|
-
readonly registryId: import("effect/Schema").String;
|
|
4565
|
-
readonly repository: import("effect/Schema").String;
|
|
4566
|
-
readonly tag: import("effect/Schema").String;
|
|
4567
|
-
readonly name: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
4568
|
-
readonly sourceSelection: import("effect/Schema").optional<import("effect/Schema").Struct<{
|
|
4569
|
-
readonly provider: import("effect/Schema").Literal<"github">;
|
|
4570
|
-
readonly installationId: import("effect/Schema").String;
|
|
4571
|
-
readonly installationRepositoryId: import("effect/Schema").String;
|
|
4572
|
-
readonly ref: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
4573
|
-
}>>;
|
|
4574
|
-
readonly dotfilesSelection: import("effect/Schema").optional<import("effect/Schema").Struct<{
|
|
4575
|
-
readonly provider: import("effect/Schema").Literal<"github">;
|
|
4576
|
-
readonly installationId: import("effect/Schema").String;
|
|
4577
|
-
readonly installationRepositoryId: import("effect/Schema").String;
|
|
4578
|
-
readonly ref: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
4579
|
-
}>>;
|
|
4580
|
-
readonly credentials: import("effect/Schema").optional<import("effect/Schema").Struct<{
|
|
4581
|
-
readonly profileId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
4582
|
-
readonly claude: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
4583
|
-
readonly codex: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
4584
|
-
readonly github: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
4585
|
-
}>>;
|
|
4586
|
-
readonly spec: import("effect/Schema").Unknown;
|
|
4587
|
-
readonly secretEnv: import("effect/Schema").optional<import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").String>>;
|
|
4588
|
-
readonly captureToken: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
4589
|
-
readonly ttlSeconds: import("effect/Schema").optional<import("effect/Schema").Int>;
|
|
4590
|
-
readonly idempotencyKey: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
4591
|
-
readonly launchId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
4592
|
-
readonly sshAsOwner: import("effect/Schema").optional<import("effect/Schema").Boolean>;
|
|
4593
|
-
}>>, import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
|
|
4594
|
-
readonly "idempotency-key": import("effect/Schema").optional<import("effect/Schema").String>;
|
|
4595
|
-
}>>, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
|
|
4596
|
-
readonly workspaceId: import("effect/Schema").String;
|
|
4597
|
-
readonly name: import("effect/Schema").String;
|
|
4598
|
-
readonly status: import("effect/Schema").Literals<readonly ["queued", "running", "ready", "failed", "cancelled", "stopped", "retained"]>;
|
|
4599
|
-
readonly registryId: import("effect/Schema").String;
|
|
4600
|
-
readonly repository: import("effect/Schema").String;
|
|
4601
|
-
readonly tag: import("effect/Schema").String;
|
|
4602
|
-
readonly runId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
4603
|
-
readonly runtime: import("effect/Schema").optional<import("effect/Schema").Struct<{
|
|
4604
|
-
readonly adapter: import("effect/Schema").Literals<readonly ["docker", "k8s", "k3s", "cloudflare", "microvm", "boat"]>;
|
|
4605
|
-
readonly resourceId: import("effect/Schema").String;
|
|
4606
|
-
readonly reference: import("effect/Schema").String;
|
|
4607
|
-
readonly status: import("effect/Schema").Literals<readonly ["pending", "running", "ready", "failed", "stopped", "retained"]>;
|
|
4608
|
-
readonly endpoint: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
4609
|
-
readonly deadline: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").String>>;
|
|
4610
|
-
readonly runId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
4611
|
-
readonly launchId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
4612
|
-
}>>;
|
|
4613
|
-
readonly replayed: import("effect/Schema").optional<import("effect/Schema").Boolean>;
|
|
4614
|
-
readonly launchId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
4615
|
-
}>>, import("effect/Schema").toCodecJson<typeof import("./budgets.js").BudgetExceededError | typeof import("./workspaces.js").WorkspaceBadRequestError | typeof import("./workspaces.js").WorkspaceRuntimeEnvReferencesUnsupportedError | typeof import("./workspaces.js").WorkspaceRuntimeRequirementUnsupportedError | typeof import("./workspaces.js").WorkspaceDockerServiceUnsupportedError | typeof import("./workspaces.js").WorkspaceSshOwnerRefusedError | typeof import("./workspaces.js").WorkspaceForbiddenError | typeof import("./workspaces.js").WorkspaceNotFoundError | typeof import("./workspaces.js").WorkspaceConflictError | typeof import("./workspaces.js").WorkspaceBadGatewayError | typeof import("./workspaces.js").WorkspaceServiceUnavailableError | typeof import("./workspaces.js").WorkspaceInternalServerError>, RequestBudget | RequestRefusal, never> | import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"getWorkspaceSshTarget", "GET", "/v1/workspaces/:workspaceId/ssh-target", import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
|
|
4616
|
-
readonly workspaceId: import("effect/Schema").String;
|
|
4617
|
-
}>>, never, never, import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
|
|
4618
|
-
readonly "x-sealant-gateway-token": import("effect/Schema").optional<import("effect/Schema").String>;
|
|
4619
|
-
readonly "x-sealant-principal-id": import("effect/Schema").optional<import("effect/Schema").String>;
|
|
4620
|
-
readonly "x-sealant-gateway-ssh-user": import("effect/Schema").optional<import("effect/Schema").String>;
|
|
4621
|
-
readonly "x-sealant-ssh-key-fingerprint": import("effect/Schema").optional<import("effect/Schema").String>;
|
|
4622
|
-
}>>, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
|
|
4623
|
-
readonly workspaceId: import("effect/Schema").String;
|
|
4624
|
-
readonly attemptId: import("effect/Schema").String;
|
|
4625
|
-
readonly runtime: import("effect/Schema").Struct<{
|
|
4626
|
-
readonly adapter: import("effect/Schema").Literals<readonly ["docker", "k8s", "k3s", "cloudflare", "microvm", "boat"]>;
|
|
4627
|
-
readonly resourceId: import("effect/Schema").String;
|
|
4628
|
-
readonly reference: import("effect/Schema").String;
|
|
4629
|
-
readonly status: import("effect/Schema").Literals<readonly ["pending", "running", "ready", "failed", "stopped"]>;
|
|
4630
|
-
readonly endpoint: import("effect/Schema").String;
|
|
4631
|
-
}>;
|
|
4632
|
-
readonly sessionUser: import("effect/Schema").NullOr<import("effect/Schema").String>;
|
|
4633
|
-
readonly sshKeyFingerprint: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
4634
|
-
}>>, import("effect/Schema").toCodecJson<typeof import("./workspaces.js").WorkspaceUnauthorizedError | typeof import("./workspaces.js").WorkspaceSshKeyNoLongerRegisteredError | typeof import("./workspaces.js").WorkspaceNotFoundError | typeof import("./workspaces.js").WorkspaceConflictError | typeof import("./workspaces.js").WorkspaceServiceUnavailableError | typeof import("./workspaces.js").WorkspaceInternalServerError>, RequestBudget | RequestRefusal, never>, false>>;
|
|
4634
|
+
}>>, import("effect/Schema").toCodecJson<typeof import("./workspaces.js").WorkspaceBadRequestError | typeof import("./workspaces.js").WorkspaceNotFoundError | typeof import("./workspaces.js").WorkspaceConflictError | typeof import("./workspaces.js").WorkspaceBadGatewayError | typeof import("./workspaces.js").WorkspaceInternalServerError>, RequestBudget | RequestRefusal, never>, false>>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sealant/api-contracts-next",
|
|
3
|
-
"version": "0.40.0-next.
|
|
3
|
+
"version": "0.40.0-next.899",
|
|
4
4
|
"description": "Contract-first HTTP API definitions for Sealant services",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
"peerDependencies": {
|
|
37
37
|
"effect": "^4.0.5"
|
|
38
38
|
},
|
|
39
|
-
"gitHead": "
|
|
39
|
+
"gitHead": "10d98265417b1d5ce6e4e5177bed80270f33a6cb",
|
|
40
40
|
"publishConfig": {
|
|
41
41
|
"access": "public"
|
|
42
42
|
}
|