dineway 0.1.44 → 0.1.46
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{activity-events-CpcTzKpF.mjs → activity-events-CNk3clTT.mjs} +1 -1
- package/dist/{allowed-origins-3RuuoFjC.mjs → allowed-origins-DhipQNLb.mjs} +1 -1
- package/dist/api/route-utils.d.mts +9 -10
- package/dist/api/route-utils.mjs +13 -13
- package/dist/api/schemas/index.d.mts +2 -2
- package/dist/api/schemas/index.mjs +4 -4
- package/dist/{api-x5yKhnAw.mjs → api-Bmfii2mH.mjs} +101 -56
- package/dist/{api-tokens-BFg7tiOQ.mjs → api-tokens-DtvdtIkm.mjs} +1 -1
- package/dist/{apply-TIoQ00aH.mjs → apply-BpRBCqUt.mjs} +76 -31
- package/dist/astro/index.d.mts +10 -11
- package/dist/astro/index.mjs +23 -3
- package/dist/astro/middleware/auth.d.mts +9 -10
- package/dist/astro/middleware/auth.mjs +5 -5
- package/dist/astro/middleware/redirect.mjs +13 -7
- package/dist/astro/middleware/request-context.mjs +3 -3
- package/dist/astro/middleware/seed.d.mts +1 -1
- package/dist/astro/middleware/seed.mjs +2 -2
- package/dist/astro/middleware/setup.mjs +1 -1
- package/dist/astro/middleware.mjs +120 -82
- package/dist/astro/routes/api/admin/allowed-domains/_domain_.mjs +5 -5
- package/dist/astro/routes/api/admin/allowed-domains/index.mjs +5 -5
- package/dist/astro/routes/api/admin/api-tokens/_id_.mjs +4 -4
- package/dist/astro/routes/api/admin/api-tokens/index.mjs +6 -6
- package/dist/astro/routes/api/admin/briefing.mjs +17 -17
- package/dist/astro/routes/api/admin/byline-fields/_slug_/usage.d.mts +7 -0
- package/dist/astro/routes/api/admin/byline-fields/_slug_/usage.mjs +17 -0
- package/dist/astro/routes/api/admin/byline-fields/_slug_.d.mts +9 -0
- package/dist/astro/routes/api/admin/byline-fields/_slug_.mjs +38 -0
- package/dist/astro/routes/api/admin/byline-fields/index.d.mts +8 -0
- package/dist/astro/routes/api/admin/byline-fields/index.mjs +31 -0
- package/dist/astro/routes/api/admin/byline-fields/reorder.d.mts +7 -0
- package/dist/astro/routes/api/admin/byline-fields/reorder.mjs +24 -0
- package/dist/astro/routes/api/admin/bylines/_id_/index.mjs +27 -27
- package/dist/astro/routes/api/admin/bylines/_id_/translations.d.mts +8 -0
- package/dist/astro/routes/api/admin/bylines/_id_/translations.mjs +57 -0
- package/dist/astro/routes/api/admin/bylines/index.mjs +30 -26
- package/dist/astro/routes/api/admin/comments/_id_/status.mjs +11 -11
- package/dist/astro/routes/api/admin/comments/_id_.mjs +5 -5
- package/dist/astro/routes/api/admin/comments/bulk.mjs +9 -9
- package/dist/astro/routes/api/admin/comments/counts.mjs +5 -5
- package/dist/astro/routes/api/admin/comments/index.mjs +9 -9
- package/dist/astro/routes/api/admin/context/_id_/history.mjs +23 -23
- package/dist/astro/routes/api/admin/context/_id_/index.mjs +23 -23
- package/dist/astro/routes/api/admin/context/_id_/review.mjs +27 -27
- package/dist/astro/routes/api/admin/context/_id_/supersede.mjs +27 -27
- package/dist/astro/routes/api/admin/context/diff.mjs +26 -26
- package/dist/astro/routes/api/admin/context/index.mjs +27 -27
- package/dist/astro/routes/api/admin/context/stale.mjs +26 -26
- package/dist/astro/routes/api/admin/hitl-requests/_id_/index.mjs +23 -23
- package/dist/astro/routes/api/admin/hitl-requests/_id_/resolve.mjs +26 -26
- package/dist/astro/routes/api/admin/hitl-requests/index.mjs +26 -26
- package/dist/astro/routes/api/admin/hooks/exclusive/_hookName_.mjs +24 -24
- package/dist/astro/routes/api/admin/hooks/exclusive/index.mjs +2 -2
- package/dist/astro/routes/api/admin/oauth-clients/_id_.mjs +6 -6
- package/dist/astro/routes/api/admin/oauth-clients/index.mjs +6 -6
- package/dist/astro/routes/api/admin/plugins/_id_/disable.mjs +48 -44
- package/dist/astro/routes/api/admin/plugins/_id_/enable.mjs +48 -44
- package/dist/astro/routes/api/admin/plugins/_id_/index.mjs +42 -38
- package/dist/astro/routes/api/admin/plugins/_id_/uninstall.mjs +47 -43
- package/dist/astro/routes/api/admin/plugins/_id_/update.mjs +47 -43
- package/dist/astro/routes/api/admin/plugins/index.mjs +42 -38
- package/dist/astro/routes/api/admin/plugins/marketplace/_id_/icon.mjs +2 -2
- package/dist/astro/routes/api/admin/plugins/marketplace/_id_/index.mjs +42 -38
- package/dist/astro/routes/api/admin/plugins/marketplace/_id_/install.mjs +47 -43
- package/dist/astro/routes/api/admin/plugins/marketplace/index.mjs +42 -38
- package/dist/astro/routes/api/admin/plugins/updates.mjs +42 -38
- package/dist/astro/routes/api/admin/review-requests/_id_/index.mjs +5 -5
- package/dist/astro/routes/api/admin/review-requests/_id_/resolve.mjs +26 -26
- package/dist/astro/routes/api/admin/review-requests/index.mjs +9 -9
- package/dist/astro/routes/api/admin/themes/marketplace/_id_/index.mjs +42 -38
- package/dist/astro/routes/api/admin/themes/marketplace/_id_/thumbnail.mjs +2 -2
- package/dist/astro/routes/api/admin/themes/marketplace/index.mjs +42 -38
- package/dist/astro/routes/api/admin/users/_id_/disable.mjs +1 -1
- package/dist/astro/routes/api/admin/users/_id_/enable.mjs +1 -1
- package/dist/astro/routes/api/admin/users/_id_/index.mjs +5 -5
- package/dist/astro/routes/api/admin/users/_id_/send-recovery.mjs +2 -2
- package/dist/astro/routes/api/admin/users/index.mjs +5 -5
- package/dist/astro/routes/api/auth/dev-bypass.mjs +5 -5
- package/dist/astro/routes/api/auth/invite/accept.mjs +1 -1
- package/dist/astro/routes/api/auth/invite/complete.mjs +9 -9
- package/dist/astro/routes/api/auth/invite/index.mjs +6 -6
- package/dist/astro/routes/api/auth/invite/register-options.mjs +8 -8
- package/dist/astro/routes/api/auth/logout.mjs +2 -2
- package/dist/astro/routes/api/auth/magic-link/send.mjs +8 -8
- package/dist/astro/routes/api/auth/magic-link/verify.mjs +2 -2
- package/dist/astro/routes/api/auth/me.mjs +20 -11
- package/dist/astro/routes/api/auth/mode.mjs +1 -1
- package/dist/astro/routes/api/auth/oauth/_provider_/callback.mjs +2 -2
- package/dist/astro/routes/api/auth/oauth/_provider_.mjs +2 -2
- package/dist/astro/routes/api/auth/passkey/_id_.mjs +5 -5
- package/dist/astro/routes/api/auth/passkey/index.mjs +1 -1
- package/dist/astro/routes/api/auth/passkey/options.mjs +10 -10
- package/dist/astro/routes/api/auth/passkey/register/options.mjs +8 -8
- package/dist/astro/routes/api/auth/passkey/register/verify.mjs +9 -9
- package/dist/astro/routes/api/auth/passkey/verify.mjs +9 -9
- package/dist/astro/routes/api/auth/setup-token/index.mjs +5 -5
- package/dist/astro/routes/api/auth/setup-token/verify.mjs +2 -2
- package/dist/astro/routes/api/auth/signup/complete.mjs +9 -9
- package/dist/astro/routes/api/auth/signup/request.mjs +8 -8
- package/dist/astro/routes/api/auth/signup/verify.mjs +1 -1
- package/dist/astro/routes/api/comments/_collection_/_contentId_/index.mjs +12 -12
- package/dist/astro/routes/api/content/_collection_/_id_/compare.mjs +2 -2
- package/dist/astro/routes/api/content/_collection_/_id_/discard-draft.mjs +5 -5
- package/dist/astro/routes/api/content/_collection_/_id_/duplicate.mjs +5 -5
- package/dist/astro/routes/api/content/_collection_/_id_/permanent.mjs +5 -5
- package/dist/astro/routes/api/content/_collection_/_id_/preview-url.mjs +11 -11
- package/dist/astro/routes/api/content/_collection_/_id_/publish.mjs +9 -9
- package/dist/astro/routes/api/content/_collection_/_id_/restore.mjs +5 -5
- package/dist/astro/routes/api/content/_collection_/_id_/revisions.mjs +2 -2
- package/dist/astro/routes/api/content/_collection_/_id_/schedule.mjs +9 -9
- package/dist/astro/routes/api/content/_collection_/_id_/terms/_taxonomy_.mjs +20 -14
- package/dist/astro/routes/api/content/_collection_/_id_/translations.mjs +2 -2
- package/dist/astro/routes/api/content/_collection_/_id_/unpublish.mjs +5 -5
- package/dist/astro/routes/api/content/_collection_/_id_.mjs +12 -10
- package/dist/astro/routes/api/content/_collection_/index.mjs +9 -9
- package/dist/astro/routes/api/content/_collection_/trash.mjs +6 -6
- package/dist/astro/routes/api/dashboard.mjs +8 -8
- package/dist/astro/routes/api/dev/emails.mjs +2 -2
- package/dist/astro/routes/api/health.mjs +1 -1
- package/dist/astro/routes/api/import/probe.d.mts +3 -3
- package/dist/astro/routes/api/import/probe.mjs +10 -10
- package/dist/astro/routes/api/import/wordpress/analyze.mjs +7 -7
- package/dist/astro/routes/api/import/wordpress/execute.mjs +29 -28
- package/dist/astro/routes/api/import/wordpress/media.mjs +10 -10
- package/dist/astro/routes/api/import/wordpress/prepare.mjs +31 -31
- package/dist/astro/routes/api/import/wordpress/rewrite-url-helpers.d.mts +5 -1
- package/dist/astro/routes/api/import/wordpress/rewrite-url-helpers.mjs +16 -1
- package/dist/astro/routes/api/import/wordpress/rewrite-urls.mjs +30 -30
- package/dist/astro/routes/api/import/wordpress-plugin/analyze.d.mts +1 -1
- package/dist/astro/routes/api/import/wordpress-plugin/analyze.mjs +13 -13
- package/dist/astro/routes/api/import/wordpress-plugin/execute.d.mts +1 -1
- package/dist/astro/routes/api/import/wordpress-plugin/execute.mjs +31 -30
- package/dist/astro/routes/api/manifest.mjs +4 -4
- package/dist/astro/routes/api/mcp.mjs +75 -50
- package/dist/astro/routes/api/media/_id_/confirm.mjs +8 -8
- package/dist/astro/routes/api/media/_id_.mjs +6 -6
- package/dist/astro/routes/api/media/file/_...key_.mjs +1 -1
- package/dist/astro/routes/api/media/providers/_providerId_/_itemId_.mjs +2 -2
- package/dist/astro/routes/api/media/providers/_providerId_/index.mjs +2 -2
- package/dist/astro/routes/api/media/providers/index.mjs +2 -2
- package/dist/astro/routes/api/media/upload-url.mjs +10 -10
- package/dist/astro/routes/api/media.mjs +14 -13
- package/dist/astro/routes/api/menus/_name_/items/_id_.mjs +27 -27
- package/dist/astro/routes/api/menus/_name_/items.mjs +27 -27
- package/dist/astro/routes/api/menus/_name_/reorder.mjs +27 -27
- package/dist/astro/routes/api/menus/_name_/translations.mjs +27 -27
- package/dist/astro/routes/api/menus/_name_.mjs +27 -27
- package/dist/astro/routes/api/menus/index.mjs +27 -27
- package/dist/astro/routes/api/oauth/authorize.mjs +7 -7
- package/dist/astro/routes/api/oauth/device/authorize.mjs +6 -6
- package/dist/astro/routes/api/oauth/device/code.mjs +9 -9
- package/dist/astro/routes/api/oauth/device/token.mjs +8 -8
- package/dist/astro/routes/api/oauth/register.mjs +4 -4
- package/dist/astro/routes/api/oauth/token/refresh.mjs +6 -6
- package/dist/astro/routes/api/oauth/token/revoke.mjs +6 -6
- package/dist/astro/routes/api/oauth/token.mjs +6 -6
- package/dist/astro/routes/api/openapi.json.mjs +10 -7
- package/dist/astro/routes/api/plugins/_pluginId_/_...path_.mjs +3 -3
- package/dist/astro/routes/api/redirects/404s/index.mjs +10 -10
- package/dist/astro/routes/api/redirects/404s/summary.mjs +10 -10
- package/dist/astro/routes/api/redirects/_id_.mjs +28 -28
- package/dist/astro/routes/api/redirects/index.mjs +28 -28
- package/dist/astro/routes/api/revisions/_revisionId_/index.mjs +2 -2
- package/dist/astro/routes/api/revisions/_revisionId_/restore.mjs +2 -2
- package/dist/astro/routes/api/schema/collections/_slug_/fields/_fieldSlug_.mjs +43 -39
- package/dist/astro/routes/api/schema/collections/_slug_/fields/index.mjs +43 -39
- package/dist/astro/routes/api/schema/collections/_slug_/fields/reorder.mjs +43 -39
- package/dist/astro/routes/api/schema/collections/_slug_/index.mjs +43 -39
- package/dist/astro/routes/api/schema/collections/index.mjs +43 -39
- package/dist/astro/routes/api/schema/index.mjs +7 -7
- package/dist/astro/routes/api/schema/orphans/_slug_.mjs +42 -38
- package/dist/astro/routes/api/schema/orphans/index.mjs +42 -38
- package/dist/astro/routes/api/search/enable.mjs +11 -11
- package/dist/astro/routes/api/search/index.mjs +10 -10
- package/dist/astro/routes/api/search/rebuild.mjs +11 -11
- package/dist/astro/routes/api/search/stats.mjs +7 -7
- package/dist/astro/routes/api/search/suggest.mjs +10 -10
- package/dist/astro/routes/api/sections/_slug_.mjs +27 -27
- package/dist/astro/routes/api/sections/index.mjs +27 -27
- package/dist/astro/routes/api/settings/email.mjs +3 -3
- package/dist/astro/routes/api/settings.mjs +27 -27
- package/dist/astro/routes/api/setup/admin-verify.mjs +11 -11
- package/dist/astro/routes/api/setup/admin.mjs +9 -9
- package/dist/astro/routes/api/setup/dev-bypass.mjs +24 -23
- package/dist/astro/routes/api/setup/dev-reset.mjs +1 -1
- package/dist/astro/routes/api/setup/index.mjs +25 -24
- package/dist/astro/routes/api/setup/status.mjs +3 -3
- package/dist/astro/routes/api/snapshot.mjs +7 -6
- package/dist/astro/routes/api/taxonomies/_name_/terms/_slug_/translations.mjs +30 -29
- package/dist/astro/routes/api/taxonomies/_name_/terms/_slug_.mjs +30 -29
- package/dist/astro/routes/api/taxonomies/_name_/terms/index.mjs +30 -29
- package/dist/astro/routes/api/taxonomies/index.mjs +30 -29
- package/dist/astro/routes/api/themes/preview.mjs +4 -4
- package/dist/astro/routes/api/typegen.mjs +4 -4
- package/dist/astro/routes/api/well-known/auth.mjs +2 -2
- package/dist/astro/routes/api/well-known/oauth-authorization-server.mjs +3 -3
- package/dist/astro/routes/api/well-known/oauth-protected-resource.mjs +3 -3
- package/dist/astro/routes/api/widget-areas/_name_/reorder.mjs +26 -26
- package/dist/astro/routes/api/widget-areas/_name_/widgets/_id_.mjs +27 -27
- package/dist/astro/routes/api/widget-areas/_name_/widgets.mjs +27 -27
- package/dist/astro/routes/api/widget-areas/_name_.mjs +25 -25
- package/dist/astro/routes/api/widget-areas/index.mjs +27 -27
- package/dist/astro/routes/api/widget-components.mjs +2 -2
- package/dist/astro/routes/robots.txt.mjs +7 -7
- package/dist/astro/routes/sitemap-_collection_.xml.mjs +59 -15
- package/dist/astro/routes/sitemap.xml.mjs +8 -8
- package/dist/astro/session-driver.d.mts +1 -1
- package/dist/astro/session-driver.mjs +3 -3
- package/dist/astro/types.d.mts +16 -14
- package/dist/{audit-NgiRzqP9.mjs → audit-DuRbTm8L.mjs} +1 -1
- package/dist/auth/providers/github.d.mts +1 -1
- package/dist/auth/providers/google.d.mts +1 -1
- package/dist/{auth-control-guard-1FHtkDP6.mjs → auth-control-guard-Dr14I98m.mjs} +1 -1
- package/dist/{authorize-BbIhZi3a.mjs → authorize-BLO0m7fW.mjs} +1 -1
- package/dist/{briefing-Jsxs587i.mjs → briefing-BFEWeJtR.mjs} +6 -6
- package/dist/{briefing-DD82WaEy.mjs → briefing-C4fJSVYW.mjs} +1 -1
- package/dist/byline-CXQcMsBu.mjs +628 -0
- package/dist/{bylines-DaXfz8wy.d.mts → byline-fields-CaF_xfpj.d.mts} +159 -28
- package/dist/{import-Br7aP9yh.mjs → byline-fields-D7TJ_oHF.mjs} +57 -3
- package/dist/byline-fields-Dc7L6Yry.mjs +113 -0
- package/dist/byline-registry-CL8BxPPp.mjs +287 -0
- package/dist/bylines-BgriNlW7.mjs +165 -0
- package/dist/bylines-D2vqm1aZ.mjs +163 -0
- package/dist/{cache-DQyZ-QaB.mjs → cache-GRK71jOU.mjs} +2 -2
- package/dist/{chunks-D8KL0nCY.mjs → chunks-DgEw12Bc.mjs} +1 -1
- package/dist/cli/index.mjs +958 -89
- package/dist/client/external-auth-headers.d.mts +1 -1
- package/dist/client/index.d.mts +2 -1
- package/dist/client/index.mjs +5 -2
- package/dist/{comment-BmJXz3lc.mjs → comment-ogMaF1gk.mjs} +1 -1
- package/dist/{comments-yTbeIYc2.mjs → comments-CTSOKrZq.mjs} +1 -1
- package/dist/{connection-BCNICDWN.mjs → connection-CiJWiWya.mjs} +44 -13
- package/dist/{content-DvpMad_N.mjs → content-BfyjOiMi.mjs} +24 -4
- package/dist/content-index-names-Bbu1FY1r.mjs +26 -0
- package/dist/{context-cudavuns.mjs → context-DRhmPCiE.mjs} +2 -2
- package/dist/{context-Ufrm1lOv.mjs → context-ZMHhwzkG.mjs} +8 -8
- package/dist/{context-route-helpers--PJWR-5R.mjs → context-route-helpers-YLWx2N1j.mjs} +1 -1
- package/dist/{dashboard-BC9bgPOH.mjs → dashboard-D0gWuzNp.mjs} +4 -4
- package/dist/db/index.d.mts +3 -3
- package/dist/db/index.mjs +2 -2
- package/dist/db/libsql.d.mts +1 -1
- package/dist/db/libsql.mjs +1 -1
- package/dist/db/postgres.d.mts +1 -1
- package/dist/db/sqlite.d.mts +1 -1
- package/dist/db/sqlite.mjs +1 -1
- package/dist/{device-flow-CTS91g4A.mjs → device-flow-BL5ZRlc1.mjs} +4 -4
- package/dist/{dialect-helpers-TkdbkFad.mjs → dialect-helpers-fk43GbDb.mjs} +13 -3
- package/dist/{fts-manager-DnfOsF4s.mjs → fts-manager-EHY2Kes9.mjs} +2 -2
- package/dist/{hitl-requests-Us2A4Vj5.mjs → hitl-requests-B4Hkt0TO.mjs} +2 -2
- package/dist/{hitl-route-helpers-DcPySbZ3.mjs → hitl-route-helpers-CHjdfQ0s.mjs} +4 -4
- package/dist/{import-DSXK3aQF.mjs → import-CvHY6sf5.mjs} +3 -3
- package/dist/{index-BwOO3vu2.d.mts → index-DJVaYiUV.d.mts} +2 -2
- package/dist/index.d.mts +16 -17
- package/dist/index.mjs +69 -65
- package/dist/{jsonld-CLbYsYYH.d.mts → jsonld-AcPnCEGD.d.mts} +2 -2
- package/dist/{load-BCCcmoW9.mjs → load-BdbvtoDb.mjs} +1 -1
- package/dist/{loader-p2imNN98.mjs → loader-Y0QvC_QO.mjs} +167 -61
- package/dist/media/index.d.mts +1 -2
- package/dist/media/index.mjs +2 -2
- package/dist/media/local-runtime.d.mts +11 -12
- package/dist/media/local-runtime.mjs +2 -2
- package/dist/{media-Cg4zc9fq.mjs → media-DhBwiCYR.mjs} +6 -1
- package/dist/{media-allowlist-D8gsm8_t.mjs → media-allowlist-BsXkT9RK.mjs} +1 -1
- package/dist/{menus-DOaL6NaF.mjs → menus-BzGQpw9d.mjs} +2 -2
- package/dist/{menus-DzG3-9tQ.mjs → menus-fqqzXyHd.mjs} +5 -5
- package/dist/{oauth-authorization-DyOFXQWq.mjs → oauth-authorization-Dk3_LOfj.mjs} +4 -4
- package/dist/{oauth-clients-BMs_bmoz.mjs → oauth-clients-CzeMGyUU.mjs} +2 -2
- package/dist/page/index.d.mts +2 -2
- package/dist/page/index.mjs +1 -1
- package/dist/{parse-D7Tu6ku4.mjs → parse-CneSgl7-.mjs} +1 -1
- package/dist/{types-cn-fvYQ1.d.mts → placeholder-CXfoCtCd.d.mts} +38 -1
- package/dist/plugin-utils.d.mts +22 -10
- package/dist/plugin-utils.mjs +8 -10
- package/dist/plugins/adapt-sandbox-entry.d.mts +9 -10
- package/dist/plugins/adapt-sandbox-entry.mjs +1 -1
- package/dist/{plugins-DCDVDF4B.mjs → plugins-BQ5Joz6v.mjs} +36 -6
- package/dist/{preview-BhgxNRWI.mjs → preview-D5rvDhRt.mjs} +7 -7
- package/dist/{provider-loader-B19YyyBp.d.mts → provider-loader-B5PMjpN7.d.mts} +1 -1
- package/dist/{query-BnRpB09I.mjs → query-BJuUydtD.mjs} +3 -3
- package/dist/{query-DHvNhBhi.mjs → query-CSx0EdSW.mjs} +30 -18
- package/dist/{rate-limit-BWP_kKiZ.mjs → rate-limit-i0G3IAOX.mjs} +2 -2
- package/dist/{redirect-BaVvo2te.mjs → redirect-BqFMj67n.mjs} +20 -6
- package/dist/{redirects-Ba-lJA5j.mjs → redirects-CJwHl_YG.mjs} +3 -3
- package/dist/{redirects-x5ol_Qj9.mjs → redirects-q_cToaHv.mjs} +29 -8
- package/dist/{registry-i__XP2WV.mjs → registry-Cq3QRBW2.mjs} +14 -5
- package/dist/{request-cache-BpwuE2ix.mjs → request-cache-w5cj5itT.mjs} +9 -1
- package/dist/{request-meta-DUGfAeXy.mjs → request-meta-DAb6xaP9.mjs} +1 -1
- package/dist/resolve-DTuDyYKs.mjs +100 -0
- package/dist/{review-requests-DuIxM4YM.mjs → review-requests-GYqjl2jO.mjs} +1 -1
- package/dist/{review-requests-CTUU_RJm.mjs → review-requests-tPw8_pAO.mjs} +1 -1
- package/dist/{runner-FhUNNaqA.d.mts → runner-Cnz4dl0f.d.mts} +1 -1
- package/dist/{runner-DF2DgD_B.mjs → runner-DTfG5v0G.mjs} +574 -196
- package/dist/{runtime-C4ZgKk6r.d.mts → runtime-Cd-kjPfN.d.mts} +1156 -274
- package/dist/runtime.d.mts +10 -11
- package/dist/runtime.mjs +4 -4
- package/dist/schema-DmHMWnSA.mjs +8 -0
- package/dist/{search-Cl9preJT.mjs → search-BAiFLz81.mjs} +3 -3
- package/dist/{sections-Zx-2q9IH.mjs → sections-DsuIrFDC.mjs} +2 -2
- package/dist/seed/index.d.mts +2 -2
- package/dist/seed/index.mjs +18 -17
- package/dist/seo/index.d.mts +1 -1
- package/dist/seo/index.mjs +1 -0
- package/dist/{seo-CJBiMDkj.mjs → seo-5lJOtB5J.mjs} +4 -2
- package/dist/{seo-BPb_reaG.mjs → seo-uMFBaR8G.mjs} +1 -1
- package/dist/{service-wPGgmbUa.mjs → service-CifrxCru.mjs} +2 -2
- package/dist/{settings-nr15a8uv.mjs → settings-BYGdocdj.mjs} +2 -2
- package/dist/{settings-DORe02PC.mjs → settings-DNRQuX3d.mjs} +3 -3
- package/dist/{site-activity-KFZprBZM.mjs → site-activity-6x1JccoR.mjs} +1 -1
- package/dist/{site-context-DuBQk6Mp.mjs → site-context-sN12ehZF.mjs} +13 -13
- package/dist/storage/local.d.mts +1 -1
- package/dist/storage/local.mjs +1 -1
- package/dist/storage/s3.d.mts +1 -1
- package/dist/storage/s3.mjs +1 -1
- package/dist/{taxonomies-DGaw_-aU.mjs → taxonomies-CQFmkP5u.mjs} +3 -3
- package/dist/{taxonomies-BVBKoXRf.mjs → taxonomies-faQVeMgj.mjs} +7 -32
- package/dist/{taxonomy-BvXRL85P.mjs → taxonomy-BnH-6VsX.mjs} +2 -2
- package/dist/{types-DvwHUku7.d.mts → types-B7_vSiPD.d.mts} +16 -0
- package/dist/{types-D1DjBFA9.mjs → types-Ck7-WoUD.mjs} +1 -1
- package/dist/{types-t7_nCCA9.d.mts → types-DEAQG87T.d.mts} +2 -56
- package/dist/{types-C-CMfzSl.d.mts → types-DYKtk8f1.d.mts} +31 -0
- package/dist/{types-C3Em8xpG.mjs → types-DbZhHtqS.mjs} +23 -1
- package/dist/{types-BIM7jwxr.d.mts → types-UGmU5sWx.d.mts} +1 -1
- package/dist/types-nP9vGUFq.d.mts +56 -0
- package/dist/ui/server-runtime.d.mts +13 -7
- package/dist/ui/server-runtime.mjs +18 -17
- package/dist/{user-2aI21yV1.mjs → user-CqZwN21P.mjs} +1 -1
- package/dist/{validate-CvQ6cvHH.d.mts → validate-BJuG-ISL.d.mts} +21 -3
- package/dist/{validate-JE-WfUQ5.mjs → validate-CK4a1sIF.mjs} +22 -2
- package/dist/version-Cg6ur4zS.mjs +6 -0
- package/dist/{widgets-Cj6ULpED.mjs → widgets-CdDvF4fV.mjs} +2 -2
- package/dist/{wordpress-slugs-hqItqJrQ.mjs → wordpress-slugs-B6Gw9q3Q.mjs} +1 -1
- package/dist/{zod-generator-C4BgFBZV.mjs → zod-generator-D1ROBNuC.mjs} +2 -2
- package/package.json +7 -8
- package/src/components/InlinePortableTextEditor.tsx +66 -0
- package/src/components/code-block-languages.ts +76 -0
- package/src/components/inline-code-block.tsx +241 -0
- package/dist/byline-DpNNSjET.mjs +0 -219
- package/dist/bylines-75_STR73.mjs +0 -114
- package/dist/chunk-ClPoSABd.mjs +0 -21
- package/dist/db-errors-DHJCB_gY.mjs +0 -23
- package/dist/index-Ct0pjZwW.d.mts +0 -835
- package/dist/placeholder-BZpCpid_.d.mts +0 -40
- package/dist/schema-U-SeFWwn.mjs +0 -8
- package/dist/version-PioVgJAl.mjs +0 -6
- /package/dist/{adapters-kZjS7plb.d.mts → adapters-OQCImOL7.d.mts} +0 -0
- /package/dist/{api-tokens-L0o9Bd7v.mjs → api-tokens-CYUoFGo7.mjs} +0 -0
- /package/dist/{challenge-store-cJam-E5R.mjs → challenge-store-CRSz-Xim.mjs} +0 -0
- /package/dist/{components-BJfa-F6n.mjs → components--pg6zBvu.mjs} +0 -0
- /package/dist/{config-XW5tMrH8.mjs → config-CVssduLe.mjs} +0 -0
- /package/dist/{context-types-BrSQNye5.mjs → context-types-DQh_XKkn.mjs} +0 -0
- /package/dist/{cron-D7FDsRu-.mjs → cron-DxCAU_Sn.mjs} +0 -0
- /package/dist/{default-5A3XVR7L.mjs → default-BHauvIdG.mjs} +0 -0
- /package/dist/{email-console-Bs1qKx59.mjs → email-console-BOVqIYpB.mjs} +0 -0
- /package/dist/{error-DLkgOP5m.mjs → error-DCSuUAZW.mjs} +0 -0
- /package/dist/{escape-r8_GbEU2.mjs → escape-BDgouFFY.mjs} +0 -0
- /package/dist/{experimental-workflows-BbZbIEZp.mjs → experimental-workflows-Dh4DUoD_.mjs} +0 -0
- /package/dist/{hash-DFFrkivP.mjs → hash-BPmX6P8I.mjs} +0 -0
- /package/dist/{manifest-schema-C6fzQoWn.mjs → manifest-schema-qh2P7RDX.mjs} +0 -0
- /package/dist/{mime-DYP4V5Ks.mjs → mime-8pAB8-77.mjs} +0 -0
- /package/dist/{mode-Bd55iLcP.mjs → mode-CpyEz8pe.mjs} +0 -0
- /package/dist/{normalize-BY_EJnd9.mjs → normalize-O-hi3a27.mjs} +0 -0
- /package/dist/{oauth-state-store-BRSUEkmx.mjs → oauth-state-store-qncPB_IU.mjs} +0 -0
- /package/dist/{oauth-user-lookup-DdcI8ZVL.mjs → oauth-user-lookup-BFjWF8wK.mjs} +0 -0
- /package/dist/{parser-egIGEco-.mjs → parser-DxfsARXL.mjs} +0 -0
- /package/dist/{passkey-config-AX4sjpQ4.mjs → passkey-config-DzHQK90v.mjs} +0 -0
- /package/dist/{patterns-CiyXeDgr.mjs → patterns-D9iDO3j8.mjs} +0 -0
- /package/dist/{placeholder-b0Ufu0La.mjs → placeholder-BDo81Is5.mjs} +0 -0
- /package/dist/{provider-loader-BdRV01gr.mjs → provider-loader-DzUxejk7.mjs} +0 -0
- /package/dist/{public-url-BL2r8dmQ.mjs → public-url-DLUM5OOv.mjs} +0 -0
- /package/dist/{redirect-Ce_6Yb6z.mjs → redirect-BjIBtDWY.mjs} +0 -0
- /package/dist/{secrets-DfeNNoLa.mjs → secrets-CN6FCpcB.mjs} +0 -0
- /package/dist/{seo-contributions-C0LXoWw3.mjs → seo-contributions-CqVvReEj.mjs} +0 -0
- /package/dist/{setup-complete-C2ztsNhJ.mjs → setup-complete-BytMc6HO.mjs} +0 -0
- /package/dist/{setup-nonce-BTKq7uBi.mjs → setup-nonce-pyGfc9hV.mjs} +0 -0
- /package/dist/{sidecar-client-lrf7ErYJ.mjs → sidecar-client-mJxwayYN.mjs} +0 -0
- /package/dist/{site-url-C18yBhtv.mjs → site-url-C-cu8Ff2.mjs} +0 -0
- /package/dist/{ssrf-KAIQS48_.mjs → ssrf-DiKqWd3N.mjs} +0 -0
- /package/dist/{tokens-CsP8Se8S.mjs → tokens-CjSgb0AC.mjs} +0 -0
- /package/dist/{transport-nNEGdHkI.d.mts → transport-DidKKxvW.d.mts} +0 -0
- /package/dist/{transport-B7kO-4ee.mjs → transport-LSdZVXHF.mjs} +0 -0
- /package/dist/{trusted-proxy-Bbm6PLR6.mjs → trusted-proxy-BgIIcbsN.mjs} +0 -0
- /package/dist/{types-CNNQ8l0v.mjs → types-Cg276-3z.mjs} +0 -0
- /package/dist/{types-BYjPylrZ.d.mts → types-DZpT-PnG.d.mts} +0 -0
- /package/dist/{types-BgE6gMFI.d.mts → types-Dryvv7LH.d.mts} +0 -0
- /package/dist/{types-BBETcziA.d.mts → types-GaCtZ1k9.d.mts} +0 -0
- /package/dist/{url-BzhfYtRn.mjs → url-w7Mp5qAD.mjs} +0 -0
- /package/dist/{utils-FEbQMgB5.mjs → utils-wv-zvC-Y.mjs} +0 -0
|
@@ -1,32 +1,32 @@
|
|
|
1
|
-
import "../../../dialect-helpers-
|
|
2
|
-
import "../../../content-
|
|
1
|
+
import "../../../dialect-helpers-fk43GbDb.mjs";
|
|
2
|
+
import "../../../content-BfyjOiMi.mjs";
|
|
3
3
|
import "../../../base64-C1Q9yr0B.mjs";
|
|
4
|
-
import "../../../types-
|
|
5
|
-
import "../../../media-
|
|
4
|
+
import "../../../types-Ck7-WoUD.mjs";
|
|
5
|
+
import "../../../media-DhBwiCYR.mjs";
|
|
6
6
|
import "../../../options-BF11H_FD.mjs";
|
|
7
|
-
import "../../../site-activity-
|
|
8
|
-
import { t as ReviewRequestRepository } from "../../../review-requests-
|
|
7
|
+
import "../../../site-activity-6x1JccoR.mjs";
|
|
8
|
+
import { t as ReviewRequestRepository } from "../../../review-requests-tPw8_pAO.mjs";
|
|
9
9
|
import "../../../entity-aliases-uOrKvlPg.mjs";
|
|
10
|
-
import "../../../request-cache-
|
|
11
|
-
import { a as ContextRepository, i as parseSiteBriefingScope, r as formatSiteBriefingText, t as SiteBriefingAssembler } from "../../../briefing-
|
|
12
|
-
import { t as SITE_CONTEXT_TYPES } from "../../../context-types-
|
|
13
|
-
import "../../../fts-manager-
|
|
14
|
-
import "../../../registry-
|
|
15
|
-
import "../../../loader-
|
|
16
|
-
import "../../../settings-
|
|
17
|
-
import { n as VERSION } from "../../../version-
|
|
18
|
-
import "../../../query-
|
|
19
|
-
import "../../../zod-generator-
|
|
20
|
-
import "../../../schema-
|
|
21
|
-
import { t as apiError } from "../../../error-
|
|
22
|
-
import { P as settingsUpdateBody, an as contentSeoInput, bn as contentBylineInputSchema } from "../../../redirects-
|
|
23
|
-
import "../../../
|
|
10
|
+
import "../../../request-cache-w5cj5itT.mjs";
|
|
11
|
+
import { a as ContextRepository, i as parseSiteBriefingScope, r as formatSiteBriefingText, t as SiteBriefingAssembler } from "../../../briefing-BFEWeJtR.mjs";
|
|
12
|
+
import { t as SITE_CONTEXT_TYPES } from "../../../context-types-DQh_XKkn.mjs";
|
|
13
|
+
import "../../../fts-manager-EHY2Kes9.mjs";
|
|
14
|
+
import "../../../registry-Cq3QRBW2.mjs";
|
|
15
|
+
import "../../../loader-Y0QvC_QO.mjs";
|
|
16
|
+
import "../../../settings-DNRQuX3d.mjs";
|
|
17
|
+
import { n as VERSION } from "../../../version-Cg6ur4zS.mjs";
|
|
18
|
+
import "../../../query-BJuUydtD.mjs";
|
|
19
|
+
import "../../../zod-generator-D1ROBNuC.mjs";
|
|
20
|
+
import "../../../schema-DmHMWnSA.mjs";
|
|
21
|
+
import { t as apiError } from "../../../error-DCSuUAZW.mjs";
|
|
22
|
+
import { P as settingsUpdateBody, an as contentSeoInput, bn as contentBylineInputSchema } from "../../../redirects-q_cToaHv.mjs";
|
|
23
|
+
import "../../../byline-fields-D7TJ_oHF.mjs";
|
|
24
24
|
import "../../../api/schemas/index.mjs";
|
|
25
|
-
import "../../../utils-
|
|
26
|
-
import "../../../search-
|
|
27
|
-
import { i as hasScope } from "../../../api-tokens-
|
|
28
|
-
import { C as HITL_REQUEST_STATUSES, E as ASSIGNMENT_STATUSES, S as HITL_REQUEST_PRIORITIES, T as ASSIGNMENT_PRIORITIES, _ as RiskPolicyEvaluator, a as ActorExpertiseService, b as toPublicContextEntry, f as SettingsHitlPayloadBuilder, g as SchemaHitlPayloadBuilder, i as HandoffSnapshotStore, n as HitlRequestService, o as EntityResolver, r as AssignmentService, t as WorkflowHitlCoordinator, v as ReviewPayloadBuilder, w as ASSIGNMENT_ACTOR_TYPES, x as toPublicContextEntryPage, y as toPublicContextDiff } from "../../../site-context-
|
|
29
|
-
import { T as resolveActorIdentity, b as schemaMcpToolSource, d as logSchemaActivity, o as logContentActivity, p as logSiteActivitySafely, r as contentMcpToolSource, t as activityChangedKeys } from "../../../activity-events-
|
|
25
|
+
import "../../../utils-wv-zvC-Y.mjs";
|
|
26
|
+
import "../../../search-BAiFLz81.mjs";
|
|
27
|
+
import { i as hasScope } from "../../../api-tokens-CYUoFGo7.mjs";
|
|
28
|
+
import { C as HITL_REQUEST_STATUSES, E as ASSIGNMENT_STATUSES, S as HITL_REQUEST_PRIORITIES, T as ASSIGNMENT_PRIORITIES, _ as RiskPolicyEvaluator, a as ActorExpertiseService, b as toPublicContextEntry, f as SettingsHitlPayloadBuilder, g as SchemaHitlPayloadBuilder, i as HandoffSnapshotStore, n as HitlRequestService, o as EntityResolver, r as AssignmentService, t as WorkflowHitlCoordinator, v as ReviewPayloadBuilder, w as ASSIGNMENT_ACTOR_TYPES, x as toPublicContextEntryPage, y as toPublicContextDiff } from "../../../site-context-sN12ehZF.mjs";
|
|
29
|
+
import { T as resolveActorIdentity, b as schemaMcpToolSource, d as logSchemaActivity, o as logContentActivity, p as logSiteActivitySafely, r as contentMcpToolSource, t as activityChangedKeys } from "../../../activity-events-CNk3clTT.mjs";
|
|
30
30
|
import { z } from "zod";
|
|
31
31
|
import { Role, canActOnOwn, hasPermission } from "@dineway-ai/auth";
|
|
32
32
|
import { WebStandardStreamableHTTPServerTransport } from "@modelcontextprotocol/sdk/server/webStandardStreamableHttp.js";
|
|
@@ -1645,6 +1645,7 @@ function createMcpServer() {
|
|
|
1645
1645
|
inputSchema: z.object({
|
|
1646
1646
|
collection: z.string().describe("Collection slug"),
|
|
1647
1647
|
id: z.string().describe("Content item ID or slug"),
|
|
1648
|
+
locale: z.string().optional().describe("Locale to scope slug lookup. Only affects slug resolution; IDs are globally unique."),
|
|
1648
1649
|
data: z.record(z.string(), z.unknown()).optional().describe("Field values to update (only include changed fields)"),
|
|
1649
1650
|
slug: z.string().optional().describe("New URL slug"),
|
|
1650
1651
|
status: z.enum(["draft", "published"]).optional().describe("New status. Setting to 'published' requires publish permission. Setting to 'draft' unpublishes the item and also requires publish permission."),
|
|
@@ -1663,7 +1664,7 @@ function createMcpServer() {
|
|
|
1663
1664
|
const payload = getExtra(extra);
|
|
1664
1665
|
const { dineway, userId, userRole } = payload;
|
|
1665
1666
|
const locals = actorLocals(payload);
|
|
1666
|
-
const existing = await dineway.handleContentGet(args.collection, args.id);
|
|
1667
|
+
const existing = await dineway.handleContentGet(args.collection, args.id, args.locale);
|
|
1667
1668
|
if (!existing.success) return unwrap(existing);
|
|
1668
1669
|
requireOwnership(extra, extractContentAuthorId(existing.data), "content:edit_own", "content:edit_any");
|
|
1669
1670
|
const resolvedId = extractContentId(existing.data) ?? args.id;
|
|
@@ -1683,6 +1684,7 @@ function createMcpServer() {
|
|
|
1683
1684
|
data: args.data,
|
|
1684
1685
|
slug: args.slug,
|
|
1685
1686
|
authorId: userId,
|
|
1687
|
+
locale: args.locale,
|
|
1686
1688
|
seo: args.seo,
|
|
1687
1689
|
bylines: args.bylines,
|
|
1688
1690
|
publishedAt: args.publishedAt,
|
|
@@ -1709,6 +1711,7 @@ function createMcpServer() {
|
|
|
1709
1711
|
data: args.data,
|
|
1710
1712
|
slug: args.slug,
|
|
1711
1713
|
authorId: userId,
|
|
1714
|
+
locale: args.locale,
|
|
1712
1715
|
seo: args.seo,
|
|
1713
1716
|
bylines: args.bylines,
|
|
1714
1717
|
publishedAt: args.publishedAt,
|
|
@@ -1731,6 +1734,7 @@ function createMcpServer() {
|
|
|
1731
1734
|
data: args.data,
|
|
1732
1735
|
slug: args.slug,
|
|
1733
1736
|
authorId: userId,
|
|
1737
|
+
locale: args.locale,
|
|
1734
1738
|
seo: args.seo,
|
|
1735
1739
|
bylines: args.bylines,
|
|
1736
1740
|
publishedAt: args.publishedAt,
|
|
@@ -1887,6 +1891,27 @@ function createMcpServer() {
|
|
|
1887
1891
|
if (result.success) await logMcpContentActivity(ec, locals, args.collection, resolvedId, "scheduled", "content_schedule", { scheduledAt: args.scheduledAt });
|
|
1888
1892
|
return unwrap(result);
|
|
1889
1893
|
});
|
|
1894
|
+
server.registerTool("content_unschedule", {
|
|
1895
|
+
title: "Cancel Scheduled Publication",
|
|
1896
|
+
description: "Cancel a scheduled publication. The content item remains in its current status and its scheduledAt value is cleared. Safe to call even if the item is not currently scheduled.",
|
|
1897
|
+
inputSchema: z.object({
|
|
1898
|
+
collection: z.string().describe("Collection slug"),
|
|
1899
|
+
id: z.string().describe("Content item ID or slug")
|
|
1900
|
+
})
|
|
1901
|
+
}, async (args, extra) => {
|
|
1902
|
+
requireScope(extra, "content:write");
|
|
1903
|
+
requireRole(extra, Role.AUTHOR);
|
|
1904
|
+
const payload = getExtra(extra);
|
|
1905
|
+
const ec = payload.dineway;
|
|
1906
|
+
const locals = actorLocals(payload);
|
|
1907
|
+
const existing = await ec.handleContentGet(args.collection, args.id);
|
|
1908
|
+
if (!existing.success) return unwrap(existing);
|
|
1909
|
+
requireOwnership(extra, extractContentAuthorId(existing.data), "content:publish_own", "content:publish_any");
|
|
1910
|
+
const resolvedId = extractContentId(existing.data) ?? args.id;
|
|
1911
|
+
const result = await ec.handleContentUnschedule(args.collection, resolvedId);
|
|
1912
|
+
if (result.success) await logMcpContentActivity(ec, locals, args.collection, resolvedId, "unscheduled", "content_unschedule");
|
|
1913
|
+
return unwrap(result);
|
|
1914
|
+
});
|
|
1890
1915
|
server.registerTool("content_compare", {
|
|
1891
1916
|
title: "Compare Live vs Draft",
|
|
1892
1917
|
description: "Compare the published (live) version of a content item with its current draft. Returns both versions and a flag indicating whether there are changes. Useful for reviewing unpublished edits before publishing.",
|
|
@@ -1993,7 +2018,7 @@ function createMcpServer() {
|
|
|
1993
2018
|
requireRole(extra, Role.EDITOR);
|
|
1994
2019
|
const ec = getDineway(extra);
|
|
1995
2020
|
try {
|
|
1996
|
-
const { SchemaRegistry } = await import("../../../schema-
|
|
2021
|
+
const { SchemaRegistry } = await import("../../../schema-DmHMWnSA.mjs").then((n) => n.t);
|
|
1997
2022
|
return jsonResult({ items: await new SchemaRegistry(ec.db).listCollections() });
|
|
1998
2023
|
} catch (error) {
|
|
1999
2024
|
return errorResult(error);
|
|
@@ -2009,7 +2034,7 @@ function createMcpServer() {
|
|
|
2009
2034
|
requireRole(extra, Role.EDITOR);
|
|
2010
2035
|
const ec = getDineway(extra);
|
|
2011
2036
|
try {
|
|
2012
|
-
const { SchemaRegistry } = await import("../../../schema-
|
|
2037
|
+
const { SchemaRegistry } = await import("../../../schema-DmHMWnSA.mjs").then((n) => n.t);
|
|
2013
2038
|
const collection = await new SchemaRegistry(ec.db).getCollectionWithFields(args.slug);
|
|
2014
2039
|
if (!collection) return errorResult(`Collection '${args.slug}' not found`);
|
|
2015
2040
|
return jsonResult(collection);
|
|
@@ -2039,7 +2064,7 @@ function createMcpServer() {
|
|
|
2039
2064
|
requireRole(extra, Role.ADMIN);
|
|
2040
2065
|
const ec = getDineway(extra);
|
|
2041
2066
|
try {
|
|
2042
|
-
const { SchemaRegistry } = await import("../../../schema-
|
|
2067
|
+
const { SchemaRegistry } = await import("../../../schema-DmHMWnSA.mjs").then((n) => n.t);
|
|
2043
2068
|
const collection = await new SchemaRegistry(ec.db).createCollection({
|
|
2044
2069
|
slug: args.slug,
|
|
2045
2070
|
label: args.label,
|
|
@@ -2103,7 +2128,7 @@ function createMcpServer() {
|
|
|
2103
2128
|
request
|
|
2104
2129
|
});
|
|
2105
2130
|
}
|
|
2106
|
-
const { SchemaRegistry } = await import("../../../schema-
|
|
2131
|
+
const { SchemaRegistry } = await import("../../../schema-DmHMWnSA.mjs").then((n) => n.t);
|
|
2107
2132
|
await new SchemaRegistry(ec.db).deleteCollection(args.slug, { force: args.force });
|
|
2108
2133
|
ec.invalidateManifest();
|
|
2109
2134
|
await logSchemaActivity(ec.db, locals, {
|
|
@@ -2167,7 +2192,7 @@ function createMcpServer() {
|
|
|
2167
2192
|
requireRole(extra, Role.ADMIN);
|
|
2168
2193
|
const ec = getDineway(extra);
|
|
2169
2194
|
try {
|
|
2170
|
-
const { SchemaRegistry } = await import("../../../schema-
|
|
2195
|
+
const { SchemaRegistry } = await import("../../../schema-DmHMWnSA.mjs").then((n) => n.t);
|
|
2171
2196
|
const field = await new SchemaRegistry(ec.db).createField(args.collection, {
|
|
2172
2197
|
slug: args.slug,
|
|
2173
2198
|
label: args.label,
|
|
@@ -2236,7 +2261,7 @@ function createMcpServer() {
|
|
|
2236
2261
|
request
|
|
2237
2262
|
});
|
|
2238
2263
|
}
|
|
2239
|
-
const { SchemaRegistry } = await import("../../../schema-
|
|
2264
|
+
const { SchemaRegistry } = await import("../../../schema-DmHMWnSA.mjs").then((n) => n.t);
|
|
2240
2265
|
await new SchemaRegistry(ec.db).deleteField(args.collection, args.fieldSlug);
|
|
2241
2266
|
ec.invalidateManifest();
|
|
2242
2267
|
await logSchemaActivity(ec.db, locals, {
|
|
@@ -2369,7 +2394,7 @@ function createMcpServer() {
|
|
|
2369
2394
|
requireScope(extra, "content:read");
|
|
2370
2395
|
const ec = getDineway(extra);
|
|
2371
2396
|
try {
|
|
2372
|
-
const { searchWithDb } = await import("../../../search-
|
|
2397
|
+
const { searchWithDb } = await import("../../../search-BAiFLz81.mjs").then((n) => n.t);
|
|
2373
2398
|
return jsonResult(await searchWithDb(ec.db, args.query, {
|
|
2374
2399
|
collections: args.collections,
|
|
2375
2400
|
locale: args.locale,
|
|
@@ -2388,7 +2413,7 @@ function createMcpServer() {
|
|
|
2388
2413
|
requireScope(extra, "content:read");
|
|
2389
2414
|
const ec = getDineway(extra);
|
|
2390
2415
|
try {
|
|
2391
|
-
const { handleTaxonomyList } = await import("../../../taxonomies-
|
|
2416
|
+
const { handleTaxonomyList } = await import("../../../taxonomies-CQFmkP5u.mjs").then((n) => n.l);
|
|
2392
2417
|
return unwrap(await handleTaxonomyList(ec.db, { locale: args.locale }));
|
|
2393
2418
|
} catch (error) {
|
|
2394
2419
|
return errorResult(error);
|
|
@@ -2408,12 +2433,12 @@ function createMcpServer() {
|
|
|
2408
2433
|
requireScope(extra, "content:read");
|
|
2409
2434
|
const ec = getDineway(extra);
|
|
2410
2435
|
try {
|
|
2411
|
-
const { handleTaxonomyList } = await import("../../../taxonomies-
|
|
2436
|
+
const { handleTaxonomyList } = await import("../../../taxonomies-CQFmkP5u.mjs").then((n) => n.l);
|
|
2412
2437
|
const listResult = await handleTaxonomyList(ec.db, { locale: args.locale });
|
|
2413
2438
|
if (!listResult.success) return unwrap(listResult);
|
|
2414
2439
|
if (!listResult.data.taxonomies.find((t) => t.name === args.taxonomy)) return errorResult(`Taxonomy '${args.taxonomy}' not found`);
|
|
2415
|
-
const { TaxonomyRepository } = await import("../../../taxonomy-
|
|
2416
|
-
const { decodeCursor, encodeCursor } = await import("../../../types-
|
|
2440
|
+
const { TaxonomyRepository } = await import("../../../taxonomy-BnH-6VsX.mjs").then((n) => n.n);
|
|
2441
|
+
const { decodeCursor, encodeCursor } = await import("../../../types-Ck7-WoUD.mjs").then((n) => n.i);
|
|
2417
2442
|
const repo = new TaxonomyRepository(ec.db);
|
|
2418
2443
|
const limit = Math.min(args.limit ?? 50, 100);
|
|
2419
2444
|
const terms = await repo.findByName(args.taxonomy, { locale: args.locale });
|
|
@@ -2462,7 +2487,7 @@ function createMcpServer() {
|
|
|
2462
2487
|
requireRole(extra, Role.EDITOR);
|
|
2463
2488
|
const ec = getDineway(extra);
|
|
2464
2489
|
try {
|
|
2465
|
-
const { handleTermCreate } = await import("../../../taxonomies-
|
|
2490
|
+
const { handleTermCreate } = await import("../../../taxonomies-CQFmkP5u.mjs").then((n) => n.l);
|
|
2466
2491
|
return unwrap(await handleTermCreate(ec.db, args.taxonomy, {
|
|
2467
2492
|
slug: args.slug,
|
|
2468
2493
|
label: args.label,
|
|
@@ -2492,7 +2517,7 @@ function createMcpServer() {
|
|
|
2492
2517
|
requireRole(extra, Role.EDITOR);
|
|
2493
2518
|
const ec = getDineway(extra);
|
|
2494
2519
|
try {
|
|
2495
|
-
const { handleTermUpdate } = await import("../../../taxonomies-
|
|
2520
|
+
const { handleTermUpdate } = await import("../../../taxonomies-CQFmkP5u.mjs").then((n) => n.l);
|
|
2496
2521
|
return unwrap(await handleTermUpdate(ec.db, args.taxonomy, args.termSlug, {
|
|
2497
2522
|
slug: args.slug,
|
|
2498
2523
|
label: args.label,
|
|
@@ -2517,7 +2542,7 @@ function createMcpServer() {
|
|
|
2517
2542
|
requireRole(extra, Role.EDITOR);
|
|
2518
2543
|
const ec = getDineway(extra);
|
|
2519
2544
|
try {
|
|
2520
|
-
const { handleTermDelete } = await import("../../../taxonomies-
|
|
2545
|
+
const { handleTermDelete } = await import("../../../taxonomies-CQFmkP5u.mjs").then((n) => n.l);
|
|
2521
2546
|
return unwrap(await handleTermDelete(ec.db, args.taxonomy, args.termSlug, { locale: args.locale }));
|
|
2522
2547
|
} catch (error) {
|
|
2523
2548
|
return errorResult(error);
|
|
@@ -2532,7 +2557,7 @@ function createMcpServer() {
|
|
|
2532
2557
|
requireScope(extra, "content:read");
|
|
2533
2558
|
const ec = getDineway(extra);
|
|
2534
2559
|
try {
|
|
2535
|
-
const { handleTermTranslations } = await import("../../../taxonomies-
|
|
2560
|
+
const { handleTermTranslations } = await import("../../../taxonomies-CQFmkP5u.mjs").then((n) => n.l);
|
|
2536
2561
|
return unwrap(await handleTermTranslations(ec.db, args.id));
|
|
2537
2562
|
} catch (error) {
|
|
2538
2563
|
return errorResult(error);
|
|
@@ -2547,7 +2572,7 @@ function createMcpServer() {
|
|
|
2547
2572
|
requireScope(extra, "content:read");
|
|
2548
2573
|
const ec = getDineway(extra);
|
|
2549
2574
|
try {
|
|
2550
|
-
const { handleMenuList } = await import("../../../menus-
|
|
2575
|
+
const { handleMenuList } = await import("../../../menus-BzGQpw9d.mjs").then((n) => n.d);
|
|
2551
2576
|
return unwrap(await handleMenuList(ec.db, { locale: args.locale }));
|
|
2552
2577
|
} catch (error) {
|
|
2553
2578
|
return errorResult(error);
|
|
@@ -2565,7 +2590,7 @@ function createMcpServer() {
|
|
|
2565
2590
|
requireScope(extra, "content:read");
|
|
2566
2591
|
const ec = getDineway(extra);
|
|
2567
2592
|
try {
|
|
2568
|
-
const { handleMenuGet } = await import("../../../menus-
|
|
2593
|
+
const { handleMenuGet } = await import("../../../menus-BzGQpw9d.mjs").then((n) => n.d);
|
|
2569
2594
|
return unwrap(await handleMenuGet(ec.db, args.name, { locale: args.locale }));
|
|
2570
2595
|
} catch (error) {
|
|
2571
2596
|
return errorResult(error);
|
|
@@ -2580,7 +2605,7 @@ function createMcpServer() {
|
|
|
2580
2605
|
requireScope(extra, "content:read");
|
|
2581
2606
|
const ec = getDineway(extra);
|
|
2582
2607
|
try {
|
|
2583
|
-
const { handleMenuTranslations } = await import("../../../menus-
|
|
2608
|
+
const { handleMenuTranslations } = await import("../../../menus-BzGQpw9d.mjs").then((n) => n.d);
|
|
2584
2609
|
return unwrap(await handleMenuTranslations(ec.db, args.id));
|
|
2585
2610
|
} catch (error) {
|
|
2586
2611
|
return errorResult(error);
|
|
@@ -2600,7 +2625,7 @@ function createMcpServer() {
|
|
|
2600
2625
|
requireRole(extra, Role.EDITOR);
|
|
2601
2626
|
const ec = getDineway(extra);
|
|
2602
2627
|
try {
|
|
2603
|
-
const { handleMenuCreate } = await import("../../../menus-
|
|
2628
|
+
const { handleMenuCreate } = await import("../../../menus-BzGQpw9d.mjs").then((n) => n.d);
|
|
2604
2629
|
return unwrap(await handleMenuCreate(ec.db, {
|
|
2605
2630
|
name: args.name,
|
|
2606
2631
|
label: args.label,
|
|
@@ -2624,7 +2649,7 @@ function createMcpServer() {
|
|
|
2624
2649
|
requireRole(extra, Role.EDITOR);
|
|
2625
2650
|
const ec = getDineway(extra);
|
|
2626
2651
|
try {
|
|
2627
|
-
const { handleMenuUpdate } = await import("../../../menus-
|
|
2652
|
+
const { handleMenuUpdate } = await import("../../../menus-BzGQpw9d.mjs").then((n) => n.d);
|
|
2628
2653
|
return unwrap(await handleMenuUpdate(ec.db, args.name, {
|
|
2629
2654
|
label: args.label,
|
|
2630
2655
|
locale: args.locale
|
|
@@ -2646,7 +2671,7 @@ function createMcpServer() {
|
|
|
2646
2671
|
requireRole(extra, Role.EDITOR);
|
|
2647
2672
|
const ec = getDineway(extra);
|
|
2648
2673
|
try {
|
|
2649
|
-
const { handleMenuDelete } = await import("../../../menus-
|
|
2674
|
+
const { handleMenuDelete } = await import("../../../menus-BzGQpw9d.mjs").then((n) => n.d);
|
|
2650
2675
|
return unwrap(await handleMenuDelete(ec.db, args.name, { locale: args.locale }));
|
|
2651
2676
|
} catch (error) {
|
|
2652
2677
|
return errorResult(error);
|
|
@@ -2681,7 +2706,7 @@ function createMcpServer() {
|
|
|
2681
2706
|
requireRole(extra, Role.EDITOR);
|
|
2682
2707
|
const ec = getDineway(extra);
|
|
2683
2708
|
try {
|
|
2684
|
-
const { handleMenuSetItems } = await import("../../../menus-
|
|
2709
|
+
const { handleMenuSetItems } = await import("../../../menus-BzGQpw9d.mjs").then((n) => n.d);
|
|
2685
2710
|
return unwrap(await handleMenuSetItems(ec.db, args.name, args.items, { locale: args.locale }));
|
|
2686
2711
|
} catch (error) {
|
|
2687
2712
|
return errorResult(error);
|
|
@@ -2728,7 +2753,7 @@ function createMcpServer() {
|
|
|
2728
2753
|
requireRole(extra, Role.ADMIN);
|
|
2729
2754
|
const ec = getDineway(extra);
|
|
2730
2755
|
try {
|
|
2731
|
-
const { handleSettingsGet } = await import("../../../settings-
|
|
2756
|
+
const { handleSettingsGet } = await import("../../../settings-BYGdocdj.mjs").then((n) => n.r);
|
|
2732
2757
|
return unwrap(await handleSettingsGet(ec.db, ec.storage));
|
|
2733
2758
|
} catch (error) {
|
|
2734
2759
|
return errorResult(error);
|
|
@@ -2765,7 +2790,7 @@ function createMcpServer() {
|
|
|
2765
2790
|
request
|
|
2766
2791
|
});
|
|
2767
2792
|
}
|
|
2768
|
-
const { handleSettingsUpdate } = await import("../../../settings-
|
|
2793
|
+
const { handleSettingsUpdate } = await import("../../../settings-BYGdocdj.mjs").then((n) => n.r);
|
|
2769
2794
|
const result = await handleSettingsUpdate(ec.db, ec.storage, settingsInput);
|
|
2770
2795
|
if (!result.success) return unwrap(result);
|
|
2771
2796
|
await logSiteActivitySafely(ec.db, locals, {
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import "../../../../../base64-C1Q9yr0B.mjs";
|
|
2
|
-
import "../../../../../types-
|
|
3
|
-
import { t as MediaRepository } from "../../../../../media-
|
|
4
|
-
import "../../../../../context-types-
|
|
5
|
-
import { n as apiSuccess, r as handleError, t as apiError } from "../../../../../error-
|
|
6
|
-
import { r as parseOptionalBody, t as isParseError } from "../../../../../parse-
|
|
7
|
-
import { zt as mediaConfirmBody } from "../../../../../redirects-
|
|
8
|
-
import "../../../../../
|
|
2
|
+
import "../../../../../types-Ck7-WoUD.mjs";
|
|
3
|
+
import { t as MediaRepository } from "../../../../../media-DhBwiCYR.mjs";
|
|
4
|
+
import "../../../../../context-types-DQh_XKkn.mjs";
|
|
5
|
+
import { n as apiSuccess, r as handleError, t as apiError } from "../../../../../error-DCSuUAZW.mjs";
|
|
6
|
+
import { r as parseOptionalBody, t as isParseError } from "../../../../../parse-CneSgl7-.mjs";
|
|
7
|
+
import { zt as mediaConfirmBody } from "../../../../../redirects-q_cToaHv.mjs";
|
|
8
|
+
import "../../../../../byline-fields-D7TJ_oHF.mjs";
|
|
9
9
|
import "../../../../../api/schemas/index.mjs";
|
|
10
|
-
import { n as requirePerm, t as requireOwnerPerm } from "../../../../../authorize-
|
|
10
|
+
import { n as requirePerm, t as requireOwnerPerm } from "../../../../../authorize-BLO0m7fW.mjs";
|
|
11
11
|
|
|
12
12
|
//#region src/astro/routes/api/media/[id]/confirm.ts
|
|
13
13
|
const prerender = false;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import "../../../../context-types-
|
|
2
|
-
import { a as unwrapResult, r as handleError, t as apiError } from "../../../../error-
|
|
3
|
-
import { n as parseBody, t as isParseError } from "../../../../parse-
|
|
4
|
-
import { qt as mediaUpdateBody } from "../../../../redirects-
|
|
5
|
-
import "../../../../
|
|
1
|
+
import "../../../../context-types-DQh_XKkn.mjs";
|
|
2
|
+
import { a as unwrapResult, r as handleError, t as apiError } from "../../../../error-DCSuUAZW.mjs";
|
|
3
|
+
import { n as parseBody, t as isParseError } from "../../../../parse-CneSgl7-.mjs";
|
|
4
|
+
import { qt as mediaUpdateBody } from "../../../../redirects-q_cToaHv.mjs";
|
|
5
|
+
import "../../../../byline-fields-D7TJ_oHF.mjs";
|
|
6
6
|
import "../../../../api/schemas/index.mjs";
|
|
7
|
-
import { n as requirePerm, t as requireOwnerPerm } from "../../../../authorize-
|
|
7
|
+
import { n as requirePerm, t as requireOwnerPerm } from "../../../../authorize-BLO0m7fW.mjs";
|
|
8
8
|
|
|
9
9
|
//#region src/astro/routes/api/media/[id].ts
|
|
10
10
|
const prerender = false;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as apiSuccess, r as handleError, t as apiError } from "../../../../../../error-
|
|
2
|
-
import { n as requirePerm } from "../../../../../../authorize-
|
|
1
|
+
import { n as apiSuccess, r as handleError, t as apiError } from "../../../../../../error-DCSuUAZW.mjs";
|
|
2
|
+
import { n as requirePerm } from "../../../../../../authorize-BLO0m7fW.mjs";
|
|
3
3
|
|
|
4
4
|
//#region src/astro/routes/api/media/providers/[providerId]/[itemId].ts
|
|
5
5
|
const prerender = false;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as apiSuccess, r as handleError, t as apiError } from "../../../../../../error-
|
|
2
|
-
import { n as requirePerm } from "../../../../../../authorize-
|
|
1
|
+
import { n as apiSuccess, r as handleError, t as apiError } from "../../../../../../error-DCSuUAZW.mjs";
|
|
2
|
+
import { n as requirePerm } from "../../../../../../authorize-BLO0m7fW.mjs";
|
|
3
3
|
|
|
4
4
|
//#region src/astro/routes/api/media/providers/[providerId]/index.ts
|
|
5
5
|
const prerender = false;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as apiSuccess, t as apiError } from "../../../../../error-
|
|
2
|
-
import { n as requirePerm } from "../../../../../authorize-
|
|
1
|
+
import { n as apiSuccess, t as apiError } from "../../../../../error-DCSuUAZW.mjs";
|
|
2
|
+
import { n as requirePerm } from "../../../../../authorize-BLO0m7fW.mjs";
|
|
3
3
|
|
|
4
4
|
//#region src/astro/routes/api/media/providers/index.ts
|
|
5
5
|
const prerender = false;
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import "../../../../base64-C1Q9yr0B.mjs";
|
|
2
|
-
import "../../../../types-
|
|
3
|
-
import { t as MediaRepository } from "../../../../media-
|
|
4
|
-
import { n as normalizeMime, t as matchesMimeAllowlist } from "../../../../mime-
|
|
5
|
-
import "../../../../context-types-
|
|
6
|
-
import { n as apiSuccess, r as handleError, t as apiError } from "../../../../error-
|
|
7
|
-
import { n as parseBody, t as isParseError } from "../../../../parse-
|
|
8
|
-
import { Jt as mediaUploadUrlBody, Lt as DEFAULT_MAX_UPLOAD_SIZE } from "../../../../redirects-
|
|
9
|
-
import "../../../../
|
|
2
|
+
import "../../../../types-Ck7-WoUD.mjs";
|
|
3
|
+
import { t as MediaRepository } from "../../../../media-DhBwiCYR.mjs";
|
|
4
|
+
import { n as normalizeMime, t as matchesMimeAllowlist } from "../../../../mime-8pAB8-77.mjs";
|
|
5
|
+
import "../../../../context-types-DQh_XKkn.mjs";
|
|
6
|
+
import { n as apiSuccess, r as handleError, t as apiError } from "../../../../error-DCSuUAZW.mjs";
|
|
7
|
+
import { n as parseBody, t as isParseError } from "../../../../parse-CneSgl7-.mjs";
|
|
8
|
+
import { Jt as mediaUploadUrlBody, Lt as DEFAULT_MAX_UPLOAD_SIZE } from "../../../../redirects-q_cToaHv.mjs";
|
|
9
|
+
import "../../../../byline-fields-D7TJ_oHF.mjs";
|
|
10
10
|
import "../../../../api/schemas/index.mjs";
|
|
11
|
-
import { n as requirePerm } from "../../../../authorize-
|
|
12
|
-
import { n as resolveFieldAllowlist, t as GLOBAL_UPLOAD_ALLOWLIST } from "../../../../media-allowlist-
|
|
11
|
+
import { n as requirePerm } from "../../../../authorize-BLO0m7fW.mjs";
|
|
12
|
+
import { n as resolveFieldAllowlist, t as GLOBAL_UPLOAD_ALLOWLIST } from "../../../../media-allowlist-BsXkT9RK.mjs";
|
|
13
13
|
import { ulid } from "ulidx";
|
|
14
14
|
import * as path from "node:path";
|
|
15
15
|
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import "../../../base64-C1Q9yr0B.mjs";
|
|
2
|
-
import "../../../types-
|
|
3
|
-
import { t as MediaRepository } from "../../../media-
|
|
4
|
-
import { t as generatePlaceholder } from "../../../placeholder-
|
|
5
|
-
import { n as normalizeMime, t as matchesMimeAllowlist } from "../../../mime-
|
|
6
|
-
import "../../../context-types-
|
|
7
|
-
import { t as computeContentHash } from "../../../hash-
|
|
8
|
-
import { a as unwrapResult, n as apiSuccess, r as handleError, t as apiError } from "../../../error-
|
|
9
|
-
import { i as parseQuery, t as isParseError } from "../../../parse-
|
|
10
|
-
import { Lt as DEFAULT_MAX_UPLOAD_SIZE, Rt as formatFileSize, Ut as mediaListQuery } from "../../../redirects-
|
|
11
|
-
import "../../../
|
|
2
|
+
import "../../../types-Ck7-WoUD.mjs";
|
|
3
|
+
import { t as MediaRepository } from "../../../media-DhBwiCYR.mjs";
|
|
4
|
+
import { t as generatePlaceholder } from "../../../placeholder-BDo81Is5.mjs";
|
|
5
|
+
import { n as normalizeMime, t as matchesMimeAllowlist } from "../../../mime-8pAB8-77.mjs";
|
|
6
|
+
import "../../../context-types-DQh_XKkn.mjs";
|
|
7
|
+
import { t as computeContentHash } from "../../../hash-BPmX6P8I.mjs";
|
|
8
|
+
import { a as unwrapResult, n as apiSuccess, r as handleError, t as apiError } from "../../../error-DCSuUAZW.mjs";
|
|
9
|
+
import { i as parseQuery, t as isParseError } from "../../../parse-CneSgl7-.mjs";
|
|
10
|
+
import { Lt as DEFAULT_MAX_UPLOAD_SIZE, Rt as formatFileSize, Ut as mediaListQuery } from "../../../redirects-q_cToaHv.mjs";
|
|
11
|
+
import "../../../byline-fields-D7TJ_oHF.mjs";
|
|
12
12
|
import "../../../api/schemas/index.mjs";
|
|
13
|
-
import { n as requirePerm } from "../../../authorize-
|
|
14
|
-
import { n as resolveFieldAllowlist, t as GLOBAL_UPLOAD_ALLOWLIST } from "../../../media-allowlist-
|
|
13
|
+
import { n as requirePerm } from "../../../authorize-BLO0m7fW.mjs";
|
|
14
|
+
import { n as resolveFieldAllowlist, t as GLOBAL_UPLOAD_ALLOWLIST } from "../../../media-allowlist-BsXkT9RK.mjs";
|
|
15
15
|
import { ulid } from "ulidx";
|
|
16
16
|
import * as path from "node:path";
|
|
17
17
|
|
|
@@ -46,7 +46,8 @@ const GET = async ({ request, locals }) => {
|
|
|
46
46
|
const result = await dineway.handleMediaList({
|
|
47
47
|
cursor: query.cursor,
|
|
48
48
|
limit: query.limit,
|
|
49
|
-
mimeType: query.mimeType
|
|
49
|
+
mimeType: query.mimeType,
|
|
50
|
+
q: query.q
|
|
50
51
|
});
|
|
51
52
|
if (!result.success) return unwrapResult(result);
|
|
52
53
|
return apiSuccess({
|
|
@@ -1,34 +1,34 @@
|
|
|
1
|
-
import "../../../../../../dialect-helpers-
|
|
2
|
-
import "../../../../../../content-
|
|
1
|
+
import "../../../../../../dialect-helpers-fk43GbDb.mjs";
|
|
2
|
+
import "../../../../../../content-BfyjOiMi.mjs";
|
|
3
3
|
import "../../../../../../base64-C1Q9yr0B.mjs";
|
|
4
|
-
import "../../../../../../types-
|
|
5
|
-
import "../../../../../../media-
|
|
4
|
+
import "../../../../../../types-Ck7-WoUD.mjs";
|
|
5
|
+
import "../../../../../../media-DhBwiCYR.mjs";
|
|
6
6
|
import "../../../../../../options-BF11H_FD.mjs";
|
|
7
|
-
import "../../../../../../site-activity-
|
|
8
|
-
import "../../../../../../review-requests-
|
|
7
|
+
import "../../../../../../site-activity-6x1JccoR.mjs";
|
|
8
|
+
import "../../../../../../review-requests-tPw8_pAO.mjs";
|
|
9
9
|
import "../../../../../../entity-aliases-uOrKvlPg.mjs";
|
|
10
|
-
import { a as handleMenuItemDelete, s as handleMenuItemUpdate } from "../../../../../../menus-
|
|
11
|
-
import "../../../../../../request-cache-
|
|
12
|
-
import "../../../../../../briefing-
|
|
13
|
-
import "../../../../../../context-types-
|
|
14
|
-
import "../../../../../../fts-manager-
|
|
15
|
-
import "../../../../../../registry-
|
|
16
|
-
import "../../../../../../loader-
|
|
17
|
-
import "../../../../../../settings-
|
|
18
|
-
import "../../../../../../query-
|
|
19
|
-
import "../../../../../../zod-generator-
|
|
20
|
-
import "../../../../../../schema-
|
|
21
|
-
import { a as unwrapResult, r as handleError, t as apiError } from "../../../../../../error-
|
|
22
|
-
import { i as parseQuery, n as parseBody, t as isParseError } from "../../../../../../parse-
|
|
23
|
-
import { On as localeFilterQuery, lt as updateMenuItemBody } from "../../../../../../redirects-
|
|
24
|
-
import "../../../../../../
|
|
10
|
+
import { a as handleMenuItemDelete, s as handleMenuItemUpdate } from "../../../../../../menus-BzGQpw9d.mjs";
|
|
11
|
+
import "../../../../../../request-cache-w5cj5itT.mjs";
|
|
12
|
+
import "../../../../../../briefing-BFEWeJtR.mjs";
|
|
13
|
+
import "../../../../../../context-types-DQh_XKkn.mjs";
|
|
14
|
+
import "../../../../../../fts-manager-EHY2Kes9.mjs";
|
|
15
|
+
import "../../../../../../registry-Cq3QRBW2.mjs";
|
|
16
|
+
import "../../../../../../loader-Y0QvC_QO.mjs";
|
|
17
|
+
import "../../../../../../settings-DNRQuX3d.mjs";
|
|
18
|
+
import "../../../../../../query-BJuUydtD.mjs";
|
|
19
|
+
import "../../../../../../zod-generator-D1ROBNuC.mjs";
|
|
20
|
+
import "../../../../../../schema-DmHMWnSA.mjs";
|
|
21
|
+
import { a as unwrapResult, r as handleError, t as apiError } from "../../../../../../error-DCSuUAZW.mjs";
|
|
22
|
+
import { i as parseQuery, n as parseBody, t as isParseError } from "../../../../../../parse-CneSgl7-.mjs";
|
|
23
|
+
import { On as localeFilterQuery, lt as updateMenuItemBody } from "../../../../../../redirects-q_cToaHv.mjs";
|
|
24
|
+
import "../../../../../../byline-fields-D7TJ_oHF.mjs";
|
|
25
25
|
import "../../../../../../api/schemas/index.mjs";
|
|
26
|
-
import "../../../../../../utils-
|
|
27
|
-
import "../../../../../../search-
|
|
28
|
-
import { n as requirePerm } from "../../../../../../authorize-
|
|
29
|
-
import { _ as RiskPolicyEvaluator, u as MenuHitlPayloadBuilder } from "../../../../../../site-context-
|
|
30
|
-
import { c as logMenuActivity, g as menuApiRouteSource } from "../../../../../../activity-events-
|
|
31
|
-
import { i as resolveHitlRouteActor, n as hitlRequiredRouteError, t as ensureWorkflowHitlRouteRequest } from "../../../../../../hitl-route-helpers-
|
|
26
|
+
import "../../../../../../utils-wv-zvC-Y.mjs";
|
|
27
|
+
import "../../../../../../search-BAiFLz81.mjs";
|
|
28
|
+
import { n as requirePerm } from "../../../../../../authorize-BLO0m7fW.mjs";
|
|
29
|
+
import { _ as RiskPolicyEvaluator, u as MenuHitlPayloadBuilder } from "../../../../../../site-context-sN12ehZF.mjs";
|
|
30
|
+
import { c as logMenuActivity, g as menuApiRouteSource } from "../../../../../../activity-events-CNk3clTT.mjs";
|
|
31
|
+
import { i as resolveHitlRouteActor, n as hitlRequiredRouteError, t as ensureWorkflowHitlRouteRequest } from "../../../../../../hitl-route-helpers-CHjdfQ0s.mjs";
|
|
32
32
|
import { z } from "zod";
|
|
33
33
|
|
|
34
34
|
//#region src/astro/routes/api/menus/[name]/items/[id].ts
|
|
@@ -1,34 +1,34 @@
|
|
|
1
|
-
import "../../../../../dialect-helpers-
|
|
2
|
-
import "../../../../../content-
|
|
1
|
+
import "../../../../../dialect-helpers-fk43GbDb.mjs";
|
|
2
|
+
import "../../../../../content-BfyjOiMi.mjs";
|
|
3
3
|
import "../../../../../base64-C1Q9yr0B.mjs";
|
|
4
|
-
import "../../../../../types-
|
|
5
|
-
import "../../../../../media-
|
|
4
|
+
import "../../../../../types-Ck7-WoUD.mjs";
|
|
5
|
+
import "../../../../../media-DhBwiCYR.mjs";
|
|
6
6
|
import "../../../../../options-BF11H_FD.mjs";
|
|
7
|
-
import "../../../../../site-activity-
|
|
8
|
-
import "../../../../../review-requests-
|
|
7
|
+
import "../../../../../site-activity-6x1JccoR.mjs";
|
|
8
|
+
import "../../../../../review-requests-tPw8_pAO.mjs";
|
|
9
9
|
import "../../../../../entity-aliases-uOrKvlPg.mjs";
|
|
10
|
-
import { i as handleMenuItemCreate } from "../../../../../menus-
|
|
11
|
-
import "../../../../../request-cache-
|
|
12
|
-
import "../../../../../briefing-
|
|
13
|
-
import "../../../../../context-types-
|
|
14
|
-
import "../../../../../fts-manager-
|
|
15
|
-
import "../../../../../registry-
|
|
16
|
-
import "../../../../../loader-
|
|
17
|
-
import "../../../../../settings-
|
|
18
|
-
import "../../../../../query-
|
|
19
|
-
import "../../../../../zod-generator-
|
|
20
|
-
import "../../../../../schema-
|
|
21
|
-
import { a as unwrapResult, r as handleError } from "../../../../../error-
|
|
22
|
-
import { i as parseQuery, n as parseBody, t as isParseError } from "../../../../../parse-
|
|
23
|
-
import { On as localeFilterQuery, et as createMenuItemBody } from "../../../../../redirects-
|
|
24
|
-
import "../../../../../
|
|
10
|
+
import { i as handleMenuItemCreate } from "../../../../../menus-BzGQpw9d.mjs";
|
|
11
|
+
import "../../../../../request-cache-w5cj5itT.mjs";
|
|
12
|
+
import "../../../../../briefing-BFEWeJtR.mjs";
|
|
13
|
+
import "../../../../../context-types-DQh_XKkn.mjs";
|
|
14
|
+
import "../../../../../fts-manager-EHY2Kes9.mjs";
|
|
15
|
+
import "../../../../../registry-Cq3QRBW2.mjs";
|
|
16
|
+
import "../../../../../loader-Y0QvC_QO.mjs";
|
|
17
|
+
import "../../../../../settings-DNRQuX3d.mjs";
|
|
18
|
+
import "../../../../../query-BJuUydtD.mjs";
|
|
19
|
+
import "../../../../../zod-generator-D1ROBNuC.mjs";
|
|
20
|
+
import "../../../../../schema-DmHMWnSA.mjs";
|
|
21
|
+
import { a as unwrapResult, r as handleError } from "../../../../../error-DCSuUAZW.mjs";
|
|
22
|
+
import { i as parseQuery, n as parseBody, t as isParseError } from "../../../../../parse-CneSgl7-.mjs";
|
|
23
|
+
import { On as localeFilterQuery, et as createMenuItemBody } from "../../../../../redirects-q_cToaHv.mjs";
|
|
24
|
+
import "../../../../../byline-fields-D7TJ_oHF.mjs";
|
|
25
25
|
import "../../../../../api/schemas/index.mjs";
|
|
26
|
-
import "../../../../../utils-
|
|
27
|
-
import "../../../../../search-
|
|
28
|
-
import { n as requirePerm } from "../../../../../authorize-
|
|
29
|
-
import { _ as RiskPolicyEvaluator, u as MenuHitlPayloadBuilder } from "../../../../../site-context-
|
|
30
|
-
import { c as logMenuActivity, g as menuApiRouteSource } from "../../../../../activity-events-
|
|
31
|
-
import { i as resolveHitlRouteActor, n as hitlRequiredRouteError, t as ensureWorkflowHitlRouteRequest } from "../../../../../hitl-route-helpers-
|
|
26
|
+
import "../../../../../utils-wv-zvC-Y.mjs";
|
|
27
|
+
import "../../../../../search-BAiFLz81.mjs";
|
|
28
|
+
import { n as requirePerm } from "../../../../../authorize-BLO0m7fW.mjs";
|
|
29
|
+
import { _ as RiskPolicyEvaluator, u as MenuHitlPayloadBuilder } from "../../../../../site-context-sN12ehZF.mjs";
|
|
30
|
+
import { c as logMenuActivity, g as menuApiRouteSource } from "../../../../../activity-events-CNk3clTT.mjs";
|
|
31
|
+
import { i as resolveHitlRouteActor, n as hitlRequiredRouteError, t as ensureWorkflowHitlRouteRequest } from "../../../../../hitl-route-helpers-CHjdfQ0s.mjs";
|
|
32
32
|
import { z } from "zod";
|
|
33
33
|
|
|
34
34
|
//#region src/astro/routes/api/menus/[name]/items.ts
|