dineway 0.2.45 → 0.2.47
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/api/route-utils.d.mts +4 -4
- package/dist/api/route-utils.mjs +11 -11
- package/dist/api/schemas/index.d.mts +1 -1
- package/dist/{api-CB2KRW3W.mjs → api-CJ_MN3ZM.mjs} +9 -9
- package/dist/{apply-SoTzf8LK.mjs → apply-AOuBTila.mjs} +14 -14
- package/dist/astro/index.d.mts +3 -3
- package/dist/astro/index.mjs +4 -4
- package/dist/astro/middleware/auth.d.mts +3 -3
- package/dist/astro/middleware/auth.mjs +2 -2
- package/dist/astro/middleware/redirect.mjs +3 -3
- package/dist/astro/middleware/setup.mjs +1 -1
- package/dist/astro/middleware.mjs +58 -58
- package/dist/astro/routes/api/admin/briefing.mjs +15 -15
- package/dist/astro/routes/api/admin/bylines/_id_/index.mjs +7 -7
- package/dist/astro/routes/api/admin/bylines/_id_/translations.mjs +7 -7
- package/dist/astro/routes/api/admin/bylines/index.mjs +7 -7
- package/dist/astro/routes/api/admin/comments/_id_/status.mjs +5 -5
- package/dist/astro/routes/api/admin/comments/_id_.mjs +4 -4
- package/dist/astro/routes/api/admin/comments/bulk.mjs +4 -4
- package/dist/astro/routes/api/admin/comments/counts.mjs +4 -4
- package/dist/astro/routes/api/admin/comments/index.mjs +4 -4
- package/dist/astro/routes/api/admin/context/_id_/history.mjs +23 -23
- package/dist/astro/routes/api/admin/context/_id_/index.mjs +23 -23
- package/dist/astro/routes/api/admin/context/_id_/review.mjs +24 -24
- package/dist/astro/routes/api/admin/context/_id_/supersede.mjs +24 -24
- package/dist/astro/routes/api/admin/context/diff.mjs +23 -23
- package/dist/astro/routes/api/admin/context/index.mjs +24 -24
- package/dist/astro/routes/api/admin/context/stale.mjs +23 -23
- package/dist/astro/routes/api/admin/hitl-requests/_id_/index.mjs +24 -24
- package/dist/astro/routes/api/admin/hitl-requests/_id_/resolve.mjs +24 -24
- package/dist/astro/routes/api/admin/hitl-requests/index.mjs +24 -24
- package/dist/astro/routes/api/admin/hooks/exclusive/_hookName_.mjs +23 -23
- package/dist/astro/routes/api/admin/plugins/_id_/disable.mjs +38 -38
- package/dist/astro/routes/api/admin/plugins/_id_/enable.mjs +38 -38
- package/dist/astro/routes/api/admin/plugins/_id_/index.mjs +34 -34
- package/dist/astro/routes/api/admin/plugins/_id_/uninstall.mjs +38 -38
- package/dist/astro/routes/api/admin/plugins/_id_/update.mjs +38 -38
- package/dist/astro/routes/api/admin/plugins/index.mjs +34 -34
- package/dist/astro/routes/api/admin/plugins/marketplace/_id_/index.mjs +34 -34
- package/dist/astro/routes/api/admin/plugins/marketplace/_id_/install.mjs +38 -38
- package/dist/astro/routes/api/admin/plugins/marketplace/index.mjs +34 -34
- package/dist/astro/routes/api/admin/plugins/updates.mjs +34 -34
- package/dist/astro/routes/api/admin/review-requests/_id_/image.mjs +15 -15
- package/dist/astro/routes/api/admin/review-requests/_id_/index.mjs +20 -20
- package/dist/astro/routes/api/admin/review-requests/_id_/resolve.mjs +27 -27
- package/dist/astro/routes/api/admin/review-requests/index.mjs +25 -25
- package/dist/astro/routes/api/admin/themes/marketplace/_id_/index.mjs +34 -34
- package/dist/astro/routes/api/admin/themes/marketplace/index.mjs +34 -34
- package/dist/astro/routes/api/auth/invite/complete.mjs +2 -2
- package/dist/astro/routes/api/auth/invite/register-options.mjs +1 -1
- package/dist/astro/routes/api/auth/mode.mjs +1 -1
- package/dist/astro/routes/api/auth/passkey/options.mjs +1 -1
- package/dist/astro/routes/api/auth/passkey/register/options.mjs +1 -1
- package/dist/astro/routes/api/auth/passkey/register/verify.mjs +2 -2
- package/dist/astro/routes/api/auth/passkey/verify.mjs +2 -2
- package/dist/astro/routes/api/auth/signup/complete.mjs +2 -2
- package/dist/astro/routes/api/comments/_collection_/_contentId_/index.d.mts +3 -3
- package/dist/astro/routes/api/comments/_collection_/_contentId_/index.mjs +5 -5
- package/dist/astro/routes/api/comments/_collection_/_contentId_/reactions.mjs +4 -4
- package/dist/astro/routes/api/content/_collection_/_id_/preview-url.mjs +5 -5
- package/dist/astro/routes/api/content/_collection_/_id_/publish.mjs +14 -14
- package/dist/astro/routes/api/content/_collection_/_id_/schedule.mjs +14 -14
- package/dist/astro/routes/api/content/_collection_/_id_/terms/_taxonomy_.mjs +10 -10
- package/dist/astro/routes/api/content/_collection_/_id_.mjs +3 -3
- package/dist/astro/routes/api/content/_collection_/index.mjs +3 -3
- package/dist/astro/routes/api/dashboard.mjs +8 -8
- package/dist/astro/routes/api/health.mjs +1 -1
- package/dist/astro/routes/api/import/probe.mjs +8 -8
- package/dist/astro/routes/api/import/wordpress/analyze.mjs +4 -4
- package/dist/astro/routes/api/import/wordpress/execute.d.mts +3 -3
- package/dist/astro/routes/api/import/wordpress/execute.mjs +26 -26
- package/dist/astro/routes/api/import/wordpress/media.d.mts +3 -3
- package/dist/astro/routes/api/import/wordpress/prepare.mjs +24 -24
- package/dist/astro/routes/api/import/wordpress/rewrite-urls.d.mts +3 -3
- package/dist/astro/routes/api/import/wordpress/rewrite-urls.mjs +24 -24
- package/dist/astro/routes/api/import/wordpress-plugin/analyze.mjs +10 -10
- package/dist/astro/routes/api/import/wordpress-plugin/execute.d.mts +3 -3
- package/dist/astro/routes/api/import/wordpress-plugin/execute.mjs +27 -27
- package/dist/astro/routes/api/manifest.mjs +2 -2
- package/dist/astro/routes/api/mcp.mjs +59 -59
- package/dist/astro/routes/api/menus/_name_/items/_id_.mjs +24 -24
- package/dist/astro/routes/api/menus/_name_/items.mjs +24 -24
- package/dist/astro/routes/api/menus/_name_/reorder.mjs +24 -24
- package/dist/astro/routes/api/menus/_name_/translations.mjs +24 -24
- package/dist/astro/routes/api/menus/_name_.mjs +24 -24
- package/dist/astro/routes/api/menus/index.mjs +24 -24
- package/dist/astro/routes/api/openapi.json.mjs +1 -1
- package/dist/astro/routes/api/redirects/_id_.mjs +23 -23
- package/dist/astro/routes/api/redirects/index.mjs +23 -23
- package/dist/astro/routes/api/schema/collections/_slug_/fields/_fieldSlug_.mjs +34 -34
- package/dist/astro/routes/api/schema/collections/_slug_/fields/index.mjs +34 -34
- package/dist/astro/routes/api/schema/collections/_slug_/fields/reorder.mjs +34 -34
- package/dist/astro/routes/api/schema/collections/_slug_/index.mjs +34 -34
- package/dist/astro/routes/api/schema/collections/index.mjs +34 -34
- package/dist/astro/routes/api/schema/index.mjs +4 -4
- package/dist/astro/routes/api/schema/orphans/_slug_.mjs +34 -34
- package/dist/astro/routes/api/schema/orphans/index.mjs +34 -34
- package/dist/astro/routes/api/search/enable.mjs +4 -4
- package/dist/astro/routes/api/search/index.mjs +4 -4
- package/dist/astro/routes/api/search/rebuild.mjs +4 -4
- package/dist/astro/routes/api/search/stats.mjs +4 -4
- package/dist/astro/routes/api/search/suggest.mjs +4 -4
- package/dist/astro/routes/api/sections/_slug_.mjs +24 -24
- package/dist/astro/routes/api/sections/index.mjs +24 -24
- package/dist/astro/routes/api/settings/reviews.mjs +1 -1
- package/dist/astro/routes/api/settings.mjs +24 -24
- package/dist/astro/routes/api/setup/admin-verify.mjs +3 -3
- package/dist/astro/routes/api/setup/admin.mjs +1 -1
- package/dist/astro/routes/api/setup/dev-bypass.mjs +17 -17
- package/dist/astro/routes/api/setup/index.mjs +18 -18
- package/dist/astro/routes/api/setup/status.mjs +1 -1
- package/dist/astro/routes/api/snapshot.mjs +1 -1
- package/dist/astro/routes/api/taxonomies/_name_/terms/_slug_/translations.mjs +26 -26
- package/dist/astro/routes/api/taxonomies/_name_/terms/_slug_.mjs +26 -26
- package/dist/astro/routes/api/taxonomies/_name_/terms/index.mjs +26 -26
- package/dist/astro/routes/api/taxonomies/index.mjs +26 -26
- package/dist/astro/routes/api/typegen.mjs +2 -2
- package/dist/astro/routes/api/well-known/auth.mjs +2 -2
- package/dist/astro/routes/api/widget-areas/_name_/reorder.mjs +23 -23
- package/dist/astro/routes/api/widget-areas/_name_/widgets/_id_.mjs +24 -24
- package/dist/astro/routes/api/widget-areas/_name_/widgets.mjs +24 -24
- package/dist/astro/routes/api/widget-areas/_name_.mjs +24 -24
- package/dist/astro/routes/api/widget-areas/index.mjs +24 -24
- package/dist/astro/routes/robots.txt.mjs +5 -5
- package/dist/astro/routes/sitemap-_collection_.xml.mjs +9 -9
- package/dist/astro/routes/sitemap.xml.mjs +9 -9
- package/dist/astro/session-driver.mjs +3 -3
- package/dist/astro/types.d.mts +3 -3
- package/dist/{briefing-CXQA-DpY.mjs → briefing-8OgwfN-y.mjs} +1 -1
- package/dist/{briefing-9YqN5XoW.mjs → briefing-CQk5h4t6.mjs} +5 -5
- package/dist/{byline-BvFH-UZw.mjs → byline-DGTZqRM0.mjs} +5 -5
- package/dist/{byline-fields-Dyts_tJ5.d.mts → byline-fields-DvYufwxE.d.mts} +30 -30
- package/dist/{bylines-DLFjKcNr.mjs → bylines-BO0rdeMa.mjs} +3 -3
- package/dist/{bylines-ZfS9Qm_E.mjs → bylines-D27pVrb-.mjs} +1 -1
- package/dist/cli/index.mjs +36 -30
- package/dist/cli/plugin-kit.d.mts +3 -3
- package/dist/client/index.d.mts +3 -3
- package/dist/{comment-CbGlRPPS.mjs → comment--XUWDcJD.mjs} +1 -1
- package/dist/{comments-BFXekTqN.mjs → comments-1RMjBvK3.mjs} +1 -1
- package/dist/{content-Dxx0H4k8.mjs → content-rb8lZEfT.mjs} +4 -4
- package/dist/{content-refresh-COi0WfKw.mjs → content-refresh-Dl938dTm.mjs} +2 -2
- package/dist/content-storage/index.d.mts +5 -3
- package/dist/content-storage/index.mjs +13 -13
- package/dist/content-storage/store.d.mts +2 -2
- package/dist/content-storage/store.mjs +2 -2
- package/dist/{content-write-eOTKAf2d.mjs → content-write-DPszY76R.mjs} +10 -10
- package/dist/{context-c4OnrX-0.mjs → context-BrzB9nTR.mjs} +4 -4
- package/dist/{context-CjeMWXtq.mjs → context-I9mz_9uB.mjs} +2 -2
- package/dist/{dashboard-C_x93lbv.mjs → dashboard-CZtacCz9.mjs} +1 -1
- package/dist/database/d1/index.d.mts +3 -3
- package/dist/database/d1/index.mjs +2 -2
- package/dist/{discovery-CIgViNk9.mjs → discovery-BjyZQy47.mjs} +1 -1
- package/dist/{evidence-FRy3SVTP.mjs → evidence-DE40B1zz.mjs} +2 -2
- package/dist/{hitl-requests-DtPNPiYe.mjs → hitl-requests-DsLqU9VX.mjs} +1 -1
- package/dist/{hitl-route-helpers-BKI0ZeUF.mjs → hitl-route-helpers-BVgtDm47.mjs} +1 -1
- package/dist/{import-Cn1_u1S2.mjs → import-DrzBQKha.mjs} +3 -3
- package/dist/index.d.mts +3 -3
- package/dist/index.mjs +46 -46
- package/dist/{jsonld-DZXdAyOK.d.mts → jsonld-Qr9dwCK4.d.mts} +1 -1
- package/dist/{loader-C9hvIKEW.mjs → loader-Q07mEStb.mjs} +4 -4
- package/dist/{mcp-reviewed-executor-B4O9L9MT.mjs → mcp-reviewed-executor-mRdtNIf1.mjs} +2 -2
- package/dist/media/local-runtime.d.mts +3 -3
- package/dist/{menus-DL-BYzwG.mjs → menus-Coq8FLPj.mjs} +3 -3
- package/dist/{menus-BfQjG9Wc.mjs → menus-DDxZ0JiZ.mjs} +1 -1
- package/dist/{migration-B9FyV3ET.mjs → migration-B7DanZKm.mjs} +38 -8
- package/dist/{object-cache-qP60KjUp.mjs → object-cache-DeIkrWmq.mjs} +1 -1
- package/dist/{owned-metadata-CJs4-k1w.mjs → owned-metadata-LUF0xC0h.mjs} +1 -1
- package/dist/page/index.d.mts +4 -4
- package/dist/plugin-utils.d.mts +3 -3
- package/dist/plugins/adapt-sandbox-entry.d.mts +3 -3
- package/dist/{plugins-rop9tkYG.mjs → plugins-Dh2fBfX7.mjs} +2 -2
- package/dist/{public-url-DLcDMtBJ.d.mts → public-url-C60HX3NR.d.mts} +1 -1
- package/dist/{publication-authorization-CS8WqkzL.mjs → publication-authorization-e0sPJ9OP.mjs} +4 -4
- package/dist/{query-B1t4PSfw.mjs → query-BvYbhblK.mjs} +10 -10
- package/dist/{query-D0qnvePL.mjs → query-CyzBZrWv.mjs} +3 -3
- package/dist/{registry-3xWpSYNI.mjs → registry-BpNZLrXn.mjs} +1 -1
- package/dist/{release-Bk-UaI2C.mjs → release-CIYyinzY.mjs} +1 -1
- package/dist/request-context.d.mts +1 -11
- package/dist/{review-requests-BQZp6VaG.mjs → review-requests-R9L2Aubm.mjs} +1 -1
- package/dist/{revision-BhnVYOMz.mjs → revision-DfrRhPgw.mjs} +2 -2
- package/dist/{revisions-C-T9CdGo.mjs → revisions-DnV1P4O5.mjs} +1 -1
- package/dist/{runtime-Dz7vZRPU.mjs → runtime-CmupMaEb.mjs} +124 -61
- package/dist/{runtime-Dx9QpCL5.d.mts → runtime-ecsN2xL9.d.mts} +1 -1
- package/dist/runtime.d.mts +3 -3
- package/dist/runtime.mjs +3 -3
- package/dist/{schema-2x9K4t9t.mjs → schema-siddXiB9.mjs} +1 -1
- package/dist/{search--Qmm2s6n.mjs → search-giRjxqrh.mjs} +1 -1
- package/dist/{sections-0cg9Dhp6.mjs → sections-DqBH0bCm.mjs} +1 -1
- package/dist/seed/index.mjs +17 -17
- package/dist/seo/index.mjs +5 -5
- package/dist/{seo-BYBqbsZk.mjs → seo-Dsh31oy8.mjs} +1 -1
- package/dist/{seo-DxrTizK0.mjs → seo-TWEsRapq.mjs} +5 -5
- package/dist/{service-Y-ZEhFVM.mjs → service-CFLkZn2S.mjs} +2 -2
- package/dist/{settings-DM4P-jVe.mjs → settings-ByRmK-Mg.mjs} +1 -1
- package/dist/{settings-D0SBKo-W.mjs → settings-Dn4XvS7H.mjs} +2 -2
- package/dist/{site-context-DNiKKCc1.mjs → site-context-CHfuvD9v.mjs} +6 -6
- package/dist/{submission-C7tI1Frs.mjs → submission-C_DNrA5y.mjs} +4 -4
- package/dist/{taxonomies-CZHI0fCa.mjs → taxonomies-BCuDkFFS.mjs} +3 -3
- package/dist/{taxonomies-Cf9huhQ6.mjs → taxonomies-PWPhdhgN.mjs} +2 -2
- package/dist/{taxonomy-B4O77tAe.mjs → taxonomy-YxipNvfL.mjs} +3 -3
- package/dist/{types-z2nZassR.d.mts → types-1NHQF2Yh.d.mts} +4 -4
- package/dist/ui/server-runtime.d.mts +5 -5
- package/dist/ui/server-runtime.mjs +13 -13
- package/dist/version-DkCuTQ-N.mjs +6 -0
- package/dist/{version-store-DyYULGd3.mjs → version-store-B2n_Gfkq.mjs} +2 -10
- package/dist/{version-store-B6i81L9W.d.mts → version-store-mMm7pcYK.d.mts} +1 -36
- package/dist/{widgets-P1hMbKIT.mjs → widgets-C_9KBEwT.mjs} +1 -1
- package/dist/{worker-CcvePQzq.mjs → worker-Dl9S5-Tl.mjs} +4 -4
- package/dist/{write-intent-D6xfcx1f.mjs → write-intent-4Q8sNg11.mjs} +2 -2
- package/package.json +2 -2
- package/dist/version-CtBv2gNa.mjs +0 -6
- /package/dist/{allowed-origins-CQyKpMbJ.mjs → allowed-origins-SQbPK6WG.mjs} +0 -0
- /package/dist/{challenge-store-BImHCJvl.mjs → challenge-store-7IZ_NqWg.mjs} +0 -0
- /package/dist/{context-route-helpers-CGA2fsiz.mjs → context-route-helpers-CUrRB8qt.mjs} +0 -0
- /package/dist/{mode-BoM5FjH7.mjs → mode-C3RI5Z5t.mjs} +0 -0
- /package/dist/{policy-BL8yj6uD.mjs → policy-DbceGc4P.mjs} +0 -0
- /package/dist/{session-user-j7I8GMvK.mjs → session-user-D36BRaZY.mjs} +0 -0
- /package/dist/{setup-complete-Cn-Ho9RX.mjs → setup-complete-eTV6C0-E.mjs} +0 -0
- /package/dist/{state-LzJZ7qpq.mjs → state-CKkqoA6i.mjs} +0 -0
- /package/dist/{workers-build-Bd4w1aw9.mjs → workers-build-4926MPc0.mjs} +0 -0
|
@@ -860,14 +860,14 @@ declare const createFieldBody: z.ZodObject<{
|
|
|
860
860
|
string: "string";
|
|
861
861
|
number: "number";
|
|
862
862
|
boolean: "boolean";
|
|
863
|
+
file: "file";
|
|
863
864
|
json: "json";
|
|
864
865
|
url: "url";
|
|
865
|
-
file: "file";
|
|
866
866
|
slug: "slug";
|
|
867
|
-
text: "text";
|
|
868
|
-
integer: "integer";
|
|
869
867
|
image: "image";
|
|
870
868
|
datetime: "datetime";
|
|
869
|
+
text: "text";
|
|
870
|
+
integer: "integer";
|
|
871
871
|
select: "select";
|
|
872
872
|
multiSelect: "multiSelect";
|
|
873
873
|
portableText: "portableText";
|
|
@@ -892,10 +892,10 @@ declare const createFieldBody: z.ZodObject<{
|
|
|
892
892
|
number: "number";
|
|
893
893
|
boolean: "boolean";
|
|
894
894
|
url: "url";
|
|
895
|
-
text: "text";
|
|
896
|
-
integer: "integer";
|
|
897
895
|
image: "image";
|
|
898
896
|
datetime: "datetime";
|
|
897
|
+
text: "text";
|
|
898
|
+
integer: "integer";
|
|
899
899
|
select: "select";
|
|
900
900
|
}>;
|
|
901
901
|
label: z.ZodString;
|
|
@@ -918,14 +918,14 @@ declare const updateFieldBody: z.ZodObject<{
|
|
|
918
918
|
string: "string";
|
|
919
919
|
number: "number";
|
|
920
920
|
boolean: "boolean";
|
|
921
|
+
file: "file";
|
|
921
922
|
json: "json";
|
|
922
923
|
url: "url";
|
|
923
|
-
file: "file";
|
|
924
924
|
slug: "slug";
|
|
925
|
-
text: "text";
|
|
926
|
-
integer: "integer";
|
|
927
925
|
image: "image";
|
|
928
926
|
datetime: "datetime";
|
|
927
|
+
text: "text";
|
|
928
|
+
integer: "integer";
|
|
929
929
|
select: "select";
|
|
930
930
|
multiSelect: "multiSelect";
|
|
931
931
|
portableText: "portableText";
|
|
@@ -950,10 +950,10 @@ declare const updateFieldBody: z.ZodObject<{
|
|
|
950
950
|
number: "number";
|
|
951
951
|
boolean: "boolean";
|
|
952
952
|
url: "url";
|
|
953
|
-
text: "text";
|
|
954
|
-
integer: "integer";
|
|
955
953
|
image: "image";
|
|
956
954
|
datetime: "datetime";
|
|
955
|
+
text: "text";
|
|
956
|
+
integer: "integer";
|
|
957
957
|
select: "select";
|
|
958
958
|
}>;
|
|
959
959
|
label: z.ZodString;
|
|
@@ -1012,14 +1012,14 @@ declare const fieldSchema: z.ZodObject<{
|
|
|
1012
1012
|
string: "string";
|
|
1013
1013
|
number: "number";
|
|
1014
1014
|
boolean: "boolean";
|
|
1015
|
+
file: "file";
|
|
1015
1016
|
json: "json";
|
|
1016
1017
|
url: "url";
|
|
1017
|
-
file: "file";
|
|
1018
1018
|
slug: "slug";
|
|
1019
|
-
text: "text";
|
|
1020
|
-
integer: "integer";
|
|
1021
1019
|
image: "image";
|
|
1022
1020
|
datetime: "datetime";
|
|
1021
|
+
text: "text";
|
|
1022
|
+
integer: "integer";
|
|
1023
1023
|
select: "select";
|
|
1024
1024
|
multiSelect: "multiSelect";
|
|
1025
1025
|
portableText: "portableText";
|
|
@@ -1087,14 +1087,14 @@ declare const collectionWithFieldsResponseSchema: z.ZodObject<{
|
|
|
1087
1087
|
string: "string";
|
|
1088
1088
|
number: "number";
|
|
1089
1089
|
boolean: "boolean";
|
|
1090
|
+
file: "file";
|
|
1090
1091
|
json: "json";
|
|
1091
1092
|
url: "url";
|
|
1092
|
-
file: "file";
|
|
1093
1093
|
slug: "slug";
|
|
1094
|
-
text: "text";
|
|
1095
|
-
integer: "integer";
|
|
1096
1094
|
image: "image";
|
|
1097
1095
|
datetime: "datetime";
|
|
1096
|
+
text: "text";
|
|
1097
|
+
integer: "integer";
|
|
1098
1098
|
select: "select";
|
|
1099
1099
|
multiSelect: "multiSelect";
|
|
1100
1100
|
portableText: "portableText";
|
|
@@ -1146,14 +1146,14 @@ declare const fieldResponseSchema: z.ZodObject<{
|
|
|
1146
1146
|
string: "string";
|
|
1147
1147
|
number: "number";
|
|
1148
1148
|
boolean: "boolean";
|
|
1149
|
+
file: "file";
|
|
1149
1150
|
json: "json";
|
|
1150
1151
|
url: "url";
|
|
1151
|
-
file: "file";
|
|
1152
1152
|
slug: "slug";
|
|
1153
|
-
text: "text";
|
|
1154
|
-
integer: "integer";
|
|
1155
1153
|
image: "image";
|
|
1156
1154
|
datetime: "datetime";
|
|
1155
|
+
text: "text";
|
|
1156
|
+
integer: "integer";
|
|
1157
1157
|
select: "select";
|
|
1158
1158
|
multiSelect: "multiSelect";
|
|
1159
1159
|
portableText: "portableText";
|
|
@@ -1183,14 +1183,14 @@ declare const fieldListResponseSchema: z.ZodObject<{
|
|
|
1183
1183
|
string: "string";
|
|
1184
1184
|
number: "number";
|
|
1185
1185
|
boolean: "boolean";
|
|
1186
|
+
file: "file";
|
|
1186
1187
|
json: "json";
|
|
1187
1188
|
url: "url";
|
|
1188
|
-
file: "file";
|
|
1189
1189
|
slug: "slug";
|
|
1190
|
-
text: "text";
|
|
1191
|
-
integer: "integer";
|
|
1192
1190
|
image: "image";
|
|
1193
1191
|
datetime: "datetime";
|
|
1192
|
+
text: "text";
|
|
1193
|
+
integer: "integer";
|
|
1194
1194
|
select: "select";
|
|
1195
1195
|
multiSelect: "multiSelect";
|
|
1196
1196
|
portableText: "portableText";
|
|
@@ -1238,8 +1238,8 @@ declare const createReactionBody: z.ZodObject<{
|
|
|
1238
1238
|
}, z.core.$strip>;
|
|
1239
1239
|
declare const commentStatusBody: z.ZodObject<{
|
|
1240
1240
|
status: z.ZodEnum<{
|
|
1241
|
-
pending: "pending";
|
|
1242
1241
|
approved: "approved";
|
|
1242
|
+
pending: "pending";
|
|
1243
1243
|
spam: "spam";
|
|
1244
1244
|
trash: "trash";
|
|
1245
1245
|
}>;
|
|
@@ -1255,8 +1255,8 @@ declare const commentBulkBody: z.ZodObject<{
|
|
|
1255
1255
|
}, z.core.$strip>;
|
|
1256
1256
|
declare const commentListQuery: z.ZodObject<{
|
|
1257
1257
|
status: z.ZodOptional<z.ZodEnum<{
|
|
1258
|
-
pending: "pending";
|
|
1259
1258
|
approved: "approved";
|
|
1259
|
+
pending: "pending";
|
|
1260
1260
|
spam: "spam";
|
|
1261
1261
|
trash: "trash";
|
|
1262
1262
|
}>>;
|
|
@@ -1291,8 +1291,8 @@ declare const commentSchema: z.ZodObject<{
|
|
|
1291
1291
|
authorEmail: z.ZodString;
|
|
1292
1292
|
body: z.ZodString;
|
|
1293
1293
|
status: z.ZodEnum<{
|
|
1294
|
-
pending: "pending";
|
|
1295
1294
|
approved: "approved";
|
|
1295
|
+
pending: "pending";
|
|
1296
1296
|
spam: "spam";
|
|
1297
1297
|
trash: "trash";
|
|
1298
1298
|
}>;
|
|
@@ -1324,8 +1324,8 @@ declare const adminCommentListResponseSchema: z.ZodObject<{
|
|
|
1324
1324
|
authorEmail: z.ZodString;
|
|
1325
1325
|
body: z.ZodString;
|
|
1326
1326
|
status: z.ZodEnum<{
|
|
1327
|
-
pending: "pending";
|
|
1328
1327
|
approved: "approved";
|
|
1328
|
+
pending: "pending";
|
|
1329
1329
|
spam: "spam";
|
|
1330
1330
|
trash: "trash";
|
|
1331
1331
|
}>;
|
|
@@ -1465,8 +1465,8 @@ declare const siteBriefingQuery: z.ZodObject<{
|
|
|
1465
1465
|
//#region src/api/schemas/hitl-requests.d.ts
|
|
1466
1466
|
declare const hitlRequestListQuery: z.ZodObject<{
|
|
1467
1467
|
status: z.ZodOptional<z.ZodEnum<{
|
|
1468
|
-
pending: "pending";
|
|
1469
1468
|
approved: "approved";
|
|
1469
|
+
pending: "pending";
|
|
1470
1470
|
rejected: "rejected";
|
|
1471
1471
|
}>>;
|
|
1472
1472
|
priority: z.ZodOptional<z.ZodEnum<{
|
|
@@ -1499,8 +1499,8 @@ declare const reviewRequestCreateBody: z.ZodObject<{
|
|
|
1499
1499
|
}, z.core.$strip>;
|
|
1500
1500
|
declare const reviewRequestListQuery: z.ZodObject<{
|
|
1501
1501
|
status: z.ZodOptional<z.ZodEnum<{
|
|
1502
|
-
pending: "pending";
|
|
1503
1502
|
approved: "approved";
|
|
1503
|
+
pending: "pending";
|
|
1504
1504
|
rejected: "rejected";
|
|
1505
1505
|
resolved: "resolved";
|
|
1506
1506
|
}>>;
|
|
@@ -1641,9 +1641,9 @@ declare const authMeActionBody: z.ZodObject<{
|
|
|
1641
1641
|
* from `referenceCollection` + `referenceId` (a translation_group id).
|
|
1642
1642
|
*/
|
|
1643
1643
|
declare const menuItemTypeEnum: z.ZodEnum<{
|
|
1644
|
+
custom: "custom";
|
|
1644
1645
|
collection: "collection";
|
|
1645
1646
|
taxonomy: "taxonomy";
|
|
1646
|
-
custom: "custom";
|
|
1647
1647
|
page: "page";
|
|
1648
1648
|
post: "post";
|
|
1649
1649
|
}>;
|
|
@@ -1658,9 +1658,9 @@ declare const updateMenuBody: z.ZodObject<{
|
|
|
1658
1658
|
}, z.core.$strict>;
|
|
1659
1659
|
declare const createMenuItemBody: z.ZodObject<{
|
|
1660
1660
|
type: z.ZodEnum<{
|
|
1661
|
+
custom: "custom";
|
|
1661
1662
|
collection: "collection";
|
|
1662
1663
|
taxonomy: "taxonomy";
|
|
1663
|
-
custom: "custom";
|
|
1664
1664
|
page: "page";
|
|
1665
1665
|
post: "post";
|
|
1666
1666
|
}>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { c as __exportAll } from "./runner-CuG8o1uW.mjs";
|
|
2
2
|
import { t as validateIdentifier } from "./validate-Co3j6T_K.mjs";
|
|
3
|
-
import { o as isMissingTableError, r as getDb } from "./loader-
|
|
4
|
-
import { t as BylineRepository } from "./byline-
|
|
3
|
+
import { o as isMissingTableError, r as getDb } from "./loader-Q07mEStb.mjs";
|
|
4
|
+
import { t as BylineRepository } from "./byline-DGTZqRM0.mjs";
|
|
5
5
|
import { n as resolveLocaleChain } from "./resolve-BdDNBmaU.mjs";
|
|
6
6
|
import { sql } from "kysely";
|
|
7
7
|
|
|
@@ -184,7 +184,7 @@ async function getBylinesForEntries(collection, entries) {
|
|
|
184
184
|
*/
|
|
185
185
|
async function getEntriesByByline(collection, byline, options = {}) {
|
|
186
186
|
validateIdentifier(collection, "collection");
|
|
187
|
-
const { getDinewayCollection } = await import("./query-
|
|
187
|
+
const { getDinewayCollection } = await import("./query-BvYbhblK.mjs").then((n) => n.o);
|
|
188
188
|
const { entries } = await getDinewayCollection(collection, {
|
|
189
189
|
where: { byline },
|
|
190
190
|
...options.locale !== void 0 ? { locale: options.locale } : {},
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { c as __exportAll } from "./runner-CuG8o1uW.mjs";
|
|
2
2
|
import { n as getI18nConfig } from "./config-XW5tMrH8.mjs";
|
|
3
3
|
import { t as DinewayValidationError } from "./types-BI3ULB3A.mjs";
|
|
4
|
-
import { t as BylineRepository } from "./byline-
|
|
4
|
+
import { t as BylineRepository } from "./byline-DGTZqRM0.mjs";
|
|
5
5
|
|
|
6
6
|
//#region src/api/handlers/bylines.ts
|
|
7
7
|
var bylines_exports = /* @__PURE__ */ __exportAll({
|
package/dist/cli/index.mjs
CHANGED
|
@@ -7,57 +7,57 @@ import { t as validateIdentifier } from "../validate-Co3j6T_K.mjs";
|
|
|
7
7
|
import { l as listTablesLike } from "../dialect-helpers-C6xtO-Ui.mjs";
|
|
8
8
|
import { n as getI18nConfig, r as isI18nEnabled } from "../config-XW5tMrH8.mjs";
|
|
9
9
|
import { a as validateContentStorage, n as contentDigest, r as contentStorageConfigSchema, t as canonicalContentJson } from "../config---A7Bg68.mjs";
|
|
10
|
-
import {
|
|
11
|
-
import "../revisions-
|
|
10
|
+
import { c as installContentStorageConfig, f as freezeContentPartition, l as beginContentMigration, o as registerContentStorage, r as getContentStorage, t as assertContentStorageConfiguration, u as cancelContentMigration } from "../runtime-CmupMaEb.mjs";
|
|
11
|
+
import "../revisions-DnV1P4O5.mjs";
|
|
12
12
|
import "../runtime-env-DpYGy4pT.mjs";
|
|
13
13
|
import { i as encodeBase64url } from "../base64-qvSs0Gxy.mjs";
|
|
14
14
|
import "../types-BI3ULB3A.mjs";
|
|
15
|
-
import { o as isMissingTableError } from "../loader-
|
|
15
|
+
import { o as isMissingTableError } from "../loader-Q07mEStb.mjs";
|
|
16
16
|
import "../actor-D0AW80ld.mjs";
|
|
17
17
|
import "../atomic-authority-Bf5QZboB.mjs";
|
|
18
|
-
import { t as ContentRepository } from "../content-
|
|
18
|
+
import { t as ContentRepository } from "../content-rb8lZEfT.mjs";
|
|
19
19
|
import "../request-cache-CizvDoxV.mjs";
|
|
20
20
|
import "../byline-registry-Caj0_gbU.mjs";
|
|
21
21
|
import "../field-defs-cache-dn5Tw79A.mjs";
|
|
22
|
-
import "../object-cache-
|
|
23
|
-
import { t as BylineRepository } from "../byline-
|
|
24
|
-
import "../owned-metadata-
|
|
22
|
+
import "../object-cache-DeIkrWmq.mjs";
|
|
23
|
+
import { t as BylineRepository } from "../byline-DGTZqRM0.mjs";
|
|
24
|
+
import "../owned-metadata-LUF0xC0h.mjs";
|
|
25
25
|
import { n as slugify } from "../slugify-DvoaEPtL.mjs";
|
|
26
|
-
import "../revision-
|
|
26
|
+
import "../revision-DfrRhPgw.mjs";
|
|
27
27
|
import { t as MediaRepository } from "../media-BjH5OD-A.mjs";
|
|
28
28
|
import "../user-Bl2_8rhJ.mjs";
|
|
29
29
|
import "../terms-EskuqbKE.mjs";
|
|
30
|
-
import { t as TaxonomyRepository } from "../taxonomy-
|
|
30
|
+
import { t as TaxonomyRepository } from "../taxonomy-YxipNvfL.mjs";
|
|
31
31
|
import { t as OptionsRepository } from "../options-yFkLUuTw.mjs";
|
|
32
32
|
import "../redirect-CJ-FAbNK.mjs";
|
|
33
|
-
import "../content-write-
|
|
34
|
-
import { n as assertContentVersionStore,
|
|
35
|
-
import "../write-intent-
|
|
36
|
-
import "../seo-
|
|
33
|
+
import "../content-write-DPszY76R.mjs";
|
|
34
|
+
import { n as assertContentVersionStore, o as installContentVersionStore, r as contentStoreCollectionFromFields, t as ContentVersionStore } from "../version-store-B2n_Gfkq.mjs";
|
|
35
|
+
import "../write-intent-4Q8sNg11.mjs";
|
|
36
|
+
import "../seo-TWEsRapq.mjs";
|
|
37
37
|
import { n as DinewayToolsService, r as integrationResponse, t as DinewayToolsError } from "../service-DL1j3E4P.mjs";
|
|
38
38
|
import { i as parseEncryptionKeys, n as fingerprintKey, r as generateEncryptionKey, t as DinewaySecretsError } from "../secrets-D52WNV_c.mjs";
|
|
39
|
-
import "../content-refresh-
|
|
39
|
+
import "../content-refresh-Dl938dTm.mjs";
|
|
40
40
|
import { n as resolveAndValidateExternalUrl, t as SsrfError } from "../ssrf-C7tTSD1r.mjs";
|
|
41
41
|
import "../fts-manager-BHwhq1lC.mjs";
|
|
42
42
|
import "../public-discovery-CGRirTJH.mjs";
|
|
43
|
-
import { n as SchemaRegistry } from "../registry-
|
|
44
|
-
import "../settings-
|
|
45
|
-
import { n as VERSION } from "../version-
|
|
43
|
+
import { n as SchemaRegistry } from "../registry-BpNZLrXn.mjs";
|
|
44
|
+
import "../settings-Dn4XvS7H.mjs";
|
|
45
|
+
import { n as VERSION } from "../version-DkCuTQ-N.mjs";
|
|
46
46
|
import { t as IntegrationCredentialStore } from "../store-rYMso0t7.mjs";
|
|
47
47
|
import { a as reconcileManifestAccess, i as pluginManifestSchema } from "../manifest-schema-B_rWNZn5.mjs";
|
|
48
48
|
import "../content-C8i4DyTt.mjs";
|
|
49
49
|
import "../migrations-DTCIQJ2_.mjs";
|
|
50
50
|
import { t as validateSeed } from "../validate-WOW5vZz_.mjs";
|
|
51
|
-
import { t as applySeed } from "../apply-
|
|
52
|
-
import { n as validateWorkersBindings, t as WORKERS_BUILD_METADATA } from "../workers-build-
|
|
53
|
-
import { n as d1ReleaseRevision } from "../state-
|
|
51
|
+
import { t as applySeed } from "../apply-AOuBTila.mjs";
|
|
52
|
+
import { n as validateWorkersBindings, t as WORKERS_BUILD_METADATA } from "../workers-build-4926MPc0.mjs";
|
|
53
|
+
import { n as d1ReleaseRevision } from "../state-CKkqoA6i.mjs";
|
|
54
54
|
import { a as createForgewayAccountClient, c as normalizeForgewayApiUrl, d as refreshForgewayAccountCredentials, f as removeStoredForgewayAccount, g as writeForgewayCredentials, h as readForgewayCredentials, i as completeForgewayAccountLogin, l as normalizeForgewayEmail, m as listForgewayCredentials, n as DEFAULT_FORGEWAY_API_BASE_URL, o as getForgewayDinewayAccount, p as sendForgewayAccountLoginLink, r as InvalidForgewayAccountCredentialsError, s as normalizeDinewayWebUrl, t as DEFAULT_DINEWAY_WEB_URL, u as readStoredForgewayAccount } from "../forgeway-account-CVSG1imu.mjs";
|
|
55
55
|
import { n as output, t as configureOutputMode } from "../output-TGkiEMQF.mjs";
|
|
56
56
|
import { createHeaderAwareFetch, isRedirectResponse, resolveCustomHeaders } from "../client/external-auth-headers.mjs";
|
|
57
57
|
import { t as convertDataForRead } from "../portable-text-CJ9v0T_j.mjs";
|
|
58
58
|
import { _ as saveMarketplaceCredential, a as ensureProjectGitignoreDinewayLocalState, c as resolveDinewayBaseUrl, d as getCredentials, f as getMarketplaceCredential, g as saveCredentials, h as resolveCredentialKey, i as DEFAULT_DINEWAY_URL, l as resolveDinewayToken, m as removeMarketplaceCredential, n as connectionArgs, o as ensureProjectGitignoreEntry, p as removeCredentials, r as createClientFromArgs, s as readProjectEnv, u as upsertProjectEnv } from "../client-factory-8GnB8iz5.mjs";
|
|
59
|
-
import { t as migrateD1Release } from "../release-
|
|
60
|
-
import { a as verifyContentMigration, i as stageContentMigrationEntry, l as contentMigrationSnapshotSchema, n as completeContentMigration, o as verifyContentMigrationPage, r as rollbackContentMigration, s as bootstrapContentDirectoryPage, t as activateContentMigrationEntry, u as migrateContentStorageConfig } from "../migration-
|
|
59
|
+
import { t as migrateD1Release } from "../release-CIYyinzY.mjs";
|
|
60
|
+
import { a as verifyContentMigration, d as stageContentStorageBindings, i as stageContentMigrationEntry, l as contentMigrationSnapshotSchema, n as completeContentMigration, o as verifyContentMigrationPage, r as rollbackContentMigration, s as bootstrapContentDirectoryPage, t as activateContentMigrationEntry, u as migrateContentStorageConfig } from "../migration-B7DanZKm.mjs";
|
|
61
61
|
import { LocalStorage } from "../storage/local.mjs";
|
|
62
62
|
import { r as fileExists$11, t as bundleCommand } from "../bundle-CnJWXvur.mjs";
|
|
63
63
|
import { createRequire } from "node:module";
|
|
@@ -1103,15 +1103,11 @@ async function readContentStorageProject(options) {
|
|
|
1103
1103
|
database: select(main.config, mainBinding)
|
|
1104
1104
|
}];
|
|
1105
1105
|
for (const [store, descriptor] of Object.entries(config.stores)) {
|
|
1106
|
-
const
|
|
1107
|
-
config: z.string().min(1),
|
|
1108
|
-
binding: z.string().min(1)
|
|
1109
|
-
}).parse(descriptor.config.database);
|
|
1110
|
-
const worker = await loadProjectWrangler(cwd, target.config, options.environment);
|
|
1106
|
+
const { binding } = z.object({ binding: z.string().min(1) }).parse(descriptor.config);
|
|
1111
1107
|
targets.push({
|
|
1112
1108
|
store,
|
|
1113
1109
|
binding: `CONTENT_STORE_${targets.length}`,
|
|
1114
|
-
database: select(
|
|
1110
|
+
database: select(main.config, binding)
|
|
1115
1111
|
});
|
|
1116
1112
|
}
|
|
1117
1113
|
if (new Set(targets.map((target) => target.database.database_id)).size !== targets.length) throw new Error("Content stores must select distinct physical D1 databases.");
|
|
@@ -1200,6 +1196,7 @@ const actions = [
|
|
|
1200
1196
|
"install",
|
|
1201
1197
|
"schema",
|
|
1202
1198
|
"config",
|
|
1199
|
+
"stage-bindings",
|
|
1203
1200
|
"inventory",
|
|
1204
1201
|
"bootstrap",
|
|
1205
1202
|
"begin",
|
|
@@ -1245,9 +1242,18 @@ async function runContentStorageCommand(options) {
|
|
|
1245
1242
|
source: "primary"
|
|
1246
1243
|
};
|
|
1247
1244
|
}
|
|
1248
|
-
if (options.action === "config") {
|
|
1245
|
+
if (options.action === "config" || options.action === "stage-bindings") {
|
|
1249
1246
|
if (!options.previousConfig) throw new Error("Provide --previous-config with the exact previously installed contentStorage JSON.");
|
|
1250
|
-
|
|
1247
|
+
const previous = contentStorageConfigSchema.parse(JSON.parse(await readFile(resolve(project.cwd, options.previousConfig), "utf8")));
|
|
1248
|
+
for (const [name, store] of Object.entries(config.stores)) await assertContentVersionStore(databases[name], store.identity);
|
|
1249
|
+
if (options.action === "stage-bindings") {
|
|
1250
|
+
await stageContentStorageBindings(primary, previous, config);
|
|
1251
|
+
return {
|
|
1252
|
+
staged: config.version,
|
|
1253
|
+
sourceStoresPreserved: true
|
|
1254
|
+
};
|
|
1255
|
+
}
|
|
1256
|
+
await migrateContentStorageConfig(primary, previous, config);
|
|
1251
1257
|
return {
|
|
1252
1258
|
installed: config.version,
|
|
1253
1259
|
sourceStoresPreserved: true
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import "../types-
|
|
1
|
+
import "../types-1NHQF2Yh.mjs";
|
|
2
2
|
import "../types-CG9uGPBL.mjs";
|
|
3
3
|
import "../runner-DlkOiguI.mjs";
|
|
4
4
|
import "../index-_fCUsJx9.mjs";
|
|
5
5
|
import "../types-CeFGasN8.mjs";
|
|
6
6
|
import "../types-DLwh1QkC.mjs";
|
|
7
7
|
import "../adapters-cL325h6c.mjs";
|
|
8
|
-
import "../runtime-
|
|
8
|
+
import "../runtime-ecsN2xL9.mjs";
|
|
9
9
|
import "../hook-events-lN-kz-4_.mjs";
|
|
10
10
|
import "../scheduled-publish-7kZkKw7t.mjs";
|
|
11
11
|
import "../public-url-CvNSyMJJ.mjs";
|
|
12
12
|
import "../validate-CleBZbkv.mjs";
|
|
13
|
-
import "../byline-fields-
|
|
13
|
+
import "../byline-fields-DvYufwxE.mjs";
|
|
14
14
|
import "../types-BuplUVZ4.mjs";
|
|
15
15
|
import { DinewayClient, PluginRequestOptions } from "../client/index.mjs";
|
|
16
16
|
import { SubCommandsDef } from "citty";
|
package/dist/client/index.d.mts
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { Ms as ReviewRequestStatus, Wt as PublicationPolicyOverride, Yt as PublicationReadinessResult, Zt as PublicationReceipt, js as ReviewRequest } from "../types-
|
|
1
|
+
import { Ms as ReviewRequestStatus, Wt as PublicationPolicyOverride, Yt as PublicationReadinessResult, Zt as PublicationReceipt, js as ReviewRequest } from "../types-1NHQF2Yh.mjs";
|
|
2
2
|
import "../types-CG9uGPBL.mjs";
|
|
3
3
|
import "../runner-DlkOiguI.mjs";
|
|
4
4
|
import "../index-_fCUsJx9.mjs";
|
|
5
5
|
import "../types-CeFGasN8.mjs";
|
|
6
6
|
import "../types-DLwh1QkC.mjs";
|
|
7
7
|
import "../adapters-cL325h6c.mjs";
|
|
8
|
-
import "../runtime-
|
|
8
|
+
import "../runtime-ecsN2xL9.mjs";
|
|
9
9
|
import "../hook-events-lN-kz-4_.mjs";
|
|
10
10
|
import "../scheduled-publish-7kZkKw7t.mjs";
|
|
11
11
|
import "../public-url-CvNSyMJJ.mjs";
|
|
12
12
|
import "../validate-CleBZbkv.mjs";
|
|
13
|
-
import "../byline-fields-
|
|
13
|
+
import "../byline-fields-DvYufwxE.mjs";
|
|
14
14
|
import "../types-BuplUVZ4.mjs";
|
|
15
15
|
import { a as tokenInterceptor, i as devBypassInterceptor, n as createTransport, r as csrfInterceptor, t as Interceptor } from "../transport-Cm1beMRX.mjs";
|
|
16
16
|
import { n as markdownToPortableText, r as portableTextToMarkdown, t as PortableTextBlock } from "../portable-text-BZYFFIgm.mjs";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { i as encodeCursor, r as decodeCursor } from "./types-BI3ULB3A.mjs";
|
|
2
|
-
import { s as invalidateCommentObjectCache } from "./object-cache-
|
|
2
|
+
import { s as invalidateCommentObjectCache } from "./object-cache-DeIkrWmq.mjs";
|
|
3
3
|
import { sql } from "kysely";
|
|
4
4
|
import { ulid } from "ulidx";
|
|
5
5
|
|
|
@@ -3,13 +3,13 @@ import { AtomicWriteConflict, atomicBatch, isD1Database, rowUnchanged } from "./
|
|
|
3
3
|
import { t as validateIdentifier } from "./validate-Co3j6T_K.mjs";
|
|
4
4
|
import { o as isPostgres } from "./dialect-helpers-C6xtO-Ui.mjs";
|
|
5
5
|
import { n as contentDigest, o as ContentStorageError, t as canonicalContentJson } from "./config---A7Bg68.mjs";
|
|
6
|
-
import { a as hydrateContentRows,
|
|
6
|
+
import { a as hydrateContentRows, d as contentPartitionWritable, r as getContentStorage } from "./runtime-CmupMaEb.mjs";
|
|
7
7
|
import { i as encodeCursor, n as ScheduledNotDueError, r as decodeCursor, t as DinewayValidationError } from "./types-BI3ULB3A.mjs";
|
|
8
8
|
import { t as contentWriteChecks } from "./atomic-authority-Bf5QZboB.mjs";
|
|
9
|
-
import { o as invalidateCollectionCache } from "./object-cache-
|
|
10
|
-
import { i as storedContentSeo, r as snapshotOwnedContentMetadata, t as contentEventBylines } from "./owned-metadata-
|
|
9
|
+
import { o as invalidateCollectionCache } from "./object-cache-DeIkrWmq.mjs";
|
|
10
|
+
import { i as storedContentSeo, r as snapshotOwnedContentMetadata, t as contentEventBylines } from "./owned-metadata-LUF0xC0h.mjs";
|
|
11
11
|
import { n as slugify } from "./slugify-DvoaEPtL.mjs";
|
|
12
|
-
import { t as RevisionRepository } from "./revision-
|
|
12
|
+
import { t as RevisionRepository } from "./revision-DfrRhPgw.mjs";
|
|
13
13
|
import { sql } from "kysely";
|
|
14
14
|
import { ulid } from "ulidx";
|
|
15
15
|
import { z } from "zod";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { AtomicWriteConflict, atomicBatch } from "./database/batch.mjs";
|
|
2
2
|
import { t as validateIdentifier } from "./validate-Co3j6T_K.mjs";
|
|
3
3
|
import { r as isI18nEnabled } from "./config-XW5tMrH8.mjs";
|
|
4
|
-
import { a as hydrateContentRows } from "./runtime-
|
|
5
|
-
import { t as readRevisionData } from "./revisions-
|
|
4
|
+
import { a as hydrateContentRows } from "./runtime-CmupMaEb.mjs";
|
|
5
|
+
import { t as readRevisionData } from "./revisions-DnV1P4O5.mjs";
|
|
6
6
|
import { i as encodeCursor, r as decodeCursor } from "./types-BI3ULB3A.mjs";
|
|
7
7
|
import { n as chunks, t as SQL_BATCH_SIZE } from "./chunks-Bb56aCtB.mjs";
|
|
8
8
|
import { n as normalizeMime } from "./mime-FkfazULS.mjs";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { n as Database } from "../types-CG9uGPBL.mjs";
|
|
2
2
|
import "../database/batch.mjs";
|
|
3
3
|
import { a as ContentStorageActivation, c as ContentStorageError, d as ContentStore, f as ContentStoreDescriptor, i as ContentPartitionRule, l as ContentStorageReplay, n as ContentPartitionContext, o as ContentStorageCommand, p as PreparedContentVersion, r as ContentPartitionResolver, s as ContentStorageConfig, t as ContentLocation, u as ContentStorageValue } from "../types-CeFGasN8.mjs";
|
|
4
|
-
import { a as registerContentStorage, i as hydrateContentRows, n as assertContentStorageConfiguration, o as ContentStorageCoordinator, r as getContentStorage, s as installContentStorageConfig, t as ContentStorageRuntime } from "../runtime-
|
|
4
|
+
import { a as registerContentStorage, i as hydrateContentRows, n as assertContentStorageConfiguration, o as ContentStorageCoordinator, r as getContentStorage, s as installContentStorageConfig, t as ContentStorageRuntime } from "../runtime-ecsN2xL9.mjs";
|
|
5
5
|
import "../hook-events-lN-kz-4_.mjs";
|
|
6
|
-
import { a as contentStoreCollectionSchema, c as
|
|
6
|
+
import { a as contentStoreCollectionSchema, c as canonicalContentJson, d as validateContentStorage, i as contentStoreCollectionFromFields, l as contentDigest, n as ContentVersionStore, o as contentVersionSchema, r as assertContentVersionStore, s as installContentVersionStore, t as ContentStoreCollection, u as resolveContentPartition } from "../version-store-mMm7pcYK.mjs";
|
|
7
7
|
import * as kysely from "kysely";
|
|
8
8
|
import { Kysely } from "kysely";
|
|
9
9
|
import { z } from "zod";
|
|
@@ -22,6 +22,8 @@ declare function readRevisionDataBatch<DB>(db: Kysely<DB>, rows: readonly {
|
|
|
22
22
|
}[], fields?: readonly string[]): Promise<Record<string, unknown>[]>;
|
|
23
23
|
//#endregion
|
|
24
24
|
//#region src/content-storage/config-migration.d.ts
|
|
25
|
+
/** Allow old and new application versions to overlap when only the bindings change. */
|
|
26
|
+
declare function stageContentStorageBindings<DB>(db: Kysely<DB>, previous: ContentStorageConfig, next: ContentStorageConfig): Promise<void>;
|
|
25
27
|
/** Explicit deployment step. Mapping changes retain the source until its data migration completes. */
|
|
26
28
|
declare function migrateContentStorageConfig<DB>(db: Kysely<DB>, previous: ContentStorageConfig, next: ContentStorageConfig): Promise<void>;
|
|
27
29
|
//#endregion
|
|
@@ -198,4 +200,4 @@ declare function completeContentMigration(db: Kysely<Database>, migration: Conte
|
|
|
198
200
|
/** Restore the archived source only before writes have reopened. Never deletes either copy. */
|
|
199
201
|
declare function rollbackContentMigration(db: Kysely<Database>, migration: ContentMigrationIdentity, archive: ContentMigrationArchive): Promise<void>;
|
|
200
202
|
//#endregion
|
|
201
|
-
export { type ContentLocation, type ContentMigrationArchive, type ContentMigrationIdentity, type ContentMigrationSnapshot, type ContentPartitionContext, type ContentPartitionResolver, type ContentPartitionRoute, type ContentPartitionRule, type ContentStorageActivation, type ContentStorageCommand, type ContentStorageConfig, ContentStorageCoordinator, ContentStorageError, ContentStorageReplay, type ContentStorageRuntime, type ContentStorageValue, type ContentStore, type ContentStoreCollection, type ContentStoreDescriptor, ContentVersionStore, type PreparedContentVersion, activateContentMigrationEntry, assertContentStorageConfiguration, assertContentVersionStore, beginContentMigration, bootstrapContentDirectoryPage, cancelContentMigration, canonicalContentJson, captureContentMigrationSnapshot, completeContentMigration, contentDigest, contentMigrationSnapshotSchema, contentStoreCollectionFromFields, contentStoreCollectionSchema,
|
|
203
|
+
export { type ContentLocation, type ContentMigrationArchive, type ContentMigrationIdentity, type ContentMigrationSnapshot, type ContentPartitionContext, type ContentPartitionResolver, type ContentPartitionRoute, type ContentPartitionRule, type ContentStorageActivation, type ContentStorageCommand, type ContentStorageConfig, ContentStorageCoordinator, ContentStorageError, ContentStorageReplay, type ContentStorageRuntime, type ContentStorageValue, type ContentStore, type ContentStoreCollection, type ContentStoreDescriptor, ContentVersionStore, type PreparedContentVersion, activateContentMigrationEntry, assertContentStorageConfiguration, assertContentVersionStore, beginContentMigration, bootstrapContentDirectoryPage, cancelContentMigration, canonicalContentJson, captureContentMigrationSnapshot, completeContentMigration, contentDigest, contentMigrationSnapshotSchema, contentStoreCollectionFromFields, contentStoreCollectionSchema, contentVersionSchema, freezeContentPartition, getContentStorage, hydrateContentRows, installContentStorageConfig, installContentVersionStore, migrateContentStorageConfig, readContentPartitionRoute, readRevisionData, readRevisionDataBatch, registerContentStorage, resolveContentPartition, rollbackContentMigration, stageContentMigrationEntry, stageContentStorageBindings, validateContentStorage, verifyContentMigration, verifyContentMigrationPage };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import "../d1-binding-DrLMBUxu.mjs";
|
|
2
2
|
import "../dialect-helpers-C6xtO-Ui.mjs";
|
|
3
3
|
import { a as validateContentStorage, i as resolveContentPartition, n as contentDigest, o as ContentStorageError, s as ContentStorageReplay, t as canonicalContentJson } from "../config---A7Bg68.mjs";
|
|
4
|
-
import {
|
|
5
|
-
import { n as readRevisionDataBatch, t as readRevisionData } from "../revisions-
|
|
4
|
+
import { a as hydrateContentRows, c as installContentStorageConfig, f as freezeContentPartition, l as beginContentMigration, o as registerContentStorage, p as readContentPartitionRoute, r as getContentStorage, s as ContentStorageCoordinator, t as assertContentStorageConfiguration, u as cancelContentMigration } from "../runtime-CmupMaEb.mjs";
|
|
5
|
+
import { n as readRevisionDataBatch, t as readRevisionData } from "../revisions-DnV1P4O5.mjs";
|
|
6
6
|
import "../base64-qvSs0Gxy.mjs";
|
|
7
7
|
import "../types-BI3ULB3A.mjs";
|
|
8
8
|
import "../actor-D0AW80ld.mjs";
|
|
9
9
|
import "../atomic-authority-Bf5QZboB.mjs";
|
|
10
|
-
import "../content-
|
|
10
|
+
import "../content-rb8lZEfT.mjs";
|
|
11
11
|
import "../request-cache-CizvDoxV.mjs";
|
|
12
12
|
import "../byline-registry-Caj0_gbU.mjs";
|
|
13
13
|
import "../field-defs-cache-dn5Tw79A.mjs";
|
|
14
|
-
import "../object-cache-
|
|
15
|
-
import "../byline-
|
|
16
|
-
import "../owned-metadata-
|
|
17
|
-
import "../revision-
|
|
14
|
+
import "../object-cache-DeIkrWmq.mjs";
|
|
15
|
+
import "../byline-DGTZqRM0.mjs";
|
|
16
|
+
import "../owned-metadata-LUF0xC0h.mjs";
|
|
17
|
+
import "../revision-DfrRhPgw.mjs";
|
|
18
18
|
import "../user-Bl2_8rhJ.mjs";
|
|
19
19
|
import "../terms-EskuqbKE.mjs";
|
|
20
20
|
import "../redirect-CJ-FAbNK.mjs";
|
|
21
|
-
import "../content-write-
|
|
22
|
-
import { a as
|
|
23
|
-
import "../write-intent-
|
|
24
|
-
import "../seo-
|
|
21
|
+
import "../content-write-DPszY76R.mjs";
|
|
22
|
+
import { a as contentVersionSchema, i as contentStoreCollectionSchema, n as assertContentVersionStore, o as installContentVersionStore, r as contentStoreCollectionFromFields, t as ContentVersionStore } from "../version-store-B2n_Gfkq.mjs";
|
|
23
|
+
import "../write-intent-4Q8sNg11.mjs";
|
|
24
|
+
import "../seo-TWEsRapq.mjs";
|
|
25
25
|
import "../content-C8i4DyTt.mjs";
|
|
26
|
-
import { a as verifyContentMigration, c as captureContentMigrationSnapshot, i as stageContentMigrationEntry, l as contentMigrationSnapshotSchema, n as completeContentMigration, o as verifyContentMigrationPage, r as rollbackContentMigration, s as bootstrapContentDirectoryPage, t as activateContentMigrationEntry, u as migrateContentStorageConfig } from "../migration-
|
|
26
|
+
import { a as verifyContentMigration, c as captureContentMigrationSnapshot, d as stageContentStorageBindings, i as stageContentMigrationEntry, l as contentMigrationSnapshotSchema, n as completeContentMigration, o as verifyContentMigrationPage, r as rollbackContentMigration, s as bootstrapContentDirectoryPage, t as activateContentMigrationEntry, u as migrateContentStorageConfig } from "../migration-B7DanZKm.mjs";
|
|
27
27
|
|
|
28
|
-
export { ContentStorageCoordinator, ContentStorageError, ContentStorageReplay, ContentVersionStore, activateContentMigrationEntry, assertContentStorageConfiguration, assertContentVersionStore, beginContentMigration, bootstrapContentDirectoryPage, cancelContentMigration, canonicalContentJson, captureContentMigrationSnapshot, completeContentMigration, contentDigest, contentMigrationSnapshotSchema, contentStoreCollectionFromFields, contentStoreCollectionSchema,
|
|
28
|
+
export { ContentStorageCoordinator, ContentStorageError, ContentStorageReplay, ContentVersionStore, activateContentMigrationEntry, assertContentStorageConfiguration, assertContentVersionStore, beginContentMigration, bootstrapContentDirectoryPage, cancelContentMigration, canonicalContentJson, captureContentMigrationSnapshot, completeContentMigration, contentDigest, contentMigrationSnapshotSchema, contentStoreCollectionFromFields, contentStoreCollectionSchema, contentVersionSchema, freezeContentPartition, getContentStorage, hydrateContentRows, installContentStorageConfig, installContentVersionStore, migrateContentStorageConfig, readContentPartitionRoute, readRevisionData, readRevisionDataBatch, registerContentStorage, resolveContentPartition, rollbackContentMigration, stageContentMigrationEntry, stageContentStorageBindings, validateContentStorage, verifyContentMigration, verifyContentMigrationPage };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { c as ContentStorageError, d as ContentStore, p as PreparedContentVersion, t as ContentLocation } from "../types-CeFGasN8.mjs";
|
|
2
|
-
import {
|
|
3
|
-
export { type ContentLocation, ContentStorageError, type ContentStore, ContentVersionStore, type PreparedContentVersion, assertContentVersionStore, contentDigest,
|
|
2
|
+
import { l as contentDigest, n as ContentVersionStore, o as contentVersionSchema, r as assertContentVersionStore, s as installContentVersionStore } from "../version-store-mMm7pcYK.mjs";
|
|
3
|
+
export { type ContentLocation, ContentStorageError, type ContentStore, ContentVersionStore, type PreparedContentVersion, assertContentVersionStore, contentDigest, contentVersionSchema, installContentVersionStore };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "../d1-binding-DrLMBUxu.mjs";
|
|
2
2
|
import { n as contentDigest, o as ContentStorageError } from "../config---A7Bg68.mjs";
|
|
3
|
-
import { a as
|
|
3
|
+
import { a as contentVersionSchema, n as assertContentVersionStore, o as installContentVersionStore, t as ContentVersionStore } from "../version-store-B2n_Gfkq.mjs";
|
|
4
4
|
|
|
5
|
-
export { ContentStorageError, ContentVersionStore, assertContentVersionStore, contentDigest,
|
|
5
|
+
export { ContentStorageError, ContentVersionStore, assertContentVersionStore, contentDigest, contentVersionSchema, installContentVersionStore };
|
|
@@ -4,26 +4,26 @@ import { AtomicWriteConflict, atomicBatch, prepareAtomicChecks, rowUnchanged } f
|
|
|
4
4
|
import { t as validateIdentifier } from "./validate-Co3j6T_K.mjs";
|
|
5
5
|
import { r as isI18nEnabled } from "./config-XW5tMrH8.mjs";
|
|
6
6
|
import { i as resolveContentPartition, n as contentDigest, o as ContentStorageError, s as ContentStorageReplay } from "./config---A7Bg68.mjs";
|
|
7
|
-
import { d as
|
|
8
|
-
import { n as readRevisionDataBatch, r as storedRevisionIndex, t as readRevisionData } from "./revisions-
|
|
7
|
+
import { d as contentPartitionWritable, g as prepareContentProjection, p as readContentPartitionRoute, r as getContentStorage } from "./runtime-CmupMaEb.mjs";
|
|
8
|
+
import { n as readRevisionDataBatch, r as storedRevisionIndex, t as readRevisionData } from "./revisions-DnV1P4O5.mjs";
|
|
9
9
|
import { r as encodeBase64, t as decodeBase64 } from "./base64-qvSs0Gxy.mjs";
|
|
10
10
|
import { n as ScheduledNotDueError, t as DinewayValidationError } from "./types-BI3ULB3A.mjs";
|
|
11
11
|
import { t as contentWriteChecks } from "./atomic-authority-Bf5QZboB.mjs";
|
|
12
|
-
import { a as prepareContentHookEvents, s as contentStorageHookSnapshotSchema, t as ContentRepository } from "./content-
|
|
12
|
+
import { a as prepareContentHookEvents, s as contentStorageHookSnapshotSchema, t as ContentRepository } from "./content-rb8lZEfT.mjs";
|
|
13
13
|
import { r as requestCached } from "./request-cache-CizvDoxV.mjs";
|
|
14
|
-
import { o as invalidateCollectionCache, s as invalidateCommentObjectCache } from "./object-cache-
|
|
14
|
+
import { o as invalidateCollectionCache, s as invalidateCommentObjectCache } from "./object-cache-DeIkrWmq.mjs";
|
|
15
15
|
import { n as chunks, t as SQL_BATCH_SIZE } from "./chunks-Bb56aCtB.mjs";
|
|
16
|
-
import { t as BylineRepository } from "./byline-
|
|
17
|
-
import { i as storedContentSeo, r as snapshotOwnedContentMetadata, t as contentEventBylines } from "./owned-metadata-
|
|
18
|
-
import { t as RevisionRepository } from "./revision-
|
|
16
|
+
import { t as BylineRepository } from "./byline-DGTZqRM0.mjs";
|
|
17
|
+
import { i as storedContentSeo, r as snapshotOwnedContentMetadata, t as contentEventBylines } from "./owned-metadata-LUF0xC0h.mjs";
|
|
18
|
+
import { t as RevisionRepository } from "./revision-DfrRhPgw.mjs";
|
|
19
19
|
import { t as UserRepository } from "./user-Bl2_8rhJ.mjs";
|
|
20
20
|
import { i as snapshotPartitionTerms, n as prepareContentTerms, r as snapshotContentTermChanges } from "./terms-EskuqbKE.mjs";
|
|
21
21
|
import { t as RedirectRepository } from "./redirect-CJ-FAbNK.mjs";
|
|
22
22
|
import { i as invalidateRedirectCache } from "./cache-DsEbwFVE.mjs";
|
|
23
23
|
import { r as parseAllowedMimeTypes, t as matchesMimeAllowlist } from "./mime-FkfazULS.mjs";
|
|
24
|
-
import {
|
|
25
|
-
import { r as markContentWriteReplay, t as beginContentWriteIntent } from "./write-intent-
|
|
26
|
-
import { t as SeoRepository } from "./seo-
|
|
24
|
+
import { a as contentVersionSchema } from "./version-store-B2n_Gfkq.mjs";
|
|
25
|
+
import { r as markContentWriteReplay, t as beginContentWriteIntent } from "./write-intent-4Q8sNg11.mjs";
|
|
26
|
+
import { t as SeoRepository } from "./seo-TWEsRapq.mjs";
|
|
27
27
|
import { sql } from "kysely";
|
|
28
28
|
import { ulid } from "ulidx";
|
|
29
29
|
import { z } from "zod";
|
|
@@ -3,14 +3,14 @@ import { n as validateJsonFieldName } from "./validate-Co3j6T_K.mjs";
|
|
|
3
3
|
import { c as jsonExtractExpr } from "./dialect-helpers-C6xtO-Ui.mjs";
|
|
4
4
|
import { i as encodeCursor, r as decodeCursor } from "./types-BI3ULB3A.mjs";
|
|
5
5
|
import { t as contentWriteChecks } from "./atomic-authority-Bf5QZboB.mjs";
|
|
6
|
-
import { t as ContentRepository } from "./content-
|
|
7
|
-
import { o as invalidateCollectionCache } from "./object-cache-
|
|
6
|
+
import { t as ContentRepository } from "./content-rb8lZEfT.mjs";
|
|
7
|
+
import { o as invalidateCollectionCache } from "./object-cache-DeIkrWmq.mjs";
|
|
8
8
|
import { t as MediaRepository } from "./media-BjH5OD-A.mjs";
|
|
9
9
|
import { t as UserRepository } from "./user-Bl2_8rhJ.mjs";
|
|
10
10
|
import { t as OptionsRepository } from "./options-yFkLUuTw.mjs";
|
|
11
11
|
import { t as enrichImageMetadata } from "./enrich-CAMsD1aT.mjs";
|
|
12
|
-
import { t as SeoRepository } from "./seo-
|
|
13
|
-
import { o as prepareContentMediaUsageCollectionStale } from "./content-refresh-
|
|
12
|
+
import { t as SeoRepository } from "./seo-TWEsRapq.mjs";
|
|
13
|
+
import { o as prepareContentMediaUsageCollectionStale } from "./content-refresh-Dl938dTm.mjs";
|
|
14
14
|
import { a as validateExternalUrl, i as stripCredentialHeaders, t as SsrfError } from "./ssrf-C7tTSD1r.mjs";
|
|
15
15
|
import { sql } from "kysely";
|
|
16
16
|
import { ulid } from "ulidx";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { _ as toPublicContextDiff, v as toPublicContextEntry, y as toPublicContextEntryPage } from "./site-context-
|
|
2
|
-
import { i as parseSiteBriefingScope, m as ContextRepository, n as SiteBriefingError } from "./briefing-
|
|
1
|
+
import { _ as toPublicContextDiff, v as toPublicContextEntry, y as toPublicContextEntryPage } from "./site-context-CHfuvD9v.mjs";
|
|
2
|
+
import { i as parseSiteBriefingScope, m as ContextRepository, n as SiteBriefingError } from "./briefing-CQk5h4t6.mjs";
|
|
3
3
|
|
|
4
4
|
//#region src/api/handlers/context.ts
|
|
5
5
|
async function handleContextEntryList(db, input = {}) {
|