emdash 0.26.0 → 0.27.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{adapters-DAAjOID4.d.mts → adapters-u037EnTR.d.mts} +1 -1
- package/dist/{adapters-DAAjOID4.d.mts.map → adapters-u037EnTR.d.mts.map} +1 -1
- package/dist/api/route-utils.mjs +10 -10
- package/dist/api/schemas/index.d.mts +1 -1
- package/dist/{api-BMfveMoB.mjs → api-80kycR9o.mjs} +84 -28
- package/dist/api-80kycR9o.mjs.map +1 -0
- package/dist/{apply--IVNSdXn.mjs → apply-DSypk6Iu.mjs} +19 -19
- package/dist/apply-DSypk6Iu.mjs.map +1 -0
- package/dist/astro/index.d.mts +7 -6
- package/dist/astro/index.d.mts.map +1 -1
- package/dist/astro/index.mjs +11 -3
- package/dist/astro/index.mjs.map +1 -1
- package/dist/astro/middleware/auth.d.mts +6 -5
- package/dist/astro/middleware/auth.d.mts.map +1 -1
- package/dist/astro/middleware/auth.mjs +4 -3
- package/dist/astro/middleware/auth.mjs.map +1 -1
- package/dist/astro/middleware/redirect.mjs +4 -4
- package/dist/astro/middleware.d.mts +1 -8
- package/dist/astro/middleware.d.mts.map +1 -1
- package/dist/astro/middleware.mjs +44 -43
- package/dist/astro/middleware.mjs.map +1 -1
- package/dist/astro/routes/api/admin/allowed-domains/_domain_.mjs +3 -3
- package/dist/astro/routes/api/admin/allowed-domains/index.mjs +3 -3
- package/dist/astro/routes/api/admin/api-tokens/_id_.mjs +2 -2
- package/dist/astro/routes/api/admin/api-tokens/index.mjs +3 -3
- package/dist/astro/routes/api/admin/byline-fields/_slug_/usage.mjs +3 -3
- package/dist/astro/routes/api/admin/byline-fields/_slug_.mjs +4 -4
- package/dist/astro/routes/api/admin/byline-fields/index.mjs +4 -4
- package/dist/astro/routes/api/admin/byline-fields/reorder.mjs +4 -4
- package/dist/astro/routes/api/admin/bylines/_id_/index.mjs +9 -9
- package/dist/astro/routes/api/admin/bylines/_id_/translations.mjs +9 -9
- package/dist/astro/routes/api/admin/bylines/index.mjs +9 -9
- package/dist/astro/routes/api/admin/comments/_id_/status.mjs +7 -7
- package/dist/astro/routes/api/admin/comments/_id_.mjs +5 -5
- package/dist/astro/routes/api/admin/comments/bulk.mjs +6 -6
- package/dist/astro/routes/api/admin/comments/counts.mjs +5 -5
- package/dist/astro/routes/api/admin/comments/index.mjs +6 -6
- package/dist/astro/routes/api/admin/hooks/exclusive/_hookName_.mjs +4 -4
- package/dist/astro/routes/api/admin/hooks/exclusive/index.mjs +3 -3
- package/dist/astro/routes/api/admin/oauth-clients/_id_.mjs +3 -3
- package/dist/astro/routes/api/admin/oauth-clients/index.mjs +3 -3
- package/dist/astro/routes/api/admin/plugins/_id_/disable.mjs +27 -27
- package/dist/astro/routes/api/admin/plugins/_id_/disable.mjs.map +1 -1
- package/dist/astro/routes/api/admin/plugins/_id_/enable.mjs +27 -27
- package/dist/astro/routes/api/admin/plugins/_id_/enable.mjs.map +1 -1
- package/dist/astro/routes/api/admin/plugins/_id_/index.mjs +27 -27
- package/dist/astro/routes/api/admin/plugins/_id_/index.mjs.map +1 -1
- package/dist/astro/routes/api/admin/plugins/_id_/uninstall.mjs +26 -26
- package/dist/astro/routes/api/admin/plugins/_id_/update.mjs +26 -26
- package/dist/astro/routes/api/admin/plugins/index.mjs +27 -27
- package/dist/astro/routes/api/admin/plugins/index.mjs.map +1 -1
- package/dist/astro/routes/api/admin/plugins/marketplace/_id_/icon.mjs +3 -3
- package/dist/astro/routes/api/admin/plugins/marketplace/_id_/index.mjs +26 -26
- package/dist/astro/routes/api/admin/plugins/marketplace/_id_/install.mjs +26 -26
- package/dist/astro/routes/api/admin/plugins/marketplace/index.mjs +26 -26
- package/dist/astro/routes/api/admin/plugins/registry/_id_/uninstall.mjs +26 -26
- package/dist/astro/routes/api/admin/plugins/registry/_id_/update.mjs +27 -27
- package/dist/astro/routes/api/admin/plugins/registry/artifact.mjs +26 -26
- package/dist/astro/routes/api/admin/plugins/registry/install.mjs +27 -27
- package/dist/astro/routes/api/admin/plugins/updates.mjs +26 -26
- package/dist/astro/routes/api/admin/themes/marketplace/_id_/index.mjs +26 -26
- package/dist/astro/routes/api/admin/themes/marketplace/_id_/thumbnail.mjs +3 -3
- package/dist/astro/routes/api/admin/themes/marketplace/index.mjs +26 -26
- package/dist/astro/routes/api/admin/users/_id_/disable.mjs +2 -2
- package/dist/astro/routes/api/admin/users/_id_/enable.mjs +2 -2
- package/dist/astro/routes/api/admin/users/_id_/index.mjs +3 -3
- package/dist/astro/routes/api/admin/users/_id_/send-recovery.mjs +2 -2
- package/dist/astro/routes/api/admin/users/index.mjs +3 -3
- package/dist/astro/routes/api/auth/dev-bypass.mjs +3 -3
- package/dist/astro/routes/api/auth/invite/accept.mjs +2 -2
- package/dist/astro/routes/api/auth/invite/complete.mjs +3 -3
- package/dist/astro/routes/api/auth/invite/index.mjs +3 -3
- package/dist/astro/routes/api/auth/invite/register-options.mjs +3 -3
- package/dist/astro/routes/api/auth/logout.mjs +2 -2
- package/dist/astro/routes/api/auth/magic-link/send.mjs +4 -4
- package/dist/astro/routes/api/auth/magic-link/verify.mjs +2 -2
- package/dist/astro/routes/api/auth/me.mjs +4 -4
- package/dist/astro/routes/api/auth/passkey/_id_.mjs +3 -3
- package/dist/astro/routes/api/auth/passkey/index.mjs +2 -2
- package/dist/astro/routes/api/auth/passkey/options.mjs +4 -4
- package/dist/astro/routes/api/auth/passkey/register/options.mjs +3 -3
- package/dist/astro/routes/api/auth/passkey/register/verify.mjs +3 -3
- package/dist/astro/routes/api/auth/passkey/verify.mjs +3 -3
- package/dist/astro/routes/api/auth/signup/complete.mjs +3 -3
- package/dist/astro/routes/api/auth/signup/request.mjs +4 -4
- package/dist/astro/routes/api/auth/signup/verify.mjs +2 -2
- package/dist/astro/routes/api/comments/_collection_/_contentId_/index.mjs +6 -6
- package/dist/astro/routes/api/comments/_collection_/_contentId_/reactions.mjs +6 -6
- package/dist/astro/routes/api/content/_collection_/_id_/compare.mjs +3 -3
- package/dist/astro/routes/api/content/_collection_/_id_/discard-draft.mjs +3 -3
- package/dist/astro/routes/api/content/_collection_/_id_/duplicate.mjs +3 -3
- package/dist/astro/routes/api/content/_collection_/_id_/permanent.mjs +3 -3
- package/dist/astro/routes/api/content/_collection_/_id_/preview-url.mjs +4 -4
- package/dist/astro/routes/api/content/_collection_/_id_/publish.mjs +4 -4
- package/dist/astro/routes/api/content/_collection_/_id_/restore.mjs +3 -3
- package/dist/astro/routes/api/content/_collection_/_id_/revisions.mjs +3 -3
- package/dist/astro/routes/api/content/_collection_/_id_/schedule.mjs +4 -4
- package/dist/astro/routes/api/content/_collection_/_id_/terms/_taxonomy_.mjs +8 -8
- package/dist/astro/routes/api/content/_collection_/_id_/translations.mjs +3 -3
- package/dist/astro/routes/api/content/_collection_/_id_/unpublish.mjs +3 -3
- package/dist/astro/routes/api/content/_collection_/_id_.mjs +4 -4
- package/dist/astro/routes/api/content/_collection_/authors.mjs +3 -3
- package/dist/astro/routes/api/content/_collection_/index.mjs +4 -4
- package/dist/astro/routes/api/content/_collection_/trash.mjs +4 -4
- package/dist/astro/routes/api/dashboard.mjs +7 -7
- package/dist/astro/routes/api/dev/emails.mjs +2 -2
- package/dist/astro/routes/api/import/probe.d.mts +2 -2
- package/dist/astro/routes/api/import/probe.mjs +4 -4
- package/dist/astro/routes/api/import/wordpress/analyze.mjs +3 -3
- package/dist/astro/routes/api/import/wordpress/execute.d.mts +6 -5
- package/dist/astro/routes/api/import/wordpress/execute.d.mts.map +1 -1
- package/dist/astro/routes/api/import/wordpress/execute.mjs +8 -8
- package/dist/astro/routes/api/import/wordpress/media.d.mts +6 -5
- package/dist/astro/routes/api/import/wordpress/media.d.mts.map +1 -1
- package/dist/astro/routes/api/import/wordpress/media.mjs +4 -4
- package/dist/astro/routes/api/import/wordpress/prepare.mjs +6 -6
- package/dist/astro/routes/api/import/wordpress/rewrite-urls.mjs +5 -5
- package/dist/astro/routes/api/import/wordpress-plugin/analyze.d.mts +1 -1
- package/dist/astro/routes/api/import/wordpress-plugin/analyze.mjs +4 -4
- package/dist/astro/routes/api/import/wordpress-plugin/execute.d.mts +1 -1
- package/dist/astro/routes/api/import/wordpress-plugin/execute.mjs +6 -6
- package/dist/astro/routes/api/manifest.d.mts.map +1 -1
- package/dist/astro/routes/api/manifest.mjs +13 -4
- package/dist/astro/routes/api/manifest.mjs.map +1 -1
- package/dist/astro/routes/api/mcp.mjs +34 -34
- package/dist/astro/routes/api/media/_id_/confirm.mjs +4 -4
- package/dist/astro/routes/api/media/_id_.mjs +4 -4
- package/dist/astro/routes/api/media/file/_...key_.mjs +2 -2
- package/dist/astro/routes/api/media/providers/_providerId_/_itemId_.mjs +3 -3
- package/dist/astro/routes/api/media/providers/_providerId_/index.mjs +3 -3
- package/dist/astro/routes/api/media/providers/index.mjs +3 -3
- package/dist/astro/routes/api/media/upload-url.mjs +4 -4
- package/dist/astro/routes/api/media.mjs +5 -5
- package/dist/astro/routes/api/menus/_name_/items/_id_.mjs +5 -5
- package/dist/astro/routes/api/menus/_name_/items.mjs +5 -5
- package/dist/astro/routes/api/menus/_name_/reorder.mjs +5 -5
- package/dist/astro/routes/api/menus/_name_/translations.mjs +5 -5
- package/dist/astro/routes/api/menus/_name_.mjs +5 -5
- package/dist/astro/routes/api/menus/index.mjs +5 -5
- package/dist/astro/routes/api/oauth/device/authorize.mjs +3 -3
- package/dist/astro/routes/api/oauth/device/code.mjs +4 -4
- package/dist/astro/routes/api/oauth/device/token.mjs +4 -4
- package/dist/astro/routes/api/oauth/register.mjs +2 -2
- package/dist/astro/routes/api/oauth/token/refresh.mjs +3 -3
- package/dist/astro/routes/api/oauth/token/revoke.mjs +3 -3
- package/dist/astro/routes/api/oauth/token.mjs +2 -2
- package/dist/astro/routes/api/openapi.json.mjs +2 -2
- package/dist/astro/routes/api/plugins/_pluginId_/_...path_.mjs +3 -3
- package/dist/astro/routes/api/redirects/404s/index.mjs +6 -6
- package/dist/astro/routes/api/redirects/404s/summary.mjs +6 -6
- package/dist/astro/routes/api/redirects/_id_.mjs +7 -7
- package/dist/astro/routes/api/redirects/index.mjs +7 -7
- package/dist/astro/routes/api/revisions/_revisionId_/index.mjs +3 -3
- package/dist/astro/routes/api/revisions/_revisionId_/restore.mjs +3 -3
- package/dist/astro/routes/api/schema/collections/_slug_/fields/_fieldSlug_.mjs +26 -26
- package/dist/astro/routes/api/schema/collections/_slug_/fields/index.mjs +26 -26
- package/dist/astro/routes/api/schema/collections/_slug_/fields/reorder.mjs +26 -26
- package/dist/astro/routes/api/schema/collections/_slug_/index.mjs +26 -26
- package/dist/astro/routes/api/schema/collections/index.mjs +26 -26
- package/dist/astro/routes/api/schema/index.mjs +6 -6
- package/dist/astro/routes/api/schema/orphans/_slug_.mjs +26 -26
- package/dist/astro/routes/api/schema/orphans/index.mjs +26 -26
- package/dist/astro/routes/api/search/enable.mjs +7 -7
- package/dist/astro/routes/api/search/index.mjs +6 -6
- package/dist/astro/routes/api/search/rebuild.mjs +7 -7
- package/dist/astro/routes/api/search/stats.mjs +6 -6
- package/dist/astro/routes/api/search/suggest.mjs +6 -6
- package/dist/astro/routes/api/sections/_slug_.mjs +6 -6
- package/dist/astro/routes/api/sections/index.mjs +6 -6
- package/dist/astro/routes/api/settings/email.mjs +4 -4
- package/dist/astro/routes/api/settings.mjs +8 -8
- package/dist/astro/routes/api/setup/admin-verify.mjs +3 -3
- package/dist/astro/routes/api/setup/admin.mjs +3 -3
- package/dist/astro/routes/api/setup/dev-bypass.d.mts.map +1 -1
- package/dist/astro/routes/api/setup/dev-bypass.mjs +19 -17
- package/dist/astro/routes/api/setup/dev-bypass.mjs.map +1 -1
- package/dist/astro/routes/api/setup/dev-reset.mjs +2 -2
- package/dist/astro/routes/api/setup/index.mjs +17 -17
- package/dist/astro/routes/api/setup/status.mjs +3 -3
- package/dist/astro/routes/api/snapshot.mjs +3 -3
- package/dist/astro/routes/api/taxonomies/_name_/terms/_slug_/translations.mjs +8 -8
- package/dist/astro/routes/api/taxonomies/_name_/terms/_slug_.mjs +8 -8
- package/dist/astro/routes/api/taxonomies/_name_/terms/index.mjs +8 -8
- package/dist/astro/routes/api/taxonomies/index.mjs +8 -8
- package/dist/astro/routes/api/themes/preview.mjs +3 -3
- package/dist/astro/routes/api/typegen.mjs +5 -5
- package/dist/astro/routes/api/widget-areas/_name_/reorder.mjs +4 -4
- package/dist/astro/routes/api/widget-areas/_name_/widgets/_id_.mjs +6 -6
- package/dist/astro/routes/api/widget-areas/_name_/widgets.mjs +6 -6
- package/dist/astro/routes/api/widget-areas/_name_.mjs +5 -5
- package/dist/astro/routes/api/widget-areas/index.mjs +6 -6
- package/dist/astro/routes/api/widget-components.mjs +2 -2
- package/dist/astro/routes/robots.txt.mjs +4 -4
- package/dist/astro/routes/sitemap-_collection_.xml.mjs +4 -4
- package/dist/astro/routes/sitemap.xml.mjs +4 -4
- package/dist/astro/types.d.mts +8 -6
- package/dist/astro/types.d.mts.map +1 -1
- package/dist/auth/providers/github.d.mts +1 -1
- package/dist/auth/providers/google.d.mts +1 -1
- package/dist/{authorize-BZnOGJFo.mjs → authorize-C3a_zGsM.mjs} +2 -2
- package/dist/{authorize-BZnOGJFo.mjs.map → authorize-C3a_zGsM.mjs.map} +1 -1
- package/dist/{byline-LL8lyqdb.mjs → byline-DEKSVPTy.mjs} +5 -5
- package/dist/{byline-LL8lyqdb.mjs.map → byline-DEKSVPTy.mjs.map} +1 -1
- package/dist/{byline-fields-KD3JFRuH.d.mts → byline-fields-CtQ6blXd.d.mts} +32 -32
- package/dist/{byline-fields-KD3JFRuH.d.mts.map → byline-fields-CtQ6blXd.d.mts.map} +1 -1
- package/dist/{bylines-DE47vP8d.mjs → bylines-CiqgTHWF.mjs} +5 -5
- package/dist/{bylines-DE47vP8d.mjs.map → bylines-CiqgTHWF.mjs.map} +1 -1
- package/dist/{bylines-BmJ7Vg7J.mjs → bylines-Ds4-otXl.mjs} +4 -4
- package/dist/{bylines-BmJ7Vg7J.mjs.map → bylines-Ds4-otXl.mjs.map} +1 -1
- package/dist/{cache-D9jF5bYw.mjs → cache-Ciu3e3AF.mjs} +2 -2
- package/dist/{cache-D9jF5bYw.mjs.map → cache-Ciu3e3AF.mjs.map} +1 -1
- package/dist/{chunks-OCG163rN.mjs → chunks-CZFiauig.mjs} +2 -2
- package/dist/{chunks-OCG163rN.mjs.map → chunks-CZFiauig.mjs.map} +1 -1
- package/dist/cli/index.mjs +15 -15
- package/dist/cli/index.mjs.map +1 -1
- package/dist/client/cf-access.d.mts +1 -1
- package/dist/client/index.d.mts +1 -1
- package/dist/{comment-D9BLDpZI.mjs → comment-CH1IrFFs.mjs} +2 -2
- package/dist/{comment-D9BLDpZI.mjs.map → comment-CH1IrFFs.mjs.map} +1 -1
- package/dist/{comment-reaction-Drl9SkNu.mjs → comment-reaction-kruNY-kP.mjs} +2 -2
- package/dist/{comment-reaction-Drl9SkNu.mjs.map → comment-reaction-kruNY-kP.mjs.map} +1 -1
- package/dist/{comments-BjJ9SKGU.mjs → comments-BUJyXbgq.mjs} +3 -3
- package/dist/{comments-BjJ9SKGU.mjs.map → comments-BUJyXbgq.mjs.map} +1 -1
- package/dist/{content-ncUWWjna.mjs → content-RmfHoWqK.mjs} +3 -3
- package/dist/{content-ncUWWjna.mjs.map → content-RmfHoWqK.mjs.map} +1 -1
- package/dist/{context-C_g-iJVA.mjs → context-CzUU_WzL.mjs} +7 -7
- package/dist/{context-C_g-iJVA.mjs.map → context-CzUU_WzL.mjs.map} +1 -1
- package/dist/{dashboard-CotyqQrW.mjs → dashboard-CVyGhift.mjs} +4 -4
- package/dist/{dashboard-CotyqQrW.mjs.map → dashboard-CVyGhift.mjs.map} +1 -1
- package/dist/db/index.d.mts +1 -1
- package/dist/db/index.mjs +1 -1
- package/dist/db/libsql.d.mts +1 -1
- package/dist/db/postgres.d.mts +1 -1
- package/dist/db/sqlite.d.mts +1 -1
- package/dist/{error-rVGiqWDt.mjs → error-BHkLZk-w.mjs} +2 -2
- package/dist/{error-rVGiqWDt.mjs.map → error-BHkLZk-w.mjs.map} +1 -1
- package/dist/{field-defs-cache-ljXzJCfc.mjs → field-defs-cache-BA-8ZPiT.mjs} +2 -2
- package/dist/{field-defs-cache-ljXzJCfc.mjs.map → field-defs-cache-BA-8ZPiT.mjs.map} +1 -1
- package/dist/{fts-manager-BbCCbEKA.mjs → fts-manager-Db9jGavf.mjs} +2 -2
- package/dist/{fts-manager-BbCCbEKA.mjs.map → fts-manager-Db9jGavf.mjs.map} +1 -1
- package/dist/{index-BRNabKrx.d.mts → index-CDZZjrLT.d.mts} +2407 -2365
- package/dist/index-CDZZjrLT.d.mts.map +1 -0
- package/dist/{index-Dt0OKJB4.d.mts → index-DGIjmUXQ.d.mts} +2 -2
- package/dist/{index-Dt0OKJB4.d.mts.map → index-DGIjmUXQ.d.mts.map} +1 -1
- package/dist/index.d.mts +11 -10
- package/dist/index.mjs +36 -36
- package/dist/{load-DMjXghbZ.mjs → load-DpHICVPh.mjs} +2 -2
- package/dist/{load-DMjXghbZ.mjs.map → load-DpHICVPh.mjs.map} +1 -1
- package/dist/{loader-BA_zhkS_.mjs → loader-4K37qA-y.mjs} +3 -3
- package/dist/{loader-BA_zhkS_.mjs.map → loader-4K37qA-y.mjs.map} +1 -1
- package/dist/media/local-runtime.d.mts +7 -6
- package/dist/media/local-runtime.d.mts.map +1 -1
- package/dist/media/local-runtime.mjs +4 -4
- package/dist/{media-C5t_eCnk.mjs → media-C0nRRfs1.mjs} +2 -2
- package/dist/{media-C5t_eCnk.mjs.map → media-C0nRRfs1.mjs.map} +1 -1
- package/dist/{menus-CYH09a41.mjs → menus-DzRyC1ID.mjs} +5 -5
- package/dist/{menus-CYH09a41.mjs.map → menus-DzRyC1ID.mjs.map} +1 -1
- package/dist/{menus-CBb6UrMU.mjs → menus-SL2K0xq2.mjs} +2 -2
- package/dist/{menus-CBb6UrMU.mjs.map → menus-SL2K0xq2.mjs.map} +1 -1
- package/dist/object-cache/memory.d.mts +1 -1
- package/dist/page/index.d.mts +1 -1
- package/dist/{parse-BwAdS7FZ.mjs → parse-CqyZj3Hp.mjs} +2 -2
- package/dist/{parse-BwAdS7FZ.mjs.map → parse-CqyZj3Hp.mjs.map} +1 -1
- package/dist/plugin-utils.d.mts +6 -5
- package/dist/plugin-utils.d.mts.map +1 -1
- package/dist/plugins/adapt-sandbox-entry.d.mts +6 -5
- package/dist/plugins/adapt-sandbox-entry.d.mts.map +1 -1
- package/dist/{query-BpQb-blG.mjs → query-B0M-9LYR.mjs} +13 -13
- package/dist/{query-BpQb-blG.mjs.map → query-B0M-9LYR.mjs.map} +1 -1
- package/dist/{rate-limit-Dap6HMNM.mjs → rate-limit-BwoUdIpC.mjs} +2 -2
- package/dist/{rate-limit-Dap6HMNM.mjs.map → rate-limit-BwoUdIpC.mjs.map} +1 -1
- package/dist/{redirect-_M0trWoo.mjs → redirect-lMOzG04S.mjs} +2 -2
- package/dist/{redirect-_M0trWoo.mjs.map → redirect-lMOzG04S.mjs.map} +1 -1
- package/dist/{redirects-w0V9vj_j.mjs → redirects-9218MmYl.mjs} +3 -3
- package/dist/{redirects-w0V9vj_j.mjs.map → redirects-9218MmYl.mjs.map} +1 -1
- package/dist/{registry-g8yYt4cC.mjs → registry-DP-iEtdR.mjs} +4 -4
- package/dist/{registry-g8yYt4cC.mjs.map → registry-DP-iEtdR.mjs.map} +1 -1
- package/dist/runner-BbR3DfrL.d.mts.map +1 -1
- package/dist/{runner-DPdt_Wpa.mjs → runner-CFngB4WZ.mjs} +232 -199
- package/dist/runner-CFngB4WZ.mjs.map +1 -0
- package/dist/runtime.d.mts +6 -5
- package/dist/runtime.d.mts.map +1 -1
- package/dist/runtime.mjs +2 -2
- package/dist/scheduled-publish-BMljtY5G.d.mts +11 -0
- package/dist/scheduled-publish-BMljtY5G.d.mts.map +1 -0
- package/dist/{schema-DoLd3j2e.mjs → schema-BfJ7bIXH.mjs} +4 -4
- package/dist/{schema-DoLd3j2e.mjs.map → schema-BfJ7bIXH.mjs.map} +1 -1
- package/dist/{search-BR0ZeZmh.mjs → search-C7t3PH1J.mjs} +6 -4
- package/dist/search-C7t3PH1J.mjs.map +1 -0
- package/dist/{sections-5J2YJPqJ.mjs → sections-Dm0CVX23.mjs} +3 -3
- package/dist/{sections-5J2YJPqJ.mjs.map → sections-Dm0CVX23.mjs.map} +1 -1
- package/dist/seed/index.d.mts +1 -1
- package/dist/seed/index.mjs +14 -14
- package/dist/{seo-DKeXHkzE.mjs → seo-Dd3tbY_k.mjs} +2 -2
- package/dist/{seo-DKeXHkzE.mjs.map → seo-Dd3tbY_k.mjs.map} +1 -1
- package/dist/{service-BbO2s8gT.mjs → service-CTrqp_Jy.mjs} +2 -2
- package/dist/{service-BbO2s8gT.mjs.map → service-CTrqp_Jy.mjs.map} +1 -1
- package/dist/{settings-DJeki-97.mjs → settings-BX8cWBus.mjs} +3 -3
- package/dist/{settings-DJeki-97.mjs.map → settings-BX8cWBus.mjs.map} +1 -1
- package/dist/{settings-BMNr9Dmi.mjs → settings-CZ7ZP9cW.mjs} +3 -3
- package/dist/{settings-BMNr9Dmi.mjs.map → settings-CZ7ZP9cW.mjs.map} +1 -1
- package/dist/storage/local.d.mts +1 -1
- package/dist/storage/s3.d.mts +1 -1
- package/dist/{taxonomies-CM_fUqLU.mjs → taxonomies-DChKcVxf.mjs} +4 -4
- package/dist/{taxonomies-CM_fUqLU.mjs.map → taxonomies-DChKcVxf.mjs.map} +1 -1
- package/dist/{taxonomies-D13i2ctt.mjs → taxonomies-ckPjz-6d.mjs} +5 -5
- package/dist/{taxonomies-D13i2ctt.mjs.map → taxonomies-ckPjz-6d.mjs.map} +1 -1
- package/dist/{taxonomy-BU0LjdVb.mjs → taxonomy-Cru-he6s.mjs} +3 -3
- package/dist/{taxonomy-BU0LjdVb.mjs.map → taxonomy-Cru-he6s.mjs.map} +1 -1
- package/dist/{transport-BZ-03aFT.d.mts → transport-Blrl2k_o.d.mts} +1 -1
- package/dist/{transport-BZ-03aFT.d.mts.map → transport-Blrl2k_o.d.mts.map} +1 -1
- package/dist/{types-BG8_XTLj.d.mts → types-BkZ8DUEI.d.mts} +1 -1
- package/dist/{types-BG8_XTLj.d.mts.map → types-BkZ8DUEI.d.mts.map} +1 -1
- package/dist/{types-DrYMm9s5.d.mts → types-ByChcBgE.d.mts} +1 -1
- package/dist/{types-DrYMm9s5.d.mts.map → types-ByChcBgE.d.mts.map} +1 -1
- package/dist/{types-BWqGVhFn.d.mts → types-CvuKO5Pn.d.mts} +1 -1
- package/dist/{types-BWqGVhFn.d.mts.map → types-CvuKO5Pn.d.mts.map} +1 -1
- package/dist/{types-CZgK3EMW.mjs → types-DU4TSFS5.mjs} +2 -2
- package/dist/{types-CZgK3EMW.mjs.map → types-DU4TSFS5.mjs.map} +1 -1
- package/dist/{types-CUsXGRVj.d.mts → types-Dbqff978.d.mts} +1 -1
- package/dist/{types-CUsXGRVj.d.mts.map → types-Dbqff978.d.mts.map} +1 -1
- package/dist/{types-fS7-VTdR.d.mts → types-Y09-wtyU.d.mts} +1 -1
- package/dist/{types-fS7-VTdR.d.mts.map → types-Y09-wtyU.d.mts.map} +1 -1
- package/dist/{user-DkG2jKCp.mjs → user-DgGbKL9s.mjs} +3 -3
- package/dist/{user-DkG2jKCp.mjs.map → user-DgGbKL9s.mjs.map} +1 -1
- package/dist/{validate-CG0V0wNR.d.mts → validate-9ECmtEpJ.d.mts} +9 -4
- package/dist/{validate-CG0V0wNR.d.mts.map → validate-9ECmtEpJ.d.mts.map} +1 -1
- package/dist/{validate-CuJ1Ps9j.mjs → validate-CRkcYZAR.mjs} +2 -2
- package/dist/{validate-CuJ1Ps9j.mjs.map → validate-CRkcYZAR.mjs.map} +1 -1
- package/dist/{validation-CwUfTdGF.mjs → validation-sR26SOwD.mjs} +5 -5
- package/dist/{validation-CwUfTdGF.mjs.map → validation-sR26SOwD.mjs.map} +1 -1
- package/dist/version-CrqhKGWn.mjs +7 -0
- package/dist/{version-BoNBItP_.mjs.map → version-CrqhKGWn.mjs.map} +1 -1
- package/dist/{widgets-BfOZ-ajY.mjs → widgets-DRgtn7Cl.mjs} +2 -2
- package/dist/{widgets-BfOZ-ajY.mjs.map → widgets-DRgtn7Cl.mjs.map} +1 -1
- package/dist/{zod-generator-gFsRuNNy.mjs → zod-generator-C5JaV--i.mjs} +2 -2
- package/dist/{zod-generator-gFsRuNNy.mjs.map → zod-generator-C5JaV--i.mjs.map} +1 -1
- package/package.json +8 -8
- package/src/api/handlers/content.ts +59 -16
- package/src/api/handlers/plugins.ts +77 -10
- package/src/astro/integration/vite-config.ts +19 -1
- package/src/astro/middleware/auth.ts +1 -0
- package/src/astro/middleware.ts +1 -0
- package/src/astro/routes/api/admin/plugins/[id]/disable.ts +6 -1
- package/src/astro/routes/api/admin/plugins/[id]/enable.ts +6 -1
- package/src/astro/routes/api/admin/plugins/[id]/index.ts +1 -0
- package/src/astro/routes/api/admin/plugins/index.ts +1 -0
- package/src/astro/routes/api/manifest.ts +20 -1
- package/src/astro/routes/api/setup/dev-bypass.ts +7 -2
- package/src/astro/types.ts +4 -0
- package/src/cli/commands/seed.ts +1 -1
- package/src/components/LiveSearch.astro +40 -4
- package/src/components/live-search-routing.ts +30 -0
- package/src/database/migrations/036_i18n_menus_and_taxonomies.ts +23 -18
- package/src/database/migrations/048_restore_content_taxonomies_term_index.ts +32 -0
- package/src/database/migrations/runner.ts +2 -0
- package/src/search/query.ts +3 -0
- package/src/search/types.ts +2 -0
- package/src/seed/apply.ts +2 -2
- package/src/seed/types.ts +6 -1
- package/dist/api-BMfveMoB.mjs.map +0 -1
- package/dist/apply--IVNSdXn.mjs.map +0 -1
- package/dist/index-BRNabKrx.d.mts.map +0 -1
- package/dist/runner-DPdt_Wpa.mjs.map +0 -1
- package/dist/search-BR0ZeZmh.mjs.map +0 -1
- package/dist/version-BoNBItP_.mjs +0 -7
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { i as runMigrations } from "../../../../runner-
|
|
1
|
+
import { i as runMigrations } from "../../../../runner-CFngB4WZ.mjs";
|
|
2
2
|
import "../../../../dialect-helpers-DRI5pyY3.mjs";
|
|
3
3
|
import "../../../../base64-CmWvODNW.mjs";
|
|
4
|
-
import "../../../../types-
|
|
5
|
-
import { n as apiSuccess, r as handleError, t as apiError } from "../../../../error-
|
|
4
|
+
import "../../../../types-DU4TSFS5.mjs";
|
|
5
|
+
import { n as apiSuccess, r as handleError, t as apiError } from "../../../../error-BHkLZk-w.mjs";
|
|
6
6
|
import { t as escapeHtml } from "../../../../escape-Bjio4ZsM.mjs";
|
|
7
7
|
import { t as isSafeRedirect } from "../../../../redirect-CS-PHtNh.mjs";
|
|
8
8
|
import { ulid } from "ulidx";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "../../../../../base64-CmWvODNW.mjs";
|
|
2
|
-
import "../../../../../types-
|
|
3
|
-
import { n as apiSuccess, r as handleError, t as apiError } from "../../../../../error-
|
|
2
|
+
import "../../../../../types-DU4TSFS5.mjs";
|
|
3
|
+
import { n as apiSuccess, r as handleError, t as apiError } from "../../../../../error-BHkLZk-w.mjs";
|
|
4
4
|
import { createKyselyAdapter } from "@emdash-cms/auth/adapters/kysely";
|
|
5
5
|
import { InviteError, roleFromLevel, validateInvite } from "@emdash-cms/auth";
|
|
6
6
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import "../../../../../base64-CmWvODNW.mjs";
|
|
2
|
-
import "../../../../../types-
|
|
2
|
+
import "../../../../../types-DU4TSFS5.mjs";
|
|
3
3
|
import { t as OptionsRepository } from "../../../../../options-DTTML-Tx.mjs";
|
|
4
|
-
import { n as apiSuccess, r as handleError, t as apiError } from "../../../../../error-
|
|
5
|
-
import { n as parseBody, t as isParseError } from "../../../../../parse-
|
|
4
|
+
import { n as apiSuccess, r as handleError, t as apiError } from "../../../../../error-BHkLZk-w.mjs";
|
|
5
|
+
import { n as parseBody, t as isParseError } from "../../../../../parse-CqyZj3Hp.mjs";
|
|
6
6
|
import "../../../../../redirects-Dcbuisoj.mjs";
|
|
7
7
|
import { y as inviteCompleteBody } from "../../../../../byline-fields-eyJMblSr.mjs";
|
|
8
8
|
import "../../../../../status-vUK0SA17.mjs";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import "../../../../../base64-CmWvODNW.mjs";
|
|
2
|
-
import "../../../../../types-
|
|
2
|
+
import "../../../../../types-DU4TSFS5.mjs";
|
|
3
3
|
import { t as OptionsRepository } from "../../../../../options-DTTML-Tx.mjs";
|
|
4
|
-
import { n as apiSuccess, r as handleError, t as apiError } from "../../../../../error-
|
|
5
|
-
import { n as parseBody, t as isParseError } from "../../../../../parse-
|
|
4
|
+
import { n as apiSuccess, r as handleError, t as apiError } from "../../../../../error-BHkLZk-w.mjs";
|
|
5
|
+
import { n as parseBody, t as isParseError } from "../../../../../parse-CqyZj3Hp.mjs";
|
|
6
6
|
import "../../../../../redirects-Dcbuisoj.mjs";
|
|
7
7
|
import { b as inviteCreateBody } from "../../../../../byline-fields-eyJMblSr.mjs";
|
|
8
8
|
import "../../../../../status-vUK0SA17.mjs";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import "../../../../../base64-CmWvODNW.mjs";
|
|
2
|
-
import "../../../../../types-
|
|
2
|
+
import "../../../../../types-DU4TSFS5.mjs";
|
|
3
3
|
import { t as OptionsRepository } from "../../../../../options-DTTML-Tx.mjs";
|
|
4
|
-
import { n as apiSuccess, r as handleError, t as apiError } from "../../../../../error-
|
|
5
|
-
import { n as parseBody, t as isParseError } from "../../../../../parse-
|
|
4
|
+
import { n as apiSuccess, r as handleError, t as apiError } from "../../../../../error-BHkLZk-w.mjs";
|
|
5
|
+
import { n as parseBody, t as isParseError } from "../../../../../parse-CqyZj3Hp.mjs";
|
|
6
6
|
import "../../../../../redirects-Dcbuisoj.mjs";
|
|
7
7
|
import { x as inviteRegisterOptionsBody } from "../../../../../byline-fields-eyJMblSr.mjs";
|
|
8
8
|
import "../../../../../status-vUK0SA17.mjs";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "../../../../base64-CmWvODNW.mjs";
|
|
2
|
-
import "../../../../types-
|
|
3
|
-
import { n as apiSuccess, r as handleError } from "../../../../error-
|
|
2
|
+
import "../../../../types-DU4TSFS5.mjs";
|
|
3
|
+
import { n as apiSuccess, r as handleError } from "../../../../error-BHkLZk-w.mjs";
|
|
4
4
|
import { t as isSafeRedirect } from "../../../../redirect-CS-PHtNh.mjs";
|
|
5
5
|
|
|
6
6
|
//#region src/astro/routes/api/auth/logout.ts
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import "../../../../../base64-CmWvODNW.mjs";
|
|
2
|
-
import "../../../../../types-
|
|
2
|
+
import "../../../../../types-DU4TSFS5.mjs";
|
|
3
3
|
import { t as OptionsRepository } from "../../../../../options-DTTML-Tx.mjs";
|
|
4
|
-
import { n as apiSuccess, t as apiError } from "../../../../../error-
|
|
5
|
-
import { n as parseBody, t as isParseError } from "../../../../../parse-
|
|
4
|
+
import { n as apiSuccess, t as apiError } from "../../../../../error-BHkLZk-w.mjs";
|
|
5
|
+
import { n as parseBody, t as isParseError } from "../../../../../parse-CqyZj3Hp.mjs";
|
|
6
6
|
import "../../../../../redirects-Dcbuisoj.mjs";
|
|
7
7
|
import { S as magicLinkSendBody } from "../../../../../byline-fields-eyJMblSr.mjs";
|
|
8
8
|
import "../../../../../status-vUK0SA17.mjs";
|
|
9
9
|
import "../../../../../api/schemas/index.mjs";
|
|
10
10
|
import { t as getTrustedProxyHeaders } from "../../../../../trusted-proxy-DZY5WCn2.mjs";
|
|
11
11
|
import { t as getSiteBaseUrl } from "../../../../../site-url-BLebyON8.mjs";
|
|
12
|
-
import { n as getClientIp, t as checkRateLimit } from "../../../../../rate-limit-
|
|
12
|
+
import { n as getClientIp, t as checkRateLimit } from "../../../../../rate-limit-BwoUdIpC.mjs";
|
|
13
13
|
import { createKyselyAdapter } from "@emdash-cms/auth/adapters/kysely";
|
|
14
14
|
import { sendMagicLink } from "@emdash-cms/auth";
|
|
15
15
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "../../../../../base64-CmWvODNW.mjs";
|
|
2
|
-
import "../../../../../types-
|
|
3
|
-
import { t as apiError } from "../../../../../error-
|
|
2
|
+
import "../../../../../types-DU4TSFS5.mjs";
|
|
3
|
+
import { t as apiError } from "../../../../../error-BHkLZk-w.mjs";
|
|
4
4
|
import { t as isSafeRedirect } from "../../../../../redirect-CS-PHtNh.mjs";
|
|
5
5
|
import { createKyselyAdapter } from "@emdash-cms/auth/adapters/kysely";
|
|
6
6
|
import { MagicLinkError, verifyMagicLink } from "@emdash-cms/auth";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import "../../../../base64-CmWvODNW.mjs";
|
|
2
|
-
import "../../../../types-
|
|
3
|
-
import { t as UserRepository } from "../../../../user-
|
|
4
|
-
import { n as apiSuccess, r as handleError, t as apiError } from "../../../../error-
|
|
5
|
-
import { n as parseBody, t as isParseError } from "../../../../parse-
|
|
2
|
+
import "../../../../types-DU4TSFS5.mjs";
|
|
3
|
+
import { t as UserRepository } from "../../../../user-DgGbKL9s.mjs";
|
|
4
|
+
import { n as apiSuccess, r as handleError, t as apiError } from "../../../../error-BHkLZk-w.mjs";
|
|
5
|
+
import { n as parseBody, t as isParseError } from "../../../../parse-CqyZj3Hp.mjs";
|
|
6
6
|
import "../../../../redirects-Dcbuisoj.mjs";
|
|
7
7
|
import { v as authMeActionBody } from "../../../../byline-fields-eyJMblSr.mjs";
|
|
8
8
|
import "../../../../status-vUK0SA17.mjs";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "../../../../../base64-CmWvODNW.mjs";
|
|
2
|
-
import "../../../../../types-
|
|
3
|
-
import { n as apiSuccess, r as handleError, t as apiError } from "../../../../../error-
|
|
4
|
-
import { n as parseBody, t as isParseError } from "../../../../../parse-
|
|
2
|
+
import "../../../../../types-DU4TSFS5.mjs";
|
|
3
|
+
import { n as apiSuccess, r as handleError, t as apiError } from "../../../../../error-BHkLZk-w.mjs";
|
|
4
|
+
import { n as parseBody, t as isParseError } from "../../../../../parse-CqyZj3Hp.mjs";
|
|
5
5
|
import "../../../../../redirects-Dcbuisoj.mjs";
|
|
6
6
|
import { E as passkeyRenameBody } from "../../../../../byline-fields-eyJMblSr.mjs";
|
|
7
7
|
import "../../../../../status-vUK0SA17.mjs";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "../../../../../base64-CmWvODNW.mjs";
|
|
2
|
-
import "../../../../../types-
|
|
3
|
-
import { n as apiSuccess, r as handleError, t as apiError } from "../../../../../error-
|
|
2
|
+
import "../../../../../types-DU4TSFS5.mjs";
|
|
3
|
+
import { n as apiSuccess, r as handleError, t as apiError } from "../../../../../error-BHkLZk-w.mjs";
|
|
4
4
|
import { createKyselyAdapter } from "@emdash-cms/auth/adapters/kysely";
|
|
5
5
|
|
|
6
6
|
//#region src/astro/routes/api/auth/passkey/index.ts
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import "../../../../../base64-CmWvODNW.mjs";
|
|
2
|
-
import "../../../../../types-
|
|
2
|
+
import "../../../../../types-DU4TSFS5.mjs";
|
|
3
3
|
import { t as OptionsRepository } from "../../../../../options-DTTML-Tx.mjs";
|
|
4
|
-
import { n as apiSuccess, r as handleError, t as apiError } from "../../../../../error-
|
|
5
|
-
import { r as parseOptionalBody, t as isParseError } from "../../../../../parse-
|
|
4
|
+
import { n as apiSuccess, r as handleError, t as apiError } from "../../../../../error-BHkLZk-w.mjs";
|
|
5
|
+
import { r as parseOptionalBody, t as isParseError } from "../../../../../parse-CqyZj3Hp.mjs";
|
|
6
6
|
import "../../../../../redirects-Dcbuisoj.mjs";
|
|
7
7
|
import { C as passkeyOptionsBody } from "../../../../../byline-fields-eyJMblSr.mjs";
|
|
8
8
|
import "../../../../../status-vUK0SA17.mjs";
|
|
@@ -11,7 +11,7 @@ import { t as getTrustedProxyHeaders } from "../../../../../trusted-proxy-DZY5WC
|
|
|
11
11
|
import { n as getPublicOrigin } from "../../../../../public-url-CTVqgMmg.mjs";
|
|
12
12
|
import { n as createChallengeStore, t as cleanupExpiredChallenges } from "../../../../../challenge-store-LhiqMccz.mjs";
|
|
13
13
|
import { t as getPasskeyConfig } from "../../../../../passkey-config-C0YfSBko.mjs";
|
|
14
|
-
import { n as getClientIp, r as rateLimitResponse, t as checkRateLimit } from "../../../../../rate-limit-
|
|
14
|
+
import { n as getClientIp, r as rateLimitResponse, t as checkRateLimit } from "../../../../../rate-limit-BwoUdIpC.mjs";
|
|
15
15
|
import { createKyselyAdapter } from "@emdash-cms/auth/adapters/kysely";
|
|
16
16
|
import { generateAuthenticationOptions } from "@emdash-cms/auth/passkey";
|
|
17
17
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import "../../../../../../base64-CmWvODNW.mjs";
|
|
2
|
-
import "../../../../../../types-
|
|
2
|
+
import "../../../../../../types-DU4TSFS5.mjs";
|
|
3
3
|
import { t as OptionsRepository } from "../../../../../../options-DTTML-Tx.mjs";
|
|
4
|
-
import { n as apiSuccess, r as handleError, t as apiError } from "../../../../../../error-
|
|
5
|
-
import { r as parseOptionalBody, t as isParseError } from "../../../../../../parse-
|
|
4
|
+
import { n as apiSuccess, r as handleError, t as apiError } from "../../../../../../error-BHkLZk-w.mjs";
|
|
5
|
+
import { r as parseOptionalBody, t as isParseError } from "../../../../../../parse-CqyZj3Hp.mjs";
|
|
6
6
|
import "../../../../../../redirects-Dcbuisoj.mjs";
|
|
7
7
|
import { w as passkeyRegisterOptionsBody } from "../../../../../../byline-fields-eyJMblSr.mjs";
|
|
8
8
|
import "../../../../../../status-vUK0SA17.mjs";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import "../../../../../../base64-CmWvODNW.mjs";
|
|
2
|
-
import "../../../../../../types-
|
|
2
|
+
import "../../../../../../types-DU4TSFS5.mjs";
|
|
3
3
|
import { t as OptionsRepository } from "../../../../../../options-DTTML-Tx.mjs";
|
|
4
|
-
import { n as apiSuccess, t as apiError } from "../../../../../../error-
|
|
5
|
-
import { n as parseBody, t as isParseError } from "../../../../../../parse-
|
|
4
|
+
import { n as apiSuccess, t as apiError } from "../../../../../../error-BHkLZk-w.mjs";
|
|
5
|
+
import { n as parseBody, t as isParseError } from "../../../../../../parse-CqyZj3Hp.mjs";
|
|
6
6
|
import "../../../../../../redirects-Dcbuisoj.mjs";
|
|
7
7
|
import { T as passkeyRegisterVerifyBody } from "../../../../../../byline-fields-eyJMblSr.mjs";
|
|
8
8
|
import "../../../../../../status-vUK0SA17.mjs";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import "../../../../../base64-CmWvODNW.mjs";
|
|
2
|
-
import "../../../../../types-
|
|
2
|
+
import "../../../../../types-DU4TSFS5.mjs";
|
|
3
3
|
import { t as OptionsRepository } from "../../../../../options-DTTML-Tx.mjs";
|
|
4
|
-
import { n as apiSuccess, r as handleError, t as apiError } from "../../../../../error-
|
|
5
|
-
import { n as parseBody, t as isParseError } from "../../../../../parse-
|
|
4
|
+
import { n as apiSuccess, r as handleError, t as apiError } from "../../../../../error-BHkLZk-w.mjs";
|
|
5
|
+
import { n as parseBody, t as isParseError } from "../../../../../parse-CqyZj3Hp.mjs";
|
|
6
6
|
import "../../../../../redirects-Dcbuisoj.mjs";
|
|
7
7
|
import { D as passkeyVerifyBody } from "../../../../../byline-fields-eyJMblSr.mjs";
|
|
8
8
|
import "../../../../../status-vUK0SA17.mjs";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import "../../../../../base64-CmWvODNW.mjs";
|
|
2
|
-
import "../../../../../types-
|
|
2
|
+
import "../../../../../types-DU4TSFS5.mjs";
|
|
3
3
|
import { t as OptionsRepository } from "../../../../../options-DTTML-Tx.mjs";
|
|
4
|
-
import { n as apiSuccess, r as handleError, t as apiError } from "../../../../../error-
|
|
5
|
-
import { n as parseBody, t as isParseError } from "../../../../../parse-
|
|
4
|
+
import { n as apiSuccess, r as handleError, t as apiError } from "../../../../../error-BHkLZk-w.mjs";
|
|
5
|
+
import { n as parseBody, t as isParseError } from "../../../../../parse-CqyZj3Hp.mjs";
|
|
6
6
|
import "../../../../../redirects-Dcbuisoj.mjs";
|
|
7
7
|
import { O as signupCompleteBody } from "../../../../../byline-fields-eyJMblSr.mjs";
|
|
8
8
|
import "../../../../../status-vUK0SA17.mjs";
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import "../../../../../base64-CmWvODNW.mjs";
|
|
2
|
-
import "../../../../../types-
|
|
2
|
+
import "../../../../../types-DU4TSFS5.mjs";
|
|
3
3
|
import { t as OptionsRepository } from "../../../../../options-DTTML-Tx.mjs";
|
|
4
|
-
import { n as apiSuccess, t as apiError } from "../../../../../error-
|
|
5
|
-
import { n as parseBody, t as isParseError } from "../../../../../parse-
|
|
4
|
+
import { n as apiSuccess, t as apiError } from "../../../../../error-BHkLZk-w.mjs";
|
|
5
|
+
import { n as parseBody, t as isParseError } from "../../../../../parse-CqyZj3Hp.mjs";
|
|
6
6
|
import "../../../../../redirects-Dcbuisoj.mjs";
|
|
7
7
|
import { k as signupRequestBody } from "../../../../../byline-fields-eyJMblSr.mjs";
|
|
8
8
|
import "../../../../../status-vUK0SA17.mjs";
|
|
9
9
|
import "../../../../../api/schemas/index.mjs";
|
|
10
10
|
import { t as getTrustedProxyHeaders } from "../../../../../trusted-proxy-DZY5WCn2.mjs";
|
|
11
11
|
import { t as getSiteBaseUrl } from "../../../../../site-url-BLebyON8.mjs";
|
|
12
|
-
import { n as getClientIp, t as checkRateLimit } from "../../../../../rate-limit-
|
|
12
|
+
import { n as getClientIp, t as checkRateLimit } from "../../../../../rate-limit-BwoUdIpC.mjs";
|
|
13
13
|
import { createKyselyAdapter } from "@emdash-cms/auth/adapters/kysely";
|
|
14
14
|
import { requestSignup } from "@emdash-cms/auth";
|
|
15
15
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "../../../../../base64-CmWvODNW.mjs";
|
|
2
|
-
import "../../../../../types-
|
|
3
|
-
import { n as apiSuccess, r as handleError, t as apiError } from "../../../../../error-
|
|
2
|
+
import "../../../../../types-DU4TSFS5.mjs";
|
|
3
|
+
import { n as apiSuccess, r as handleError, t as apiError } from "../../../../../error-BHkLZk-w.mjs";
|
|
4
4
|
import { createKyselyAdapter } from "@emdash-cms/auth/adapters/kysely";
|
|
5
5
|
import { SignupError, roleFromLevel, validateSignupToken } from "@emdash-cms/auth";
|
|
6
6
|
|
|
@@ -2,20 +2,20 @@ import { t as validateIdentifier } from "../../../../../../validate-VPnKoIzW.mjs
|
|
|
2
2
|
import "../../../../../../after-B1IIdH3Y.mjs";
|
|
3
3
|
import "../../../../../../object-cache-CHbHv83-.mjs";
|
|
4
4
|
import "../../../../../../base64-CmWvODNW.mjs";
|
|
5
|
-
import "../../../../../../types-
|
|
6
|
-
import { t as CommentRepository } from "../../../../../../comment-
|
|
5
|
+
import "../../../../../../types-DU4TSFS5.mjs";
|
|
6
|
+
import { t as CommentRepository } from "../../../../../../comment-CH1IrFFs.mjs";
|
|
7
7
|
import "../../../../../../options-DTTML-Tx.mjs";
|
|
8
|
-
import { a as unwrapResult, i as requireDb, n as apiSuccess, r as handleError, t as apiError } from "../../../../../../error-
|
|
9
|
-
import { n as parseBody, t as isParseError } from "../../../../../../parse-
|
|
8
|
+
import { a as unwrapResult, i as requireDb, n as apiSuccess, r as handleError, t as apiError } from "../../../../../../error-BHkLZk-w.mjs";
|
|
9
|
+
import { n as parseBody, t as isParseError } from "../../../../../../parse-CqyZj3Hp.mjs";
|
|
10
10
|
import { yt as createCommentBody } from "../../../../../../redirects-Dcbuisoj.mjs";
|
|
11
11
|
import "../../../../../../byline-fields-eyJMblSr.mjs";
|
|
12
12
|
import "../../../../../../status-vUK0SA17.mjs";
|
|
13
13
|
import "../../../../../../api/schemas/index.mjs";
|
|
14
14
|
import { t as extractRequestMeta } from "../../../../../../request-meta-CmS1tDFf.mjs";
|
|
15
15
|
import { i as resolveSecretsCached } from "../../../../../../secrets-BSf9pRRY.mjs";
|
|
16
|
-
import { c as hashIp, s as handleCommentList, t as checkRateLimit } from "../../../../../../comments-
|
|
16
|
+
import { c as hashIp, s as handleCommentList, t as checkRateLimit } from "../../../../../../comments-BUJyXbgq.mjs";
|
|
17
17
|
import { t as getSiteBaseUrl } from "../../../../../../site-url-BLebyON8.mjs";
|
|
18
|
-
import { i as sendCommentNotification, t as createComment } from "../../../../../../service-
|
|
18
|
+
import { i as sendCommentNotification, t as createComment } from "../../../../../../service-CTrqp_Jy.mjs";
|
|
19
19
|
|
|
20
20
|
//#region src/astro/routes/api/comments/[collection]/[contentId]/index.ts
|
|
21
21
|
const prerender = false;
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import "../../../../../../after-B1IIdH3Y.mjs";
|
|
2
2
|
import { s as invalidateCommentObjectCache } from "../../../../../../object-cache-CHbHv83-.mjs";
|
|
3
3
|
import "../../../../../../base64-CmWvODNW.mjs";
|
|
4
|
-
import "../../../../../../types-
|
|
5
|
-
import "../../../../../../comment-
|
|
4
|
+
import "../../../../../../types-DU4TSFS5.mjs";
|
|
5
|
+
import "../../../../../../comment-CH1IrFFs.mjs";
|
|
6
6
|
import "../../../../../../options-DTTML-Tx.mjs";
|
|
7
|
-
import { a as unwrapResult, i as requireDb, n as apiSuccess, r as handleError, t as apiError } from "../../../../../../error-
|
|
8
|
-
import { n as parseBody, t as isParseError } from "../../../../../../parse-
|
|
7
|
+
import { a as unwrapResult, i as requireDb, n as apiSuccess, r as handleError, t as apiError } from "../../../../../../error-BHkLZk-w.mjs";
|
|
8
|
+
import { n as parseBody, t as isParseError } from "../../../../../../parse-CqyZj3Hp.mjs";
|
|
9
9
|
import { bt as createReactionBody } from "../../../../../../redirects-Dcbuisoj.mjs";
|
|
10
10
|
import "../../../../../../byline-fields-eyJMblSr.mjs";
|
|
11
11
|
import "../../../../../../status-vUK0SA17.mjs";
|
|
12
12
|
import "../../../../../../api/schemas/index.mjs";
|
|
13
13
|
import { t as extractRequestMeta } from "../../../../../../request-meta-CmS1tDFf.mjs";
|
|
14
|
-
import { t as CommentReactionRepository } from "../../../../../../comment-reaction-
|
|
14
|
+
import { t as CommentReactionRepository } from "../../../../../../comment-reaction-kruNY-kP.mjs";
|
|
15
15
|
import { i as resolveSecretsCached } from "../../../../../../secrets-BSf9pRRY.mjs";
|
|
16
|
-
import { c as hashIp } from "../../../../../../comments-
|
|
16
|
+
import { c as hashIp } from "../../../../../../comments-BUJyXbgq.mjs";
|
|
17
17
|
|
|
18
18
|
//#region src/api/handlers/comment-reactions.ts
|
|
19
19
|
/** Max reactions a single voter may register per window before throttling. */
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "../../../../../../base64-CmWvODNW.mjs";
|
|
2
|
-
import "../../../../../../types-
|
|
3
|
-
import { a as unwrapResult, t as apiError } from "../../../../../../error-
|
|
4
|
-
import { n as requirePerm } from "../../../../../../authorize-
|
|
2
|
+
import "../../../../../../types-DU4TSFS5.mjs";
|
|
3
|
+
import { a as unwrapResult, t as apiError } from "../../../../../../error-BHkLZk-w.mjs";
|
|
4
|
+
import { n as requirePerm } from "../../../../../../authorize-C3a_zGsM.mjs";
|
|
5
5
|
|
|
6
6
|
//#region src/astro/routes/api/content/[collection]/[id]/compare.ts
|
|
7
7
|
const prerender = false;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "../../../../../../base64-CmWvODNW.mjs";
|
|
2
|
-
import "../../../../../../types-
|
|
3
|
-
import { a as unwrapResult, o as mapErrorStatus, t as apiError } from "../../../../../../error-
|
|
4
|
-
import { t as requireOwnerPerm } from "../../../../../../authorize-
|
|
2
|
+
import "../../../../../../types-DU4TSFS5.mjs";
|
|
3
|
+
import { a as unwrapResult, o as mapErrorStatus, t as apiError } from "../../../../../../error-BHkLZk-w.mjs";
|
|
4
|
+
import { t as requireOwnerPerm } from "../../../../../../authorize-C3a_zGsM.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-CmWvODNW.mjs";
|
|
2
|
-
import "../../../../../../types-
|
|
3
|
-
import { a as unwrapResult, o as mapErrorStatus, t as apiError } from "../../../../../../error-
|
|
4
|
-
import { n as requirePerm, t as requireOwnerPerm } from "../../../../../../authorize-
|
|
2
|
+
import "../../../../../../types-DU4TSFS5.mjs";
|
|
3
|
+
import { a as unwrapResult, o as mapErrorStatus, t as apiError } from "../../../../../../error-BHkLZk-w.mjs";
|
|
4
|
+
import { n as requirePerm, t as requireOwnerPerm } from "../../../../../../authorize-C3a_zGsM.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-CmWvODNW.mjs";
|
|
2
|
-
import "../../../../../../types-
|
|
3
|
-
import { a as unwrapResult, t as apiError } from "../../../../../../error-
|
|
4
|
-
import { n as requirePerm } from "../../../../../../authorize-
|
|
2
|
+
import "../../../../../../types-DU4TSFS5.mjs";
|
|
3
|
+
import { a as unwrapResult, t as apiError } from "../../../../../../error-BHkLZk-w.mjs";
|
|
4
|
+
import { n as requirePerm } from "../../../../../../authorize-C3a_zGsM.mjs";
|
|
5
5
|
|
|
6
6
|
//#region src/astro/routes/api/content/[collection]/[id]/permanent.ts
|
|
7
7
|
const prerender = false;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { n as getI18nConfig } from "../../../../../../config-CVssduLe.mjs";
|
|
2
2
|
import "../../../../../../after-B1IIdH3Y.mjs";
|
|
3
3
|
import "../../../../../../base64-CmWvODNW.mjs";
|
|
4
|
-
import "../../../../../../types-
|
|
4
|
+
import "../../../../../../types-DU4TSFS5.mjs";
|
|
5
5
|
import "../../../../../../options-DTTML-Tx.mjs";
|
|
6
|
-
import { a as unwrapResult, n as apiSuccess, r as handleError, t as apiError } from "../../../../../../error-
|
|
7
|
-
import { r as parseOptionalBody, t as isParseError } from "../../../../../../parse-
|
|
6
|
+
import { a as unwrapResult, n as apiSuccess, r as handleError, t as apiError } from "../../../../../../error-BHkLZk-w.mjs";
|
|
7
|
+
import { r as parseOptionalBody, t as isParseError } from "../../../../../../parse-CqyZj3Hp.mjs";
|
|
8
8
|
import { on as contentPreviewUrlBody } from "../../../../../../redirects-Dcbuisoj.mjs";
|
|
9
9
|
import "../../../../../../byline-fields-eyJMblSr.mjs";
|
|
10
10
|
import "../../../../../../status-vUK0SA17.mjs";
|
|
@@ -12,7 +12,7 @@ import "../../../../../../api/schemas/index.mjs";
|
|
|
12
12
|
import "../../../../../../tokens-LeuXF9gG.mjs";
|
|
13
13
|
import { i as getPreviewUrl } from "../../../../../../preview-DKGCt2_p.mjs";
|
|
14
14
|
import { i as resolveSecretsCached } from "../../../../../../secrets-BSf9pRRY.mjs";
|
|
15
|
-
import { n as requirePerm } from "../../../../../../authorize-
|
|
15
|
+
import { n as requirePerm } from "../../../../../../authorize-C3a_zGsM.mjs";
|
|
16
16
|
|
|
17
17
|
//#region src/astro/routes/api/content/[collection]/[id]/preview-url.ts
|
|
18
18
|
const prerender = false;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import "../../../../../../base64-CmWvODNW.mjs";
|
|
2
|
-
import "../../../../../../types-
|
|
3
|
-
import { a as unwrapResult, o as mapErrorStatus, t as apiError } from "../../../../../../error-
|
|
4
|
-
import { r as parseOptionalBody, t as isParseError } from "../../../../../../parse-
|
|
2
|
+
import "../../../../../../types-DU4TSFS5.mjs";
|
|
3
|
+
import { a as unwrapResult, o as mapErrorStatus, t as apiError } from "../../../../../../error-BHkLZk-w.mjs";
|
|
4
|
+
import { r as parseOptionalBody, t as isParseError } from "../../../../../../parse-CqyZj3Hp.mjs";
|
|
5
5
|
import { sn as contentPublishBody } from "../../../../../../redirects-Dcbuisoj.mjs";
|
|
6
6
|
import "../../../../../../byline-fields-eyJMblSr.mjs";
|
|
7
7
|
import "../../../../../../status-vUK0SA17.mjs";
|
|
8
8
|
import "../../../../../../api/schemas/index.mjs";
|
|
9
|
-
import { t as requireOwnerPerm } from "../../../../../../authorize-
|
|
9
|
+
import { t as requireOwnerPerm } from "../../../../../../authorize-C3a_zGsM.mjs";
|
|
10
10
|
import { hasPermission } from "@emdash-cms/auth";
|
|
11
11
|
|
|
12
12
|
//#region src/astro/routes/api/content/[collection]/[id]/publish.ts
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "../../../../../../base64-CmWvODNW.mjs";
|
|
2
|
-
import "../../../../../../types-
|
|
3
|
-
import { a as unwrapResult, o as mapErrorStatus, t as apiError } from "../../../../../../error-
|
|
4
|
-
import { t as requireOwnerPerm } from "../../../../../../authorize-
|
|
2
|
+
import "../../../../../../types-DU4TSFS5.mjs";
|
|
3
|
+
import { a as unwrapResult, o as mapErrorStatus, t as apiError } from "../../../../../../error-BHkLZk-w.mjs";
|
|
4
|
+
import { t as requireOwnerPerm } from "../../../../../../authorize-C3a_zGsM.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-CmWvODNW.mjs";
|
|
2
|
-
import "../../../../../../types-
|
|
3
|
-
import { a as unwrapResult, t as apiError } from "../../../../../../error-
|
|
4
|
-
import { n as requirePerm } from "../../../../../../authorize-
|
|
2
|
+
import "../../../../../../types-DU4TSFS5.mjs";
|
|
3
|
+
import { a as unwrapResult, t as apiError } from "../../../../../../error-BHkLZk-w.mjs";
|
|
4
|
+
import { n as requirePerm } from "../../../../../../authorize-C3a_zGsM.mjs";
|
|
5
5
|
|
|
6
6
|
//#region src/astro/routes/api/content/[collection]/[id]/revisions.ts
|
|
7
7
|
const prerender = false;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import "../../../../../../base64-CmWvODNW.mjs";
|
|
2
|
-
import "../../../../../../types-
|
|
3
|
-
import { a as unwrapResult, o as mapErrorStatus, t as apiError } from "../../../../../../error-
|
|
4
|
-
import { n as parseBody, t as isParseError } from "../../../../../../parse-
|
|
2
|
+
import "../../../../../../types-DU4TSFS5.mjs";
|
|
3
|
+
import { a as unwrapResult, o as mapErrorStatus, t as apiError } from "../../../../../../error-BHkLZk-w.mjs";
|
|
4
|
+
import { n as parseBody, t as isParseError } from "../../../../../../parse-CqyZj3Hp.mjs";
|
|
5
5
|
import { ln as contentScheduleBody } from "../../../../../../redirects-Dcbuisoj.mjs";
|
|
6
6
|
import "../../../../../../byline-fields-eyJMblSr.mjs";
|
|
7
7
|
import "../../../../../../status-vUK0SA17.mjs";
|
|
8
8
|
import "../../../../../../api/schemas/index.mjs";
|
|
9
|
-
import { t as requireOwnerPerm } from "../../../../../../authorize-
|
|
9
|
+
import { t as requireOwnerPerm } from "../../../../../../authorize-C3a_zGsM.mjs";
|
|
10
10
|
|
|
11
11
|
//#region src/astro/routes/api/content/[collection]/[id]/schedule.ts
|
|
12
12
|
const prerender = false;
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import "../../../../../../../dialect-helpers-DRI5pyY3.mjs";
|
|
2
2
|
import "../../../../../../../after-B1IIdH3Y.mjs";
|
|
3
3
|
import "../../../../../../../object-cache-CHbHv83-.mjs";
|
|
4
|
-
import { t as ContentRepository } from "../../../../../../../content-
|
|
4
|
+
import { t as ContentRepository } from "../../../../../../../content-RmfHoWqK.mjs";
|
|
5
5
|
import "../../../../../../../base64-CmWvODNW.mjs";
|
|
6
|
-
import "../../../../../../../types-
|
|
7
|
-
import { t as TaxonomyRepository } from "../../../../../../../taxonomy-
|
|
6
|
+
import "../../../../../../../types-DU4TSFS5.mjs";
|
|
7
|
+
import { t as TaxonomyRepository } from "../../../../../../../taxonomy-Cru-he6s.mjs";
|
|
8
8
|
import "../../../../../../../request-cache-KCNHp_RJ.mjs";
|
|
9
|
-
import "../../../../../../../loader-
|
|
9
|
+
import "../../../../../../../loader-4K37qA-y.mjs";
|
|
10
10
|
import "../../../../../../../resolve-C7I0qiR0.mjs";
|
|
11
|
-
import { u as invalidateTermCache } from "../../../../../../../taxonomies-
|
|
12
|
-
import { i as requireDb, n as apiSuccess, r as handleError, t as apiError } from "../../../../../../../error-
|
|
13
|
-
import { n as parseBody, t as isParseError } from "../../../../../../../parse-
|
|
11
|
+
import { u as invalidateTermCache } from "../../../../../../../taxonomies-ckPjz-6d.mjs";
|
|
12
|
+
import { i as requireDb, n as apiSuccess, r as handleError, t as apiError } from "../../../../../../../error-BHkLZk-w.mjs";
|
|
13
|
+
import { n as parseBody, t as isParseError } from "../../../../../../../parse-CqyZj3Hp.mjs";
|
|
14
14
|
import { fn as contentTermsBody } from "../../../../../../../redirects-Dcbuisoj.mjs";
|
|
15
15
|
import "../../../../../../../byline-fields-eyJMblSr.mjs";
|
|
16
16
|
import "../../../../../../../status-vUK0SA17.mjs";
|
|
17
17
|
import "../../../../../../../api/schemas/index.mjs";
|
|
18
|
-
import { n as requirePerm, t as requireOwnerPerm } from "../../../../../../../authorize-
|
|
18
|
+
import { n as requirePerm, t as requireOwnerPerm } from "../../../../../../../authorize-C3a_zGsM.mjs";
|
|
19
19
|
|
|
20
20
|
//#region src/astro/routes/api/content/[collection]/[id]/terms/[taxonomy].ts
|
|
21
21
|
const prerender = false;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "../../../../../../base64-CmWvODNW.mjs";
|
|
2
|
-
import "../../../../../../types-
|
|
3
|
-
import { a as unwrapResult, t as apiError } from "../../../../../../error-
|
|
4
|
-
import { n as requirePerm } from "../../../../../../authorize-
|
|
2
|
+
import "../../../../../../types-DU4TSFS5.mjs";
|
|
3
|
+
import { a as unwrapResult, t as apiError } from "../../../../../../error-BHkLZk-w.mjs";
|
|
4
|
+
import { n as requirePerm } from "../../../../../../authorize-C3a_zGsM.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-CmWvODNW.mjs";
|
|
2
|
-
import "../../../../../../types-
|
|
3
|
-
import { a as unwrapResult, o as mapErrorStatus, t as apiError } from "../../../../../../error-
|
|
4
|
-
import { t as requireOwnerPerm } from "../../../../../../authorize-
|
|
2
|
+
import "../../../../../../types-DU4TSFS5.mjs";
|
|
3
|
+
import { a as unwrapResult, o as mapErrorStatus, t as apiError } from "../../../../../../error-BHkLZk-w.mjs";
|
|
4
|
+
import { t as requireOwnerPerm } from "../../../../../../authorize-C3a_zGsM.mjs";
|
|
5
5
|
|
|
6
6
|
//#region src/astro/routes/api/content/[collection]/[id]/unpublish.ts
|
|
7
7
|
const prerender = false;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import "../../../../../base64-CmWvODNW.mjs";
|
|
2
|
-
import "../../../../../types-
|
|
3
|
-
import { a as unwrapResult, o as mapErrorStatus, t as apiError } from "../../../../../error-
|
|
4
|
-
import { n as parseBody, t as isParseError } from "../../../../../parse-
|
|
2
|
+
import "../../../../../types-DU4TSFS5.mjs";
|
|
3
|
+
import { a as unwrapResult, o as mapErrorStatus, t as apiError } from "../../../../../error-BHkLZk-w.mjs";
|
|
4
|
+
import { n as parseBody, t as isParseError } from "../../../../../parse-CqyZj3Hp.mjs";
|
|
5
5
|
import { gn as contentUpdateBody } from "../../../../../redirects-Dcbuisoj.mjs";
|
|
6
6
|
import "../../../../../byline-fields-eyJMblSr.mjs";
|
|
7
7
|
import "../../../../../status-vUK0SA17.mjs";
|
|
8
8
|
import "../../../../../api/schemas/index.mjs";
|
|
9
|
-
import { n as requirePerm, t as requireOwnerPerm } from "../../../../../authorize-
|
|
9
|
+
import { n as requirePerm, t as requireOwnerPerm } from "../../../../../authorize-C3a_zGsM.mjs";
|
|
10
10
|
import { hasPermission } from "@emdash-cms/auth";
|
|
11
11
|
|
|
12
12
|
//#region src/astro/routes/api/content/[collection]/[id].ts
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "../../../../../base64-CmWvODNW.mjs";
|
|
2
|
-
import "../../../../../types-
|
|
3
|
-
import { a as unwrapResult, t as apiError } from "../../../../../error-
|
|
4
|
-
import { n as requirePerm } from "../../../../../authorize-
|
|
2
|
+
import "../../../../../types-DU4TSFS5.mjs";
|
|
3
|
+
import { a as unwrapResult, t as apiError } from "../../../../../error-BHkLZk-w.mjs";
|
|
4
|
+
import { n as requirePerm } from "../../../../../authorize-C3a_zGsM.mjs";
|
|
5
5
|
|
|
6
6
|
//#region src/astro/routes/api/content/[collection]/authors.ts
|
|
7
7
|
const prerender = false;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import "../../../../../base64-CmWvODNW.mjs";
|
|
2
|
-
import "../../../../../types-
|
|
3
|
-
import { a as unwrapResult, o as mapErrorStatus, t as apiError } from "../../../../../error-
|
|
4
|
-
import { i as parseQuery, n as parseBody, t as isParseError } from "../../../../../parse-
|
|
2
|
+
import "../../../../../types-DU4TSFS5.mjs";
|
|
3
|
+
import { a as unwrapResult, o as mapErrorStatus, t as apiError } from "../../../../../error-BHkLZk-w.mjs";
|
|
4
|
+
import { i as parseQuery, n as parseBody, t as isParseError } from "../../../../../parse-CqyZj3Hp.mjs";
|
|
5
5
|
import { in as contentListQuery, nn as contentCreateBody } from "../../../../../redirects-Dcbuisoj.mjs";
|
|
6
6
|
import "../../../../../byline-fields-eyJMblSr.mjs";
|
|
7
7
|
import "../../../../../status-vUK0SA17.mjs";
|
|
8
8
|
import "../../../../../api/schemas/index.mjs";
|
|
9
|
-
import { n as requirePerm, t as requireOwnerPerm } from "../../../../../authorize-
|
|
9
|
+
import { n as requirePerm, t as requireOwnerPerm } from "../../../../../authorize-C3a_zGsM.mjs";
|
|
10
10
|
import { hasPermission } from "@emdash-cms/auth";
|
|
11
11
|
|
|
12
12
|
//#region src/astro/routes/api/content/[collection]/index.ts
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import "../../../../../base64-CmWvODNW.mjs";
|
|
2
|
-
import "../../../../../types-
|
|
3
|
-
import { a as unwrapResult, t as apiError } from "../../../../../error-
|
|
4
|
-
import { i as parseQuery, t as isParseError } from "../../../../../parse-
|
|
2
|
+
import "../../../../../types-DU4TSFS5.mjs";
|
|
3
|
+
import { a as unwrapResult, t as apiError } from "../../../../../error-BHkLZk-w.mjs";
|
|
4
|
+
import { i as parseQuery, t as isParseError } from "../../../../../parse-CqyZj3Hp.mjs";
|
|
5
5
|
import { hn as contentTrashQuery } from "../../../../../redirects-Dcbuisoj.mjs";
|
|
6
6
|
import "../../../../../byline-fields-eyJMblSr.mjs";
|
|
7
7
|
import "../../../../../status-vUK0SA17.mjs";
|
|
8
8
|
import "../../../../../api/schemas/index.mjs";
|
|
9
|
-
import { n as requirePerm } from "../../../../../authorize-
|
|
9
|
+
import { n as requirePerm } from "../../../../../authorize-C3a_zGsM.mjs";
|
|
10
10
|
|
|
11
11
|
//#region src/astro/routes/api/content/[collection]/trash.ts
|
|
12
12
|
const prerender = false;
|