emdash 0.23.0 → 0.24.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-BQ_yKRdG.mjs → api-d_0wi9fW.mjs} +13 -13
- package/dist/{api-BQ_yKRdG.mjs.map → api-d_0wi9fW.mjs.map} +1 -1
- package/dist/{apply-CWRyxIoO.mjs → apply-BE9UaWX0.mjs} +16 -16
- package/dist/{apply-CWRyxIoO.mjs.map → apply-BE9UaWX0.mjs.map} +1 -1
- package/dist/astro/index.d.mts +1 -1
- package/dist/astro/index.mjs +25 -6
- package/dist/astro/index.mjs.map +1 -1
- package/dist/astro/middleware/auth.d.mts +1 -1
- 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 +46 -46
- 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 +3 -3
- package/dist/astro/routes/api/auth/invite/accept.mjs +2 -2
- package/dist/astro/routes/api/auth/invite/complete.mjs +3 -3
- package/dist/astro/routes/api/auth/invite/index.mjs +3 -3
- package/dist/astro/routes/api/auth/invite/register-options.mjs +3 -3
- package/dist/astro/routes/api/auth/logout.mjs +2 -2
- package/dist/astro/routes/api/auth/magic-link/send.mjs +4 -4
- package/dist/astro/routes/api/auth/magic-link/verify.mjs +2 -2
- package/dist/astro/routes/api/auth/me.mjs +4 -4
- package/dist/astro/routes/api/auth/passkey/_id_.mjs +3 -3
- package/dist/astro/routes/api/auth/passkey/index.mjs +2 -2
- package/dist/astro/routes/api/auth/passkey/options.mjs +4 -4
- package/dist/astro/routes/api/auth/passkey/register/options.mjs +3 -3
- package/dist/astro/routes/api/auth/passkey/register/verify.mjs +3 -3
- package/dist/astro/routes/api/auth/passkey/verify.mjs +3 -3
- package/dist/astro/routes/api/auth/signup/complete.mjs +3 -3
- package/dist/astro/routes/api/auth/signup/request.mjs +4 -4
- package/dist/astro/routes/api/auth/signup/verify.mjs +2 -2
- package/dist/astro/routes/api/comments/_collection_/_contentId_/index.mjs +6 -6
- package/dist/astro/routes/api/comments/_collection_/_contentId_/reactions.mjs +6 -6
- package/dist/astro/routes/api/content/_collection_/_id_/compare.mjs +3 -3
- package/dist/astro/routes/api/content/_collection_/_id_/discard-draft.mjs +3 -3
- package/dist/astro/routes/api/content/_collection_/_id_/duplicate.mjs +3 -3
- package/dist/astro/routes/api/content/_collection_/_id_/permanent.mjs +3 -3
- package/dist/astro/routes/api/content/_collection_/_id_/preview-url.mjs +4 -4
- package/dist/astro/routes/api/content/_collection_/_id_/publish.mjs +4 -4
- package/dist/astro/routes/api/content/_collection_/_id_/restore.mjs +3 -3
- package/dist/astro/routes/api/content/_collection_/_id_/revisions.mjs +3 -3
- package/dist/astro/routes/api/content/_collection_/_id_/schedule.mjs +4 -4
- package/dist/astro/routes/api/content/_collection_/_id_/terms/_taxonomy_.mjs +8 -8
- package/dist/astro/routes/api/content/_collection_/_id_/translations.mjs +3 -3
- package/dist/astro/routes/api/content/_collection_/_id_/unpublish.mjs +3 -3
- package/dist/astro/routes/api/content/_collection_/_id_.mjs +4 -4
- package/dist/astro/routes/api/content/_collection_/authors.mjs +3 -3
- package/dist/astro/routes/api/content/_collection_/index.mjs +4 -4
- package/dist/astro/routes/api/content/_collection_/trash.mjs +4 -4
- package/dist/astro/routes/api/dashboard.mjs +7 -7
- package/dist/astro/routes/api/dev/emails.mjs +2 -2
- package/dist/astro/routes/api/import/probe.mjs +4 -4
- package/dist/astro/routes/api/import/wordpress/analyze.mjs +3 -3
- package/dist/astro/routes/api/import/wordpress/execute.d.mts +1 -1
- 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 +34 -34
- package/dist/astro/routes/api/media/_id_/confirm.mjs +4 -4
- package/dist/astro/routes/api/media/_id_.mjs +4 -4
- package/dist/astro/routes/api/media/file/_...key_.mjs +2 -2
- package/dist/astro/routes/api/media/providers/_providerId_/_itemId_.mjs +3 -3
- package/dist/astro/routes/api/media/providers/_providerId_/index.mjs +3 -3
- package/dist/astro/routes/api/media/providers/index.mjs +3 -3
- package/dist/astro/routes/api/media/upload-url.mjs +4 -4
- package/dist/astro/routes/api/media.mjs +5 -5
- package/dist/astro/routes/api/menus/_name_/items/_id_.mjs +5 -5
- package/dist/astro/routes/api/menus/_name_/items.mjs +5 -5
- package/dist/astro/routes/api/menus/_name_/reorder.mjs +5 -5
- package/dist/astro/routes/api/menus/_name_/translations.mjs +5 -5
- package/dist/astro/routes/api/menus/_name_.mjs +5 -5
- package/dist/astro/routes/api/menus/index.mjs +5 -5
- package/dist/astro/routes/api/oauth/device/authorize.mjs +3 -3
- package/dist/astro/routes/api/oauth/device/code.mjs +4 -4
- package/dist/astro/routes/api/oauth/device/token.mjs +4 -4
- package/dist/astro/routes/api/oauth/register.mjs +2 -2
- package/dist/astro/routes/api/oauth/token/refresh.mjs +3 -3
- package/dist/astro/routes/api/oauth/token/revoke.mjs +3 -3
- package/dist/astro/routes/api/oauth/token.mjs +2 -2
- package/dist/astro/routes/api/openapi.json.mjs +2 -2
- package/dist/astro/routes/api/plugins/_pluginId_/_...path_.mjs +3 -3
- package/dist/astro/routes/api/redirects/404s/index.mjs +6 -6
- package/dist/astro/routes/api/redirects/404s/summary.mjs +6 -6
- package/dist/astro/routes/api/redirects/_id_.mjs +7 -7
- package/dist/astro/routes/api/redirects/index.mjs +7 -7
- package/dist/astro/routes/api/revisions/_revisionId_/index.mjs +3 -3
- package/dist/astro/routes/api/revisions/_revisionId_/restore.mjs +3 -3
- package/dist/astro/routes/api/schema/collections/_slug_/fields/_fieldSlug_.mjs +26 -26
- package/dist/astro/routes/api/schema/collections/_slug_/fields/index.mjs +26 -26
- package/dist/astro/routes/api/schema/collections/_slug_/fields/reorder.mjs +26 -26
- package/dist/astro/routes/api/schema/collections/_slug_/index.mjs +26 -26
- package/dist/astro/routes/api/schema/collections/index.mjs +26 -26
- package/dist/astro/routes/api/schema/index.mjs +6 -6
- package/dist/astro/routes/api/schema/orphans/_slug_.mjs +26 -26
- package/dist/astro/routes/api/schema/orphans/index.mjs +26 -26
- package/dist/astro/routes/api/search/enable.mjs +7 -7
- package/dist/astro/routes/api/search/index.mjs +6 -6
- package/dist/astro/routes/api/search/rebuild.mjs +7 -7
- package/dist/astro/routes/api/search/stats.mjs +6 -6
- package/dist/astro/routes/api/search/suggest.mjs +6 -6
- package/dist/astro/routes/api/sections/_slug_.mjs +6 -6
- package/dist/astro/routes/api/sections/index.mjs +6 -6
- package/dist/astro/routes/api/settings/email.mjs +4 -4
- package/dist/astro/routes/api/settings.mjs +8 -8
- package/dist/astro/routes/api/setup/admin-verify.mjs +3 -3
- package/dist/astro/routes/api/setup/admin.mjs +3 -3
- package/dist/astro/routes/api/setup/dev-bypass.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 +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 +1 -1
- package/dist/{authorize-Cse0k7B0.mjs → authorize-B__u-iZJ.mjs} +2 -2
- package/dist/{authorize-Cse0k7B0.mjs.map → authorize-B__u-iZJ.mjs.map} +1 -1
- package/dist/{byline-DVo-liaP.mjs → byline-C-YajfV7.mjs} +5 -5
- package/dist/{byline-DVo-liaP.mjs.map → byline-C-YajfV7.mjs.map} +1 -1
- package/dist/{bylines-f5ppBpD5.mjs → bylines-BMtJnPnG.mjs} +5 -5
- package/dist/{bylines-f5ppBpD5.mjs.map → bylines-BMtJnPnG.mjs.map} +1 -1
- package/dist/{bylines-pIKgc_TL.mjs → bylines-D4KADDAi.mjs} +4 -4
- package/dist/{bylines-pIKgc_TL.mjs.map → bylines-D4KADDAi.mjs.map} +1 -1
- package/dist/{cache-Q6V4U-Xz.mjs → cache-BUJe2w6Z.mjs} +2 -2
- package/dist/{cache-Q6V4U-Xz.mjs.map → cache-BUJe2w6Z.mjs.map} +1 -1
- package/dist/{chunks-SyjZaYwV.mjs → chunks-BHgcHh2C.mjs} +2 -2
- package/dist/{chunks-SyjZaYwV.mjs.map → chunks-BHgcHh2C.mjs.map} +1 -1
- package/dist/cli/index.mjs +17 -17
- package/dist/cli/index.mjs.map +1 -1
- package/dist/{comment-80UyJJUR.mjs → comment-BDx50EX5.mjs} +2 -2
- package/dist/{comment-80UyJJUR.mjs.map → comment-BDx50EX5.mjs.map} +1 -1
- package/dist/{comment-reaction-Dyb-AutY.mjs → comment-reaction-Gv_pgfI3.mjs} +2 -2
- package/dist/{comment-reaction-Dyb-AutY.mjs.map → comment-reaction-Gv_pgfI3.mjs.map} +1 -1
- package/dist/{comments-Cczx7AvD.mjs → comments-CXHuQ6jI.mjs} +3 -3
- package/dist/{comments-Cczx7AvD.mjs.map → comments-CXHuQ6jI.mjs.map} +1 -1
- package/dist/{content-2PTDNnoh.mjs → content-PoVGKjp0.mjs} +3 -3
- package/dist/{content-2PTDNnoh.mjs.map → content-PoVGKjp0.mjs.map} +1 -1
- package/dist/{context-B1W8soLv.mjs → context-Dvws41_A.mjs} +7 -7
- package/dist/{context-B1W8soLv.mjs.map → context-Dvws41_A.mjs.map} +1 -1
- package/dist/{dashboard-CYjpQZ6-.mjs → dashboard-DsYU8JKS.mjs} +4 -4
- package/dist/{dashboard-CYjpQZ6-.mjs.map → dashboard-DsYU8JKS.mjs.map} +1 -1
- package/dist/db/index.mjs +1 -1
- package/dist/{error-Bl6kZgtt.mjs → error-lq_fL-RS.mjs} +2 -2
- package/dist/{error-Bl6kZgtt.mjs.map → error-lq_fL-RS.mjs.map} +1 -1
- package/dist/{field-defs-cache-ztrdzUGb.mjs → field-defs-cache-CYYx8xlG.mjs} +2 -2
- package/dist/{field-defs-cache-ztrdzUGb.mjs.map → field-defs-cache-CYYx8xlG.mjs.map} +1 -1
- package/dist/{fts-manager-CQuHt-vS.mjs → fts-manager-DW_NR-Fs.mjs} +2 -2
- package/dist/{fts-manager-CQuHt-vS.mjs.map → fts-manager-DW_NR-Fs.mjs.map} +1 -1
- package/dist/{index-BaIj5hIq.d.mts → index-BroXT-vD.d.mts} +98 -22
- package/dist/index-BroXT-vD.d.mts.map +1 -0
- package/dist/index.d.mts +1 -1
- package/dist/index.mjs +36 -36
- package/dist/{load-BNo-ER8C.mjs → load-DMFi4n1p.mjs} +2 -2
- package/dist/{load-BNo-ER8C.mjs.map → load-DMFi4n1p.mjs.map} +1 -1
- package/dist/{loader-Dn74CG1b.mjs → loader-BR2SgfEc.mjs} +10 -4
- package/dist/loader-BR2SgfEc.mjs.map +1 -0
- package/dist/media/local-runtime.d.mts +1 -1
- package/dist/media/local-runtime.mjs +4 -4
- package/dist/{media-Bw0sA6rb.mjs → media-CTjJoJTh.mjs} +2 -2
- package/dist/{media-Bw0sA6rb.mjs.map → media-CTjJoJTh.mjs.map} +1 -1
- package/dist/{menus-CYs0WZoL.mjs → menus-8O6xNcYW.mjs} +2 -2
- package/dist/{menus-CYs0WZoL.mjs.map → menus-8O6xNcYW.mjs.map} +1 -1
- package/dist/{menus-DS8VTZgo.mjs → menus-GvRSpgIA.mjs} +5 -5
- package/dist/{menus-DS8VTZgo.mjs.map → menus-GvRSpgIA.mjs.map} +1 -1
- package/dist/{parse-C9hpjUyY.mjs → parse-DHI873qU.mjs} +2 -2
- package/dist/{parse-C9hpjUyY.mjs.map → parse-DHI873qU.mjs.map} +1 -1
- package/dist/plugin-utils.d.mts +1 -1
- package/dist/plugins/adapt-sandbox-entry.d.mts +1 -1
- package/dist/{query-DgUHZLWB.mjs → query-DZdlS6Cu.mjs} +23 -16
- package/dist/query-DZdlS6Cu.mjs.map +1 -0
- package/dist/{rate-limit-BuQ5d4X_.mjs → rate-limit-D1Y6VFVP.mjs} +2 -2
- package/dist/{rate-limit-BuQ5d4X_.mjs.map → rate-limit-D1Y6VFVP.mjs.map} +1 -1
- package/dist/{redirect-Bifv_yHv.mjs → redirect-C1KVGYWe.mjs} +2 -2
- package/dist/{redirect-Bifv_yHv.mjs.map → redirect-C1KVGYWe.mjs.map} +1 -1
- package/dist/{redirects-BZ8Mxn8H.mjs → redirects-DgnypVir.mjs} +3 -3
- package/dist/{redirects-BZ8Mxn8H.mjs.map → redirects-DgnypVir.mjs.map} +1 -1
- package/dist/{registry-CK1SS6pi.mjs → registry-CJkCubOJ.mjs} +4 -4
- package/dist/{registry-CK1SS6pi.mjs.map → registry-CJkCubOJ.mjs.map} +1 -1
- package/dist/{runner-DYYnW530.mjs → runner-BsquExlK.mjs} +246 -174
- package/dist/runner-BsquExlK.mjs.map +1 -0
- package/dist/runner-CEtq-6Sm.d.mts.map +1 -1
- package/dist/runtime.d.mts +1 -1
- package/dist/runtime.mjs +2 -2
- package/dist/{schema-CbFRFoM7.mjs → schema-DMjXuvNU.mjs} +4 -4
- package/dist/{schema-CbFRFoM7.mjs.map → schema-DMjXuvNU.mjs.map} +1 -1
- package/dist/{search-C-waE_YW.mjs → search-D1wKk3lc.mjs} +4 -4
- package/dist/{search-C-waE_YW.mjs.map → search-D1wKk3lc.mjs.map} +1 -1
- package/dist/{sections-osX9U-YJ.mjs → sections-CCMic8dB.mjs} +3 -3
- package/dist/{sections-osX9U-YJ.mjs.map → sections-CCMic8dB.mjs.map} +1 -1
- package/dist/seed/index.mjs +14 -14
- package/dist/{seo-4FovMwNS.mjs → seo-3QrZ1EPT.mjs} +2 -2
- package/dist/{seo-4FovMwNS.mjs.map → seo-3QrZ1EPT.mjs.map} +1 -1
- package/dist/{service-jby1RRmU.mjs → service-CQHK_10l.mjs} +2 -2
- package/dist/{service-jby1RRmU.mjs.map → service-CQHK_10l.mjs.map} +1 -1
- package/dist/{settings-4bRT2NIf.mjs → settings-C3Yi5Co3.mjs} +3 -3
- package/dist/{settings-4bRT2NIf.mjs.map → settings-C3Yi5Co3.mjs.map} +1 -1
- package/dist/{settings-t-H2jPuJ.mjs → settings-D9rvaLuY.mjs} +3 -3
- package/dist/{settings-t-H2jPuJ.mjs.map → settings-D9rvaLuY.mjs.map} +1 -1
- package/dist/{taxonomies-Dxrc_szG.mjs → taxonomies-CurpLtNC.mjs} +29 -21
- package/dist/taxonomies-CurpLtNC.mjs.map +1 -0
- package/dist/{taxonomies-BBB8O-CU.mjs → taxonomies-DhLaNJji.mjs} +34 -27
- package/dist/taxonomies-DhLaNJji.mjs.map +1 -0
- package/dist/{taxonomy-B2HQuVf5.mjs → taxonomy-BBUlGug5.mjs} +33 -7
- package/dist/taxonomy-BBUlGug5.mjs.map +1 -0
- package/dist/{types-DXOIbece.mjs → types-CmI1OyQg.mjs} +2 -2
- package/dist/{types-DXOIbece.mjs.map → types-CmI1OyQg.mjs.map} +1 -1
- package/dist/{user-Db-Rti_z.mjs → user-JAuc8VUf.mjs} +3 -3
- package/dist/{user-Db-Rti_z.mjs.map → user-JAuc8VUf.mjs.map} +1 -1
- package/dist/{validate-0Utjspbs.mjs → validate-BzXHWnkV.mjs} +2 -2
- package/dist/{validate-0Utjspbs.mjs.map → validate-BzXHWnkV.mjs.map} +1 -1
- package/dist/{validation-D9EnzH1T.mjs → validation-CY1gk4Ar.mjs} +5 -5
- package/dist/{validation-D9EnzH1T.mjs.map → validation-CY1gk4Ar.mjs.map} +1 -1
- package/dist/version-B5nHxI5Y.mjs +7 -0
- package/dist/{version-BgVM_1MU.mjs.map → version-B5nHxI5Y.mjs.map} +1 -1
- package/dist/{widgets-BSTzPUYa.mjs → widgets-Dri0spI4.mjs} +2 -2
- package/dist/{widgets-BSTzPUYa.mjs.map → widgets-Dri0spI4.mjs.map} +1 -1
- package/dist/{zod-generator-ElVQOav7.mjs → zod-generator-xEHODMJf.mjs} +2 -2
- package/dist/{zod-generator-ElVQOav7.mjs.map → zod-generator-xEHODMJf.mjs.map} +1 -1
- package/package.json +5 -5
- package/src/api/handlers/taxonomies.ts +62 -32
- package/src/astro/integration/shims/use-sync-external-store-with-selector.js +71 -0
- package/src/astro/integration/shims/use-sync-external-store.js +1 -0
- package/src/astro/integration/vite-config.ts +47 -8
- package/src/astro/middleware.ts +13 -3
- package/src/cli/commands/export-seed.ts +5 -4
- package/src/database/migrations/045_taxonomy_parent_group.ts +68 -0
- package/src/database/migrations/runner.ts +2 -0
- package/src/database/repositories/taxonomy.ts +50 -7
- package/src/loader.ts +64 -8
- package/src/query.ts +93 -18
- package/src/taxonomies/index.ts +20 -8
- package/dist/index-BaIj5hIq.d.mts.map +0 -1
- package/dist/loader-Dn74CG1b.mjs.map +0 -1
- package/dist/query-DgUHZLWB.mjs.map +0 -1
- package/dist/runner-DYYnW530.mjs.map +0 -1
- package/dist/taxonomies-BBB8O-CU.mjs.map +0 -1
- package/dist/taxonomies-Dxrc_szG.mjs.map +0 -1
- package/dist/taxonomy-B2HQuVf5.mjs.map +0 -1
- package/dist/version-BgVM_1MU.mjs +0 -7
|
@@ -2,7 +2,7 @@ import "../../options-CqECG0gM.mjs";
|
|
|
2
2
|
import "../../types-B-gIxFCE.mjs";
|
|
3
3
|
import "../../types-TTx8uP7V.mjs";
|
|
4
4
|
import "../../byline-fields-RFPkDLRw.mjs";
|
|
5
|
-
import "../../index-
|
|
5
|
+
import "../../index-BroXT-vD.mjs";
|
|
6
6
|
import "../../runner-CEtq-6Sm.mjs";
|
|
7
7
|
import "../../index-qbL02uhs.mjs";
|
|
8
8
|
import "../../types-CUsXGRVj.mjs";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "../../after-B1IIdH3Y.mjs";
|
|
2
2
|
import "../../base64-CmWvODNW.mjs";
|
|
3
|
-
import "../../types-
|
|
4
|
-
import { t as apiError } from "../../error-
|
|
3
|
+
import "../../types-CmI1OyQg.mjs";
|
|
4
|
+
import { t as apiError } from "../../error-lq_fL-RS.mjs";
|
|
5
5
|
import { n as getPublicOrigin } from "../../public-url-CTVqgMmg.mjs";
|
|
6
6
|
import { t as getAuthMode } from "../../mode-BB0F8xTC.mjs";
|
|
7
7
|
import { t as resolveSessionUser } from "../../session-user-B8aLtKAH.mjs";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import "../../dialect-helpers-DRI5pyY3.mjs";
|
|
2
2
|
import "../../base64-CmWvODNW.mjs";
|
|
3
|
-
import "../../types-
|
|
4
|
-
import { t as RedirectRepository } from "../../redirect-
|
|
5
|
-
import { a as setCachedRedirects, i as matchCachedPatterns, n as getCachedRedirects } from "../../cache-
|
|
6
|
-
import { a as getDb } from "../../loader-
|
|
3
|
+
import "../../types-CmI1OyQg.mjs";
|
|
4
|
+
import { t as RedirectRepository } from "../../redirect-C1KVGYWe.mjs";
|
|
5
|
+
import { a as setCachedRedirects, i as matchCachedPatterns, n as getCachedRedirects } from "../../cache-BUJe2w6Z.mjs";
|
|
6
|
+
import { a as getDb } from "../../loader-BR2SgfEc.mjs";
|
|
7
7
|
import { n as isTerminalStatus } from "../../status-vUK0SA17.mjs";
|
|
8
8
|
import { defineMiddleware } from "astro:middleware";
|
|
9
9
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"middleware.d.mts","names":[],"sources":["../../src/scheduled-publish.ts","../../src/astro/middleware.ts"],"mappings":";;;;;ACgRA;AAAA,UD5PiB,YAAA;EAChB,UAAA;EACA,EAAA;AAAA;;;;;;;;;AC0PD;;;;;;;;iBAAsB,iBAAA,CACrB,OAAA;EAAW,WAAA,IAAe,IAAA,EAAM,YAAA,OAAmB,OAAA;AAAA,IACjD,OAAA;EAAU,SAAA,EAAW,YAAA;AAAA;AAAA,
|
|
1
|
+
{"version":3,"file":"middleware.d.mts","names":[],"sources":["../../src/scheduled-publish.ts","../../src/astro/middleware.ts"],"mappings":";;;;;ACgRA;AAAA,UD5PiB,YAAA;EAChB,UAAA;EACA,EAAA;AAAA;;;;;;;;;AC0PD;;;;;;;;iBAAsB,iBAAA,CACrB,OAAA;EAAW,WAAA,IAAe,IAAA,EAAM,YAAA,OAAmB,OAAA;AAAA,IACjD,OAAA;EAAU,SAAA,EAAW,YAAA;AAAA;AAAA,cAoKX,SAAA,EA+YX,KAAA,CA/YoB,iBAAA"}
|
|
@@ -1,57 +1,57 @@
|
|
|
1
|
-
import { i as runMigrations, t as MIGRATION_RACE_WAIT_MS } from "../runner-
|
|
1
|
+
import { i as runMigrations, t as MIGRATION_RACE_WAIT_MS } from "../runner-BsquExlK.mjs";
|
|
2
2
|
import { t as validateIdentifier } from "../validate-VPnKoIzW.mjs";
|
|
3
3
|
import { o as isSqlite } from "../dialect-helpers-DRI5pyY3.mjs";
|
|
4
4
|
import { i as setI18nConfig } from "../config-CVssduLe.mjs";
|
|
5
|
-
import { _ as resolveExclusiveHooks, g as createHookPipeline, m as EmailPipeline, p as PluginRouteRegistry, t as getMenu, v as definePlugin } from "../menus-
|
|
5
|
+
import { _ as resolveExclusiveHooks, g as createHookPipeline, m as EmailPipeline, p as PluginRouteRegistry, t as getMenu, v as definePlugin } from "../menus-GvRSpgIA.mjs";
|
|
6
6
|
import { t as after } from "../after-B1IIdH3Y.mjs";
|
|
7
7
|
import { createRequestMetrics, getRequestContext, runWithContext } from "../request-context.mjs";
|
|
8
8
|
import "../object-cache-SEb2IM4Z.mjs";
|
|
9
|
-
import { r as RevisionRepository, t as ContentRepository } from "../content-
|
|
9
|
+
import { r as RevisionRepository, t as ContentRepository } from "../content-PoVGKjp0.mjs";
|
|
10
10
|
import "../base64-CmWvODNW.mjs";
|
|
11
|
-
import "../types-
|
|
12
|
-
import { t as MediaRepository } from "../media-
|
|
13
|
-
import "../user-
|
|
14
|
-
import "../taxonomy-
|
|
15
|
-
import "../comment-
|
|
11
|
+
import "../types-CmI1OyQg.mjs";
|
|
12
|
+
import { t as MediaRepository } from "../media-CTjJoJTh.mjs";
|
|
13
|
+
import "../user-JAuc8VUf.mjs";
|
|
14
|
+
import "../taxonomy-BBUlGug5.mjs";
|
|
15
|
+
import "../comment-BDx50EX5.mjs";
|
|
16
16
|
import { t as OptionsRepository } from "../options-DTTML-Tx.mjs";
|
|
17
|
-
import "../context-
|
|
18
|
-
import "../menus-
|
|
19
|
-
import "../redirect-
|
|
17
|
+
import "../context-Dvws41_A.mjs";
|
|
18
|
+
import "../menus-8O6xNcYW.mjs";
|
|
19
|
+
import "../redirect-C1KVGYWe.mjs";
|
|
20
20
|
import { i as setRequestCacheEntry, r as requestCached } from "../request-cache-KCNHp_RJ.mjs";
|
|
21
21
|
import "../byline-registry-BOjqDOim.mjs";
|
|
22
22
|
import { n as initWithLock, t as createInitLock } from "../init-lock-6b309ZrF.mjs";
|
|
23
|
-
import "../field-defs-cache-
|
|
24
|
-
import "../byline-
|
|
23
|
+
import "../field-defs-cache-CYYx8xlG.mjs";
|
|
24
|
+
import "../byline-C-YajfV7.mjs";
|
|
25
25
|
import { n as normalizeMediaValue } from "../normalize-ClbNIenm.mjs";
|
|
26
26
|
import "../placeholder-B0s2mWu5.mjs";
|
|
27
|
-
import "../seo-
|
|
27
|
+
import "../seo-3QrZ1EPT.mjs";
|
|
28
28
|
import { n as isMissingTableError } from "../db-errors-UXB1CK42.mjs";
|
|
29
|
-
import { $ as handleContentGet, B as handleMediaUpdate, G as handleContentAuthors, H as handleRevisionList, I as handleMediaCreate, J as handleContentCountTrashed, K as handleContentCompare, L as handleMediaDelete, Q as handleContentDuplicate, R as handleMediaGet, S as PluginStateRepository, U as handleRevisionRestore, V as handleRevisionGet, X as handleContentDelete, Y as handleContentCreate, Z as handleContentDiscardDraft, _ as loadBundleFromR2, at as handleContentRestore, ct as handleContentUnpublish, dt as validateRev, et as handleContentGetIncludingTrashed, it as handleContentPublish, lt as handleContentUnschedule, nt as handleContentListTrashed, ot as handleContentSchedule, q as handleContentCountScheduled, rt as handleContentPermanentDelete, s as normalizeRegistryConfig, st as handleContentTranslations, tt as handleContentList, ut as handleContentUpdate, z as handleMediaList } from "../api-
|
|
30
|
-
import "../dashboard-
|
|
29
|
+
import { $ as handleContentGet, B as handleMediaUpdate, G as handleContentAuthors, H as handleRevisionList, I as handleMediaCreate, J as handleContentCountTrashed, K as handleContentCompare, L as handleMediaDelete, Q as handleContentDuplicate, R as handleMediaGet, S as PluginStateRepository, U as handleRevisionRestore, V as handleRevisionGet, X as handleContentDelete, Y as handleContentCreate, Z as handleContentDiscardDraft, _ as loadBundleFromR2, at as handleContentRestore, ct as handleContentUnpublish, dt as validateRev, et as handleContentGetIncludingTrashed, it as handleContentPublish, lt as handleContentUnschedule, nt as handleContentListTrashed, ot as handleContentSchedule, q as handleContentCountScheduled, rt as handleContentPermanentDelete, s as normalizeRegistryConfig, st as handleContentTranslations, tt as handleContentList, ut as handleContentUpdate, z as handleMediaList } from "../api-d_0wi9fW.mjs";
|
|
30
|
+
import "../dashboard-DsYU8JKS.mjs";
|
|
31
31
|
import { n as hashString } from "../hash-DrvzIXcz.mjs";
|
|
32
|
-
import { t as FTSManager } from "../fts-manager-
|
|
33
|
-
import { n as SchemaRegistry } from "../registry-
|
|
32
|
+
import { t as FTSManager } from "../fts-manager-DW_NR-Fs.mjs";
|
|
33
|
+
import { n as SchemaRegistry } from "../registry-CJkCubOJ.mjs";
|
|
34
34
|
import { createRecorder, flushRecorder, isInstrumentationEnabled, kyselyLogOption } from "../database/instrumentation.mjs";
|
|
35
|
-
import { a as getDb } from "../loader-
|
|
36
|
-
import "../schema-
|
|
37
|
-
import "../zod-generator-
|
|
35
|
+
import { a as getDb } from "../loader-BR2SgfEc.mjs";
|
|
36
|
+
import "../schema-DMjXuvNU.mjs";
|
|
37
|
+
import "../zod-generator-xEHODMJf.mjs";
|
|
38
38
|
import "../seo-DCEF-AVr.mjs";
|
|
39
|
-
import "../sections-
|
|
39
|
+
import "../sections-CCMic8dB.mjs";
|
|
40
40
|
import { r as singleFlightCached, t as createSingleFlightCache } from "../single-flight-cache-Cdfkic3t.mjs";
|
|
41
|
-
import { i as getSiteSettings, o as invalidateSiteSettingsCache } from "../settings-
|
|
42
|
-
import "../settings-
|
|
41
|
+
import { i as getSiteSettings, o as invalidateSiteSettingsCache } from "../settings-D9rvaLuY.mjs";
|
|
42
|
+
import "../settings-C3Yi5Co3.mjs";
|
|
43
43
|
import "../resolve-C7I0qiR0.mjs";
|
|
44
|
-
import { a as getTaxonomyDefs, o as getTaxonomyTerms } from "../taxonomies-
|
|
45
|
-
import "../taxonomies-
|
|
44
|
+
import { a as getTaxonomyDefs, o as getTaxonomyTerms } from "../taxonomies-CurpLtNC.mjs";
|
|
45
|
+
import "../taxonomies-DhLaNJji.mjs";
|
|
46
46
|
import { r as normalizeManifestRoute } from "../manifest-schema-BWKnQYQF.mjs";
|
|
47
47
|
import "../types-BvbeGEtr.mjs";
|
|
48
48
|
import "../ssrf-BRKb343l.mjs";
|
|
49
|
-
import "../error-
|
|
50
|
-
import "../parse-
|
|
49
|
+
import "../error-lq_fL-RS.mjs";
|
|
50
|
+
import "../parse-DHI873qU.mjs";
|
|
51
51
|
import "../redirects-x9eFPeyi.mjs";
|
|
52
52
|
import "../byline-fields-B-KXkg5R.mjs";
|
|
53
53
|
import "../status-vUK0SA17.mjs";
|
|
54
|
-
import { a as invalidateUrlPatternCache } from "../query-
|
|
54
|
+
import { a as invalidateUrlPatternCache } from "../query-DZdlS6Cu.mjs";
|
|
55
55
|
import "../import-Bb1T9WJS.mjs";
|
|
56
56
|
import { t as getTrustedProxyHeaders } from "../trusted-proxy-DZY5WCn2.mjs";
|
|
57
57
|
import { n as sanitizeHeadersForSandbox, t as extractRequestMeta } from "../request-meta-CmS1tDFf.mjs";
|
|
@@ -61,14 +61,14 @@ import { r as devConsoleEmailDeliver, t as DEV_CONSOLE_EMAIL_PLUGIN_ID } from ".
|
|
|
61
61
|
import "../utils-B7A57fm9.mjs";
|
|
62
62
|
import "../tokens-LeuXF9gG.mjs";
|
|
63
63
|
import "../preview-DKGCt2_p.mjs";
|
|
64
|
-
import "../comment-reaction-
|
|
65
|
-
import "../bylines-
|
|
66
|
-
import { n as getWidgetAreas } from "../widgets-
|
|
67
|
-
import "../apply-
|
|
68
|
-
import "../load-
|
|
69
|
-
import "../search-
|
|
64
|
+
import "../comment-reaction-Gv_pgfI3.mjs";
|
|
65
|
+
import "../bylines-BMtJnPnG.mjs";
|
|
66
|
+
import { n as getWidgetAreas } from "../widgets-Dri0spI4.mjs";
|
|
67
|
+
import "../apply-BE9UaWX0.mjs";
|
|
68
|
+
import "../load-DMFi4n1p.mjs";
|
|
69
|
+
import "../search-D1wKk3lc.mjs";
|
|
70
70
|
import "../index.mjs";
|
|
71
|
-
import { n as VERSION, t as COMMIT } from "../version-
|
|
71
|
+
import { n as VERSION, t as COMMIT } from "../version-B5nHxI5Y.mjs";
|
|
72
72
|
import { t as getAuthMode } from "../mode-BB0F8xTC.mjs";
|
|
73
73
|
import { t as cleanupExpiredChallenges } from "../challenge-store-LhiqMccz.mjs";
|
|
74
74
|
import { a as validateEncryptionKeyAtStartup } from "../secrets-BSf9pRRY.mjs";
|
|
@@ -925,9 +925,9 @@ var EmDashRuntime = class EmDashRuntime {
|
|
|
925
925
|
const seedHolder = getSeedHolder();
|
|
926
926
|
try {
|
|
927
927
|
await initWithLock(seedHolder.lock, () => seedHolder.done.has(seedKey) ? true : void 0, async () => {
|
|
928
|
-
const { applySeed } = await import("../apply-
|
|
929
|
-
const { loadSeed } = await import("../load-
|
|
930
|
-
const { validateSeed } = await import("../validate-
|
|
928
|
+
const { applySeed } = await import("../apply-BE9UaWX0.mjs").then((n) => n.n);
|
|
929
|
+
const { loadSeed } = await import("../load-DMFi4n1p.mjs").then((n) => n.r);
|
|
930
|
+
const { validateSeed } = await import("../validate-BzXHWnkV.mjs").then((n) => n.n);
|
|
931
931
|
const seed = await loadSeed();
|
|
932
932
|
if (validateSeed(seed).valid) {
|
|
933
933
|
await applySeed(db, seed, { onConflict: "skip" });
|
|
@@ -1663,7 +1663,7 @@ var EmDashRuntime = class EmDashRuntime {
|
|
|
1663
1663
|
if (this.hooks.hasHooks("content:beforeSave")) processedData = (await this.hooks.runContentBeforeSave(body.data, collection, true)).content;
|
|
1664
1664
|
processedData = await this.runSandboxedBeforeSave(processedData, collection, true);
|
|
1665
1665
|
processedData = await this.normalizeMediaFields(collection, processedData);
|
|
1666
|
-
const { validateContentData } = await import("../validation-
|
|
1666
|
+
const { validateContentData } = await import("../validation-CY1gk4Ar.mjs");
|
|
1667
1667
|
const validation = await validateContentData(this.db, collection, processedData, { partial: false });
|
|
1668
1668
|
if (!validation.ok) return {
|
|
1669
1669
|
success: false,
|
|
@@ -1679,7 +1679,7 @@ var EmDashRuntime = class EmDashRuntime {
|
|
|
1679
1679
|
return result;
|
|
1680
1680
|
}
|
|
1681
1681
|
async handleContentUpdate(collection, id, body) {
|
|
1682
|
-
const { ContentRepository } = await import("../content-
|
|
1682
|
+
const { ContentRepository } = await import("../content-PoVGKjp0.mjs").then((n) => n.n);
|
|
1683
1683
|
const repo = new ContentRepository(this.db);
|
|
1684
1684
|
const resolvedItem = await repo.findByIdOrSlug(collection, id, body.locale);
|
|
1685
1685
|
const resolvedId = resolvedItem?.id ?? id;
|
|
@@ -1706,7 +1706,7 @@ var EmDashRuntime = class EmDashRuntime {
|
|
|
1706
1706
|
if (this.hooks.hasHooks("content:beforeSave")) processedData = (await this.hooks.runContentBeforeSave(bodyWithoutRev.data, collection, false)).content;
|
|
1707
1707
|
processedData = await this.runSandboxedBeforeSave(processedData, collection, false);
|
|
1708
1708
|
processedData = await this.normalizeMediaFields(collection, processedData);
|
|
1709
|
-
const { validateContentData } = await import("../validation-
|
|
1709
|
+
const { validateContentData } = await import("../validation-CY1gk4Ar.mjs");
|
|
1710
1710
|
const validation = await validateContentData(this.db, collection, processedData, { partial: true });
|
|
1711
1711
|
if (!validation.ok) return {
|
|
1712
1712
|
success: false,
|
|
@@ -2696,9 +2696,9 @@ function finalizeResponse(response, serverTimings) {
|
|
|
2696
2696
|
const res = new Response(response.body, response);
|
|
2697
2697
|
const astroCookies = Reflect.get(response, ASTRO_COOKIES_SYMBOL);
|
|
2698
2698
|
if (astroCookies !== void 0) Reflect.set(res, ASTRO_COOKIES_SYMBOL, astroCookies);
|
|
2699
|
-
res.headers.set("X-Content-Type-Options", "nosniff");
|
|
2700
|
-
res.headers.set("Referrer-Policy", "strict-origin-when-cross-origin");
|
|
2701
|
-
res.headers.set("Permissions-Policy", "camera=(), microphone=(), geolocation=(), payment=()");
|
|
2699
|
+
if (!res.headers.has("X-Content-Type-Options")) res.headers.set("X-Content-Type-Options", "nosniff");
|
|
2700
|
+
if (!res.headers.has("Referrer-Policy")) res.headers.set("Referrer-Policy", "strict-origin-when-cross-origin");
|
|
2701
|
+
if (!res.headers.has("Permissions-Policy")) res.headers.set("Permissions-Policy", "camera=(), microphone=(), geolocation=(), payment=()");
|
|
2702
2702
|
if (!res.headers.has("Content-Security-Policy")) res.headers.set("X-Frame-Options", "SAMEORIGIN");
|
|
2703
2703
|
if (serverTimings && serverTimings.length > 0) res.headers.set("Server-Timing", serverTimings.map((t) => {
|
|
2704
2704
|
const dur = Math.round(t.dur);
|
|
@@ -2790,7 +2790,7 @@ const onRequest = defineMiddleware(async (context, next) => {
|
|
|
2790
2790
|
if (!isSetupVerified() && !context.isPrerendered) {
|
|
2791
2791
|
const t0 = performance.now();
|
|
2792
2792
|
try {
|
|
2793
|
-
const { getDb } = await import("../loader-
|
|
2793
|
+
const { getDb } = await import("../loader-BR2SgfEc.mjs").then((n) => n.o);
|
|
2794
2794
|
await (await getDb()).selectFrom("_emdash_migrations").selectAll().limit(1).execute();
|
|
2795
2795
|
markSetupVerified();
|
|
2796
2796
|
} catch (error) {
|