emdash 0.19.0 → 0.20.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-C5AWLJSD.d.mts → adapters-BzIHV3sw.d.mts} +1 -1
- package/dist/{adapters-C5AWLJSD.d.mts.map → adapters-BzIHV3sw.d.mts.map} +1 -1
- package/dist/{allowed-origins-CyYLEJkp.mjs → allowed-origins-B1u7Qnvg.mjs} +2 -2
- package/dist/{allowed-origins-CyYLEJkp.mjs.map → allowed-origins-B1u7Qnvg.mjs.map} +1 -1
- package/dist/api/route-utils.d.mts +3 -3
- package/dist/api/route-utils.mjs +5 -5
- package/dist/api/schemas/index.d.mts +1 -1
- package/dist/api/schemas/index.mjs +2 -2
- package/dist/{api-BZ6bhjYs.mjs → api-DStv36ik.mjs} +36 -5
- package/dist/api-DStv36ik.mjs.map +1 -0
- package/dist/{api-tokens-VrXNiNvV.mjs → api-tokens-DPfhPu5V.mjs} +2 -2
- package/dist/{api-tokens-VrXNiNvV.mjs.map → api-tokens-DPfhPu5V.mjs.map} +1 -1
- package/dist/{apply-hQkKKBCf.mjs → apply-Dr7snAMT.mjs} +7 -7
- package/dist/{apply-hQkKKBCf.mjs.map → apply-Dr7snAMT.mjs.map} +1 -1
- package/dist/astro/index.d.mts +10 -10
- package/dist/astro/index.mjs +3 -3
- package/dist/astro/middleware/auth.d.mts +9 -9
- package/dist/astro/middleware/auth.mjs +4 -4
- package/dist/astro/middleware/redirect.mjs +1 -1
- package/dist/astro/middleware/request-context.mjs +1 -1
- package/dist/astro/middleware/setup.mjs +1 -1
- package/dist/astro/middleware.d.mts +1 -1
- package/dist/astro/middleware.d.mts.map +1 -1
- package/dist/astro/middleware.mjs +63 -112
- package/dist/astro/middleware.mjs.map +1 -1
- package/dist/astro/routes/api/admin/allowed-domains/_domain_.mjs +2 -2
- package/dist/astro/routes/api/admin/allowed-domains/index.mjs +2 -2
- package/dist/astro/routes/api/admin/api-tokens/_id_.mjs +2 -2
- package/dist/astro/routes/api/admin/api-tokens/index.mjs +2 -2
- package/dist/astro/routes/api/admin/byline-fields/_slug_/usage.mjs +2 -2
- 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 +6 -6
- package/dist/astro/routes/api/admin/bylines/_id_/translations.mjs +6 -6
- package/dist/astro/routes/api/admin/bylines/index.mjs +6 -6
- package/dist/astro/routes/api/admin/comments/_id_/status.mjs +6 -6
- package/dist/astro/routes/api/admin/comments/_id_.mjs +2 -2
- package/dist/astro/routes/api/admin/comments/bulk.mjs +4 -4
- package/dist/astro/routes/api/admin/comments/counts.mjs +2 -2
- package/dist/astro/routes/api/admin/comments/index.mjs +4 -4
- package/dist/astro/routes/api/admin/hooks/exclusive/_hookName_.mjs +1 -1
- package/dist/astro/routes/api/admin/hooks/exclusive/index.mjs +1 -1
- package/dist/astro/routes/api/admin/oauth-clients/_id_.mjs +1 -1
- package/dist/astro/routes/api/admin/oauth-clients/index.mjs +1 -1
- package/dist/astro/routes/api/admin/plugins/_id_/disable.mjs +14 -14
- package/dist/astro/routes/api/admin/plugins/_id_/enable.mjs +14 -14
- package/dist/astro/routes/api/admin/plugins/_id_/index.mjs +14 -14
- package/dist/astro/routes/api/admin/plugins/_id_/uninstall.mjs +14 -14
- package/dist/astro/routes/api/admin/plugins/_id_/update.mjs +14 -14
- package/dist/astro/routes/api/admin/plugins/index.mjs +14 -14
- package/dist/astro/routes/api/admin/plugins/marketplace/_id_/icon.mjs +1 -1
- package/dist/astro/routes/api/admin/plugins/marketplace/_id_/index.mjs +14 -14
- package/dist/astro/routes/api/admin/plugins/marketplace/_id_/install.mjs +14 -14
- package/dist/astro/routes/api/admin/plugins/marketplace/index.mjs +14 -14
- package/dist/astro/routes/api/admin/plugins/registry/_id_/uninstall.mjs +14 -14
- package/dist/astro/routes/api/admin/plugins/registry/_id_/update.mjs +15 -15
- package/dist/astro/routes/api/admin/plugins/registry/artifact.mjs +14 -14
- package/dist/astro/routes/api/admin/plugins/registry/install.mjs +15 -15
- package/dist/astro/routes/api/admin/plugins/updates.mjs +14 -14
- package/dist/astro/routes/api/admin/themes/marketplace/_id_/index.mjs +14 -14
- package/dist/astro/routes/api/admin/themes/marketplace/_id_/thumbnail.mjs +1 -1
- package/dist/astro/routes/api/admin/themes/marketplace/index.mjs +14 -14
- package/dist/astro/routes/api/admin/users/_id_/index.mjs +2 -2
- package/dist/astro/routes/api/admin/users/_id_/send-recovery.mjs +1 -1
- package/dist/astro/routes/api/admin/users/index.mjs +2 -2
- package/dist/astro/routes/api/auth/dev-bypass.mjs +2 -2
- package/dist/astro/routes/api/auth/invite/complete.mjs +6 -6
- package/dist/astro/routes/api/auth/invite/index.mjs +3 -3
- package/dist/astro/routes/api/auth/invite/register-options.mjs +5 -5
- package/dist/astro/routes/api/auth/logout.mjs +1 -1
- package/dist/astro/routes/api/auth/magic-link/send.mjs +4 -4
- package/dist/astro/routes/api/auth/magic-link/verify.mjs +1 -1
- package/dist/astro/routes/api/auth/me.mjs +2 -2
- package/dist/astro/routes/api/auth/mode.mjs +1 -1
- package/dist/astro/routes/api/auth/oauth/_provider_/callback.mjs +3 -3
- package/dist/astro/routes/api/auth/oauth/_provider_.mjs +2 -2
- package/dist/astro/routes/api/auth/passkey/_id_.mjs +2 -2
- package/dist/astro/routes/api/auth/passkey/options.mjs +6 -6
- package/dist/astro/routes/api/auth/passkey/register/options.mjs +5 -5
- package/dist/astro/routes/api/auth/passkey/register/verify.mjs +6 -6
- package/dist/astro/routes/api/auth/passkey/verify.mjs +6 -6
- package/dist/astro/routes/api/auth/signup/complete.mjs +6 -6
- package/dist/astro/routes/api/auth/signup/request.mjs +4 -4
- package/dist/astro/routes/api/comments/_collection_/_contentId_/index.mjs +6 -6
- package/dist/astro/routes/api/content/_collection_/_id_/compare.mjs +1 -1
- package/dist/astro/routes/api/content/_collection_/_id_/discard-draft.mjs +1 -1
- package/dist/astro/routes/api/content/_collection_/_id_/duplicate.mjs +1 -1
- package/dist/astro/routes/api/content/_collection_/_id_/permanent.mjs +1 -1
- package/dist/astro/routes/api/content/_collection_/_id_/preview-url.mjs +4 -4
- package/dist/astro/routes/api/content/_collection_/_id_/publish.mjs +3 -3
- package/dist/astro/routes/api/content/_collection_/_id_/restore.mjs +1 -1
- package/dist/astro/routes/api/content/_collection_/_id_/revisions.mjs +1 -1
- package/dist/astro/routes/api/content/_collection_/_id_/schedule.mjs +3 -3
- package/dist/astro/routes/api/content/_collection_/_id_/terms/_taxonomy_.mjs +5 -5
- package/dist/astro/routes/api/content/_collection_/_id_/translations.mjs +1 -1
- package/dist/astro/routes/api/content/_collection_/_id_/unpublish.mjs +1 -1
- package/dist/astro/routes/api/content/_collection_/_id_.mjs +3 -3
- package/dist/astro/routes/api/content/_collection_/authors.mjs +1 -1
- package/dist/astro/routes/api/content/_collection_/index.mjs +3 -3
- package/dist/astro/routes/api/content/_collection_/trash.mjs +3 -3
- package/dist/astro/routes/api/dashboard.mjs +1 -1
- package/dist/astro/routes/api/import/probe.d.mts +3 -3
- package/dist/astro/routes/api/import/probe.mjs +3 -3
- package/dist/astro/routes/api/import/wordpress/analyze.mjs +1 -1
- package/dist/astro/routes/api/import/wordpress/execute.d.mts +9 -9
- package/dist/astro/routes/api/import/wordpress/execute.mjs +3 -3
- package/dist/astro/routes/api/import/wordpress/media.mjs +3 -3
- package/dist/astro/routes/api/import/wordpress/prepare.mjs +3 -3
- package/dist/astro/routes/api/import/wordpress/rewrite-urls.mjs +3 -3
- package/dist/astro/routes/api/import/wordpress-plugin/analyze.d.mts +1 -1
- package/dist/astro/routes/api/import/wordpress-plugin/analyze.mjs +3 -3
- package/dist/astro/routes/api/import/wordpress-plugin/execute.d.mts +1 -1
- package/dist/astro/routes/api/import/wordpress-plugin/execute.mjs +3 -3
- package/dist/astro/routes/api/manifest.mjs +2 -2
- package/dist/astro/routes/api/mcp.mjs +18 -18
- package/dist/astro/routes/api/media/_id_/confirm.mjs +3 -3
- package/dist/astro/routes/api/media/_id_.mjs +3 -3
- package/dist/astro/routes/api/media/providers/_providerId_/_itemId_.mjs +1 -1
- package/dist/astro/routes/api/media/providers/_providerId_/index.mjs +1 -1
- package/dist/astro/routes/api/media/providers/index.mjs +1 -1
- package/dist/astro/routes/api/media/upload-url.mjs +4 -4
- package/dist/astro/routes/api/media.mjs +4 -4
- package/dist/astro/routes/api/menus/_name_/items/_id_.mjs +3 -3
- package/dist/astro/routes/api/menus/_name_/items.mjs +3 -3
- package/dist/astro/routes/api/menus/_name_/reorder.mjs +3 -3
- package/dist/astro/routes/api/menus/_name_/translations.mjs +3 -3
- package/dist/astro/routes/api/menus/_name_.mjs +3 -3
- package/dist/astro/routes/api/menus/index.mjs +3 -3
- package/dist/astro/routes/api/oauth/authorize.mjs +6 -6
- package/dist/astro/routes/api/oauth/device/authorize.mjs +3 -3
- package/dist/astro/routes/api/oauth/device/code.mjs +5 -5
- package/dist/astro/routes/api/oauth/device/token.mjs +4 -4
- package/dist/astro/routes/api/oauth/register.mjs +1 -1
- 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 +4 -4
- package/dist/astro/routes/api/openapi.json.mjs +1 -1
- package/dist/astro/routes/api/plugins/_pluginId_/_...path_.mjs +2 -2
- package/dist/astro/routes/api/redirects/404s/index.mjs +4 -4
- package/dist/astro/routes/api/redirects/404s/summary.mjs +4 -4
- package/dist/astro/routes/api/redirects/_id_.mjs +4 -4
- package/dist/astro/routes/api/redirects/index.mjs +4 -4
- package/dist/astro/routes/api/revisions/_revisionId_/index.mjs +1 -1
- package/dist/astro/routes/api/revisions/_revisionId_/restore.mjs +1 -1
- package/dist/astro/routes/api/schema/collections/_slug_/fields/_fieldSlug_.mjs +14 -14
- package/dist/astro/routes/api/schema/collections/_slug_/fields/index.mjs +14 -14
- package/dist/astro/routes/api/schema/collections/_slug_/fields/reorder.mjs +14 -14
- package/dist/astro/routes/api/schema/collections/_slug_/index.mjs +14 -14
- package/dist/astro/routes/api/schema/collections/index.mjs +14 -14
- package/dist/astro/routes/api/schema/index.mjs +5 -10
- package/dist/astro/routes/api/schema/index.mjs.map +1 -1
- package/dist/astro/routes/api/schema/orphans/_slug_.mjs +14 -14
- package/dist/astro/routes/api/schema/orphans/index.mjs +14 -14
- package/dist/astro/routes/api/search/enable.mjs +5 -5
- package/dist/astro/routes/api/search/index.mjs +4 -4
- package/dist/astro/routes/api/search/rebuild.mjs +5 -5
- package/dist/astro/routes/api/search/stats.mjs +3 -3
- package/dist/astro/routes/api/search/suggest.mjs +4 -4
- package/dist/astro/routes/api/sections/_slug_.mjs +5 -5
- package/dist/astro/routes/api/sections/index.mjs +5 -5
- package/dist/astro/routes/api/settings/email.mjs +1 -1
- package/dist/astro/routes/api/settings.mjs +6 -6
- package/dist/astro/routes/api/setup/admin-verify.mjs +7 -7
- package/dist/astro/routes/api/setup/admin.mjs +6 -6
- package/dist/astro/routes/api/setup/dev-bypass.mjs +10 -10
- package/dist/astro/routes/api/setup/index.mjs +9 -9
- package/dist/astro/routes/api/setup/status.mjs +2 -2
- package/dist/astro/routes/api/snapshot.mjs +3 -3
- package/dist/astro/routes/api/taxonomies/_name_/terms/_slug_/translations.mjs +6 -6
- package/dist/astro/routes/api/taxonomies/_name_/terms/_slug_.mjs +6 -6
- package/dist/astro/routes/api/taxonomies/_name_/terms/index.mjs +6 -6
- package/dist/astro/routes/api/taxonomies/index.mjs +6 -6
- package/dist/astro/routes/api/themes/preview.mjs +3 -3
- package/dist/astro/routes/api/well-known/auth.mjs +1 -1
- package/dist/astro/routes/api/well-known/oauth-authorization-server.mjs +2 -2
- package/dist/astro/routes/api/well-known/oauth-protected-resource.mjs +2 -2
- package/dist/astro/routes/api/widget-areas/_name_/reorder.mjs +3 -3
- package/dist/astro/routes/api/widget-areas/_name_/widgets/_id_.mjs +6 -5
- package/dist/astro/routes/api/widget-areas/_name_/widgets/_id_.mjs.map +1 -1
- package/dist/astro/routes/api/widget-areas/_name_/widgets.mjs +6 -5
- package/dist/astro/routes/api/widget-areas/_name_/widgets.mjs.map +1 -1
- package/dist/astro/routes/api/widget-areas/_name_.mjs +4 -3
- package/dist/astro/routes/api/widget-areas/_name_.mjs.map +1 -1
- package/dist/astro/routes/api/widget-areas/index.mjs +6 -5
- package/dist/astro/routes/api/widget-areas/index.mjs.map +1 -1
- package/dist/astro/routes/api/widget-components.mjs +1 -1
- package/dist/astro/routes/robots.txt.mjs +3 -3
- package/dist/astro/routes/sitemap-_collection_.xml.d.mts.map +1 -1
- package/dist/astro/routes/sitemap-_collection_.xml.mjs +12 -5
- package/dist/astro/routes/sitemap-_collection_.xml.mjs.map +1 -1
- package/dist/astro/routes/sitemap.xml.mjs +4 -4
- package/dist/astro/types.d.mts +12 -12
- package/dist/auth/providers/github.d.mts +1 -1
- package/dist/auth/providers/google.d.mts +1 -1
- package/dist/{authorize-C_8t2KGa.mjs → authorize-DsMSVSaY.mjs} +1 -1
- package/dist/{authorize-C_8t2KGa.mjs.map → authorize-DsMSVSaY.mjs.map} +1 -1
- package/dist/{byline-fields-C_OsR-KF.mjs → byline-fields--WxSNS79.mjs} +1 -1
- package/dist/{byline-fields-C_OsR-KF.mjs.map → byline-fields--WxSNS79.mjs.map} +1 -1
- package/dist/{byline-fields-51kg6Vuv.mjs → byline-fields-8TMtkBnH.mjs} +2 -2
- package/dist/{byline-fields-51kg6Vuv.mjs.map → byline-fields-8TMtkBnH.mjs.map} +1 -1
- package/dist/{byline-fields-DYXKDuNX.d.mts → byline-fields-DbibsvTl.d.mts} +5 -1
- package/dist/byline-fields-DbibsvTl.d.mts.map +1 -0
- package/dist/{bylines-Cx5n-WqP.mjs → bylines-BdxWCnPL.mjs} +1 -1
- package/dist/{bylines-Cx5n-WqP.mjs.map → bylines-BdxWCnPL.mjs.map} +1 -1
- package/dist/{bylines-wurS258E.mjs → bylines-s8c2DXbH.mjs} +3 -3
- package/dist/{bylines-wurS258E.mjs.map → bylines-s8c2DXbH.mjs.map} +1 -1
- package/dist/{challenge-store-DGwuCc4R.mjs → challenge-store-DXX3rfdI.mjs} +1 -1
- package/dist/{challenge-store-DGwuCc4R.mjs.map → challenge-store-DXX3rfdI.mjs.map} +1 -1
- package/dist/cli/index.mjs +11 -10
- 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/client/index.mjs +1 -1
- package/dist/{comments-CJ0RZsYR.mjs → comments-Vkivawyl.mjs} +1 -1
- package/dist/{comments-CJ0RZsYR.mjs.map → comments-Vkivawyl.mjs.map} +1 -1
- package/dist/{components-CTfpu3PZ.mjs → components-CK0cuUoH.mjs} +1 -1
- package/dist/{components-CTfpu3PZ.mjs.map → components-CK0cuUoH.mjs.map} +1 -1
- package/dist/{context-GG52SPgh.mjs → context-Y7BRkWes.mjs} +2 -2
- package/dist/{context-GG52SPgh.mjs.map → context-Y7BRkWes.mjs.map} +1 -1
- package/dist/database/instrumentation.d.mts +10 -1
- package/dist/database/instrumentation.d.mts.map +1 -1
- package/dist/database/instrumentation.mjs +13 -1
- package/dist/database/instrumentation.mjs.map +1 -1
- package/dist/db/index.d.mts +3 -3
- 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/{default-xLFNSsZ9.mjs → default-IlBaTFxM.mjs} +1 -1
- package/dist/{default-xLFNSsZ9.mjs.map → default-IlBaTFxM.mjs.map} +1 -1
- package/dist/{device-flow-s6_q3T7A.mjs → device-flow-R23SIbQ2.mjs} +4 -4
- package/dist/{device-flow-s6_q3T7A.mjs.map → device-flow-R23SIbQ2.mjs.map} +1 -1
- package/dist/{escape-bIyGoW5W.mjs → escape-Ds07EEyu.mjs} +1 -1
- package/dist/{escape-bIyGoW5W.mjs.map → escape-Ds07EEyu.mjs.map} +1 -1
- package/dist/{index-FfiTQJq2.d.mts → index-B1keaX5Y.d.mts} +43 -12
- package/dist/{index-FfiTQJq2.d.mts.map → index-B1keaX5Y.d.mts.map} +1 -1
- package/dist/{index-BpYeJO1E.d.mts → index-DR56od45.d.mts} +3 -3
- package/dist/{index-BpYeJO1E.d.mts.map → index-DR56od45.d.mts.map} +1 -1
- package/dist/index.d.mts +16 -16
- package/dist/index.mjs +22 -22
- package/dist/{load-B84ohfBk.mjs → load-BBetCvLC.mjs} +1 -1
- package/dist/{load-B84ohfBk.mjs.map → load-BBetCvLC.mjs.map} +1 -1
- package/dist/{loader-CpZKpFz0.mjs → loader-ZN1ll-d-.mjs} +11 -14
- package/dist/loader-ZN1ll-d-.mjs.map +1 -0
- package/dist/{manifest-schema-Cj-YrzrF.mjs → manifest-schema-BtwbL_vj.mjs} +55 -2
- package/dist/manifest-schema-BtwbL_vj.mjs.map +1 -0
- package/dist/media/index.d.mts +1 -1
- package/dist/media/local-runtime.d.mts +11 -11
- package/dist/media/local-runtime.mjs +2 -2
- package/dist/{media-allowlist-CMcoYIjQ.mjs → media-allowlist-Dknq-OFY.mjs} +1 -1
- package/dist/{media-allowlist-CMcoYIjQ.mjs.map → media-allowlist-Dknq-OFY.mjs.map} +1 -1
- package/dist/media-url-VClf8glU.mjs +26 -0
- package/dist/media-url-VClf8glU.mjs.map +1 -0
- package/dist/{menus-Dp9xporj.mjs → menus-DrQLusqj.mjs} +6 -33
- package/dist/menus-DrQLusqj.mjs.map +1 -0
- package/dist/{mode-BjlXswIw.mjs → mode-CO2vQHfq.mjs} +1 -1
- package/dist/{mode-BjlXswIw.mjs.map → mode-CO2vQHfq.mjs.map} +1 -1
- package/dist/{oauth-authorization-1aPAYjiC.mjs → oauth-authorization-Bw4NdF_S.mjs} +4 -4
- package/dist/{oauth-authorization-1aPAYjiC.mjs.map → oauth-authorization-Bw4NdF_S.mjs.map} +1 -1
- package/dist/{oauth-clients-8mPDStMv.mjs → oauth-clients-BGGFp57s.mjs} +1 -1
- package/dist/{oauth-clients-8mPDStMv.mjs.map → oauth-clients-BGGFp57s.mjs.map} +1 -1
- package/dist/{oauth-state-store-BJ7YtrfD.mjs → oauth-state-store-97x0xtN2.mjs} +1 -1
- package/dist/{oauth-state-store-BJ7YtrfD.mjs.map → oauth-state-store-97x0xtN2.mjs.map} +1 -1
- package/dist/{oauth-user-lookup-BdDSDvjF.mjs → oauth-user-lookup-B_vnZHKO.mjs} +1 -1
- package/dist/{oauth-user-lookup-BdDSDvjF.mjs.map → oauth-user-lookup-B_vnZHKO.mjs.map} +1 -1
- package/dist/{options-D4MnavW_.d.mts → options-DyYIYpPd.d.mts} +3 -3
- package/dist/{options-D4MnavW_.d.mts.map → options-DyYIYpPd.d.mts.map} +1 -1
- package/dist/page/index.d.mts +2 -2
- package/dist/{passkey-config-BDVM86Tj.mjs → passkey-config-C3QgnQnU.mjs} +1 -1
- package/dist/{passkey-config-BDVM86Tj.mjs.map → passkey-config-C3QgnQnU.mjs.map} +1 -1
- package/dist/{placeholder-B9lUUEmj.d.mts → placeholder-CVBv5z8k.d.mts} +1 -1
- package/dist/{placeholder-B9lUUEmj.d.mts.map → placeholder-CVBv5z8k.d.mts.map} +1 -1
- package/dist/plugin-types.d.mts +1 -1
- package/dist/plugin-utils.d.mts +9 -9
- package/dist/plugins/adapt-sandbox-entry.d.mts +9 -9
- package/dist/plugins/adapt-sandbox-entry.mjs +2 -2
- package/dist/{public-url-egRHCy1m.mjs → public-url-BFVC2OTJ.mjs} +1 -1
- package/dist/{public-url-egRHCy1m.mjs.map → public-url-BFVC2OTJ.mjs.map} +1 -1
- package/dist/{query-BFQ029Ts.mjs → query-CbUcI4Xk.mjs} +18 -8
- package/dist/query-CbUcI4Xk.mjs.map +1 -0
- package/dist/{rate-limit-ClFFUga6.mjs → rate-limit-C7hjdkS5.mjs} +1 -1
- package/dist/{rate-limit-ClFFUga6.mjs.map → rate-limit-C7hjdkS5.mjs.map} +1 -1
- package/dist/{redirect-Cw3JTlmj.mjs → redirect-B_q19j4v.mjs} +1 -1
- package/dist/{redirect-Cw3JTlmj.mjs.map → redirect-B_q19j4v.mjs.map} +1 -1
- package/dist/{redirects-DEygMrRO.mjs → redirects-CCbCqCCd.mjs} +4 -2
- package/dist/redirects-CCbCqCCd.mjs.map +1 -0
- package/dist/{redirects-OIu6vQ2i.mjs → redirects-DxVoR7PI.mjs} +1 -1
- package/dist/{redirects-OIu6vQ2i.mjs.map → redirects-DxVoR7PI.mjs.map} +1 -1
- package/dist/request-context.d.mts +7 -0
- package/dist/request-context.d.mts.map +1 -1
- package/dist/request-context.mjs +2 -1
- package/dist/request-context.mjs.map +1 -1
- package/dist/{runner-BcRuXq_h.d.mts → runner-DTdhuI9i.d.mts} +2 -2
- package/dist/{runner-BcRuXq_h.d.mts.map → runner-DTdhuI9i.d.mts.map} +1 -1
- package/dist/runtime.d.mts +10 -10
- package/dist/runtime.mjs +1 -1
- package/dist/{schema-CS7Eg5gh.mjs → schema-C1E70ug_.mjs} +2 -2
- package/dist/{schema-CS7Eg5gh.mjs.map → schema-C1E70ug_.mjs.map} +1 -1
- package/dist/{search-o-aQzHI1.mjs → search-B3SGZw91.mjs} +2 -2
- package/dist/{search-o-aQzHI1.mjs.map → search-B3SGZw91.mjs.map} +1 -1
- package/dist/{secrets-C_ZtRos3.mjs → secrets-ChPTmy9x.mjs} +1 -1
- package/dist/{secrets-C_ZtRos3.mjs.map → secrets-ChPTmy9x.mjs.map} +1 -1
- package/dist/{sections-DhsZ0ns9.mjs → sections-D_lVzwRZ.mjs} +2 -2
- package/dist/{sections-DhsZ0ns9.mjs.map → sections-D_lVzwRZ.mjs.map} +1 -1
- package/dist/seed/index.d.mts +2 -2
- package/dist/seed/index.mjs +6 -6
- package/dist/seo/index.d.mts +1 -1
- package/dist/seo/index.d.mts.map +1 -1
- package/dist/seo/index.mjs +3 -12
- package/dist/seo/index.mjs.map +1 -1
- package/dist/{seo-DfjLvu8i.mjs → seo-D_LPkOtu.mjs} +4 -3
- package/dist/seo-D_LPkOtu.mjs.map +1 -0
- package/dist/{service-DAxg8RPR.mjs → service-ChDcsTBs.mjs} +2 -2
- package/dist/{service-DAxg8RPR.mjs.map → service-ChDcsTBs.mjs.map} +1 -1
- package/dist/{settings-DIsbHTRE.mjs → settings-Cv47v9u8.mjs} +2 -2
- package/dist/{settings-DIsbHTRE.mjs.map → settings-Cv47v9u8.mjs.map} +1 -1
- package/dist/settings-DfxiWY_s.mjs +411 -0
- package/dist/settings-DfxiWY_s.mjs.map +1 -0
- package/dist/{setup-complete-Yuv78yua.mjs → setup-complete-yvPE4OsP.mjs} +1 -1
- package/dist/{setup-complete-Yuv78yua.mjs.map → setup-complete-yvPE4OsP.mjs.map} +1 -1
- package/dist/{setup-nonce-Bm0uKqmf.mjs → setup-nonce-C9aFzb94.mjs} +1 -1
- package/dist/{setup-nonce-Bm0uKqmf.mjs.map → setup-nonce-C9aFzb94.mjs.map} +1 -1
- package/dist/{site-url-mEVmwIFi.mjs → site-url-CnHlmAs9.mjs} +1 -1
- package/dist/{site-url-mEVmwIFi.mjs.map → site-url-CnHlmAs9.mjs.map} +1 -1
- package/dist/storage/local.d.mts +1 -1
- package/dist/storage/s3.d.mts +1 -1
- package/dist/{taxonomies-UusDXv3C.mjs → taxonomies-BILwiyGk.mjs} +2 -2
- package/dist/{taxonomies-UusDXv3C.mjs.map → taxonomies-BILwiyGk.mjs.map} +1 -1
- package/dist/{taxonomies-BEW7S5AI.mjs → taxonomies-BdAmbOwx.mjs} +46 -9
- package/dist/taxonomies-BdAmbOwx.mjs.map +1 -0
- package/dist/{transport-BwQeeY2p.d.mts → transport-B7PPP2CC.d.mts} +1 -1
- package/dist/{transport-BwQeeY2p.d.mts.map → transport-B7PPP2CC.d.mts.map} +1 -1
- package/dist/{transport--Ck3RBin.mjs → transport-CmpLD7W3.mjs} +1 -1
- package/dist/{transport--Ck3RBin.mjs.map → transport-CmpLD7W3.mjs.map} +1 -1
- package/dist/{types-DWnN7weG.d.mts → types-BFgrqwSk.d.mts} +1 -1
- package/dist/{types-DWnN7weG.d.mts.map → types-BFgrqwSk.d.mts.map} +1 -1
- package/dist/{types-Qa7-HJJC.d.mts → types-BH8-30hc.d.mts} +1 -1
- package/dist/{types-Qa7-HJJC.d.mts.map → types-BH8-30hc.d.mts.map} +1 -1
- package/dist/{types-OT_Es5mp.d.mts → types-BPzXTV9x.d.mts} +1 -1
- package/dist/{types-OT_Es5mp.d.mts.map → types-BPzXTV9x.d.mts.map} +1 -1
- package/dist/{types-DbCWhHet.d.mts → types-BUUVn1zr.d.mts} +2 -2
- package/dist/types-BUUVn1zr.d.mts.map +1 -0
- package/dist/{types-DMwSpvcw.d.mts → types-CPAPl93j.d.mts} +9 -3
- package/dist/{types-DMwSpvcw.d.mts.map → types-CPAPl93j.d.mts.map} +1 -1
- package/dist/types-CZI4E3qG.mjs +3 -0
- package/dist/{types-kwqCOUxj.d.mts → types-D4kUqbHh.d.mts} +1 -1
- package/dist/{types-kwqCOUxj.d.mts.map → types-D4kUqbHh.d.mts.map} +1 -1
- package/dist/{types-WVmpZBJV.d.mts → types-DTniiNto.d.mts} +2 -2
- package/dist/{types-WVmpZBJV.d.mts.map → types-DTniiNto.d.mts.map} +1 -1
- package/dist/types-DZk_y-MU.mjs.map +1 -1
- package/dist/{types-DX6v9KzJ.d.mts → types-S15DXXNi.d.mts} +1 -1
- package/dist/{types-DX6v9KzJ.d.mts.map → types-S15DXXNi.d.mts.map} +1 -1
- package/dist/{validate-ZP9Dvg0P.mjs → validate-Bz4vqcX1.mjs} +1 -1
- package/dist/{validate-ZP9Dvg0P.mjs.map → validate-Bz4vqcX1.mjs.map} +1 -1
- package/dist/{validate-BPAHUSge.d.mts → validate-CNwkPWzz.d.mts} +5 -5
- package/dist/{validate-BPAHUSge.d.mts.map → validate-CNwkPWzz.d.mts.map} +1 -1
- package/dist/{validation-CE5i4q0c.mjs → validation-DgGTJm3u.mjs} +1 -1
- package/dist/{validation-CE5i4q0c.mjs.map → validation-DgGTJm3u.mjs.map} +1 -1
- package/dist/version-D-5txk2m.mjs +7 -0
- package/dist/{version-Dw0JXu45.mjs.map → version-D-5txk2m.mjs.map} +1 -1
- package/dist/{widgets-ClEnYQCH.mjs → widgets-DZfmAbE4.mjs} +47 -44
- package/dist/widgets-DZfmAbE4.mjs.map +1 -0
- package/package.json +10 -10
- package/src/api/handlers/marketplace.ts +2 -5
- package/src/api/handlers/registry.ts +70 -0
- package/src/api/handlers/seo.ts +9 -1
- package/src/api/schemas/schema.ts +13 -1
- package/src/astro/middleware.ts +20 -6
- package/src/astro/routes/api/schema/index.ts +7 -15
- package/src/astro/routes/sitemap-[collection].xml.ts +13 -2
- package/src/cli/commands/bundle-utils.ts +2 -0
- package/src/cli/commands/secrets.ts +2 -2
- package/src/database/instrumentation.ts +13 -0
- package/src/emdash-runtime.ts +31 -25
- package/src/loader.ts +24 -15
- package/src/plugins/manifest-schema.ts +75 -0
- package/src/plugins/marketplace.ts +2 -5
- package/src/plugins/types.ts +12 -0
- package/src/query.ts +13 -2
- package/src/request-context.ts +8 -0
- package/src/schema/types.ts +11 -1
- package/src/seo/index.ts +2 -28
- package/src/seo/media-url.ts +32 -0
- package/src/settings/index.ts +32 -40
- package/src/taxonomies/index.ts +78 -12
- package/src/utils/isolate-cache.ts +189 -0
- package/src/widgets/index.ts +57 -54
- package/dist/api-BZ6bhjYs.mjs.map +0 -1
- package/dist/byline-fields-DYXKDuNX.d.mts.map +0 -1
- package/dist/loader-CpZKpFz0.mjs.map +0 -1
- package/dist/manifest-schema-Cj-YrzrF.mjs.map +0 -1
- package/dist/menus-Dp9xporj.mjs.map +0 -1
- package/dist/query-BFQ029Ts.mjs.map +0 -1
- package/dist/redirects-DEygMrRO.mjs.map +0 -1
- package/dist/seo-DfjLvu8i.mjs.map +0 -1
- package/dist/settings-B1p-gPUK.mjs +0 -235
- package/dist/settings-B1p-gPUK.mjs.map +0 -1
- package/dist/taxonomies-BEW7S5AI.mjs.map +0 -1
- package/dist/types-Cj2S6FuC.mjs +0 -3
- package/dist/types-DbCWhHet.d.mts.map +0 -1
- package/dist/version-Dw0JXu45.mjs +0 -7
- package/dist/widgets-ClEnYQCH.mjs.map +0 -1
- /package/dist/{api-tokens-B6VgoE6M.mjs → api-tokens-Oq39ba-Z.mjs} +0 -0
|
@@ -4,10 +4,10 @@ import "../../../../../types-BXSUSAjt.mjs";
|
|
|
4
4
|
import { n as normalizeMediaValue } from "../../../../../normalize-CK5o04zr.mjs";
|
|
5
5
|
import { n as apiSuccess, r as handleError, t as apiError } from "../../../../../error-RwM4dD35.mjs";
|
|
6
6
|
import { n as parseBody, t as isParseError } from "../../../../../parse-CrGndy1A.mjs";
|
|
7
|
-
import "../../../../../redirects-
|
|
8
|
-
import { _ as wpRewriteUrlsBody } from "../../../../../byline-fields-
|
|
7
|
+
import "../../../../../redirects-CCbCqCCd.mjs";
|
|
8
|
+
import { _ as wpRewriteUrlsBody } from "../../../../../byline-fields-8TMtkBnH.mjs";
|
|
9
9
|
import "../../../../../api/schemas/index.mjs";
|
|
10
|
-
import { n as requirePerm } from "../../../../../authorize-
|
|
10
|
+
import { n as requirePerm } from "../../../../../authorize-DsMSVSaY.mjs";
|
|
11
11
|
import { buildBaseUrlMap, extractMediaUrl, findMatchingUrl, rewritePortableTextUrls, rewriteStringUrls } from "./rewrite-url-helpers.mjs";
|
|
12
12
|
import { sql } from "kysely";
|
|
13
13
|
|
|
@@ -3,13 +3,13 @@ import "../../../../../types-BXSUSAjt.mjs";
|
|
|
3
3
|
import { n as resolveAndValidateExternalUrl, t as SsrfError } from "../../../../../ssrf-BsVGIE0Z.mjs";
|
|
4
4
|
import { n as apiSuccess, r as handleError, t as apiError } from "../../../../../error-RwM4dD35.mjs";
|
|
5
5
|
import { n as parseBody, t as isParseError } from "../../../../../parse-CrGndy1A.mjs";
|
|
6
|
-
import "../../../../../redirects-
|
|
7
|
-
import { m as wpPluginAnalyzeBody } from "../../../../../byline-fields-
|
|
6
|
+
import "../../../../../redirects-CCbCqCCd.mjs";
|
|
7
|
+
import { m as wpPluginAnalyzeBody } from "../../../../../byline-fields-8TMtkBnH.mjs";
|
|
8
8
|
import "../../../../../api/schemas/index.mjs";
|
|
9
9
|
import { s as getSource } from "../../../../../import-Dh8bWmyq.mjs";
|
|
10
10
|
import "../../../../../ssrf-BvgVcfNQ.mjs";
|
|
11
11
|
import "../../../../../utils-C4Ih4DML.mjs";
|
|
12
|
-
import { n as requirePerm } from "../../../../../authorize-
|
|
12
|
+
import { n as requirePerm } from "../../../../../authorize-DsMSVSaY.mjs";
|
|
13
13
|
import { SchemaRegistry } from "emdash";
|
|
14
14
|
|
|
15
15
|
//#region src/astro/routes/api/import/wordpress-plugin/analyze.ts
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { s as ImportConfig, u as ImportResult } from "../../../../../types-
|
|
1
|
+
import { s as ImportConfig, u as ImportResult } from "../../../../../types-BFgrqwSk.mjs";
|
|
2
2
|
import { APIRoute } from "astro";
|
|
3
3
|
|
|
4
4
|
//#region src/astro/routes/api/import/wordpress-plugin/execute.d.ts
|
|
@@ -8,13 +8,13 @@ import { t as BylineRepository } from "../../../../../byline-DUx48sJp.mjs";
|
|
|
8
8
|
import { n as resolveAndValidateExternalUrl, t as SsrfError } from "../../../../../ssrf-BsVGIE0Z.mjs";
|
|
9
9
|
import { n as apiSuccess, r as handleError, t as apiError } from "../../../../../error-RwM4dD35.mjs";
|
|
10
10
|
import { n as parseBody, t as isParseError } from "../../../../../parse-CrGndy1A.mjs";
|
|
11
|
-
import "../../../../../redirects-
|
|
12
|
-
import { h as wpPluginExecuteBody } from "../../../../../byline-fields-
|
|
11
|
+
import "../../../../../redirects-CCbCqCCd.mjs";
|
|
12
|
+
import { h as wpPluginExecuteBody } from "../../../../../byline-fields-8TMtkBnH.mjs";
|
|
13
13
|
import "../../../../../api/schemas/index.mjs";
|
|
14
14
|
import { s as getSource } from "../../../../../import-Dh8bWmyq.mjs";
|
|
15
15
|
import "../../../../../ssrf-BvgVcfNQ.mjs";
|
|
16
16
|
import { m as resolveImportByline } from "../../../../../utils-C4Ih4DML.mjs";
|
|
17
|
-
import { n as requirePerm } from "../../../../../authorize-
|
|
17
|
+
import { n as requirePerm } from "../../../../../authorize-DsMSVSaY.mjs";
|
|
18
18
|
import { ContentRepository, SchemaRegistry } from "emdash";
|
|
19
19
|
|
|
20
20
|
//#region src/astro/routes/api/import/wordpress-plugin/execute.ts
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import "../../../base64-CqR-7kqF.mjs";
|
|
2
2
|
import "../../../types-BXSUSAjt.mjs";
|
|
3
3
|
import { r as handleError } from "../../../error-RwM4dD35.mjs";
|
|
4
|
-
import { n as VERSION, t as COMMIT } from "../../../version-
|
|
5
|
-
import { t as getAuthMode } from "../../../mode-
|
|
4
|
+
import { n as VERSION, t as COMMIT } from "../../../version-D-5txk2m.mjs";
|
|
5
|
+
import { t as getAuthMode } from "../../../mode-CO2vQHfq.mjs";
|
|
6
6
|
|
|
7
7
|
//#region src/astro/routes/api/manifest.ts
|
|
8
8
|
const prerender = false;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import "../../../base64-CqR-7kqF.mjs";
|
|
2
2
|
import "../../../types-BXSUSAjt.mjs";
|
|
3
3
|
import { t as apiError } from "../../../error-RwM4dD35.mjs";
|
|
4
|
-
import { En as contentBylineInputSchema, ln as contentSeoInput } from "../../../redirects-
|
|
5
|
-
import "../../../byline-fields-
|
|
4
|
+
import { En as contentBylineInputSchema, ln as contentSeoInput } from "../../../redirects-CCbCqCCd.mjs";
|
|
5
|
+
import "../../../byline-fields-8TMtkBnH.mjs";
|
|
6
6
|
import "../../../api/schemas/index.mjs";
|
|
7
|
-
import { i as hasScope } from "../../../api-tokens-
|
|
7
|
+
import { i as hasScope } from "../../../api-tokens-Oq39ba-Z.mjs";
|
|
8
8
|
import { z } from "zod";
|
|
9
9
|
import { Role, canActOnOwn, hasPermission } from "@emdash-cms/auth";
|
|
10
10
|
import { WebStandardStreamableHTTPServerTransport } from "@modelcontextprotocol/sdk/server/webStandardStreamableHttp.js";
|
|
@@ -645,7 +645,7 @@ function createMcpServer() {
|
|
|
645
645
|
requireRole(extra, Role.EDITOR);
|
|
646
646
|
const ec = getEmDash(extra);
|
|
647
647
|
try {
|
|
648
|
-
const { SchemaRegistry } = await import("../../../schema-
|
|
648
|
+
const { SchemaRegistry } = await import("../../../schema-C1E70ug_.mjs").then((n) => n.t);
|
|
649
649
|
return jsonResult({ items: await new SchemaRegistry(ec.db).listCollections() });
|
|
650
650
|
} catch (error) {
|
|
651
651
|
return respondHandlerError(error, "SCHEMA_LIST_ERROR");
|
|
@@ -661,7 +661,7 @@ function createMcpServer() {
|
|
|
661
661
|
requireRole(extra, Role.EDITOR);
|
|
662
662
|
const ec = getEmDash(extra);
|
|
663
663
|
try {
|
|
664
|
-
const { SchemaRegistry } = await import("../../../schema-
|
|
664
|
+
const { SchemaRegistry } = await import("../../../schema-C1E70ug_.mjs").then((n) => n.t);
|
|
665
665
|
const collection = await new SchemaRegistry(ec.db).getCollectionWithFields(args.slug);
|
|
666
666
|
if (!collection) return respondError("NOT_FOUND", `Collection '${args.slug}' not found`);
|
|
667
667
|
return jsonResult(collection);
|
|
@@ -691,7 +691,7 @@ function createMcpServer() {
|
|
|
691
691
|
requireRole(extra, Role.ADMIN);
|
|
692
692
|
const ec = getEmDash(extra);
|
|
693
693
|
try {
|
|
694
|
-
const { SchemaRegistry } = await import("../../../schema-
|
|
694
|
+
const { SchemaRegistry } = await import("../../../schema-C1E70ug_.mjs").then((n) => n.t);
|
|
695
695
|
const collection = await new SchemaRegistry(ec.db).createCollection({
|
|
696
696
|
slug: args.slug,
|
|
697
697
|
label: args.label,
|
|
@@ -719,7 +719,7 @@ function createMcpServer() {
|
|
|
719
719
|
requireRole(extra, Role.ADMIN);
|
|
720
720
|
const ec = getEmDash(extra);
|
|
721
721
|
try {
|
|
722
|
-
const { SchemaRegistry } = await import("../../../schema-
|
|
722
|
+
const { SchemaRegistry } = await import("../../../schema-C1E70ug_.mjs").then((n) => n.t);
|
|
723
723
|
await new SchemaRegistry(ec.db).deleteCollection(args.slug, { force: args.force });
|
|
724
724
|
ec.invalidateUrlPatternCache();
|
|
725
725
|
return jsonResult({ deleted: args.slug });
|
|
@@ -773,7 +773,7 @@ function createMcpServer() {
|
|
|
773
773
|
requireRole(extra, Role.ADMIN);
|
|
774
774
|
const ec = getEmDash(extra);
|
|
775
775
|
try {
|
|
776
|
-
const { SchemaRegistry } = await import("../../../schema-
|
|
776
|
+
const { SchemaRegistry } = await import("../../../schema-C1E70ug_.mjs").then((n) => n.t);
|
|
777
777
|
return jsonResult(await new SchemaRegistry(ec.db).createField(args.collection, {
|
|
778
778
|
slug: args.slug,
|
|
779
779
|
label: args.label,
|
|
@@ -803,7 +803,7 @@ function createMcpServer() {
|
|
|
803
803
|
requireRole(extra, Role.ADMIN);
|
|
804
804
|
const ec = getEmDash(extra);
|
|
805
805
|
try {
|
|
806
|
-
const { SchemaRegistry } = await import("../../../schema-
|
|
806
|
+
const { SchemaRegistry } = await import("../../../schema-C1E70ug_.mjs").then((n) => n.t);
|
|
807
807
|
await new SchemaRegistry(ec.db).deleteField(args.collection, args.fieldSlug);
|
|
808
808
|
return jsonResult({
|
|
809
809
|
deleted: args.fieldSlug,
|
|
@@ -924,7 +924,7 @@ function createMcpServer() {
|
|
|
924
924
|
requireScope(extra, "content:read");
|
|
925
925
|
const ec = getEmDash(extra);
|
|
926
926
|
try {
|
|
927
|
-
const { searchWithDb } = await import("../../../search-
|
|
927
|
+
const { searchWithDb } = await import("../../../search-B3SGZw91.mjs").then((n) => n.t);
|
|
928
928
|
return jsonResult(await searchWithDb(ec.db, args.query, {
|
|
929
929
|
collections: args.collections,
|
|
930
930
|
locale: args.locale,
|
|
@@ -943,7 +943,7 @@ function createMcpServer() {
|
|
|
943
943
|
requireScope(extra, "content:read");
|
|
944
944
|
const ec = getEmDash(extra);
|
|
945
945
|
try {
|
|
946
|
-
const { handleTaxonomyList } = await import("../../../taxonomies-
|
|
946
|
+
const { handleTaxonomyList } = await import("../../../taxonomies-BILwiyGk.mjs").then((n) => n.l);
|
|
947
947
|
return unwrap(await handleTaxonomyList(ec.db, { locale: args.locale }));
|
|
948
948
|
} catch (error) {
|
|
949
949
|
return respondHandlerError(error, "TAXONOMY_LIST_ERROR");
|
|
@@ -963,7 +963,7 @@ function createMcpServer() {
|
|
|
963
963
|
requireScope(extra, "content:read");
|
|
964
964
|
const ec = getEmDash(extra);
|
|
965
965
|
try {
|
|
966
|
-
const { handleTaxonomyList } = await import("../../../taxonomies-
|
|
966
|
+
const { handleTaxonomyList } = await import("../../../taxonomies-BILwiyGk.mjs").then((n) => n.l);
|
|
967
967
|
const listResult = await handleTaxonomyList(ec.db, { locale: args.locale });
|
|
968
968
|
if (!listResult.success) return unwrap(listResult);
|
|
969
969
|
if (!listResult.data.taxonomies.find((t) => t.name === args.taxonomy)) return respondError("NOT_FOUND", `Taxonomy '${args.taxonomy}' not found`);
|
|
@@ -1022,7 +1022,7 @@ function createMcpServer() {
|
|
|
1022
1022
|
requireRole(extra, Role.EDITOR);
|
|
1023
1023
|
const ec = getEmDash(extra);
|
|
1024
1024
|
try {
|
|
1025
|
-
const { handleTermCreate } = await import("../../../taxonomies-
|
|
1025
|
+
const { handleTermCreate } = await import("../../../taxonomies-BILwiyGk.mjs").then((n) => n.l);
|
|
1026
1026
|
return unwrap(await handleTermCreate(ec.db, args.taxonomy, {
|
|
1027
1027
|
slug: args.slug,
|
|
1028
1028
|
label: args.label,
|
|
@@ -1051,7 +1051,7 @@ function createMcpServer() {
|
|
|
1051
1051
|
requireRole(extra, Role.EDITOR);
|
|
1052
1052
|
const ec = getEmDash(extra);
|
|
1053
1053
|
try {
|
|
1054
|
-
const { handleTermUpdate } = await import("../../../taxonomies-
|
|
1054
|
+
const { handleTermUpdate } = await import("../../../taxonomies-BILwiyGk.mjs").then((n) => n.l);
|
|
1055
1055
|
return unwrap(await handleTermUpdate(ec.db, args.taxonomy, args.termSlug, {
|
|
1056
1056
|
slug: args.slug,
|
|
1057
1057
|
label: args.label,
|
|
@@ -1075,7 +1075,7 @@ function createMcpServer() {
|
|
|
1075
1075
|
requireRole(extra, Role.EDITOR);
|
|
1076
1076
|
const ec = getEmDash(extra);
|
|
1077
1077
|
try {
|
|
1078
|
-
const { handleTermDelete } = await import("../../../taxonomies-
|
|
1078
|
+
const { handleTermDelete } = await import("../../../taxonomies-BILwiyGk.mjs").then((n) => n.l);
|
|
1079
1079
|
return unwrap(await handleTermDelete(ec.db, args.taxonomy, args.termSlug));
|
|
1080
1080
|
} catch (error) {
|
|
1081
1081
|
return respondHandlerError(error, "TAXONOMY_TERM_DELETE_ERROR");
|
|
@@ -1090,7 +1090,7 @@ function createMcpServer() {
|
|
|
1090
1090
|
requireScope(extra, "content:read");
|
|
1091
1091
|
const ec = getEmDash(extra);
|
|
1092
1092
|
try {
|
|
1093
|
-
const { handleTermTranslations } = await import("../../../taxonomies-
|
|
1093
|
+
const { handleTermTranslations } = await import("../../../taxonomies-BILwiyGk.mjs").then((n) => n.l);
|
|
1094
1094
|
return unwrap(await handleTermTranslations(ec.db, args.id));
|
|
1095
1095
|
} catch (error) {
|
|
1096
1096
|
return respondHandlerError(error, "TERM_TRANSLATIONS_ERROR");
|
|
@@ -1286,7 +1286,7 @@ function createMcpServer() {
|
|
|
1286
1286
|
requireRole(extra, Role.EDITOR);
|
|
1287
1287
|
const ec = getEmDash(extra);
|
|
1288
1288
|
try {
|
|
1289
|
-
const { handleSettingsGet } = await import("../../../settings-
|
|
1289
|
+
const { handleSettingsGet } = await import("../../../settings-Cv47v9u8.mjs").then((n) => n.r);
|
|
1290
1290
|
return unwrap(await handleSettingsGet(ec.db, ec.storage));
|
|
1291
1291
|
} catch (error) {
|
|
1292
1292
|
return respondHandlerError(error, "SETTINGS_READ_ERROR");
|
|
@@ -1312,7 +1312,7 @@ function createMcpServer() {
|
|
|
1312
1312
|
requireRole(extra, Role.ADMIN);
|
|
1313
1313
|
const ec = getEmDash(extra);
|
|
1314
1314
|
try {
|
|
1315
|
-
const { handleSettingsUpdate } = await import("../../../settings-
|
|
1315
|
+
const { handleSettingsUpdate } = await import("../../../settings-Cv47v9u8.mjs").then((n) => n.r);
|
|
1316
1316
|
return unwrap(await handleSettingsUpdate(ec.db, ec.storage, args));
|
|
1317
1317
|
} catch (error) {
|
|
1318
1318
|
return respondHandlerError(error, "SETTINGS_UPDATE_ERROR");
|
|
@@ -2,10 +2,10 @@ import "../../../../../base64-CqR-7kqF.mjs";
|
|
|
2
2
|
import "../../../../../types-BXSUSAjt.mjs";
|
|
3
3
|
import { n as apiSuccess, r as handleError, t as apiError } from "../../../../../error-RwM4dD35.mjs";
|
|
4
4
|
import { r as parseOptionalBody, t as isParseError } from "../../../../../parse-CrGndy1A.mjs";
|
|
5
|
-
import { Vt as mediaConfirmBody } from "../../../../../redirects-
|
|
6
|
-
import "../../../../../byline-fields-
|
|
5
|
+
import { Vt as mediaConfirmBody } from "../../../../../redirects-CCbCqCCd.mjs";
|
|
6
|
+
import "../../../../../byline-fields-8TMtkBnH.mjs";
|
|
7
7
|
import "../../../../../api/schemas/index.mjs";
|
|
8
|
-
import { n as requirePerm, t as requireOwnerPerm } from "../../../../../authorize-
|
|
8
|
+
import { n as requirePerm, t as requireOwnerPerm } from "../../../../../authorize-DsMSVSaY.mjs";
|
|
9
9
|
import { MediaRepository } from "emdash";
|
|
10
10
|
|
|
11
11
|
//#region src/astro/routes/api/media/[id]/confirm.ts
|
|
@@ -2,10 +2,10 @@ import "../../../../base64-CqR-7kqF.mjs";
|
|
|
2
2
|
import "../../../../types-BXSUSAjt.mjs";
|
|
3
3
|
import { a as unwrapResult, r as handleError, t as apiError } from "../../../../error-RwM4dD35.mjs";
|
|
4
4
|
import { n as parseBody, t as isParseError } from "../../../../parse-CrGndy1A.mjs";
|
|
5
|
-
import { Yt as mediaUpdateBody } from "../../../../redirects-
|
|
6
|
-
import "../../../../byline-fields-
|
|
5
|
+
import { Yt as mediaUpdateBody } from "../../../../redirects-CCbCqCCd.mjs";
|
|
6
|
+
import "../../../../byline-fields-8TMtkBnH.mjs";
|
|
7
7
|
import "../../../../api/schemas/index.mjs";
|
|
8
|
-
import { n as requirePerm, t as requireOwnerPerm } from "../../../../authorize-
|
|
8
|
+
import { n as requirePerm, t as requireOwnerPerm } from "../../../../authorize-DsMSVSaY.mjs";
|
|
9
9
|
|
|
10
10
|
//#region src/astro/routes/api/media/[id].ts
|
|
11
11
|
const prerender = false;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "../../../../../../base64-CqR-7kqF.mjs";
|
|
2
2
|
import "../../../../../../types-BXSUSAjt.mjs";
|
|
3
3
|
import { n as apiSuccess, r as handleError, t as apiError } from "../../../../../../error-RwM4dD35.mjs";
|
|
4
|
-
import { n as requirePerm } from "../../../../../../authorize-
|
|
4
|
+
import { n as requirePerm } from "../../../../../../authorize-DsMSVSaY.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-CqR-7kqF.mjs";
|
|
2
2
|
import "../../../../../../types-BXSUSAjt.mjs";
|
|
3
3
|
import { n as apiSuccess, r as handleError, t as apiError } from "../../../../../../error-RwM4dD35.mjs";
|
|
4
|
-
import { n as requirePerm } from "../../../../../../authorize-
|
|
4
|
+
import { n as requirePerm } from "../../../../../../authorize-DsMSVSaY.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-CqR-7kqF.mjs";
|
|
2
2
|
import "../../../../../types-BXSUSAjt.mjs";
|
|
3
3
|
import { n as apiSuccess, t as apiError } from "../../../../../error-RwM4dD35.mjs";
|
|
4
|
-
import { n as requirePerm } from "../../../../../authorize-
|
|
4
|
+
import { n as requirePerm } from "../../../../../authorize-DsMSVSaY.mjs";
|
|
5
5
|
|
|
6
6
|
//#region src/astro/routes/api/media/providers/index.ts
|
|
7
7
|
const prerender = false;
|
|
@@ -3,11 +3,11 @@ import "../../../../types-BXSUSAjt.mjs";
|
|
|
3
3
|
import { n as normalizeMime, t as matchesMimeAllowlist } from "../../../../mime-CCEzze7W.mjs";
|
|
4
4
|
import { n as apiSuccess, r as handleError, t as apiError } from "../../../../error-RwM4dD35.mjs";
|
|
5
5
|
import { n as parseBody, t as isParseError } from "../../../../parse-CrGndy1A.mjs";
|
|
6
|
-
import { Xt as mediaUploadUrlBody, zt as DEFAULT_MAX_UPLOAD_SIZE } from "../../../../redirects-
|
|
7
|
-
import "../../../../byline-fields-
|
|
6
|
+
import { Xt as mediaUploadUrlBody, zt as DEFAULT_MAX_UPLOAD_SIZE } from "../../../../redirects-CCbCqCCd.mjs";
|
|
7
|
+
import "../../../../byline-fields-8TMtkBnH.mjs";
|
|
8
8
|
import "../../../../api/schemas/index.mjs";
|
|
9
|
-
import { n as requirePerm } from "../../../../authorize-
|
|
10
|
-
import { n as resolveFieldAllowlist, t as GLOBAL_UPLOAD_ALLOWLIST } from "../../../../media-allowlist-
|
|
9
|
+
import { n as requirePerm } from "../../../../authorize-DsMSVSaY.mjs";
|
|
10
|
+
import { n as resolveFieldAllowlist, t as GLOBAL_UPLOAD_ALLOWLIST } from "../../../../media-allowlist-Dknq-OFY.mjs";
|
|
11
11
|
import { ulid } from "ulidx";
|
|
12
12
|
import * as path from "node:path";
|
|
13
13
|
import { MediaRepository } from "emdash";
|
|
@@ -6,11 +6,11 @@ import { n as normalizeMime, t as matchesMimeAllowlist } from "../../../mime-CCE
|
|
|
6
6
|
import { t as computeContentHash } from "../../../hash-9w3pd3-m.mjs";
|
|
7
7
|
import { a as unwrapResult, n as apiSuccess, r as handleError, t as apiError } from "../../../error-RwM4dD35.mjs";
|
|
8
8
|
import { i as parseQuery, t as isParseError } from "../../../parse-CrGndy1A.mjs";
|
|
9
|
-
import { Bt as formatFileSize, Gt as mediaListQuery, zt as DEFAULT_MAX_UPLOAD_SIZE } from "../../../redirects-
|
|
10
|
-
import "../../../byline-fields-
|
|
9
|
+
import { Bt as formatFileSize, Gt as mediaListQuery, zt as DEFAULT_MAX_UPLOAD_SIZE } from "../../../redirects-CCbCqCCd.mjs";
|
|
10
|
+
import "../../../byline-fields-8TMtkBnH.mjs";
|
|
11
11
|
import "../../../api/schemas/index.mjs";
|
|
12
|
-
import { n as requirePerm } from "../../../authorize-
|
|
13
|
-
import { n as resolveFieldAllowlist, t as GLOBAL_UPLOAD_ALLOWLIST } from "../../../media-allowlist-
|
|
12
|
+
import { n as requirePerm } from "../../../authorize-DsMSVSaY.mjs";
|
|
13
|
+
import { n as resolveFieldAllowlist, t as GLOBAL_UPLOAD_ALLOWLIST } from "../../../media-allowlist-Dknq-OFY.mjs";
|
|
14
14
|
import { ulid } from "ulidx";
|
|
15
15
|
import * as path from "node:path";
|
|
16
16
|
|
|
@@ -3,10 +3,10 @@ import "../../../../../../types-BXSUSAjt.mjs";
|
|
|
3
3
|
import { a as handleMenuItemDelete, s as handleMenuItemUpdate } from "../../../../../../menus-DX4_E01q.mjs";
|
|
4
4
|
import { a as unwrapResult, r as handleError, t as apiError } from "../../../../../../error-RwM4dD35.mjs";
|
|
5
5
|
import { i as parseQuery, n as parseBody, t as isParseError } from "../../../../../../parse-CrGndy1A.mjs";
|
|
6
|
-
import { Pn as localeFilterQuery, lt as updateMenuItemBody } from "../../../../../../redirects-
|
|
7
|
-
import "../../../../../../byline-fields-
|
|
6
|
+
import { Pn as localeFilterQuery, lt as updateMenuItemBody } from "../../../../../../redirects-CCbCqCCd.mjs";
|
|
7
|
+
import "../../../../../../byline-fields-8TMtkBnH.mjs";
|
|
8
8
|
import "../../../../../../api/schemas/index.mjs";
|
|
9
|
-
import { n as requirePerm } from "../../../../../../authorize-
|
|
9
|
+
import { n as requirePerm } from "../../../../../../authorize-DsMSVSaY.mjs";
|
|
10
10
|
|
|
11
11
|
//#region src/astro/routes/api/menus/[name]/items/[id].ts
|
|
12
12
|
const prerender = false;
|
|
@@ -3,10 +3,10 @@ import "../../../../../types-BXSUSAjt.mjs";
|
|
|
3
3
|
import { i as handleMenuItemCreate } from "../../../../../menus-DX4_E01q.mjs";
|
|
4
4
|
import { a as unwrapResult, r as handleError } from "../../../../../error-RwM4dD35.mjs";
|
|
5
5
|
import { i as parseQuery, n as parseBody, t as isParseError } from "../../../../../parse-CrGndy1A.mjs";
|
|
6
|
-
import { Pn as localeFilterQuery, et as createMenuItemBody } from "../../../../../redirects-
|
|
7
|
-
import "../../../../../byline-fields-
|
|
6
|
+
import { Pn as localeFilterQuery, et as createMenuItemBody } from "../../../../../redirects-CCbCqCCd.mjs";
|
|
7
|
+
import "../../../../../byline-fields-8TMtkBnH.mjs";
|
|
8
8
|
import "../../../../../api/schemas/index.mjs";
|
|
9
|
-
import { n as requirePerm } from "../../../../../authorize-
|
|
9
|
+
import { n as requirePerm } from "../../../../../authorize-DsMSVSaY.mjs";
|
|
10
10
|
|
|
11
11
|
//#region src/astro/routes/api/menus/[name]/items.ts
|
|
12
12
|
const prerender = false;
|
|
@@ -3,10 +3,10 @@ import "../../../../../types-BXSUSAjt.mjs";
|
|
|
3
3
|
import { o as handleMenuItemReorder } from "../../../../../menus-DX4_E01q.mjs";
|
|
4
4
|
import { a as unwrapResult, r as handleError } from "../../../../../error-RwM4dD35.mjs";
|
|
5
5
|
import { i as parseQuery, n as parseBody, t as isParseError } from "../../../../../parse-CrGndy1A.mjs";
|
|
6
|
-
import { Pn as localeFilterQuery, st as reorderMenuItemsBody } from "../../../../../redirects-
|
|
7
|
-
import "../../../../../byline-fields-
|
|
6
|
+
import { Pn as localeFilterQuery, st as reorderMenuItemsBody } from "../../../../../redirects-CCbCqCCd.mjs";
|
|
7
|
+
import "../../../../../byline-fields-8TMtkBnH.mjs";
|
|
8
8
|
import "../../../../../api/schemas/index.mjs";
|
|
9
|
-
import { n as requirePerm } from "../../../../../authorize-
|
|
9
|
+
import { n as requirePerm } from "../../../../../authorize-DsMSVSaY.mjs";
|
|
10
10
|
|
|
11
11
|
//#region src/astro/routes/api/menus/[name]/reorder.ts
|
|
12
12
|
const prerender = false;
|
|
@@ -3,10 +3,10 @@ import "../../../../../types-BXSUSAjt.mjs";
|
|
|
3
3
|
import { l as handleMenuTranslations, r as handleMenuGet, t as handleMenuCreate } from "../../../../../menus-DX4_E01q.mjs";
|
|
4
4
|
import { a as unwrapResult, i as requireDb, r as handleError } from "../../../../../error-RwM4dD35.mjs";
|
|
5
5
|
import { i as parseQuery, n as parseBody, t as isParseError } from "../../../../../parse-CrGndy1A.mjs";
|
|
6
|
-
import { Pn as localeFilterQuery } from "../../../../../redirects-
|
|
7
|
-
import "../../../../../byline-fields-
|
|
6
|
+
import { Pn as localeFilterQuery } from "../../../../../redirects-CCbCqCCd.mjs";
|
|
7
|
+
import "../../../../../byline-fields-8TMtkBnH.mjs";
|
|
8
8
|
import "../../../../../api/schemas/index.mjs";
|
|
9
|
-
import { n as requirePerm } from "../../../../../authorize-
|
|
9
|
+
import { n as requirePerm } from "../../../../../authorize-DsMSVSaY.mjs";
|
|
10
10
|
import { z } from "zod";
|
|
11
11
|
|
|
12
12
|
//#region src/astro/routes/api/menus/[name]/translations.ts
|
|
@@ -3,10 +3,10 @@ import "../../../../types-BXSUSAjt.mjs";
|
|
|
3
3
|
import { n as handleMenuDelete, r as handleMenuGet, u as handleMenuUpdate } from "../../../../menus-DX4_E01q.mjs";
|
|
4
4
|
import { a as unwrapResult, r as handleError } from "../../../../error-RwM4dD35.mjs";
|
|
5
5
|
import { i as parseQuery, n as parseBody, t as isParseError } from "../../../../parse-CrGndy1A.mjs";
|
|
6
|
-
import { Pn as localeFilterQuery, ct as updateMenuBody } from "../../../../redirects-
|
|
7
|
-
import "../../../../byline-fields-
|
|
6
|
+
import { Pn as localeFilterQuery, ct as updateMenuBody } from "../../../../redirects-CCbCqCCd.mjs";
|
|
7
|
+
import "../../../../byline-fields-8TMtkBnH.mjs";
|
|
8
8
|
import "../../../../api/schemas/index.mjs";
|
|
9
|
-
import { n as requirePerm } from "../../../../authorize-
|
|
9
|
+
import { n as requirePerm } from "../../../../authorize-DsMSVSaY.mjs";
|
|
10
10
|
|
|
11
11
|
//#region src/astro/routes/api/menus/[name].ts
|
|
12
12
|
const prerender = false;
|
|
@@ -3,10 +3,10 @@ import "../../../../types-BXSUSAjt.mjs";
|
|
|
3
3
|
import { c as handleMenuList, t as handleMenuCreate } from "../../../../menus-DX4_E01q.mjs";
|
|
4
4
|
import { a as unwrapResult, r as handleError } from "../../../../error-RwM4dD35.mjs";
|
|
5
5
|
import { i as parseQuery, n as parseBody, t as isParseError } from "../../../../parse-CrGndy1A.mjs";
|
|
6
|
-
import { $ as createMenuBody, Pn as localeFilterQuery } from "../../../../redirects-
|
|
7
|
-
import "../../../../byline-fields-
|
|
6
|
+
import { $ as createMenuBody, Pn as localeFilterQuery } from "../../../../redirects-CCbCqCCd.mjs";
|
|
7
|
+
import "../../../../byline-fields-8TMtkBnH.mjs";
|
|
8
8
|
import "../../../../api/schemas/index.mjs";
|
|
9
|
-
import { n as requirePerm } from "../../../../authorize-
|
|
9
|
+
import { n as requirePerm } from "../../../../authorize-DsMSVSaY.mjs";
|
|
10
10
|
|
|
11
11
|
//#region src/astro/routes/api/menus/index.ts
|
|
12
12
|
const prerender = false;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { n as getPublicOrigin } from "../../../../public-url-
|
|
2
|
-
import { n as VALID_SCOPES } from "../../../../api-tokens-
|
|
3
|
-
import { t as escapeHtml } from "../../../../escape-
|
|
4
|
-
import { c as validateRedirectUri, o as lookupOAuthClient, s as validateClientRedirectUri } from "../../../../oauth-clients-
|
|
5
|
-
import "../../../../oauth-user-lookup-
|
|
6
|
-
import { n as handleAuthorizationApproval, t as buildDeniedRedirect } from "../../../../oauth-authorization-
|
|
1
|
+
import { n as getPublicOrigin } from "../../../../public-url-BFVC2OTJ.mjs";
|
|
2
|
+
import { n as VALID_SCOPES } from "../../../../api-tokens-Oq39ba-Z.mjs";
|
|
3
|
+
import { t as escapeHtml } from "../../../../escape-Ds07EEyu.mjs";
|
|
4
|
+
import { c as validateRedirectUri, o as lookupOAuthClient, s as validateClientRedirectUri } from "../../../../oauth-clients-BGGFp57s.mjs";
|
|
5
|
+
import "../../../../oauth-user-lookup-B_vnZHKO.mjs";
|
|
6
|
+
import { n as handleAuthorizationApproval, t as buildDeniedRedirect } from "../../../../oauth-authorization-Bw4NdF_S.mjs";
|
|
7
7
|
|
|
8
8
|
//#region src/astro/routes/api/oauth/authorize.ts
|
|
9
9
|
const prerender = false;
|
|
@@ -2,9 +2,9 @@ import "../../../../../base64-CqR-7kqF.mjs";
|
|
|
2
2
|
import "../../../../../types-BXSUSAjt.mjs";
|
|
3
3
|
import { a as unwrapResult, r as handleError, t as apiError } from "../../../../../error-RwM4dD35.mjs";
|
|
4
4
|
import { n as parseBody, t as isParseError } from "../../../../../parse-CrGndy1A.mjs";
|
|
5
|
-
import "../../../../../api-tokens-
|
|
6
|
-
import "../../../../../oauth-user-lookup-
|
|
7
|
-
import { t as handleDeviceAuthorize } from "../../../../../device-flow-
|
|
5
|
+
import "../../../../../api-tokens-Oq39ba-Z.mjs";
|
|
6
|
+
import "../../../../../oauth-user-lookup-B_vnZHKO.mjs";
|
|
7
|
+
import { t as handleDeviceAuthorize } from "../../../../../device-flow-R23SIbQ2.mjs";
|
|
8
8
|
import { z } from "zod";
|
|
9
9
|
|
|
10
10
|
//#region src/astro/routes/api/oauth/device/authorize.ts
|
|
@@ -3,11 +3,11 @@ import "../../../../../types-BXSUSAjt.mjs";
|
|
|
3
3
|
import { a as unwrapResult, r as handleError, t as apiError } from "../../../../../error-RwM4dD35.mjs";
|
|
4
4
|
import { n as parseBody, t as isParseError } from "../../../../../parse-CrGndy1A.mjs";
|
|
5
5
|
import { t as getTrustedProxyHeaders } from "../../../../../trusted-proxy-B4AfnoAp.mjs";
|
|
6
|
-
import { n as getPublicOrigin } from "../../../../../public-url-
|
|
7
|
-
import "../../../../../api-tokens-
|
|
8
|
-
import "../../../../../oauth-user-lookup-
|
|
9
|
-
import { n as handleDeviceCodeRequest } from "../../../../../device-flow-
|
|
10
|
-
import { n as getClientIp, r as rateLimitResponse, t as checkRateLimit } from "../../../../../rate-limit-
|
|
6
|
+
import { n as getPublicOrigin } from "../../../../../public-url-BFVC2OTJ.mjs";
|
|
7
|
+
import "../../../../../api-tokens-Oq39ba-Z.mjs";
|
|
8
|
+
import "../../../../../oauth-user-lookup-B_vnZHKO.mjs";
|
|
9
|
+
import { n as handleDeviceCodeRequest } from "../../../../../device-flow-R23SIbQ2.mjs";
|
|
10
|
+
import { n as getClientIp, r as rateLimitResponse, t as checkRateLimit } from "../../../../../rate-limit-C7hjdkS5.mjs";
|
|
11
11
|
import { z } from "zod";
|
|
12
12
|
|
|
13
13
|
//#region src/astro/routes/api/oauth/device/code.ts
|
|
@@ -3,10 +3,10 @@ import "../../../../../types-BXSUSAjt.mjs";
|
|
|
3
3
|
import { a as unwrapResult, r as handleError, t as apiError } from "../../../../../error-RwM4dD35.mjs";
|
|
4
4
|
import { n as parseBody, t as isParseError } from "../../../../../parse-CrGndy1A.mjs";
|
|
5
5
|
import { t as getTrustedProxyHeaders } from "../../../../../trusted-proxy-B4AfnoAp.mjs";
|
|
6
|
-
import "../../../../../api-tokens-
|
|
7
|
-
import "../../../../../oauth-user-lookup-
|
|
8
|
-
import { r as handleDeviceTokenExchange } from "../../../../../device-flow-
|
|
9
|
-
import { n as getClientIp, r as rateLimitResponse, t as checkRateLimit } from "../../../../../rate-limit-
|
|
6
|
+
import "../../../../../api-tokens-Oq39ba-Z.mjs";
|
|
7
|
+
import "../../../../../oauth-user-lookup-B_vnZHKO.mjs";
|
|
8
|
+
import { r as handleDeviceTokenExchange } from "../../../../../device-flow-R23SIbQ2.mjs";
|
|
9
|
+
import { n as getClientIp, r as rateLimitResponse, t as checkRateLimit } from "../../../../../rate-limit-C7hjdkS5.mjs";
|
|
10
10
|
import { z } from "zod";
|
|
11
11
|
|
|
12
12
|
//#region src/astro/routes/api/oauth/device/token.ts
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "../../../../base64-CqR-7kqF.mjs";
|
|
2
2
|
import "../../../../types-BXSUSAjt.mjs";
|
|
3
3
|
import { r as handleError, t as apiError } from "../../../../error-RwM4dD35.mjs";
|
|
4
|
-
import { t as handleOAuthClientCreate } from "../../../../oauth-clients-
|
|
4
|
+
import { t as handleOAuthClientCreate } from "../../../../oauth-clients-BGGFp57s.mjs";
|
|
5
5
|
|
|
6
6
|
//#region src/astro/routes/api/oauth/register.ts
|
|
7
7
|
const prerender = false;
|
|
@@ -2,9 +2,9 @@ import "../../../../../base64-CqR-7kqF.mjs";
|
|
|
2
2
|
import "../../../../../types-BXSUSAjt.mjs";
|
|
3
3
|
import { a as unwrapResult, r as handleError, t as apiError } from "../../../../../error-RwM4dD35.mjs";
|
|
4
4
|
import { n as parseBody, t as isParseError } from "../../../../../parse-CrGndy1A.mjs";
|
|
5
|
-
import "../../../../../api-tokens-
|
|
6
|
-
import "../../../../../oauth-user-lookup-
|
|
7
|
-
import { i as handleTokenRefresh } from "../../../../../device-flow-
|
|
5
|
+
import "../../../../../api-tokens-Oq39ba-Z.mjs";
|
|
6
|
+
import "../../../../../oauth-user-lookup-B_vnZHKO.mjs";
|
|
7
|
+
import { i as handleTokenRefresh } from "../../../../../device-flow-R23SIbQ2.mjs";
|
|
8
8
|
import { z } from "zod";
|
|
9
9
|
|
|
10
10
|
//#region src/astro/routes/api/oauth/token/refresh.ts
|
|
@@ -2,9 +2,9 @@ import "../../../../../base64-CqR-7kqF.mjs";
|
|
|
2
2
|
import "../../../../../types-BXSUSAjt.mjs";
|
|
3
3
|
import { a as unwrapResult, r as handleError, t as apiError } from "../../../../../error-RwM4dD35.mjs";
|
|
4
4
|
import { n as parseBody, t as isParseError } from "../../../../../parse-CrGndy1A.mjs";
|
|
5
|
-
import "../../../../../api-tokens-
|
|
6
|
-
import "../../../../../oauth-user-lookup-
|
|
7
|
-
import { a as handleTokenRevoke } from "../../../../../device-flow-
|
|
5
|
+
import "../../../../../api-tokens-Oq39ba-Z.mjs";
|
|
6
|
+
import "../../../../../oauth-user-lookup-B_vnZHKO.mjs";
|
|
7
|
+
import { a as handleTokenRevoke } from "../../../../../device-flow-R23SIbQ2.mjs";
|
|
8
8
|
import { z } from "zod";
|
|
9
9
|
|
|
10
10
|
//#region src/astro/routes/api/oauth/token/revoke.ts
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import "../../../../base64-CqR-7kqF.mjs";
|
|
2
2
|
import "../../../../types-BXSUSAjt.mjs";
|
|
3
3
|
import { r as handleError, t as apiError } from "../../../../error-RwM4dD35.mjs";
|
|
4
|
-
import "../../../../api-tokens-
|
|
5
|
-
import "../../../../oauth-user-lookup-
|
|
6
|
-
import { r as handleAuthorizationCodeExchange } from "../../../../oauth-authorization-
|
|
7
|
-
import { i as handleTokenRefresh, r as handleDeviceTokenExchange } from "../../../../device-flow-
|
|
4
|
+
import "../../../../api-tokens-Oq39ba-Z.mjs";
|
|
5
|
+
import "../../../../oauth-user-lookup-B_vnZHKO.mjs";
|
|
6
|
+
import { r as handleAuthorizationCodeExchange } from "../../../../oauth-authorization-Bw4NdF_S.mjs";
|
|
7
|
+
import { i as handleTokenRefresh, r as handleDeviceTokenExchange } from "../../../../device-flow-R23SIbQ2.mjs";
|
|
8
8
|
import { z } from "zod";
|
|
9
9
|
|
|
10
10
|
//#region src/astro/routes/api/oauth/token.ts
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "../../../base64-CqR-7kqF.mjs";
|
|
2
2
|
import "../../../types-BXSUSAjt.mjs";
|
|
3
3
|
import { r as handleError } from "../../../error-RwM4dD35.mjs";
|
|
4
|
-
import { $ as createMenuBody, $t as contentAuthorsResponseSchema, A as searchRebuildBody, At as fieldReorderBody, B as updateSectionBody, C as userDetailSchema, Ct as collectionListResponseSchema, D as usersListQuery, Dt as createCollectionBody, E as userUpdateBody, Et as collectionWithFieldsResponseSchema, F as siteSettingsSchema, G as taxonomyListResponseSchema, Gt as mediaListQuery, H as createTermBody, Ht as mediaConfirmResponseSchema, I as createSectionBody, J as termResponseSchema, Jt as mediaResponseSchema, K as termGetResponseSchema, Kt as mediaListResponseSchema, L as sectionListResponseSchema, Lt as updateCollectionBody, N as searchSuggestQuery, Nt as orphanRegisterBody, O as searchEnableBody, On as apiErrorSchema, Ot as createFieldBody, P as settingsUpdateBody, Pt as orphanedTableListResponseSchema, Q as updateTermBody, R as sectionSchema, Rn as successEnvelope, Rt as updateFieldBody, S as allowedDomainUpdateBody, St as collectionGetQuery, T as userSchema, Ut as mediaExistingResponseSchema, Vt as mediaConfirmBody, Xt as mediaUploadUrlBody, Yt as mediaUpdateBody, Zt as mediaUploadUrlResponseSchema, _ as widgetAreaSchema, _n as trashedContentListResponseSchema, _t as commentSchema, a as notFoundPruneBody, b as widgetSchema, bt as publicCommentListResponseSchema, cn as contentScheduleBody, ct as updateMenuBody, d as redirectsListQuery, dn as contentTermsBody, en as contentCompareResponseSchema, et as createMenuItemBody, f as updateRedirectBody, ft as adminCommentListResponseSchema, g as updateWidgetBody, gt as commentListQuery, h as reorderWidgetsBody, hn as contentUpdateBody, ht as commentCountsResponseSchema, i as notFoundListResponseSchema, in as contentListResponseSchema, j as searchResponseSchema, jn as deleteResponseSchema, jt as fieldResponseSchema, k as searchQuery, kt as fieldListResponseSchema, l as redirectListResponseSchema, lt as updateMenuItemBody, m as createWidgetBody, mn as contentTrashQuery, mt as commentBulkResponseSchema, nn as contentItemSchema, ot as menuWithItemsSchema, p as createWidgetAreaBody, pn as contentTranslationsResponseSchema, pt as commentBulkBody, q as termListResponseSchema, r as notFoundListQuery, rn as contentListQuery, rt as menuListItemSchema, s as notFoundSummaryResponseSchema, sn as contentResponseSchema, st as reorderMenuItemsBody, t as createRedirectBody, tn as contentCreateBody, tt as menuItemSchema, u as redirectSchema, v as widgetAreaWithWidgetsAndCountSchema, vt as commentStatusBody, w as userListResponseSchema, wt as collectionResponseSchema, x as allowedDomainCreateBody, y as widgetAreaWithWidgetsSchema, yt as createCommentBody, z as sectionsListQuery, zt as DEFAULT_MAX_UPLOAD_SIZE } from "../../../redirects-
|
|
4
|
+
import { $ as createMenuBody, $t as contentAuthorsResponseSchema, A as searchRebuildBody, At as fieldReorderBody, B as updateSectionBody, C as userDetailSchema, Ct as collectionListResponseSchema, D as usersListQuery, Dt as createCollectionBody, E as userUpdateBody, Et as collectionWithFieldsResponseSchema, F as siteSettingsSchema, G as taxonomyListResponseSchema, Gt as mediaListQuery, H as createTermBody, Ht as mediaConfirmResponseSchema, I as createSectionBody, J as termResponseSchema, Jt as mediaResponseSchema, K as termGetResponseSchema, Kt as mediaListResponseSchema, L as sectionListResponseSchema, Lt as updateCollectionBody, N as searchSuggestQuery, Nt as orphanRegisterBody, O as searchEnableBody, On as apiErrorSchema, Ot as createFieldBody, P as settingsUpdateBody, Pt as orphanedTableListResponseSchema, Q as updateTermBody, R as sectionSchema, Rn as successEnvelope, Rt as updateFieldBody, S as allowedDomainUpdateBody, St as collectionGetQuery, T as userSchema, Ut as mediaExistingResponseSchema, Vt as mediaConfirmBody, Xt as mediaUploadUrlBody, Yt as mediaUpdateBody, Zt as mediaUploadUrlResponseSchema, _ as widgetAreaSchema, _n as trashedContentListResponseSchema, _t as commentSchema, a as notFoundPruneBody, b as widgetSchema, bt as publicCommentListResponseSchema, cn as contentScheduleBody, ct as updateMenuBody, d as redirectsListQuery, dn as contentTermsBody, en as contentCompareResponseSchema, et as createMenuItemBody, f as updateRedirectBody, ft as adminCommentListResponseSchema, g as updateWidgetBody, gt as commentListQuery, h as reorderWidgetsBody, hn as contentUpdateBody, ht as commentCountsResponseSchema, i as notFoundListResponseSchema, in as contentListResponseSchema, j as searchResponseSchema, jn as deleteResponseSchema, jt as fieldResponseSchema, k as searchQuery, kt as fieldListResponseSchema, l as redirectListResponseSchema, lt as updateMenuItemBody, m as createWidgetBody, mn as contentTrashQuery, mt as commentBulkResponseSchema, nn as contentItemSchema, ot as menuWithItemsSchema, p as createWidgetAreaBody, pn as contentTranslationsResponseSchema, pt as commentBulkBody, q as termListResponseSchema, r as notFoundListQuery, rn as contentListQuery, rt as menuListItemSchema, s as notFoundSummaryResponseSchema, sn as contentResponseSchema, st as reorderMenuItemsBody, t as createRedirectBody, tn as contentCreateBody, tt as menuItemSchema, u as redirectSchema, v as widgetAreaWithWidgetsAndCountSchema, vt as commentStatusBody, w as userListResponseSchema, wt as collectionResponseSchema, x as allowedDomainCreateBody, y as widgetAreaWithWidgetsSchema, yt as createCommentBody, z as sectionsListQuery, zt as DEFAULT_MAX_UPLOAD_SIZE } from "../../../redirects-CCbCqCCd.mjs";
|
|
5
5
|
import { z } from "zod";
|
|
6
6
|
import { globalRegistry } from "zod/v4/core";
|
|
7
7
|
import { globalRegistry as globalRegistry$1, object, registry, toJSONSchema } from "zod/v4";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import "../../../../../base64-CqR-7kqF.mjs";
|
|
2
2
|
import "../../../../../types-BXSUSAjt.mjs";
|
|
3
3
|
import { n as apiSuccess, t as apiError } from "../../../../../error-RwM4dD35.mjs";
|
|
4
|
-
import { i as hasScope } from "../../../../../api-tokens-
|
|
5
|
-
import { n as requirePerm } from "../../../../../authorize-
|
|
4
|
+
import { i as hasScope } from "../../../../../api-tokens-Oq39ba-Z.mjs";
|
|
5
|
+
import { n as requirePerm } from "../../../../../authorize-DsMSVSaY.mjs";
|
|
6
6
|
|
|
7
7
|
//#region src/auth/scopes.ts
|
|
8
8
|
/**
|
|
@@ -5,11 +5,11 @@ import "../../../../../options-BPCVnesz.mjs";
|
|
|
5
5
|
import "../../../../../redirect-CRWIt8Zj.mjs";
|
|
6
6
|
import { a as unwrapResult, i as requireDb, r as handleError } from "../../../../../error-RwM4dD35.mjs";
|
|
7
7
|
import { i as parseQuery, n as parseBody, t as isParseError } from "../../../../../parse-CrGndy1A.mjs";
|
|
8
|
-
import { a as notFoundPruneBody, r as notFoundListQuery } from "../../../../../redirects-
|
|
9
|
-
import "../../../../../byline-fields-
|
|
8
|
+
import { a as notFoundPruneBody, r as notFoundListQuery } from "../../../../../redirects-CCbCqCCd.mjs";
|
|
9
|
+
import "../../../../../byline-fields-8TMtkBnH.mjs";
|
|
10
10
|
import "../../../../../api/schemas/index.mjs";
|
|
11
|
-
import { n as requirePerm } from "../../../../../authorize-
|
|
12
|
-
import { n as handleNotFoundList, r as handleNotFoundPrune, t as handleNotFoundClear } from "../../../../../redirects-
|
|
11
|
+
import { n as requirePerm } from "../../../../../authorize-DsMSVSaY.mjs";
|
|
12
|
+
import { n as handleNotFoundList, r as handleNotFoundPrune, t as handleNotFoundClear } from "../../../../../redirects-DxVoR7PI.mjs";
|
|
13
13
|
|
|
14
14
|
//#region src/astro/routes/api/redirects/404s/index.ts
|
|
15
15
|
const prerender = false;
|