dineway 0.2.41 → 0.2.42
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 +3 -3
- package/dist/api/route-utils.mjs +9 -9
- package/dist/api/schemas/index.d.mts +1 -1
- package/dist/{api-CMbsIQ46.mjs → api-BBXfpMJw.mjs} +7 -7
- package/dist/{apply-B5qoX19G.mjs → apply-CZDKUvZ4.mjs} +12 -12
- package/dist/astro/index.d.mts +2 -2
- package/dist/astro/index.mjs +3 -3
- package/dist/astro/middleware/auth.d.mts +2 -2
- package/dist/astro/middleware/auth.mjs +2 -2
- package/dist/astro/middleware/redirect.mjs +2 -2
- package/dist/astro/middleware/setup.mjs +1 -1
- package/dist/astro/middleware.mjs +52 -52
- package/dist/astro/routes/api/admin/briefing.mjs +13 -13
- package/dist/astro/routes/api/admin/bylines/_id_/index.mjs +5 -5
- package/dist/astro/routes/api/admin/bylines/_id_/translations.mjs +5 -5
- package/dist/astro/routes/api/admin/bylines/index.mjs +5 -5
- package/dist/astro/routes/api/admin/context/_id_/history.mjs +19 -19
- package/dist/astro/routes/api/admin/context/_id_/index.mjs +19 -19
- package/dist/astro/routes/api/admin/context/_id_/review.mjs +19 -19
- package/dist/astro/routes/api/admin/context/_id_/supersede.mjs +19 -19
- package/dist/astro/routes/api/admin/context/diff.mjs +19 -19
- package/dist/astro/routes/api/admin/context/index.mjs +19 -19
- package/dist/astro/routes/api/admin/context/stale.mjs +19 -19
- package/dist/astro/routes/api/admin/hitl-requests/_id_/index.mjs +20 -20
- package/dist/astro/routes/api/admin/hitl-requests/_id_/resolve.mjs +20 -20
- package/dist/astro/routes/api/admin/hitl-requests/index.mjs +20 -20
- package/dist/astro/routes/api/admin/hooks/exclusive/_hookName_.mjs +19 -19
- package/dist/astro/routes/api/admin/plugins/_id_/disable.mjs +33 -33
- package/dist/astro/routes/api/admin/plugins/_id_/enable.mjs +33 -33
- package/dist/astro/routes/api/admin/plugins/_id_/index.mjs +29 -29
- package/dist/astro/routes/api/admin/plugins/_id_/uninstall.mjs +33 -33
- package/dist/astro/routes/api/admin/plugins/_id_/update.mjs +33 -33
- package/dist/astro/routes/api/admin/plugins/index.mjs +29 -29
- package/dist/astro/routes/api/admin/plugins/marketplace/_id_/index.mjs +29 -29
- package/dist/astro/routes/api/admin/plugins/marketplace/_id_/install.mjs +33 -33
- package/dist/astro/routes/api/admin/plugins/marketplace/index.mjs +29 -29
- package/dist/astro/routes/api/admin/plugins/updates.mjs +29 -29
- package/dist/astro/routes/api/admin/review-requests/_id_/image.mjs +13 -13
- package/dist/astro/routes/api/admin/review-requests/_id_/index.mjs +16 -16
- package/dist/astro/routes/api/admin/review-requests/_id_/resolve.mjs +23 -23
- package/dist/astro/routes/api/admin/review-requests/index.mjs +21 -21
- package/dist/astro/routes/api/admin/themes/marketplace/_id_/index.mjs +29 -29
- package/dist/astro/routes/api/admin/themes/marketplace/index.mjs +29 -29
- 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 +2 -2
- package/dist/astro/routes/api/content/_collection_/_id_/preview-url.mjs +4 -4
- package/dist/astro/routes/api/content/_collection_/_id_/publish.mjs +10 -10
- package/dist/astro/routes/api/content/_collection_/_id_/schedule.mjs +10 -10
- package/dist/astro/routes/api/content/_collection_/_id_/terms/_taxonomy_.mjs +8 -8
- package/dist/astro/routes/api/dashboard.mjs +6 -6
- package/dist/astro/routes/api/health.mjs +1 -1
- package/dist/astro/routes/api/import/probe.mjs +6 -6
- package/dist/astro/routes/api/import/wordpress/analyze.mjs +3 -3
- package/dist/astro/routes/api/import/wordpress/execute.d.mts +2 -2
- package/dist/astro/routes/api/import/wordpress/execute.mjs +22 -22
- package/dist/astro/routes/api/import/wordpress/media.d.mts +2 -2
- package/dist/astro/routes/api/import/wordpress/prepare.mjs +20 -20
- package/dist/astro/routes/api/import/wordpress/rewrite-urls.d.mts +2 -2
- package/dist/astro/routes/api/import/wordpress/rewrite-urls.mjs +20 -20
- package/dist/astro/routes/api/import/wordpress-plugin/analyze.mjs +8 -8
- package/dist/astro/routes/api/import/wordpress-plugin/execute.d.mts +2 -2
- package/dist/astro/routes/api/import/wordpress-plugin/execute.mjs +23 -23
- package/dist/astro/routes/api/manifest.mjs +2 -2
- package/dist/astro/routes/api/mcp.mjs +50 -50
- package/dist/astro/routes/api/menus/_name_/items/_id_.mjs +19 -19
- package/dist/astro/routes/api/menus/_name_/items.mjs +19 -19
- package/dist/astro/routes/api/menus/_name_/reorder.mjs +19 -19
- package/dist/astro/routes/api/menus/_name_/translations.mjs +19 -19
- package/dist/astro/routes/api/menus/_name_.mjs +19 -19
- package/dist/astro/routes/api/menus/index.mjs +19 -19
- package/dist/astro/routes/api/openapi.json.mjs +1 -1
- package/dist/astro/routes/api/redirects/_id_.mjs +19 -19
- package/dist/astro/routes/api/redirects/index.mjs +19 -19
- package/dist/astro/routes/api/schema/collections/_slug_/fields/_fieldSlug_.mjs +29 -29
- package/dist/astro/routes/api/schema/collections/_slug_/fields/index.mjs +29 -29
- package/dist/astro/routes/api/schema/collections/_slug_/fields/reorder.mjs +29 -29
- package/dist/astro/routes/api/schema/collections/_slug_/index.mjs +29 -29
- package/dist/astro/routes/api/schema/collections/index.mjs +29 -29
- package/dist/astro/routes/api/schema/index.mjs +3 -3
- package/dist/astro/routes/api/schema/orphans/_slug_.mjs +29 -29
- package/dist/astro/routes/api/schema/orphans/index.mjs +29 -29
- package/dist/astro/routes/api/search/enable.mjs +3 -3
- package/dist/astro/routes/api/search/index.mjs +3 -3
- package/dist/astro/routes/api/search/rebuild.mjs +3 -3
- package/dist/astro/routes/api/search/stats.mjs +3 -3
- package/dist/astro/routes/api/search/suggest.mjs +3 -3
- package/dist/astro/routes/api/sections/_slug_.mjs +20 -20
- package/dist/astro/routes/api/sections/index.mjs +20 -20
- package/dist/astro/routes/api/settings/reviews.mjs +1 -1
- package/dist/astro/routes/api/settings.mjs +20 -20
- 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 +13 -13
- package/dist/astro/routes/api/setup/index.mjs +14 -14
- 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 +22 -22
- package/dist/astro/routes/api/taxonomies/_name_/terms/_slug_.mjs +22 -22
- package/dist/astro/routes/api/taxonomies/_name_/terms/index.mjs +22 -22
- package/dist/astro/routes/api/taxonomies/index.mjs +22 -22
- 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 +19 -19
- package/dist/astro/routes/api/widget-areas/_name_/widgets/_id_.mjs +20 -20
- package/dist/astro/routes/api/widget-areas/_name_/widgets.mjs +20 -20
- package/dist/astro/routes/api/widget-areas/_name_.mjs +20 -20
- package/dist/astro/routes/api/widget-areas/index.mjs +20 -20
- package/dist/astro/routes/robots.txt.mjs +3 -3
- package/dist/astro/routes/sitemap-_collection_.xml.mjs +7 -7
- package/dist/astro/routes/sitemap.xml.mjs +7 -7
- package/dist/astro/session-driver.mjs +2 -2
- package/dist/astro/types.d.mts +2 -2
- package/dist/{briefing-BzvBeIJh.mjs → briefing-BShyAm_Z.mjs} +1 -1
- package/dist/{briefing-DYiV93rg.mjs → briefing-CaeEFvkD.mjs} +4 -4
- package/dist/{byline-fields-Bne2v0ti.d.mts → byline-fields-B7pQ3LMi.d.mts} +26 -26
- package/dist/{byline-3qjp1-oa.mjs → byline-uuVB2B3E.mjs} +3 -3
- package/dist/{bylines-BSn9O1Wx.mjs → bylines-PLlsL31L.mjs} +1 -1
- package/dist/{bylines-CGuJi-zu.mjs → bylines-XGlNK0Lo.mjs} +3 -3
- package/dist/cli/index.mjs +21 -21
- package/dist/cli/plugin-kit.d.mts +2 -2
- package/dist/cli/plugin-kit.mjs +1 -1
- package/dist/client/index.d.mts +2 -2
- package/dist/client/index.mjs +2 -2
- package/dist/{content-BigS8BAv.mjs → content-BNeuaVCS.mjs} +2 -2
- package/dist/{content-refresh-DJuFIqQ4.mjs → content-refresh-D7wpVFJ_.mjs} +1 -1
- package/dist/content-storage/index.d.mts +14 -1
- package/dist/content-storage/index.mjs +9 -9
- package/dist/{content-write-DAZCNKWl.mjs → content-write-43KZZ7dz.mjs} +6 -6
- package/dist/{context-0806nV9h.mjs → context-Cjz0y4Al.mjs} +3 -3
- package/dist/{context-CCsI5nTK.mjs → context-DuYXPlfZ.mjs} +2 -2
- package/dist/{dashboard-CSrnhBO6.mjs → dashboard-BquGX1ue.mjs} +1 -1
- package/dist/database/d1/index.d.mts +2 -2
- package/dist/database/d1/index.mjs +2 -2
- package/dist/{discovery-49qXmdwv.mjs → discovery-BwCZFUXm.mjs} +1 -1
- package/dist/{evidence-B3O9_VKm.mjs → evidence-1Gr8TlTf.mjs} +2 -2
- package/dist/{hitl-requests-B5vOPseK.mjs → hitl-requests-Bdab4DhO.mjs} +1 -1
- package/dist/{hitl-route-helpers-C3icmGdj.mjs → hitl-route-helpers-DGMLQajA.mjs} +1 -1
- package/dist/{import-CKnKQj3f.mjs → import-DJFlvQey.mjs} +3 -3
- package/dist/index.d.mts +2 -2
- package/dist/index.mjs +40 -40
- package/dist/{jsonld-CN91qtDw.d.mts → jsonld-CPijKSUe.d.mts} +1 -1
- package/dist/{loader-CCwWFQSh.mjs → loader-Bq1aW12P.mjs} +1 -1
- package/dist/{mcp-reviewed-executor-DA6Q9sDc.mjs → mcp-reviewed-executor-DtTnFcqC.mjs} +2 -2
- package/dist/media/local-runtime.d.mts +2 -2
- package/dist/{menus-D0c8CeVg.mjs → menus-BXkfzNR1.mjs} +1 -1
- package/dist/{migration-DJuj7ZwN.mjs → migration-D9OY6vI9.mjs} +3 -3
- package/dist/{owned-metadata-BPmUjZqI.mjs → owned-metadata-C99DzQuq.mjs} +1 -1
- package/dist/page/index.d.mts +3 -3
- package/dist/plugin-utils.d.mts +2 -2
- package/dist/plugins/adapt-sandbox-entry.d.mts +2 -2
- package/dist/{plugins-V0W65r3v.mjs → plugins-LtyuDuIb.mjs} +2 -2
- package/dist/{public-url-CKrUov8D.d.mts → public-url-cMnsBUZB.d.mts} +1 -1
- package/dist/{publication-authorization-wMR-tEQ_.mjs → publication-authorization-CJ4Jr5Hg.mjs} +3 -3
- package/dist/{query-DDi367tF.mjs → query-CLWTwcTr.mjs} +9 -9
- package/dist/{query-DLnnpEuf.mjs → query-CP9M8xxX.mjs} +2 -2
- package/dist/{registry-zXXZezu-.mjs → registry-B-HULaJI.mjs} +1 -1
- package/dist/{release-Cpi0-Bzq.mjs → release-D615eKav.mjs} +1 -1
- package/dist/{review-requests-C-ScxD9n.mjs → review-requests-CGQ1u7uY.mjs} +1 -1
- package/dist/{revision-B_HYO2AE.mjs → revision-DlxUfOD5.mjs} +1 -1
- package/dist/{revisions-CQ7rMP5d.mjs → revisions-qNkae-Dq.mjs} +5 -3
- package/dist/runtime.d.mts +2 -2
- package/dist/runtime.mjs +2 -2
- package/dist/{schema-BA05k0TN.mjs → schema-DVeOJpqA.mjs} +1 -1
- package/dist/{search-DMrzhfx_.mjs → search-zMoM2_uq.mjs} +1 -1
- package/dist/{sections-BTrSEhqB.mjs → sections-BtO0Zdv5.mjs} +1 -1
- package/dist/seed/index.mjs +13 -13
- package/dist/seo/index.mjs +4 -4
- package/dist/{seo-DkjtBh-y.mjs → seo-DwcULb78.mjs} +1 -1
- package/dist/{seo-Cv7ud_m2.mjs → seo-uliFa7s-.mjs} +3 -3
- package/dist/{settings-CI-NtWEc.mjs → settings-D31Y4msD.mjs} +1 -1
- package/dist/{settings-BUONaNnG.mjs → settings-DDOB3gW1.mjs} +1 -1
- package/dist/{site-context-BW3GRCJH.mjs → site-context-D3AmDdpQ.mjs} +6 -6
- package/dist/{submission-DLgjQ_Ew.mjs → submission-DgLES24O.mjs} +3 -3
- package/dist/{taxonomies-C02-Vuh3.mjs → taxonomies-B4hE8Yb3.mjs} +2 -2
- package/dist/{taxonomies-D5wO9zmB.mjs → taxonomies-BI26Bk-M.mjs} +2 -2
- package/dist/{taxonomy-BK7JmHlo.mjs → taxonomy-B8w8F2Cs.mjs} +1 -1
- package/dist/{types-C3jUu4Bc.d.mts → types-0gRlZbhN.d.mts} +3 -3
- package/dist/ui/server-runtime.d.mts +4 -4
- package/dist/ui/server-runtime.mjs +10 -10
- package/dist/version-Co258u70.mjs +6 -0
- package/dist/{widgets-9xHBhL_L.mjs → widgets-B99mnftw.mjs} +1 -1
- package/dist/{worker-CC_Rt1pB.mjs → worker-DdI-KtvF.mjs} +4 -4
- package/package.json +1 -1
- package/dist/version-BlE1LEPb.mjs +0 -6
- /package/dist/{allowed-origins-Clitkhiv.mjs → allowed-origins-DASdFW-l.mjs} +0 -0
- /package/dist/{challenge-store-7IZ_NqWg.mjs → challenge-store-Dq5HiMO3.mjs} +0 -0
- /package/dist/{forgeway-account-YzraapbX.mjs → forgeway-account-7N-3srH-.mjs} +0 -0
- /package/dist/{mode-C3RI5Z5t.mjs → mode-B_m1BGFh.mjs} +0 -0
- /package/dist/{output-ljHaxIHX.mjs → output-B1GiXeT8.mjs} +0 -0
- /package/dist/{policy-DbceGc4P.mjs → policy-Drg5yr1-.mjs} +0 -0
- /package/dist/{portable-text-CSbRjM-T.mjs → portable-text-p0Ojfpfo.mjs} +0 -0
- /package/dist/{session-user-D36BRaZY.mjs → session-user-B0XMp1GC.mjs} +0 -0
- /package/dist/{setup-complete-DoVbVrHx.mjs → setup-complete-5GxB7hiF.mjs} +0 -0
- /package/dist/{state-CKkqoA6i.mjs → state-ClG1I4wl.mjs} +0 -0
- /package/dist/{transport-BHYE4pox.mjs → transport-BK_me2MZ.mjs} +0 -0
- /package/dist/{workers-build-4926MPc0.mjs → workers-build-XNBt1wGF.mjs} +0 -0
|
@@ -811,8 +811,8 @@ declare const createCollectionBody: z.ZodObject<{
|
|
|
811
811
|
icon: z.ZodOptional<z.ZodString>;
|
|
812
812
|
supports: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
813
813
|
search: "search";
|
|
814
|
-
drafts: "drafts";
|
|
815
814
|
revisions: "revisions";
|
|
815
|
+
drafts: "drafts";
|
|
816
816
|
preview: "preview";
|
|
817
817
|
scheduling: "scheduling";
|
|
818
818
|
}>>>;
|
|
@@ -832,8 +832,8 @@ declare const updateCollectionBody: z.ZodObject<{
|
|
|
832
832
|
icon: z.ZodOptional<z.ZodString>;
|
|
833
833
|
supports: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
834
834
|
search: "search";
|
|
835
|
-
drafts: "drafts";
|
|
836
835
|
revisions: "revisions";
|
|
836
|
+
drafts: "drafts";
|
|
837
837
|
preview: "preview";
|
|
838
838
|
scheduling: "scheduling";
|
|
839
839
|
}>>>;
|
|
@@ -860,15 +860,15 @@ 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
|
image: "image";
|
|
868
|
-
datetime: "datetime";
|
|
869
868
|
text: "text";
|
|
870
|
-
select: "select";
|
|
871
869
|
integer: "integer";
|
|
870
|
+
datetime: "datetime";
|
|
871
|
+
select: "select";
|
|
872
872
|
multiSelect: "multiSelect";
|
|
873
873
|
portableText: "portableText";
|
|
874
874
|
reference: "reference";
|
|
@@ -893,10 +893,10 @@ declare const createFieldBody: z.ZodObject<{
|
|
|
893
893
|
boolean: "boolean";
|
|
894
894
|
url: "url";
|
|
895
895
|
image: "image";
|
|
896
|
-
datetime: "datetime";
|
|
897
896
|
text: "text";
|
|
898
|
-
select: "select";
|
|
899
897
|
integer: "integer";
|
|
898
|
+
datetime: "datetime";
|
|
899
|
+
select: "select";
|
|
900
900
|
}>;
|
|
901
901
|
label: z.ZodString;
|
|
902
902
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -918,15 +918,15 @@ 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
|
image: "image";
|
|
926
|
-
datetime: "datetime";
|
|
927
926
|
text: "text";
|
|
928
|
-
select: "select";
|
|
929
927
|
integer: "integer";
|
|
928
|
+
datetime: "datetime";
|
|
929
|
+
select: "select";
|
|
930
930
|
multiSelect: "multiSelect";
|
|
931
931
|
portableText: "portableText";
|
|
932
932
|
reference: "reference";
|
|
@@ -951,10 +951,10 @@ declare const updateFieldBody: z.ZodObject<{
|
|
|
951
951
|
boolean: "boolean";
|
|
952
952
|
url: "url";
|
|
953
953
|
image: "image";
|
|
954
|
-
datetime: "datetime";
|
|
955
954
|
text: "text";
|
|
956
|
-
select: "select";
|
|
957
955
|
integer: "integer";
|
|
956
|
+
datetime: "datetime";
|
|
957
|
+
select: "select";
|
|
958
958
|
}>;
|
|
959
959
|
label: z.ZodString;
|
|
960
960
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -1012,15 +1012,15 @@ 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
|
image: "image";
|
|
1020
|
-
datetime: "datetime";
|
|
1021
1020
|
text: "text";
|
|
1022
|
-
select: "select";
|
|
1023
1021
|
integer: "integer";
|
|
1022
|
+
datetime: "datetime";
|
|
1023
|
+
select: "select";
|
|
1024
1024
|
multiSelect: "multiSelect";
|
|
1025
1025
|
portableText: "portableText";
|
|
1026
1026
|
reference: "reference";
|
|
@@ -1087,15 +1087,15 @@ 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
|
image: "image";
|
|
1095
|
-
datetime: "datetime";
|
|
1096
1095
|
text: "text";
|
|
1097
|
-
select: "select";
|
|
1098
1096
|
integer: "integer";
|
|
1097
|
+
datetime: "datetime";
|
|
1098
|
+
select: "select";
|
|
1099
1099
|
multiSelect: "multiSelect";
|
|
1100
1100
|
portableText: "portableText";
|
|
1101
1101
|
reference: "reference";
|
|
@@ -1146,15 +1146,15 @@ 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
|
image: "image";
|
|
1154
|
-
datetime: "datetime";
|
|
1155
1154
|
text: "text";
|
|
1156
|
-
select: "select";
|
|
1157
1155
|
integer: "integer";
|
|
1156
|
+
datetime: "datetime";
|
|
1157
|
+
select: "select";
|
|
1158
1158
|
multiSelect: "multiSelect";
|
|
1159
1159
|
portableText: "portableText";
|
|
1160
1160
|
reference: "reference";
|
|
@@ -1183,15 +1183,15 @@ 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
|
image: "image";
|
|
1191
|
-
datetime: "datetime";
|
|
1192
1191
|
text: "text";
|
|
1193
|
-
select: "select";
|
|
1194
1192
|
integer: "integer";
|
|
1193
|
+
datetime: "datetime";
|
|
1194
|
+
select: "select";
|
|
1195
1195
|
multiSelect: "multiSelect";
|
|
1196
1196
|
portableText: "portableText";
|
|
1197
1197
|
reference: "reference";
|
|
@@ -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
|
}>;
|
|
@@ -532,8 +532,8 @@ var BylineRepository = class {
|
|
|
532
532
|
async copyContentBylines(collectionSlug, sourceContentId, targetContentId) {
|
|
533
533
|
if (await this.db.selectFrom("_dineway_content_bylines").select("id").where("collection_slug", "=", collectionSlug).where("content_id", "=", targetContentId).executeTakeFirst()) return;
|
|
534
534
|
if (getContentStorage(this.db, collectionSlug)) {
|
|
535
|
-
const { snapshotOwnedContentMetadata } = await import("./owned-metadata-
|
|
536
|
-
const { prepareContentWrite } = await import("./content-write-
|
|
535
|
+
const { snapshotOwnedContentMetadata } = await import("./owned-metadata-C99DzQuq.mjs").then((n) => n.n);
|
|
536
|
+
const { prepareContentWrite } = await import("./content-write-43KZZ7dz.mjs").then((n) => n.t);
|
|
537
537
|
const source = await snapshotOwnedContentMetadata(this.db, collectionSlug, sourceContentId);
|
|
538
538
|
const credits = await this.getContentBylines(collectionSlug, sourceContentId);
|
|
539
539
|
const write = await prepareContentWrite(this.db, collectionSlug, {
|
|
@@ -621,7 +621,7 @@ var BylineRepository = class {
|
|
|
621
621
|
}
|
|
622
622
|
async setContentBylines(collectionSlug, contentId, inputBylines) {
|
|
623
623
|
if (getContentStorage(this.db, collectionSlug)) {
|
|
624
|
-
const { prepareContentWrite } = await import("./content-write-
|
|
624
|
+
const { prepareContentWrite } = await import("./content-write-43KZZ7dz.mjs").then((n) => n.t);
|
|
625
625
|
const write = await prepareContentWrite(this.db, collectionSlug, {
|
|
626
626
|
id: contentId,
|
|
627
627
|
bylines: inputBylines,
|
|
@@ -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-uuVB2B3E.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-Bq1aW12P.mjs";
|
|
4
|
+
import { t as BylineRepository } from "./byline-uuVB2B3E.mjs";
|
|
5
5
|
import { n as resolveLocaleChain } from "./resolve-BxFGSKYu.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-CLWTwcTr.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
|
@@ -8,57 +8,57 @@ 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-6R0bchVE.mjs";
|
|
10
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-Ch5G-tnG.mjs";
|
|
11
|
-
import "../revisions-
|
|
11
|
+
import "../revisions-qNkae-Dq.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-Bq1aW12P.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-BNeuaVCS.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
22
|
import "../object-cache-DyI1SOBK.mjs";
|
|
23
|
-
import { t as BylineRepository } from "../byline-
|
|
24
|
-
import "../owned-metadata-
|
|
23
|
+
import { t as BylineRepository } from "../byline-uuVB2B3E.mjs";
|
|
24
|
+
import "../owned-metadata-C99DzQuq.mjs";
|
|
25
25
|
import { n as slugify } from "../slugify-DvoaEPtL.mjs";
|
|
26
|
-
import "../revision-
|
|
26
|
+
import "../revision-DlxUfOD5.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-B8w8F2Cs.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-43KZZ7dz.mjs";
|
|
34
34
|
import "../text-extraction-CdqMGYQK.mjs";
|
|
35
35
|
import { n as assertContentVersionStore, o as installContentVersionStore, r as contentStoreCollectionSchema, t as ContentVersionStore } from "../version-store-BXv2D0de.mjs";
|
|
36
36
|
import "../write-intent-DuHVqks9.mjs";
|
|
37
|
-
import "../seo-
|
|
37
|
+
import "../seo-uliFa7s-.mjs";
|
|
38
38
|
import { n as DinewayToolsService, r as integrationResponse, t as DinewayToolsError } from "../service-DeX1PRNt.mjs";
|
|
39
39
|
import { i as parseEncryptionKeys, n as fingerprintKey, r as generateEncryptionKey, t as DinewaySecretsError } from "../secrets-CIYcw9T9.mjs";
|
|
40
|
-
import "../content-refresh-
|
|
40
|
+
import "../content-refresh-D7wpVFJ_.mjs";
|
|
41
41
|
import { n as resolveAndValidateExternalUrl, t as SsrfError } from "../ssrf-DcD8vn3E.mjs";
|
|
42
42
|
import "../fts-manager-Zu5ITic0.mjs";
|
|
43
43
|
import "../public-discovery-BnqYofSK.mjs";
|
|
44
|
-
import { n as SchemaRegistry } from "../registry-
|
|
45
|
-
import "../settings-
|
|
46
|
-
import { n as VERSION } from "../version-
|
|
44
|
+
import { n as SchemaRegistry } from "../registry-B-HULaJI.mjs";
|
|
45
|
+
import "../settings-DDOB3gW1.mjs";
|
|
46
|
+
import { n as VERSION } from "../version-Co258u70.mjs";
|
|
47
47
|
import { t as IntegrationCredentialStore } from "../store-BzaAtszy.mjs";
|
|
48
48
|
import { a as reconcileManifestAccess, i as pluginManifestSchema } from "../manifest-schema-DaQpgyTB.mjs";
|
|
49
49
|
import "../content-Dr22fzA_.mjs";
|
|
50
50
|
import "../migrations-BAjF60cl.mjs";
|
|
51
51
|
import { t as validateSeed } from "../validate-C-yk7mmX.mjs";
|
|
52
|
-
import { t as applySeed } from "../apply-
|
|
53
|
-
import { n as validateWorkersBindings, t as WORKERS_BUILD_METADATA } from "../workers-build-
|
|
54
|
-
import { n as d1ReleaseRevision } from "../state-
|
|
55
|
-
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-YzraapbX.mjs";
|
|
56
|
-
import { n as output, t as configureOutputMode } from "../output-ljHaxIHX.mjs";
|
|
52
|
+
import { t as applySeed } from "../apply-CZDKUvZ4.mjs";
|
|
53
|
+
import { n as validateWorkersBindings, t as WORKERS_BUILD_METADATA } from "../workers-build-XNBt1wGF.mjs";
|
|
54
|
+
import { n as d1ReleaseRevision } from "../state-ClG1I4wl.mjs";
|
|
57
55
|
import { createHeaderAwareFetch, isRedirectResponse, resolveCustomHeaders } from "../client/external-auth-headers.mjs";
|
|
58
|
-
import { t as convertDataForRead } from "../portable-text-
|
|
56
|
+
import { t as convertDataForRead } from "../portable-text-p0Ojfpfo.mjs";
|
|
57
|
+
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-7N-3srH-.mjs";
|
|
58
|
+
import { n as output, t as configureOutputMode } from "../output-B1GiXeT8.mjs";
|
|
59
59
|
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-BLbm250o.mjs";
|
|
60
|
-
import { t as migrateD1Release } from "../release-
|
|
61
|
-
import { a as verifyContentMigration, c as contentMigrationSnapshotSchema, i as stageContentMigrationEntry, l as migrateContentStorageConfig, n as completeContentMigration, o as bootstrapContentDirectoryPage, r as rollbackContentMigration, t as activateContentMigrationEntry } from "../migration-
|
|
60
|
+
import { t as migrateD1Release } from "../release-D615eKav.mjs";
|
|
61
|
+
import { a as verifyContentMigration, c as contentMigrationSnapshotSchema, i as stageContentMigrationEntry, l as migrateContentStorageConfig, n as completeContentMigration, o as bootstrapContentDirectoryPage, r as rollbackContentMigration, t as activateContentMigrationEntry } from "../migration-D9OY6vI9.mjs";
|
|
62
62
|
import { LocalStorage } from "../storage/local.mjs";
|
|
63
63
|
import { r as fileExists$11, t as bundleCommand } from "../bundle-DWn5eFKz.mjs";
|
|
64
64
|
import { createRequire } from "node:module";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "../types-
|
|
1
|
+
import "../types-0gRlZbhN.mjs";
|
|
2
2
|
import "../types-Dpv_MvwZ.mjs";
|
|
3
3
|
import "../runner-DXQkyPeX.mjs";
|
|
4
4
|
import "../index-CLj17kW9.mjs";
|
|
@@ -10,7 +10,7 @@ import "../hook-events-BQw73jc7.mjs";
|
|
|
10
10
|
import "../scheduled-publish-eCNGpvNm.mjs";
|
|
11
11
|
import "../public-url-CEC1vj02.mjs";
|
|
12
12
|
import "../validate-DUscf6VG.mjs";
|
|
13
|
-
import "../byline-fields-
|
|
13
|
+
import "../byline-fields-B7pQ3LMi.mjs";
|
|
14
14
|
import "../types-BJztoTbF.mjs";
|
|
15
15
|
import { DinewayClient, PluginRequestOptions } from "../client/index.mjs";
|
|
16
16
|
import { SubCommandsDef } from "citty";
|
package/dist/cli/plugin-kit.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as output, t as configureOutputMode } from "../output-
|
|
1
|
+
import { n as output, t as configureOutputMode } from "../output-B1GiXeT8.mjs";
|
|
2
2
|
import { n as connectionArgs, r as createClientFromArgs } from "../client-factory-BLbm250o.mjs";
|
|
3
3
|
|
|
4
4
|
export { configureOutputMode, connectionArgs, createClientFromArgs, output };
|
package/dist/client/index.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
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-0gRlZbhN.mjs";
|
|
2
2
|
import "../types-Dpv_MvwZ.mjs";
|
|
3
3
|
import "../runner-DXQkyPeX.mjs";
|
|
4
4
|
import "../index-CLj17kW9.mjs";
|
|
@@ -10,7 +10,7 @@ import "../hook-events-BQw73jc7.mjs";
|
|
|
10
10
|
import "../scheduled-publish-eCNGpvNm.mjs";
|
|
11
11
|
import "../public-url-CEC1vj02.mjs";
|
|
12
12
|
import "../validate-DUscf6VG.mjs";
|
|
13
|
-
import "../byline-fields-
|
|
13
|
+
import "../byline-fields-B7pQ3LMi.mjs";
|
|
14
14
|
import "../types-BJztoTbF.mjs";
|
|
15
15
|
import { a as tokenInterceptor, i as devBypassInterceptor, n as createTransport, r as csrfInterceptor, t as Interceptor } from "../transport-CVU5rp7W.mjs";
|
|
16
16
|
import { n as markdownToPortableText, r as portableTextToMarkdown, t as PortableTextBlock } from "../portable-text-HNmwL-7L.mjs";
|
package/dist/client/index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { i as portableTextToMarkdown, n as convertDataForWrite, r as markdownToPortableText, t as convertDataForRead } from "../portable-text-
|
|
2
|
-
import { a as tokenInterceptor, i as refreshInterceptor, n as csrfInterceptor, r as devBypassInterceptor, t as createTransport } from "../transport-
|
|
1
|
+
import { i as portableTextToMarkdown, n as convertDataForWrite, r as markdownToPortableText, t as convertDataForRead } from "../portable-text-p0Ojfpfo.mjs";
|
|
2
|
+
import { a as tokenInterceptor, i as refreshInterceptor, n as csrfInterceptor, r as devBypassInterceptor, t as createTransport } from "../transport-BK_me2MZ.mjs";
|
|
3
3
|
import mime from "mime/lite";
|
|
4
4
|
|
|
5
5
|
//#region src/client/index.ts
|
|
@@ -7,9 +7,9 @@ import { a as hydrateContentRows, d as contentPartitionWritable, r as getContent
|
|
|
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
9
|
import { o as invalidateCollectionCache } from "./object-cache-DyI1SOBK.mjs";
|
|
10
|
-
import { i as storedContentSeo, r as snapshotOwnedContentMetadata, t as contentEventBylines } from "./owned-metadata-
|
|
10
|
+
import { i as storedContentSeo, r as snapshotOwnedContentMetadata, t as contentEventBylines } from "./owned-metadata-C99DzQuq.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-DlxUfOD5.mjs";
|
|
13
13
|
import { sql } from "kysely";
|
|
14
14
|
import { ulid } from "ulidx";
|
|
15
15
|
import { z } from "zod";
|
|
@@ -2,7 +2,7 @@ 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
4
|
import { a as hydrateContentRows } from "./runtime-Ch5G-tnG.mjs";
|
|
5
|
-
import { t as readRevisionData } from "./revisions-
|
|
5
|
+
import { t as readRevisionData } from "./revisions-qNkae-Dq.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";
|
|
@@ -8,6 +8,19 @@ import * as kysely from "kysely";
|
|
|
8
8
|
import { Kysely } from "kysely";
|
|
9
9
|
import { z } from "zod";
|
|
10
10
|
|
|
11
|
+
//#region src/content-storage/revisions.d.ts
|
|
12
|
+
declare function readRevisionData<DB>(db: Kysely<DB>, row: {
|
|
13
|
+
collection: string;
|
|
14
|
+
entry_id: string;
|
|
15
|
+
data: string;
|
|
16
|
+
}): Promise<Record<string, unknown>>;
|
|
17
|
+
/** Keep revision history and comparisons bounded by store batches, not revision count. */
|
|
18
|
+
declare function readRevisionDataBatch<DB>(db: Kysely<DB>, rows: readonly {
|
|
19
|
+
collection: string;
|
|
20
|
+
entry_id: string;
|
|
21
|
+
data: string;
|
|
22
|
+
}[], fields?: readonly string[]): Promise<Record<string, unknown>[]>;
|
|
23
|
+
//#endregion
|
|
11
24
|
//#region src/content-storage/config-migration.d.ts
|
|
12
25
|
/** Explicit deployment step. Mapping changes retain the source until its data migration completes. */
|
|
13
26
|
declare function migrateContentStorageConfig<DB>(db: Kysely<DB>, previous: ContentStorageConfig, next: ContentStorageConfig): Promise<void>;
|
|
@@ -177,4 +190,4 @@ declare function completeContentMigration(db: Kysely<Database>, migration: Conte
|
|
|
177
190
|
/** Restore the archived source only before writes have reopened. Never deletes either copy. */
|
|
178
191
|
declare function rollbackContentMigration(db: Kysely<Database>, migration: ContentMigrationIdentity, archive: ContentMigrationArchive): Promise<void>;
|
|
179
192
|
//#endregion
|
|
180
|
-
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, contentStoreCollectionSchema, contentStoreRequestSchema, contentVersionSchema, freezeContentPartition, getContentStorage, hydrateContentRows, installContentStorageConfig, installContentVersionStore, migrateContentStorageConfig, readContentPartitionRoute, registerContentStorage, resolveContentPartition, rollbackContentMigration, stageContentMigrationEntry, validateContentStorage, verifyContentMigration };
|
|
193
|
+
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, contentStoreCollectionSchema, contentStoreRequestSchema, contentVersionSchema, freezeContentPartition, getContentStorage, hydrateContentRows, installContentStorageConfig, installContentVersionStore, migrateContentStorageConfig, readContentPartitionRoute, readRevisionData, readRevisionDataBatch, registerContentStorage, resolveContentPartition, rollbackContentMigration, stageContentMigrationEntry, validateContentStorage, verifyContentMigration };
|
|
@@ -2,28 +2,28 @@ 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-6R0bchVE.mjs";
|
|
4
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-Ch5G-tnG.mjs";
|
|
5
|
-
import "../revisions-
|
|
5
|
+
import { n as readRevisionDataBatch, t as readRevisionData } from "../revisions-qNkae-Dq.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-BNeuaVCS.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
14
|
import "../object-cache-DyI1SOBK.mjs";
|
|
15
|
-
import "../byline-
|
|
16
|
-
import "../owned-metadata-
|
|
17
|
-
import "../revision-
|
|
15
|
+
import "../byline-uuVB2B3E.mjs";
|
|
16
|
+
import "../owned-metadata-C99DzQuq.mjs";
|
|
17
|
+
import "../revision-DlxUfOD5.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-43KZZ7dz.mjs";
|
|
22
22
|
import "../text-extraction-CdqMGYQK.mjs";
|
|
23
23
|
import { a as contentVersionSchema, i as contentStoreRequestSchema, n as assertContentVersionStore, o as installContentVersionStore, r as contentStoreCollectionSchema, t as ContentVersionStore } from "../version-store-BXv2D0de.mjs";
|
|
24
24
|
import "../write-intent-DuHVqks9.mjs";
|
|
25
|
-
import "../seo-
|
|
25
|
+
import "../seo-uliFa7s-.mjs";
|
|
26
26
|
import "../content-Dr22fzA_.mjs";
|
|
27
|
-
import { a as verifyContentMigration, c as contentMigrationSnapshotSchema, i as stageContentMigrationEntry, l as migrateContentStorageConfig, n as completeContentMigration, o as bootstrapContentDirectoryPage, r as rollbackContentMigration, s as captureContentMigrationSnapshot, t as activateContentMigrationEntry } from "../migration-
|
|
27
|
+
import { a as verifyContentMigration, c as contentMigrationSnapshotSchema, i as stageContentMigrationEntry, l as migrateContentStorageConfig, n as completeContentMigration, o as bootstrapContentDirectoryPage, r as rollbackContentMigration, s as captureContentMigrationSnapshot, t as activateContentMigrationEntry } from "../migration-D9OY6vI9.mjs";
|
|
28
28
|
|
|
29
|
-
export { ContentStorageCoordinator, ContentStorageError, ContentStorageReplay, ContentVersionStore, activateContentMigrationEntry, assertContentStorageConfiguration, assertContentVersionStore, beginContentMigration, bootstrapContentDirectoryPage, cancelContentMigration, canonicalContentJson, captureContentMigrationSnapshot, completeContentMigration, contentDigest, contentMigrationSnapshotSchema, contentStoreCollectionSchema, contentStoreRequestSchema, contentVersionSchema, freezeContentPartition, getContentStorage, hydrateContentRows, installContentStorageConfig, installContentVersionStore, migrateContentStorageConfig, readContentPartitionRoute, registerContentStorage, resolveContentPartition, rollbackContentMigration, stageContentMigrationEntry, validateContentStorage, verifyContentMigration };
|
|
29
|
+
export { ContentStorageCoordinator, ContentStorageError, ContentStorageReplay, ContentVersionStore, activateContentMigrationEntry, assertContentStorageConfiguration, assertContentVersionStore, beginContentMigration, bootstrapContentDirectoryPage, cancelContentMigration, canonicalContentJson, captureContentMigrationSnapshot, completeContentMigration, contentDigest, contentMigrationSnapshotSchema, contentStoreCollectionSchema, contentStoreRequestSchema, contentVersionSchema, freezeContentPartition, getContentStorage, hydrateContentRows, installContentStorageConfig, installContentVersionStore, migrateContentStorageConfig, readContentPartitionRoute, readRevisionData, readRevisionDataBatch, registerContentStorage, resolveContentPartition, rollbackContentMigration, stageContentMigrationEntry, validateContentStorage, verifyContentMigration };
|
|
@@ -5,17 +5,17 @@ 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-6R0bchVE.mjs";
|
|
7
7
|
import { d as contentPartitionWritable, p as readContentPartitionRoute, r as getContentStorage } from "./runtime-Ch5G-tnG.mjs";
|
|
8
|
-
import { n as readRevisionDataBatch, r as storedRevisionIndex, t as readRevisionData } from "./revisions-
|
|
8
|
+
import { n as readRevisionDataBatch, r as storedRevisionIndex, t as readRevisionData } from "./revisions-qNkae-Dq.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-BNeuaVCS.mjs";
|
|
13
13
|
import { r as requestCached } from "./request-cache-CizvDoxV.mjs";
|
|
14
14
|
import { o as invalidateCollectionCache, s as invalidateCommentObjectCache } from "./object-cache-DyI1SOBK.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-uuVB2B3E.mjs";
|
|
17
|
+
import { i as storedContentSeo, r as snapshotOwnedContentMetadata, t as contentEventBylines } from "./owned-metadata-C99DzQuq.mjs";
|
|
18
|
+
import { t as RevisionRepository } from "./revision-DlxUfOD5.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";
|
|
@@ -24,7 +24,7 @@ import { r as parseAllowedMimeTypes, t as matchesMimeAllowlist } from "./mime-Fk
|
|
|
24
24
|
import { n as extractSearchableFields } from "./text-extraction-CdqMGYQK.mjs";
|
|
25
25
|
import { a as contentVersionSchema } from "./version-store-BXv2D0de.mjs";
|
|
26
26
|
import { r as markContentWriteReplay, t as beginContentWriteIntent } from "./write-intent-DuHVqks9.mjs";
|
|
27
|
-
import { t as SeoRepository } from "./seo-
|
|
27
|
+
import { t as SeoRepository } from "./seo-uliFa7s-.mjs";
|
|
28
28
|
import { sql } from "kysely";
|
|
29
29
|
import { ulid } from "ulidx";
|
|
30
30
|
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-
|
|
6
|
+
import { t as ContentRepository } from "./content-BNeuaVCS.mjs";
|
|
7
7
|
import { o as invalidateCollectionCache } from "./object-cache-DyI1SOBK.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-uliFa7s-.mjs";
|
|
13
|
+
import { o as prepareContentMediaUsageCollectionStale } from "./content-refresh-D7wpVFJ_.mjs";
|
|
14
14
|
import { a as validateExternalUrl, i as stripCredentialHeaders, t as SsrfError } from "./ssrf-DcD8vn3E.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-D3AmDdpQ.mjs";
|
|
2
|
+
import { i as parseSiteBriefingScope, m as ContextRepository, n as SiteBriefingError } from "./briefing-CaeEFvkD.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-BNeuaVCS.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,4 +1,4 @@
|
|
|
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-0gRlZbhN.mjs";
|
|
2
2
|
import "../../types-Dpv_MvwZ.mjs";
|
|
3
3
|
import "../../runner-DXQkyPeX.mjs";
|
|
4
4
|
import "../../index-CLj17kW9.mjs";
|
|
@@ -10,7 +10,7 @@ import "../../hook-events-BQw73jc7.mjs";
|
|
|
10
10
|
import "../../scheduled-publish-eCNGpvNm.mjs";
|
|
11
11
|
import "../../public-url-CEC1vj02.mjs";
|
|
12
12
|
import "../../validate-DUscf6VG.mjs";
|
|
13
|
-
import "../../byline-fields-
|
|
13
|
+
import "../../byline-fields-B7pQ3LMi.mjs";
|
|
14
14
|
import "../../types-BJztoTbF.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-BAjF60cl.mjs";
|
|
5
|
-
import "../../state-
|
|
6
|
-
import { n as compileD1Schema, t as migrateD1Release } from "../../release-
|
|
5
|
+
import "../../state-ClG1I4wl.mjs";
|
|
6
|
+
import { n as compileD1Schema, t as migrateD1Release } from "../../release-D615eKav.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-BnqYofSK.mjs";
|
|
4
|
-
import { n as SchemaRegistry } from "./registry-
|
|
4
|
+
import { n as SchemaRegistry } from "./registry-B-HULaJI.mjs";
|
|
5
5
|
import { t as resolveContentUrl } from "./public-url-BHjYWuaN.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-CaeEFvkD.mjs";
|
|
5
5
|
import { n as sha256, s as readBoundedBytes } from "./runs-BjgLfqCn.mjs";
|
|
6
|
-
import { c as loadContentMediaUsageFields } from "./content-refresh-
|
|
6
|
+
import { c as loadContentMediaUsageFields } from "./content-refresh-D7wpVFJ_.mjs";
|
|
7
7
|
import { r as ssrfSafeFetch } from "./ssrf-DcD8vn3E.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-D3AmDdpQ.mjs";
|
|
2
2
|
import { t as ExperimentalSiteContextWorkflowDisabledError } from "./experimental-workflows-CPNiI2EL.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-D3AmDdpQ.mjs";
|
|
3
3
|
import { t as apiError } from "./error-sL4aemcW.mjs";
|
|
4
4
|
import { p as logSiteActivitySafely } from "./activity-events-DkHsy7Y0.mjs";
|
|
5
5
|
import { t as ExperimentalSiteContextWorkflowDisabledError } from "./experimental-workflows-CPNiI2EL.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-B8w8F2Cs.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-DcD8vn3E.mjs";
|
|
5
|
-
import { o as invalidateSiteSettingsCache } from "./settings-
|
|
5
|
+
import { o as invalidateSiteSettingsCache } from "./settings-DDOB3gW1.mjs";
|
|
6
6
|
import { n as resolveLocaleChain } from "./resolve-BxFGSKYu.mjs";
|
|
7
|
-
import { l as invalidateTermCache } from "./taxonomies-
|
|
7
|
+
import { l as invalidateTermCache } from "./taxonomies-BI26Bk-M.mjs";
|
|
8
8
|
import { n as parseWxrString } from "./parser-CTlxybRo.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-CklSLz9F.mjs";
|
|
10
10
|
import { ulid } from "ulidx";
|