dineway 0.2.44 → 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-Dz33hkaL.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 +22 -22
- package/dist/astro/routes/api/admin/context/_id_/supersede.mjs +22 -22
- package/dist/astro/routes/api/admin/context/diff.mjs +22 -22
- package/dist/astro/routes/api/admin/context/index.mjs +22 -22
- 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 +60 -60
- 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-LAgJ9PSU.d.mts → byline-fields-D6EXp7_j.d.mts} +27 -27
- 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 +26 -24
- package/dist/cli/plugin-kit.d.mts +3 -3
- package/dist/cli/plugin-kit.mjs +1 -1
- package/dist/client/index.d.mts +3 -3
- package/dist/client/index.mjs +2 -2
- package/dist/{comment-CbGlRPPS.mjs → comment-BTt78k0n.mjs} +1 -1
- package/dist/{comments-CaCApohz.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 +11 -3
- package/dist/content-storage/index.mjs +12 -12
- 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-DIiMrXaP.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-C9nW8q7f.mjs → migration-BhVzGnj0.mjs} +67 -27
- 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-DU2EdwT0.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/{forgeway-account-B-z2_ZOQ.mjs → forgeway-account-CVSG1imu.mjs} +0 -0
- /package/dist/{mode-BoM5FjH7.mjs → mode-C3RI5Z5t.mjs} +0 -0
- /package/dist/{output-4F_wq70p.mjs → output-TGkiEMQF.mjs} +0 -0
- /package/dist/{policy-BL8yj6uD.mjs → policy-DbceGc4P.mjs} +0 -0
- /package/dist/{portable-text-DeJeHr_T.mjs → portable-text-CJ9v0T_j.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/{transport-DHTeMsJG.mjs → transport-C_bzEHB4.mjs} +0 -0
- /package/dist/{workers-build-Bd4w1aw9.mjs → workers-build-4926MPc0.mjs} +0 -0
package/dist/page/index.d.mts
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { Dt as PublicPageSchema, Et as PublicPageImage, F as PageMetadataContribution, M as PageFragmentContribution, Ot as PublicSchemaNode, Tt as PublicPageContext } from "../types-
|
|
1
|
+
import { Dt as PublicPageSchema, Et as PublicPageImage, F as PageMetadataContribution, M as PageFragmentContribution, Ot as PublicSchemaNode, Tt as PublicPageContext } 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
|
-
import { _ as CreatePublicPageContextInput, a as generateSiteSeoContributions, c as ResolvedPageMetadata, d as renderPageMetadata, f as resolvePageMetadata, g as resolvePageImage, h as imageMetadataContributions, i as generateBaseSeoContributions, l as createSha256CspHash, m as mergePageSchema, n as buildWebSiteJsonLd, o as renderFragments, p as safeJsonLdSerialize, r as cleanJsonLd, s as resolveFragments, t as buildBlogPostingJsonLd, u as escapeHtmlAttr, v as createPublicPageContext } from "../jsonld-
|
|
15
|
+
import { _ as CreatePublicPageContextInput, a as generateSiteSeoContributions, c as ResolvedPageMetadata, d as renderPageMetadata, f as resolvePageMetadata, g as resolvePageImage, h as imageMetadataContributions, i as generateBaseSeoContributions, l as createSha256CspHash, m as mergePageSchema, n as buildWebSiteJsonLd, o as renderFragments, p as safeJsonLdSerialize, r as cleanJsonLd, s as resolveFragments, t as buildBlogPostingJsonLd, u as escapeHtmlAttr, v as createPublicPageContext } from "../jsonld-BObNyc22.mjs";
|
|
16
16
|
|
|
17
17
|
//#region src/page/index.d.ts
|
|
18
18
|
/**
|
package/dist/plugin-utils.d.mts
CHANGED
|
@@ -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 { DinewayHandlers } from "./astro/types.mjs";
|
|
16
16
|
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { At as ResolvedPlugin, It as StandardPluginDefinition, ko as PluginDescriptor } from "../types-
|
|
1
|
+
import { At as ResolvedPlugin, It as StandardPluginDefinition, ko as PluginDescriptor } 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
|
|
|
16
16
|
//#region src/plugins/adapt-sandbox-entry.d.ts
|
|
@@ -3,8 +3,8 @@ import { t as readRuntimeEnv } from "./runtime-env-DpYGy4pT.mjs";
|
|
|
3
3
|
import { i as encodeBase64url, n as decodeBase64url } from "./base64-qvSs0Gxy.mjs";
|
|
4
4
|
import { n as chunks, t as SQL_BATCH_SIZE } from "./chunks-Bb56aCtB.mjs";
|
|
5
5
|
import { t as OptionsRepository } from "./options-yFkLUuTw.mjs";
|
|
6
|
-
import { a as setCronTasksEnabled, n as createPluginContext, t as PluginContextFactory } from "./context-
|
|
7
|
-
import { d as HookPipeline, p as resolveExclusiveHooks } from "./briefing-
|
|
6
|
+
import { a as setCronTasksEnabled, n as createPluginContext, t as PluginContextFactory } from "./context-RtLnM2-Z.mjs";
|
|
7
|
+
import { d as HookPipeline, p as resolveExclusiveHooks } from "./briefing-yQgD73g4.mjs";
|
|
8
8
|
import { i as parseEncryptionKeys, t as DinewaySecretsError } from "./secrets-D52WNV_c.mjs";
|
|
9
9
|
import { t as extractRequestMeta } from "./request-meta-DOBXMRX0.mjs";
|
|
10
10
|
import { AsyncLocalStorage } from "node:async_hooks";
|
package/dist/{publication-authorization-CS8WqkzL.mjs → publication-authorization-DBNXaGgH.mjs}
RENAMED
|
@@ -2,15 +2,15 @@ import { AtomicWriteConflict, atomicBatch, isD1Database, rowUnchanged } from "./
|
|
|
2
2
|
import { r as currentIsoTimestampValue } from "./dialect-helpers-C6xtO-Ui.mjs";
|
|
3
3
|
import { i as encodeCursor, r as decodeCursor } from "./types-BI3ULB3A.mjs";
|
|
4
4
|
import { r as getOAuthTokenHash, t as SYSTEM_ACTOR_ID } from "./actor-D0AW80ld.mjs";
|
|
5
|
-
import { r as prepareContentLifecycleEvents, t as ContentRepository } from "./content-
|
|
6
|
-
import { o as invalidateCollectionCache } from "./object-cache-
|
|
5
|
+
import { r as prepareContentLifecycleEvents, t as ContentRepository } from "./content-BZBomTNV.mjs";
|
|
6
|
+
import { o as invalidateCollectionCache } from "./object-cache-Ue6kAfzf.mjs";
|
|
7
7
|
import { t as SiteActivityRepository } from "./site-activity-hpfJkmxQ.mjs";
|
|
8
8
|
import { n as stableStringify } from "./stable-hash-9RDJgfif.mjs";
|
|
9
9
|
import { r as ReviewRequestRepository } from "./review-requests-DZYM51yI.mjs";
|
|
10
10
|
import { i as invalidateRedirectCache } from "./cache-DsEbwFVE.mjs";
|
|
11
|
-
import { T as prepareContentPublication } from "./content-write-
|
|
11
|
+
import { T as prepareContentPublication } from "./content-write-Bt_eiX9o.mjs";
|
|
12
12
|
import { n as buildStableActionHash, t as ReviewPayloadBuilder } from "./review-payload-mDJIgcFy.mjs";
|
|
13
|
-
import { a as getSiteSettingsWithDb } from "./settings-
|
|
13
|
+
import { a as getSiteSettingsWithDb } from "./settings-Bc2eQPR6.mjs";
|
|
14
14
|
import { n as redactActivityRecord } from "./activity-lyE6xCrf.mjs";
|
|
15
15
|
import { sql } from "kysely";
|
|
16
16
|
import { ulid } from "ulidx";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { r as getDb } from "./loader
|
|
1
|
+
import { r as getDb } from "./loader--zFg6meV.mjs";
|
|
2
2
|
import { r as requestCached } from "./request-cache-CizvDoxV.mjs";
|
|
3
|
-
import { n as cachedQuery, t as CacheNamespace } from "./object-cache-
|
|
4
|
-
import { n as SchemaRegistry } from "./registry-
|
|
3
|
+
import { n as cachedQuery, t as CacheNamespace } from "./object-cache-Ue6kAfzf.mjs";
|
|
4
|
+
import { n as SchemaRegistry } from "./registry-DEKqjKIM.mjs";
|
|
5
5
|
|
|
6
6
|
//#region src/schema/query.ts
|
|
7
7
|
/**
|
|
@@ -2,9 +2,9 @@ import { c as __exportAll } from "./runner-CuG8o1uW.mjs";
|
|
|
2
2
|
import { getRequestContext } from "./request-context.mjs";
|
|
3
3
|
import { n as getI18nConfig, r as isI18nEnabled, t as getFallbackChain } from "./config-XW5tMrH8.mjs";
|
|
4
4
|
import { i as encodeCursor } from "./types-BI3ULB3A.mjs";
|
|
5
|
-
import { o as isMissingTableError, s as takeLiveCollectionMeta, t as CURSOR_RAW_VALUES } from "./loader
|
|
5
|
+
import { o as isMissingTableError, s as takeLiveCollectionMeta, t as CURSOR_RAW_VALUES } from "./loader--zFg6meV.mjs";
|
|
6
6
|
import { r as requestCached } from "./request-cache-CizvDoxV.mjs";
|
|
7
|
-
import { i as contentNamespaces, n as cachedQuery, u as invalidateSchemaObjectCache } from "./object-cache-
|
|
7
|
+
import { i as contentNamespaces, n as cachedQuery, u as invalidateSchemaObjectCache } from "./object-cache-Ue6kAfzf.mjs";
|
|
8
8
|
|
|
9
9
|
//#region src/visual-editing/editable.ts
|
|
10
10
|
/**
|
|
@@ -597,7 +597,7 @@ async function hydrateEntryBylines(type, entries) {
|
|
|
597
597
|
let needsQueryPath = parsed.some((item) => item.credits.length === 0 && (dataStr(item.data, "authorId") !== "" || dataStr(item.data, "primaryBylineId") !== ""));
|
|
598
598
|
let hasCustomFields = false;
|
|
599
599
|
if (!needsQueryPath) try {
|
|
600
|
-
const { getDb } = await import("./loader
|
|
600
|
+
const { getDb } = await import("./loader--zFg6meV.mjs").then((n) => n.i);
|
|
601
601
|
const db = await getDb();
|
|
602
602
|
const { getBylineFieldDefs } = await import("./field-defs-cache-dn5Tw79A.mjs").then((n) => n.t);
|
|
603
603
|
hasCustomFields = (await getBylineFieldDefs(db)).length > 0;
|
|
@@ -613,7 +613,7 @@ async function hydrateEntryBylines(type, entries) {
|
|
|
613
613
|
}
|
|
614
614
|
}
|
|
615
615
|
try {
|
|
616
|
-
const { getBylinesForEntries } = await import("./bylines-
|
|
616
|
+
const { getBylinesForEntries } = await import("./bylines-ZRvo3-j0.mjs").then((n) => n.t);
|
|
617
617
|
const refs = entries.map((entry) => {
|
|
618
618
|
const data = entryData(entry);
|
|
619
619
|
const id = dataStr(data, "id");
|
|
@@ -671,12 +671,12 @@ async function hydrateEntryTerms(type, entries, locale) {
|
|
|
671
671
|
byTaxonomy: grouped
|
|
672
672
|
});
|
|
673
673
|
}
|
|
674
|
-
const { primeFoldedEntryTerms } = await import("./taxonomies-
|
|
674
|
+
const { primeFoldedEntryTerms } = await import("./taxonomies-CVe1PGaO.mjs").then((n) => n.u);
|
|
675
675
|
primeFoldedEntryTerms(type, perEntry, { locale });
|
|
676
676
|
return;
|
|
677
677
|
}
|
|
678
678
|
try {
|
|
679
|
-
const { getAllTermsForEntries } = await import("./taxonomies-
|
|
679
|
+
const { getAllTermsForEntries } = await import("./taxonomies-CVe1PGaO.mjs").then((n) => n.u);
|
|
680
680
|
const ids = entries.map((entry) => dataStr(entryData(entry), "id")).filter(Boolean);
|
|
681
681
|
if (ids.length === 0) return;
|
|
682
682
|
const termsMap = await getAllTermsForEntries(type, ids, { locale });
|
|
@@ -710,9 +710,9 @@ async function hydrateEntryTerms(type, entries, locale) {
|
|
|
710
710
|
*/
|
|
711
711
|
async function getTranslations(type, id) {
|
|
712
712
|
try {
|
|
713
|
-
const db = (await import("./loader
|
|
713
|
+
const db = (await import("./loader--zFg6meV.mjs").then((n) => n.i)).getDb;
|
|
714
714
|
const dbInstance = await db();
|
|
715
|
-
const { ContentRepository } = await import("./content-
|
|
715
|
+
const { ContentRepository } = await import("./content-BZBomTNV.mjs").then((n) => n.n);
|
|
716
716
|
const repo = new ContentRepository(dbInstance);
|
|
717
717
|
const item = await repo.findByIdOrSlug(type, id);
|
|
718
718
|
if (!item) return {
|
|
@@ -780,8 +780,8 @@ async function resolveDinewayPath(path) {
|
|
|
780
780
|
const hasDbOverride = !!getRequestContext()?.db && getRequestContext()?.dbIsIsolated !== false;
|
|
781
781
|
let patterns = !hasDbOverride ? cachedUrlPatterns : null;
|
|
782
782
|
if (!patterns) {
|
|
783
|
-
const { getDb } = await import("./loader
|
|
784
|
-
const { SchemaRegistry } = await import("./registry-
|
|
783
|
+
const { getDb } = await import("./loader--zFg6meV.mjs").then((n) => n.i);
|
|
784
|
+
const { SchemaRegistry } = await import("./registry-DEKqjKIM.mjs").then((n) => n.r);
|
|
785
785
|
patterns = (await new SchemaRegistry(await getDb()).listCollections()).filter((collection) => collection.urlPattern).map((collection) => {
|
|
786
786
|
const { regex, paramNames } = patternToRegex(collection.urlPattern);
|
|
787
787
|
return {
|
|
@@ -6,7 +6,7 @@ import { n as contentLocaleUpdatedIndexName, t as contentLocaleCreatedIndexName
|
|
|
6
6
|
import { a as RESERVED_COLLECTION_SLUGS, o as RESERVED_FIELD_SLUGS, r as FIELD_TYPE_TO_COLUMN } from "./types-BgUxCuwu.mjs";
|
|
7
7
|
import { n as chunks, t as SQL_BATCH_SIZE } from "./chunks-Bb56aCtB.mjs";
|
|
8
8
|
import { t as buildStableHash } from "./stable-hash-9RDJgfif.mjs";
|
|
9
|
-
import { a as markContentMediaUsageCollectionStaleSafely, n as deleteContentMediaUsageCollection } from "./content-refresh-
|
|
9
|
+
import { a as markContentMediaUsageCollectionStaleSafely, n as deleteContentMediaUsageCollection } from "./content-refresh-DbGFLB3p.mjs";
|
|
10
10
|
import { r as parseSearchConfig, t as FTSManager } from "./fts-manager-BHwhq1lC.mjs";
|
|
11
11
|
import { t as parsePublicDiscoveryRules } from "./public-discovery-CGRirTJH.mjs";
|
|
12
12
|
import { sql } from "kysely";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { s as migrateD1, t as MIGRATION_NAMES } from "./runner-CuG8o1uW.mjs";
|
|
2
2
|
import { atomicBatch, ensureAtomicBatchSchema, isD1Database } from "./database/batch.mjs";
|
|
3
3
|
import { t as pluginMigrationTableNames } from "./migrations-DTCIQJ2_.mjs";
|
|
4
|
-
import { n as d1ReleaseRevision } from "./state-
|
|
4
|
+
import { n as d1ReleaseRevision } from "./state-CKkqoA6i.mjs";
|
|
5
5
|
import { randomUUID } from "node:crypto";
|
|
6
6
|
import { CompiledQuery, sql } from "kysely";
|
|
7
7
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as RejectedReviewContentError, r as ReviewRequestRepository } from "./review-requests-DZYM51yI.mjs";
|
|
2
|
-
import { r as submitAutomatedReview, t as ReviewSubmissionError } from "./submission-
|
|
2
|
+
import { r as submitAutomatedReview, t as ReviewSubmissionError } from "./submission-BNP2Sc3O.mjs";
|
|
3
3
|
|
|
4
4
|
//#region src/api/handlers/review-requests.ts
|
|
5
5
|
async function handleReviewRequestCreate(db, handlers, input) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { atomicBatch } from "./database/batch.mjs";
|
|
2
2
|
import { t as validateIdentifier } from "./validate-Co3j6T_K.mjs";
|
|
3
|
-
import { g as contentPartitionWritable, r as getContentStorage } from "./runtime-
|
|
4
|
-
import { n as readRevisionDataBatch, t as readRevisionData } from "./revisions-
|
|
3
|
+
import { g as contentPartitionWritable, r as getContentStorage } from "./runtime-BLoyGKUx.mjs";
|
|
4
|
+
import { n as readRevisionDataBatch, t as readRevisionData } from "./revisions-CQZI886L.mjs";
|
|
5
5
|
import { t as DinewayValidationError } from "./types-BI3ULB3A.mjs";
|
|
6
6
|
import { sql } from "kysely";
|
|
7
7
|
import { monotonicFactory } from "ulidx";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { o as ContentStorageError } from "./config---A7Bg68.mjs";
|
|
2
|
-
import { r as getContentStorage } from "./runtime-
|
|
2
|
+
import { r as getContentStorage } from "./runtime-BLoyGKUx.mjs";
|
|
3
3
|
import { z } from "zod";
|
|
4
4
|
|
|
5
5
|
//#region src/content-storage/revisions.ts
|
|
@@ -420,6 +420,33 @@ var ContentStorageCoordinator = class {
|
|
|
420
420
|
}
|
|
421
421
|
};
|
|
422
422
|
|
|
423
|
+
//#endregion
|
|
424
|
+
//#region src/content-storage/public-version-cache.ts
|
|
425
|
+
const values = /* @__PURE__ */ new Map();
|
|
426
|
+
const MAX_UNITS = 2 * 1024 * 1024;
|
|
427
|
+
let units = 0;
|
|
428
|
+
function cachedPublicVersion(key) {
|
|
429
|
+
const value = values.get(key);
|
|
430
|
+
if (value === void 0) return void 0;
|
|
431
|
+
values.delete(key);
|
|
432
|
+
values.set(key, value);
|
|
433
|
+
return JSON.parse(value);
|
|
434
|
+
}
|
|
435
|
+
function rememberPublicVersion(key, version) {
|
|
436
|
+
if (values.has(key)) return;
|
|
437
|
+
const value = JSON.stringify(version);
|
|
438
|
+
const size = key.length + value.length;
|
|
439
|
+
if (size > MAX_UNITS / 8) return;
|
|
440
|
+
while (values.size && (units + size > MAX_UNITS || values.size >= 512)) {
|
|
441
|
+
const oldest = values.entries().next().value;
|
|
442
|
+
if (!oldest) break;
|
|
443
|
+
units -= oldest[0].length + oldest[1].length;
|
|
444
|
+
values.delete(oldest[0]);
|
|
445
|
+
}
|
|
446
|
+
values.set(key, value);
|
|
447
|
+
units += size;
|
|
448
|
+
}
|
|
449
|
+
|
|
423
450
|
//#endregion
|
|
424
451
|
//#region src/content-storage/system-fields.ts
|
|
425
452
|
/** Primary directory metadata cannot be overwritten by a remote content payload. */
|
|
@@ -497,7 +524,7 @@ function getContentStorage(db, collection) {
|
|
|
497
524
|
};
|
|
498
525
|
}
|
|
499
526
|
/** Resolve a bounded primary-index page in bulk, retaining the selected metadata and order. */
|
|
500
|
-
async function hydrateContentRows(db, collection, rows, fields) {
|
|
527
|
+
async function hydrateContentRows(db, collection, rows, fields, publicLoaderRead = false) {
|
|
501
528
|
const storage = getContentStorage(db, collection);
|
|
502
529
|
if (!storage || !rows.length) return;
|
|
503
530
|
const byId = new Map(rows.filter((row) => typeof row.id === "string").map((row) => [String(row.id), row]));
|
|
@@ -523,8 +550,42 @@ async function hydrateContentRows(db, collection, rows, fields) {
|
|
|
523
550
|
digest: row.digest
|
|
524
551
|
})));
|
|
525
552
|
}
|
|
526
|
-
const
|
|
527
|
-
const
|
|
553
|
+
const selected = fields?.filter((field) => !CONTENT_SYSTEM_FIELDS.has(field) && !field.startsWith("_"));
|
|
554
|
+
const context = getRequestContext();
|
|
555
|
+
const allowCache = publicLoaderRead && context && !context.editMode && !context.preview && !context.writePrincipal && context.databaseMode !== "primary";
|
|
556
|
+
const projection = selected ? [...new Set(selected)].toSorted() : null;
|
|
557
|
+
const missing = [];
|
|
558
|
+
const keys = /* @__PURE__ */ new Map();
|
|
559
|
+
const byEntry = /* @__PURE__ */ new Map();
|
|
560
|
+
for (const location of locations) {
|
|
561
|
+
const row = byId.get(location.entryId);
|
|
562
|
+
const identity = storage.runtime.config.stores[location.store]?.identity;
|
|
563
|
+
if (identity && allowCache && row.status === "published" && row.live_revision_id && row.draft_revision_id === null) {
|
|
564
|
+
const key = JSON.stringify([
|
|
565
|
+
identity,
|
|
566
|
+
location.routingVersion,
|
|
567
|
+
location.store,
|
|
568
|
+
location.partition,
|
|
569
|
+
collection,
|
|
570
|
+
location.entryId,
|
|
571
|
+
location.version,
|
|
572
|
+
location.digest,
|
|
573
|
+
projection
|
|
574
|
+
]);
|
|
575
|
+
keys.set(location.entryId, key);
|
|
576
|
+
const cached = cachedPublicVersion(key);
|
|
577
|
+
if (cached) {
|
|
578
|
+
byEntry.set(location.entryId, cached);
|
|
579
|
+
continue;
|
|
580
|
+
}
|
|
581
|
+
}
|
|
582
|
+
missing.push(location);
|
|
583
|
+
}
|
|
584
|
+
for (const version of await storage.coordinator.readLocations(missing, selected)) {
|
|
585
|
+
byEntry.set(version.command.entryId, version);
|
|
586
|
+
const key = keys.get(version.command.entryId);
|
|
587
|
+
if (key) rememberPublicVersion(key, version);
|
|
588
|
+
}
|
|
528
589
|
for (const row of rows) {
|
|
529
590
|
const version = byEntry.get(String(row.id));
|
|
530
591
|
if (!version) continue;
|
|
@@ -40,6 +40,6 @@ declare function getContentStorage<DB>(db: Kysely<DB>, collection: string): {
|
|
|
40
40
|
coordinator: ContentStorageCoordinator<DB>;
|
|
41
41
|
} | undefined;
|
|
42
42
|
/** Resolve a bounded primary-index page in bulk, retaining the selected metadata and order. */
|
|
43
|
-
declare function hydrateContentRows<DB>(db: Kysely<DB>, collection: string, rows: Record<string, unknown>[], fields?: readonly string[]): Promise<void>;
|
|
43
|
+
declare function hydrateContentRows<DB>(db: Kysely<DB>, collection: string, rows: Record<string, unknown>[], fields?: readonly string[], publicLoaderRead?: boolean): Promise<void>;
|
|
44
44
|
//#endregion
|
|
45
45
|
export { registerContentStorage as a, hydrateContentRows as i, assertContentStorageConfiguration as n, ContentStorageCoordinator as o, getContentStorage as r, installContentStorageConfig as s, ContentStorageRuntime as t };
|
package/dist/runtime.d.mts
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { $s as getDb, Js as EntryData, Qs as dinewayLoader, Ys as EntryFilter, qs as CollectionFilter } from "./types-
|
|
1
|
+
import { $s as getDb, Js as EntryData, Qs as dinewayLoader, Ys as EntryFilter, qs as CollectionFilter } 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 { withPrimaryDatabase } from "./request-context.mjs";
|
|
15
15
|
import "./types-BuplUVZ4.mjs";
|
|
16
16
|
import { t as getMediaProvider } from "./provider-loader-Dl8SscrT.mjs";
|
package/dist/runtime.mjs
CHANGED
|
@@ -2,12 +2,12 @@ import { withPrimaryDatabase } from "./request-context.mjs";
|
|
|
2
2
|
import "./d1-binding-DrLMBUxu.mjs";
|
|
3
3
|
import "./dialect-helpers-C6xtO-Ui.mjs";
|
|
4
4
|
import "./config---A7Bg68.mjs";
|
|
5
|
-
import "./runtime-
|
|
6
|
-
import "./revisions-
|
|
5
|
+
import "./runtime-BLoyGKUx.mjs";
|
|
6
|
+
import "./revisions-CQZI886L.mjs";
|
|
7
7
|
import "./runtime-env-DpYGy4pT.mjs";
|
|
8
8
|
import "./base64-qvSs0Gxy.mjs";
|
|
9
9
|
import "./types-BI3ULB3A.mjs";
|
|
10
|
-
import { n as dinewayLoader, r as getDb } from "./loader
|
|
10
|
+
import { n as dinewayLoader, r as getDb } from "./loader--zFg6meV.mjs";
|
|
11
11
|
import { t as getMediaProvider } from "./provider-loader-BWu5kGxR.mjs";
|
|
12
12
|
|
|
13
13
|
export { dinewayLoader, getDb, getMediaProvider, withPrimaryDatabase };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { c as __exportAll } from "./runner-CuG8o1uW.mjs";
|
|
2
|
-
import { n as SchemaRegistry } from "./registry-
|
|
2
|
+
import { n as SchemaRegistry } from "./registry-DEKqjKIM.mjs";
|
|
3
3
|
|
|
4
4
|
//#region src/schema/index.ts
|
|
5
5
|
var schema_exports = /* @__PURE__ */ __exportAll({ SchemaRegistry: () => SchemaRegistry });
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { c as __exportAll } from "./runner-CuG8o1uW.mjs";
|
|
2
2
|
import { t as validateIdentifier } from "./validate-Co3j6T_K.mjs";
|
|
3
|
-
import { r as getDb } from "./loader
|
|
3
|
+
import { r as getDb } from "./loader--zFg6meV.mjs";
|
|
4
4
|
import { t as FTSManager } from "./fts-manager-BHwhq1lC.mjs";
|
|
5
5
|
import { sql } from "kysely";
|
|
6
6
|
|
package/dist/seed/index.mjs
CHANGED
|
@@ -1,40 +1,40 @@
|
|
|
1
1
|
import "../d1-binding-DrLMBUxu.mjs";
|
|
2
2
|
import "../dialect-helpers-C6xtO-Ui.mjs";
|
|
3
3
|
import "../config---A7Bg68.mjs";
|
|
4
|
-
import "../runtime-
|
|
5
|
-
import "../revisions-
|
|
4
|
+
import "../runtime-BLoyGKUx.mjs";
|
|
5
|
+
import "../revisions-CQZI886L.mjs";
|
|
6
6
|
import "../runtime-env-DpYGy4pT.mjs";
|
|
7
7
|
import "../base64-qvSs0Gxy.mjs";
|
|
8
8
|
import "../types-BI3ULB3A.mjs";
|
|
9
|
-
import "../loader
|
|
9
|
+
import "../loader--zFg6meV.mjs";
|
|
10
10
|
import "../actor-D0AW80ld.mjs";
|
|
11
11
|
import "../atomic-authority-Bf5QZboB.mjs";
|
|
12
|
-
import "../content-
|
|
12
|
+
import "../content-BZBomTNV.mjs";
|
|
13
13
|
import "../request-cache-CizvDoxV.mjs";
|
|
14
14
|
import "../byline-registry-Caj0_gbU.mjs";
|
|
15
15
|
import "../field-defs-cache-dn5Tw79A.mjs";
|
|
16
|
-
import "../object-cache-
|
|
17
|
-
import "../byline-
|
|
18
|
-
import "../owned-metadata-
|
|
19
|
-
import "../revision-
|
|
16
|
+
import "../object-cache-Ue6kAfzf.mjs";
|
|
17
|
+
import "../byline-BS25s1R-.mjs";
|
|
18
|
+
import "../owned-metadata-bXhDX1WW.mjs";
|
|
19
|
+
import "../revision-BtgwJxxa.mjs";
|
|
20
20
|
import "../media-BjH5OD-A.mjs";
|
|
21
21
|
import "../user-Bl2_8rhJ.mjs";
|
|
22
22
|
import "../terms-EskuqbKE.mjs";
|
|
23
|
-
import "../taxonomy-
|
|
23
|
+
import "../taxonomy-CcyZD5jQ.mjs";
|
|
24
24
|
import "../options-yFkLUuTw.mjs";
|
|
25
25
|
import "../redirect-CJ-FAbNK.mjs";
|
|
26
|
-
import "../content-write-
|
|
26
|
+
import "../content-write-Bt_eiX9o.mjs";
|
|
27
27
|
import "../version-store-DyYULGd3.mjs";
|
|
28
|
-
import "../write-intent-
|
|
29
|
-
import "../seo-
|
|
30
|
-
import "../content-refresh-
|
|
28
|
+
import "../write-intent-CjTERf3N.mjs";
|
|
29
|
+
import "../seo-BQ7R2a1z.mjs";
|
|
30
|
+
import "../content-refresh-DbGFLB3p.mjs";
|
|
31
31
|
import "../ssrf-C7tTSD1r.mjs";
|
|
32
32
|
import "../fts-manager-BHwhq1lC.mjs";
|
|
33
33
|
import "../public-discovery-CGRirTJH.mjs";
|
|
34
|
-
import "../registry-
|
|
35
|
-
import "../settings-
|
|
34
|
+
import "../registry-DEKqjKIM.mjs";
|
|
35
|
+
import "../settings-Bc2eQPR6.mjs";
|
|
36
36
|
import { t as validateSeed } from "../validate-WOW5vZz_.mjs";
|
|
37
|
-
import { t as applySeed } from "../apply-
|
|
37
|
+
import { t as applySeed } from "../apply-Caad3Uh7.mjs";
|
|
38
38
|
import { t as defaultSeed } from "../default-BxRRjN_x.mjs";
|
|
39
39
|
import { n as loadUserSeed, t as loadSeed } from "../load-XTcFS1Dp.mjs";
|
|
40
40
|
|
package/dist/seo/index.mjs
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import "../d1-binding-DrLMBUxu.mjs";
|
|
2
2
|
import "../dialect-helpers-C6xtO-Ui.mjs";
|
|
3
3
|
import "../config---A7Bg68.mjs";
|
|
4
|
-
import "../runtime-
|
|
5
|
-
import "../revisions-
|
|
4
|
+
import "../runtime-BLoyGKUx.mjs";
|
|
5
|
+
import "../revisions-CQZI886L.mjs";
|
|
6
6
|
import "../base64-qvSs0Gxy.mjs";
|
|
7
7
|
import "../types-BI3ULB3A.mjs";
|
|
8
|
-
import "../content-refresh-
|
|
8
|
+
import "../content-refresh-DbGFLB3p.mjs";
|
|
9
9
|
import "../fts-manager-BHwhq1lC.mjs";
|
|
10
10
|
import { i as satisfiesPublicDiscoveryRules } from "../public-discovery-CGRirTJH.mjs";
|
|
11
|
-
import "../registry-
|
|
12
|
-
import { n as resolveCanonicalUrl, t as listPublicContent } from "../discovery-
|
|
11
|
+
import "../registry-DEKqjKIM.mjs";
|
|
12
|
+
import { n as resolveCanonicalUrl, t as listPublicContent } from "../discovery-DNwLsQqJ.mjs";
|
|
13
13
|
import { t as resolveContentUrl } from "../public-url-NCefkiXz.mjs";
|
|
14
14
|
import { t as buildSeoImageUrl } from "../media-url-VHHHoHGL.mjs";
|
|
15
15
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { atomicBatch } from "./database/batch.mjs";
|
|
2
|
-
import { r as getContentStorage } from "./runtime-
|
|
3
|
-
import { o as invalidateCollectionCache } from "./object-cache-
|
|
2
|
+
import { r as getContentStorage } from "./runtime-BLoyGKUx.mjs";
|
|
3
|
+
import { o as invalidateCollectionCache } from "./object-cache-Ue6kAfzf.mjs";
|
|
4
4
|
import { n as chunks, t as SQL_BATCH_SIZE } from "./chunks-Bb56aCtB.mjs";
|
|
5
5
|
import { sql } from "kysely";
|
|
6
6
|
|
|
@@ -108,7 +108,7 @@ var SeoRepository = class {
|
|
|
108
108
|
}
|
|
109
109
|
async upsert(collection, contentId, input) {
|
|
110
110
|
if (getContentStorage(this.db, collection)) {
|
|
111
|
-
const { prepareContentWrite } = await import("./content-write-
|
|
111
|
+
const { prepareContentWrite } = await import("./content-write-Bt_eiX9o.mjs").then((n) => n.t);
|
|
112
112
|
const write = await prepareContentWrite(this.db, collection, {
|
|
113
113
|
id: contentId,
|
|
114
114
|
seo: input,
|
|
@@ -153,8 +153,8 @@ var SeoRepository = class {
|
|
|
153
153
|
}
|
|
154
154
|
async copyForDuplicate(collection, sourceId, targetId) {
|
|
155
155
|
if (getContentStorage(this.db, collection)) {
|
|
156
|
-
const { snapshotOwnedContentMetadata } = await import("./owned-metadata-
|
|
157
|
-
const { prepareContentWrite } = await import("./content-write-
|
|
156
|
+
const { snapshotOwnedContentMetadata } = await import("./owned-metadata-bXhDX1WW.mjs").then((n) => n.n);
|
|
157
|
+
const { prepareContentWrite } = await import("./content-write-Bt_eiX9o.mjs").then((n) => n.t);
|
|
158
158
|
const source = await snapshotOwnedContentMetadata(this.db, collection, sourceId);
|
|
159
159
|
const seo = await this.get(collection, sourceId);
|
|
160
160
|
const write = await prepareContentWrite(this.db, collection, {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as validateIdentifier } from "./validate-Co3j6T_K.mjs";
|
|
2
|
-
import { s as invalidateCommentObjectCache } from "./object-cache-
|
|
3
|
-
import { t as CommentRepository } from "./comment-
|
|
2
|
+
import { s as invalidateCommentObjectCache } from "./object-cache-Ue6kAfzf.mjs";
|
|
3
|
+
import { t as CommentRepository } from "./comment-BTt78k0n.mjs";
|
|
4
4
|
import { t as escapeHtml } from "./escape-BfbDyuQ-.mjs";
|
|
5
5
|
import { sql } from "kysely";
|
|
6
6
|
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { getRequestContext } from "./request-context.mjs";
|
|
2
2
|
import { after } from "./after.mjs";
|
|
3
|
-
import { r as getDb } from "./loader
|
|
3
|
+
import { r as getDb } from "./loader--zFg6meV.mjs";
|
|
4
4
|
import { n as peekRequestCache, r as requestCached } from "./request-cache-CizvDoxV.mjs";
|
|
5
5
|
import { n as invalidateProcessCache, r as processCachedAsync, t as createProcessCache } from "./process-cache-CMy5M80h.mjs";
|
|
6
|
-
import { l as invalidateObjectCache, n as cachedQuery, t as CacheNamespace } from "./object-cache-
|
|
6
|
+
import { l as invalidateObjectCache, n as cachedQuery, t as CacheNamespace } from "./object-cache-Ue6kAfzf.mjs";
|
|
7
7
|
import { t as MediaRepository } from "./media-BjH5OD-A.mjs";
|
|
8
8
|
import { t as OptionsRepository } from "./options-yFkLUuTw.mjs";
|
|
9
9
|
import { i as resolvePublicMediaUrl } from "./url-RhtABurq.mjs";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { c as __exportAll } from "./runner-CuG8o1uW.mjs";
|
|
2
|
-
import { a as getSiteSettingsWithDb, s as setSiteSettings } from "./settings-
|
|
2
|
+
import { a as getSiteSettingsWithDb, s as setSiteSettings } from "./settings-Bc2eQPR6.mjs";
|
|
3
3
|
|
|
4
4
|
//#region src/api/handlers/settings.ts
|
|
5
5
|
var settings_exports = /* @__PURE__ */ __exportAll({
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import { atomicBatch, rowUnchanged } from "./database/batch.mjs";
|
|
2
2
|
import { t as validateIdentifier } from "./validate-Co3j6T_K.mjs";
|
|
3
3
|
import { i as encodeCursor, r as decodeCursor } from "./types-BI3ULB3A.mjs";
|
|
4
|
-
import { t as ContentRepository } from "./content-
|
|
4
|
+
import { t as ContentRepository } from "./content-BZBomTNV.mjs";
|
|
5
5
|
import { t as SiteActivityRepository } from "./site-activity-hpfJkmxQ.mjs";
|
|
6
6
|
import { r as ReviewRequestRepository } from "./review-requests-DZYM51yI.mjs";
|
|
7
|
-
import { o as HitlRequestRepository } from "./publication-authorization-
|
|
7
|
+
import { o as HitlRequestRepository } from "./publication-authorization-DBNXaGgH.mjs";
|
|
8
8
|
import { l as isPattern } from "./cache-DsEbwFVE.mjs";
|
|
9
9
|
import { n as buildStableActionHash, t as ReviewPayloadBuilder } from "./review-payload-mDJIgcFy.mjs";
|
|
10
|
-
import { i as parseSiteBriefingScope, l as handlePluginList, m as ContextRepository } from "./briefing-
|
|
10
|
+
import { i as parseSiteBriefingScope, l as handlePluginList, m as ContextRepository } from "./briefing-yQgD73g4.mjs";
|
|
11
11
|
import { t as FTSManager } from "./fts-manager-BHwhq1lC.mjs";
|
|
12
|
-
import { n as SchemaRegistry } from "./registry-
|
|
13
|
-
import { a as getSiteSettingsWithDb } from "./settings-
|
|
12
|
+
import { n as SchemaRegistry } from "./registry-DEKqjKIM.mjs";
|
|
13
|
+
import { a as getSiteSettingsWithDb } from "./settings-Bc2eQPR6.mjs";
|
|
14
14
|
import { n as assertExperimentalSiteContextWorkflowsEnabled } from "./experimental-workflows-BtKXzyIH.mjs";
|
|
15
15
|
import { m as normalizeUrl } from "./utils-WY63JOPB.mjs";
|
|
16
16
|
import { t as sanitizeWordPressImportSlug } from "./wordpress-slugs-qNcYNJGj.mjs";
|
|
17
|
-
import { a as searchCollection } from "./search
|
|
17
|
+
import { a as searchCollection } from "./search-TXLzVROW.mjs";
|
|
18
18
|
import { sql } from "kysely";
|
|
19
19
|
import { ulid } from "ulidx";
|
|
20
20
|
import { Role } from "@dineway-ai/auth";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { AtomicWriteConflict, atomicBatch, prepareAtomicChecks, rowUnchanged } from "./database/batch.mjs";
|
|
2
2
|
import { n as contentDigest } from "./config---A7Bg68.mjs";
|
|
3
|
-
import { r as getContentStorage } from "./runtime-
|
|
4
|
-
import { t as ContentRepository } from "./content-
|
|
3
|
+
import { r as getContentStorage } from "./runtime-BLoyGKUx.mjs";
|
|
4
|
+
import { t as ContentRepository } from "./content-BZBomTNV.mjs";
|
|
5
5
|
import { t as buildStableHash } from "./stable-hash-9RDJgfif.mjs";
|
|
6
6
|
import { i as isSupersededReview, r as ReviewRequestRepository, t as REVIEW_SUPERSESSION_ACTOR } from "./review-requests-DZYM51yI.mjs";
|
|
7
|
-
import { D as encodeRev, r as preparedContentReview } from "./content-write-
|
|
7
|
+
import { D as encodeRev, r as preparedContentReview } from "./content-write-Bt_eiX9o.mjs";
|
|
8
8
|
import { t as ReviewPayloadBuilder } from "./review-payload-mDJIgcFy.mjs";
|
|
9
|
-
import { i as reviewDraft } from "./evidence-
|
|
9
|
+
import { i as reviewDraft } from "./evidence-D3Tqm_ik.mjs";
|
|
10
10
|
import { sql } from "kysely";
|
|
11
11
|
import { z } from "zod";
|
|
12
12
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { c as __exportAll } from "./runner-CuG8o1uW.mjs";
|
|
2
2
|
import { getRequestContext } from "./request-context.mjs";
|
|
3
|
-
import { a as resetTaxonomyNamesCache, o as isMissingTableError, r as getDb } from "./loader
|
|
3
|
+
import { a as resetTaxonomyNamesCache, o as isMissingTableError, r as getDb } from "./loader--zFg6meV.mjs";
|
|
4
4
|
import { i as setRequestCacheEntry, n as peekRequestCache, r as requestCached } from "./request-cache-CizvDoxV.mjs";
|
|
5
|
-
import { d as invalidateTaxonomyObjectCache, f as isObjectCacheActive, n as cachedQuery, t as CacheNamespace } from "./object-cache-
|
|
5
|
+
import { d as invalidateTaxonomyObjectCache, f as isObjectCacheActive, n as cachedQuery, t as CacheNamespace } from "./object-cache-Ue6kAfzf.mjs";
|
|
6
6
|
import { n as chunks, t as SQL_BATCH_SIZE } from "./chunks-Bb56aCtB.mjs";
|
|
7
7
|
import { n as resolveLocaleChain, t as resolveLocale } from "./resolve-BdDNBmaU.mjs";
|
|
8
8
|
|
|
@@ -393,7 +393,7 @@ function primeFoldedEntryTerms(collection, perEntry, options = {}) {
|
|
|
393
393
|
* Get entries by term.
|
|
394
394
|
*/
|
|
395
395
|
async function getEntriesByTerm(collection, taxonomyName, termSlug, options = {}) {
|
|
396
|
-
const { getDinewayCollection } = await import("./query-
|
|
396
|
+
const { getDinewayCollection } = await import("./query-CNXVFYWz.mjs").then((n) => n.o);
|
|
397
397
|
const queryOptions = { where: { [taxonomyName]: termSlug } };
|
|
398
398
|
if (options.locale !== void 0) queryOptions.locale = options.locale;
|
|
399
399
|
const { entries } = await getDinewayCollection(collection, queryOptions);
|