@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,5 +1,61 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
|
+
import { manifestFileSchema } from "./internal.js";
|
|
2
3
|
export declare const RUNTIME_CHANGED_PATHS_MAX = 900;
|
|
4
|
+
export declare const runtimePurgeReceiptSchema: z.ZodObject<{
|
|
5
|
+
status: z.ZodEnum<{
|
|
6
|
+
failed: "failed";
|
|
7
|
+
queued: "queued";
|
|
8
|
+
pending: "pending";
|
|
9
|
+
ok: "ok";
|
|
10
|
+
}>;
|
|
11
|
+
mode: z.ZodEnum<{
|
|
12
|
+
domain: "domain";
|
|
13
|
+
urls: "urls";
|
|
14
|
+
}>;
|
|
15
|
+
urls: z.ZodOptional<z.ZodNumber>;
|
|
16
|
+
}, z.core.$strip>;
|
|
17
|
+
export declare const runtimeSpacePurgeRequestSchema: z.ZodObject<{
|
|
18
|
+
urls: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
19
|
+
}, z.core.$strip>;
|
|
20
|
+
export declare const runtimeSpacePurgeResponseSchema: z.ZodObject<{
|
|
21
|
+
space_id: z.ZodString;
|
|
22
|
+
purge: z.ZodObject<{
|
|
23
|
+
status: z.ZodEnum<{
|
|
24
|
+
failed: "failed";
|
|
25
|
+
queued: "queued";
|
|
26
|
+
pending: "pending";
|
|
27
|
+
ok: "ok";
|
|
28
|
+
}>;
|
|
29
|
+
mode: z.ZodEnum<{
|
|
30
|
+
domain: "domain";
|
|
31
|
+
urls: "urls";
|
|
32
|
+
}>;
|
|
33
|
+
urls: z.ZodOptional<z.ZodNumber>;
|
|
34
|
+
}, z.core.$strip>;
|
|
35
|
+
}, z.core.$strip>;
|
|
36
|
+
export declare const runtimeVersionFilesResponseSchema: z.ZodObject<{
|
|
37
|
+
space_id: z.ZodString;
|
|
38
|
+
version_id: z.ZodString;
|
|
39
|
+
view: z.ZodEnum<{
|
|
40
|
+
source: "source";
|
|
41
|
+
served: "served";
|
|
42
|
+
}>;
|
|
43
|
+
files: z.ZodArray<z.ZodObject<{
|
|
44
|
+
path: z.ZodString;
|
|
45
|
+
size: z.ZodNumber;
|
|
46
|
+
sha256: z.ZodString;
|
|
47
|
+
content_type: z.ZodOptional<z.ZodString>;
|
|
48
|
+
public: z.ZodBoolean;
|
|
49
|
+
variant_route: z.ZodOptional<z.ZodString>;
|
|
50
|
+
}, z.core.$strip>>;
|
|
51
|
+
next_cursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
52
|
+
}, z.core.$strip>;
|
|
53
|
+
export declare const runtimeRetentionModeSchema: z.ZodEnum<{
|
|
54
|
+
all: "all";
|
|
55
|
+
list: "list";
|
|
56
|
+
none: "none";
|
|
57
|
+
}>;
|
|
58
|
+
export type RuntimeRetentionMode = z.infer<typeof runtimeRetentionModeSchema>;
|
|
3
59
|
export declare const runtimeVersionCreateRequestSchema: z.ZodObject<{
|
|
4
60
|
version_id: z.ZodOptional<z.ZodString>;
|
|
5
61
|
files: z.ZodArray<z.ZodObject<{
|
|
@@ -9,7 +65,12 @@ export declare const runtimeVersionCreateRequestSchema: z.ZodObject<{
|
|
|
9
65
|
contentType: z.ZodOptional<z.ZodString>;
|
|
10
66
|
sourceUrl: z.ZodOptional<z.ZodString>;
|
|
11
67
|
}, z.core.$strip>>;
|
|
12
|
-
|
|
68
|
+
retention: z.ZodEnum<{
|
|
69
|
+
all: "all";
|
|
70
|
+
list: "list";
|
|
71
|
+
none: "none";
|
|
72
|
+
}>;
|
|
73
|
+
retained_files: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
13
74
|
path: z.ZodString;
|
|
14
75
|
size: z.ZodNumber;
|
|
15
76
|
sha256: z.ZodOptional<z.ZodString>;
|
|
@@ -20,10 +81,6 @@ export declare const runtimeVersionCreateRequestSchema: z.ZodObject<{
|
|
|
20
81
|
manifest_hash: z.ZodOptional<z.ZodString>;
|
|
21
82
|
expires_at: z.ZodOptional<z.ZodString>;
|
|
22
83
|
metadata: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
23
|
-
convention_files: z.ZodDefault<z.ZodObject<{
|
|
24
|
-
redirects: z.ZodOptional<z.ZodString>;
|
|
25
|
-
headers: z.ZodOptional<z.ZodString>;
|
|
26
|
-
}, z.core.$strict>>;
|
|
27
84
|
}, z.core.$strip>;
|
|
28
85
|
export declare const runtimeVersionCreateResponseSchema: z.ZodObject<{
|
|
29
86
|
space_id: z.ZodString;
|
|
@@ -44,6 +101,11 @@ export declare const runtimeUploadSessionDescriptorSchema: z.ZodObject<{
|
|
|
44
101
|
contentType: z.ZodOptional<z.ZodString>;
|
|
45
102
|
sourceUrl: z.ZodOptional<z.ZodString>;
|
|
46
103
|
}, z.core.$strip>>;
|
|
104
|
+
retention: z.ZodEnum<{
|
|
105
|
+
all: "all";
|
|
106
|
+
list: "list";
|
|
107
|
+
none: "none";
|
|
108
|
+
}>;
|
|
47
109
|
retained_files: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
48
110
|
path: z.ZodString;
|
|
49
111
|
size: z.ZodNumber;
|
|
@@ -53,12 +115,29 @@ export declare const runtimeUploadSessionDescriptorSchema: z.ZodObject<{
|
|
|
53
115
|
}, z.core.$strip>>>;
|
|
54
116
|
reusable_version_id: z.ZodOptional<z.ZodString>;
|
|
55
117
|
metadata: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
56
|
-
convention_files: z.ZodDefault<z.ZodObject<{
|
|
57
|
-
redirects: z.ZodOptional<z.ZodString>;
|
|
58
|
-
headers: z.ZodOptional<z.ZodString>;
|
|
59
|
-
}, z.core.$strict>>;
|
|
60
118
|
}, z.core.$strip>;
|
|
61
119
|
export type RuntimeUploadSessionDescriptor = z.infer<typeof runtimeUploadSessionDescriptorSchema>;
|
|
120
|
+
/**
|
|
121
|
+
* The retention half of a create-version body or session descriptor, spelled
|
|
122
|
+
* once. `retained_files` is omitted when empty — with an explicit `retention`
|
|
123
|
+
* that omission is unambiguous: it means retain nothing beyond what `all`
|
|
124
|
+
* materializes.
|
|
125
|
+
*/
|
|
126
|
+
export declare function runtimeRetentionFields(input: {
|
|
127
|
+
retention: RuntimeRetentionMode;
|
|
128
|
+
retainedFiles: readonly z.infer<typeof manifestFileSchema>[];
|
|
129
|
+
reusableVersionId: string | null;
|
|
130
|
+
}): {
|
|
131
|
+
reusable_version_id?: string;
|
|
132
|
+
retained_files?: {
|
|
133
|
+
path: string;
|
|
134
|
+
size: number;
|
|
135
|
+
sha256?: string | undefined;
|
|
136
|
+
contentType?: string | undefined;
|
|
137
|
+
sourceUrl?: string | undefined;
|
|
138
|
+
}[];
|
|
139
|
+
retention: "all" | "list" | "none";
|
|
140
|
+
};
|
|
62
141
|
export declare const RUNTIME_UPLOAD_SESSION_DESCRIPTOR_MAX_BYTES = 4096;
|
|
63
142
|
export declare const RUNTIME_UPLOAD_AUTHORIZATION_HEADER_MAX_BYTES: number;
|
|
64
143
|
export declare const RUNTIME_UPLOAD_SESSION_STORED_MAX_BYTES: number;
|
|
@@ -76,7 +155,6 @@ export declare const runtimeUploadSessionResponseSchema: z.ZodObject<{
|
|
|
76
155
|
uploaded: z.ZodBoolean;
|
|
77
156
|
}, z.core.$strip>>;
|
|
78
157
|
pending_paths: z.ZodArray<z.ZodString>;
|
|
79
|
-
chunks: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodNumber>>;
|
|
80
158
|
}, z.core.$strip>;
|
|
81
159
|
export declare const visitorJwkSchema: z.ZodObject<{
|
|
82
160
|
kty: z.ZodLiteral<"OKP">;
|
|
@@ -120,14 +198,12 @@ export declare const runtimeAccessPageDescriptorSchema: z.ZodObject<{
|
|
|
120
198
|
emailUrl: z.ZodString;
|
|
121
199
|
requestUrl: z.ZodString;
|
|
122
200
|
logoutUrl: z.ZodString;
|
|
123
|
-
commentsConfigUrl: z.ZodOptional<z.ZodString>;
|
|
124
201
|
commentsTicketUrl: z.ZodOptional<z.ZodString>;
|
|
125
202
|
commentsVersionUrlsUrl: z.ZodOptional<z.ZodString>;
|
|
126
203
|
zeroRealtimeTicketUrl: z.ZodOptional<z.ZodString>;
|
|
127
204
|
credential: z.ZodString;
|
|
128
205
|
}, z.core.$strip>>;
|
|
129
206
|
}, z.core.$strict>;
|
|
130
|
-
export type RuntimeAccessPageDescriptor = z.infer<typeof runtimeAccessPageDescriptorSchema>;
|
|
131
207
|
export declare const RUNTIME_AUTHORIZATION_GRANT_LIMIT = 1024;
|
|
132
208
|
export declare const runtimeAuthorizationProjectionSchema: z.ZodObject<{
|
|
133
209
|
generation: z.ZodNumber;
|
|
@@ -153,7 +229,6 @@ export declare const runtimeAuthorizationProjectionSchema: z.ZodObject<{
|
|
|
153
229
|
emailUrl: z.ZodString;
|
|
154
230
|
requestUrl: z.ZodString;
|
|
155
231
|
logoutUrl: z.ZodString;
|
|
156
|
-
commentsConfigUrl: z.ZodOptional<z.ZodString>;
|
|
157
232
|
commentsTicketUrl: z.ZodOptional<z.ZodString>;
|
|
158
233
|
commentsVersionUrlsUrl: z.ZodOptional<z.ZodString>;
|
|
159
234
|
zeroRealtimeTicketUrl: z.ZodOptional<z.ZodString>;
|
|
@@ -232,11 +307,6 @@ export declare const runtimeAuthorizationProjectionSchema: z.ZodObject<{
|
|
|
232
307
|
}, z.core.$strict>>;
|
|
233
308
|
}, z.core.$strict>;
|
|
234
309
|
export type RuntimeAuthorizationProjection = z.infer<typeof runtimeAuthorizationProjectionSchema>;
|
|
235
|
-
export declare const runtimeZeroModeSchema: z.ZodEnum<{
|
|
236
|
-
active: "active";
|
|
237
|
-
activating: "activating";
|
|
238
|
-
}>;
|
|
239
|
-
export type RuntimeZeroMode = z.infer<typeof runtimeZeroModeSchema>;
|
|
240
310
|
export declare const runtimeVersionFinalizeRequestSchema: z.ZodObject<{
|
|
241
311
|
upload_id: z.ZodString;
|
|
242
312
|
session: z.ZodOptional<z.ZodObject<{
|
|
@@ -252,6 +322,11 @@ export declare const runtimeVersionFinalizeRequestSchema: z.ZodObject<{
|
|
|
252
322
|
contentType: z.ZodOptional<z.ZodString>;
|
|
253
323
|
sourceUrl: z.ZodOptional<z.ZodString>;
|
|
254
324
|
}, z.core.$strip>>;
|
|
325
|
+
retention: z.ZodEnum<{
|
|
326
|
+
all: "all";
|
|
327
|
+
list: "list";
|
|
328
|
+
none: "none";
|
|
329
|
+
}>;
|
|
255
330
|
retained_files: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
256
331
|
path: z.ZodString;
|
|
257
332
|
size: z.ZodNumber;
|
|
@@ -261,15 +336,7 @@ export declare const runtimeVersionFinalizeRequestSchema: z.ZodObject<{
|
|
|
261
336
|
}, z.core.$strip>>>;
|
|
262
337
|
reusable_version_id: z.ZodOptional<z.ZodString>;
|
|
263
338
|
metadata: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
264
|
-
convention_files: z.ZodDefault<z.ZodObject<{
|
|
265
|
-
redirects: z.ZodOptional<z.ZodString>;
|
|
266
|
-
headers: z.ZodOptional<z.ZodString>;
|
|
267
|
-
}, z.core.$strict>>;
|
|
268
339
|
}, z.core.$strip>>;
|
|
269
|
-
zero_mode: z.ZodOptional<z.ZodEnum<{
|
|
270
|
-
active: "active";
|
|
271
|
-
activating: "activating";
|
|
272
|
-
}>>;
|
|
273
340
|
zero: z.ZodOptional<z.ZodObject<{
|
|
274
341
|
auth: z.ZodDefault<z.ZodObject<{
|
|
275
342
|
provider: z.ZodDefault<z.ZodLiteral<"gravatar">>;
|
|
@@ -279,6 +346,10 @@ export declare const runtimeVersionFinalizeRequestSchema: z.ZodObject<{
|
|
|
279
346
|
signOutUrl: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
280
347
|
returnToParam: z.ZodDefault<z.ZodString>;
|
|
281
348
|
}, z.core.$strict>>;
|
|
349
|
+
variables: z.ZodObject<{
|
|
350
|
+
source: z.ZodLiteral<"stattic-variables">;
|
|
351
|
+
names: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
352
|
+
}, z.core.$strict>;
|
|
282
353
|
realtime: z.ZodObject<{
|
|
283
354
|
mode: z.ZodEnum<{
|
|
284
355
|
local: "local";
|
|
@@ -293,10 +364,6 @@ export declare const runtimeVersionFinalizeRequestSchema: z.ZodObject<{
|
|
|
293
364
|
token: z.ZodString;
|
|
294
365
|
}, z.core.$strict>>;
|
|
295
366
|
}, z.core.$strict>;
|
|
296
|
-
variables: z.ZodObject<{
|
|
297
|
-
source: z.ZodLiteral<"stattic-variables">;
|
|
298
|
-
names: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
299
|
-
}, z.core.$strict>;
|
|
300
367
|
artifact: z.ZodObject<{
|
|
301
368
|
format: z.ZodLiteral<"stattic.zero.capsule.v1">;
|
|
302
369
|
appName: z.ZodString;
|
|
@@ -343,7 +410,7 @@ export declare const runtimeVersionFinalizeRequestSchema: z.ZodObject<{
|
|
|
343
410
|
sockets: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
344
411
|
}, z.core.$strict>;
|
|
345
412
|
db: z.ZodObject<{
|
|
346
|
-
backend: z.ZodLiteral<"
|
|
413
|
+
backend: z.ZodLiteral<"mysql">;
|
|
347
414
|
migrations: z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
348
415
|
op: z.ZodLiteral<"create_table">;
|
|
349
416
|
table: z.ZodString;
|
|
@@ -496,7 +563,7 @@ export declare const runtimeVersionFinalizeRequestSchema: z.ZodObject<{
|
|
|
496
563
|
binary: z.ZodObject<{
|
|
497
564
|
path: z.ZodLiteral<"__spacefast/zero/bin/stattic-runtime">;
|
|
498
565
|
compatibilityTarget: z.ZodObject<{
|
|
499
|
-
profile: z.ZodLiteral<"
|
|
566
|
+
profile: z.ZodLiteral<"linux-x86_64-gnu-v1">;
|
|
500
567
|
os: z.ZodLiteral<"linux">;
|
|
501
568
|
cpu: z.ZodLiteral<"x86_64">;
|
|
502
569
|
libc: z.ZodLiteral<"glibc">;
|
|
@@ -517,8 +584,8 @@ export declare const runtimeVersionFinalizeRequestSchema: z.ZodObject<{
|
|
|
517
584
|
}, z.core.$strict>;
|
|
518
585
|
inspect: z.ZodDefault<z.ZodObject<{
|
|
519
586
|
policy: z.ZodDefault<z.ZodEnum<{
|
|
520
|
-
public: "public";
|
|
521
587
|
private: "private";
|
|
588
|
+
public: "public";
|
|
522
589
|
}>>;
|
|
523
590
|
}, z.core.$strict>>;
|
|
524
591
|
variableValues: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
@@ -539,6 +606,12 @@ export declare const runtimeVersionFinalizeRequestSchema: z.ZodObject<{
|
|
|
539
606
|
sha256: z.ZodString;
|
|
540
607
|
size: z.ZodNumber;
|
|
541
608
|
}, z.core.$strict>;
|
|
609
|
+
seed: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
610
|
+
path: z.ZodString;
|
|
611
|
+
sha256: z.ZodString;
|
|
612
|
+
size: z.ZodNumber;
|
|
613
|
+
entries: z.ZodNumber;
|
|
614
|
+
}, z.core.$strict>>>;
|
|
542
615
|
compatibilityDate: z.ZodString;
|
|
543
616
|
compatibilityFlags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
544
617
|
routes: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
@@ -554,6 +627,7 @@ export declare const runtimeVersionFinalizeRequestSchema: z.ZodObject<{
|
|
|
554
627
|
path: z.ZodString;
|
|
555
628
|
subtree: z.ZodDefault<z.ZodBoolean>;
|
|
556
629
|
}, z.core.$strict>>>;
|
|
630
|
+
bypassCookies: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
557
631
|
capabilities: z.ZodDefault<z.ZodObject<{
|
|
558
632
|
db: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
559
633
|
fetch: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
@@ -561,7 +635,13 @@ export declare const runtimeVersionFinalizeRequestSchema: z.ZodObject<{
|
|
|
561
635
|
env: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
562
636
|
realtime: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
563
637
|
logging: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
638
|
+
gravatar: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
639
|
+
spam: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
640
|
+
email: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
564
641
|
}, z.core.$strip>>;
|
|
642
|
+
platform: z.ZodDefault<z.ZodObject<{
|
|
643
|
+
nextCache: z.ZodDefault<z.ZodBoolean>;
|
|
644
|
+
}, z.core.$strict>>;
|
|
565
645
|
}, z.core.$strict>;
|
|
566
646
|
variables: z.ZodDefault<z.ZodObject<{
|
|
567
647
|
source: z.ZodLiteral<"spacefast-variables">;
|
|
@@ -570,12 +650,19 @@ export declare const runtimeVersionFinalizeRequestSchema: z.ZodObject<{
|
|
|
570
650
|
host: z.ZodObject<{
|
|
571
651
|
hostname: z.ZodString;
|
|
572
652
|
bundleUrl: z.ZodString;
|
|
653
|
+
seedUrl: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
573
654
|
}, z.core.$strict>;
|
|
574
655
|
grantedCapabilities: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
575
656
|
fetch: "fetch";
|
|
657
|
+
"storage.read": "storage.read";
|
|
658
|
+
"storage.write": "storage.write";
|
|
576
659
|
"db.read": "db.read";
|
|
577
660
|
"db.write": "db.write";
|
|
578
661
|
log: "log";
|
|
662
|
+
"next.cache": "next.cache";
|
|
663
|
+
"gravatar.profile": "gravatar.profile";
|
|
664
|
+
"spam.check": "spam.check";
|
|
665
|
+
"email.send": "email.send";
|
|
579
666
|
}>>>;
|
|
580
667
|
relay: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
581
668
|
url: z.ZodString;
|
|
@@ -583,20 +670,35 @@ export declare const runtimeVersionFinalizeRequestSchema: z.ZodObject<{
|
|
|
583
670
|
maxBatchStatements: z.ZodNumber;
|
|
584
671
|
maxConcurrentCalls: z.ZodNumber;
|
|
585
672
|
}, z.core.$strict>>>;
|
|
673
|
+
usage: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
674
|
+
url: z.ZodString;
|
|
675
|
+
token: z.ZodString;
|
|
676
|
+
}, z.core.$strict>>>;
|
|
677
|
+
purge: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
678
|
+
token: z.ZodString;
|
|
679
|
+
}, z.core.$strict>>>;
|
|
586
680
|
variableValues: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
587
681
|
}, z.core.$strict>>;
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
682
|
+
variable_scopes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
683
|
+
kind: z.ZodEnum<{
|
|
684
|
+
space: "space";
|
|
685
|
+
principal: "principal";
|
|
686
|
+
}>;
|
|
687
|
+
values: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
688
|
+
value: z.ZodOptional<z.ZodString>;
|
|
689
|
+
secret: z.ZodBoolean;
|
|
690
|
+
channelValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
691
|
+
}, z.core.$strip>>;
|
|
692
|
+
}, z.core.$strip>>>;
|
|
693
|
+
system_variables: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
694
|
+
channels: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
695
|
+
name: z.ZodString;
|
|
696
|
+
route_name: z.ZodString;
|
|
697
|
+
}, z.core.$strip>>>;
|
|
698
|
+
routing_assigned_hostnames: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
594
699
|
page_artifacts: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
595
700
|
serving: z.ZodOptional<z.ZodObject<{
|
|
596
|
-
|
|
597
|
-
headers_pattern: z.ZodDefault<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
598
|
-
redirects_exact: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
|
|
599
|
-
redirects_pattern: z.ZodDefault<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
701
|
+
noindexHost: z.ZodOptional<z.ZodBoolean>;
|
|
600
702
|
config: z.ZodOptional<z.ZodObject<{
|
|
601
703
|
index: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodLiteral<false>]>>;
|
|
602
704
|
fallback: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
@@ -610,26 +712,22 @@ export declare const runtimeVersionFinalizeRequestSchema: z.ZodObject<{
|
|
|
610
712
|
title: z.ZodOptional<z.ZodString>;
|
|
611
713
|
description: z.ZodOptional<z.ZodString>;
|
|
612
714
|
image: z.ZodOptional<z.ZodString>;
|
|
715
|
+
favicon: z.ZodOptional<z.ZodString>;
|
|
613
716
|
}, z.core.$strip>>>;
|
|
614
717
|
pages: z.ZodOptional<z.ZodObject<{
|
|
615
718
|
routes: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
616
719
|
pages: z.ZodOptional<z.ZodRecord<z.ZodEnum<{
|
|
617
|
-
denied: "denied";
|
|
618
720
|
access: "access";
|
|
721
|
+
denied: "denied";
|
|
619
722
|
404: "404";
|
|
620
723
|
}>, z.ZodString>>;
|
|
621
724
|
index: z.ZodOptional<z.ZodString>;
|
|
622
725
|
}, z.core.$strip>>;
|
|
623
726
|
previews: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
727
|
+
collab: z.ZodOptional<z.ZodString>;
|
|
624
728
|
}, z.core.$strip>>;
|
|
625
729
|
experimental_gutenberg: z.ZodOptional<z.ZodBoolean>;
|
|
626
730
|
platform_meta: z.ZodOptional<z.ZodBoolean>;
|
|
627
|
-
spacefast_sdk: z.ZodOptional<z.ZodObject<{
|
|
628
|
-
cast_api_base: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
629
|
-
cast_ws_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
630
|
-
cast_resource_key: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
631
|
-
published_comments: z.ZodOptional<z.ZodBoolean>;
|
|
632
|
-
}, z.core.$strip>>;
|
|
633
731
|
inject: z.ZodOptional<z.ZodObject<{
|
|
634
732
|
head: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
635
733
|
bodyStart: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -637,6 +735,7 @@ export declare const runtimeVersionFinalizeRequestSchema: z.ZodObject<{
|
|
|
637
735
|
noscript: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
638
736
|
}, z.core.$strip>>;
|
|
639
737
|
}, z.core.$strip>>;
|
|
738
|
+
platform_csp_sources: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString>>>;
|
|
640
739
|
zero_endpoints: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
641
740
|
method: z.ZodEnum<{
|
|
642
741
|
POST: "POST";
|
|
@@ -703,7 +802,6 @@ export declare const runtimeVersionFinalizeRequestSchema: z.ZodObject<{
|
|
|
703
802
|
emailUrl: z.ZodString;
|
|
704
803
|
requestUrl: z.ZodString;
|
|
705
804
|
logoutUrl: z.ZodString;
|
|
706
|
-
commentsConfigUrl: z.ZodOptional<z.ZodString>;
|
|
707
805
|
commentsTicketUrl: z.ZodOptional<z.ZodString>;
|
|
708
806
|
commentsVersionUrlsUrl: z.ZodOptional<z.ZodString>;
|
|
709
807
|
zeroRealtimeTicketUrl: z.ZodOptional<z.ZodString>;
|
|
@@ -810,16 +908,36 @@ export declare const runtimeVersionFinalizeRequestSchema: z.ZodObject<{
|
|
|
810
908
|
admission: z.ZodOptional<z.ZodObject<{
|
|
811
909
|
concurrency: z.ZodNumber;
|
|
812
910
|
}, z.core.$strip>>;
|
|
813
|
-
|
|
911
|
+
sdk: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
814
912
|
revision: z.ZodString;
|
|
815
|
-
|
|
913
|
+
config: z.ZodObject<{
|
|
914
|
+
cast_api_base: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
915
|
+
cast_ws_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
916
|
+
cast_resource_key: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
917
|
+
comments: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
918
|
+
live: z.ZodBoolean;
|
|
919
|
+
preview: z.ZodBoolean;
|
|
920
|
+
live_url: z.ZodNullable<z.ZodString>;
|
|
921
|
+
theme: z.ZodObject<{
|
|
922
|
+
accent: z.ZodNullable<z.ZodString>;
|
|
923
|
+
hide_branding: z.ZodBoolean;
|
|
924
|
+
}, z.core.$strip>;
|
|
925
|
+
features: z.ZodObject<{
|
|
926
|
+
picker: z.ZodBoolean;
|
|
927
|
+
drawing: z.ZodBoolean;
|
|
928
|
+
capture: z.ZodBoolean;
|
|
929
|
+
attachments: z.ZodBoolean;
|
|
930
|
+
notices: z.ZodBoolean;
|
|
931
|
+
}, z.core.$strip>;
|
|
932
|
+
}, z.core.$strip>>>;
|
|
933
|
+
}, z.core.$strip>;
|
|
934
|
+
body: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
816
935
|
}, z.core.$strip>>>;
|
|
817
936
|
entitlements: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
818
937
|
externalProxy: z.ZodBoolean;
|
|
819
938
|
}, z.core.$strip>>>;
|
|
820
939
|
}, z.core.$strip>>;
|
|
821
940
|
config_digest: z.ZodOptional<z.ZodString>;
|
|
822
|
-
changed_paths: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
823
941
|
previous_version_id: z.ZodOptional<z.ZodString>;
|
|
824
942
|
production_hostnames: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
825
943
|
noindex_production_hostnames: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
@@ -838,11 +956,92 @@ export declare const runtimeReadinessTargetSchema: z.ZodObject<{
|
|
|
838
956
|
path: z.ZodString;
|
|
839
957
|
expected_statuses: z.ZodArray<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodLiteral<200>, z.ZodLiteral<301>, z.ZodLiteral<302>, z.ZodLiteral<303>, z.ZodLiteral<307>, z.ZodLiteral<308>, z.ZodLiteral<401>, z.ZodLiteral<403>]>, z.ZodLiteral<404>]>>;
|
|
840
958
|
}, z.core.$strip>;
|
|
959
|
+
export declare const runtimeCatalogDigestsSchema: z.ZodObject<{
|
|
960
|
+
source: z.ZodString;
|
|
961
|
+
served: z.ZodString;
|
|
962
|
+
}, z.core.$strip>;
|
|
963
|
+
export declare const runtimeCatalogDeltaSchema: z.ZodObject<{
|
|
964
|
+
added: z.ZodNumber;
|
|
965
|
+
changed: z.ZodNumber;
|
|
966
|
+
removed: z.ZodNumber;
|
|
967
|
+
}, z.core.$strip>;
|
|
968
|
+
export declare const runtimeCompileDiagnosticSchema: z.ZodObject<{
|
|
969
|
+
severity: z.ZodEnum<{
|
|
970
|
+
info: "info";
|
|
971
|
+
error: "error";
|
|
972
|
+
warning: "warning";
|
|
973
|
+
}>;
|
|
974
|
+
code: z.ZodString;
|
|
975
|
+
message: z.ZodString;
|
|
976
|
+
path: z.ZodOptional<z.ZodString>;
|
|
977
|
+
details: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
978
|
+
}, z.core.$strip>;
|
|
979
|
+
export declare const runtimeCompiledRoutingSchema: z.ZodObject<{
|
|
980
|
+
redirect_rule_count: z.ZodNumber;
|
|
981
|
+
header_rule_count: z.ZodNumber;
|
|
982
|
+
proxy_rule_count: z.ZodNumber;
|
|
983
|
+
proxy_rules: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
984
|
+
source: z.ZodString;
|
|
985
|
+
destination: z.ZodString;
|
|
986
|
+
}, z.core.$strip>>>;
|
|
987
|
+
}, z.core.$strip>;
|
|
988
|
+
export declare const runtimeFinalizeTelemetrySchema: z.ZodObject<{
|
|
989
|
+
stagedFiles: z.ZodNumber;
|
|
990
|
+
generatedFiles: z.ZodNumber;
|
|
991
|
+
decoratedFiles: z.ZodNumber;
|
|
992
|
+
skippedFiles: z.ZodNumber;
|
|
993
|
+
stagingMs: z.ZodNumber;
|
|
994
|
+
templateSubstitutionMs: z.ZodNumber;
|
|
995
|
+
htmlPipelineMs: z.ZodNumber;
|
|
996
|
+
conventionsMs: z.ZodOptional<z.ZodNumber>;
|
|
997
|
+
zeroCompileMs: z.ZodOptional<z.ZodNumber>;
|
|
998
|
+
blobInstallMs: z.ZodNumber;
|
|
999
|
+
listingsMs: z.ZodOptional<z.ZodNumber>;
|
|
1000
|
+
responseTablesMs: z.ZodNumber;
|
|
1001
|
+
catalogDeltaMs: z.ZodNumber;
|
|
1002
|
+
artifactsWriteMs: z.ZodOptional<z.ZodNumber>;
|
|
1003
|
+
totalMs: z.ZodNumber;
|
|
1004
|
+
}, z.core.$strip>;
|
|
841
1005
|
export declare const runtimeVersionFinalizeResponseSchema: z.ZodObject<{
|
|
1006
|
+
purge: z.ZodOptional<z.ZodObject<{
|
|
1007
|
+
status: z.ZodEnum<{
|
|
1008
|
+
failed: "failed";
|
|
1009
|
+
queued: "queued";
|
|
1010
|
+
pending: "pending";
|
|
1011
|
+
ok: "ok";
|
|
1012
|
+
}>;
|
|
1013
|
+
mode: z.ZodEnum<{
|
|
1014
|
+
domain: "domain";
|
|
1015
|
+
urls: "urls";
|
|
1016
|
+
}>;
|
|
1017
|
+
urls: z.ZodOptional<z.ZodNumber>;
|
|
1018
|
+
}, z.core.$strip>>;
|
|
842
1019
|
space_id: z.ZodString;
|
|
843
1020
|
version_id: z.ZodString;
|
|
844
1021
|
status: z.ZodLiteral<"ready">;
|
|
845
1022
|
zero_endpoint_count: z.ZodOptional<z.ZodNumber>;
|
|
1023
|
+
diagnostics: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1024
|
+
severity: z.ZodEnum<{
|
|
1025
|
+
info: "info";
|
|
1026
|
+
error: "error";
|
|
1027
|
+
warning: "warning";
|
|
1028
|
+
}>;
|
|
1029
|
+
code: z.ZodString;
|
|
1030
|
+
message: z.ZodString;
|
|
1031
|
+
path: z.ZodOptional<z.ZodString>;
|
|
1032
|
+
details: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1033
|
+
}, z.core.$strip>>>;
|
|
1034
|
+
routing: z.ZodOptional<z.ZodObject<{
|
|
1035
|
+
redirect_rule_count: z.ZodNumber;
|
|
1036
|
+
header_rule_count: z.ZodNumber;
|
|
1037
|
+
proxy_rule_count: z.ZodNumber;
|
|
1038
|
+
proxy_rules: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1039
|
+
source: z.ZodString;
|
|
1040
|
+
destination: z.ZodString;
|
|
1041
|
+
}, z.core.$strip>>>;
|
|
1042
|
+
}, z.core.$strip>>;
|
|
1043
|
+
variable_digests: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1044
|
+
system_variable_dependencies: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
846
1045
|
manifest: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
847
1046
|
path: z.ZodString;
|
|
848
1047
|
size: z.ZodNumber;
|
|
@@ -850,10 +1049,37 @@ export declare const runtimeVersionFinalizeResponseSchema: z.ZodObject<{
|
|
|
850
1049
|
contentType: z.ZodOptional<z.ZodString>;
|
|
851
1050
|
sourceUrl: z.ZodOptional<z.ZodString>;
|
|
852
1051
|
}, z.core.$strip>>>;
|
|
1052
|
+
catalog_digests: z.ZodOptional<z.ZodObject<{
|
|
1053
|
+
source: z.ZodString;
|
|
1054
|
+
served: z.ZodString;
|
|
1055
|
+
}, z.core.$strip>>;
|
|
1056
|
+
delta: z.ZodOptional<z.ZodObject<{
|
|
1057
|
+
added: z.ZodNumber;
|
|
1058
|
+
changed: z.ZodNumber;
|
|
1059
|
+
removed: z.ZodNumber;
|
|
1060
|
+
}, z.core.$strip>>;
|
|
1061
|
+
preview_image_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
853
1062
|
readiness_target: z.ZodObject<{
|
|
854
1063
|
path: z.ZodString;
|
|
855
1064
|
expected_statuses: z.ZodArray<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodLiteral<200>, z.ZodLiteral<301>, z.ZodLiteral<302>, z.ZodLiteral<303>, z.ZodLiteral<307>, z.ZodLiteral<308>, z.ZodLiteral<401>, z.ZodLiteral<403>]>, z.ZodLiteral<404>]>>;
|
|
856
1065
|
}, z.core.$strip>;
|
|
1066
|
+
telemetry: z.ZodOptional<z.ZodObject<{
|
|
1067
|
+
stagedFiles: z.ZodNumber;
|
|
1068
|
+
generatedFiles: z.ZodNumber;
|
|
1069
|
+
decoratedFiles: z.ZodNumber;
|
|
1070
|
+
skippedFiles: z.ZodNumber;
|
|
1071
|
+
stagingMs: z.ZodNumber;
|
|
1072
|
+
templateSubstitutionMs: z.ZodNumber;
|
|
1073
|
+
htmlPipelineMs: z.ZodNumber;
|
|
1074
|
+
conventionsMs: z.ZodOptional<z.ZodNumber>;
|
|
1075
|
+
zeroCompileMs: z.ZodOptional<z.ZodNumber>;
|
|
1076
|
+
blobInstallMs: z.ZodNumber;
|
|
1077
|
+
listingsMs: z.ZodOptional<z.ZodNumber>;
|
|
1078
|
+
responseTablesMs: z.ZodNumber;
|
|
1079
|
+
catalogDeltaMs: z.ZodNumber;
|
|
1080
|
+
artifactsWriteMs: z.ZodOptional<z.ZodNumber>;
|
|
1081
|
+
totalMs: z.ZodNumber;
|
|
1082
|
+
}, z.core.$strip>>;
|
|
857
1083
|
activation_event_id: z.ZodOptional<z.ZodString>;
|
|
858
1084
|
}, z.core.$strip>;
|
|
859
1085
|
export declare const runtimeZeroMigrationsApplyResponseSchema: z.ZodObject<{
|
|
@@ -888,7 +1114,6 @@ export declare const runtimeRouteUpdateRequestSchema: z.ZodObject<{
|
|
|
888
1114
|
emailUrl: z.ZodString;
|
|
889
1115
|
requestUrl: z.ZodString;
|
|
890
1116
|
logoutUrl: z.ZodString;
|
|
891
|
-
commentsConfigUrl: z.ZodOptional<z.ZodString>;
|
|
892
1117
|
commentsTicketUrl: z.ZodOptional<z.ZodString>;
|
|
893
1118
|
commentsVersionUrlsUrl: z.ZodOptional<z.ZodString>;
|
|
894
1119
|
zeroRealtimeTicketUrl: z.ZodOptional<z.ZodString>;
|
|
@@ -995,16 +1220,36 @@ export declare const runtimeRouteUpdateRequestSchema: z.ZodObject<{
|
|
|
995
1220
|
admission: z.ZodOptional<z.ZodObject<{
|
|
996
1221
|
concurrency: z.ZodNumber;
|
|
997
1222
|
}, z.core.$strip>>;
|
|
998
|
-
|
|
1223
|
+
sdk: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
999
1224
|
revision: z.ZodString;
|
|
1000
|
-
|
|
1225
|
+
config: z.ZodObject<{
|
|
1226
|
+
cast_api_base: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1227
|
+
cast_ws_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1228
|
+
cast_resource_key: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1229
|
+
comments: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1230
|
+
live: z.ZodBoolean;
|
|
1231
|
+
preview: z.ZodBoolean;
|
|
1232
|
+
live_url: z.ZodNullable<z.ZodString>;
|
|
1233
|
+
theme: z.ZodObject<{
|
|
1234
|
+
accent: z.ZodNullable<z.ZodString>;
|
|
1235
|
+
hide_branding: z.ZodBoolean;
|
|
1236
|
+
}, z.core.$strip>;
|
|
1237
|
+
features: z.ZodObject<{
|
|
1238
|
+
picker: z.ZodBoolean;
|
|
1239
|
+
drawing: z.ZodBoolean;
|
|
1240
|
+
capture: z.ZodBoolean;
|
|
1241
|
+
attachments: z.ZodBoolean;
|
|
1242
|
+
notices: z.ZodBoolean;
|
|
1243
|
+
}, z.core.$strip>;
|
|
1244
|
+
}, z.core.$strip>>>;
|
|
1245
|
+
}, z.core.$strip>;
|
|
1246
|
+
body: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1001
1247
|
}, z.core.$strip>>>;
|
|
1002
1248
|
entitlements: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1003
1249
|
externalProxy: z.ZodBoolean;
|
|
1004
1250
|
}, z.core.$strip>>>;
|
|
1005
1251
|
}, z.core.$strip>>;
|
|
1006
1252
|
config_digest: z.ZodOptional<z.ZodString>;
|
|
1007
|
-
changed_paths: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1008
1253
|
previous_version_id: z.ZodOptional<z.ZodString>;
|
|
1009
1254
|
production_hostnames: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
1010
1255
|
noindex_production_hostnames: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
@@ -1032,6 +1277,19 @@ export declare const runtimeHostnameIntentUpdateRequestSchema: z.ZodObject<{
|
|
|
1032
1277
|
}, z.core.$strip>>>;
|
|
1033
1278
|
}, z.core.$strip>;
|
|
1034
1279
|
export declare const runtimeRouteUpdateResponseSchema: z.ZodObject<{
|
|
1280
|
+
purge: z.ZodOptional<z.ZodObject<{
|
|
1281
|
+
status: z.ZodEnum<{
|
|
1282
|
+
failed: "failed";
|
|
1283
|
+
queued: "queued";
|
|
1284
|
+
pending: "pending";
|
|
1285
|
+
ok: "ok";
|
|
1286
|
+
}>;
|
|
1287
|
+
mode: z.ZodEnum<{
|
|
1288
|
+
domain: "domain";
|
|
1289
|
+
urls: "urls";
|
|
1290
|
+
}>;
|
|
1291
|
+
urls: z.ZodOptional<z.ZodNumber>;
|
|
1292
|
+
}, z.core.$strip>>;
|
|
1035
1293
|
space_id: z.ZodString;
|
|
1036
1294
|
route_name: z.ZodString;
|
|
1037
1295
|
version_id: z.ZodString;
|
|
@@ -1039,6 +1297,19 @@ export declare const runtimeRouteUpdateResponseSchema: z.ZodObject<{
|
|
|
1039
1297
|
activation_event_id: z.ZodOptional<z.ZodString>;
|
|
1040
1298
|
}, z.core.$strip>;
|
|
1041
1299
|
export declare const runtimeHostnameIntentUpdateResponseSchema: z.ZodObject<{
|
|
1300
|
+
purge: z.ZodOptional<z.ZodObject<{
|
|
1301
|
+
status: z.ZodEnum<{
|
|
1302
|
+
failed: "failed";
|
|
1303
|
+
queued: "queued";
|
|
1304
|
+
pending: "pending";
|
|
1305
|
+
ok: "ok";
|
|
1306
|
+
}>;
|
|
1307
|
+
mode: z.ZodEnum<{
|
|
1308
|
+
domain: "domain";
|
|
1309
|
+
urls: "urls";
|
|
1310
|
+
}>;
|
|
1311
|
+
urls: z.ZodOptional<z.ZodNumber>;
|
|
1312
|
+
}, z.core.$strip>>;
|
|
1042
1313
|
space_id: z.ZodString;
|
|
1043
1314
|
route_count: z.ZodNumber;
|
|
1044
1315
|
}, z.core.$strip>;
|
|
@@ -1053,6 +1324,19 @@ export declare const runtimeTombstonesUpdateRequestSchema: z.ZodObject<{
|
|
|
1053
1324
|
category: z.ZodOptional<z.ZodString>;
|
|
1054
1325
|
}, z.core.$strip>;
|
|
1055
1326
|
export declare const runtimeTombstonesUpdateResponseSchema: z.ZodObject<{
|
|
1327
|
+
purge: z.ZodOptional<z.ZodObject<{
|
|
1328
|
+
status: z.ZodEnum<{
|
|
1329
|
+
failed: "failed";
|
|
1330
|
+
queued: "queued";
|
|
1331
|
+
pending: "pending";
|
|
1332
|
+
ok: "ok";
|
|
1333
|
+
}>;
|
|
1334
|
+
mode: z.ZodEnum<{
|
|
1335
|
+
domain: "domain";
|
|
1336
|
+
urls: "urls";
|
|
1337
|
+
}>;
|
|
1338
|
+
urls: z.ZodOptional<z.ZodNumber>;
|
|
1339
|
+
}, z.core.$strip>>;
|
|
1056
1340
|
space_id: z.ZodString;
|
|
1057
1341
|
tombstone_count: z.ZodNumber;
|
|
1058
1342
|
}, z.core.$strip>;
|
|
@@ -1060,119 +1344,83 @@ export declare const runtimeRetentionPolicyUpdateRequestSchema: z.ZodObject<{
|
|
|
1060
1344
|
prunable_version_ids: z.ZodArray<z.ZodString>;
|
|
1061
1345
|
}, z.core.$strip>;
|
|
1062
1346
|
export declare const runtimeRetentionPolicyUpdateResponseSchema: z.ZodObject<{
|
|
1347
|
+
purge: z.ZodOptional<z.ZodObject<{
|
|
1348
|
+
status: z.ZodEnum<{
|
|
1349
|
+
failed: "failed";
|
|
1350
|
+
queued: "queued";
|
|
1351
|
+
pending: "pending";
|
|
1352
|
+
ok: "ok";
|
|
1353
|
+
}>;
|
|
1354
|
+
mode: z.ZodEnum<{
|
|
1355
|
+
domain: "domain";
|
|
1356
|
+
urls: "urls";
|
|
1357
|
+
}>;
|
|
1358
|
+
urls: z.ZodOptional<z.ZodNumber>;
|
|
1359
|
+
}, z.core.$strip>>;
|
|
1063
1360
|
space_id: z.ZodString;
|
|
1064
1361
|
prunable_count: z.ZodNumber;
|
|
1065
1362
|
}, z.core.$strip>;
|
|
1066
|
-
export declare const runtimeSpaceDeleteResponseSchema: z.ZodObject<{
|
|
1067
|
-
space_id: z.ZodString;
|
|
1068
|
-
status: z.ZodLiteral<"deleted">;
|
|
1069
|
-
}, z.core.$strip>;
|
|
1070
1363
|
export declare const runtimeVersionDeleteResponseSchema: z.ZodObject<{
|
|
1364
|
+
purge: z.ZodOptional<z.ZodObject<{
|
|
1365
|
+
status: z.ZodEnum<{
|
|
1366
|
+
failed: "failed";
|
|
1367
|
+
queued: "queued";
|
|
1368
|
+
pending: "pending";
|
|
1369
|
+
ok: "ok";
|
|
1370
|
+
}>;
|
|
1371
|
+
mode: z.ZodEnum<{
|
|
1372
|
+
domain: "domain";
|
|
1373
|
+
urls: "urls";
|
|
1374
|
+
}>;
|
|
1375
|
+
urls: z.ZodOptional<z.ZodNumber>;
|
|
1376
|
+
}, z.core.$strip>>;
|
|
1071
1377
|
space_id: z.ZodString;
|
|
1072
1378
|
version_id: z.ZodString;
|
|
1073
1379
|
status: z.ZodLiteral<"deleted">;
|
|
1074
1380
|
}, z.core.$strip>;
|
|
1075
|
-
export declare const
|
|
1076
|
-
|
|
1077
|
-
status: z.ZodLiteral<"repaired">;
|
|
1078
|
-
}, z.core.$strip>;
|
|
1079
|
-
export declare const runtimeSpaceExportStartRequestSchema: z.ZodObject<{
|
|
1080
|
-
version_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1081
|
-
include_files: z.ZodOptional<z.ZodBoolean>;
|
|
1082
|
-
}, z.core.$strict>;
|
|
1083
|
-
export declare const runtimeSpaceExportResponseSchema: z.ZodObject<{
|
|
1084
|
-
type: z.ZodLiteral<"space_export">;
|
|
1085
|
-
export_id: z.ZodString;
|
|
1086
|
-
space_id: z.ZodString;
|
|
1087
|
-
status: z.ZodEnum<{
|
|
1088
|
-
running: "running";
|
|
1089
|
-
pending: "pending";
|
|
1090
|
-
waiting_for_archive: "waiting_for_archive";
|
|
1091
|
-
complete: "complete";
|
|
1092
|
-
}>;
|
|
1093
|
-
cursor: z.ZodNumber;
|
|
1094
|
-
processed_files: z.ZodNumber;
|
|
1095
|
-
total_files: z.ZodNumber;
|
|
1096
|
-
version_ids: z.ZodArray<z.ZodString>;
|
|
1097
|
-
archive_size: z.ZodOptional<z.ZodNumber>;
|
|
1098
|
-
archive_sha256: z.ZodOptional<z.ZodString>;
|
|
1099
|
-
created_at: z.ZodString;
|
|
1100
|
-
updated_at: z.ZodString;
|
|
1101
|
-
completed_at: z.ZodOptional<z.ZodString>;
|
|
1102
|
-
}, z.core.$strip>;
|
|
1103
|
-
export declare const runtimeSpaceImportStartRequestSchema: z.ZodObject<{
|
|
1104
|
-
version_id_map: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1105
|
-
zero_mode: z.ZodOptional<z.ZodEnum<{
|
|
1106
|
-
active: "active";
|
|
1107
|
-
activating: "activating";
|
|
1108
|
-
}>>;
|
|
1109
|
-
}, z.core.$strict>;
|
|
1110
|
-
export declare const runtimeSpaceImportMapRequestSchema: z.ZodObject<{
|
|
1111
|
-
version_id_map: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
1112
|
-
zero_mode: z.ZodOptional<z.ZodEnum<{
|
|
1113
|
-
active: "active";
|
|
1114
|
-
activating: "activating";
|
|
1115
|
-
}>>;
|
|
1116
|
-
}, z.core.$strict>;
|
|
1117
|
-
export declare const runtimeSpaceImportResponseSchema: z.ZodObject<{
|
|
1118
|
-
type: z.ZodLiteral<"space_import">;
|
|
1119
|
-
import_id: z.ZodString;
|
|
1120
|
-
space_id: z.ZodString;
|
|
1121
|
-
status: z.ZodEnum<{
|
|
1122
|
-
running: "running";
|
|
1123
|
-
pending: "pending";
|
|
1124
|
-
waiting_for_archive: "waiting_for_archive";
|
|
1125
|
-
complete: "complete";
|
|
1126
|
-
}>;
|
|
1127
|
-
cursor: z.ZodNumber;
|
|
1128
|
-
processed_files: z.ZodNumber;
|
|
1129
|
-
total_files: z.ZodNumber;
|
|
1381
|
+
export declare const runtimePinCreateRequestSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
1382
|
+
mode: z.ZodLiteral<"snapshot">;
|
|
1130
1383
|
version_ids: z.ZodArray<z.ZodString>;
|
|
1131
|
-
|
|
1132
|
-
|
|
1133
|
-
|
|
1134
|
-
|
|
1135
|
-
|
|
1384
|
+
include_uploads: z.ZodDefault<z.ZodBoolean>;
|
|
1385
|
+
ttl_seconds: z.ZodNumber;
|
|
1386
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1387
|
+
mode: z.ZodLiteral<"shas">;
|
|
1388
|
+
shas: z.ZodArray<z.ZodString>;
|
|
1389
|
+
ttl_seconds: z.ZodNumber;
|
|
1390
|
+
}, z.core.$strip>]>;
|
|
1391
|
+
export declare const runtimePinCreateResponseSchema: z.ZodObject<{
|
|
1136
1392
|
space_id: z.ZodString;
|
|
1137
|
-
|
|
1138
|
-
|
|
1139
|
-
|
|
1393
|
+
pin_id: z.ZodString;
|
|
1394
|
+
expires_at: z.ZodString;
|
|
1395
|
+
sha_count: z.ZodNumber;
|
|
1140
1396
|
}, z.core.$strip>;
|
|
1141
|
-
export declare const
|
|
1397
|
+
export declare const runtimePinReleaseResponseSchema: z.ZodObject<{
|
|
1142
1398
|
space_id: z.ZodString;
|
|
1143
|
-
|
|
1144
|
-
|
|
1145
|
-
path: z.ZodString;
|
|
1146
|
-
content_b64: z.ZodString;
|
|
1147
|
-
}, z.core.$strip>>;
|
|
1148
|
-
done: z.ZodBoolean;
|
|
1399
|
+
pin_id: z.ZodString;
|
|
1400
|
+
released: z.ZodBoolean;
|
|
1149
1401
|
}, z.core.$strip>;
|
|
1150
|
-
export declare const
|
|
1151
|
-
|
|
1152
|
-
files: z.ZodArray<z.ZodObject<{
|
|
1153
|
-
path: z.ZodString;
|
|
1154
|
-
content_b64: z.ZodString;
|
|
1155
|
-
}, z.core.$strip>>;
|
|
1156
|
-
}, z.core.$strip>;
|
|
1157
|
-
next_cursor: z.ZodNullable<z.ZodString>;
|
|
1402
|
+
export declare const runtimeBlobsHaveRequestSchema: z.ZodObject<{
|
|
1403
|
+
shas: z.ZodArray<z.ZodString>;
|
|
1158
1404
|
}, z.core.$strip>;
|
|
1159
|
-
export declare const
|
|
1160
|
-
|
|
1405
|
+
export declare const runtimeBlobsHaveResponseSchema: z.ZodObject<{
|
|
1406
|
+
missing: z.ZodArray<z.ZodString>;
|
|
1161
1407
|
}, z.core.$strip>;
|
|
1162
|
-
export declare const
|
|
1163
|
-
|
|
1164
|
-
|
|
1165
|
-
|
|
1166
|
-
install_serving_state: z.ZodOptional<z.ZodBoolean>;
|
|
1408
|
+
export declare const runtimeBlobPutResponseSchema: z.ZodObject<{
|
|
1409
|
+
sha256: z.ZodString;
|
|
1410
|
+
size: z.ZodNumber;
|
|
1411
|
+
stored: z.ZodBoolean;
|
|
1167
1412
|
}, z.core.$strip>;
|
|
1168
|
-
export declare const
|
|
1169
|
-
|
|
1413
|
+
export declare const runtimeZeroDbImportRequestSchema: z.ZodObject<{
|
|
1414
|
+
schema_hash: z.ZodString;
|
|
1415
|
+
table: z.ZodString;
|
|
1416
|
+
rows: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1417
|
+
done: z.ZodBoolean;
|
|
1170
1418
|
}, z.core.$strip>;
|
|
1171
|
-
export declare const
|
|
1419
|
+
export declare const runtimeZeroDbImportResponseSchema: z.ZodObject<{
|
|
1172
1420
|
space_id: z.ZodString;
|
|
1173
|
-
|
|
1174
|
-
|
|
1175
|
-
|
|
1421
|
+
version_id: z.ZodString;
|
|
1422
|
+
table: z.ZodString;
|
|
1423
|
+
imported: z.ZodNumber;
|
|
1176
1424
|
}, z.core.$strip>;
|
|
1177
1425
|
export declare const runtimeSpaceStateSchema: z.ZodObject<{
|
|
1178
1426
|
space_id: z.ZodString;
|
|
@@ -1234,6 +1482,11 @@ export declare const runtimeCallbackEventSchema: z.ZodObject<{
|
|
|
1234
1482
|
unmodeled: z.ZodString;
|
|
1235
1483
|
}, z.core.$strip>>>;
|
|
1236
1484
|
}, z.core.$loose>;
|
|
1485
|
+
export declare const runtimeJournalCursorSchema: z.ZodObject<{
|
|
1486
|
+
file: z.ZodString;
|
|
1487
|
+
offset: z.ZodNumber;
|
|
1488
|
+
inode: z.ZodOptional<z.ZodNumber>;
|
|
1489
|
+
}, z.core.$strict>;
|
|
1237
1490
|
export declare const runtimeEventsDrainRequestSchema: z.ZodObject<{
|
|
1238
1491
|
session_id: z.ZodString;
|
|
1239
1492
|
page_id: z.ZodOptional<z.ZodString>;
|
|
@@ -1253,7 +1506,6 @@ export declare const runtimeEventsDrainResponseSchema: z.ZodObject<{
|
|
|
1253
1506
|
events: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1254
1507
|
delivery_id: z.ZodString;
|
|
1255
1508
|
operation_id: z.ZodOptional<z.ZodString>;
|
|
1256
|
-
callback_token: z.ZodString;
|
|
1257
1509
|
event: z.ZodObject<{
|
|
1258
1510
|
event: z.ZodString;
|
|
1259
1511
|
event_id: z.ZodOptional<z.ZodString>;
|
|
@@ -1286,23 +1538,35 @@ export declare const runtimeEventsDrainResponseSchema: z.ZodObject<{
|
|
|
1286
1538
|
}, z.core.$strip>>>;
|
|
1287
1539
|
}, z.core.$loose>;
|
|
1288
1540
|
}, z.core.$strip>>>;
|
|
1541
|
+
cursor: z.ZodOptional<z.ZodObject<{
|
|
1542
|
+
file: z.ZodString;
|
|
1543
|
+
offset: z.ZodNumber;
|
|
1544
|
+
inode: z.ZodOptional<z.ZodNumber>;
|
|
1545
|
+
}, z.core.$strict>>;
|
|
1289
1546
|
}, z.core.$strip>;
|
|
1290
1547
|
export declare const runtimeEventsAckRequestSchema: z.ZodObject<{
|
|
1291
|
-
|
|
1292
|
-
|
|
1548
|
+
cursor: z.ZodOptional<z.ZodObject<{
|
|
1549
|
+
file: z.ZodString;
|
|
1550
|
+
offset: z.ZodNumber;
|
|
1551
|
+
inode: z.ZodOptional<z.ZodNumber>;
|
|
1552
|
+
}, z.core.$strict>>;
|
|
1553
|
+
session_id: z.ZodOptional<z.ZodString>;
|
|
1554
|
+
deliveries: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1293
1555
|
event_id: z.ZodString;
|
|
1294
1556
|
delivery_id: z.ZodString;
|
|
1295
|
-
}, z.core.$strip
|
|
1557
|
+
}, z.core.$strip>>>;
|
|
1296
1558
|
}, z.core.$strip>;
|
|
1297
1559
|
export declare const runtimeEventsAckResponseSchema: z.ZodObject<{
|
|
1298
1560
|
acknowledged_count: z.ZodNumber;
|
|
1299
1561
|
idempotent_count: z.ZodNumber;
|
|
1300
1562
|
stale_count: z.ZodNumber;
|
|
1563
|
+
cursor: z.ZodOptional<z.ZodObject<{
|
|
1564
|
+
file: z.ZodString;
|
|
1565
|
+
offset: z.ZodNumber;
|
|
1566
|
+
inode: z.ZodOptional<z.ZodNumber>;
|
|
1567
|
+
}, z.core.$strict>>;
|
|
1301
1568
|
}, z.core.$strip>;
|
|
1302
|
-
export declare const runtimeEngineJobLaneSchema: z.
|
|
1303
|
-
interactive: "interactive";
|
|
1304
|
-
bulk: "bulk";
|
|
1305
|
-
}>;
|
|
1569
|
+
export declare const runtimeEngineJobLaneSchema: z.ZodLiteral<"bulk">;
|
|
1306
1570
|
export declare const runtimeEngineJobStatusSchema: z.ZodEnum<{
|
|
1307
1571
|
failed: "failed";
|
|
1308
1572
|
running: "running";
|
|
@@ -1316,10 +1580,7 @@ export declare const runtimeEngineJobErrorSchema: z.ZodObject<{
|
|
|
1316
1580
|
export declare const runtimeEngineJobRecordSchema: z.ZodObject<{
|
|
1317
1581
|
id: z.ZodString;
|
|
1318
1582
|
type: z.ZodString;
|
|
1319
|
-
lane: z.
|
|
1320
|
-
interactive: "interactive";
|
|
1321
|
-
bulk: "bulk";
|
|
1322
|
-
}>;
|
|
1583
|
+
lane: z.ZodLiteral<"bulk">;
|
|
1323
1584
|
space_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1324
1585
|
operation_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1325
1586
|
status: z.ZodEnum<{
|
|
@@ -1351,10 +1612,7 @@ export declare const runtimeEngineJobResponseSchema: z.ZodObject<{
|
|
|
1351
1612
|
job: z.ZodObject<{
|
|
1352
1613
|
id: z.ZodString;
|
|
1353
1614
|
type: z.ZodString;
|
|
1354
|
-
lane: z.
|
|
1355
|
-
interactive: "interactive";
|
|
1356
|
-
bulk: "bulk";
|
|
1357
|
-
}>;
|
|
1615
|
+
lane: z.ZodLiteral<"bulk">;
|
|
1358
1616
|
space_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1359
1617
|
operation_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1360
1618
|
status: z.ZodEnum<{
|
|
@@ -1379,17 +1637,11 @@ export declare const runtimeEngineJobResponseSchema: z.ZodObject<{
|
|
|
1379
1637
|
}, z.core.$strip>;
|
|
1380
1638
|
}, z.core.$strip>;
|
|
1381
1639
|
export declare const runtimeEngineJobTickResponseSchema: z.ZodObject<{
|
|
1382
|
-
lane: z.
|
|
1383
|
-
interactive: "interactive";
|
|
1384
|
-
bulk: "bulk";
|
|
1385
|
-
}>;
|
|
1640
|
+
lane: z.ZodLiteral<"bulk">;
|
|
1386
1641
|
job: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1387
1642
|
id: z.ZodString;
|
|
1388
1643
|
type: z.ZodString;
|
|
1389
|
-
lane: z.
|
|
1390
|
-
interactive: "interactive";
|
|
1391
|
-
bulk: "bulk";
|
|
1392
|
-
}>;
|
|
1644
|
+
lane: z.ZodLiteral<"bulk">;
|
|
1393
1645
|
space_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1394
1646
|
operation_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1395
1647
|
status: z.ZodEnum<{
|
|
@@ -1415,34 +1667,23 @@ export declare const runtimeEngineJobTickResponseSchema: z.ZodObject<{
|
|
|
1415
1667
|
drained: z.ZodOptional<z.ZodBoolean>;
|
|
1416
1668
|
}, z.core.$strip>;
|
|
1417
1669
|
export type RuntimeVersionCreateRequest = z.infer<typeof runtimeVersionCreateRequestSchema>;
|
|
1670
|
+
export type RuntimeSpacePurgeRequest = z.infer<typeof runtimeSpacePurgeRequestSchema>;
|
|
1418
1671
|
export type RuntimeVersionFinalizeRequest = z.infer<typeof runtimeVersionFinalizeRequestSchema>;
|
|
1672
|
+
export type RuntimeVersionFinalizeResponse = z.infer<typeof runtimeVersionFinalizeResponseSchema>;
|
|
1673
|
+
export type RuntimeFinalizeTelemetry = z.infer<typeof runtimeFinalizeTelemetrySchema>;
|
|
1419
1674
|
export type RuntimeReadinessTarget = z.infer<typeof runtimeReadinessTargetSchema>;
|
|
1420
1675
|
export type RuntimeHostnameIntentUpdateRequest = z.infer<typeof runtimeHostnameIntentUpdateRequestSchema>;
|
|
1421
1676
|
export type RuntimeRouteUpdateRequest = z.infer<typeof runtimeRouteUpdateRequestSchema>;
|
|
1422
1677
|
export type RuntimeTombstonesUpdateRequest = z.infer<typeof runtimeTombstonesUpdateRequestSchema>;
|
|
1423
1678
|
export type RuntimeRetentionPolicyUpdateRequest = z.infer<typeof runtimeRetentionPolicyUpdateRequestSchema>;
|
|
1424
|
-
export type RuntimeRetentionPolicyUpdateResponse = z.infer<typeof runtimeRetentionPolicyUpdateResponseSchema>;
|
|
1425
|
-
export type RuntimeTransferBundleSourceRequest = z.infer<typeof runtimeTransferBundleSourceRequestSchema>;
|
|
1426
|
-
export type RuntimeTransferBundleTargetRequest = z.infer<typeof runtimeTransferBundleTargetRequestSchema>;
|
|
1427
|
-
export type RuntimeTransferBundleResponse = z.infer<typeof runtimeTransferBundleResponseSchema>;
|
|
1428
|
-
export type RuntimeTransferBundleStoredResponse = z.infer<typeof runtimeTransferBundleStoredResponseSchema>;
|
|
1429
|
-
export type RuntimeTransferCommitRequest = z.infer<typeof runtimeTransferCommitRequestSchema>;
|
|
1430
|
-
export type RuntimeTransferCommitResponse = z.infer<typeof runtimeTransferCommitResponseSchema>;
|
|
1431
|
-
export type RuntimeTransferAbortRequest = z.infer<typeof runtimeTransferAbortRequestSchema>;
|
|
1432
|
-
export type RuntimeTransferAbortResponse = z.infer<typeof runtimeTransferAbortResponseSchema>;
|
|
1433
|
-
export type RuntimeSpaceExportStartRequest = z.infer<typeof runtimeSpaceExportStartRequestSchema>;
|
|
1434
|
-
export type RuntimeSpaceImportStartRequest = z.infer<typeof runtimeSpaceImportStartRequestSchema>;
|
|
1435
|
-
export type RuntimeSpaceImportMapRequest = z.infer<typeof runtimeSpaceImportMapRequestSchema>;
|
|
1436
1679
|
export type RuntimeSpaceState = z.infer<typeof runtimeSpaceStateSchema>;
|
|
1437
1680
|
export type RuntimeCallbackEvent = z.infer<typeof runtimeCallbackEventSchema>;
|
|
1438
1681
|
export type RuntimeEventsDrainRequest = z.infer<typeof runtimeEventsDrainRequestSchema>;
|
|
1439
1682
|
export type RuntimeEventsDrainResponse = z.infer<typeof runtimeEventsDrainResponseSchema>;
|
|
1440
1683
|
export type RuntimeDrainedEvent = NonNullable<RuntimeEventsDrainResponse["events"]>[number];
|
|
1684
|
+
export type RuntimeJournalCursor = z.infer<typeof runtimeJournalCursorSchema>;
|
|
1441
1685
|
export type RuntimeEventsAckRequest = z.infer<typeof runtimeEventsAckRequestSchema>;
|
|
1442
1686
|
export type RuntimeEventsAckResponse = z.infer<typeof runtimeEventsAckResponseSchema>;
|
|
1443
1687
|
export type RuntimeEngineJobLane = z.infer<typeof runtimeEngineJobLaneSchema>;
|
|
1444
|
-
export type RuntimeEngineJobStatus = z.infer<typeof runtimeEngineJobStatusSchema>;
|
|
1445
1688
|
export type RuntimeEngineJobRecord = z.infer<typeof runtimeEngineJobRecordSchema>;
|
|
1446
1689
|
export type RuntimeEngineJobCreateRequest = z.infer<typeof runtimeEngineJobCreateRequestSchema>;
|
|
1447
|
-
export type RuntimeEngineJobResponse = z.infer<typeof runtimeEngineJobResponseSchema>;
|
|
1448
|
-
export type RuntimeEngineJobTickResponse = z.infer<typeof runtimeEngineJobTickResponseSchema>;
|