@spacefast/common 0.2.2 → 0.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/agents/marketplace-prompts.d.ts +1 -0
- package/dist/agents/marketplace-prompts.js +6 -0
- package/dist/agents/registry/core.d.ts +4 -12
- package/dist/agents/registry/core.js +7 -28
- package/dist/config/domains.d.ts +10 -8
- package/dist/config/domains.js +4 -7
- package/dist/contracts/access-core.d.ts +135 -0
- package/dist/contracts/access-core.js +242 -0
- package/dist/contracts/access-profiles.d.ts +8 -8
- package/dist/contracts/access-profiles.js +8 -8
- package/dist/contracts/access.d.ts +14 -103
- package/dist/contracts/access.js +10 -210
- package/dist/contracts/activity.d.ts +54 -55
- package/dist/contracts/activity.js +38 -9
- package/dist/contracts/api-keys.d.ts +69 -26
- package/dist/contracts/api-keys.js +29 -2
- package/dist/contracts/application-journal.d.ts +197 -4
- package/dist/contracts/application-journal.js +97 -16
- package/dist/contracts/auth.d.ts +20 -0
- package/dist/contracts/auth.js +18 -0
- package/dist/contracts/beta.d.ts +13 -0
- package/dist/contracts/beta.js +28 -0
- package/dist/contracts/billing.d.ts +2 -2
- package/dist/contracts/bootstrap.d.ts +23 -6
- package/dist/contracts/builds.d.ts +18 -4
- package/dist/contracts/builds.js +7 -4
- package/dist/contracts/channels.d.ts +43 -0
- package/dist/contracts/channels.js +22 -6
- package/dist/contracts/comments.d.ts +49 -0
- package/dist/contracts/comments.js +61 -2
- package/dist/contracts/commerce.d.ts +19 -13
- package/dist/contracts/connector-access.d.ts +28 -0
- package/dist/contracts/connector-access.js +31 -0
- package/dist/contracts/connectors.d.ts +2382 -0
- package/dist/contracts/connectors.js +941 -0
- package/dist/contracts/content-contract-verification.d.ts +112 -58
- package/dist/contracts/content-contract-verification.js +42 -54
- package/dist/contracts/content-model-emit.d.ts +97 -0
- package/dist/contracts/content-model-emit.js +306 -0
- package/dist/contracts/content-model-sdk.d.ts +101 -0
- package/dist/contracts/content-model-sdk.js +232 -0
- package/dist/contracts/{content-program.d.ts → content-model.d.ts} +338 -82
- package/dist/contracts/{content-program.js → content-model.js} +291 -63
- package/dist/contracts/content-platform-fixture.d.ts +380 -110
- package/dist/contracts/content-platform-fixture.js +8 -8
- package/dist/contracts/content-sync.d.ts +197 -74
- package/dist/contracts/content-sync.js +98 -37
- package/dist/contracts/content.d.ts +30 -422
- package/dist/contracts/content.js +34 -294
- package/dist/contracts/dashboard-prefs.d.ts +10 -3
- package/dist/contracts/dashboard-prefs.js +6 -3
- package/dist/contracts/data-location.d.ts +9 -0
- package/dist/contracts/data-location.js +7 -0
- package/dist/contracts/deployment-comparison.d.ts +67 -0
- package/dist/contracts/deployment-comparison.js +68 -0
- package/dist/contracts/device-auth.d.ts +55 -11
- package/dist/contracts/domains.d.ts +40 -16
- package/dist/contracts/domains.js +23 -0
- package/dist/contracts/enums.d.ts +1 -10
- package/dist/contracts/enums.js +0 -15
- package/dist/contracts/error-code-meta.d.ts +384 -20
- package/dist/contracts/error-code-meta.js +200 -5
- package/dist/contracts/error-codes.d.ts +17 -4
- package/dist/contracts/error-codes.js +108 -10
- package/dist/contracts/events.d.ts +5 -0
- package/dist/contracts/events.js +12 -3
- package/dist/contracts/execution.d.ts +5 -1
- package/dist/contracts/execution.js +4 -0
- package/dist/contracts/feature-lifecycle.d.ts +53 -20
- package/dist/contracts/feature-lifecycle.js +65 -23
- package/dist/contracts/features.d.ts +57 -31
- package/dist/contracts/features.js +0 -1
- package/dist/contracts/feedback.d.ts +124 -0
- package/dist/contracts/feedback.js +64 -0
- package/dist/contracts/fixtures/content-model-sdk-v1.generated.d.ts +129 -0
- package/dist/contracts/fixtures/content-model-sdk-v1.generated.js +48 -0
- package/dist/contracts/fixtures/content-platform-v1.json +101 -49
- package/dist/contracts/frame-session.d.ts +60 -10
- package/dist/contracts/frame-session.js +52 -12
- package/dist/contracts/functions.d.ts +28 -2
- package/dist/contracts/functions.js +25 -2
- package/dist/contracts/grant-copy.d.ts +2 -0
- package/dist/contracts/grant-copy.js +2 -0
- package/dist/contracts/grants-core.d.ts +95 -0
- package/dist/contracts/grants-core.js +435 -0
- package/dist/contracts/grants.d.ts +13 -84
- package/dist/contracts/grants.js +21 -369
- package/dist/contracts/ids-core.d.ts +11 -0
- package/dist/contracts/ids-core.js +14 -0
- package/dist/contracts/ids.d.ts +7 -4
- package/dist/contracts/ids.js +12 -4
- package/dist/contracts/internal.d.ts +18 -0
- package/dist/contracts/internal.js +19 -0
- package/dist/contracts/mcp.d.ts +8 -18
- package/dist/contracts/mcp.js +2 -23
- package/dist/contracts/notifications.d.ts +4 -1
- package/dist/contracts/notifications.js +1 -0
- package/dist/contracts/oauth-resources.d.ts +46 -9
- package/dist/contracts/oauth-resources.js +50 -1
- package/dist/contracts/oauth-scope-actions.d.ts +27 -3
- package/dist/contracts/oauth-scope-actions.js +18 -8
- package/dist/contracts/operations.d.ts +1 -1
- package/dist/contracts/partner-account.d.ts +629 -0
- package/dist/contracts/partner-account.js +18 -0
- package/dist/contracts/principal-assertion.d.ts +74 -1
- package/dist/contracts/principal-assertion.js +67 -3
- package/dist/contracts/publish-archive.d.ts +22 -1
- package/dist/contracts/push-new.d.ts +3 -3
- package/dist/contracts/push-new.js +1 -1
- package/dist/contracts/quotas.js +2 -1
- package/dist/contracts/repository-connections.d.ts +10 -6
- package/dist/contracts/repository-connections.js +15 -0
- package/dist/contracts/resources.d.ts +6 -5
- package/dist/contracts/resources.js +7 -0
- package/dist/contracts/route-inventory.d.ts +74 -19
- package/dist/contracts/route-inventory.js +20 -6
- package/dist/contracts/runtime-api.d.ts +415 -4
- package/dist/contracts/runtime-api.js +60 -15
- package/dist/contracts/runtime-app.d.ts +6 -1
- package/dist/contracts/runtime-components.d.ts +646 -18
- package/dist/contracts/runtime-components.js +304 -188
- package/dist/contracts/runtime-services.d.ts +15 -0
- package/dist/contracts/runtime-services.js +25 -0
- package/dist/contracts/runtime-storage.d.ts +32 -0
- package/dist/contracts/runtime-storage.js +37 -0
- package/dist/contracts/source-workspaces.d.ts +511 -0
- package/dist/contracts/source-workspaces.js +276 -0
- package/dist/contracts/space-config-spacefast.d.ts +394 -0
- package/dist/contracts/space-config-spacefast.js +70 -0
- package/dist/contracts/space-config.d.ts +177 -90
- package/dist/contracts/space-config.js +77 -92
- package/dist/contracts/spaces.d.ts +132 -24
- package/dist/contracts/spaces.js +77 -13
- package/dist/contracts/superadmin-connectors.d.ts +371 -0
- package/dist/contracts/superadmin-connectors.js +61 -0
- package/dist/contracts/superadmin-emails.d.ts +1 -1
- package/dist/contracts/superadmin-emails.js +1 -1
- package/dist/contracts/superadmin-entities.d.ts +105 -0
- package/dist/contracts/superadmin-entities.js +64 -0
- package/dist/contracts/superadmin-runtime.d.ts +35 -116
- package/dist/contracts/superadmin-runtime.js +13 -69
- package/dist/contracts/superadmin-search.d.ts +12 -14
- package/dist/contracts/superadmin-search.js +2 -2
- package/dist/contracts/superadmin-spaces.d.ts +15 -72
- package/dist/contracts/superadmin-spaces.js +2 -7
- package/dist/contracts/superadmin-teams.d.ts +12 -0
- package/dist/contracts/superadmin-teams.js +7 -1
- package/dist/contracts/superadmin-tenants.d.ts +44 -16
- package/dist/contracts/superadmin.d.ts +2 -2
- package/dist/contracts/tags.d.ts +12 -12
- package/dist/contracts/teams.d.ts +29 -1
- package/dist/contracts/teams.js +24 -2
- package/dist/contracts/tenants.d.ts +98 -0
- package/dist/contracts/tenants.js +20 -0
- package/dist/contracts/transfers.d.ts +92 -0
- package/dist/contracts/transfers.js +37 -0
- package/dist/contracts/usage.d.ts +9 -1
- package/dist/contracts/usage.js +2 -0
- package/dist/contracts/visual-review.d.ts +448 -0
- package/dist/contracts/visual-review.js +156 -0
- package/dist/contracts/wordpress-php-toolkit.json +9 -0
- package/dist/contracts/work-mode.d.ts +24 -0
- package/dist/contracts/work-mode.js +17 -0
- package/dist/contracts/wp-cli.d.ts +66 -0
- package/dist/contracts/wp-cli.js +68 -0
- package/dist/contracts/zero-catalog.d.ts +29 -0
- package/dist/contracts/zero-catalog.js +55 -0
- package/dist/contracts/zero-platform-abilities.generated.d.ts +31 -0
- package/dist/contracts/zero-platform-abilities.generated.js +373 -0
- package/dist/contracts/zero-spacefast.d.ts +444 -0
- package/dist/contracts/zero-spacefast.js +149 -0
- package/dist/contracts/zero-types.d.ts +47 -0
- package/dist/contracts/zero-types.js +263 -0
- package/dist/contracts/zero.d.ts +781 -14
- package/dist/contracts/zero.js +204 -10
- package/dist/dashboard-paths/index.d.ts +2 -2
- package/dist/dashboard-paths/route-reservations.generated.d.ts +2 -2
- package/dist/dashboard-paths/route-reservations.generated.js +5 -0
- package/dist/docs/agent-prose.d.ts +1 -1
- package/dist/docs/agent-prose.js +15 -18
- package/dist/docs/agent-setup.d.ts +1 -1
- package/dist/docs/agent-setup.js +5 -13
- package/dist/docs/catalog.d.ts +64 -28
- package/dist/docs/catalog.js +155 -28
- package/dist/docs/error-docs.d.ts +361 -17
- package/dist/docs/error-docs.js +365 -21
- package/dist/docs/reference-urls.js +1 -1
- package/dist/docs/skills.d.ts +84 -84
- package/dist/docs/skills.js +66 -47
- package/dist/docs/start-prompts.d.ts +14 -0
- package/dist/docs/start-prompts.js +20 -0
- package/dist/utils/account-labels.d.ts +7 -0
- package/dist/utils/account-labels.js +15 -0
- package/dist/utils/auth.d.ts +1 -0
- package/dist/utils/auth.js +1 -0
- package/dist/utils/credential-policy.d.ts +22 -1
- package/dist/utils/credential-policy.js +55 -6
- package/dist/utils/local-space-state.d.ts +7 -0
- package/dist/utils/local-space-state.js +7 -0
- package/dist/utils/logger.d.ts +34 -0
- package/dist/utils/logger.js +144 -0
- package/dist/utils/page-routes.d.ts +9 -0
- package/dist/utils/page-routes.js +82 -0
- package/dist/utils/pages.d.ts +2 -0
- package/dist/utils/pages.js +7 -0
- package/dist/utils/publish-form-data.d.ts +2 -0
- package/dist/utils/publish-form-data.js +2 -0
- package/dist/utils/publish-policy-spacefast.d.ts +13 -0
- package/dist/utils/publish-policy-spacefast.js +117 -0
- package/dist/utils/publish-policy.d.ts +22 -16
- package/dist/utils/publish-policy.fixtures.json +15 -0
- package/dist/utils/publish-policy.js +62 -139
- package/dist/utils/query-client.js +9 -1
- package/dist/utils/runtime-upload.d.ts +4 -0
- package/dist/utils/runtime-upload.js +5 -0
- package/dist/utils/space-config.d.ts +2 -3
- package/dist/utils/space-config.js +1 -1
- package/dist/utils/uploaded-source.d.ts +4 -0
- package/dist/utils/uploaded-source.js +12 -0
- package/dist/visual-review.d.ts +4 -0
- package/dist/visual-review.js +208 -0
- package/dist/vocabulary.d.ts +38 -0
- package/dist/vocabulary.js +55 -0
- package/package.json +7 -2
- package/dist/agents/registry/deeplink-probes.d.ts +0 -23
- package/dist/agents/registry/deeplink-probes.js +0 -18
|
@@ -2,19 +2,19 @@ import { z } from "zod";
|
|
|
2
2
|
export declare const contentPlatformV1FixtureSchema: z.ZodObject<{
|
|
3
3
|
format: z.ZodLiteral<"spacefast.content-platform-fixture">;
|
|
4
4
|
version: z.ZodLiteral<1>;
|
|
5
|
-
capsule: z.ZodType<import("./content-
|
|
5
|
+
capsule: z.ZodType<import("./content-model.js").ContentModelJsonValue, unknown, z.core.$ZodTypeInternals<import("./content-model.js").ContentModelJsonValue, unknown>>;
|
|
6
6
|
artifacts: z.ZodObject<{
|
|
7
|
-
|
|
7
|
+
model: z.ZodObject<{
|
|
8
8
|
format: z.ZodLiteral<"spacefast.zero-wordpress">;
|
|
9
9
|
version: z.ZodLiteral<1>;
|
|
10
|
-
revision: z.core.$ZodBranded<z.ZodString, "
|
|
10
|
+
revision: z.core.$ZodBranded<z.ZodString, "ContentModelSha256", "out">;
|
|
11
11
|
schemas: z.ZodArray<z.ZodObject<{
|
|
12
12
|
id: z.core.$ZodBranded<z.ZodString, "ContentSchemaId", "out">;
|
|
13
|
-
sha256: z.core.$ZodBranded<z.ZodString, "
|
|
14
|
-
schema: z.ZodType<import("./content-
|
|
13
|
+
sha256: z.core.$ZodBranded<z.ZodString, "ContentModelSha256", "out">;
|
|
14
|
+
schema: z.ZodType<import("./content-model.js").ContentModelJsonValue, unknown, z.core.$ZodTypeInternals<import("./content-model.js").ContentModelJsonValue, unknown>>;
|
|
15
15
|
}, z.core.$strict>>;
|
|
16
16
|
wordpress: z.ZodObject<{
|
|
17
|
-
format: z.ZodLiteral<"spacefast.wordpress-
|
|
17
|
+
format: z.ZodLiteral<"spacefast.wordpress-content-model">;
|
|
18
18
|
version: z.ZodLiteral<1>;
|
|
19
19
|
resources: z.ZodArray<z.ZodObject<{
|
|
20
20
|
id: z.core.$ZodBranded<z.ZodString, "ContentResourceId", "out">;
|
|
@@ -22,9 +22,9 @@ export declare const contentPlatformV1FixtureSchema: z.ZodObject<{
|
|
|
22
22
|
label: z.ZodString;
|
|
23
23
|
kind: z.ZodEnum<{
|
|
24
24
|
media: "media";
|
|
25
|
+
collection: "collection";
|
|
25
26
|
posts: "posts";
|
|
26
27
|
pages: "pages";
|
|
27
|
-
collection: "collection";
|
|
28
28
|
}>;
|
|
29
29
|
fields: z.ZodArray<z.ZodObject<{
|
|
30
30
|
id: z.core.$ZodBranded<z.ZodString, "ContentFieldId", "out">;
|
|
@@ -92,11 +92,11 @@ export declare const contentPlatformV1FixtureSchema: z.ZodObject<{
|
|
|
92
92
|
id: z.core.$ZodBranded<z.ZodString, "ContentAbilityId", "out">;
|
|
93
93
|
input: z.ZodObject<{
|
|
94
94
|
id: z.core.$ZodBranded<z.ZodString, "ContentSchemaId", "out">;
|
|
95
|
-
sha256: z.core.$ZodBranded<z.ZodString, "
|
|
95
|
+
sha256: z.core.$ZodBranded<z.ZodString, "ContentModelSha256", "out">;
|
|
96
96
|
}, z.core.$strict>;
|
|
97
97
|
output: z.ZodObject<{
|
|
98
98
|
id: z.core.$ZodBranded<z.ZodString, "ContentSchemaId", "out">;
|
|
99
|
-
sha256: z.core.$ZodBranded<z.ZodString, "
|
|
99
|
+
sha256: z.core.$ZodBranded<z.ZodString, "ContentModelSha256", "out">;
|
|
100
100
|
}, z.core.$strict>;
|
|
101
101
|
permits: z.ZodArray<z.ZodEnum<{
|
|
102
102
|
"page.view": "page.view";
|
|
@@ -147,11 +147,11 @@ export declare const contentPlatformV1FixtureSchema: z.ZodObject<{
|
|
|
147
147
|
id: z.core.$ZodBranded<z.ZodString, "ContentAbilityId", "out">;
|
|
148
148
|
input: z.ZodObject<{
|
|
149
149
|
id: z.core.$ZodBranded<z.ZodString, "ContentSchemaId", "out">;
|
|
150
|
-
sha256: z.core.$ZodBranded<z.ZodString, "
|
|
150
|
+
sha256: z.core.$ZodBranded<z.ZodString, "ContentModelSha256", "out">;
|
|
151
151
|
}, z.core.$strict>;
|
|
152
152
|
output: z.ZodObject<{
|
|
153
153
|
id: z.core.$ZodBranded<z.ZodString, "ContentSchemaId", "out">;
|
|
154
|
-
sha256: z.core.$ZodBranded<z.ZodString, "
|
|
154
|
+
sha256: z.core.$ZodBranded<z.ZodString, "ContentModelSha256", "out">;
|
|
155
155
|
}, z.core.$strict>;
|
|
156
156
|
permits: z.ZodArray<z.ZodEnum<{
|
|
157
157
|
"page.view": "page.view";
|
|
@@ -205,11 +205,11 @@ export declare const contentPlatformV1FixtureSchema: z.ZodObject<{
|
|
|
205
205
|
id: z.core.$ZodBranded<z.ZodString, "ContentAbilityId", "out">;
|
|
206
206
|
input: z.ZodObject<{
|
|
207
207
|
id: z.core.$ZodBranded<z.ZodString, "ContentSchemaId", "out">;
|
|
208
|
-
sha256: z.core.$ZodBranded<z.ZodString, "
|
|
208
|
+
sha256: z.core.$ZodBranded<z.ZodString, "ContentModelSha256", "out">;
|
|
209
209
|
}, z.core.$strict>;
|
|
210
210
|
output: z.ZodObject<{
|
|
211
211
|
id: z.core.$ZodBranded<z.ZodString, "ContentSchemaId", "out">;
|
|
212
|
-
sha256: z.core.$ZodBranded<z.ZodString, "
|
|
212
|
+
sha256: z.core.$ZodBranded<z.ZodString, "ContentModelSha256", "out">;
|
|
213
213
|
}, z.core.$strict>;
|
|
214
214
|
permits: z.ZodArray<z.ZodEnum<{
|
|
215
215
|
"page.view": "page.view";
|
|
@@ -264,7 +264,7 @@ export declare const contentPlatformV1FixtureSchema: z.ZodObject<{
|
|
|
264
264
|
componentId: z.core.$ZodBranded<z.ZodString, "ContentComponentId", "out">;
|
|
265
265
|
props: z.ZodObject<{
|
|
266
266
|
id: z.core.$ZodBranded<z.ZodString, "ContentSchemaId", "out">;
|
|
267
|
-
sha256: z.core.$ZodBranded<z.ZodString, "
|
|
267
|
+
sha256: z.core.$ZodBranded<z.ZodString, "ContentModelSha256", "out">;
|
|
268
268
|
}, z.core.$strict>;
|
|
269
269
|
}, z.core.$strict>>;
|
|
270
270
|
hooks: z.ZodArray<z.ZodObject<{
|
|
@@ -273,46 +273,100 @@ export declare const contentPlatformV1FixtureSchema: z.ZodObject<{
|
|
|
273
273
|
php: "php";
|
|
274
274
|
quickjs: "quickjs";
|
|
275
275
|
}>;
|
|
276
|
-
artifact: z.core.$ZodBranded<z.ZodString, "
|
|
276
|
+
artifact: z.core.$ZodBranded<z.ZodString, "ContentModelSha256", "out">;
|
|
277
277
|
export: z.ZodString;
|
|
278
278
|
}, z.core.$strict>>;
|
|
279
|
-
syncBindings: z.ZodArray<z.ZodObject<{
|
|
279
|
+
syncBindings: z.ZodArray<z.ZodPipe<z.ZodObject<{
|
|
280
280
|
id: z.core.$ZodBranded<z.ZodString, "ContentSyncBindingId", "out">;
|
|
281
281
|
resourceId: z.core.$ZodBranded<z.ZodString, "ContentResourceId", "out">;
|
|
282
282
|
fieldId: z.core.$ZodBranded<z.ZodString, "ContentFieldId", "out">;
|
|
283
283
|
source: z.ZodString;
|
|
284
|
+
publicPath: z.ZodOptional<z.ZodString>;
|
|
285
|
+
format: z.ZodOptional<z.ZodEnum<{
|
|
286
|
+
md: "md";
|
|
287
|
+
html: "html";
|
|
288
|
+
tsx: "tsx";
|
|
289
|
+
}>>;
|
|
290
|
+
compiled: z.ZodOptional<z.ZodObject<{
|
|
291
|
+
sha256: z.core.$ZodBranded<z.ZodString, "ContentModelSha256", "out">;
|
|
292
|
+
}, z.core.$strict>>;
|
|
293
|
+
documentSeed: z.ZodOptional<z.ZodObject<{
|
|
294
|
+
text: z.ZodString;
|
|
295
|
+
sha256: z.core.$ZodBranded<z.ZodString, "ContentModelSha256", "out">;
|
|
296
|
+
}, z.core.$strict>>;
|
|
284
297
|
slug: z.ZodString;
|
|
285
|
-
}, z.core.$strict
|
|
298
|
+
}, z.core.$strict>, z.ZodTransform<{
|
|
299
|
+
format: "md" | "html" | "tsx";
|
|
300
|
+
id: string & z.core.$brand<"ContentSyncBindingId">;
|
|
301
|
+
resourceId: string & z.core.$brand<"ContentResourceId">;
|
|
302
|
+
fieldId: string & z.core.$brand<"ContentFieldId">;
|
|
303
|
+
source: string;
|
|
304
|
+
slug: string;
|
|
305
|
+
publicPath?: string | undefined;
|
|
306
|
+
compiled?: {
|
|
307
|
+
sha256: string & z.core.$brand<"ContentModelSha256">;
|
|
308
|
+
} | undefined;
|
|
309
|
+
documentSeed?: {
|
|
310
|
+
text: string;
|
|
311
|
+
sha256: string & z.core.$brand<"ContentModelSha256">;
|
|
312
|
+
} | undefined;
|
|
313
|
+
}, {
|
|
314
|
+
id: string & z.core.$brand<"ContentSyncBindingId">;
|
|
315
|
+
resourceId: string & z.core.$brand<"ContentResourceId">;
|
|
316
|
+
fieldId: string & z.core.$brand<"ContentFieldId">;
|
|
317
|
+
source: string;
|
|
318
|
+
slug: string;
|
|
319
|
+
publicPath?: string | undefined;
|
|
320
|
+
format?: "md" | "html" | "tsx" | undefined;
|
|
321
|
+
compiled?: {
|
|
322
|
+
sha256: string & z.core.$brand<"ContentModelSha256">;
|
|
323
|
+
} | undefined;
|
|
324
|
+
documentSeed?: {
|
|
325
|
+
text: string;
|
|
326
|
+
sha256: string & z.core.$brand<"ContentModelSha256">;
|
|
327
|
+
} | undefined;
|
|
328
|
+
}>>>;
|
|
329
|
+
materializations: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
330
|
+
resourceId: z.core.$ZodBranded<z.ZodString, "ContentResourceId", "out">;
|
|
331
|
+
fieldId: z.core.$ZodBranded<z.ZodString, "ContentFieldId", "out">;
|
|
332
|
+
directory: z.ZodString;
|
|
333
|
+
suffix: z.ZodString;
|
|
334
|
+
format: z.ZodEnum<{
|
|
335
|
+
md: "md";
|
|
336
|
+
html: "html";
|
|
337
|
+
tsx: "tsx";
|
|
338
|
+
}>;
|
|
339
|
+
}, z.core.$strict>>>;
|
|
286
340
|
}, z.core.$strict>;
|
|
287
341
|
executables: z.ZodObject<{
|
|
288
342
|
format: z.ZodLiteral<"spacefast.zero-executables">;
|
|
289
343
|
version: z.ZodLiteral<1>;
|
|
290
|
-
inputDigest: z.core.$ZodBranded<z.ZodString, "
|
|
344
|
+
inputDigest: z.core.$ZodBranded<z.ZodString, "ContentModelSha256", "out">;
|
|
291
345
|
executables: z.ZodArray<z.ZodObject<{
|
|
292
346
|
id: z.ZodString;
|
|
293
347
|
runtime: z.ZodEnum<{
|
|
294
348
|
php: "php";
|
|
295
349
|
quickjs: "quickjs";
|
|
296
350
|
}>;
|
|
297
|
-
artifact: z.core.$ZodBranded<z.ZodString, "
|
|
351
|
+
artifact: z.core.$ZodBranded<z.ZodString, "ContentModelSha256", "out">;
|
|
298
352
|
export: z.ZodString;
|
|
299
353
|
}, z.core.$strict>>;
|
|
300
354
|
}, z.core.$strict>;
|
|
301
355
|
sdk: z.ZodObject<{
|
|
302
356
|
format: z.ZodLiteral<"spacefast.sdk-descriptors">;
|
|
303
357
|
version: z.ZodLiteral<1>;
|
|
304
|
-
inputDigest: z.core.$ZodBranded<z.ZodString, "
|
|
358
|
+
inputDigest: z.core.$ZodBranded<z.ZodString, "ContentModelSha256", "out">;
|
|
305
359
|
operations: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
306
360
|
id: z.core.$ZodBranded<z.ZodString, "ContentAbilityId", "out">;
|
|
307
361
|
kind: z.ZodLiteral<"query">;
|
|
308
362
|
mode: z.ZodLiteral<"read">;
|
|
309
363
|
input: z.ZodObject<{
|
|
310
364
|
id: z.core.$ZodBranded<z.ZodString, "ContentSchemaId", "out">;
|
|
311
|
-
sha256: z.core.$ZodBranded<z.ZodString, "
|
|
365
|
+
sha256: z.core.$ZodBranded<z.ZodString, "ContentModelSha256", "out">;
|
|
312
366
|
}, z.core.$strict>;
|
|
313
367
|
output: z.ZodObject<{
|
|
314
368
|
id: z.core.$ZodBranded<z.ZodString, "ContentSchemaId", "out">;
|
|
315
|
-
sha256: z.core.$ZodBranded<z.ZodString, "
|
|
369
|
+
sha256: z.core.$ZodBranded<z.ZodString, "ContentModelSha256", "out">;
|
|
316
370
|
}, z.core.$strict>;
|
|
317
371
|
cache: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
318
372
|
kind: z.ZodLiteral<"none">;
|
|
@@ -331,11 +385,11 @@ export declare const contentPlatformV1FixtureSchema: z.ZodObject<{
|
|
|
331
385
|
mode: z.ZodLiteral<"write">;
|
|
332
386
|
input: z.ZodObject<{
|
|
333
387
|
id: z.core.$ZodBranded<z.ZodString, "ContentSchemaId", "out">;
|
|
334
|
-
sha256: z.core.$ZodBranded<z.ZodString, "
|
|
388
|
+
sha256: z.core.$ZodBranded<z.ZodString, "ContentModelSha256", "out">;
|
|
335
389
|
}, z.core.$strict>;
|
|
336
390
|
output: z.ZodObject<{
|
|
337
391
|
id: z.core.$ZodBranded<z.ZodString, "ContentSchemaId", "out">;
|
|
338
|
-
sha256: z.core.$ZodBranded<z.ZodString, "
|
|
392
|
+
sha256: z.core.$ZodBranded<z.ZodString, "ContentModelSha256", "out">;
|
|
339
393
|
}, z.core.$strict>;
|
|
340
394
|
cache: z.ZodObject<{
|
|
341
395
|
kind: z.ZodLiteral<"none">;
|
|
@@ -350,11 +404,11 @@ export declare const contentPlatformV1FixtureSchema: z.ZodObject<{
|
|
|
350
404
|
}>;
|
|
351
405
|
input: z.ZodObject<{
|
|
352
406
|
id: z.core.$ZodBranded<z.ZodString, "ContentSchemaId", "out">;
|
|
353
|
-
sha256: z.core.$ZodBranded<z.ZodString, "
|
|
407
|
+
sha256: z.core.$ZodBranded<z.ZodString, "ContentModelSha256", "out">;
|
|
354
408
|
}, z.core.$strict>;
|
|
355
409
|
output: z.ZodObject<{
|
|
356
410
|
id: z.core.$ZodBranded<z.ZodString, "ContentSchemaId", "out">;
|
|
357
|
-
sha256: z.core.$ZodBranded<z.ZodString, "
|
|
411
|
+
sha256: z.core.$ZodBranded<z.ZodString, "ContentModelSha256", "out">;
|
|
358
412
|
}, z.core.$strict>;
|
|
359
413
|
cache: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
360
414
|
kind: z.ZodLiteral<"none">;
|
|
@@ -377,7 +431,7 @@ export declare const contentPlatformV1FixtureSchema: z.ZodObject<{
|
|
|
377
431
|
routes: z.ZodObject<{
|
|
378
432
|
format: z.ZodLiteral<"spacefast.route-contributions">;
|
|
379
433
|
version: z.ZodLiteral<1>;
|
|
380
|
-
inputDigest: z.core.$ZodBranded<z.ZodString, "
|
|
434
|
+
inputDigest: z.core.$ZodBranded<z.ZodString, "ContentModelSha256", "out">;
|
|
381
435
|
routes: z.ZodArray<z.ZodObject<{
|
|
382
436
|
abilityId: z.core.$ZodBranded<z.ZodString, "ContentAbilityId", "out">;
|
|
383
437
|
route: z.ZodObject<{
|
|
@@ -400,53 +454,53 @@ export declare const contentPlatformV1FixtureSchema: z.ZodObject<{
|
|
|
400
454
|
}, z.core.$strict>>;
|
|
401
455
|
}, z.core.$strict>;
|
|
402
456
|
requirements: z.ZodObject<{
|
|
403
|
-
format: z.ZodLiteral<"spacefast.
|
|
457
|
+
format: z.ZodLiteral<"spacefast.content-model-requirements">;
|
|
404
458
|
version: z.ZodLiteral<1>;
|
|
405
|
-
inputDigest: z.core.$ZodBranded<z.ZodString, "
|
|
459
|
+
inputDigest: z.core.$ZodBranded<z.ZodString, "ContentModelSha256", "out">;
|
|
406
460
|
wordpressAbi: z.ZodLiteral<1>;
|
|
407
461
|
capabilities: z.ZodArray<z.core.$ZodBranded<z.ZodString, "RuntimeCapabilityId", "out">>;
|
|
408
462
|
}, z.core.$strict>;
|
|
409
463
|
}, z.core.$strict>;
|
|
410
464
|
compiled: z.ZodObject<{
|
|
411
|
-
format: z.ZodLiteral<"spacefast.compiled-
|
|
465
|
+
format: z.ZodLiteral<"spacefast.compiled-content-model">;
|
|
412
466
|
version: z.ZodLiteral<1>;
|
|
413
|
-
|
|
467
|
+
model: z.ZodObject<{
|
|
414
468
|
format: z.ZodLiteral<"spacefast.zero-wordpress">;
|
|
415
469
|
version: z.ZodLiteral<1>;
|
|
416
|
-
inputDigest: z.core.$ZodBranded<z.ZodString, "
|
|
417
|
-
sha256: z.core.$ZodBranded<z.ZodString, "
|
|
470
|
+
inputDigest: z.core.$ZodBranded<z.ZodString, "ContentModelSha256", "out">;
|
|
471
|
+
sha256: z.core.$ZodBranded<z.ZodString, "ContentModelSha256", "out">;
|
|
418
472
|
bytes: z.ZodNumber;
|
|
419
473
|
mediaType: z.ZodLiteral<"application/json">;
|
|
420
474
|
}, z.core.$strict>;
|
|
421
475
|
executables: z.ZodObject<{
|
|
422
476
|
format: z.ZodLiteral<"spacefast.zero-executables">;
|
|
423
477
|
version: z.ZodLiteral<1>;
|
|
424
|
-
inputDigest: z.core.$ZodBranded<z.ZodString, "
|
|
425
|
-
sha256: z.core.$ZodBranded<z.ZodString, "
|
|
478
|
+
inputDigest: z.core.$ZodBranded<z.ZodString, "ContentModelSha256", "out">;
|
|
479
|
+
sha256: z.core.$ZodBranded<z.ZodString, "ContentModelSha256", "out">;
|
|
426
480
|
bytes: z.ZodNumber;
|
|
427
481
|
mediaType: z.ZodLiteral<"application/json">;
|
|
428
482
|
}, z.core.$strict>;
|
|
429
483
|
sdk: z.ZodObject<{
|
|
430
484
|
format: z.ZodLiteral<"spacefast.sdk-descriptors">;
|
|
431
485
|
version: z.ZodLiteral<1>;
|
|
432
|
-
inputDigest: z.core.$ZodBranded<z.ZodString, "
|
|
433
|
-
sha256: z.core.$ZodBranded<z.ZodString, "
|
|
486
|
+
inputDigest: z.core.$ZodBranded<z.ZodString, "ContentModelSha256", "out">;
|
|
487
|
+
sha256: z.core.$ZodBranded<z.ZodString, "ContentModelSha256", "out">;
|
|
434
488
|
bytes: z.ZodNumber;
|
|
435
489
|
mediaType: z.ZodLiteral<"application/json">;
|
|
436
490
|
}, z.core.$strict>;
|
|
437
491
|
routes: z.ZodObject<{
|
|
438
492
|
format: z.ZodLiteral<"spacefast.route-contributions">;
|
|
439
493
|
version: z.ZodLiteral<1>;
|
|
440
|
-
inputDigest: z.core.$ZodBranded<z.ZodString, "
|
|
441
|
-
sha256: z.core.$ZodBranded<z.ZodString, "
|
|
494
|
+
inputDigest: z.core.$ZodBranded<z.ZodString, "ContentModelSha256", "out">;
|
|
495
|
+
sha256: z.core.$ZodBranded<z.ZodString, "ContentModelSha256", "out">;
|
|
442
496
|
bytes: z.ZodNumber;
|
|
443
497
|
mediaType: z.ZodLiteral<"application/json">;
|
|
444
498
|
}, z.core.$strict>;
|
|
445
499
|
requirements: z.ZodObject<{
|
|
446
|
-
format: z.ZodLiteral<"spacefast.
|
|
500
|
+
format: z.ZodLiteral<"spacefast.content-model-requirements">;
|
|
447
501
|
version: z.ZodLiteral<1>;
|
|
448
|
-
inputDigest: z.core.$ZodBranded<z.ZodString, "
|
|
449
|
-
sha256: z.core.$ZodBranded<z.ZodString, "
|
|
502
|
+
inputDigest: z.core.$ZodBranded<z.ZodString, "ContentModelSha256", "out">;
|
|
503
|
+
sha256: z.core.$ZodBranded<z.ZodString, "ContentModelSha256", "out">;
|
|
450
504
|
bytes: z.ZodNumber;
|
|
451
505
|
mediaType: z.ZodLiteral<"application/json">;
|
|
452
506
|
}, z.core.$strict>;
|
|
@@ -455,7 +509,7 @@ export declare const contentPlatformV1FixtureSchema: z.ZodObject<{
|
|
|
455
509
|
format: z.ZodLiteral<"spacefast.wordpress-components">;
|
|
456
510
|
version: z.ZodLiteral<1>;
|
|
457
511
|
platformRelease: z.ZodString;
|
|
458
|
-
digest: z.core.$ZodBranded<z.ZodString, "
|
|
512
|
+
digest: z.core.$ZodBranded<z.ZodString, "ContentModelSha256", "out">;
|
|
459
513
|
components: z.ZodArray<z.ZodObject<{
|
|
460
514
|
id: z.core.$ZodBranded<z.ZodString, "RuntimeComponentId", "out">;
|
|
461
515
|
kind: z.ZodEnum<{
|
|
@@ -466,9 +520,10 @@ export declare const contentPlatformV1FixtureSchema: z.ZodObject<{
|
|
|
466
520
|
"block-transformer": "block-transformer";
|
|
467
521
|
"quickjs-abi": "quickjs-abi";
|
|
468
522
|
"mu-plugin": "mu-plugin";
|
|
523
|
+
"runtime-library": "runtime-library";
|
|
469
524
|
}>;
|
|
470
525
|
version: z.ZodString;
|
|
471
|
-
sha256: z.core.$ZodBranded<z.ZodString, "
|
|
526
|
+
sha256: z.core.$ZodBranded<z.ZodString, "ContentModelSha256", "out">;
|
|
472
527
|
source: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
473
528
|
kind: z.ZodLiteral<"archive">;
|
|
474
529
|
url: z.ZodString;
|
|
@@ -476,17 +531,25 @@ export declare const contentPlatformV1FixtureSchema: z.ZodObject<{
|
|
|
476
531
|
}, z.core.$strict>, z.ZodObject<{
|
|
477
532
|
kind: z.ZodLiteral<"embedded">;
|
|
478
533
|
path: z.ZodString;
|
|
534
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
535
|
+
kind: z.ZodLiteral<"provider-managed">;
|
|
536
|
+
software: z.ZodString;
|
|
479
537
|
}, z.core.$strict>], "kind">;
|
|
538
|
+
installedArtifact: z.ZodOptional<z.ZodObject<{
|
|
539
|
+
path: z.ZodString;
|
|
540
|
+
sha256: z.core.$ZodBranded<z.ZodString, "ContentModelSha256", "out">;
|
|
541
|
+
}, z.core.$strict>>;
|
|
480
542
|
provides: z.ZodArray<z.core.$ZodBranded<z.ZodString, "RuntimeCapabilityId", "out">>;
|
|
481
543
|
activation: z.ZodEnum<{
|
|
482
544
|
always: "always";
|
|
545
|
+
installed: "installed";
|
|
483
546
|
"on-demand": "on-demand";
|
|
484
547
|
}>;
|
|
485
548
|
}, z.core.$strict>>;
|
|
486
549
|
}, z.core.$strict>;
|
|
487
550
|
runtimePlacementReceipt: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
488
551
|
status: z.ZodLiteral<"ready">;
|
|
489
|
-
observedInventoryDigest: z.core.$ZodBranded<z.ZodString, "
|
|
552
|
+
observedInventoryDigest: z.core.$ZodBranded<z.ZodString, "ContentModelSha256", "out">;
|
|
490
553
|
substrate: z.ZodObject<{
|
|
491
554
|
wordpress: z.ZodObject<{
|
|
492
555
|
boot: z.ZodLiteral<"ready">;
|
|
@@ -495,8 +558,8 @@ export declare const contentPlatformV1FixtureSchema: z.ZodObject<{
|
|
|
495
558
|
}, z.core.$strict>;
|
|
496
559
|
routing: z.ZodObject<{
|
|
497
560
|
state: z.ZodLiteral<"ready">;
|
|
498
|
-
snapshotRevision: z.core.$ZodBranded<z.ZodString, "
|
|
499
|
-
inventoryDigest: z.core.$ZodBranded<z.ZodString, "
|
|
561
|
+
snapshotRevision: z.core.$ZodBranded<z.ZodString, "ContentModelSha256", "out">;
|
|
562
|
+
inventoryDigest: z.core.$ZodBranded<z.ZodString, "ContentModelSha256", "out">;
|
|
500
563
|
}, z.core.$strict>;
|
|
501
564
|
mail: z.ZodObject<{
|
|
502
565
|
state: z.ZodLiteral<"ready">;
|
|
@@ -504,19 +567,28 @@ export declare const contentPlatformV1FixtureSchema: z.ZodObject<{
|
|
|
504
567
|
journal: z.ZodObject<{
|
|
505
568
|
state: z.ZodLiteral<"ready">;
|
|
506
569
|
}, z.core.$strict>;
|
|
570
|
+
onDemandActive: z.ZodArray<z.core.$ZodBranded<z.ZodString, "RuntimeComponentId", "out">>;
|
|
507
571
|
}, z.core.$strict>;
|
|
508
572
|
format: z.ZodLiteral<"spacefast.component-placement">;
|
|
509
573
|
version: z.ZodLiteral<1>;
|
|
510
574
|
operationId: z.ZodString;
|
|
511
|
-
target: z.ZodObject<{
|
|
575
|
+
target: z.ZodUnion<readonly [z.ZodObject<{
|
|
512
576
|
spaceId: z.ZodTemplateLiteral<`spc_${string}`>;
|
|
513
577
|
runtimeInstanceId: z.ZodString;
|
|
514
578
|
siteId: z.ZodString;
|
|
515
|
-
}, z.core.$strict
|
|
579
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
580
|
+
sitePoolId: z.ZodTemplateLiteral<`site_${string}`>;
|
|
581
|
+
runtimeInstanceId: z.ZodString;
|
|
582
|
+
siteId: z.ZodString;
|
|
583
|
+
}, z.core.$strict>]>;
|
|
516
584
|
platformRelease: z.ZodString;
|
|
517
|
-
expectedInventoryDigest: z.core.$ZodBranded<z.ZodString, "
|
|
585
|
+
expectedInventoryDigest: z.core.$ZodBranded<z.ZodString, "ContentModelSha256", "out">;
|
|
518
586
|
}, z.core.$strict>, z.ZodObject<{
|
|
519
587
|
status: z.ZodLiteral<"blocked">;
|
|
588
|
+
observedRouting: z.ZodOptional<z.ZodObject<{
|
|
589
|
+
snapshotRevision: z.core.$ZodBranded<z.ZodString, "ContentModelSha256", "out">;
|
|
590
|
+
inventoryDigest: z.core.$ZodBranded<z.ZodString, "ContentModelSha256", "out">;
|
|
591
|
+
}, z.core.$strict>>;
|
|
520
592
|
problems: z.ZodArray<z.ZodObject<{
|
|
521
593
|
componentId: z.ZodOptional<z.core.$ZodBranded<z.ZodString, "RuntimeComponentId", "out">>;
|
|
522
594
|
code: z.ZodString;
|
|
@@ -525,13 +597,17 @@ export declare const contentPlatformV1FixtureSchema: z.ZodObject<{
|
|
|
525
597
|
format: z.ZodLiteral<"spacefast.component-placement">;
|
|
526
598
|
version: z.ZodLiteral<1>;
|
|
527
599
|
operationId: z.ZodString;
|
|
528
|
-
target: z.ZodObject<{
|
|
600
|
+
target: z.ZodUnion<readonly [z.ZodObject<{
|
|
529
601
|
spaceId: z.ZodTemplateLiteral<`spc_${string}`>;
|
|
530
602
|
runtimeInstanceId: z.ZodString;
|
|
531
603
|
siteId: z.ZodString;
|
|
532
|
-
}, z.core.$strict
|
|
604
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
605
|
+
sitePoolId: z.ZodTemplateLiteral<`site_${string}`>;
|
|
606
|
+
runtimeInstanceId: z.ZodString;
|
|
607
|
+
siteId: z.ZodString;
|
|
608
|
+
}, z.core.$strict>]>;
|
|
533
609
|
platformRelease: z.ZodString;
|
|
534
|
-
expectedInventoryDigest: z.core.$ZodBranded<z.ZodString, "
|
|
610
|
+
expectedInventoryDigest: z.core.$ZodBranded<z.ZodString, "ContentModelSha256", "out">;
|
|
535
611
|
}, z.core.$strict>], "status">;
|
|
536
612
|
routeInventory: z.ZodObject<{
|
|
537
613
|
format: z.ZodLiteral<"stattic.route-inventory.v1">;
|
|
@@ -540,7 +616,7 @@ export declare const contentPlatformV1FixtureSchema: z.ZodObject<{
|
|
|
540
616
|
status: z.ZodUnion<readonly [z.ZodLiteral<301>, z.ZodLiteral<302>, z.ZodLiteral<303>, z.ZodLiteral<307>, z.ZodLiteral<308>]>;
|
|
541
617
|
runtime: z.ZodLiteral<"routing">;
|
|
542
618
|
destination: z.ZodString;
|
|
543
|
-
id: z.core.$ZodBranded<z.ZodString, "
|
|
619
|
+
id: z.core.$ZodBranded<z.ZodString, "ContentModelSha256", "out">;
|
|
544
620
|
source: z.ZodString;
|
|
545
621
|
host: z.ZodString;
|
|
546
622
|
path: z.ZodString;
|
|
@@ -559,7 +635,7 @@ export declare const contentPlatformV1FixtureSchema: z.ZodObject<{
|
|
|
559
635
|
status: z.ZodLiteral<200>;
|
|
560
636
|
runtime: z.ZodLiteral<"routing">;
|
|
561
637
|
destination: z.ZodString;
|
|
562
|
-
id: z.core.$ZodBranded<z.ZodString, "
|
|
638
|
+
id: z.core.$ZodBranded<z.ZodString, "ContentModelSha256", "out">;
|
|
563
639
|
source: z.ZodString;
|
|
564
640
|
host: z.ZodString;
|
|
565
641
|
path: z.ZodString;
|
|
@@ -579,7 +655,7 @@ export declare const contentPlatformV1FixtureSchema: z.ZodObject<{
|
|
|
579
655
|
cache: z.ZodOptional<z.ZodLiteral<"shared">>;
|
|
580
656
|
runtime: z.ZodLiteral<"routing">;
|
|
581
657
|
destination: z.ZodString;
|
|
582
|
-
id: z.core.$ZodBranded<z.ZodString, "
|
|
658
|
+
id: z.core.$ZodBranded<z.ZodString, "ContentModelSha256", "out">;
|
|
583
659
|
source: z.ZodString;
|
|
584
660
|
host: z.ZodString;
|
|
585
661
|
path: z.ZodString;
|
|
@@ -598,7 +674,7 @@ export declare const contentPlatformV1FixtureSchema: z.ZodObject<{
|
|
|
598
674
|
status: z.ZodLiteral<404>;
|
|
599
675
|
runtime: z.ZodLiteral<"routing">;
|
|
600
676
|
destination: z.ZodString;
|
|
601
|
-
id: z.core.$ZodBranded<z.ZodString, "
|
|
677
|
+
id: z.core.$ZodBranded<z.ZodString, "ContentModelSha256", "out">;
|
|
602
678
|
source: z.ZodString;
|
|
603
679
|
host: z.ZodString;
|
|
604
680
|
path: z.ZodString;
|
|
@@ -615,7 +691,7 @@ export declare const contentPlatformV1FixtureSchema: z.ZodObject<{
|
|
|
615
691
|
}, z.core.$strict>, z.ZodObject<{
|
|
616
692
|
kind: z.ZodLiteral<"functions">;
|
|
617
693
|
runtime: z.ZodLiteral<"cloudflare-worker">;
|
|
618
|
-
id: z.core.$ZodBranded<z.ZodString, "
|
|
694
|
+
id: z.core.$ZodBranded<z.ZodString, "ContentModelSha256", "out">;
|
|
619
695
|
source: z.ZodString;
|
|
620
696
|
host: z.ZodString;
|
|
621
697
|
path: z.ZodString;
|
|
@@ -632,7 +708,7 @@ export declare const contentPlatformV1FixtureSchema: z.ZodObject<{
|
|
|
632
708
|
}, z.core.$strict>, z.ZodObject<{
|
|
633
709
|
kind: z.ZodLiteral<"php-function">;
|
|
634
710
|
runtime: z.ZodLiteral<"php">;
|
|
635
|
-
id: z.core.$ZodBranded<z.ZodString, "
|
|
711
|
+
id: z.core.$ZodBranded<z.ZodString, "ContentModelSha256", "out">;
|
|
636
712
|
source: z.ZodString;
|
|
637
713
|
host: z.ZodString;
|
|
638
714
|
path: z.ZodString;
|
|
@@ -649,7 +725,7 @@ export declare const contentPlatformV1FixtureSchema: z.ZodObject<{
|
|
|
649
725
|
}, z.core.$strict>, z.ZodObject<{
|
|
650
726
|
kind: z.ZodLiteral<"zero-control">;
|
|
651
727
|
runtime: z.ZodLiteral<"php">;
|
|
652
|
-
id: z.core.$ZodBranded<z.ZodString, "
|
|
728
|
+
id: z.core.$ZodBranded<z.ZodString, "ContentModelSha256", "out">;
|
|
653
729
|
source: z.ZodString;
|
|
654
730
|
host: z.ZodString;
|
|
655
731
|
path: z.ZodString;
|
|
@@ -666,7 +742,29 @@ export declare const contentPlatformV1FixtureSchema: z.ZodObject<{
|
|
|
666
742
|
}, z.core.$strict>, z.ZodObject<{
|
|
667
743
|
kind: z.ZodLiteral<"zero-endpoint">;
|
|
668
744
|
runtime: z.ZodLiteral<"quick-js">;
|
|
669
|
-
id: z.core.$ZodBranded<z.ZodString, "
|
|
745
|
+
id: z.core.$ZodBranded<z.ZodString, "ContentModelSha256", "out">;
|
|
746
|
+
source: z.ZodString;
|
|
747
|
+
host: z.ZodString;
|
|
748
|
+
path: z.ZodString;
|
|
749
|
+
methods: z.ZodArray<z.ZodUnion<readonly [z.ZodLiteral<"*">, z.ZodEnum<{
|
|
750
|
+
POST: "POST";
|
|
751
|
+
PUT: "PUT";
|
|
752
|
+
GET: "GET";
|
|
753
|
+
HEAD: "HEAD";
|
|
754
|
+
PATCH: "PATCH";
|
|
755
|
+
DELETE: "DELETE";
|
|
756
|
+
OPTIONS: "OPTIONS";
|
|
757
|
+
}>]>>;
|
|
758
|
+
auth: z.ZodLiteral<"inherit">;
|
|
759
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
760
|
+
kind: z.ZodLiteral<"page">;
|
|
761
|
+
runtime: z.ZodEnum<{
|
|
762
|
+
routing: "routing";
|
|
763
|
+
php: "php";
|
|
764
|
+
}>;
|
|
765
|
+
destination: z.ZodString;
|
|
766
|
+
status: z.ZodLiteral<200>;
|
|
767
|
+
id: z.core.$ZodBranded<z.ZodString, "ContentModelSha256", "out">;
|
|
670
768
|
source: z.ZodString;
|
|
671
769
|
host: z.ZodString;
|
|
672
770
|
path: z.ZodString;
|
|
@@ -688,9 +786,9 @@ export declare const contentPlatformV1FixtureSchema: z.ZodObject<{
|
|
|
688
786
|
spaceId: z.ZodTemplateLiteral<`spc_${string}`>;
|
|
689
787
|
source: z.ZodLiteral<"wordpress-redirection">;
|
|
690
788
|
capturedAt: z.ZodString;
|
|
691
|
-
revision: z.core.$ZodBranded<z.ZodString, "
|
|
789
|
+
revision: z.core.$ZodBranded<z.ZodString, "ContentModelSha256", "out">;
|
|
692
790
|
routes: z.ZodArray<z.ZodObject<{
|
|
693
|
-
id: z.core.$ZodBranded<z.ZodString, "
|
|
791
|
+
id: z.core.$ZodBranded<z.ZodString, "ContentModelSha256", "out">;
|
|
694
792
|
sourceRuleId: z.ZodNumber;
|
|
695
793
|
priority: z.ZodNumber;
|
|
696
794
|
host: z.ZodString;
|
|
@@ -753,7 +851,7 @@ export declare const contentPlatformV1FixtureSchema: z.ZodObject<{
|
|
|
753
851
|
abilityId: z.core.$ZodBranded<z.ZodString, "ContentAbilityId", "out">;
|
|
754
852
|
callId: z.ZodString;
|
|
755
853
|
status: z.ZodLiteral<"succeeded">;
|
|
756
|
-
output: z.ZodType<import("./content-
|
|
854
|
+
output: z.ZodType<import("./content-model.js").ContentModelJsonValue, unknown, z.core.$ZodTypeInternals<import("./content-model.js").ContentModelJsonValue, unknown>>;
|
|
757
855
|
invalidates: z.ZodArray<z.core.$ZodBranded<z.ZodString, "ContentAbilityId", "out">>;
|
|
758
856
|
}, z.core.$strict>, z.ZodObject<{
|
|
759
857
|
format: z.ZodLiteral<"spacefast.ability-receipt">;
|
|
@@ -786,9 +884,13 @@ export declare const contentPlatformV1FixtureSchema: z.ZodObject<{
|
|
|
786
884
|
kind: z.ZodLiteral<"user">;
|
|
787
885
|
id: z.ZodString;
|
|
788
886
|
}, z.core.$strict>;
|
|
789
|
-
subject: z.
|
|
887
|
+
subject: z.ZodObject<{
|
|
790
888
|
issuer: z.ZodString;
|
|
791
889
|
subject: z.ZodString;
|
|
890
|
+
}, z.core.$strict>;
|
|
891
|
+
profile: z.ZodOptional<z.ZodObject<{
|
|
892
|
+
displayName: z.ZodOptional<z.ZodString>;
|
|
893
|
+
avatarUrl: z.ZodOptional<z.ZodString>;
|
|
792
894
|
}, z.core.$strict>>;
|
|
793
895
|
format: z.ZodLiteral<"spacefast.principal">;
|
|
794
896
|
version: z.ZodLiteral<1>;
|
|
@@ -802,11 +904,41 @@ export declare const contentPlatformV1FixtureSchema: z.ZodObject<{
|
|
|
802
904
|
nonce: z.ZodString;
|
|
803
905
|
issuedAt: z.ZodNumber;
|
|
804
906
|
expiresAt: z.ZodNumber;
|
|
907
|
+
wordpressRole: z.ZodNullable<z.ZodEnum<{
|
|
908
|
+
editor: "editor";
|
|
909
|
+
subscriber: "subscriber";
|
|
910
|
+
administrator: "administrator";
|
|
911
|
+
}>>;
|
|
805
912
|
}, z.core.$strict>, z.ZodObject<{
|
|
806
913
|
actor: z.ZodObject<{
|
|
807
914
|
kind: z.ZodLiteral<"service">;
|
|
808
915
|
id: z.ZodString;
|
|
809
916
|
}, z.core.$strict>;
|
|
917
|
+
profile: z.ZodOptional<z.ZodObject<{
|
|
918
|
+
displayName: z.ZodOptional<z.ZodString>;
|
|
919
|
+
avatarUrl: z.ZodOptional<z.ZodString>;
|
|
920
|
+
}, z.core.$strict>>;
|
|
921
|
+
format: z.ZodLiteral<"spacefast.principal">;
|
|
922
|
+
version: z.ZodLiteral<1>;
|
|
923
|
+
audience: z.ZodObject<{
|
|
924
|
+
spaceId: z.ZodTemplateLiteral<`spc_${string}`>;
|
|
925
|
+
runtimeInstanceId: z.ZodString;
|
|
926
|
+
host: z.core.$ZodBranded<z.ZodString, "ExactOrigin", "out">;
|
|
927
|
+
}, z.core.$strict>;
|
|
928
|
+
sessionVersion: z.ZodNumber;
|
|
929
|
+
accessGeneration: z.ZodNumber;
|
|
930
|
+
nonce: z.ZodString;
|
|
931
|
+
issuedAt: z.ZodNumber;
|
|
932
|
+
expiresAt: z.ZodNumber;
|
|
933
|
+
wordpressRole: z.ZodNullable<z.ZodEnum<{
|
|
934
|
+
editor: "editor";
|
|
935
|
+
subscriber: "subscriber";
|
|
936
|
+
administrator: "administrator";
|
|
937
|
+
}>>;
|
|
938
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
939
|
+
actor: z.ZodObject<{
|
|
940
|
+
kind: z.ZodLiteral<"anonymous">;
|
|
941
|
+
}, z.core.$strict>;
|
|
810
942
|
format: z.ZodLiteral<"spacefast.principal">;
|
|
811
943
|
version: z.ZodLiteral<1>;
|
|
812
944
|
audience: z.ZodObject<{
|
|
@@ -819,6 +951,11 @@ export declare const contentPlatformV1FixtureSchema: z.ZodObject<{
|
|
|
819
951
|
nonce: z.ZodString;
|
|
820
952
|
issuedAt: z.ZodNumber;
|
|
821
953
|
expiresAt: z.ZodNumber;
|
|
954
|
+
wordpressRole: z.ZodNullable<z.ZodEnum<{
|
|
955
|
+
editor: "editor";
|
|
956
|
+
subscriber: "subscriber";
|
|
957
|
+
administrator: "administrator";
|
|
958
|
+
}>>;
|
|
822
959
|
}, z.core.$strict>]>;
|
|
823
960
|
frameLaunchTicket: z.ZodObject<{
|
|
824
961
|
format: z.ZodLiteral<"spacefast.frame-launch-ticket">;
|
|
@@ -848,7 +985,7 @@ export declare const contentPlatformV1FixtureSchema: z.ZodObject<{
|
|
|
848
985
|
target: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
849
986
|
kind: z.ZodLiteral<"live">;
|
|
850
987
|
versionId: z.ZodTemplateLiteral<`ver_${string}`>;
|
|
851
|
-
routeRevision: z.core.$ZodBranded<z.ZodString, "
|
|
988
|
+
routeRevision: z.core.$ZodBranded<z.ZodString, "ContentModelSha256", "out">;
|
|
852
989
|
}, z.core.$strict>, z.ZodObject<{
|
|
853
990
|
kind: z.ZodLiteral<"version">;
|
|
854
991
|
versionId: z.ZodTemplateLiteral<`ver_${string}`>;
|
|
@@ -856,7 +993,7 @@ export declare const contentPlatformV1FixtureSchema: z.ZodObject<{
|
|
|
856
993
|
kind: z.ZodLiteral<"branch">;
|
|
857
994
|
branch: z.ZodString;
|
|
858
995
|
versionId: z.ZodTemplateLiteral<`ver_${string}`>;
|
|
859
|
-
branchRevision: z.core.$ZodBranded<z.ZodString, "
|
|
996
|
+
branchRevision: z.core.$ZodBranded<z.ZodString, "ContentModelSha256", "out">;
|
|
860
997
|
}, z.core.$strict>], "kind">;
|
|
861
998
|
surface: z.ZodEnum<{
|
|
862
999
|
"wordpress.editor": "wordpress.editor";
|
|
@@ -870,7 +1007,7 @@ export declare const contentPlatformV1FixtureSchema: z.ZodObject<{
|
|
|
870
1007
|
"content.publish": "content.publish";
|
|
871
1008
|
"access.manage": "access.manage";
|
|
872
1009
|
}>>;
|
|
873
|
-
grantDecisionDigest: z.core.$ZodBranded<z.ZodString, "
|
|
1010
|
+
grantDecisionDigest: z.core.$ZodBranded<z.ZodString, "ContentModelSha256", "out">;
|
|
874
1011
|
accessGeneration: z.ZodNumber;
|
|
875
1012
|
sessionVersion: z.ZodNumber;
|
|
876
1013
|
issuedAt: z.ZodNumber;
|
|
@@ -899,7 +1036,7 @@ export declare const contentPlatformV1FixtureSchema: z.ZodObject<{
|
|
|
899
1036
|
target: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
900
1037
|
kind: z.ZodLiteral<"live">;
|
|
901
1038
|
versionId: z.ZodTemplateLiteral<`ver_${string}`>;
|
|
902
|
-
routeRevision: z.core.$ZodBranded<z.ZodString, "
|
|
1039
|
+
routeRevision: z.core.$ZodBranded<z.ZodString, "ContentModelSha256", "out">;
|
|
903
1040
|
}, z.core.$strict>, z.ZodObject<{
|
|
904
1041
|
kind: z.ZodLiteral<"version">;
|
|
905
1042
|
versionId: z.ZodTemplateLiteral<`ver_${string}`>;
|
|
@@ -907,7 +1044,7 @@ export declare const contentPlatformV1FixtureSchema: z.ZodObject<{
|
|
|
907
1044
|
kind: z.ZodLiteral<"branch">;
|
|
908
1045
|
branch: z.ZodString;
|
|
909
1046
|
versionId: z.ZodTemplateLiteral<`ver_${string}`>;
|
|
910
|
-
branchRevision: z.core.$ZodBranded<z.ZodString, "
|
|
1047
|
+
branchRevision: z.core.$ZodBranded<z.ZodString, "ContentModelSha256", "out">;
|
|
911
1048
|
}, z.core.$strict>], "kind">;
|
|
912
1049
|
surface: z.ZodEnum<{
|
|
913
1050
|
"wordpress.editor": "wordpress.editor";
|
|
@@ -921,7 +1058,7 @@ export declare const contentPlatformV1FixtureSchema: z.ZodObject<{
|
|
|
921
1058
|
"content.publish": "content.publish";
|
|
922
1059
|
"access.manage": "access.manage";
|
|
923
1060
|
}>>;
|
|
924
|
-
grantDecisionDigest: z.core.$ZodBranded<z.ZodString, "
|
|
1061
|
+
grantDecisionDigest: z.core.$ZodBranded<z.ZodString, "ContentModelSha256", "out">;
|
|
925
1062
|
accessGeneration: z.ZodNumber;
|
|
926
1063
|
sessionVersion: z.ZodNumber;
|
|
927
1064
|
nonce: z.ZodString;
|
|
@@ -933,33 +1070,38 @@ export declare const contentPlatformV1FixtureSchema: z.ZodObject<{
|
|
|
933
1070
|
state: z.ZodLiteral<"initial">;
|
|
934
1071
|
bindingId: z.core.$ZodBranded<z.ZodString, "ContentSyncBindingId", "out">;
|
|
935
1072
|
source: z.ZodString;
|
|
936
|
-
|
|
1073
|
+
text: z.ZodString;
|
|
937
1074
|
observedSourceRevision: z.ZodString;
|
|
938
1075
|
operationId: z.ZodTemplateLiteral<`op_${string}`>;
|
|
939
1076
|
}, z.core.$strict>, z.ZodObject<{
|
|
940
1077
|
state: z.ZodLiteral<"bound">;
|
|
941
|
-
baseRevision: z.core.$ZodBranded<z.ZodString, "
|
|
1078
|
+
baseRevision: z.core.$ZodBranded<z.ZodString, "ContentModelSha256", "out">;
|
|
942
1079
|
bindingId: z.core.$ZodBranded<z.ZodString, "ContentSyncBindingId", "out">;
|
|
943
1080
|
source: z.ZodString;
|
|
944
|
-
|
|
1081
|
+
text: z.ZodString;
|
|
945
1082
|
observedSourceRevision: z.ZodString;
|
|
946
1083
|
operationId: z.ZodTemplateLiteral<`op_${string}`>;
|
|
947
1084
|
}, z.core.$strict>], "state">;
|
|
948
1085
|
receipt: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
949
1086
|
status: z.ZodLiteral<"created">;
|
|
950
|
-
format: z.ZodLiteral<"spacefast.
|
|
1087
|
+
format: z.ZodLiteral<"spacefast.content-sync">;
|
|
951
1088
|
version: z.ZodLiteral<1>;
|
|
952
1089
|
operationId: z.ZodTemplateLiteral<`op_${string}`>;
|
|
953
1090
|
ledger: z.ZodObject<{
|
|
954
1091
|
version: z.ZodLiteral<1>;
|
|
955
1092
|
bindingId: z.core.$ZodBranded<z.ZodString, "ContentSyncBindingId", "out">;
|
|
956
1093
|
source: z.ZodString;
|
|
957
|
-
|
|
958
|
-
|
|
959
|
-
|
|
1094
|
+
format: z.ZodEnum<{
|
|
1095
|
+
md: "md";
|
|
1096
|
+
html: "html";
|
|
1097
|
+
tsx: "tsx";
|
|
1098
|
+
}>;
|
|
1099
|
+
baseText: z.ZodString;
|
|
1100
|
+
textDigest: z.core.$ZodBranded<z.ZodString, "ContentModelSha256", "out">;
|
|
1101
|
+
blocksDigest: z.core.$ZodBranded<z.ZodString, "ContentModelSha256", "out">;
|
|
960
1102
|
wordpressRevisionId: z.ZodNumber;
|
|
961
1103
|
serializerVersion: z.ZodLiteral<1>;
|
|
962
|
-
revision: z.core.$ZodBranded<z.ZodString, "
|
|
1104
|
+
revision: z.core.$ZodBranded<z.ZodString, "ContentModelSha256", "out">;
|
|
963
1105
|
lastDirection: z.ZodEnum<{
|
|
964
1106
|
push: "push";
|
|
965
1107
|
pull: "pull";
|
|
@@ -967,19 +1109,24 @@ export declare const contentPlatformV1FixtureSchema: z.ZodObject<{
|
|
|
967
1109
|
}, z.core.$strict>;
|
|
968
1110
|
}, z.core.$strict>, z.ZodObject<{
|
|
969
1111
|
status: z.ZodLiteral<"unchanged">;
|
|
970
|
-
format: z.ZodLiteral<"spacefast.
|
|
1112
|
+
format: z.ZodLiteral<"spacefast.content-sync">;
|
|
971
1113
|
version: z.ZodLiteral<1>;
|
|
972
1114
|
operationId: z.ZodTemplateLiteral<`op_${string}`>;
|
|
973
1115
|
ledger: z.ZodObject<{
|
|
974
1116
|
version: z.ZodLiteral<1>;
|
|
975
1117
|
bindingId: z.core.$ZodBranded<z.ZodString, "ContentSyncBindingId", "out">;
|
|
976
1118
|
source: z.ZodString;
|
|
977
|
-
|
|
978
|
-
|
|
979
|
-
|
|
1119
|
+
format: z.ZodEnum<{
|
|
1120
|
+
md: "md";
|
|
1121
|
+
html: "html";
|
|
1122
|
+
tsx: "tsx";
|
|
1123
|
+
}>;
|
|
1124
|
+
baseText: z.ZodString;
|
|
1125
|
+
textDigest: z.core.$ZodBranded<z.ZodString, "ContentModelSha256", "out">;
|
|
1126
|
+
blocksDigest: z.core.$ZodBranded<z.ZodString, "ContentModelSha256", "out">;
|
|
980
1127
|
wordpressRevisionId: z.ZodNumber;
|
|
981
1128
|
serializerVersion: z.ZodLiteral<1>;
|
|
982
|
-
revision: z.core.$ZodBranded<z.ZodString, "
|
|
1129
|
+
revision: z.core.$ZodBranded<z.ZodString, "ContentModelSha256", "out">;
|
|
983
1130
|
lastDirection: z.ZodEnum<{
|
|
984
1131
|
push: "push";
|
|
985
1132
|
pull: "pull";
|
|
@@ -987,19 +1134,24 @@ export declare const contentPlatformV1FixtureSchema: z.ZodObject<{
|
|
|
987
1134
|
}, z.core.$strict>;
|
|
988
1135
|
}, z.core.$strict>, z.ZodObject<{
|
|
989
1136
|
status: z.ZodLiteral<"pushed">;
|
|
990
|
-
format: z.ZodLiteral<"spacefast.
|
|
1137
|
+
format: z.ZodLiteral<"spacefast.content-sync">;
|
|
991
1138
|
version: z.ZodLiteral<1>;
|
|
992
1139
|
operationId: z.ZodTemplateLiteral<`op_${string}`>;
|
|
993
1140
|
ledger: z.ZodObject<{
|
|
994
1141
|
version: z.ZodLiteral<1>;
|
|
995
1142
|
bindingId: z.core.$ZodBranded<z.ZodString, "ContentSyncBindingId", "out">;
|
|
996
1143
|
source: z.ZodString;
|
|
997
|
-
|
|
998
|
-
|
|
999
|
-
|
|
1144
|
+
format: z.ZodEnum<{
|
|
1145
|
+
md: "md";
|
|
1146
|
+
html: "html";
|
|
1147
|
+
tsx: "tsx";
|
|
1148
|
+
}>;
|
|
1149
|
+
baseText: z.ZodString;
|
|
1150
|
+
textDigest: z.core.$ZodBranded<z.ZodString, "ContentModelSha256", "out">;
|
|
1151
|
+
blocksDigest: z.core.$ZodBranded<z.ZodString, "ContentModelSha256", "out">;
|
|
1000
1152
|
wordpressRevisionId: z.ZodNumber;
|
|
1001
1153
|
serializerVersion: z.ZodLiteral<1>;
|
|
1002
|
-
revision: z.core.$ZodBranded<z.ZodString, "
|
|
1154
|
+
revision: z.core.$ZodBranded<z.ZodString, "ContentModelSha256", "out">;
|
|
1003
1155
|
lastDirection: z.ZodEnum<{
|
|
1004
1156
|
push: "push";
|
|
1005
1157
|
pull: "pull";
|
|
@@ -1011,22 +1163,27 @@ export declare const contentPlatformV1FixtureSchema: z.ZodObject<{
|
|
|
1011
1163
|
state: z.ZodLiteral<"prepared">;
|
|
1012
1164
|
source: z.ZodString;
|
|
1013
1165
|
expectedSourceRevision: z.ZodString;
|
|
1014
|
-
|
|
1015
|
-
|
|
1166
|
+
text: z.ZodString;
|
|
1167
|
+
textDigest: z.core.$ZodBranded<z.ZodString, "ContentModelSha256", "out">;
|
|
1016
1168
|
}, z.core.$strict>;
|
|
1017
|
-
format: z.ZodLiteral<"spacefast.
|
|
1169
|
+
format: z.ZodLiteral<"spacefast.content-sync">;
|
|
1018
1170
|
version: z.ZodLiteral<1>;
|
|
1019
1171
|
operationId: z.ZodTemplateLiteral<`op_${string}`>;
|
|
1020
1172
|
ledger: z.ZodObject<{
|
|
1021
1173
|
version: z.ZodLiteral<1>;
|
|
1022
1174
|
bindingId: z.core.$ZodBranded<z.ZodString, "ContentSyncBindingId", "out">;
|
|
1023
1175
|
source: z.ZodString;
|
|
1024
|
-
|
|
1025
|
-
|
|
1026
|
-
|
|
1176
|
+
format: z.ZodEnum<{
|
|
1177
|
+
md: "md";
|
|
1178
|
+
html: "html";
|
|
1179
|
+
tsx: "tsx";
|
|
1180
|
+
}>;
|
|
1181
|
+
baseText: z.ZodString;
|
|
1182
|
+
textDigest: z.core.$ZodBranded<z.ZodString, "ContentModelSha256", "out">;
|
|
1183
|
+
blocksDigest: z.core.$ZodBranded<z.ZodString, "ContentModelSha256", "out">;
|
|
1027
1184
|
wordpressRevisionId: z.ZodNumber;
|
|
1028
1185
|
serializerVersion: z.ZodLiteral<1>;
|
|
1029
|
-
revision: z.core.$ZodBranded<z.ZodString, "
|
|
1186
|
+
revision: z.core.$ZodBranded<z.ZodString, "ContentModelSha256", "out">;
|
|
1030
1187
|
lastDirection: z.ZodEnum<{
|
|
1031
1188
|
push: "push";
|
|
1032
1189
|
pull: "pull";
|
|
@@ -1035,12 +1192,11 @@ export declare const contentPlatformV1FixtureSchema: z.ZodObject<{
|
|
|
1035
1192
|
}, z.core.$strict>], "status">;
|
|
1036
1193
|
}, z.core.$strict>;
|
|
1037
1194
|
syncSourceAcknowledgement: z.ZodObject<{
|
|
1038
|
-
format: z.ZodLiteral<"spacefast.
|
|
1195
|
+
format: z.ZodLiteral<"spacefast.content-sync-ack">;
|
|
1039
1196
|
version: z.ZodLiteral<1>;
|
|
1040
1197
|
bindingId: z.core.$ZodBranded<z.ZodString, "ContentSyncBindingId", "out">;
|
|
1041
1198
|
operationId: z.ZodTemplateLiteral<`op_${string}`>;
|
|
1042
|
-
|
|
1043
|
-
baseRevision: z.core.$ZodBranded<z.ZodString, "ContentProgramSha256", "out">;
|
|
1199
|
+
baseRevision: z.core.$ZodBranded<z.ZodString, "ContentModelSha256", "out">;
|
|
1044
1200
|
}, z.core.$strict>;
|
|
1045
1201
|
syncConflict: z.ZodObject<{
|
|
1046
1202
|
type: z.ZodString;
|
|
@@ -1051,22 +1207,22 @@ export declare const contentPlatformV1FixtureSchema: z.ZodObject<{
|
|
|
1051
1207
|
next: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1052
1208
|
requestId: z.ZodString;
|
|
1053
1209
|
status: z.ZodLiteral<409>;
|
|
1054
|
-
code: z.ZodLiteral<"
|
|
1210
|
+
code: z.ZodLiteral<"content_sync_conflict">;
|
|
1055
1211
|
details: z.ZodObject<{
|
|
1056
1212
|
bindingId: z.core.$ZodBranded<z.ZodString, "ContentSyncBindingId", "out">;
|
|
1057
1213
|
base: z.ZodObject<{
|
|
1058
|
-
|
|
1059
|
-
digest: z.core.$ZodBranded<z.ZodString, "
|
|
1214
|
+
text: z.ZodString;
|
|
1215
|
+
digest: z.core.$ZodBranded<z.ZodString, "ContentModelSha256", "out">;
|
|
1060
1216
|
revision: z.ZodString;
|
|
1061
1217
|
}, z.core.$strict>;
|
|
1062
1218
|
source: z.ZodObject<{
|
|
1063
|
-
|
|
1064
|
-
digest: z.core.$ZodBranded<z.ZodString, "
|
|
1219
|
+
text: z.ZodString;
|
|
1220
|
+
digest: z.core.$ZodBranded<z.ZodString, "ContentModelSha256", "out">;
|
|
1065
1221
|
revision: z.ZodString;
|
|
1066
1222
|
}, z.core.$strict>;
|
|
1067
1223
|
wordpress: z.ZodObject<{
|
|
1068
|
-
|
|
1069
|
-
digest: z.core.$ZodBranded<z.ZodString, "
|
|
1224
|
+
text: z.ZodString;
|
|
1225
|
+
digest: z.core.$ZodBranded<z.ZodString, "ContentModelSha256", "out">;
|
|
1070
1226
|
revision: z.ZodString;
|
|
1071
1227
|
wordpressRevisionId: z.ZodNumber;
|
|
1072
1228
|
}, z.core.$strict>;
|
|
@@ -1088,7 +1244,7 @@ export declare const contentPlatformV1FixtureSchema: z.ZodObject<{
|
|
|
1088
1244
|
wordpress: "wordpress";
|
|
1089
1245
|
lakebed: "lakebed";
|
|
1090
1246
|
}>;
|
|
1091
|
-
payloadDigest: z.core.$ZodBranded<z.ZodString, "
|
|
1247
|
+
payloadDigest: z.core.$ZodBranded<z.ZodString, "ContentModelSha256", "out">;
|
|
1092
1248
|
createdAt: z.ZodString;
|
|
1093
1249
|
}, z.core.$strict>, z.ZodObject<{
|
|
1094
1250
|
kind: z.ZodLiteral<"mail">;
|
|
@@ -1102,6 +1258,14 @@ export declare const contentPlatformV1FixtureSchema: z.ZodObject<{
|
|
|
1102
1258
|
email: z.ZodString;
|
|
1103
1259
|
name: z.ZodOptional<z.ZodString>;
|
|
1104
1260
|
}, z.core.$strict>>;
|
|
1261
|
+
cc: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1262
|
+
email: z.ZodString;
|
|
1263
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1264
|
+
}, z.core.$strict>>>;
|
|
1265
|
+
bcc: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1266
|
+
email: z.ZodString;
|
|
1267
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1268
|
+
}, z.core.$strict>>>;
|
|
1105
1269
|
subject: z.ZodString;
|
|
1106
1270
|
body: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1107
1271
|
kind: z.ZodLiteral<"text">;
|
|
@@ -1118,6 +1282,7 @@ export declare const contentPlatformV1FixtureSchema: z.ZodObject<{
|
|
|
1118
1282
|
email: z.ZodString;
|
|
1119
1283
|
name: z.ZodOptional<z.ZodString>;
|
|
1120
1284
|
}, z.core.$strict>>;
|
|
1285
|
+
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1121
1286
|
}, z.core.$strict>;
|
|
1122
1287
|
format: z.ZodLiteral<"spacefast.application-journal">;
|
|
1123
1288
|
version: z.ZodLiteral<1>;
|
|
@@ -1129,7 +1294,55 @@ export declare const contentPlatformV1FixtureSchema: z.ZodObject<{
|
|
|
1129
1294
|
wordpress: "wordpress";
|
|
1130
1295
|
lakebed: "lakebed";
|
|
1131
1296
|
}>;
|
|
1132
|
-
payloadDigest: z.core.$ZodBranded<z.ZodString, "
|
|
1297
|
+
payloadDigest: z.core.$ZodBranded<z.ZodString, "ContentModelSha256", "out">;
|
|
1298
|
+
createdAt: z.ZodString;
|
|
1299
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1300
|
+
kind: z.ZodLiteral<"content-source-changed">;
|
|
1301
|
+
payload: z.ZodObject<{
|
|
1302
|
+
bindingId: z.core.$ZodBranded<z.ZodString, "ContentSyncBindingId", "out">;
|
|
1303
|
+
source: z.ZodString;
|
|
1304
|
+
postId: z.ZodNumber;
|
|
1305
|
+
wordpressRevisionId: z.ZodNumber;
|
|
1306
|
+
baseRevision: z.core.$ZodBranded<z.ZodString, "ContentModelSha256", "out">;
|
|
1307
|
+
author: z.ZodObject<{
|
|
1308
|
+
name: z.ZodString;
|
|
1309
|
+
email: z.ZodString;
|
|
1310
|
+
}, z.core.$strict>;
|
|
1311
|
+
}, z.core.$strict>;
|
|
1312
|
+
format: z.ZodLiteral<"spacefast.application-journal">;
|
|
1313
|
+
version: z.ZodLiteral<1>;
|
|
1314
|
+
id: z.core.$ZodBranded<z.ZodString, "ApplicationJournalEntryId", "out">;
|
|
1315
|
+
spaceId: z.ZodTemplateLiteral<`spc_${string}`>;
|
|
1316
|
+
operationId: z.ZodTemplateLiteral<`op_${string}`>;
|
|
1317
|
+
effectOrdinal: z.ZodNumber;
|
|
1318
|
+
store: z.ZodEnum<{
|
|
1319
|
+
wordpress: "wordpress";
|
|
1320
|
+
lakebed: "lakebed";
|
|
1321
|
+
}>;
|
|
1322
|
+
payloadDigest: z.core.$ZodBranded<z.ZodString, "ContentModelSha256", "out">;
|
|
1323
|
+
createdAt: z.ZodString;
|
|
1324
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1325
|
+
kind: z.ZodLiteral<"content-source-materialized">;
|
|
1326
|
+
payload: z.ZodObject<{
|
|
1327
|
+
resourceId: z.core.$ZodBranded<z.ZodString, "ContentResourceId", "out">;
|
|
1328
|
+
postId: z.ZodNumber;
|
|
1329
|
+
wordpressRevisionId: z.ZodNumber;
|
|
1330
|
+
author: z.ZodObject<{
|
|
1331
|
+
name: z.ZodString;
|
|
1332
|
+
email: z.ZodString;
|
|
1333
|
+
}, z.core.$strict>;
|
|
1334
|
+
}, z.core.$strict>;
|
|
1335
|
+
format: z.ZodLiteral<"spacefast.application-journal">;
|
|
1336
|
+
version: z.ZodLiteral<1>;
|
|
1337
|
+
id: z.core.$ZodBranded<z.ZodString, "ApplicationJournalEntryId", "out">;
|
|
1338
|
+
spaceId: z.ZodTemplateLiteral<`spc_${string}`>;
|
|
1339
|
+
operationId: z.ZodTemplateLiteral<`op_${string}`>;
|
|
1340
|
+
effectOrdinal: z.ZodNumber;
|
|
1341
|
+
store: z.ZodEnum<{
|
|
1342
|
+
wordpress: "wordpress";
|
|
1343
|
+
lakebed: "lakebed";
|
|
1344
|
+
}>;
|
|
1345
|
+
payloadDigest: z.core.$ZodBranded<z.ZodString, "ContentModelSha256", "out">;
|
|
1133
1346
|
createdAt: z.ZodString;
|
|
1134
1347
|
}, z.core.$strict>], "kind">;
|
|
1135
1348
|
deliveryClaim: z.ZodObject<{
|
|
@@ -1149,7 +1362,7 @@ export declare const contentPlatformV1FixtureSchema: z.ZodObject<{
|
|
|
1149
1362
|
wordpress: "wordpress";
|
|
1150
1363
|
lakebed: "lakebed";
|
|
1151
1364
|
}>;
|
|
1152
|
-
payloadDigest: z.core.$ZodBranded<z.ZodString, "
|
|
1365
|
+
payloadDigest: z.core.$ZodBranded<z.ZodString, "ContentModelSha256", "out">;
|
|
1153
1366
|
createdAt: z.ZodString;
|
|
1154
1367
|
}, z.core.$strict>, z.ZodObject<{
|
|
1155
1368
|
kind: z.ZodLiteral<"mail">;
|
|
@@ -1163,6 +1376,14 @@ export declare const contentPlatformV1FixtureSchema: z.ZodObject<{
|
|
|
1163
1376
|
email: z.ZodString;
|
|
1164
1377
|
name: z.ZodOptional<z.ZodString>;
|
|
1165
1378
|
}, z.core.$strict>>;
|
|
1379
|
+
cc: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1380
|
+
email: z.ZodString;
|
|
1381
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1382
|
+
}, z.core.$strict>>>;
|
|
1383
|
+
bcc: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1384
|
+
email: z.ZodString;
|
|
1385
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1386
|
+
}, z.core.$strict>>>;
|
|
1166
1387
|
subject: z.ZodString;
|
|
1167
1388
|
body: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1168
1389
|
kind: z.ZodLiteral<"text">;
|
|
@@ -1179,6 +1400,55 @@ export declare const contentPlatformV1FixtureSchema: z.ZodObject<{
|
|
|
1179
1400
|
email: z.ZodString;
|
|
1180
1401
|
name: z.ZodOptional<z.ZodString>;
|
|
1181
1402
|
}, z.core.$strict>>;
|
|
1403
|
+
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1404
|
+
}, z.core.$strict>;
|
|
1405
|
+
format: z.ZodLiteral<"spacefast.application-journal">;
|
|
1406
|
+
version: z.ZodLiteral<1>;
|
|
1407
|
+
id: z.core.$ZodBranded<z.ZodString, "ApplicationJournalEntryId", "out">;
|
|
1408
|
+
spaceId: z.ZodTemplateLiteral<`spc_${string}`>;
|
|
1409
|
+
operationId: z.ZodTemplateLiteral<`op_${string}`>;
|
|
1410
|
+
effectOrdinal: z.ZodNumber;
|
|
1411
|
+
store: z.ZodEnum<{
|
|
1412
|
+
wordpress: "wordpress";
|
|
1413
|
+
lakebed: "lakebed";
|
|
1414
|
+
}>;
|
|
1415
|
+
payloadDigest: z.core.$ZodBranded<z.ZodString, "ContentModelSha256", "out">;
|
|
1416
|
+
createdAt: z.ZodString;
|
|
1417
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1418
|
+
kind: z.ZodLiteral<"content-source-changed">;
|
|
1419
|
+
payload: z.ZodObject<{
|
|
1420
|
+
bindingId: z.core.$ZodBranded<z.ZodString, "ContentSyncBindingId", "out">;
|
|
1421
|
+
source: z.ZodString;
|
|
1422
|
+
postId: z.ZodNumber;
|
|
1423
|
+
wordpressRevisionId: z.ZodNumber;
|
|
1424
|
+
baseRevision: z.core.$ZodBranded<z.ZodString, "ContentModelSha256", "out">;
|
|
1425
|
+
author: z.ZodObject<{
|
|
1426
|
+
name: z.ZodString;
|
|
1427
|
+
email: z.ZodString;
|
|
1428
|
+
}, z.core.$strict>;
|
|
1429
|
+
}, z.core.$strict>;
|
|
1430
|
+
format: z.ZodLiteral<"spacefast.application-journal">;
|
|
1431
|
+
version: z.ZodLiteral<1>;
|
|
1432
|
+
id: z.core.$ZodBranded<z.ZodString, "ApplicationJournalEntryId", "out">;
|
|
1433
|
+
spaceId: z.ZodTemplateLiteral<`spc_${string}`>;
|
|
1434
|
+
operationId: z.ZodTemplateLiteral<`op_${string}`>;
|
|
1435
|
+
effectOrdinal: z.ZodNumber;
|
|
1436
|
+
store: z.ZodEnum<{
|
|
1437
|
+
wordpress: "wordpress";
|
|
1438
|
+
lakebed: "lakebed";
|
|
1439
|
+
}>;
|
|
1440
|
+
payloadDigest: z.core.$ZodBranded<z.ZodString, "ContentModelSha256", "out">;
|
|
1441
|
+
createdAt: z.ZodString;
|
|
1442
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1443
|
+
kind: z.ZodLiteral<"content-source-materialized">;
|
|
1444
|
+
payload: z.ZodObject<{
|
|
1445
|
+
resourceId: z.core.$ZodBranded<z.ZodString, "ContentResourceId", "out">;
|
|
1446
|
+
postId: z.ZodNumber;
|
|
1447
|
+
wordpressRevisionId: z.ZodNumber;
|
|
1448
|
+
author: z.ZodObject<{
|
|
1449
|
+
name: z.ZodString;
|
|
1450
|
+
email: z.ZodString;
|
|
1451
|
+
}, z.core.$strict>;
|
|
1182
1452
|
}, z.core.$strict>;
|
|
1183
1453
|
format: z.ZodLiteral<"spacefast.application-journal">;
|
|
1184
1454
|
version: z.ZodLiteral<1>;
|
|
@@ -1190,7 +1460,7 @@ export declare const contentPlatformV1FixtureSchema: z.ZodObject<{
|
|
|
1190
1460
|
wordpress: "wordpress";
|
|
1191
1461
|
lakebed: "lakebed";
|
|
1192
1462
|
}>;
|
|
1193
|
-
payloadDigest: z.core.$ZodBranded<z.ZodString, "
|
|
1463
|
+
payloadDigest: z.core.$ZodBranded<z.ZodString, "ContentModelSha256", "out">;
|
|
1194
1464
|
createdAt: z.ZodString;
|
|
1195
1465
|
}, z.core.$strict>], "kind">;
|
|
1196
1466
|
fence: z.ZodObject<{
|