@spacefast/common 0.0.24 → 0.2.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/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.d.ts +6 -146
- package/dist/agents/connect-targets.js +63 -295
- package/dist/agents/private-key-oauth.d.ts +31 -2
- package/dist/agents/private-key-oauth.js +166 -92
- package/dist/agents/registry/core.d.ts +292 -0
- package/dist/agents/registry/core.js +1388 -0
- package/dist/agents/registry/deeplink-probes.d.ts +23 -0
- package/dist/agents/registry/deeplink-probes.js +18 -0
- package/dist/agents/registry/node.d.ts +56 -0
- package/dist/agents/registry/node.js +339 -0
- package/dist/brand-assets-build.js +3 -6
- package/dist/brand-assets.d.ts +5 -15
- package/dist/brand-assets.js +12 -14
- package/dist/brand.d.ts +17 -0
- package/dist/brand.js +24 -4
- package/dist/config/domains.d.ts +79 -12
- package/dist/config/domains.js +128 -29
- package/dist/config/index.js +1 -2
- package/dist/contracts/abuse.js +9 -24
- package/dist/contracts/access-profiles.d.ts +86 -0
- package/dist/contracts/access-profiles.js +89 -0
- package/dist/contracts/access.d.ts +24 -30
- package/dist/contracts/access.js +33 -64
- package/dist/contracts/activity.d.ts +18 -1
- package/dist/contracts/activity.js +72 -26
- package/dist/contracts/analytics.js +8 -10
- package/dist/contracts/api-keys.d.ts +77 -52
- package/dist/contracts/api-keys.js +44 -24
- package/dist/contracts/application-journal.d.ts +216 -0
- package/dist/contracts/application-journal.js +167 -0
- package/dist/contracts/auth.d.ts +90 -17
- package/dist/contracts/auth.js +86 -17
- package/dist/contracts/beta.d.ts +9 -4
- package/dist/contracts/beta.js +20 -16
- package/dist/contracts/billing.d.ts +2 -1
- package/dist/contracts/billing.js +37 -11
- package/dist/contracts/bootstrap.d.ts +791 -0
- package/dist/contracts/bootstrap.js +51 -0
- package/dist/contracts/builds.d.ts +209 -18
- package/dist/contracts/builds.js +93 -27
- package/dist/contracts/channels.d.ts +43 -0
- package/dist/contracts/channels.js +25 -9
- package/dist/contracts/cli.d.ts +7 -0
- package/dist/contracts/cli.js +6 -0
- package/dist/contracts/collab-public.d.ts +1 -1
- package/dist/contracts/collab-public.js +5 -8
- package/dist/contracts/comments.d.ts +44 -34
- package/dist/contracts/comments.js +107 -77
- package/dist/contracts/commerce.d.ts +165 -0
- package/dist/contracts/commerce.js +146 -0
- package/dist/contracts/common.d.ts +3 -3
- package/dist/contracts/common.js +20 -31
- package/dist/contracts/content-contract-verification.d.ts +521 -0
- package/dist/contracts/content-contract-verification.js +320 -0
- package/dist/contracts/content-platform-fixture.d.ts +1278 -0
- package/dist/contracts/content-platform-fixture.js +44 -0
- package/dist/contracts/content-program.d.ts +994 -0
- package/dist/contracts/content-program.js +658 -0
- package/dist/contracts/content-sync.d.ts +290 -0
- package/dist/contracts/content-sync.js +167 -0
- package/dist/contracts/content.d.ts +432 -0
- package/dist/contracts/content.js +303 -0
- package/dist/contracts/continuation.d.ts +17 -1
- package/dist/contracts/continuation.js +23 -23
- package/dist/contracts/countries.js +3 -4
- package/dist/contracts/crons.d.ts +52 -0
- package/dist/contracts/crons.js +60 -0
- package/dist/contracts/dashboard-prefs.d.ts +56 -0
- package/dist/contracts/dashboard-prefs.js +51 -0
- package/dist/contracts/device-auth.d.ts +234 -37
- package/dist/contracts/device-auth.js +267 -53
- package/dist/contracts/docs.d.ts +1 -5
- package/dist/contracts/docs.js +7 -15
- package/dist/contracts/domains.d.ts +501 -93
- package/dist/contracts/domains.js +193 -55
- package/dist/contracts/email-preferences.d.ts +3 -3
- package/dist/contracts/email-preferences.js +6 -7
- package/dist/contracts/enums.d.ts +27 -26
- package/dist/contracts/enums.js +68 -61
- package/dist/contracts/error-code-meta.d.ts +283 -7
- package/dist/contracts/error-code-meta.js +97 -5
- package/dist/contracts/error-codes.d.ts +5 -5
- package/dist/contracts/error-codes.js +82 -17
- package/dist/contracts/events.d.ts +100 -20
- package/dist/contracts/events.js +107 -20
- package/dist/contracts/execution.d.ts +48 -64
- package/dist/contracts/execution.js +52 -62
- package/dist/contracts/feature-lifecycle.d.ts +73 -27
- package/dist/contracts/feature-lifecycle.js +86 -26
- package/dist/contracts/features.d.ts +68 -19
- package/dist/contracts/features.js +42 -41
- package/dist/contracts/fixtures/content-platform-v1.json +1108 -0
- package/dist/contracts/frame-session.d.ts +192 -0
- package/dist/contracts/frame-session.js +164 -0
- package/dist/contracts/functions.d.ts +338 -164
- package/dist/contracts/functions.js +367 -198
- package/dist/contracts/git.d.ts +27 -33
- package/dist/contracts/git.js +10 -11
- package/dist/contracts/grant-copy.d.ts +43 -0
- package/dist/contracts/grant-copy.js +44 -0
- package/dist/contracts/grants.d.ts +62 -54
- package/dist/contracts/grants.js +124 -23
- package/dist/contracts/ids.d.ts +4 -1
- package/dist/contracts/ids.js +6 -3
- package/dist/contracts/internal.d.ts +8 -18
- package/dist/contracts/internal.js +13 -14
- package/dist/contracts/mcp.d.ts +28 -0
- package/dist/contracts/mcp.js +28 -0
- package/dist/contracts/me.d.ts +6 -1
- package/dist/contracts/me.js +12 -6
- package/dist/contracts/notifications.d.ts +27 -29
- package/dist/contracts/notifications.js +9 -4
- package/dist/contracts/oauth-resources.d.ts +112 -10
- package/dist/contracts/oauth-resources.js +116 -11
- package/dist/contracts/oauth-scope-actions.d.ts +90 -0
- package/dist/contracts/oauth-scope-actions.js +126 -0
- package/dist/contracts/operations.d.ts +27 -4
- package/dist/contracts/operations.js +12 -6
- package/dist/contracts/pages.d.ts +31 -7
- package/dist/contracts/pages.js +22 -5
- package/dist/contracts/partner-notifications.d.ts +3 -0
- package/dist/contracts/partner-notifications.js +65 -0
- package/dist/contracts/{platform.d.ts → partner.d.ts} +29 -42
- package/dist/contracts/{platform.js → partner.js} +27 -40
- package/dist/contracts/plan-policy.js +1 -1
- package/dist/contracts/principal-assertion.d.ts +43 -0
- package/dist/contracts/principal-assertion.js +67 -0
- package/dist/contracts/principals.d.ts +73 -0
- package/dist/contracts/principals.js +59 -0
- package/dist/contracts/privacy.d.ts +11 -0
- package/dist/contracts/privacy.js +17 -0
- package/dist/contracts/problem-document.js +3 -4
- package/dist/contracts/publish-archive.d.ts +269 -161
- package/dist/contracts/publish-archive.js +11 -1
- package/dist/contracts/push-new.d.ts +8 -8
- package/dist/contracts/quotas.js +5 -5
- package/dist/contracts/realtime.d.ts +52 -0
- package/dist/contracts/realtime.js +54 -0
- package/dist/contracts/repository-connections.d.ts +44 -31
- package/dist/contracts/repository-connections.js +17 -5
- package/dist/contracts/resources.d.ts +105 -14
- package/dist/contracts/resources.js +150 -26
- package/dist/contracts/route-inventory.d.ts +358 -0
- package/dist/contracts/route-inventory.js +141 -0
- package/dist/contracts/runtime-api.d.ts +206 -82
- package/dist/contracts/runtime-api.js +131 -70
- package/dist/contracts/runtime-app.d.ts +13 -23
- package/dist/contracts/runtime-app.js +39 -24
- package/dist/contracts/runtime-components.d.ts +143 -0
- package/dist/contracts/runtime-components.js +199 -0
- package/dist/contracts/runtime-db.d.ts +49 -23
- package/dist/contracts/runtime-db.js +87 -22
- package/dist/contracts/runtime-purge.d.ts +8 -0
- package/dist/contracts/runtime-purge.js +5 -0
- package/dist/contracts/runtime-services.d.ts +43 -75
- package/dist/contracts/runtime-services.js +29 -49
- package/dist/contracts/runtime-storage.d.ts +15 -14
- package/dist/contracts/runtime-storage.js +30 -14
- package/dist/contracts/sf-config-v1.d.ts +48 -14
- package/dist/contracts/slugs.js +13 -4
- package/dist/contracts/space-config.d.ts +283 -19
- package/dist/contracts/space-config.js +430 -80
- package/dist/contracts/spaces.d.ts +376 -290
- package/dist/contracts/spaces.js +200 -135
- package/dist/contracts/superadmin-activity.d.ts +3 -43
- package/dist/contracts/superadmin-activity.js +6 -30
- package/dist/contracts/superadmin-emails.d.ts +1 -0
- package/dist/contracts/superadmin-emails.js +17 -1
- package/dist/contracts/superadmin-runtime.d.ts +199 -0
- package/dist/contracts/superadmin-runtime.js +141 -0
- package/dist/contracts/superadmin-search.d.ts +22 -2
- package/dist/contracts/superadmin-search.js +14 -6
- package/dist/contracts/superadmin-spaces.d.ts +438 -189
- package/dist/contracts/superadmin-spaces.js +131 -25
- package/dist/contracts/superadmin-teams.d.ts +5 -2
- package/dist/contracts/superadmin-teams.js +1 -2
- package/dist/contracts/superadmin-tenants.d.ts +627 -12
- package/dist/contracts/superadmin-tenants.js +32 -13
- package/dist/contracts/superadmin.d.ts +232 -37
- package/dist/contracts/superadmin.js +106 -22
- package/dist/contracts/tags.d.ts +85 -58
- package/dist/contracts/tags.js +47 -37
- package/dist/contracts/teams.d.ts +86 -26
- package/dist/contracts/teams.js +90 -31
- package/dist/contracts/tenants.d.ts +135 -0
- package/dist/contracts/tenants.js +120 -0
- package/dist/contracts/test-triggers.d.ts +70 -0
- package/dist/contracts/test-triggers.js +116 -0
- package/dist/contracts/theme-json.js +3 -8
- package/dist/contracts/transfers.d.ts +1 -0
- package/dist/contracts/transfers.js +3 -2
- package/dist/contracts/usage.d.ts +209 -0
- package/dist/contracts/usage.js +124 -12
- package/dist/contracts/variables.d.ts +2 -2
- package/dist/contracts/variables.js +9 -13
- package/dist/contracts/webhooks.d.ts +13 -5
- package/dist/contracts/webhooks.js +3 -1
- package/dist/contracts/zero.d.ts +72 -81
- package/dist/contracts/zero.js +80 -78
- package/dist/dashboard-paths/index.d.ts +24 -21
- package/dist/dashboard-paths/index.js +35 -47
- package/dist/dashboard-paths/route-reservations.generated.d.ts +2 -0
- package/dist/dashboard-paths/route-reservations.generated.js +36 -0
- package/dist/docs/agent-arrival.d.ts +92 -0
- package/dist/docs/agent-arrival.js +227 -0
- package/dist/docs/agent-output-policy.d.ts +6 -0
- package/dist/docs/agent-output-policy.js +22 -0
- package/dist/docs/agent-prose.d.ts +12 -18
- package/dist/docs/agent-prose.js +73 -51
- package/dist/docs/agent-setup.d.ts +72 -41
- package/dist/docs/agent-setup.js +339 -436
- package/dist/docs/catalog.d.ts +153 -95
- package/dist/docs/catalog.js +163 -48
- package/dist/docs/error-docs.d.ts +2098 -1
- package/dist/docs/error-docs.js +421 -144
- package/dist/docs/index-build.d.ts +0 -1
- package/dist/docs/index-build.js +2 -3
- package/dist/docs/page-context-prompt.d.ts +77 -0
- package/dist/docs/page-context-prompt.js +131 -0
- package/dist/docs/reference-urls.d.ts +46 -0
- package/dist/docs/reference-urls.js +79 -0
- package/dist/docs/search.d.ts +6 -8
- package/dist/docs/search.js +10 -13
- package/dist/docs/skill-distribution.d.ts +4 -1
- package/dist/docs/skill-distribution.js +10 -5
- package/dist/docs/skills.d.ts +120 -120
- package/dist/docs/skills.js +121 -73
- package/dist/docs/start-prompts.d.ts +45 -0
- package/dist/docs/start-prompts.js +62 -0
- package/dist/domain-exploration.js +9 -13
- package/dist/og-template.d.ts +56 -0
- package/dist/og-template.js +56 -0
- package/dist/slug-policy/index.js +5 -11
- package/dist/test-helpers/fetch-stub.js +1 -0
- package/dist/utils/browser-credential.d.ts +13 -6
- package/dist/utils/browser-credential.js +14 -7
- package/dist/utils/build-settings.d.ts +21 -1
- package/dist/utils/build-settings.js +133 -15
- package/dist/utils/canonical-json.d.ts +3 -5
- package/dist/utils/canonical-json.js +4 -5
- package/dist/utils/cast-transport.d.ts +5 -17
- package/dist/utils/cast-transport.js +6 -19
- package/dist/utils/claim-token.js +1 -2
- package/dist/utils/comment-avatars.js +4 -6
- package/dist/utils/concurrency.js +3 -3
- package/dist/utils/content-type.d.ts +7 -6
- package/dist/utils/content-type.js +73 -51
- package/dist/utils/credential-policy.d.ts +50 -6
- package/dist/utils/credential-policy.js +126 -59
- package/dist/utils/dns-instructions.js +9 -9
- package/dist/utils/egress-policy.fixtures.json +1 -1
- package/dist/utils/error-code.js +1 -0
- package/dist/utils/generate-space-name.d.ts +3 -8
- package/dist/utils/generate-space-name.js +3 -8
- package/dist/utils/grant-decision.fixtures.json +2 -2
- package/dist/utils/grants.d.ts +0 -1
- package/dist/utils/grants.js +7 -8
- package/dist/utils/gravatar.d.ts +2 -4
- package/dist/utils/gravatar.js +6 -12
- package/dist/utils/id-hints.js +14 -23
- package/dist/utils/idempotency.d.ts +3 -3
- package/dist/utils/idempotency.js +6 -7
- package/dist/utils/local-space-state.d.ts +23 -26
- package/dist/utils/local-space-state.js +46 -46
- package/dist/utils/oauth-signed-query.d.ts +3 -5
- package/dist/utils/oauth-signed-query.js +6 -9
- package/dist/utils/one-shot-replay.d.ts +7 -6
- package/dist/utils/one-shot-replay.js +3 -5
- package/dist/utils/page-colors.d.ts +15 -19
- package/dist/utils/page-colors.js +23 -45
- package/dist/utils/page-fonts.d.ts +1 -1
- package/dist/utils/page-fonts.js +8 -20
- package/dist/utils/page-preview.d.ts +0 -1
- package/dist/utils/page-preview.js +0 -1
- package/dist/utils/pages.d.ts +33 -3
- package/dist/utils/pages.js +83 -30
- package/dist/utils/privacy-regions.d.ts +19 -0
- package/dist/utils/privacy-regions.js +91 -0
- package/dist/utils/publish-form-data.d.ts +4 -5
- package/dist/utils/publish-form-data.js +2 -3
- package/dist/utils/publish-policy.d.ts +11 -17
- package/dist/utils/publish-policy.fixtures.json +11 -5
- package/dist/utils/publish-policy.js +65 -110
- package/dist/utils/query-client.d.ts +2 -0
- package/dist/utils/query-client.js +10 -1
- package/dist/utils/runtime-paths.d.ts +4 -4
- package/dist/utils/runtime-paths.js +6 -8
- package/dist/utils/runtime-upload.d.ts +9 -0
- package/dist/utils/runtime-upload.js +12 -0
- package/dist/utils/secure-local-file.d.ts +3 -3
- package/dist/utils/secure-local-file.js +23 -40
- package/dist/utils/space-config.d.ts +12 -15
- package/dist/utils/space-config.js +13 -16
- package/dist/utils/static-runtime-policy.d.ts +10 -7
- package/dist/utils/static-runtime-policy.fixtures.json +38 -41
- package/dist/utils/static-runtime-policy.generated.d.ts +16 -0
- package/dist/utils/static-runtime-policy.generated.js +70 -0
- package/dist/utils/static-runtime-policy.js +31 -132
- package/dist/utils/storage-policy.js +1 -2
- package/dist/utils/upload-session.d.ts +4 -1
- package/dist/utils/upload-session.js +41 -19
- package/dist/utils/version-path.js +11 -19
- package/dist/utils/wpcom-auth-redirects.d.ts +5 -14
- package/dist/utils/wpcom-auth-redirects.js +1 -4
- package/dist/vocabulary.d.ts +13 -13
- package/dist/vocabulary.js +52 -27
- package/package.json +15 -18
- package/dist/agents/client-registry.d.ts +0 -22
- package/dist/agents/client-registry.js +0 -41
- package/dist/docs/agent-handoff-document.d.ts +0 -15
- package/dist/docs/agent-handoff-document.js +0 -180
- package/dist/docs/agent-solutions.d.ts +0 -110
- package/dist/docs/agent-solutions.js +0 -183
- package/dist/utils/query-keys.d.ts +0 -84
- package/dist/utils/query-keys.js +0 -108
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
import { baseDiagnosticSchema, CursorPaginationSchema, cursorListQuerySchema } from "./common.js";
|
|
3
|
+
import { tenantMode } from "./enums.js";
|
|
3
4
|
export const webhookCreateSchema = z.object({
|
|
4
5
|
teamId: z.string().min(1).optional(),
|
|
5
6
|
url: z.string().url(),
|
|
@@ -15,6 +16,7 @@ export const webhookPatchSchema = z
|
|
|
15
16
|
export const webhookSchema = z.object({
|
|
16
17
|
id: z.string(),
|
|
17
18
|
tenantId: z.string(),
|
|
19
|
+
mode: tenantMode.describe("`test` when the owning tenant is a linked test tenant, `live` otherwise."),
|
|
18
20
|
principal: z
|
|
19
21
|
.object({
|
|
20
22
|
tenantId: z.string(),
|
|
@@ -36,7 +38,7 @@ export const webhookListResponseSchema = z.object({
|
|
|
36
38
|
data: z.array(webhookSchema),
|
|
37
39
|
pagination: CursorPaginationSchema,
|
|
38
40
|
});
|
|
39
|
-
export const
|
|
41
|
+
export const webhookRotateSchema = z.object({
|
|
40
42
|
expireNow: z.boolean().default(false),
|
|
41
43
|
});
|
|
42
44
|
export const webhookDeliverySchema = z.object({
|
package/dist/contracts/zero.d.ts
CHANGED
|
@@ -1,30 +1,28 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
import { type RuntimeRealtimeMode } from "./execution.js";
|
|
3
3
|
/**
|
|
4
|
-
* Spacefast Zero: capsules
|
|
5
|
-
* together inside one parent-owned transaction
|
|
6
|
-
* on a dedicated wp.cloud site
|
|
4
|
+
* Spacefast Zero: capsules of schema, queries, mutations and endpoints that run
|
|
5
|
+
* together inside one parent-owned transaction, executed by the native runner
|
|
6
|
+
* on a dedicated wp.cloud site against that site's own MySQL.
|
|
7
7
|
*
|
|
8
|
-
* The transaction is what makes this a separate product rather than a
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
*
|
|
12
|
-
* for the narrow surface both products can host.
|
|
8
|
+
* The transaction is what makes this a separate product rather than a placement
|
|
9
|
+
* option for `./functions.js`: an isolate reaching the database over a relay
|
|
10
|
+
* cannot offer one. See `endpointIsPortable` in `./execution.js` for the narrow
|
|
11
|
+
* surface both products can host.
|
|
13
12
|
*/
|
|
14
13
|
export declare const ZERO_SOURCE_METADATA_KEY = "statticZero";
|
|
15
14
|
/**
|
|
16
|
-
* The tag a compiled capsule artifact carries
|
|
17
|
-
*
|
|
18
|
-
*
|
|
19
|
-
*
|
|
20
|
-
* space declares: a publish can carry this beside a worker.
|
|
15
|
+
* The tag a compiled capsule artifact carries everywhere it travels, so PHP and
|
|
16
|
+
* the Rust runner can tell what they were handed. It is a property of the
|
|
17
|
+
* artifact, not a kind a space declares: a publish can carry this beside a
|
|
18
|
+
* worker.
|
|
21
19
|
*/
|
|
22
20
|
export declare const ZERO_RUNTIME_KIND = "zero";
|
|
23
21
|
export declare const ZERO_PLATFORM_ROUTE_PREFIX = "/__spacefast/zero";
|
|
24
22
|
/**
|
|
25
|
-
* Entry paths the Zero scaffold writes into `sf.jsonc#runtime`.
|
|
26
|
-
*
|
|
27
|
-
*
|
|
23
|
+
* Entry paths the Zero scaffold writes into `sf.jsonc#runtime`. Starting points
|
|
24
|
+
* only: a capsule's entries are whatever its `runtime.server`/`runtime.client`
|
|
25
|
+
* say, and nothing infers them.
|
|
28
26
|
*/
|
|
29
27
|
export declare const ZERO_CLIENT_ENTRY = "client/index.tsx";
|
|
30
28
|
export declare const ZERO_SERVER_ENTRY = "server/index.ts";
|
|
@@ -42,7 +40,7 @@ export declare const ZERO_RUNTIME_STORAGE_ROOT = "__spacefast/zero";
|
|
|
42
40
|
export declare const ZERO_RUNTIME_ARTIFACT_PATH = "__spacefast/zero/artifact.json";
|
|
43
41
|
export declare const ZERO_RUNTIME_CONFIG_PATH = "__spacefast/zero/config.json";
|
|
44
42
|
export declare const ZERO_RUNTIME_BINARY_PATH = "__spacefast/zero/bin/stattic-runtime";
|
|
45
|
-
export declare const ZERO_RUNTIME_BINARY_COMPATIBILITY_TARGET = "
|
|
43
|
+
export declare const ZERO_RUNTIME_BINARY_COMPATIBILITY_TARGET = "linux-x86_64-gnu-v1";
|
|
46
44
|
export declare const ZERO_RUNTIME_BUNDLE_ROOT = "__spacefast/zero/bundles";
|
|
47
45
|
export declare const ZERO_RUNTIME_SERVER_BUNDLE_PATH = "__spacefast/zero/bundles/server.qjs.mjs";
|
|
48
46
|
/** The compiled capsule client, served at the app root. */
|
|
@@ -51,15 +49,13 @@ export declare const ZERO_PUBLIC_CLIENT_BUNDLE_PATH = "client.js";
|
|
|
51
49
|
* Where platform-owned client bytes serve from: same origin as the space, one
|
|
52
50
|
* content-addressed directory per platform build.
|
|
53
51
|
*
|
|
54
|
-
*
|
|
55
|
-
*
|
|
56
|
-
*
|
|
57
|
-
*
|
|
58
|
-
* platform bytes change, so publishing a capsule a hundred times re-downloads
|
|
59
|
-
* the capsule's own bundle a hundred times and the platform's exactly once.
|
|
52
|
+
* Browsers have partitioned the HTTP cache by top-level site since 2020, so a
|
|
53
|
+
* shared third-party CDN buys nothing a same-origin URL does not, and costs a
|
|
54
|
+
* `script-src` hole. The digest changes only when the platform bytes change, so
|
|
55
|
+
* republishing a capsule re-downloads its own bundle but not the platform's.
|
|
60
56
|
*
|
|
61
57
|
* Underscore-prefixed by framework convention (`_next/static`, `_astro`), which
|
|
62
|
-
* is also how the runtime recognises it as immutable
|
|
58
|
+
* is also how the runtime recognises it as immutable. See `immutable_path` in
|
|
63
59
|
* `crates/stattic-runtime-core/src/finalize.rs`.
|
|
64
60
|
*/
|
|
65
61
|
export declare const ZERO_PLATFORM_ASSET_NAMESPACE = "_spacefast";
|
|
@@ -69,39 +65,33 @@ export declare function zeroPlatformAssetPath(digest: string, fileName: string):
|
|
|
69
65
|
/**
|
|
70
66
|
* The compiled capsule server, which the QuickJS runner instantiates whole.
|
|
71
67
|
*
|
|
72
|
-
* 768 KiB is inherited, not measured: nobody has
|
|
73
|
-
*
|
|
74
|
-
*
|
|
75
|
-
*
|
|
76
|
-
* server code is handlers, not an application.
|
|
68
|
+
* 768 KiB is inherited, not measured: nobody has established what the runner
|
|
69
|
+
* actually tolerates. It binds a real resource, since the runner holds the
|
|
70
|
+
* module graph in the site's PHP-worker memory before executing anything, so it
|
|
71
|
+
* stays low deliberately.
|
|
77
72
|
*/
|
|
78
73
|
export declare const ZERO_SERVER_BUNDLE_MAX_BYTES = 786432;
|
|
79
74
|
/**
|
|
80
75
|
* The tenant client bundle, and every other file the compile ships as content.
|
|
81
76
|
*
|
|
82
|
-
* This measures what the tenant publishes, and only that
|
|
77
|
+
* This measures what the tenant publishes, and only that. The SDK, the kit, the
|
|
83
78
|
* chart layer, preact, recharts and lucide are externals resolved through the
|
|
84
79
|
* shell's import map to {@link ZERO_PLATFORM_ASSET_ROOT}, so platform bytes are
|
|
85
|
-
* never weighed here
|
|
86
|
-
* author chose to bundle.
|
|
80
|
+
* never weighed here.
|
|
87
81
|
*
|
|
88
|
-
* 8 MiB matches the Functions per-entry cap
|
|
89
|
-
*
|
|
90
|
-
*
|
|
91
|
-
*
|
|
92
|
-
* modules are large — rather than at upload. It is a guardrail, not a budget;
|
|
93
|
-
* the size report is what an author should be reading.
|
|
82
|
+
* 8 MiB matches the Functions per-entry cap. A client bundle is static bytes to
|
|
83
|
+
* a browser, so nothing on the serving side binds it; the cap exists to fail an
|
|
84
|
+
* accidental hundred-megabyte dependency in tooling that can say which modules
|
|
85
|
+
* are large, rather than at upload.
|
|
94
86
|
*/
|
|
95
87
|
export declare const ZERO_CLIENT_BUNDLE_MAX_BYTES: number;
|
|
96
88
|
/**
|
|
97
89
|
* A capsule's compiled server travels as version metadata, not as content, so a
|
|
98
|
-
* server-only change
|
|
99
|
-
*
|
|
100
|
-
*
|
|
101
|
-
*
|
|
102
|
-
*
|
|
103
|
-
* bundle uses (`functionsBundleStoragePath`) — an ordinary manifest entry, no
|
|
104
|
-
* artifact-specific plumbing.
|
|
90
|
+
* server-only change would leave the app shell byte-identical and the version
|
|
91
|
+
* intent's manifest comparison would read it as "no changes". The publish writes
|
|
92
|
+
* this one small file into the version instead: it holds a digest of everything
|
|
93
|
+
* the deploy would install, so any server, schema, or runtime-config change
|
|
94
|
+
* moves the manifest.
|
|
105
95
|
*/
|
|
106
96
|
export declare const ZERO_RUNTIME_DEPLOY_PATH = "__spacefast/zero/deploy.json";
|
|
107
97
|
export declare const ZERO_MANAGED_TABLE_COLUMNS: readonly ["id", "createdAt", "updatedAt"];
|
|
@@ -142,7 +132,6 @@ export declare const zeroTableIndexSchema: z.ZodObject<{
|
|
|
142
132
|
name: z.ZodString;
|
|
143
133
|
fields: z.ZodArray<z.ZodString>;
|
|
144
134
|
}, z.core.$strict>;
|
|
145
|
-
export type ZeroTableIndex = z.infer<typeof zeroTableIndexSchema>;
|
|
146
135
|
export declare const zeroTableSchema: z.ZodObject<{
|
|
147
136
|
name: z.ZodString;
|
|
148
137
|
columns: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
@@ -182,12 +171,12 @@ export declare const zeroDatabaseSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
|
182
171
|
}, z.core.$strict>>;
|
|
183
172
|
export type ZeroDatabase = z.infer<typeof zeroDatabaseSchema>;
|
|
184
173
|
/**
|
|
185
|
-
* The compiled server travels inline in the finalize payload
|
|
186
|
-
* whole version one atomic write. Functions bundles
|
|
187
|
-
*
|
|
174
|
+
* The compiled server travels inline in the finalize payload, which keeps the
|
|
175
|
+
* whole version one atomic write. Functions bundles land in the content store
|
|
176
|
+
* first; see `functionsBundleRefSchema`.
|
|
188
177
|
*
|
|
189
|
-
* The client never travels this way
|
|
190
|
-
*
|
|
178
|
+
* The client never travels this way: it is content the browser fetches from the
|
|
179
|
+
* version tree, so it ships as a static file.
|
|
191
180
|
*/
|
|
192
181
|
export declare const zeroRuntimeBundleSchema: z.ZodObject<{
|
|
193
182
|
path: z.ZodString;
|
|
@@ -218,6 +207,7 @@ export declare const zeroRuntimeRunSourceSchema: z.ZodObject<{
|
|
|
218
207
|
gravatar: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
219
208
|
spam: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
220
209
|
email: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
210
|
+
content: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
221
211
|
}, z.core.$strip>>;
|
|
222
212
|
db: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
223
213
|
}, z.core.$strict>;
|
|
@@ -246,6 +236,7 @@ export declare const zeroRuntimeEndpointSourceSchema: z.ZodObject<{
|
|
|
246
236
|
gravatar: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
247
237
|
spam: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
248
238
|
email: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
239
|
+
content: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
249
240
|
}, z.core.$strip>>;
|
|
250
241
|
db: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
251
242
|
}, z.core.$strict>;
|
|
@@ -360,8 +351,8 @@ export declare const zeroMigrationPlanSchema: z.ZodObject<{
|
|
|
360
351
|
}, z.core.$strict>;
|
|
361
352
|
export type ZeroMigrationPlan = z.infer<typeof zeroMigrationPlanSchema>;
|
|
362
353
|
export declare const zeroInspectPolicySchema: z.ZodEnum<{
|
|
363
|
-
public: "public";
|
|
364
354
|
private: "private";
|
|
355
|
+
public: "public";
|
|
365
356
|
}>;
|
|
366
357
|
export declare const zeroRuntimePublicAuthConfigSchema: z.ZodObject<{
|
|
367
358
|
provider: z.ZodDefault<z.ZodLiteral<"gravatar">>;
|
|
@@ -389,7 +380,6 @@ export declare const zeroRuntimePublicRealtimeConfigSchema: z.ZodObject<{
|
|
|
389
380
|
spaceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
390
381
|
versionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
391
382
|
}, z.core.$strict>;
|
|
392
|
-
export type ZeroRuntimePublicRealtimeConfig = z.infer<typeof zeroRuntimePublicRealtimeConfigSchema>;
|
|
393
383
|
export declare const zeroRuntimeClientConfigSchema: z.ZodObject<{
|
|
394
384
|
runtimeKind: z.ZodLiteral<"zero">;
|
|
395
385
|
basePath: z.ZodOptional<z.ZodString>;
|
|
@@ -430,7 +420,7 @@ export declare const zeroRuntimeInstallProfileSchema: z.ZodObject<{
|
|
|
430
420
|
binary: z.ZodObject<{
|
|
431
421
|
path: z.ZodLiteral<"__spacefast/zero/bin/stattic-runtime">;
|
|
432
422
|
compatibilityTarget: z.ZodObject<{
|
|
433
|
-
profile: z.ZodLiteral<"
|
|
423
|
+
profile: z.ZodLiteral<"linux-x86_64-gnu-v1">;
|
|
434
424
|
os: z.ZodLiteral<"linux">;
|
|
435
425
|
cpu: z.ZodLiteral<"x86_64">;
|
|
436
426
|
libc: z.ZodLiteral<"glibc">;
|
|
@@ -534,7 +524,7 @@ export declare const zeroCapsuleArtifactSchema: z.ZodObject<{
|
|
|
534
524
|
sockets: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
535
525
|
}, z.core.$strict>;
|
|
536
526
|
db: z.ZodObject<{
|
|
537
|
-
backend: z.ZodLiteral<"
|
|
527
|
+
backend: z.ZodLiteral<"mysql">;
|
|
538
528
|
migrations: z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
539
529
|
op: z.ZodLiteral<"create_table">;
|
|
540
530
|
table: z.ZodString;
|
|
@@ -631,7 +621,7 @@ export declare const zeroRuntimeFinalizePayloadSchema: z.ZodObject<{
|
|
|
631
621
|
binary: z.ZodObject<{
|
|
632
622
|
path: z.ZodLiteral<"__spacefast/zero/bin/stattic-runtime">;
|
|
633
623
|
compatibilityTarget: z.ZodObject<{
|
|
634
|
-
profile: z.ZodLiteral<"
|
|
624
|
+
profile: z.ZodLiteral<"linux-x86_64-gnu-v1">;
|
|
635
625
|
os: z.ZodLiteral<"linux">;
|
|
636
626
|
cpu: z.ZodLiteral<"x86_64">;
|
|
637
627
|
libc: z.ZodLiteral<"glibc">;
|
|
@@ -696,7 +686,7 @@ export declare const zeroRuntimeFinalizePayloadSchema: z.ZodObject<{
|
|
|
696
686
|
sockets: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
697
687
|
}, z.core.$strict>;
|
|
698
688
|
db: z.ZodObject<{
|
|
699
|
-
backend: z.ZodLiteral<"
|
|
689
|
+
backend: z.ZodLiteral<"mysql">;
|
|
700
690
|
migrations: z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
701
691
|
op: z.ZodLiteral<"create_table">;
|
|
702
692
|
table: z.ZodString;
|
|
@@ -818,6 +808,7 @@ export declare const zeroRuntimeFinalizePayloadSchema: z.ZodObject<{
|
|
|
818
808
|
gravatar: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
819
809
|
spam: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
820
810
|
email: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
811
|
+
content: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
821
812
|
}, z.core.$strip>>;
|
|
822
813
|
db: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
823
814
|
}, z.core.$strict>>>;
|
|
@@ -835,6 +826,7 @@ export declare const zeroRuntimeFinalizePayloadSchema: z.ZodObject<{
|
|
|
835
826
|
gravatar: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
836
827
|
spam: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
837
828
|
email: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
829
|
+
content: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
838
830
|
}, z.core.$strip>>;
|
|
839
831
|
db: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
840
832
|
}, z.core.$strict>>>;
|
|
@@ -924,8 +916,8 @@ export declare const zeroRuntimeFinalizePayloadSchema: z.ZodObject<{
|
|
|
924
916
|
}, z.core.$strict>>;
|
|
925
917
|
inspect: z.ZodDefault<z.ZodObject<{
|
|
926
918
|
policy: z.ZodDefault<z.ZodEnum<{
|
|
927
|
-
public: "public";
|
|
928
919
|
private: "private";
|
|
920
|
+
public: "public";
|
|
929
921
|
}>>;
|
|
930
922
|
}, z.core.$strict>>;
|
|
931
923
|
}, z.core.$strict>;
|
|
@@ -939,10 +931,6 @@ export declare const zeroRuntimeConfigSchema: z.ZodObject<{
|
|
|
939
931
|
signOutUrl: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
940
932
|
returnToParam: z.ZodDefault<z.ZodString>;
|
|
941
933
|
}, z.core.$strict>>;
|
|
942
|
-
variables: z.ZodObject<{
|
|
943
|
-
source: z.ZodLiteral<"stattic-variables">;
|
|
944
|
-
names: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
945
|
-
}, z.core.$strict>;
|
|
946
934
|
realtime: z.ZodObject<{
|
|
947
935
|
mode: z.ZodEnum<{
|
|
948
936
|
local: "local";
|
|
@@ -1003,7 +991,7 @@ export declare const zeroRuntimeConfigSchema: z.ZodObject<{
|
|
|
1003
991
|
sockets: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
1004
992
|
}, z.core.$strict>;
|
|
1005
993
|
db: z.ZodObject<{
|
|
1006
|
-
backend: z.ZodLiteral<"
|
|
994
|
+
backend: z.ZodLiteral<"mysql">;
|
|
1007
995
|
migrations: z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1008
996
|
op: z.ZodLiteral<"create_table">;
|
|
1009
997
|
table: z.ZodString;
|
|
@@ -1088,6 +1076,10 @@ export declare const zeroRuntimeConfigSchema: z.ZodObject<{
|
|
|
1088
1076
|
}, z.core.$strip>>>;
|
|
1089
1077
|
}, z.core.$strict>;
|
|
1090
1078
|
}, z.core.$strict>;
|
|
1079
|
+
variables: z.ZodObject<{
|
|
1080
|
+
source: z.ZodLiteral<"stattic-variables">;
|
|
1081
|
+
names: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
1082
|
+
}, z.core.$strict>;
|
|
1091
1083
|
runtimeKind: z.ZodLiteral<"zero">;
|
|
1092
1084
|
migrations: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
1093
1085
|
format: z.ZodLiteral<"stattic.zero.migrations.v1">;
|
|
@@ -1156,7 +1148,7 @@ export declare const zeroRuntimeConfigSchema: z.ZodObject<{
|
|
|
1156
1148
|
binary: z.ZodObject<{
|
|
1157
1149
|
path: z.ZodLiteral<"__spacefast/zero/bin/stattic-runtime">;
|
|
1158
1150
|
compatibilityTarget: z.ZodObject<{
|
|
1159
|
-
profile: z.ZodLiteral<"
|
|
1151
|
+
profile: z.ZodLiteral<"linux-x86_64-gnu-v1">;
|
|
1160
1152
|
os: z.ZodLiteral<"linux">;
|
|
1161
1153
|
cpu: z.ZodLiteral<"x86_64">;
|
|
1162
1154
|
libc: z.ZodLiteral<"glibc">;
|
|
@@ -1177,8 +1169,8 @@ export declare const zeroRuntimeConfigSchema: z.ZodObject<{
|
|
|
1177
1169
|
}, z.core.$strict>;
|
|
1178
1170
|
inspect: z.ZodDefault<z.ZodObject<{
|
|
1179
1171
|
policy: z.ZodDefault<z.ZodEnum<{
|
|
1180
|
-
public: "public";
|
|
1181
1172
|
private: "private";
|
|
1173
|
+
public: "public";
|
|
1182
1174
|
}>>;
|
|
1183
1175
|
}, z.core.$strict>>;
|
|
1184
1176
|
variableValues: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
@@ -1201,7 +1193,7 @@ export declare const zeroDeployMetadataSchema: z.ZodObject<{
|
|
|
1201
1193
|
binary: z.ZodObject<{
|
|
1202
1194
|
path: z.ZodLiteral<"__spacefast/zero/bin/stattic-runtime">;
|
|
1203
1195
|
compatibilityTarget: z.ZodObject<{
|
|
1204
|
-
profile: z.ZodLiteral<"
|
|
1196
|
+
profile: z.ZodLiteral<"linux-x86_64-gnu-v1">;
|
|
1205
1197
|
os: z.ZodLiteral<"linux">;
|
|
1206
1198
|
cpu: z.ZodLiteral<"x86_64">;
|
|
1207
1199
|
libc: z.ZodLiteral<"glibc">;
|
|
@@ -1266,7 +1258,7 @@ export declare const zeroDeployMetadataSchema: z.ZodObject<{
|
|
|
1266
1258
|
sockets: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
1267
1259
|
}, z.core.$strict>;
|
|
1268
1260
|
db: z.ZodObject<{
|
|
1269
|
-
backend: z.ZodLiteral<"
|
|
1261
|
+
backend: z.ZodLiteral<"mysql">;
|
|
1270
1262
|
migrations: z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1271
1263
|
op: z.ZodLiteral<"create_table">;
|
|
1272
1264
|
table: z.ZodString;
|
|
@@ -1388,6 +1380,7 @@ export declare const zeroDeployMetadataSchema: z.ZodObject<{
|
|
|
1388
1380
|
gravatar: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
1389
1381
|
spam: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
1390
1382
|
email: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
1383
|
+
content: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
1391
1384
|
}, z.core.$strip>>;
|
|
1392
1385
|
db: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1393
1386
|
}, z.core.$strict>>>;
|
|
@@ -1405,6 +1398,7 @@ export declare const zeroDeployMetadataSchema: z.ZodObject<{
|
|
|
1405
1398
|
gravatar: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
1406
1399
|
spam: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
1407
1400
|
email: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
1401
|
+
content: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
1408
1402
|
}, z.core.$strip>>;
|
|
1409
1403
|
db: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1410
1404
|
}, z.core.$strict>>>;
|
|
@@ -1494,8 +1488,8 @@ export declare const zeroDeployMetadataSchema: z.ZodObject<{
|
|
|
1494
1488
|
}, z.core.$strict>>;
|
|
1495
1489
|
inspect: z.ZodDefault<z.ZodObject<{
|
|
1496
1490
|
policy: z.ZodDefault<z.ZodEnum<{
|
|
1497
|
-
public: "public";
|
|
1498
1491
|
private: "private";
|
|
1492
|
+
public: "public";
|
|
1499
1493
|
}>>;
|
|
1500
1494
|
}, z.core.$strict>>;
|
|
1501
1495
|
}, z.core.$strict>;
|
|
@@ -1505,18 +1499,13 @@ export type ZeroDeployMetadata = z.infer<typeof zeroDeployMetadataSchema>;
|
|
|
1505
1499
|
* What a live Zero capsule is, as the `capsule` member of a space's runtime
|
|
1506
1500
|
* status.
|
|
1507
1501
|
*
|
|
1508
|
-
*
|
|
1509
|
-
*
|
|
1510
|
-
*
|
|
1511
|
-
* than the publish that carries it. There is no kind tag either — the member it
|
|
1512
|
-
* rides in already says which product answered.
|
|
1502
|
+
* No `versionId`: the status response already names the live version, and
|
|
1503
|
+
* repeating it would invite the two to disagree. `artifactId` stays because it
|
|
1504
|
+
* identifies the built capsule rather than the publish that carries it.
|
|
1513
1505
|
*
|
|
1514
|
-
* Every field is derived from the version's own finalize metadata,
|
|
1515
|
-
*
|
|
1516
|
-
*
|
|
1517
|
-
* also why there are no counts of things listed here — a caller that wants
|
|
1518
|
-
* `tables.length` can take it — and why the database is not a field: a capsule
|
|
1519
|
-
* always owns one, so its presence already said so.
|
|
1506
|
+
* Every field is derived from the version's own finalize metadata, so this is
|
|
1507
|
+
* safe to answer for a space whose runtime is asleep, mid-move, or failing.
|
|
1508
|
+
* Nothing here costs a call to the space's origin.
|
|
1520
1509
|
*/
|
|
1521
1510
|
export declare const zeroAppSchema: z.ZodObject<{
|
|
1522
1511
|
artifactId: z.ZodString;
|
|
@@ -1524,8 +1513,8 @@ export declare const zeroAppSchema: z.ZodObject<{
|
|
|
1524
1513
|
serverRuntime: z.ZodLiteral<"quickjs-rust">;
|
|
1525
1514
|
inspect: z.ZodObject<{
|
|
1526
1515
|
policy: z.ZodEnum<{
|
|
1527
|
-
public: "public";
|
|
1528
1516
|
private: "private";
|
|
1517
|
+
public: "public";
|
|
1529
1518
|
}>;
|
|
1530
1519
|
}, z.core.$strict>;
|
|
1531
1520
|
install: z.ZodObject<{
|
|
@@ -1537,7 +1526,7 @@ export declare const zeroAppSchema: z.ZodObject<{
|
|
|
1537
1526
|
binary: z.ZodObject<{
|
|
1538
1527
|
path: z.ZodLiteral<"__spacefast/zero/bin/stattic-runtime">;
|
|
1539
1528
|
compatibilityTarget: z.ZodObject<{
|
|
1540
|
-
profile: z.ZodLiteral<"
|
|
1529
|
+
profile: z.ZodLiteral<"linux-x86_64-gnu-v1">;
|
|
1541
1530
|
os: z.ZodLiteral<"linux">;
|
|
1542
1531
|
cpu: z.ZodLiteral<"x86_64">;
|
|
1543
1532
|
libc: z.ZodLiteral<"glibc">;
|
|
@@ -1573,6 +1562,8 @@ export declare const zeroAppSchema: z.ZodObject<{
|
|
|
1573
1562
|
path: z.ZodString;
|
|
1574
1563
|
}, z.core.$strict>>>;
|
|
1575
1564
|
sockets: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
1565
|
+
serverBundleSize: z.ZodNullable<z.ZodNumber>;
|
|
1566
|
+
clientBundleSize: z.ZodNullable<z.ZodNumber>;
|
|
1576
1567
|
migrationCount: z.ZodNumber;
|
|
1577
1568
|
schemaHash: z.ZodNullable<z.ZodString>;
|
|
1578
1569
|
variables: z.ZodObject<{
|