dineway 0.2.27 → 0.2.29
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-DWlF3FUa.mjs → activity-CpXJEs3L.mjs} +1 -1
- package/dist/{activity-events-BYksOnTL.mjs → activity-events-hoMsbNbY.mjs} +1 -1
- package/dist/api/route-utils.d.mts +8 -8
- package/dist/api/route-utils.mjs +7 -7
- package/dist/api/schemas/index.d.mts +1 -1
- package/dist/{api-BTrQ7bjs.mjs → api-BCNxeKT9.mjs} +13 -13
- package/dist/{apply-CS_138du.mjs → apply-BwNue-z4.mjs} +17 -17
- package/dist/astro/index.d.mts +7 -7
- package/dist/astro/index.mjs +1 -1
- package/dist/astro/middleware/auth.d.mts +7 -7
- 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.mjs +58 -57
- 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/me.mjs +2 -2
- package/dist/astro/routes/api/auth/setup-token/index.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 +1 -1
- package/dist/astro/routes/api/mcp.mjs +56 -60
- 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 +3 -3
- 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/dev-bypass.mjs +16 -16
- package/dist/astro/routes/api/setup/index.mjs +16 -16
- package/dist/astro/routes/api/setup/status.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 +1 -1
- 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 +8 -8
- package/dist/{audit-CmiNnrbj.mjs → audit-B7yDEQYd.mjs} +1 -1
- package/dist/{briefing-Cd2HhhHi.mjs → briefing-Bw06giSR.mjs} +5 -5
- package/dist/{briefing-BoIXsh3Y.mjs → briefing-DXk509e9.mjs} +1 -1
- package/dist/{bundle-DicQY2p2.mjs → bundle-BElk5hXQ.mjs} +1 -1
- package/dist/{byline-MGIfM2Is.mjs → byline-Dvn80pJf.mjs} +4 -4
- package/dist/{byline-fields-BJ5_tYj8.d.mts → byline-fields-Cvl12BTB.d.mts} +60 -60
- package/dist/{bylines-CL8Z6AxI.mjs → bylines-CB_5AVLg.mjs} +4 -4
- package/dist/{bylines-t_uHsP44.mjs → bylines-TcwJ0D4l.mjs} +3 -3
- package/dist/{cache-DrNKKDn0.mjs → cache-BFya-uMt.mjs} +1 -1
- package/dist/{chunks-Bw3_BuVW.mjs → chunks--xBaAjew.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-DXfeovxp.mjs → client-factory-DlGsDQ0a.mjs} +1 -1
- package/dist/{comment-DuDtCn-f.mjs → comment-C4foIr7l.mjs} +1 -1
- package/dist/{comment-reaction-NZjadbiB.mjs → comment-reaction-CqMFa-tO.mjs} +1 -1
- package/dist/{comments-Csi3B9JI.mjs → comments-BvQiuHgk.mjs} +1 -1
- package/dist/{content-CzUrmMC3.mjs → content-GsliU3xN.mjs} +2 -2
- package/dist/{content-refresh-C_jcjzOr.mjs → content-refresh-Q60Srx4f.mjs} +2 -2
- package/dist/{context-D1WiuHGe.mjs → context-BxRv0tDb.mjs} +2 -2
- package/dist/{context-BET1jeas.mjs → context-or1S7D_Z.mjs} +6 -6
- package/dist/{context-route-helpers-CgVXswZ_.mjs → context-route-helpers-DtRDW7-Y.mjs} +1 -1
- package/dist/{dashboard-CKAH1KwM.mjs → dashboard-DP_aGVlw.mjs} +4 -4
- package/dist/db/index.d.mts +2 -2
- package/dist/db/index.mjs +1 -1
- package/dist/{discovery-SVnRaAxj.mjs → discovery-BgLQroSv.mjs} +2 -2
- package/dist/{field-defs-cache-BIHTU5Yj.mjs → field-defs-cache-BJL-9Sbz.mjs} +1 -1
- package/dist/{fts-manager-BB44uXMm.mjs → fts-manager-DYyjVJRg.mjs} +1 -1
- package/dist/{hitl-requests-D117gyhv.mjs → hitl-requests-LFIR0lUw.mjs} +1 -1
- package/dist/{hitl-route-helpers-BasbaWwG.mjs → hitl-route-helpers-Ct3-l199.mjs} +2 -2
- package/dist/{import-BCY1k1zB.mjs → import-CAJjk6sz.mjs} +3 -3
- package/dist/{index-DNNw5fp0.d.mts → index-QJMl0Apm.d.mts} +1 -1
- package/dist/index.d.mts +7 -7
- package/dist/index.mjs +52 -52
- package/dist/{jsonld-CxMRDv02.d.mts → jsonld-TNycwGyO.d.mts} +2 -2
- package/dist/{load-C-cMlsPv.mjs → load-BU9-SNEM.mjs} +1 -1
- package/dist/{loader-CsX5pTud.mjs → loader-08U88vtS.mjs} +2 -2
- package/dist/{mcp-reviewed-executor-BwI0ylf3.mjs → mcp-reviewed-executor-BIV-Nt4z.mjs} +3 -3
- package/dist/media/local-runtime.d.mts +7 -7
- package/dist/media/local-runtime.mjs +2 -2
- package/dist/{media-4xtXwq7L.mjs → media-fMI0fkpM.mjs} +1 -1
- package/dist/{menus-CRmcWAM5.mjs → menus-BCaZ124X.mjs} +1 -1
- package/dist/{menus-Cu3TUXyl.mjs → menus-BN5-WSeA.mjs} +3 -3
- 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-BC9Rb6PJ.mjs → plugins-BZAfdnht.mjs} +2 -2
- package/dist/{public-url-UpDevWVD.d.mts → public-url-Bn-FXyxd.d.mts} +1 -1
- package/dist/{public-url-BPnL5sTj.d.mts → public-url-K_8Mlvos.d.mts} +1 -1
- package/dist/{publication-authorization-Bq4B0KIL.mjs → publication-authorization-BvguiESO.mjs} +22 -6
- package/dist/{query-MvFwA1uK.mjs → query-D-HFo-qW.mjs} +2 -2
- package/dist/{query-BAfn0Uxp.mjs → query-yPx_JZSl.mjs} +13 -12
- package/dist/{redirect-CnG6nJ4H.mjs → redirect-CI5NFP2I.mjs} +1 -1
- package/dist/{redirects-lCwNKPUn.mjs → redirects-B8UMik8v.mjs} +2 -2
- package/dist/{registry-QxrUJAWY.mjs → registry-CtSVFnzD.mjs} +4 -4
- package/dist/{review-requests-uI-yUXcr.mjs → review-requests-BrEd3zb5.mjs} +1 -1
- package/dist/{review-requests-DaYnr3XR.mjs → review-requests-DwV5pW9w.mjs} +1 -1
- package/dist/{review-route-helpers-BvX04ahf.mjs → review-route-helpers-BjTgKhRr.mjs} +1 -1
- package/dist/{runner-CQnzfBpD.mjs → runner-CGD7YoW6.mjs} +504 -463
- package/dist/{runner-o39FihbH.d.mts → runner-Dp8Tt7SJ.d.mts} +1 -1
- package/dist/runtime.d.mts +7 -7
- package/dist/runtime.mjs +2 -2
- package/dist/schema-CrYkp-Bo.mjs +8 -0
- package/dist/{search-BtCHwx_Z.mjs → search-xzdgq7jq.mjs} +3 -3
- package/dist/{sections-BM88PvRO.mjs → sections-CIXoe8VF.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-CTXMR4YD.mjs → seo-2qDQ_eM-.mjs} +1 -1
- package/dist/{seo-BhMH6i2e.mjs → seo-DON7g2EC.mjs} +1 -1
- package/dist/{service-evnf21UO.mjs → service-BdiBOmpe.mjs} +1 -1
- package/dist/{settings-COtVNdOx.mjs → settings-CmmYM8ML.mjs} +2 -2
- package/dist/{settings-CCqefqC9.mjs → settings-k3HDxkYk.mjs} +2 -2
- package/dist/{site-activity-kfZ9X0no.mjs → site-activity-DNFEWOyU.mjs} +1 -1
- package/dist/{site-context-D2DmqFnD.mjs → site-context-Rh2NpVP6.mjs} +10 -10
- package/dist/{taxonomies-DxtqEjcj.mjs → taxonomies-C5Dc57XI.mjs} +3 -3
- package/dist/{taxonomies-xvaQ7gVM.mjs → taxonomies-ZUyCmHr5.mjs} +4 -4
- package/dist/{taxonomy--vcXXfwc.mjs → taxonomy-Q0dtGa3h.mjs} +2 -2
- package/dist/{types-B2W3CeZN.d.mts → types-B3jx4k7V.d.mts} +69 -1
- package/dist/{types-BcpWwh4c.d.mts → types-BquoJbUs.d.mts} +14 -7
- package/dist/{types-CFvpEEOl.mjs → types-CpJhSIti.mjs} +1 -1
- package/dist/ui/server-runtime.d.mts +9 -9
- package/dist/ui/server-runtime.mjs +14 -14
- package/dist/{user-Dn3wV227.mjs → user-CQ_ujaUi.mjs} +2 -2
- package/dist/{validate-BiPYhXNZ.d.mts → validate-B244Ky-3.d.mts} +1 -1
- package/dist/{validate-BHVQSpUy.mjs → validate-DvgVQCey.mjs} +1 -1
- package/dist/version-BebwPm_l.mjs +6 -0
- package/dist/{widgets-CBCHUg_u.mjs → widgets-FttKnkpm.mjs} +1 -1
- package/dist/{zod-generator-DMlY4cI3.mjs → zod-generator-OstCAALT.mjs} +1 -1
- package/package.json +3 -3
- package/dist/schema-CD3EA3nN.mjs +0 -8
- package/dist/version-BbuynKOY.mjs +0 -6
|
@@ -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-CpJhSIti.mjs";
|
|
4
|
+
import "../../../../../loader-08U88vtS.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-GsliU3xN.mjs";
|
|
9
|
+
import "../../../../../media-fMI0fkpM.mjs";
|
|
10
|
+
import "../../../../../taxonomy-Q0dtGa3h.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-DNFEWOyU.mjs";
|
|
13
|
+
import "../../../../../review-requests-DwV5pW9w.mjs";
|
|
14
|
+
import "../../../../../publication-authorization-BvguiESO.mjs";
|
|
15
|
+
import { f as WordPressImportHitlPayloadBuilder, g as RiskPolicyEvaluator } from "../../../../../site-context-Rh2NpVP6.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-BJL-9Sbz.mjs";
|
|
19
|
+
import { t as BylineRepository } from "../../../../../byline-Dvn80pJf.mjs";
|
|
20
20
|
import "../../../../../enrich-Uw_OA9Ve.mjs";
|
|
21
|
-
import "../../../../../briefing-
|
|
21
|
+
import "../../../../../briefing-Bw06giSR.mjs";
|
|
22
22
|
import "../../../../../context-types-fEeyXC1D.mjs";
|
|
23
|
-
import "../../../../../content-refresh-
|
|
24
|
-
import "../../../../../fts-manager-
|
|
23
|
+
import "../../../../../content-refresh-Q60Srx4f.mjs";
|
|
24
|
+
import "../../../../../fts-manager-DYyjVJRg.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-CtSVFnzD.mjs";
|
|
27
|
+
import "../../../../../settings-k3HDxkYk.mjs";
|
|
28
|
+
import "../../../../../query-D-HFo-qW.mjs";
|
|
29
|
+
import "../../../../../zod-generator-OstCAALT.mjs";
|
|
30
|
+
import "../../../../../schema-CrYkp-Bo.mjs";
|
|
31
31
|
import "../../../../../resolve-BDWXnk_V.mjs";
|
|
32
|
-
import "../../../../../taxonomies-
|
|
33
|
-
import { t as handleTaxonomyCreate } from "../../../../../taxonomies-
|
|
32
|
+
import "../../../../../taxonomies-ZUyCmHr5.mjs";
|
|
33
|
+
import { t as handleTaxonomyCreate } from "../../../../../taxonomies-C5Dc57XI.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-CpXJEs3L.mjs";
|
|
43
|
+
import "../../../../../activity-events-hoMsbNbY.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-xzdgq7jq.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-CAJjk6sz.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-Ct3-l199.mjs";
|
|
49
49
|
import { importMediaWithProgress } from "../wordpress/media.mjs";
|
|
50
50
|
import { z } from "zod";
|
|
51
51
|
|
|
@@ -1,5 +1,5 @@
|
|
|
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-BebwPm_l.mjs";
|
|
3
3
|
import { r as handleError } from "../../../error-BPA9T0AW.mjs";
|
|
4
4
|
import { i as experimentalSiteContextWorkflowsEnabled } from "../../../experimental-workflows-DOo7QDRn.mjs";
|
|
5
5
|
import { t as getAuthMode } from "../../../mode-CgD_xAEJ.mjs";
|
|
@@ -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-CpJhSIti.mjs";
|
|
4
|
+
import "../../../loader-08U88vtS.mjs";
|
|
5
5
|
import "../../../object-cache-D51qOseS.mjs";
|
|
6
6
|
import "../../../revision-De7OmYVD.mjs";
|
|
7
|
-
import "../../../content-
|
|
8
|
-
import "../../../media-
|
|
7
|
+
import "../../../content-GsliU3xN.mjs";
|
|
8
|
+
import "../../../media-fMI0fkpM.mjs";
|
|
9
9
|
import "../../../options-1dBRkoCl.mjs";
|
|
10
|
-
import "../../../site-activity-
|
|
11
|
-
import { t as ReviewRequestRepository } from "../../../review-requests-
|
|
12
|
-
import { a as
|
|
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-DNFEWOyU.mjs";
|
|
11
|
+
import { t as ReviewRequestRepository } from "../../../review-requests-DwV5pW9w.mjs";
|
|
12
|
+
import { a as HITL_REQUEST_STATUSES, i as HITL_REQUEST_PRIORITIES, o as HitlRequestRepository, t as PublicationAuthorizationError } from "../../../publication-authorization-BvguiESO.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-Rh2NpVP6.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-Bw06giSR.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-Q60Srx4f.mjs";
|
|
18
|
+
import "../../../fts-manager-DYyjVJRg.mjs";
|
|
19
19
|
import "../../../public-discovery-CyDzK1-S.mjs";
|
|
20
|
-
import "../../../registry-
|
|
21
|
-
import
|
|
20
|
+
import "../../../registry-CtSVFnzD.mjs";
|
|
21
|
+
import "../../../settings-k3HDxkYk.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-BebwPm_l.mjs";
|
|
24
|
+
import "../../../query-D-HFo-qW.mjs";
|
|
25
|
+
import "../../../zod-generator-OstCAALT.mjs";
|
|
26
|
+
import "../../../schema-CrYkp-Bo.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-BIV-Nt4z.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-CpXJEs3L.mjs";
|
|
38
|
+
import { d as logSchemaActivity, o as logContentActivity, p as logSiteActivitySafely, r as contentMcpToolSource, t as activityChangedKeys, x as schemaMcpToolSource } from "../../../activity-events-hoMsbNbY.mjs";
|
|
39
39
|
import "../../../utils-iGiCys50.mjs";
|
|
40
|
-
import "../../../search-
|
|
40
|
+
import "../../../search-xzdgq7jq.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-CrYkp-Bo.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-CB_5AVLg.mjs").then((n) => n.t);
|
|
355
355
|
invalidateBylineCache();
|
|
356
356
|
}
|
|
357
357
|
function canReadDrafts(extra) {
|
|
@@ -537,18 +537,14 @@ function contentPublicationError(error) {
|
|
|
537
537
|
}
|
|
538
538
|
async function ensureContentReleaseRequest(payload, input) {
|
|
539
539
|
const actor = resolveActorIdentity(actorLocals(payload));
|
|
540
|
-
const
|
|
541
|
-
|
|
542
|
-
handlers: payload.dineway,
|
|
543
|
-
reviewRequests: new ReviewRequestRepository(payload.dineway.db)
|
|
544
|
-
}).buildContentReleasePayload({
|
|
540
|
+
const release = await contentPublicationService(payload).buildReleaseRequest({
|
|
541
|
+
actor,
|
|
545
542
|
collection: input.collection,
|
|
546
543
|
id: input.id,
|
|
547
544
|
operation: input.operation,
|
|
548
545
|
editorialReviewRequestId: input.editorialReviewRequestId,
|
|
549
546
|
publishedAt: input.publishedAt,
|
|
550
|
-
scheduledAt: input.scheduledAt
|
|
551
|
-
siteTimezone: settings.timezone?.trim() || "UTC"
|
|
547
|
+
scheduledAt: input.scheduledAt
|
|
552
548
|
});
|
|
553
549
|
const repository = new HitlRequestRepository(payload.dineway.db);
|
|
554
550
|
const existing = (await repository.list({
|
|
@@ -2406,7 +2402,7 @@ function createMcpServer(options = {}) {
|
|
|
2406
2402
|
requireRole(extra, Role.EDITOR);
|
|
2407
2403
|
const ec = getDineway(extra);
|
|
2408
2404
|
try {
|
|
2409
|
-
const { SchemaRegistry } = await import("../../../schema-
|
|
2405
|
+
const { SchemaRegistry } = await import("../../../schema-CrYkp-Bo.mjs").then((n) => n.t);
|
|
2410
2406
|
return jsonResult({ items: await new SchemaRegistry(ec.db).listCollections() });
|
|
2411
2407
|
} catch (error) {
|
|
2412
2408
|
return errorResult(error);
|
|
@@ -2422,7 +2418,7 @@ function createMcpServer(options = {}) {
|
|
|
2422
2418
|
requireRole(extra, Role.EDITOR);
|
|
2423
2419
|
const ec = getDineway(extra);
|
|
2424
2420
|
try {
|
|
2425
|
-
const { SchemaRegistry } = await import("../../../schema-
|
|
2421
|
+
const { SchemaRegistry } = await import("../../../schema-CrYkp-Bo.mjs").then((n) => n.t);
|
|
2426
2422
|
const collection = await new SchemaRegistry(ec.db).getCollectionWithFields(args.slug);
|
|
2427
2423
|
if (!collection) return errorResult(`Collection '${args.slug}' not found`);
|
|
2428
2424
|
return jsonResult(collection);
|
|
@@ -2452,7 +2448,7 @@ function createMcpServer(options = {}) {
|
|
|
2452
2448
|
requireRole(extra, Role.ADMIN);
|
|
2453
2449
|
const ec = getDineway(extra);
|
|
2454
2450
|
try {
|
|
2455
|
-
const { SchemaRegistry } = await import("../../../schema-
|
|
2451
|
+
const { SchemaRegistry } = await import("../../../schema-CrYkp-Bo.mjs").then((n) => n.t);
|
|
2456
2452
|
const collection = await new SchemaRegistry(ec.db).createCollection({
|
|
2457
2453
|
slug: args.slug,
|
|
2458
2454
|
label: args.label,
|
|
@@ -2516,7 +2512,7 @@ function createMcpServer(options = {}) {
|
|
|
2516
2512
|
request
|
|
2517
2513
|
});
|
|
2518
2514
|
}
|
|
2519
|
-
const { SchemaRegistry } = await import("../../../schema-
|
|
2515
|
+
const { SchemaRegistry } = await import("../../../schema-CrYkp-Bo.mjs").then((n) => n.t);
|
|
2520
2516
|
await new SchemaRegistry(ec.db).deleteCollection(args.slug, { force: args.force });
|
|
2521
2517
|
ec.invalidateManifest();
|
|
2522
2518
|
await logSchemaActivity(ec.db, locals, {
|
|
@@ -2580,7 +2576,7 @@ function createMcpServer(options = {}) {
|
|
|
2580
2576
|
requireRole(extra, Role.ADMIN);
|
|
2581
2577
|
const ec = getDineway(extra);
|
|
2582
2578
|
try {
|
|
2583
|
-
const { SchemaRegistry } = await import("../../../schema-
|
|
2579
|
+
const { SchemaRegistry } = await import("../../../schema-CrYkp-Bo.mjs").then((n) => n.t);
|
|
2584
2580
|
const field = await new SchemaRegistry(ec.db).createField(args.collection, {
|
|
2585
2581
|
slug: args.slug,
|
|
2586
2582
|
label: args.label,
|
|
@@ -2649,7 +2645,7 @@ function createMcpServer(options = {}) {
|
|
|
2649
2645
|
request
|
|
2650
2646
|
});
|
|
2651
2647
|
}
|
|
2652
|
-
const { SchemaRegistry } = await import("../../../schema-
|
|
2648
|
+
const { SchemaRegistry } = await import("../../../schema-CrYkp-Bo.mjs").then((n) => n.t);
|
|
2653
2649
|
await new SchemaRegistry(ec.db).deleteField(args.collection, args.fieldSlug);
|
|
2654
2650
|
ec.invalidateManifest();
|
|
2655
2651
|
await logSchemaActivity(ec.db, locals, {
|
|
@@ -2782,7 +2778,7 @@ function createMcpServer(options = {}) {
|
|
|
2782
2778
|
requireScope(extra, "content:read");
|
|
2783
2779
|
const ec = getDineway(extra);
|
|
2784
2780
|
try {
|
|
2785
|
-
const { searchWithDb } = await import("../../../search-
|
|
2781
|
+
const { searchWithDb } = await import("../../../search-xzdgq7jq.mjs").then((n) => n.t);
|
|
2786
2782
|
return jsonResult(await searchWithDb(ec.db, args.query, {
|
|
2787
2783
|
collections: args.collections,
|
|
2788
2784
|
locale: args.locale,
|
|
@@ -2808,7 +2804,7 @@ function createMcpServer(options = {}) {
|
|
|
2808
2804
|
requireScope(extra, "content:read");
|
|
2809
2805
|
const ec = getDineway(extra);
|
|
2810
2806
|
try {
|
|
2811
|
-
const { BylineRepository } = await import("../../../byline-
|
|
2807
|
+
const { BylineRepository } = await import("../../../byline-Dvn80pJf.mjs").then((n) => n.n);
|
|
2812
2808
|
return jsonResult(await new BylineRepository(ec.db).findMany({
|
|
2813
2809
|
search: args.search,
|
|
2814
2810
|
isGuest: args.isGuest,
|
|
@@ -2830,7 +2826,7 @@ function createMcpServer(options = {}) {
|
|
|
2830
2826
|
requireScope(extra, "content:read");
|
|
2831
2827
|
const ec = getDineway(extra);
|
|
2832
2828
|
try {
|
|
2833
|
-
const { BylineRepository } = await import("../../../byline-
|
|
2829
|
+
const { BylineRepository } = await import("../../../byline-Dvn80pJf.mjs").then((n) => n.n);
|
|
2834
2830
|
const byline = await new BylineRepository(ec.db).findById(args.id);
|
|
2835
2831
|
if (!byline) return errorResult(`Byline '${args.id}' not found`);
|
|
2836
2832
|
return jsonResult(byline);
|
|
@@ -2848,7 +2844,7 @@ function createMcpServer(options = {}) {
|
|
|
2848
2844
|
requireRole(extra, Role.EDITOR);
|
|
2849
2845
|
const ec = getDineway(extra);
|
|
2850
2846
|
try {
|
|
2851
|
-
const { handleBylineCreate } = await import("../../../bylines-
|
|
2847
|
+
const { handleBylineCreate } = await import("../../../bylines-TcwJ0D4l.mjs").then((n) => n.t);
|
|
2852
2848
|
const result = await handleBylineCreate(ec.db, args);
|
|
2853
2849
|
if (result.success) await invalidateBylines();
|
|
2854
2850
|
return unwrap(result);
|
|
@@ -2868,7 +2864,7 @@ function createMcpServer(options = {}) {
|
|
|
2868
2864
|
requireRole(extra, Role.EDITOR);
|
|
2869
2865
|
const ec = getDineway(extra);
|
|
2870
2866
|
try {
|
|
2871
|
-
const { handleBylineUpdate } = await import("../../../bylines-
|
|
2867
|
+
const { handleBylineUpdate } = await import("../../../bylines-TcwJ0D4l.mjs").then((n) => n.t);
|
|
2872
2868
|
const { id, ...input } = args;
|
|
2873
2869
|
const result = await handleBylineUpdate(ec.db, id, input);
|
|
2874
2870
|
if (result.success) await invalidateBylines();
|
|
@@ -2887,7 +2883,7 @@ function createMcpServer(options = {}) {
|
|
|
2887
2883
|
requireRole(extra, Role.EDITOR);
|
|
2888
2884
|
const ec = getDineway(extra);
|
|
2889
2885
|
try {
|
|
2890
|
-
const { BylineRepository } = await import("../../../byline-
|
|
2886
|
+
const { BylineRepository } = await import("../../../byline-Dvn80pJf.mjs").then((n) => n.n);
|
|
2891
2887
|
if (!await new BylineRepository(ec.db).delete(args.id)) return errorResult(`Byline '${args.id}' not found`);
|
|
2892
2888
|
await invalidateBylines();
|
|
2893
2889
|
return jsonResult({ deleted: args.id });
|
|
@@ -2904,7 +2900,7 @@ function createMcpServer(options = {}) {
|
|
|
2904
2900
|
requireScope(extra, "content:read");
|
|
2905
2901
|
const ec = getDineway(extra);
|
|
2906
2902
|
try {
|
|
2907
|
-
const { handleBylineTranslations } = await import("../../../bylines-
|
|
2903
|
+
const { handleBylineTranslations } = await import("../../../bylines-TcwJ0D4l.mjs").then((n) => n.t);
|
|
2908
2904
|
return unwrap(await handleBylineTranslations(ec.db, args.id));
|
|
2909
2905
|
} catch (error) {
|
|
2910
2906
|
return errorResult(error);
|
|
@@ -2919,7 +2915,7 @@ function createMcpServer(options = {}) {
|
|
|
2919
2915
|
requireScope(extra, "content:read");
|
|
2920
2916
|
const ec = getDineway(extra);
|
|
2921
2917
|
try {
|
|
2922
|
-
const { handleTaxonomyList } = await import("../../../taxonomies-
|
|
2918
|
+
const { handleTaxonomyList } = await import("../../../taxonomies-C5Dc57XI.mjs").then((n) => n.l);
|
|
2923
2919
|
return unwrap(await handleTaxonomyList(ec.db, { locale: args.locale }));
|
|
2924
2920
|
} catch (error) {
|
|
2925
2921
|
return errorResult(error);
|
|
@@ -2939,12 +2935,12 @@ function createMcpServer(options = {}) {
|
|
|
2939
2935
|
requireScope(extra, "content:read");
|
|
2940
2936
|
const ec = getDineway(extra);
|
|
2941
2937
|
try {
|
|
2942
|
-
const { handleTaxonomyList } = await import("../../../taxonomies-
|
|
2938
|
+
const { handleTaxonomyList } = await import("../../../taxonomies-C5Dc57XI.mjs").then((n) => n.l);
|
|
2943
2939
|
const listResult = await handleTaxonomyList(ec.db, { locale: args.locale });
|
|
2944
2940
|
if (!listResult.success) return unwrap(listResult);
|
|
2945
2941
|
if (!listResult.data.taxonomies.find((t) => t.name === args.taxonomy)) return errorResult(`Taxonomy '${args.taxonomy}' not found`);
|
|
2946
|
-
const { TaxonomyRepository } = await import("../../../taxonomy
|
|
2947
|
-
const { decodeCursor, encodeCursor } = await import("../../../types-
|
|
2942
|
+
const { TaxonomyRepository } = await import("../../../taxonomy-Q0dtGa3h.mjs").then((n) => n.n);
|
|
2943
|
+
const { decodeCursor, encodeCursor } = await import("../../../types-CpJhSIti.mjs").then((n) => n.a);
|
|
2948
2944
|
const repo = new TaxonomyRepository(ec.db);
|
|
2949
2945
|
const limit = Math.min(args.limit ?? 50, 100);
|
|
2950
2946
|
const terms = await repo.findByName(args.taxonomy, { locale: args.locale });
|
|
@@ -2993,7 +2989,7 @@ function createMcpServer(options = {}) {
|
|
|
2993
2989
|
requireRole(extra, Role.EDITOR);
|
|
2994
2990
|
const ec = getDineway(extra);
|
|
2995
2991
|
try {
|
|
2996
|
-
const { handleTermCreate } = await import("../../../taxonomies-
|
|
2992
|
+
const { handleTermCreate } = await import("../../../taxonomies-C5Dc57XI.mjs").then((n) => n.l);
|
|
2997
2993
|
return unwrap(await handleTermCreate(ec.db, args.taxonomy, {
|
|
2998
2994
|
slug: args.slug,
|
|
2999
2995
|
label: args.label,
|
|
@@ -3023,7 +3019,7 @@ function createMcpServer(options = {}) {
|
|
|
3023
3019
|
requireRole(extra, Role.EDITOR);
|
|
3024
3020
|
const ec = getDineway(extra);
|
|
3025
3021
|
try {
|
|
3026
|
-
const { handleTermUpdate } = await import("../../../taxonomies-
|
|
3022
|
+
const { handleTermUpdate } = await import("../../../taxonomies-C5Dc57XI.mjs").then((n) => n.l);
|
|
3027
3023
|
return unwrap(await handleTermUpdate(ec.db, args.taxonomy, args.termSlug, {
|
|
3028
3024
|
slug: args.slug,
|
|
3029
3025
|
label: args.label,
|
|
@@ -3048,7 +3044,7 @@ function createMcpServer(options = {}) {
|
|
|
3048
3044
|
requireRole(extra, Role.EDITOR);
|
|
3049
3045
|
const ec = getDineway(extra);
|
|
3050
3046
|
try {
|
|
3051
|
-
const { handleTermDelete } = await import("../../../taxonomies-
|
|
3047
|
+
const { handleTermDelete } = await import("../../../taxonomies-C5Dc57XI.mjs").then((n) => n.l);
|
|
3052
3048
|
return unwrap(await handleTermDelete(ec.db, args.taxonomy, args.termSlug, { locale: args.locale }));
|
|
3053
3049
|
} catch (error) {
|
|
3054
3050
|
return errorResult(error);
|
|
@@ -3063,7 +3059,7 @@ function createMcpServer(options = {}) {
|
|
|
3063
3059
|
requireScope(extra, "content:read");
|
|
3064
3060
|
const ec = getDineway(extra);
|
|
3065
3061
|
try {
|
|
3066
|
-
const { handleTermTranslations } = await import("../../../taxonomies-
|
|
3062
|
+
const { handleTermTranslations } = await import("../../../taxonomies-C5Dc57XI.mjs").then((n) => n.l);
|
|
3067
3063
|
return unwrap(await handleTermTranslations(ec.db, args.id));
|
|
3068
3064
|
} catch (error) {
|
|
3069
3065
|
return errorResult(error);
|
|
@@ -3078,7 +3074,7 @@ function createMcpServer(options = {}) {
|
|
|
3078
3074
|
requireScope(extra, "content:read");
|
|
3079
3075
|
const ec = getDineway(extra);
|
|
3080
3076
|
try {
|
|
3081
|
-
const { handleMenuList } = await import("../../../menus-
|
|
3077
|
+
const { handleMenuList } = await import("../../../menus-BCaZ124X.mjs").then((n) => n.d);
|
|
3082
3078
|
return unwrap(await handleMenuList(ec.db, { locale: args.locale }));
|
|
3083
3079
|
} catch (error) {
|
|
3084
3080
|
return errorResult(error);
|
|
@@ -3096,7 +3092,7 @@ function createMcpServer(options = {}) {
|
|
|
3096
3092
|
requireScope(extra, "content:read");
|
|
3097
3093
|
const ec = getDineway(extra);
|
|
3098
3094
|
try {
|
|
3099
|
-
const { handleMenuGet } = await import("../../../menus-
|
|
3095
|
+
const { handleMenuGet } = await import("../../../menus-BCaZ124X.mjs").then((n) => n.d);
|
|
3100
3096
|
return unwrap(await handleMenuGet(ec.db, args.name, { locale: args.locale }));
|
|
3101
3097
|
} catch (error) {
|
|
3102
3098
|
return errorResult(error);
|
|
@@ -3111,7 +3107,7 @@ function createMcpServer(options = {}) {
|
|
|
3111
3107
|
requireScope(extra, "content:read");
|
|
3112
3108
|
const ec = getDineway(extra);
|
|
3113
3109
|
try {
|
|
3114
|
-
const { handleMenuTranslations } = await import("../../../menus-
|
|
3110
|
+
const { handleMenuTranslations } = await import("../../../menus-BCaZ124X.mjs").then((n) => n.d);
|
|
3115
3111
|
return unwrap(await handleMenuTranslations(ec.db, args.id));
|
|
3116
3112
|
} catch (error) {
|
|
3117
3113
|
return errorResult(error);
|
|
@@ -3131,7 +3127,7 @@ function createMcpServer(options = {}) {
|
|
|
3131
3127
|
requireRole(extra, Role.EDITOR);
|
|
3132
3128
|
const ec = getDineway(extra);
|
|
3133
3129
|
try {
|
|
3134
|
-
const { handleMenuCreate } = await import("../../../menus-
|
|
3130
|
+
const { handleMenuCreate } = await import("../../../menus-BCaZ124X.mjs").then((n) => n.d);
|
|
3135
3131
|
return unwrap(await handleMenuCreate(ec.db, {
|
|
3136
3132
|
name: args.name,
|
|
3137
3133
|
label: args.label,
|
|
@@ -3155,7 +3151,7 @@ function createMcpServer(options = {}) {
|
|
|
3155
3151
|
requireRole(extra, Role.EDITOR);
|
|
3156
3152
|
const ec = getDineway(extra);
|
|
3157
3153
|
try {
|
|
3158
|
-
const { handleMenuUpdate } = await import("../../../menus-
|
|
3154
|
+
const { handleMenuUpdate } = await import("../../../menus-BCaZ124X.mjs").then((n) => n.d);
|
|
3159
3155
|
return unwrap(await handleMenuUpdate(ec.db, args.name, {
|
|
3160
3156
|
label: args.label,
|
|
3161
3157
|
locale: args.locale
|
|
@@ -3177,7 +3173,7 @@ function createMcpServer(options = {}) {
|
|
|
3177
3173
|
requireRole(extra, Role.EDITOR);
|
|
3178
3174
|
const ec = getDineway(extra);
|
|
3179
3175
|
try {
|
|
3180
|
-
const { handleMenuDelete } = await import("../../../menus-
|
|
3176
|
+
const { handleMenuDelete } = await import("../../../menus-BCaZ124X.mjs").then((n) => n.d);
|
|
3181
3177
|
return unwrap(await handleMenuDelete(ec.db, args.name, { locale: args.locale }));
|
|
3182
3178
|
} catch (error) {
|
|
3183
3179
|
return errorResult(error);
|
|
@@ -3212,7 +3208,7 @@ function createMcpServer(options = {}) {
|
|
|
3212
3208
|
requireRole(extra, Role.EDITOR);
|
|
3213
3209
|
const ec = getDineway(extra);
|
|
3214
3210
|
try {
|
|
3215
|
-
const { handleMenuSetItems } = await import("../../../menus-
|
|
3211
|
+
const { handleMenuSetItems } = await import("../../../menus-BCaZ124X.mjs").then((n) => n.d);
|
|
3216
3212
|
return unwrap(await handleMenuSetItems(ec.db, args.name, args.items, { locale: args.locale }));
|
|
3217
3213
|
} catch (error) {
|
|
3218
3214
|
return errorResult(error);
|
|
@@ -3259,7 +3255,7 @@ function createMcpServer(options = {}) {
|
|
|
3259
3255
|
requireRole(extra, Role.ADMIN);
|
|
3260
3256
|
const ec = getDineway(extra);
|
|
3261
3257
|
try {
|
|
3262
|
-
const { handleSettingsGet } = await import("../../../settings-
|
|
3258
|
+
const { handleSettingsGet } = await import("../../../settings-CmmYM8ML.mjs").then((n) => n.r);
|
|
3263
3259
|
return unwrap(await handleSettingsGet(ec.db, ec.storage));
|
|
3264
3260
|
} catch (error) {
|
|
3265
3261
|
return errorResult(error);
|
|
@@ -3296,7 +3292,7 @@ function createMcpServer(options = {}) {
|
|
|
3296
3292
|
request
|
|
3297
3293
|
});
|
|
3298
3294
|
}
|
|
3299
|
-
const { handleSettingsUpdate } = await import("../../../settings-
|
|
3295
|
+
const { handleSettingsUpdate } = await import("../../../settings-CmmYM8ML.mjs").then((n) => n.r);
|
|
3300
3296
|
const result = await handleSettingsUpdate(ec.db, ec.storage, settingsInput);
|
|
3301
3297
|
if (!result.success) return unwrap(result);
|
|
3302
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-CpJhSIti.mjs";
|
|
3
|
+
import { t as MediaRepository } from "../../../../../media-fMI0fkpM.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-CpJhSIti.mjs";
|
|
3
|
+
import { t as MediaRepository } from "../../../../media-fMI0fkpM.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-CpJhSIti.mjs";
|
|
3
|
+
import { t as MediaRepository } from "../../../media-fMI0fkpM.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";
|
|
@@ -122,7 +122,7 @@ const POST = async ({ request, locals }) => {
|
|
|
122
122
|
} catch {}
|
|
123
123
|
return unwrapResult(result);
|
|
124
124
|
}
|
|
125
|
-
return apiSuccess({ item:
|
|
125
|
+
return apiSuccess({ item: addInternalMediaUrl(result.data.item) }, 201);
|
|
126
126
|
} catch (error) {
|
|
127
127
|
return handleError(error, "Upload failed", "UPLOAD_ERROR");
|
|
128
128
|
}
|
|
@@ -1,40 +1,40 @@
|
|
|
1
1
|
import "../../../../../../dialect-helpers-fk43GbDb.mjs";
|
|
2
2
|
import "../../../../../../base64-F8-DUraK.mjs";
|
|
3
|
-
import "../../../../../../types-
|
|
4
|
-
import "../../../../../../loader-
|
|
3
|
+
import "../../../../../../types-CpJhSIti.mjs";
|
|
4
|
+
import "../../../../../../loader-08U88vtS.mjs";
|
|
5
5
|
import "../../../../../../object-cache-D51qOseS.mjs";
|
|
6
6
|
import "../../../../../../revision-De7OmYVD.mjs";
|
|
7
|
-
import "../../../../../../content-
|
|
8
|
-
import "../../../../../../media-
|
|
7
|
+
import "../../../../../../content-GsliU3xN.mjs";
|
|
8
|
+
import "../../../../../../media-fMI0fkpM.mjs";
|
|
9
9
|
import "../../../../../../options-1dBRkoCl.mjs";
|
|
10
|
-
import "../../../../../../site-activity-
|
|
11
|
-
import "../../../../../../review-requests-
|
|
12
|
-
import "../../../../../../publication-authorization-
|
|
13
|
-
import { g as RiskPolicyEvaluator, l as MenuHitlPayloadBuilder } from "../../../../../../site-context-
|
|
14
|
-
import { a as handleMenuItemDelete, s as handleMenuItemUpdate } from "../../../../../../menus-
|
|
10
|
+
import "../../../../../../site-activity-DNFEWOyU.mjs";
|
|
11
|
+
import "../../../../../../review-requests-DwV5pW9w.mjs";
|
|
12
|
+
import "../../../../../../publication-authorization-BvguiESO.mjs";
|
|
13
|
+
import { g as RiskPolicyEvaluator, l as MenuHitlPayloadBuilder } from "../../../../../../site-context-Rh2NpVP6.mjs";
|
|
14
|
+
import { a as handleMenuItemDelete, s as handleMenuItemUpdate } from "../../../../../../menus-BCaZ124X.mjs";
|
|
15
15
|
import "../../../../../../request-cache-DoT2mKBT.mjs";
|
|
16
|
-
import "../../../../../../briefing-
|
|
16
|
+
import "../../../../../../briefing-Bw06giSR.mjs";
|
|
17
17
|
import "../../../../../../context-types-fEeyXC1D.mjs";
|
|
18
|
-
import "../../../../../../content-refresh-
|
|
19
|
-
import "../../../../../../fts-manager-
|
|
18
|
+
import "../../../../../../content-refresh-Q60Srx4f.mjs";
|
|
19
|
+
import "../../../../../../fts-manager-DYyjVJRg.mjs";
|
|
20
20
|
import "../../../../../../public-discovery-CyDzK1-S.mjs";
|
|
21
|
-
import "../../../../../../registry-
|
|
22
|
-
import "../../../../../../settings-
|
|
23
|
-
import "../../../../../../query-
|
|
24
|
-
import "../../../../../../zod-generator-
|
|
25
|
-
import "../../../../../../schema-
|
|
21
|
+
import "../../../../../../registry-CtSVFnzD.mjs";
|
|
22
|
+
import "../../../../../../settings-k3HDxkYk.mjs";
|
|
23
|
+
import "../../../../../../query-D-HFo-qW.mjs";
|
|
24
|
+
import "../../../../../../zod-generator-OstCAALT.mjs";
|
|
25
|
+
import "../../../../../../schema-CrYkp-Bo.mjs";
|
|
26
26
|
import { a as unwrapResult, r as handleError, t as apiError } from "../../../../../../error-BPA9T0AW.mjs";
|
|
27
27
|
import { i as parseQuery, n as parseBody, t as isParseError } from "../../../../../../parse-CJC9DGe9.mjs";
|
|
28
28
|
import { Fn as localeFilterQuery, lt as updateMenuItemBody } from "../../../../../../redirects-C9pg6Dcg.mjs";
|
|
29
29
|
import "../../../../../../byline-fields-C4OeOttq.mjs";
|
|
30
30
|
import "../../../../../../status-BdZSXIP_.mjs";
|
|
31
31
|
import "../../../../../../api/schemas/index.mjs";
|
|
32
|
-
import "../../../../../../activity-
|
|
33
|
-
import { _ as menuApiRouteSource, c as logMenuActivity } from "../../../../../../activity-events-
|
|
32
|
+
import "../../../../../../activity-CpXJEs3L.mjs";
|
|
33
|
+
import { _ as menuApiRouteSource, c as logMenuActivity } from "../../../../../../activity-events-hoMsbNbY.mjs";
|
|
34
34
|
import "../../../../../../utils-iGiCys50.mjs";
|
|
35
|
-
import "../../../../../../search-
|
|
35
|
+
import "../../../../../../search-xzdgq7jq.mjs";
|
|
36
36
|
import { n as requirePerm } from "../../../../../../authorize-Dg75h4BN.mjs";
|
|
37
|
-
import { i as resolveHitlRouteActor, n as hitlRequiredRouteError, t as ensureWorkflowHitlRouteRequest } from "../../../../../../hitl-route-helpers-
|
|
37
|
+
import { i as resolveHitlRouteActor, n as hitlRequiredRouteError, t as ensureWorkflowHitlRouteRequest } from "../../../../../../hitl-route-helpers-Ct3-l199.mjs";
|
|
38
38
|
import { z } from "zod";
|
|
39
39
|
|
|
40
40
|
//#region src/astro/routes/api/menus/[name]/items/[id].ts
|
|
@@ -1,40 +1,40 @@
|
|
|
1
1
|
import "../../../../../dialect-helpers-fk43GbDb.mjs";
|
|
2
2
|
import "../../../../../base64-F8-DUraK.mjs";
|
|
3
|
-
import "../../../../../types-
|
|
4
|
-
import "../../../../../loader-
|
|
3
|
+
import "../../../../../types-CpJhSIti.mjs";
|
|
4
|
+
import "../../../../../loader-08U88vtS.mjs";
|
|
5
5
|
import "../../../../../object-cache-D51qOseS.mjs";
|
|
6
6
|
import "../../../../../revision-De7OmYVD.mjs";
|
|
7
|
-
import "../../../../../content-
|
|
8
|
-
import "../../../../../media-
|
|
7
|
+
import "../../../../../content-GsliU3xN.mjs";
|
|
8
|
+
import "../../../../../media-fMI0fkpM.mjs";
|
|
9
9
|
import "../../../../../options-1dBRkoCl.mjs";
|
|
10
|
-
import "../../../../../site-activity-
|
|
11
|
-
import "../../../../../review-requests-
|
|
12
|
-
import "../../../../../publication-authorization-
|
|
13
|
-
import { g as RiskPolicyEvaluator, l as MenuHitlPayloadBuilder } from "../../../../../site-context-
|
|
14
|
-
import { i as handleMenuItemCreate } from "../../../../../menus-
|
|
10
|
+
import "../../../../../site-activity-DNFEWOyU.mjs";
|
|
11
|
+
import "../../../../../review-requests-DwV5pW9w.mjs";
|
|
12
|
+
import "../../../../../publication-authorization-BvguiESO.mjs";
|
|
13
|
+
import { g as RiskPolicyEvaluator, l as MenuHitlPayloadBuilder } from "../../../../../site-context-Rh2NpVP6.mjs";
|
|
14
|
+
import { i as handleMenuItemCreate } from "../../../../../menus-BCaZ124X.mjs";
|
|
15
15
|
import "../../../../../request-cache-DoT2mKBT.mjs";
|
|
16
|
-
import "../../../../../briefing-
|
|
16
|
+
import "../../../../../briefing-Bw06giSR.mjs";
|
|
17
17
|
import "../../../../../context-types-fEeyXC1D.mjs";
|
|
18
|
-
import "../../../../../content-refresh-
|
|
19
|
-
import "../../../../../fts-manager-
|
|
18
|
+
import "../../../../../content-refresh-Q60Srx4f.mjs";
|
|
19
|
+
import "../../../../../fts-manager-DYyjVJRg.mjs";
|
|
20
20
|
import "../../../../../public-discovery-CyDzK1-S.mjs";
|
|
21
|
-
import "../../../../../registry-
|
|
22
|
-
import "../../../../../settings-
|
|
23
|
-
import "../../../../../query-
|
|
24
|
-
import "../../../../../zod-generator-
|
|
25
|
-
import "../../../../../schema-
|
|
21
|
+
import "../../../../../registry-CtSVFnzD.mjs";
|
|
22
|
+
import "../../../../../settings-k3HDxkYk.mjs";
|
|
23
|
+
import "../../../../../query-D-HFo-qW.mjs";
|
|
24
|
+
import "../../../../../zod-generator-OstCAALT.mjs";
|
|
25
|
+
import "../../../../../schema-CrYkp-Bo.mjs";
|
|
26
26
|
import { a as unwrapResult, r as handleError } from "../../../../../error-BPA9T0AW.mjs";
|
|
27
27
|
import { i as parseQuery, n as parseBody, t as isParseError } from "../../../../../parse-CJC9DGe9.mjs";
|
|
28
28
|
import { Fn as localeFilterQuery, et as createMenuItemBody } from "../../../../../redirects-C9pg6Dcg.mjs";
|
|
29
29
|
import "../../../../../byline-fields-C4OeOttq.mjs";
|
|
30
30
|
import "../../../../../status-BdZSXIP_.mjs";
|
|
31
31
|
import "../../../../../api/schemas/index.mjs";
|
|
32
|
-
import "../../../../../activity-
|
|
33
|
-
import { _ as menuApiRouteSource, c as logMenuActivity } from "../../../../../activity-events-
|
|
32
|
+
import "../../../../../activity-CpXJEs3L.mjs";
|
|
33
|
+
import { _ as menuApiRouteSource, c as logMenuActivity } from "../../../../../activity-events-hoMsbNbY.mjs";
|
|
34
34
|
import "../../../../../utils-iGiCys50.mjs";
|
|
35
|
-
import "../../../../../search-
|
|
35
|
+
import "../../../../../search-xzdgq7jq.mjs";
|
|
36
36
|
import { n as requirePerm } from "../../../../../authorize-Dg75h4BN.mjs";
|
|
37
|
-
import { i as resolveHitlRouteActor, n as hitlRequiredRouteError, t as ensureWorkflowHitlRouteRequest } from "../../../../../hitl-route-helpers-
|
|
37
|
+
import { i as resolveHitlRouteActor, n as hitlRequiredRouteError, t as ensureWorkflowHitlRouteRequest } from "../../../../../hitl-route-helpers-Ct3-l199.mjs";
|
|
38
38
|
import { z } from "zod";
|
|
39
39
|
|
|
40
40
|
//#region src/astro/routes/api/menus/[name]/items.ts
|