emdash 0.17.2 → 0.18.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/api/route-utils.mjs +10 -10
- package/dist/api/schemas/index.d.mts +1 -1
- package/dist/{api-B7GATEYo.mjs → api-Cs7DAACP.mjs} +12 -12
- package/dist/{api-B7GATEYo.mjs.map → api-Cs7DAACP.mjs.map} +1 -1
- package/dist/{apply-BrVqULFe.mjs → apply-BWMV4Zmw.mjs} +16 -16
- package/dist/{apply-BrVqULFe.mjs.map → apply-BWMV4Zmw.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 +4 -4
- package/dist/astro/middleware.d.mts.map +1 -1
- package/dist/astro/middleware.mjs +250 -83
- 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 +8 -8
- package/dist/astro/routes/api/admin/bylines/_id_/translations.mjs +8 -8
- package/dist/astro/routes/api/admin/bylines/index.mjs +8 -8
- 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 +25 -25
- package/dist/astro/routes/api/admin/plugins/_id_/enable.mjs +25 -25
- package/dist/astro/routes/api/admin/plugins/_id_/index.mjs +25 -25
- package/dist/astro/routes/api/admin/plugins/_id_/uninstall.mjs +25 -25
- package/dist/astro/routes/api/admin/plugins/_id_/update.mjs +25 -25
- package/dist/astro/routes/api/admin/plugins/index.mjs +25 -25
- package/dist/astro/routes/api/admin/plugins/marketplace/_id_/icon.mjs +3 -3
- package/dist/astro/routes/api/admin/plugins/marketplace/_id_/index.mjs +25 -25
- package/dist/astro/routes/api/admin/plugins/marketplace/_id_/install.mjs +25 -25
- package/dist/astro/routes/api/admin/plugins/marketplace/index.mjs +25 -25
- package/dist/astro/routes/api/admin/plugins/registry/_id_/uninstall.mjs +25 -25
- package/dist/astro/routes/api/admin/plugins/registry/_id_/update.mjs +26 -26
- package/dist/astro/routes/api/admin/plugins/registry/artifact.mjs +25 -25
- package/dist/astro/routes/api/admin/plugins/registry/install.mjs +26 -26
- package/dist/astro/routes/api/admin/plugins/updates.mjs +25 -25
- package/dist/astro/routes/api/admin/themes/marketplace/_id_/index.mjs +25 -25
- package/dist/astro/routes/api/admin/themes/marketplace/_id_/thumbnail.mjs +3 -3
- package/dist/astro/routes/api/admin/themes/marketplace/index.mjs +25 -25
- 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/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_/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 +7 -7
- 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 +5 -5
- 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 +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 +25 -25
- package/dist/astro/routes/api/schema/collections/_slug_/fields/index.mjs +25 -25
- package/dist/astro/routes/api/schema/collections/_slug_/fields/reorder.mjs +25 -25
- package/dist/astro/routes/api/schema/collections/_slug_/index.mjs +25 -25
- package/dist/astro/routes/api/schema/collections/index.mjs +25 -25
- package/dist/astro/routes/api/schema/index.mjs +6 -6
- package/dist/astro/routes/api/schema/orphans/_slug_.mjs +25 -25
- package/dist/astro/routes/api/schema/orphans/index.mjs +25 -25
- 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.mjs +15 -15
- package/dist/astro/routes/api/setup/dev-reset.mjs +2 -2
- package/dist/astro/routes/api/setup/index.mjs +16 -16
- 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 +2 -2
- package/dist/{authorize-CLTmOUyx.mjs → authorize-CotM4Yiu.mjs} +2 -2
- package/dist/{authorize-CLTmOUyx.mjs.map → authorize-CotM4Yiu.mjs.map} +1 -1
- package/dist/{byline-CAhk4FrG.mjs → byline-CWQ9aSoz.mjs} +3 -3
- package/dist/{byline-CAhk4FrG.mjs.map → byline-CWQ9aSoz.mjs.map} +1 -1
- package/dist/{byline-fields-CR5hGLMw.d.mts → byline-fields-BNy7Ng1U.d.mts} +28 -28
- package/dist/{byline-fields-CR5hGLMw.d.mts.map → byline-fields-BNy7Ng1U.d.mts.map} +1 -1
- package/dist/{bylines-DCczH3AV.mjs → bylines-BJSva1Un.mjs} +4 -4
- package/dist/{bylines-DCczH3AV.mjs.map → bylines-BJSva1Un.mjs.map} +1 -1
- package/dist/{bylines-CbrD7STW.mjs → bylines-LJMgENMI.mjs} +3 -3
- package/dist/{bylines-CbrD7STW.mjs.map → bylines-LJMgENMI.mjs.map} +1 -1
- package/dist/{cache-DIHHyPkt.mjs → cache-lZL7SgVb.mjs} +2 -2
- package/dist/{cache-DIHHyPkt.mjs.map → cache-lZL7SgVb.mjs.map} +1 -1
- package/dist/{chunks-DnnHlRG3.mjs → chunks-BU-vP9Dh.mjs} +2 -2
- package/dist/{chunks-DnnHlRG3.mjs.map → chunks-BU-vP9Dh.mjs.map} +1 -1
- package/dist/cli/index.mjs +13 -13
- package/dist/{comment-DkAfGX9E.mjs → comment-C4jVbCM8.mjs} +2 -2
- package/dist/{comment-DkAfGX9E.mjs.map → comment-C4jVbCM8.mjs.map} +1 -1
- package/dist/{comments-DLFnXs7J.mjs → comments-BTAbC0Ek.mjs} +3 -3
- package/dist/{comments-DLFnXs7J.mjs.map → comments-BTAbC0Ek.mjs.map} +1 -1
- package/dist/{content-C7aJ7keg.mjs → content-CyqOmOzm.mjs} +3 -3
- package/dist/{content-C7aJ7keg.mjs.map → content-CyqOmOzm.mjs.map} +1 -1
- package/dist/{context-Ca0HkaIh.mjs → context-DZ7bEh5-.mjs} +7 -7
- package/dist/{context-Ca0HkaIh.mjs.map → context-DZ7bEh5-.mjs.map} +1 -1
- package/dist/{dashboard-BrfLIsX1.mjs → dashboard-B5WQpNTP.mjs} +4 -4
- package/dist/{dashboard-BrfLIsX1.mjs.map → dashboard-B5WQpNTP.mjs.map} +1 -1
- package/dist/db/index.mjs +1 -1
- package/dist/{error-Bk9s3Ism.mjs → error-DJOsMVSt.mjs} +2 -2
- package/dist/{error-Bk9s3Ism.mjs.map → error-DJOsMVSt.mjs.map} +1 -1
- package/dist/{fts-manager-XpDfbIKo.mjs → fts-manager-DR1ERA0c.mjs} +2 -2
- package/dist/{fts-manager-XpDfbIKo.mjs.map → fts-manager-DR1ERA0c.mjs.map} +1 -1
- package/dist/{index-C8ciqSMJ.d.mts → index-CjKdMZ3U.d.mts} +4 -4
- package/dist/{index-C8ciqSMJ.d.mts.map → index-CjKdMZ3U.d.mts.map} +1 -1
- package/dist/index.d.mts +2 -2
- package/dist/index.mjs +34 -34
- package/dist/{load-CF5oETkh.mjs → load-6ZrRhepW.mjs} +2 -2
- package/dist/{load-CF5oETkh.mjs.map → load-6ZrRhepW.mjs.map} +1 -1
- package/dist/{loader-BxyvbrZP.mjs → loader-Dyx8dhFV.mjs} +3 -3
- package/dist/{loader-BxyvbrZP.mjs.map → loader-Dyx8dhFV.mjs.map} +1 -1
- package/dist/media/local-runtime.d.mts +2 -2
- package/dist/media/local-runtime.mjs +4 -4
- package/dist/{media-Cyz5BhSN.mjs → media-C-oovGCG.mjs} +2 -2
- package/dist/{media-Cyz5BhSN.mjs.map → media-C-oovGCG.mjs.map} +1 -1
- package/dist/{menus-CIdZ_Q6U.mjs → menus-BKkxXCmd.mjs} +30 -11
- package/dist/menus-BKkxXCmd.mjs.map +1 -0
- package/dist/{menus-PFp8FDuO.mjs → menus-DugoYwTX.mjs} +2 -2
- package/dist/{menus-PFp8FDuO.mjs.map → menus-DugoYwTX.mjs.map} +1 -1
- package/dist/{parse-B-K21lvm.mjs → parse-BBkFmLVr.mjs} +2 -2
- package/dist/{parse-B-K21lvm.mjs.map → parse-BBkFmLVr.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-Cc649nDl.mjs → query-Ctlq1aOk.mjs} +10 -10
- package/dist/{query-Cc649nDl.mjs.map → query-Ctlq1aOk.mjs.map} +1 -1
- package/dist/{rate-limit-BI1OdpQH.mjs → rate-limit-CH6W6ikK.mjs} +2 -2
- package/dist/{rate-limit-BI1OdpQH.mjs.map → rate-limit-CH6W6ikK.mjs.map} +1 -1
- package/dist/{redirect-C-FeA4j9.mjs → redirect-C6tJA7tk.mjs} +2 -2
- package/dist/{redirect-C-FeA4j9.mjs.map → redirect-C6tJA7tk.mjs.map} +1 -1
- package/dist/{redirects-C1UgU9E0.mjs → redirects-CacE9eQa.mjs} +3 -3
- package/dist/{redirects-C1UgU9E0.mjs.map → redirects-CacE9eQa.mjs.map} +1 -1
- package/dist/{registry-C-T_PWgp.mjs → registry-CIDxZbhh.mjs} +4 -4
- package/dist/{registry-C-T_PWgp.mjs.map → registry-CIDxZbhh.mjs.map} +1 -1
- package/dist/runner-DM1yR5qd.d.mts.map +1 -1
- package/dist/{runner-BiuUfx-V.mjs → runner-pt6Wl-l-.mjs} +8 -3
- package/dist/{runner-BiuUfx-V.mjs.map → runner-pt6Wl-l-.mjs.map} +1 -1
- package/dist/runtime.d.mts +2 -2
- package/dist/runtime.mjs +2 -2
- package/dist/{schema-BpCJh2lU.mjs → schema-B4tk0HAG.mjs} +4 -4
- package/dist/{schema-BpCJh2lU.mjs.map → schema-B4tk0HAG.mjs.map} +1 -1
- package/dist/{search-BrF7k0Ho.mjs → search-f-fNfwab.mjs} +4 -4
- package/dist/{search-BrF7k0Ho.mjs.map → search-f-fNfwab.mjs.map} +1 -1
- package/dist/{sections-8DEa-dWt.mjs → sections-biElLfT9.mjs} +3 -3
- package/dist/{sections-8DEa-dWt.mjs.map → sections-biElLfT9.mjs.map} +1 -1
- package/dist/seed/index.mjs +13 -13
- package/dist/{seo-CKr7pLfA.mjs → seo-BR39kvTF.mjs} +2 -2
- package/dist/{seo-CKr7pLfA.mjs.map → seo-BR39kvTF.mjs.map} +1 -1
- package/dist/{service-9P2cdyR_.mjs → service-BhR2acnc.mjs} +2 -2
- package/dist/{service-9P2cdyR_.mjs.map → service-BhR2acnc.mjs.map} +1 -1
- package/dist/{settings-DYVzINdn.mjs → settings-D_NJvjgN.mjs} +3 -3
- package/dist/{settings-DYVzINdn.mjs.map → settings-D_NJvjgN.mjs.map} +1 -1
- package/dist/{settings-Jro4YcUb.mjs → settings-b5zW1R1T.mjs} +3 -3
- package/dist/{settings-Jro4YcUb.mjs.map → settings-b5zW1R1T.mjs.map} +1 -1
- package/dist/{taxonomies-CGD6y79Q.mjs → taxonomies-Crtzy4MT.mjs} +8 -7
- package/dist/taxonomies-Crtzy4MT.mjs.map +1 -0
- package/dist/{taxonomies-C0bVme_m.mjs → taxonomies-Mhn9rjTQ.mjs} +4 -4
- package/dist/{taxonomies-C0bVme_m.mjs.map → taxonomies-Mhn9rjTQ.mjs.map} +1 -1
- package/dist/{taxonomy-Db5xwphL.mjs → taxonomy-DTZrIQpi.mjs} +3 -3
- package/dist/{taxonomy-Db5xwphL.mjs.map → taxonomy-DTZrIQpi.mjs.map} +1 -1
- package/dist/{types-CfyYQ7eY.mjs → types-K3MDsxpy.mjs} +2 -2
- package/dist/{types-CfyYQ7eY.mjs.map → types-K3MDsxpy.mjs.map} +1 -1
- package/dist/{user-tLdHUEXV.mjs → user-DzEUl5zA.mjs} +2 -2
- package/dist/{user-tLdHUEXV.mjs.map → user-DzEUl5zA.mjs.map} +1 -1
- package/dist/{validate-DWmnRg6E.mjs → validate-JCXcsqiY.mjs} +2 -2
- package/dist/{validate-DWmnRg6E.mjs.map → validate-JCXcsqiY.mjs.map} +1 -1
- package/dist/{validation-BQ_TP-On.mjs → validation-Bq-VyKJg.mjs} +5 -5
- package/dist/{validation-BQ_TP-On.mjs.map → validation-Bq-VyKJg.mjs.map} +1 -1
- package/dist/version-CnS-Cr8A.mjs +7 -0
- package/dist/{version-CgcnMvqS.mjs.map → version-CnS-Cr8A.mjs.map} +1 -1
- package/dist/{widgets-DzlINGI6.mjs → widgets-Bap1eS1X.mjs} +2 -2
- package/dist/{widgets-DzlINGI6.mjs.map → widgets-Bap1eS1X.mjs.map} +1 -1
- package/dist/{zod-generator-MMm56Prt.mjs → zod-generator-BSDpkqSH.mjs} +4 -3
- package/dist/zod-generator-BSDpkqSH.mjs.map +1 -0
- package/package.json +7 -7
- package/src/astro/middleware/stream-end-metrics.ts +96 -0
- package/src/astro/middleware.ts +80 -32
- package/src/components/EmDashImage.astro +1 -0
- package/src/database/migrations/runner.ts +7 -2
- package/src/emdash-runtime.ts +177 -126
- package/src/menus/index.ts +27 -9
- package/src/plugins/hooks.ts +35 -6
- package/src/plugins/manager.ts +1 -0
- package/src/schema/zod-generator.ts +6 -2
- package/src/taxonomies/index.ts +12 -8
- package/src/utils/init-lock.ts +143 -0
- package/dist/menus-CIdZ_Q6U.mjs.map +0 -1
- package/dist/taxonomies-CGD6y79Q.mjs.map +0 -1
- package/dist/version-CgcnMvqS.mjs +0 -7
- package/dist/zod-generator-MMm56Prt.mjs.map +0 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import "../../../../../../base64-CqR-7kqF.mjs";
|
|
2
|
-
import "../../../../../../types-
|
|
2
|
+
import "../../../../../../types-K3MDsxpy.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-DJOsMVSt.mjs";
|
|
5
|
+
import { r as parseOptionalBody, t as isParseError } from "../../../../../../parse-BBkFmLVr.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-K3MDsxpy.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-DJOsMVSt.mjs";
|
|
5
|
+
import { n as parseBody, t as isParseError } from "../../../../../../parse-BBkFmLVr.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-K3MDsxpy.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-DJOsMVSt.mjs";
|
|
5
|
+
import { n as parseBody, t as isParseError } from "../../../../../parse-BBkFmLVr.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-K3MDsxpy.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-DJOsMVSt.mjs";
|
|
5
|
+
import { n as parseBody, t as isParseError } from "../../../../../parse-BBkFmLVr.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-K3MDsxpy.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-DJOsMVSt.mjs";
|
|
5
|
+
import { n as parseBody, t as isParseError } from "../../../../../parse-BBkFmLVr.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-CH6W6ikK.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-K3MDsxpy.mjs";
|
|
3
|
+
import { n as apiSuccess, r as handleError, t as apiError } from "../../../../../error-DJOsMVSt.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-K3MDsxpy.mjs";
|
|
4
|
+
import { t as CommentRepository } from "../../../../../../comment-C4jVbCM8.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-DJOsMVSt.mjs";
|
|
7
|
+
import { n as parseBody, t as isParseError } from "../../../../../../parse-BBkFmLVr.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-BTAbC0Ek.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-BhR2acnc.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-K3MDsxpy.mjs";
|
|
3
|
+
import { a as unwrapResult, t as apiError } from "../../../../../../error-DJOsMVSt.mjs";
|
|
4
|
+
import { n as requirePerm } from "../../../../../../authorize-CotM4Yiu.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-K3MDsxpy.mjs";
|
|
3
|
+
import { a as unwrapResult, o as mapErrorStatus, t as apiError } from "../../../../../../error-DJOsMVSt.mjs";
|
|
4
|
+
import { t as requireOwnerPerm } from "../../../../../../authorize-CotM4Yiu.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-K3MDsxpy.mjs";
|
|
3
|
+
import { a as unwrapResult, o as mapErrorStatus, t as apiError } from "../../../../../../error-DJOsMVSt.mjs";
|
|
4
|
+
import { n as requirePerm, t as requireOwnerPerm } from "../../../../../../authorize-CotM4Yiu.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-K3MDsxpy.mjs";
|
|
3
|
+
import { a as unwrapResult, t as apiError } from "../../../../../../error-DJOsMVSt.mjs";
|
|
4
|
+
import { n as requirePerm } from "../../../../../../authorize-CotM4Yiu.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-K3MDsxpy.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-DJOsMVSt.mjs";
|
|
6
|
+
import { r as parseOptionalBody, t as isParseError } from "../../../../../../parse-BBkFmLVr.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-CotM4Yiu.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-K3MDsxpy.mjs";
|
|
3
|
+
import { a as unwrapResult, o as mapErrorStatus, t as apiError } from "../../../../../../error-DJOsMVSt.mjs";
|
|
4
|
+
import { r as parseOptionalBody, t as isParseError } from "../../../../../../parse-BBkFmLVr.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-CotM4Yiu.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-K3MDsxpy.mjs";
|
|
3
|
+
import { a as unwrapResult, o as mapErrorStatus, t as apiError } from "../../../../../../error-DJOsMVSt.mjs";
|
|
4
|
+
import { t as requireOwnerPerm } from "../../../../../../authorize-CotM4Yiu.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-K3MDsxpy.mjs";
|
|
3
|
+
import { a as unwrapResult, t as apiError } from "../../../../../../error-DJOsMVSt.mjs";
|
|
4
|
+
import { n as requirePerm } from "../../../../../../authorize-CotM4Yiu.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-K3MDsxpy.mjs";
|
|
3
|
+
import { a as unwrapResult, o as mapErrorStatus, t as apiError } from "../../../../../../error-DJOsMVSt.mjs";
|
|
4
|
+
import { n as parseBody, t as isParseError } from "../../../../../../parse-BBkFmLVr.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-CotM4Yiu.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
1
|
import "../../../../../../../dialect-helpers-DRI5pyY3.mjs";
|
|
2
|
-
import { t as ContentRepository } from "../../../../../../../content-
|
|
2
|
+
import { t as ContentRepository } from "../../../../../../../content-CyqOmOzm.mjs";
|
|
3
3
|
import "../../../../../../../base64-CqR-7kqF.mjs";
|
|
4
|
-
import "../../../../../../../types-
|
|
5
|
-
import { t as TaxonomyRepository } from "../../../../../../../taxonomy-
|
|
4
|
+
import "../../../../../../../types-K3MDsxpy.mjs";
|
|
5
|
+
import { t as TaxonomyRepository } from "../../../../../../../taxonomy-DTZrIQpi.mjs";
|
|
6
6
|
import "../../../../../../../request-cache-BYMs-BGX.mjs";
|
|
7
|
-
import "../../../../../../../loader-
|
|
7
|
+
import "../../../../../../../loader-Dyx8dhFV.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-Crtzy4MT.mjs";
|
|
10
|
+
import { i as requireDb, n as apiSuccess, r as handleError, t as apiError } from "../../../../../../../error-DJOsMVSt.mjs";
|
|
11
|
+
import { n as parseBody, t as isParseError } from "../../../../../../../parse-BBkFmLVr.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-CotM4Yiu.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-K3MDsxpy.mjs";
|
|
3
|
+
import { a as unwrapResult, t as apiError } from "../../../../../../error-DJOsMVSt.mjs";
|
|
4
|
+
import { n as requirePerm } from "../../../../../../authorize-CotM4Yiu.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-K3MDsxpy.mjs";
|
|
3
|
+
import { a as unwrapResult, o as mapErrorStatus, t as apiError } from "../../../../../../error-DJOsMVSt.mjs";
|
|
4
|
+
import { t as requireOwnerPerm } from "../../../../../../authorize-CotM4Yiu.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-K3MDsxpy.mjs";
|
|
3
|
+
import { a as unwrapResult, o as mapErrorStatus, t as apiError } from "../../../../../error-DJOsMVSt.mjs";
|
|
4
|
+
import { n as parseBody, t as isParseError } from "../../../../../parse-BBkFmLVr.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-CotM4Yiu.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-K3MDsxpy.mjs";
|
|
3
|
+
import { a as unwrapResult, o as mapErrorStatus, t as apiError } from "../../../../../error-DJOsMVSt.mjs";
|
|
4
|
+
import { i as parseQuery, n as parseBody, t as isParseError } from "../../../../../parse-BBkFmLVr.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-CotM4Yiu.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-K3MDsxpy.mjs";
|
|
3
|
+
import { a as unwrapResult, t as apiError } from "../../../../../error-DJOsMVSt.mjs";
|
|
4
|
+
import { i as parseQuery, t as isParseError } from "../../../../../parse-BBkFmLVr.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-CotM4Yiu.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-CyqOmOzm.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-K3MDsxpy.mjs";
|
|
4
|
+
import "../../../media-C-oovGCG.mjs";
|
|
5
|
+
import "../../../user-DzEUl5zA.mjs";
|
|
6
|
+
import { t as handleDashboardStats } from "../../../dashboard-B5WQpNTP.mjs";
|
|
7
|
+
import { a as unwrapResult, r as handleError, t as apiError } from "../../../error-DJOsMVSt.mjs";
|
|
8
|
+
import { n as requirePerm } from "../../../authorize-CotM4Yiu.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-K3MDsxpy.mjs";
|
|
3
|
+
import { n as apiSuccess, t as apiError } from "../../../../error-DJOsMVSt.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-K3MDsxpy.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-DJOsMVSt.mjs";
|
|
5
|
+
import { n as parseBody, t as isParseError } from "../../../../parse-BBkFmLVr.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-CotM4Yiu.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-K3MDsxpy.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-DJOsMVSt.mjs";
|
|
5
|
+
import { n as requirePerm } from "../../../../../authorize-CotM4Yiu.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-BNy7Ng1U.mjs";
|
|
5
|
+
import "../../../../../index-CjKdMZ3U.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
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-K3MDsxpy.mjs";
|
|
5
|
+
import { t as TaxonomyRepository } from "../../../../../taxonomy-DTZrIQpi.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-CWQ9aSoz.mjs";
|
|
9
|
+
import "../../../../../loader-Dyx8dhFV.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-Crtzy4MT.mjs";
|
|
12
|
+
import { n as apiSuccess, r as handleError, t as apiError } from "../../../../../error-DJOsMVSt.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-CotM4Yiu.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-K3MDsxpy.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-DJOsMVSt.mjs";
|
|
5
|
+
import { n as parseBody, t as isParseError } from "../../../../../parse-BBkFmLVr.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-CotM4Yiu.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-K3MDsxpy.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-DJOsMVSt.mjs";
|
|
5
|
+
import { n as parseBody, t as isParseError } from "../../../../../parse-BBkFmLVr.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-CotM4Yiu.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-CIDxZbhh.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-DR1ERA0c.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-K3MDsxpy.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-DJOsMVSt.mjs";
|
|
6
|
+
import { n as parseBody, t as isParseError } from "../../../../../parse-BBkFmLVr.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-CotM4Yiu.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-CIDxZbhh.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-K3MDsxpy.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-DJOsMVSt.mjs";
|
|
5
|
+
import { n as parseBody, t as isParseError } from "../../../../../parse-BBkFmLVr.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-CotM4Yiu.mjs";
|
|
13
13
|
import { SchemaRegistry } from "emdash";
|
|
14
14
|
|
|
15
15
|
//#region src/astro/routes/api/import/wordpress-plugin/analyze.ts
|