@spacefast/common 0.0.26 → 0.2.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.
- package/dist/agents/connect-targets.d.ts +6 -146
- package/dist/agents/connect-targets.js +63 -295
- package/dist/agents/private-key-oauth.d.ts +31 -1
- package/dist/agents/private-key-oauth.js +124 -33
- package/dist/agents/registry/core.d.ts +292 -0
- package/dist/agents/registry/core.js +1388 -0
- package/dist/agents/registry/deeplink-probes.d.ts +23 -0
- package/dist/agents/registry/deeplink-probes.js +18 -0
- package/dist/agents/registry/node.d.ts +56 -0
- package/dist/agents/registry/node.js +339 -0
- package/dist/brand-assets-build.js +1 -2
- package/dist/brand-assets.js +4 -7
- package/dist/brand.d.ts +17 -0
- package/dist/brand.js +24 -4
- package/dist/config/domains.d.ts +55 -28
- package/dist/config/domains.js +85 -41
- package/dist/config/index.js +1 -2
- package/dist/contracts/abuse.js +9 -24
- package/dist/contracts/access-profiles.d.ts +86 -0
- package/dist/contracts/access-profiles.js +89 -0
- package/dist/contracts/access.d.ts +21 -27
- package/dist/contracts/access.js +33 -64
- package/dist/contracts/activity.d.ts +18 -1
- package/dist/contracts/activity.js +70 -26
- package/dist/contracts/analytics.js +8 -10
- package/dist/contracts/api-keys.d.ts +77 -52
- package/dist/contracts/api-keys.js +44 -24
- package/dist/contracts/application-journal.d.ts +216 -0
- package/dist/contracts/application-journal.js +167 -0
- package/dist/contracts/auth.d.ts +90 -17
- package/dist/contracts/auth.js +86 -17
- package/dist/contracts/beta.d.ts +9 -4
- package/dist/contracts/beta.js +20 -16
- package/dist/contracts/billing.js +7 -11
- package/dist/contracts/bootstrap.d.ts +791 -0
- package/dist/contracts/bootstrap.js +51 -0
- package/dist/contracts/builds.d.ts +186 -7
- package/dist/contracts/builds.js +75 -21
- package/dist/contracts/channels.d.ts +43 -0
- package/dist/contracts/channels.js +25 -9
- package/dist/contracts/cli.d.ts +7 -0
- package/dist/contracts/cli.js +6 -0
- package/dist/contracts/collab-public.d.ts +1 -1
- package/dist/contracts/collab-public.js +5 -8
- package/dist/contracts/comments.d.ts +45 -35
- package/dist/contracts/comments.js +107 -77
- package/dist/contracts/commerce.d.ts +165 -0
- package/dist/contracts/commerce.js +146 -0
- package/dist/contracts/common.d.ts +3 -3
- package/dist/contracts/common.js +18 -29
- package/dist/contracts/content-contract-verification.d.ts +521 -0
- package/dist/contracts/content-contract-verification.js +320 -0
- package/dist/contracts/content-platform-fixture.d.ts +1278 -0
- package/dist/contracts/content-platform-fixture.js +44 -0
- package/dist/contracts/content-program.d.ts +994 -0
- package/dist/contracts/content-program.js +658 -0
- package/dist/contracts/content-sync.d.ts +290 -0
- package/dist/contracts/content-sync.js +167 -0
- package/dist/contracts/content.d.ts +432 -0
- package/dist/contracts/content.js +303 -0
- package/dist/contracts/continuation.d.ts +17 -1
- package/dist/contracts/continuation.js +23 -23
- package/dist/contracts/countries.js +3 -4
- package/dist/contracts/crons.d.ts +17 -0
- package/dist/contracts/crons.js +33 -15
- package/dist/contracts/dashboard-prefs.d.ts +56 -0
- package/dist/contracts/dashboard-prefs.js +51 -0
- package/dist/contracts/device-auth.d.ts +234 -37
- package/dist/contracts/device-auth.js +267 -53
- package/dist/contracts/docs.d.ts +6 -10
- package/dist/contracts/docs.js +5 -13
- package/dist/contracts/domains.d.ts +499 -102
- package/dist/contracts/domains.js +169 -58
- package/dist/contracts/email-preferences.d.ts +3 -3
- package/dist/contracts/email-preferences.js +6 -7
- package/dist/contracts/enums.d.ts +26 -26
- package/dist/contracts/enums.js +61 -54
- package/dist/contracts/error-code-meta.d.ts +269 -7
- package/dist/contracts/error-code-meta.js +80 -5
- package/dist/contracts/error-codes.d.ts +5 -5
- package/dist/contracts/error-codes.js +78 -16
- package/dist/contracts/events.d.ts +100 -20
- package/dist/contracts/events.js +107 -20
- package/dist/contracts/execution.d.ts +47 -66
- package/dist/contracts/execution.js +51 -64
- package/dist/contracts/feature-lifecycle.d.ts +70 -14
- package/dist/contracts/feature-lifecycle.js +86 -15
- package/dist/contracts/features.d.ts +100 -37
- package/dist/contracts/features.js +21 -27
- package/dist/contracts/fixtures/content-platform-v1.json +1108 -0
- package/dist/contracts/frame-session.d.ts +192 -0
- package/dist/contracts/frame-session.js +164 -0
- package/dist/contracts/functions.d.ts +218 -211
- package/dist/contracts/functions.js +273 -260
- package/dist/contracts/grant-copy.d.ts +43 -0
- package/dist/contracts/grant-copy.js +44 -0
- package/dist/contracts/grants.d.ts +64 -56
- package/dist/contracts/grants.js +124 -23
- package/dist/contracts/ids.d.ts +4 -1
- package/dist/contracts/ids.js +4 -1
- package/dist/contracts/internal.d.ts +5 -4
- package/dist/contracts/internal.js +12 -3
- package/dist/contracts/mcp.d.ts +17 -0
- package/dist/contracts/mcp.js +23 -0
- package/dist/contracts/me.d.ts +6 -1
- package/dist/contracts/me.js +12 -6
- package/dist/contracts/notifications.d.ts +27 -29
- package/dist/contracts/notifications.js +9 -4
- package/dist/contracts/oauth-resources.d.ts +112 -10
- package/dist/contracts/oauth-resources.js +116 -11
- package/dist/contracts/oauth-scope-actions.d.ts +90 -0
- package/dist/contracts/oauth-scope-actions.js +126 -0
- package/dist/contracts/operations.d.ts +27 -4
- package/dist/contracts/operations.js +11 -5
- package/dist/contracts/pages.d.ts +29 -5
- package/dist/contracts/pages.js +22 -5
- package/dist/contracts/partner-notifications.d.ts +3 -0
- package/dist/contracts/partner-notifications.js +65 -0
- package/dist/contracts/{platform.d.ts → partner.d.ts} +29 -42
- package/dist/contracts/{platform.js → partner.js} +27 -40
- package/dist/contracts/plan-policy.d.ts +1 -1
- package/dist/contracts/principal-assertion.d.ts +43 -0
- package/dist/contracts/principal-assertion.js +67 -0
- package/dist/contracts/principals.d.ts +73 -0
- package/dist/contracts/principals.js +59 -0
- package/dist/contracts/privacy.d.ts +11 -0
- package/dist/contracts/privacy.js +17 -0
- package/dist/contracts/problem-document.js +3 -4
- package/dist/contracts/publish-archive.d.ts +116 -18
- package/dist/contracts/publish-archive.js +6 -3
- package/dist/contracts/push-new.d.ts +4 -4
- package/dist/contracts/quotas.js +3 -3
- package/dist/contracts/realtime.d.ts +52 -0
- package/dist/contracts/realtime.js +54 -0
- package/dist/contracts/repository-connections.d.ts +1 -1
- package/dist/contracts/repository-connections.js +6 -2
- package/dist/contracts/resources.d.ts +105 -14
- package/dist/contracts/resources.js +145 -21
- package/dist/contracts/route-inventory.d.ts +358 -0
- package/dist/contracts/route-inventory.js +141 -0
- package/dist/contracts/runtime-api.d.ts +112 -35
- package/dist/contracts/runtime-api.js +86 -66
- package/dist/contracts/runtime-app.d.ts +11 -21
- package/dist/contracts/runtime-app.js +39 -24
- package/dist/contracts/runtime-components.d.ts +143 -0
- package/dist/contracts/runtime-components.js +199 -0
- package/dist/contracts/runtime-db.d.ts +45 -19
- package/dist/contracts/runtime-db.js +85 -20
- package/dist/contracts/runtime-purge.js +3 -5
- package/dist/contracts/runtime-services.d.ts +43 -75
- package/dist/contracts/runtime-services.js +29 -49
- package/dist/contracts/runtime-storage.d.ts +14 -14
- package/dist/contracts/runtime-storage.js +28 -13
- package/dist/contracts/sf-config-v1.d.ts +14 -18
- package/dist/contracts/slugs.js +13 -4
- package/dist/contracts/space-config.d.ts +235 -28
- package/dist/contracts/space-config.js +246 -91
- package/dist/contracts/spaces.d.ts +360 -255
- package/dist/contracts/spaces.js +190 -122
- package/dist/contracts/superadmin-activity.d.ts +3 -43
- package/dist/contracts/superadmin-activity.js +6 -30
- package/dist/contracts/superadmin-emails.d.ts +1 -0
- package/dist/contracts/superadmin-emails.js +17 -1
- package/dist/contracts/superadmin-runtime.d.ts +199 -0
- package/dist/contracts/superadmin-runtime.js +141 -0
- package/dist/contracts/superadmin-search.d.ts +22 -2
- package/dist/contracts/superadmin-search.js +14 -6
- package/dist/contracts/superadmin-spaces.d.ts +435 -186
- package/dist/contracts/superadmin-spaces.js +131 -25
- package/dist/contracts/superadmin-teams.d.ts +3 -0
- package/dist/contracts/superadmin-teams.js +1 -2
- package/dist/contracts/superadmin-tenants.d.ts +627 -6
- package/dist/contracts/superadmin-tenants.js +32 -7
- package/dist/contracts/superadmin.d.ts +98 -16
- package/dist/contracts/superadmin.js +63 -10
- package/dist/contracts/tags.d.ts +85 -58
- package/dist/contracts/tags.js +44 -34
- package/dist/contracts/teams.d.ts +72 -9
- package/dist/contracts/teams.js +84 -25
- package/dist/contracts/tenants.d.ts +135 -0
- package/dist/contracts/tenants.js +120 -0
- package/dist/contracts/test-triggers.d.ts +70 -0
- package/dist/contracts/test-triggers.js +116 -0
- package/dist/contracts/theme-json.js +3 -8
- package/dist/contracts/transfers.d.ts +1 -0
- package/dist/contracts/transfers.js +1 -0
- package/dist/contracts/usage.d.ts +209 -0
- package/dist/contracts/usage.js +124 -12
- package/dist/contracts/variables.d.ts +2 -2
- package/dist/contracts/variables.js +9 -13
- package/dist/contracts/webhooks.d.ts +13 -5
- package/dist/contracts/webhooks.js +3 -1
- package/dist/contracts/zero.d.ts +57 -64
- package/dist/contracts/zero.js +68 -66
- package/dist/dashboard-paths/index.d.ts +24 -21
- package/dist/dashboard-paths/index.js +35 -47
- package/dist/dashboard-paths/route-reservations.generated.d.ts +2 -0
- package/dist/dashboard-paths/route-reservations.generated.js +36 -0
- package/dist/docs/agent-arrival.d.ts +92 -0
- package/dist/docs/agent-arrival.js +227 -0
- package/dist/docs/agent-output-policy.d.ts +6 -0
- package/dist/docs/agent-output-policy.js +22 -0
- package/dist/docs/agent-prose.d.ts +11 -17
- package/dist/docs/agent-prose.js +62 -37
- package/dist/docs/agent-setup.d.ts +72 -41
- package/dist/docs/agent-setup.js +336 -436
- package/dist/docs/catalog.d.ts +147 -89
- package/dist/docs/catalog.js +157 -42
- package/dist/docs/error-docs.d.ts +2098 -1
- package/dist/docs/error-docs.js +281 -16
- package/dist/docs/index-build.d.ts +0 -1
- package/dist/docs/index-build.js +2 -3
- package/dist/docs/page-context-prompt.d.ts +77 -0
- package/dist/docs/page-context-prompt.js +131 -0
- package/dist/docs/reference-urls.d.ts +46 -0
- package/dist/docs/reference-urls.js +79 -0
- package/dist/docs/search.d.ts +6 -8
- package/dist/docs/search.js +10 -13
- package/dist/docs/skill-distribution.d.ts +4 -1
- package/dist/docs/skill-distribution.js +10 -5
- package/dist/docs/skills.d.ts +117 -117
- package/dist/docs/skills.js +120 -72
- package/dist/docs/start-prompts.d.ts +45 -0
- package/dist/docs/start-prompts.js +62 -0
- package/dist/domain-exploration.js +9 -13
- package/dist/og-template.d.ts +56 -0
- package/dist/og-template.js +56 -0
- package/dist/slug-policy/index.js +5 -11
- package/dist/utils/browser-credential.d.ts +13 -6
- package/dist/utils/browser-credential.js +14 -7
- package/dist/utils/build-settings.d.ts +16 -0
- package/dist/utils/build-settings.js +63 -17
- package/dist/utils/canonical-json.d.ts +3 -5
- package/dist/utils/canonical-json.js +3 -5
- package/dist/utils/cast-transport.d.ts +5 -17
- package/dist/utils/cast-transport.js +6 -19
- package/dist/utils/claim-token.js +1 -2
- package/dist/utils/comment-avatars.js +4 -6
- package/dist/utils/concurrency.js +2 -3
- package/dist/utils/content-type.d.ts +7 -6
- package/dist/utils/content-type.js +73 -51
- package/dist/utils/credential-policy.d.ts +50 -6
- package/dist/utils/credential-policy.js +123 -57
- package/dist/utils/egress-policy.fixtures.json +1 -1
- package/dist/utils/generate-space-name.d.ts +3 -8
- package/dist/utils/generate-space-name.js +3 -8
- package/dist/utils/grants.d.ts +0 -1
- package/dist/utils/grants.js +4 -7
- package/dist/utils/gravatar.d.ts +2 -4
- package/dist/utils/gravatar.js +6 -12
- package/dist/utils/id-hints.js +14 -23
- package/dist/utils/idempotency.d.ts +3 -3
- package/dist/utils/idempotency.js +6 -7
- package/dist/utils/local-space-state.d.ts +15 -15
- package/dist/utils/local-space-state.js +34 -23
- package/dist/utils/oauth-signed-query.d.ts +3 -5
- package/dist/utils/oauth-signed-query.js +6 -9
- package/dist/utils/one-shot-replay.d.ts +3 -5
- package/dist/utils/one-shot-replay.js +3 -5
- package/dist/utils/page-colors.d.ts +4 -10
- package/dist/utils/page-colors.js +11 -35
- package/dist/utils/page-fonts.js +6 -11
- package/dist/utils/page-preview.d.ts +0 -1
- package/dist/utils/page-preview.js +0 -1
- package/dist/utils/pages.d.ts +22 -11
- package/dist/utils/pages.js +70 -30
- package/dist/utils/privacy-regions.d.ts +19 -0
- package/dist/utils/privacy-regions.js +91 -0
- package/dist/utils/publish-form-data.d.ts +4 -5
- package/dist/utils/publish-form-data.js +2 -3
- package/dist/utils/publish-policy.d.ts +10 -23
- package/dist/utils/publish-policy.js +63 -116
- package/dist/utils/query-client.d.ts +2 -0
- package/dist/utils/query-client.js +10 -1
- package/dist/utils/runtime-paths.d.ts +4 -4
- package/dist/utils/runtime-paths.js +6 -8
- package/dist/utils/runtime-upload.d.ts +4 -0
- package/dist/utils/runtime-upload.js +5 -0
- package/dist/utils/secure-local-file.d.ts +3 -3
- package/dist/utils/secure-local-file.js +18 -24
- package/dist/utils/space-config.d.ts +11 -14
- package/dist/utils/space-config.js +10 -16
- package/dist/utils/static-runtime-policy.d.ts +5 -8
- package/dist/utils/static-runtime-policy.generated.d.ts +16 -0
- package/dist/utils/static-runtime-policy.generated.js +70 -0
- package/dist/utils/static-runtime-policy.js +17 -84
- package/dist/utils/storage-policy.js +1 -2
- package/dist/utils/upload-session.js +8 -14
- package/dist/utils/version-path.js +11 -19
- package/dist/utils/wpcom-auth-redirects.d.ts +5 -14
- package/dist/utils/wpcom-auth-redirects.js +1 -4
- package/dist/vocabulary.d.ts +7 -7
- package/dist/vocabulary.js +30 -16
- package/package.json +14 -2
- package/dist/agents/client-registry.d.ts +0 -22
- package/dist/agents/client-registry.js +0 -41
- package/dist/docs/agent-handoff-document.d.ts +0 -15
- package/dist/docs/agent-handoff-document.js +0 -180
- package/dist/docs/agent-solutions.d.ts +0 -110
- package/dist/docs/agent-solutions.js +0 -183
- package/dist/utils/query-keys.d.ts +0 -84
- package/dist/utils/query-keys.js +0 -108
|
@@ -4,20 +4,6 @@ export declare const SpaceCapacitySchema: z.ZodObject<{
|
|
|
4
4
|
storageBytes: z.ZodOptional<z.ZodNumber>;
|
|
5
5
|
}, z.core.$strip>;
|
|
6
6
|
export type SpaceCapacity = z.infer<typeof SpaceCapacitySchema>;
|
|
7
|
-
export declare const SpacePressureSchema: z.ZodObject<{
|
|
8
|
-
ewmaLimitedPct: z.ZodOptional<z.ZodNumber>;
|
|
9
|
-
ewma429: z.ZodOptional<z.ZodNumber>;
|
|
10
|
-
ewma429PerMin: z.ZodOptional<z.ZodNumber>;
|
|
11
|
-
ewmaWorkersMax: z.ZodOptional<z.ZodNumber>;
|
|
12
|
-
ewmaCpuPct: z.ZodOptional<z.ZodNumber>;
|
|
13
|
-
lastSampleAt: z.ZodOptional<z.ZodString>;
|
|
14
|
-
consecutivePressured: z.ZodOptional<z.ZodNumber>;
|
|
15
|
-
consecutiveClean: z.ZodOptional<z.ZodNumber>;
|
|
16
|
-
placementHoldRevision: z.ZodOptional<z.ZodNumber>;
|
|
17
|
-
pressureHoldUntil: z.ZodOptional<z.ZodString>;
|
|
18
|
-
lastBulkLaneActivityAt: z.ZodOptional<z.ZodString>;
|
|
19
|
-
}, z.core.$loose>;
|
|
20
|
-
export type SpacePressure = z.infer<typeof SpacePressureSchema>;
|
|
21
7
|
export declare const spaceClaimReceiptSchema: z.ZodObject<{
|
|
22
8
|
key: z.ZodString;
|
|
23
9
|
url: z.ZodString;
|
|
@@ -27,28 +13,42 @@ export declare const spaceClaimReceiptSchema: z.ZodObject<{
|
|
|
27
13
|
export declare const SpaceCreateResponseSchema: z.ZodObject<{
|
|
28
14
|
space: z.ZodObject<{
|
|
29
15
|
id: z.ZodString;
|
|
30
|
-
tenantId: z.ZodString
|
|
31
|
-
|
|
32
|
-
|
|
16
|
+
tenantId: z.ZodOptional<z.ZodString>;
|
|
17
|
+
mode: z.ZodOptional<z.ZodEnum<{
|
|
18
|
+
live: "live";
|
|
19
|
+
test: "test";
|
|
20
|
+
}>>;
|
|
21
|
+
providerRef: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
|
+
providerClientId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
33
23
|
teamId: z.ZodNullable<z.ZodString>;
|
|
34
24
|
teamSlug: z.ZodNullable<z.ZodString>;
|
|
35
|
-
principal: z.ZodNullable<z.ZodObject<{
|
|
25
|
+
principal: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
36
26
|
tenantId: z.ZodString;
|
|
37
27
|
principalType: z.ZodEnum<{
|
|
38
28
|
team: "team";
|
|
39
29
|
external: "external";
|
|
40
30
|
}>;
|
|
41
31
|
principalId: z.ZodString;
|
|
32
|
+
}, z.core.$strip>>>;
|
|
33
|
+
infrastructure: z.ZodOptional<z.ZodObject<{
|
|
34
|
+
region: z.ZodNullable<z.ZodString>;
|
|
35
|
+
runtimeInstanceId: z.ZodNullable<z.ZodString>;
|
|
36
|
+
providerMainHostname: z.ZodNullable<z.ZodString>;
|
|
37
|
+
provisioningState: z.ZodEnum<{
|
|
38
|
+
provisioning: "provisioning";
|
|
39
|
+
degraded: "degraded";
|
|
40
|
+
converged: "converged";
|
|
41
|
+
}>;
|
|
42
42
|
}, z.core.$strip>>;
|
|
43
43
|
anonymous: z.ZodBoolean;
|
|
44
44
|
slug: z.ZodString;
|
|
45
45
|
title: z.ZodString;
|
|
46
46
|
status: z.ZodEnum<{
|
|
47
47
|
active: "active";
|
|
48
|
+
failed: "failed";
|
|
48
49
|
provisioning: "provisioning";
|
|
49
50
|
updating: "updating";
|
|
50
51
|
deleting: "deleting";
|
|
51
|
-
failed: "failed";
|
|
52
52
|
}>;
|
|
53
53
|
disabled: z.ZodNullable<z.ZodObject<{
|
|
54
54
|
at: z.ZodNullable<z.ZodString>;
|
|
@@ -175,6 +175,16 @@ export declare const SpaceCreateResponseSchema: z.ZodObject<{
|
|
|
175
175
|
}, z.core.$strip>>;
|
|
176
176
|
settingsDigest: z.ZodString;
|
|
177
177
|
noindex: z.ZodBoolean;
|
|
178
|
+
pinnedAt: z.ZodNullable<z.ZodString>;
|
|
179
|
+
git: z.ZodNullable<z.ZodObject<{
|
|
180
|
+
managedBy: z.ZodEnum<{
|
|
181
|
+
spacefast: "spacefast";
|
|
182
|
+
github: "github";
|
|
183
|
+
}>;
|
|
184
|
+
remoteUrl: z.ZodNullable<z.ZodString>;
|
|
185
|
+
repository: z.ZodNullable<z.ZodString>;
|
|
186
|
+
defaultBranch: z.ZodNullable<z.ZodString>;
|
|
187
|
+
}, z.core.$strip>>;
|
|
178
188
|
operation: z.ZodNullable<z.ZodObject<{
|
|
179
189
|
id: z.ZodString;
|
|
180
190
|
kind: z.ZodString;
|
|
@@ -198,8 +208,8 @@ export declare const SpaceCreateResponseSchema: z.ZodObject<{
|
|
|
198
208
|
code: z.ZodString;
|
|
199
209
|
severity: z.ZodEnum<{
|
|
200
210
|
info: "info";
|
|
201
|
-
error: "error";
|
|
202
211
|
warning: "warning";
|
|
212
|
+
error: "error";
|
|
203
213
|
}>;
|
|
204
214
|
message: z.ZodString;
|
|
205
215
|
path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -235,8 +245,8 @@ export declare const spaceDiagnosticSchema: z.ZodObject<{
|
|
|
235
245
|
code: z.ZodString;
|
|
236
246
|
severity: z.ZodEnum<{
|
|
237
247
|
info: "info";
|
|
238
|
-
error: "error";
|
|
239
248
|
warning: "warning";
|
|
249
|
+
error: "error";
|
|
240
250
|
}>;
|
|
241
251
|
message: z.ZodString;
|
|
242
252
|
path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -259,8 +269,8 @@ export declare const spaceDiagnosticListResponseSchema: z.ZodObject<{
|
|
|
259
269
|
code: z.ZodString;
|
|
260
270
|
severity: z.ZodEnum<{
|
|
261
271
|
info: "info";
|
|
262
|
-
error: "error";
|
|
263
272
|
warning: "warning";
|
|
273
|
+
error: "error";
|
|
264
274
|
}>;
|
|
265
275
|
message: z.ZodString;
|
|
266
276
|
path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -277,10 +287,6 @@ export declare const spaceDiagnosticListResponseSchema: z.ZodObject<{
|
|
|
277
287
|
versionId: z.ZodString;
|
|
278
288
|
createdAt: z.ZodString;
|
|
279
289
|
}, z.core.$strip>>;
|
|
280
|
-
pagination: z.ZodObject<{
|
|
281
|
-
nextCursor: z.ZodNullable<z.ZodString>;
|
|
282
|
-
hasMore: z.ZodBoolean;
|
|
283
|
-
}, z.core.$strip>;
|
|
284
290
|
}, z.core.$strip>;
|
|
285
291
|
export declare const principalRefInputSchema: z.ZodObject<{
|
|
286
292
|
type: z.ZodEnum<{
|
|
@@ -474,6 +480,7 @@ export declare const spacePatchSchema: z.ZodObject<{
|
|
|
474
480
|
burstable: z.ZodOptional<z.ZodBoolean>;
|
|
475
481
|
}, z.core.$strict>>;
|
|
476
482
|
noindex: z.ZodOptional<z.ZodBoolean>;
|
|
483
|
+
pinned: z.ZodOptional<z.ZodBoolean>;
|
|
477
484
|
}, z.core.$strict>;
|
|
478
485
|
export declare const anonymousClaimSchema: z.ZodObject<{
|
|
479
486
|
key: z.ZodOptional<z.ZodString>;
|
|
@@ -502,9 +509,10 @@ export declare const anonymousClaimSharingSummarySchema: z.ZodObject<{
|
|
|
502
509
|
grants: z.ZodArray<z.ZodObject<{
|
|
503
510
|
scope: z.ZodString;
|
|
504
511
|
role: z.ZodEnum<{
|
|
512
|
+
editor: "editor";
|
|
505
513
|
viewer: "viewer";
|
|
506
514
|
commenter: "commenter";
|
|
507
|
-
|
|
515
|
+
manager: "manager";
|
|
508
516
|
}>;
|
|
509
517
|
}, z.core.$strip>>;
|
|
510
518
|
}, z.core.$strip>>;
|
|
@@ -563,9 +571,10 @@ export declare const anonymousClaimResponseSchema: z.ZodObject<{
|
|
|
563
571
|
grants: z.ZodArray<z.ZodObject<{
|
|
564
572
|
scope: z.ZodString;
|
|
565
573
|
role: z.ZodEnum<{
|
|
574
|
+
editor: "editor";
|
|
566
575
|
viewer: "viewer";
|
|
567
576
|
commenter: "commenter";
|
|
568
|
-
|
|
577
|
+
manager: "manager";
|
|
569
578
|
}>;
|
|
570
579
|
}, z.core.$strip>>;
|
|
571
580
|
}, z.core.$strip>>;
|
|
@@ -668,9 +677,9 @@ export declare const spaceVersionCreateSchema: z.ZodObject<{
|
|
|
668
677
|
agent: "agent";
|
|
669
678
|
api: "api";
|
|
670
679
|
dashboard: "dashboard";
|
|
671
|
-
direct_upload: "direct_upload";
|
|
672
680
|
cli: "cli";
|
|
673
681
|
git: "git";
|
|
682
|
+
direct_upload: "direct_upload";
|
|
674
683
|
import: "import";
|
|
675
684
|
variable_update: "variable_update";
|
|
676
685
|
config_update: "config_update";
|
|
@@ -722,9 +731,9 @@ export declare const spaceVersionListSchema: z.ZodObject<{
|
|
|
722
731
|
agent: "agent";
|
|
723
732
|
api: "api";
|
|
724
733
|
dashboard: "dashboard";
|
|
725
|
-
direct_upload: "direct_upload";
|
|
726
734
|
cli: "cli";
|
|
727
735
|
git: "git";
|
|
736
|
+
direct_upload: "direct_upload";
|
|
728
737
|
import: "import";
|
|
729
738
|
variable_update: "variable_update";
|
|
730
739
|
config_update: "config_update";
|
|
@@ -747,6 +756,22 @@ export declare const spaceVersionListSchema: z.ZodObject<{
|
|
|
747
756
|
pullRequestNumber: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
748
757
|
}, z.core.$catchall<z.ZodUnknown>>>;
|
|
749
758
|
}, z.core.$strip>>;
|
|
759
|
+
publisher: z.ZodNullable<z.ZodObject<{
|
|
760
|
+
type: z.ZodEnum<{
|
|
761
|
+
system: "system";
|
|
762
|
+
user: "user";
|
|
763
|
+
api_key: "api_key";
|
|
764
|
+
partner_token: "partner_token";
|
|
765
|
+
oauth_client: "oauth_client";
|
|
766
|
+
anonymous_claim: "anonymous_claim";
|
|
767
|
+
}>;
|
|
768
|
+
displayName: z.ZodString;
|
|
769
|
+
avatarUrl: z.ZodNullable<z.ZodString>;
|
|
770
|
+
authorizedBy: z.ZodNullable<z.ZodObject<{
|
|
771
|
+
displayName: z.ZodString;
|
|
772
|
+
avatarUrl: z.ZodNullable<z.ZodString>;
|
|
773
|
+
}, z.core.$strip>>;
|
|
774
|
+
}, z.core.$strip>>;
|
|
750
775
|
status: z.ZodEnum<{
|
|
751
776
|
failed: "failed";
|
|
752
777
|
canceled: "canceled";
|
|
@@ -773,15 +798,15 @@ export declare const spaceVersionListSchema: z.ZodObject<{
|
|
|
773
798
|
filesRemovedCount: z.ZodNumber;
|
|
774
799
|
pendingUploads: z.ZodArray<z.ZodObject<{
|
|
775
800
|
path: z.ZodString;
|
|
776
|
-
size: z.ZodNumber;
|
|
777
|
-
sha256: z.ZodOptional<z.ZodString>;
|
|
778
801
|
sourceUrl: z.ZodOptional<z.ZodString>;
|
|
802
|
+
sha256: z.ZodOptional<z.ZodString>;
|
|
803
|
+
size: z.ZodNumber;
|
|
779
804
|
}, z.core.$strip>>;
|
|
780
805
|
skippedPaths: z.ZodArray<z.ZodString>;
|
|
781
806
|
immutableUrl: z.ZodNullable<z.ZodString>;
|
|
782
807
|
immutableUrlStatus: z.ZodNullable<z.ZodEnum<{
|
|
783
808
|
ready: "ready";
|
|
784
|
-
|
|
809
|
+
pending: "pending";
|
|
785
810
|
}>>;
|
|
786
811
|
isCurrentProduction: z.ZodBoolean;
|
|
787
812
|
siteTitle: z.ZodString;
|
|
@@ -889,8 +914,8 @@ export declare const spaceVersionListSchema: z.ZodObject<{
|
|
|
889
914
|
code: z.ZodString;
|
|
890
915
|
severity: z.ZodEnum<{
|
|
891
916
|
info: "info";
|
|
892
|
-
error: "error";
|
|
893
917
|
warning: "warning";
|
|
918
|
+
error: "error";
|
|
894
919
|
}>;
|
|
895
920
|
message: z.ZodString;
|
|
896
921
|
path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -916,8 +941,8 @@ export declare const spaceVersionListSchema: z.ZodObject<{
|
|
|
916
941
|
code: z.ZodString;
|
|
917
942
|
severity: z.ZodEnum<{
|
|
918
943
|
info: "info";
|
|
919
|
-
error: "error";
|
|
920
944
|
warning: "warning";
|
|
945
|
+
error: "error";
|
|
921
946
|
}>;
|
|
922
947
|
message: z.ZodString;
|
|
923
948
|
path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -946,28 +971,42 @@ export declare const spaceVersionListSchema: z.ZodObject<{
|
|
|
946
971
|
export declare const spaceListSchema: z.ZodObject<{
|
|
947
972
|
data: z.ZodArray<z.ZodObject<{
|
|
948
973
|
id: z.ZodString;
|
|
949
|
-
tenantId: z.ZodString
|
|
950
|
-
|
|
951
|
-
|
|
974
|
+
tenantId: z.ZodOptional<z.ZodString>;
|
|
975
|
+
mode: z.ZodOptional<z.ZodEnum<{
|
|
976
|
+
live: "live";
|
|
977
|
+
test: "test";
|
|
978
|
+
}>>;
|
|
979
|
+
providerRef: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
980
|
+
providerClientId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
952
981
|
teamId: z.ZodNullable<z.ZodString>;
|
|
953
982
|
teamSlug: z.ZodNullable<z.ZodString>;
|
|
954
|
-
principal: z.ZodNullable<z.ZodObject<{
|
|
983
|
+
principal: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
955
984
|
tenantId: z.ZodString;
|
|
956
985
|
principalType: z.ZodEnum<{
|
|
957
986
|
team: "team";
|
|
958
987
|
external: "external";
|
|
959
988
|
}>;
|
|
960
989
|
principalId: z.ZodString;
|
|
990
|
+
}, z.core.$strip>>>;
|
|
991
|
+
infrastructure: z.ZodOptional<z.ZodObject<{
|
|
992
|
+
region: z.ZodNullable<z.ZodString>;
|
|
993
|
+
runtimeInstanceId: z.ZodNullable<z.ZodString>;
|
|
994
|
+
providerMainHostname: z.ZodNullable<z.ZodString>;
|
|
995
|
+
provisioningState: z.ZodEnum<{
|
|
996
|
+
provisioning: "provisioning";
|
|
997
|
+
degraded: "degraded";
|
|
998
|
+
converged: "converged";
|
|
999
|
+
}>;
|
|
961
1000
|
}, z.core.$strip>>;
|
|
962
1001
|
anonymous: z.ZodBoolean;
|
|
963
1002
|
slug: z.ZodString;
|
|
964
1003
|
title: z.ZodString;
|
|
965
1004
|
status: z.ZodEnum<{
|
|
966
1005
|
active: "active";
|
|
1006
|
+
failed: "failed";
|
|
967
1007
|
provisioning: "provisioning";
|
|
968
1008
|
updating: "updating";
|
|
969
1009
|
deleting: "deleting";
|
|
970
|
-
failed: "failed";
|
|
971
1010
|
}>;
|
|
972
1011
|
disabled: z.ZodNullable<z.ZodObject<{
|
|
973
1012
|
at: z.ZodNullable<z.ZodString>;
|
|
@@ -1094,6 +1133,16 @@ export declare const spaceListSchema: z.ZodObject<{
|
|
|
1094
1133
|
}, z.core.$strip>>;
|
|
1095
1134
|
settingsDigest: z.ZodString;
|
|
1096
1135
|
noindex: z.ZodBoolean;
|
|
1136
|
+
pinnedAt: z.ZodNullable<z.ZodString>;
|
|
1137
|
+
git: z.ZodNullable<z.ZodObject<{
|
|
1138
|
+
managedBy: z.ZodEnum<{
|
|
1139
|
+
spacefast: "spacefast";
|
|
1140
|
+
github: "github";
|
|
1141
|
+
}>;
|
|
1142
|
+
remoteUrl: z.ZodNullable<z.ZodString>;
|
|
1143
|
+
repository: z.ZodNullable<z.ZodString>;
|
|
1144
|
+
defaultBranch: z.ZodNullable<z.ZodString>;
|
|
1145
|
+
}, z.core.$strip>>;
|
|
1097
1146
|
operation: z.ZodNullable<z.ZodObject<{
|
|
1098
1147
|
id: z.ZodString;
|
|
1099
1148
|
kind: z.ZodString;
|
|
@@ -1117,8 +1166,8 @@ export declare const spaceListSchema: z.ZodObject<{
|
|
|
1117
1166
|
code: z.ZodString;
|
|
1118
1167
|
severity: z.ZodEnum<{
|
|
1119
1168
|
info: "info";
|
|
1120
|
-
error: "error";
|
|
1121
1169
|
warning: "warning";
|
|
1170
|
+
error: "error";
|
|
1122
1171
|
}>;
|
|
1123
1172
|
message: z.ZodString;
|
|
1124
1173
|
path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -1166,10 +1215,6 @@ export declare const versionLogListResponseSchema: z.ZodObject<{
|
|
|
1166
1215
|
code: z.ZodString;
|
|
1167
1216
|
message: z.ZodString;
|
|
1168
1217
|
}, z.core.$strip>>;
|
|
1169
|
-
pagination: z.ZodObject<{
|
|
1170
|
-
nextCursor: z.ZodNullable<z.ZodString>;
|
|
1171
|
-
hasMore: z.ZodBoolean;
|
|
1172
|
-
}, z.core.$strip>;
|
|
1173
1218
|
}, z.core.$strip>;
|
|
1174
1219
|
export declare const spaceVersionGeneratedPreviewSchema: z.ZodObject<{
|
|
1175
1220
|
kind: z.ZodLiteral<"image">;
|
|
@@ -1628,9 +1673,9 @@ export declare const spaceVersionFileViewSchema: z.ZodEnum<{
|
|
|
1628
1673
|
}>;
|
|
1629
1674
|
export declare const VERSION_FILE_LINKS_MAX_PATHS = 200;
|
|
1630
1675
|
/**
|
|
1631
|
-
* Repeated `path` query parameters
|
|
1632
|
-
* path arrives as a bare string, so it
|
|
1633
|
-
* the per-path rules run.
|
|
1676
|
+
* Repeated `path` query parameters, for example
|
|
1677
|
+
* `?path=index.html&path=about.html`. One path arrives as a bare string, so it
|
|
1678
|
+
* is lifted into the batch shape before the per-path rules run.
|
|
1634
1679
|
*/
|
|
1635
1680
|
export declare const spaceVersionFileLinksQuerySchema: z.ZodObject<{
|
|
1636
1681
|
path: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodArray<z.ZodString>>;
|
|
@@ -1644,7 +1689,7 @@ export declare const spaceVersionFileLinkSchema: z.ZodObject<{
|
|
|
1644
1689
|
expiresAt: z.ZodString;
|
|
1645
1690
|
}, z.core.$strip>;
|
|
1646
1691
|
/**
|
|
1647
|
-
* Minting is blind to path validity
|
|
1692
|
+
* Minting is blind to path validity. The control plane authorizes the version,
|
|
1648
1693
|
* not the path. A path that is not in the selected catalog view answers
|
|
1649
1694
|
* `version_file_not_found` when the link is followed.
|
|
1650
1695
|
*/
|
|
@@ -1668,11 +1713,11 @@ export declare const spaceVersionConventionArtifactPathSchema: z.ZodEnum<{
|
|
|
1668
1713
|
_headers: "_headers";
|
|
1669
1714
|
}>;
|
|
1670
1715
|
export declare const spaceVersionConventionArtifactSourceSchema: z.ZodEnum<{
|
|
1671
|
-
uploaded: "uploaded";
|
|
1672
1716
|
override: "override";
|
|
1717
|
+
uploaded: "uploaded";
|
|
1718
|
+
missing: "missing";
|
|
1673
1719
|
inherited: "inherited";
|
|
1674
1720
|
generated: "generated";
|
|
1675
|
-
missing: "missing";
|
|
1676
1721
|
}>;
|
|
1677
1722
|
export declare const spaceVersionConventionArtifactMetadataSchema: z.ZodObject<{
|
|
1678
1723
|
kind: z.ZodEnum<{
|
|
@@ -1684,11 +1729,11 @@ export declare const spaceVersionConventionArtifactMetadataSchema: z.ZodObject<{
|
|
|
1684
1729
|
_headers: "_headers";
|
|
1685
1730
|
}>;
|
|
1686
1731
|
source: z.ZodEnum<{
|
|
1687
|
-
uploaded: "uploaded";
|
|
1688
1732
|
override: "override";
|
|
1733
|
+
uploaded: "uploaded";
|
|
1734
|
+
missing: "missing";
|
|
1689
1735
|
inherited: "inherited";
|
|
1690
1736
|
generated: "generated";
|
|
1691
|
-
missing: "missing";
|
|
1692
1737
|
}>;
|
|
1693
1738
|
present: z.ZodBoolean;
|
|
1694
1739
|
size: z.ZodNullable<z.ZodNumber>;
|
|
@@ -1710,11 +1755,11 @@ export declare const spaceVersionConventionArtifactsResponseSchema: z.ZodObject<
|
|
|
1710
1755
|
_headers: "_headers";
|
|
1711
1756
|
}>;
|
|
1712
1757
|
source: z.ZodEnum<{
|
|
1713
|
-
uploaded: "uploaded";
|
|
1714
1758
|
override: "override";
|
|
1759
|
+
uploaded: "uploaded";
|
|
1760
|
+
missing: "missing";
|
|
1715
1761
|
inherited: "inherited";
|
|
1716
1762
|
generated: "generated";
|
|
1717
|
-
missing: "missing";
|
|
1718
1763
|
}>;
|
|
1719
1764
|
present: z.ZodBoolean;
|
|
1720
1765
|
size: z.ZodNullable<z.ZodNumber>;
|
|
@@ -1745,11 +1790,11 @@ export declare const spaceVersionConventionArtifactContentResponseSchema: z.ZodO
|
|
|
1745
1790
|
_headers: "_headers";
|
|
1746
1791
|
}>;
|
|
1747
1792
|
source: z.ZodEnum<{
|
|
1748
|
-
uploaded: "uploaded";
|
|
1749
1793
|
override: "override";
|
|
1794
|
+
uploaded: "uploaded";
|
|
1795
|
+
missing: "missing";
|
|
1750
1796
|
inherited: "inherited";
|
|
1751
1797
|
generated: "generated";
|
|
1752
|
-
missing: "missing";
|
|
1753
1798
|
}>;
|
|
1754
1799
|
present: z.ZodBoolean;
|
|
1755
1800
|
size: z.ZodNullable<z.ZodNumber>;
|
|
@@ -1766,11 +1811,10 @@ export declare const spaceVersionConventionArtifactContentResponseSchema: z.ZodO
|
|
|
1766
1811
|
truncated: z.ZodBoolean;
|
|
1767
1812
|
}, z.core.$strip>;
|
|
1768
1813
|
/**
|
|
1769
|
-
* Where a routing diagnostic came from
|
|
1770
|
-
* publisher can open. Wider than the convention artifacts
|
|
1771
|
-
* file states routing rules too
|
|
1772
|
-
*
|
|
1773
|
-
* finalize reads whichever one the version ships, and naming the canonical
|
|
1814
|
+
* Where a routing diagnostic came from: a committed path in the version the
|
|
1815
|
+
* publisher can open. Wider than the convention artifacts, because the config
|
|
1816
|
+
* file states routing rules too. Every accepted config filename is listed
|
|
1817
|
+
* because finalize reads whichever one the version ships, and naming
|
|
1774
1818
|
* `sf.jsonc` at a version that committed `spacefast.jsonc` sends the publisher
|
|
1775
1819
|
* to a file that is not there.
|
|
1776
1820
|
*/
|
|
@@ -1799,12 +1843,42 @@ export declare const spaceVersionRoutingDiagnosticSchema: z.ZodObject<{
|
|
|
1799
1843
|
}>;
|
|
1800
1844
|
line: z.ZodNumber;
|
|
1801
1845
|
severity: z.ZodEnum<{
|
|
1802
|
-
error: "error";
|
|
1803
1846
|
warning: "warning";
|
|
1847
|
+
error: "error";
|
|
1804
1848
|
}>;
|
|
1805
1849
|
code: z.ZodString;
|
|
1806
1850
|
message: z.ZodString;
|
|
1807
1851
|
source: z.ZodString;
|
|
1852
|
+
deferredUntilSubstitution: z.ZodOptional<z.ZodLiteral<true>>;
|
|
1853
|
+
}, z.core.$strip>;
|
|
1854
|
+
export declare const spaceRoutingComputeSchema: z.ZodObject<{
|
|
1855
|
+
latestVersionId: z.ZodNullable<z.ZodString>;
|
|
1856
|
+
redirects: z.ZodNullable<z.ZodString>;
|
|
1857
|
+
headers: z.ZodNullable<z.ZodString>;
|
|
1858
|
+
diagnostics: z.ZodArray<z.ZodObject<{
|
|
1859
|
+
file: z.ZodEnum<{
|
|
1860
|
+
"sf.jsonc": "sf.jsonc";
|
|
1861
|
+
"spacefast.jsonc": "spacefast.jsonc";
|
|
1862
|
+
"spacefast.json": "spacefast.json";
|
|
1863
|
+
"sf.json": "sf.json";
|
|
1864
|
+
".sf/sf.json": ".sf/sf.json";
|
|
1865
|
+
".sf/config.jsonc": ".sf/config.jsonc";
|
|
1866
|
+
".sf/config.json": ".sf/config.json";
|
|
1867
|
+
_redirects: "_redirects";
|
|
1868
|
+
_headers: "_headers";
|
|
1869
|
+
}>;
|
|
1870
|
+
line: z.ZodNumber;
|
|
1871
|
+
severity: z.ZodEnum<{
|
|
1872
|
+
warning: "warning";
|
|
1873
|
+
error: "error";
|
|
1874
|
+
}>;
|
|
1875
|
+
code: z.ZodString;
|
|
1876
|
+
message: z.ZodString;
|
|
1877
|
+
source: z.ZodString;
|
|
1878
|
+
deferredUntilSubstitution: z.ZodOptional<z.ZodLiteral<true>>;
|
|
1879
|
+
}, z.core.$strip>>;
|
|
1880
|
+
variableDependencies: z.ZodArray<z.ZodString>;
|
|
1881
|
+
systemVariableDependencies: z.ZodArray<z.ZodString>;
|
|
1808
1882
|
}, z.core.$strip>;
|
|
1809
1883
|
export declare const spaceVersionComputedRoutingSummarySchema: z.ZodObject<{
|
|
1810
1884
|
versionId: z.ZodString;
|
|
@@ -1819,11 +1893,11 @@ export declare const spaceVersionComputedRoutingSummarySchema: z.ZodObject<{
|
|
|
1819
1893
|
_headers: "_headers";
|
|
1820
1894
|
}>;
|
|
1821
1895
|
source: z.ZodEnum<{
|
|
1822
|
-
uploaded: "uploaded";
|
|
1823
1896
|
override: "override";
|
|
1897
|
+
uploaded: "uploaded";
|
|
1898
|
+
missing: "missing";
|
|
1824
1899
|
inherited: "inherited";
|
|
1825
1900
|
generated: "generated";
|
|
1826
|
-
missing: "missing";
|
|
1827
1901
|
}>;
|
|
1828
1902
|
present: z.ZodBoolean;
|
|
1829
1903
|
size: z.ZodNullable<z.ZodNumber>;
|
|
@@ -1853,12 +1927,13 @@ export declare const spaceVersionComputedRoutingSummarySchema: z.ZodObject<{
|
|
|
1853
1927
|
}>;
|
|
1854
1928
|
line: z.ZodNumber;
|
|
1855
1929
|
severity: z.ZodEnum<{
|
|
1856
|
-
error: "error";
|
|
1857
1930
|
warning: "warning";
|
|
1931
|
+
error: "error";
|
|
1858
1932
|
}>;
|
|
1859
1933
|
code: z.ZodString;
|
|
1860
1934
|
message: z.ZodString;
|
|
1861
1935
|
source: z.ZodString;
|
|
1936
|
+
deferredUntilSubstitution: z.ZodOptional<z.ZodLiteral<true>>;
|
|
1862
1937
|
}, z.core.$strip>>;
|
|
1863
1938
|
}, z.core.$strip>;
|
|
1864
1939
|
export declare const spaceVersionIntentResponseSchema: z.ZodObject<{
|
|
@@ -1893,7 +1968,8 @@ export declare const spaceVersionIntentResponseSchema: z.ZodObject<{
|
|
|
1893
1968
|
contentType: z.ZodOptional<z.ZodString>;
|
|
1894
1969
|
}, z.core.$strip>>>;
|
|
1895
1970
|
links: z.ZodObject<{
|
|
1896
|
-
|
|
1971
|
+
refresh: z.ZodString;
|
|
1972
|
+
resume: z.ZodOptional<z.ZodString>;
|
|
1897
1973
|
finalize: z.ZodString;
|
|
1898
1974
|
}, z.core.$strip>;
|
|
1899
1975
|
details: z.ZodOptional<z.ZodObject<{
|
|
@@ -1909,8 +1985,8 @@ export declare const spaceVersionIntentResponseSchema: z.ZodObject<{
|
|
|
1909
1985
|
code: z.ZodString;
|
|
1910
1986
|
severity: z.ZodEnum<{
|
|
1911
1987
|
info: "info";
|
|
1912
|
-
error: "error";
|
|
1913
1988
|
warning: "warning";
|
|
1989
|
+
error: "error";
|
|
1914
1990
|
}>;
|
|
1915
1991
|
message: z.ZodString;
|
|
1916
1992
|
path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -1935,9 +2011,9 @@ export declare const publishRequestSchema: z.ZodObject<{
|
|
|
1935
2011
|
agent: "agent";
|
|
1936
2012
|
api: "api";
|
|
1937
2013
|
dashboard: "dashboard";
|
|
1938
|
-
direct_upload: "direct_upload";
|
|
1939
2014
|
cli: "cli";
|
|
1940
2015
|
git: "git";
|
|
2016
|
+
direct_upload: "direct_upload";
|
|
1941
2017
|
import: "import";
|
|
1942
2018
|
variable_update: "variable_update";
|
|
1943
2019
|
config_update: "config_update";
|
|
@@ -2105,7 +2181,8 @@ export declare const publishUploadReceiptSchema: z.ZodObject<{
|
|
|
2105
2181
|
contentType: z.ZodOptional<z.ZodString>;
|
|
2106
2182
|
}, z.core.$strip>>>;
|
|
2107
2183
|
links: z.ZodObject<{
|
|
2108
|
-
|
|
2184
|
+
refresh: z.ZodString;
|
|
2185
|
+
resume: z.ZodOptional<z.ZodString>;
|
|
2109
2186
|
finalize: z.ZodString;
|
|
2110
2187
|
}, z.core.$strip>;
|
|
2111
2188
|
details: z.ZodOptional<z.ZodObject<{
|
|
@@ -2121,8 +2198,8 @@ export declare const publishUploadReceiptSchema: z.ZodObject<{
|
|
|
2121
2198
|
code: z.ZodString;
|
|
2122
2199
|
severity: z.ZodEnum<{
|
|
2123
2200
|
info: "info";
|
|
2124
|
-
error: "error";
|
|
2125
2201
|
warning: "warning";
|
|
2202
|
+
error: "error";
|
|
2126
2203
|
}>;
|
|
2127
2204
|
message: z.ZodString;
|
|
2128
2205
|
path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -2143,9 +2220,25 @@ export declare const publishReceiptSpaceSchema: z.ZodObject<{
|
|
|
2143
2220
|
slug: z.ZodString;
|
|
2144
2221
|
title: z.ZodString;
|
|
2145
2222
|
publicName: z.ZodString;
|
|
2146
|
-
defaultHostname: z.ZodString
|
|
2223
|
+
defaultHostname: z.ZodOptional<z.ZodString>;
|
|
2147
2224
|
liveUrl: z.ZodNullable<z.ZodString>;
|
|
2148
2225
|
}, z.core.$strip>;
|
|
2226
|
+
/**
|
|
2227
|
+
* The claim block as it rides on a publish receipt. Same members as the
|
|
2228
|
+
* server's {@link spaceClaimReceiptSchema}, with the URL formats relaxed to
|
|
2229
|
+
* plain strings so a client-rendered receipt can mask the three key-bearing
|
|
2230
|
+
* members (`key`, `url`, `claimUrl`) with {@link REDACTED_RECEIPT_SECRET} while
|
|
2231
|
+
* keeping the block's shape stable. `expiresAt` is never masked: it is what
|
|
2232
|
+
* tells an agent the space is temporary and by when it has to be claimed.
|
|
2233
|
+
*/
|
|
2234
|
+
export declare const publishReceiptClaimSchema: z.ZodObject<{
|
|
2235
|
+
expiresAt: z.ZodString;
|
|
2236
|
+
key: z.ZodString;
|
|
2237
|
+
url: z.ZodString;
|
|
2238
|
+
claimUrl: z.ZodString;
|
|
2239
|
+
}, z.core.$strip>;
|
|
2240
|
+
/** The stand-in a surface writes where a secret would otherwise be printed. */
|
|
2241
|
+
export declare const REDACTED_RECEIPT_SECRET = "[REDACTED]";
|
|
2149
2242
|
export declare const publishReceiptVersionSchema: z.ZodObject<{
|
|
2150
2243
|
id: z.ZodString;
|
|
2151
2244
|
status: z.ZodEnum<{
|
|
@@ -2160,7 +2253,7 @@ export declare const publishReceiptVersionSchema: z.ZodObject<{
|
|
|
2160
2253
|
finalizing: "finalizing";
|
|
2161
2254
|
ready: "ready";
|
|
2162
2255
|
}>;
|
|
2163
|
-
immutableUrl: z.ZodString
|
|
2256
|
+
immutableUrl: z.ZodNullable<z.ZodString>;
|
|
2164
2257
|
ref: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2165
2258
|
number: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2166
2259
|
manifestHash: z.ZodNullable<z.ZodString>;
|
|
@@ -2196,7 +2289,7 @@ export declare const publishReceiptSchema: z.ZodObject<{
|
|
|
2196
2289
|
slug: z.ZodString;
|
|
2197
2290
|
title: z.ZodString;
|
|
2198
2291
|
publicName: z.ZodString;
|
|
2199
|
-
defaultHostname: z.ZodString
|
|
2292
|
+
defaultHostname: z.ZodOptional<z.ZodString>;
|
|
2200
2293
|
liveUrl: z.ZodNullable<z.ZodString>;
|
|
2201
2294
|
}, z.core.$strip>;
|
|
2202
2295
|
access: z.ZodOptional<z.ZodObject<{
|
|
@@ -2218,7 +2311,7 @@ export declare const publishReceiptSchema: z.ZodObject<{
|
|
|
2218
2311
|
finalizing: "finalizing";
|
|
2219
2312
|
ready: "ready";
|
|
2220
2313
|
}>;
|
|
2221
|
-
immutableUrl: z.ZodString
|
|
2314
|
+
immutableUrl: z.ZodNullable<z.ZodString>;
|
|
2222
2315
|
ref: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2223
2316
|
number: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2224
2317
|
manifestHash: z.ZodNullable<z.ZodString>;
|
|
@@ -2246,6 +2339,23 @@ export declare const publishReceiptSchema: z.ZodObject<{
|
|
|
2246
2339
|
retryAfter: z.ZodOptional<z.ZodNumber>;
|
|
2247
2340
|
hint: z.ZodString;
|
|
2248
2341
|
}, z.core.$strip>;
|
|
2342
|
+
git: z.ZodOptional<z.ZodObject<{
|
|
2343
|
+
managedBy: z.ZodEnum<{
|
|
2344
|
+
spacefast: "spacefast";
|
|
2345
|
+
github: "github";
|
|
2346
|
+
}>;
|
|
2347
|
+
remoteUrl: z.ZodNullable<z.ZodString>;
|
|
2348
|
+
repository: z.ZodNullable<z.ZodString>;
|
|
2349
|
+
defaultBranch: z.ZodNullable<z.ZodString>;
|
|
2350
|
+
}, z.core.$strip>>;
|
|
2351
|
+
authMode: z.ZodOptional<z.ZodEnum<{
|
|
2352
|
+
anonymous: "anonymous";
|
|
2353
|
+
authenticated: "authenticated";
|
|
2354
|
+
}>>;
|
|
2355
|
+
persistence: z.ZodOptional<z.ZodEnum<{
|
|
2356
|
+
managed: "managed";
|
|
2357
|
+
temporary: "temporary";
|
|
2358
|
+
}>>;
|
|
2249
2359
|
operation: z.ZodOptional<z.ZodObject<{
|
|
2250
2360
|
id: z.ZodString;
|
|
2251
2361
|
kind: z.ZodString;
|
|
@@ -2269,8 +2379,8 @@ export declare const publishReceiptSchema: z.ZodObject<{
|
|
|
2269
2379
|
code: z.ZodString;
|
|
2270
2380
|
severity: z.ZodEnum<{
|
|
2271
2381
|
info: "info";
|
|
2272
|
-
error: "error";
|
|
2273
2382
|
warning: "warning";
|
|
2383
|
+
error: "error";
|
|
2274
2384
|
}>;
|
|
2275
2385
|
message: z.ZodString;
|
|
2276
2386
|
path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -2317,7 +2427,8 @@ export declare const publishReceiptSchema: z.ZodObject<{
|
|
|
2317
2427
|
contentType: z.ZodOptional<z.ZodString>;
|
|
2318
2428
|
}, z.core.$strip>>>;
|
|
2319
2429
|
links: z.ZodObject<{
|
|
2320
|
-
|
|
2430
|
+
refresh: z.ZodString;
|
|
2431
|
+
resume: z.ZodOptional<z.ZodString>;
|
|
2321
2432
|
finalize: z.ZodString;
|
|
2322
2433
|
}, z.core.$strip>;
|
|
2323
2434
|
details: z.ZodOptional<z.ZodObject<{
|
|
@@ -2333,8 +2444,8 @@ export declare const publishReceiptSchema: z.ZodObject<{
|
|
|
2333
2444
|
code: z.ZodString;
|
|
2334
2445
|
severity: z.ZodEnum<{
|
|
2335
2446
|
info: "info";
|
|
2336
|
-
error: "error";
|
|
2337
2447
|
warning: "warning";
|
|
2448
|
+
error: "error";
|
|
2338
2449
|
}>;
|
|
2339
2450
|
message: z.ZodString;
|
|
2340
2451
|
path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -2351,17 +2462,17 @@ export declare const publishReceiptSchema: z.ZodObject<{
|
|
|
2351
2462
|
}, z.core.$strip>>;
|
|
2352
2463
|
}, z.core.$strip>>;
|
|
2353
2464
|
claim: z.ZodOptional<z.ZodObject<{
|
|
2465
|
+
expiresAt: z.ZodString;
|
|
2354
2466
|
key: z.ZodString;
|
|
2355
2467
|
url: z.ZodString;
|
|
2356
2468
|
claimUrl: z.ZodString;
|
|
2357
|
-
expiresAt: z.ZodString;
|
|
2358
2469
|
}, z.core.$strip>>;
|
|
2359
2470
|
diagnostics: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2360
2471
|
code: z.ZodString;
|
|
2361
2472
|
severity: z.ZodEnum<{
|
|
2362
2473
|
info: "info";
|
|
2363
|
-
error: "error";
|
|
2364
2474
|
warning: "warning";
|
|
2475
|
+
error: "error";
|
|
2365
2476
|
}>;
|
|
2366
2477
|
message: z.ZodString;
|
|
2367
2478
|
path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -2376,6 +2487,7 @@ export declare const publishReceiptSchema: z.ZodObject<{
|
|
|
2376
2487
|
retryable: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
2377
2488
|
}, z.core.$strip>>>;
|
|
2378
2489
|
links: z.ZodOptional<z.ZodObject<{
|
|
2490
|
+
refresh: z.ZodOptional<z.ZodString>;
|
|
2379
2491
|
resume: z.ZodOptional<z.ZodString>;
|
|
2380
2492
|
finalize: z.ZodOptional<z.ZodString>;
|
|
2381
2493
|
promote: z.ZodOptional<z.ZodString>;
|
|
@@ -2386,7 +2498,7 @@ export declare const publishReceiptSchema: z.ZodObject<{
|
|
|
2386
2498
|
}, z.core.$strip>>;
|
|
2387
2499
|
}, z.core.$strip>;
|
|
2388
2500
|
export type PublishReceipt = z.infer<typeof publishReceiptSchema>;
|
|
2389
|
-
export declare const
|
|
2501
|
+
export declare const spaceVersionRefreshResponseSchema: z.ZodObject<{
|
|
2390
2502
|
versionId: z.ZodString;
|
|
2391
2503
|
upload: z.ZodNullable<z.ZodObject<{
|
|
2392
2504
|
id: z.ZodString;
|
|
@@ -2418,7 +2530,8 @@ export declare const spaceVersionResumeResponseSchema: z.ZodObject<{
|
|
|
2418
2530
|
contentType: z.ZodOptional<z.ZodString>;
|
|
2419
2531
|
}, z.core.$strip>>>;
|
|
2420
2532
|
links: z.ZodObject<{
|
|
2421
|
-
|
|
2533
|
+
refresh: z.ZodString;
|
|
2534
|
+
resume: z.ZodOptional<z.ZodString>;
|
|
2422
2535
|
finalize: z.ZodString;
|
|
2423
2536
|
}, z.core.$strip>;
|
|
2424
2537
|
details: z.ZodOptional<z.ZodObject<{
|
|
@@ -2434,8 +2547,8 @@ export declare const spaceVersionResumeResponseSchema: z.ZodObject<{
|
|
|
2434
2547
|
code: z.ZodString;
|
|
2435
2548
|
severity: z.ZodEnum<{
|
|
2436
2549
|
info: "info";
|
|
2437
|
-
error: "error";
|
|
2438
2550
|
warning: "warning";
|
|
2551
|
+
error: "error";
|
|
2439
2552
|
}>;
|
|
2440
2553
|
message: z.ZodString;
|
|
2441
2554
|
path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -2456,6 +2569,28 @@ export declare const spaceVersionResumeResponseSchema: z.ZodObject<{
|
|
|
2456
2569
|
export declare const versionPromoteSchema: z.ZodDefault<z.ZodOptional<z.ZodObject<{
|
|
2457
2570
|
channel: z.ZodOptional<z.ZodString>;
|
|
2458
2571
|
}, z.core.$strip>>>;
|
|
2572
|
+
/**
|
|
2573
|
+
* `?async=1` on a route that otherwise waits for the work to settle: the route
|
|
2574
|
+
* answers with the operation handle to poll instead. Every such route builds its
|
|
2575
|
+
* query schema here so the accepted spellings stay one definition; the caller
|
|
2576
|
+
* passes the description because that is the only per-route part.
|
|
2577
|
+
*
|
|
2578
|
+
* Plain enum (no zod transform): transforms cannot be represented in the
|
|
2579
|
+
* generated OpenAPI spec, and this parameter must reach SDK consumers.
|
|
2580
|
+
*/
|
|
2581
|
+
export declare function asyncQuerySchema(description: string): z.ZodObject<{
|
|
2582
|
+
async: z.ZodOptional<z.ZodEnum<{
|
|
2583
|
+
0: "0";
|
|
2584
|
+
1: "1";
|
|
2585
|
+
true: "true";
|
|
2586
|
+
false: "false";
|
|
2587
|
+
}>>;
|
|
2588
|
+
}, z.core.$strip>;
|
|
2589
|
+
/**
|
|
2590
|
+
* Reads an {@link asyncQuerySchema} value. The factory owns which spellings the
|
|
2591
|
+
* parameter accepts; this owns what they mean, so neither can drift alone.
|
|
2592
|
+
*/
|
|
2593
|
+
export declare function isAsyncRequested(value: string | null | undefined): value is "true" | "1";
|
|
2459
2594
|
export declare const spaceFinalizeSchema: z.ZodDefault<z.ZodOptional<z.ZodObject<{
|
|
2460
2595
|
channel: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
2461
2596
|
live: "live";
|
|
@@ -2467,10 +2602,10 @@ export declare const spaceRuntimeStatusSchema: z.ZodObject<{
|
|
|
2467
2602
|
liveUrl: z.ZodNullable<z.ZodString>;
|
|
2468
2603
|
runtimeState: z.ZodEnum<{
|
|
2469
2604
|
active: "active";
|
|
2605
|
+
failed: "failed";
|
|
2470
2606
|
provisioning: "provisioning";
|
|
2471
2607
|
updating: "updating";
|
|
2472
2608
|
deleting: "deleting";
|
|
2473
|
-
failed: "failed";
|
|
2474
2609
|
}>;
|
|
2475
2610
|
liveVersionStatus: z.ZodNullable<z.ZodEnum<{
|
|
2476
2611
|
failed: "failed";
|
|
@@ -2519,8 +2654,8 @@ export declare const spaceRuntimeStatusSchema: z.ZodObject<{
|
|
|
2519
2654
|
code: z.ZodString;
|
|
2520
2655
|
severity: z.ZodEnum<{
|
|
2521
2656
|
info: "info";
|
|
2522
|
-
error: "error";
|
|
2523
2657
|
warning: "warning";
|
|
2658
|
+
error: "error";
|
|
2524
2659
|
}>;
|
|
2525
2660
|
message: z.ZodString;
|
|
2526
2661
|
path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -2593,6 +2728,8 @@ export declare const spaceRuntimeStatusSchema: z.ZodObject<{
|
|
|
2593
2728
|
path: z.ZodString;
|
|
2594
2729
|
}, z.core.$strict>>>;
|
|
2595
2730
|
sockets: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
2731
|
+
serverBundleSize: z.ZodNullable<z.ZodNumber>;
|
|
2732
|
+
clientBundleSize: z.ZodNullable<z.ZodNumber>;
|
|
2596
2733
|
migrationCount: z.ZodNumber;
|
|
2597
2734
|
schemaHash: z.ZodNullable<z.ZodString>;
|
|
2598
2735
|
variables: z.ZodObject<{
|
|
@@ -2647,6 +2784,134 @@ export declare const spaceRuntimeStatusSchema: z.ZodObject<{
|
|
|
2647
2784
|
gravatar: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
2648
2785
|
spam: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
2649
2786
|
email: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
2787
|
+
content: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
2788
|
+
}, z.core.$strip>>;
|
|
2789
|
+
executionState: z.ZodEnum<{
|
|
2790
|
+
ready: "ready";
|
|
2791
|
+
absent: "absent";
|
|
2792
|
+
serving: "serving";
|
|
2793
|
+
}>;
|
|
2794
|
+
bundleSize: z.ZodNumber;
|
|
2795
|
+
bundleSha256: z.ZodString;
|
|
2796
|
+
variables: z.ZodObject<{
|
|
2797
|
+
source: z.ZodLiteral<"spacefast-variables">;
|
|
2798
|
+
names: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
2799
|
+
}, z.core.$strict>;
|
|
2800
|
+
}, z.core.$strict>>;
|
|
2801
|
+
}, z.core.$strict>>;
|
|
2802
|
+
pendingApp: z.ZodNullable<z.ZodObject<{
|
|
2803
|
+
capsule: z.ZodNullable<z.ZodObject<{
|
|
2804
|
+
artifactId: z.ZodString;
|
|
2805
|
+
appName: z.ZodString;
|
|
2806
|
+
serverRuntime: z.ZodLiteral<"quickjs-rust">;
|
|
2807
|
+
inspect: z.ZodObject<{
|
|
2808
|
+
policy: z.ZodEnum<{
|
|
2809
|
+
private: "private";
|
|
2810
|
+
public: "public";
|
|
2811
|
+
}>;
|
|
2812
|
+
}, z.core.$strict>;
|
|
2813
|
+
install: z.ZodObject<{
|
|
2814
|
+
runtimeKind: z.ZodLiteral<"zero">;
|
|
2815
|
+
engine: z.ZodLiteral<"quickjs-rust">;
|
|
2816
|
+
storageRoot: z.ZodLiteral<"__spacefast/zero">;
|
|
2817
|
+
artifactPath: z.ZodLiteral<"__spacefast/zero/artifact.json">;
|
|
2818
|
+
configPath: z.ZodLiteral<"__spacefast/zero/config.json">;
|
|
2819
|
+
binary: z.ZodObject<{
|
|
2820
|
+
path: z.ZodLiteral<"__spacefast/zero/bin/stattic-runtime">;
|
|
2821
|
+
compatibilityTarget: z.ZodObject<{
|
|
2822
|
+
profile: z.ZodLiteral<"linux-x86_64-gnu-v1">;
|
|
2823
|
+
os: z.ZodLiteral<"linux">;
|
|
2824
|
+
cpu: z.ZodLiteral<"x86_64">;
|
|
2825
|
+
libc: z.ZodLiteral<"glibc">;
|
|
2826
|
+
linking: z.ZodLiteral<"dynamic">;
|
|
2827
|
+
requireExecutableBit: z.ZodLiteral<true>;
|
|
2828
|
+
}, z.core.$strict>;
|
|
2829
|
+
sha256: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
2830
|
+
required: z.ZodLiteral<true>;
|
|
2831
|
+
}, z.core.$strict>;
|
|
2832
|
+
mysql: z.ZodObject<{
|
|
2833
|
+
migrateAtFinalize: z.ZodLiteral<true>;
|
|
2834
|
+
blockIncompatibleRollback: z.ZodLiteral<true>;
|
|
2835
|
+
}, z.core.$strict>;
|
|
2836
|
+
realtime: z.ZodObject<{
|
|
2837
|
+
production: z.ZodLiteral<"central">;
|
|
2838
|
+
local: z.ZodLiteral<"foreground-cli-ws">;
|
|
2839
|
+
}, z.core.$strict>;
|
|
2840
|
+
}, z.core.$strict>;
|
|
2841
|
+
tables: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
2842
|
+
queries: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
2843
|
+
mutations: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
2844
|
+
actions: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
2845
|
+
endpoints: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
2846
|
+
method: z.ZodEnum<{
|
|
2847
|
+
POST: "POST";
|
|
2848
|
+
PUT: "PUT";
|
|
2849
|
+
GET: "GET";
|
|
2850
|
+
HEAD: "HEAD";
|
|
2851
|
+
PATCH: "PATCH";
|
|
2852
|
+
DELETE: "DELETE";
|
|
2853
|
+
OPTIONS: "OPTIONS";
|
|
2854
|
+
}>;
|
|
2855
|
+
path: z.ZodString;
|
|
2856
|
+
}, z.core.$strict>>>;
|
|
2857
|
+
sockets: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
2858
|
+
serverBundleSize: z.ZodNullable<z.ZodNumber>;
|
|
2859
|
+
clientBundleSize: z.ZodNullable<z.ZodNumber>;
|
|
2860
|
+
migrationCount: z.ZodNumber;
|
|
2861
|
+
schemaHash: z.ZodNullable<z.ZodString>;
|
|
2862
|
+
variables: z.ZodObject<{
|
|
2863
|
+
source: z.ZodLiteral<"stattic-variables">;
|
|
2864
|
+
names: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
2865
|
+
}, z.core.$strict>;
|
|
2866
|
+
realtime: z.ZodObject<{
|
|
2867
|
+
mode: z.ZodEnum<{
|
|
2868
|
+
local: "local";
|
|
2869
|
+
cast: "cast";
|
|
2870
|
+
central: "central";
|
|
2871
|
+
}>;
|
|
2872
|
+
centralUrl: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
2873
|
+
path: z.ZodOptional<z.ZodString>;
|
|
2874
|
+
replayPath: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2875
|
+
replayUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2876
|
+
runPath: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2877
|
+
runUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2878
|
+
resourceKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2879
|
+
ticketPath: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2880
|
+
socketPath: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2881
|
+
spaceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2882
|
+
versionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2883
|
+
}, z.core.$strict>;
|
|
2884
|
+
}, z.core.$strict>>;
|
|
2885
|
+
worker: z.ZodNullable<z.ZodObject<{
|
|
2886
|
+
artifactId: z.ZodString;
|
|
2887
|
+
appName: z.ZodString;
|
|
2888
|
+
entry: z.ZodString;
|
|
2889
|
+
compatibilityDate: z.ZodString;
|
|
2890
|
+
compatibilityFlags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
2891
|
+
routes: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
2892
|
+
method: z.ZodDefault<z.ZodNullable<z.ZodEnum<{
|
|
2893
|
+
POST: "POST";
|
|
2894
|
+
PUT: "PUT";
|
|
2895
|
+
GET: "GET";
|
|
2896
|
+
HEAD: "HEAD";
|
|
2897
|
+
PATCH: "PATCH";
|
|
2898
|
+
DELETE: "DELETE";
|
|
2899
|
+
OPTIONS: "OPTIONS";
|
|
2900
|
+
}>>>;
|
|
2901
|
+
path: z.ZodString;
|
|
2902
|
+
subtree: z.ZodDefault<z.ZodBoolean>;
|
|
2903
|
+
}, z.core.$strict>>>;
|
|
2904
|
+
capabilities: z.ZodDefault<z.ZodObject<{
|
|
2905
|
+
db: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
2906
|
+
fetch: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
2907
|
+
auth: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
2908
|
+
env: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
2909
|
+
realtime: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
2910
|
+
logging: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
2911
|
+
gravatar: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
2912
|
+
spam: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
2913
|
+
email: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
2914
|
+
content: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
2650
2915
|
}, z.core.$strip>>;
|
|
2651
2916
|
executionState: z.ZodEnum<{
|
|
2652
2917
|
ready: "ready";
|
|
@@ -2662,39 +2927,16 @@ export declare const spaceRuntimeStatusSchema: z.ZodObject<{
|
|
|
2662
2927
|
}, z.core.$strict>>;
|
|
2663
2928
|
}, z.core.$strict>>;
|
|
2664
2929
|
}, z.core.$strip>;
|
|
2665
|
-
|
|
2666
|
-
|
|
2667
|
-
|
|
2668
|
-
|
|
2669
|
-
|
|
2670
|
-
|
|
2671
|
-
|
|
2672
|
-
|
|
2673
|
-
|
|
2674
|
-
|
|
2675
|
-
export declare const spaceApplyModeSchema: z.ZodEnum<{
|
|
2676
|
-
stage: "stage";
|
|
2677
|
-
apply: "apply";
|
|
2678
|
-
}>;
|
|
2679
|
-
export declare const spaceApplyChangeSchema: z.ZodObject<{
|
|
2680
|
-
kind: z.ZodEnum<{
|
|
2681
|
-
access: "access";
|
|
2682
|
-
routing: "routing";
|
|
2683
|
-
variable: "variable";
|
|
2684
|
-
settings: "settings";
|
|
2685
|
-
}>;
|
|
2686
|
-
name: z.ZodString;
|
|
2687
|
-
label: z.ZodString;
|
|
2688
|
-
id: z.ZodString;
|
|
2689
|
-
sourceSurface: z.ZodString;
|
|
2690
|
-
applyMode: z.ZodEnum<{
|
|
2691
|
-
stage: "stage";
|
|
2692
|
-
apply: "apply";
|
|
2693
|
-
}>;
|
|
2694
|
-
before: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
2695
|
-
after: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
2696
|
-
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
2697
|
-
}, z.core.$strip>;
|
|
2930
|
+
/**
|
|
2931
|
+
* Where a space's runtime stands against its desired state. `POST
|
|
2932
|
+
* /v1/spaces/{spaceId}/apply` returns this in the platform mutation envelope,
|
|
2933
|
+
* whose `operation` handle polls at `GET /v1/operations/{operationId}`; `GET
|
|
2934
|
+
* /v1/spaces/{spaceId}/apply-state` returns the same shape as a plain read.
|
|
2935
|
+
*
|
|
2936
|
+
* None of these fields live on an operation record: the operation says whether
|
|
2937
|
+
* the last apply ran, this says what the space is serving, what it wants to
|
|
2938
|
+
* serve, and whether you may ask for it now.
|
|
2939
|
+
*/
|
|
2698
2940
|
export declare const spaceApplyStateSchema: z.ZodObject<{
|
|
2699
2941
|
status: z.ZodEnum<{
|
|
2700
2942
|
live: "live";
|
|
@@ -2704,143 +2946,6 @@ export declare const spaceApplyStateSchema: z.ZodObject<{
|
|
|
2704
2946
|
}>;
|
|
2705
2947
|
desiredRevision: z.ZodNullable<z.ZodString>;
|
|
2706
2948
|
appliedRevision: z.ZodNullable<z.ZodString>;
|
|
2707
|
-
pendingChangeCount: z.ZodNumber;
|
|
2708
|
-
changes: z.ZodArray<z.ZodObject<{
|
|
2709
|
-
kind: z.ZodEnum<{
|
|
2710
|
-
access: "access";
|
|
2711
|
-
routing: "routing";
|
|
2712
|
-
variable: "variable";
|
|
2713
|
-
settings: "settings";
|
|
2714
|
-
}>;
|
|
2715
|
-
name: z.ZodString;
|
|
2716
|
-
label: z.ZodString;
|
|
2717
|
-
id: z.ZodString;
|
|
2718
|
-
sourceSurface: z.ZodString;
|
|
2719
|
-
applyMode: z.ZodEnum<{
|
|
2720
|
-
stage: "stage";
|
|
2721
|
-
apply: "apply";
|
|
2722
|
-
}>;
|
|
2723
|
-
before: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
2724
|
-
after: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
2725
|
-
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
2726
|
-
}, z.core.$strip>>;
|
|
2727
|
-
operation: z.ZodNullable<z.ZodObject<{
|
|
2728
|
-
id: z.ZodString;
|
|
2729
|
-
kind: z.ZodString;
|
|
2730
|
-
status: z.ZodEnum<{
|
|
2731
|
-
failed: "failed";
|
|
2732
|
-
canceled: "canceled";
|
|
2733
|
-
queued: "queued";
|
|
2734
|
-
running: "running";
|
|
2735
|
-
succeeded: "succeeded";
|
|
2736
|
-
}>;
|
|
2737
|
-
resources: z.ZodArray<z.ZodObject<{
|
|
2738
|
-
type: z.ZodString;
|
|
2739
|
-
id: z.ZodString;
|
|
2740
|
-
}, z.core.$strip>>;
|
|
2741
|
-
progress: z.ZodOptional<z.ZodObject<{
|
|
2742
|
-
total: z.ZodNumber;
|
|
2743
|
-
completed: z.ZodNumber;
|
|
2744
|
-
failed: z.ZodNumber;
|
|
2745
|
-
}, z.core.$strip>>;
|
|
2746
|
-
diagnostics: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2747
|
-
code: z.ZodString;
|
|
2748
|
-
severity: z.ZodEnum<{
|
|
2749
|
-
info: "info";
|
|
2750
|
-
error: "error";
|
|
2751
|
-
warning: "warning";
|
|
2752
|
-
}>;
|
|
2753
|
-
message: z.ZodString;
|
|
2754
|
-
path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2755
|
-
provider: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
2756
|
-
registrar: "registrar";
|
|
2757
|
-
infra: "infra";
|
|
2758
|
-
dns: "dns";
|
|
2759
|
-
runtime: "runtime";
|
|
2760
|
-
}>>>;
|
|
2761
|
-
details: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
2762
|
-
fix: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2763
|
-
retryable: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
2764
|
-
}, z.core.$strip>>>;
|
|
2765
|
-
createdAt: z.ZodString;
|
|
2766
|
-
finishedAt: z.ZodOptional<z.ZodString>;
|
|
2767
|
-
}, z.core.$strip>>;
|
|
2768
2949
|
lastError: z.ZodNullable<z.ZodString>;
|
|
2769
2950
|
canApplyNow: z.ZodBoolean;
|
|
2770
2951
|
}, z.core.$strip>;
|
|
2771
|
-
export declare const spaceApplyResponseSchema: z.ZodObject<{
|
|
2772
|
-
applied: z.ZodBoolean;
|
|
2773
|
-
applyState: z.ZodObject<{
|
|
2774
|
-
status: z.ZodEnum<{
|
|
2775
|
-
live: "live";
|
|
2776
|
-
failed: "failed";
|
|
2777
|
-
pending: "pending";
|
|
2778
|
-
applying: "applying";
|
|
2779
|
-
}>;
|
|
2780
|
-
desiredRevision: z.ZodNullable<z.ZodString>;
|
|
2781
|
-
appliedRevision: z.ZodNullable<z.ZodString>;
|
|
2782
|
-
pendingChangeCount: z.ZodNumber;
|
|
2783
|
-
changes: z.ZodArray<z.ZodObject<{
|
|
2784
|
-
kind: z.ZodEnum<{
|
|
2785
|
-
access: "access";
|
|
2786
|
-
routing: "routing";
|
|
2787
|
-
variable: "variable";
|
|
2788
|
-
settings: "settings";
|
|
2789
|
-
}>;
|
|
2790
|
-
name: z.ZodString;
|
|
2791
|
-
label: z.ZodString;
|
|
2792
|
-
id: z.ZodString;
|
|
2793
|
-
sourceSurface: z.ZodString;
|
|
2794
|
-
applyMode: z.ZodEnum<{
|
|
2795
|
-
stage: "stage";
|
|
2796
|
-
apply: "apply";
|
|
2797
|
-
}>;
|
|
2798
|
-
before: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
2799
|
-
after: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
2800
|
-
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
2801
|
-
}, z.core.$strip>>;
|
|
2802
|
-
operation: z.ZodNullable<z.ZodObject<{
|
|
2803
|
-
id: z.ZodString;
|
|
2804
|
-
kind: z.ZodString;
|
|
2805
|
-
status: z.ZodEnum<{
|
|
2806
|
-
failed: "failed";
|
|
2807
|
-
canceled: "canceled";
|
|
2808
|
-
queued: "queued";
|
|
2809
|
-
running: "running";
|
|
2810
|
-
succeeded: "succeeded";
|
|
2811
|
-
}>;
|
|
2812
|
-
resources: z.ZodArray<z.ZodObject<{
|
|
2813
|
-
type: z.ZodString;
|
|
2814
|
-
id: z.ZodString;
|
|
2815
|
-
}, z.core.$strip>>;
|
|
2816
|
-
progress: z.ZodOptional<z.ZodObject<{
|
|
2817
|
-
total: z.ZodNumber;
|
|
2818
|
-
completed: z.ZodNumber;
|
|
2819
|
-
failed: z.ZodNumber;
|
|
2820
|
-
}, z.core.$strip>>;
|
|
2821
|
-
diagnostics: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2822
|
-
code: z.ZodString;
|
|
2823
|
-
severity: z.ZodEnum<{
|
|
2824
|
-
info: "info";
|
|
2825
|
-
error: "error";
|
|
2826
|
-
warning: "warning";
|
|
2827
|
-
}>;
|
|
2828
|
-
message: z.ZodString;
|
|
2829
|
-
path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2830
|
-
provider: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
2831
|
-
registrar: "registrar";
|
|
2832
|
-
infra: "infra";
|
|
2833
|
-
dns: "dns";
|
|
2834
|
-
runtime: "runtime";
|
|
2835
|
-
}>>>;
|
|
2836
|
-
details: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
2837
|
-
fix: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2838
|
-
retryable: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
2839
|
-
}, z.core.$strip>>>;
|
|
2840
|
-
createdAt: z.ZodString;
|
|
2841
|
-
finishedAt: z.ZodOptional<z.ZodString>;
|
|
2842
|
-
}, z.core.$strip>>;
|
|
2843
|
-
lastError: z.ZodNullable<z.ZodString>;
|
|
2844
|
-
canApplyNow: z.ZodBoolean;
|
|
2845
|
-
}, z.core.$strip>;
|
|
2846
|
-
}, z.core.$strip>;
|