@spacefast/common 0.0.24 → 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 +65 -10
- package/dist/contracts/access.d.ts +3 -3
- package/dist/contracts/activity.d.ts +1 -1
- package/dist/contracts/activity.js +5 -3
- package/dist/contracts/api-keys.js +2 -2
- package/dist/contracts/billing.d.ts +2 -1
- package/dist/contracts/billing.js +30 -0
- package/dist/contracts/builds.d.ts +34 -22
- package/dist/contracts/builds.js +18 -6
- package/dist/contracts/channels.js +1 -1
- package/dist/contracts/comments.d.ts +1 -1
- package/dist/contracts/common.d.ts +6 -6
- 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.js +1 -1
- package/dist/contracts/docs.d.ts +5 -5
- package/dist/contracts/docs.js +2 -2
- package/dist/contracts/domains.d.ts +74 -63
- package/dist/contracts/domains.js +29 -2
- package/dist/contracts/enums.d.ts +3 -2
- package/dist/contracts/enums.js +10 -10
- package/dist/contracts/error-code-meta.d.ts +14 -0
- package/dist/contracts/error-code-meta.js +17 -0
- package/dist/contracts/error-codes.d.ts +1 -1
- package/dist/contracts/error-codes.js +4 -1
- package/dist/contracts/execution.d.ts +15 -12
- package/dist/contracts/execution.js +15 -12
- package/dist/contracts/feature-lifecycle.d.ts +4 -14
- package/dist/contracts/feature-lifecycle.js +0 -11
- package/dist/contracts/features.d.ts +33 -47
- package/dist/contracts/features.js +27 -20
- package/dist/contracts/functions.d.ts +169 -2
- package/dist/contracts/functions.js +160 -4
- package/dist/contracts/git.d.ts +27 -33
- package/dist/contracts/git.js +10 -11
- package/dist/contracts/grants.d.ts +2 -2
- package/dist/contracts/ids.js +2 -2
- package/dist/contracts/internal.d.ts +5 -16
- package/dist/contracts/internal.js +2 -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/operations.d.ts +4 -4
- package/dist/contracts/operations.js +2 -2
- package/dist/contracts/pages.d.ts +6 -6
- package/dist/contracts/plan-policy.d.ts +1 -1
- package/dist/contracts/plan-policy.js +1 -1
- package/dist/contracts/platform.d.ts +4 -4
- package/dist/contracts/publish-archive.d.ts +170 -160
- package/dist/contracts/publish-archive.js +8 -1
- 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 +8 -8
- package/dist/contracts/resources.js +6 -6
- package/dist/contracts/runtime-api.d.ts +103 -56
- package/dist/contracts/runtime-api.js +67 -26
- package/dist/contracts/runtime-app.d.ts +2 -2
- package/dist/contracts/runtime-db.d.ts +6 -6
- 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-storage.d.ts +3 -2
- package/dist/contracts/runtime-storage.js +2 -1
- package/dist/contracts/sf-config-v1.d.ts +48 -10
- package/dist/contracts/space-config.d.ts +60 -3
- package/dist/contracts/space-config.js +213 -18
- package/dist/contracts/spaces.d.ts +55 -74
- package/dist/contracts/spaces.js +11 -14
- package/dist/contracts/superadmin-spaces.d.ts +9 -9
- package/dist/contracts/superadmin-teams.d.ts +2 -2
- package/dist/contracts/superadmin-tenants.d.ts +0 -6
- package/dist/contracts/superadmin-tenants.js +1 -7
- package/dist/contracts/superadmin.d.ts +135 -22
- package/dist/contracts/superadmin.js +43 -12
- package/dist/contracts/tags.d.ts +21 -21
- package/dist/contracts/tags.js +3 -3
- package/dist/contracts/teams.d.ts +14 -17
- package/dist/contracts/teams.js +6 -6
- package/dist/contracts/transfers.js +2 -2
- package/dist/contracts/variables.d.ts +4 -4
- package/dist/contracts/variables.js +3 -3
- package/dist/contracts/webhooks.d.ts +4 -4
- package/dist/contracts/zero.d.ts +15 -17
- package/dist/contracts/zero.js +12 -12
- package/dist/docs/agent-prose.d.ts +1 -1
- package/dist/docs/agent-prose.js +11 -14
- package/dist/docs/agent-setup.js +5 -2
- package/dist/docs/catalog.d.ts +7 -7
- package/dist/docs/catalog.js +7 -7
- package/dist/docs/error-docs.js +145 -133
- package/dist/docs/skills.d.ts +12 -12
- package/dist/docs/skills.js +4 -4
- package/dist/test-helpers/fetch-stub.js +1 -0
- package/dist/utils/build-settings.d.ts +5 -1
- package/dist/utils/build-settings.js +82 -10
- package/dist/utils/canonical-json.js +1 -0
- package/dist/utils/concurrency.js +1 -0
- package/dist/utils/credential-policy.js +4 -3
- package/dist/utils/dns-instructions.js +9 -9
- package/dist/utils/error-code.js +1 -0
- package/dist/utils/grant-decision.fixtures.json +2 -2
- package/dist/utils/grants.js +3 -1
- package/dist/utils/local-space-state.d.ts +8 -11
- package/dist/utils/local-space-state.js +13 -24
- 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 +1 -1
- package/dist/utils/page-fonts.js +11 -18
- package/dist/utils/pages.d.ts +20 -1
- package/dist/utils/pages.js +22 -9
- package/dist/utils/publish-policy.d.ts +7 -0
- package/dist/utils/publish-policy.fixtures.json +11 -5
- package/dist/utils/publish-policy.js +9 -1
- package/dist/utils/query-keys.d.ts +4 -4
- package/dist/utils/query-keys.js +2 -2
- package/dist/utils/runtime-upload.d.ts +5 -0
- package/dist/utils/runtime-upload.js +7 -0
- package/dist/utils/secure-local-file.js +5 -16
- package/dist/utils/space-config.d.ts +1 -1
- package/dist/utils/space-config.js +3 -0
- 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/upload-session.d.ts +4 -1
- package/dist/utils/upload-session.js +33 -5
- package/dist/utils/version-path.js +1 -1
- package/dist/vocabulary.d.ts +8 -8
- package/dist/vocabulary.js +31 -20
- package/package.json +2 -17
|
@@ -9,6 +9,12 @@ export declare const repositoryConnectionSyncStatusSchema: z.ZodEnum<{
|
|
|
9
9
|
idle: "idle";
|
|
10
10
|
syncing: "syncing";
|
|
11
11
|
}>;
|
|
12
|
+
export declare const repositoryProviderAccessStatusSchema: z.ZodEnum<{
|
|
13
|
+
active: "active";
|
|
14
|
+
suspended: "suspended";
|
|
15
|
+
revoked: "revoked";
|
|
16
|
+
reauthorization_required: "reauthorization_required";
|
|
17
|
+
}>;
|
|
12
18
|
export declare const RepositoryConnectionSchema: z.ZodObject<{
|
|
13
19
|
id: z.ZodString;
|
|
14
20
|
spaceId: z.ZodString;
|
|
@@ -51,6 +57,13 @@ export declare const RepositoryConnectionSchema: z.ZodObject<{
|
|
|
51
57
|
idle: "idle";
|
|
52
58
|
syncing: "syncing";
|
|
53
59
|
}>;
|
|
60
|
+
providerAccessStatus: z.ZodDefault<z.ZodEnum<{
|
|
61
|
+
active: "active";
|
|
62
|
+
suspended: "suspended";
|
|
63
|
+
revoked: "revoked";
|
|
64
|
+
reauthorization_required: "reauthorization_required";
|
|
65
|
+
}>>;
|
|
66
|
+
providerAccessError: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
54
67
|
lastSyncedAt: z.ZodNullable<z.ZodString>;
|
|
55
68
|
lastSyncError: z.ZodNullable<z.ZodString>;
|
|
56
69
|
syncRunId: z.ZodNullable<z.ZodString>;
|
|
@@ -81,16 +94,16 @@ export declare const repositoryConnectionCreateSchema: z.ZodObject<{
|
|
|
81
94
|
autoDeployProduction: z.ZodDefault<z.ZodBoolean>;
|
|
82
95
|
autoDeployPreviews: z.ZodDefault<z.ZodBoolean>;
|
|
83
96
|
buildSettings: z.ZodOptional<z.ZodObject<{
|
|
84
|
-
rootDirectory: z.ZodOptional<z.
|
|
85
|
-
installDirectory: z.ZodOptional<z.
|
|
86
|
-
installCommand: z.ZodOptional<z.
|
|
87
|
-
buildCommand: z.ZodOptional<z.
|
|
88
|
-
outputDirectory: z.ZodOptional<z.
|
|
89
|
-
ignoredBuildCommand: z.ZodOptional<z.
|
|
90
|
-
frameworkPreset: z.ZodOptional<z.
|
|
91
|
-
platformPreset: z.ZodOptional<z.
|
|
92
|
-
allowUnsupportedPlatformFeatures: z.ZodOptional<z.
|
|
93
|
-
timeoutSeconds: z.ZodOptional<z.
|
|
97
|
+
rootDirectory: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
98
|
+
installDirectory: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
99
|
+
installCommand: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
100
|
+
buildCommand: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
101
|
+
outputDirectory: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
102
|
+
ignoredBuildCommand: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
103
|
+
frameworkPreset: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
104
|
+
platformPreset: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
105
|
+
allowUnsupportedPlatformFeatures: z.ZodOptional<z.ZodBoolean>;
|
|
106
|
+
timeoutSeconds: z.ZodOptional<z.ZodNumber>;
|
|
94
107
|
}, z.core.$strip>>;
|
|
95
108
|
}, z.core.$strip>;
|
|
96
109
|
export declare const repositoryConnectionPatchSchema: z.ZodObject<{
|
|
@@ -105,16 +118,16 @@ export declare const repositoryConnectionPatchSchema: z.ZodObject<{
|
|
|
105
118
|
autoDeployProduction: z.ZodOptional<z.ZodBoolean>;
|
|
106
119
|
autoDeployPreviews: z.ZodOptional<z.ZodBoolean>;
|
|
107
120
|
buildSettings: z.ZodOptional<z.ZodObject<{
|
|
108
|
-
rootDirectory: z.ZodOptional<z.
|
|
109
|
-
installDirectory: z.ZodOptional<z.
|
|
110
|
-
installCommand: z.ZodOptional<z.
|
|
111
|
-
buildCommand: z.ZodOptional<z.
|
|
112
|
-
outputDirectory: z.ZodOptional<z.
|
|
113
|
-
ignoredBuildCommand: z.ZodOptional<z.
|
|
114
|
-
frameworkPreset: z.ZodOptional<z.
|
|
115
|
-
platformPreset: z.ZodOptional<z.
|
|
116
|
-
allowUnsupportedPlatformFeatures: z.ZodOptional<z.
|
|
117
|
-
timeoutSeconds: z.ZodOptional<z.
|
|
121
|
+
rootDirectory: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
122
|
+
installDirectory: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
123
|
+
installCommand: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
124
|
+
buildCommand: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
125
|
+
outputDirectory: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
126
|
+
ignoredBuildCommand: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
127
|
+
frameworkPreset: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
128
|
+
platformPreset: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
129
|
+
allowUnsupportedPlatformFeatures: z.ZodOptional<z.ZodBoolean>;
|
|
130
|
+
timeoutSeconds: z.ZodOptional<z.ZodNumber>;
|
|
118
131
|
}, z.core.$strip>>;
|
|
119
132
|
}, z.core.$strip>;
|
|
120
133
|
export declare const repositoryImportRemoteSchema: z.ZodObject<{
|
|
@@ -132,16 +145,16 @@ export declare const repositoryImportRemoteSchema: z.ZodObject<{
|
|
|
132
145
|
productionBranch: z.ZodOptional<z.ZodString>;
|
|
133
146
|
cloneUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
134
147
|
buildSettings: z.ZodOptional<z.ZodObject<{
|
|
135
|
-
rootDirectory: z.ZodOptional<z.
|
|
136
|
-
installDirectory: z.ZodOptional<z.
|
|
137
|
-
installCommand: z.ZodOptional<z.
|
|
138
|
-
buildCommand: z.ZodOptional<z.
|
|
139
|
-
outputDirectory: z.ZodOptional<z.
|
|
140
|
-
ignoredBuildCommand: z.ZodOptional<z.
|
|
141
|
-
frameworkPreset: z.ZodOptional<z.
|
|
142
|
-
platformPreset: z.ZodOptional<z.
|
|
143
|
-
allowUnsupportedPlatformFeatures: z.ZodOptional<z.
|
|
144
|
-
timeoutSeconds: z.ZodOptional<z.
|
|
148
|
+
rootDirectory: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
149
|
+
installDirectory: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
150
|
+
installCommand: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
151
|
+
buildCommand: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
152
|
+
outputDirectory: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
153
|
+
ignoredBuildCommand: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
154
|
+
frameworkPreset: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
155
|
+
platformPreset: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
156
|
+
allowUnsupportedPlatformFeatures: z.ZodOptional<z.ZodBoolean>;
|
|
157
|
+
timeoutSeconds: z.ZodOptional<z.ZodNumber>;
|
|
145
158
|
}, z.core.$strip>>;
|
|
146
159
|
autoDeployProduction: z.ZodDefault<z.ZodBoolean>;
|
|
147
160
|
autoDeployPreviews: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
|
-
import { BuildSettingsSchema } from "./builds.js";
|
|
2
|
+
import { BuildSettingsOverrideSchema, BuildSettingsSchema } from "./builds.js";
|
|
3
3
|
import { CursorPaginationSchema, cursorListQuerySchema } from "./common.js";
|
|
4
4
|
import { gitProvider } from "./enums.js";
|
|
5
5
|
// Two connection types only:
|
|
@@ -9,6 +9,12 @@ import { gitProvider } from "./enums.js";
|
|
|
9
9
|
// not a connection type, so `import` is intentionally absent from this union.
|
|
10
10
|
export const repositoryConnectionTypeSchema = z.enum(["connected", "hosted"]);
|
|
11
11
|
export const repositoryConnectionSyncStatusSchema = z.enum(["idle", "syncing", "ready", "failed"]);
|
|
12
|
+
export const repositoryProviderAccessStatusSchema = z.enum([
|
|
13
|
+
"active",
|
|
14
|
+
"suspended",
|
|
15
|
+
"revoked",
|
|
16
|
+
"reauthorization_required",
|
|
17
|
+
]);
|
|
12
18
|
export const RepositoryConnectionSchema = z.object({
|
|
13
19
|
id: z.string().describe("Repository connection id (`rpc_`)."),
|
|
14
20
|
spaceId: z.string(),
|
|
@@ -37,6 +43,8 @@ export const RepositoryConnectionSchema = z.object({
|
|
|
37
43
|
autoDeployPreviews: z.boolean(),
|
|
38
44
|
buildSettings: BuildSettingsSchema,
|
|
39
45
|
syncStatus: repositoryConnectionSyncStatusSchema,
|
|
46
|
+
providerAccessStatus: repositoryProviderAccessStatusSchema.default("active"),
|
|
47
|
+
providerAccessError: z.string().nullable().default(null),
|
|
40
48
|
lastSyncedAt: z.string().datetime().nullable(),
|
|
41
49
|
lastSyncError: z.string().nullable(),
|
|
42
50
|
syncRunId: z.string().nullable(),
|
|
@@ -64,7 +72,7 @@ export const repositoryConnectionCreateSchema = z.object({
|
|
|
64
72
|
credential: z.string().trim().min(1).nullable().optional(),
|
|
65
73
|
autoDeployProduction: z.boolean().default(true),
|
|
66
74
|
autoDeployPreviews: z.boolean().default(true),
|
|
67
|
-
buildSettings:
|
|
75
|
+
buildSettings: BuildSettingsOverrideSchema.optional(),
|
|
68
76
|
});
|
|
69
77
|
export const repositoryConnectionPatchSchema = z.object({
|
|
70
78
|
connectionType: repositoryConnectionTypeSchema.optional(),
|
|
@@ -74,7 +82,7 @@ export const repositoryConnectionPatchSchema = z.object({
|
|
|
74
82
|
credential: z.string().trim().min(1).nullable().optional(),
|
|
75
83
|
autoDeployProduction: z.boolean().optional(),
|
|
76
84
|
autoDeployPreviews: z.boolean().optional(),
|
|
77
|
-
buildSettings:
|
|
85
|
+
buildSettings: BuildSettingsOverrideSchema.optional(),
|
|
78
86
|
});
|
|
79
87
|
// Importing an existing external remote is an action/flag, not a connection
|
|
80
88
|
// type. It produces a `connected` connection seeded from an upstream remote.
|
|
@@ -3,14 +3,14 @@ export declare const DiagnosticSchema: z.ZodObject<{
|
|
|
3
3
|
code: z.ZodString;
|
|
4
4
|
severity: z.ZodEnum<{
|
|
5
5
|
info: "info";
|
|
6
|
-
warning: "warning";
|
|
7
6
|
error: "error";
|
|
7
|
+
warning: "warning";
|
|
8
8
|
}>;
|
|
9
9
|
message: z.ZodString;
|
|
10
10
|
path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11
11
|
provider: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
12
12
|
registrar: "registrar";
|
|
13
|
-
|
|
13
|
+
infra: "infra";
|
|
14
14
|
dns: "dns";
|
|
15
15
|
runtime: "runtime";
|
|
16
16
|
}>>>;
|
|
@@ -208,14 +208,14 @@ export declare const SpaceSchema: z.ZodObject<{
|
|
|
208
208
|
code: z.ZodString;
|
|
209
209
|
severity: z.ZodEnum<{
|
|
210
210
|
info: "info";
|
|
211
|
-
warning: "warning";
|
|
212
211
|
error: "error";
|
|
212
|
+
warning: "warning";
|
|
213
213
|
}>;
|
|
214
214
|
message: z.ZodString;
|
|
215
215
|
path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
216
216
|
provider: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
217
217
|
registrar: "registrar";
|
|
218
|
-
|
|
218
|
+
infra: "infra";
|
|
219
219
|
dns: "dns";
|
|
220
220
|
runtime: "runtime";
|
|
221
221
|
}>>>;
|
|
@@ -439,14 +439,14 @@ export declare const VersionSchema: z.ZodObject<{
|
|
|
439
439
|
code: z.ZodString;
|
|
440
440
|
severity: z.ZodEnum<{
|
|
441
441
|
info: "info";
|
|
442
|
-
warning: "warning";
|
|
443
442
|
error: "error";
|
|
443
|
+
warning: "warning";
|
|
444
444
|
}>;
|
|
445
445
|
message: z.ZodString;
|
|
446
446
|
path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
447
447
|
provider: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
448
448
|
registrar: "registrar";
|
|
449
|
-
|
|
449
|
+
infra: "infra";
|
|
450
450
|
dns: "dns";
|
|
451
451
|
runtime: "runtime";
|
|
452
452
|
}>>>;
|
|
@@ -466,14 +466,14 @@ export declare const VersionSchema: z.ZodObject<{
|
|
|
466
466
|
code: z.ZodString;
|
|
467
467
|
severity: z.ZodEnum<{
|
|
468
468
|
info: "info";
|
|
469
|
-
warning: "warning";
|
|
470
469
|
error: "error";
|
|
470
|
+
warning: "warning";
|
|
471
471
|
}>;
|
|
472
472
|
message: z.ZodString;
|
|
473
473
|
path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
474
474
|
provider: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
475
475
|
registrar: "registrar";
|
|
476
|
-
|
|
476
|
+
infra: "infra";
|
|
477
477
|
dns: "dns";
|
|
478
478
|
runtime: "runtime";
|
|
479
479
|
}>>>;
|
|
@@ -13,7 +13,7 @@ export const PrincipalRefSchema = z.object({
|
|
|
13
13
|
principalType: z.enum(["team", "external"]),
|
|
14
14
|
principalId: z.string(),
|
|
15
15
|
});
|
|
16
|
-
// ChannelPointer (
|
|
16
|
+
// ChannelPointer (the platform spec "ChannelPointer"): a channel names
|
|
17
17
|
// exactly one version. A channel with no version yet is absent from the map
|
|
18
18
|
// rather than present with an empty pointer.
|
|
19
19
|
export const ChannelPointerSchema = z.object({
|
|
@@ -36,11 +36,11 @@ export const SpaceSchema = z.object({
|
|
|
36
36
|
// platform-surface fields (like `tenantId` and `principal`): the public API
|
|
37
37
|
// reference strips them, the platform document keeps them. Null until the
|
|
38
38
|
// space is placed.
|
|
39
|
-
providerRef: z.string().nullable().describe("WP
|
|
39
|
+
providerRef: z.string().nullable().describe("WP Cloud `atomic_site_id` serving this space."),
|
|
40
40
|
providerClientId: z
|
|
41
41
|
.string()
|
|
42
42
|
.nullable()
|
|
43
|
-
.describe("WP
|
|
43
|
+
.describe("WP Cloud client identity (`pvc_...`) the space's site is provisioned under."),
|
|
44
44
|
teamId: z.string().nullable(),
|
|
45
45
|
teamSlug: z.string().nullable(),
|
|
46
46
|
principal: PrincipalRefSchema.nullable(),
|
|
@@ -57,7 +57,7 @@ export const SpaceSchema = z.object({
|
|
|
57
57
|
reasonCode: spaceDisabledReasonCode.describe("Why serving is disabled."),
|
|
58
58
|
})
|
|
59
59
|
.nullable(),
|
|
60
|
-
// Anonymous-claim lifecycle (
|
|
60
|
+
// Anonymous-claim lifecycle (the platform spec Space.claimState): null
|
|
61
61
|
// for spaces that never went through the anonymous lifecycle. `purgeAfter` is
|
|
62
62
|
// the end of the one-day post-expiry recovery window before content deletion.
|
|
63
63
|
claimState: z
|
|
@@ -118,7 +118,7 @@ export const SpaceSchema = z.object({
|
|
|
118
118
|
createdAt: z.string().datetime(),
|
|
119
119
|
updatedAt: z.string().datetime(),
|
|
120
120
|
});
|
|
121
|
-
// PublishSource (
|
|
121
|
+
// PublishSource (the platform spec "PublishSource"): the single
|
|
122
122
|
// provenance shape for how a version came to exist. Sent on publish/version
|
|
123
123
|
// create and echoed on the Version resource. Structured CI/git detail beyond
|
|
124
124
|
// the named fields rides in `metadata` (string values only).
|
|
@@ -128,7 +128,7 @@ export const PublishSourceSchema = z.object({
|
|
|
128
128
|
.string()
|
|
129
129
|
.max(255)
|
|
130
130
|
.optional()
|
|
131
|
-
.describe("Publishing client attribution,
|
|
131
|
+
.describe("Publishing client attribution, for example `spacefast-cli/1.2.3`."),
|
|
132
132
|
branch: z.string().max(255).optional().describe("Git branch the publish came from."),
|
|
133
133
|
commit: z.string().max(64).optional().describe("Git commit SHA the publish came from."),
|
|
134
134
|
message: z
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
|
+
import { manifestFileSchema } from "./internal.js";
|
|
2
3
|
export declare const RUNTIME_CHANGED_PATHS_MAX = 900;
|
|
3
4
|
export declare const runtimePurgeReceiptSchema: z.ZodObject<{
|
|
4
5
|
status: z.ZodEnum<{
|
|
5
6
|
failed: "failed";
|
|
7
|
+
queued: "queued";
|
|
6
8
|
pending: "pending";
|
|
7
9
|
ok: "ok";
|
|
8
10
|
}>;
|
|
@@ -20,6 +22,7 @@ export declare const runtimeSpacePurgeResponseSchema: z.ZodObject<{
|
|
|
20
22
|
purge: z.ZodObject<{
|
|
21
23
|
status: z.ZodEnum<{
|
|
22
24
|
failed: "failed";
|
|
25
|
+
queued: "queued";
|
|
23
26
|
pending: "pending";
|
|
24
27
|
ok: "ok";
|
|
25
28
|
}>;
|
|
@@ -47,6 +50,12 @@ export declare const runtimeVersionFilesResponseSchema: z.ZodObject<{
|
|
|
47
50
|
}, z.core.$strip>>;
|
|
48
51
|
next_cursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
49
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>;
|
|
50
59
|
export declare const runtimeVersionCreateRequestSchema: z.ZodObject<{
|
|
51
60
|
version_id: z.ZodOptional<z.ZodString>;
|
|
52
61
|
files: z.ZodArray<z.ZodObject<{
|
|
@@ -56,6 +65,11 @@ export declare const runtimeVersionCreateRequestSchema: z.ZodObject<{
|
|
|
56
65
|
contentType: z.ZodOptional<z.ZodString>;
|
|
57
66
|
sourceUrl: z.ZodOptional<z.ZodString>;
|
|
58
67
|
}, z.core.$strip>>;
|
|
68
|
+
retention: z.ZodEnum<{
|
|
69
|
+
all: "all";
|
|
70
|
+
list: "list";
|
|
71
|
+
none: "none";
|
|
72
|
+
}>;
|
|
59
73
|
retained_files: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
60
74
|
path: z.ZodString;
|
|
61
75
|
size: z.ZodNumber;
|
|
@@ -87,6 +101,11 @@ export declare const runtimeUploadSessionDescriptorSchema: z.ZodObject<{
|
|
|
87
101
|
contentType: z.ZodOptional<z.ZodString>;
|
|
88
102
|
sourceUrl: z.ZodOptional<z.ZodString>;
|
|
89
103
|
}, z.core.$strip>>;
|
|
104
|
+
retention: z.ZodEnum<{
|
|
105
|
+
all: "all";
|
|
106
|
+
list: "list";
|
|
107
|
+
none: "none";
|
|
108
|
+
}>;
|
|
90
109
|
retained_files: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
91
110
|
path: z.ZodString;
|
|
92
111
|
size: z.ZodNumber;
|
|
@@ -98,6 +117,27 @@ export declare const runtimeUploadSessionDescriptorSchema: z.ZodObject<{
|
|
|
98
117
|
metadata: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
99
118
|
}, z.core.$strip>;
|
|
100
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
|
+
};
|
|
101
141
|
export declare const RUNTIME_UPLOAD_SESSION_DESCRIPTOR_MAX_BYTES = 4096;
|
|
102
142
|
export declare const RUNTIME_UPLOAD_AUTHORIZATION_HEADER_MAX_BYTES: number;
|
|
103
143
|
export declare const RUNTIME_UPLOAD_SESSION_STORED_MAX_BYTES: number;
|
|
@@ -164,7 +204,6 @@ export declare const runtimeAccessPageDescriptorSchema: z.ZodObject<{
|
|
|
164
204
|
credential: z.ZodString;
|
|
165
205
|
}, z.core.$strip>>;
|
|
166
206
|
}, z.core.$strict>;
|
|
167
|
-
export type RuntimeAccessPageDescriptor = z.infer<typeof runtimeAccessPageDescriptorSchema>;
|
|
168
207
|
export declare const RUNTIME_AUTHORIZATION_GRANT_LIMIT = 1024;
|
|
169
208
|
export declare const runtimeAuthorizationProjectionSchema: z.ZodObject<{
|
|
170
209
|
generation: z.ZodNumber;
|
|
@@ -283,6 +322,11 @@ export declare const runtimeVersionFinalizeRequestSchema: z.ZodObject<{
|
|
|
283
322
|
contentType: z.ZodOptional<z.ZodString>;
|
|
284
323
|
sourceUrl: z.ZodOptional<z.ZodString>;
|
|
285
324
|
}, z.core.$strip>>;
|
|
325
|
+
retention: z.ZodEnum<{
|
|
326
|
+
all: "all";
|
|
327
|
+
list: "list";
|
|
328
|
+
none: "none";
|
|
329
|
+
}>;
|
|
286
330
|
retained_files: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
287
331
|
path: z.ZodString;
|
|
288
332
|
size: z.ZodNumber;
|
|
@@ -366,7 +410,7 @@ export declare const runtimeVersionFinalizeRequestSchema: z.ZodObject<{
|
|
|
366
410
|
sockets: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
367
411
|
}, z.core.$strict>;
|
|
368
412
|
db: z.ZodObject<{
|
|
369
|
-
backend: z.ZodLiteral<"
|
|
413
|
+
backend: z.ZodLiteral<"mysql">;
|
|
370
414
|
migrations: z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
371
415
|
op: z.ZodLiteral<"create_table">;
|
|
372
416
|
table: z.ZodString;
|
|
@@ -519,7 +563,7 @@ export declare const runtimeVersionFinalizeRequestSchema: z.ZodObject<{
|
|
|
519
563
|
binary: z.ZodObject<{
|
|
520
564
|
path: z.ZodLiteral<"__spacefast/zero/bin/stattic-runtime">;
|
|
521
565
|
compatibilityTarget: z.ZodObject<{
|
|
522
|
-
profile: z.ZodLiteral<"
|
|
566
|
+
profile: z.ZodLiteral<"linux-x86_64-gnu-v1">;
|
|
523
567
|
os: z.ZodLiteral<"linux">;
|
|
524
568
|
cpu: z.ZodLiteral<"x86_64">;
|
|
525
569
|
libc: z.ZodLiteral<"glibc">;
|
|
@@ -540,8 +584,8 @@ export declare const runtimeVersionFinalizeRequestSchema: z.ZodObject<{
|
|
|
540
584
|
}, z.core.$strict>;
|
|
541
585
|
inspect: z.ZodDefault<z.ZodObject<{
|
|
542
586
|
policy: z.ZodDefault<z.ZodEnum<{
|
|
543
|
-
public: "public";
|
|
544
587
|
private: "private";
|
|
588
|
+
public: "public";
|
|
545
589
|
}>>;
|
|
546
590
|
}, z.core.$strict>>;
|
|
547
591
|
variableValues: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
@@ -562,6 +606,12 @@ export declare const runtimeVersionFinalizeRequestSchema: z.ZodObject<{
|
|
|
562
606
|
sha256: z.ZodString;
|
|
563
607
|
size: z.ZodNumber;
|
|
564
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>>>;
|
|
565
615
|
compatibilityDate: z.ZodString;
|
|
566
616
|
compatibilityFlags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
567
617
|
routes: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
@@ -577,6 +627,7 @@ export declare const runtimeVersionFinalizeRequestSchema: z.ZodObject<{
|
|
|
577
627
|
path: z.ZodString;
|
|
578
628
|
subtree: z.ZodDefault<z.ZodBoolean>;
|
|
579
629
|
}, z.core.$strict>>>;
|
|
630
|
+
bypassCookies: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
580
631
|
capabilities: z.ZodDefault<z.ZodObject<{
|
|
581
632
|
db: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
582
633
|
fetch: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
@@ -599,6 +650,7 @@ export declare const runtimeVersionFinalizeRequestSchema: z.ZodObject<{
|
|
|
599
650
|
host: z.ZodObject<{
|
|
600
651
|
hostname: z.ZodString;
|
|
601
652
|
bundleUrl: z.ZodString;
|
|
653
|
+
seedUrl: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
602
654
|
}, z.core.$strict>;
|
|
603
655
|
grantedCapabilities: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
604
656
|
fetch: "fetch";
|
|
@@ -622,6 +674,9 @@ export declare const runtimeVersionFinalizeRequestSchema: z.ZodObject<{
|
|
|
622
674
|
url: z.ZodString;
|
|
623
675
|
token: z.ZodString;
|
|
624
676
|
}, z.core.$strict>>>;
|
|
677
|
+
purge: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
678
|
+
token: z.ZodString;
|
|
679
|
+
}, z.core.$strict>>>;
|
|
625
680
|
variableValues: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
626
681
|
}, z.core.$strict>>;
|
|
627
682
|
variable_scopes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -662,8 +717,8 @@ export declare const runtimeVersionFinalizeRequestSchema: z.ZodObject<{
|
|
|
662
717
|
pages: z.ZodOptional<z.ZodObject<{
|
|
663
718
|
routes: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
664
719
|
pages: z.ZodOptional<z.ZodRecord<z.ZodEnum<{
|
|
665
|
-
denied: "denied";
|
|
666
720
|
access: "access";
|
|
721
|
+
denied: "denied";
|
|
667
722
|
404: "404";
|
|
668
723
|
}>, z.ZodString>>;
|
|
669
724
|
index: z.ZodOptional<z.ZodString>;
|
|
@@ -913,8 +968,8 @@ export declare const runtimeCatalogDeltaSchema: z.ZodObject<{
|
|
|
913
968
|
export declare const runtimeCompileDiagnosticSchema: z.ZodObject<{
|
|
914
969
|
severity: z.ZodEnum<{
|
|
915
970
|
info: "info";
|
|
916
|
-
warning: "warning";
|
|
917
971
|
error: "error";
|
|
972
|
+
warning: "warning";
|
|
918
973
|
}>;
|
|
919
974
|
code: z.ZodString;
|
|
920
975
|
message: z.ZodString;
|
|
@@ -930,10 +985,28 @@ export declare const runtimeCompiledRoutingSchema: z.ZodObject<{
|
|
|
930
985
|
destination: z.ZodString;
|
|
931
986
|
}, z.core.$strip>>>;
|
|
932
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>;
|
|
933
1005
|
export declare const runtimeVersionFinalizeResponseSchema: z.ZodObject<{
|
|
934
1006
|
purge: z.ZodOptional<z.ZodObject<{
|
|
935
1007
|
status: z.ZodEnum<{
|
|
936
1008
|
failed: "failed";
|
|
1009
|
+
queued: "queued";
|
|
937
1010
|
pending: "pending";
|
|
938
1011
|
ok: "ok";
|
|
939
1012
|
}>;
|
|
@@ -950,8 +1023,8 @@ export declare const runtimeVersionFinalizeResponseSchema: z.ZodObject<{
|
|
|
950
1023
|
diagnostics: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
951
1024
|
severity: z.ZodEnum<{
|
|
952
1025
|
info: "info";
|
|
953
|
-
warning: "warning";
|
|
954
1026
|
error: "error";
|
|
1027
|
+
warning: "warning";
|
|
955
1028
|
}>;
|
|
956
1029
|
code: z.ZodString;
|
|
957
1030
|
message: z.ZodString;
|
|
@@ -990,6 +1063,23 @@ export declare const runtimeVersionFinalizeResponseSchema: z.ZodObject<{
|
|
|
990
1063
|
path: z.ZodString;
|
|
991
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>]>>;
|
|
992
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>>;
|
|
993
1083
|
activation_event_id: z.ZodOptional<z.ZodString>;
|
|
994
1084
|
}, z.core.$strip>;
|
|
995
1085
|
export declare const runtimeZeroMigrationsApplyResponseSchema: z.ZodObject<{
|
|
@@ -1190,6 +1280,7 @@ export declare const runtimeRouteUpdateResponseSchema: z.ZodObject<{
|
|
|
1190
1280
|
purge: z.ZodOptional<z.ZodObject<{
|
|
1191
1281
|
status: z.ZodEnum<{
|
|
1192
1282
|
failed: "failed";
|
|
1283
|
+
queued: "queued";
|
|
1193
1284
|
pending: "pending";
|
|
1194
1285
|
ok: "ok";
|
|
1195
1286
|
}>;
|
|
@@ -1209,6 +1300,7 @@ export declare const runtimeHostnameIntentUpdateResponseSchema: z.ZodObject<{
|
|
|
1209
1300
|
purge: z.ZodOptional<z.ZodObject<{
|
|
1210
1301
|
status: z.ZodEnum<{
|
|
1211
1302
|
failed: "failed";
|
|
1303
|
+
queued: "queued";
|
|
1212
1304
|
pending: "pending";
|
|
1213
1305
|
ok: "ok";
|
|
1214
1306
|
}>;
|
|
@@ -1235,6 +1327,7 @@ export declare const runtimeTombstonesUpdateResponseSchema: z.ZodObject<{
|
|
|
1235
1327
|
purge: z.ZodOptional<z.ZodObject<{
|
|
1236
1328
|
status: z.ZodEnum<{
|
|
1237
1329
|
failed: "failed";
|
|
1330
|
+
queued: "queued";
|
|
1238
1331
|
pending: "pending";
|
|
1239
1332
|
ok: "ok";
|
|
1240
1333
|
}>;
|
|
@@ -1254,6 +1347,7 @@ export declare const runtimeRetentionPolicyUpdateResponseSchema: z.ZodObject<{
|
|
|
1254
1347
|
purge: z.ZodOptional<z.ZodObject<{
|
|
1255
1348
|
status: z.ZodEnum<{
|
|
1256
1349
|
failed: "failed";
|
|
1350
|
+
queued: "queued";
|
|
1257
1351
|
pending: "pending";
|
|
1258
1352
|
ok: "ok";
|
|
1259
1353
|
}>;
|
|
@@ -1266,26 +1360,11 @@ export declare const runtimeRetentionPolicyUpdateResponseSchema: z.ZodObject<{
|
|
|
1266
1360
|
space_id: z.ZodString;
|
|
1267
1361
|
prunable_count: z.ZodNumber;
|
|
1268
1362
|
}, z.core.$strip>;
|
|
1269
|
-
export declare const runtimeSpaceDeleteResponseSchema: z.ZodObject<{
|
|
1270
|
-
purge: z.ZodOptional<z.ZodObject<{
|
|
1271
|
-
status: z.ZodEnum<{
|
|
1272
|
-
failed: "failed";
|
|
1273
|
-
pending: "pending";
|
|
1274
|
-
ok: "ok";
|
|
1275
|
-
}>;
|
|
1276
|
-
mode: z.ZodEnum<{
|
|
1277
|
-
domain: "domain";
|
|
1278
|
-
urls: "urls";
|
|
1279
|
-
}>;
|
|
1280
|
-
urls: z.ZodOptional<z.ZodNumber>;
|
|
1281
|
-
}, z.core.$strip>>;
|
|
1282
|
-
space_id: z.ZodString;
|
|
1283
|
-
status: z.ZodLiteral<"deleted">;
|
|
1284
|
-
}, z.core.$strip>;
|
|
1285
1363
|
export declare const runtimeVersionDeleteResponseSchema: z.ZodObject<{
|
|
1286
1364
|
purge: z.ZodOptional<z.ZodObject<{
|
|
1287
1365
|
status: z.ZodEnum<{
|
|
1288
1366
|
failed: "failed";
|
|
1367
|
+
queued: "queued";
|
|
1289
1368
|
pending: "pending";
|
|
1290
1369
|
ok: "ok";
|
|
1291
1370
|
}>;
|
|
@@ -1299,22 +1378,6 @@ export declare const runtimeVersionDeleteResponseSchema: z.ZodObject<{
|
|
|
1299
1378
|
version_id: z.ZodString;
|
|
1300
1379
|
status: z.ZodLiteral<"deleted">;
|
|
1301
1380
|
}, z.core.$strip>;
|
|
1302
|
-
export declare const runtimeSpaceRepairResponseSchema: z.ZodObject<{
|
|
1303
|
-
purge: z.ZodOptional<z.ZodObject<{
|
|
1304
|
-
status: z.ZodEnum<{
|
|
1305
|
-
failed: "failed";
|
|
1306
|
-
pending: "pending";
|
|
1307
|
-
ok: "ok";
|
|
1308
|
-
}>;
|
|
1309
|
-
mode: z.ZodEnum<{
|
|
1310
|
-
domain: "domain";
|
|
1311
|
-
urls: "urls";
|
|
1312
|
-
}>;
|
|
1313
|
-
urls: z.ZodOptional<z.ZodNumber>;
|
|
1314
|
-
}, z.core.$strip>>;
|
|
1315
|
-
space_id: z.ZodString;
|
|
1316
|
-
status: z.ZodLiteral<"repaired">;
|
|
1317
|
-
}, z.core.$strip>;
|
|
1318
1381
|
export declare const runtimePinCreateRequestSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
1319
1382
|
mode: z.ZodLiteral<"snapshot">;
|
|
1320
1383
|
version_ids: z.ZodArray<z.ZodString>;
|
|
@@ -1604,28 +1667,15 @@ export declare const runtimeEngineJobTickResponseSchema: z.ZodObject<{
|
|
|
1604
1667
|
drained: z.ZodOptional<z.ZodBoolean>;
|
|
1605
1668
|
}, z.core.$strip>;
|
|
1606
1669
|
export type RuntimeVersionCreateRequest = z.infer<typeof runtimeVersionCreateRequestSchema>;
|
|
1607
|
-
export type RuntimePurgeReceipt = z.infer<typeof runtimePurgeReceiptSchema>;
|
|
1608
1670
|
export type RuntimeSpacePurgeRequest = z.infer<typeof runtimeSpacePurgeRequestSchema>;
|
|
1609
|
-
export type RuntimeSpacePurgeResponse = z.infer<typeof runtimeSpacePurgeResponseSchema>;
|
|
1610
|
-
export type RuntimeVersionFilesResponse = z.infer<typeof runtimeVersionFilesResponseSchema>;
|
|
1611
1671
|
export type RuntimeVersionFinalizeRequest = z.infer<typeof runtimeVersionFinalizeRequestSchema>;
|
|
1612
1672
|
export type RuntimeVersionFinalizeResponse = z.infer<typeof runtimeVersionFinalizeResponseSchema>;
|
|
1613
|
-
export type
|
|
1614
|
-
export type RuntimeCatalogDelta = z.infer<typeof runtimeCatalogDeltaSchema>;
|
|
1673
|
+
export type RuntimeFinalizeTelemetry = z.infer<typeof runtimeFinalizeTelemetrySchema>;
|
|
1615
1674
|
export type RuntimeReadinessTarget = z.infer<typeof runtimeReadinessTargetSchema>;
|
|
1616
1675
|
export type RuntimeHostnameIntentUpdateRequest = z.infer<typeof runtimeHostnameIntentUpdateRequestSchema>;
|
|
1617
1676
|
export type RuntimeRouteUpdateRequest = z.infer<typeof runtimeRouteUpdateRequestSchema>;
|
|
1618
1677
|
export type RuntimeTombstonesUpdateRequest = z.infer<typeof runtimeTombstonesUpdateRequestSchema>;
|
|
1619
1678
|
export type RuntimeRetentionPolicyUpdateRequest = z.infer<typeof runtimeRetentionPolicyUpdateRequestSchema>;
|
|
1620
|
-
export type RuntimeRetentionPolicyUpdateResponse = z.infer<typeof runtimeRetentionPolicyUpdateResponseSchema>;
|
|
1621
|
-
export type RuntimePinCreateRequest = z.infer<typeof runtimePinCreateRequestSchema>;
|
|
1622
|
-
export type RuntimePinCreateResponse = z.infer<typeof runtimePinCreateResponseSchema>;
|
|
1623
|
-
export type RuntimePinReleaseResponse = z.infer<typeof runtimePinReleaseResponseSchema>;
|
|
1624
|
-
export type RuntimeBlobsHaveRequest = z.infer<typeof runtimeBlobsHaveRequestSchema>;
|
|
1625
|
-
export type RuntimeBlobsHaveResponse = z.infer<typeof runtimeBlobsHaveResponseSchema>;
|
|
1626
|
-
export type RuntimeBlobPutResponse = z.infer<typeof runtimeBlobPutResponseSchema>;
|
|
1627
|
-
export type RuntimeZeroDbImportRequest = z.infer<typeof runtimeZeroDbImportRequestSchema>;
|
|
1628
|
-
export type RuntimeZeroDbImportResponse = z.infer<typeof runtimeZeroDbImportResponseSchema>;
|
|
1629
1679
|
export type RuntimeSpaceState = z.infer<typeof runtimeSpaceStateSchema>;
|
|
1630
1680
|
export type RuntimeCallbackEvent = z.infer<typeof runtimeCallbackEventSchema>;
|
|
1631
1681
|
export type RuntimeEventsDrainRequest = z.infer<typeof runtimeEventsDrainRequestSchema>;
|
|
@@ -1635,8 +1685,5 @@ export type RuntimeJournalCursor = z.infer<typeof runtimeJournalCursorSchema>;
|
|
|
1635
1685
|
export type RuntimeEventsAckRequest = z.infer<typeof runtimeEventsAckRequestSchema>;
|
|
1636
1686
|
export type RuntimeEventsAckResponse = z.infer<typeof runtimeEventsAckResponseSchema>;
|
|
1637
1687
|
export type RuntimeEngineJobLane = z.infer<typeof runtimeEngineJobLaneSchema>;
|
|
1638
|
-
export type RuntimeEngineJobStatus = z.infer<typeof runtimeEngineJobStatusSchema>;
|
|
1639
1688
|
export type RuntimeEngineJobRecord = z.infer<typeof runtimeEngineJobRecordSchema>;
|
|
1640
1689
|
export type RuntimeEngineJobCreateRequest = z.infer<typeof runtimeEngineJobCreateRequestSchema>;
|
|
1641
|
-
export type RuntimeEngineJobResponse = z.infer<typeof runtimeEngineJobResponseSchema>;
|
|
1642
|
-
export type RuntimeEngineJobTickResponse = z.infer<typeof runtimeEngineJobTickResponseSchema>;
|