emdash 0.17.1 → 0.17.2
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/api/route-utils.mjs +11 -11
- package/dist/api/schemas/index.d.mts +1 -1
- package/dist/{api-Dmz40c2V.mjs → api-B7GATEYo.mjs} +12 -12
- package/dist/{api-Dmz40c2V.mjs.map → api-B7GATEYo.mjs.map} +1 -1
- package/dist/{apply-CuuZG6op.mjs → apply-BrVqULFe.mjs} +16 -16
- package/dist/{apply-CuuZG6op.mjs.map → apply-BrVqULFe.mjs.map} +1 -1
- package/dist/astro/index.d.mts +2 -2
- package/dist/astro/index.mjs +1 -1
- package/dist/astro/middleware/auth.d.mts +2 -2
- package/dist/astro/middleware/auth.mjs +2 -2
- package/dist/astro/middleware/redirect.mjs +5 -5
- package/dist/astro/middleware.d.mts.map +1 -1
- package/dist/astro/middleware.mjs +65 -49
- 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 +26 -26
- package/dist/astro/routes/api/admin/plugins/_id_/enable.mjs +26 -26
- package/dist/astro/routes/api/admin/plugins/_id_/index.mjs +26 -26
- 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 +26 -26
- 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 +4 -4
- 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/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 +9 -9
- 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_/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.mjs +4 -4
- package/dist/astro/routes/api/import/wordpress/analyze.mjs +3 -3
- package/dist/astro/routes/api/import/wordpress/execute.d.mts +2 -2
- package/dist/astro/routes/api/import/wordpress/execute.mjs +8 -8
- 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.mjs +4 -4
- package/dist/astro/routes/api/import/wordpress-plugin/execute.mjs +6 -6
- package/dist/astro/routes/api/manifest.mjs +3 -3
- package/dist/astro/routes/api/mcp.mjs +26 -26
- 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 +7 -7
- package/dist/astro/routes/api/redirects/404s/summary.mjs +7 -7
- package/dist/astro/routes/api/redirects/_id_.mjs +8 -8
- package/dist/astro/routes/api/redirects/index.mjs +8 -8
- 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 +7 -7
- 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 +8 -8
- package/dist/astro/routes/api/search/index.mjs +7 -7
- package/dist/astro/routes/api/search/rebuild.mjs +8 -8
- package/dist/astro/routes/api/search/stats.mjs +7 -7
- package/dist/astro/routes/api/search/suggest.mjs +7 -7
- package/dist/astro/routes/api/sections/_slug_.mjs +7 -7
- package/dist/astro/routes/api/sections/index.mjs +7 -7
- package/dist/astro/routes/api/settings/email.mjs +4 -4
- package/dist/astro/routes/api/settings.mjs +9 -9
- 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.mjs +16 -16
- 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 +9 -9
- package/dist/astro/routes/api/taxonomies/_name_/terms/_slug_.mjs +9 -9
- package/dist/astro/routes/api/taxonomies/_name_/terms/index.mjs +9 -9
- package/dist/astro/routes/api/taxonomies/index.mjs +9 -9
- 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 +7 -7
- package/dist/astro/routes/api/widget-areas/_name_/widgets.mjs +7 -7
- package/dist/astro/routes/api/widget-areas/_name_.mjs +6 -6
- package/dist/astro/routes/api/widget-areas/index.mjs +7 -7
- package/dist/astro/routes/api/widget-components.mjs +2 -2
- package/dist/astro/routes/robots.txt.mjs +5 -5
- package/dist/astro/routes/sitemap-_collection_.xml.mjs +5 -5
- package/dist/astro/routes/sitemap.xml.mjs +5 -5
- package/dist/astro/types.d.mts +2 -2
- package/dist/{authorize-_wWM_44T.mjs → authorize-CLTmOUyx.mjs} +2 -2
- package/dist/{authorize-_wWM_44T.mjs.map → authorize-CLTmOUyx.mjs.map} +1 -1
- package/dist/{byline-BrIVWLm-.mjs → byline-CAhk4FrG.mjs} +4 -4
- package/dist/{byline-BrIVWLm-.mjs.map → byline-CAhk4FrG.mjs.map} +1 -1
- package/dist/{byline-fields-BNy7Ng1U.d.mts → byline-fields-CR5hGLMw.d.mts} +28 -28
- package/dist/{byline-fields-BNy7Ng1U.d.mts.map → byline-fields-CR5hGLMw.d.mts.map} +1 -1
- package/dist/{bylines-sqExMElV.mjs → bylines-CbrD7STW.mjs} +3 -3
- package/dist/{bylines-sqExMElV.mjs.map → bylines-CbrD7STW.mjs.map} +1 -1
- package/dist/{bylines-C_POWmGT.mjs → bylines-DCczH3AV.mjs} +4 -4
- package/dist/{bylines-C_POWmGT.mjs.map → bylines-DCczH3AV.mjs.map} +1 -1
- package/dist/{cache-wsDkA8ru.mjs → cache-DIHHyPkt.mjs} +2 -2
- package/dist/{cache-wsDkA8ru.mjs.map → cache-DIHHyPkt.mjs.map} +1 -1
- package/dist/{chunks-BAYkM-CF.mjs → chunks-DnnHlRG3.mjs} +2 -2
- package/dist/{chunks-BAYkM-CF.mjs.map → chunks-DnnHlRG3.mjs.map} +1 -1
- package/dist/cli/index.mjs +14 -14
- package/dist/{comment-Cd29aktf.mjs → comment-DkAfGX9E.mjs} +2 -2
- package/dist/{comment-Cd29aktf.mjs.map → comment-DkAfGX9E.mjs.map} +1 -1
- package/dist/{comments-B7ufhkxN.mjs → comments-DLFnXs7J.mjs} +3 -3
- package/dist/{comments-B7ufhkxN.mjs.map → comments-DLFnXs7J.mjs.map} +1 -1
- package/dist/{content-BbqKo3Kc.mjs → content-C7aJ7keg.mjs} +3 -3
- package/dist/{content-BbqKo3Kc.mjs.map → content-C7aJ7keg.mjs.map} +1 -1
- package/dist/{context-BsF1rhoI.mjs → context-Ca0HkaIh.mjs} +8 -8
- package/dist/{context-BsF1rhoI.mjs.map → context-Ca0HkaIh.mjs.map} +1 -1
- package/dist/{dashboard-BwIX9r-X.mjs → dashboard-BrfLIsX1.mjs} +4 -4
- package/dist/{dashboard-BwIX9r-X.mjs.map → dashboard-BrfLIsX1.mjs.map} +1 -1
- package/dist/db/index.mjs +2 -2
- package/dist/{dialect-helpers-BKCvISIQ.mjs → dialect-helpers-DRI5pyY3.mjs} +3 -3
- package/dist/dialect-helpers-DRI5pyY3.mjs.map +1 -0
- package/dist/{error-npZWBSb7.mjs → error-Bk9s3Ism.mjs} +2 -2
- package/dist/{error-npZWBSb7.mjs.map → error-Bk9s3Ism.mjs.map} +1 -1
- package/dist/{fts-manager-DmUAk-kQ.mjs → fts-manager-XpDfbIKo.mjs} +3 -3
- package/dist/{fts-manager-DmUAk-kQ.mjs.map → fts-manager-XpDfbIKo.mjs.map} +1 -1
- package/dist/{index-CjKdMZ3U.d.mts → index-C8ciqSMJ.d.mts} +4 -4
- package/dist/{index-CjKdMZ3U.d.mts.map → index-C8ciqSMJ.d.mts.map} +1 -1
- package/dist/index.d.mts +2 -2
- package/dist/index.mjs +35 -35
- package/dist/{load-DsoLq7ex.mjs → load-CF5oETkh.mjs} +2 -2
- package/dist/{load-DsoLq7ex.mjs.map → load-CF5oETkh.mjs.map} +1 -1
- package/dist/{loader-CJ6lWO0d.mjs → loader-BxyvbrZP.mjs} +4 -4
- package/dist/{loader-CJ6lWO0d.mjs.map → loader-BxyvbrZP.mjs.map} +1 -1
- package/dist/media/local-runtime.d.mts +2 -2
- package/dist/media/local-runtime.mjs +5 -5
- package/dist/{media-jk_HzzOl.mjs → media-Cyz5BhSN.mjs} +2 -2
- package/dist/{media-jk_HzzOl.mjs.map → media-Cyz5BhSN.mjs.map} +1 -1
- package/dist/{menus-CyMO6GBx.mjs → menus-CIdZ_Q6U.mjs} +4 -4
- package/dist/{menus-CyMO6GBx.mjs.map → menus-CIdZ_Q6U.mjs.map} +1 -1
- package/dist/{menus-B-5-3aon.mjs → menus-PFp8FDuO.mjs} +2 -2
- package/dist/{menus-B-5-3aon.mjs.map → menus-PFp8FDuO.mjs.map} +1 -1
- package/dist/{parse-4zO5Y2DL.mjs → parse-B-K21lvm.mjs} +2 -2
- package/dist/{parse-4zO5Y2DL.mjs.map → parse-B-K21lvm.mjs.map} +1 -1
- package/dist/plugin-utils.d.mts +2 -2
- package/dist/plugins/adapt-sandbox-entry.d.mts +2 -2
- package/dist/{query-Bt52mHXp.mjs → query-Cc649nDl.mjs} +10 -10
- package/dist/{query-Bt52mHXp.mjs.map → query-Cc649nDl.mjs.map} +1 -1
- package/dist/{rate-limit-D6VQqBk_.mjs → rate-limit-BI1OdpQH.mjs} +2 -2
- package/dist/{rate-limit-D6VQqBk_.mjs.map → rate-limit-BI1OdpQH.mjs.map} +1 -1
- package/dist/{redirect-BZUJltlj.mjs → redirect-C-FeA4j9.mjs} +3 -3
- package/dist/{redirect-BZUJltlj.mjs.map → redirect-C-FeA4j9.mjs.map} +1 -1
- package/dist/{redirects-DnYuqsEf.mjs → redirects-C1UgU9E0.mjs} +3 -3
- package/dist/{redirects-DnYuqsEf.mjs.map → redirects-C1UgU9E0.mjs.map} +1 -1
- package/dist/{registry-Dn6gsx3L.mjs → registry-C-T_PWgp.mjs} +5 -5
- package/dist/{registry-Dn6gsx3L.mjs.map → registry-C-T_PWgp.mjs.map} +1 -1
- package/dist/{runner-eAgyIkeg.mjs → runner-BiuUfx-V.mjs} +4 -4
- package/dist/runner-BiuUfx-V.mjs.map +1 -0
- package/dist/runtime.d.mts +2 -2
- package/dist/runtime.mjs +3 -3
- package/dist/{schema--mYZX4D7.mjs → schema-BpCJh2lU.mjs} +4 -4
- package/dist/{schema--mYZX4D7.mjs.map → schema-BpCJh2lU.mjs.map} +1 -1
- package/dist/{search-C6U_NvZI.mjs → search-BrF7k0Ho.mjs} +4 -4
- package/dist/{search-C6U_NvZI.mjs.map → search-BrF7k0Ho.mjs.map} +1 -1
- package/dist/{sections-Ba-rJLKb.mjs → sections-8DEa-dWt.mjs} +3 -3
- package/dist/{sections-Ba-rJLKb.mjs.map → sections-8DEa-dWt.mjs.map} +1 -1
- package/dist/seed/index.mjs +14 -14
- package/dist/seo/index.mjs +1 -0
- package/dist/seo/index.mjs.map +1 -1
- package/dist/{seo-BTzb5ksq.mjs → seo-CKr7pLfA.mjs} +2 -2
- package/dist/{seo-BTzb5ksq.mjs.map → seo-CKr7pLfA.mjs.map} +1 -1
- package/dist/{service-Cn-kIfZn.mjs → service-9P2cdyR_.mjs} +2 -2
- package/dist/{service-Cn-kIfZn.mjs.map → service-9P2cdyR_.mjs.map} +1 -1
- package/dist/{settings-C65OSm41.mjs → settings-DYVzINdn.mjs} +3 -3
- package/dist/{settings-C65OSm41.mjs.map → settings-DYVzINdn.mjs.map} +1 -1
- package/dist/{settings-ChlQbwU0.mjs → settings-Jro4YcUb.mjs} +3 -3
- package/dist/{settings-ChlQbwU0.mjs.map → settings-Jro4YcUb.mjs.map} +1 -1
- package/dist/{taxonomies-CbO6v7EE.mjs → taxonomies-C0bVme_m.mjs} +4 -4
- package/dist/{taxonomies-CbO6v7EE.mjs.map → taxonomies-C0bVme_m.mjs.map} +1 -1
- package/dist/{taxonomies-ByLlXrv5.mjs → taxonomies-CGD6y79Q.mjs} +5 -5
- package/dist/{taxonomies-ByLlXrv5.mjs.map → taxonomies-CGD6y79Q.mjs.map} +1 -1
- package/dist/{taxonomy-BBK-UAEo.mjs → taxonomy-Db5xwphL.mjs} +3 -3
- package/dist/{taxonomy-BBK-UAEo.mjs.map → taxonomy-Db5xwphL.mjs.map} +1 -1
- package/dist/{types-SF1DwGf2.mjs → types-CfyYQ7eY.mjs} +2 -2
- package/dist/{types-SF1DwGf2.mjs.map → types-CfyYQ7eY.mjs.map} +1 -1
- package/dist/{user-X4rtyO4Y.mjs → user-tLdHUEXV.mjs} +2 -2
- package/dist/{user-X4rtyO4Y.mjs.map → user-tLdHUEXV.mjs.map} +1 -1
- package/dist/{validate-DactmcJG.mjs → validate-DWmnRg6E.mjs} +2 -2
- package/dist/{validate-DactmcJG.mjs.map → validate-DWmnRg6E.mjs.map} +1 -1
- package/dist/{validation-BYA4i85b.mjs → validation-BQ_TP-On.mjs} +6 -6
- package/dist/{validation-BYA4i85b.mjs.map → validation-BQ_TP-On.mjs.map} +1 -1
- package/dist/version-CgcnMvqS.mjs +7 -0
- package/dist/{version-CWbvq9LG.mjs.map → version-CgcnMvqS.mjs.map} +1 -1
- package/dist/{widgets-DG-1jxnz.mjs → widgets-DzlINGI6.mjs} +2 -2
- package/dist/{widgets-DG-1jxnz.mjs.map → widgets-DzlINGI6.mjs.map} +1 -1
- package/dist/{zod-generator-BNAObjSt.mjs → zod-generator-MMm56Prt.mjs} +2 -2
- package/dist/{zod-generator-BNAObjSt.mjs.map → zod-generator-MMm56Prt.mjs.map} +1 -1
- package/package.json +5 -5
- package/src/astro/middleware.ts +34 -8
- package/src/database/dialect-helpers.ts +8 -2
- package/src/database/migrations/019_i18n.ts +2 -2
- package/src/seo/index.ts +10 -1
- package/dist/dialect-helpers-BKCvISIQ.mjs.map +0 -1
- package/dist/runner-eAgyIkeg.mjs.map +0 -1
- package/dist/version-CWbvq9LG.mjs +0 -7
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import "../../../../../../base64-CqR-7kqF.mjs";
|
|
2
|
-
import "../../../../../../types-
|
|
2
|
+
import "../../../../../../types-CfyYQ7eY.mjs";
|
|
3
3
|
import { t as OptionsRepository } from "../../../../../../options-BL4X94qY.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-Bk9s3Ism.mjs";
|
|
5
|
+
import { r as parseOptionalBody, t as isParseError } from "../../../../../../parse-B-K21lvm.mjs";
|
|
6
6
|
import "../../../../../../redirects-C0L9JUk4.mjs";
|
|
7
7
|
import { w as passkeyRegisterOptionsBody } from "../../../../../../byline-fields-Dr-xcb6S.mjs";
|
|
8
8
|
import "../../../../../../api/schemas/index.mjs";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import "../../../../../../base64-CqR-7kqF.mjs";
|
|
2
|
-
import "../../../../../../types-
|
|
2
|
+
import "../../../../../../types-CfyYQ7eY.mjs";
|
|
3
3
|
import { t as OptionsRepository } from "../../../../../../options-BL4X94qY.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-Bk9s3Ism.mjs";
|
|
5
|
+
import { n as parseBody, t as isParseError } from "../../../../../../parse-B-K21lvm.mjs";
|
|
6
6
|
import "../../../../../../redirects-C0L9JUk4.mjs";
|
|
7
7
|
import { T as passkeyRegisterVerifyBody } from "../../../../../../byline-fields-Dr-xcb6S.mjs";
|
|
8
8
|
import "../../../../../../api/schemas/index.mjs";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import "../../../../../base64-CqR-7kqF.mjs";
|
|
2
|
-
import "../../../../../types-
|
|
2
|
+
import "../../../../../types-CfyYQ7eY.mjs";
|
|
3
3
|
import { t as OptionsRepository } from "../../../../../options-BL4X94qY.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-Bk9s3Ism.mjs";
|
|
5
|
+
import { n as parseBody, t as isParseError } from "../../../../../parse-B-K21lvm.mjs";
|
|
6
6
|
import "../../../../../redirects-C0L9JUk4.mjs";
|
|
7
7
|
import { D as passkeyVerifyBody } from "../../../../../byline-fields-Dr-xcb6S.mjs";
|
|
8
8
|
import "../../../../../api/schemas/index.mjs";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import "../../../../../base64-CqR-7kqF.mjs";
|
|
2
|
-
import "../../../../../types-
|
|
2
|
+
import "../../../../../types-CfyYQ7eY.mjs";
|
|
3
3
|
import { t as OptionsRepository } from "../../../../../options-BL4X94qY.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-Bk9s3Ism.mjs";
|
|
5
|
+
import { n as parseBody, t as isParseError } from "../../../../../parse-B-K21lvm.mjs";
|
|
6
6
|
import "../../../../../redirects-C0L9JUk4.mjs";
|
|
7
7
|
import { O as signupCompleteBody } from "../../../../../byline-fields-Dr-xcb6S.mjs";
|
|
8
8
|
import "../../../../../api/schemas/index.mjs";
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import "../../../../../base64-CqR-7kqF.mjs";
|
|
2
|
-
import "../../../../../types-
|
|
2
|
+
import "../../../../../types-CfyYQ7eY.mjs";
|
|
3
3
|
import { t as OptionsRepository } from "../../../../../options-BL4X94qY.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-Bk9s3Ism.mjs";
|
|
5
|
+
import { n as parseBody, t as isParseError } from "../../../../../parse-B-K21lvm.mjs";
|
|
6
6
|
import "../../../../../redirects-C0L9JUk4.mjs";
|
|
7
7
|
import { k as signupRequestBody } from "../../../../../byline-fields-Dr-xcb6S.mjs";
|
|
8
8
|
import "../../../../../api/schemas/index.mjs";
|
|
9
9
|
import { t as getTrustedProxyHeaders } from "../../../../../trusted-proxy-B4AfnoAp.mjs";
|
|
10
10
|
import { t as getSiteBaseUrl } from "../../../../../site-url-Cm8-sJy7.mjs";
|
|
11
|
-
import { n as getClientIp, t as checkRateLimit } from "../../../../../rate-limit-
|
|
11
|
+
import { n as getClientIp, t as checkRateLimit } from "../../../../../rate-limit-BI1OdpQH.mjs";
|
|
12
12
|
import { createKyselyAdapter } from "@emdash-cms/auth/adapters/kysely";
|
|
13
13
|
import { requestSignup } from "@emdash-cms/auth";
|
|
14
14
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "../../../../../base64-CqR-7kqF.mjs";
|
|
2
|
-
import "../../../../../types-
|
|
3
|
-
import { n as apiSuccess, r as handleError, t as apiError } from "../../../../../error-
|
|
2
|
+
import "../../../../../types-CfyYQ7eY.mjs";
|
|
3
|
+
import { n as apiSuccess, r as handleError, t as apiError } from "../../../../../error-Bk9s3Ism.mjs";
|
|
4
4
|
import { createKyselyAdapter } from "@emdash-cms/auth/adapters/kysely";
|
|
5
5
|
import { SignupError, roleFromLevel, validateSignupToken } from "@emdash-cms/auth";
|
|
6
6
|
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { t as validateIdentifier } from "../../../../../../validate-VPnKoIzW.mjs";
|
|
2
2
|
import "../../../../../../base64-CqR-7kqF.mjs";
|
|
3
|
-
import "../../../../../../types-
|
|
4
|
-
import { t as CommentRepository } from "../../../../../../comment-
|
|
3
|
+
import "../../../../../../types-CfyYQ7eY.mjs";
|
|
4
|
+
import { t as CommentRepository } from "../../../../../../comment-DkAfGX9E.mjs";
|
|
5
5
|
import "../../../../../../options-BL4X94qY.mjs";
|
|
6
|
-
import { a as unwrapResult, i as requireDb, n as apiSuccess, r as handleError, t as apiError } from "../../../../../../error-
|
|
7
|
-
import { n as parseBody, t as isParseError } from "../../../../../../parse-
|
|
6
|
+
import { a as unwrapResult, i as requireDb, n as apiSuccess, r as handleError, t as apiError } from "../../../../../../error-Bk9s3Ism.mjs";
|
|
7
|
+
import { n as parseBody, t as isParseError } from "../../../../../../parse-B-K21lvm.mjs";
|
|
8
8
|
import { yt as createCommentBody } from "../../../../../../redirects-C0L9JUk4.mjs";
|
|
9
9
|
import "../../../../../../byline-fields-Dr-xcb6S.mjs";
|
|
10
10
|
import "../../../../../../api/schemas/index.mjs";
|
|
11
11
|
import { t as extractRequestMeta } from "../../../../../../request-meta-7ByVLxB-.mjs";
|
|
12
12
|
import { i as resolveSecretsCached } from "../../../../../../secrets-YYbTgB1w.mjs";
|
|
13
|
-
import { c as hashIp, s as handleCommentList, t as checkRateLimit } from "../../../../../../comments-
|
|
13
|
+
import { c as hashIp, s as handleCommentList, t as checkRateLimit } from "../../../../../../comments-DLFnXs7J.mjs";
|
|
14
14
|
import { t as getSiteBaseUrl } from "../../../../../../site-url-Cm8-sJy7.mjs";
|
|
15
|
-
import { i as sendCommentNotification, t as createComment } from "../../../../../../service-
|
|
15
|
+
import { i as sendCommentNotification, t as createComment } from "../../../../../../service-9P2cdyR_.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
|
-
import "../../../../../../types-
|
|
3
|
-
import { a as unwrapResult, t as apiError } from "../../../../../../error-
|
|
4
|
-
import { n as requirePerm } from "../../../../../../authorize-
|
|
2
|
+
import "../../../../../../types-CfyYQ7eY.mjs";
|
|
3
|
+
import { a as unwrapResult, t as apiError } from "../../../../../../error-Bk9s3Ism.mjs";
|
|
4
|
+
import { n as requirePerm } from "../../../../../../authorize-CLTmOUyx.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
|
-
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-CfyYQ7eY.mjs";
|
|
3
|
+
import { a as unwrapResult, o as mapErrorStatus, t as apiError } from "../../../../../../error-Bk9s3Ism.mjs";
|
|
4
|
+
import { t as requireOwnerPerm } from "../../../../../../authorize-CLTmOUyx.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
|
-
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-CfyYQ7eY.mjs";
|
|
3
|
+
import { a as unwrapResult, o as mapErrorStatus, t as apiError } from "../../../../../../error-Bk9s3Ism.mjs";
|
|
4
|
+
import { n as requirePerm, t as requireOwnerPerm } from "../../../../../../authorize-CLTmOUyx.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
|
-
import "../../../../../../types-
|
|
3
|
-
import { a as unwrapResult, t as apiError } from "../../../../../../error-
|
|
4
|
-
import { n as requirePerm } from "../../../../../../authorize-
|
|
2
|
+
import "../../../../../../types-CfyYQ7eY.mjs";
|
|
3
|
+
import { a as unwrapResult, t as apiError } from "../../../../../../error-Bk9s3Ism.mjs";
|
|
4
|
+
import { n as requirePerm } from "../../../../../../authorize-CLTmOUyx.mjs";
|
|
5
5
|
|
|
6
6
|
//#region src/astro/routes/api/content/[collection]/[id]/permanent.ts
|
|
7
7
|
const prerender = false;
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { n as getI18nConfig } from "../../../../../../config-CVssduLe.mjs";
|
|
2
2
|
import "../../../../../../base64-CqR-7kqF.mjs";
|
|
3
|
-
import "../../../../../../types-
|
|
3
|
+
import "../../../../../../types-CfyYQ7eY.mjs";
|
|
4
4
|
import "../../../../../../options-BL4X94qY.mjs";
|
|
5
|
-
import { a as unwrapResult, n as apiSuccess, r as handleError, t as apiError } from "../../../../../../error-
|
|
6
|
-
import { r as parseOptionalBody, t as isParseError } from "../../../../../../parse-
|
|
5
|
+
import { a as unwrapResult, n as apiSuccess, r as handleError, t as apiError } from "../../../../../../error-Bk9s3Ism.mjs";
|
|
6
|
+
import { r as parseOptionalBody, t as isParseError } from "../../../../../../parse-B-K21lvm.mjs";
|
|
7
7
|
import { rn as contentPreviewUrlBody } from "../../../../../../redirects-C0L9JUk4.mjs";
|
|
8
8
|
import "../../../../../../byline-fields-Dr-xcb6S.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
12
|
import { i as resolveSecretsCached } from "../../../../../../secrets-YYbTgB1w.mjs";
|
|
13
|
-
import { n as requirePerm } from "../../../../../../authorize-
|
|
13
|
+
import { n as requirePerm } from "../../../../../../authorize-CLTmOUyx.mjs";
|
|
14
14
|
|
|
15
15
|
//#region src/astro/routes/api/content/[collection]/[id]/preview-url.ts
|
|
16
16
|
const prerender = false;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import "../../../../../../base64-CqR-7kqF.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-CfyYQ7eY.mjs";
|
|
3
|
+
import { a as unwrapResult, o as mapErrorStatus, t as apiError } from "../../../../../../error-Bk9s3Ism.mjs";
|
|
4
|
+
import { r as parseOptionalBody, t as isParseError } from "../../../../../../parse-B-K21lvm.mjs";
|
|
5
5
|
import { in as contentPublishBody } from "../../../../../../redirects-C0L9JUk4.mjs";
|
|
6
6
|
import "../../../../../../byline-fields-Dr-xcb6S.mjs";
|
|
7
7
|
import "../../../../../../api/schemas/index.mjs";
|
|
8
|
-
import { t as requireOwnerPerm } from "../../../../../../authorize-
|
|
8
|
+
import { t as requireOwnerPerm } from "../../../../../../authorize-CLTmOUyx.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
|
-
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-CfyYQ7eY.mjs";
|
|
3
|
+
import { a as unwrapResult, o as mapErrorStatus, t as apiError } from "../../../../../../error-Bk9s3Ism.mjs";
|
|
4
|
+
import { t as requireOwnerPerm } from "../../../../../../authorize-CLTmOUyx.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
|
-
import "../../../../../../types-
|
|
3
|
-
import { a as unwrapResult, t as apiError } from "../../../../../../error-
|
|
4
|
-
import { n as requirePerm } from "../../../../../../authorize-
|
|
2
|
+
import "../../../../../../types-CfyYQ7eY.mjs";
|
|
3
|
+
import { a as unwrapResult, t as apiError } from "../../../../../../error-Bk9s3Ism.mjs";
|
|
4
|
+
import { n as requirePerm } from "../../../../../../authorize-CLTmOUyx.mjs";
|
|
5
5
|
|
|
6
6
|
//#region src/astro/routes/api/content/[collection]/[id]/revisions.ts
|
|
7
7
|
const prerender = false;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import "../../../../../../base64-CqR-7kqF.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-CfyYQ7eY.mjs";
|
|
3
|
+
import { a as unwrapResult, o as mapErrorStatus, t as apiError } from "../../../../../../error-Bk9s3Ism.mjs";
|
|
4
|
+
import { n as parseBody, t as isParseError } from "../../../../../../parse-B-K21lvm.mjs";
|
|
5
5
|
import { on as contentScheduleBody } from "../../../../../../redirects-C0L9JUk4.mjs";
|
|
6
6
|
import "../../../../../../byline-fields-Dr-xcb6S.mjs";
|
|
7
7
|
import "../../../../../../api/schemas/index.mjs";
|
|
8
|
-
import { t as requireOwnerPerm } from "../../../../../../authorize-
|
|
8
|
+
import { t as requireOwnerPerm } from "../../../../../../authorize-CLTmOUyx.mjs";
|
|
9
9
|
|
|
10
10
|
//#region src/astro/routes/api/content/[collection]/[id]/schedule.ts
|
|
11
11
|
const prerender = false;
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import "../../../../../../../dialect-helpers-
|
|
2
|
-
import { t as ContentRepository } from "../../../../../../../content-
|
|
1
|
+
import "../../../../../../../dialect-helpers-DRI5pyY3.mjs";
|
|
2
|
+
import { t as ContentRepository } from "../../../../../../../content-C7aJ7keg.mjs";
|
|
3
3
|
import "../../../../../../../base64-CqR-7kqF.mjs";
|
|
4
|
-
import "../../../../../../../types-
|
|
5
|
-
import { t as TaxonomyRepository } from "../../../../../../../taxonomy-
|
|
4
|
+
import "../../../../../../../types-CfyYQ7eY.mjs";
|
|
5
|
+
import { t as TaxonomyRepository } from "../../../../../../../taxonomy-Db5xwphL.mjs";
|
|
6
6
|
import "../../../../../../../request-cache-BYMs-BGX.mjs";
|
|
7
|
-
import "../../../../../../../loader-
|
|
7
|
+
import "../../../../../../../loader-BxyvbrZP.mjs";
|
|
8
8
|
import "../../../../../../../resolve-BqYMVG0D.mjs";
|
|
9
|
-
import { l as invalidateTermCache } from "../../../../../../../taxonomies-
|
|
10
|
-
import { i as requireDb, n as apiSuccess, r as handleError, t as apiError } from "../../../../../../../error-
|
|
11
|
-
import { n as parseBody, t as isParseError } from "../../../../../../../parse-
|
|
9
|
+
import { l as invalidateTermCache } from "../../../../../../../taxonomies-CGD6y79Q.mjs";
|
|
10
|
+
import { i as requireDb, n as apiSuccess, r as handleError, t as apiError } from "../../../../../../../error-Bk9s3Ism.mjs";
|
|
11
|
+
import { n as parseBody, t as isParseError } from "../../../../../../../parse-B-K21lvm.mjs";
|
|
12
12
|
import { ln as contentTermsBody } from "../../../../../../../redirects-C0L9JUk4.mjs";
|
|
13
13
|
import "../../../../../../../byline-fields-Dr-xcb6S.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-CLTmOUyx.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
|
-
import "../../../../../../types-
|
|
3
|
-
import { a as unwrapResult, t as apiError } from "../../../../../../error-
|
|
4
|
-
import { n as requirePerm } from "../../../../../../authorize-
|
|
2
|
+
import "../../../../../../types-CfyYQ7eY.mjs";
|
|
3
|
+
import { a as unwrapResult, t as apiError } from "../../../../../../error-Bk9s3Ism.mjs";
|
|
4
|
+
import { n as requirePerm } from "../../../../../../authorize-CLTmOUyx.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
|
-
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-CfyYQ7eY.mjs";
|
|
3
|
+
import { a as unwrapResult, o as mapErrorStatus, t as apiError } from "../../../../../../error-Bk9s3Ism.mjs";
|
|
4
|
+
import { t as requireOwnerPerm } from "../../../../../../authorize-CLTmOUyx.mjs";
|
|
5
5
|
|
|
6
6
|
//#region src/astro/routes/api/content/[collection]/[id]/unpublish.ts
|
|
7
7
|
const prerender = false;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import "../../../../../base64-CqR-7kqF.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-CfyYQ7eY.mjs";
|
|
3
|
+
import { a as unwrapResult, o as mapErrorStatus, t as apiError } from "../../../../../error-Bk9s3Ism.mjs";
|
|
4
|
+
import { n as parseBody, t as isParseError } from "../../../../../parse-B-K21lvm.mjs";
|
|
5
5
|
import { pn as contentUpdateBody } from "../../../../../redirects-C0L9JUk4.mjs";
|
|
6
6
|
import "../../../../../byline-fields-Dr-xcb6S.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-CLTmOUyx.mjs";
|
|
9
9
|
import { hasPermission } from "@emdash-cms/auth";
|
|
10
10
|
|
|
11
11
|
//#region src/astro/routes/api/content/[collection]/[id].ts
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import "../../../../../base64-CqR-7kqF.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-CfyYQ7eY.mjs";
|
|
3
|
+
import { a as unwrapResult, o as mapErrorStatus, t as apiError } from "../../../../../error-Bk9s3Ism.mjs";
|
|
4
|
+
import { i as parseQuery, n as parseBody, t as isParseError } from "../../../../../parse-B-K21lvm.mjs";
|
|
5
5
|
import { $t as contentCreateBody, tn as contentListQuery } from "../../../../../redirects-C0L9JUk4.mjs";
|
|
6
6
|
import "../../../../../byline-fields-Dr-xcb6S.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-CLTmOUyx.mjs";
|
|
9
9
|
import { hasPermission } from "@emdash-cms/auth";
|
|
10
10
|
|
|
11
11
|
//#region src/astro/routes/api/content/[collection]/index.ts
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import "../../../../../base64-CqR-7kqF.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-CfyYQ7eY.mjs";
|
|
3
|
+
import { a as unwrapResult, t as apiError } from "../../../../../error-Bk9s3Ism.mjs";
|
|
4
|
+
import { i as parseQuery, t as isParseError } from "../../../../../parse-B-K21lvm.mjs";
|
|
5
5
|
import { fn as contentTrashQuery } from "../../../../../redirects-C0L9JUk4.mjs";
|
|
6
6
|
import "../../../../../byline-fields-Dr-xcb6S.mjs";
|
|
7
7
|
import "../../../../../api/schemas/index.mjs";
|
|
8
|
-
import { n as requirePerm } from "../../../../../authorize-
|
|
8
|
+
import { n as requirePerm } from "../../../../../authorize-CLTmOUyx.mjs";
|
|
9
9
|
|
|
10
10
|
//#region src/astro/routes/api/content/[collection]/trash.ts
|
|
11
11
|
const prerender = false;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import "../../../content-
|
|
1
|
+
import "../../../content-C7aJ7keg.mjs";
|
|
2
2
|
import "../../../base64-CqR-7kqF.mjs";
|
|
3
|
-
import "../../../types-
|
|
4
|
-
import "../../../media-
|
|
5
|
-
import "../../../user-
|
|
6
|
-
import { t as handleDashboardStats } from "../../../dashboard-
|
|
7
|
-
import { a as unwrapResult, r as handleError, t as apiError } from "../../../error-
|
|
8
|
-
import { n as requirePerm } from "../../../authorize-
|
|
3
|
+
import "../../../types-CfyYQ7eY.mjs";
|
|
4
|
+
import "../../../media-Cyz5BhSN.mjs";
|
|
5
|
+
import "../../../user-tLdHUEXV.mjs";
|
|
6
|
+
import { t as handleDashboardStats } from "../../../dashboard-BrfLIsX1.mjs";
|
|
7
|
+
import { a as unwrapResult, r as handleError, t as apiError } from "../../../error-Bk9s3Ism.mjs";
|
|
8
|
+
import { n as requirePerm } from "../../../authorize-CLTmOUyx.mjs";
|
|
9
9
|
|
|
10
10
|
//#region src/astro/routes/api/dashboard.ts
|
|
11
11
|
const prerender = false;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "../../../../base64-CqR-7kqF.mjs";
|
|
2
|
-
import "../../../../types-
|
|
3
|
-
import { n as apiSuccess, t as apiError } from "../../../../error-
|
|
2
|
+
import "../../../../types-CfyYQ7eY.mjs";
|
|
3
|
+
import { n as apiSuccess, t as apiError } from "../../../../error-Bk9s3Ism.mjs";
|
|
4
4
|
import { i as getDevEmails, n as clearDevEmails } from "../../../../email-console-DHT2Fbpj.mjs";
|
|
5
5
|
|
|
6
6
|
//#region src/astro/routes/api/dev/emails.ts
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import "../../../../base64-CqR-7kqF.mjs";
|
|
2
|
-
import "../../../../types-
|
|
2
|
+
import "../../../../types-CfyYQ7eY.mjs";
|
|
3
3
|
import { t as SsrfError } from "../../../../ssrf-BsVGIE0Z.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-Bk9s3Ism.mjs";
|
|
5
|
+
import { n as parseBody, t as isParseError } from "../../../../parse-B-K21lvm.mjs";
|
|
6
6
|
import "../../../../redirects-C0L9JUk4.mjs";
|
|
7
7
|
import { f as importProbeBody } from "../../../../byline-fields-Dr-xcb6S.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-CLTmOUyx.mjs";
|
|
13
13
|
|
|
14
14
|
//#region src/astro/routes/api/import/probe.ts
|
|
15
15
|
const prerender = false;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import "../../../../../base64-CqR-7kqF.mjs";
|
|
2
|
-
import "../../../../../types-
|
|
2
|
+
import "../../../../../types-CfyYQ7eY.mjs";
|
|
3
3
|
import { a as RESERVED_COLLECTION_SLUGS } from "../../../../../types-D8bhH891.mjs";
|
|
4
|
-
import { n as apiSuccess, r as handleError, t as apiError } from "../../../../../error-
|
|
5
|
-
import { n as requirePerm } from "../../../../../authorize-
|
|
4
|
+
import { n as apiSuccess, r as handleError, t as apiError } from "../../../../../error-Bk9s3Ism.mjs";
|
|
5
|
+
import { n as requirePerm } from "../../../../../authorize-CLTmOUyx.mjs";
|
|
6
6
|
import mime from "mime/lite";
|
|
7
7
|
import { SchemaRegistry, parseWxrString } from "emdash";
|
|
8
8
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import "../../../../../options-tb7DJROi.mjs";
|
|
2
2
|
import "../../../../../types-DawhLFwy.mjs";
|
|
3
3
|
import "../../../../../types-DMwSpvcw.mjs";
|
|
4
|
-
import "../../../../../byline-fields-
|
|
5
|
-
import "../../../../../index-
|
|
4
|
+
import "../../../../../byline-fields-CR5hGLMw.mjs";
|
|
5
|
+
import "../../../../../index-C8ciqSMJ.mjs";
|
|
6
6
|
import "../../../../../runner-DM1yR5qd.mjs";
|
|
7
7
|
import "../../../../../index-D60_SzHG.mjs";
|
|
8
8
|
import "../../../../../types-DWnN7weG.mjs";
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import "../../../../../dialect-helpers-
|
|
1
|
+
import "../../../../../dialect-helpers-DRI5pyY3.mjs";
|
|
2
2
|
import { n as slugify } from "../../../../../slugify-Cjh1ssOZ.mjs";
|
|
3
3
|
import "../../../../../base64-CqR-7kqF.mjs";
|
|
4
|
-
import "../../../../../types-
|
|
5
|
-
import { t as TaxonomyRepository } from "../../../../../taxonomy-
|
|
4
|
+
import "../../../../../types-CfyYQ7eY.mjs";
|
|
5
|
+
import { t as TaxonomyRepository } from "../../../../../taxonomy-Db5xwphL.mjs";
|
|
6
6
|
import "../../../../../request-cache-BYMs-BGX.mjs";
|
|
7
7
|
import "../../../../../byline-registry-CxK5g559.mjs";
|
|
8
|
-
import { t as BylineRepository } from "../../../../../byline-
|
|
9
|
-
import "../../../../../loader-
|
|
8
|
+
import { t as BylineRepository } from "../../../../../byline-CAhk4FrG.mjs";
|
|
9
|
+
import "../../../../../loader-BxyvbrZP.mjs";
|
|
10
10
|
import { i as resolveLocaleChain } from "../../../../../resolve-BqYMVG0D.mjs";
|
|
11
|
-
import { l as invalidateTermCache } from "../../../../../taxonomies-
|
|
12
|
-
import { n as apiSuccess, r as handleError, t as apiError } from "../../../../../error-
|
|
11
|
+
import { l as invalidateTermCache } from "../../../../../taxonomies-CGD6y79Q.mjs";
|
|
12
|
+
import { n as apiSuccess, r as handleError, t as apiError } from "../../../../../error-Bk9s3Ism.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-CLTmOUyx.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";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import "../../../../../base64-CqR-7kqF.mjs";
|
|
2
|
-
import "../../../../../types-
|
|
2
|
+
import "../../../../../types-CfyYQ7eY.mjs";
|
|
3
3
|
import { a as validateExternalUrl, r as ssrfSafeFetch, t as SsrfError } from "../../../../../ssrf-BsVGIE0Z.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-Bk9s3Ism.mjs";
|
|
5
|
+
import { n as parseBody, t as isParseError } from "../../../../../parse-B-K21lvm.mjs";
|
|
6
6
|
import "../../../../../redirects-C0L9JUk4.mjs";
|
|
7
7
|
import { p as wpMediaImportBody } from "../../../../../byline-fields-Dr-xcb6S.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-CLTmOUyx.mjs";
|
|
11
11
|
import { ulid } from "ulidx";
|
|
12
12
|
import mime from "mime/lite";
|
|
13
13
|
import * as path from "node:path";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import "../../../../../base64-CqR-7kqF.mjs";
|
|
2
|
-
import "../../../../../types-
|
|
2
|
+
import "../../../../../types-CfyYQ7eY.mjs";
|
|
3
3
|
import { n as FIELD_TYPES } from "../../../../../types-D8bhH891.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-Bk9s3Ism.mjs";
|
|
5
|
+
import { n as parseBody, t as isParseError } from "../../../../../parse-B-K21lvm.mjs";
|
|
6
6
|
import "../../../../../redirects-C0L9JUk4.mjs";
|
|
7
7
|
import { g as wpPrepareBody } from "../../../../../byline-fields-Dr-xcb6S.mjs";
|
|
8
8
|
import "../../../../../api/schemas/index.mjs";
|
|
9
|
-
import { n as requirePerm } from "../../../../../authorize-
|
|
9
|
+
import { n as requirePerm } from "../../../../../authorize-CLTmOUyx.mjs";
|
|
10
10
|
import { capitalize, sanitizeSlug, singularize } from "./analyze.mjs";
|
|
11
11
|
|
|
12
12
|
//#region src/astro/routes/api/import/wordpress/prepare.ts
|
|
@@ -31,7 +31,7 @@ const POST = async ({ request, locals }) => {
|
|
|
31
31
|
}
|
|
32
32
|
};
|
|
33
33
|
async function prepareImport(db, request) {
|
|
34
|
-
const { SchemaRegistry } = await import("../../../../../registry-
|
|
34
|
+
const { SchemaRegistry } = await import("../../../../../registry-C-T_PWgp.mjs").then((n) => n.r);
|
|
35
35
|
const registry = new SchemaRegistry(db);
|
|
36
36
|
const result = {
|
|
37
37
|
success: true,
|
|
@@ -97,7 +97,7 @@ async function prepareImport(db, request) {
|
|
|
97
97
|
"post",
|
|
98
98
|
"page"
|
|
99
99
|
].includes(collectionSlug)) {
|
|
100
|
-
const { FTSManager } = await import("../../../../../fts-manager-
|
|
100
|
+
const { FTSManager } = await import("../../../../../fts-manager-XpDfbIKo.mjs").then((n) => n.n);
|
|
101
101
|
const ftsManager = new FTSManager(db);
|
|
102
102
|
if ((await ftsManager.getSearchableFields(collectionSlug)).length > 0) try {
|
|
103
103
|
await ftsManager.enableSearch(collectionSlug);
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { t as validateIdentifier } from "../../../../../validate-VPnKoIzW.mjs";
|
|
2
2
|
import "../../../../../base64-CqR-7kqF.mjs";
|
|
3
|
-
import "../../../../../types-
|
|
3
|
+
import "../../../../../types-CfyYQ7eY.mjs";
|
|
4
4
|
import { t as normalizeMediaValue } from "../../../../../normalize-DVV8nbrL.mjs";
|
|
5
|
-
import { n as apiSuccess, r as handleError, t as apiError } from "../../../../../error-
|
|
6
|
-
import { n as parseBody, t as isParseError } from "../../../../../parse-
|
|
5
|
+
import { n as apiSuccess, r as handleError, t as apiError } from "../../../../../error-Bk9s3Ism.mjs";
|
|
6
|
+
import { n as parseBody, t as isParseError } from "../../../../../parse-B-K21lvm.mjs";
|
|
7
7
|
import "../../../../../redirects-C0L9JUk4.mjs";
|
|
8
8
|
import { _ as wpRewriteUrlsBody } from "../../../../../byline-fields-Dr-xcb6S.mjs";
|
|
9
9
|
import "../../../../../api/schemas/index.mjs";
|
|
10
|
-
import { n as requirePerm } from "../../../../../authorize-
|
|
10
|
+
import { n as requirePerm } from "../../../../../authorize-CLTmOUyx.mjs";
|
|
11
11
|
import { buildBaseUrlMap, extractMediaUrl, findMatchingUrl, rewritePortableTextUrls, rewriteStringUrls } from "./rewrite-url-helpers.mjs";
|
|
12
12
|
import { sql } from "kysely";
|
|
13
13
|
|
|
@@ -34,7 +34,7 @@ const POST = async ({ request, locals }) => {
|
|
|
34
34
|
}
|
|
35
35
|
};
|
|
36
36
|
async function rewriteUrls(db, urlMap, getProvider, collections) {
|
|
37
|
-
const { SchemaRegistry } = await import("../../../../../registry-
|
|
37
|
+
const { SchemaRegistry } = await import("../../../../../registry-C-T_PWgp.mjs").then((n) => n.r);
|
|
38
38
|
const registry = new SchemaRegistry(db);
|
|
39
39
|
const result = {
|
|
40
40
|
updated: 0,
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import "../../../../../base64-CqR-7kqF.mjs";
|
|
2
|
-
import "../../../../../types-
|
|
2
|
+
import "../../../../../types-CfyYQ7eY.mjs";
|
|
3
3
|
import { n as resolveAndValidateExternalUrl, t as SsrfError } from "../../../../../ssrf-BsVGIE0Z.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-Bk9s3Ism.mjs";
|
|
5
|
+
import { n as parseBody, t as isParseError } from "../../../../../parse-B-K21lvm.mjs";
|
|
6
6
|
import "../../../../../redirects-C0L9JUk4.mjs";
|
|
7
7
|
import { m as wpPluginAnalyzeBody } from "../../../../../byline-fields-Dr-xcb6S.mjs";
|
|
8
8
|
import "../../../../../api/schemas/index.mjs";
|
|
9
9
|
import { s as getSource } from "../../../../../import-Dh8bWmyq.mjs";
|
|
10
10
|
import "../../../../../ssrf-BvgVcfNQ.mjs";
|
|
11
11
|
import "../../../../../utils-C4Ih4DML.mjs";
|
|
12
|
-
import { n as requirePerm } from "../../../../../authorize-
|
|
12
|
+
import { n as requirePerm } from "../../../../../authorize-CLTmOUyx.mjs";
|
|
13
13
|
import { SchemaRegistry } from "emdash";
|
|
14
14
|
|
|
15
15
|
//#region src/astro/routes/api/import/wordpress-plugin/analyze.ts
|