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
|
@@ -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 } from "../../../../error-RwM4dD35.mjs";
|
|
4
|
-
import { t as isSafeRedirect } from "../../../../redirect-
|
|
4
|
+
import { t as isSafeRedirect } from "../../../../redirect-B_q19j4v.mjs";
|
|
5
5
|
|
|
6
6
|
//#region src/astro/routes/api/auth/logout.ts
|
|
7
7
|
const prerender = false;
|
|
@@ -3,12 +3,12 @@ import "../../../../../types-BXSUSAjt.mjs";
|
|
|
3
3
|
import { t as OptionsRepository } from "../../../../../options-BPCVnesz.mjs";
|
|
4
4
|
import { n as apiSuccess, 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 { S as magicLinkSendBody } from "../../../../../byline-fields-
|
|
6
|
+
import "../../../../../redirects-CCbCqCCd.mjs";
|
|
7
|
+
import { S as magicLinkSendBody } from "../../../../../byline-fields-8TMtkBnH.mjs";
|
|
8
8
|
import "../../../../../api/schemas/index.mjs";
|
|
9
9
|
import { t as getTrustedProxyHeaders } from "../../../../../trusted-proxy-B4AfnoAp.mjs";
|
|
10
|
-
import { t as getSiteBaseUrl } from "../../../../../site-url-
|
|
11
|
-
import { n as getClientIp, t as checkRateLimit } from "../../../../../rate-limit-
|
|
10
|
+
import { t as getSiteBaseUrl } from "../../../../../site-url-CnHlmAs9.mjs";
|
|
11
|
+
import { n as getClientIp, t as checkRateLimit } from "../../../../../rate-limit-C7hjdkS5.mjs";
|
|
12
12
|
import { createKyselyAdapter } from "@emdash-cms/auth/adapters/kysely";
|
|
13
13
|
import { sendMagicLink } from "@emdash-cms/auth";
|
|
14
14
|
|
|
@@ -1,7 +1,7 @@
|
|
|
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 { t as isSafeRedirect } from "../../../../../redirect-
|
|
4
|
+
import { t as isSafeRedirect } from "../../../../../redirect-B_q19j4v.mjs";
|
|
5
5
|
import { createKyselyAdapter } from "@emdash-cms/auth/adapters/kysely";
|
|
6
6
|
import { MagicLinkError, verifyMagicLink } from "@emdash-cms/auth";
|
|
7
7
|
|
|
@@ -3,8 +3,8 @@ import "../../../../types-BXSUSAjt.mjs";
|
|
|
3
3
|
import { t as UserRepository } from "../../../../user-C0um7wrg.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 { v as authMeActionBody } from "../../../../byline-fields-
|
|
6
|
+
import "../../../../redirects-CCbCqCCd.mjs";
|
|
7
|
+
import { v as authMeActionBody } from "../../../../byline-fields-8TMtkBnH.mjs";
|
|
8
8
|
import "../../../../api/schemas/index.mjs";
|
|
9
9
|
|
|
10
10
|
//#region src/astro/routes/api/auth/me.ts
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as OptionsRepository } from "../../../../../../options-BPCVnesz.mjs";
|
|
2
|
-
import { n as getPublicOrigin } from "../../../../../../public-url-
|
|
3
|
-
import { t as finalizeSetup } from "../../../../../../setup-complete-
|
|
4
|
-
import { t as createOAuthStateStore } from "../../../../../../oauth-state-store-
|
|
2
|
+
import { n as getPublicOrigin } from "../../../../../../public-url-BFVC2OTJ.mjs";
|
|
3
|
+
import { t as finalizeSetup } from "../../../../../../setup-complete-yvPE4OsP.mjs";
|
|
4
|
+
import { t as createOAuthStateStore } from "../../../../../../oauth-state-store-97x0xtN2.mjs";
|
|
5
5
|
import { createKyselyAdapter } from "@emdash-cms/auth/adapters/kysely";
|
|
6
6
|
import { OAuthError, Role, handleOAuthCallback } from "@emdash-cms/auth";
|
|
7
7
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as getPublicOrigin } from "../../../../../public-url-
|
|
2
|
-
import { t as createOAuthStateStore } from "../../../../../oauth-state-store-
|
|
1
|
+
import { n as getPublicOrigin } from "../../../../../public-url-BFVC2OTJ.mjs";
|
|
2
|
+
import { t as createOAuthStateStore } from "../../../../../oauth-state-store-97x0xtN2.mjs";
|
|
3
3
|
import { createAuthorizationUrl } from "@emdash-cms/auth";
|
|
4
4
|
|
|
5
5
|
//#region src/astro/routes/api/auth/oauth/[provider].ts
|
|
@@ -2,8 +2,8 @@ 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 { n as parseBody, t as isParseError } from "../../../../../parse-CrGndy1A.mjs";
|
|
5
|
-
import "../../../../../redirects-
|
|
6
|
-
import { E as passkeyRenameBody } from "../../../../../byline-fields-
|
|
5
|
+
import "../../../../../redirects-CCbCqCCd.mjs";
|
|
6
|
+
import { E as passkeyRenameBody } from "../../../../../byline-fields-8TMtkBnH.mjs";
|
|
7
7
|
import "../../../../../api/schemas/index.mjs";
|
|
8
8
|
import { createKyselyAdapter } from "@emdash-cms/auth/adapters/kysely";
|
|
9
9
|
|
|
@@ -3,14 +3,14 @@ import "../../../../../types-BXSUSAjt.mjs";
|
|
|
3
3
|
import { t as OptionsRepository } from "../../../../../options-BPCVnesz.mjs";
|
|
4
4
|
import { n as apiSuccess, r as handleError, t as apiError } from "../../../../../error-RwM4dD35.mjs";
|
|
5
5
|
import { r as parseOptionalBody, t as isParseError } from "../../../../../parse-CrGndy1A.mjs";
|
|
6
|
-
import "../../../../../redirects-
|
|
7
|
-
import { C as passkeyOptionsBody } from "../../../../../byline-fields-
|
|
6
|
+
import "../../../../../redirects-CCbCqCCd.mjs";
|
|
7
|
+
import { C as passkeyOptionsBody } from "../../../../../byline-fields-8TMtkBnH.mjs";
|
|
8
8
|
import "../../../../../api/schemas/index.mjs";
|
|
9
9
|
import { t as getTrustedProxyHeaders } from "../../../../../trusted-proxy-B4AfnoAp.mjs";
|
|
10
|
-
import { n as getPublicOrigin } from "../../../../../public-url-
|
|
11
|
-
import { n as createChallengeStore, t as cleanupExpiredChallenges } from "../../../../../challenge-store-
|
|
12
|
-
import { t as getPasskeyConfig } from "../../../../../passkey-config-
|
|
13
|
-
import { n as getClientIp, r as rateLimitResponse, t as checkRateLimit } from "../../../../../rate-limit-
|
|
10
|
+
import { n as getPublicOrigin } from "../../../../../public-url-BFVC2OTJ.mjs";
|
|
11
|
+
import { n as createChallengeStore, t as cleanupExpiredChallenges } from "../../../../../challenge-store-DXX3rfdI.mjs";
|
|
12
|
+
import { t as getPasskeyConfig } from "../../../../../passkey-config-C3QgnQnU.mjs";
|
|
13
|
+
import { n as getClientIp, r as rateLimitResponse, t as checkRateLimit } from "../../../../../rate-limit-C7hjdkS5.mjs";
|
|
14
14
|
import { createKyselyAdapter } from "@emdash-cms/auth/adapters/kysely";
|
|
15
15
|
import { generateAuthenticationOptions } from "@emdash-cms/auth/passkey";
|
|
16
16
|
|
|
@@ -3,12 +3,12 @@ import "../../../../../../types-BXSUSAjt.mjs";
|
|
|
3
3
|
import { t as OptionsRepository } from "../../../../../../options-BPCVnesz.mjs";
|
|
4
4
|
import { n as apiSuccess, r as handleError, t as apiError } from "../../../../../../error-RwM4dD35.mjs";
|
|
5
5
|
import { r as parseOptionalBody, t as isParseError } from "../../../../../../parse-CrGndy1A.mjs";
|
|
6
|
-
import "../../../../../../redirects-
|
|
7
|
-
import { w as passkeyRegisterOptionsBody } from "../../../../../../byline-fields-
|
|
6
|
+
import "../../../../../../redirects-CCbCqCCd.mjs";
|
|
7
|
+
import { w as passkeyRegisterOptionsBody } from "../../../../../../byline-fields-8TMtkBnH.mjs";
|
|
8
8
|
import "../../../../../../api/schemas/index.mjs";
|
|
9
|
-
import { n as getPublicOrigin } from "../../../../../../public-url-
|
|
10
|
-
import { n as createChallengeStore } from "../../../../../../challenge-store-
|
|
11
|
-
import { t as getPasskeyConfig } from "../../../../../../passkey-config-
|
|
9
|
+
import { n as getPublicOrigin } from "../../../../../../public-url-BFVC2OTJ.mjs";
|
|
10
|
+
import { n as createChallengeStore } from "../../../../../../challenge-store-DXX3rfdI.mjs";
|
|
11
|
+
import { t as getPasskeyConfig } from "../../../../../../passkey-config-C3QgnQnU.mjs";
|
|
12
12
|
import { createKyselyAdapter } from "@emdash-cms/auth/adapters/kysely";
|
|
13
13
|
import { generateRegistrationOptions } from "@emdash-cms/auth/passkey";
|
|
14
14
|
|
|
@@ -3,13 +3,13 @@ import "../../../../../../types-BXSUSAjt.mjs";
|
|
|
3
3
|
import { t as OptionsRepository } from "../../../../../../options-BPCVnesz.mjs";
|
|
4
4
|
import { n as apiSuccess, 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 { T as passkeyRegisterVerifyBody } from "../../../../../../byline-fields-
|
|
6
|
+
import "../../../../../../redirects-CCbCqCCd.mjs";
|
|
7
|
+
import { T as passkeyRegisterVerifyBody } from "../../../../../../byline-fields-8TMtkBnH.mjs";
|
|
8
8
|
import "../../../../../../api/schemas/index.mjs";
|
|
9
|
-
import { n as getPublicOrigin } from "../../../../../../public-url-
|
|
10
|
-
import { n as validateAllowedOrigins, t as getConfiguredAllowedOrigins } from "../../../../../../allowed-origins-
|
|
11
|
-
import { n as createChallengeStore } from "../../../../../../challenge-store-
|
|
12
|
-
import { t as getPasskeyConfig } from "../../../../../../passkey-config-
|
|
9
|
+
import { n as getPublicOrigin } from "../../../../../../public-url-BFVC2OTJ.mjs";
|
|
10
|
+
import { n as validateAllowedOrigins, t as getConfiguredAllowedOrigins } from "../../../../../../allowed-origins-B1u7Qnvg.mjs";
|
|
11
|
+
import { n as createChallengeStore } from "../../../../../../challenge-store-DXX3rfdI.mjs";
|
|
12
|
+
import { t as getPasskeyConfig } from "../../../../../../passkey-config-C3QgnQnU.mjs";
|
|
13
13
|
import { createKyselyAdapter } from "@emdash-cms/auth/adapters/kysely";
|
|
14
14
|
import { registerPasskey, verifyRegistrationResponse } from "@emdash-cms/auth/passkey";
|
|
15
15
|
|
|
@@ -3,13 +3,13 @@ import "../../../../../types-BXSUSAjt.mjs";
|
|
|
3
3
|
import { t as OptionsRepository } from "../../../../../options-BPCVnesz.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 { D as passkeyVerifyBody } from "../../../../../byline-fields-
|
|
6
|
+
import "../../../../../redirects-CCbCqCCd.mjs";
|
|
7
|
+
import { D as passkeyVerifyBody } from "../../../../../byline-fields-8TMtkBnH.mjs";
|
|
8
8
|
import "../../../../../api/schemas/index.mjs";
|
|
9
|
-
import { n as getPublicOrigin } from "../../../../../public-url-
|
|
10
|
-
import { n as validateAllowedOrigins, t as getConfiguredAllowedOrigins } from "../../../../../allowed-origins-
|
|
11
|
-
import { n as createChallengeStore } from "../../../../../challenge-store-
|
|
12
|
-
import { t as getPasskeyConfig } from "../../../../../passkey-config-
|
|
9
|
+
import { n as getPublicOrigin } from "../../../../../public-url-BFVC2OTJ.mjs";
|
|
10
|
+
import { n as validateAllowedOrigins, t as getConfiguredAllowedOrigins } from "../../../../../allowed-origins-B1u7Qnvg.mjs";
|
|
11
|
+
import { n as createChallengeStore } from "../../../../../challenge-store-DXX3rfdI.mjs";
|
|
12
|
+
import { t as getPasskeyConfig } from "../../../../../passkey-config-C3QgnQnU.mjs";
|
|
13
13
|
import { createKyselyAdapter } from "@emdash-cms/auth/adapters/kysely";
|
|
14
14
|
import { PasskeyAuthenticationError, authenticateWithPasskey } from "@emdash-cms/auth/passkey";
|
|
15
15
|
|
|
@@ -3,13 +3,13 @@ import "../../../../../types-BXSUSAjt.mjs";
|
|
|
3
3
|
import { t as OptionsRepository } from "../../../../../options-BPCVnesz.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 { O as signupCompleteBody } from "../../../../../byline-fields-
|
|
6
|
+
import "../../../../../redirects-CCbCqCCd.mjs";
|
|
7
|
+
import { O as signupCompleteBody } from "../../../../../byline-fields-8TMtkBnH.mjs";
|
|
8
8
|
import "../../../../../api/schemas/index.mjs";
|
|
9
|
-
import { n as getPublicOrigin } from "../../../../../public-url-
|
|
10
|
-
import { n as validateAllowedOrigins, t as getConfiguredAllowedOrigins } from "../../../../../allowed-origins-
|
|
11
|
-
import { n as createChallengeStore } from "../../../../../challenge-store-
|
|
12
|
-
import { t as getPasskeyConfig } from "../../../../../passkey-config-
|
|
9
|
+
import { n as getPublicOrigin } from "../../../../../public-url-BFVC2OTJ.mjs";
|
|
10
|
+
import { n as validateAllowedOrigins, t as getConfiguredAllowedOrigins } from "../../../../../allowed-origins-B1u7Qnvg.mjs";
|
|
11
|
+
import { n as createChallengeStore } from "../../../../../challenge-store-DXX3rfdI.mjs";
|
|
12
|
+
import { t as getPasskeyConfig } from "../../../../../passkey-config-C3QgnQnU.mjs";
|
|
13
13
|
import { createKyselyAdapter } from "@emdash-cms/auth/adapters/kysely";
|
|
14
14
|
import { SignupError, completeSignup } from "@emdash-cms/auth";
|
|
15
15
|
import { registerPasskey, verifyRegistrationResponse } from "@emdash-cms/auth/passkey";
|
|
@@ -3,12 +3,12 @@ import "../../../../../types-BXSUSAjt.mjs";
|
|
|
3
3
|
import { t as OptionsRepository } from "../../../../../options-BPCVnesz.mjs";
|
|
4
4
|
import { n as apiSuccess, 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 { k as signupRequestBody } from "../../../../../byline-fields-
|
|
6
|
+
import "../../../../../redirects-CCbCqCCd.mjs";
|
|
7
|
+
import { k as signupRequestBody } from "../../../../../byline-fields-8TMtkBnH.mjs";
|
|
8
8
|
import "../../../../../api/schemas/index.mjs";
|
|
9
9
|
import { t as getTrustedProxyHeaders } from "../../../../../trusted-proxy-B4AfnoAp.mjs";
|
|
10
|
-
import { t as getSiteBaseUrl } from "../../../../../site-url-
|
|
11
|
-
import { n as getClientIp, t as checkRateLimit } from "../../../../../rate-limit-
|
|
10
|
+
import { t as getSiteBaseUrl } from "../../../../../site-url-CnHlmAs9.mjs";
|
|
11
|
+
import { n as getClientIp, t as checkRateLimit } from "../../../../../rate-limit-C7hjdkS5.mjs";
|
|
12
12
|
import { createKyselyAdapter } from "@emdash-cms/auth/adapters/kysely";
|
|
13
13
|
import { requestSignup } from "@emdash-cms/auth";
|
|
14
14
|
|
|
@@ -5,14 +5,14 @@ import { t as CommentRepository } from "../../../../../../comment-sqQxNpN3.mjs";
|
|
|
5
5
|
import "../../../../../../options-BPCVnesz.mjs";
|
|
6
6
|
import { a as unwrapResult, i as requireDb, n as apiSuccess, r as handleError, t as apiError } from "../../../../../../error-RwM4dD35.mjs";
|
|
7
7
|
import { n as parseBody, t as isParseError } from "../../../../../../parse-CrGndy1A.mjs";
|
|
8
|
-
import { yt as createCommentBody } from "../../../../../../redirects-
|
|
9
|
-
import "../../../../../../byline-fields-
|
|
8
|
+
import { yt as createCommentBody } from "../../../../../../redirects-CCbCqCCd.mjs";
|
|
9
|
+
import "../../../../../../byline-fields-8TMtkBnH.mjs";
|
|
10
10
|
import "../../../../../../api/schemas/index.mjs";
|
|
11
11
|
import { t as extractRequestMeta } from "../../../../../../request-meta-7ByVLxB-.mjs";
|
|
12
|
-
import { i as resolveSecretsCached } from "../../../../../../secrets-
|
|
13
|
-
import { c as hashIp, s as handleCommentList, t as checkRateLimit } from "../../../../../../comments-
|
|
14
|
-
import { t as getSiteBaseUrl } from "../../../../../../site-url-
|
|
15
|
-
import { i as sendCommentNotification, t as createComment } from "../../../../../../service-
|
|
12
|
+
import { i as resolveSecretsCached } from "../../../../../../secrets-ChPTmy9x.mjs";
|
|
13
|
+
import { c as hashIp, s as handleCommentList, t as checkRateLimit } from "../../../../../../comments-Vkivawyl.mjs";
|
|
14
|
+
import { t as getSiteBaseUrl } from "../../../../../../site-url-CnHlmAs9.mjs";
|
|
15
|
+
import { i as sendCommentNotification, t as createComment } from "../../../../../../service-ChDcsTBs.mjs";
|
|
16
16
|
|
|
17
17
|
//#region src/astro/routes/api/comments/[collection]/[contentId]/index.ts
|
|
18
18
|
const prerender = false;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "../../../../../../base64-CqR-7kqF.mjs";
|
|
2
2
|
import "../../../../../../types-BXSUSAjt.mjs";
|
|
3
3
|
import { a as unwrapResult, 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/content/[collection]/[id]/compare.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 { a as unwrapResult, o as mapErrorStatus, t as apiError } from "../../../../../../error-RwM4dD35.mjs";
|
|
4
|
-
import { t as requireOwnerPerm } from "../../../../../../authorize-
|
|
4
|
+
import { t as requireOwnerPerm } from "../../../../../../authorize-DsMSVSaY.mjs";
|
|
5
5
|
|
|
6
6
|
//#region src/astro/routes/api/content/[collection]/[id]/discard-draft.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 { a as unwrapResult, o as mapErrorStatus, t as apiError } from "../../../../../../error-RwM4dD35.mjs";
|
|
4
|
-
import { n as requirePerm, t as requireOwnerPerm } from "../../../../../../authorize-
|
|
4
|
+
import { n as requirePerm, t as requireOwnerPerm } from "../../../../../../authorize-DsMSVSaY.mjs";
|
|
5
5
|
|
|
6
6
|
//#region src/astro/routes/api/content/[collection]/[id]/duplicate.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 { a as unwrapResult, 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/content/[collection]/[id]/permanent.ts
|
|
7
7
|
const prerender = false;
|
|
@@ -4,13 +4,13 @@ import "../../../../../../types-BXSUSAjt.mjs";
|
|
|
4
4
|
import "../../../../../../options-BPCVnesz.mjs";
|
|
5
5
|
import { a as unwrapResult, n as apiSuccess, r as handleError, t as apiError } from "../../../../../../error-RwM4dD35.mjs";
|
|
6
6
|
import { r as parseOptionalBody, t as isParseError } from "../../../../../../parse-CrGndy1A.mjs";
|
|
7
|
-
import { an as contentPreviewUrlBody } from "../../../../../../redirects-
|
|
8
|
-
import "../../../../../../byline-fields-
|
|
7
|
+
import { an as contentPreviewUrlBody } from "../../../../../../redirects-CCbCqCCd.mjs";
|
|
8
|
+
import "../../../../../../byline-fields-8TMtkBnH.mjs";
|
|
9
9
|
import "../../../../../../api/schemas/index.mjs";
|
|
10
10
|
import "../../../../../../tokens-Bx2afeT-.mjs";
|
|
11
11
|
import { i as getPreviewUrl } from "../../../../../../preview-BfuRkVKW.mjs";
|
|
12
|
-
import { i as resolveSecretsCached } from "../../../../../../secrets-
|
|
13
|
-
import { n as requirePerm } from "../../../../../../authorize-
|
|
12
|
+
import { i as resolveSecretsCached } from "../../../../../../secrets-ChPTmy9x.mjs";
|
|
13
|
+
import { n as requirePerm } from "../../../../../../authorize-DsMSVSaY.mjs";
|
|
14
14
|
|
|
15
15
|
//#region src/astro/routes/api/content/[collection]/[id]/preview-url.ts
|
|
16
16
|
const prerender = false;
|
|
@@ -2,10 +2,10 @@ import "../../../../../../base64-CqR-7kqF.mjs";
|
|
|
2
2
|
import "../../../../../../types-BXSUSAjt.mjs";
|
|
3
3
|
import { a as unwrapResult, o as mapErrorStatus, t as apiError } from "../../../../../../error-RwM4dD35.mjs";
|
|
4
4
|
import { r as parseOptionalBody, t as isParseError } from "../../../../../../parse-CrGndy1A.mjs";
|
|
5
|
-
import { on as contentPublishBody } from "../../../../../../redirects-
|
|
6
|
-
import "../../../../../../byline-fields-
|
|
5
|
+
import { on as contentPublishBody } from "../../../../../../redirects-CCbCqCCd.mjs";
|
|
6
|
+
import "../../../../../../byline-fields-8TMtkBnH.mjs";
|
|
7
7
|
import "../../../../../../api/schemas/index.mjs";
|
|
8
|
-
import { t as requireOwnerPerm } from "../../../../../../authorize-
|
|
8
|
+
import { t as requireOwnerPerm } from "../../../../../../authorize-DsMSVSaY.mjs";
|
|
9
9
|
import { hasPermission } from "@emdash-cms/auth";
|
|
10
10
|
|
|
11
11
|
//#region src/astro/routes/api/content/[collection]/[id]/publish.ts
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "../../../../../../base64-CqR-7kqF.mjs";
|
|
2
2
|
import "../../../../../../types-BXSUSAjt.mjs";
|
|
3
3
|
import { a as unwrapResult, o as mapErrorStatus, t as apiError } from "../../../../../../error-RwM4dD35.mjs";
|
|
4
|
-
import { t as requireOwnerPerm } from "../../../../../../authorize-
|
|
4
|
+
import { t as requireOwnerPerm } from "../../../../../../authorize-DsMSVSaY.mjs";
|
|
5
5
|
|
|
6
6
|
//#region src/astro/routes/api/content/[collection]/[id]/restore.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 { a as unwrapResult, 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/content/[collection]/[id]/revisions.ts
|
|
7
7
|
const prerender = false;
|
|
@@ -2,10 +2,10 @@ import "../../../../../../base64-CqR-7kqF.mjs";
|
|
|
2
2
|
import "../../../../../../types-BXSUSAjt.mjs";
|
|
3
3
|
import { a as unwrapResult, o as mapErrorStatus, t as apiError } from "../../../../../../error-RwM4dD35.mjs";
|
|
4
4
|
import { n as parseBody, t as isParseError } from "../../../../../../parse-CrGndy1A.mjs";
|
|
5
|
-
import { cn as contentScheduleBody } from "../../../../../../redirects-
|
|
6
|
-
import "../../../../../../byline-fields-
|
|
5
|
+
import { cn as contentScheduleBody } from "../../../../../../redirects-CCbCqCCd.mjs";
|
|
6
|
+
import "../../../../../../byline-fields-8TMtkBnH.mjs";
|
|
7
7
|
import "../../../../../../api/schemas/index.mjs";
|
|
8
|
-
import { t as requireOwnerPerm } from "../../../../../../authorize-
|
|
8
|
+
import { t as requireOwnerPerm } from "../../../../../../authorize-DsMSVSaY.mjs";
|
|
9
9
|
|
|
10
10
|
//#region src/astro/routes/api/content/[collection]/[id]/schedule.ts
|
|
11
11
|
const prerender = false;
|
|
@@ -4,15 +4,15 @@ import "../../../../../../../base64-CqR-7kqF.mjs";
|
|
|
4
4
|
import "../../../../../../../types-BXSUSAjt.mjs";
|
|
5
5
|
import { t as TaxonomyRepository } from "../../../../../../../taxonomy-CdllE4oq.mjs";
|
|
6
6
|
import "../../../../../../../request-cache-D32LpnmI.mjs";
|
|
7
|
-
import "../../../../../../../loader-
|
|
7
|
+
import "../../../../../../../loader-ZN1ll-d-.mjs";
|
|
8
8
|
import "../../../../../../../resolve-BqYMVG0D.mjs";
|
|
9
|
-
import { l as invalidateTermCache } from "../../../../../../../taxonomies-
|
|
9
|
+
import { l as invalidateTermCache } from "../../../../../../../taxonomies-BdAmbOwx.mjs";
|
|
10
10
|
import { i as requireDb, n as apiSuccess, r as handleError, t as apiError } from "../../../../../../../error-RwM4dD35.mjs";
|
|
11
11
|
import { n as parseBody, t as isParseError } from "../../../../../../../parse-CrGndy1A.mjs";
|
|
12
|
-
import { dn as contentTermsBody } from "../../../../../../../redirects-
|
|
13
|
-
import "../../../../../../../byline-fields-
|
|
12
|
+
import { dn as contentTermsBody } from "../../../../../../../redirects-CCbCqCCd.mjs";
|
|
13
|
+
import "../../../../../../../byline-fields-8TMtkBnH.mjs";
|
|
14
14
|
import "../../../../../../../api/schemas/index.mjs";
|
|
15
|
-
import { n as requirePerm, t as requireOwnerPerm } from "../../../../../../../authorize-
|
|
15
|
+
import { n as requirePerm, t as requireOwnerPerm } from "../../../../../../../authorize-DsMSVSaY.mjs";
|
|
16
16
|
|
|
17
17
|
//#region src/astro/routes/api/content/[collection]/[id]/terms/[taxonomy].ts
|
|
18
18
|
const prerender = false;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "../../../../../../base64-CqR-7kqF.mjs";
|
|
2
2
|
import "../../../../../../types-BXSUSAjt.mjs";
|
|
3
3
|
import { a as unwrapResult, 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
|
import { hasPermission } from "@emdash-cms/auth";
|
|
6
6
|
|
|
7
7
|
//#region src/astro/routes/api/content/[collection]/[id]/translations.ts
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "../../../../../../base64-CqR-7kqF.mjs";
|
|
2
2
|
import "../../../../../../types-BXSUSAjt.mjs";
|
|
3
3
|
import { a as unwrapResult, o as mapErrorStatus, t as apiError } from "../../../../../../error-RwM4dD35.mjs";
|
|
4
|
-
import { t as requireOwnerPerm } from "../../../../../../authorize-
|
|
4
|
+
import { t as requireOwnerPerm } from "../../../../../../authorize-DsMSVSaY.mjs";
|
|
5
5
|
|
|
6
6
|
//#region src/astro/routes/api/content/[collection]/[id]/unpublish.ts
|
|
7
7
|
const prerender = false;
|
|
@@ -2,10 +2,10 @@ import "../../../../../base64-CqR-7kqF.mjs";
|
|
|
2
2
|
import "../../../../../types-BXSUSAjt.mjs";
|
|
3
3
|
import { a as unwrapResult, o as mapErrorStatus, t as apiError } from "../../../../../error-RwM4dD35.mjs";
|
|
4
4
|
import { n as parseBody, t as isParseError } from "../../../../../parse-CrGndy1A.mjs";
|
|
5
|
-
import { hn as contentUpdateBody } from "../../../../../redirects-
|
|
6
|
-
import "../../../../../byline-fields-
|
|
5
|
+
import { hn as contentUpdateBody } 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 { hasPermission } from "@emdash-cms/auth";
|
|
10
10
|
|
|
11
11
|
//#region src/astro/routes/api/content/[collection]/[id].ts
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "../../../../../base64-CqR-7kqF.mjs";
|
|
2
2
|
import "../../../../../types-BXSUSAjt.mjs";
|
|
3
3
|
import { a as unwrapResult, 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/content/[collection]/authors.ts
|
|
7
7
|
const prerender = false;
|
|
@@ -2,10 +2,10 @@ import "../../../../../base64-CqR-7kqF.mjs";
|
|
|
2
2
|
import "../../../../../types-BXSUSAjt.mjs";
|
|
3
3
|
import { a as unwrapResult, o as mapErrorStatus, t as apiError } from "../../../../../error-RwM4dD35.mjs";
|
|
4
4
|
import { i as parseQuery, n as parseBody, t as isParseError } from "../../../../../parse-CrGndy1A.mjs";
|
|
5
|
-
import { rn as contentListQuery, tn as contentCreateBody } from "../../../../../redirects-
|
|
6
|
-
import "../../../../../byline-fields-
|
|
5
|
+
import { rn as contentListQuery, tn as contentCreateBody } 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 { hasPermission } from "@emdash-cms/auth";
|
|
10
10
|
|
|
11
11
|
//#region src/astro/routes/api/content/[collection]/index.ts
|
|
@@ -2,10 +2,10 @@ import "../../../../../base64-CqR-7kqF.mjs";
|
|
|
2
2
|
import "../../../../../types-BXSUSAjt.mjs";
|
|
3
3
|
import { a as unwrapResult, t as apiError } from "../../../../../error-RwM4dD35.mjs";
|
|
4
4
|
import { i as parseQuery, t as isParseError } from "../../../../../parse-CrGndy1A.mjs";
|
|
5
|
-
import { mn as contentTrashQuery } from "../../../../../redirects-
|
|
6
|
-
import "../../../../../byline-fields-
|
|
5
|
+
import { mn as contentTrashQuery } from "../../../../../redirects-CCbCqCCd.mjs";
|
|
6
|
+
import "../../../../../byline-fields-8TMtkBnH.mjs";
|
|
7
7
|
import "../../../../../api/schemas/index.mjs";
|
|
8
|
-
import { n as requirePerm } from "../../../../../authorize-
|
|
8
|
+
import { n as requirePerm } from "../../../../../authorize-DsMSVSaY.mjs";
|
|
9
9
|
|
|
10
10
|
//#region src/astro/routes/api/content/[collection]/trash.ts
|
|
11
11
|
const prerender = false;
|
|
@@ -5,7 +5,7 @@ import "../../../media-JOf3pNkw.mjs";
|
|
|
5
5
|
import "../../../user-C0um7wrg.mjs";
|
|
6
6
|
import { t as handleDashboardStats } from "../../../dashboard-2JgAMWxK.mjs";
|
|
7
7
|
import { a as unwrapResult, r as handleError, t as apiError } from "../../../error-RwM4dD35.mjs";
|
|
8
|
-
import { n as requirePerm } from "../../../authorize-
|
|
8
|
+
import { n as requirePerm } from "../../../authorize-DsMSVSaY.mjs";
|
|
9
9
|
|
|
10
10
|
//#region src/astro/routes/api/dashboard.ts
|
|
11
11
|
const prerender = false;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import "../../../../types-
|
|
2
|
-
import "../../../../index-
|
|
3
|
-
import { g as ProbeResult } from "../../../../types-
|
|
1
|
+
import "../../../../types-BPzXTV9x.mjs";
|
|
2
|
+
import "../../../../index-DR56od45.mjs";
|
|
3
|
+
import { g as ProbeResult } from "../../../../types-BFgrqwSk.mjs";
|
|
4
4
|
import { APIRoute } from "astro";
|
|
5
5
|
|
|
6
6
|
//#region src/astro/routes/api/import/probe.d.ts
|
|
@@ -3,13 +3,13 @@ import "../../../../types-BXSUSAjt.mjs";
|
|
|
3
3
|
import { 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 { f as importProbeBody } from "../../../../byline-fields-
|
|
6
|
+
import "../../../../redirects-CCbCqCCd.mjs";
|
|
7
|
+
import { f as importProbeBody } from "../../../../byline-fields-8TMtkBnH.mjs";
|
|
8
8
|
import "../../../../api/schemas/index.mjs";
|
|
9
9
|
import { l as probeUrl } 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
|
|
|
14
14
|
//#region src/astro/routes/api/import/probe.ts
|
|
15
15
|
const prerender = false;
|
|
@@ -2,7 +2,7 @@ import "../../../../../base64-CqR-7kqF.mjs";
|
|
|
2
2
|
import "../../../../../types-BXSUSAjt.mjs";
|
|
3
3
|
import { a as RESERVED_COLLECTION_SLUGS } from "../../../../../types-DZk_y-MU.mjs";
|
|
4
4
|
import { n as apiSuccess, r as handleError, t as apiError } from "../../../../../error-RwM4dD35.mjs";
|
|
5
|
-
import { n as requirePerm } from "../../../../../authorize-
|
|
5
|
+
import { n as requirePerm } from "../../../../../authorize-DsMSVSaY.mjs";
|
|
6
6
|
import mime from "mime/lite";
|
|
7
7
|
import { SchemaRegistry, parseWxrString } from "emdash";
|
|
8
8
|
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import "../../../../../options-
|
|
2
|
-
import "../../../../../types-
|
|
3
|
-
import "../../../../../types-
|
|
4
|
-
import "../../../../../byline-fields-
|
|
5
|
-
import "../../../../../index-
|
|
6
|
-
import "../../../../../runner-
|
|
7
|
-
import "../../../../../index-
|
|
8
|
-
import "../../../../../types-
|
|
9
|
-
import "../../../../../validate-
|
|
1
|
+
import "../../../../../options-DyYIYpPd.mjs";
|
|
2
|
+
import "../../../../../types-BPzXTV9x.mjs";
|
|
3
|
+
import "../../../../../types-CPAPl93j.mjs";
|
|
4
|
+
import "../../../../../byline-fields-DbibsvTl.mjs";
|
|
5
|
+
import "../../../../../index-B1keaX5Y.mjs";
|
|
6
|
+
import "../../../../../runner-DTdhuI9i.mjs";
|
|
7
|
+
import "../../../../../index-DR56od45.mjs";
|
|
8
|
+
import "../../../../../types-BFgrqwSk.mjs";
|
|
9
|
+
import "../../../../../validate-CNwkPWzz.mjs";
|
|
10
10
|
import { EmDashHandlers, EmDashManifest } from "../../../../types.mjs";
|
|
11
11
|
import { Kysely } from "kysely";
|
|
12
12
|
import { WxrPost } from "emdash";
|
|
@@ -6,12 +6,12 @@ import { t as TaxonomyRepository } from "../../../../../taxonomy-CdllE4oq.mjs";
|
|
|
6
6
|
import "../../../../../request-cache-D32LpnmI.mjs";
|
|
7
7
|
import "../../../../../byline-registry-CWP7I71B.mjs";
|
|
8
8
|
import { t as BylineRepository } from "../../../../../byline-DUx48sJp.mjs";
|
|
9
|
-
import "../../../../../loader-
|
|
9
|
+
import "../../../../../loader-ZN1ll-d-.mjs";
|
|
10
10
|
import { i as resolveLocaleChain } from "../../../../../resolve-BqYMVG0D.mjs";
|
|
11
|
-
import { l as invalidateTermCache } from "../../../../../taxonomies-
|
|
11
|
+
import { l as invalidateTermCache } from "../../../../../taxonomies-BdAmbOwx.mjs";
|
|
12
12
|
import { n as apiSuccess, r as handleError, t as apiError } from "../../../../../error-RwM4dD35.mjs";
|
|
13
13
|
import { m as resolveImportByline } from "../../../../../utils-C4Ih4DML.mjs";
|
|
14
|
-
import { n as requirePerm } from "../../../../../authorize-
|
|
14
|
+
import { n as requirePerm } from "../../../../../authorize-DsMSVSaY.mjs";
|
|
15
15
|
import { sanitizeSlug } from "./analyze.mjs";
|
|
16
16
|
import { gutenbergToPortableText } from "@emdash-cms/gutenberg-to-portable-text";
|
|
17
17
|
import { ContentRepository, importReusableBlocksAsSections, parseWxrDate, parseWxrString } from "emdash";
|
|
@@ -3,11 +3,11 @@ import "../../../../../types-BXSUSAjt.mjs";
|
|
|
3
3
|
import { a as validateExternalUrl, r as ssrfSafeFetch, 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 { p as wpMediaImportBody } from "../../../../../byline-fields-
|
|
6
|
+
import "../../../../../redirects-CCbCqCCd.mjs";
|
|
7
|
+
import { p as wpMediaImportBody } from "../../../../../byline-fields-8TMtkBnH.mjs";
|
|
8
8
|
import "../../../../../api/schemas/index.mjs";
|
|
9
9
|
import "../../../../../ssrf-BvgVcfNQ.mjs";
|
|
10
|
-
import { n as requirePerm } from "../../../../../authorize-
|
|
10
|
+
import { n as requirePerm } from "../../../../../authorize-DsMSVSaY.mjs";
|
|
11
11
|
import { ulid } from "ulidx";
|
|
12
12
|
import mime from "mime/lite";
|
|
13
13
|
import * as path from "node:path";
|
|
@@ -3,10 +3,10 @@ import "../../../../../types-BXSUSAjt.mjs";
|
|
|
3
3
|
import { n as FIELD_TYPES } from "../../../../../types-DZk_y-MU.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 { g as wpPrepareBody } from "../../../../../byline-fields-
|
|
6
|
+
import "../../../../../redirects-CCbCqCCd.mjs";
|
|
7
|
+
import { g as wpPrepareBody } from "../../../../../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 { capitalize, sanitizeSlug, singularize } from "./analyze.mjs";
|
|
11
11
|
|
|
12
12
|
//#region src/astro/routes/api/import/wordpress/prepare.ts
|