@spacefast/common 0.0.13 → 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 +149 -44
- package/dist/contracts/access.js +94 -8
- package/dist/contracts/activity.js +5 -1
- package/dist/contracts/api-keys.js +9 -9
- package/dist/contracts/archives.js +11 -11
- 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 +86 -15
- package/dist/contracts/comments.js +116 -20
- 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/data-source-routes.js +1 -1
- package/dist/contracts/device-auth.d.ts +6 -6
- 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 +2 -10
- package/dist/contracts/enums.js +0 -2
- package/dist/contracts/error-code-meta.d.ts +116 -47
- package/dist/contracts/error-code-meta.js +37 -16
- package/dist/contracts/error-codes.d.ts +7 -4
- package/dist/contracts/error-codes.js +46 -21
- package/dist/contracts/events.d.ts +10 -3
- package/dist/contracts/events.js +33 -5
- package/dist/contracts/execution.d.ts +26 -0
- package/dist/contracts/execution.js +21 -0
- package/dist/contracts/feature-lifecycle.d.ts +21 -24
- package/dist/contracts/feature-lifecycle.js +28 -26
- package/dist/contracts/features.js +4 -4
- package/dist/contracts/functions.d.ts +8 -140
- package/dist/contracts/functions.js +9 -19
- package/dist/contracts/git.d.ts +1 -1
- package/dist/contracts/grants.d.ts +96 -79
- package/dist/contracts/grants.js +130 -43
- package/dist/contracts/ids.d.ts +2 -2
- package/dist/contracts/ids.js +2 -4
- 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 +18 -1
- package/dist/contracts/oauth-resources.js +22 -2
- package/dist/contracts/operations.d.ts +2 -50
- package/dist/contracts/operations.js +0 -19
- package/dist/contracts/pages.d.ts +8 -4
- package/dist/contracts/pages.js +16 -3
- package/dist/contracts/platform.js +10 -8
- package/dist/contracts/problem-document.d.ts +14 -0
- package/dist/contracts/problem-document.js +35 -0
- package/dist/contracts/push-new.d.ts +21 -6
- package/dist/contracts/push-new.js +3 -7
- package/dist/contracts/resources.d.ts +8 -7
- package/dist/contracts/resources.js +9 -6
- package/dist/contracts/runtime-api.d.ts +162 -92
- package/dist/contracts/runtime-api.js +99 -27
- package/dist/contracts/runtime-app.d.ts +41 -11
- package/dist/contracts/runtime-app.js +22 -1
- 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 +49 -1
- package/dist/contracts/sf-config-v1.js +2 -2
- package/dist/contracts/sites.d.ts +1 -0
- package/dist/contracts/sites.js +20 -12
- package/dist/contracts/space-config.d.ts +62 -22
- package/dist/contracts/space-config.js +173 -47
- package/dist/contracts/spaces.d.ts +79 -45
- package/dist/contracts/spaces.js +66 -50
- package/dist/contracts/superadmin-spaces.d.ts +13 -2
- package/dist/contracts/superadmin-spaces.js +15 -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 +17 -17
- package/dist/contracts/tags.js +1 -1
- package/dist/contracts/teams.js +25 -16
- package/dist/contracts/theme-json.js +1 -1
- package/dist/contracts/transfers.js +4 -4
- package/dist/contracts/variables.js +3 -3
- package/dist/contracts/zero.d.ts +204 -338
- package/dist/contracts/zero.js +94 -98
- package/dist/dashboard-paths/index.d.ts +16 -1
- package/dist/dashboard-paths/index.js +18 -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 +221 -51
- package/dist/docs/agent-setup.d.ts +13 -10
- package/dist/docs/agent-setup.js +279 -53
- package/dist/docs/agent-solutions.d.ts +6 -6
- package/dist/docs/agent-solutions.js +23 -21
- package/dist/docs/catalog.d.ts +29 -74
- package/dist/docs/catalog.js +65 -92
- package/dist/docs/error-docs.js +293 -221
- 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/browser-credential.d.ts +19 -0
- package/dist/utils/browser-credential.js +62 -0
- 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/domain-diagnostics.d.ts +5 -5
- package/dist/utils/domain-diagnostics.js +21 -10
- package/dist/utils/local-space-state.d.ts +78 -4
- package/dist/utils/local-space-state.js +383 -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 -11
- package/dist/utils/pages.js +58 -14
- package/dist/utils/publish-form-data.d.ts +22 -0
- package/dist/utils/publish-form-data.js +26 -0
- package/dist/utils/publish-policy.js +20 -4
- package/dist/utils/query-keys.d.ts +7 -4
- package/dist/utils/query-keys.js +13 -4
- 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 +13 -4
- package/dist/utils/space-config.js +123 -15
- 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 +12 -1
- package/dist/utils/upload-session.js +37 -2
- package/dist/utils/version-file-browser.d.ts +13 -0
- package/dist/utils/version-file-browser.js +59 -0
- package/package.json +19 -1
- package/dist/contracts/mounts.d.ts +0 -142
- package/dist/contracts/mounts.js +0 -56
- package/dist/utils/asset-fingerprint.d.ts +0 -64
- package/dist/utils/asset-fingerprint.js +0 -620
|
@@ -60,6 +60,7 @@ export declare const runtimeUploadSessionDescriptorSchema: z.ZodObject<{
|
|
|
60
60
|
}, z.core.$strip>;
|
|
61
61
|
export type RuntimeUploadSessionDescriptor = z.infer<typeof runtimeUploadSessionDescriptorSchema>;
|
|
62
62
|
export declare const RUNTIME_UPLOAD_SESSION_DESCRIPTOR_MAX_BYTES = 4096;
|
|
63
|
+
export declare const RUNTIME_UPLOAD_AUTHORIZATION_HEADER_MAX_BYTES: number;
|
|
63
64
|
export declare const RUNTIME_UPLOAD_SESSION_STORED_MAX_BYTES: number;
|
|
64
65
|
export declare const runtimeUploadSessionResponseSchema: z.ZodObject<{
|
|
65
66
|
space_id: z.ZodString;
|
|
@@ -104,6 +105,30 @@ export declare const runtimePublicExposureDescriptorSchema: z.ZodObject<{
|
|
|
104
105
|
unmodeled: z.ZodString;
|
|
105
106
|
}, z.core.$strip>;
|
|
106
107
|
export type RuntimePublicExposureDescriptor = z.infer<typeof runtimePublicExposureDescriptorSchema>;
|
|
108
|
+
export declare const runtimeAccessPageDescriptorSchema: z.ZodObject<{
|
|
109
|
+
displayName: z.ZodNullable<z.ZodString>;
|
|
110
|
+
accountUrl: z.ZodNullable<z.ZodString>;
|
|
111
|
+
connections: z.ZodArray<z.ZodObject<{
|
|
112
|
+
id: z.ZodString;
|
|
113
|
+
label: z.ZodString;
|
|
114
|
+
startUrl: z.ZodString;
|
|
115
|
+
}, z.core.$strip>>;
|
|
116
|
+
exchange: z.ZodNullable<z.ZodObject<{
|
|
117
|
+
passwordUrl: z.ZodString;
|
|
118
|
+
linkUrl: z.ZodString;
|
|
119
|
+
tokenUrl: z.ZodString;
|
|
120
|
+
emailUrl: z.ZodString;
|
|
121
|
+
requestUrl: z.ZodString;
|
|
122
|
+
logoutUrl: z.ZodString;
|
|
123
|
+
commentsConfigUrl: z.ZodOptional<z.ZodString>;
|
|
124
|
+
commentsTicketUrl: z.ZodOptional<z.ZodString>;
|
|
125
|
+
commentsVersionUrlsUrl: z.ZodOptional<z.ZodString>;
|
|
126
|
+
zeroRealtimeTicketUrl: z.ZodOptional<z.ZodString>;
|
|
127
|
+
credential: z.ZodString;
|
|
128
|
+
}, z.core.$strip>>;
|
|
129
|
+
}, z.core.$strict>;
|
|
130
|
+
export type RuntimeAccessPageDescriptor = z.infer<typeof runtimeAccessPageDescriptorSchema>;
|
|
131
|
+
export declare const RUNTIME_AUTHORIZATION_GRANT_LIMIT = 1024;
|
|
107
132
|
export declare const runtimeAuthorizationProjectionSchema: z.ZodObject<{
|
|
108
133
|
generation: z.ZodNumber;
|
|
109
134
|
sessionVersion: z.ZodNumber;
|
|
@@ -113,6 +138,28 @@ export declare const runtimeAuthorizationProjectionSchema: z.ZodObject<{
|
|
|
113
138
|
exposure: "exposure";
|
|
114
139
|
}>;
|
|
115
140
|
acquireUrl: z.ZodString;
|
|
141
|
+
accessPage: z.ZodObject<{
|
|
142
|
+
displayName: z.ZodNullable<z.ZodString>;
|
|
143
|
+
accountUrl: z.ZodNullable<z.ZodString>;
|
|
144
|
+
connections: z.ZodArray<z.ZodObject<{
|
|
145
|
+
id: z.ZodString;
|
|
146
|
+
label: z.ZodString;
|
|
147
|
+
startUrl: z.ZodString;
|
|
148
|
+
}, z.core.$strip>>;
|
|
149
|
+
exchange: z.ZodNullable<z.ZodObject<{
|
|
150
|
+
passwordUrl: z.ZodString;
|
|
151
|
+
linkUrl: z.ZodString;
|
|
152
|
+
tokenUrl: z.ZodString;
|
|
153
|
+
emailUrl: z.ZodString;
|
|
154
|
+
requestUrl: z.ZodString;
|
|
155
|
+
logoutUrl: z.ZodString;
|
|
156
|
+
commentsConfigUrl: z.ZodOptional<z.ZodString>;
|
|
157
|
+
commentsTicketUrl: z.ZodOptional<z.ZodString>;
|
|
158
|
+
commentsVersionUrlsUrl: z.ZodOptional<z.ZodString>;
|
|
159
|
+
zeroRealtimeTicketUrl: z.ZodOptional<z.ZodString>;
|
|
160
|
+
credential: z.ZodString;
|
|
161
|
+
}, z.core.$strip>>;
|
|
162
|
+
}, z.core.$strict>;
|
|
116
163
|
spaceClaimed: z.ZodBoolean;
|
|
117
164
|
grants: z.ZodArray<z.ZodObject<{
|
|
118
165
|
name: z.ZodOptional<z.ZodString>;
|
|
@@ -139,8 +186,8 @@ export declare const runtimeAuthorizationProjectionSchema: z.ZodObject<{
|
|
|
139
186
|
subject: z.ZodString;
|
|
140
187
|
}, z.core.$strict>], "kind">;
|
|
141
188
|
resources: z.ZodObject<{
|
|
142
|
-
include: z.ZodArray<z.
|
|
143
|
-
exclude: z.ZodDefault<z.ZodArray<z.
|
|
189
|
+
include: z.ZodArray<z.ZodString>;
|
|
190
|
+
exclude: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
144
191
|
}, z.core.$strict>;
|
|
145
192
|
capabilities: z.ZodArray<z.ZodEnum<{
|
|
146
193
|
"page.view": "page.view";
|
|
@@ -155,9 +202,9 @@ export declare const runtimeAuthorizationProjectionSchema: z.ZodObject<{
|
|
|
155
202
|
maxUses: z.ZodOptional<z.ZodNumber>;
|
|
156
203
|
requireVerifiedEmail: z.ZodOptional<z.ZodBoolean>;
|
|
157
204
|
network: z.ZodOptional<z.ZodObject<{
|
|
158
|
-
ipCidrs: z.ZodOptional<z.ZodArray<z.
|
|
159
|
-
countries: z.ZodOptional<z.ZodArray<z.
|
|
160
|
-
excludedCountries: z.ZodOptional<z.ZodArray<z.
|
|
205
|
+
ipCidrs: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
206
|
+
countries: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
207
|
+
excludedCountries: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
161
208
|
excludedUserAgentSubstrings: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
162
209
|
}, z.core.$strict>>;
|
|
163
210
|
}, z.core.$strict>>;
|
|
@@ -225,8 +272,8 @@ export declare const runtimeVersionFinalizeRequestSchema: z.ZodObject<{
|
|
|
225
272
|
}>>;
|
|
226
273
|
zero: z.ZodOptional<z.ZodObject<{
|
|
227
274
|
auth: z.ZodDefault<z.ZodObject<{
|
|
228
|
-
provider: z.ZodDefault<z.ZodLiteral<"
|
|
229
|
-
signInPath: z.ZodDefault<z.ZodNullable<z.ZodLiteral<"/__spacefast/zero/auth/
|
|
275
|
+
provider: z.ZodDefault<z.ZodLiteral<"gravatar">>;
|
|
276
|
+
signInPath: z.ZodDefault<z.ZodNullable<z.ZodLiteral<"/__spacefast/zero/auth/gravatar/start">>>;
|
|
230
277
|
signInUrl: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
231
278
|
signOutPath: z.ZodDefault<z.ZodNullable<z.ZodLiteral<"/__spacefast/zero/auth/sign-out">>>;
|
|
232
279
|
signOutUrl: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
@@ -234,9 +281,9 @@ export declare const runtimeVersionFinalizeRequestSchema: z.ZodObject<{
|
|
|
234
281
|
}, z.core.$strict>>;
|
|
235
282
|
realtime: z.ZodObject<{
|
|
236
283
|
mode: z.ZodEnum<{
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
284
|
+
local: "local";
|
|
285
|
+
cast: "cast";
|
|
286
|
+
central: "central";
|
|
240
287
|
}>;
|
|
241
288
|
centralUrl: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
242
289
|
replayUrl: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
@@ -273,9 +320,14 @@ export declare const runtimeVersionFinalizeRequestSchema: z.ZodObject<{
|
|
|
273
320
|
nullable: z.ZodDefault<z.ZodBoolean>;
|
|
274
321
|
default: z.ZodOptional<z.ZodUnknown>;
|
|
275
322
|
}, z.core.$strict>>>;
|
|
323
|
+
indexes: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
324
|
+
name: z.ZodString;
|
|
325
|
+
fields: z.ZodArray<z.ZodString>;
|
|
326
|
+
}, z.core.$strict>>>;
|
|
276
327
|
}, z.core.$strict>>>;
|
|
277
328
|
queries: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
278
329
|
mutations: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
330
|
+
actions: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
279
331
|
endpoints: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
280
332
|
method: z.ZodEnum<{
|
|
281
333
|
POST: "POST";
|
|
@@ -312,8 +364,14 @@ export declare const runtimeVersionFinalizeRequestSchema: z.ZodObject<{
|
|
|
312
364
|
}, z.core.$strict>, z.ZodObject<{
|
|
313
365
|
op: z.ZodLiteral<"add_index">;
|
|
314
366
|
table: z.ZodString;
|
|
367
|
+
name: z.ZodString;
|
|
315
368
|
columns: z.ZodArray<z.ZodString>;
|
|
316
369
|
unique: z.ZodDefault<z.ZodBoolean>;
|
|
370
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
371
|
+
op: z.ZodLiteral<"drop_index">;
|
|
372
|
+
table: z.ZodString;
|
|
373
|
+
name: z.ZodString;
|
|
374
|
+
explicit: z.ZodLiteral<"drop">;
|
|
317
375
|
}, z.core.$strict>, z.ZodObject<{
|
|
318
376
|
op: z.ZodLiteral<"drop_table">;
|
|
319
377
|
table: z.ZodString;
|
|
@@ -338,9 +396,9 @@ export declare const runtimeVersionFinalizeRequestSchema: z.ZodObject<{
|
|
|
338
396
|
}, z.core.$strict>;
|
|
339
397
|
realtime: z.ZodObject<{
|
|
340
398
|
mode: z.ZodEnum<{
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
399
|
+
local: "local";
|
|
400
|
+
cast: "cast";
|
|
401
|
+
central: "central";
|
|
344
402
|
}>;
|
|
345
403
|
mutationEvents: z.ZodDefault<z.ZodBoolean>;
|
|
346
404
|
}, z.core.$strict>;
|
|
@@ -352,8 +410,8 @@ export declare const runtimeVersionFinalizeRequestSchema: z.ZodObject<{
|
|
|
352
410
|
}>>>;
|
|
353
411
|
sourceManifest: z.ZodObject<{
|
|
354
412
|
entries: z.ZodObject<{
|
|
355
|
-
client: z.
|
|
356
|
-
server: z.
|
|
413
|
+
client: z.ZodString;
|
|
414
|
+
server: z.ZodString;
|
|
357
415
|
}, z.core.$strict>;
|
|
358
416
|
sourceRoot: z.ZodString;
|
|
359
417
|
files: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
@@ -362,31 +420,15 @@ export declare const runtimeVersionFinalizeRequestSchema: z.ZodObject<{
|
|
|
362
420
|
sha256: z.ZodString;
|
|
363
421
|
}, z.core.$strict>>>;
|
|
364
422
|
env: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
365
|
-
file: z.
|
|
423
|
+
file: z.ZodEnum<{
|
|
424
|
+
".env.server": ".env.server";
|
|
425
|
+
".env.lakebed.server": ".env.lakebed.server";
|
|
426
|
+
}>;
|
|
366
427
|
names: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
367
428
|
}, z.core.$strip>>>;
|
|
368
|
-
sourceConfig: z.ZodDefault<z.ZodObject<{
|
|
369
|
-
configFile: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
370
|
-
path: z.ZodLiteral<"zero.json">;
|
|
371
|
-
appName: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
372
|
-
deployId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
373
|
-
name: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
374
|
-
title: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
375
|
-
}, z.core.$strip>>>;
|
|
376
|
-
deployFile: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
377
|
-
path: z.ZodLiteral<".zero/deploy.json">;
|
|
378
|
-
keys: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
379
|
-
}, z.core.$strip>>>;
|
|
380
|
-
}, z.core.$strip>>;
|
|
381
429
|
}, z.core.$strict>;
|
|
382
430
|
}, z.core.$strict>;
|
|
383
431
|
runtimeKind: z.ZodLiteral<"zero">;
|
|
384
|
-
inspect: z.ZodDefault<z.ZodObject<{
|
|
385
|
-
policy: z.ZodDefault<z.ZodEnum<{
|
|
386
|
-
public: "public";
|
|
387
|
-
private: "private";
|
|
388
|
-
}>>;
|
|
389
|
-
}, z.core.$strict>>;
|
|
390
432
|
migrations: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
391
433
|
format: z.ZodLiteral<"stattic.zero.migrations.v1">;
|
|
392
434
|
mode: z.ZodDefault<z.ZodEnum<{
|
|
@@ -415,8 +457,14 @@ export declare const runtimeVersionFinalizeRequestSchema: z.ZodObject<{
|
|
|
415
457
|
}, z.core.$strict>, z.ZodObject<{
|
|
416
458
|
op: z.ZodLiteral<"add_index">;
|
|
417
459
|
table: z.ZodString;
|
|
460
|
+
name: z.ZodString;
|
|
418
461
|
columns: z.ZodArray<z.ZodString>;
|
|
419
462
|
unique: z.ZodDefault<z.ZodBoolean>;
|
|
463
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
464
|
+
op: z.ZodLiteral<"drop_index">;
|
|
465
|
+
table: z.ZodString;
|
|
466
|
+
name: z.ZodString;
|
|
467
|
+
explicit: z.ZodLiteral<"drop">;
|
|
420
468
|
}, z.core.$strict>, z.ZodObject<{
|
|
421
469
|
op: z.ZodLiteral<"drop_table">;
|
|
422
470
|
table: z.ZodString;
|
|
@@ -463,11 +511,21 @@ export declare const runtimeVersionFinalizeRequestSchema: z.ZodObject<{
|
|
|
463
511
|
blockIncompatibleRollback: z.ZodLiteral<true>;
|
|
464
512
|
}, z.core.$strict>;
|
|
465
513
|
realtime: z.ZodObject<{
|
|
466
|
-
production: z.ZodLiteral<"
|
|
514
|
+
production: z.ZodLiteral<"central">;
|
|
467
515
|
local: z.ZodLiteral<"foreground-cli-ws">;
|
|
468
516
|
}, z.core.$strict>;
|
|
469
517
|
}, z.core.$strict>;
|
|
518
|
+
inspect: z.ZodDefault<z.ZodObject<{
|
|
519
|
+
policy: z.ZodDefault<z.ZodEnum<{
|
|
520
|
+
public: "public";
|
|
521
|
+
private: "private";
|
|
522
|
+
}>>;
|
|
523
|
+
}, z.core.$strict>>;
|
|
470
524
|
variableValues: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
525
|
+
databaseUrlSource: z.ZodDefault<z.ZodEnum<{
|
|
526
|
+
provider: "provider";
|
|
527
|
+
application: "application";
|
|
528
|
+
}>>;
|
|
471
529
|
}, z.core.$strict>>;
|
|
472
530
|
functions: z.ZodOptional<z.ZodObject<{
|
|
473
531
|
runtimeKind: z.ZodLiteral<"functions">;
|
|
@@ -504,39 +562,11 @@ export declare const runtimeVersionFinalizeRequestSchema: z.ZodObject<{
|
|
|
504
562
|
realtime: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
505
563
|
logging: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
506
564
|
}, z.core.$strip>>;
|
|
507
|
-
endpoints: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
508
|
-
method: z.ZodEnum<{
|
|
509
|
-
POST: "POST";
|
|
510
|
-
PUT: "PUT";
|
|
511
|
-
GET: "GET";
|
|
512
|
-
HEAD: "HEAD";
|
|
513
|
-
PATCH: "PATCH";
|
|
514
|
-
DELETE: "DELETE";
|
|
515
|
-
OPTIONS: "OPTIONS";
|
|
516
|
-
}>;
|
|
517
|
-
path: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
|
|
518
|
-
endpointId: z.ZodString;
|
|
519
|
-
source: z.ZodString;
|
|
520
|
-
capabilities: z.ZodDefault<z.ZodObject<{
|
|
521
|
-
db: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
522
|
-
fetch: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
523
|
-
auth: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
524
|
-
env: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
525
|
-
realtime: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
526
|
-
logging: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
527
|
-
}, z.core.$strip>>;
|
|
528
|
-
}, z.core.$strict>>>;
|
|
529
565
|
}, z.core.$strict>;
|
|
530
566
|
variables: z.ZodDefault<z.ZodObject<{
|
|
531
567
|
source: z.ZodLiteral<"spacefast-variables">;
|
|
532
568
|
names: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
533
569
|
}, z.core.$strict>>;
|
|
534
|
-
inspect: z.ZodDefault<z.ZodObject<{
|
|
535
|
-
policy: z.ZodDefault<z.ZodEnum<{
|
|
536
|
-
public: "public";
|
|
537
|
-
private: "private";
|
|
538
|
-
}>>;
|
|
539
|
-
}, z.core.$strict>>;
|
|
540
570
|
host: z.ZodObject<{
|
|
541
571
|
hostname: z.ZodString;
|
|
542
572
|
bundleUrl: z.ZodString;
|
|
@@ -585,6 +615,7 @@ export declare const runtimeVersionFinalizeRequestSchema: z.ZodObject<{
|
|
|
585
615
|
routes: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
586
616
|
pages: z.ZodOptional<z.ZodRecord<z.ZodEnum<{
|
|
587
617
|
denied: "denied";
|
|
618
|
+
access: "access";
|
|
588
619
|
404: "404";
|
|
589
620
|
}>, z.ZodString>>;
|
|
590
621
|
index: z.ZodOptional<z.ZodString>;
|
|
@@ -597,6 +628,7 @@ export declare const runtimeVersionFinalizeRequestSchema: z.ZodObject<{
|
|
|
597
628
|
cast_api_base: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
598
629
|
cast_ws_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
599
630
|
cast_resource_key: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
631
|
+
published_comments: z.ZodOptional<z.ZodBoolean>;
|
|
600
632
|
}, z.core.$strip>>;
|
|
601
633
|
inject: z.ZodOptional<z.ZodObject<{
|
|
602
634
|
head: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -656,6 +688,28 @@ export declare const runtimeVersionFinalizeRequestSchema: z.ZodObject<{
|
|
|
656
688
|
exposure: "exposure";
|
|
657
689
|
}>;
|
|
658
690
|
acquireUrl: z.ZodString;
|
|
691
|
+
accessPage: z.ZodObject<{
|
|
692
|
+
displayName: z.ZodNullable<z.ZodString>;
|
|
693
|
+
accountUrl: z.ZodNullable<z.ZodString>;
|
|
694
|
+
connections: z.ZodArray<z.ZodObject<{
|
|
695
|
+
id: z.ZodString;
|
|
696
|
+
label: z.ZodString;
|
|
697
|
+
startUrl: z.ZodString;
|
|
698
|
+
}, z.core.$strip>>;
|
|
699
|
+
exchange: z.ZodNullable<z.ZodObject<{
|
|
700
|
+
passwordUrl: z.ZodString;
|
|
701
|
+
linkUrl: z.ZodString;
|
|
702
|
+
tokenUrl: z.ZodString;
|
|
703
|
+
emailUrl: z.ZodString;
|
|
704
|
+
requestUrl: z.ZodString;
|
|
705
|
+
logoutUrl: z.ZodString;
|
|
706
|
+
commentsConfigUrl: z.ZodOptional<z.ZodString>;
|
|
707
|
+
commentsTicketUrl: z.ZodOptional<z.ZodString>;
|
|
708
|
+
commentsVersionUrlsUrl: z.ZodOptional<z.ZodString>;
|
|
709
|
+
zeroRealtimeTicketUrl: z.ZodOptional<z.ZodString>;
|
|
710
|
+
credential: z.ZodString;
|
|
711
|
+
}, z.core.$strip>>;
|
|
712
|
+
}, z.core.$strict>;
|
|
659
713
|
spaceClaimed: z.ZodBoolean;
|
|
660
714
|
grants: z.ZodArray<z.ZodObject<{
|
|
661
715
|
name: z.ZodOptional<z.ZodString>;
|
|
@@ -682,8 +736,8 @@ export declare const runtimeVersionFinalizeRequestSchema: z.ZodObject<{
|
|
|
682
736
|
subject: z.ZodString;
|
|
683
737
|
}, z.core.$strict>], "kind">;
|
|
684
738
|
resources: z.ZodObject<{
|
|
685
|
-
include: z.ZodArray<z.
|
|
686
|
-
exclude: z.ZodDefault<z.ZodArray<z.
|
|
739
|
+
include: z.ZodArray<z.ZodString>;
|
|
740
|
+
exclude: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
687
741
|
}, z.core.$strict>;
|
|
688
742
|
capabilities: z.ZodArray<z.ZodEnum<{
|
|
689
743
|
"page.view": "page.view";
|
|
@@ -698,9 +752,9 @@ export declare const runtimeVersionFinalizeRequestSchema: z.ZodObject<{
|
|
|
698
752
|
maxUses: z.ZodOptional<z.ZodNumber>;
|
|
699
753
|
requireVerifiedEmail: z.ZodOptional<z.ZodBoolean>;
|
|
700
754
|
network: z.ZodOptional<z.ZodObject<{
|
|
701
|
-
ipCidrs: z.ZodOptional<z.ZodArray<z.
|
|
702
|
-
countries: z.ZodOptional<z.ZodArray<z.
|
|
703
|
-
excludedCountries: z.ZodOptional<z.ZodArray<z.
|
|
755
|
+
ipCidrs: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
756
|
+
countries: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
757
|
+
excludedCountries: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
704
758
|
excludedUserAgentSubstrings: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
705
759
|
}, z.core.$strict>>;
|
|
706
760
|
}, z.core.$strict>>;
|
|
@@ -778,12 +832,6 @@ export declare const runtimeVersionFinalizeRequestSchema: z.ZodObject<{
|
|
|
778
832
|
to: z.ZodString;
|
|
779
833
|
status: z.ZodDefault<z.ZodUnion<readonly [z.ZodLiteral<301>, z.ZodLiteral<302>, z.ZodLiteral<307>, z.ZodLiteral<308>]>>;
|
|
780
834
|
}, z.core.$strip>>>;
|
|
781
|
-
static_mount_routes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
782
|
-
hostname: z.ZodString;
|
|
783
|
-
path_prefix: z.ZodString;
|
|
784
|
-
target_space_id: z.ZodString;
|
|
785
|
-
target_version_id: z.ZodString;
|
|
786
|
-
}, z.core.$strip>>>;
|
|
787
835
|
}, z.core.$strip>>;
|
|
788
836
|
}, z.core.$strip>;
|
|
789
837
|
export declare const runtimeReadinessTargetSchema: z.ZodObject<{
|
|
@@ -808,6 +856,11 @@ export declare const runtimeVersionFinalizeResponseSchema: z.ZodObject<{
|
|
|
808
856
|
}, z.core.$strip>;
|
|
809
857
|
activation_event_id: z.ZodOptional<z.ZodString>;
|
|
810
858
|
}, z.core.$strip>;
|
|
859
|
+
export declare const runtimeZeroMigrationsApplyResponseSchema: z.ZodObject<{
|
|
860
|
+
space_id: z.ZodString;
|
|
861
|
+
version_id: z.ZodString;
|
|
862
|
+
applied: z.ZodLiteral<true>;
|
|
863
|
+
}, z.core.$strip>;
|
|
811
864
|
export declare const runtimeRouteUpdateRequestSchema: z.ZodObject<{
|
|
812
865
|
version_id: z.ZodString;
|
|
813
866
|
config: z.ZodOptional<z.ZodObject<{
|
|
@@ -820,6 +873,28 @@ export declare const runtimeRouteUpdateRequestSchema: z.ZodObject<{
|
|
|
820
873
|
exposure: "exposure";
|
|
821
874
|
}>;
|
|
822
875
|
acquireUrl: z.ZodString;
|
|
876
|
+
accessPage: z.ZodObject<{
|
|
877
|
+
displayName: z.ZodNullable<z.ZodString>;
|
|
878
|
+
accountUrl: z.ZodNullable<z.ZodString>;
|
|
879
|
+
connections: z.ZodArray<z.ZodObject<{
|
|
880
|
+
id: z.ZodString;
|
|
881
|
+
label: z.ZodString;
|
|
882
|
+
startUrl: z.ZodString;
|
|
883
|
+
}, z.core.$strip>>;
|
|
884
|
+
exchange: z.ZodNullable<z.ZodObject<{
|
|
885
|
+
passwordUrl: z.ZodString;
|
|
886
|
+
linkUrl: z.ZodString;
|
|
887
|
+
tokenUrl: z.ZodString;
|
|
888
|
+
emailUrl: z.ZodString;
|
|
889
|
+
requestUrl: z.ZodString;
|
|
890
|
+
logoutUrl: z.ZodString;
|
|
891
|
+
commentsConfigUrl: z.ZodOptional<z.ZodString>;
|
|
892
|
+
commentsTicketUrl: z.ZodOptional<z.ZodString>;
|
|
893
|
+
commentsVersionUrlsUrl: z.ZodOptional<z.ZodString>;
|
|
894
|
+
zeroRealtimeTicketUrl: z.ZodOptional<z.ZodString>;
|
|
895
|
+
credential: z.ZodString;
|
|
896
|
+
}, z.core.$strip>>;
|
|
897
|
+
}, z.core.$strict>;
|
|
823
898
|
spaceClaimed: z.ZodBoolean;
|
|
824
899
|
grants: z.ZodArray<z.ZodObject<{
|
|
825
900
|
name: z.ZodOptional<z.ZodString>;
|
|
@@ -846,8 +921,8 @@ export declare const runtimeRouteUpdateRequestSchema: z.ZodObject<{
|
|
|
846
921
|
subject: z.ZodString;
|
|
847
922
|
}, z.core.$strict>], "kind">;
|
|
848
923
|
resources: z.ZodObject<{
|
|
849
|
-
include: z.ZodArray<z.
|
|
850
|
-
exclude: z.ZodDefault<z.ZodArray<z.
|
|
924
|
+
include: z.ZodArray<z.ZodString>;
|
|
925
|
+
exclude: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
851
926
|
}, z.core.$strict>;
|
|
852
927
|
capabilities: z.ZodArray<z.ZodEnum<{
|
|
853
928
|
"page.view": "page.view";
|
|
@@ -862,9 +937,9 @@ export declare const runtimeRouteUpdateRequestSchema: z.ZodObject<{
|
|
|
862
937
|
maxUses: z.ZodOptional<z.ZodNumber>;
|
|
863
938
|
requireVerifiedEmail: z.ZodOptional<z.ZodBoolean>;
|
|
864
939
|
network: z.ZodOptional<z.ZodObject<{
|
|
865
|
-
ipCidrs: z.ZodOptional<z.ZodArray<z.
|
|
866
|
-
countries: z.ZodOptional<z.ZodArray<z.
|
|
867
|
-
excludedCountries: z.ZodOptional<z.ZodArray<z.
|
|
940
|
+
ipCidrs: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
941
|
+
countries: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
942
|
+
excludedCountries: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
868
943
|
excludedUserAgentSubstrings: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
869
944
|
}, z.core.$strict>>;
|
|
870
945
|
}, z.core.$strict>>;
|
|
@@ -942,12 +1017,6 @@ export declare const runtimeRouteUpdateRequestSchema: z.ZodObject<{
|
|
|
942
1017
|
to: z.ZodString;
|
|
943
1018
|
status: z.ZodDefault<z.ZodUnion<readonly [z.ZodLiteral<301>, z.ZodLiteral<302>, z.ZodLiteral<307>, z.ZodLiteral<308>]>>;
|
|
944
1019
|
}, z.core.$strip>>>;
|
|
945
|
-
static_mount_routes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
946
|
-
hostname: z.ZodString;
|
|
947
|
-
path_prefix: z.ZodString;
|
|
948
|
-
target_space_id: z.ZodString;
|
|
949
|
-
target_version_id: z.ZodString;
|
|
950
|
-
}, z.core.$strip>>>;
|
|
951
1020
|
}, z.core.$strip>;
|
|
952
1021
|
export declare const runtimeHostnameIntentUpdateRequestSchema: z.ZodObject<{
|
|
953
1022
|
production_hostnames: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
@@ -961,12 +1030,6 @@ export declare const runtimeHostnameIntentUpdateRequestSchema: z.ZodObject<{
|
|
|
961
1030
|
to: z.ZodString;
|
|
962
1031
|
status: z.ZodDefault<z.ZodUnion<readonly [z.ZodLiteral<301>, z.ZodLiteral<302>, z.ZodLiteral<307>, z.ZodLiteral<308>]>>;
|
|
963
1032
|
}, z.core.$strip>>>;
|
|
964
|
-
static_mount_routes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
965
|
-
hostname: z.ZodString;
|
|
966
|
-
path_prefix: z.ZodString;
|
|
967
|
-
target_space_id: z.ZodString;
|
|
968
|
-
target_version_id: z.ZodString;
|
|
969
|
-
}, z.core.$strip>>>;
|
|
970
1033
|
}, z.core.$strip>;
|
|
971
1034
|
export declare const runtimeRouteUpdateResponseSchema: z.ZodObject<{
|
|
972
1035
|
space_id: z.ZodString;
|
|
@@ -1115,6 +1178,8 @@ export declare const runtimeSpaceStateSchema: z.ZodObject<{
|
|
|
1115
1178
|
space_id: z.ZodString;
|
|
1116
1179
|
routes: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
1117
1180
|
tombstone_count: z.ZodNumber;
|
|
1181
|
+
intent_hostnames: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1182
|
+
hostnames: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1118
1183
|
}, z.core.$strip>;
|
|
1119
1184
|
export declare const runtimeHealthResponseSchema: z.ZodObject<{
|
|
1120
1185
|
ok: z.ZodLiteral<true>;
|
|
@@ -1134,12 +1199,15 @@ export declare const runtimeStateResponseSchema: z.ZodObject<{
|
|
|
1134
1199
|
space_id: z.ZodString;
|
|
1135
1200
|
routes: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
1136
1201
|
tombstone_count: z.ZodNumber;
|
|
1202
|
+
intent_hostnames: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1203
|
+
hostnames: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1137
1204
|
}, z.core.$strip>>>;
|
|
1138
1205
|
}, z.core.$strip>;
|
|
1139
1206
|
export declare const runtimeCallbackEventSchema: z.ZodObject<{
|
|
1140
1207
|
event: z.ZodString;
|
|
1141
1208
|
event_id: z.ZodOptional<z.ZodString>;
|
|
1142
1209
|
operation_id: z.ZodOptional<z.ZodString>;
|
|
1210
|
+
operation_action: z.ZodOptional<z.ZodString>;
|
|
1143
1211
|
space_id: z.ZodOptional<z.ZodString>;
|
|
1144
1212
|
version_id: z.ZodOptional<z.ZodString>;
|
|
1145
1213
|
route_name: z.ZodOptional<z.ZodString>;
|
|
@@ -1185,10 +1253,12 @@ export declare const runtimeEventsDrainResponseSchema: z.ZodObject<{
|
|
|
1185
1253
|
events: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1186
1254
|
delivery_id: z.ZodString;
|
|
1187
1255
|
operation_id: z.ZodOptional<z.ZodString>;
|
|
1256
|
+
callback_token: z.ZodString;
|
|
1188
1257
|
event: z.ZodObject<{
|
|
1189
1258
|
event: z.ZodString;
|
|
1190
1259
|
event_id: z.ZodOptional<z.ZodString>;
|
|
1191
1260
|
operation_id: z.ZodOptional<z.ZodString>;
|
|
1261
|
+
operation_action: z.ZodOptional<z.ZodString>;
|
|
1192
1262
|
space_id: z.ZodOptional<z.ZodString>;
|
|
1193
1263
|
version_id: z.ZodOptional<z.ZodString>;
|
|
1194
1264
|
route_name: z.ZodOptional<z.ZodString>;
|