dineway 0.2.29 → 0.2.31
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/{activity-CpXJEs3L.mjs → activity-DTJtloA1.mjs} +1 -1
- package/dist/{activity-events-hoMsbNbY.mjs → activity-events-C1U22VYR.mjs} +1 -1
- package/dist/api/route-utils.d.mts +8 -8
- package/dist/api/route-utils.mjs +8 -8
- package/dist/api/schemas/index.d.mts +1 -1
- package/dist/{api-BCNxeKT9.mjs → api-CBL6bNU1.mjs} +13 -13
- package/dist/{apply-BwNue-z4.mjs → apply-D5i71kfi.mjs} +17 -17
- package/dist/astro/index.d.mts +7 -7
- package/dist/astro/index.mjs +2 -2
- package/dist/astro/middleware/auth.d.mts +7 -7
- package/dist/astro/middleware/auth.mjs +2 -2
- package/dist/astro/middleware/redirect.mjs +4 -4
- package/dist/astro/middleware/seed.d.mts +1 -1
- package/dist/astro/middleware/seed.mjs +1 -1
- package/dist/astro/middleware/setup.mjs +1 -1
- package/dist/astro/middleware.mjs +61 -60
- package/dist/astro/routes/api/admin/briefing.mjs +11 -11
- package/dist/astro/routes/api/admin/bylines/_id_/index.mjs +6 -6
- package/dist/astro/routes/api/admin/bylines/_id_/translations.mjs +6 -6
- package/dist/astro/routes/api/admin/bylines/index.mjs +6 -6
- package/dist/astro/routes/api/admin/comments/_id_/status.mjs +4 -4
- package/dist/astro/routes/api/admin/comments/_id_.mjs +3 -3
- package/dist/astro/routes/api/admin/comments/bulk.mjs +3 -3
- package/dist/astro/routes/api/admin/comments/counts.mjs +3 -3
- package/dist/astro/routes/api/admin/comments/index.mjs +3 -3
- package/dist/astro/routes/api/admin/context/_id_/history.mjs +20 -20
- package/dist/astro/routes/api/admin/context/_id_/index.mjs +20 -20
- package/dist/astro/routes/api/admin/context/_id_/review.mjs +21 -21
- package/dist/astro/routes/api/admin/context/_id_/supersede.mjs +21 -21
- package/dist/astro/routes/api/admin/context/diff.mjs +20 -20
- package/dist/astro/routes/api/admin/context/index.mjs +21 -21
- package/dist/astro/routes/api/admin/context/stale.mjs +20 -20
- package/dist/astro/routes/api/admin/hitl-requests/_id_/index.mjs +21 -21
- package/dist/astro/routes/api/admin/hitl-requests/_id_/resolve.mjs +21 -21
- package/dist/astro/routes/api/admin/hitl-requests/index.mjs +21 -21
- package/dist/astro/routes/api/admin/hooks/exclusive/_hookName_.mjs +20 -20
- package/dist/astro/routes/api/admin/plugins/_id_/disable.mjs +39 -39
- package/dist/astro/routes/api/admin/plugins/_id_/enable.mjs +39 -39
- package/dist/astro/routes/api/admin/plugins/_id_/index.mjs +33 -33
- package/dist/astro/routes/api/admin/plugins/_id_/uninstall.mjs +39 -39
- package/dist/astro/routes/api/admin/plugins/_id_/update.mjs +39 -39
- 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 +39 -39
- 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_/index.mjs +3 -3
- package/dist/astro/routes/api/admin/review-requests/_id_/resolve.mjs +21 -21
- package/dist/astro/routes/api/admin/review-requests/index.mjs +21 -21
- 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/dev-bypass.mjs +1 -1
- 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/me.mjs +2 -2
- 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/setup-token/index.mjs +2 -2
- package/dist/astro/routes/api/auth/signup/complete.mjs +2 -2
- package/dist/astro/routes/api/comments/_collection_/_contentId_/index.mjs +4 -4
- package/dist/astro/routes/api/comments/_collection_/_contentId_/reactions.mjs +4 -4
- package/dist/astro/routes/api/content/_collection_/_id_/discard-draft.mjs +4 -4
- package/dist/astro/routes/api/content/_collection_/_id_/duplicate.mjs +4 -4
- package/dist/astro/routes/api/content/_collection_/_id_/permanent.mjs +4 -4
- package/dist/astro/routes/api/content/_collection_/_id_/preview-url.mjs +4 -4
- package/dist/astro/routes/api/content/_collection_/_id_/publish.mjs +8 -8
- package/dist/astro/routes/api/content/_collection_/_id_/restore.mjs +4 -4
- package/dist/astro/routes/api/content/_collection_/_id_/schedule.mjs +8 -8
- package/dist/astro/routes/api/content/_collection_/_id_/terms/_taxonomy_.mjs +5 -5
- package/dist/astro/routes/api/content/_collection_/_id_/unpublish.mjs +4 -4
- package/dist/astro/routes/api/content/_collection_/_id_.mjs +4 -4
- package/dist/astro/routes/api/content/_collection_/index.mjs +4 -4
- package/dist/astro/routes/api/dashboard.mjs +6 -6
- package/dist/astro/routes/api/health.mjs +1 -1
- package/dist/astro/routes/api/import/probe.d.mts +2 -2
- package/dist/astro/routes/api/import/probe.mjs +7 -7
- package/dist/astro/routes/api/import/wordpress/analyze.mjs +4 -4
- package/dist/astro/routes/api/import/wordpress/execute.d.mts +7 -7
- package/dist/astro/routes/api/import/wordpress/execute.mjs +25 -25
- package/dist/astro/routes/api/import/wordpress/media.d.mts +7 -7
- package/dist/astro/routes/api/import/wordpress/media.mjs +2 -2
- package/dist/astro/routes/api/import/wordpress/prepare.mjs +22 -22
- package/dist/astro/routes/api/import/wordpress/rewrite-urls.d.mts +7 -7
- package/dist/astro/routes/api/import/wordpress/rewrite-urls.mjs +21 -21
- package/dist/astro/routes/api/import/wordpress-plugin/analyze.mjs +10 -10
- package/dist/astro/routes/api/import/wordpress-plugin/execute.d.mts +7 -7
- 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 +53 -53
- package/dist/astro/routes/api/media/_id_/confirm.mjs +2 -2
- package/dist/astro/routes/api/media/upload-url.mjs +2 -2
- package/dist/astro/routes/api/media.mjs +2 -2
- package/dist/astro/routes/api/menus/_name_/items/_id_.mjs +21 -21
- package/dist/astro/routes/api/menus/_name_/items.mjs +21 -21
- package/dist/astro/routes/api/menus/_name_/reorder.mjs +21 -21
- package/dist/astro/routes/api/menus/_name_/translations.mjs +21 -21
- package/dist/astro/routes/api/menus/_name_.mjs +21 -21
- package/dist/astro/routes/api/menus/index.mjs +21 -21
- package/dist/astro/routes/api/openapi.json.mjs +1 -1
- package/dist/astro/routes/api/redirects/404s/index.mjs +3 -3
- package/dist/astro/routes/api/redirects/404s/summary.mjs +3 -3
- 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 +35 -35
- package/dist/astro/routes/api/schema/collections/_slug_/fields/index.mjs +35 -35
- package/dist/astro/routes/api/schema/collections/_slug_/fields/reorder.mjs +35 -35
- package/dist/astro/routes/api/schema/collections/_slug_/index.mjs +35 -35
- package/dist/astro/routes/api/schema/collections/index.mjs +35 -35
- package/dist/astro/routes/api/schema/index.mjs +5 -5
- 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 +21 -21
- package/dist/astro/routes/api/sections/index.mjs +21 -21
- package/dist/astro/routes/api/settings.mjs +21 -21
- 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 +2 -2
- package/dist/astro/routes/api/snapshot.mjs +1 -1
- package/dist/astro/routes/api/taxonomies/_name_/terms/_slug_/translations.mjs +23 -23
- package/dist/astro/routes/api/taxonomies/_name_/terms/_slug_.mjs +23 -23
- package/dist/astro/routes/api/taxonomies/_name_/terms/index.mjs +23 -23
- package/dist/astro/routes/api/taxonomies/index.mjs +23 -23
- package/dist/astro/routes/api/typegen.mjs +3 -3
- package/dist/astro/routes/api/well-known/auth.mjs +2 -2
- package/dist/astro/routes/api/widget-areas/_name_/reorder.mjs +20 -20
- package/dist/astro/routes/api/widget-areas/_name_/widgets/_id_.mjs +21 -21
- package/dist/astro/routes/api/widget-areas/_name_/widgets.mjs +21 -21
- package/dist/astro/routes/api/widget-areas/_name_.mjs +21 -21
- package/dist/astro/routes/api/widget-areas/index.mjs +21 -21
- package/dist/astro/routes/robots.txt.mjs +4 -4
- package/dist/astro/routes/sitemap-_collection_.xml.mjs +9 -9
- package/dist/astro/routes/sitemap.xml.mjs +9 -9
- package/dist/astro/session-driver.d.mts +1 -1
- package/dist/astro/session-driver.mjs +2 -2
- package/dist/astro/types.d.mts +7 -7
- package/dist/{audit-B7yDEQYd.mjs → audit-CLEMKs-Q.mjs} +1 -1
- package/dist/{briefing-Bw06giSR.mjs → briefing-32h1e5FV.mjs} +5 -5
- package/dist/{briefing-DXk509e9.mjs → briefing-BbpmZz_4.mjs} +1 -1
- package/dist/{bundle-BElk5hXQ.mjs → bundle-Cn8X5ATg.mjs} +1 -1
- package/dist/{byline-Dvn80pJf.mjs → byline-BfL607qj.mjs} +4 -4
- package/dist/{byline-fields-Cvl12BTB.d.mts → byline-fields-CexmiaFr.d.mts} +52 -52
- package/dist/{bylines-CB_5AVLg.mjs → bylines-Cy5KBNpg.mjs} +4 -4
- package/dist/{bylines-TcwJ0D4l.mjs → bylines-DpjxbnYL.mjs} +3 -3
- package/dist/{cache-BFya-uMt.mjs → cache-Bwds591_.mjs} +1 -1
- package/dist/{chunks--xBaAjew.mjs → chunks-0oflHOGr.mjs} +1 -1
- package/dist/cli/index.mjs +20 -20
- package/dist/cli/plugin-kit.d.mts +7 -7
- package/dist/cli/plugin-kit.mjs +1 -1
- package/dist/client/index.d.mts +7 -7
- package/dist/{client-factory-DlGsDQ0a.mjs → client-factory-Dr5FUjPd.mjs} +1 -1
- package/dist/{comment-C4foIr7l.mjs → comment-CLb7ynlP.mjs} +1 -1
- package/dist/{comment-reaction-CqMFa-tO.mjs → comment-reaction-HMk3Ugvo.mjs} +1 -1
- package/dist/{comments-BvQiuHgk.mjs → comments-D5I0CLKB.mjs} +1 -1
- package/dist/{content-GsliU3xN.mjs → content-DW-BRHF4.mjs} +2 -2
- package/dist/{content-refresh-Q60Srx4f.mjs → content-refresh-iarREtUO.mjs} +2 -2
- package/dist/{context-or1S7D_Z.mjs → context-D8yUDM9d.mjs} +9 -6
- package/dist/{context-BxRv0tDb.mjs → context-DJ1J727I.mjs} +2 -2
- package/dist/{context-route-helpers-DtRDW7-Y.mjs → context-route-helpers-Bd8p_JI2.mjs} +1 -1
- package/dist/{dashboard-DP_aGVlw.mjs → dashboard-CdsvXt0T.mjs} +4 -4
- package/dist/db/index.d.mts +2 -2
- package/dist/db/index.mjs +1 -1
- package/dist/{discovery-BgLQroSv.mjs → discovery-yoK6-UaX.mjs} +2 -2
- package/dist/{field-defs-cache-BJL-9Sbz.mjs → field-defs-cache-Cf3F5lHw.mjs} +1 -1
- package/dist/{fts-manager-DYyjVJRg.mjs → fts-manager-Bv4U_Qw0.mjs} +1 -1
- package/dist/{hitl-requests-LFIR0lUw.mjs → hitl-requests-DmA_ViQf.mjs} +1 -1
- package/dist/{hitl-route-helpers-Ct3-l199.mjs → hitl-route-helpers-DRdeq7Ld.mjs} +2 -2
- package/dist/{import-CAJjk6sz.mjs → import-iQ3y2-4Q.mjs} +3 -3
- package/dist/{index-QJMl0Apm.d.mts → index-DXcPysP3.d.mts} +1 -1
- package/dist/index.d.mts +7 -7
- package/dist/index.mjs +52 -52
- package/dist/{jsonld-TNycwGyO.d.mts → jsonld-BM0JqNLm.d.mts} +2 -2
- package/dist/{load-BU9-SNEM.mjs → load-dOITHB_Z.mjs} +1 -1
- package/dist/{loader-08U88vtS.mjs → loader-BFsHwbxI.mjs} +2 -2
- package/dist/{mcp-reviewed-executor-BIV-Nt4z.mjs → mcp-reviewed-executor-BUEO0Osb.mjs} +3 -3
- package/dist/media/local-runtime.d.mts +7 -7
- package/dist/media/local-runtime.mjs +2 -2
- package/dist/{media-fMI0fkpM.mjs → media-Dnpc2hW8.mjs} +1 -1
- package/dist/{menus-BN5-WSeA.mjs → menus-BRMcey1A.mjs} +3 -3
- package/dist/{menus-BCaZ124X.mjs → menus-F1fYny2w.mjs} +1 -1
- package/dist/page/index.d.mts +8 -8
- package/dist/plugin-utils.d.mts +7 -7
- package/dist/plugins/adapt-sandbox-entry.d.mts +7 -7
- package/dist/{plugins-BZAfdnht.mjs → plugins-Cz4PAYJf.mjs} +3 -2
- package/dist/{public-url-K_8Mlvos.d.mts → public-url-CPw0dhAQ.d.mts} +1 -1
- package/dist/{public-url-Bn-FXyxd.d.mts → public-url-CbmE-u2t.d.mts} +1 -1
- package/dist/{publication-authorization-BvguiESO.mjs → publication-authorization-BQpdXnha.mjs} +5 -5
- package/dist/{query-D-HFo-qW.mjs → query-DQOB6OEA.mjs} +2 -2
- package/dist/{query-yPx_JZSl.mjs → query-qGr7GGfF.mjs} +13 -13
- package/dist/{redirect-CI5NFP2I.mjs → redirect-DtjSpGWp.mjs} +1 -1
- package/dist/{redirects-B8UMik8v.mjs → redirects-CY6GCHPX.mjs} +2 -2
- package/dist/{registry-CtSVFnzD.mjs → registry-Czz6avGn.mjs} +4 -4
- package/dist/{review-requests-DwV5pW9w.mjs → review-requests-D-lhld0A.mjs} +1 -1
- package/dist/{review-requests-BrEd3zb5.mjs → review-requests-lVwh6U-G.mjs} +1 -1
- package/dist/{review-route-helpers-BjTgKhRr.mjs → review-route-helpers-3MNvw1AH.mjs} +1 -1
- package/dist/{runner-CGD7YoW6.mjs → runner-CPugEIU8.mjs} +478 -518
- package/dist/{runner-Dp8Tt7SJ.d.mts → runner-CvwzNJHj.d.mts} +1 -1
- package/dist/runtime.d.mts +7 -7
- package/dist/runtime.mjs +2 -2
- package/dist/schema-DxDfwabF.mjs +8 -0
- package/dist/{search-xzdgq7jq.mjs → search-D-wOjRiP.mjs} +3 -3
- package/dist/{sections-CIXoe8VF.mjs → sections-jAOXJcIV.mjs} +2 -2
- package/dist/seed/index.d.mts +2 -2
- package/dist/seed/index.mjs +15 -15
- package/dist/seo/index.d.mts +2 -2
- package/dist/seo/index.mjs +5 -5
- package/dist/{seo-2qDQ_eM-.mjs → seo-B0n_oZM5.mjs} +1 -1
- package/dist/{seo-DON7g2EC.mjs → seo-Cbj0_Opd.mjs} +1 -1
- package/dist/{service-BdiBOmpe.mjs → service-TRFrPW8z.mjs} +1 -1
- package/dist/{settings-k3HDxkYk.mjs → settings-Bx3wzDK_.mjs} +2 -2
- package/dist/{settings-CmmYM8ML.mjs → settings-CYt46_A5.mjs} +2 -2
- package/dist/{site-activity-DNFEWOyU.mjs → site-activity-MiKT38qx.mjs} +1 -1
- package/dist/{site-context-Rh2NpVP6.mjs → site-context-CqNMaJ5s.mjs} +10 -10
- package/dist/{taxonomies-C5Dc57XI.mjs → taxonomies-BMArg_t1.mjs} +3 -3
- package/dist/{taxonomies-ZUyCmHr5.mjs → taxonomies-iZGA_8zf.mjs} +4 -4
- package/dist/{taxonomy-Q0dtGa3h.mjs → taxonomy-DKG0n_q8.mjs} +2 -2
- package/dist/{types-B3jx4k7V.d.mts → types-B7Ifhtyz.d.mts} +1 -91
- package/dist/{types-BquoJbUs.d.mts → types-DB9weIZo.d.mts} +14 -7
- package/dist/{types-CpJhSIti.mjs → types-DXwmu5rT.mjs} +1 -1
- package/dist/ui/server-runtime.d.mts +9 -9
- package/dist/ui/server-runtime.mjs +14 -14
- package/dist/{user-CQ_ujaUi.mjs → user-D-dGG5Om.mjs} +2 -2
- package/dist/{validate-DvgVQCey.mjs → validate-AzYhwCD8.mjs} +1 -1
- package/dist/{validate-B244Ky-3.d.mts → validate-BRq01mTo.d.mts} +1 -1
- package/dist/version-BIlVseq9.mjs +6 -0
- package/dist/{widgets-FttKnkpm.mjs → widgets-B18H_Xgl.mjs} +1 -1
- package/dist/{zod-generator-OstCAALT.mjs → zod-generator-3jqAzlTK.mjs} +1 -1
- package/package.json +3 -3
- package/dist/schema-CrYkp-Bo.mjs +0 -8
- package/dist/version-BebwPm_l.mjs +0 -6
- /package/dist/{allowed-origins-DeknDs56.mjs → allowed-origins-C-7CVG6J.mjs} +0 -0
- /package/dist/{challenge-store-ugPhBaVf.mjs → challenge-store-Dae5cL-_.mjs} +0 -0
- /package/dist/{mode-CgD_xAEJ.mjs → mode-fm1eCVhz.mjs} +0 -0
- /package/dist/{session-user-BQZHuGOS.mjs → session-user-BT8vRgt3.mjs} +0 -0
- /package/dist/{setup-complete-C8LTo8cO.mjs → setup-complete-BRbTCbUF.mjs} +0 -0
package/dist/index.mjs
CHANGED
|
@@ -1,67 +1,67 @@
|
|
|
1
|
-
import { n as getMigrationStatus } from "./runner-
|
|
1
|
+
import { n as getMigrationStatus } from "./runner-CPugEIU8.mjs";
|
|
2
2
|
import { r as DinewayDatabaseError } from "./connection-DJ3GzHVH.mjs";
|
|
3
3
|
import { i as currentTimestamp } from "./dialect-helpers-fk43GbDb.mjs";
|
|
4
4
|
import { n as getI18nConfig, r as isI18nEnabled, t as getFallbackChain } from "./config-CVssduLe.mjs";
|
|
5
|
-
import { C as portableTextToProsemirror, D as image, E as reference, O as RelationRepository, S as verifyGuestAccessToken, T as portableText, a as createNoopSandboxRunner, b as hashGuestAccessToken, c as PluginSecretStore, f as HookPipeline, g as definePlugin, h as runPluginMigrations, i as SandboxNotAvailableError, l as PluginRouteError, n as createNodeSandboxRunner, o as PluginManager, p as createHookPipeline, r as NoopSandboxRunner, s as createPluginManager, t as NodeSandboxRunner, w as prosemirrorToPortableText, x as issueGuestAccessToken, y as GuestAccessTokenConfigurationError } from "./plugins-
|
|
5
|
+
import { C as portableTextToProsemirror, D as image, E as reference, O as RelationRepository, S as verifyGuestAccessToken, T as portableText, a as createNoopSandboxRunner, b as hashGuestAccessToken, c as PluginSecretStore, f as HookPipeline, g as definePlugin, h as runPluginMigrations, i as SandboxNotAvailableError, l as PluginRouteError, n as createNodeSandboxRunner, o as PluginManager, p as createHookPipeline, r as NoopSandboxRunner, s as createPluginManager, t as NodeSandboxRunner, w as prosemirrorToPortableText, x as issueGuestAccessToken, y as GuestAccessTokenConfigurationError } from "./plugins-Cz4PAYJf.mjs";
|
|
6
6
|
import { getRequestContext, runWithContext } from "./request-context.mjs";
|
|
7
7
|
import "./base64-F8-DUraK.mjs";
|
|
8
|
-
import { i as encodeCursor, n as ScheduledNotDueError, r as decodeCursor, t as DinewayValidationError } from "./types-
|
|
9
|
-
import { r as getDb } from "./loader-
|
|
8
|
+
import { i as encodeCursor, n as ScheduledNotDueError, r as decodeCursor, t as DinewayValidationError } from "./types-DXwmu5rT.mjs";
|
|
9
|
+
import { r as getDb } from "./loader-BFsHwbxI.mjs";
|
|
10
10
|
import { t as after } from "./after-BfniwgIf.mjs";
|
|
11
11
|
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-D51qOseS.mjs";
|
|
12
12
|
import { t as decodeSlug } from "./slugify-KSsVD_D3.mjs";
|
|
13
13
|
import { t as RevisionRepository } from "./revision-De7OmYVD.mjs";
|
|
14
|
-
import { t as ContentRepository } from "./content-
|
|
15
|
-
import { t as MediaRepository } from "./media-
|
|
16
|
-
import "./user-
|
|
17
|
-
import "./taxonomy-
|
|
18
|
-
import "./comment-
|
|
14
|
+
import { t as ContentRepository } from "./content-DW-BRHF4.mjs";
|
|
15
|
+
import { t as MediaRepository } from "./media-Dnpc2hW8.mjs";
|
|
16
|
+
import "./user-D-dGG5Om.mjs";
|
|
17
|
+
import "./taxonomy-DKG0n_q8.mjs";
|
|
18
|
+
import "./comment-CLb7ynlP.mjs";
|
|
19
19
|
import "./options-1dBRkoCl.mjs";
|
|
20
|
-
import "./audit-
|
|
21
|
-
import { t as SiteActivityRepository } from "./site-activity-
|
|
22
|
-
import "./review-requests-
|
|
23
|
-
import "./publication-authorization-
|
|
24
|
-
import { n as AssignmentService, r as HandoffSnapshotStore, w as AssignmentRepository } from "./site-context-
|
|
25
|
-
import "./context-
|
|
26
|
-
import "./menus-
|
|
27
|
-
import "./redirect-
|
|
20
|
+
import "./audit-CLEMKs-Q.mjs";
|
|
21
|
+
import { t as SiteActivityRepository } from "./site-activity-MiKT38qx.mjs";
|
|
22
|
+
import "./review-requests-D-lhld0A.mjs";
|
|
23
|
+
import "./publication-authorization-BQpdXnha.mjs";
|
|
24
|
+
import { n as AssignmentService, r as HandoffSnapshotStore, w as AssignmentRepository } from "./site-context-CqNMaJ5s.mjs";
|
|
25
|
+
import "./context-D8yUDM9d.mjs";
|
|
26
|
+
import "./menus-F1fYny2w.mjs";
|
|
27
|
+
import "./redirect-DtjSpGWp.mjs";
|
|
28
28
|
import "./request-cache-DoT2mKBT.mjs";
|
|
29
29
|
import { a as RESERVED_COLLECTION_SLUGS, o as RESERVED_FIELD_SLUGS, r as FIELD_TYPE_TO_COLUMN } from "./types-D1l9cCKM.mjs";
|
|
30
30
|
import "./byline-registry-CF9nobxT.mjs";
|
|
31
|
-
import "./field-defs-cache-
|
|
32
|
-
import { t as BylineRepository } from "./byline-
|
|
31
|
+
import "./field-defs-cache-Cf3F5lHw.mjs";
|
|
32
|
+
import { t as BylineRepository } from "./byline-BfL607qj.mjs";
|
|
33
33
|
import { n as normalizeMediaValue } from "./normalize-BY2gOygP.mjs";
|
|
34
34
|
import { n as generatePlaceholder } from "./enrich-Uw_OA9Ve.mjs";
|
|
35
|
-
import "./seo-
|
|
36
|
-
import { $ as handleContentUpdate, A as handleRevisionGet, B as handleContentDiscardDraft, D as handleMediaGet, E as handleMediaDelete, F as handleContentCompare, G as handleContentListTrashed, H as handleContentGet, I as handleContentCountScheduled, J as handleContentRestore, K as handleContentPermanentDelete, L as handleContentCountTrashed, M as handleRevisionRestore, N as generateManifest, O as handleMediaList, P as handleContentAuthors, Q as handleContentUnschedule, R as handleContentCreate, T as handleMediaCreate, U as handleContentGetIncludingTrashed, V as handleContentDuplicate, W as handleContentList, X as handleContentTranslations, Y as handleContentSchedule, Z as handleContentUnpublish, j as handleRevisionList, k as handleMediaUpdate, q as handleContentPublish, z as handleContentDelete } from "./api-
|
|
37
|
-
import "./dashboard-
|
|
38
|
-
import { t as SiteBriefingAssembler } from "./briefing-
|
|
35
|
+
import "./seo-Cbj0_Opd.mjs";
|
|
36
|
+
import { $ as handleContentUpdate, A as handleRevisionGet, B as handleContentDiscardDraft, D as handleMediaGet, E as handleMediaDelete, F as handleContentCompare, G as handleContentListTrashed, H as handleContentGet, I as handleContentCountScheduled, J as handleContentRestore, K as handleContentPermanentDelete, L as handleContentCountTrashed, M as handleRevisionRestore, N as generateManifest, O as handleMediaList, P as handleContentAuthors, Q as handleContentUnschedule, R as handleContentCreate, T as handleMediaCreate, U as handleContentGetIncludingTrashed, V as handleContentDuplicate, W as handleContentList, X as handleContentTranslations, Y as handleContentSchedule, Z as handleContentUnpublish, j as handleRevisionList, k as handleMediaUpdate, q as handleContentPublish, z as handleContentDelete } from "./api-CBL6bNU1.mjs";
|
|
37
|
+
import "./dashboard-CdsvXt0T.mjs";
|
|
38
|
+
import { t as SiteBriefingAssembler } from "./briefing-32h1e5FV.mjs";
|
|
39
39
|
import "./context-types-fEeyXC1D.mjs";
|
|
40
|
-
import "./content-refresh-
|
|
40
|
+
import "./content-refresh-iarREtUO.mjs";
|
|
41
41
|
import { n as hashString, t as computeContentHash } from "./hash-CEky-IDp.mjs";
|
|
42
|
-
import { t as FTSManager } from "./fts-manager-
|
|
42
|
+
import { t as FTSManager } from "./fts-manager-Bv4U_Qw0.mjs";
|
|
43
43
|
import "./public-discovery-CyDzK1-S.mjs";
|
|
44
|
-
import { n as SchemaRegistry, t as SchemaError } from "./registry-
|
|
45
|
-
import { i as getSiteSettings, n as getPluginSettings, r as getSiteSetting, s as setSiteSettings, t as getPluginSetting } from "./settings-
|
|
46
|
-
import "./briefing-
|
|
44
|
+
import { n as SchemaRegistry, t as SchemaError } from "./registry-Czz6avGn.mjs";
|
|
45
|
+
import { i as getSiteSettings, n as getPluginSettings, r as getSiteSetting, s as setSiteSettings, t as getPluginSetting } from "./settings-Bx3wzDK_.mjs";
|
|
46
|
+
import "./briefing-BbpmZz_4.mjs";
|
|
47
47
|
import { n as buildStableActionHash } from "./review-payload-BuLgXTY6.mjs";
|
|
48
|
-
import "./review-requests-
|
|
49
|
-
import { t as getCollectionInfo } from "./query-
|
|
50
|
-
import { r as validateContent } from "./zod-generator-
|
|
51
|
-
import "./schema-
|
|
52
|
-
import "./discovery-
|
|
48
|
+
import "./review-requests-lVwh6U-G.mjs";
|
|
49
|
+
import { t as getCollectionInfo } from "./query-DQOB6OEA.mjs";
|
|
50
|
+
import { r as validateContent } from "./zod-generator-3jqAzlTK.mjs";
|
|
51
|
+
import "./schema-DxDfwabF.mjs";
|
|
52
|
+
import "./discovery-yoK6-UaX.mjs";
|
|
53
53
|
import { t as resolveContentUrl } from "./public-url-DjWfilkD.mjs";
|
|
54
|
-
import "./seo-
|
|
55
|
-
import "./bylines-
|
|
54
|
+
import "./seo-B0n_oZM5.mjs";
|
|
55
|
+
import "./bylines-DpjxbnYL.mjs";
|
|
56
56
|
import "./byline-fields-GoUVaGw4.mjs";
|
|
57
|
-
import { o as getSection, s as getSections } from "./sections-
|
|
58
|
-
import "./settings-
|
|
57
|
+
import { o as getSection, s as getSections } from "./sections-jAOXJcIV.mjs";
|
|
58
|
+
import "./settings-CYt46_A5.mjs";
|
|
59
59
|
import "./secrets-MqvM60s_.mjs";
|
|
60
60
|
import "./store-BtCoeap4.mjs";
|
|
61
61
|
import "./integration-credentials-CTrvXgEc.mjs";
|
|
62
62
|
import "./resolve-BDWXnk_V.mjs";
|
|
63
|
-
import { a as getTaxonomyTerms, i as getTaxonomyDefs, n as getEntryTerms, o as getTerm, r as getTaxonomyDef, s as getTermsForEntries, t as getEntriesByTerm } from "./taxonomies-
|
|
64
|
-
import "./taxonomies-
|
|
63
|
+
import { a as getTaxonomyTerms, i as getTaxonomyDefs, n as getEntryTerms, o as getTerm, r as getTaxonomyDef, s as getTermsForEntries, t as getEntriesByTerm } from "./taxonomies-iZGA_8zf.mjs";
|
|
64
|
+
import "./taxonomies-BMArg_t1.mjs";
|
|
65
65
|
import { r as isStandardPluginDefinition } from "./types-B-nDjnzA.mjs";
|
|
66
66
|
import { i as pluginManifestSchema } from "./manifest-schema-owbEUmv1.mjs";
|
|
67
67
|
import { t as DinewayStorageError } from "./types-dgGPmsl_.mjs";
|
|
@@ -71,7 +71,7 @@ import "./byline-fields-C4OeOttq.mjs";
|
|
|
71
71
|
import { n as sanitizeHref, t as isSafeHref } from "./url-CmjWycVK.mjs";
|
|
72
72
|
import "./status-BdZSXIP_.mjs";
|
|
73
73
|
import { t as checkRateLimit } from "./rate-limit-JhnJUEno.mjs";
|
|
74
|
-
import { c as createEditable, i as getTranslations, l as createNoop, n as getDinewayEntry, r as getEditMeta, s as resolveDinewayPath, t as getDinewayCollection } from "./query-
|
|
74
|
+
import { c as createEditable, i as getTranslations, l as createNoop, n as getDinewayEntry, r as getEditMeta, s as resolveDinewayPath, t as getDinewayCollection } from "./query-qGr7GGfF.mjs";
|
|
75
75
|
import { a as verifyPreviewSignature, i as signPreviewUrl, n as defaultPreviewSidecarClient, r as parsePreviewSignatureHeader, t as buildPreviewSignatureHeader } from "./sidecar-client-SDgPreXV.mjs";
|
|
76
76
|
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-CjL_29aE.mjs";
|
|
77
77
|
import { n as parseWxrString, t as parseWxr } from "./parser-C3ux7a3Y.mjs";
|
|
@@ -79,21 +79,21 @@ import { adaptSandboxEntry } from "./plugins/adapt-sandbox-entry.mjs";
|
|
|
79
79
|
import "./ssrf-D00lPvtF.mjs";
|
|
80
80
|
import "./cron-DIsnItPn.mjs";
|
|
81
81
|
import "./api-tokens-CZ472rzA.mjs";
|
|
82
|
-
import { t as createReviewedPluginMcpCommandExecutor } from "./mcp-reviewed-executor-
|
|
83
|
-
import "./activity-
|
|
84
|
-
import "./activity-events-
|
|
82
|
+
import { t as createReviewedPluginMcpCommandExecutor } from "./mcp-reviewed-executor-BUEO0Osb.mjs";
|
|
83
|
+
import "./activity-DTJtloA1.mjs";
|
|
84
|
+
import "./activity-events-C1U22VYR.mjs";
|
|
85
85
|
import "./utils-iGiCys50.mjs";
|
|
86
|
-
import { a as getSuggestions, c as searchWithDb, i as getSearchStats, n as extractPlainText, o as search, r as extractSearchableFields, s as searchCollection } from "./search-
|
|
87
|
-
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-
|
|
86
|
+
import { a as getSuggestions, c as searchWithDb, i as getSearchStats, n as extractPlainText, o as search, r as extractSearchableFields, s as searchCollection } from "./search-D-wOjRiP.mjs";
|
|
87
|
+
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-iQ3y2-4Q.mjs";
|
|
88
88
|
import { n as parseContentId, r as verifyPreviewToken, t as generatePreviewToken } from "./tokens-ShJZm_QS.mjs";
|
|
89
89
|
import { getContentSeo, getSeoMeta } from "./seo/index.mjs";
|
|
90
|
-
import "./comment-reaction-
|
|
91
|
-
import { i as getComments, n as getMenus, r as getCommentCount, t as getMenu } from "./menus-
|
|
92
|
-
import { i as getEntriesByByline, n as getByline, r as getBylineBySlug } from "./bylines-
|
|
93
|
-
import { n as getWidgetAreas, r as getWidgetComponents, t as getWidgetArea } from "./widgets-
|
|
94
|
-
import { t as validateSeed } from "./validate-
|
|
95
|
-
import { t as applySeed } from "./apply-
|
|
96
|
-
import "./load-
|
|
90
|
+
import "./comment-reaction-HMk3Ugvo.mjs";
|
|
91
|
+
import { i as getComments, n as getMenus, r as getCommentCount, t as getMenu } from "./menus-BRMcey1A.mjs";
|
|
92
|
+
import { i as getEntriesByByline, n as getByline, r as getBylineBySlug } from "./bylines-Cy5KBNpg.mjs";
|
|
93
|
+
import { n as getWidgetAreas, r as getWidgetComponents, t as getWidgetArea } from "./widgets-B18H_Xgl.mjs";
|
|
94
|
+
import { t as validateSeed } from "./validate-AzYhwCD8.mjs";
|
|
95
|
+
import { t as applySeed } from "./apply-D5i71kfi.mjs";
|
|
96
|
+
import "./load-dOITHB_Z.mjs";
|
|
97
97
|
import "./seed/index.mjs";
|
|
98
98
|
import { ulid } from "ulidx";
|
|
99
99
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Dt as PublicSchemaNode, Et as PublicPageSchema, F as PageMetadataContribution, M as PageFragmentContribution, R as PageMetadataLinkRel, Tt as PublicPageImage, t as BreadcrumbItem, wt as PublicPageContext, z as PagePlacement } from "./types-
|
|
2
|
-
import { S as SeoSettings } from "./validate-
|
|
1
|
+
import { Dt as PublicSchemaNode, Et as PublicPageSchema, F as PageMetadataContribution, M as PageFragmentContribution, R as PageMetadataLinkRel, Tt as PublicPageImage, t as BreadcrumbItem, wt as PublicPageContext, z as PagePlacement } from "./types-DB9weIZo.mjs";
|
|
2
|
+
import { S as SeoSettings } from "./validate-BRq01mTo.mjs";
|
|
3
3
|
|
|
4
4
|
//#region src/page/context.d.ts
|
|
5
5
|
/** Fields shared by both input forms */
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { a as __exportAll } from "./runner-
|
|
1
|
+
import { a as __exportAll } from "./runner-CPugEIU8.mjs";
|
|
2
2
|
import { t as validateIdentifier } from "./validate-VPnKoIzW.mjs";
|
|
3
3
|
import { o as isPostgres, r as currentIsoTimestampValue } from "./dialect-helpers-fk43GbDb.mjs";
|
|
4
4
|
import { getRequestContext } from "./request-context.mjs";
|
|
5
5
|
import { kyselyLogOption } from "./database/instrumentation.mjs";
|
|
6
|
-
import { i as encodeCursor, r as decodeCursor } from "./types-
|
|
6
|
+
import { i as encodeCursor, r as decodeCursor } from "./types-DXwmu5rT.mjs";
|
|
7
7
|
import { Kysely, sql } from "kysely";
|
|
8
8
|
|
|
9
9
|
//#region src/live-collection-meta.ts
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { o as HitlRequestRepository } from "./publication-authorization-
|
|
2
|
-
import { b as HitlRequestService } from "./site-context-
|
|
1
|
+
import { o as HitlRequestRepository } from "./publication-authorization-BQpdXnha.mjs";
|
|
2
|
+
import { b as HitlRequestService } from "./site-context-CqNMaJ5s.mjs";
|
|
3
3
|
import { n as stableStringify } from "./stable-hash-_A3p1ln2.mjs";
|
|
4
4
|
import { n as buildStableActionHash } from "./review-payload-BuLgXTY6.mjs";
|
|
5
5
|
import { i as hasScope } from "./api-tokens-CZ472rzA.mjs";
|
|
6
|
-
import { m as logSiteActivityStrict, p as logSiteActivitySafely } from "./activity-events-
|
|
6
|
+
import { m as logSiteActivityStrict, p as logSiteActivitySafely } from "./activity-events-C1U22VYR.mjs";
|
|
7
7
|
import { ulid } from "ulidx";
|
|
8
8
|
import { hasPermission } from "@dineway-ai/auth";
|
|
9
9
|
import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import "../types-
|
|
2
|
-
import { t as Database } from "../types-
|
|
1
|
+
import "../types-DB9weIZo.mjs";
|
|
2
|
+
import { t as Database } from "../types-B7Ifhtyz.mjs";
|
|
3
3
|
import { h as MediaProviderItem, o as CreateMediaProviderFn } from "../placeholder-0cGpMonY.mjs";
|
|
4
|
-
import "../runner-
|
|
5
|
-
import "../index-
|
|
4
|
+
import "../runner-CvwzNJHj.mjs";
|
|
5
|
+
import "../index-DXcPysP3.mjs";
|
|
6
6
|
import "../types-BdsNqnHA.mjs";
|
|
7
7
|
import { d as Storage } from "../types-D8iukuuI.mjs";
|
|
8
|
-
import "../public-url-
|
|
9
|
-
import "../validate-
|
|
10
|
-
import "../byline-fields-
|
|
8
|
+
import "../public-url-CbmE-u2t.mjs";
|
|
9
|
+
import "../validate-BRq01mTo.mjs";
|
|
10
|
+
import "../byline-fields-CexmiaFr.mjs";
|
|
11
11
|
import "../types-ZdWRfUsC.mjs";
|
|
12
12
|
import "../index.mjs";
|
|
13
13
|
import { Kysely } from "kysely";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "../base64-F8-DUraK.mjs";
|
|
2
|
-
import "../types-
|
|
3
|
-
import { t as MediaRepository } from "../media-
|
|
2
|
+
import "../types-DXwmu5rT.mjs";
|
|
3
|
+
import { t as MediaRepository } from "../media-Dnpc2hW8.mjs";
|
|
4
4
|
|
|
5
5
|
//#region src/media/local-runtime.ts
|
|
6
6
|
/**
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { t as validateIdentifier } from "./validate-VPnKoIzW.mjs";
|
|
2
|
-
import { r as getDb } from "./loader-
|
|
2
|
+
import { r as getDb } from "./loader-BFsHwbxI.mjs";
|
|
3
3
|
import { n as cachedQuery, t as CacheNamespace } from "./object-cache-D51qOseS.mjs";
|
|
4
|
-
import { t as CommentRepository } from "./comment-
|
|
4
|
+
import { t as CommentRepository } from "./comment-CLb7ynlP.mjs";
|
|
5
5
|
import { r as requestCached } from "./request-cache-DoT2mKBT.mjs";
|
|
6
6
|
import { n as resolveLocaleChain, t as resolveLocale } from "./resolve-BDWXnk_V.mjs";
|
|
7
7
|
import { n as sanitizeHref } from "./url-CmjWycVK.mjs";
|
|
8
|
-
import { t as CommentReactionRepository } from "./comment-reaction-
|
|
8
|
+
import { t as CommentReactionRepository } from "./comment-reaction-HMk3Ugvo.mjs";
|
|
9
9
|
import { sql } from "kysely";
|
|
10
10
|
|
|
11
11
|
//#region src/comments/ranking.ts
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as __exportAll } from "./runner-
|
|
1
|
+
import { a as __exportAll } from "./runner-CPugEIU8.mjs";
|
|
2
2
|
import { n as getI18nConfig } from "./config-CVssduLe.mjs";
|
|
3
3
|
import { c as invalidateMenuObjectCache } from "./object-cache-D51qOseS.mjs";
|
|
4
4
|
import { t as withTransaction } from "./transaction-L0tzAOfM.mjs";
|
package/dist/page/index.d.mts
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { Dt as PublicSchemaNode, Et as PublicPageSchema, F as PageMetadataContribution, M as PageFragmentContribution, Tt as PublicPageImage, wt as PublicPageContext } from "../types-
|
|
2
|
-
import "../types-
|
|
3
|
-
import "../runner-
|
|
4
|
-
import "../index-
|
|
1
|
+
import { Dt as PublicSchemaNode, Et as PublicPageSchema, F as PageMetadataContribution, M as PageFragmentContribution, Tt as PublicPageImage, wt as PublicPageContext } from "../types-DB9weIZo.mjs";
|
|
2
|
+
import "../types-B7Ifhtyz.mjs";
|
|
3
|
+
import "../runner-CvwzNJHj.mjs";
|
|
4
|
+
import "../index-DXcPysP3.mjs";
|
|
5
5
|
import "../types-BdsNqnHA.mjs";
|
|
6
|
-
import "../public-url-
|
|
7
|
-
import "../validate-
|
|
8
|
-
import "../byline-fields-
|
|
6
|
+
import "../public-url-CbmE-u2t.mjs";
|
|
7
|
+
import "../validate-BRq01mTo.mjs";
|
|
8
|
+
import "../byline-fields-CexmiaFr.mjs";
|
|
9
9
|
import "../types-ZdWRfUsC.mjs";
|
|
10
|
-
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-
|
|
10
|
+
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-BM0JqNLm.mjs";
|
|
11
11
|
|
|
12
12
|
//#region src/page/index.d.ts
|
|
13
13
|
/**
|
package/dist/plugin-utils.d.mts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import "./types-
|
|
2
|
-
import "./types-
|
|
3
|
-
import "./runner-
|
|
4
|
-
import "./index-
|
|
1
|
+
import "./types-DB9weIZo.mjs";
|
|
2
|
+
import "./types-B7Ifhtyz.mjs";
|
|
3
|
+
import "./runner-CvwzNJHj.mjs";
|
|
4
|
+
import "./index-DXcPysP3.mjs";
|
|
5
5
|
import "./types-BdsNqnHA.mjs";
|
|
6
|
-
import "./public-url-
|
|
7
|
-
import "./validate-
|
|
8
|
-
import "./byline-fields-
|
|
6
|
+
import "./public-url-CbmE-u2t.mjs";
|
|
7
|
+
import "./validate-BRq01mTo.mjs";
|
|
8
|
+
import "./byline-fields-CexmiaFr.mjs";
|
|
9
9
|
import "./types-ZdWRfUsC.mjs";
|
|
10
10
|
import { DinewayHandlers } from "./astro/types.mjs";
|
|
11
11
|
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { Ft as StandardPluginDefinition, ko as PluginDescriptor, kt as ResolvedPlugin } from "../types-
|
|
2
|
-
import "../types-
|
|
3
|
-
import "../runner-
|
|
4
|
-
import "../index-
|
|
1
|
+
import { Ft as StandardPluginDefinition, ko as PluginDescriptor, kt as ResolvedPlugin } from "../types-DB9weIZo.mjs";
|
|
2
|
+
import "../types-B7Ifhtyz.mjs";
|
|
3
|
+
import "../runner-CvwzNJHj.mjs";
|
|
4
|
+
import "../index-DXcPysP3.mjs";
|
|
5
5
|
import "../types-BdsNqnHA.mjs";
|
|
6
|
-
import "../public-url-
|
|
7
|
-
import "../validate-
|
|
8
|
-
import "../byline-fields-
|
|
6
|
+
import "../public-url-CbmE-u2t.mjs";
|
|
7
|
+
import "../validate-BRq01mTo.mjs";
|
|
8
|
+
import "../byline-fields-CexmiaFr.mjs";
|
|
9
9
|
import "../types-ZdWRfUsC.mjs";
|
|
10
10
|
|
|
11
11
|
//#region src/plugins/adapt-sandbox-entry.d.ts
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { r as validatePluginIdentifier, t as validateIdentifier } from "./validate-VPnKoIzW.mjs";
|
|
2
2
|
import { i as encodeBase64url, n as decodeBase64url } from "./base64-F8-DUraK.mjs";
|
|
3
|
-
import { n as chunks, t as SQL_BATCH_SIZE } from "./chunks
|
|
3
|
+
import { n as chunks, t as SQL_BATCH_SIZE } from "./chunks-0oflHOGr.mjs";
|
|
4
4
|
import { t as OptionsRepository } from "./options-1dBRkoCl.mjs";
|
|
5
|
-
import { n as createPluginContext, t as PluginContextFactory } from "./context-
|
|
5
|
+
import { n as createPluginContext, t as PluginContextFactory } from "./context-D8yUDM9d.mjs";
|
|
6
6
|
import { i as parseEncryptionKeys, t as DinewaySecretsError } from "./secrets-MqvM60s_.mjs";
|
|
7
7
|
import { t as extractRequestMeta } from "./request-meta-DnZm9Kbu.mjs";
|
|
8
8
|
import { r as setCronTasksEnabled } from "./cron-DIsnItPn.mjs";
|
|
@@ -1308,6 +1308,7 @@ function defineNativePlugin(definition) {
|
|
|
1308
1308
|
allowedHosts,
|
|
1309
1309
|
storage,
|
|
1310
1310
|
migrations: Object.freeze(normalizedMigrations),
|
|
1311
|
+
nativeExtensions: Object.freeze({ ...definition.nativeExtensions }),
|
|
1311
1312
|
hooks: resolvedHooks,
|
|
1312
1313
|
routes,
|
|
1313
1314
|
mcp,
|
package/dist/{publication-authorization-BvguiESO.mjs → publication-authorization-BQpdXnha.mjs}
RENAMED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { i as encodeCursor, r as decodeCursor } from "./types-
|
|
2
|
-
import { t as SiteActivityRepository } from "./site-activity-
|
|
3
|
-
import { t as ReviewRequestRepository } from "./review-requests-
|
|
4
|
-
import { a as getSiteSettingsWithDb } from "./settings-
|
|
1
|
+
import { i as encodeCursor, r as decodeCursor } from "./types-DXwmu5rT.mjs";
|
|
2
|
+
import { t as SiteActivityRepository } from "./site-activity-MiKT38qx.mjs";
|
|
3
|
+
import { t as ReviewRequestRepository } from "./review-requests-D-lhld0A.mjs";
|
|
4
|
+
import { a as getSiteSettingsWithDb } from "./settings-Bx3wzDK_.mjs";
|
|
5
5
|
import { n as buildStableActionHash, t as ReviewPayloadBuilder } from "./review-payload-BuLgXTY6.mjs";
|
|
6
6
|
import { t as SYSTEM_ACTOR_ID } from "./actor-BraTCiOp.mjs";
|
|
7
|
-
import { n as redactActivityRecord } from "./activity-
|
|
7
|
+
import { n as redactActivityRecord } from "./activity-DTJtloA1.mjs";
|
|
8
8
|
import { ulid } from "ulidx";
|
|
9
9
|
|
|
10
10
|
//#region src/database/repositories/content-release-grants.ts
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { r as getDb } from "./loader-
|
|
1
|
+
import { r as getDb } from "./loader-BFsHwbxI.mjs";
|
|
2
2
|
import { n as cachedQuery, t as CacheNamespace } from "./object-cache-D51qOseS.mjs";
|
|
3
3
|
import { r as requestCached } from "./request-cache-DoT2mKBT.mjs";
|
|
4
|
-
import { n as SchemaRegistry } from "./registry-
|
|
4
|
+
import { n as SchemaRegistry } from "./registry-Czz6avGn.mjs";
|
|
5
5
|
|
|
6
6
|
//#region src/schema/query.ts
|
|
7
7
|
/**
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { a as __exportAll } from "./runner-
|
|
1
|
+
import { a as __exportAll } from "./runner-CPugEIU8.mjs";
|
|
2
2
|
import { n as getI18nConfig, r as isI18nEnabled, t as getFallbackChain } from "./config-CVssduLe.mjs";
|
|
3
3
|
import { getRequestContext } from "./request-context.mjs";
|
|
4
|
-
import { i as encodeCursor } from "./types-
|
|
5
|
-
import { o as isMissingTableError, s as takeLiveCollectionMeta, t as CURSOR_RAW_VALUES } from "./loader-
|
|
4
|
+
import { i as encodeCursor } from "./types-DXwmu5rT.mjs";
|
|
5
|
+
import { o as isMissingTableError, s as takeLiveCollectionMeta, t as CURSOR_RAW_VALUES } from "./loader-BFsHwbxI.mjs";
|
|
6
6
|
import { i as contentNamespaces, n as cachedQuery, u as invalidateSchemaObjectCache } from "./object-cache-D51qOseS.mjs";
|
|
7
7
|
import { r as requestCached } from "./request-cache-DoT2mKBT.mjs";
|
|
8
8
|
|
|
@@ -163,12 +163,12 @@ async function getDinewayCollection(type, filter) {
|
|
|
163
163
|
const ctx = getRequestContext();
|
|
164
164
|
const i18nConfig = getI18nConfig();
|
|
165
165
|
const resolvedLocale = filter?.locale ?? ctx?.locale ?? (isI18nEnabled() ? i18nConfig.defaultLocale : void 0);
|
|
166
|
+
if (ctx?.editMode || ctx?.preview) return getDinewayCollectionUncached(type, filter, resolvedLocale);
|
|
166
167
|
const bucketed = bucketFilter(filter);
|
|
167
168
|
const cached = await requestCached(collectionCacheKey(type, bucketed.fetchFilter, resolvedLocale), () => loadCollectionCached(type, bucketed.fetchFilter, resolvedLocale));
|
|
168
169
|
return bucketed.requestedLimit === void 0 ? cached : sliceCollectionResult(cached, bucketed.requestedLimit, filter?.orderBy);
|
|
169
170
|
}
|
|
170
171
|
async function loadCollectionCached(type, filter, resolvedLocale) {
|
|
171
|
-
if (getRequestContext()?.editMode) return getDinewayCollectionUncached(type, filter, resolvedLocale);
|
|
172
172
|
const snapshot = await cachedQuery({
|
|
173
173
|
namespace: contentNamespaces(type),
|
|
174
174
|
key: collectionCacheKey(type, filter, resolvedLocale),
|
|
@@ -597,9 +597,9 @@ 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-BFsHwbxI.mjs").then((n) => n.i);
|
|
601
601
|
const db = await getDb();
|
|
602
|
-
const { getBylineFieldDefs } = await import("./field-defs-cache-
|
|
602
|
+
const { getBylineFieldDefs } = await import("./field-defs-cache-Cf3F5lHw.mjs").then((n) => n.t);
|
|
603
603
|
hasCustomFields = (await getBylineFieldDefs(db)).length > 0;
|
|
604
604
|
} catch (error) {
|
|
605
605
|
if (!isMissingTableError(error)) needsQueryPath = true;
|
|
@@ -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-Cy5KBNpg.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-iZGA_8zf.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-iZGA_8zf.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-BFsHwbxI.mjs").then((n) => n.i)).getDb;
|
|
714
714
|
const dbInstance = await db();
|
|
715
|
-
const { ContentRepository } = await import("./content-
|
|
715
|
+
const { ContentRepository } = await import("./content-DW-BRHF4.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;
|
|
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-BFsHwbxI.mjs").then((n) => n.i);
|
|
784
|
+
const { SchemaRegistry } = await import("./registry-Czz6avGn.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 { a as currentTimestampValue } from "./dialect-helpers-fk43GbDb.mjs";
|
|
2
|
-
import { i as encodeCursor, r as decodeCursor } from "./types-
|
|
2
|
+
import { i as encodeCursor, r as decodeCursor } from "./types-DXwmu5rT.mjs";
|
|
3
3
|
import { i as matchPattern, n as interpolateDestination, r as isPattern, t as compilePattern } from "./patterns-CP9gkiCE.mjs";
|
|
4
4
|
import { sql } from "kysely";
|
|
5
5
|
import { ulid } from "ulidx";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as OptionsRepository } from "./options-1dBRkoCl.mjs";
|
|
2
|
-
import { t as RedirectRepository } from "./redirect-
|
|
2
|
+
import { t as RedirectRepository } from "./redirect-DtjSpGWp.mjs";
|
|
3
3
|
import { a as validateDestinationParams, i as matchPattern, n as interpolateDestination, o as validatePattern, r as isPattern, t as compilePattern } from "./patterns-CP9gkiCE.mjs";
|
|
4
|
-
import { i as invalidateRedirectCache } from "./cache-
|
|
4
|
+
import { i as invalidateRedirectCache } from "./cache-Bwds591_.mjs";
|
|
5
5
|
import { n as isTerminalStatus } from "./status-BdZSXIP_.mjs";
|
|
6
6
|
|
|
7
7
|
//#region src/redirects/loops.ts
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { a as __exportAll } from "./runner-
|
|
1
|
+
import { a as __exportAll } from "./runner-CPugEIU8.mjs";
|
|
2
2
|
import { t as validateIdentifier } from "./validate-VPnKoIzW.mjs";
|
|
3
3
|
import { i as currentTimestamp, l as listTablesLike, n as columnExists, u as tableExists } from "./dialect-helpers-fk43GbDb.mjs";
|
|
4
4
|
import { n as contentLocaleUpdatedIndexName, t as contentLocaleCreatedIndexName } from "./content-index-names-Bbu1FY1r.mjs";
|
|
5
|
-
import { n as chunks, t as SQL_BATCH_SIZE } from "./chunks
|
|
5
|
+
import { n as chunks, t as SQL_BATCH_SIZE } from "./chunks-0oflHOGr.mjs";
|
|
6
6
|
import { t as withTransaction } from "./transaction-L0tzAOfM.mjs";
|
|
7
7
|
import { a as RESERVED_COLLECTION_SLUGS, o as RESERVED_FIELD_SLUGS, r as FIELD_TYPE_TO_COLUMN } from "./types-D1l9cCKM.mjs";
|
|
8
|
-
import { a as markContentMediaUsageCollectionStaleSafely, n as deleteContentMediaUsageCollection } from "./content-refresh-
|
|
9
|
-
import { t as FTSManager } from "./fts-manager-
|
|
8
|
+
import { a as markContentMediaUsageCollectionStaleSafely, n as deleteContentMediaUsageCollection } from "./content-refresh-iarREtUO.mjs";
|
|
9
|
+
import { t as FTSManager } from "./fts-manager-Bv4U_Qw0.mjs";
|
|
10
10
|
import { t as buildStableHash } from "./stable-hash-_A3p1ln2.mjs";
|
|
11
11
|
import { t as parsePublicDiscoveryRules } from "./public-discovery-CyDzK1-S.mjs";
|
|
12
12
|
import { sql } from "kysely";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as ReviewRequestRepository } from "./review-requests-
|
|
1
|
+
import { t as ReviewRequestRepository } from "./review-requests-D-lhld0A.mjs";
|
|
2
2
|
import { t as ReviewPayloadBuilder } from "./review-payload-BuLgXTY6.mjs";
|
|
3
3
|
|
|
4
4
|
//#region src/api/handlers/review-requests.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as resolveActorIdentity } from "./actor-BraTCiOp.mjs";
|
|
2
|
-
import { p as logSiteActivitySafely } from "./activity-events-
|
|
2
|
+
import { p as logSiteActivitySafely } from "./activity-events-C1U22VYR.mjs";
|
|
3
3
|
|
|
4
4
|
//#region src/api/review-route-helpers.ts
|
|
5
5
|
function resolveReviewRouteActor(locals) {
|