@spacefast/common 0.0.23 → 0.0.26
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/brand-assets/LICENSE-Haskoy.txt +93 -0
- package/brand-assets/haskoy-latin-variable.woff2 +0 -0
- package/brand-assets/spacefast-favicon.svg +4 -4
- package/brand-assets/spacefast-sf-full-bleed.svg +3 -3
- package/brand-assets/spacefast-wordmark.svg +2 -4
- package/dist/agents/connect-targets.js +1 -1
- package/dist/agents/private-key-oauth.d.ts +0 -1
- package/dist/agents/private-key-oauth.js +46 -63
- package/dist/brand-assets-build.js +4 -6
- package/dist/brand-assets.d.ts +5 -15
- package/dist/brand-assets.js +15 -14
- package/dist/config/domains.d.ts +47 -7
- package/dist/config/domains.js +66 -10
- package/dist/config/index.d.ts +0 -1
- package/dist/config/index.js +0 -1
- package/dist/contracts/abuse.d.ts +2 -0
- package/dist/contracts/abuse.js +12 -0
- package/dist/contracts/access.d.ts +124 -12
- package/dist/contracts/access.js +73 -9
- package/dist/contracts/activity.d.ts +1 -1
- package/dist/contracts/activity.js +5 -12
- package/dist/contracts/api-keys.d.ts +21 -21
- package/dist/contracts/api-keys.js +2 -2
- package/dist/contracts/beta.js +1 -1
- package/dist/contracts/billing.d.ts +3 -35
- package/dist/contracts/billing.js +33 -52
- package/dist/contracts/builds.d.ts +30 -18
- package/dist/contracts/builds.js +28 -9
- package/dist/contracts/channels.js +1 -1
- package/dist/contracts/cli.d.ts +10 -0
- package/dist/contracts/cli.js +10 -0
- package/dist/contracts/collab-public.d.ts +63 -0
- package/dist/contracts/collab-public.js +46 -0
- package/dist/contracts/comments.d.ts +282 -53
- package/dist/contracts/comments.js +173 -52
- package/dist/contracts/common.d.ts +3 -3
- package/dist/contracts/common.js +5 -5
- package/dist/contracts/crons.d.ts +35 -0
- package/dist/contracts/crons.js +42 -0
- package/dist/contracts/device-auth.d.ts +6 -6
- package/dist/contracts/device-auth.js +2 -2
- package/dist/contracts/docs.js +2 -2
- package/dist/contracts/domains.d.ts +38 -27
- package/dist/contracts/domains.js +29 -2
- package/dist/contracts/enums.d.ts +34 -30
- package/dist/contracts/enums.js +62 -48
- package/dist/contracts/error-code-meta.d.ts +50 -125
- package/dist/contracts/error-code-meta.js +29 -41
- package/dist/contracts/error-codes.d.ts +1 -1
- package/dist/contracts/error-codes.js +14 -33
- package/dist/contracts/execution.d.ts +47 -66
- package/dist/contracts/execution.js +53 -49
- package/dist/contracts/feature-lifecycle-core.d.ts +0 -6
- package/dist/contracts/feature-lifecycle-core.js +2 -31
- package/dist/contracts/feature-lifecycle.d.ts +12 -52
- package/dist/contracts/feature-lifecycle.js +16 -59
- package/dist/contracts/features.d.ts +48 -60
- package/dist/contracts/features.js +59 -51
- package/dist/contracts/functions.d.ts +266 -72
- package/dist/contracts/functions.js +260 -37
- package/dist/contracts/git.d.ts +28 -34
- package/dist/contracts/git.js +10 -11
- package/dist/contracts/grants.d.ts +9 -5
- package/dist/contracts/grants.js +18 -9
- package/dist/contracts/ids.js +2 -2
- package/dist/contracts/internal.d.ts +8 -6
- package/dist/contracts/internal.js +12 -12
- package/dist/contracts/mcp.d.ts +11 -0
- package/dist/contracts/mcp.js +5 -0
- package/dist/contracts/me.js +1 -1
- package/dist/contracts/oauth-resources.d.ts +4 -3
- package/dist/contracts/oauth-resources.js +12 -3
- package/dist/contracts/operations.d.ts +90 -5
- package/dist/contracts/operations.js +77 -3
- package/dist/contracts/pages.d.ts +12 -7
- package/dist/contracts/pages.js +24 -1
- package/dist/contracts/plan-policy.d.ts +0 -2
- package/dist/contracts/plan-policy.js +2 -3
- package/dist/contracts/platform.d.ts +61 -148
- package/dist/contracts/platform.js +70 -126
- package/dist/contracts/publish-archive.d.ts +508 -0
- package/dist/contracts/publish-archive.js +32 -0
- package/dist/contracts/push-new.d.ts +4 -4
- package/dist/contracts/quotas.js +2 -2
- package/dist/contracts/repository-connections.d.ts +43 -30
- package/dist/contracts/repository-connections.js +11 -3
- package/dist/contracts/resources.d.ts +12 -24
- package/dist/contracts/resources.js +36 -16
- package/dist/contracts/runtime-api.d.ts +433 -192
- package/dist/contracts/runtime-api.js +421 -356
- package/dist/contracts/runtime-app.d.ts +127 -120
- package/dist/contracts/runtime-app.js +19 -10
- package/dist/contracts/runtime-db.d.ts +5 -5
- package/dist/contracts/runtime-db.js +2 -2
- package/dist/contracts/runtime-purge.d.ts +8 -0
- package/dist/contracts/runtime-purge.js +7 -0
- package/dist/contracts/runtime-services.d.ts +219 -0
- package/dist/contracts/runtime-services.js +437 -0
- package/dist/contracts/runtime-storage.d.ts +46 -32
- package/dist/contracts/runtime-storage.js +31 -8
- package/dist/contracts/sf-config-v1.d.ts +48 -10
- package/dist/contracts/space-config.d.ts +69 -18
- package/dist/contracts/space-config.js +226 -27
- package/dist/contracts/spaces.d.ts +236 -450
- package/dist/contracts/spaces.js +131 -151
- package/dist/contracts/superadmin-activity.d.ts +57 -4
- package/dist/contracts/superadmin-activity.js +48 -2
- package/dist/contracts/superadmin-search.d.ts +126 -0
- package/dist/contracts/superadmin-search.js +61 -0
- package/dist/contracts/superadmin-spaces.d.ts +361 -92
- package/dist/contracts/superadmin-spaces.js +97 -24
- package/dist/contracts/superadmin-teams.d.ts +28 -10
- package/dist/contracts/superadmin-teams.js +5 -8
- package/dist/contracts/superadmin-tenants.d.ts +0 -6
- package/dist/contracts/superadmin-tenants.js +1 -7
- package/dist/contracts/superadmin.d.ts +135 -54
- package/dist/contracts/superadmin.js +46 -23
- package/dist/contracts/tags.d.ts +12 -12
- package/dist/contracts/tags.js +3 -3
- package/dist/contracts/teams.d.ts +49 -14
- package/dist/contracts/teams.js +40 -22
- package/dist/contracts/transfers.d.ts +0 -49
- package/dist/contracts/transfers.js +4 -8
- package/dist/contracts/usage.d.ts +61 -0
- package/dist/contracts/usage.js +64 -0
- package/dist/contracts/variables.d.ts +2 -7
- package/dist/contracts/variables.js +9 -8
- package/dist/contracts/webhooks.d.ts +2 -2
- package/dist/contracts/zero.d.ts +102 -73
- package/dist/contracts/zero.js +94 -32
- package/dist/dashboard-paths/index.d.ts +1 -1
- package/dist/dashboard-paths/index.js +1 -0
- package/dist/docs/agent-prose.d.ts +2 -2
- package/dist/docs/agent-prose.js +63 -70
- package/dist/docs/agent-setup.js +45 -15
- package/dist/docs/catalog.d.ts +24 -24
- package/dist/docs/catalog.js +35 -24
- package/dist/docs/error-docs.js +194 -270
- package/dist/docs/skills.d.ts +12 -12
- package/dist/docs/skills.js +4 -4
- package/dist/test-helpers/fetch-stub.d.ts +16 -0
- package/dist/test-helpers/fetch-stub.js +25 -0
- package/dist/utils/build-settings.d.ts +5 -1
- package/dist/utils/build-settings.js +91 -13
- package/dist/utils/canonical-json.d.ts +10 -0
- package/dist/utils/canonical-json.js +22 -0
- package/dist/utils/cast-transport.d.ts +28 -0
- package/dist/utils/cast-transport.js +52 -0
- package/dist/utils/claim-token.d.ts +0 -8
- package/dist/utils/claim-token.js +3 -15
- package/dist/utils/concurrency.js +1 -0
- package/dist/utils/credential-policy.d.ts +1 -1
- package/dist/utils/credential-policy.js +4 -3
- package/dist/utils/dns-instructions.js +9 -9
- package/dist/utils/env-file.d.ts +17 -0
- package/dist/utils/env-file.js +96 -0
- package/dist/utils/error-code.d.ts +2 -0
- package/dist/utils/error-code.js +8 -0
- package/dist/utils/generate-space-name.d.ts +8 -10
- package/dist/utils/generate-space-name.js +206 -21
- package/dist/utils/grant-decision.fixtures.json +2938 -0
- package/dist/utils/grants.d.ts +2 -0
- package/dist/utils/grants.js +26 -1
- package/dist/utils/gravatar.d.ts +9 -0
- package/dist/utils/gravatar.js +31 -0
- package/dist/utils/idempotency.d.ts +6 -0
- package/dist/utils/idempotency.js +28 -0
- package/dist/utils/local-space-state.d.ts +9 -16
- package/dist/utils/local-space-state.js +20 -50
- package/dist/utils/one-shot-replay.d.ts +4 -1
- package/dist/utils/page-colors.d.ts +14 -12
- package/dist/utils/page-colors.js +15 -13
- package/dist/utils/page-fonts.d.ts +2 -2
- package/dist/utils/page-fonts.js +15 -4
- package/dist/utils/pages.d.ts +21 -3
- package/dist/utils/pages.js +42 -13
- package/dist/utils/publish-form-data.d.ts +12 -0
- package/dist/utils/publish-form-data.js +10 -0
- package/dist/utils/publish-policy.d.ts +27 -0
- package/dist/utils/publish-policy.fixtures.json +403 -0
- package/dist/utils/publish-policy.js +45 -20
- package/dist/utils/push-new.d.ts +7 -0
- package/dist/utils/push-new.js +7 -0
- package/dist/utils/query-keys.d.ts +4 -5
- package/dist/utils/query-keys.js +2 -3
- package/dist/utils/runtime-paths.d.ts +5 -0
- package/dist/utils/runtime-paths.js +5 -0
- package/dist/utils/runtime-upload-batch.d.ts +0 -5
- package/dist/utils/runtime-upload-batch.js +1 -27
- package/dist/utils/runtime-upload.d.ts +6 -11
- package/dist/utils/runtime-upload.js +10 -13
- package/dist/utils/secure-local-file.js +5 -16
- package/dist/utils/space-config.d.ts +1 -34
- package/dist/utils/space-config.js +8 -326
- package/dist/utils/static-runtime-policy.d.ts +9 -3
- package/dist/utils/static-runtime-policy.fixtures.json +38 -41
- package/dist/utils/static-runtime-policy.js +22 -56
- package/dist/utils/storage-policy.d.ts +1 -1
- package/dist/utils/storage-policy.js +3 -1
- package/dist/utils/structured-error.d.ts +14 -0
- package/dist/utils/structured-error.js +22 -0
- package/dist/utils/upload-session.d.ts +4 -1
- package/dist/utils/upload-session.js +33 -5
- package/dist/utils/version-path.js +13 -4
- package/dist/vocabulary.d.ts +13 -11
- package/dist/vocabulary.js +42 -28
- package/package.json +7 -17
- package/dist/config/postgres-budget.d.ts +0 -129
- package/dist/config/postgres-budget.js +0 -140
- package/dist/config/postgres-budget.json +0 -51
- package/dist/contracts/archives.d.ts +0 -331
- package/dist/contracts/archives.js +0 -120
- package/dist/contracts/deployments.d.ts +0 -574
- package/dist/contracts/deployments.js +0 -97
- package/dist/contracts/sites.d.ts +0 -416
- package/dist/contracts/sites.js +0 -168
- package/dist/contracts/superadmin-queues.d.ts +0 -414
- package/dist/contracts/superadmin-queues.js +0 -202
- package/dist/contracts/superadmin-runtime.d.ts +0 -27
- package/dist/contracts/superadmin-runtime.js +0 -38
- package/dist/index.d.ts +0 -1
- package/dist/index.js +0 -1
- package/dist/utils/api.d.ts +0 -4
- package/dist/utils/api.js +0 -13
|
@@ -1,14 +1,35 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
|
+
export declare const VERSION_BUILD_LOG_MAX_LENGTH: number;
|
|
3
|
+
export declare const SpaceCapacitySchema: z.ZodObject<{
|
|
4
|
+
storageBytes: z.ZodOptional<z.ZodNumber>;
|
|
5
|
+
}, z.core.$strip>;
|
|
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>;
|
|
2
21
|
export declare const spaceClaimReceiptSchema: z.ZodObject<{
|
|
3
|
-
|
|
22
|
+
key: z.ZodString;
|
|
4
23
|
url: z.ZodString;
|
|
24
|
+
claimUrl: z.ZodString;
|
|
5
25
|
expiresAt: z.ZodString;
|
|
6
26
|
}, z.core.$strip>;
|
|
7
27
|
export declare const SpaceCreateResponseSchema: z.ZodObject<{
|
|
8
28
|
space: z.ZodObject<{
|
|
9
29
|
id: z.ZodString;
|
|
10
30
|
tenantId: z.ZodString;
|
|
11
|
-
|
|
31
|
+
providerRef: z.ZodNullable<z.ZodString>;
|
|
32
|
+
providerClientId: z.ZodNullable<z.ZodString>;
|
|
12
33
|
teamId: z.ZodNullable<z.ZodString>;
|
|
13
34
|
teamSlug: z.ZodNullable<z.ZodString>;
|
|
14
35
|
principal: z.ZodNullable<z.ZodObject<{
|
|
@@ -26,7 +47,6 @@ export declare const SpaceCreateResponseSchema: z.ZodObject<{
|
|
|
26
47
|
active: "active";
|
|
27
48
|
provisioning: "provisioning";
|
|
28
49
|
updating: "updating";
|
|
29
|
-
moving: "moving";
|
|
30
50
|
deleting: "deleting";
|
|
31
51
|
failed: "failed";
|
|
32
52
|
}>;
|
|
@@ -37,6 +57,7 @@ export declare const SpaceCreateResponseSchema: z.ZodObject<{
|
|
|
37
57
|
abuse_takedown: "abuse_takedown";
|
|
38
58
|
tenant_suspended: "tenant_suspended";
|
|
39
59
|
site_suspended: "site_suspended";
|
|
60
|
+
author_removed: "author_removed";
|
|
40
61
|
}>;
|
|
41
62
|
}, z.core.$strip>>;
|
|
42
63
|
claimState: z.ZodNullable<z.ZodObject<{
|
|
@@ -64,17 +85,8 @@ export declare const SpaceCreateResponseSchema: z.ZodObject<{
|
|
|
64
85
|
}, z.core.$strip>>;
|
|
65
86
|
dataLocation: z.ZodString;
|
|
66
87
|
region: z.ZodString;
|
|
67
|
-
placementMode: z.ZodEnum<{
|
|
68
|
-
shared: "shared";
|
|
69
|
-
dedicated: "dedicated";
|
|
70
|
-
}>;
|
|
71
88
|
burstable: z.ZodNullable<z.ZodBoolean>;
|
|
72
89
|
archivedBytes: z.ZodNumber;
|
|
73
|
-
tierPolicy: z.ZodEnum<{
|
|
74
|
-
auto: "auto";
|
|
75
|
-
always_hot: "always_hot";
|
|
76
|
-
}>;
|
|
77
|
-
moving: z.ZodBoolean;
|
|
78
90
|
hasRuntime: z.ZodBoolean;
|
|
79
91
|
channels: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
80
92
|
versionId: z.ZodString;
|
|
@@ -92,6 +104,7 @@ export declare const SpaceCreateResponseSchema: z.ZodObject<{
|
|
|
92
104
|
title: z.ZodOptional<z.ZodString>;
|
|
93
105
|
description: z.ZodOptional<z.ZodString>;
|
|
94
106
|
image: z.ZodOptional<z.ZodString>;
|
|
107
|
+
favicon: z.ZodOptional<z.ZodString>;
|
|
95
108
|
}, z.core.$strip>>;
|
|
96
109
|
superpowers: z.ZodOptional<z.ZodObject<{
|
|
97
110
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -144,10 +157,6 @@ export declare const SpaceCreateResponseSchema: z.ZodObject<{
|
|
|
144
157
|
timeoutSeconds: z.ZodOptional<z.ZodNumber>;
|
|
145
158
|
}, z.core.$strict>>;
|
|
146
159
|
placement: z.ZodOptional<z.ZodObject<{
|
|
147
|
-
mode: z.ZodOptional<z.ZodEnum<{
|
|
148
|
-
shared: "shared";
|
|
149
|
-
dedicated: "dedicated";
|
|
150
|
-
}>>;
|
|
151
160
|
burstable: z.ZodOptional<z.ZodBoolean>;
|
|
152
161
|
}, z.core.$strict>>;
|
|
153
162
|
markdownNegotiation: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -196,7 +205,7 @@ export declare const SpaceCreateResponseSchema: z.ZodObject<{
|
|
|
196
205
|
path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
197
206
|
provider: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
198
207
|
registrar: "registrar";
|
|
199
|
-
|
|
208
|
+
infra: "infra";
|
|
200
209
|
dns: "dns";
|
|
201
210
|
runtime: "runtime";
|
|
202
211
|
}>>>;
|
|
@@ -216,8 +225,9 @@ export declare const SpaceCreateResponseSchema: z.ZodObject<{
|
|
|
216
225
|
expiresAt: z.ZodNullable<z.ZodString>;
|
|
217
226
|
}, z.core.$strip>;
|
|
218
227
|
claim: z.ZodOptional<z.ZodObject<{
|
|
219
|
-
|
|
228
|
+
key: z.ZodString;
|
|
220
229
|
url: z.ZodString;
|
|
230
|
+
claimUrl: z.ZodString;
|
|
221
231
|
expiresAt: z.ZodString;
|
|
222
232
|
}, z.core.$strip>>;
|
|
223
233
|
}, z.core.$strip>;
|
|
@@ -232,7 +242,7 @@ export declare const spaceDiagnosticSchema: z.ZodObject<{
|
|
|
232
242
|
path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
233
243
|
provider: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
234
244
|
registrar: "registrar";
|
|
235
|
-
|
|
245
|
+
infra: "infra";
|
|
236
246
|
dns: "dns";
|
|
237
247
|
runtime: "runtime";
|
|
238
248
|
}>>>;
|
|
@@ -256,7 +266,7 @@ export declare const spaceDiagnosticListResponseSchema: z.ZodObject<{
|
|
|
256
266
|
path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
257
267
|
provider: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
258
268
|
registrar: "registrar";
|
|
259
|
-
|
|
269
|
+
infra: "infra";
|
|
260
270
|
dns: "dns";
|
|
261
271
|
runtime: "runtime";
|
|
262
272
|
}>>>;
|
|
@@ -280,7 +290,6 @@ export declare const principalRefInputSchema: z.ZodObject<{
|
|
|
280
290
|
id: z.ZodString;
|
|
281
291
|
}, z.core.$strip>;
|
|
282
292
|
export declare const spaceCreateSchema: z.ZodDefault<z.ZodOptional<z.ZodObject<{
|
|
283
|
-
siteId: z.ZodOptional<z.ZodString>;
|
|
284
293
|
teamId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
285
294
|
principal: z.ZodOptional<z.ZodObject<{
|
|
286
295
|
type: z.ZodEnum<{
|
|
@@ -303,6 +312,7 @@ export declare const spaceCreateSchema: z.ZodDefault<z.ZodOptional<z.ZodObject<{
|
|
|
303
312
|
title: z.ZodOptional<z.ZodString>;
|
|
304
313
|
description: z.ZodOptional<z.ZodString>;
|
|
305
314
|
image: z.ZodOptional<z.ZodString>;
|
|
315
|
+
favicon: z.ZodOptional<z.ZodString>;
|
|
306
316
|
}, z.core.$strip>>;
|
|
307
317
|
superpowers: z.ZodOptional<z.ZodObject<{
|
|
308
318
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -355,10 +365,6 @@ export declare const spaceCreateSchema: z.ZodDefault<z.ZodOptional<z.ZodObject<{
|
|
|
355
365
|
timeoutSeconds: z.ZodOptional<z.ZodNumber>;
|
|
356
366
|
}, z.core.$strict>>;
|
|
357
367
|
placement: z.ZodOptional<z.ZodObject<{
|
|
358
|
-
mode: z.ZodOptional<z.ZodEnum<{
|
|
359
|
-
shared: "shared";
|
|
360
|
-
dedicated: "dedicated";
|
|
361
|
-
}>>;
|
|
362
368
|
burstable: z.ZodOptional<z.ZodBoolean>;
|
|
363
369
|
}, z.core.$strict>>;
|
|
364
370
|
markdownNegotiation: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -392,6 +398,7 @@ export declare const spacePatchSchema: z.ZodObject<{
|
|
|
392
398
|
title: z.ZodOptional<z.ZodString>;
|
|
393
399
|
description: z.ZodOptional<z.ZodString>;
|
|
394
400
|
image: z.ZodOptional<z.ZodString>;
|
|
401
|
+
favicon: z.ZodOptional<z.ZodString>;
|
|
395
402
|
}, z.core.$strip>>;
|
|
396
403
|
superpowers: z.ZodOptional<z.ZodObject<{
|
|
397
404
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -444,10 +451,6 @@ export declare const spacePatchSchema: z.ZodObject<{
|
|
|
444
451
|
timeoutSeconds: z.ZodOptional<z.ZodNumber>;
|
|
445
452
|
}, z.core.$strict>>;
|
|
446
453
|
placement: z.ZodOptional<z.ZodObject<{
|
|
447
|
-
mode: z.ZodOptional<z.ZodEnum<{
|
|
448
|
-
shared: "shared";
|
|
449
|
-
dedicated: "dedicated";
|
|
450
|
-
}>>;
|
|
451
454
|
burstable: z.ZodOptional<z.ZodBoolean>;
|
|
452
455
|
}, z.core.$strict>>;
|
|
453
456
|
markdownNegotiation: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -468,27 +471,13 @@ export declare const spacePatchSchema: z.ZodObject<{
|
|
|
468
471
|
force: z.ZodOptional<z.ZodBoolean>;
|
|
469
472
|
dataLocation: z.ZodOptional<z.ZodString>;
|
|
470
473
|
placement: z.ZodOptional<z.ZodObject<{
|
|
471
|
-
mode: z.ZodOptional<z.ZodEnum<{
|
|
472
|
-
shared: "shared";
|
|
473
|
-
dedicated: "dedicated";
|
|
474
|
-
}>>;
|
|
475
474
|
burstable: z.ZodOptional<z.ZodBoolean>;
|
|
476
475
|
}, z.core.$strict>>;
|
|
477
476
|
noindex: z.ZodOptional<z.ZodBoolean>;
|
|
478
477
|
}, z.core.$strict>;
|
|
479
|
-
export declare const
|
|
480
|
-
|
|
481
|
-
teamId: z.ZodOptional<z.ZodString>;
|
|
482
|
-
targetTeamId: z.ZodOptional<z.ZodString>;
|
|
483
|
-
agentContinuation: z.ZodOptional<z.ZodBoolean>;
|
|
484
|
-
}, z.core.$strip>;
|
|
485
|
-
export declare const anonymousClaimAssignSchema: z.ZodObject<{
|
|
478
|
+
export declare const anonymousClaimSchema: z.ZodObject<{
|
|
479
|
+
key: z.ZodOptional<z.ZodString>;
|
|
486
480
|
teamId: z.ZodOptional<z.ZodString>;
|
|
487
|
-
nonce: z.ZodOptional<z.ZodString>;
|
|
488
|
-
agentContinuation: z.ZodOptional<z.ZodBoolean>;
|
|
489
|
-
}, z.core.$strip>;
|
|
490
|
-
export declare const anonymousClaimResolveSchema: z.ZodObject<{
|
|
491
|
-
nonce: z.ZodOptional<z.ZodString>;
|
|
492
481
|
agentContinuation: z.ZodOptional<z.ZodBoolean>;
|
|
493
482
|
}, z.core.$strip>;
|
|
494
483
|
export declare const anonymousClaimTeamSchema: z.ZodObject<{
|
|
@@ -537,7 +526,7 @@ export declare const anonymousClaimResponseSchema: z.ZodObject<{
|
|
|
537
526
|
claimed: "claimed";
|
|
538
527
|
login_required: "login_required";
|
|
539
528
|
team_required: "team_required";
|
|
540
|
-
|
|
529
|
+
consent_required: "consent_required";
|
|
541
530
|
}>;
|
|
542
531
|
space: z.ZodObject<{
|
|
543
532
|
id: z.ZodString;
|
|
@@ -549,11 +538,11 @@ export declare const anonymousClaimResponseSchema: z.ZodObject<{
|
|
|
549
538
|
expiresAt: z.ZodNullable<z.ZodString>;
|
|
550
539
|
claimedAt: z.ZodNullable<z.ZodString>;
|
|
551
540
|
}, z.core.$strip>;
|
|
552
|
-
access: z.ZodObject<{
|
|
541
|
+
access: z.ZodOptional<z.ZodObject<{
|
|
553
542
|
url: z.ZodString;
|
|
554
543
|
token: z.ZodString;
|
|
555
544
|
expiresAt: z.ZodNullable<z.ZodString>;
|
|
556
|
-
}, z.core.$strip
|
|
545
|
+
}, z.core.$strip>>;
|
|
557
546
|
continuation: z.ZodObject<{
|
|
558
547
|
eligible: z.ZodBoolean;
|
|
559
548
|
granted: z.ZodBoolean;
|
|
@@ -638,11 +627,6 @@ export declare const anonymousClaimStatusResponseSchema: z.ZodObject<{
|
|
|
638
627
|
unavailable: "unavailable";
|
|
639
628
|
}>>;
|
|
640
629
|
}, z.core.$strip>;
|
|
641
|
-
access: z.ZodObject<{
|
|
642
|
-
url: z.ZodString;
|
|
643
|
-
token: z.ZodString;
|
|
644
|
-
expiresAt: z.ZodNullable<z.ZodString>;
|
|
645
|
-
}, z.core.$strip>;
|
|
646
630
|
}, z.core.$strip>;
|
|
647
631
|
export declare const anonymousClaimExchangeResponseSchema: z.ZodObject<{
|
|
648
632
|
space: z.ZodObject<{
|
|
@@ -662,10 +646,12 @@ export declare const anonymousClaimRotateSchema: z.ZodObject<{
|
|
|
662
646
|
}, z.core.$strip>;
|
|
663
647
|
export declare const anonymousClaimRotateResponseSchema: z.ZodObject<{
|
|
664
648
|
spaceId: z.ZodString;
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
649
|
+
claim: z.ZodObject<{
|
|
650
|
+
key: z.ZodString;
|
|
651
|
+
url: z.ZodString;
|
|
652
|
+
claimUrl: z.ZodString;
|
|
653
|
+
expiresAt: z.ZodString;
|
|
654
|
+
}, z.core.$strip>;
|
|
669
655
|
}, z.core.$strip>;
|
|
670
656
|
export declare const spaceClaimReminderSchema: z.ZodObject<{
|
|
671
657
|
email: z.ZodString;
|
|
@@ -713,11 +699,6 @@ export declare const spaceVersionCreateSchema: z.ZodObject<{
|
|
|
713
699
|
}>>;
|
|
714
700
|
sourceMetadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
715
701
|
buildLog: z.ZodOptional<z.ZodString>;
|
|
716
|
-
conventionFiles: z.ZodOptional<z.ZodObject<{
|
|
717
|
-
redirects: z.ZodOptional<z.ZodString>;
|
|
718
|
-
headers: z.ZodOptional<z.ZodString>;
|
|
719
|
-
routes: z.ZodOptional<z.ZodString>;
|
|
720
|
-
}, z.core.$strip>>;
|
|
721
702
|
finalize: z.ZodOptional<z.ZodObject<{
|
|
722
703
|
channel: z.ZodOptional<z.ZodNullable<z.ZodLiteral<"live">>>;
|
|
723
704
|
}, z.core.$strip>>;
|
|
@@ -787,6 +768,9 @@ export declare const spaceVersionListSchema: z.ZodObject<{
|
|
|
787
768
|
variables: z.ZodNull;
|
|
788
769
|
fileCount: z.ZodNullable<z.ZodNumber>;
|
|
789
770
|
totalBytes: z.ZodNullable<z.ZodNumber>;
|
|
771
|
+
filesAddedCount: z.ZodNumber;
|
|
772
|
+
filesChangedCount: z.ZodNumber;
|
|
773
|
+
filesRemovedCount: z.ZodNumber;
|
|
790
774
|
pendingUploads: z.ZodArray<z.ZodObject<{
|
|
791
775
|
path: z.ZodString;
|
|
792
776
|
size: z.ZodNumber;
|
|
@@ -813,6 +797,7 @@ export declare const spaceVersionListSchema: z.ZodObject<{
|
|
|
813
797
|
title: z.ZodOptional<z.ZodString>;
|
|
814
798
|
description: z.ZodOptional<z.ZodString>;
|
|
815
799
|
image: z.ZodOptional<z.ZodString>;
|
|
800
|
+
favicon: z.ZodOptional<z.ZodString>;
|
|
816
801
|
}, z.core.$strip>>;
|
|
817
802
|
superpowers: z.ZodOptional<z.ZodObject<{
|
|
818
803
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -865,10 +850,6 @@ export declare const spaceVersionListSchema: z.ZodObject<{
|
|
|
865
850
|
timeoutSeconds: z.ZodOptional<z.ZodNumber>;
|
|
866
851
|
}, z.core.$strict>>;
|
|
867
852
|
placement: z.ZodOptional<z.ZodObject<{
|
|
868
|
-
mode: z.ZodOptional<z.ZodEnum<{
|
|
869
|
-
shared: "shared";
|
|
870
|
-
dedicated: "dedicated";
|
|
871
|
-
}>>;
|
|
872
853
|
burstable: z.ZodOptional<z.ZodBoolean>;
|
|
873
854
|
}, z.core.$strict>>;
|
|
874
855
|
markdownNegotiation: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -915,7 +896,7 @@ export declare const spaceVersionListSchema: z.ZodObject<{
|
|
|
915
896
|
path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
916
897
|
provider: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
917
898
|
registrar: "registrar";
|
|
918
|
-
|
|
899
|
+
infra: "infra";
|
|
919
900
|
dns: "dns";
|
|
920
901
|
runtime: "runtime";
|
|
921
902
|
}>>>;
|
|
@@ -942,7 +923,7 @@ export declare const spaceVersionListSchema: z.ZodObject<{
|
|
|
942
923
|
path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
943
924
|
provider: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
944
925
|
registrar: "registrar";
|
|
945
|
-
|
|
926
|
+
infra: "infra";
|
|
946
927
|
dns: "dns";
|
|
947
928
|
runtime: "runtime";
|
|
948
929
|
}>>>;
|
|
@@ -955,7 +936,6 @@ export declare const spaceVersionListSchema: z.ZodObject<{
|
|
|
955
936
|
}, z.core.$strip>>>;
|
|
956
937
|
createdAt: z.ZodString;
|
|
957
938
|
readyAt: z.ZodNullable<z.ZodString>;
|
|
958
|
-
retainedUntil: z.ZodNullable<z.ZodString>;
|
|
959
939
|
updatedAt: z.ZodString;
|
|
960
940
|
}, z.core.$strip>>;
|
|
961
941
|
pagination: z.ZodObject<{
|
|
@@ -967,7 +947,8 @@ export declare const spaceListSchema: z.ZodObject<{
|
|
|
967
947
|
data: z.ZodArray<z.ZodObject<{
|
|
968
948
|
id: z.ZodString;
|
|
969
949
|
tenantId: z.ZodString;
|
|
970
|
-
|
|
950
|
+
providerRef: z.ZodNullable<z.ZodString>;
|
|
951
|
+
providerClientId: z.ZodNullable<z.ZodString>;
|
|
971
952
|
teamId: z.ZodNullable<z.ZodString>;
|
|
972
953
|
teamSlug: z.ZodNullable<z.ZodString>;
|
|
973
954
|
principal: z.ZodNullable<z.ZodObject<{
|
|
@@ -985,7 +966,6 @@ export declare const spaceListSchema: z.ZodObject<{
|
|
|
985
966
|
active: "active";
|
|
986
967
|
provisioning: "provisioning";
|
|
987
968
|
updating: "updating";
|
|
988
|
-
moving: "moving";
|
|
989
969
|
deleting: "deleting";
|
|
990
970
|
failed: "failed";
|
|
991
971
|
}>;
|
|
@@ -996,6 +976,7 @@ export declare const spaceListSchema: z.ZodObject<{
|
|
|
996
976
|
abuse_takedown: "abuse_takedown";
|
|
997
977
|
tenant_suspended: "tenant_suspended";
|
|
998
978
|
site_suspended: "site_suspended";
|
|
979
|
+
author_removed: "author_removed";
|
|
999
980
|
}>;
|
|
1000
981
|
}, z.core.$strip>>;
|
|
1001
982
|
claimState: z.ZodNullable<z.ZodObject<{
|
|
@@ -1023,17 +1004,8 @@ export declare const spaceListSchema: z.ZodObject<{
|
|
|
1023
1004
|
}, z.core.$strip>>;
|
|
1024
1005
|
dataLocation: z.ZodString;
|
|
1025
1006
|
region: z.ZodString;
|
|
1026
|
-
placementMode: z.ZodEnum<{
|
|
1027
|
-
shared: "shared";
|
|
1028
|
-
dedicated: "dedicated";
|
|
1029
|
-
}>;
|
|
1030
1007
|
burstable: z.ZodNullable<z.ZodBoolean>;
|
|
1031
1008
|
archivedBytes: z.ZodNumber;
|
|
1032
|
-
tierPolicy: z.ZodEnum<{
|
|
1033
|
-
auto: "auto";
|
|
1034
|
-
always_hot: "always_hot";
|
|
1035
|
-
}>;
|
|
1036
|
-
moving: z.ZodBoolean;
|
|
1037
1009
|
hasRuntime: z.ZodBoolean;
|
|
1038
1010
|
channels: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1039
1011
|
versionId: z.ZodString;
|
|
@@ -1051,6 +1023,7 @@ export declare const spaceListSchema: z.ZodObject<{
|
|
|
1051
1023
|
title: z.ZodOptional<z.ZodString>;
|
|
1052
1024
|
description: z.ZodOptional<z.ZodString>;
|
|
1053
1025
|
image: z.ZodOptional<z.ZodString>;
|
|
1026
|
+
favicon: z.ZodOptional<z.ZodString>;
|
|
1054
1027
|
}, z.core.$strip>>;
|
|
1055
1028
|
superpowers: z.ZodOptional<z.ZodObject<{
|
|
1056
1029
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -1103,10 +1076,6 @@ export declare const spaceListSchema: z.ZodObject<{
|
|
|
1103
1076
|
timeoutSeconds: z.ZodOptional<z.ZodNumber>;
|
|
1104
1077
|
}, z.core.$strict>>;
|
|
1105
1078
|
placement: z.ZodOptional<z.ZodObject<{
|
|
1106
|
-
mode: z.ZodOptional<z.ZodEnum<{
|
|
1107
|
-
shared: "shared";
|
|
1108
|
-
dedicated: "dedicated";
|
|
1109
|
-
}>>;
|
|
1110
1079
|
burstable: z.ZodOptional<z.ZodBoolean>;
|
|
1111
1080
|
}, z.core.$strict>>;
|
|
1112
1081
|
markdownNegotiation: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -1155,7 +1124,7 @@ export declare const spaceListSchema: z.ZodObject<{
|
|
|
1155
1124
|
path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1156
1125
|
provider: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
1157
1126
|
registrar: "registrar";
|
|
1158
|
-
|
|
1127
|
+
infra: "infra";
|
|
1159
1128
|
dns: "dns";
|
|
1160
1129
|
runtime: "runtime";
|
|
1161
1130
|
}>>>;
|
|
@@ -1190,7 +1159,6 @@ export declare const versionLogEntrySchema: z.ZodObject<{
|
|
|
1190
1159
|
message: z.ZodString;
|
|
1191
1160
|
}, z.core.$strip>;
|
|
1192
1161
|
export type VersionLogEntry = z.infer<typeof versionLogEntrySchema>;
|
|
1193
|
-
export declare const VERSION_BUILD_LOG_MAX_LENGTH: number;
|
|
1194
1162
|
export declare const versionLogListResponseSchema: z.ZodObject<{
|
|
1195
1163
|
data: z.ZodArray<z.ZodObject<{
|
|
1196
1164
|
timestamp: z.ZodString;
|
|
@@ -1648,51 +1616,52 @@ export declare const spaceFilesResponseSchema: z.ZodObject<{
|
|
|
1648
1616
|
export declare const spaceVersionFilePathQuerySchema: z.ZodObject<{
|
|
1649
1617
|
path: z.ZodString;
|
|
1650
1618
|
}, z.core.$strip>;
|
|
1651
|
-
|
|
1652
|
-
|
|
1653
|
-
|
|
1619
|
+
/**
|
|
1620
|
+
* Which representation of a path the runtime should hand back: `source` is the
|
|
1621
|
+
* uploaded, pre-substitution object; `served` is the immutable byte the
|
|
1622
|
+
* version actually serves. A private config input exists in `source` and is
|
|
1623
|
+
* absent from `served`.
|
|
1624
|
+
*/
|
|
1625
|
+
export declare const spaceVersionFileViewSchema: z.ZodEnum<{
|
|
1626
|
+
source: "source";
|
|
1627
|
+
served: "served";
|
|
1628
|
+
}>;
|
|
1629
|
+
export declare const VERSION_FILE_LINKS_MAX_PATHS = 200;
|
|
1630
|
+
/**
|
|
1631
|
+
* Repeated `path` query parameters — `?path=index.html&path=about.html`. One
|
|
1632
|
+
* path arrives as a bare string, so it is lifted into the batch shape before
|
|
1633
|
+
* the per-path rules run.
|
|
1634
|
+
*/
|
|
1635
|
+
export declare const spaceVersionFileLinksQuerySchema: z.ZodObject<{
|
|
1636
|
+
path: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodArray<z.ZodString>>;
|
|
1637
|
+
view: z.ZodDefault<z.ZodEnum<{
|
|
1638
|
+
source: "source";
|
|
1639
|
+
served: "served";
|
|
1640
|
+
}>>;
|
|
1654
1641
|
}, z.core.$strip>;
|
|
1655
|
-
export declare const
|
|
1656
|
-
|
|
1657
|
-
|
|
1658
|
-
size: z.ZodNumber;
|
|
1659
|
-
contentType: z.ZodNullable<z.ZodString>;
|
|
1660
|
-
sha256: z.ZodNullable<z.ZodString>;
|
|
1661
|
-
encoding: z.ZodEnum<{
|
|
1662
|
-
utf8: "utf8";
|
|
1663
|
-
base64: "base64";
|
|
1664
|
-
}>;
|
|
1665
|
-
content: z.ZodString;
|
|
1666
|
-
truncated: z.ZodBoolean;
|
|
1667
|
-
cached: z.ZodBoolean;
|
|
1642
|
+
export declare const spaceVersionFileLinkSchema: z.ZodObject<{
|
|
1643
|
+
url: z.ZodString;
|
|
1644
|
+
expiresAt: z.ZodString;
|
|
1668
1645
|
}, z.core.$strip>;
|
|
1669
|
-
|
|
1646
|
+
/**
|
|
1647
|
+
* Minting is blind to path validity — the control plane authorizes the version,
|
|
1648
|
+
* not the path. A path that is not in the selected catalog view answers
|
|
1649
|
+
* `version_file_not_found` when the link is followed.
|
|
1650
|
+
*/
|
|
1651
|
+
export declare const spaceVersionFileLinksResponseSchema: z.ZodObject<{
|
|
1670
1652
|
versionId: z.ZodString;
|
|
1671
|
-
|
|
1672
|
-
|
|
1673
|
-
|
|
1674
|
-
"internet-shortcut": "internet-shortcut";
|
|
1675
|
-
webloc: "webloc";
|
|
1676
|
-
"plain-url": "plain-url";
|
|
1677
|
-
}>;
|
|
1678
|
-
url: z.ZodString;
|
|
1679
|
-
fetchedUrl: z.ZodNullable<z.ZodString>;
|
|
1680
|
-
title: z.ZodNullable<z.ZodString>;
|
|
1681
|
-
description: z.ZodNullable<z.ZodString>;
|
|
1682
|
-
siteName: z.ZodNullable<z.ZodString>;
|
|
1683
|
-
providerName: z.ZodNullable<z.ZodString>;
|
|
1684
|
-
authorName: z.ZodNullable<z.ZodString>;
|
|
1685
|
-
imageUrl: z.ZodNullable<z.ZodString>;
|
|
1686
|
-
oEmbedUrl: z.ZodNullable<z.ZodString>;
|
|
1687
|
-
status: z.ZodEnum<{
|
|
1688
|
-
ready: "ready";
|
|
1689
|
-
unavailable: "unavailable";
|
|
1653
|
+
view: z.ZodEnum<{
|
|
1654
|
+
source: "source";
|
|
1655
|
+
served: "served";
|
|
1690
1656
|
}>;
|
|
1691
|
-
|
|
1657
|
+
links: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1658
|
+
url: z.ZodString;
|
|
1659
|
+
expiresAt: z.ZodString;
|
|
1660
|
+
}, z.core.$strip>>;
|
|
1692
1661
|
}, z.core.$strip>;
|
|
1693
1662
|
export declare const spaceVersionConventionArtifactKindSchema: z.ZodEnum<{
|
|
1694
|
-
redirects: "redirects";
|
|
1695
1663
|
headers: "headers";
|
|
1664
|
+
redirects: "redirects";
|
|
1696
1665
|
}>;
|
|
1697
1666
|
export declare const spaceVersionConventionArtifactPathSchema: z.ZodEnum<{
|
|
1698
1667
|
_redirects: "_redirects";
|
|
@@ -1707,8 +1676,8 @@ export declare const spaceVersionConventionArtifactSourceSchema: z.ZodEnum<{
|
|
|
1707
1676
|
}>;
|
|
1708
1677
|
export declare const spaceVersionConventionArtifactMetadataSchema: z.ZodObject<{
|
|
1709
1678
|
kind: z.ZodEnum<{
|
|
1710
|
-
redirects: "redirects";
|
|
1711
1679
|
headers: "headers";
|
|
1680
|
+
redirects: "redirects";
|
|
1712
1681
|
}>;
|
|
1713
1682
|
path: z.ZodEnum<{
|
|
1714
1683
|
_redirects: "_redirects";
|
|
@@ -1733,8 +1702,8 @@ export declare const spaceVersionConventionArtifactsResponseSchema: z.ZodObject<
|
|
|
1733
1702
|
versionId: z.ZodString;
|
|
1734
1703
|
artifacts: z.ZodArray<z.ZodObject<{
|
|
1735
1704
|
kind: z.ZodEnum<{
|
|
1736
|
-
redirects: "redirects";
|
|
1737
1705
|
headers: "headers";
|
|
1706
|
+
redirects: "redirects";
|
|
1738
1707
|
}>;
|
|
1739
1708
|
path: z.ZodEnum<{
|
|
1740
1709
|
_redirects: "_redirects";
|
|
@@ -1758,8 +1727,8 @@ export declare const spaceVersionConventionArtifactsResponseSchema: z.ZodObject<
|
|
|
1758
1727
|
}, z.core.$strip>;
|
|
1759
1728
|
export declare const spaceVersionConventionArtifactQuerySchema: z.ZodObject<{
|
|
1760
1729
|
kind: z.ZodOptional<z.ZodEnum<{
|
|
1761
|
-
redirects: "redirects";
|
|
1762
1730
|
headers: "headers";
|
|
1731
|
+
redirects: "redirects";
|
|
1763
1732
|
}>>;
|
|
1764
1733
|
path: z.ZodOptional<z.ZodEnum<{
|
|
1765
1734
|
_redirects: "_redirects";
|
|
@@ -1768,8 +1737,8 @@ export declare const spaceVersionConventionArtifactQuerySchema: z.ZodObject<{
|
|
|
1768
1737
|
}, z.core.$strip>;
|
|
1769
1738
|
export declare const spaceVersionConventionArtifactContentResponseSchema: z.ZodObject<{
|
|
1770
1739
|
kind: z.ZodEnum<{
|
|
1771
|
-
redirects: "redirects";
|
|
1772
1740
|
headers: "headers";
|
|
1741
|
+
redirects: "redirects";
|
|
1773
1742
|
}>;
|
|
1774
1743
|
path: z.ZodEnum<{
|
|
1775
1744
|
_redirects: "_redirects";
|
|
@@ -1790,8 +1759,8 @@ export declare const spaceVersionConventionArtifactContentResponseSchema: z.ZodO
|
|
|
1790
1759
|
warningCount: z.ZodNumber;
|
|
1791
1760
|
errorCount: z.ZodNumber;
|
|
1792
1761
|
encoding: z.ZodEnum<{
|
|
1793
|
-
utf8: "utf8";
|
|
1794
1762
|
base64: "base64";
|
|
1763
|
+
utf8: "utf8";
|
|
1795
1764
|
}>;
|
|
1796
1765
|
content: z.ZodString;
|
|
1797
1766
|
truncated: z.ZodBoolean;
|
|
@@ -1842,8 +1811,8 @@ export declare const spaceVersionComputedRoutingSummarySchema: z.ZodObject<{
|
|
|
1842
1811
|
source: z.ZodObject<{
|
|
1843
1812
|
artifacts: z.ZodArray<z.ZodObject<{
|
|
1844
1813
|
kind: z.ZodEnum<{
|
|
1845
|
-
redirects: "redirects";
|
|
1846
1814
|
headers: "headers";
|
|
1815
|
+
redirects: "redirects";
|
|
1847
1816
|
}>;
|
|
1848
1817
|
path: z.ZodEnum<{
|
|
1849
1818
|
_redirects: "_redirects";
|
|
@@ -1868,8 +1837,6 @@ export declare const spaceVersionComputedRoutingSummarySchema: z.ZodObject<{
|
|
|
1868
1837
|
compiled: z.ZodObject<{
|
|
1869
1838
|
redirectRuleCount: z.ZodNumber;
|
|
1870
1839
|
headerRuleCount: z.ZodNumber;
|
|
1871
|
-
staticRedirectCount: z.ZodNumber;
|
|
1872
|
-
dynamicRedirectCount: z.ZodNumber;
|
|
1873
1840
|
proxyRuleCount: z.ZodNumber;
|
|
1874
1841
|
}, z.core.$strip>;
|
|
1875
1842
|
diagnostics: z.ZodArray<z.ZodObject<{
|
|
@@ -1894,180 +1861,6 @@ export declare const spaceVersionComputedRoutingSummarySchema: z.ZodObject<{
|
|
|
1894
1861
|
source: z.ZodString;
|
|
1895
1862
|
}, z.core.$strip>>;
|
|
1896
1863
|
}, z.core.$strip>;
|
|
1897
|
-
export declare const spaceVersionFileDiffStatusSchema: z.ZodEnum<{
|
|
1898
|
-
binary: "binary";
|
|
1899
|
-
deleted: "deleted";
|
|
1900
|
-
added: "added";
|
|
1901
|
-
modified: "modified";
|
|
1902
|
-
renamed: "renamed";
|
|
1903
|
-
unchanged: "unchanged";
|
|
1904
|
-
too_large: "too_large";
|
|
1905
|
-
}>;
|
|
1906
|
-
export declare const spaceVersionFileDiffEntrySchema: z.ZodObject<{
|
|
1907
|
-
path: z.ZodString;
|
|
1908
|
-
oldPath: z.ZodNullable<z.ZodString>;
|
|
1909
|
-
status: z.ZodEnum<{
|
|
1910
|
-
binary: "binary";
|
|
1911
|
-
deleted: "deleted";
|
|
1912
|
-
added: "added";
|
|
1913
|
-
modified: "modified";
|
|
1914
|
-
renamed: "renamed";
|
|
1915
|
-
unchanged: "unchanged";
|
|
1916
|
-
too_large: "too_large";
|
|
1917
|
-
}>;
|
|
1918
|
-
before: z.ZodNullable<z.ZodObject<{
|
|
1919
|
-
path: z.ZodString;
|
|
1920
|
-
size: z.ZodNumber;
|
|
1921
|
-
sha256: z.ZodOptional<z.ZodString>;
|
|
1922
|
-
contentType: z.ZodOptional<z.ZodString>;
|
|
1923
|
-
sourceUrl: z.ZodOptional<z.ZodString>;
|
|
1924
|
-
previewable: z.ZodBoolean;
|
|
1925
|
-
generatedPreview: z.ZodNullable<z.ZodObject<{
|
|
1926
|
-
kind: z.ZodLiteral<"image">;
|
|
1927
|
-
status: z.ZodEnum<{
|
|
1928
|
-
ready: "ready";
|
|
1929
|
-
pending: "pending";
|
|
1930
|
-
}>;
|
|
1931
|
-
key: z.ZodString;
|
|
1932
|
-
cacheScope: z.ZodEnum<{
|
|
1933
|
-
hash: "hash";
|
|
1934
|
-
"version-path": "version-path";
|
|
1935
|
-
}>;
|
|
1936
|
-
contentType: z.ZodLiteral<"image/webp">;
|
|
1937
|
-
width: z.ZodNumber;
|
|
1938
|
-
height: z.ZodNumber;
|
|
1939
|
-
}, z.core.$strip>>;
|
|
1940
|
-
}, z.core.$strip>>;
|
|
1941
|
-
after: z.ZodNullable<z.ZodObject<{
|
|
1942
|
-
path: z.ZodString;
|
|
1943
|
-
size: z.ZodNumber;
|
|
1944
|
-
sha256: z.ZodOptional<z.ZodString>;
|
|
1945
|
-
contentType: z.ZodOptional<z.ZodString>;
|
|
1946
|
-
sourceUrl: z.ZodOptional<z.ZodString>;
|
|
1947
|
-
previewable: z.ZodBoolean;
|
|
1948
|
-
generatedPreview: z.ZodNullable<z.ZodObject<{
|
|
1949
|
-
kind: z.ZodLiteral<"image">;
|
|
1950
|
-
status: z.ZodEnum<{
|
|
1951
|
-
ready: "ready";
|
|
1952
|
-
pending: "pending";
|
|
1953
|
-
}>;
|
|
1954
|
-
key: z.ZodString;
|
|
1955
|
-
cacheScope: z.ZodEnum<{
|
|
1956
|
-
hash: "hash";
|
|
1957
|
-
"version-path": "version-path";
|
|
1958
|
-
}>;
|
|
1959
|
-
contentType: z.ZodLiteral<"image/webp">;
|
|
1960
|
-
width: z.ZodNumber;
|
|
1961
|
-
height: z.ZodNumber;
|
|
1962
|
-
}, z.core.$strip>>;
|
|
1963
|
-
}, z.core.$strip>>;
|
|
1964
|
-
patch: z.ZodNullable<z.ZodObject<{
|
|
1965
|
-
format: z.ZodLiteral<"unified">;
|
|
1966
|
-
content: z.ZodString;
|
|
1967
|
-
truncated: z.ZodBoolean;
|
|
1968
|
-
truncationReason: z.ZodNullable<z.ZodLiteral<"patch_byte_limit">>;
|
|
1969
|
-
}, z.core.$strip>>;
|
|
1970
|
-
patchOmission: z.ZodNullable<z.ZodEnum<{
|
|
1971
|
-
input_too_large: "input_too_large";
|
|
1972
|
-
not_previewable: "not_previewable";
|
|
1973
|
-
content_unavailable: "content_unavailable";
|
|
1974
|
-
patch_budget_exhausted: "patch_budget_exhausted";
|
|
1975
|
-
}>>;
|
|
1976
|
-
}, z.core.$strip>;
|
|
1977
|
-
export declare const spaceVersionFileDiffQuerySchema: z.ZodObject<{
|
|
1978
|
-
limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
1979
|
-
cursor: z.ZodOptional<z.ZodString>;
|
|
1980
|
-
baseVersionId: z.ZodOptional<z.ZodString>;
|
|
1981
|
-
}, z.core.$strip>;
|
|
1982
|
-
export declare const spaceVersionFileDiffResponseSchema: z.ZodObject<{
|
|
1983
|
-
versionId: z.ZodString;
|
|
1984
|
-
baseVersionId: z.ZodNullable<z.ZodString>;
|
|
1985
|
-
files: z.ZodArray<z.ZodObject<{
|
|
1986
|
-
path: z.ZodString;
|
|
1987
|
-
oldPath: z.ZodNullable<z.ZodString>;
|
|
1988
|
-
status: z.ZodEnum<{
|
|
1989
|
-
binary: "binary";
|
|
1990
|
-
deleted: "deleted";
|
|
1991
|
-
added: "added";
|
|
1992
|
-
modified: "modified";
|
|
1993
|
-
renamed: "renamed";
|
|
1994
|
-
unchanged: "unchanged";
|
|
1995
|
-
too_large: "too_large";
|
|
1996
|
-
}>;
|
|
1997
|
-
before: z.ZodNullable<z.ZodObject<{
|
|
1998
|
-
path: z.ZodString;
|
|
1999
|
-
size: z.ZodNumber;
|
|
2000
|
-
sha256: z.ZodOptional<z.ZodString>;
|
|
2001
|
-
contentType: z.ZodOptional<z.ZodString>;
|
|
2002
|
-
sourceUrl: z.ZodOptional<z.ZodString>;
|
|
2003
|
-
previewable: z.ZodBoolean;
|
|
2004
|
-
generatedPreview: z.ZodNullable<z.ZodObject<{
|
|
2005
|
-
kind: z.ZodLiteral<"image">;
|
|
2006
|
-
status: z.ZodEnum<{
|
|
2007
|
-
ready: "ready";
|
|
2008
|
-
pending: "pending";
|
|
2009
|
-
}>;
|
|
2010
|
-
key: z.ZodString;
|
|
2011
|
-
cacheScope: z.ZodEnum<{
|
|
2012
|
-
hash: "hash";
|
|
2013
|
-
"version-path": "version-path";
|
|
2014
|
-
}>;
|
|
2015
|
-
contentType: z.ZodLiteral<"image/webp">;
|
|
2016
|
-
width: z.ZodNumber;
|
|
2017
|
-
height: z.ZodNumber;
|
|
2018
|
-
}, z.core.$strip>>;
|
|
2019
|
-
}, z.core.$strip>>;
|
|
2020
|
-
after: z.ZodNullable<z.ZodObject<{
|
|
2021
|
-
path: z.ZodString;
|
|
2022
|
-
size: z.ZodNumber;
|
|
2023
|
-
sha256: z.ZodOptional<z.ZodString>;
|
|
2024
|
-
contentType: z.ZodOptional<z.ZodString>;
|
|
2025
|
-
sourceUrl: z.ZodOptional<z.ZodString>;
|
|
2026
|
-
previewable: z.ZodBoolean;
|
|
2027
|
-
generatedPreview: z.ZodNullable<z.ZodObject<{
|
|
2028
|
-
kind: z.ZodLiteral<"image">;
|
|
2029
|
-
status: z.ZodEnum<{
|
|
2030
|
-
ready: "ready";
|
|
2031
|
-
pending: "pending";
|
|
2032
|
-
}>;
|
|
2033
|
-
key: z.ZodString;
|
|
2034
|
-
cacheScope: z.ZodEnum<{
|
|
2035
|
-
hash: "hash";
|
|
2036
|
-
"version-path": "version-path";
|
|
2037
|
-
}>;
|
|
2038
|
-
contentType: z.ZodLiteral<"image/webp">;
|
|
2039
|
-
width: z.ZodNumber;
|
|
2040
|
-
height: z.ZodNumber;
|
|
2041
|
-
}, z.core.$strip>>;
|
|
2042
|
-
}, z.core.$strip>>;
|
|
2043
|
-
patch: z.ZodNullable<z.ZodObject<{
|
|
2044
|
-
format: z.ZodLiteral<"unified">;
|
|
2045
|
-
content: z.ZodString;
|
|
2046
|
-
truncated: z.ZodBoolean;
|
|
2047
|
-
truncationReason: z.ZodNullable<z.ZodLiteral<"patch_byte_limit">>;
|
|
2048
|
-
}, z.core.$strip>>;
|
|
2049
|
-
patchOmission: z.ZodNullable<z.ZodEnum<{
|
|
2050
|
-
input_too_large: "input_too_large";
|
|
2051
|
-
not_previewable: "not_previewable";
|
|
2052
|
-
content_unavailable: "content_unavailable";
|
|
2053
|
-
patch_budget_exhausted: "patch_budget_exhausted";
|
|
2054
|
-
}>>;
|
|
2055
|
-
}, z.core.$strip>>;
|
|
2056
|
-
pagination: z.ZodObject<{
|
|
2057
|
-
nextCursor: z.ZodNullable<z.ZodString>;
|
|
2058
|
-
hasMore: z.ZodBoolean;
|
|
2059
|
-
}, z.core.$strip>;
|
|
2060
|
-
limits: z.ZodObject<{
|
|
2061
|
-
maxFiles: z.ZodNumber;
|
|
2062
|
-
maxInputBytes: z.ZodNumber;
|
|
2063
|
-
maxPatchBytes: z.ZodNumber;
|
|
2064
|
-
readConcurrency: z.ZodNumber;
|
|
2065
|
-
}, z.core.$strip>;
|
|
2066
|
-
usage: z.ZodObject<{
|
|
2067
|
-
inputBytes: z.ZodNumber;
|
|
2068
|
-
patchBytes: z.ZodNumber;
|
|
2069
|
-
}, z.core.$strip>;
|
|
2070
|
-
}, z.core.$strip>;
|
|
2071
1864
|
export declare const spaceVersionIntentResponseSchema: z.ZodObject<{
|
|
2072
1865
|
versionId: z.ZodNullable<z.ZodString>;
|
|
2073
1866
|
upload: z.ZodNullable<z.ZodObject<{
|
|
@@ -2123,7 +1916,7 @@ export declare const spaceVersionIntentResponseSchema: z.ZodObject<{
|
|
|
2123
1916
|
path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2124
1917
|
provider: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
2125
1918
|
registrar: "registrar";
|
|
2126
|
-
|
|
1919
|
+
infra: "infra";
|
|
2127
1920
|
dns: "dns";
|
|
2128
1921
|
runtime: "runtime";
|
|
2129
1922
|
}>>>;
|
|
@@ -2194,6 +1987,7 @@ export declare const publishRequestSchema: z.ZodObject<{
|
|
|
2194
1987
|
title: z.ZodOptional<z.ZodString>;
|
|
2195
1988
|
description: z.ZodOptional<z.ZodString>;
|
|
2196
1989
|
image: z.ZodOptional<z.ZodString>;
|
|
1990
|
+
favicon: z.ZodOptional<z.ZodString>;
|
|
2197
1991
|
}, z.core.$strip>>;
|
|
2198
1992
|
superpowers: z.ZodOptional<z.ZodObject<{
|
|
2199
1993
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -2246,10 +2040,6 @@ export declare const publishRequestSchema: z.ZodObject<{
|
|
|
2246
2040
|
timeoutSeconds: z.ZodOptional<z.ZodNumber>;
|
|
2247
2041
|
}, z.core.$strict>>;
|
|
2248
2042
|
placement: z.ZodOptional<z.ZodObject<{
|
|
2249
|
-
mode: z.ZodOptional<z.ZodEnum<{
|
|
2250
|
-
shared: "shared";
|
|
2251
|
-
dedicated: "dedicated";
|
|
2252
|
-
}>>;
|
|
2253
2043
|
burstable: z.ZodOptional<z.ZodBoolean>;
|
|
2254
2044
|
}, z.core.$strict>>;
|
|
2255
2045
|
markdownNegotiation: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -2269,7 +2059,6 @@ export declare const publishRequestSchema: z.ZodObject<{
|
|
|
2269
2059
|
deletePaths: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
2270
2060
|
immutableAssetPrefixes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2271
2061
|
spaceId: z.ZodOptional<z.ZodString>;
|
|
2272
|
-
siteId: z.ZodOptional<z.ZodString>;
|
|
2273
2062
|
teamId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2274
2063
|
principal: z.ZodOptional<z.ZodObject<{
|
|
2275
2064
|
type: z.ZodEnum<{
|
|
@@ -2339,7 +2128,7 @@ export declare const publishUploadReceiptSchema: z.ZodObject<{
|
|
|
2339
2128
|
path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2340
2129
|
provider: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
2341
2130
|
registrar: "registrar";
|
|
2342
|
-
|
|
2131
|
+
infra: "infra";
|
|
2343
2132
|
dns: "dns";
|
|
2344
2133
|
runtime: "runtime";
|
|
2345
2134
|
}>>>;
|
|
@@ -2352,6 +2141,7 @@ export declare const publishUploadReceiptSchema: z.ZodObject<{
|
|
|
2352
2141
|
export declare const publishReceiptSpaceSchema: z.ZodObject<{
|
|
2353
2142
|
id: z.ZodString;
|
|
2354
2143
|
slug: z.ZodString;
|
|
2144
|
+
title: z.ZodString;
|
|
2355
2145
|
publicName: z.ZodString;
|
|
2356
2146
|
defaultHostname: z.ZodString;
|
|
2357
2147
|
liveUrl: z.ZodNullable<z.ZodString>;
|
|
@@ -2404,6 +2194,7 @@ export declare const publishReceiptSchema: z.ZodObject<{
|
|
|
2404
2194
|
space: z.ZodObject<{
|
|
2405
2195
|
id: z.ZodString;
|
|
2406
2196
|
slug: z.ZodString;
|
|
2197
|
+
title: z.ZodString;
|
|
2407
2198
|
publicName: z.ZodString;
|
|
2408
2199
|
defaultHostname: z.ZodString;
|
|
2409
2200
|
liveUrl: z.ZodNullable<z.ZodString>;
|
|
@@ -2485,7 +2276,7 @@ export declare const publishReceiptSchema: z.ZodObject<{
|
|
|
2485
2276
|
path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2486
2277
|
provider: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
2487
2278
|
registrar: "registrar";
|
|
2488
|
-
|
|
2279
|
+
infra: "infra";
|
|
2489
2280
|
dns: "dns";
|
|
2490
2281
|
runtime: "runtime";
|
|
2491
2282
|
}>>>;
|
|
@@ -2549,7 +2340,7 @@ export declare const publishReceiptSchema: z.ZodObject<{
|
|
|
2549
2340
|
path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2550
2341
|
provider: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
2551
2342
|
registrar: "registrar";
|
|
2552
|
-
|
|
2343
|
+
infra: "infra";
|
|
2553
2344
|
dns: "dns";
|
|
2554
2345
|
runtime: "runtime";
|
|
2555
2346
|
}>>>;
|
|
@@ -2560,8 +2351,9 @@ export declare const publishReceiptSchema: z.ZodObject<{
|
|
|
2560
2351
|
}, z.core.$strip>>;
|
|
2561
2352
|
}, z.core.$strip>>;
|
|
2562
2353
|
claim: z.ZodOptional<z.ZodObject<{
|
|
2563
|
-
|
|
2354
|
+
key: z.ZodString;
|
|
2564
2355
|
url: z.ZodString;
|
|
2356
|
+
claimUrl: z.ZodString;
|
|
2565
2357
|
expiresAt: z.ZodString;
|
|
2566
2358
|
}, z.core.$strip>>;
|
|
2567
2359
|
diagnostics: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -2575,7 +2367,7 @@ export declare const publishReceiptSchema: z.ZodObject<{
|
|
|
2575
2367
|
path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2576
2368
|
provider: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
2577
2369
|
registrar: "registrar";
|
|
2578
|
-
|
|
2370
|
+
infra: "infra";
|
|
2579
2371
|
dns: "dns";
|
|
2580
2372
|
runtime: "runtime";
|
|
2581
2373
|
}>>>;
|
|
@@ -2593,6 +2385,7 @@ export declare const publishReceiptSchema: z.ZodObject<{
|
|
|
2593
2385
|
status: z.ZodOptional<z.ZodString>;
|
|
2594
2386
|
}, z.core.$strip>>;
|
|
2595
2387
|
}, z.core.$strip>;
|
|
2388
|
+
export type PublishReceipt = z.infer<typeof publishReceiptSchema>;
|
|
2596
2389
|
export declare const spaceVersionResumeResponseSchema: z.ZodObject<{
|
|
2597
2390
|
versionId: z.ZodString;
|
|
2598
2391
|
upload: z.ZodNullable<z.ZodObject<{
|
|
@@ -2648,7 +2441,7 @@ export declare const spaceVersionResumeResponseSchema: z.ZodObject<{
|
|
|
2648
2441
|
path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2649
2442
|
provider: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
2650
2443
|
registrar: "registrar";
|
|
2651
|
-
|
|
2444
|
+
infra: "infra";
|
|
2652
2445
|
dns: "dns";
|
|
2653
2446
|
runtime: "runtime";
|
|
2654
2447
|
}>>>;
|
|
@@ -2664,11 +2457,6 @@ export declare const versionPromoteSchema: z.ZodDefault<z.ZodOptional<z.ZodObjec
|
|
|
2664
2457
|
channel: z.ZodOptional<z.ZodString>;
|
|
2665
2458
|
}, z.core.$strip>>>;
|
|
2666
2459
|
export declare const spaceFinalizeSchema: z.ZodDefault<z.ZodOptional<z.ZodObject<{
|
|
2667
|
-
conventionFiles: z.ZodOptional<z.ZodObject<{
|
|
2668
|
-
redirects: z.ZodOptional<z.ZodString>;
|
|
2669
|
-
headers: z.ZodOptional<z.ZodString>;
|
|
2670
|
-
routes: z.ZodOptional<z.ZodString>;
|
|
2671
|
-
}, z.core.$strip>>;
|
|
2672
2460
|
channel: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
2673
2461
|
live: "live";
|
|
2674
2462
|
}>>>;
|
|
@@ -2681,7 +2469,6 @@ export declare const spaceRuntimeStatusSchema: z.ZodObject<{
|
|
|
2681
2469
|
active: "active";
|
|
2682
2470
|
provisioning: "provisioning";
|
|
2683
2471
|
updating: "updating";
|
|
2684
|
-
moving: "moving";
|
|
2685
2472
|
deleting: "deleting";
|
|
2686
2473
|
failed: "failed";
|
|
2687
2474
|
}>;
|
|
@@ -2697,11 +2484,6 @@ export declare const spaceRuntimeStatusSchema: z.ZodObject<{
|
|
|
2697
2484
|
finalizing: "finalizing";
|
|
2698
2485
|
ready: "ready";
|
|
2699
2486
|
}>>;
|
|
2700
|
-
liveRuntimeKind: z.ZodNullable<z.ZodEnum<{
|
|
2701
|
-
zero: "zero";
|
|
2702
|
-
functions: "functions";
|
|
2703
|
-
static: "static";
|
|
2704
|
-
}>>;
|
|
2705
2487
|
pendingVersionStatus: z.ZodNullable<z.ZodEnum<{
|
|
2706
2488
|
failed: "failed";
|
|
2707
2489
|
canceled: "canceled";
|
|
@@ -2744,7 +2526,7 @@ export declare const spaceRuntimeStatusSchema: z.ZodObject<{
|
|
|
2744
2526
|
path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2745
2527
|
provider: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
2746
2528
|
registrar: "registrar";
|
|
2747
|
-
|
|
2529
|
+
infra: "infra";
|
|
2748
2530
|
dns: "dns";
|
|
2749
2531
|
runtime: "runtime";
|
|
2750
2532
|
}>>>;
|
|
@@ -2755,131 +2537,135 @@ export declare const spaceRuntimeStatusSchema: z.ZodObject<{
|
|
|
2755
2537
|
createdAt: z.ZodString;
|
|
2756
2538
|
finishedAt: z.ZodOptional<z.ZodString>;
|
|
2757
2539
|
}, z.core.$strip>>;
|
|
2758
|
-
app: z.ZodNullable<z.
|
|
2759
|
-
|
|
2760
|
-
|
|
2761
|
-
|
|
2762
|
-
|
|
2763
|
-
|
|
2764
|
-
|
|
2765
|
-
|
|
2766
|
-
|
|
2767
|
-
|
|
2768
|
-
|
|
2769
|
-
|
|
2770
|
-
|
|
2771
|
-
|
|
2772
|
-
|
|
2773
|
-
|
|
2774
|
-
|
|
2775
|
-
|
|
2776
|
-
|
|
2777
|
-
|
|
2778
|
-
|
|
2779
|
-
|
|
2780
|
-
|
|
2781
|
-
|
|
2782
|
-
|
|
2783
|
-
|
|
2540
|
+
app: z.ZodNullable<z.ZodObject<{
|
|
2541
|
+
capsule: z.ZodNullable<z.ZodObject<{
|
|
2542
|
+
artifactId: z.ZodString;
|
|
2543
|
+
appName: z.ZodString;
|
|
2544
|
+
serverRuntime: z.ZodLiteral<"quickjs-rust">;
|
|
2545
|
+
inspect: z.ZodObject<{
|
|
2546
|
+
policy: z.ZodEnum<{
|
|
2547
|
+
private: "private";
|
|
2548
|
+
public: "public";
|
|
2549
|
+
}>;
|
|
2550
|
+
}, z.core.$strict>;
|
|
2551
|
+
install: z.ZodObject<{
|
|
2552
|
+
runtimeKind: z.ZodLiteral<"zero">;
|
|
2553
|
+
engine: z.ZodLiteral<"quickjs-rust">;
|
|
2554
|
+
storageRoot: z.ZodLiteral<"__spacefast/zero">;
|
|
2555
|
+
artifactPath: z.ZodLiteral<"__spacefast/zero/artifact.json">;
|
|
2556
|
+
configPath: z.ZodLiteral<"__spacefast/zero/config.json">;
|
|
2557
|
+
binary: z.ZodObject<{
|
|
2558
|
+
path: z.ZodLiteral<"__spacefast/zero/bin/stattic-runtime">;
|
|
2559
|
+
compatibilityTarget: z.ZodObject<{
|
|
2560
|
+
profile: z.ZodLiteral<"linux-x86_64-gnu-v1">;
|
|
2561
|
+
os: z.ZodLiteral<"linux">;
|
|
2562
|
+
cpu: z.ZodLiteral<"x86_64">;
|
|
2563
|
+
libc: z.ZodLiteral<"glibc">;
|
|
2564
|
+
linking: z.ZodLiteral<"dynamic">;
|
|
2565
|
+
requireExecutableBit: z.ZodLiteral<true>;
|
|
2566
|
+
}, z.core.$strict>;
|
|
2567
|
+
sha256: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
2568
|
+
required: z.ZodLiteral<true>;
|
|
2569
|
+
}, z.core.$strict>;
|
|
2570
|
+
mysql: z.ZodObject<{
|
|
2571
|
+
migrateAtFinalize: z.ZodLiteral<true>;
|
|
2572
|
+
blockIncompatibleRollback: z.ZodLiteral<true>;
|
|
2573
|
+
}, z.core.$strict>;
|
|
2574
|
+
realtime: z.ZodObject<{
|
|
2575
|
+
production: z.ZodLiteral<"central">;
|
|
2576
|
+
local: z.ZodLiteral<"foreground-cli-ws">;
|
|
2784
2577
|
}, z.core.$strict>;
|
|
2785
|
-
sha256: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
2786
|
-
required: z.ZodLiteral<true>;
|
|
2787
2578
|
}, z.core.$strict>;
|
|
2788
|
-
|
|
2789
|
-
|
|
2790
|
-
|
|
2579
|
+
tables: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
2580
|
+
queries: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
2581
|
+
mutations: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
2582
|
+
actions: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
2583
|
+
endpoints: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
2584
|
+
method: z.ZodEnum<{
|
|
2585
|
+
POST: "POST";
|
|
2586
|
+
PUT: "PUT";
|
|
2587
|
+
GET: "GET";
|
|
2588
|
+
HEAD: "HEAD";
|
|
2589
|
+
PATCH: "PATCH";
|
|
2590
|
+
DELETE: "DELETE";
|
|
2591
|
+
OPTIONS: "OPTIONS";
|
|
2592
|
+
}>;
|
|
2593
|
+
path: z.ZodString;
|
|
2594
|
+
}, z.core.$strict>>>;
|
|
2595
|
+
sockets: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
2596
|
+
migrationCount: z.ZodNumber;
|
|
2597
|
+
schemaHash: z.ZodNullable<z.ZodString>;
|
|
2598
|
+
variables: z.ZodObject<{
|
|
2599
|
+
source: z.ZodLiteral<"stattic-variables">;
|
|
2600
|
+
names: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
2791
2601
|
}, z.core.$strict>;
|
|
2792
2602
|
realtime: z.ZodObject<{
|
|
2793
|
-
|
|
2794
|
-
|
|
2603
|
+
mode: z.ZodEnum<{
|
|
2604
|
+
local: "local";
|
|
2605
|
+
cast: "cast";
|
|
2606
|
+
central: "central";
|
|
2607
|
+
}>;
|
|
2608
|
+
centralUrl: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
2609
|
+
path: z.ZodOptional<z.ZodString>;
|
|
2610
|
+
replayPath: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2611
|
+
replayUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2612
|
+
runPath: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2613
|
+
runUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2614
|
+
resourceKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2615
|
+
ticketPath: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2616
|
+
socketPath: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2617
|
+
spaceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2618
|
+
versionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2795
2619
|
}, z.core.$strict>;
|
|
2796
|
-
}, z.core.$strict
|
|
2797
|
-
|
|
2798
|
-
|
|
2799
|
-
|
|
2800
|
-
|
|
2801
|
-
|
|
2802
|
-
|
|
2803
|
-
|
|
2804
|
-
|
|
2805
|
-
|
|
2806
|
-
|
|
2807
|
-
|
|
2808
|
-
|
|
2809
|
-
|
|
2810
|
-
|
|
2811
|
-
|
|
2812
|
-
|
|
2813
|
-
|
|
2814
|
-
|
|
2815
|
-
|
|
2816
|
-
|
|
2817
|
-
|
|
2818
|
-
|
|
2819
|
-
|
|
2820
|
-
|
|
2821
|
-
|
|
2822
|
-
|
|
2823
|
-
|
|
2824
|
-
|
|
2620
|
+
}, z.core.$strict>>;
|
|
2621
|
+
worker: z.ZodNullable<z.ZodObject<{
|
|
2622
|
+
artifactId: z.ZodString;
|
|
2623
|
+
appName: z.ZodString;
|
|
2624
|
+
entry: z.ZodString;
|
|
2625
|
+
compatibilityDate: z.ZodString;
|
|
2626
|
+
compatibilityFlags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
2627
|
+
routes: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
2628
|
+
method: z.ZodDefault<z.ZodNullable<z.ZodEnum<{
|
|
2629
|
+
POST: "POST";
|
|
2630
|
+
PUT: "PUT";
|
|
2631
|
+
GET: "GET";
|
|
2632
|
+
HEAD: "HEAD";
|
|
2633
|
+
PATCH: "PATCH";
|
|
2634
|
+
DELETE: "DELETE";
|
|
2635
|
+
OPTIONS: "OPTIONS";
|
|
2636
|
+
}>>>;
|
|
2637
|
+
path: z.ZodString;
|
|
2638
|
+
subtree: z.ZodDefault<z.ZodBoolean>;
|
|
2639
|
+
}, z.core.$strict>>>;
|
|
2640
|
+
capabilities: z.ZodDefault<z.ZodObject<{
|
|
2641
|
+
db: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
2642
|
+
fetch: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
2643
|
+
auth: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
2644
|
+
env: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
2645
|
+
realtime: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
2646
|
+
logging: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
2647
|
+
gravatar: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
2648
|
+
spam: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
2649
|
+
email: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
2650
|
+
}, z.core.$strip>>;
|
|
2651
|
+
executionState: z.ZodEnum<{
|
|
2652
|
+
ready: "ready";
|
|
2653
|
+
absent: "absent";
|
|
2654
|
+
serving: "serving";
|
|
2825
2655
|
}>;
|
|
2826
|
-
|
|
2827
|
-
|
|
2828
|
-
|
|
2829
|
-
|
|
2830
|
-
|
|
2831
|
-
|
|
2832
|
-
|
|
2833
|
-
|
|
2834
|
-
socketPath: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2835
|
-
spaceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2836
|
-
versionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2837
|
-
}, z.core.$strict>;
|
|
2838
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
2839
|
-
runtimeKind: z.ZodLiteral<"functions">;
|
|
2840
|
-
artifactId: z.ZodString;
|
|
2841
|
-
appName: z.ZodString;
|
|
2842
|
-
entry: z.ZodString;
|
|
2843
|
-
compatibilityDate: z.ZodString;
|
|
2844
|
-
compatibilityFlags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
2845
|
-
routes: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
2846
|
-
method: z.ZodDefault<z.ZodNullable<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
|
-
subtree: z.ZodDefault<z.ZodBoolean>;
|
|
2857
|
-
}, z.core.$strict>>>;
|
|
2858
|
-
capabilities: z.ZodDefault<z.ZodObject<{
|
|
2859
|
-
db: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
2860
|
-
fetch: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
2861
|
-
auth: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
2862
|
-
env: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
2863
|
-
realtime: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
2864
|
-
logging: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
2865
|
-
}, z.core.$strip>>;
|
|
2866
|
-
executionState: z.ZodEnum<{
|
|
2867
|
-
ready: "ready";
|
|
2868
|
-
absent: "absent";
|
|
2869
|
-
serving: "serving";
|
|
2870
|
-
}>;
|
|
2871
|
-
bundleSize: z.ZodNumber;
|
|
2872
|
-
bundleSha256: z.ZodString;
|
|
2873
|
-
variables: z.ZodObject<{
|
|
2874
|
-
source: z.ZodLiteral<"spacefast-variables">;
|
|
2875
|
-
names: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
2876
|
-
}, z.core.$strict>;
|
|
2877
|
-
}, z.core.$strict>], "runtimeKind">>;
|
|
2656
|
+
bundleSize: z.ZodNumber;
|
|
2657
|
+
bundleSha256: z.ZodString;
|
|
2658
|
+
variables: z.ZodObject<{
|
|
2659
|
+
source: z.ZodLiteral<"spacefast-variables">;
|
|
2660
|
+
names: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
2661
|
+
}, z.core.$strict>;
|
|
2662
|
+
}, z.core.$strict>>;
|
|
2663
|
+
}, z.core.$strict>>;
|
|
2878
2664
|
}, z.core.$strip>;
|
|
2879
2665
|
export declare const spaceApplyChangeBaseSchema: z.ZodObject<{
|
|
2880
2666
|
kind: z.ZodEnum<{
|
|
2881
|
-
routing: "routing";
|
|
2882
2667
|
access: "access";
|
|
2668
|
+
routing: "routing";
|
|
2883
2669
|
variable: "variable";
|
|
2884
2670
|
settings: "settings";
|
|
2885
2671
|
}>;
|
|
@@ -2892,8 +2678,8 @@ export declare const spaceApplyModeSchema: z.ZodEnum<{
|
|
|
2892
2678
|
}>;
|
|
2893
2679
|
export declare const spaceApplyChangeSchema: z.ZodObject<{
|
|
2894
2680
|
kind: z.ZodEnum<{
|
|
2895
|
-
routing: "routing";
|
|
2896
2681
|
access: "access";
|
|
2682
|
+
routing: "routing";
|
|
2897
2683
|
variable: "variable";
|
|
2898
2684
|
settings: "settings";
|
|
2899
2685
|
}>;
|
|
@@ -2921,8 +2707,8 @@ export declare const spaceApplyStateSchema: z.ZodObject<{
|
|
|
2921
2707
|
pendingChangeCount: z.ZodNumber;
|
|
2922
2708
|
changes: z.ZodArray<z.ZodObject<{
|
|
2923
2709
|
kind: z.ZodEnum<{
|
|
2924
|
-
routing: "routing";
|
|
2925
2710
|
access: "access";
|
|
2711
|
+
routing: "routing";
|
|
2926
2712
|
variable: "variable";
|
|
2927
2713
|
settings: "settings";
|
|
2928
2714
|
}>;
|
|
@@ -2968,7 +2754,7 @@ export declare const spaceApplyStateSchema: z.ZodObject<{
|
|
|
2968
2754
|
path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2969
2755
|
provider: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
2970
2756
|
registrar: "registrar";
|
|
2971
|
-
|
|
2757
|
+
infra: "infra";
|
|
2972
2758
|
dns: "dns";
|
|
2973
2759
|
runtime: "runtime";
|
|
2974
2760
|
}>>>;
|
|
@@ -2996,8 +2782,8 @@ export declare const spaceApplyResponseSchema: z.ZodObject<{
|
|
|
2996
2782
|
pendingChangeCount: z.ZodNumber;
|
|
2997
2783
|
changes: z.ZodArray<z.ZodObject<{
|
|
2998
2784
|
kind: z.ZodEnum<{
|
|
2999
|
-
routing: "routing";
|
|
3000
2785
|
access: "access";
|
|
2786
|
+
routing: "routing";
|
|
3001
2787
|
variable: "variable";
|
|
3002
2788
|
settings: "settings";
|
|
3003
2789
|
}>;
|
|
@@ -3043,7 +2829,7 @@ export declare const spaceApplyResponseSchema: z.ZodObject<{
|
|
|
3043
2829
|
path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3044
2830
|
provider: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
3045
2831
|
registrar: "registrar";
|
|
3046
|
-
|
|
2832
|
+
infra: "infra";
|
|
3047
2833
|
dns: "dns";
|
|
3048
2834
|
runtime: "runtime";
|
|
3049
2835
|
}>>>;
|