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
|
@@ -1,41 +1,41 @@
|
|
|
1
1
|
import { t as validateIdentifier } from "../../../../../validate-VPnKoIzW.mjs";
|
|
2
2
|
import "../../../../../dialect-helpers-fk43GbDb.mjs";
|
|
3
3
|
import "../../../../../base64-F8-DUraK.mjs";
|
|
4
|
-
import "../../../../../types-
|
|
5
|
-
import "../../../../../loader-
|
|
4
|
+
import "../../../../../types-DXwmu5rT.mjs";
|
|
5
|
+
import "../../../../../loader-BFsHwbxI.mjs";
|
|
6
6
|
import "../../../../../object-cache-D51qOseS.mjs";
|
|
7
7
|
import "../../../../../revision-De7OmYVD.mjs";
|
|
8
|
-
import "../../../../../content-
|
|
9
|
-
import "../../../../../media-
|
|
8
|
+
import "../../../../../content-DW-BRHF4.mjs";
|
|
9
|
+
import "../../../../../media-Dnpc2hW8.mjs";
|
|
10
10
|
import "../../../../../options-1dBRkoCl.mjs";
|
|
11
|
-
import "../../../../../site-activity-
|
|
12
|
-
import "../../../../../review-requests-
|
|
13
|
-
import "../../../../../publication-authorization-
|
|
14
|
-
import { f as WordPressImportHitlPayloadBuilder, g as RiskPolicyEvaluator } from "../../../../../site-context-
|
|
11
|
+
import "../../../../../site-activity-MiKT38qx.mjs";
|
|
12
|
+
import "../../../../../review-requests-D-lhld0A.mjs";
|
|
13
|
+
import "../../../../../publication-authorization-BQpdXnha.mjs";
|
|
14
|
+
import { f as WordPressImportHitlPayloadBuilder, g as RiskPolicyEvaluator } from "../../../../../site-context-CqNMaJ5s.mjs";
|
|
15
15
|
import "../../../../../request-cache-DoT2mKBT.mjs";
|
|
16
16
|
import { n as normalizeMediaValue } from "../../../../../normalize-BY2gOygP.mjs";
|
|
17
|
-
import "../../../../../briefing-
|
|
17
|
+
import "../../../../../briefing-32h1e5FV.mjs";
|
|
18
18
|
import "../../../../../context-types-fEeyXC1D.mjs";
|
|
19
|
-
import { a as markContentMediaUsageCollectionStaleSafely } from "../../../../../content-refresh-
|
|
20
|
-
import "../../../../../fts-manager-
|
|
19
|
+
import { a as markContentMediaUsageCollectionStaleSafely } from "../../../../../content-refresh-iarREtUO.mjs";
|
|
20
|
+
import "../../../../../fts-manager-Bv4U_Qw0.mjs";
|
|
21
21
|
import "../../../../../public-discovery-CyDzK1-S.mjs";
|
|
22
|
-
import "../../../../../registry-
|
|
23
|
-
import "../../../../../settings-
|
|
24
|
-
import "../../../../../query-
|
|
25
|
-
import "../../../../../zod-generator-
|
|
26
|
-
import "../../../../../schema-
|
|
22
|
+
import "../../../../../registry-Czz6avGn.mjs";
|
|
23
|
+
import "../../../../../settings-Bx3wzDK_.mjs";
|
|
24
|
+
import "../../../../../query-DQOB6OEA.mjs";
|
|
25
|
+
import "../../../../../zod-generator-3jqAzlTK.mjs";
|
|
26
|
+
import "../../../../../schema-DxDfwabF.mjs";
|
|
27
27
|
import { n as apiSuccess, r as handleError, t as apiError } from "../../../../../error-BPA9T0AW.mjs";
|
|
28
28
|
import { n as parseBody, t as isParseError } from "../../../../../parse-CJC9DGe9.mjs";
|
|
29
29
|
import "../../../../../redirects-C9pg6Dcg.mjs";
|
|
30
30
|
import { f as wpRewriteUrlsBody } from "../../../../../byline-fields-C4OeOttq.mjs";
|
|
31
31
|
import "../../../../../status-BdZSXIP_.mjs";
|
|
32
32
|
import "../../../../../api/schemas/index.mjs";
|
|
33
|
-
import "../../../../../activity-
|
|
34
|
-
import "../../../../../activity-events-
|
|
33
|
+
import "../../../../../activity-DTJtloA1.mjs";
|
|
34
|
+
import "../../../../../activity-events-C1U22VYR.mjs";
|
|
35
35
|
import "../../../../../utils-iGiCys50.mjs";
|
|
36
|
-
import "../../../../../search-
|
|
36
|
+
import "../../../../../search-D-wOjRiP.mjs";
|
|
37
37
|
import { n as requirePerm } from "../../../../../authorize-Dg75h4BN.mjs";
|
|
38
|
-
import { i as resolveHitlRouteActor, n as hitlRequiredRouteError, t as ensureWorkflowHitlRouteRequest } from "../../../../../hitl-route-helpers-
|
|
38
|
+
import { i as resolveHitlRouteActor, n as hitlRequiredRouteError, t as ensureWorkflowHitlRouteRequest } from "../../../../../hitl-route-helpers-DRdeq7Ld.mjs";
|
|
39
39
|
import { buildBaseUrlMap, extractMediaUrl, findMatchingUrl, rewritePortableTextUrls, rewriteStringUrls } from "./rewrite-url-helpers.mjs";
|
|
40
40
|
import { sql } from "kysely";
|
|
41
41
|
import { z } from "zod";
|
|
@@ -79,7 +79,7 @@ const POST = async ({ request, locals }) => {
|
|
|
79
79
|
}
|
|
80
80
|
};
|
|
81
81
|
async function rewriteUrls(db, urlMap, getProvider, collections, markUsageCollectionStale = markContentMediaUsageCollectionStaleSafely) {
|
|
82
|
-
const { SchemaRegistry } = await import("../../../../../registry-
|
|
82
|
+
const { SchemaRegistry } = await import("../../../../../registry-Czz6avGn.mjs").then((n) => n.r);
|
|
83
83
|
const registry = new SchemaRegistry(db);
|
|
84
84
|
const result = {
|
|
85
85
|
updated: 0,
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import "../../../../../dialect-helpers-fk43GbDb.mjs";
|
|
2
2
|
import "../../../../../base64-F8-DUraK.mjs";
|
|
3
|
-
import "../../../../../types-
|
|
4
|
-
import "../../../../../loader-
|
|
3
|
+
import "../../../../../types-DXwmu5rT.mjs";
|
|
4
|
+
import "../../../../../loader-BFsHwbxI.mjs";
|
|
5
5
|
import "../../../../../object-cache-D51qOseS.mjs";
|
|
6
|
-
import "../../../../../media-
|
|
7
|
-
import "../../../../../taxonomy-
|
|
6
|
+
import "../../../../../media-Dnpc2hW8.mjs";
|
|
7
|
+
import "../../../../../taxonomy-DKG0n_q8.mjs";
|
|
8
8
|
import "../../../../../options-1dBRkoCl.mjs";
|
|
9
9
|
import "../../../../../request-cache-DoT2mKBT.mjs";
|
|
10
10
|
import "../../../../../context-types-fEeyXC1D.mjs";
|
|
11
|
-
import "../../../../../content-refresh-
|
|
12
|
-
import "../../../../../fts-manager-
|
|
11
|
+
import "../../../../../content-refresh-iarREtUO.mjs";
|
|
12
|
+
import "../../../../../fts-manager-Bv4U_Qw0.mjs";
|
|
13
13
|
import "../../../../../public-discovery-CyDzK1-S.mjs";
|
|
14
|
-
import { n as SchemaRegistry } from "../../../../../registry-
|
|
15
|
-
import "../../../../../settings-
|
|
14
|
+
import { n as SchemaRegistry } from "../../../../../registry-Czz6avGn.mjs";
|
|
15
|
+
import "../../../../../settings-Bx3wzDK_.mjs";
|
|
16
16
|
import "../../../../../resolve-BDWXnk_V.mjs";
|
|
17
|
-
import "../../../../../taxonomies-
|
|
17
|
+
import "../../../../../taxonomies-iZGA_8zf.mjs";
|
|
18
18
|
import { n as apiSuccess, r as handleError, t as apiError } from "../../../../../error-BPA9T0AW.mjs";
|
|
19
19
|
import { n as parseBody, t as isParseError } from "../../../../../parse-CJC9DGe9.mjs";
|
|
20
20
|
import "../../../../../redirects-C9pg6Dcg.mjs";
|
|
@@ -24,7 +24,7 @@ import "../../../../../api/schemas/index.mjs";
|
|
|
24
24
|
import "../../../../../parser-C3ux7a3Y.mjs";
|
|
25
25
|
import { n as resolveAndValidateExternalUrl, t as SsrfError } from "../../../../../ssrf-D00lPvtF.mjs";
|
|
26
26
|
import "../../../../../utils-iGiCys50.mjs";
|
|
27
|
-
import { h as getSource } from "../../../../../import-
|
|
27
|
+
import { h as getSource } from "../../../../../import-iQ3y2-4Q.mjs";
|
|
28
28
|
import { n as requirePerm } from "../../../../../authorize-Dg75h4BN.mjs";
|
|
29
29
|
|
|
30
30
|
//#region src/astro/routes/api/import/wordpress-plugin/analyze.ts
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import "../../../../../types-
|
|
2
|
-
import "../../../../../types-
|
|
3
|
-
import "../../../../../runner-
|
|
4
|
-
import { h as PluginMenu, m as PluginComment, t as fetchPluginOptions } from "../../../../../index-
|
|
1
|
+
import "../../../../../types-DB9weIZo.mjs";
|
|
2
|
+
import "../../../../../types-B7Ifhtyz.mjs";
|
|
3
|
+
import "../../../../../runner-CvwzNJHj.mjs";
|
|
4
|
+
import { h as PluginMenu, m as PluginComment, t as fetchPluginOptions } from "../../../../../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 { f as NormalizedItem, s as ImportConfig, u as ImportResult } from "../../../../../types-ZdWRfUsC.mjs";
|
|
10
10
|
import { DinewayHandlers, DinewayManifest } from "../../../../types.mjs";
|
|
11
11
|
import { APIRoute } from "astro";
|
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
import "../../../../../dialect-helpers-fk43GbDb.mjs";
|
|
2
2
|
import "../../../../../base64-F8-DUraK.mjs";
|
|
3
|
-
import "../../../../../types-
|
|
4
|
-
import "../../../../../loader-
|
|
3
|
+
import "../../../../../types-DXwmu5rT.mjs";
|
|
4
|
+
import "../../../../../loader-BFsHwbxI.mjs";
|
|
5
5
|
import "../../../../../object-cache-D51qOseS.mjs";
|
|
6
6
|
import { n as slugify } from "../../../../../slugify-KSsVD_D3.mjs";
|
|
7
7
|
import "../../../../../revision-De7OmYVD.mjs";
|
|
8
|
-
import { t as ContentRepository } from "../../../../../content-
|
|
9
|
-
import "../../../../../media-
|
|
10
|
-
import "../../../../../taxonomy-
|
|
8
|
+
import { t as ContentRepository } from "../../../../../content-DW-BRHF4.mjs";
|
|
9
|
+
import "../../../../../media-Dnpc2hW8.mjs";
|
|
10
|
+
import "../../../../../taxonomy-DKG0n_q8.mjs";
|
|
11
11
|
import "../../../../../options-1dBRkoCl.mjs";
|
|
12
|
-
import "../../../../../site-activity-
|
|
13
|
-
import "../../../../../review-requests-
|
|
14
|
-
import "../../../../../publication-authorization-
|
|
15
|
-
import { f as WordPressImportHitlPayloadBuilder, g as RiskPolicyEvaluator } from "../../../../../site-context-
|
|
12
|
+
import "../../../../../site-activity-MiKT38qx.mjs";
|
|
13
|
+
import "../../../../../review-requests-D-lhld0A.mjs";
|
|
14
|
+
import "../../../../../publication-authorization-BQpdXnha.mjs";
|
|
15
|
+
import { f as WordPressImportHitlPayloadBuilder, g as RiskPolicyEvaluator } from "../../../../../site-context-CqNMaJ5s.mjs";
|
|
16
16
|
import "../../../../../request-cache-DoT2mKBT.mjs";
|
|
17
17
|
import "../../../../../byline-registry-CF9nobxT.mjs";
|
|
18
|
-
import "../../../../../field-defs-cache-
|
|
19
|
-
import { t as BylineRepository } from "../../../../../byline-
|
|
18
|
+
import "../../../../../field-defs-cache-Cf3F5lHw.mjs";
|
|
19
|
+
import { t as BylineRepository } from "../../../../../byline-BfL607qj.mjs";
|
|
20
20
|
import "../../../../../enrich-Uw_OA9Ve.mjs";
|
|
21
|
-
import "../../../../../briefing-
|
|
21
|
+
import "../../../../../briefing-32h1e5FV.mjs";
|
|
22
22
|
import "../../../../../context-types-fEeyXC1D.mjs";
|
|
23
|
-
import "../../../../../content-refresh-
|
|
24
|
-
import "../../../../../fts-manager-
|
|
23
|
+
import "../../../../../content-refresh-iarREtUO.mjs";
|
|
24
|
+
import "../../../../../fts-manager-Bv4U_Qw0.mjs";
|
|
25
25
|
import "../../../../../public-discovery-CyDzK1-S.mjs";
|
|
26
|
-
import { n as SchemaRegistry } from "../../../../../registry-
|
|
27
|
-
import "../../../../../settings-
|
|
28
|
-
import "../../../../../query-
|
|
29
|
-
import "../../../../../zod-generator-
|
|
30
|
-
import "../../../../../schema-
|
|
26
|
+
import { n as SchemaRegistry } from "../../../../../registry-Czz6avGn.mjs";
|
|
27
|
+
import "../../../../../settings-Bx3wzDK_.mjs";
|
|
28
|
+
import "../../../../../query-DQOB6OEA.mjs";
|
|
29
|
+
import "../../../../../zod-generator-3jqAzlTK.mjs";
|
|
30
|
+
import "../../../../../schema-DxDfwabF.mjs";
|
|
31
31
|
import "../../../../../resolve-BDWXnk_V.mjs";
|
|
32
|
-
import "../../../../../taxonomies-
|
|
33
|
-
import { t as handleTaxonomyCreate } from "../../../../../taxonomies-
|
|
32
|
+
import "../../../../../taxonomies-iZGA_8zf.mjs";
|
|
33
|
+
import { t as handleTaxonomyCreate } from "../../../../../taxonomies-BMArg_t1.mjs";
|
|
34
34
|
import { n as apiSuccess, r as handleError, t as apiError } from "../../../../../error-BPA9T0AW.mjs";
|
|
35
35
|
import { n as parseBody, t as isParseError } from "../../../../../parse-CJC9DGe9.mjs";
|
|
36
36
|
import "../../../../../redirects-C9pg6Dcg.mjs";
|
|
@@ -39,13 +39,13 @@ import "../../../../../status-BdZSXIP_.mjs";
|
|
|
39
39
|
import "../../../../../api/schemas/index.mjs";
|
|
40
40
|
import "../../../../../parser-C3ux7a3Y.mjs";
|
|
41
41
|
import { n as resolveAndValidateExternalUrl, t as SsrfError } from "../../../../../ssrf-D00lPvtF.mjs";
|
|
42
|
-
import "../../../../../activity-
|
|
43
|
-
import "../../../../../activity-events-
|
|
42
|
+
import "../../../../../activity-DTJtloA1.mjs";
|
|
43
|
+
import "../../../../../activity-events-C1U22VYR.mjs";
|
|
44
44
|
import { _ as sanitizeFieldSlug, g as resolveImportByline } from "../../../../../utils-iGiCys50.mjs";
|
|
45
|
-
import "../../../../../search-
|
|
46
|
-
import { C as importMenusFromPlugin, S as importCommentsFromPlugin, b as parseSiteSettingsFromPlugin, h as getSource, n as fetchPluginMenus, r as fetchPluginOptions, t as fetchPluginComments, y as importSiteSettings } from "../../../../../import-
|
|
45
|
+
import "../../../../../search-D-wOjRiP.mjs";
|
|
46
|
+
import { C as importMenusFromPlugin, S as importCommentsFromPlugin, b as parseSiteSettingsFromPlugin, h as getSource, n as fetchPluginMenus, r as fetchPluginOptions, t as fetchPluginComments, y as importSiteSettings } from "../../../../../import-iQ3y2-4Q.mjs";
|
|
47
47
|
import { n as requirePerm } from "../../../../../authorize-Dg75h4BN.mjs";
|
|
48
|
-
import { i as resolveHitlRouteActor, n as hitlRequiredRouteError, t as ensureWorkflowHitlRouteRequest } from "../../../../../hitl-route-helpers-
|
|
48
|
+
import { i as resolveHitlRouteActor, n as hitlRequiredRouteError, t as ensureWorkflowHitlRouteRequest } from "../../../../../hitl-route-helpers-DRdeq7Ld.mjs";
|
|
49
49
|
import { importMediaWithProgress } from "../wordpress/media.mjs";
|
|
50
50
|
import { z } from "zod";
|
|
51
51
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { t as OptionsRepository } from "../../../options-1dBRkoCl.mjs";
|
|
2
|
-
import { n as VERSION, t as COMMIT } from "../../../version-
|
|
2
|
+
import { n as VERSION, t as COMMIT } from "../../../version-BIlVseq9.mjs";
|
|
3
3
|
import { r as handleError } from "../../../error-BPA9T0AW.mjs";
|
|
4
4
|
import { i as experimentalSiteContextWorkflowsEnabled } from "../../../experimental-workflows-DOo7QDRn.mjs";
|
|
5
|
-
import { t as getAuthMode } from "../../../mode-
|
|
5
|
+
import { t as getAuthMode } from "../../../mode-fm1eCVhz.mjs";
|
|
6
6
|
|
|
7
7
|
//#region src/astro/routes/api/manifest.ts
|
|
8
8
|
const prerender = false;
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import "../../../dialect-helpers-fk43GbDb.mjs";
|
|
2
2
|
import "../../../base64-F8-DUraK.mjs";
|
|
3
|
-
import "../../../types-
|
|
4
|
-
import "../../../loader-
|
|
3
|
+
import "../../../types-DXwmu5rT.mjs";
|
|
4
|
+
import "../../../loader-BFsHwbxI.mjs";
|
|
5
5
|
import "../../../object-cache-D51qOseS.mjs";
|
|
6
6
|
import "../../../revision-De7OmYVD.mjs";
|
|
7
|
-
import "../../../content-
|
|
8
|
-
import "../../../media-
|
|
7
|
+
import "../../../content-DW-BRHF4.mjs";
|
|
8
|
+
import "../../../media-Dnpc2hW8.mjs";
|
|
9
9
|
import "../../../options-1dBRkoCl.mjs";
|
|
10
|
-
import "../../../site-activity-
|
|
11
|
-
import { t as ReviewRequestRepository } from "../../../review-requests-
|
|
12
|
-
import { a as HITL_REQUEST_STATUSES, i as HITL_REQUEST_PRIORITIES, o as HitlRequestRepository, t as PublicationAuthorizationError } from "../../../publication-authorization-
|
|
13
|
-
import { C as ASSIGNMENT_STATUSES, S as ASSIGNMENT_PRIORITIES, _ as toPublicContextDiff, a as EntityResolver, b as HitlRequestService, d as SettingsHitlPayloadBuilder, g as RiskPolicyEvaluator, h as SchemaHitlPayloadBuilder, i as ActorExpertiseService, n as AssignmentService, r as HandoffSnapshotStore, t as WorkflowHitlCoordinator, v as toPublicContextEntry, x as ASSIGNMENT_ACTOR_TYPES, y as toPublicContextEntryPage } from "../../../site-context-
|
|
10
|
+
import "../../../site-activity-MiKT38qx.mjs";
|
|
11
|
+
import { t as ReviewRequestRepository } from "../../../review-requests-D-lhld0A.mjs";
|
|
12
|
+
import { a as HITL_REQUEST_STATUSES, i as HITL_REQUEST_PRIORITIES, o as HitlRequestRepository, t as PublicationAuthorizationError } from "../../../publication-authorization-BQpdXnha.mjs";
|
|
13
|
+
import { C as ASSIGNMENT_STATUSES, S as ASSIGNMENT_PRIORITIES, _ as toPublicContextDiff, a as EntityResolver, b as HitlRequestService, d as SettingsHitlPayloadBuilder, g as RiskPolicyEvaluator, h as SchemaHitlPayloadBuilder, i as ActorExpertiseService, n as AssignmentService, r as HandoffSnapshotStore, t as WorkflowHitlCoordinator, v as toPublicContextEntry, x as ASSIGNMENT_ACTOR_TYPES, y as toPublicContextEntryPage } from "../../../site-context-CqNMaJ5s.mjs";
|
|
14
14
|
import "../../../request-cache-DoT2mKBT.mjs";
|
|
15
|
-
import { a as ContextRepository, i as parseSiteBriefingScope, r as formatSiteBriefingText, t as SiteBriefingAssembler } from "../../../briefing-
|
|
15
|
+
import { a as ContextRepository, i as parseSiteBriefingScope, r as formatSiteBriefingText, t as SiteBriefingAssembler } from "../../../briefing-32h1e5FV.mjs";
|
|
16
16
|
import { t as SITE_CONTEXT_TYPES } from "../../../context-types-fEeyXC1D.mjs";
|
|
17
|
-
import "../../../content-refresh-
|
|
18
|
-
import "../../../fts-manager-
|
|
17
|
+
import "../../../content-refresh-iarREtUO.mjs";
|
|
18
|
+
import "../../../fts-manager-Bv4U_Qw0.mjs";
|
|
19
19
|
import "../../../public-discovery-CyDzK1-S.mjs";
|
|
20
|
-
import "../../../registry-
|
|
21
|
-
import "../../../settings-
|
|
20
|
+
import "../../../registry-Czz6avGn.mjs";
|
|
21
|
+
import "../../../settings-Bx3wzDK_.mjs";
|
|
22
22
|
import { t as ReviewPayloadBuilder } from "../../../review-payload-BuLgXTY6.mjs";
|
|
23
|
-
import { n as VERSION } from "../../../version-
|
|
24
|
-
import "../../../query-
|
|
25
|
-
import "../../../zod-generator-
|
|
26
|
-
import "../../../schema-
|
|
23
|
+
import { n as VERSION } from "../../../version-BIlVseq9.mjs";
|
|
24
|
+
import "../../../query-DQOB6OEA.mjs";
|
|
25
|
+
import "../../../zod-generator-3jqAzlTK.mjs";
|
|
26
|
+
import "../../../schema-DxDfwabF.mjs";
|
|
27
27
|
import { t as DinewaySecretsError } from "../../../secrets-MqvM60s_.mjs";
|
|
28
28
|
import { t as IntegrationCredentialStore } from "../../../store-BtCoeap4.mjs";
|
|
29
29
|
import { t as apiError } from "../../../error-BPA9T0AW.mjs";
|
|
@@ -32,12 +32,12 @@ import "../../../byline-fields-C4OeOttq.mjs";
|
|
|
32
32
|
import "../../../status-BdZSXIP_.mjs";
|
|
33
33
|
import "../../../api/schemas/index.mjs";
|
|
34
34
|
import { i as hasScope } from "../../../api-tokens-CZ472rzA.mjs";
|
|
35
|
-
import { r as registerPluginMcpRegistry, t as createReviewedPluginMcpCommandExecutor } from "../../../mcp-reviewed-executor-
|
|
35
|
+
import { r as registerPluginMcpRegistry, t as createReviewedPluginMcpCommandExecutor } from "../../../mcp-reviewed-executor-BUEO0Osb.mjs";
|
|
36
36
|
import { n as resolveActorIdentity } from "../../../actor-BraTCiOp.mjs";
|
|
37
|
-
import "../../../activity-
|
|
38
|
-
import { d as logSchemaActivity, o as logContentActivity, p as logSiteActivitySafely, r as contentMcpToolSource, t as activityChangedKeys, x as schemaMcpToolSource } from "../../../activity-events-
|
|
37
|
+
import "../../../activity-DTJtloA1.mjs";
|
|
38
|
+
import { d as logSchemaActivity, o as logContentActivity, p as logSiteActivitySafely, r as contentMcpToolSource, t as activityChangedKeys, x as schemaMcpToolSource } from "../../../activity-events-C1U22VYR.mjs";
|
|
39
39
|
import "../../../utils-iGiCys50.mjs";
|
|
40
|
-
import "../../../search-
|
|
40
|
+
import "../../../search-D-wOjRiP.mjs";
|
|
41
41
|
import { f as readStoredForgewayAccount, n as DinewayToolsService, p as refreshForgewayAccountCredentials, s as createForgewayAccountClient, t as DinewayToolsError, u as normalizeForgewayApiUrl } from "../../../service-BB1n90wh.mjs";
|
|
42
42
|
import { n as convertDataForWrite, t as convertDataForRead } from "../../../portable-text-U85hOafW.mjs";
|
|
43
43
|
import { z } from "zod";
|
|
@@ -334,7 +334,7 @@ function getDineway(extra) {
|
|
|
334
334
|
}
|
|
335
335
|
async function getCollectionFields(dineway, collection) {
|
|
336
336
|
try {
|
|
337
|
-
const { SchemaRegistry } = await import("../../../schema-
|
|
337
|
+
const { SchemaRegistry } = await import("../../../schema-DxDfwabF.mjs").then((n) => n.t);
|
|
338
338
|
return (await new SchemaRegistry(dineway.db).getCollectionWithFields(collection))?.fields ?? null;
|
|
339
339
|
} catch {
|
|
340
340
|
return null;
|
|
@@ -351,7 +351,7 @@ async function applyReadMarkdown(dineway, collection, items) {
|
|
|
351
351
|
for (const item of items) if (item.data && typeof item.data === "object") item.data = convertDataForRead(item.data, fields, false);
|
|
352
352
|
}
|
|
353
353
|
async function invalidateBylines() {
|
|
354
|
-
const { invalidateBylineCache } = await import("../../../bylines-
|
|
354
|
+
const { invalidateBylineCache } = await import("../../../bylines-Cy5KBNpg.mjs").then((n) => n.t);
|
|
355
355
|
invalidateBylineCache();
|
|
356
356
|
}
|
|
357
357
|
function canReadDrafts(extra) {
|
|
@@ -2402,7 +2402,7 @@ function createMcpServer(options = {}) {
|
|
|
2402
2402
|
requireRole(extra, Role.EDITOR);
|
|
2403
2403
|
const ec = getDineway(extra);
|
|
2404
2404
|
try {
|
|
2405
|
-
const { SchemaRegistry } = await import("../../../schema-
|
|
2405
|
+
const { SchemaRegistry } = await import("../../../schema-DxDfwabF.mjs").then((n) => n.t);
|
|
2406
2406
|
return jsonResult({ items: await new SchemaRegistry(ec.db).listCollections() });
|
|
2407
2407
|
} catch (error) {
|
|
2408
2408
|
return errorResult(error);
|
|
@@ -2418,7 +2418,7 @@ function createMcpServer(options = {}) {
|
|
|
2418
2418
|
requireRole(extra, Role.EDITOR);
|
|
2419
2419
|
const ec = getDineway(extra);
|
|
2420
2420
|
try {
|
|
2421
|
-
const { SchemaRegistry } = await import("../../../schema-
|
|
2421
|
+
const { SchemaRegistry } = await import("../../../schema-DxDfwabF.mjs").then((n) => n.t);
|
|
2422
2422
|
const collection = await new SchemaRegistry(ec.db).getCollectionWithFields(args.slug);
|
|
2423
2423
|
if (!collection) return errorResult(`Collection '${args.slug}' not found`);
|
|
2424
2424
|
return jsonResult(collection);
|
|
@@ -2448,7 +2448,7 @@ function createMcpServer(options = {}) {
|
|
|
2448
2448
|
requireRole(extra, Role.ADMIN);
|
|
2449
2449
|
const ec = getDineway(extra);
|
|
2450
2450
|
try {
|
|
2451
|
-
const { SchemaRegistry } = await import("../../../schema-
|
|
2451
|
+
const { SchemaRegistry } = await import("../../../schema-DxDfwabF.mjs").then((n) => n.t);
|
|
2452
2452
|
const collection = await new SchemaRegistry(ec.db).createCollection({
|
|
2453
2453
|
slug: args.slug,
|
|
2454
2454
|
label: args.label,
|
|
@@ -2512,7 +2512,7 @@ function createMcpServer(options = {}) {
|
|
|
2512
2512
|
request
|
|
2513
2513
|
});
|
|
2514
2514
|
}
|
|
2515
|
-
const { SchemaRegistry } = await import("../../../schema-
|
|
2515
|
+
const { SchemaRegistry } = await import("../../../schema-DxDfwabF.mjs").then((n) => n.t);
|
|
2516
2516
|
await new SchemaRegistry(ec.db).deleteCollection(args.slug, { force: args.force });
|
|
2517
2517
|
ec.invalidateManifest();
|
|
2518
2518
|
await logSchemaActivity(ec.db, locals, {
|
|
@@ -2576,7 +2576,7 @@ function createMcpServer(options = {}) {
|
|
|
2576
2576
|
requireRole(extra, Role.ADMIN);
|
|
2577
2577
|
const ec = getDineway(extra);
|
|
2578
2578
|
try {
|
|
2579
|
-
const { SchemaRegistry } = await import("../../../schema-
|
|
2579
|
+
const { SchemaRegistry } = await import("../../../schema-DxDfwabF.mjs").then((n) => n.t);
|
|
2580
2580
|
const field = await new SchemaRegistry(ec.db).createField(args.collection, {
|
|
2581
2581
|
slug: args.slug,
|
|
2582
2582
|
label: args.label,
|
|
@@ -2645,7 +2645,7 @@ function createMcpServer(options = {}) {
|
|
|
2645
2645
|
request
|
|
2646
2646
|
});
|
|
2647
2647
|
}
|
|
2648
|
-
const { SchemaRegistry } = await import("../../../schema-
|
|
2648
|
+
const { SchemaRegistry } = await import("../../../schema-DxDfwabF.mjs").then((n) => n.t);
|
|
2649
2649
|
await new SchemaRegistry(ec.db).deleteField(args.collection, args.fieldSlug);
|
|
2650
2650
|
ec.invalidateManifest();
|
|
2651
2651
|
await logSchemaActivity(ec.db, locals, {
|
|
@@ -2778,7 +2778,7 @@ function createMcpServer(options = {}) {
|
|
|
2778
2778
|
requireScope(extra, "content:read");
|
|
2779
2779
|
const ec = getDineway(extra);
|
|
2780
2780
|
try {
|
|
2781
|
-
const { searchWithDb } = await import("../../../search-
|
|
2781
|
+
const { searchWithDb } = await import("../../../search-D-wOjRiP.mjs").then((n) => n.t);
|
|
2782
2782
|
return jsonResult(await searchWithDb(ec.db, args.query, {
|
|
2783
2783
|
collections: args.collections,
|
|
2784
2784
|
locale: args.locale,
|
|
@@ -2804,7 +2804,7 @@ function createMcpServer(options = {}) {
|
|
|
2804
2804
|
requireScope(extra, "content:read");
|
|
2805
2805
|
const ec = getDineway(extra);
|
|
2806
2806
|
try {
|
|
2807
|
-
const { BylineRepository } = await import("../../../byline-
|
|
2807
|
+
const { BylineRepository } = await import("../../../byline-BfL607qj.mjs").then((n) => n.n);
|
|
2808
2808
|
return jsonResult(await new BylineRepository(ec.db).findMany({
|
|
2809
2809
|
search: args.search,
|
|
2810
2810
|
isGuest: args.isGuest,
|
|
@@ -2826,7 +2826,7 @@ function createMcpServer(options = {}) {
|
|
|
2826
2826
|
requireScope(extra, "content:read");
|
|
2827
2827
|
const ec = getDineway(extra);
|
|
2828
2828
|
try {
|
|
2829
|
-
const { BylineRepository } = await import("../../../byline-
|
|
2829
|
+
const { BylineRepository } = await import("../../../byline-BfL607qj.mjs").then((n) => n.n);
|
|
2830
2830
|
const byline = await new BylineRepository(ec.db).findById(args.id);
|
|
2831
2831
|
if (!byline) return errorResult(`Byline '${args.id}' not found`);
|
|
2832
2832
|
return jsonResult(byline);
|
|
@@ -2844,7 +2844,7 @@ function createMcpServer(options = {}) {
|
|
|
2844
2844
|
requireRole(extra, Role.EDITOR);
|
|
2845
2845
|
const ec = getDineway(extra);
|
|
2846
2846
|
try {
|
|
2847
|
-
const { handleBylineCreate } = await import("../../../bylines-
|
|
2847
|
+
const { handleBylineCreate } = await import("../../../bylines-DpjxbnYL.mjs").then((n) => n.t);
|
|
2848
2848
|
const result = await handleBylineCreate(ec.db, args);
|
|
2849
2849
|
if (result.success) await invalidateBylines();
|
|
2850
2850
|
return unwrap(result);
|
|
@@ -2864,7 +2864,7 @@ function createMcpServer(options = {}) {
|
|
|
2864
2864
|
requireRole(extra, Role.EDITOR);
|
|
2865
2865
|
const ec = getDineway(extra);
|
|
2866
2866
|
try {
|
|
2867
|
-
const { handleBylineUpdate } = await import("../../../bylines-
|
|
2867
|
+
const { handleBylineUpdate } = await import("../../../bylines-DpjxbnYL.mjs").then((n) => n.t);
|
|
2868
2868
|
const { id, ...input } = args;
|
|
2869
2869
|
const result = await handleBylineUpdate(ec.db, id, input);
|
|
2870
2870
|
if (result.success) await invalidateBylines();
|
|
@@ -2883,7 +2883,7 @@ function createMcpServer(options = {}) {
|
|
|
2883
2883
|
requireRole(extra, Role.EDITOR);
|
|
2884
2884
|
const ec = getDineway(extra);
|
|
2885
2885
|
try {
|
|
2886
|
-
const { BylineRepository } = await import("../../../byline-
|
|
2886
|
+
const { BylineRepository } = await import("../../../byline-BfL607qj.mjs").then((n) => n.n);
|
|
2887
2887
|
if (!await new BylineRepository(ec.db).delete(args.id)) return errorResult(`Byline '${args.id}' not found`);
|
|
2888
2888
|
await invalidateBylines();
|
|
2889
2889
|
return jsonResult({ deleted: args.id });
|
|
@@ -2900,7 +2900,7 @@ function createMcpServer(options = {}) {
|
|
|
2900
2900
|
requireScope(extra, "content:read");
|
|
2901
2901
|
const ec = getDineway(extra);
|
|
2902
2902
|
try {
|
|
2903
|
-
const { handleBylineTranslations } = await import("../../../bylines-
|
|
2903
|
+
const { handleBylineTranslations } = await import("../../../bylines-DpjxbnYL.mjs").then((n) => n.t);
|
|
2904
2904
|
return unwrap(await handleBylineTranslations(ec.db, args.id));
|
|
2905
2905
|
} catch (error) {
|
|
2906
2906
|
return errorResult(error);
|
|
@@ -2915,7 +2915,7 @@ function createMcpServer(options = {}) {
|
|
|
2915
2915
|
requireScope(extra, "content:read");
|
|
2916
2916
|
const ec = getDineway(extra);
|
|
2917
2917
|
try {
|
|
2918
|
-
const { handleTaxonomyList } = await import("../../../taxonomies-
|
|
2918
|
+
const { handleTaxonomyList } = await import("../../../taxonomies-BMArg_t1.mjs").then((n) => n.l);
|
|
2919
2919
|
return unwrap(await handleTaxonomyList(ec.db, { locale: args.locale }));
|
|
2920
2920
|
} catch (error) {
|
|
2921
2921
|
return errorResult(error);
|
|
@@ -2935,12 +2935,12 @@ function createMcpServer(options = {}) {
|
|
|
2935
2935
|
requireScope(extra, "content:read");
|
|
2936
2936
|
const ec = getDineway(extra);
|
|
2937
2937
|
try {
|
|
2938
|
-
const { handleTaxonomyList } = await import("../../../taxonomies-
|
|
2938
|
+
const { handleTaxonomyList } = await import("../../../taxonomies-BMArg_t1.mjs").then((n) => n.l);
|
|
2939
2939
|
const listResult = await handleTaxonomyList(ec.db, { locale: args.locale });
|
|
2940
2940
|
if (!listResult.success) return unwrap(listResult);
|
|
2941
2941
|
if (!listResult.data.taxonomies.find((t) => t.name === args.taxonomy)) return errorResult(`Taxonomy '${args.taxonomy}' not found`);
|
|
2942
|
-
const { TaxonomyRepository } = await import("../../../taxonomy-
|
|
2943
|
-
const { decodeCursor, encodeCursor } = await import("../../../types-
|
|
2942
|
+
const { TaxonomyRepository } = await import("../../../taxonomy-DKG0n_q8.mjs").then((n) => n.n);
|
|
2943
|
+
const { decodeCursor, encodeCursor } = await import("../../../types-DXwmu5rT.mjs").then((n) => n.a);
|
|
2944
2944
|
const repo = new TaxonomyRepository(ec.db);
|
|
2945
2945
|
const limit = Math.min(args.limit ?? 50, 100);
|
|
2946
2946
|
const terms = await repo.findByName(args.taxonomy, { locale: args.locale });
|
|
@@ -2989,7 +2989,7 @@ function createMcpServer(options = {}) {
|
|
|
2989
2989
|
requireRole(extra, Role.EDITOR);
|
|
2990
2990
|
const ec = getDineway(extra);
|
|
2991
2991
|
try {
|
|
2992
|
-
const { handleTermCreate } = await import("../../../taxonomies-
|
|
2992
|
+
const { handleTermCreate } = await import("../../../taxonomies-BMArg_t1.mjs").then((n) => n.l);
|
|
2993
2993
|
return unwrap(await handleTermCreate(ec.db, args.taxonomy, {
|
|
2994
2994
|
slug: args.slug,
|
|
2995
2995
|
label: args.label,
|
|
@@ -3019,7 +3019,7 @@ function createMcpServer(options = {}) {
|
|
|
3019
3019
|
requireRole(extra, Role.EDITOR);
|
|
3020
3020
|
const ec = getDineway(extra);
|
|
3021
3021
|
try {
|
|
3022
|
-
const { handleTermUpdate } = await import("../../../taxonomies-
|
|
3022
|
+
const { handleTermUpdate } = await import("../../../taxonomies-BMArg_t1.mjs").then((n) => n.l);
|
|
3023
3023
|
return unwrap(await handleTermUpdate(ec.db, args.taxonomy, args.termSlug, {
|
|
3024
3024
|
slug: args.slug,
|
|
3025
3025
|
label: args.label,
|
|
@@ -3044,7 +3044,7 @@ function createMcpServer(options = {}) {
|
|
|
3044
3044
|
requireRole(extra, Role.EDITOR);
|
|
3045
3045
|
const ec = getDineway(extra);
|
|
3046
3046
|
try {
|
|
3047
|
-
const { handleTermDelete } = await import("../../../taxonomies-
|
|
3047
|
+
const { handleTermDelete } = await import("../../../taxonomies-BMArg_t1.mjs").then((n) => n.l);
|
|
3048
3048
|
return unwrap(await handleTermDelete(ec.db, args.taxonomy, args.termSlug, { locale: args.locale }));
|
|
3049
3049
|
} catch (error) {
|
|
3050
3050
|
return errorResult(error);
|
|
@@ -3059,7 +3059,7 @@ function createMcpServer(options = {}) {
|
|
|
3059
3059
|
requireScope(extra, "content:read");
|
|
3060
3060
|
const ec = getDineway(extra);
|
|
3061
3061
|
try {
|
|
3062
|
-
const { handleTermTranslations } = await import("../../../taxonomies-
|
|
3062
|
+
const { handleTermTranslations } = await import("../../../taxonomies-BMArg_t1.mjs").then((n) => n.l);
|
|
3063
3063
|
return unwrap(await handleTermTranslations(ec.db, args.id));
|
|
3064
3064
|
} catch (error) {
|
|
3065
3065
|
return errorResult(error);
|
|
@@ -3074,7 +3074,7 @@ function createMcpServer(options = {}) {
|
|
|
3074
3074
|
requireScope(extra, "content:read");
|
|
3075
3075
|
const ec = getDineway(extra);
|
|
3076
3076
|
try {
|
|
3077
|
-
const { handleMenuList } = await import("../../../menus-
|
|
3077
|
+
const { handleMenuList } = await import("../../../menus-F1fYny2w.mjs").then((n) => n.d);
|
|
3078
3078
|
return unwrap(await handleMenuList(ec.db, { locale: args.locale }));
|
|
3079
3079
|
} catch (error) {
|
|
3080
3080
|
return errorResult(error);
|
|
@@ -3092,7 +3092,7 @@ function createMcpServer(options = {}) {
|
|
|
3092
3092
|
requireScope(extra, "content:read");
|
|
3093
3093
|
const ec = getDineway(extra);
|
|
3094
3094
|
try {
|
|
3095
|
-
const { handleMenuGet } = await import("../../../menus-
|
|
3095
|
+
const { handleMenuGet } = await import("../../../menus-F1fYny2w.mjs").then((n) => n.d);
|
|
3096
3096
|
return unwrap(await handleMenuGet(ec.db, args.name, { locale: args.locale }));
|
|
3097
3097
|
} catch (error) {
|
|
3098
3098
|
return errorResult(error);
|
|
@@ -3107,7 +3107,7 @@ function createMcpServer(options = {}) {
|
|
|
3107
3107
|
requireScope(extra, "content:read");
|
|
3108
3108
|
const ec = getDineway(extra);
|
|
3109
3109
|
try {
|
|
3110
|
-
const { handleMenuTranslations } = await import("../../../menus-
|
|
3110
|
+
const { handleMenuTranslations } = await import("../../../menus-F1fYny2w.mjs").then((n) => n.d);
|
|
3111
3111
|
return unwrap(await handleMenuTranslations(ec.db, args.id));
|
|
3112
3112
|
} catch (error) {
|
|
3113
3113
|
return errorResult(error);
|
|
@@ -3127,7 +3127,7 @@ function createMcpServer(options = {}) {
|
|
|
3127
3127
|
requireRole(extra, Role.EDITOR);
|
|
3128
3128
|
const ec = getDineway(extra);
|
|
3129
3129
|
try {
|
|
3130
|
-
const { handleMenuCreate } = await import("../../../menus-
|
|
3130
|
+
const { handleMenuCreate } = await import("../../../menus-F1fYny2w.mjs").then((n) => n.d);
|
|
3131
3131
|
return unwrap(await handleMenuCreate(ec.db, {
|
|
3132
3132
|
name: args.name,
|
|
3133
3133
|
label: args.label,
|
|
@@ -3151,7 +3151,7 @@ function createMcpServer(options = {}) {
|
|
|
3151
3151
|
requireRole(extra, Role.EDITOR);
|
|
3152
3152
|
const ec = getDineway(extra);
|
|
3153
3153
|
try {
|
|
3154
|
-
const { handleMenuUpdate } = await import("../../../menus-
|
|
3154
|
+
const { handleMenuUpdate } = await import("../../../menus-F1fYny2w.mjs").then((n) => n.d);
|
|
3155
3155
|
return unwrap(await handleMenuUpdate(ec.db, args.name, {
|
|
3156
3156
|
label: args.label,
|
|
3157
3157
|
locale: args.locale
|
|
@@ -3173,7 +3173,7 @@ function createMcpServer(options = {}) {
|
|
|
3173
3173
|
requireRole(extra, Role.EDITOR);
|
|
3174
3174
|
const ec = getDineway(extra);
|
|
3175
3175
|
try {
|
|
3176
|
-
const { handleMenuDelete } = await import("../../../menus-
|
|
3176
|
+
const { handleMenuDelete } = await import("../../../menus-F1fYny2w.mjs").then((n) => n.d);
|
|
3177
3177
|
return unwrap(await handleMenuDelete(ec.db, args.name, { locale: args.locale }));
|
|
3178
3178
|
} catch (error) {
|
|
3179
3179
|
return errorResult(error);
|
|
@@ -3208,7 +3208,7 @@ function createMcpServer(options = {}) {
|
|
|
3208
3208
|
requireRole(extra, Role.EDITOR);
|
|
3209
3209
|
const ec = getDineway(extra);
|
|
3210
3210
|
try {
|
|
3211
|
-
const { handleMenuSetItems } = await import("../../../menus-
|
|
3211
|
+
const { handleMenuSetItems } = await import("../../../menus-F1fYny2w.mjs").then((n) => n.d);
|
|
3212
3212
|
return unwrap(await handleMenuSetItems(ec.db, args.name, args.items, { locale: args.locale }));
|
|
3213
3213
|
} catch (error) {
|
|
3214
3214
|
return errorResult(error);
|
|
@@ -3255,7 +3255,7 @@ function createMcpServer(options = {}) {
|
|
|
3255
3255
|
requireRole(extra, Role.ADMIN);
|
|
3256
3256
|
const ec = getDineway(extra);
|
|
3257
3257
|
try {
|
|
3258
|
-
const { handleSettingsGet } = await import("../../../settings-
|
|
3258
|
+
const { handleSettingsGet } = await import("../../../settings-CYt46_A5.mjs").then((n) => n.r);
|
|
3259
3259
|
return unwrap(await handleSettingsGet(ec.db, ec.storage));
|
|
3260
3260
|
} catch (error) {
|
|
3261
3261
|
return errorResult(error);
|
|
@@ -3292,7 +3292,7 @@ function createMcpServer(options = {}) {
|
|
|
3292
3292
|
request
|
|
3293
3293
|
});
|
|
3294
3294
|
}
|
|
3295
|
-
const { handleSettingsUpdate } = await import("../../../settings-
|
|
3295
|
+
const { handleSettingsUpdate } = await import("../../../settings-CYt46_A5.mjs").then((n) => n.r);
|
|
3296
3296
|
const result = await handleSettingsUpdate(ec.db, ec.storage, settingsInput);
|
|
3297
3297
|
if (!result.success) return unwrap(result);
|
|
3298
3298
|
await logSiteActivitySafely(ec.db, locals, {
|
|
@@ -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
|
import { t as enrichImageMetadata } from "../../../../../enrich-Uw_OA9Ve.mjs";
|
|
5
5
|
import "../../../../../context-types-fEeyXC1D.mjs";
|
|
6
6
|
import "../../../../../public-discovery-CyDzK1-S.mjs";
|
|
@@ -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
|
import { n as normalizeMime, t as matchesMimeAllowlist } from "../../../../mime-Bg7yUeHW.mjs";
|
|
5
5
|
import "../../../../context-types-fEeyXC1D.mjs";
|
|
6
6
|
import "../../../../public-discovery-CyDzK1-S.mjs";
|
|
@@ -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
|
import { n as normalizeMime, t as matchesMimeAllowlist } from "../../../mime-Bg7yUeHW.mjs";
|
|
5
5
|
import { t as enrichImageMetadata } from "../../../enrich-Uw_OA9Ve.mjs";
|
|
6
6
|
import "../../../context-types-fEeyXC1D.mjs";
|