@spacefast/common 0.0.12 → 0.0.17
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/client-registry.d.ts +22 -0
- package/dist/agents/client-registry.js +41 -0
- package/dist/agents/connect-targets.d.ts +51 -6
- package/dist/agents/connect-targets.js +93 -28
- package/dist/brand.d.ts +0 -11
- package/dist/brand.js +0 -20
- package/dist/config/domains.d.ts +15 -6
- package/dist/config/domains.js +24 -10
- package/dist/config/postgres-budget.d.ts +3 -0
- package/dist/config/postgres-budget.js +6 -1
- package/dist/config/postgres-budget.json +2 -1
- package/dist/contracts/abuse.js +1 -1
- package/dist/contracts/access.d.ts +486 -1196
- package/dist/contracts/access.js +323 -1054
- package/dist/contracts/activity.d.ts +1 -1
- package/dist/contracts/activity.js +11 -15
- package/dist/contracts/api-keys.d.ts +16 -0
- package/dist/contracts/api-keys.js +11 -9
- package/dist/contracts/archives.d.ts +1 -2
- package/dist/contracts/archives.js +15 -17
- package/dist/contracts/beta.js +1 -1
- package/dist/contracts/builds.js +14 -14
- package/dist/contracts/channels.js +2 -2
- package/dist/contracts/comments.d.ts +143 -99
- package/dist/contracts/comments.js +194 -79
- package/dist/contracts/common.d.ts +12 -12
- package/dist/contracts/common.js +33 -30
- package/dist/contracts/continuation.js +5 -5
- package/dist/contracts/countries.js +2 -7
- package/dist/contracts/data-source-routes.d.ts +20 -0
- package/dist/contracts/data-source-routes.js +15 -0
- package/dist/contracts/device-auth.d.ts +13 -9
- package/dist/contracts/device-auth.js +12 -12
- package/dist/contracts/docs.d.ts +10 -10
- package/dist/contracts/domains.js +39 -33
- package/dist/contracts/enums.d.ts +4 -14
- package/dist/contracts/enums.js +3 -10
- package/dist/contracts/error-code-meta.d.ts +122 -56
- package/dist/contracts/error-code-meta.js +43 -19
- package/dist/contracts/error-codes.d.ts +7 -4
- package/dist/contracts/error-codes.js +48 -24
- package/dist/contracts/events.d.ts +22 -15
- package/dist/contracts/events.js +33 -5
- package/dist/contracts/execution.d.ts +238 -0
- package/dist/contracts/execution.js +309 -0
- package/dist/contracts/feature-lifecycle.d.ts +39 -188
- package/dist/contracts/feature-lifecycle.js +52 -196
- package/dist/contracts/features.d.ts +13 -115
- package/dist/contracts/features.js +5 -35
- package/dist/contracts/functions.d.ts +597 -0
- package/dist/contracts/functions.js +475 -0
- package/dist/contracts/grants.d.ts +1175 -0
- package/dist/contracts/grants.js +783 -0
- package/dist/contracts/ids.d.ts +7 -5
- package/dist/contracts/ids.js +7 -7
- package/dist/contracts/internal.js +2 -2
- package/dist/contracts/mcp.d.ts +17 -556
- package/dist/contracts/mcp.js +9 -103
- package/dist/contracts/me.js +3 -4
- package/dist/contracts/notifications.d.ts +108 -0
- package/dist/contracts/notifications.js +54 -0
- package/dist/contracts/oauth-resources.d.ts +22 -5
- package/dist/contracts/oauth-resources.js +23 -2
- package/dist/contracts/operations.d.ts +0 -48
- package/dist/contracts/operations.js +0 -19
- package/dist/contracts/pages.d.ts +10 -14
- package/dist/contracts/pages.js +17 -21
- package/dist/contracts/plan-policy.d.ts +1 -8
- package/dist/contracts/plan-policy.js +1 -4
- package/dist/contracts/platform.d.ts +78 -30
- package/dist/contracts/platform.js +69 -20
- package/dist/contracts/problem-document.d.ts +14 -0
- package/dist/contracts/problem-document.js +35 -0
- package/dist/contracts/push-new.d.ts +41 -2
- package/dist/contracts/push-new.js +4 -0
- package/dist/contracts/quotas.d.ts +0 -1
- package/dist/contracts/quotas.js +0 -5
- package/dist/contracts/repository-connections.d.ts +1 -1
- package/dist/contracts/resources.d.ts +16 -71
- package/dist/contracts/resources.js +13 -16
- package/dist/contracts/runtime-api.d.ts +666 -303
- package/dist/contracts/runtime-api.js +272 -113
- package/dist/contracts/runtime-app.d.ts +168 -0
- package/dist/contracts/runtime-app.js +42 -0
- package/dist/contracts/runtime-db.d.ts +424 -0
- package/dist/contracts/runtime-db.js +108 -0
- package/dist/contracts/runtime-storage.d.ts +120 -0
- package/dist/contracts/runtime-storage.js +40 -0
- package/dist/contracts/sf-config-v1.d.ts +54 -1
- package/dist/contracts/sf-config-v1.js +2 -2
- package/dist/contracts/sites.d.ts +6 -0
- package/dist/contracts/sites.js +30 -11
- package/dist/contracts/space-config.d.ts +91 -121
- package/dist/contracts/space-config.js +464 -42
- package/dist/contracts/spaces.d.ts +300 -171
- package/dist/contracts/spaces.js +128 -98
- package/dist/contracts/superadmin-emails.d.ts +2 -2
- package/dist/contracts/superadmin-spaces.d.ts +26 -130
- package/dist/contracts/superadmin-spaces.js +22 -0
- package/dist/contracts/superadmin-tenants.js +4 -4
- package/dist/contracts/superadmin.d.ts +4 -0
- package/dist/contracts/superadmin.js +14 -1
- package/dist/contracts/tags.d.ts +6 -6
- package/dist/contracts/tags.js +1 -1
- package/dist/contracts/teams.d.ts +9 -9
- package/dist/contracts/teams.js +25 -16
- package/dist/contracts/theme-json.js +1 -1
- package/dist/contracts/transfers.d.ts +0 -1
- package/dist/contracts/transfers.js +4 -4
- package/dist/contracts/variables.js +3 -3
- package/dist/contracts/zero.d.ts +384 -596
- package/dist/contracts/zero.js +167 -299
- package/dist/dashboard-paths/index.d.ts +18 -3
- package/dist/dashboard-paths/index.js +19 -0
- package/dist/docs/agent-handoff-document.d.ts +2 -2
- package/dist/docs/agent-handoff-document.js +8 -7
- package/dist/docs/agent-prose.d.ts +22 -3
- package/dist/docs/agent-prose.js +227 -55
- package/dist/docs/agent-setup.d.ts +14 -11
- package/dist/docs/agent-setup.js +289 -61
- package/dist/docs/agent-solutions.d.ts +6 -6
- package/dist/docs/agent-solutions.js +24 -22
- package/dist/docs/catalog.d.ts +53 -98
- package/dist/docs/catalog.js +90 -117
- package/dist/docs/error-docs.js +304 -236
- package/dist/docs/skill-distribution.d.ts +2 -0
- package/dist/docs/skill-distribution.js +7 -4
- package/dist/docs/skills.d.ts +546 -0
- package/dist/docs/skills.js +340 -0
- package/dist/utils/auth-redirect.d.ts +1 -3
- package/dist/utils/auth-redirect.js +1 -21
- package/dist/utils/browser-credential.d.ts +19 -0
- package/dist/utils/browser-credential.js +62 -0
- package/dist/utils/build-settings.d.ts +2 -0
- package/dist/utils/build-settings.js +61 -9
- package/dist/utils/comment-avatars.d.ts +7 -0
- package/dist/utils/comment-avatars.js +42 -0
- package/dist/utils/content-type.d.ts +3 -3
- package/dist/utils/content-type.js +38 -61
- package/dist/utils/credential-policy.d.ts +1 -1
- package/dist/utils/credential-policy.js +4 -0
- package/dist/utils/domain-diagnostics.d.ts +5 -5
- package/dist/utils/domain-diagnostics.js +21 -10
- package/dist/utils/egress-policy.fixtures.json +1 -1
- package/dist/utils/grants.d.ts +53 -0
- package/dist/utils/grants.js +160 -0
- package/dist/utils/local-space-state.d.ts +78 -4
- package/dist/utils/local-space-state.js +384 -82
- package/dist/utils/one-shot-replay.d.ts +14 -0
- package/dist/utils/one-shot-replay.js +21 -0
- package/dist/utils/page-preview.d.ts +7 -0
- package/dist/utils/page-preview.js +9 -0
- package/dist/utils/pages.d.ts +2 -5
- package/dist/utils/pages.js +64 -33
- package/dist/utils/publish-form-data.d.ts +22 -0
- package/dist/utils/publish-form-data.js +26 -0
- package/dist/utils/publish-policy.d.ts +34 -4
- package/dist/utils/publish-policy.js +149 -62
- package/dist/utils/query-keys.d.ts +8 -10
- package/dist/utils/query-keys.js +14 -10
- package/dist/utils/runtime-paths.d.ts +3 -0
- package/dist/utils/runtime-paths.js +7 -0
- package/dist/utils/secure-local-file.d.ts +73 -0
- package/dist/utils/secure-local-file.js +1373 -0
- package/dist/utils/space-config.d.ts +17 -4
- package/dist/utils/space-config.js +151 -8
- package/dist/utils/static-runtime-policy.d.ts +5 -0
- package/dist/utils/static-runtime-policy.js +54 -10
- package/dist/utils/storage-policy.d.ts +20 -0
- package/dist/utils/storage-policy.fixtures.json +174 -0
- package/dist/utils/storage-policy.js +193 -0
- package/dist/utils/upload-session.d.ts +15 -1
- package/dist/utils/upload-session.js +68 -2
- package/dist/utils/version-file-browser.d.ts +13 -0
- package/dist/utils/version-file-browser.js +59 -0
- package/package.json +20 -1
- package/dist/contracts/mounts.d.ts +0 -142
- package/dist/contracts/mounts.js +0 -56
- package/dist/utils/access-grant.d.ts +0 -14
- package/dist/utils/access-grant.js +0 -88
- package/dist/utils/access-match.d.ts +0 -46
- package/dist/utils/access-match.fixtures.json +0 -513
- package/dist/utils/access-match.js +0 -312
- package/dist/utils/access-verdict.fixtures.json +0 -421
- package/dist/utils/asset-fingerprint.d.ts +0 -53
- package/dist/utils/asset-fingerprint.js +0 -574
- package/dist/utils/sf-config-v1.d.ts +0 -2
- package/dist/utils/sf-config-v1.fixtures.json +0 -9
- package/dist/utils/sf-config-v1.js +0 -551
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
|
-
export declare const
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
expiresAt: z.
|
|
6
|
-
warning: z.ZodString;
|
|
2
|
+
export declare const spaceClaimReceiptSchema: z.ZodObject<{
|
|
3
|
+
token: z.ZodString;
|
|
4
|
+
url: z.ZodString;
|
|
5
|
+
expiresAt: z.ZodString;
|
|
7
6
|
}, z.core.$strip>;
|
|
8
7
|
export declare const SpaceCreateResponseSchema: z.ZodObject<{
|
|
9
8
|
space: z.ZodObject<{
|
|
@@ -38,7 +37,6 @@ export declare const SpaceCreateResponseSchema: z.ZodObject<{
|
|
|
38
37
|
abuse_takedown: "abuse_takedown";
|
|
39
38
|
tenant_suspended: "tenant_suspended";
|
|
40
39
|
site_suspended: "site_suspended";
|
|
41
|
-
visit_cap_exceeded: "visit_cap_exceeded";
|
|
42
40
|
}>;
|
|
43
41
|
}, z.core.$strip>>;
|
|
44
42
|
claimState: z.ZodNullable<z.ZodObject<{
|
|
@@ -77,6 +75,7 @@ export declare const SpaceCreateResponseSchema: z.ZodObject<{
|
|
|
77
75
|
always_hot: "always_hot";
|
|
78
76
|
}>;
|
|
79
77
|
moving: z.ZodBoolean;
|
|
78
|
+
hasRuntime: z.ZodBoolean;
|
|
80
79
|
channels: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
81
80
|
versionId: z.ZodString;
|
|
82
81
|
updatedAt: z.ZodString;
|
|
@@ -159,73 +158,14 @@ export declare const SpaceCreateResponseSchema: z.ZodObject<{
|
|
|
159
158
|
bodyEnd: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
160
159
|
noscript: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
161
160
|
}, z.core.$strip>>;
|
|
161
|
+
dataSources: z.ZodOptional<z.ZodPipe<z.ZodUnknown, z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
162
|
+
kind: z.ZodLiteral<"wordpress">;
|
|
163
|
+
url: z.ZodString;
|
|
164
|
+
}, z.core.$strict>>>>;
|
|
165
|
+
defaultDataSource: z.ZodOptional<z.ZodString>;
|
|
162
166
|
}, z.core.$strip>>;
|
|
163
167
|
settingsDigest: z.ZodString;
|
|
164
168
|
noindex: z.ZodBoolean;
|
|
165
|
-
policy: z.ZodNullable<z.ZodObject<{
|
|
166
|
-
rules: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
167
|
-
id: z.ZodOptional<z.ZodString>;
|
|
168
|
-
match: z.ZodDefault<z.ZodObject<{
|
|
169
|
-
host: z.ZodOptional<z.ZodString>;
|
|
170
|
-
hostPattern: z.ZodOptional<z.ZodString>;
|
|
171
|
-
hostTemplate: z.ZodOptional<z.ZodString>;
|
|
172
|
-
pathPattern: z.ZodOptional<z.ZodString>;
|
|
173
|
-
channel: z.ZodOptional<z.ZodString>;
|
|
174
|
-
ipCidrs: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
175
|
-
agent: z.ZodOptional<z.ZodString>;
|
|
176
|
-
country: z.ZodOptional<z.ZodString>;
|
|
177
|
-
countryNotIn: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
178
|
-
header: z.ZodOptional<z.ZodObject<{
|
|
179
|
-
name: z.ZodString;
|
|
180
|
-
value: z.ZodString;
|
|
181
|
-
}, z.core.$strip>>;
|
|
182
|
-
}, z.core.$strip>>;
|
|
183
|
-
effect: z.ZodEnum<{
|
|
184
|
-
allow: "allow";
|
|
185
|
-
deny: "deny";
|
|
186
|
-
challenge: "challenge";
|
|
187
|
-
}>;
|
|
188
|
-
auth: z.ZodOptional<z.ZodObject<{
|
|
189
|
-
requiredGrants: z.ZodArray<z.ZodString>;
|
|
190
|
-
issuers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
191
|
-
kid: z.ZodString;
|
|
192
|
-
alg: z.ZodLiteral<"EdDSA">;
|
|
193
|
-
publicKey: z.ZodString;
|
|
194
|
-
grantNamespaces: z.ZodArray<z.ZodString>;
|
|
195
|
-
}, z.core.$strip>>>;
|
|
196
|
-
acquire: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
197
|
-
type: z.ZodLiteral<"password">;
|
|
198
|
-
ref: z.ZodString;
|
|
199
|
-
transport: z.ZodEnum<{
|
|
200
|
-
basic: "basic";
|
|
201
|
-
form: "form";
|
|
202
|
-
}>;
|
|
203
|
-
username: z.ZodOptional<z.ZodString>;
|
|
204
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
205
|
-
type: z.ZodLiteral<"login">;
|
|
206
|
-
url: z.ZodString;
|
|
207
|
-
label: z.ZodOptional<z.ZodString>;
|
|
208
|
-
}, z.core.$strip>], "type">>>;
|
|
209
|
-
}, z.core.$strip>>;
|
|
210
|
-
managedBy: z.ZodOptional<z.ZodEnum<{
|
|
211
|
-
sharing: "sharing";
|
|
212
|
-
firewall: "firewall";
|
|
213
|
-
file_share: "file_share";
|
|
214
|
-
cast_reviewer: "cast_reviewer";
|
|
215
|
-
team_default: "team_default";
|
|
216
|
-
}>>;
|
|
217
|
-
expiresAt: z.ZodOptional<z.ZodNumber>;
|
|
218
|
-
reasonCode: z.ZodOptional<z.ZodString>;
|
|
219
|
-
message: z.ZodOptional<z.ZodString>;
|
|
220
|
-
}, z.core.$strip>>>;
|
|
221
|
-
issuers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
222
|
-
kid: z.ZodString;
|
|
223
|
-
alg: z.ZodLiteral<"EdDSA">;
|
|
224
|
-
publicKey: z.ZodString;
|
|
225
|
-
grantNamespaces: z.ZodArray<z.ZodString>;
|
|
226
|
-
}, z.core.$strip>>>;
|
|
227
|
-
sessionVersion: z.ZodOptional<z.ZodNumber>;
|
|
228
|
-
}, z.core.$strip>>;
|
|
229
169
|
operation: z.ZodNullable<z.ZodObject<{
|
|
230
170
|
id: z.ZodString;
|
|
231
171
|
kind: z.ZodString;
|
|
@@ -270,11 +210,15 @@ export declare const SpaceCreateResponseSchema: z.ZodObject<{
|
|
|
270
210
|
createdAt: z.ZodString;
|
|
271
211
|
updatedAt: z.ZodString;
|
|
272
212
|
}, z.core.$strip>;
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
213
|
+
access: z.ZodObject<{
|
|
214
|
+
url: z.ZodString;
|
|
215
|
+
token: z.ZodString;
|
|
276
216
|
expiresAt: z.ZodNullable<z.ZodString>;
|
|
277
|
-
|
|
217
|
+
}, z.core.$strip>;
|
|
218
|
+
claim: z.ZodOptional<z.ZodObject<{
|
|
219
|
+
token: z.ZodString;
|
|
220
|
+
url: z.ZodString;
|
|
221
|
+
expiresAt: z.ZodString;
|
|
278
222
|
}, z.core.$strip>>;
|
|
279
223
|
}, z.core.$strip>;
|
|
280
224
|
export declare const spaceDiagnosticSchema: z.ZodObject<{
|
|
@@ -425,11 +369,17 @@ export declare const spaceCreateSchema: z.ZodDefault<z.ZodOptional<z.ZodObject<{
|
|
|
425
369
|
bodyEnd: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
426
370
|
noscript: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
427
371
|
}, z.core.$strip>>;
|
|
372
|
+
dataSources: z.ZodOptional<z.ZodPipe<z.ZodUnknown, z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
373
|
+
kind: z.ZodLiteral<"wordpress">;
|
|
374
|
+
url: z.ZodString;
|
|
375
|
+
}, z.core.$strict>>>>;
|
|
376
|
+
defaultDataSource: z.ZodOptional<z.ZodString>;
|
|
428
377
|
}, z.core.$strip>>;
|
|
429
378
|
dataLocation: z.ZodOptional<z.ZodString>;
|
|
430
379
|
}, z.core.$strip>>>;
|
|
431
380
|
export declare const spacePatchSchema: z.ZodObject<{
|
|
432
381
|
title: z.ZodOptional<z.ZodString>;
|
|
382
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
433
383
|
config: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
434
384
|
index: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodLiteral<false>]>>;
|
|
435
385
|
fallback: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
@@ -508,6 +458,11 @@ export declare const spacePatchSchema: z.ZodObject<{
|
|
|
508
458
|
bodyEnd: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
509
459
|
noscript: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
510
460
|
}, z.core.$strip>>;
|
|
461
|
+
dataSources: z.ZodOptional<z.ZodPipe<z.ZodUnknown, z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
462
|
+
kind: z.ZodLiteral<"wordpress">;
|
|
463
|
+
url: z.ZodString;
|
|
464
|
+
}, z.core.$strict>>>>;
|
|
465
|
+
defaultDataSource: z.ZodOptional<z.ZodString>;
|
|
511
466
|
}, z.core.$strip>>>;
|
|
512
467
|
baseSettingsDigest: z.ZodOptional<z.ZodString>;
|
|
513
468
|
force: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -547,6 +502,32 @@ export declare const anonymousClaimSpacePreviewSchema: z.ZodObject<{
|
|
|
547
502
|
liveUrl: z.ZodNullable<z.ZodString>;
|
|
548
503
|
createdAt: z.ZodNullable<z.ZodString>;
|
|
549
504
|
}, z.core.$strip>;
|
|
505
|
+
export declare const anonymousClaimSharingSummarySchema: z.ZodObject<{
|
|
506
|
+
people: z.ZodArray<z.ZodObject<{
|
|
507
|
+
id: z.ZodString;
|
|
508
|
+
displayName: z.ZodString;
|
|
509
|
+
status: z.ZodEnum<{
|
|
510
|
+
pending: "pending";
|
|
511
|
+
accepted: "accepted";
|
|
512
|
+
}>;
|
|
513
|
+
grants: z.ZodArray<z.ZodObject<{
|
|
514
|
+
scope: z.ZodString;
|
|
515
|
+
role: z.ZodEnum<{
|
|
516
|
+
viewer: "viewer";
|
|
517
|
+
commenter: "commenter";
|
|
518
|
+
editor: "editor";
|
|
519
|
+
}>;
|
|
520
|
+
}, z.core.$strip>>;
|
|
521
|
+
}, z.core.$strip>>;
|
|
522
|
+
links: z.ZodArray<z.ZodObject<{
|
|
523
|
+
id: z.ZodString;
|
|
524
|
+
revision: z.ZodNumber;
|
|
525
|
+
name: z.ZodString;
|
|
526
|
+
landingPath: z.ZodString;
|
|
527
|
+
scopes: z.ZodArray<z.ZodString>;
|
|
528
|
+
expiresAt: z.ZodNullable<z.ZodString>;
|
|
529
|
+
}, z.core.$strip>>;
|
|
530
|
+
}, z.core.$strip>;
|
|
550
531
|
export declare const anonymousClaimResponseSchema: z.ZodObject<{
|
|
551
532
|
state: z.ZodEnum<{
|
|
552
533
|
unclaimed: "unclaimed";
|
|
@@ -568,6 +549,11 @@ export declare const anonymousClaimResponseSchema: z.ZodObject<{
|
|
|
568
549
|
expiresAt: z.ZodNullable<z.ZodString>;
|
|
569
550
|
claimedAt: z.ZodNullable<z.ZodString>;
|
|
570
551
|
}, z.core.$strip>;
|
|
552
|
+
access: z.ZodObject<{
|
|
553
|
+
url: z.ZodString;
|
|
554
|
+
token: z.ZodString;
|
|
555
|
+
expiresAt: z.ZodNullable<z.ZodString>;
|
|
556
|
+
}, z.core.$strip>;
|
|
571
557
|
continuation: z.ZodObject<{
|
|
572
558
|
eligible: z.ZodBoolean;
|
|
573
559
|
granted: z.ZodBoolean;
|
|
@@ -577,7 +563,34 @@ export declare const anonymousClaimResponseSchema: z.ZodObject<{
|
|
|
577
563
|
slug: z.ZodString;
|
|
578
564
|
name: z.ZodString;
|
|
579
565
|
}, z.core.$strip>>>;
|
|
566
|
+
sharing: z.ZodObject<{
|
|
567
|
+
people: z.ZodArray<z.ZodObject<{
|
|
568
|
+
id: z.ZodString;
|
|
569
|
+
displayName: z.ZodString;
|
|
570
|
+
status: z.ZodEnum<{
|
|
571
|
+
pending: "pending";
|
|
572
|
+
accepted: "accepted";
|
|
573
|
+
}>;
|
|
574
|
+
grants: z.ZodArray<z.ZodObject<{
|
|
575
|
+
scope: z.ZodString;
|
|
576
|
+
role: z.ZodEnum<{
|
|
577
|
+
viewer: "viewer";
|
|
578
|
+
commenter: "commenter";
|
|
579
|
+
editor: "editor";
|
|
580
|
+
}>;
|
|
581
|
+
}, z.core.$strip>>;
|
|
582
|
+
}, z.core.$strip>>;
|
|
583
|
+
links: z.ZodArray<z.ZodObject<{
|
|
584
|
+
id: z.ZodString;
|
|
585
|
+
revision: z.ZodNumber;
|
|
586
|
+
name: z.ZodString;
|
|
587
|
+
landingPath: z.ZodString;
|
|
588
|
+
scopes: z.ZodArray<z.ZodString>;
|
|
589
|
+
expiresAt: z.ZodNullable<z.ZodString>;
|
|
590
|
+
}, z.core.$strip>>;
|
|
591
|
+
}, z.core.$strip>;
|
|
580
592
|
}, z.core.$strip>;
|
|
593
|
+
export type AnonymousClaimResponse = z.infer<typeof anonymousClaimResponseSchema>;
|
|
581
594
|
export declare const anonymousClaimStatusResponseSchema: z.ZodObject<{
|
|
582
595
|
publish: z.ZodObject<{
|
|
583
596
|
status: z.ZodEnum<{
|
|
@@ -625,6 +638,11 @@ export declare const anonymousClaimStatusResponseSchema: z.ZodObject<{
|
|
|
625
638
|
unavailable: "unavailable";
|
|
626
639
|
}>>;
|
|
627
640
|
}, 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>;
|
|
628
646
|
}, z.core.$strip>;
|
|
629
647
|
export declare const anonymousClaimExchangeResponseSchema: z.ZodObject<{
|
|
630
648
|
space: z.ZodObject<{
|
|
@@ -639,6 +657,16 @@ export declare const anonymousClaimExchangeResponseSchema: z.ZodObject<{
|
|
|
639
657
|
teamId: z.ZodString;
|
|
640
658
|
}, z.core.$strip>;
|
|
641
659
|
}, z.core.$strip>;
|
|
660
|
+
export declare const anonymousClaimRotateSchema: z.ZodObject<{
|
|
661
|
+
spaceId: z.ZodString;
|
|
662
|
+
}, z.core.$strip>;
|
|
663
|
+
export declare const anonymousClaimRotateResponseSchema: z.ZodObject<{
|
|
664
|
+
spaceId: z.ZodString;
|
|
665
|
+
claimToken: z.ZodString;
|
|
666
|
+
claimNonce: z.ZodString;
|
|
667
|
+
claimUrl: z.ZodString;
|
|
668
|
+
expiresAt: z.ZodString;
|
|
669
|
+
}, z.core.$strip>;
|
|
642
670
|
export declare const spaceClaimReminderSchema: z.ZodObject<{
|
|
643
671
|
email: z.ZodString;
|
|
644
672
|
}, z.core.$strip>;
|
|
@@ -650,10 +678,10 @@ export declare const spaceVersionCreateSchema: z.ZodObject<{
|
|
|
650
678
|
immutableAssetPrefixes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
651
679
|
source: z.ZodOptional<z.ZodObject<{
|
|
652
680
|
kind: z.ZodEnum<{
|
|
653
|
-
api: "api";
|
|
654
|
-
dashboard: "dashboard";
|
|
655
681
|
build: "build";
|
|
656
682
|
agent: "agent";
|
|
683
|
+
api: "api";
|
|
684
|
+
dashboard: "dashboard";
|
|
657
685
|
direct_upload: "direct_upload";
|
|
658
686
|
cli: "cli";
|
|
659
687
|
git: "git";
|
|
@@ -693,13 +721,13 @@ export declare const spaceVersionCreateSchema: z.ZodObject<{
|
|
|
693
721
|
finalize: z.ZodOptional<z.ZodObject<{
|
|
694
722
|
channel: z.ZodOptional<z.ZodNullable<z.ZodLiteral<"live">>>;
|
|
695
723
|
}, z.core.$strip>>;
|
|
696
|
-
files: z.
|
|
724
|
+
files: z.ZodArray<z.ZodObject<{
|
|
697
725
|
path: z.ZodString;
|
|
698
726
|
size: z.ZodNumber;
|
|
699
727
|
sha256: z.ZodOptional<z.ZodString>;
|
|
700
728
|
contentType: z.ZodOptional<z.ZodString>;
|
|
701
729
|
sourceUrl: z.ZodOptional<z.ZodString>;
|
|
702
|
-
}, z.core.$strip
|
|
730
|
+
}, z.core.$strip>>;
|
|
703
731
|
}, z.core.$strip>;
|
|
704
732
|
export declare const spaceVersionListSchema: z.ZodObject<{
|
|
705
733
|
data: z.ZodArray<z.ZodObject<{
|
|
@@ -709,10 +737,10 @@ export declare const spaceVersionListSchema: z.ZodObject<{
|
|
|
709
737
|
spaceId: z.ZodString;
|
|
710
738
|
source: z.ZodNullable<z.ZodObject<{
|
|
711
739
|
kind: z.ZodEnum<{
|
|
712
|
-
api: "api";
|
|
713
|
-
dashboard: "dashboard";
|
|
714
740
|
build: "build";
|
|
715
741
|
agent: "agent";
|
|
742
|
+
api: "api";
|
|
743
|
+
dashboard: "dashboard";
|
|
716
744
|
direct_upload: "direct_upload";
|
|
717
745
|
cli: "cli";
|
|
718
746
|
git: "git";
|
|
@@ -851,6 +879,11 @@ export declare const spaceVersionListSchema: z.ZodObject<{
|
|
|
851
879
|
bodyEnd: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
852
880
|
noscript: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
853
881
|
}, z.core.$strip>>;
|
|
882
|
+
dataSources: z.ZodOptional<z.ZodPipe<z.ZodUnknown, z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
883
|
+
kind: z.ZodLiteral<"wordpress">;
|
|
884
|
+
url: z.ZodString;
|
|
885
|
+
}, z.core.$strict>>>>;
|
|
886
|
+
defaultDataSource: z.ZodOptional<z.ZodString>;
|
|
854
887
|
}, z.core.$strip>>;
|
|
855
888
|
operation: z.ZodNullable<z.ZodObject<{
|
|
856
889
|
id: z.ZodString;
|
|
@@ -896,7 +929,7 @@ export declare const spaceVersionListSchema: z.ZodObject<{
|
|
|
896
929
|
headersRuleCount: z.ZodNumber;
|
|
897
930
|
redirectsRuleCount: z.ZodNumber;
|
|
898
931
|
proxyRouteCount: z.ZodNumber;
|
|
899
|
-
|
|
932
|
+
runtimeCodeDetected: z.ZodBoolean;
|
|
900
933
|
buildLog: z.ZodNullable<z.ZodString>;
|
|
901
934
|
diagnostics: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
902
935
|
code: z.ZodString;
|
|
@@ -922,7 +955,6 @@ export declare const spaceVersionListSchema: z.ZodObject<{
|
|
|
922
955
|
}, z.core.$strip>>>;
|
|
923
956
|
createdAt: z.ZodString;
|
|
924
957
|
readyAt: z.ZodNullable<z.ZodString>;
|
|
925
|
-
accessibleUntil: z.ZodNullable<z.ZodString>;
|
|
926
958
|
retainedUntil: z.ZodNullable<z.ZodString>;
|
|
927
959
|
updatedAt: z.ZodString;
|
|
928
960
|
}, z.core.$strip>>;
|
|
@@ -964,7 +996,6 @@ export declare const spaceListSchema: z.ZodObject<{
|
|
|
964
996
|
abuse_takedown: "abuse_takedown";
|
|
965
997
|
tenant_suspended: "tenant_suspended";
|
|
966
998
|
site_suspended: "site_suspended";
|
|
967
|
-
visit_cap_exceeded: "visit_cap_exceeded";
|
|
968
999
|
}>;
|
|
969
1000
|
}, z.core.$strip>>;
|
|
970
1001
|
claimState: z.ZodNullable<z.ZodObject<{
|
|
@@ -1003,6 +1034,7 @@ export declare const spaceListSchema: z.ZodObject<{
|
|
|
1003
1034
|
always_hot: "always_hot";
|
|
1004
1035
|
}>;
|
|
1005
1036
|
moving: z.ZodBoolean;
|
|
1037
|
+
hasRuntime: z.ZodBoolean;
|
|
1006
1038
|
channels: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1007
1039
|
versionId: z.ZodString;
|
|
1008
1040
|
updatedAt: z.ZodString;
|
|
@@ -1085,73 +1117,14 @@ export declare const spaceListSchema: z.ZodObject<{
|
|
|
1085
1117
|
bodyEnd: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1086
1118
|
noscript: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1087
1119
|
}, z.core.$strip>>;
|
|
1120
|
+
dataSources: z.ZodOptional<z.ZodPipe<z.ZodUnknown, z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1121
|
+
kind: z.ZodLiteral<"wordpress">;
|
|
1122
|
+
url: z.ZodString;
|
|
1123
|
+
}, z.core.$strict>>>>;
|
|
1124
|
+
defaultDataSource: z.ZodOptional<z.ZodString>;
|
|
1088
1125
|
}, z.core.$strip>>;
|
|
1089
1126
|
settingsDigest: z.ZodString;
|
|
1090
1127
|
noindex: z.ZodBoolean;
|
|
1091
|
-
policy: z.ZodNullable<z.ZodObject<{
|
|
1092
|
-
rules: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1093
|
-
id: z.ZodOptional<z.ZodString>;
|
|
1094
|
-
match: z.ZodDefault<z.ZodObject<{
|
|
1095
|
-
host: z.ZodOptional<z.ZodString>;
|
|
1096
|
-
hostPattern: z.ZodOptional<z.ZodString>;
|
|
1097
|
-
hostTemplate: z.ZodOptional<z.ZodString>;
|
|
1098
|
-
pathPattern: z.ZodOptional<z.ZodString>;
|
|
1099
|
-
channel: z.ZodOptional<z.ZodString>;
|
|
1100
|
-
ipCidrs: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1101
|
-
agent: z.ZodOptional<z.ZodString>;
|
|
1102
|
-
country: z.ZodOptional<z.ZodString>;
|
|
1103
|
-
countryNotIn: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1104
|
-
header: z.ZodOptional<z.ZodObject<{
|
|
1105
|
-
name: z.ZodString;
|
|
1106
|
-
value: z.ZodString;
|
|
1107
|
-
}, z.core.$strip>>;
|
|
1108
|
-
}, z.core.$strip>>;
|
|
1109
|
-
effect: z.ZodEnum<{
|
|
1110
|
-
allow: "allow";
|
|
1111
|
-
deny: "deny";
|
|
1112
|
-
challenge: "challenge";
|
|
1113
|
-
}>;
|
|
1114
|
-
auth: z.ZodOptional<z.ZodObject<{
|
|
1115
|
-
requiredGrants: z.ZodArray<z.ZodString>;
|
|
1116
|
-
issuers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1117
|
-
kid: z.ZodString;
|
|
1118
|
-
alg: z.ZodLiteral<"EdDSA">;
|
|
1119
|
-
publicKey: z.ZodString;
|
|
1120
|
-
grantNamespaces: z.ZodArray<z.ZodString>;
|
|
1121
|
-
}, z.core.$strip>>>;
|
|
1122
|
-
acquire: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1123
|
-
type: z.ZodLiteral<"password">;
|
|
1124
|
-
ref: z.ZodString;
|
|
1125
|
-
transport: z.ZodEnum<{
|
|
1126
|
-
basic: "basic";
|
|
1127
|
-
form: "form";
|
|
1128
|
-
}>;
|
|
1129
|
-
username: z.ZodOptional<z.ZodString>;
|
|
1130
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
1131
|
-
type: z.ZodLiteral<"login">;
|
|
1132
|
-
url: z.ZodString;
|
|
1133
|
-
label: z.ZodOptional<z.ZodString>;
|
|
1134
|
-
}, z.core.$strip>], "type">>>;
|
|
1135
|
-
}, z.core.$strip>>;
|
|
1136
|
-
managedBy: z.ZodOptional<z.ZodEnum<{
|
|
1137
|
-
sharing: "sharing";
|
|
1138
|
-
firewall: "firewall";
|
|
1139
|
-
file_share: "file_share";
|
|
1140
|
-
cast_reviewer: "cast_reviewer";
|
|
1141
|
-
team_default: "team_default";
|
|
1142
|
-
}>>;
|
|
1143
|
-
expiresAt: z.ZodOptional<z.ZodNumber>;
|
|
1144
|
-
reasonCode: z.ZodOptional<z.ZodString>;
|
|
1145
|
-
message: z.ZodOptional<z.ZodString>;
|
|
1146
|
-
}, z.core.$strip>>>;
|
|
1147
|
-
issuers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1148
|
-
kid: z.ZodString;
|
|
1149
|
-
alg: z.ZodLiteral<"EdDSA">;
|
|
1150
|
-
publicKey: z.ZodString;
|
|
1151
|
-
grantNamespaces: z.ZodArray<z.ZodString>;
|
|
1152
|
-
}, z.core.$strip>>>;
|
|
1153
|
-
sessionVersion: z.ZodOptional<z.ZodNumber>;
|
|
1154
|
-
}, z.core.$strip>>;
|
|
1155
1128
|
operation: z.ZodNullable<z.ZodObject<{
|
|
1156
1129
|
id: z.ZodString;
|
|
1157
1130
|
kind: z.ZodString;
|
|
@@ -1672,6 +1645,9 @@ export declare const spaceFilesResponseSchema: z.ZodObject<{
|
|
|
1672
1645
|
matched: z.ZodNumber;
|
|
1673
1646
|
}, z.core.$strip>;
|
|
1674
1647
|
}, z.core.$strip>;
|
|
1648
|
+
export declare const spaceVersionFilePathQuerySchema: z.ZodObject<{
|
|
1649
|
+
path: z.ZodString;
|
|
1650
|
+
}, z.core.$strip>;
|
|
1675
1651
|
export declare const spaceVersionFileQuerySchema: z.ZodObject<{
|
|
1676
1652
|
path: z.ZodString;
|
|
1677
1653
|
download: z.ZodOptional<z.ZodString>;
|
|
@@ -1690,13 +1666,6 @@ export declare const spaceVersionFileResponseSchema: z.ZodObject<{
|
|
|
1690
1666
|
truncated: z.ZodBoolean;
|
|
1691
1667
|
cached: z.ZodBoolean;
|
|
1692
1668
|
}, z.core.$strip>;
|
|
1693
|
-
export declare const spaceVersionFileDirectUrlResponseSchema: z.ZodObject<{
|
|
1694
|
-
versionId: z.ZodString;
|
|
1695
|
-
path: z.ZodString;
|
|
1696
|
-
url: z.ZodString;
|
|
1697
|
-
managementHostname: z.ZodString;
|
|
1698
|
-
expiresInSeconds: z.ZodNumber;
|
|
1699
|
-
}, z.core.$strip>;
|
|
1700
1669
|
export declare const spaceVersionFileUrlPreviewSchema: z.ZodObject<{
|
|
1701
1670
|
versionId: z.ZodString;
|
|
1702
1671
|
path: z.ZodString;
|
|
@@ -1827,8 +1796,35 @@ export declare const spaceVersionConventionArtifactContentResponseSchema: z.ZodO
|
|
|
1827
1796
|
content: z.ZodString;
|
|
1828
1797
|
truncated: z.ZodBoolean;
|
|
1829
1798
|
}, z.core.$strip>;
|
|
1799
|
+
/**
|
|
1800
|
+
* Where a routing diagnostic came from — a committed path in the version the
|
|
1801
|
+
* publisher can open. Wider than the convention artifacts: the Spacefast config
|
|
1802
|
+
* file states routing rules too, and they compile through the same compiler and
|
|
1803
|
+
* report the same codes. Every accepted config filename is listed because
|
|
1804
|
+
* finalize reads whichever one the version ships, and naming the canonical
|
|
1805
|
+
* `sf.jsonc` at a version that committed `spacefast.jsonc` sends the publisher
|
|
1806
|
+
* to a file that is not there.
|
|
1807
|
+
*/
|
|
1808
|
+
export declare const spaceVersionRoutingDiagnosticFileSchema: z.ZodEnum<{
|
|
1809
|
+
"sf.jsonc": "sf.jsonc";
|
|
1810
|
+
"spacefast.jsonc": "spacefast.jsonc";
|
|
1811
|
+
"spacefast.json": "spacefast.json";
|
|
1812
|
+
"sf.json": "sf.json";
|
|
1813
|
+
".sf/sf.json": ".sf/sf.json";
|
|
1814
|
+
".sf/config.jsonc": ".sf/config.jsonc";
|
|
1815
|
+
".sf/config.json": ".sf/config.json";
|
|
1816
|
+
_redirects: "_redirects";
|
|
1817
|
+
_headers: "_headers";
|
|
1818
|
+
}>;
|
|
1830
1819
|
export declare const spaceVersionRoutingDiagnosticSchema: z.ZodObject<{
|
|
1831
1820
|
file: z.ZodEnum<{
|
|
1821
|
+
"sf.jsonc": "sf.jsonc";
|
|
1822
|
+
"spacefast.jsonc": "spacefast.jsonc";
|
|
1823
|
+
"spacefast.json": "spacefast.json";
|
|
1824
|
+
"sf.json": "sf.json";
|
|
1825
|
+
".sf/sf.json": ".sf/sf.json";
|
|
1826
|
+
".sf/config.jsonc": ".sf/config.jsonc";
|
|
1827
|
+
".sf/config.json": ".sf/config.json";
|
|
1832
1828
|
_redirects: "_redirects";
|
|
1833
1829
|
_headers: "_headers";
|
|
1834
1830
|
}>;
|
|
@@ -1874,11 +1870,17 @@ export declare const spaceVersionComputedRoutingSummarySchema: z.ZodObject<{
|
|
|
1874
1870
|
headerRuleCount: z.ZodNumber;
|
|
1875
1871
|
staticRedirectCount: z.ZodNumber;
|
|
1876
1872
|
dynamicRedirectCount: z.ZodNumber;
|
|
1877
|
-
basicAuthRuleCount: z.ZodNumber;
|
|
1878
1873
|
proxyRuleCount: z.ZodNumber;
|
|
1879
1874
|
}, z.core.$strip>;
|
|
1880
1875
|
diagnostics: z.ZodArray<z.ZodObject<{
|
|
1881
1876
|
file: z.ZodEnum<{
|
|
1877
|
+
"sf.jsonc": "sf.jsonc";
|
|
1878
|
+
"spacefast.jsonc": "spacefast.jsonc";
|
|
1879
|
+
"spacefast.json": "spacefast.json";
|
|
1880
|
+
"sf.json": "sf.json";
|
|
1881
|
+
".sf/sf.json": ".sf/sf.json";
|
|
1882
|
+
".sf/config.jsonc": ".sf/config.jsonc";
|
|
1883
|
+
".sf/config.json": ".sf/config.json";
|
|
1882
1884
|
_redirects: "_redirects";
|
|
1883
1885
|
_headers: "_headers";
|
|
1884
1886
|
}>;
|
|
@@ -1895,10 +1897,10 @@ export declare const spaceVersionComputedRoutingSummarySchema: z.ZodObject<{
|
|
|
1895
1897
|
export declare const spaceVersionFileDiffStatusSchema: z.ZodEnum<{
|
|
1896
1898
|
binary: "binary";
|
|
1897
1899
|
deleted: "deleted";
|
|
1898
|
-
unchanged: "unchanged";
|
|
1899
1900
|
added: "added";
|
|
1900
1901
|
modified: "modified";
|
|
1901
1902
|
renamed: "renamed";
|
|
1903
|
+
unchanged: "unchanged";
|
|
1902
1904
|
too_large: "too_large";
|
|
1903
1905
|
}>;
|
|
1904
1906
|
export declare const spaceVersionFileDiffEntrySchema: z.ZodObject<{
|
|
@@ -1907,10 +1909,10 @@ export declare const spaceVersionFileDiffEntrySchema: z.ZodObject<{
|
|
|
1907
1909
|
status: z.ZodEnum<{
|
|
1908
1910
|
binary: "binary";
|
|
1909
1911
|
deleted: "deleted";
|
|
1910
|
-
unchanged: "unchanged";
|
|
1911
1912
|
added: "added";
|
|
1912
1913
|
modified: "modified";
|
|
1913
1914
|
renamed: "renamed";
|
|
1915
|
+
unchanged: "unchanged";
|
|
1914
1916
|
too_large: "too_large";
|
|
1915
1917
|
}>;
|
|
1916
1918
|
before: z.ZodNullable<z.ZodObject<{
|
|
@@ -1986,10 +1988,10 @@ export declare const spaceVersionFileDiffResponseSchema: z.ZodObject<{
|
|
|
1986
1988
|
status: z.ZodEnum<{
|
|
1987
1989
|
binary: "binary";
|
|
1988
1990
|
deleted: "deleted";
|
|
1989
|
-
unchanged: "unchanged";
|
|
1990
1991
|
added: "added";
|
|
1991
1992
|
modified: "modified";
|
|
1992
1993
|
renamed: "renamed";
|
|
1994
|
+
unchanged: "unchanged";
|
|
1993
1995
|
too_large: "too_large";
|
|
1994
1996
|
}>;
|
|
1995
1997
|
before: z.ZodNullable<z.ZodObject<{
|
|
@@ -2136,10 +2138,10 @@ export declare const spaceVersionIntentResponseSchema: z.ZodObject<{
|
|
|
2136
2138
|
export declare const publishRequestSchema: z.ZodObject<{
|
|
2137
2139
|
source: z.ZodOptional<z.ZodObject<{
|
|
2138
2140
|
kind: z.ZodEnum<{
|
|
2139
|
-
api: "api";
|
|
2140
|
-
dashboard: "dashboard";
|
|
2141
2141
|
build: "build";
|
|
2142
2142
|
agent: "agent";
|
|
2143
|
+
api: "api";
|
|
2144
|
+
dashboard: "dashboard";
|
|
2143
2145
|
direct_upload: "direct_upload";
|
|
2144
2146
|
cli: "cli";
|
|
2145
2147
|
git: "git";
|
|
@@ -2258,6 +2260,11 @@ export declare const publishRequestSchema: z.ZodObject<{
|
|
|
2258
2260
|
bodyEnd: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2259
2261
|
noscript: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2260
2262
|
}, z.core.$strip>>;
|
|
2263
|
+
dataSources: z.ZodOptional<z.ZodPipe<z.ZodUnknown, z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
2264
|
+
kind: z.ZodLiteral<"wordpress">;
|
|
2265
|
+
url: z.ZodString;
|
|
2266
|
+
}, z.core.$strict>>>>;
|
|
2267
|
+
defaultDataSource: z.ZodOptional<z.ZodString>;
|
|
2261
2268
|
}, z.core.$strip>>;
|
|
2262
2269
|
deletePaths: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
2263
2270
|
immutableAssetPrefixes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -2271,13 +2278,13 @@ export declare const publishRequestSchema: z.ZodObject<{
|
|
|
2271
2278
|
}>;
|
|
2272
2279
|
id: z.ZodString;
|
|
2273
2280
|
}, z.core.$strip>>;
|
|
2274
|
-
files: z.
|
|
2281
|
+
files: z.ZodArray<z.ZodObject<{
|
|
2275
2282
|
path: z.ZodString;
|
|
2276
2283
|
size: z.ZodNumber;
|
|
2277
2284
|
sha256: z.ZodOptional<z.ZodString>;
|
|
2278
2285
|
contentType: z.ZodOptional<z.ZodString>;
|
|
2279
2286
|
sourceUrl: z.ZodOptional<z.ZodString>;
|
|
2280
|
-
}, z.core.$strip
|
|
2287
|
+
}, z.core.$strip>>;
|
|
2281
2288
|
}, z.core.$strip>;
|
|
2282
2289
|
export declare const publishUploadReceiptSchema: z.ZodObject<{
|
|
2283
2290
|
id: z.ZodString;
|
|
@@ -2401,6 +2408,11 @@ export declare const publishReceiptSchema: z.ZodObject<{
|
|
|
2401
2408
|
defaultHostname: z.ZodString;
|
|
2402
2409
|
liveUrl: z.ZodNullable<z.ZodString>;
|
|
2403
2410
|
}, z.core.$strip>;
|
|
2411
|
+
access: z.ZodOptional<z.ZodObject<{
|
|
2412
|
+
url: z.ZodString;
|
|
2413
|
+
token: z.ZodString;
|
|
2414
|
+
expiresAt: z.ZodNullable<z.ZodString>;
|
|
2415
|
+
}, z.core.$strip>>;
|
|
2404
2416
|
version: z.ZodObject<{
|
|
2405
2417
|
id: z.ZodString;
|
|
2406
2418
|
status: z.ZodEnum<{
|
|
@@ -2484,7 +2496,6 @@ export declare const publishReceiptSchema: z.ZodObject<{
|
|
|
2484
2496
|
createdAt: z.ZodString;
|
|
2485
2497
|
finishedAt: z.ZodOptional<z.ZodString>;
|
|
2486
2498
|
}, z.core.$strip>>;
|
|
2487
|
-
shareBlurb: z.ZodString;
|
|
2488
2499
|
upload: z.ZodOptional<z.ZodObject<{
|
|
2489
2500
|
id: z.ZodString;
|
|
2490
2501
|
mode: z.ZodEnum<{
|
|
@@ -2549,7 +2560,7 @@ export declare const publishReceiptSchema: z.ZodObject<{
|
|
|
2549
2560
|
}, z.core.$strip>>;
|
|
2550
2561
|
}, z.core.$strip>>;
|
|
2551
2562
|
claim: z.ZodOptional<z.ZodObject<{
|
|
2552
|
-
token: z.
|
|
2563
|
+
token: z.ZodString;
|
|
2553
2564
|
url: z.ZodString;
|
|
2554
2565
|
expiresAt: z.ZodString;
|
|
2555
2566
|
}, z.core.$strip>>;
|
|
@@ -2688,10 +2699,8 @@ export declare const spaceRuntimeStatusSchema: z.ZodObject<{
|
|
|
2688
2699
|
}>>;
|
|
2689
2700
|
liveRuntimeKind: z.ZodNullable<z.ZodEnum<{
|
|
2690
2701
|
zero: "zero";
|
|
2702
|
+
functions: "functions";
|
|
2691
2703
|
static: "static";
|
|
2692
|
-
php: "php";
|
|
2693
|
-
node: "node";
|
|
2694
|
-
workers: "workers";
|
|
2695
2704
|
}>>;
|
|
2696
2705
|
pendingVersionStatus: z.ZodNullable<z.ZodEnum<{
|
|
2697
2706
|
failed: "failed";
|
|
@@ -2746,11 +2755,131 @@ export declare const spaceRuntimeStatusSchema: z.ZodObject<{
|
|
|
2746
2755
|
createdAt: z.ZodString;
|
|
2747
2756
|
finishedAt: z.ZodOptional<z.ZodString>;
|
|
2748
2757
|
}, z.core.$strip>>;
|
|
2758
|
+
app: z.ZodNullable<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2759
|
+
runtimeKind: z.ZodLiteral<"zero">;
|
|
2760
|
+
artifactId: z.ZodString;
|
|
2761
|
+
appName: z.ZodString;
|
|
2762
|
+
serverRuntime: z.ZodLiteral<"quickjs-rust">;
|
|
2763
|
+
inspect: z.ZodObject<{
|
|
2764
|
+
policy: z.ZodEnum<{
|
|
2765
|
+
public: "public";
|
|
2766
|
+
private: "private";
|
|
2767
|
+
}>;
|
|
2768
|
+
}, z.core.$strict>;
|
|
2769
|
+
install: z.ZodObject<{
|
|
2770
|
+
runtimeKind: z.ZodLiteral<"zero">;
|
|
2771
|
+
engine: z.ZodLiteral<"quickjs-rust">;
|
|
2772
|
+
storageRoot: z.ZodLiteral<"__spacefast/zero">;
|
|
2773
|
+
artifactPath: z.ZodLiteral<"__spacefast/zero/artifact.json">;
|
|
2774
|
+
configPath: z.ZodLiteral<"__spacefast/zero/config.json">;
|
|
2775
|
+
binary: z.ZodObject<{
|
|
2776
|
+
path: z.ZodLiteral<"__spacefast/zero/bin/stattic-runtime">;
|
|
2777
|
+
compatibilityTarget: z.ZodObject<{
|
|
2778
|
+
profile: z.ZodLiteral<"wpcloud-linux-x86_64-gnu-v1">;
|
|
2779
|
+
os: z.ZodLiteral<"linux">;
|
|
2780
|
+
cpu: z.ZodLiteral<"x86_64">;
|
|
2781
|
+
libc: z.ZodLiteral<"glibc">;
|
|
2782
|
+
linking: z.ZodLiteral<"dynamic">;
|
|
2783
|
+
requireExecutableBit: z.ZodLiteral<true>;
|
|
2784
|
+
}, z.core.$strict>;
|
|
2785
|
+
sha256: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
2786
|
+
required: z.ZodLiteral<true>;
|
|
2787
|
+
}, z.core.$strict>;
|
|
2788
|
+
mysql: z.ZodObject<{
|
|
2789
|
+
migrateAtFinalize: z.ZodLiteral<true>;
|
|
2790
|
+
blockIncompatibleRollback: z.ZodLiteral<true>;
|
|
2791
|
+
}, z.core.$strict>;
|
|
2792
|
+
realtime: z.ZodObject<{
|
|
2793
|
+
production: z.ZodLiteral<"central">;
|
|
2794
|
+
local: z.ZodLiteral<"foreground-cli-ws">;
|
|
2795
|
+
}, z.core.$strict>;
|
|
2796
|
+
}, z.core.$strict>;
|
|
2797
|
+
tables: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
2798
|
+
queries: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
2799
|
+
mutations: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
2800
|
+
actions: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
2801
|
+
endpoints: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
2802
|
+
method: z.ZodEnum<{
|
|
2803
|
+
POST: "POST";
|
|
2804
|
+
PUT: "PUT";
|
|
2805
|
+
GET: "GET";
|
|
2806
|
+
HEAD: "HEAD";
|
|
2807
|
+
PATCH: "PATCH";
|
|
2808
|
+
DELETE: "DELETE";
|
|
2809
|
+
OPTIONS: "OPTIONS";
|
|
2810
|
+
}>;
|
|
2811
|
+
path: z.ZodString;
|
|
2812
|
+
}, z.core.$strict>>>;
|
|
2813
|
+
sockets: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
2814
|
+
migrationCount: z.ZodNumber;
|
|
2815
|
+
schemaHash: z.ZodNullable<z.ZodString>;
|
|
2816
|
+
variables: z.ZodObject<{
|
|
2817
|
+
source: z.ZodLiteral<"stattic-variables">;
|
|
2818
|
+
names: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
2819
|
+
}, z.core.$strict>;
|
|
2820
|
+
realtime: z.ZodObject<{
|
|
2821
|
+
mode: z.ZodEnum<{
|
|
2822
|
+
local: "local";
|
|
2823
|
+
cast: "cast";
|
|
2824
|
+
central: "central";
|
|
2825
|
+
}>;
|
|
2826
|
+
centralUrl: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
2827
|
+
path: z.ZodOptional<z.ZodString>;
|
|
2828
|
+
replayPath: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2829
|
+
replayUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2830
|
+
runPath: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2831
|
+
runUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2832
|
+
resourceKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2833
|
+
ticketPath: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
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">>;
|
|
2749
2878
|
}, z.core.$strip>;
|
|
2750
2879
|
export declare const spaceApplyChangeBaseSchema: z.ZodObject<{
|
|
2751
2880
|
kind: z.ZodEnum<{
|
|
2752
2881
|
routing: "routing";
|
|
2753
|
-
|
|
2882
|
+
access: "access";
|
|
2754
2883
|
variable: "variable";
|
|
2755
2884
|
settings: "settings";
|
|
2756
2885
|
}>;
|
|
@@ -2764,7 +2893,7 @@ export declare const spaceApplyModeSchema: z.ZodEnum<{
|
|
|
2764
2893
|
export declare const spaceApplyChangeSchema: z.ZodObject<{
|
|
2765
2894
|
kind: z.ZodEnum<{
|
|
2766
2895
|
routing: "routing";
|
|
2767
|
-
|
|
2896
|
+
access: "access";
|
|
2768
2897
|
variable: "variable";
|
|
2769
2898
|
settings: "settings";
|
|
2770
2899
|
}>;
|
|
@@ -2793,7 +2922,7 @@ export declare const spaceApplyStateSchema: z.ZodObject<{
|
|
|
2793
2922
|
changes: z.ZodArray<z.ZodObject<{
|
|
2794
2923
|
kind: z.ZodEnum<{
|
|
2795
2924
|
routing: "routing";
|
|
2796
|
-
|
|
2925
|
+
access: "access";
|
|
2797
2926
|
variable: "variable";
|
|
2798
2927
|
settings: "settings";
|
|
2799
2928
|
}>;
|
|
@@ -2868,7 +2997,7 @@ export declare const spaceApplyResponseSchema: z.ZodObject<{
|
|
|
2868
2997
|
changes: z.ZodArray<z.ZodObject<{
|
|
2869
2998
|
kind: z.ZodEnum<{
|
|
2870
2999
|
routing: "routing";
|
|
2871
|
-
|
|
3000
|
+
access: "access";
|
|
2872
3001
|
variable: "variable";
|
|
2873
3002
|
settings: "settings";
|
|
2874
3003
|
}>;
|