emdash 0.26.0 → 0.27.0
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/{adapters-DAAjOID4.d.mts → adapters-u037EnTR.d.mts} +1 -1
- package/dist/{adapters-DAAjOID4.d.mts.map → adapters-u037EnTR.d.mts.map} +1 -1
- package/dist/api/route-utils.mjs +10 -10
- package/dist/api/schemas/index.d.mts +1 -1
- package/dist/{api-BMfveMoB.mjs → api-80kycR9o.mjs} +84 -28
- package/dist/api-80kycR9o.mjs.map +1 -0
- package/dist/{apply--IVNSdXn.mjs → apply-DSypk6Iu.mjs} +19 -19
- package/dist/apply-DSypk6Iu.mjs.map +1 -0
- package/dist/astro/index.d.mts +7 -6
- package/dist/astro/index.d.mts.map +1 -1
- package/dist/astro/index.mjs +11 -3
- package/dist/astro/index.mjs.map +1 -1
- package/dist/astro/middleware/auth.d.mts +6 -5
- package/dist/astro/middleware/auth.d.mts.map +1 -1
- package/dist/astro/middleware/auth.mjs +4 -3
- package/dist/astro/middleware/auth.mjs.map +1 -1
- package/dist/astro/middleware/redirect.mjs +4 -4
- package/dist/astro/middleware.d.mts +1 -8
- package/dist/astro/middleware.d.mts.map +1 -1
- package/dist/astro/middleware.mjs +44 -43
- package/dist/astro/middleware.mjs.map +1 -1
- package/dist/astro/routes/api/admin/allowed-domains/_domain_.mjs +3 -3
- package/dist/astro/routes/api/admin/allowed-domains/index.mjs +3 -3
- package/dist/astro/routes/api/admin/api-tokens/_id_.mjs +2 -2
- package/dist/astro/routes/api/admin/api-tokens/index.mjs +3 -3
- package/dist/astro/routes/api/admin/byline-fields/_slug_/usage.mjs +3 -3
- package/dist/astro/routes/api/admin/byline-fields/_slug_.mjs +4 -4
- package/dist/astro/routes/api/admin/byline-fields/index.mjs +4 -4
- package/dist/astro/routes/api/admin/byline-fields/reorder.mjs +4 -4
- package/dist/astro/routes/api/admin/bylines/_id_/index.mjs +9 -9
- package/dist/astro/routes/api/admin/bylines/_id_/translations.mjs +9 -9
- package/dist/astro/routes/api/admin/bylines/index.mjs +9 -9
- package/dist/astro/routes/api/admin/comments/_id_/status.mjs +7 -7
- package/dist/astro/routes/api/admin/comments/_id_.mjs +5 -5
- package/dist/astro/routes/api/admin/comments/bulk.mjs +6 -6
- package/dist/astro/routes/api/admin/comments/counts.mjs +5 -5
- package/dist/astro/routes/api/admin/comments/index.mjs +6 -6
- package/dist/astro/routes/api/admin/hooks/exclusive/_hookName_.mjs +4 -4
- package/dist/astro/routes/api/admin/hooks/exclusive/index.mjs +3 -3
- package/dist/astro/routes/api/admin/oauth-clients/_id_.mjs +3 -3
- package/dist/astro/routes/api/admin/oauth-clients/index.mjs +3 -3
- package/dist/astro/routes/api/admin/plugins/_id_/disable.mjs +27 -27
- package/dist/astro/routes/api/admin/plugins/_id_/disable.mjs.map +1 -1
- package/dist/astro/routes/api/admin/plugins/_id_/enable.mjs +27 -27
- package/dist/astro/routes/api/admin/plugins/_id_/enable.mjs.map +1 -1
- package/dist/astro/routes/api/admin/plugins/_id_/index.mjs +27 -27
- package/dist/astro/routes/api/admin/plugins/_id_/index.mjs.map +1 -1
- package/dist/astro/routes/api/admin/plugins/_id_/uninstall.mjs +26 -26
- package/dist/astro/routes/api/admin/plugins/_id_/update.mjs +26 -26
- package/dist/astro/routes/api/admin/plugins/index.mjs +27 -27
- package/dist/astro/routes/api/admin/plugins/index.mjs.map +1 -1
- package/dist/astro/routes/api/admin/plugins/marketplace/_id_/icon.mjs +3 -3
- package/dist/astro/routes/api/admin/plugins/marketplace/_id_/index.mjs +26 -26
- package/dist/astro/routes/api/admin/plugins/marketplace/_id_/install.mjs +26 -26
- package/dist/astro/routes/api/admin/plugins/marketplace/index.mjs +26 -26
- package/dist/astro/routes/api/admin/plugins/registry/_id_/uninstall.mjs +26 -26
- package/dist/astro/routes/api/admin/plugins/registry/_id_/update.mjs +27 -27
- package/dist/astro/routes/api/admin/plugins/registry/artifact.mjs +26 -26
- package/dist/astro/routes/api/admin/plugins/registry/install.mjs +27 -27
- package/dist/astro/routes/api/admin/plugins/updates.mjs +26 -26
- package/dist/astro/routes/api/admin/themes/marketplace/_id_/index.mjs +26 -26
- package/dist/astro/routes/api/admin/themes/marketplace/_id_/thumbnail.mjs +3 -3
- package/dist/astro/routes/api/admin/themes/marketplace/index.mjs +26 -26
- package/dist/astro/routes/api/admin/users/_id_/disable.mjs +2 -2
- package/dist/astro/routes/api/admin/users/_id_/enable.mjs +2 -2
- package/dist/astro/routes/api/admin/users/_id_/index.mjs +3 -3
- package/dist/astro/routes/api/admin/users/_id_/send-recovery.mjs +2 -2
- package/dist/astro/routes/api/admin/users/index.mjs +3 -3
- package/dist/astro/routes/api/auth/dev-bypass.mjs +3 -3
- package/dist/astro/routes/api/auth/invite/accept.mjs +2 -2
- package/dist/astro/routes/api/auth/invite/complete.mjs +3 -3
- package/dist/astro/routes/api/auth/invite/index.mjs +3 -3
- package/dist/astro/routes/api/auth/invite/register-options.mjs +3 -3
- package/dist/astro/routes/api/auth/logout.mjs +2 -2
- package/dist/astro/routes/api/auth/magic-link/send.mjs +4 -4
- package/dist/astro/routes/api/auth/magic-link/verify.mjs +2 -2
- package/dist/astro/routes/api/auth/me.mjs +4 -4
- package/dist/astro/routes/api/auth/passkey/_id_.mjs +3 -3
- package/dist/astro/routes/api/auth/passkey/index.mjs +2 -2
- package/dist/astro/routes/api/auth/passkey/options.mjs +4 -4
- package/dist/astro/routes/api/auth/passkey/register/options.mjs +3 -3
- package/dist/astro/routes/api/auth/passkey/register/verify.mjs +3 -3
- package/dist/astro/routes/api/auth/passkey/verify.mjs +3 -3
- package/dist/astro/routes/api/auth/signup/complete.mjs +3 -3
- package/dist/astro/routes/api/auth/signup/request.mjs +4 -4
- package/dist/astro/routes/api/auth/signup/verify.mjs +2 -2
- package/dist/astro/routes/api/comments/_collection_/_contentId_/index.mjs +6 -6
- package/dist/astro/routes/api/comments/_collection_/_contentId_/reactions.mjs +6 -6
- package/dist/astro/routes/api/content/_collection_/_id_/compare.mjs +3 -3
- package/dist/astro/routes/api/content/_collection_/_id_/discard-draft.mjs +3 -3
- package/dist/astro/routes/api/content/_collection_/_id_/duplicate.mjs +3 -3
- package/dist/astro/routes/api/content/_collection_/_id_/permanent.mjs +3 -3
- package/dist/astro/routes/api/content/_collection_/_id_/preview-url.mjs +4 -4
- package/dist/astro/routes/api/content/_collection_/_id_/publish.mjs +4 -4
- package/dist/astro/routes/api/content/_collection_/_id_/restore.mjs +3 -3
- package/dist/astro/routes/api/content/_collection_/_id_/revisions.mjs +3 -3
- package/dist/astro/routes/api/content/_collection_/_id_/schedule.mjs +4 -4
- package/dist/astro/routes/api/content/_collection_/_id_/terms/_taxonomy_.mjs +8 -8
- package/dist/astro/routes/api/content/_collection_/_id_/translations.mjs +3 -3
- package/dist/astro/routes/api/content/_collection_/_id_/unpublish.mjs +3 -3
- package/dist/astro/routes/api/content/_collection_/_id_.mjs +4 -4
- package/dist/astro/routes/api/content/_collection_/authors.mjs +3 -3
- package/dist/astro/routes/api/content/_collection_/index.mjs +4 -4
- package/dist/astro/routes/api/content/_collection_/trash.mjs +4 -4
- package/dist/astro/routes/api/dashboard.mjs +7 -7
- package/dist/astro/routes/api/dev/emails.mjs +2 -2
- package/dist/astro/routes/api/import/probe.d.mts +2 -2
- package/dist/astro/routes/api/import/probe.mjs +4 -4
- package/dist/astro/routes/api/import/wordpress/analyze.mjs +3 -3
- package/dist/astro/routes/api/import/wordpress/execute.d.mts +6 -5
- package/dist/astro/routes/api/import/wordpress/execute.d.mts.map +1 -1
- package/dist/astro/routes/api/import/wordpress/execute.mjs +8 -8
- package/dist/astro/routes/api/import/wordpress/media.d.mts +6 -5
- package/dist/astro/routes/api/import/wordpress/media.d.mts.map +1 -1
- package/dist/astro/routes/api/import/wordpress/media.mjs +4 -4
- package/dist/astro/routes/api/import/wordpress/prepare.mjs +6 -6
- package/dist/astro/routes/api/import/wordpress/rewrite-urls.mjs +5 -5
- package/dist/astro/routes/api/import/wordpress-plugin/analyze.d.mts +1 -1
- package/dist/astro/routes/api/import/wordpress-plugin/analyze.mjs +4 -4
- package/dist/astro/routes/api/import/wordpress-plugin/execute.d.mts +1 -1
- package/dist/astro/routes/api/import/wordpress-plugin/execute.mjs +6 -6
- package/dist/astro/routes/api/manifest.d.mts.map +1 -1
- package/dist/astro/routes/api/manifest.mjs +13 -4
- package/dist/astro/routes/api/manifest.mjs.map +1 -1
- package/dist/astro/routes/api/mcp.mjs +34 -34
- package/dist/astro/routes/api/media/_id_/confirm.mjs +4 -4
- package/dist/astro/routes/api/media/_id_.mjs +4 -4
- package/dist/astro/routes/api/media/file/_...key_.mjs +2 -2
- package/dist/astro/routes/api/media/providers/_providerId_/_itemId_.mjs +3 -3
- package/dist/astro/routes/api/media/providers/_providerId_/index.mjs +3 -3
- package/dist/astro/routes/api/media/providers/index.mjs +3 -3
- package/dist/astro/routes/api/media/upload-url.mjs +4 -4
- package/dist/astro/routes/api/media.mjs +5 -5
- package/dist/astro/routes/api/menus/_name_/items/_id_.mjs +5 -5
- package/dist/astro/routes/api/menus/_name_/items.mjs +5 -5
- package/dist/astro/routes/api/menus/_name_/reorder.mjs +5 -5
- package/dist/astro/routes/api/menus/_name_/translations.mjs +5 -5
- package/dist/astro/routes/api/menus/_name_.mjs +5 -5
- package/dist/astro/routes/api/menus/index.mjs +5 -5
- package/dist/astro/routes/api/oauth/device/authorize.mjs +3 -3
- package/dist/astro/routes/api/oauth/device/code.mjs +4 -4
- package/dist/astro/routes/api/oauth/device/token.mjs +4 -4
- package/dist/astro/routes/api/oauth/register.mjs +2 -2
- package/dist/astro/routes/api/oauth/token/refresh.mjs +3 -3
- package/dist/astro/routes/api/oauth/token/revoke.mjs +3 -3
- package/dist/astro/routes/api/oauth/token.mjs +2 -2
- package/dist/astro/routes/api/openapi.json.mjs +2 -2
- package/dist/astro/routes/api/plugins/_pluginId_/_...path_.mjs +3 -3
- package/dist/astro/routes/api/redirects/404s/index.mjs +6 -6
- package/dist/astro/routes/api/redirects/404s/summary.mjs +6 -6
- package/dist/astro/routes/api/redirects/_id_.mjs +7 -7
- package/dist/astro/routes/api/redirects/index.mjs +7 -7
- package/dist/astro/routes/api/revisions/_revisionId_/index.mjs +3 -3
- package/dist/astro/routes/api/revisions/_revisionId_/restore.mjs +3 -3
- package/dist/astro/routes/api/schema/collections/_slug_/fields/_fieldSlug_.mjs +26 -26
- package/dist/astro/routes/api/schema/collections/_slug_/fields/index.mjs +26 -26
- package/dist/astro/routes/api/schema/collections/_slug_/fields/reorder.mjs +26 -26
- package/dist/astro/routes/api/schema/collections/_slug_/index.mjs +26 -26
- package/dist/astro/routes/api/schema/collections/index.mjs +26 -26
- package/dist/astro/routes/api/schema/index.mjs +6 -6
- package/dist/astro/routes/api/schema/orphans/_slug_.mjs +26 -26
- package/dist/astro/routes/api/schema/orphans/index.mjs +26 -26
- package/dist/astro/routes/api/search/enable.mjs +7 -7
- package/dist/astro/routes/api/search/index.mjs +6 -6
- package/dist/astro/routes/api/search/rebuild.mjs +7 -7
- package/dist/astro/routes/api/search/stats.mjs +6 -6
- package/dist/astro/routes/api/search/suggest.mjs +6 -6
- package/dist/astro/routes/api/sections/_slug_.mjs +6 -6
- package/dist/astro/routes/api/sections/index.mjs +6 -6
- package/dist/astro/routes/api/settings/email.mjs +4 -4
- package/dist/astro/routes/api/settings.mjs +8 -8
- package/dist/astro/routes/api/setup/admin-verify.mjs +3 -3
- package/dist/astro/routes/api/setup/admin.mjs +3 -3
- package/dist/astro/routes/api/setup/dev-bypass.d.mts.map +1 -1
- package/dist/astro/routes/api/setup/dev-bypass.mjs +19 -17
- package/dist/astro/routes/api/setup/dev-bypass.mjs.map +1 -1
- package/dist/astro/routes/api/setup/dev-reset.mjs +2 -2
- package/dist/astro/routes/api/setup/index.mjs +17 -17
- package/dist/astro/routes/api/setup/status.mjs +3 -3
- package/dist/astro/routes/api/snapshot.mjs +3 -3
- package/dist/astro/routes/api/taxonomies/_name_/terms/_slug_/translations.mjs +8 -8
- package/dist/astro/routes/api/taxonomies/_name_/terms/_slug_.mjs +8 -8
- package/dist/astro/routes/api/taxonomies/_name_/terms/index.mjs +8 -8
- package/dist/astro/routes/api/taxonomies/index.mjs +8 -8
- package/dist/astro/routes/api/themes/preview.mjs +3 -3
- package/dist/astro/routes/api/typegen.mjs +5 -5
- package/dist/astro/routes/api/widget-areas/_name_/reorder.mjs +4 -4
- package/dist/astro/routes/api/widget-areas/_name_/widgets/_id_.mjs +6 -6
- package/dist/astro/routes/api/widget-areas/_name_/widgets.mjs +6 -6
- package/dist/astro/routes/api/widget-areas/_name_.mjs +5 -5
- package/dist/astro/routes/api/widget-areas/index.mjs +6 -6
- package/dist/astro/routes/api/widget-components.mjs +2 -2
- package/dist/astro/routes/robots.txt.mjs +4 -4
- package/dist/astro/routes/sitemap-_collection_.xml.mjs +4 -4
- package/dist/astro/routes/sitemap.xml.mjs +4 -4
- package/dist/astro/types.d.mts +8 -6
- package/dist/astro/types.d.mts.map +1 -1
- package/dist/auth/providers/github.d.mts +1 -1
- package/dist/auth/providers/google.d.mts +1 -1
- package/dist/{authorize-BZnOGJFo.mjs → authorize-C3a_zGsM.mjs} +2 -2
- package/dist/{authorize-BZnOGJFo.mjs.map → authorize-C3a_zGsM.mjs.map} +1 -1
- package/dist/{byline-LL8lyqdb.mjs → byline-DEKSVPTy.mjs} +5 -5
- package/dist/{byline-LL8lyqdb.mjs.map → byline-DEKSVPTy.mjs.map} +1 -1
- package/dist/{byline-fields-KD3JFRuH.d.mts → byline-fields-CtQ6blXd.d.mts} +32 -32
- package/dist/{byline-fields-KD3JFRuH.d.mts.map → byline-fields-CtQ6blXd.d.mts.map} +1 -1
- package/dist/{bylines-DE47vP8d.mjs → bylines-CiqgTHWF.mjs} +5 -5
- package/dist/{bylines-DE47vP8d.mjs.map → bylines-CiqgTHWF.mjs.map} +1 -1
- package/dist/{bylines-BmJ7Vg7J.mjs → bylines-Ds4-otXl.mjs} +4 -4
- package/dist/{bylines-BmJ7Vg7J.mjs.map → bylines-Ds4-otXl.mjs.map} +1 -1
- package/dist/{cache-D9jF5bYw.mjs → cache-Ciu3e3AF.mjs} +2 -2
- package/dist/{cache-D9jF5bYw.mjs.map → cache-Ciu3e3AF.mjs.map} +1 -1
- package/dist/{chunks-OCG163rN.mjs → chunks-CZFiauig.mjs} +2 -2
- package/dist/{chunks-OCG163rN.mjs.map → chunks-CZFiauig.mjs.map} +1 -1
- package/dist/cli/index.mjs +15 -15
- package/dist/cli/index.mjs.map +1 -1
- package/dist/client/cf-access.d.mts +1 -1
- package/dist/client/index.d.mts +1 -1
- package/dist/{comment-D9BLDpZI.mjs → comment-CH1IrFFs.mjs} +2 -2
- package/dist/{comment-D9BLDpZI.mjs.map → comment-CH1IrFFs.mjs.map} +1 -1
- package/dist/{comment-reaction-Drl9SkNu.mjs → comment-reaction-kruNY-kP.mjs} +2 -2
- package/dist/{comment-reaction-Drl9SkNu.mjs.map → comment-reaction-kruNY-kP.mjs.map} +1 -1
- package/dist/{comments-BjJ9SKGU.mjs → comments-BUJyXbgq.mjs} +3 -3
- package/dist/{comments-BjJ9SKGU.mjs.map → comments-BUJyXbgq.mjs.map} +1 -1
- package/dist/{content-ncUWWjna.mjs → content-RmfHoWqK.mjs} +3 -3
- package/dist/{content-ncUWWjna.mjs.map → content-RmfHoWqK.mjs.map} +1 -1
- package/dist/{context-C_g-iJVA.mjs → context-CzUU_WzL.mjs} +7 -7
- package/dist/{context-C_g-iJVA.mjs.map → context-CzUU_WzL.mjs.map} +1 -1
- package/dist/{dashboard-CotyqQrW.mjs → dashboard-CVyGhift.mjs} +4 -4
- package/dist/{dashboard-CotyqQrW.mjs.map → dashboard-CVyGhift.mjs.map} +1 -1
- package/dist/db/index.d.mts +1 -1
- package/dist/db/index.mjs +1 -1
- package/dist/db/libsql.d.mts +1 -1
- package/dist/db/postgres.d.mts +1 -1
- package/dist/db/sqlite.d.mts +1 -1
- package/dist/{error-rVGiqWDt.mjs → error-BHkLZk-w.mjs} +2 -2
- package/dist/{error-rVGiqWDt.mjs.map → error-BHkLZk-w.mjs.map} +1 -1
- package/dist/{field-defs-cache-ljXzJCfc.mjs → field-defs-cache-BA-8ZPiT.mjs} +2 -2
- package/dist/{field-defs-cache-ljXzJCfc.mjs.map → field-defs-cache-BA-8ZPiT.mjs.map} +1 -1
- package/dist/{fts-manager-BbCCbEKA.mjs → fts-manager-Db9jGavf.mjs} +2 -2
- package/dist/{fts-manager-BbCCbEKA.mjs.map → fts-manager-Db9jGavf.mjs.map} +1 -1
- package/dist/{index-BRNabKrx.d.mts → index-CDZZjrLT.d.mts} +2407 -2365
- package/dist/index-CDZZjrLT.d.mts.map +1 -0
- package/dist/{index-Dt0OKJB4.d.mts → index-DGIjmUXQ.d.mts} +2 -2
- package/dist/{index-Dt0OKJB4.d.mts.map → index-DGIjmUXQ.d.mts.map} +1 -1
- package/dist/index.d.mts +11 -10
- package/dist/index.mjs +36 -36
- package/dist/{load-DMjXghbZ.mjs → load-DpHICVPh.mjs} +2 -2
- package/dist/{load-DMjXghbZ.mjs.map → load-DpHICVPh.mjs.map} +1 -1
- package/dist/{loader-BA_zhkS_.mjs → loader-4K37qA-y.mjs} +3 -3
- package/dist/{loader-BA_zhkS_.mjs.map → loader-4K37qA-y.mjs.map} +1 -1
- package/dist/media/local-runtime.d.mts +7 -6
- package/dist/media/local-runtime.d.mts.map +1 -1
- package/dist/media/local-runtime.mjs +4 -4
- package/dist/{media-C5t_eCnk.mjs → media-C0nRRfs1.mjs} +2 -2
- package/dist/{media-C5t_eCnk.mjs.map → media-C0nRRfs1.mjs.map} +1 -1
- package/dist/{menus-CYH09a41.mjs → menus-DzRyC1ID.mjs} +5 -5
- package/dist/{menus-CYH09a41.mjs.map → menus-DzRyC1ID.mjs.map} +1 -1
- package/dist/{menus-CBb6UrMU.mjs → menus-SL2K0xq2.mjs} +2 -2
- package/dist/{menus-CBb6UrMU.mjs.map → menus-SL2K0xq2.mjs.map} +1 -1
- package/dist/object-cache/memory.d.mts +1 -1
- package/dist/page/index.d.mts +1 -1
- package/dist/{parse-BwAdS7FZ.mjs → parse-CqyZj3Hp.mjs} +2 -2
- package/dist/{parse-BwAdS7FZ.mjs.map → parse-CqyZj3Hp.mjs.map} +1 -1
- package/dist/plugin-utils.d.mts +6 -5
- package/dist/plugin-utils.d.mts.map +1 -1
- package/dist/plugins/adapt-sandbox-entry.d.mts +6 -5
- package/dist/plugins/adapt-sandbox-entry.d.mts.map +1 -1
- package/dist/{query-BpQb-blG.mjs → query-B0M-9LYR.mjs} +13 -13
- package/dist/{query-BpQb-blG.mjs.map → query-B0M-9LYR.mjs.map} +1 -1
- package/dist/{rate-limit-Dap6HMNM.mjs → rate-limit-BwoUdIpC.mjs} +2 -2
- package/dist/{rate-limit-Dap6HMNM.mjs.map → rate-limit-BwoUdIpC.mjs.map} +1 -1
- package/dist/{redirect-_M0trWoo.mjs → redirect-lMOzG04S.mjs} +2 -2
- package/dist/{redirect-_M0trWoo.mjs.map → redirect-lMOzG04S.mjs.map} +1 -1
- package/dist/{redirects-w0V9vj_j.mjs → redirects-9218MmYl.mjs} +3 -3
- package/dist/{redirects-w0V9vj_j.mjs.map → redirects-9218MmYl.mjs.map} +1 -1
- package/dist/{registry-g8yYt4cC.mjs → registry-DP-iEtdR.mjs} +4 -4
- package/dist/{registry-g8yYt4cC.mjs.map → registry-DP-iEtdR.mjs.map} +1 -1
- package/dist/runner-BbR3DfrL.d.mts.map +1 -1
- package/dist/{runner-DPdt_Wpa.mjs → runner-CFngB4WZ.mjs} +232 -199
- package/dist/runner-CFngB4WZ.mjs.map +1 -0
- package/dist/runtime.d.mts +6 -5
- package/dist/runtime.d.mts.map +1 -1
- package/dist/runtime.mjs +2 -2
- package/dist/scheduled-publish-BMljtY5G.d.mts +11 -0
- package/dist/scheduled-publish-BMljtY5G.d.mts.map +1 -0
- package/dist/{schema-DoLd3j2e.mjs → schema-BfJ7bIXH.mjs} +4 -4
- package/dist/{schema-DoLd3j2e.mjs.map → schema-BfJ7bIXH.mjs.map} +1 -1
- package/dist/{search-BR0ZeZmh.mjs → search-C7t3PH1J.mjs} +6 -4
- package/dist/search-C7t3PH1J.mjs.map +1 -0
- package/dist/{sections-5J2YJPqJ.mjs → sections-Dm0CVX23.mjs} +3 -3
- package/dist/{sections-5J2YJPqJ.mjs.map → sections-Dm0CVX23.mjs.map} +1 -1
- package/dist/seed/index.d.mts +1 -1
- package/dist/seed/index.mjs +14 -14
- package/dist/{seo-DKeXHkzE.mjs → seo-Dd3tbY_k.mjs} +2 -2
- package/dist/{seo-DKeXHkzE.mjs.map → seo-Dd3tbY_k.mjs.map} +1 -1
- package/dist/{service-BbO2s8gT.mjs → service-CTrqp_Jy.mjs} +2 -2
- package/dist/{service-BbO2s8gT.mjs.map → service-CTrqp_Jy.mjs.map} +1 -1
- package/dist/{settings-DJeki-97.mjs → settings-BX8cWBus.mjs} +3 -3
- package/dist/{settings-DJeki-97.mjs.map → settings-BX8cWBus.mjs.map} +1 -1
- package/dist/{settings-BMNr9Dmi.mjs → settings-CZ7ZP9cW.mjs} +3 -3
- package/dist/{settings-BMNr9Dmi.mjs.map → settings-CZ7ZP9cW.mjs.map} +1 -1
- package/dist/storage/local.d.mts +1 -1
- package/dist/storage/s3.d.mts +1 -1
- package/dist/{taxonomies-CM_fUqLU.mjs → taxonomies-DChKcVxf.mjs} +4 -4
- package/dist/{taxonomies-CM_fUqLU.mjs.map → taxonomies-DChKcVxf.mjs.map} +1 -1
- package/dist/{taxonomies-D13i2ctt.mjs → taxonomies-ckPjz-6d.mjs} +5 -5
- package/dist/{taxonomies-D13i2ctt.mjs.map → taxonomies-ckPjz-6d.mjs.map} +1 -1
- package/dist/{taxonomy-BU0LjdVb.mjs → taxonomy-Cru-he6s.mjs} +3 -3
- package/dist/{taxonomy-BU0LjdVb.mjs.map → taxonomy-Cru-he6s.mjs.map} +1 -1
- package/dist/{transport-BZ-03aFT.d.mts → transport-Blrl2k_o.d.mts} +1 -1
- package/dist/{transport-BZ-03aFT.d.mts.map → transport-Blrl2k_o.d.mts.map} +1 -1
- package/dist/{types-BG8_XTLj.d.mts → types-BkZ8DUEI.d.mts} +1 -1
- package/dist/{types-BG8_XTLj.d.mts.map → types-BkZ8DUEI.d.mts.map} +1 -1
- package/dist/{types-DrYMm9s5.d.mts → types-ByChcBgE.d.mts} +1 -1
- package/dist/{types-DrYMm9s5.d.mts.map → types-ByChcBgE.d.mts.map} +1 -1
- package/dist/{types-BWqGVhFn.d.mts → types-CvuKO5Pn.d.mts} +1 -1
- package/dist/{types-BWqGVhFn.d.mts.map → types-CvuKO5Pn.d.mts.map} +1 -1
- package/dist/{types-CZgK3EMW.mjs → types-DU4TSFS5.mjs} +2 -2
- package/dist/{types-CZgK3EMW.mjs.map → types-DU4TSFS5.mjs.map} +1 -1
- package/dist/{types-CUsXGRVj.d.mts → types-Dbqff978.d.mts} +1 -1
- package/dist/{types-CUsXGRVj.d.mts.map → types-Dbqff978.d.mts.map} +1 -1
- package/dist/{types-fS7-VTdR.d.mts → types-Y09-wtyU.d.mts} +1 -1
- package/dist/{types-fS7-VTdR.d.mts.map → types-Y09-wtyU.d.mts.map} +1 -1
- package/dist/{user-DkG2jKCp.mjs → user-DgGbKL9s.mjs} +3 -3
- package/dist/{user-DkG2jKCp.mjs.map → user-DgGbKL9s.mjs.map} +1 -1
- package/dist/{validate-CG0V0wNR.d.mts → validate-9ECmtEpJ.d.mts} +9 -4
- package/dist/{validate-CG0V0wNR.d.mts.map → validate-9ECmtEpJ.d.mts.map} +1 -1
- package/dist/{validate-CuJ1Ps9j.mjs → validate-CRkcYZAR.mjs} +2 -2
- package/dist/{validate-CuJ1Ps9j.mjs.map → validate-CRkcYZAR.mjs.map} +1 -1
- package/dist/{validation-CwUfTdGF.mjs → validation-sR26SOwD.mjs} +5 -5
- package/dist/{validation-CwUfTdGF.mjs.map → validation-sR26SOwD.mjs.map} +1 -1
- package/dist/version-CrqhKGWn.mjs +7 -0
- package/dist/{version-BoNBItP_.mjs.map → version-CrqhKGWn.mjs.map} +1 -1
- package/dist/{widgets-BfOZ-ajY.mjs → widgets-DRgtn7Cl.mjs} +2 -2
- package/dist/{widgets-BfOZ-ajY.mjs.map → widgets-DRgtn7Cl.mjs.map} +1 -1
- package/dist/{zod-generator-gFsRuNNy.mjs → zod-generator-C5JaV--i.mjs} +2 -2
- package/dist/{zod-generator-gFsRuNNy.mjs.map → zod-generator-C5JaV--i.mjs.map} +1 -1
- package/package.json +8 -8
- package/src/api/handlers/content.ts +59 -16
- package/src/api/handlers/plugins.ts +77 -10
- package/src/astro/integration/vite-config.ts +19 -1
- package/src/astro/middleware/auth.ts +1 -0
- package/src/astro/middleware.ts +1 -0
- package/src/astro/routes/api/admin/plugins/[id]/disable.ts +6 -1
- package/src/astro/routes/api/admin/plugins/[id]/enable.ts +6 -1
- package/src/astro/routes/api/admin/plugins/[id]/index.ts +1 -0
- package/src/astro/routes/api/admin/plugins/index.ts +1 -0
- package/src/astro/routes/api/manifest.ts +20 -1
- package/src/astro/routes/api/setup/dev-bypass.ts +7 -2
- package/src/astro/types.ts +4 -0
- package/src/cli/commands/seed.ts +1 -1
- package/src/components/LiveSearch.astro +40 -4
- package/src/components/live-search-routing.ts +30 -0
- package/src/database/migrations/036_i18n_menus_and_taxonomies.ts +23 -18
- package/src/database/migrations/048_restore_content_taxonomies_term_index.ts +32 -0
- package/src/database/migrations/runner.ts +2 -0
- package/src/search/query.ts +3 -0
- package/src/search/types.ts +2 -0
- package/src/seed/apply.ts +2 -2
- package/src/seed/types.ts +6 -1
- package/dist/api-BMfveMoB.mjs.map +0 -1
- package/dist/apply--IVNSdXn.mjs.map +0 -1
- package/dist/index-BRNabKrx.d.mts.map +0 -1
- package/dist/runner-DPdt_Wpa.mjs.map +0 -1
- package/dist/search-BR0ZeZmh.mjs.map +0 -1
- package/dist/version-BoNBItP_.mjs +0 -7
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "../../../base64-CmWvODNW.mjs";
|
|
2
|
-
import "../../../types-
|
|
3
|
-
import { t as apiError } from "../../../error-
|
|
2
|
+
import "../../../types-DU4TSFS5.mjs";
|
|
3
|
+
import { t as apiError } from "../../../error-BHkLZk-w.mjs";
|
|
4
4
|
import { Dn as contentBylineInputSchema, Tn as bylineUpdateBody, un as contentSeoInput, yn as bylineCreateBody } from "../../../redirects-Dcbuisoj.mjs";
|
|
5
5
|
import "../../../byline-fields-eyJMblSr.mjs";
|
|
6
6
|
import "../../../status-vUK0SA17.mjs";
|
|
@@ -157,7 +157,7 @@ function getEmDash(extra) {
|
|
|
157
157
|
}
|
|
158
158
|
async function getCollectionFields(ec, collection) {
|
|
159
159
|
try {
|
|
160
|
-
const { SchemaRegistry } = await import("../../../schema-
|
|
160
|
+
const { SchemaRegistry } = await import("../../../schema-BfJ7bIXH.mjs").then((n) => n.t);
|
|
161
161
|
const col = await new SchemaRegistry(ec.db).getCollectionWithFields(collection);
|
|
162
162
|
return col ? col.fields : null;
|
|
163
163
|
} catch {
|
|
@@ -186,7 +186,7 @@ async function applyReadMarkdown(ec, collection, items) {
|
|
|
186
186
|
for (const item of items) if (item.data && typeof item.data === "object") item.data = convertDataForRead(item.data, fields, false);
|
|
187
187
|
}
|
|
188
188
|
async function invalidateBylines() {
|
|
189
|
-
const { invalidateBylineCache } = await import("../../../bylines-
|
|
189
|
+
const { invalidateBylineCache } = await import("../../../bylines-CiqgTHWF.mjs").then((n) => n.t);
|
|
190
190
|
invalidateBylineCache();
|
|
191
191
|
}
|
|
192
192
|
/**
|
|
@@ -701,7 +701,7 @@ function createMcpServer() {
|
|
|
701
701
|
requireScope(extra, "content:read");
|
|
702
702
|
const ec = getEmDash(extra);
|
|
703
703
|
try {
|
|
704
|
-
const { BylineRepository } = await import("../../../byline-
|
|
704
|
+
const { BylineRepository } = await import("../../../byline-DEKSVPTy.mjs").then((n) => n.n);
|
|
705
705
|
return jsonResult(await new BylineRepository(ec.db).findMany({
|
|
706
706
|
search: args.search,
|
|
707
707
|
isGuest: args.isGuest,
|
|
@@ -723,7 +723,7 @@ function createMcpServer() {
|
|
|
723
723
|
requireScope(extra, "content:read");
|
|
724
724
|
const ec = getEmDash(extra);
|
|
725
725
|
try {
|
|
726
|
-
const { BylineRepository } = await import("../../../byline-
|
|
726
|
+
const { BylineRepository } = await import("../../../byline-DEKSVPTy.mjs").then((n) => n.n);
|
|
727
727
|
const byline = await new BylineRepository(ec.db).findById(args.id);
|
|
728
728
|
if (!byline) return respondError("NOT_FOUND", `Byline '${args.id}' not found`);
|
|
729
729
|
return jsonResult(byline);
|
|
@@ -741,7 +741,7 @@ function createMcpServer() {
|
|
|
741
741
|
requireRole(extra, Role.EDITOR);
|
|
742
742
|
const ec = getEmDash(extra);
|
|
743
743
|
try {
|
|
744
|
-
const { handleBylineCreate } = await import("../../../bylines-
|
|
744
|
+
const { handleBylineCreate } = await import("../../../bylines-Ds4-otXl.mjs").then((n) => n.t);
|
|
745
745
|
const result = await handleBylineCreate(ec.db, args);
|
|
746
746
|
if (result.success) await invalidateBylines();
|
|
747
747
|
return unwrap(result);
|
|
@@ -761,7 +761,7 @@ function createMcpServer() {
|
|
|
761
761
|
requireRole(extra, Role.EDITOR);
|
|
762
762
|
const ec = getEmDash(extra);
|
|
763
763
|
try {
|
|
764
|
-
const { handleBylineUpdate } = await import("../../../bylines-
|
|
764
|
+
const { handleBylineUpdate } = await import("../../../bylines-Ds4-otXl.mjs").then((n) => n.t);
|
|
765
765
|
const { id, ...input } = args;
|
|
766
766
|
const result = await handleBylineUpdate(ec.db, id, input);
|
|
767
767
|
if (result.success) await invalidateBylines();
|
|
@@ -780,7 +780,7 @@ function createMcpServer() {
|
|
|
780
780
|
requireRole(extra, Role.EDITOR);
|
|
781
781
|
const ec = getEmDash(extra);
|
|
782
782
|
try {
|
|
783
|
-
const { BylineRepository } = await import("../../../byline-
|
|
783
|
+
const { BylineRepository } = await import("../../../byline-DEKSVPTy.mjs").then((n) => n.n);
|
|
784
784
|
if (!await new BylineRepository(ec.db).delete(args.id)) return respondError("NOT_FOUND", `Byline '${args.id}' not found`);
|
|
785
785
|
await invalidateBylines();
|
|
786
786
|
return jsonResult({ deleted: args.id });
|
|
@@ -797,7 +797,7 @@ function createMcpServer() {
|
|
|
797
797
|
requireScope(extra, "content:read");
|
|
798
798
|
const ec = getEmDash(extra);
|
|
799
799
|
try {
|
|
800
|
-
const { handleBylineTranslations } = await import("../../../bylines-
|
|
800
|
+
const { handleBylineTranslations } = await import("../../../bylines-Ds4-otXl.mjs").then((n) => n.t);
|
|
801
801
|
return unwrap(await handleBylineTranslations(ec.db, args.id));
|
|
802
802
|
} catch (error) {
|
|
803
803
|
return respondHandlerError(error, "BYLINE_TRANSLATIONS_ERROR");
|
|
@@ -813,7 +813,7 @@ function createMcpServer() {
|
|
|
813
813
|
requireRole(extra, Role.EDITOR);
|
|
814
814
|
const ec = getEmDash(extra);
|
|
815
815
|
try {
|
|
816
|
-
const { SchemaRegistry } = await import("../../../schema-
|
|
816
|
+
const { SchemaRegistry } = await import("../../../schema-BfJ7bIXH.mjs").then((n) => n.t);
|
|
817
817
|
return jsonResult({ items: await new SchemaRegistry(ec.db).listCollections() });
|
|
818
818
|
} catch (error) {
|
|
819
819
|
return respondHandlerError(error, "SCHEMA_LIST_ERROR");
|
|
@@ -829,7 +829,7 @@ function createMcpServer() {
|
|
|
829
829
|
requireRole(extra, Role.EDITOR);
|
|
830
830
|
const ec = getEmDash(extra);
|
|
831
831
|
try {
|
|
832
|
-
const { SchemaRegistry } = await import("../../../schema-
|
|
832
|
+
const { SchemaRegistry } = await import("../../../schema-BfJ7bIXH.mjs").then((n) => n.t);
|
|
833
833
|
const collection = await new SchemaRegistry(ec.db).getCollectionWithFields(args.slug);
|
|
834
834
|
if (!collection) return respondError("NOT_FOUND", `Collection '${args.slug}' not found`);
|
|
835
835
|
return jsonResult(collection);
|
|
@@ -859,7 +859,7 @@ function createMcpServer() {
|
|
|
859
859
|
requireRole(extra, Role.ADMIN);
|
|
860
860
|
const ec = getEmDash(extra);
|
|
861
861
|
try {
|
|
862
|
-
const { SchemaRegistry } = await import("../../../schema-
|
|
862
|
+
const { SchemaRegistry } = await import("../../../schema-BfJ7bIXH.mjs").then((n) => n.t);
|
|
863
863
|
const collection = await new SchemaRegistry(ec.db).createCollection({
|
|
864
864
|
slug: args.slug,
|
|
865
865
|
label: args.label,
|
|
@@ -887,7 +887,7 @@ function createMcpServer() {
|
|
|
887
887
|
requireRole(extra, Role.ADMIN);
|
|
888
888
|
const ec = getEmDash(extra);
|
|
889
889
|
try {
|
|
890
|
-
const { SchemaRegistry } = await import("../../../schema-
|
|
890
|
+
const { SchemaRegistry } = await import("../../../schema-BfJ7bIXH.mjs").then((n) => n.t);
|
|
891
891
|
await new SchemaRegistry(ec.db).deleteCollection(args.slug, { force: args.force });
|
|
892
892
|
ec.invalidateUrlPatternCache();
|
|
893
893
|
return jsonResult({ deleted: args.slug });
|
|
@@ -941,7 +941,7 @@ function createMcpServer() {
|
|
|
941
941
|
requireRole(extra, Role.ADMIN);
|
|
942
942
|
const ec = getEmDash(extra);
|
|
943
943
|
try {
|
|
944
|
-
const { SchemaRegistry } = await import("../../../schema-
|
|
944
|
+
const { SchemaRegistry } = await import("../../../schema-BfJ7bIXH.mjs").then((n) => n.t);
|
|
945
945
|
return jsonResult(await new SchemaRegistry(ec.db).createField(args.collection, {
|
|
946
946
|
slug: args.slug,
|
|
947
947
|
label: args.label,
|
|
@@ -971,7 +971,7 @@ function createMcpServer() {
|
|
|
971
971
|
requireRole(extra, Role.ADMIN);
|
|
972
972
|
const ec = getEmDash(extra);
|
|
973
973
|
try {
|
|
974
|
-
const { SchemaRegistry } = await import("../../../schema-
|
|
974
|
+
const { SchemaRegistry } = await import("../../../schema-BfJ7bIXH.mjs").then((n) => n.t);
|
|
975
975
|
await new SchemaRegistry(ec.db).deleteField(args.collection, args.fieldSlug);
|
|
976
976
|
return jsonResult({
|
|
977
977
|
deleted: args.fieldSlug,
|
|
@@ -1092,7 +1092,7 @@ function createMcpServer() {
|
|
|
1092
1092
|
requireScope(extra, "content:read");
|
|
1093
1093
|
const ec = getEmDash(extra);
|
|
1094
1094
|
try {
|
|
1095
|
-
const { searchWithDb } = await import("../../../search-
|
|
1095
|
+
const { searchWithDb } = await import("../../../search-C7t3PH1J.mjs").then((n) => n.t);
|
|
1096
1096
|
return jsonResult(await searchWithDb(ec.db, args.query, {
|
|
1097
1097
|
collections: args.collections,
|
|
1098
1098
|
locale: args.locale,
|
|
@@ -1111,7 +1111,7 @@ function createMcpServer() {
|
|
|
1111
1111
|
requireScope(extra, "content:read");
|
|
1112
1112
|
const ec = getEmDash(extra);
|
|
1113
1113
|
try {
|
|
1114
|
-
const { handleTaxonomyList } = await import("../../../taxonomies-
|
|
1114
|
+
const { handleTaxonomyList } = await import("../../../taxonomies-DChKcVxf.mjs").then((n) => n.l);
|
|
1115
1115
|
return unwrap(await handleTaxonomyList(ec.db, { locale: args.locale }));
|
|
1116
1116
|
} catch (error) {
|
|
1117
1117
|
return respondHandlerError(error, "TAXONOMY_LIST_ERROR");
|
|
@@ -1131,12 +1131,12 @@ function createMcpServer() {
|
|
|
1131
1131
|
requireScope(extra, "content:read");
|
|
1132
1132
|
const ec = getEmDash(extra);
|
|
1133
1133
|
try {
|
|
1134
|
-
const { handleTaxonomyList } = await import("../../../taxonomies-
|
|
1134
|
+
const { handleTaxonomyList } = await import("../../../taxonomies-DChKcVxf.mjs").then((n) => n.l);
|
|
1135
1135
|
const listResult = await handleTaxonomyList(ec.db, { locale: args.locale });
|
|
1136
1136
|
if (!listResult.success) return unwrap(listResult);
|
|
1137
1137
|
if (!listResult.data.taxonomies.find((t) => t.name === args.taxonomy)) return respondError("NOT_FOUND", `Taxonomy '${args.taxonomy}' not found`);
|
|
1138
|
-
const { TaxonomyRepository } = await import("../../../taxonomy-
|
|
1139
|
-
const { decodeCursor, encodeCursor, InvalidCursorError } = await import("../../../types-
|
|
1138
|
+
const { TaxonomyRepository } = await import("../../../taxonomy-Cru-he6s.mjs").then((n) => n.n);
|
|
1139
|
+
const { decodeCursor, encodeCursor, InvalidCursorError } = await import("../../../types-DU4TSFS5.mjs").then((n) => n.o);
|
|
1140
1140
|
const repo = new TaxonomyRepository(ec.db);
|
|
1141
1141
|
const limit = Math.min(args.limit ?? 50, 100);
|
|
1142
1142
|
const terms = await repo.findByName(args.taxonomy, { locale: args.locale });
|
|
@@ -1190,7 +1190,7 @@ function createMcpServer() {
|
|
|
1190
1190
|
requireRole(extra, Role.EDITOR);
|
|
1191
1191
|
const ec = getEmDash(extra);
|
|
1192
1192
|
try {
|
|
1193
|
-
const { handleTermCreate } = await import("../../../taxonomies-
|
|
1193
|
+
const { handleTermCreate } = await import("../../../taxonomies-DChKcVxf.mjs").then((n) => n.l);
|
|
1194
1194
|
return unwrap(await handleTermCreate(ec.db, args.taxonomy, {
|
|
1195
1195
|
slug: args.slug,
|
|
1196
1196
|
label: args.label,
|
|
@@ -1219,7 +1219,7 @@ function createMcpServer() {
|
|
|
1219
1219
|
requireRole(extra, Role.EDITOR);
|
|
1220
1220
|
const ec = getEmDash(extra);
|
|
1221
1221
|
try {
|
|
1222
|
-
const { handleTermUpdate } = await import("../../../taxonomies-
|
|
1222
|
+
const { handleTermUpdate } = await import("../../../taxonomies-DChKcVxf.mjs").then((n) => n.l);
|
|
1223
1223
|
return unwrap(await handleTermUpdate(ec.db, args.taxonomy, args.termSlug, {
|
|
1224
1224
|
slug: args.slug,
|
|
1225
1225
|
label: args.label,
|
|
@@ -1243,7 +1243,7 @@ function createMcpServer() {
|
|
|
1243
1243
|
requireRole(extra, Role.EDITOR);
|
|
1244
1244
|
const ec = getEmDash(extra);
|
|
1245
1245
|
try {
|
|
1246
|
-
const { handleTermDelete } = await import("../../../taxonomies-
|
|
1246
|
+
const { handleTermDelete } = await import("../../../taxonomies-DChKcVxf.mjs").then((n) => n.l);
|
|
1247
1247
|
return unwrap(await handleTermDelete(ec.db, args.taxonomy, args.termSlug));
|
|
1248
1248
|
} catch (error) {
|
|
1249
1249
|
return respondHandlerError(error, "TAXONOMY_TERM_DELETE_ERROR");
|
|
@@ -1258,7 +1258,7 @@ function createMcpServer() {
|
|
|
1258
1258
|
requireScope(extra, "content:read");
|
|
1259
1259
|
const ec = getEmDash(extra);
|
|
1260
1260
|
try {
|
|
1261
|
-
const { handleTermTranslations } = await import("../../../taxonomies-
|
|
1261
|
+
const { handleTermTranslations } = await import("../../../taxonomies-DChKcVxf.mjs").then((n) => n.l);
|
|
1262
1262
|
return unwrap(await handleTermTranslations(ec.db, args.id));
|
|
1263
1263
|
} catch (error) {
|
|
1264
1264
|
return respondHandlerError(error, "TERM_TRANSLATIONS_ERROR");
|
|
@@ -1273,7 +1273,7 @@ function createMcpServer() {
|
|
|
1273
1273
|
requireScope(extra, "content:read");
|
|
1274
1274
|
const ec = getEmDash(extra);
|
|
1275
1275
|
try {
|
|
1276
|
-
const { handleMenuList } = await import("../../../menus-
|
|
1276
|
+
const { handleMenuList } = await import("../../../menus-SL2K0xq2.mjs").then((n) => n.d);
|
|
1277
1277
|
return unwrap(await handleMenuList(ec.db, { locale: args.locale }));
|
|
1278
1278
|
} catch (error) {
|
|
1279
1279
|
return respondHandlerError(error, "MENU_LIST_ERROR");
|
|
@@ -1291,7 +1291,7 @@ function createMcpServer() {
|
|
|
1291
1291
|
requireScope(extra, "content:read");
|
|
1292
1292
|
const ec = getEmDash(extra);
|
|
1293
1293
|
try {
|
|
1294
|
-
const { handleMenuGet } = await import("../../../menus-
|
|
1294
|
+
const { handleMenuGet } = await import("../../../menus-SL2K0xq2.mjs").then((n) => n.d);
|
|
1295
1295
|
return unwrap(await handleMenuGet(ec.db, args.name, { locale: args.locale }));
|
|
1296
1296
|
} catch (error) {
|
|
1297
1297
|
return respondHandlerError(error, "MENU_GET_ERROR");
|
|
@@ -1306,7 +1306,7 @@ function createMcpServer() {
|
|
|
1306
1306
|
requireScope(extra, "content:read");
|
|
1307
1307
|
const ec = getEmDash(extra);
|
|
1308
1308
|
try {
|
|
1309
|
-
const { handleMenuTranslations } = await import("../../../menus-
|
|
1309
|
+
const { handleMenuTranslations } = await import("../../../menus-SL2K0xq2.mjs").then((n) => n.d);
|
|
1310
1310
|
return unwrap(await handleMenuTranslations(ec.db, args.id));
|
|
1311
1311
|
} catch (error) {
|
|
1312
1312
|
return respondHandlerError(error, "MENU_TRANSLATIONS_ERROR");
|
|
@@ -1326,7 +1326,7 @@ function createMcpServer() {
|
|
|
1326
1326
|
requireRole(extra, Role.EDITOR);
|
|
1327
1327
|
const ec = getEmDash(extra);
|
|
1328
1328
|
try {
|
|
1329
|
-
const { handleMenuCreate } = await import("../../../menus-
|
|
1329
|
+
const { handleMenuCreate } = await import("../../../menus-SL2K0xq2.mjs").then((n) => n.d);
|
|
1330
1330
|
return unwrap(await handleMenuCreate(ec.db, {
|
|
1331
1331
|
name: args.name,
|
|
1332
1332
|
label: args.label,
|
|
@@ -1350,7 +1350,7 @@ function createMcpServer() {
|
|
|
1350
1350
|
requireRole(extra, Role.EDITOR);
|
|
1351
1351
|
const ec = getEmDash(extra);
|
|
1352
1352
|
try {
|
|
1353
|
-
const { handleMenuUpdate } = await import("../../../menus-
|
|
1353
|
+
const { handleMenuUpdate } = await import("../../../menus-SL2K0xq2.mjs").then((n) => n.d);
|
|
1354
1354
|
return unwrap(await handleMenuUpdate(ec.db, args.name, {
|
|
1355
1355
|
label: args.label,
|
|
1356
1356
|
locale: args.locale
|
|
@@ -1372,7 +1372,7 @@ function createMcpServer() {
|
|
|
1372
1372
|
requireRole(extra, Role.EDITOR);
|
|
1373
1373
|
const ec = getEmDash(extra);
|
|
1374
1374
|
try {
|
|
1375
|
-
const { handleMenuDelete } = await import("../../../menus-
|
|
1375
|
+
const { handleMenuDelete } = await import("../../../menus-SL2K0xq2.mjs").then((n) => n.d);
|
|
1376
1376
|
return unwrap(await handleMenuDelete(ec.db, args.name, { locale: args.locale }));
|
|
1377
1377
|
} catch (error) {
|
|
1378
1378
|
return respondHandlerError(error, "MENU_DELETE_ERROR");
|
|
@@ -1407,7 +1407,7 @@ function createMcpServer() {
|
|
|
1407
1407
|
requireRole(extra, Role.EDITOR);
|
|
1408
1408
|
const ec = getEmDash(extra);
|
|
1409
1409
|
try {
|
|
1410
|
-
const { handleMenuSetItems } = await import("../../../menus-
|
|
1410
|
+
const { handleMenuSetItems } = await import("../../../menus-SL2K0xq2.mjs").then((n) => n.d);
|
|
1411
1411
|
return unwrap(await handleMenuSetItems(ec.db, args.name, args.items, { locale: args.locale }));
|
|
1412
1412
|
} catch (error) {
|
|
1413
1413
|
return respondHandlerError(error, "MENU_SET_ITEMS_ERROR");
|
|
@@ -1454,7 +1454,7 @@ function createMcpServer() {
|
|
|
1454
1454
|
requireRole(extra, Role.EDITOR);
|
|
1455
1455
|
const ec = getEmDash(extra);
|
|
1456
1456
|
try {
|
|
1457
|
-
const { handleSettingsGet } = await import("../../../settings-
|
|
1457
|
+
const { handleSettingsGet } = await import("../../../settings-CZ7ZP9cW.mjs").then((n) => n.r);
|
|
1458
1458
|
return unwrap(await handleSettingsGet(ec.db, ec.storage));
|
|
1459
1459
|
} catch (error) {
|
|
1460
1460
|
return respondHandlerError(error, "SETTINGS_READ_ERROR");
|
|
@@ -1480,7 +1480,7 @@ function createMcpServer() {
|
|
|
1480
1480
|
requireRole(extra, Role.ADMIN);
|
|
1481
1481
|
const ec = getEmDash(extra);
|
|
1482
1482
|
try {
|
|
1483
|
-
const { handleSettingsUpdate } = await import("../../../settings-
|
|
1483
|
+
const { handleSettingsUpdate } = await import("../../../settings-CZ7ZP9cW.mjs").then((n) => n.r);
|
|
1484
1484
|
return unwrap(await handleSettingsUpdate(ec.db, ec.storage, args));
|
|
1485
1485
|
} catch (error) {
|
|
1486
1486
|
return respondHandlerError(error, "SETTINGS_UPDATE_ERROR");
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import "../../../../../base64-CmWvODNW.mjs";
|
|
2
|
-
import "../../../../../types-
|
|
2
|
+
import "../../../../../types-DU4TSFS5.mjs";
|
|
3
3
|
import { t as enrichImageMetadata } from "../../../../../enrich-BQ0mxJRs.mjs";
|
|
4
|
-
import { n as apiSuccess, r as handleError, t as apiError } from "../../../../../error-
|
|
5
|
-
import { r as parseOptionalBody, t as isParseError } from "../../../../../parse-
|
|
4
|
+
import { n as apiSuccess, r as handleError, t as apiError } from "../../../../../error-BHkLZk-w.mjs";
|
|
5
|
+
import { r as parseOptionalBody, t as isParseError } from "../../../../../parse-CqyZj3Hp.mjs";
|
|
6
6
|
import { Ht as mediaConfirmBody } from "../../../../../redirects-Dcbuisoj.mjs";
|
|
7
7
|
import "../../../../../byline-fields-eyJMblSr.mjs";
|
|
8
8
|
import "../../../../../status-vUK0SA17.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-C3a_zGsM.mjs";
|
|
11
11
|
import { MediaRepository } from "emdash";
|
|
12
12
|
|
|
13
13
|
//#region src/astro/routes/api/media/[id]/confirm.ts
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import "../../../../base64-CmWvODNW.mjs";
|
|
2
|
-
import "../../../../types-
|
|
3
|
-
import { a as unwrapResult, r as handleError, t as apiError } from "../../../../error-
|
|
4
|
-
import { n as parseBody, t as isParseError } from "../../../../parse-
|
|
2
|
+
import "../../../../types-DU4TSFS5.mjs";
|
|
3
|
+
import { a as unwrapResult, r as handleError, t as apiError } from "../../../../error-BHkLZk-w.mjs";
|
|
4
|
+
import { n as parseBody, t as isParseError } from "../../../../parse-CqyZj3Hp.mjs";
|
|
5
5
|
import { Xt as mediaUpdateBody } from "../../../../redirects-Dcbuisoj.mjs";
|
|
6
6
|
import "../../../../byline-fields-eyJMblSr.mjs";
|
|
7
7
|
import "../../../../status-vUK0SA17.mjs";
|
|
8
8
|
import "../../../../api/schemas/index.mjs";
|
|
9
|
-
import { n as requirePerm, t as requireOwnerPerm } from "../../../../authorize-
|
|
9
|
+
import { n as requirePerm, t as requireOwnerPerm } from "../../../../authorize-C3a_zGsM.mjs";
|
|
10
10
|
|
|
11
11
|
//#region src/astro/routes/api/media/[id].ts
|
|
12
12
|
const prerender = false;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "../../../../../base64-CmWvODNW.mjs";
|
|
2
|
-
import "../../../../../types-
|
|
3
|
-
import { r as handleError, t as apiError } from "../../../../../error-
|
|
2
|
+
import "../../../../../types-DU4TSFS5.mjs";
|
|
3
|
+
import { r as handleError, t as apiError } from "../../../../../error-BHkLZk-w.mjs";
|
|
4
4
|
|
|
5
5
|
//#region src/astro/routes/api/media/file/[...key].ts
|
|
6
6
|
const prerender = false;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "../../../../../../base64-CmWvODNW.mjs";
|
|
2
|
-
import "../../../../../../types-
|
|
3
|
-
import { n as apiSuccess, r as handleError, t as apiError } from "../../../../../../error-
|
|
4
|
-
import { n as requirePerm } from "../../../../../../authorize-
|
|
2
|
+
import "../../../../../../types-DU4TSFS5.mjs";
|
|
3
|
+
import { n as apiSuccess, r as handleError, t as apiError } from "../../../../../../error-BHkLZk-w.mjs";
|
|
4
|
+
import { n as requirePerm } from "../../../../../../authorize-C3a_zGsM.mjs";
|
|
5
5
|
|
|
6
6
|
//#region src/astro/routes/api/media/providers/[providerId]/[itemId].ts
|
|
7
7
|
const prerender = false;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "../../../../../../base64-CmWvODNW.mjs";
|
|
2
|
-
import "../../../../../../types-
|
|
3
|
-
import { n as apiSuccess, r as handleError, t as apiError } from "../../../../../../error-
|
|
4
|
-
import { n as requirePerm } from "../../../../../../authorize-
|
|
2
|
+
import "../../../../../../types-DU4TSFS5.mjs";
|
|
3
|
+
import { n as apiSuccess, r as handleError, t as apiError } from "../../../../../../error-BHkLZk-w.mjs";
|
|
4
|
+
import { n as requirePerm } from "../../../../../../authorize-C3a_zGsM.mjs";
|
|
5
5
|
|
|
6
6
|
//#region src/astro/routes/api/media/providers/[providerId]/index.ts
|
|
7
7
|
const prerender = false;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "../../../../../base64-CmWvODNW.mjs";
|
|
2
|
-
import "../../../../../types-
|
|
3
|
-
import { n as apiSuccess, t as apiError } from "../../../../../error-
|
|
4
|
-
import { n as requirePerm } from "../../../../../authorize-
|
|
2
|
+
import "../../../../../types-DU4TSFS5.mjs";
|
|
3
|
+
import { n as apiSuccess, t as apiError } from "../../../../../error-BHkLZk-w.mjs";
|
|
4
|
+
import { n as requirePerm } from "../../../../../authorize-C3a_zGsM.mjs";
|
|
5
5
|
|
|
6
6
|
//#region src/astro/routes/api/media/providers/index.ts
|
|
7
7
|
const prerender = false;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import "../../../../base64-CmWvODNW.mjs";
|
|
2
|
-
import "../../../../types-
|
|
2
|
+
import "../../../../types-DU4TSFS5.mjs";
|
|
3
3
|
import { n as normalizeMime, t as matchesMimeAllowlist } from "../../../../mime-CCEzze7W.mjs";
|
|
4
|
-
import { n as apiSuccess, r as handleError, t as apiError } from "../../../../error-
|
|
5
|
-
import { n as parseBody, t as isParseError } from "../../../../parse-
|
|
4
|
+
import { n as apiSuccess, r as handleError, t as apiError } from "../../../../error-BHkLZk-w.mjs";
|
|
5
|
+
import { n as parseBody, t as isParseError } from "../../../../parse-CqyZj3Hp.mjs";
|
|
6
6
|
import { Bt as DEFAULT_MAX_UPLOAD_SIZE, Zt as mediaUploadUrlBody } from "../../../../redirects-Dcbuisoj.mjs";
|
|
7
7
|
import "../../../../byline-fields-eyJMblSr.mjs";
|
|
8
8
|
import "../../../../status-vUK0SA17.mjs";
|
|
9
9
|
import "../../../../api/schemas/index.mjs";
|
|
10
|
-
import { n as requirePerm } from "../../../../authorize-
|
|
10
|
+
import { n as requirePerm } from "../../../../authorize-C3a_zGsM.mjs";
|
|
11
11
|
import { n as resolveFieldAllowlist, t as GLOBAL_UPLOAD_ALLOWLIST } from "../../../../media-allowlist-Du8t1u6a.mjs";
|
|
12
12
|
import { ulid } from "ulidx";
|
|
13
13
|
import * as path from "node:path";
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import "../../../base64-CmWvODNW.mjs";
|
|
2
|
-
import "../../../types-
|
|
3
|
-
import { t as MediaRepository } from "../../../media-
|
|
2
|
+
import "../../../types-DU4TSFS5.mjs";
|
|
3
|
+
import { t as MediaRepository } from "../../../media-C0nRRfs1.mjs";
|
|
4
4
|
import { n as normalizeMime, t as matchesMimeAllowlist } from "../../../mime-CCEzze7W.mjs";
|
|
5
5
|
import { t as enrichImageMetadata } from "../../../enrich-BQ0mxJRs.mjs";
|
|
6
6
|
import { t as computeContentHash } from "../../../hash-DrvzIXcz.mjs";
|
|
7
|
-
import { a as unwrapResult, n as apiSuccess, r as handleError, t as apiError } from "../../../error-
|
|
8
|
-
import { i as parseQuery, t as isParseError } from "../../../parse-
|
|
7
|
+
import { a as unwrapResult, n as apiSuccess, r as handleError, t as apiError } from "../../../error-BHkLZk-w.mjs";
|
|
8
|
+
import { i as parseQuery, t as isParseError } from "../../../parse-CqyZj3Hp.mjs";
|
|
9
9
|
import { Bt as DEFAULT_MAX_UPLOAD_SIZE, Kt as mediaListQuery, Vt as formatFileSize } from "../../../redirects-Dcbuisoj.mjs";
|
|
10
10
|
import "../../../byline-fields-eyJMblSr.mjs";
|
|
11
11
|
import "../../../status-vUK0SA17.mjs";
|
|
12
12
|
import "../../../api/schemas/index.mjs";
|
|
13
|
-
import { n as requirePerm } from "../../../authorize-
|
|
13
|
+
import { n as requirePerm } from "../../../authorize-C3a_zGsM.mjs";
|
|
14
14
|
import { n as resolveFieldAllowlist, t as GLOBAL_UPLOAD_ALLOWLIST } from "../../../media-allowlist-Du8t1u6a.mjs";
|
|
15
15
|
import { ulid } from "ulidx";
|
|
16
16
|
import * as path from "node:path";
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import "../../../../../../after-B1IIdH3Y.mjs";
|
|
2
2
|
import "../../../../../../object-cache-CHbHv83-.mjs";
|
|
3
3
|
import "../../../../../../base64-CmWvODNW.mjs";
|
|
4
|
-
import "../../../../../../types-
|
|
5
|
-
import { a as handleMenuItemDelete, s as handleMenuItemUpdate } from "../../../../../../menus-
|
|
6
|
-
import { a as unwrapResult, r as handleError, t as apiError } from "../../../../../../error-
|
|
7
|
-
import { i as parseQuery, n as parseBody, t as isParseError } from "../../../../../../parse-
|
|
4
|
+
import "../../../../../../types-DU4TSFS5.mjs";
|
|
5
|
+
import { a as handleMenuItemDelete, s as handleMenuItemUpdate } from "../../../../../../menus-SL2K0xq2.mjs";
|
|
6
|
+
import { a as unwrapResult, r as handleError, t as apiError } from "../../../../../../error-BHkLZk-w.mjs";
|
|
7
|
+
import { i as parseQuery, n as parseBody, t as isParseError } from "../../../../../../parse-CqyZj3Hp.mjs";
|
|
8
8
|
import { Fn as localeFilterQuery, lt as updateMenuItemBody } from "../../../../../../redirects-Dcbuisoj.mjs";
|
|
9
9
|
import "../../../../../../byline-fields-eyJMblSr.mjs";
|
|
10
10
|
import "../../../../../../status-vUK0SA17.mjs";
|
|
11
11
|
import "../../../../../../api/schemas/index.mjs";
|
|
12
|
-
import { n as requirePerm } from "../../../../../../authorize-
|
|
12
|
+
import { n as requirePerm } from "../../../../../../authorize-C3a_zGsM.mjs";
|
|
13
13
|
|
|
14
14
|
//#region src/astro/routes/api/menus/[name]/items/[id].ts
|
|
15
15
|
const prerender = false;
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import "../../../../../after-B1IIdH3Y.mjs";
|
|
2
2
|
import "../../../../../object-cache-CHbHv83-.mjs";
|
|
3
3
|
import "../../../../../base64-CmWvODNW.mjs";
|
|
4
|
-
import "../../../../../types-
|
|
5
|
-
import { i as handleMenuItemCreate } from "../../../../../menus-
|
|
6
|
-
import { a as unwrapResult, r as handleError } from "../../../../../error-
|
|
7
|
-
import { i as parseQuery, n as parseBody, t as isParseError } from "../../../../../parse-
|
|
4
|
+
import "../../../../../types-DU4TSFS5.mjs";
|
|
5
|
+
import { i as handleMenuItemCreate } from "../../../../../menus-SL2K0xq2.mjs";
|
|
6
|
+
import { a as unwrapResult, r as handleError } from "../../../../../error-BHkLZk-w.mjs";
|
|
7
|
+
import { i as parseQuery, n as parseBody, t as isParseError } from "../../../../../parse-CqyZj3Hp.mjs";
|
|
8
8
|
import { Fn as localeFilterQuery, et as createMenuItemBody } from "../../../../../redirects-Dcbuisoj.mjs";
|
|
9
9
|
import "../../../../../byline-fields-eyJMblSr.mjs";
|
|
10
10
|
import "../../../../../status-vUK0SA17.mjs";
|
|
11
11
|
import "../../../../../api/schemas/index.mjs";
|
|
12
|
-
import { n as requirePerm } from "../../../../../authorize-
|
|
12
|
+
import { n as requirePerm } from "../../../../../authorize-C3a_zGsM.mjs";
|
|
13
13
|
|
|
14
14
|
//#region src/astro/routes/api/menus/[name]/items.ts
|
|
15
15
|
const prerender = false;
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import "../../../../../after-B1IIdH3Y.mjs";
|
|
2
2
|
import "../../../../../object-cache-CHbHv83-.mjs";
|
|
3
3
|
import "../../../../../base64-CmWvODNW.mjs";
|
|
4
|
-
import "../../../../../types-
|
|
5
|
-
import { o as handleMenuItemReorder } from "../../../../../menus-
|
|
6
|
-
import { a as unwrapResult, r as handleError } from "../../../../../error-
|
|
7
|
-
import { i as parseQuery, n as parseBody, t as isParseError } from "../../../../../parse-
|
|
4
|
+
import "../../../../../types-DU4TSFS5.mjs";
|
|
5
|
+
import { o as handleMenuItemReorder } from "../../../../../menus-SL2K0xq2.mjs";
|
|
6
|
+
import { a as unwrapResult, r as handleError } from "../../../../../error-BHkLZk-w.mjs";
|
|
7
|
+
import { i as parseQuery, n as parseBody, t as isParseError } from "../../../../../parse-CqyZj3Hp.mjs";
|
|
8
8
|
import { Fn as localeFilterQuery, st as reorderMenuItemsBody } from "../../../../../redirects-Dcbuisoj.mjs";
|
|
9
9
|
import "../../../../../byline-fields-eyJMblSr.mjs";
|
|
10
10
|
import "../../../../../status-vUK0SA17.mjs";
|
|
11
11
|
import "../../../../../api/schemas/index.mjs";
|
|
12
|
-
import { n as requirePerm } from "../../../../../authorize-
|
|
12
|
+
import { n as requirePerm } from "../../../../../authorize-C3a_zGsM.mjs";
|
|
13
13
|
|
|
14
14
|
//#region src/astro/routes/api/menus/[name]/reorder.ts
|
|
15
15
|
const prerender = false;
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import "../../../../../after-B1IIdH3Y.mjs";
|
|
2
2
|
import "../../../../../object-cache-CHbHv83-.mjs";
|
|
3
3
|
import "../../../../../base64-CmWvODNW.mjs";
|
|
4
|
-
import "../../../../../types-
|
|
5
|
-
import { l as handleMenuTranslations, r as handleMenuGet, t as handleMenuCreate } from "../../../../../menus-
|
|
6
|
-
import { a as unwrapResult, i as requireDb, r as handleError } from "../../../../../error-
|
|
7
|
-
import { i as parseQuery, n as parseBody, t as isParseError } from "../../../../../parse-
|
|
4
|
+
import "../../../../../types-DU4TSFS5.mjs";
|
|
5
|
+
import { l as handleMenuTranslations, r as handleMenuGet, t as handleMenuCreate } from "../../../../../menus-SL2K0xq2.mjs";
|
|
6
|
+
import { a as unwrapResult, i as requireDb, r as handleError } from "../../../../../error-BHkLZk-w.mjs";
|
|
7
|
+
import { i as parseQuery, n as parseBody, t as isParseError } from "../../../../../parse-CqyZj3Hp.mjs";
|
|
8
8
|
import { Fn as localeFilterQuery } from "../../../../../redirects-Dcbuisoj.mjs";
|
|
9
9
|
import "../../../../../byline-fields-eyJMblSr.mjs";
|
|
10
10
|
import "../../../../../status-vUK0SA17.mjs";
|
|
11
11
|
import "../../../../../api/schemas/index.mjs";
|
|
12
|
-
import { n as requirePerm } from "../../../../../authorize-
|
|
12
|
+
import { n as requirePerm } from "../../../../../authorize-C3a_zGsM.mjs";
|
|
13
13
|
import { z } from "zod";
|
|
14
14
|
|
|
15
15
|
//#region src/astro/routes/api/menus/[name]/translations.ts
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import "../../../../after-B1IIdH3Y.mjs";
|
|
2
2
|
import "../../../../object-cache-CHbHv83-.mjs";
|
|
3
3
|
import "../../../../base64-CmWvODNW.mjs";
|
|
4
|
-
import "../../../../types-
|
|
5
|
-
import { n as handleMenuDelete, r as handleMenuGet, u as handleMenuUpdate } from "../../../../menus-
|
|
6
|
-
import { a as unwrapResult, r as handleError } from "../../../../error-
|
|
7
|
-
import { i as parseQuery, n as parseBody, t as isParseError } from "../../../../parse-
|
|
4
|
+
import "../../../../types-DU4TSFS5.mjs";
|
|
5
|
+
import { n as handleMenuDelete, r as handleMenuGet, u as handleMenuUpdate } from "../../../../menus-SL2K0xq2.mjs";
|
|
6
|
+
import { a as unwrapResult, r as handleError } from "../../../../error-BHkLZk-w.mjs";
|
|
7
|
+
import { i as parseQuery, n as parseBody, t as isParseError } from "../../../../parse-CqyZj3Hp.mjs";
|
|
8
8
|
import { Fn as localeFilterQuery, ct as updateMenuBody } from "../../../../redirects-Dcbuisoj.mjs";
|
|
9
9
|
import "../../../../byline-fields-eyJMblSr.mjs";
|
|
10
10
|
import "../../../../status-vUK0SA17.mjs";
|
|
11
11
|
import "../../../../api/schemas/index.mjs";
|
|
12
|
-
import { n as requirePerm } from "../../../../authorize-
|
|
12
|
+
import { n as requirePerm } from "../../../../authorize-C3a_zGsM.mjs";
|
|
13
13
|
|
|
14
14
|
//#region src/astro/routes/api/menus/[name].ts
|
|
15
15
|
const prerender = false;
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import "../../../../after-B1IIdH3Y.mjs";
|
|
2
2
|
import "../../../../object-cache-CHbHv83-.mjs";
|
|
3
3
|
import "../../../../base64-CmWvODNW.mjs";
|
|
4
|
-
import "../../../../types-
|
|
5
|
-
import { c as handleMenuList, t as handleMenuCreate } from "../../../../menus-
|
|
6
|
-
import { a as unwrapResult, r as handleError } from "../../../../error-
|
|
7
|
-
import { i as parseQuery, n as parseBody, t as isParseError } from "../../../../parse-
|
|
4
|
+
import "../../../../types-DU4TSFS5.mjs";
|
|
5
|
+
import { c as handleMenuList, t as handleMenuCreate } from "../../../../menus-SL2K0xq2.mjs";
|
|
6
|
+
import { a as unwrapResult, r as handleError } from "../../../../error-BHkLZk-w.mjs";
|
|
7
|
+
import { i as parseQuery, n as parseBody, t as isParseError } from "../../../../parse-CqyZj3Hp.mjs";
|
|
8
8
|
import { $ as createMenuBody, Fn as localeFilterQuery } from "../../../../redirects-Dcbuisoj.mjs";
|
|
9
9
|
import "../../../../byline-fields-eyJMblSr.mjs";
|
|
10
10
|
import "../../../../status-vUK0SA17.mjs";
|
|
11
11
|
import "../../../../api/schemas/index.mjs";
|
|
12
|
-
import { n as requirePerm } from "../../../../authorize-
|
|
12
|
+
import { n as requirePerm } from "../../../../authorize-C3a_zGsM.mjs";
|
|
13
13
|
|
|
14
14
|
//#region src/astro/routes/api/menus/index.ts
|
|
15
15
|
const prerender = false;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "../../../../../base64-CmWvODNW.mjs";
|
|
2
|
-
import "../../../../../types-
|
|
3
|
-
import { a as unwrapResult, r as handleError, t as apiError } from "../../../../../error-
|
|
4
|
-
import { n as parseBody, t as isParseError } from "../../../../../parse-
|
|
2
|
+
import "../../../../../types-DU4TSFS5.mjs";
|
|
3
|
+
import { a as unwrapResult, r as handleError, t as apiError } from "../../../../../error-BHkLZk-w.mjs";
|
|
4
|
+
import { n as parseBody, t as isParseError } from "../../../../../parse-CqyZj3Hp.mjs";
|
|
5
5
|
import "../../../../../api-tokens-B4BQybOp.mjs";
|
|
6
6
|
import "../../../../../oauth-user-lookup-SHsWRlG9.mjs";
|
|
7
7
|
import { t as handleDeviceAuthorize } from "../../../../../device-flow-DENDCQ9F.mjs";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import "../../../../../base64-CmWvODNW.mjs";
|
|
2
|
-
import "../../../../../types-
|
|
3
|
-
import { a as unwrapResult, r as handleError, t as apiError } from "../../../../../error-
|
|
4
|
-
import { n as parseBody, t as isParseError } from "../../../../../parse-
|
|
2
|
+
import "../../../../../types-DU4TSFS5.mjs";
|
|
3
|
+
import { a as unwrapResult, r as handleError, t as apiError } from "../../../../../error-BHkLZk-w.mjs";
|
|
4
|
+
import { n as parseBody, t as isParseError } from "../../../../../parse-CqyZj3Hp.mjs";
|
|
5
5
|
import { t as getTrustedProxyHeaders } from "../../../../../trusted-proxy-DZY5WCn2.mjs";
|
|
6
6
|
import { n as getPublicOrigin } from "../../../../../public-url-CTVqgMmg.mjs";
|
|
7
7
|
import "../../../../../api-tokens-B4BQybOp.mjs";
|
|
8
8
|
import "../../../../../oauth-user-lookup-SHsWRlG9.mjs";
|
|
9
9
|
import { n as handleDeviceCodeRequest } from "../../../../../device-flow-DENDCQ9F.mjs";
|
|
10
|
-
import { n as getClientIp, r as rateLimitResponse, t as checkRateLimit } from "../../../../../rate-limit-
|
|
10
|
+
import { n as getClientIp, r as rateLimitResponse, t as checkRateLimit } from "../../../../../rate-limit-BwoUdIpC.mjs";
|
|
11
11
|
import { z } from "zod";
|
|
12
12
|
|
|
13
13
|
//#region src/astro/routes/api/oauth/device/code.ts
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import "../../../../../base64-CmWvODNW.mjs";
|
|
2
|
-
import "../../../../../types-
|
|
3
|
-
import { a as unwrapResult, r as handleError, t as apiError } from "../../../../../error-
|
|
4
|
-
import { n as parseBody, t as isParseError } from "../../../../../parse-
|
|
2
|
+
import "../../../../../types-DU4TSFS5.mjs";
|
|
3
|
+
import { a as unwrapResult, r as handleError, t as apiError } from "../../../../../error-BHkLZk-w.mjs";
|
|
4
|
+
import { n as parseBody, t as isParseError } from "../../../../../parse-CqyZj3Hp.mjs";
|
|
5
5
|
import { t as getTrustedProxyHeaders } from "../../../../../trusted-proxy-DZY5WCn2.mjs";
|
|
6
6
|
import "../../../../../api-tokens-B4BQybOp.mjs";
|
|
7
7
|
import "../../../../../oauth-user-lookup-SHsWRlG9.mjs";
|
|
8
8
|
import { r as handleDeviceTokenExchange } from "../../../../../device-flow-DENDCQ9F.mjs";
|
|
9
|
-
import { n as getClientIp, r as rateLimitResponse, t as checkRateLimit } from "../../../../../rate-limit-
|
|
9
|
+
import { n as getClientIp, r as rateLimitResponse, t as checkRateLimit } from "../../../../../rate-limit-BwoUdIpC.mjs";
|
|
10
10
|
import { z } from "zod";
|
|
11
11
|
|
|
12
12
|
//#region src/astro/routes/api/oauth/device/token.ts
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "../../../../base64-CmWvODNW.mjs";
|
|
2
|
-
import "../../../../types-
|
|
3
|
-
import { r as handleError, t as apiError } from "../../../../error-
|
|
2
|
+
import "../../../../types-DU4TSFS5.mjs";
|
|
3
|
+
import { r as handleError, t as apiError } from "../../../../error-BHkLZk-w.mjs";
|
|
4
4
|
import { t as handleOAuthClientCreate } from "../../../../oauth-clients-C9SYwEbZ.mjs";
|
|
5
5
|
|
|
6
6
|
//#region src/astro/routes/api/oauth/register.ts
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "../../../../../base64-CmWvODNW.mjs";
|
|
2
|
-
import "../../../../../types-
|
|
3
|
-
import { a as unwrapResult, r as handleError, t as apiError } from "../../../../../error-
|
|
4
|
-
import { n as parseBody, t as isParseError } from "../../../../../parse-
|
|
2
|
+
import "../../../../../types-DU4TSFS5.mjs";
|
|
3
|
+
import { a as unwrapResult, r as handleError, t as apiError } from "../../../../../error-BHkLZk-w.mjs";
|
|
4
|
+
import { n as parseBody, t as isParseError } from "../../../../../parse-CqyZj3Hp.mjs";
|
|
5
5
|
import "../../../../../api-tokens-B4BQybOp.mjs";
|
|
6
6
|
import "../../../../../oauth-user-lookup-SHsWRlG9.mjs";
|
|
7
7
|
import { i as handleTokenRefresh } from "../../../../../device-flow-DENDCQ9F.mjs";
|