@spacefast/common 0.0.13 → 0.0.17
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/agents/client-registry.d.ts +22 -0
- package/dist/agents/client-registry.js +41 -0
- package/dist/agents/connect-targets.d.ts +51 -6
- package/dist/agents/connect-targets.js +93 -28
- package/dist/brand.d.ts +0 -11
- package/dist/brand.js +0 -20
- package/dist/config/domains.d.ts +15 -6
- package/dist/config/domains.js +24 -10
- package/dist/config/postgres-budget.d.ts +3 -0
- package/dist/config/postgres-budget.js +6 -1
- package/dist/config/postgres-budget.json +2 -1
- package/dist/contracts/abuse.js +1 -1
- package/dist/contracts/access.d.ts +149 -44
- package/dist/contracts/access.js +94 -8
- package/dist/contracts/activity.js +5 -1
- package/dist/contracts/api-keys.js +9 -9
- package/dist/contracts/archives.js +11 -11
- package/dist/contracts/beta.js +1 -1
- package/dist/contracts/builds.js +14 -14
- package/dist/contracts/channels.js +2 -2
- package/dist/contracts/comments.d.ts +86 -15
- package/dist/contracts/comments.js +116 -20
- package/dist/contracts/common.d.ts +12 -12
- package/dist/contracts/common.js +33 -30
- package/dist/contracts/continuation.js +5 -5
- package/dist/contracts/data-source-routes.js +1 -1
- package/dist/contracts/device-auth.d.ts +6 -6
- package/dist/contracts/device-auth.js +12 -12
- package/dist/contracts/docs.d.ts +10 -10
- package/dist/contracts/domains.js +39 -33
- package/dist/contracts/enums.d.ts +2 -10
- package/dist/contracts/enums.js +0 -2
- package/dist/contracts/error-code-meta.d.ts +116 -47
- package/dist/contracts/error-code-meta.js +37 -16
- package/dist/contracts/error-codes.d.ts +7 -4
- package/dist/contracts/error-codes.js +46 -21
- package/dist/contracts/events.d.ts +10 -3
- package/dist/contracts/events.js +33 -5
- package/dist/contracts/execution.d.ts +26 -0
- package/dist/contracts/execution.js +21 -0
- package/dist/contracts/feature-lifecycle.d.ts +21 -24
- package/dist/contracts/feature-lifecycle.js +28 -26
- package/dist/contracts/features.js +4 -4
- package/dist/contracts/functions.d.ts +8 -140
- package/dist/contracts/functions.js +9 -19
- package/dist/contracts/git.d.ts +1 -1
- package/dist/contracts/grants.d.ts +96 -79
- package/dist/contracts/grants.js +130 -43
- package/dist/contracts/ids.d.ts +2 -2
- package/dist/contracts/ids.js +2 -4
- package/dist/contracts/internal.js +2 -2
- package/dist/contracts/mcp.d.ts +17 -556
- package/dist/contracts/mcp.js +9 -103
- package/dist/contracts/me.js +3 -4
- package/dist/contracts/notifications.d.ts +108 -0
- package/dist/contracts/notifications.js +54 -0
- package/dist/contracts/oauth-resources.d.ts +18 -1
- package/dist/contracts/oauth-resources.js +22 -2
- package/dist/contracts/operations.d.ts +2 -50
- package/dist/contracts/operations.js +0 -19
- package/dist/contracts/pages.d.ts +8 -4
- package/dist/contracts/pages.js +16 -3
- package/dist/contracts/platform.js +10 -8
- package/dist/contracts/problem-document.d.ts +14 -0
- package/dist/contracts/problem-document.js +35 -0
- package/dist/contracts/push-new.d.ts +21 -6
- package/dist/contracts/push-new.js +3 -7
- package/dist/contracts/resources.d.ts +8 -7
- package/dist/contracts/resources.js +9 -6
- package/dist/contracts/runtime-api.d.ts +162 -92
- package/dist/contracts/runtime-api.js +99 -27
- package/dist/contracts/runtime-app.d.ts +41 -11
- package/dist/contracts/runtime-app.js +22 -1
- package/dist/contracts/runtime-db.d.ts +424 -0
- package/dist/contracts/runtime-db.js +108 -0
- package/dist/contracts/runtime-storage.d.ts +120 -0
- package/dist/contracts/runtime-storage.js +40 -0
- package/dist/contracts/sf-config-v1.d.ts +49 -1
- package/dist/contracts/sf-config-v1.js +2 -2
- package/dist/contracts/sites.d.ts +1 -0
- package/dist/contracts/sites.js +20 -12
- package/dist/contracts/space-config.d.ts +62 -22
- package/dist/contracts/space-config.js +173 -47
- package/dist/contracts/spaces.d.ts +79 -45
- package/dist/contracts/spaces.js +66 -50
- package/dist/contracts/superadmin-spaces.d.ts +13 -2
- package/dist/contracts/superadmin-spaces.js +15 -0
- package/dist/contracts/superadmin-tenants.js +4 -4
- package/dist/contracts/superadmin.d.ts +4 -0
- package/dist/contracts/superadmin.js +14 -1
- package/dist/contracts/tags.d.ts +17 -17
- package/dist/contracts/tags.js +1 -1
- package/dist/contracts/teams.js +25 -16
- package/dist/contracts/theme-json.js +1 -1
- package/dist/contracts/transfers.js +4 -4
- package/dist/contracts/variables.js +3 -3
- package/dist/contracts/zero.d.ts +204 -338
- package/dist/contracts/zero.js +94 -98
- package/dist/dashboard-paths/index.d.ts +16 -1
- package/dist/dashboard-paths/index.js +18 -0
- package/dist/docs/agent-handoff-document.d.ts +2 -2
- package/dist/docs/agent-handoff-document.js +8 -7
- package/dist/docs/agent-prose.d.ts +22 -3
- package/dist/docs/agent-prose.js +221 -51
- package/dist/docs/agent-setup.d.ts +13 -10
- package/dist/docs/agent-setup.js +279 -53
- package/dist/docs/agent-solutions.d.ts +6 -6
- package/dist/docs/agent-solutions.js +23 -21
- package/dist/docs/catalog.d.ts +29 -74
- package/dist/docs/catalog.js +65 -92
- package/dist/docs/error-docs.js +293 -221
- package/dist/docs/skill-distribution.d.ts +2 -0
- package/dist/docs/skill-distribution.js +7 -4
- package/dist/docs/skills.d.ts +546 -0
- package/dist/docs/skills.js +340 -0
- package/dist/utils/browser-credential.d.ts +19 -0
- package/dist/utils/browser-credential.js +62 -0
- package/dist/utils/comment-avatars.d.ts +7 -0
- package/dist/utils/comment-avatars.js +42 -0
- package/dist/utils/content-type.d.ts +3 -3
- package/dist/utils/content-type.js +38 -61
- package/dist/utils/domain-diagnostics.d.ts +5 -5
- package/dist/utils/domain-diagnostics.js +21 -10
- package/dist/utils/local-space-state.d.ts +78 -4
- package/dist/utils/local-space-state.js +383 -82
- package/dist/utils/one-shot-replay.d.ts +14 -0
- package/dist/utils/one-shot-replay.js +21 -0
- package/dist/utils/page-preview.d.ts +7 -0
- package/dist/utils/page-preview.js +9 -0
- package/dist/utils/pages.d.ts +2 -11
- package/dist/utils/pages.js +58 -14
- package/dist/utils/publish-form-data.d.ts +22 -0
- package/dist/utils/publish-form-data.js +26 -0
- package/dist/utils/publish-policy.js +20 -4
- package/dist/utils/query-keys.d.ts +7 -4
- package/dist/utils/query-keys.js +13 -4
- package/dist/utils/runtime-paths.d.ts +3 -0
- package/dist/utils/runtime-paths.js +7 -0
- package/dist/utils/secure-local-file.d.ts +73 -0
- package/dist/utils/secure-local-file.js +1373 -0
- package/dist/utils/space-config.d.ts +13 -4
- package/dist/utils/space-config.js +123 -15
- package/dist/utils/storage-policy.d.ts +20 -0
- package/dist/utils/storage-policy.fixtures.json +174 -0
- package/dist/utils/storage-policy.js +193 -0
- package/dist/utils/upload-session.d.ts +12 -1
- package/dist/utils/upload-session.js +37 -2
- package/dist/utils/version-file-browser.d.ts +13 -0
- package/dist/utils/version-file-browser.js +59 -0
- package/package.json +19 -1
- package/dist/contracts/mounts.d.ts +0 -142
- package/dist/contracts/mounts.js +0 -56
- package/dist/utils/asset-fingerprint.d.ts +0 -64
- package/dist/utils/asset-fingerprint.js +0 -620
|
@@ -75,6 +75,7 @@ export declare const SpaceCreateResponseSchema: z.ZodObject<{
|
|
|
75
75
|
always_hot: "always_hot";
|
|
76
76
|
}>;
|
|
77
77
|
moving: z.ZodBoolean;
|
|
78
|
+
hasRuntime: z.ZodBoolean;
|
|
78
79
|
channels: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
79
80
|
versionId: z.ZodString;
|
|
80
81
|
updatedAt: z.ZodString;
|
|
@@ -157,7 +158,7 @@ export declare const SpaceCreateResponseSchema: z.ZodObject<{
|
|
|
157
158
|
bodyEnd: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
158
159
|
noscript: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
159
160
|
}, z.core.$strip>>;
|
|
160
|
-
dataSources: z.ZodOptional<z.
|
|
161
|
+
dataSources: z.ZodOptional<z.ZodPipe<z.ZodUnknown, z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
161
162
|
kind: z.ZodLiteral<"wordpress">;
|
|
162
163
|
url: z.ZodString;
|
|
163
164
|
}, z.core.$strict>>>>;
|
|
@@ -209,14 +210,10 @@ export declare const SpaceCreateResponseSchema: z.ZodObject<{
|
|
|
209
210
|
createdAt: z.ZodString;
|
|
210
211
|
updatedAt: z.ZodString;
|
|
211
212
|
}, z.core.$strip>;
|
|
212
|
-
|
|
213
|
+
access: z.ZodObject<{
|
|
213
214
|
url: z.ZodString;
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
management: "management";
|
|
217
|
-
person: "person";
|
|
218
|
-
claim_preview: "claim_preview";
|
|
219
|
-
}>;
|
|
215
|
+
token: z.ZodString;
|
|
216
|
+
expiresAt: z.ZodNullable<z.ZodString>;
|
|
220
217
|
}, z.core.$strip>;
|
|
221
218
|
claim: z.ZodOptional<z.ZodObject<{
|
|
222
219
|
token: z.ZodString;
|
|
@@ -372,7 +369,7 @@ export declare const spaceCreateSchema: z.ZodDefault<z.ZodOptional<z.ZodObject<{
|
|
|
372
369
|
bodyEnd: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
373
370
|
noscript: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
374
371
|
}, z.core.$strip>>;
|
|
375
|
-
dataSources: z.ZodOptional<z.
|
|
372
|
+
dataSources: z.ZodOptional<z.ZodPipe<z.ZodUnknown, z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
376
373
|
kind: z.ZodLiteral<"wordpress">;
|
|
377
374
|
url: z.ZodString;
|
|
378
375
|
}, z.core.$strict>>>>;
|
|
@@ -461,7 +458,7 @@ export declare const spacePatchSchema: z.ZodObject<{
|
|
|
461
458
|
bodyEnd: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
462
459
|
noscript: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
463
460
|
}, z.core.$strip>>;
|
|
464
|
-
dataSources: z.ZodOptional<z.
|
|
461
|
+
dataSources: z.ZodOptional<z.ZodPipe<z.ZodUnknown, z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
465
462
|
kind: z.ZodLiteral<"wordpress">;
|
|
466
463
|
url: z.ZodString;
|
|
467
464
|
}, z.core.$strict>>>>;
|
|
@@ -524,6 +521,7 @@ export declare const anonymousClaimSharingSummarySchema: z.ZodObject<{
|
|
|
524
521
|
}, z.core.$strip>>;
|
|
525
522
|
links: z.ZodArray<z.ZodObject<{
|
|
526
523
|
id: z.ZodString;
|
|
524
|
+
revision: z.ZodNumber;
|
|
527
525
|
name: z.ZodString;
|
|
528
526
|
landingPath: z.ZodString;
|
|
529
527
|
scopes: z.ZodArray<z.ZodString>;
|
|
@@ -551,6 +549,11 @@ export declare const anonymousClaimResponseSchema: z.ZodObject<{
|
|
|
551
549
|
expiresAt: z.ZodNullable<z.ZodString>;
|
|
552
550
|
claimedAt: z.ZodNullable<z.ZodString>;
|
|
553
551
|
}, z.core.$strip>;
|
|
552
|
+
access: z.ZodObject<{
|
|
553
|
+
url: z.ZodString;
|
|
554
|
+
token: z.ZodString;
|
|
555
|
+
expiresAt: z.ZodNullable<z.ZodString>;
|
|
556
|
+
}, z.core.$strip>;
|
|
554
557
|
continuation: z.ZodObject<{
|
|
555
558
|
eligible: z.ZodBoolean;
|
|
556
559
|
granted: z.ZodBoolean;
|
|
@@ -579,6 +582,7 @@ export declare const anonymousClaimResponseSchema: z.ZodObject<{
|
|
|
579
582
|
}, z.core.$strip>>;
|
|
580
583
|
links: z.ZodArray<z.ZodObject<{
|
|
581
584
|
id: z.ZodString;
|
|
585
|
+
revision: z.ZodNumber;
|
|
582
586
|
name: z.ZodString;
|
|
583
587
|
landingPath: z.ZodString;
|
|
584
588
|
scopes: z.ZodArray<z.ZodString>;
|
|
@@ -634,6 +638,11 @@ export declare const anonymousClaimStatusResponseSchema: z.ZodObject<{
|
|
|
634
638
|
unavailable: "unavailable";
|
|
635
639
|
}>>;
|
|
636
640
|
}, z.core.$strip>;
|
|
641
|
+
access: z.ZodObject<{
|
|
642
|
+
url: z.ZodString;
|
|
643
|
+
token: z.ZodString;
|
|
644
|
+
expiresAt: z.ZodNullable<z.ZodString>;
|
|
645
|
+
}, z.core.$strip>;
|
|
637
646
|
}, z.core.$strip>;
|
|
638
647
|
export declare const anonymousClaimExchangeResponseSchema: z.ZodObject<{
|
|
639
648
|
space: z.ZodObject<{
|
|
@@ -669,10 +678,10 @@ export declare const spaceVersionCreateSchema: z.ZodObject<{
|
|
|
669
678
|
immutableAssetPrefixes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
670
679
|
source: z.ZodOptional<z.ZodObject<{
|
|
671
680
|
kind: z.ZodEnum<{
|
|
672
|
-
api: "api";
|
|
673
|
-
dashboard: "dashboard";
|
|
674
681
|
build: "build";
|
|
675
682
|
agent: "agent";
|
|
683
|
+
api: "api";
|
|
684
|
+
dashboard: "dashboard";
|
|
676
685
|
direct_upload: "direct_upload";
|
|
677
686
|
cli: "cli";
|
|
678
687
|
git: "git";
|
|
@@ -728,10 +737,10 @@ export declare const spaceVersionListSchema: z.ZodObject<{
|
|
|
728
737
|
spaceId: z.ZodString;
|
|
729
738
|
source: z.ZodNullable<z.ZodObject<{
|
|
730
739
|
kind: z.ZodEnum<{
|
|
731
|
-
api: "api";
|
|
732
|
-
dashboard: "dashboard";
|
|
733
740
|
build: "build";
|
|
734
741
|
agent: "agent";
|
|
742
|
+
api: "api";
|
|
743
|
+
dashboard: "dashboard";
|
|
735
744
|
direct_upload: "direct_upload";
|
|
736
745
|
cli: "cli";
|
|
737
746
|
git: "git";
|
|
@@ -870,7 +879,7 @@ export declare const spaceVersionListSchema: z.ZodObject<{
|
|
|
870
879
|
bodyEnd: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
871
880
|
noscript: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
872
881
|
}, z.core.$strip>>;
|
|
873
|
-
dataSources: z.ZodOptional<z.
|
|
882
|
+
dataSources: z.ZodOptional<z.ZodPipe<z.ZodUnknown, z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
874
883
|
kind: z.ZodLiteral<"wordpress">;
|
|
875
884
|
url: z.ZodString;
|
|
876
885
|
}, z.core.$strict>>>>;
|
|
@@ -920,7 +929,7 @@ export declare const spaceVersionListSchema: z.ZodObject<{
|
|
|
920
929
|
headersRuleCount: z.ZodNumber;
|
|
921
930
|
redirectsRuleCount: z.ZodNumber;
|
|
922
931
|
proxyRouteCount: z.ZodNumber;
|
|
923
|
-
|
|
932
|
+
runtimeCodeDetected: z.ZodBoolean;
|
|
924
933
|
buildLog: z.ZodNullable<z.ZodString>;
|
|
925
934
|
diagnostics: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
926
935
|
code: z.ZodString;
|
|
@@ -1025,6 +1034,7 @@ export declare const spaceListSchema: z.ZodObject<{
|
|
|
1025
1034
|
always_hot: "always_hot";
|
|
1026
1035
|
}>;
|
|
1027
1036
|
moving: z.ZodBoolean;
|
|
1037
|
+
hasRuntime: z.ZodBoolean;
|
|
1028
1038
|
channels: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1029
1039
|
versionId: z.ZodString;
|
|
1030
1040
|
updatedAt: z.ZodString;
|
|
@@ -1107,7 +1117,7 @@ export declare const spaceListSchema: z.ZodObject<{
|
|
|
1107
1117
|
bodyEnd: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1108
1118
|
noscript: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1109
1119
|
}, z.core.$strip>>;
|
|
1110
|
-
dataSources: z.ZodOptional<z.
|
|
1120
|
+
dataSources: z.ZodOptional<z.ZodPipe<z.ZodUnknown, z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1111
1121
|
kind: z.ZodLiteral<"wordpress">;
|
|
1112
1122
|
url: z.ZodString;
|
|
1113
1123
|
}, z.core.$strict>>>>;
|
|
@@ -1635,6 +1645,9 @@ export declare const spaceFilesResponseSchema: z.ZodObject<{
|
|
|
1635
1645
|
matched: z.ZodNumber;
|
|
1636
1646
|
}, z.core.$strip>;
|
|
1637
1647
|
}, z.core.$strip>;
|
|
1648
|
+
export declare const spaceVersionFilePathQuerySchema: z.ZodObject<{
|
|
1649
|
+
path: z.ZodString;
|
|
1650
|
+
}, z.core.$strip>;
|
|
1638
1651
|
export declare const spaceVersionFileQuerySchema: z.ZodObject<{
|
|
1639
1652
|
path: z.ZodString;
|
|
1640
1653
|
download: z.ZodOptional<z.ZodString>;
|
|
@@ -1653,13 +1666,6 @@ export declare const spaceVersionFileResponseSchema: z.ZodObject<{
|
|
|
1653
1666
|
truncated: z.ZodBoolean;
|
|
1654
1667
|
cached: z.ZodBoolean;
|
|
1655
1668
|
}, z.core.$strip>;
|
|
1656
|
-
export declare const spaceVersionFileDirectUrlResponseSchema: z.ZodObject<{
|
|
1657
|
-
versionId: z.ZodString;
|
|
1658
|
-
path: z.ZodString;
|
|
1659
|
-
url: z.ZodString;
|
|
1660
|
-
managementHostname: z.ZodString;
|
|
1661
|
-
expiresInSeconds: z.ZodNumber;
|
|
1662
|
-
}, z.core.$strip>;
|
|
1663
1669
|
export declare const spaceVersionFileUrlPreviewSchema: z.ZodObject<{
|
|
1664
1670
|
versionId: z.ZodString;
|
|
1665
1671
|
path: z.ZodString;
|
|
@@ -1790,8 +1796,35 @@ export declare const spaceVersionConventionArtifactContentResponseSchema: z.ZodO
|
|
|
1790
1796
|
content: z.ZodString;
|
|
1791
1797
|
truncated: z.ZodBoolean;
|
|
1792
1798
|
}, z.core.$strip>;
|
|
1799
|
+
/**
|
|
1800
|
+
* Where a routing diagnostic came from — a committed path in the version the
|
|
1801
|
+
* publisher can open. Wider than the convention artifacts: the Spacefast config
|
|
1802
|
+
* file states routing rules too, and they compile through the same compiler and
|
|
1803
|
+
* report the same codes. Every accepted config filename is listed because
|
|
1804
|
+
* finalize reads whichever one the version ships, and naming the canonical
|
|
1805
|
+
* `sf.jsonc` at a version that committed `spacefast.jsonc` sends the publisher
|
|
1806
|
+
* to a file that is not there.
|
|
1807
|
+
*/
|
|
1808
|
+
export declare const spaceVersionRoutingDiagnosticFileSchema: z.ZodEnum<{
|
|
1809
|
+
"sf.jsonc": "sf.jsonc";
|
|
1810
|
+
"spacefast.jsonc": "spacefast.jsonc";
|
|
1811
|
+
"spacefast.json": "spacefast.json";
|
|
1812
|
+
"sf.json": "sf.json";
|
|
1813
|
+
".sf/sf.json": ".sf/sf.json";
|
|
1814
|
+
".sf/config.jsonc": ".sf/config.jsonc";
|
|
1815
|
+
".sf/config.json": ".sf/config.json";
|
|
1816
|
+
_redirects: "_redirects";
|
|
1817
|
+
_headers: "_headers";
|
|
1818
|
+
}>;
|
|
1793
1819
|
export declare const spaceVersionRoutingDiagnosticSchema: z.ZodObject<{
|
|
1794
1820
|
file: z.ZodEnum<{
|
|
1821
|
+
"sf.jsonc": "sf.jsonc";
|
|
1822
|
+
"spacefast.jsonc": "spacefast.jsonc";
|
|
1823
|
+
"spacefast.json": "spacefast.json";
|
|
1824
|
+
"sf.json": "sf.json";
|
|
1825
|
+
".sf/sf.json": ".sf/sf.json";
|
|
1826
|
+
".sf/config.jsonc": ".sf/config.jsonc";
|
|
1827
|
+
".sf/config.json": ".sf/config.json";
|
|
1795
1828
|
_redirects: "_redirects";
|
|
1796
1829
|
_headers: "_headers";
|
|
1797
1830
|
}>;
|
|
@@ -1841,6 +1874,13 @@ export declare const spaceVersionComputedRoutingSummarySchema: z.ZodObject<{
|
|
|
1841
1874
|
}, z.core.$strip>;
|
|
1842
1875
|
diagnostics: z.ZodArray<z.ZodObject<{
|
|
1843
1876
|
file: z.ZodEnum<{
|
|
1877
|
+
"sf.jsonc": "sf.jsonc";
|
|
1878
|
+
"spacefast.jsonc": "spacefast.jsonc";
|
|
1879
|
+
"spacefast.json": "spacefast.json";
|
|
1880
|
+
"sf.json": "sf.json";
|
|
1881
|
+
".sf/sf.json": ".sf/sf.json";
|
|
1882
|
+
".sf/config.jsonc": ".sf/config.jsonc";
|
|
1883
|
+
".sf/config.json": ".sf/config.json";
|
|
1844
1884
|
_redirects: "_redirects";
|
|
1845
1885
|
_headers: "_headers";
|
|
1846
1886
|
}>;
|
|
@@ -2098,10 +2138,10 @@ export declare const spaceVersionIntentResponseSchema: z.ZodObject<{
|
|
|
2098
2138
|
export declare const publishRequestSchema: z.ZodObject<{
|
|
2099
2139
|
source: z.ZodOptional<z.ZodObject<{
|
|
2100
2140
|
kind: z.ZodEnum<{
|
|
2101
|
-
api: "api";
|
|
2102
|
-
dashboard: "dashboard";
|
|
2103
2141
|
build: "build";
|
|
2104
2142
|
agent: "agent";
|
|
2143
|
+
api: "api";
|
|
2144
|
+
dashboard: "dashboard";
|
|
2105
2145
|
direct_upload: "direct_upload";
|
|
2106
2146
|
cli: "cli";
|
|
2107
2147
|
git: "git";
|
|
@@ -2220,7 +2260,7 @@ export declare const publishRequestSchema: z.ZodObject<{
|
|
|
2220
2260
|
bodyEnd: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2221
2261
|
noscript: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2222
2262
|
}, z.core.$strip>>;
|
|
2223
|
-
dataSources: z.ZodOptional<z.
|
|
2263
|
+
dataSources: z.ZodOptional<z.ZodPipe<z.ZodUnknown, z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
2224
2264
|
kind: z.ZodLiteral<"wordpress">;
|
|
2225
2265
|
url: z.ZodString;
|
|
2226
2266
|
}, z.core.$strict>>>>;
|
|
@@ -2368,14 +2408,10 @@ export declare const publishReceiptSchema: z.ZodObject<{
|
|
|
2368
2408
|
defaultHostname: z.ZodString;
|
|
2369
2409
|
liveUrl: z.ZodNullable<z.ZodString>;
|
|
2370
2410
|
}, z.core.$strip>;
|
|
2371
|
-
|
|
2411
|
+
access: z.ZodOptional<z.ZodObject<{
|
|
2372
2412
|
url: z.ZodString;
|
|
2373
|
-
|
|
2374
|
-
|
|
2375
|
-
management: "management";
|
|
2376
|
-
person: "person";
|
|
2377
|
-
claim_preview: "claim_preview";
|
|
2378
|
-
}>;
|
|
2413
|
+
token: z.ZodString;
|
|
2414
|
+
expiresAt: z.ZodNullable<z.ZodString>;
|
|
2379
2415
|
}, z.core.$strip>>;
|
|
2380
2416
|
version: z.ZodObject<{
|
|
2381
2417
|
id: z.ZodString;
|
|
@@ -2754,13 +2790,14 @@ export declare const spaceRuntimeStatusSchema: z.ZodObject<{
|
|
|
2754
2790
|
blockIncompatibleRollback: z.ZodLiteral<true>;
|
|
2755
2791
|
}, z.core.$strict>;
|
|
2756
2792
|
realtime: z.ZodObject<{
|
|
2757
|
-
production: z.ZodLiteral<"
|
|
2793
|
+
production: z.ZodLiteral<"central">;
|
|
2758
2794
|
local: z.ZodLiteral<"foreground-cli-ws">;
|
|
2759
2795
|
}, z.core.$strict>;
|
|
2760
2796
|
}, z.core.$strict>;
|
|
2761
2797
|
tables: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
2762
2798
|
queries: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
2763
2799
|
mutations: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
2800
|
+
actions: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
2764
2801
|
endpoints: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
2765
2802
|
method: z.ZodEnum<{
|
|
2766
2803
|
POST: "POST";
|
|
@@ -2774,16 +2811,17 @@ export declare const spaceRuntimeStatusSchema: z.ZodObject<{
|
|
|
2774
2811
|
path: z.ZodString;
|
|
2775
2812
|
}, z.core.$strict>>>;
|
|
2776
2813
|
sockets: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
2814
|
+
migrationCount: z.ZodNumber;
|
|
2815
|
+
schemaHash: z.ZodNullable<z.ZodString>;
|
|
2777
2816
|
variables: z.ZodObject<{
|
|
2778
2817
|
source: z.ZodLiteral<"stattic-variables">;
|
|
2779
2818
|
names: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
2780
2819
|
}, z.core.$strict>;
|
|
2781
2820
|
realtime: z.ZodObject<{
|
|
2782
2821
|
mode: z.ZodEnum<{
|
|
2783
|
-
|
|
2784
|
-
|
|
2785
|
-
|
|
2786
|
-
"local-websocket": "local-websocket";
|
|
2822
|
+
local: "local";
|
|
2823
|
+
cast: "cast";
|
|
2824
|
+
central: "central";
|
|
2787
2825
|
}>;
|
|
2788
2826
|
centralUrl: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
2789
2827
|
path: z.ZodOptional<z.ZodString>;
|
|
@@ -2792,6 +2830,7 @@ export declare const spaceRuntimeStatusSchema: z.ZodObject<{
|
|
|
2792
2830
|
runPath: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2793
2831
|
runUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2794
2832
|
resourceKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2833
|
+
ticketPath: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2795
2834
|
socketPath: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2796
2835
|
spaceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2797
2836
|
versionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -2830,16 +2869,11 @@ export declare const spaceRuntimeStatusSchema: z.ZodObject<{
|
|
|
2830
2869
|
serving: "serving";
|
|
2831
2870
|
}>;
|
|
2832
2871
|
bundleSize: z.ZodNumber;
|
|
2872
|
+
bundleSha256: z.ZodString;
|
|
2833
2873
|
variables: z.ZodObject<{
|
|
2834
2874
|
source: z.ZodLiteral<"spacefast-variables">;
|
|
2835
2875
|
names: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
2836
2876
|
}, z.core.$strict>;
|
|
2837
|
-
inspect: z.ZodObject<{
|
|
2838
|
-
policy: z.ZodEnum<{
|
|
2839
|
-
public: "public";
|
|
2840
|
-
private: "private";
|
|
2841
|
-
}>;
|
|
2842
|
-
}, z.core.$strict>;
|
|
2843
2877
|
}, z.core.$strict>], "runtimeKind">>;
|
|
2844
2878
|
}, z.core.$strip>;
|
|
2845
2879
|
export declare const spaceApplyChangeBaseSchema: z.ZodObject<{
|