dineway 0.2.45 → 0.2.46
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-BSmjb74C.mjs} +9 -9
- package/dist/{apply-SoTzf8LK.mjs → apply-Caad3Uh7.mjs} +14 -14
- package/dist/astro/index.d.mts +3 -3
- package/dist/astro/index.mjs +3 -3
- 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 +57 -57
- 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 +22 -22
- package/dist/astro/routes/api/admin/context/_id_/index.mjs +22 -22
- package/dist/astro/routes/api/admin/context/_id_/review.mjs +23 -23
- package/dist/astro/routes/api/admin/context/_id_/supersede.mjs +23 -23
- package/dist/astro/routes/api/admin/context/diff.mjs +22 -22
- package/dist/astro/routes/api/admin/context/index.mjs +23 -23
- package/dist/astro/routes/api/admin/context/stale.mjs +22 -22
- package/dist/astro/routes/api/admin/hitl-requests/_id_/index.mjs +23 -23
- package/dist/astro/routes/api/admin/hitl-requests/_id_/resolve.mjs +23 -23
- package/dist/astro/routes/api/admin/hitl-requests/index.mjs +23 -23
- package/dist/astro/routes/api/admin/hooks/exclusive/_hookName_.mjs +22 -22
- package/dist/astro/routes/api/admin/plugins/_id_/disable.mjs +37 -37
- package/dist/astro/routes/api/admin/plugins/_id_/enable.mjs +37 -37
- package/dist/astro/routes/api/admin/plugins/_id_/index.mjs +33 -33
- package/dist/astro/routes/api/admin/plugins/_id_/uninstall.mjs +37 -37
- package/dist/astro/routes/api/admin/plugins/_id_/update.mjs +37 -37
- package/dist/astro/routes/api/admin/plugins/index.mjs +33 -33
- package/dist/astro/routes/api/admin/plugins/marketplace/_id_/index.mjs +33 -33
- package/dist/astro/routes/api/admin/plugins/marketplace/_id_/install.mjs +37 -37
- package/dist/astro/routes/api/admin/plugins/marketplace/index.mjs +33 -33
- package/dist/astro/routes/api/admin/plugins/updates.mjs +33 -33
- package/dist/astro/routes/api/admin/review-requests/_id_/image.mjs +15 -15
- package/dist/astro/routes/api/admin/review-requests/_id_/index.mjs +19 -19
- package/dist/astro/routes/api/admin/review-requests/_id_/resolve.mjs +26 -26
- package/dist/astro/routes/api/admin/review-requests/index.mjs +24 -24
- package/dist/astro/routes/api/admin/themes/marketplace/_id_/index.mjs +33 -33
- package/dist/astro/routes/api/admin/themes/marketplace/index.mjs +33 -33
- 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 +13 -13
- package/dist/astro/routes/api/content/_collection_/_id_/schedule.mjs +13 -13
- package/dist/astro/routes/api/content/_collection_/_id_/terms/_taxonomy_.mjs +10 -10
- package/dist/astro/routes/api/content/_collection_/_id_.mjs +2 -2
- package/dist/astro/routes/api/content/_collection_/index.mjs +2 -2
- 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 +25 -25
- package/dist/astro/routes/api/import/wordpress/media.d.mts +3 -3
- package/dist/astro/routes/api/import/wordpress/prepare.mjs +23 -23
- package/dist/astro/routes/api/import/wordpress/rewrite-urls.d.mts +3 -3
- package/dist/astro/routes/api/import/wordpress/rewrite-urls.mjs +23 -23
- 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 +26 -26
- package/dist/astro/routes/api/manifest.mjs +2 -2
- package/dist/astro/routes/api/mcp.mjs +58 -58
- package/dist/astro/routes/api/menus/_name_/items/_id_.mjs +23 -23
- package/dist/astro/routes/api/menus/_name_/items.mjs +23 -23
- package/dist/astro/routes/api/menus/_name_/reorder.mjs +23 -23
- package/dist/astro/routes/api/menus/_name_/translations.mjs +23 -23
- package/dist/astro/routes/api/menus/_name_.mjs +23 -23
- package/dist/astro/routes/api/menus/index.mjs +23 -23
- package/dist/astro/routes/api/openapi.json.mjs +1 -1
- package/dist/astro/routes/api/redirects/_id_.mjs +22 -22
- package/dist/astro/routes/api/redirects/index.mjs +22 -22
- package/dist/astro/routes/api/schema/collections/_slug_/fields/_fieldSlug_.mjs +33 -33
- package/dist/astro/routes/api/schema/collections/_slug_/fields/index.mjs +33 -33
- package/dist/astro/routes/api/schema/collections/_slug_/fields/reorder.mjs +33 -33
- package/dist/astro/routes/api/schema/collections/_slug_/index.mjs +33 -33
- package/dist/astro/routes/api/schema/collections/index.mjs +33 -33
- package/dist/astro/routes/api/schema/index.mjs +4 -4
- package/dist/astro/routes/api/schema/orphans/_slug_.mjs +33 -33
- package/dist/astro/routes/api/schema/orphans/index.mjs +33 -33
- 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 +23 -23
- package/dist/astro/routes/api/sections/index.mjs +23 -23
- package/dist/astro/routes/api/settings/reviews.mjs +1 -1
- package/dist/astro/routes/api/settings.mjs +23 -23
- 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 +16 -16
- package/dist/astro/routes/api/setup/index.mjs +17 -17
- 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 +25 -25
- package/dist/astro/routes/api/taxonomies/_name_/terms/_slug_.mjs +25 -25
- package/dist/astro/routes/api/taxonomies/_name_/terms/index.mjs +25 -25
- package/dist/astro/routes/api/taxonomies/index.mjs +25 -25
- 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 +22 -22
- package/dist/astro/routes/api/widget-areas/_name_/widgets/_id_.mjs +23 -23
- package/dist/astro/routes/api/widget-areas/_name_/widgets.mjs +23 -23
- package/dist/astro/routes/api/widget-areas/_name_.mjs +23 -23
- package/dist/astro/routes/api/widget-areas/index.mjs +23 -23
- 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-CbsLoDJS.mjs} +1 -1
- package/dist/{briefing-9YqN5XoW.mjs → briefing-yQgD73g4.mjs} +5 -5
- package/dist/{byline-BvFH-UZw.mjs → byline-BS25s1R-.mjs} +5 -5
- package/dist/{byline-fields-Dyts_tJ5.d.mts → byline-fields-D6EXp7_j.d.mts} +22 -22
- package/dist/{bylines-ZfS9Qm_E.mjs → bylines-CLBeFLdo.mjs} +1 -1
- package/dist/{bylines-DLFjKcNr.mjs → bylines-ZRvo3-j0.mjs} +3 -3
- package/dist/cli/index.mjs +21 -21
- package/dist/cli/plugin-kit.d.mts +3 -3
- package/dist/client/index.d.mts +3 -3
- package/dist/{comment-CbGlRPPS.mjs → comment-BTt78k0n.mjs} +1 -1
- package/dist/{comments-BFXekTqN.mjs → comments-Do2zF3as.mjs} +1 -1
- package/dist/{content-Dxx0H4k8.mjs → content-BZBomTNV.mjs} +4 -4
- package/dist/{content-refresh-COi0WfKw.mjs → content-refresh-DbGFLB3p.mjs} +2 -2
- package/dist/content-storage/index.d.mts +1 -1
- package/dist/content-storage/index.mjs +11 -11
- package/dist/{content-write-eOTKAf2d.mjs → content-write-Bt_eiX9o.mjs} +9 -9
- package/dist/{context-c4OnrX-0.mjs → context-RtLnM2-Z.mjs} +4 -4
- package/dist/{context-CjeMWXtq.mjs → context-VxiTIEQa.mjs} +2 -2
- package/dist/{dashboard-C_x93lbv.mjs → dashboard-C_x53TcC.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-DNwLsQqJ.mjs} +1 -1
- package/dist/{evidence-FRy3SVTP.mjs → evidence-D3Tqm_ik.mjs} +2 -2
- package/dist/{hitl-requests-DtPNPiYe.mjs → hitl-requests-ysSO7eqS.mjs} +1 -1
- package/dist/{hitl-route-helpers-BKI0ZeUF.mjs → hitl-route-helpers-BLJYI67Y.mjs} +1 -1
- package/dist/{import-Cn1_u1S2.mjs → import-BkBVo6UM.mjs} +3 -3
- package/dist/index.d.mts +3 -3
- package/dist/index.mjs +45 -45
- package/dist/{jsonld-DZXdAyOK.d.mts → jsonld-BObNyc22.d.mts} +1 -1
- package/dist/{loader-C9hvIKEW.mjs → loader--zFg6meV.mjs} +4 -4
- package/dist/{mcp-reviewed-executor-B4O9L9MT.mjs → mcp-reviewed-executor-CiuVfiL_.mjs} +2 -2
- package/dist/media/local-runtime.d.mts +3 -3
- package/dist/{menus-BfQjG9Wc.mjs → menus-BoNLPIAK.mjs} +1 -1
- package/dist/{menus-DL-BYzwG.mjs → menus-Dq323Wka.mjs} +3 -3
- package/dist/{migration-B9FyV3ET.mjs → migration-BhVzGnj0.mjs} +5 -5
- package/dist/{object-cache-qP60KjUp.mjs → object-cache-Ue6kAfzf.mjs} +1 -1
- package/dist/{owned-metadata-CJs4-k1w.mjs → owned-metadata-bXhDX1WW.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-C10hTI65.mjs} +2 -2
- package/dist/{public-url-DLcDMtBJ.d.mts → public-url-JnHtmWfz.d.mts} +1 -1
- package/dist/{publication-authorization-CS8WqkzL.mjs → publication-authorization-DBNXaGgH.mjs} +4 -4
- package/dist/{query-D0qnvePL.mjs → query-5edkcMYz.mjs} +3 -3
- package/dist/{query-B1t4PSfw.mjs → query-CNXVFYWz.mjs} +10 -10
- package/dist/{registry-3xWpSYNI.mjs → registry-DEKqjKIM.mjs} +1 -1
- package/dist/{release-Bk-UaI2C.mjs → release-CIYyinzY.mjs} +1 -1
- package/dist/{review-requests-BQZp6VaG.mjs → review-requests-B7UdAl1r.mjs} +1 -1
- package/dist/{revision-BhnVYOMz.mjs → revision-BtgwJxxa.mjs} +2 -2
- package/dist/{revisions-C-T9CdGo.mjs → revisions-CQZI886L.mjs} +1 -1
- package/dist/{runtime-Dz7vZRPU.mjs → runtime-BLoyGKUx.mjs} +64 -3
- 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-DIXUswIX.mjs} +1 -1
- package/dist/{search--Qmm2s6n.mjs → search-TXLzVROW.mjs} +1 -1
- package/dist/{sections-0cg9Dhp6.mjs → sections-zaZhTZqa.mjs} +1 -1
- package/dist/seed/index.mjs +16 -16
- package/dist/seo/index.mjs +5 -5
- package/dist/{seo-DxrTizK0.mjs → seo-BQ7R2a1z.mjs} +5 -5
- package/dist/{seo-BYBqbsZk.mjs → seo-DdczIQvk.mjs} +1 -1
- package/dist/{service-Y-ZEhFVM.mjs → service-CUlcOLZj.mjs} +2 -2
- package/dist/{settings-D0SBKo-W.mjs → settings-Bc2eQPR6.mjs} +2 -2
- package/dist/{settings-DM4P-jVe.mjs → settings-CoCGUtE6.mjs} +1 -1
- package/dist/{site-context-DNiKKCc1.mjs → site-context-DkxgOnQl.mjs} +6 -6
- package/dist/{submission-C7tI1Frs.mjs → submission-BNP2Sc3O.mjs} +4 -4
- package/dist/{taxonomies-CZHI0fCa.mjs → taxonomies-CVe1PGaO.mjs} +3 -3
- package/dist/{taxonomies-Cf9huhQ6.mjs → taxonomies-zgZ2HG_z.mjs} +2 -2
- package/dist/{taxonomy-B4O77tAe.mjs → taxonomy-CcyZD5jQ.mjs} +3 -3
- package/dist/{types-z2nZassR.d.mts → types-jtUocGnQ.d.mts} +3 -3
- package/dist/ui/server-runtime.d.mts +5 -5
- package/dist/ui/server-runtime.mjs +13 -13
- package/dist/version-BJwTlK4L.mjs +6 -0
- package/dist/{widgets-P1hMbKIT.mjs → widgets-CJBk8bm7.mjs} +1 -1
- package/dist/{worker-CcvePQzq.mjs → worker-D82vT5OV.mjs} +4 -4
- package/dist/{write-intent-D6xfcx1f.mjs → write-intent-CjTERf3N.mjs} +1 -1
- package/package.json +3 -3
- 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
|
@@ -4,7 +4,7 @@ import { z } from "zod";
|
|
|
4
4
|
/** Valid role level values */
|
|
5
5
|
declare const VALID_ROLE_LEVELS: Set<number>;
|
|
6
6
|
/** Role level — coerces string/number to valid RoleLevel (10|20|30|40|50) */
|
|
7
|
-
declare const roleLevel: z.ZodCoercedNumber<unknown> & z.ZodType<50 |
|
|
7
|
+
declare const roleLevel: z.ZodCoercedNumber<unknown> & z.ZodType<50 | 10 | 20 | 30 | 40, unknown, z.core.$ZodTypeInternals<50 | 10 | 20 | 30 | 40, unknown>>;
|
|
8
8
|
/** Pagination query params — cursor-based */
|
|
9
9
|
declare const cursorPaginationQuery: z.ZodObject<{
|
|
10
10
|
cursor: z.ZodOptional<z.ZodString>;
|
|
@@ -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
867
|
text: "text";
|
|
868
868
|
integer: "integer";
|
|
869
|
-
image: "image";
|
|
870
869
|
datetime: "datetime";
|
|
870
|
+
image: "image";
|
|
871
871
|
select: "select";
|
|
872
872
|
multiSelect: "multiSelect";
|
|
873
873
|
portableText: "portableText";
|
|
@@ -894,8 +894,8 @@ declare const createFieldBody: z.ZodObject<{
|
|
|
894
894
|
url: "url";
|
|
895
895
|
text: "text";
|
|
896
896
|
integer: "integer";
|
|
897
|
-
image: "image";
|
|
898
897
|
datetime: "datetime";
|
|
898
|
+
image: "image";
|
|
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
925
|
text: "text";
|
|
926
926
|
integer: "integer";
|
|
927
|
-
image: "image";
|
|
928
927
|
datetime: "datetime";
|
|
928
|
+
image: "image";
|
|
929
929
|
select: "select";
|
|
930
930
|
multiSelect: "multiSelect";
|
|
931
931
|
portableText: "portableText";
|
|
@@ -952,8 +952,8 @@ declare const updateFieldBody: z.ZodObject<{
|
|
|
952
952
|
url: "url";
|
|
953
953
|
text: "text";
|
|
954
954
|
integer: "integer";
|
|
955
|
-
image: "image";
|
|
956
955
|
datetime: "datetime";
|
|
956
|
+
image: "image";
|
|
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
1019
|
text: "text";
|
|
1020
1020
|
integer: "integer";
|
|
1021
|
-
image: "image";
|
|
1022
1021
|
datetime: "datetime";
|
|
1022
|
+
image: "image";
|
|
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
1094
|
text: "text";
|
|
1095
1095
|
integer: "integer";
|
|
1096
|
-
image: "image";
|
|
1097
1096
|
datetime: "datetime";
|
|
1097
|
+
image: "image";
|
|
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
1153
|
text: "text";
|
|
1154
1154
|
integer: "integer";
|
|
1155
|
-
image: "image";
|
|
1156
1155
|
datetime: "datetime";
|
|
1156
|
+
image: "image";
|
|
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
1190
|
text: "text";
|
|
1191
1191
|
integer: "integer";
|
|
1192
|
-
image: "image";
|
|
1193
1192
|
datetime: "datetime";
|
|
1193
|
+
image: "image";
|
|
1194
1194
|
select: "select";
|
|
1195
1195
|
multiSelect: "multiSelect";
|
|
1196
1196
|
portableText: "portableText";
|
|
@@ -1373,11 +1373,11 @@ declare const contextEntryStaleQuery: z.ZodObject<{
|
|
|
1373
1373
|
limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
1374
1374
|
cursor: z.ZodOptional<z.ZodString>;
|
|
1375
1375
|
scope: z.ZodOptional<z.ZodString>;
|
|
1376
|
-
contextTypes: z.ZodPipe<z.ZodOptional<z.ZodString>, z.ZodTransform<string[] | undefined, string | undefined>>;
|
|
1377
1376
|
includeInherited: z.ZodPipe<z.ZodOptional<z.ZodEnum<{
|
|
1378
1377
|
true: "true";
|
|
1379
1378
|
false: "false";
|
|
1380
1379
|
}>>, z.ZodTransform<boolean | undefined, "true" | "false" | undefined>>;
|
|
1380
|
+
contextTypes: z.ZodPipe<z.ZodOptional<z.ZodString>, z.ZodTransform<string[] | undefined, string | undefined>>;
|
|
1381
1381
|
tags: z.ZodPipe<z.ZodOptional<z.ZodString>, z.ZodTransform<string[] | undefined, string | undefined>>;
|
|
1382
1382
|
createdByActorType: z.ZodOptional<z.ZodEnum<{
|
|
1383
1383
|
user: "user";
|
|
@@ -1549,7 +1549,7 @@ declare const signupCompleteBody: z.ZodObject<{
|
|
|
1549
1549
|
}, z.core.$strip>;
|
|
1550
1550
|
declare const inviteCreateBody: z.ZodObject<{
|
|
1551
1551
|
email: z.ZodString;
|
|
1552
|
-
role: z.ZodOptional<z.ZodCoercedNumber<unknown> & z.ZodType<50 |
|
|
1552
|
+
role: z.ZodOptional<z.ZodCoercedNumber<unknown> & z.ZodType<50 | 10 | 20 | 30 | 40, unknown, z.core.$ZodTypeInternals<50 | 10 | 20 | 30 | 40, unknown>>>;
|
|
1553
1553
|
}, z.core.$strip>;
|
|
1554
1554
|
declare const inviteCompleteBody: z.ZodObject<{
|
|
1555
1555
|
token: z.ZodString;
|
|
@@ -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
|
}>;
|
|
@@ -2101,15 +2101,15 @@ declare const usersListQuery: z.ZodObject<{
|
|
|
2101
2101
|
declare const userUpdateBody: z.ZodObject<{
|
|
2102
2102
|
name: z.ZodOptional<z.ZodString>;
|
|
2103
2103
|
email: z.ZodOptional<z.ZodString>;
|
|
2104
|
-
role: z.ZodOptional<z.ZodCoercedNumber<unknown> & z.ZodType<50 |
|
|
2104
|
+
role: z.ZodOptional<z.ZodCoercedNumber<unknown> & z.ZodType<50 | 10 | 20 | 30 | 40, unknown, z.core.$ZodTypeInternals<50 | 10 | 20 | 30 | 40, unknown>>>;
|
|
2105
2105
|
}, z.core.$strip>;
|
|
2106
2106
|
declare const allowedDomainCreateBody: z.ZodObject<{
|
|
2107
2107
|
domain: z.ZodString;
|
|
2108
|
-
defaultRole: z.ZodCoercedNumber<unknown> & z.ZodType<50 |
|
|
2108
|
+
defaultRole: z.ZodCoercedNumber<unknown> & z.ZodType<50 | 10 | 20 | 30 | 40, unknown, z.core.$ZodTypeInternals<50 | 10 | 20 | 30 | 40, unknown>>;
|
|
2109
2109
|
}, z.core.$strip>;
|
|
2110
2110
|
declare const allowedDomainUpdateBody: z.ZodObject<{
|
|
2111
2111
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
2112
|
-
defaultRole: z.ZodOptional<z.ZodCoercedNumber<unknown> & z.ZodType<50 |
|
|
2112
|
+
defaultRole: z.ZodOptional<z.ZodCoercedNumber<unknown> & z.ZodType<50 | 10 | 20 | 30 | 40, unknown, z.core.$ZodTypeInternals<50 | 10 | 20 | 30 | 40, unknown>>>;
|
|
2113
2113
|
}, z.core.$strip>;
|
|
2114
2114
|
declare const userSchema: z.ZodObject<{
|
|
2115
2115
|
id: z.ZodString;
|
|
@@ -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-BS25s1R-.mjs";
|
|
5
5
|
|
|
6
6
|
//#region src/api/handlers/bylines.ts
|
|
7
7
|
var bylines_exports = /* @__PURE__ */ __exportAll({
|
|
@@ -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--zFg6meV.mjs";
|
|
4
|
+
import { t as BylineRepository } from "./byline-BS25s1R-.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-CNXVFYWz.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 } : {},
|
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 { _ as freezeContentPartition, c as installContentStorageConfig, h as cancelContentMigration, m as beginContentMigration, o as registerContentStorage, r as getContentStorage, t as assertContentStorageConfiguration } from "../runtime-
|
|
11
|
-
import "../revisions-
|
|
10
|
+
import { _ as freezeContentPartition, c as installContentStorageConfig, h as cancelContentMigration, m as beginContentMigration, o as registerContentStorage, r as getContentStorage, t as assertContentStorageConfiguration } from "../runtime-BLoyGKUx.mjs";
|
|
11
|
+
import "../revisions-CQZI886L.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--zFg6meV.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-BZBomTNV.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-Ue6kAfzf.mjs";
|
|
23
|
+
import { t as BylineRepository } from "../byline-BS25s1R-.mjs";
|
|
24
|
+
import "../owned-metadata-bXhDX1WW.mjs";
|
|
25
25
|
import { n as slugify } from "../slugify-DvoaEPtL.mjs";
|
|
26
|
-
import "../revision-
|
|
26
|
+
import "../revision-BtgwJxxa.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-CcyZD5jQ.mjs";
|
|
31
31
|
import { t as OptionsRepository } from "../options-yFkLUuTw.mjs";
|
|
32
32
|
import "../redirect-CJ-FAbNK.mjs";
|
|
33
|
-
import "../content-write-
|
|
33
|
+
import "../content-write-Bt_eiX9o.mjs";
|
|
34
34
|
import { n as assertContentVersionStore, r as contentStoreCollectionFromFields, s as installContentVersionStore, t as ContentVersionStore } from "../version-store-DyYULGd3.mjs";
|
|
35
|
-
import "../write-intent-
|
|
36
|
-
import "../seo-
|
|
35
|
+
import "../write-intent-CjTERf3N.mjs";
|
|
36
|
+
import "../seo-BQ7R2a1z.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-DbGFLB3p.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-DEKqjKIM.mjs";
|
|
44
|
+
import "../settings-Bc2eQPR6.mjs";
|
|
45
|
+
import { n as VERSION } from "../version-BJwTlK4L.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-Caad3Uh7.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, 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-BhVzGnj0.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";
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import "../types-
|
|
1
|
+
import "../types-jtUocGnQ.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-D6EXp7_j.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-jtUocGnQ.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-D6EXp7_j.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-Ue6kAfzf.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, g as contentPartitionWritable, r as getContentStorage } from "./runtime-
|
|
6
|
+
import { a as hydrateContentRows, g as contentPartitionWritable, r as getContentStorage } from "./runtime-BLoyGKUx.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-Ue6kAfzf.mjs";
|
|
10
|
+
import { i as storedContentSeo, r as snapshotOwnedContentMetadata, t as contentEventBylines } from "./owned-metadata-bXhDX1WW.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-BtgwJxxa.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-BLoyGKUx.mjs";
|
|
5
|
+
import { t as readRevisionData } from "./revisions-CQZI886L.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,7 +1,7 @@
|
|
|
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
6
|
import { a as contentStoreCollectionSchema, c as installContentVersionStore, d as resolveContentPartition, f as validateContentStorage, i as contentStoreCollectionFromFields, l as canonicalContentJson, n as ContentVersionStore, o as contentStoreRequestSchema, r as assertContentVersionStore, s as contentVersionSchema, t as ContentStoreCollection, u as contentDigest } from "../version-store-B6i81L9W.mjs";
|
|
7
7
|
import * as kysely from "kysely";
|
|
@@ -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 { _ as freezeContentPartition, a as hydrateContentRows, c as installContentStorageConfig, h as cancelContentMigration, m as beginContentMigration, o as registerContentStorage, r as getContentStorage, s as ContentStorageCoordinator, t as assertContentStorageConfiguration, v as readContentPartitionRoute } from "../runtime-
|
|
5
|
-
import { n as readRevisionDataBatch, t as readRevisionData } from "../revisions-
|
|
4
|
+
import { _ as freezeContentPartition, a as hydrateContentRows, c as installContentStorageConfig, h as cancelContentMigration, m as beginContentMigration, o as registerContentStorage, r as getContentStorage, s as ContentStorageCoordinator, t as assertContentStorageConfiguration, v as readContentPartitionRoute } from "../runtime-BLoyGKUx.mjs";
|
|
5
|
+
import { n as readRevisionDataBatch, t as readRevisionData } from "../revisions-CQZI886L.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-BZBomTNV.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-Ue6kAfzf.mjs";
|
|
15
|
+
import "../byline-BS25s1R-.mjs";
|
|
16
|
+
import "../owned-metadata-bXhDX1WW.mjs";
|
|
17
|
+
import "../revision-BtgwJxxa.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-
|
|
21
|
+
import "../content-write-Bt_eiX9o.mjs";
|
|
22
22
|
import { a as contentStoreRequestSchema, i as contentStoreCollectionSchema, n as assertContentVersionStore, o as contentVersionSchema, r as contentStoreCollectionFromFields, s as installContentVersionStore, t as ContentVersionStore } from "../version-store-DyYULGd3.mjs";
|
|
23
|
-
import "../write-intent-
|
|
24
|
-
import "../seo-
|
|
23
|
+
import "../write-intent-CjTERf3N.mjs";
|
|
24
|
+
import "../seo-BQ7R2a1z.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, 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-BhVzGnj0.mjs";
|
|
27
27
|
|
|
28
28
|
export { ContentStorageCoordinator, ContentStorageError, ContentStorageReplay, ContentVersionStore, activateContentMigrationEntry, assertContentStorageConfiguration, assertContentVersionStore, beginContentMigration, bootstrapContentDirectoryPage, cancelContentMigration, canonicalContentJson, captureContentMigrationSnapshot, completeContentMigration, contentDigest, contentMigrationSnapshotSchema, contentStoreCollectionFromFields, contentStoreCollectionSchema, contentStoreRequestSchema, contentVersionSchema, freezeContentPartition, getContentStorage, hydrateContentRows, installContentStorageConfig, installContentVersionStore, migrateContentStorageConfig, readContentPartitionRoute, readRevisionData, readRevisionDataBatch, registerContentStorage, resolveContentPartition, rollbackContentMigration, stageContentMigrationEntry, validateContentStorage, verifyContentMigration, verifyContentMigrationPage };
|
|
@@ -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 prepareContentProjection, g as contentPartitionWritable, r as getContentStorage, v as readContentPartitionRoute } from "./runtime-
|
|
8
|
-
import { n as readRevisionDataBatch, r as storedRevisionIndex, t as readRevisionData } from "./revisions-
|
|
7
|
+
import { d as prepareContentProjection, g as contentPartitionWritable, r as getContentStorage, v as readContentPartitionRoute } from "./runtime-BLoyGKUx.mjs";
|
|
8
|
+
import { n as readRevisionDataBatch, r as storedRevisionIndex, t as readRevisionData } from "./revisions-CQZI886L.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-BZBomTNV.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-Ue6kAfzf.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-BS25s1R-.mjs";
|
|
17
|
+
import { i as storedContentSeo, r as snapshotOwnedContentMetadata, t as contentEventBylines } from "./owned-metadata-bXhDX1WW.mjs";
|
|
18
|
+
import { t as RevisionRepository } from "./revision-BtgwJxxa.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
24
|
import { o as contentVersionSchema } from "./version-store-DyYULGd3.mjs";
|
|
25
|
-
import { r as markContentWriteReplay, t as beginContentWriteIntent } from "./write-intent-
|
|
26
|
-
import { t as SeoRepository } from "./seo-
|
|
25
|
+
import { r as markContentWriteReplay, t as beginContentWriteIntent } from "./write-intent-CjTERf3N.mjs";
|
|
26
|
+
import { t as SeoRepository } from "./seo-BQ7R2a1z.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-BZBomTNV.mjs";
|
|
7
|
+
import { o as invalidateCollectionCache } from "./object-cache-Ue6kAfzf.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-BQ7R2a1z.mjs";
|
|
13
|
+
import { o as prepareContentMediaUsageCollectionStale } from "./content-refresh-DbGFLB3p.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-DkxgOnQl.mjs";
|
|
2
|
+
import { i as parseSiteBriefingScope, m as ContextRepository, n as SiteBriefingError } from "./briefing-yQgD73g4.mjs";
|
|
3
3
|
|
|
4
4
|
//#region src/api/handlers/context.ts
|
|
5
5
|
async function handleContextEntryList(db, input = {}) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as validateIdentifier } from "./validate-Co3j6T_K.mjs";
|
|
2
|
-
import { t as ContentRepository } from "./content-
|
|
2
|
+
import { t as ContentRepository } from "./content-BZBomTNV.mjs";
|
|
3
3
|
import { t as MediaRepository } from "./media-BjH5OD-A.mjs";
|
|
4
4
|
import { t as UserRepository } from "./user-Bl2_8rhJ.mjs";
|
|
5
5
|
import { r as ReviewRequestRepository } from "./review-requests-DZYM51yI.mjs";
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { At as ResolvedPlugin, ac as assertD1Migrations, cc as compileD1Schema, ic as D1MigrationOptions, oc as migrateD1, rc as D1Migration, sc as D1SchemaObject } from "../../types-
|
|
1
|
+
import { At as ResolvedPlugin, ac as assertD1Migrations, cc as compileD1Schema, ic as D1MigrationOptions, oc as migrateD1, rc as D1Migration, sc as D1SchemaObject } from "../../types-jtUocGnQ.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-D6EXp7_j.mjs";
|
|
14
14
|
import "../../types-BuplUVZ4.mjs";
|
|
15
15
|
import { Kysely } from "kysely";
|
|
16
16
|
|
|
@@ -2,7 +2,7 @@ import { o as assertD1Migrations, s as migrateD1 } from "../../runner-CuG8o1uW.m
|
|
|
2
2
|
import "../../d1-binding-DrLMBUxu.mjs";
|
|
3
3
|
import "../../dialect-helpers-C6xtO-Ui.mjs";
|
|
4
4
|
import "../../migrations-DTCIQJ2_.mjs";
|
|
5
|
-
import "../../state-
|
|
6
|
-
import { n as compileD1Schema, t as migrateD1Release } from "../../release-
|
|
5
|
+
import "../../state-CKkqoA6i.mjs";
|
|
6
|
+
import { n as compileD1Schema, t as migrateD1Release } from "../../release-CIYyinzY.mjs";
|
|
7
7
|
|
|
8
8
|
export { assertD1Migrations, compileD1Schema, migrateD1, migrateD1Release };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as validateIdentifier } from "./validate-Co3j6T_K.mjs";
|
|
2
2
|
import { i as encodeCursor, r as decodeCursor } from "./types-BI3ULB3A.mjs";
|
|
3
3
|
import { n as publicDiscoveryExclusions } from "./public-discovery-CGRirTJH.mjs";
|
|
4
|
-
import { n as SchemaRegistry } from "./registry-
|
|
4
|
+
import { n as SchemaRegistry } from "./registry-DEKqjKIM.mjs";
|
|
5
5
|
import { t as resolveContentUrl } from "./public-url-NCefkiXz.mjs";
|
|
6
6
|
import { sql } from "kysely";
|
|
7
7
|
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { i as encodeBase64url } from "./base64-qvSs0Gxy.mjs";
|
|
2
2
|
import { t as MediaRepository } from "./media-BjH5OD-A.mjs";
|
|
3
3
|
import { t as buildStableHash } from "./stable-hash-9RDJgfif.mjs";
|
|
4
|
-
import { a as selectActiveBriefingContextEntries, i as parseSiteBriefingScope, m as ContextRepository } from "./briefing-
|
|
4
|
+
import { a as selectActiveBriefingContextEntries, i as parseSiteBriefingScope, m as ContextRepository } from "./briefing-yQgD73g4.mjs";
|
|
5
5
|
import { n as sha256, s as readBoundedBytes } from "./runs-BGqkkqhp.mjs";
|
|
6
|
-
import { c as loadContentMediaUsageFields } from "./content-refresh-
|
|
6
|
+
import { c as loadContentMediaUsageFields } from "./content-refresh-DbGFLB3p.mjs";
|
|
7
7
|
import { r as ssrfSafeFetch } from "./ssrf-C7tTSD1r.mjs";
|
|
8
8
|
import { imageSize } from "image-size";
|
|
9
9
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { b as HitlRequestService } from "./site-context-
|
|
1
|
+
import { b as HitlRequestService } from "./site-context-DkxgOnQl.mjs";
|
|
2
2
|
import { t as ExperimentalSiteContextWorkflowDisabledError } from "./experimental-workflows-BtKXzyIH.mjs";
|
|
3
3
|
|
|
4
4
|
//#region src/api/handlers/hitl-requests.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { i as resolveActorIdentity } from "./actor-D0AW80ld.mjs";
|
|
2
|
-
import { t as WorkflowHitlCoordinator } from "./site-context-
|
|
2
|
+
import { t as WorkflowHitlCoordinator } from "./site-context-DkxgOnQl.mjs";
|
|
3
3
|
import { t as apiError } from "./error-HuAkl_6r.mjs";
|
|
4
4
|
import { p as logSiteActivitySafely } from "./activity-events-D4JfWJFI.mjs";
|
|
5
5
|
import { t as ExperimentalSiteContextWorkflowDisabledError } from "./experimental-workflows-BtKXzyIH.mjs";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { n as slugify } from "./slugify-DvoaEPtL.mjs";
|
|
2
|
-
import { t as TaxonomyRepository } from "./taxonomy-
|
|
2
|
+
import { t as TaxonomyRepository } from "./taxonomy-CcyZD5jQ.mjs";
|
|
3
3
|
import { t as OptionsRepository } from "./options-yFkLUuTw.mjs";
|
|
4
4
|
import { a as validateExternalUrl, n as resolveAndValidateExternalUrl, r as ssrfSafeFetch } from "./ssrf-C7tTSD1r.mjs";
|
|
5
|
-
import { o as invalidateSiteSettingsCache } from "./settings-
|
|
5
|
+
import { o as invalidateSiteSettingsCache } from "./settings-Bc2eQPR6.mjs";
|
|
6
6
|
import { n as resolveLocaleChain } from "./resolve-BdDNBmaU.mjs";
|
|
7
|
-
import { l as invalidateTermCache } from "./taxonomies-
|
|
7
|
+
import { l as invalidateTermCache } from "./taxonomies-CVe1PGaO.mjs";
|
|
8
8
|
import { n as parseWxrString } from "./parser-CoH5-854.mjs";
|
|
9
9
|
import { _ as sanitizeFieldSlug, a as getFilenameFromUrl, c as isInternalMetaKey, d as mapMetaKeyToField, f as mapPostTypeToCollection, h as relativizeContentLinks, i as checkSchemaCompatibility, l as isInternalPostType, m as normalizeUrl$1, n as FEATURED_IMAGE_FIELD, o as guessMimeType, p as mapWpStatus, r as buildAttachmentMap, s as inferMetaType, t as BASE_REQUIRED_FIELDS, u as isPluginBookkeepingMeta } from "./utils-WY63JOPB.mjs";
|
|
10
10
|
import { ulid } from "ulidx";
|