dineway 0.2.46 → 0.2.48
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 +5 -5
- package/dist/api/route-utils.mjs +12 -12
- package/dist/api/schemas/index.d.mts +1 -1
- package/dist/api/schemas/index.mjs +4 -4
- package/dist/{api-BSmjb74C.mjs → api-p58_ypd8.mjs} +9 -9
- package/dist/{apply-Caad3Uh7.mjs → apply-BlVVbjbz.mjs} +15 -15
- package/dist/astro/index.d.mts +4 -4
- package/dist/astro/index.mjs +5 -5
- package/dist/astro/middleware/auth.d.mts +4 -4
- package/dist/astro/middleware/auth.mjs +2 -2
- package/dist/astro/middleware/redirect.mjs +4 -4
- package/dist/astro/middleware/setup.mjs +1 -1
- package/dist/astro/middleware.mjs +63 -63
- package/dist/astro/routes/api/admin/allowed-domains/_domain_.mjs +4 -4
- package/dist/astro/routes/api/admin/allowed-domains/index.mjs +4 -4
- package/dist/astro/routes/api/admin/briefing.mjs +20 -20
- package/dist/astro/routes/api/admin/byline-fields/_slug_.mjs +4 -4
- package/dist/astro/routes/api/admin/byline-fields/index.mjs +4 -4
- package/dist/astro/routes/api/admin/byline-fields/reorder.mjs +4 -4
- package/dist/astro/routes/api/admin/bylines/_id_/index.mjs +12 -12
- package/dist/astro/routes/api/admin/bylines/_id_/translations.mjs +12 -12
- package/dist/astro/routes/api/admin/bylines/index.mjs +12 -12
- package/dist/astro/routes/api/admin/comments/_id_/status.mjs +10 -10
- package/dist/astro/routes/api/admin/comments/_id_.mjs +5 -5
- package/dist/astro/routes/api/admin/comments/bulk.mjs +9 -9
- package/dist/astro/routes/api/admin/comments/counts.mjs +5 -5
- package/dist/astro/routes/api/admin/comments/index.mjs +9 -9
- package/dist/astro/routes/api/admin/context/_id_/history.mjs +25 -25
- package/dist/astro/routes/api/admin/context/_id_/index.mjs +25 -25
- package/dist/astro/routes/api/admin/context/_id_/review.mjs +28 -28
- package/dist/astro/routes/api/admin/context/_id_/supersede.mjs +28 -28
- package/dist/astro/routes/api/admin/context/diff.mjs +28 -28
- package/dist/astro/routes/api/admin/context/index.mjs +28 -28
- package/dist/astro/routes/api/admin/context/stale.mjs +28 -28
- package/dist/astro/routes/api/admin/hitl-requests/_id_/index.mjs +26 -26
- package/dist/astro/routes/api/admin/hitl-requests/_id_/resolve.mjs +29 -29
- package/dist/astro/routes/api/admin/hitl-requests/index.mjs +29 -29
- package/dist/astro/routes/api/admin/hooks/exclusive/_hookName_.mjs +25 -25
- package/dist/astro/routes/api/admin/plugins/_id_/disable.mjs +43 -43
- package/dist/astro/routes/api/admin/plugins/_id_/enable.mjs +43 -43
- package/dist/astro/routes/api/admin/plugins/_id_/index.mjs +39 -39
- package/dist/astro/routes/api/admin/plugins/_id_/uninstall.mjs +43 -43
- package/dist/astro/routes/api/admin/plugins/_id_/update.mjs +43 -43
- package/dist/astro/routes/api/admin/plugins/index.mjs +39 -39
- package/dist/astro/routes/api/admin/plugins/marketplace/_id_/index.mjs +39 -39
- package/dist/astro/routes/api/admin/plugins/marketplace/_id_/install.mjs +43 -43
- package/dist/astro/routes/api/admin/plugins/marketplace/index.mjs +39 -39
- package/dist/astro/routes/api/admin/plugins/updates.mjs +39 -39
- package/dist/astro/routes/api/admin/review-requests/_id_/image.mjs +16 -16
- package/dist/astro/routes/api/admin/review-requests/_id_/index.mjs +22 -22
- package/dist/astro/routes/api/admin/review-requests/_id_/resolve.mjs +32 -32
- package/dist/astro/routes/api/admin/review-requests/index.mjs +30 -30
- package/dist/astro/routes/api/admin/themes/marketplace/_id_/index.mjs +39 -39
- package/dist/astro/routes/api/admin/themes/marketplace/index.mjs +39 -39
- package/dist/astro/routes/api/admin/users/_id_/index.mjs +4 -4
- package/dist/astro/routes/api/admin/users/index.mjs +4 -4
- package/dist/astro/routes/api/auth/invite/complete.mjs +6 -6
- package/dist/astro/routes/api/auth/invite/index.mjs +4 -4
- package/dist/astro/routes/api/auth/invite/register-options.mjs +5 -5
- package/dist/astro/routes/api/auth/magic-link/send.mjs +4 -4
- package/dist/astro/routes/api/auth/me.mjs +4 -4
- package/dist/astro/routes/api/auth/mode.mjs +1 -1
- package/dist/astro/routes/api/auth/passkey/_id_.mjs +4 -4
- package/dist/astro/routes/api/auth/passkey/options.mjs +5 -5
- package/dist/astro/routes/api/auth/passkey/register/options.mjs +5 -5
- package/dist/astro/routes/api/auth/passkey/register/verify.mjs +6 -6
- package/dist/astro/routes/api/auth/passkey/verify.mjs +6 -6
- package/dist/astro/routes/api/auth/signup/complete.mjs +6 -6
- package/dist/astro/routes/api/auth/signup/request.mjs +4 -4
- package/dist/astro/routes/api/comments/_collection_/_contentId_/index.d.mts +4 -4
- package/dist/astro/routes/api/comments/_collection_/_contentId_/index.mjs +10 -10
- package/dist/astro/routes/api/comments/_collection_/_contentId_/reactions.mjs +9 -9
- package/dist/astro/routes/api/content/_collection_/_id_/preview-url.mjs +10 -10
- package/dist/astro/routes/api/content/_collection_/_id_/publish.mjs +19 -19
- package/dist/astro/routes/api/content/_collection_/_id_/release-readiness.mjs +4 -4
- package/dist/astro/routes/api/content/_collection_/_id_/schedule.mjs +19 -19
- package/dist/astro/routes/api/content/_collection_/_id_/terms/_taxonomy_.mjs +15 -15
- package/dist/astro/routes/api/content/_collection_/_id_.mjs +8 -8
- package/dist/astro/routes/api/content/_collection_/index.mjs +8 -8
- package/dist/astro/routes/api/content/_collection_/trash.mjs +4 -4
- package/dist/astro/routes/api/dashboard.mjs +9 -9
- package/dist/astro/routes/api/health.mjs +1 -1
- package/dist/astro/routes/api/import/probe.mjs +13 -13
- package/dist/astro/routes/api/import/wordpress/analyze.mjs +5 -5
- package/dist/astro/routes/api/import/wordpress/execute.d.mts +4 -4
- package/dist/astro/routes/api/import/wordpress/execute.mjs +28 -28
- package/dist/astro/routes/api/import/wordpress/media.d.mts +4 -4
- package/dist/astro/routes/api/import/wordpress/media.mjs +4 -4
- package/dist/astro/routes/api/import/wordpress/prepare.mjs +29 -29
- package/dist/astro/routes/api/import/wordpress/rewrite-urls.d.mts +4 -4
- package/dist/astro/routes/api/import/wordpress/rewrite-urls.mjs +29 -29
- package/dist/astro/routes/api/import/wordpress-plugin/analyze.mjs +15 -15
- package/dist/astro/routes/api/import/wordpress-plugin/execute.d.mts +4 -4
- package/dist/astro/routes/api/import/wordpress-plugin/execute.mjs +32 -32
- package/dist/astro/routes/api/manifest.mjs +2 -2
- package/dist/astro/routes/api/mcp.mjs +64 -64
- package/dist/astro/routes/api/media/_id_/confirm.mjs +4 -4
- package/dist/astro/routes/api/media/_id_.mjs +4 -4
- package/dist/astro/routes/api/media/upload-url.mjs +4 -4
- package/dist/astro/routes/api/media.mjs +4 -4
- package/dist/astro/routes/api/menus/_name_/items/_id_.mjs +29 -29
- package/dist/astro/routes/api/menus/_name_/items.mjs +29 -29
- package/dist/astro/routes/api/menus/_name_/reorder.mjs +29 -29
- package/dist/astro/routes/api/menus/_name_/translations.mjs +29 -29
- package/dist/astro/routes/api/menus/_name_.mjs +29 -29
- package/dist/astro/routes/api/menus/index.mjs +29 -29
- package/dist/astro/routes/api/openapi.json.mjs +4 -4
- package/dist/astro/routes/api/redirects/404s/index.mjs +4 -4
- package/dist/astro/routes/api/redirects/404s/summary.mjs +4 -4
- package/dist/astro/routes/api/redirects/_id_.mjs +28 -28
- package/dist/astro/routes/api/redirects/index.mjs +28 -28
- package/dist/astro/routes/api/schema/collections/_slug_/fields/_fieldSlug_.mjs +39 -39
- package/dist/astro/routes/api/schema/collections/_slug_/fields/index.mjs +39 -39
- package/dist/astro/routes/api/schema/collections/_slug_/fields/reorder.mjs +39 -39
- package/dist/astro/routes/api/schema/collections/_slug_/index.mjs +39 -39
- package/dist/astro/routes/api/schema/collections/index.mjs +39 -39
- package/dist/astro/routes/api/schema/index.mjs +5 -5
- package/dist/astro/routes/api/schema/orphans/_slug_.mjs +39 -39
- package/dist/astro/routes/api/schema/orphans/index.mjs +39 -39
- package/dist/astro/routes/api/search/enable.mjs +9 -9
- package/dist/astro/routes/api/search/index.mjs +9 -9
- package/dist/astro/routes/api/search/rebuild.mjs +9 -9
- package/dist/astro/routes/api/search/stats.mjs +5 -5
- package/dist/astro/routes/api/search/suggest.mjs +9 -9
- package/dist/astro/routes/api/sections/_slug_.mjs +29 -29
- package/dist/astro/routes/api/sections/index.mjs +29 -29
- package/dist/astro/routes/api/settings/reviews.mjs +1 -1
- package/dist/astro/routes/api/settings.mjs +29 -29
- package/dist/astro/routes/api/setup/admin-verify.mjs +7 -7
- package/dist/astro/routes/api/setup/admin.mjs +5 -5
- package/dist/astro/routes/api/setup/dev-bypass.mjs +19 -19
- package/dist/astro/routes/api/setup/index.mjs +23 -23
- 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 +31 -31
- package/dist/astro/routes/api/taxonomies/_name_/terms/_slug_.mjs +31 -31
- package/dist/astro/routes/api/taxonomies/_name_/terms/index.mjs +31 -31
- package/dist/astro/routes/api/taxonomies/index.mjs +31 -31
- 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 +28 -28
- package/dist/astro/routes/api/widget-areas/_name_/widgets/_id_.mjs +29 -29
- package/dist/astro/routes/api/widget-areas/_name_/widgets.mjs +29 -29
- package/dist/astro/routes/api/widget-areas/_name_.mjs +26 -26
- package/dist/astro/routes/api/widget-areas/index.mjs +29 -29
- package/dist/astro/routes/robots.txt.mjs +6 -6
- package/dist/astro/routes/sitemap-_collection_.xml.mjs +10 -10
- package/dist/astro/routes/sitemap.xml.mjs +10 -10
- package/dist/astro/session-driver.mjs +4 -4
- package/dist/astro/types.d.mts +4 -4
- package/dist/{briefing-CbsLoDJS.mjs → briefing-BAtarnPm.mjs} +1 -1
- package/dist/{briefing-yQgD73g4.mjs → briefing-DoFv4isE.mjs} +5 -5
- package/dist/{byline-BS25s1R-.mjs → byline-CYc3Hn1i.mjs} +5 -5
- package/dist/{byline-fields-D6EXp7_j.d.mts → byline-fields-B117F62r.d.mts} +23 -23
- package/dist/{byline-fields-Bnw5NflJ.mjs → byline-fields-BHVmleIi.mjs} +1 -1
- package/dist/{bylines-CLBeFLdo.mjs → bylines-DGdYDqGq.mjs} +1 -1
- package/dist/{bylines-ZRvo3-j0.mjs → bylines-DrSccNgg.mjs} +3 -3
- package/dist/cli/index.mjs +47 -33
- package/dist/cli/plugin-kit.d.mts +4 -4
- package/dist/client/index.d.mts +4 -4
- package/dist/{comment-BTt78k0n.mjs → comment-BnrzhX9M.mjs} +1 -1
- package/dist/{comments-Do2zF3as.mjs → comments-B4Tym6oF.mjs} +1 -1
- package/dist/{config---A7Bg68.mjs → config-BhQacL9l.mjs} +2 -1
- package/dist/{content-BZBomTNV.mjs → content-CIWw08LO.mjs} +5 -5
- package/dist/{content-C8i4DyTt.mjs → content-CghEEm3k.mjs} +1 -1
- package/dist/{content-refresh-DbGFLB3p.mjs → content-refresh-lqCnhHGP.mjs} +2 -2
- package/dist/content-storage/index.d.mts +25 -4
- package/dist/content-storage/index.mjs +16 -16
- package/dist/content-storage/store.d.mts +3 -3
- package/dist/content-storage/store.mjs +3 -3
- package/dist/{content-write-Bt_eiX9o.mjs → content-write-BjTJiZhK.mjs} +74 -18
- package/dist/{context-RtLnM2-Z.mjs → context-PK-5ygok.mjs} +4 -4
- package/dist/{context-VxiTIEQa.mjs → context-caX3OQVz.mjs} +2 -2
- package/dist/{dashboard-C_x53TcC.mjs → dashboard-DBHqEUXC.mjs} +1 -1
- package/dist/database/d1/index.d.mts +4 -4
- package/dist/database/d1/index.mjs +2 -2
- package/dist/{discovery-DNwLsQqJ.mjs → discovery-DLzhlF9z.mjs} +1 -1
- package/dist/{evidence-D3Tqm_ik.mjs → evidence-CG6khLd9.mjs} +2 -2
- package/dist/{hitl-requests-ysSO7eqS.mjs → hitl-requests-SRfiaD3V.mjs} +1 -1
- package/dist/{hitl-route-helpers-BLJYI67Y.mjs → hitl-route-helpers-B0h7RXw1.mjs} +1 -1
- package/dist/{import-BkBVo6UM.mjs → import-DpVbSU4T.mjs} +3 -3
- package/dist/index.d.mts +4 -4
- package/dist/index.mjs +51 -51
- package/dist/{jsonld-BObNyc22.d.mts → jsonld-DaZdgstn.d.mts} +1 -1
- package/dist/{loader--zFg6meV.mjs → loader-CrVkVaD6.mjs} +7 -2
- package/dist/{mcp-reviewed-executor-CiuVfiL_.mjs → mcp-reviewed-executor-C93EXLSQ.mjs} +2 -2
- package/dist/media/local-runtime.d.mts +4 -4
- package/dist/{menus-Dq323Wka.mjs → menus-DRpTzW6g.mjs} +3 -3
- package/dist/{menus-BoNLPIAK.mjs → menus-X0eJuILT.mjs} +1 -1
- package/dist/{object-cache-Ue6kAfzf.mjs → object-cache-DRx6IjWR.mjs} +1 -1
- package/dist/{owned-metadata-bXhDX1WW.mjs → owned-metadata-DFODPEuj.mjs} +1 -1
- package/dist/page/index.d.mts +5 -5
- package/dist/plugin-utils.d.mts +4 -4
- package/dist/plugins/adapt-sandbox-entry.d.mts +4 -4
- package/dist/{plugins-C10hTI65.mjs → plugins-D4TRcqTV.mjs} +2 -2
- package/dist/{public-url-JnHtmWfz.d.mts → public-url-b6l0vmiE.d.mts} +1 -1
- package/dist/{publication-authorization-DBNXaGgH.mjs → publication-authorization-C2X-Qj7L.mjs} +4 -4
- package/dist/{query-5edkcMYz.mjs → query-BTXfe7AE.mjs} +3 -3
- package/dist/{query-CNXVFYWz.mjs → query-BfIz2W0n.mjs} +10 -10
- package/dist/{redirects-BwnvcNyN.mjs → redirects-DAKRmX6R.mjs} +1 -1
- package/dist/{registry-DEKqjKIM.mjs → registry-CdeSHG0k.mjs} +1 -1
- package/dist/{release-CIYyinzY.mjs → release-Bk-UaI2C.mjs} +1 -1
- package/dist/request-context.d.mts +1 -11
- package/dist/{migration-BhVzGnj0.mjs → retention-gks1TiDo.mjs} +100 -10
- package/dist/{review-requests-B7UdAl1r.mjs → review-requests-05w-uj_e.mjs} +1 -1
- package/dist/{revision-BtgwJxxa.mjs → revision-DX_AHhhE.mjs} +2 -2
- package/dist/{revisions-CQZI886L.mjs → revisions-DG2-WBDb.mjs} +2 -2
- package/dist/{runtime-ecsN2xL9.d.mts → runtime-BEiDcRPk.d.mts} +1 -1
- package/dist/{runtime-BLoyGKUx.mjs → runtime-CeGWfwh3.mjs} +76 -59
- package/dist/runtime.d.mts +4 -4
- package/dist/runtime.mjs +4 -4
- package/dist/{schema-DIXUswIX.mjs → schema-fU3y2MMH.mjs} +1 -1
- package/dist/{search-TXLzVROW.mjs → search-kRXT1_11.mjs} +1 -1
- package/dist/{sections-zaZhTZqa.mjs → sections-DzoY2Hvx.mjs} +1 -1
- package/dist/seed/index.mjs +19 -19
- package/dist/seo/index.mjs +6 -6
- package/dist/{seo-BQ7R2a1z.mjs → seo-DYjDvLHM.mjs} +5 -5
- package/dist/{seo-DdczIQvk.mjs → seo-DuHOFc2a.mjs} +1 -1
- package/dist/{service-CUlcOLZj.mjs → service-DlJ5BeF2.mjs} +2 -2
- package/dist/{settings-CoCGUtE6.mjs → settings-BU33hxhH.mjs} +1 -1
- package/dist/{settings-Bc2eQPR6.mjs → settings-opr6BnNM.mjs} +2 -2
- package/dist/{site-context-DkxgOnQl.mjs → site-context-94-KanDT.mjs} +6 -6
- package/dist/{submission-BNP2Sc3O.mjs → submission-_6ZXKy3N.mjs} +5 -5
- package/dist/{taxonomies-CVe1PGaO.mjs → taxonomies--FALWfoI.mjs} +3 -3
- package/dist/{taxonomies-zgZ2HG_z.mjs → taxonomies-DgiHNOZJ.mjs} +2 -2
- package/dist/{taxonomy-CcyZD5jQ.mjs → taxonomy-CKv3RKf1.mjs} +9 -8
- package/dist/{terms-EskuqbKE.mjs → terms-D4OJs0Zh.mjs} +3 -0
- package/dist/{types-CeFGasN8.d.mts → types-BafdCfKt.d.mts} +1 -0
- package/dist/{types-jtUocGnQ.d.mts → types-CTbitmIM.d.mts} +6 -4
- package/dist/ui/server-runtime.d.mts +6 -6
- package/dist/ui/server-runtime.mjs +14 -14
- package/dist/version-Bkbf_9nG.mjs +6 -0
- package/dist/{version-store-B6i81L9W.d.mts → version-store-BLGuq3wB.d.mts} +2 -37
- package/dist/{version-store-DyYULGd3.mjs → version-store-xhBmPoC-.mjs} +3 -11
- package/dist/{widgets-CJBk8bm7.mjs → widgets-hPqK6Aut.mjs} +1 -1
- package/dist/{worker-D82vT5OV.mjs → worker-CMiDP358.mjs} +4 -4
- package/dist/{write-intent-CjTERf3N.mjs → write-intent-ChTUctBF.mjs} +5 -5
- package/package.json +3 -3
- package/dist/version-BJwTlK4L.mjs +0 -6
- /package/dist/{allowed-origins-SQbPK6WG.mjs → allowed-origins-CQyKpMbJ.mjs} +0 -0
- /package/dist/{challenge-store-7IZ_NqWg.mjs → challenge-store-BImHCJvl.mjs} +0 -0
- /package/dist/{mode-C3RI5Z5t.mjs → mode-BoM5FjH7.mjs} +0 -0
- /package/dist/{policy-DbceGc4P.mjs → policy-BL8yj6uD.mjs} +0 -0
- /package/dist/{session-user-D36BRaZY.mjs → session-user-j7I8GMvK.mjs} +0 -0
- /package/dist/{setup-complete-eTV6C0-E.mjs → setup-complete-Cn-Ho9RX.mjs} +0 -0
- /package/dist/{state-CKkqoA6i.mjs → state-LzJZ7qpq.mjs} +0 -0
- /package/dist/{workers-build-4926MPc0.mjs → workers-build-Bd4w1aw9.mjs} +0 -0
package/dist/index.mjs
CHANGED
|
@@ -5,91 +5,91 @@ import { r as DinewayDatabaseError } from "./connection-DJ3GzHVH.mjs";
|
|
|
5
5
|
import "./d1-binding-DrLMBUxu.mjs";
|
|
6
6
|
import { i as currentTimestamp } from "./dialect-helpers-C6xtO-Ui.mjs";
|
|
7
7
|
import { n as getI18nConfig, r as isI18nEnabled, t as getFallbackChain } from "./config-XW5tMrH8.mjs";
|
|
8
|
-
import { C as image, S as reference, _ as issueGuestAccessToken, a as createNoopSandboxRunner, b as prosemirrorToPortableText, c as PluginSecretStore, f as definePlugin, g as hashGuestAccessToken, h as GuestAccessTokenConfigurationError, i as SandboxNotAvailableError, l as PluginRouteError, n as createNodeSandboxRunner, o as PluginManager, r as NoopSandboxRunner, s as createPluginManager, t as NodeSandboxRunner, v as verifyGuestAccessToken, w as RelationRepository, x as portableText, y as portableTextToProsemirror } from "./plugins-
|
|
9
|
-
import "./config
|
|
10
|
-
import {
|
|
11
|
-
import "./revisions-
|
|
8
|
+
import { C as image, S as reference, _ as issueGuestAccessToken, a as createNoopSandboxRunner, b as prosemirrorToPortableText, c as PluginSecretStore, f as definePlugin, g as hashGuestAccessToken, h as GuestAccessTokenConfigurationError, i as SandboxNotAvailableError, l as PluginRouteError, n as createNodeSandboxRunner, o as PluginManager, r as NoopSandboxRunner, s as createPluginManager, t as NodeSandboxRunner, v as verifyGuestAccessToken, w as RelationRepository, x as portableText, y as portableTextToProsemirror } from "./plugins-D4TRcqTV.mjs";
|
|
9
|
+
import "./config-BhQacL9l.mjs";
|
|
10
|
+
import { v as extractPlainText, y as extractSearchableFields } from "./runtime-CeGWfwh3.mjs";
|
|
11
|
+
import "./revisions-DG2-WBDb.mjs";
|
|
12
12
|
import "./runtime-env-DpYGy4pT.mjs";
|
|
13
13
|
import "./base64-qvSs0Gxy.mjs";
|
|
14
14
|
import { i as encodeCursor, n as ScheduledNotDueError, r as decodeCursor, t as DinewayValidationError } from "./types-BI3ULB3A.mjs";
|
|
15
|
-
import { r as getDb } from "./loader
|
|
15
|
+
import { r as getDb } from "./loader-CrVkVaD6.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-CIWw08LO.mjs";
|
|
19
19
|
import "./request-cache-CizvDoxV.mjs";
|
|
20
20
|
import { a as RESERVED_COLLECTION_SLUGS, o as RESERVED_FIELD_SLUGS, r as FIELD_TYPE_TO_COLUMN } from "./types-BgUxCuwu.mjs";
|
|
21
21
|
import "./byline-registry-Caj0_gbU.mjs";
|
|
22
22
|
import "./field-defs-cache-dn5Tw79A.mjs";
|
|
23
|
-
import { a as invalidateBylineObjectCache, c as invalidateMenuObjectCache, d as invalidateTaxonomyObjectCache, f as isObjectCacheActive, i as contentNamespaces, l as invalidateObjectCache, n as cachedQuery, o as invalidateCollectionCache, r as contentNamespace, s as invalidateCommentObjectCache, t as CacheNamespace, u as invalidateSchemaObjectCache } from "./object-cache-
|
|
24
|
-
import { t as BylineRepository } from "./byline-
|
|
25
|
-
import "./owned-metadata-
|
|
23
|
+
import { a as invalidateBylineObjectCache, c as invalidateMenuObjectCache, d as invalidateTaxonomyObjectCache, f as isObjectCacheActive, i as contentNamespaces, l as invalidateObjectCache, n as cachedQuery, o as invalidateCollectionCache, r as contentNamespace, s as invalidateCommentObjectCache, t as CacheNamespace, u as invalidateSchemaObjectCache } from "./object-cache-DRx6IjWR.mjs";
|
|
24
|
+
import { t as BylineRepository } from "./byline-CYc3Hn1i.mjs";
|
|
25
|
+
import "./owned-metadata-DFODPEuj.mjs";
|
|
26
26
|
import { t as decodeSlug } from "./slugify-DvoaEPtL.mjs";
|
|
27
|
-
import { t as RevisionRepository } from "./revision-
|
|
27
|
+
import { t as RevisionRepository } from "./revision-DX_AHhhE.mjs";
|
|
28
28
|
import { t as MediaRepository } from "./media-BjH5OD-A.mjs";
|
|
29
29
|
import "./user-Bl2_8rhJ.mjs";
|
|
30
|
-
import "./terms-
|
|
31
|
-
import "./taxonomy-
|
|
32
|
-
import "./comment-
|
|
30
|
+
import "./terms-D4OJs0Zh.mjs";
|
|
31
|
+
import "./taxonomy-CKv3RKf1.mjs";
|
|
32
|
+
import "./comment-BnrzhX9M.mjs";
|
|
33
33
|
import "./options-yFkLUuTw.mjs";
|
|
34
34
|
import "./audit-hXJBTPY0.mjs";
|
|
35
35
|
import { t as SiteActivityRepository } from "./site-activity-hpfJkmxQ.mjs";
|
|
36
36
|
import "./review-requests-DZYM51yI.mjs";
|
|
37
|
-
import "./publication-authorization-
|
|
38
|
-
import { n as AssignmentService, r as HandoffSnapshotStore, w as AssignmentRepository } from "./site-context-
|
|
39
|
-
import "./context-
|
|
40
|
-
import "./menus-
|
|
37
|
+
import "./publication-authorization-C2X-Qj7L.mjs";
|
|
38
|
+
import { n as AssignmentService, r as HandoffSnapshotStore, w as AssignmentRepository } from "./site-context-94-KanDT.mjs";
|
|
39
|
+
import "./context-PK-5ygok.mjs";
|
|
40
|
+
import "./menus-X0eJuILT.mjs";
|
|
41
41
|
import "./redirect-CJ-FAbNK.mjs";
|
|
42
42
|
import { n as normalizeMediaValue } from "./normalize-DrmlLn40.mjs";
|
|
43
43
|
import { n as generatePlaceholder } from "./enrich-CAMsD1aT.mjs";
|
|
44
|
-
import { C as handleContentUnschedule, S as handleContentUnpublish, _ as handleContentPermanentDelete, a as handleContentAuthors, b as handleContentSchedule, c as handleContentCountTrashed, d as handleContentDiscardDraft, f as handleContentDuplicate, g as handleContentListTrashed, h as handleContentList, l as handleContentCreate, m as handleContentGetIncludingTrashed, n as prepareContentWrite, o as handleContentCompare, p as handleContentGet, s as handleContentCountScheduled, u as handleContentDelete, v as handleContentPublish, w as handleContentUpdate, x as handleContentTranslations, y as handleContentRestore } from "./content-write-
|
|
45
|
-
import "./version-store-
|
|
46
|
-
import "./write-intent-
|
|
47
|
-
import "./seo-
|
|
44
|
+
import { C as handleContentUnschedule, S as handleContentUnpublish, _ as handleContentPermanentDelete, a as handleContentAuthors, b as handleContentSchedule, c as handleContentCountTrashed, d as handleContentDiscardDraft, f as handleContentDuplicate, g as handleContentListTrashed, h as handleContentList, l as handleContentCreate, m as handleContentGetIncludingTrashed, n as prepareContentWrite, o as handleContentCompare, p as handleContentGet, s as handleContentCountScheduled, u as handleContentDelete, v as handleContentPublish, w as handleContentUpdate, x as handleContentTranslations, y as handleContentRestore } from "./content-write-BjTJiZhK.mjs";
|
|
45
|
+
import "./version-store-xhBmPoC-.mjs";
|
|
46
|
+
import "./write-intent-ChTUctBF.mjs";
|
|
47
|
+
import "./seo-DYjDvLHM.mjs";
|
|
48
48
|
import { n as buildStableActionHash } from "./review-payload-mDJIgcFy.mjs";
|
|
49
49
|
import "./context-types-B9ShQ_6c.mjs";
|
|
50
|
-
import { d as HookPipeline, f as createHookPipeline, t as SiteBriefingAssembler } from "./briefing-
|
|
50
|
+
import { d as HookPipeline, f as createHookPipeline, t as SiteBriefingAssembler } from "./briefing-DoFv4isE.mjs";
|
|
51
51
|
import "./runs-BGqkkqhp.mjs";
|
|
52
52
|
import "./secrets-D52WNV_c.mjs";
|
|
53
|
-
import "./content-refresh-
|
|
53
|
+
import "./content-refresh-lqCnhHGP.mjs";
|
|
54
54
|
import "./ssrf-C7tTSD1r.mjs";
|
|
55
55
|
import { n as hashString, t as computeContentHash } from "./hash-BinU5FKm.mjs";
|
|
56
56
|
import { t as FTSManager } from "./fts-manager-BHwhq1lC.mjs";
|
|
57
57
|
import "./public-discovery-CGRirTJH.mjs";
|
|
58
|
-
import { n as SchemaRegistry, t as SchemaError } from "./registry-
|
|
59
|
-
import { i as getSiteSettings, n as getPluginSettings, r as getSiteSetting, s as setSiteSettings, t as getPluginSetting } from "./settings-
|
|
60
|
-
import "./evidence-
|
|
61
|
-
import { n as prepareAutomatedReview, r as submitAutomatedReview, t as ReviewSubmissionError } from "./submission-
|
|
62
|
-
import "./dashboard-
|
|
63
|
-
import "./briefing-
|
|
64
|
-
import "./review-requests-
|
|
65
|
-
import { A as handleRevisionGet, D as handleMediaGet, E as handleMediaDelete, M as handleRevisionRestore, N as generateManifest, O as handleMediaList, T as handleMediaCreate, j as handleRevisionList, k as handleMediaUpdate } from "./api-
|
|
66
|
-
import { t as getCollectionInfo } from "./query-
|
|
58
|
+
import { n as SchemaRegistry, t as SchemaError } from "./registry-CdeSHG0k.mjs";
|
|
59
|
+
import { i as getSiteSettings, n as getPluginSettings, r as getSiteSetting, s as setSiteSettings, t as getPluginSetting } from "./settings-opr6BnNM.mjs";
|
|
60
|
+
import "./evidence-CG6khLd9.mjs";
|
|
61
|
+
import { n as prepareAutomatedReview, r as submitAutomatedReview, t as ReviewSubmissionError } from "./submission-_6ZXKy3N.mjs";
|
|
62
|
+
import "./dashboard-DBHqEUXC.mjs";
|
|
63
|
+
import "./briefing-BAtarnPm.mjs";
|
|
64
|
+
import "./review-requests-05w-uj_e.mjs";
|
|
65
|
+
import { A as handleRevisionGet, D as handleMediaGet, E as handleMediaDelete, M as handleRevisionRestore, N as generateManifest, O as handleMediaList, T as handleMediaCreate, j as handleRevisionList, k as handleMediaUpdate } from "./api-p58_ypd8.mjs";
|
|
66
|
+
import { t as getCollectionInfo } from "./query-BTXfe7AE.mjs";
|
|
67
67
|
import { r as validateContent } from "./zod-generator-DBu-v5Zy.mjs";
|
|
68
|
-
import "./schema-
|
|
69
|
-
import "./discovery-
|
|
68
|
+
import "./schema-fU3y2MMH.mjs";
|
|
69
|
+
import "./discovery-DLzhlF9z.mjs";
|
|
70
70
|
import { t as resolveContentUrl } from "./public-url-NCefkiXz.mjs";
|
|
71
|
-
import "./seo-
|
|
72
|
-
import "./bylines-
|
|
71
|
+
import "./seo-DuHOFc2a.mjs";
|
|
72
|
+
import "./bylines-DGdYDqGq.mjs";
|
|
73
73
|
import "./byline-fields-BAezRNxz.mjs";
|
|
74
|
-
import { o as getSection, s as getSections } from "./sections-
|
|
75
|
-
import "./settings-
|
|
74
|
+
import { o as getSection, s as getSections } from "./sections-DzoY2Hvx.mjs";
|
|
75
|
+
import "./settings-BU33hxhH.mjs";
|
|
76
76
|
import "./store-rYMso0t7.mjs";
|
|
77
77
|
import "./integration-credentials-B23h97Ip.mjs";
|
|
78
78
|
import "./resolve-BdDNBmaU.mjs";
|
|
79
|
-
import { a as getTaxonomyTerms, i as getTaxonomyDefs, n as getEntryTerms, o as getTerm, r as getTaxonomyDef, s as getTermsForEntries, t as getEntriesByTerm } from "./taxonomies
|
|
80
|
-
import "./taxonomies-
|
|
79
|
+
import { a as getTaxonomyTerms, i as getTaxonomyDefs, n as getEntryTerms, o as getTerm, r as getTaxonomyDef, s as getTermsForEntries, t as getEntriesByTerm } from "./taxonomies--FALWfoI.mjs";
|
|
80
|
+
import "./taxonomies-DgiHNOZJ.mjs";
|
|
81
81
|
import { r as isStandardPluginDefinition } from "./types-MCEx6w1B.mjs";
|
|
82
82
|
import { i as pluginManifestSchema } from "./manifest-schema-B_rWNZn5.mjs";
|
|
83
83
|
import { t as DinewayStorageError } from "./types-PX2c4KA4.mjs";
|
|
84
84
|
import "./parse-N4PAJGQr.mjs";
|
|
85
|
-
import "./content-
|
|
86
|
-
import "./redirects-
|
|
87
|
-
import "./byline-fields-
|
|
85
|
+
import "./content-CghEEm3k.mjs";
|
|
86
|
+
import "./redirects-DAKRmX6R.mjs";
|
|
87
|
+
import "./byline-fields-BHVmleIi.mjs";
|
|
88
88
|
import { n as sanitizeHref, t as isSafeHref } from "./url--_ukDIsN.mjs";
|
|
89
89
|
import "./status-CDqWWt6i.mjs";
|
|
90
90
|
import "./trusted-proxy-Dmi1gZXh.mjs";
|
|
91
91
|
import { t as checkRateLimit } from "./rate-limit-BzNkH-vQ.mjs";
|
|
92
|
-
import { c as createEditable, i as getTranslations, l as createNoop, n as getDinewayEntry, r as getEditMeta, s as resolveDinewayPath, t as getDinewayCollection } from "./query-
|
|
92
|
+
import { c as createEditable, i as getTranslations, l as createNoop, n as getDinewayEntry, r as getEditMeta, s as resolveDinewayPath, t as getDinewayCollection } from "./query-BfIz2W0n.mjs";
|
|
93
93
|
import { a as verifyPreviewSignature, i as signPreviewUrl, n as defaultPreviewSidecarClient, r as parsePreviewSignatureHeader, t as buildPreviewSignatureHeader } from "./sidecar-client-D69s90P-.mjs";
|
|
94
94
|
import { a as createFilePreviewMiddleware, c as dropSessionDatabaseTables, d as SessionDatabaseLimitError, f as isBlockedInPreview, i as getPreviewUrl, l as getAppliedSnapshotMeta, n as isPreviewRequest, o as renderPreviewToolbar, p as renderPreviewLoadingPage, r as buildPreviewUrl, s as applySnapshotToDatabase, t as getPreviewToken, u as FileSessionDatabaseFactory } from "./preview-DC1K_aSd.mjs";
|
|
95
95
|
import { n as parseWxrString, t as parseWxr } from "./parser-CoH5-854.mjs";
|
|
@@ -97,20 +97,20 @@ import { adaptSandboxEntry } from "./plugins/adapt-sandbox-entry.mjs";
|
|
|
97
97
|
import { n as runPluginMigrations } from "./migrations-DTCIQJ2_.mjs";
|
|
98
98
|
import "./request-meta-DOBXMRX0.mjs";
|
|
99
99
|
import "./api-tokens-CK0aCsS2.mjs";
|
|
100
|
-
import { t as createReviewedPluginMcpCommandExecutor } from "./mcp-reviewed-executor-
|
|
100
|
+
import { t as createReviewedPluginMcpCommandExecutor } from "./mcp-reviewed-executor-C93EXLSQ.mjs";
|
|
101
101
|
import "./activity-lyE6xCrf.mjs";
|
|
102
102
|
import "./activity-events-D4JfWJFI.mjs";
|
|
103
103
|
import "./utils-WY63JOPB.mjs";
|
|
104
|
-
import { a as searchCollection, i as search, n as getSearchStats, o as searchWithDb, r as getSuggestions } from "./search-
|
|
105
|
-
import { _ as probeUrl, d as wxrSource, f as clearSources, g as getUrlSources, h as getSource, i as wordpressRestSource, m as getFileSources, p as getAllSources, u as parseWxrDate, v as registerSource, x as importReusableBlocksAsSections } from "./import-
|
|
104
|
+
import { a as searchCollection, i as search, n as getSearchStats, o as searchWithDb, r as getSuggestions } from "./search-kRXT1_11.mjs";
|
|
105
|
+
import { _ as probeUrl, d as wxrSource, f as clearSources, g as getUrlSources, h as getSource, i as wordpressRestSource, m as getFileSources, p as getAllSources, u as parseWxrDate, v as registerSource, x as importReusableBlocksAsSections } from "./import-DpVbSU4T.mjs";
|
|
106
106
|
import { n as parseContentId, r as verifyPreviewToken, t as generatePreviewToken } from "./tokens-B6bMUhBx.mjs";
|
|
107
107
|
import { getContentSeo, getSeoMeta } from "./seo/index.mjs";
|
|
108
108
|
import "./comment-reaction-CFkwluRq.mjs";
|
|
109
|
-
import { i as getComments, n as getMenus, r as getCommentCount, t as getMenu } from "./menus-
|
|
110
|
-
import { i as getEntriesByByline, n as getByline, r as getBylineBySlug } from "./bylines-
|
|
111
|
-
import { n as getWidgetAreas, r as getWidgetComponents, t as getWidgetArea } from "./widgets-
|
|
109
|
+
import { i as getComments, n as getMenus, r as getCommentCount, t as getMenu } from "./menus-DRpTzW6g.mjs";
|
|
110
|
+
import { i as getEntriesByByline, n as getByline, r as getBylineBySlug } from "./bylines-DrSccNgg.mjs";
|
|
111
|
+
import { n as getWidgetAreas, r as getWidgetComponents, t as getWidgetArea } from "./widgets-hPqK6Aut.mjs";
|
|
112
112
|
import { t as validateSeed } from "./validate-WOW5vZz_.mjs";
|
|
113
|
-
import { t as applySeed } from "./apply-
|
|
113
|
+
import { t as applySeed } from "./apply-BlVVbjbz.mjs";
|
|
114
114
|
import "./load-XTcFS1Dp.mjs";
|
|
115
115
|
import "./seed/index.mjs";
|
|
116
116
|
import { ulid } from "ulidx";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Dt as PublicPageSchema, Et as PublicPageImage, F as PageMetadataContribution, M as PageFragmentContribution, Ot as PublicSchemaNode, R as PageMetadataLinkRel, Tt as PublicPageContext, t as BreadcrumbItem, z as PagePlacement } from "./types-
|
|
1
|
+
import { Dt as PublicPageSchema, Et as PublicPageImage, F as PageMetadataContribution, M as PageFragmentContribution, Ot as PublicSchemaNode, R as PageMetadataLinkRel, Tt as PublicPageContext, t as BreadcrumbItem, z as PagePlacement } from "./types-CTbitmIM.mjs";
|
|
2
2
|
import { S as SeoSettings } from "./validate-CleBZbkv.mjs";
|
|
3
3
|
|
|
4
4
|
//#region src/page/context.d.ts
|
|
@@ -2,8 +2,8 @@ import { c as __exportAll } from "./runner-CuG8o1uW.mjs";
|
|
|
2
2
|
import { getRequestContext } from "./request-context.mjs";
|
|
3
3
|
import { t as validateIdentifier } from "./validate-Co3j6T_K.mjs";
|
|
4
4
|
import { o as isPostgres, r as currentIsoTimestampValue } from "./dialect-helpers-C6xtO-Ui.mjs";
|
|
5
|
-
import {
|
|
6
|
-
import { t as readRevisionData } from "./revisions-
|
|
5
|
+
import { o as hydrateContentRows, s as registerContentStorage, t as assertContentQueryFields } from "./runtime-CeGWfwh3.mjs";
|
|
6
|
+
import { t as readRevisionData } from "./revisions-DG2-WBDb.mjs";
|
|
7
7
|
import { kyselyLogOption } from "./database/instrumentation.mjs";
|
|
8
8
|
import { i as encodeCursor, r as decodeCursor } from "./types-BI3ULB3A.mjs";
|
|
9
9
|
import { Kysely, sql } from "kysely";
|
|
@@ -582,6 +582,11 @@ function dinewayLoader() {
|
|
|
582
582
|
cacheHint: { tags: [type] }
|
|
583
583
|
};
|
|
584
584
|
}
|
|
585
|
+
await assertContentQueryFields(db, type, [
|
|
586
|
+
...Object.keys(fieldFilters),
|
|
587
|
+
...Object.keys(orderBy ?? {}),
|
|
588
|
+
...q ? searchColumns ?? [] : []
|
|
589
|
+
]);
|
|
585
590
|
const orderByClause = buildOrderByClause(orderBy, tableName);
|
|
586
591
|
const statusCondition = buildStatusCondition(db, status, tableName);
|
|
587
592
|
const localeFilter = locale ? sql`AND ${sql.ref(`${tableName}.locale`)} = ${locale}` : sql``;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { n as stableStringify } from "./stable-hash-9RDJgfif.mjs";
|
|
2
|
-
import { o as HitlRequestRepository } from "./publication-authorization-
|
|
3
|
-
import { b as HitlRequestService } from "./site-context-
|
|
2
|
+
import { o as HitlRequestRepository } from "./publication-authorization-C2X-Qj7L.mjs";
|
|
3
|
+
import { b as HitlRequestService } from "./site-context-94-KanDT.mjs";
|
|
4
4
|
import { n as buildStableActionHash } from "./review-payload-mDJIgcFy.mjs";
|
|
5
5
|
import { i as hasScope$1 } from "./api-tokens-CK0aCsS2.mjs";
|
|
6
6
|
import { m as logSiteActivityStrict, p as logSiteActivitySafely } from "./activity-events-D4JfWJFI.mjs";
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import "../types-
|
|
1
|
+
import "../types-CTbitmIM.mjs";
|
|
2
2
|
import { n as Database } from "../types-CG9uGPBL.mjs";
|
|
3
3
|
import { h as MediaProviderItem, o as CreateMediaProviderFn } from "../placeholder-CjKwIO3g.mjs";
|
|
4
4
|
import "../runner-DlkOiguI.mjs";
|
|
5
5
|
import "../index-_fCUsJx9.mjs";
|
|
6
|
-
import "../types-
|
|
6
|
+
import "../types-BafdCfKt.mjs";
|
|
7
7
|
import "../types-DLwh1QkC.mjs";
|
|
8
8
|
import "../adapters-cL325h6c.mjs";
|
|
9
|
-
import "../runtime-
|
|
9
|
+
import "../runtime-BEiDcRPk.mjs";
|
|
10
10
|
import "../hook-events-lN-kz-4_.mjs";
|
|
11
11
|
import { d as Storage } from "../types-B2rEY0ik.mjs";
|
|
12
12
|
import "../scheduled-publish-7kZkKw7t.mjs";
|
|
13
13
|
import "../public-url-CvNSyMJJ.mjs";
|
|
14
14
|
import "../validate-CleBZbkv.mjs";
|
|
15
|
-
import "../byline-fields-
|
|
15
|
+
import "../byline-fields-B117F62r.mjs";
|
|
16
16
|
import "../types-BuplUVZ4.mjs";
|
|
17
17
|
import "../index.mjs";
|
|
18
18
|
import { Kysely } from "kysely";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { t as validateIdentifier } from "./validate-Co3j6T_K.mjs";
|
|
2
|
-
import { r as getDb } from "./loader
|
|
2
|
+
import { r as getDb } from "./loader-CrVkVaD6.mjs";
|
|
3
3
|
import { r as requestCached } from "./request-cache-CizvDoxV.mjs";
|
|
4
|
-
import { n as cachedQuery, t as CacheNamespace } from "./object-cache-
|
|
5
|
-
import { t as CommentRepository } from "./comment-
|
|
4
|
+
import { n as cachedQuery, t as CacheNamespace } from "./object-cache-DRx6IjWR.mjs";
|
|
5
|
+
import { t as CommentRepository } from "./comment-BnrzhX9M.mjs";
|
|
6
6
|
import { n as resolveLocaleChain, t as resolveLocale } from "./resolve-BdDNBmaU.mjs";
|
|
7
7
|
import { n as sanitizeHref } from "./url--_ukDIsN.mjs";
|
|
8
8
|
import { t as CommentReactionRepository } from "./comment-reaction-CFkwluRq.mjs";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { c as __exportAll } from "./runner-CuG8o1uW.mjs";
|
|
2
2
|
import { AtomicWriteConflict, atomicBatch, rowUnchanged } from "./database/batch.mjs";
|
|
3
3
|
import { n as getI18nConfig } from "./config-XW5tMrH8.mjs";
|
|
4
|
-
import { c as invalidateMenuObjectCache } from "./object-cache-
|
|
4
|
+
import { c as invalidateMenuObjectCache } from "./object-cache-DRx6IjWR.mjs";
|
|
5
5
|
import { sql } from "kysely";
|
|
6
6
|
import { ulid } from "ulidx";
|
|
7
7
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { getRequestContext } from "./request-context.mjs";
|
|
2
2
|
import { after } from "./after.mjs";
|
|
3
|
-
import {
|
|
3
|
+
import { r as contentStorageCacheScope } from "./runtime-CeGWfwh3.mjs";
|
|
4
4
|
|
|
5
5
|
//#region src/object-cache/codec.ts
|
|
6
6
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { c as __exportAll } from "./runner-CuG8o1uW.mjs";
|
|
2
2
|
import { rowUnchanged } from "./database/batch.mjs";
|
|
3
|
-
import { t as BylineRepository } from "./byline-
|
|
3
|
+
import { t as BylineRepository } from "./byline-CYc3Hn1i.mjs";
|
|
4
4
|
import { sql } from "kysely";
|
|
5
5
|
|
|
6
6
|
//#region src/content-storage/owned-metadata.ts
|
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-CTbitmIM.mjs";
|
|
2
2
|
import "../types-CG9uGPBL.mjs";
|
|
3
3
|
import "../runner-DlkOiguI.mjs";
|
|
4
4
|
import "../index-_fCUsJx9.mjs";
|
|
5
|
-
import "../types-
|
|
5
|
+
import "../types-BafdCfKt.mjs";
|
|
6
6
|
import "../types-DLwh1QkC.mjs";
|
|
7
7
|
import "../adapters-cL325h6c.mjs";
|
|
8
|
-
import "../runtime-
|
|
8
|
+
import "../runtime-BEiDcRPk.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-B117F62r.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-DaZdgstn.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-CTbitmIM.mjs";
|
|
2
2
|
import "./types-CG9uGPBL.mjs";
|
|
3
3
|
import "./runner-DlkOiguI.mjs";
|
|
4
4
|
import "./index-_fCUsJx9.mjs";
|
|
5
|
-
import "./types-
|
|
5
|
+
import "./types-BafdCfKt.mjs";
|
|
6
6
|
import "./types-DLwh1QkC.mjs";
|
|
7
7
|
import "./adapters-cL325h6c.mjs";
|
|
8
|
-
import "./runtime-
|
|
8
|
+
import "./runtime-BEiDcRPk.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-B117F62r.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-CTbitmIM.mjs";
|
|
2
2
|
import "../types-CG9uGPBL.mjs";
|
|
3
3
|
import "../runner-DlkOiguI.mjs";
|
|
4
4
|
import "../index-_fCUsJx9.mjs";
|
|
5
|
-
import "../types-
|
|
5
|
+
import "../types-BafdCfKt.mjs";
|
|
6
6
|
import "../types-DLwh1QkC.mjs";
|
|
7
7
|
import "../adapters-cL325h6c.mjs";
|
|
8
|
-
import "../runtime-
|
|
8
|
+
import "../runtime-BEiDcRPk.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-B117F62r.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-PK-5ygok.mjs";
|
|
7
|
+
import { d as HookPipeline, p as resolveExclusiveHooks } from "./briefing-DoFv4isE.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-DBNXaGgH.mjs → publication-authorization-C2X-Qj7L.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-CIWw08LO.mjs";
|
|
6
|
+
import { o as invalidateCollectionCache } from "./object-cache-DRx6IjWR.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-BjTJiZhK.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-opr6BnNM.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-CrVkVaD6.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-DRx6IjWR.mjs";
|
|
4
|
+
import { n as SchemaRegistry } from "./registry-CdeSHG0k.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-CrVkVaD6.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-DRx6IjWR.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-CrVkVaD6.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-DrSccNgg.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--FALWfoI.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--FALWfoI.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-CrVkVaD6.mjs").then((n) => n.i)).getDb;
|
|
714
714
|
const dbInstance = await db();
|
|
715
|
-
const { ContentRepository } = await import("./content-
|
|
715
|
+
const { ContentRepository } = await import("./content-CIWw08LO.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-CrVkVaD6.mjs").then((n) => n.i);
|
|
784
|
+
const { SchemaRegistry } = await import("./registry-CdeSHG0k.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 {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as publicDiscoveryRulesSchema } from "./public-discovery-CGRirTJH.mjs";
|
|
2
|
-
import { F as cursorPaginationQuery, H as slugPattern, L as httpUrl, R as localeCode, V as roleLevel } from "./content-
|
|
2
|
+
import { F as cursorPaginationQuery, H as slugPattern, L as httpUrl, R as localeCode, V as roleLevel } from "./content-CghEEm3k.mjs";
|
|
3
3
|
import { t as isSafeHref } from "./url--_ukDIsN.mjs";
|
|
4
4
|
import { n as isTerminalStatus, t as REDIRECT_RULE_STATUSES } from "./status-CDqWWt6i.mjs";
|
|
5
5
|
import { z } from "zod";
|
|
@@ -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-lqCnhHGP.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-LzJZ7qpq.mjs";
|
|
5
5
|
import { randomUUID } from "node:crypto";
|
|
6
6
|
import { CompiledQuery, sql } from "kysely";
|
|
7
7
|
|
|
@@ -21,17 +21,7 @@ interface RequestMetrics {
|
|
|
21
21
|
rowsRead: number;
|
|
22
22
|
rowsWritten: number;
|
|
23
23
|
};
|
|
24
|
-
contentStores?:
|
|
25
|
-
calls: number;
|
|
26
|
-
queueMs: number;
|
|
27
|
-
totalMs: number;
|
|
28
|
-
serviceMs: number;
|
|
29
|
-
databaseMs: number;
|
|
30
|
-
sqlMs: number;
|
|
31
|
-
statements: number;
|
|
32
|
-
rowsRead: number;
|
|
33
|
-
rowsWritten: number;
|
|
34
|
-
};
|
|
24
|
+
contentStores?: RequestMetrics["d1"];
|
|
35
25
|
dbCount: number;
|
|
36
26
|
dbTotalMs: number;
|
|
37
27
|
dbFirstOffset: number | null;
|