emdash 0.22.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/{adapters-hUy8vOB-.d.mts → adapters-DAAjOID4.d.mts} +1 -1
- package/dist/{adapters-hUy8vOB-.d.mts.map → adapters-DAAjOID4.d.mts.map} +1 -1
- package/dist/{allowed-origins-DjlhyfNN.mjs → allowed-origins-D5FxMUo8.mjs} +2 -2
- package/dist/{allowed-origins-DjlhyfNN.mjs.map → allowed-origins-D5FxMUo8.mjs.map} +1 -1
- package/dist/api/route-utils.d.mts +3 -3
- package/dist/api/route-utils.mjs +15 -15
- package/dist/api/schemas/index.d.mts +1 -1
- package/dist/api/schemas/index.mjs +3 -3
- package/dist/{api-BDuM4bEy.mjs → api-d_0wi9fW.mjs} +20 -20
- package/dist/{api-BDuM4bEy.mjs.map → api-d_0wi9fW.mjs.map} +1 -1
- package/dist/{api-tokens-ViYKeIp9.mjs → api-tokens-D6ppjIVi.mjs} +2 -2
- package/dist/{api-tokens-ViYKeIp9.mjs.map → api-tokens-D6ppjIVi.mjs.map} +1 -1
- package/dist/{apply-wDqQoxX4.mjs → apply-BE9UaWX0.mjs} +17 -17
- package/dist/{apply-wDqQoxX4.mjs.map → apply-BE9UaWX0.mjs.map} +1 -1
- package/dist/astro/index.d.mts +11 -11
- package/dist/astro/index.mjs +36 -11
- package/dist/astro/index.mjs.map +1 -1
- package/dist/astro/middleware/auth.d.mts +9 -9
- package/dist/astro/middleware/auth.mjs +7 -7
- package/dist/astro/middleware/redirect.mjs +5 -5
- package/dist/astro/middleware/request-context.d.mts.map +1 -1
- package/dist/astro/middleware/request-context.mjs +5 -3
- package/dist/astro/middleware/request-context.mjs.map +1 -1
- package/dist/astro/middleware/setup.mjs +1 -1
- package/dist/astro/middleware.d.mts +1 -1
- package/dist/astro/middleware.d.mts.map +1 -1
- package/dist/astro/middleware.mjs +362 -141
- package/dist/astro/middleware.mjs.map +1 -1
- package/dist/astro/routes/api/admin/allowed-domains/_domain_.mjs +6 -6
- package/dist/astro/routes/api/admin/allowed-domains/index.mjs +6 -6
- package/dist/astro/routes/api/admin/api-tokens/_id_.mjs +4 -4
- package/dist/astro/routes/api/admin/api-tokens/index.mjs +5 -5
- package/dist/astro/routes/api/admin/byline-fields/_slug_/usage.mjs +4 -4
- package/dist/astro/routes/api/admin/byline-fields/_slug_.mjs +8 -8
- package/dist/astro/routes/api/admin/byline-fields/index.mjs +8 -8
- package/dist/astro/routes/api/admin/byline-fields/reorder.mjs +8 -8
- package/dist/astro/routes/api/admin/bylines/_id_/index.mjs +13 -12
- package/dist/astro/routes/api/admin/bylines/_id_/index.mjs.map +1 -1
- package/dist/astro/routes/api/admin/bylines/_id_/translations.mjs +13 -12
- package/dist/astro/routes/api/admin/bylines/_id_/translations.mjs.map +1 -1
- package/dist/astro/routes/api/admin/bylines/index.mjs +13 -12
- package/dist/astro/routes/api/admin/bylines/index.mjs.map +1 -1
- package/dist/astro/routes/api/admin/comments/_id_/status.mjs +11 -11
- package/dist/astro/routes/api/admin/comments/_id_.mjs +5 -5
- package/dist/astro/routes/api/admin/comments/bulk.mjs +9 -9
- package/dist/astro/routes/api/admin/comments/counts.mjs +5 -5
- package/dist/astro/routes/api/admin/comments/index.mjs +9 -9
- 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 +4 -4
- package/dist/astro/routes/api/admin/oauth-clients/index.mjs +4 -4
- package/dist/astro/routes/api/admin/plugins/_id_/disable.mjs +35 -34
- package/dist/astro/routes/api/admin/plugins/_id_/disable.mjs.map +1 -1
- package/dist/astro/routes/api/admin/plugins/_id_/enable.mjs +35 -34
- package/dist/astro/routes/api/admin/plugins/_id_/enable.mjs.map +1 -1
- package/dist/astro/routes/api/admin/plugins/_id_/index.mjs +34 -33
- package/dist/astro/routes/api/admin/plugins/_id_/index.mjs.map +1 -1
- package/dist/astro/routes/api/admin/plugins/_id_/uninstall.mjs +34 -33
- package/dist/astro/routes/api/admin/plugins/_id_/uninstall.mjs.map +1 -1
- package/dist/astro/routes/api/admin/plugins/_id_/update.mjs +34 -33
- package/dist/astro/routes/api/admin/plugins/_id_/update.mjs.map +1 -1
- package/dist/astro/routes/api/admin/plugins/index.mjs +34 -33
- package/dist/astro/routes/api/admin/plugins/index.mjs.map +1 -1
- package/dist/astro/routes/api/admin/plugins/marketplace/_id_/icon.mjs +3 -3
- package/dist/astro/routes/api/admin/plugins/marketplace/_id_/index.mjs +34 -33
- package/dist/astro/routes/api/admin/plugins/marketplace/_id_/index.mjs.map +1 -1
- package/dist/astro/routes/api/admin/plugins/marketplace/_id_/install.mjs +34 -33
- package/dist/astro/routes/api/admin/plugins/marketplace/_id_/install.mjs.map +1 -1
- package/dist/astro/routes/api/admin/plugins/marketplace/index.mjs +34 -33
- package/dist/astro/routes/api/admin/plugins/marketplace/index.mjs.map +1 -1
- package/dist/astro/routes/api/admin/plugins/registry/_id_/uninstall.mjs +34 -33
- package/dist/astro/routes/api/admin/plugins/registry/_id_/uninstall.mjs.map +1 -1
- package/dist/astro/routes/api/admin/plugins/registry/_id_/update.mjs +35 -34
- package/dist/astro/routes/api/admin/plugins/registry/_id_/update.mjs.map +1 -1
- package/dist/astro/routes/api/admin/plugins/registry/artifact.mjs +34 -33
- package/dist/astro/routes/api/admin/plugins/registry/artifact.mjs.map +1 -1
- package/dist/astro/routes/api/admin/plugins/registry/install.mjs +35 -34
- package/dist/astro/routes/api/admin/plugins/registry/install.mjs.map +1 -1
- package/dist/astro/routes/api/admin/plugins/updates.mjs +34 -33
- package/dist/astro/routes/api/admin/plugins/updates.mjs.map +1 -1
- package/dist/astro/routes/api/admin/themes/marketplace/_id_/index.mjs +34 -33
- package/dist/astro/routes/api/admin/themes/marketplace/_id_/index.mjs.map +1 -1
- package/dist/astro/routes/api/admin/themes/marketplace/_id_/thumbnail.mjs +3 -3
- package/dist/astro/routes/api/admin/themes/marketplace/index.mjs +34 -33
- package/dist/astro/routes/api/admin/themes/marketplace/index.mjs.map +1 -1
- 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 +6 -6
- package/dist/astro/routes/api/admin/users/_id_/send-recovery.mjs +3 -3
- package/dist/astro/routes/api/admin/users/index.mjs +6 -6
- package/dist/astro/routes/api/auth/dev-bypass.mjs +5 -5
- package/dist/astro/routes/api/auth/invite/accept.mjs +2 -2
- package/dist/astro/routes/api/auth/invite/complete.mjs +10 -10
- package/dist/astro/routes/api/auth/invite/index.mjs +7 -7
- package/dist/astro/routes/api/auth/invite/register-options.mjs +9 -9
- package/dist/astro/routes/api/auth/logout.mjs +3 -3
- package/dist/astro/routes/api/auth/magic-link/send.mjs +9 -9
- package/dist/astro/routes/api/auth/magic-link/verify.mjs +3 -3
- package/dist/astro/routes/api/auth/me.mjs +7 -7
- package/dist/astro/routes/api/auth/mode.mjs +1 -1
- package/dist/astro/routes/api/auth/oauth/_provider_/callback.mjs +3 -3
- package/dist/astro/routes/api/auth/oauth/_provider_.mjs +2 -2
- package/dist/astro/routes/api/auth/passkey/_id_.mjs +6 -6
- package/dist/astro/routes/api/auth/passkey/index.mjs +2 -2
- package/dist/astro/routes/api/auth/passkey/options.mjs +11 -11
- package/dist/astro/routes/api/auth/passkey/register/options.mjs +9 -9
- package/dist/astro/routes/api/auth/passkey/register/verify.mjs +10 -10
- package/dist/astro/routes/api/auth/passkey/verify.mjs +10 -10
- package/dist/astro/routes/api/auth/signup/complete.mjs +10 -10
- package/dist/astro/routes/api/auth/signup/request.mjs +9 -9
- package/dist/astro/routes/api/auth/signup/verify.mjs +2 -2
- package/dist/astro/routes/api/comments/_collection_/_contentId_/index.mjs +12 -12
- package/dist/astro/routes/api/comments/_collection_/_contentId_/reactions.mjs +11 -11
- 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 +10 -10
- package/dist/astro/routes/api/content/_collection_/_id_/publish.mjs +7 -7
- 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 +7 -7
- package/dist/astro/routes/api/content/_collection_/_id_/terms/_taxonomy_.mjs +12 -12
- 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 +7 -7
- package/dist/astro/routes/api/content/_collection_/authors.mjs +3 -3
- package/dist/astro/routes/api/content/_collection_/index.mjs +7 -7
- package/dist/astro/routes/api/content/_collection_/trash.mjs +7 -7
- package/dist/astro/routes/api/dashboard.mjs +7 -7
- package/dist/astro/routes/api/dev/emails.mjs +3 -3
- package/dist/astro/routes/api/import/probe.d.mts +3 -3
- package/dist/astro/routes/api/import/probe.mjs +11 -11
- package/dist/astro/routes/api/import/wordpress/analyze.mjs +3 -3
- package/dist/astro/routes/api/import/wordpress/execute.d.mts +9 -9
- package/dist/astro/routes/api/import/wordpress/execute.mjs +10 -9
- package/dist/astro/routes/api/import/wordpress/execute.mjs.map +1 -1
- package/dist/astro/routes/api/import/wordpress/media.mjs +9 -9
- package/dist/astro/routes/api/import/wordpress/prepare.mjs +9 -9
- package/dist/astro/routes/api/import/wordpress/rewrite-urls.mjs +9 -9
- package/dist/astro/routes/api/import/wordpress-plugin/analyze.d.mts +1 -1
- package/dist/astro/routes/api/import/wordpress-plugin/analyze.mjs +11 -11
- package/dist/astro/routes/api/import/wordpress-plugin/execute.d.mts +1 -1
- package/dist/astro/routes/api/import/wordpress-plugin/execute.mjs +13 -12
- package/dist/astro/routes/api/import/wordpress-plugin/execute.mjs.map +1 -1
- package/dist/astro/routes/api/manifest.mjs +4 -4
- package/dist/astro/routes/api/mcp.mjs +39 -39
- package/dist/astro/routes/api/media/_id_/confirm.mjs +7 -7
- package/dist/astro/routes/api/media/_id_.mjs +7 -7
- 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 +9 -9
- package/dist/astro/routes/api/media.mjs +12 -12
- package/dist/astro/routes/api/menus/_name_/items/_id_.mjs +8 -8
- package/dist/astro/routes/api/menus/_name_/items.mjs +8 -8
- package/dist/astro/routes/api/menus/_name_/reorder.mjs +8 -8
- package/dist/astro/routes/api/menus/_name_/translations.mjs +8 -8
- package/dist/astro/routes/api/menus/_name_.mjs +8 -8
- package/dist/astro/routes/api/menus/index.mjs +8 -8
- package/dist/astro/routes/api/oauth/authorize.mjs +6 -6
- package/dist/astro/routes/api/oauth/device/authorize.mjs +6 -6
- package/dist/astro/routes/api/oauth/device/code.mjs +9 -9
- package/dist/astro/routes/api/oauth/device/token.mjs +8 -8
- package/dist/astro/routes/api/oauth/register.mjs +3 -3
- package/dist/astro/routes/api/oauth/token/refresh.mjs +6 -6
- package/dist/astro/routes/api/oauth/token/revoke.mjs +6 -6
- package/dist/astro/routes/api/oauth/token.mjs +6 -6
- package/dist/astro/routes/api/openapi.json.mjs +4 -4
- package/dist/astro/routes/api/plugins/_pluginId_/_...path_.mjs +4 -4
- package/dist/astro/routes/api/redirects/404s/index.mjs +9 -9
- package/dist/astro/routes/api/redirects/404s/summary.mjs +9 -9
- package/dist/astro/routes/api/redirects/_id_.mjs +10 -10
- package/dist/astro/routes/api/redirects/index.mjs +10 -10
- 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 +34 -33
- package/dist/astro/routes/api/schema/collections/_slug_/fields/_fieldSlug_.mjs.map +1 -1
- package/dist/astro/routes/api/schema/collections/_slug_/fields/index.mjs +34 -33
- package/dist/astro/routes/api/schema/collections/_slug_/fields/index.mjs.map +1 -1
- package/dist/astro/routes/api/schema/collections/_slug_/fields/reorder.mjs +34 -33
- package/dist/astro/routes/api/schema/collections/_slug_/fields/reorder.mjs.map +1 -1
- package/dist/astro/routes/api/schema/collections/_slug_/index.mjs +34 -33
- package/dist/astro/routes/api/schema/collections/_slug_/index.mjs.map +1 -1
- package/dist/astro/routes/api/schema/collections/index.mjs +34 -33
- package/dist/astro/routes/api/schema/collections/index.mjs.map +1 -1
- package/dist/astro/routes/api/schema/index.mjs +8 -7
- package/dist/astro/routes/api/schema/index.mjs.map +1 -1
- package/dist/astro/routes/api/schema/orphans/_slug_.mjs +34 -33
- package/dist/astro/routes/api/schema/orphans/_slug_.mjs.map +1 -1
- package/dist/astro/routes/api/schema/orphans/index.mjs +34 -33
- package/dist/astro/routes/api/schema/orphans/index.mjs.map +1 -1
- package/dist/astro/routes/api/search/enable.mjs +10 -10
- package/dist/astro/routes/api/search/index.mjs +9 -9
- package/dist/astro/routes/api/search/rebuild.mjs +10 -10
- package/dist/astro/routes/api/search/stats.mjs +6 -6
- package/dist/astro/routes/api/search/suggest.mjs +9 -9
- package/dist/astro/routes/api/sections/_slug_.mjs +9 -9
- package/dist/astro/routes/api/sections/index.mjs +9 -9
- package/dist/astro/routes/api/settings/email.mjs +4 -4
- package/dist/astro/routes/api/settings.mjs +11 -11
- package/dist/astro/routes/api/setup/admin-verify.mjs +11 -11
- package/dist/astro/routes/api/setup/admin.mjs +10 -10
- package/dist/astro/routes/api/setup/dev-bypass.mjs +23 -22
- package/dist/astro/routes/api/setup/dev-bypass.mjs.map +1 -1
- package/dist/astro/routes/api/setup/dev-reset.mjs +2 -2
- package/dist/astro/routes/api/setup/index.mjs +24 -23
- package/dist/astro/routes/api/setup/index.mjs.map +1 -1
- package/dist/astro/routes/api/setup/status.mjs +4 -4
- package/dist/astro/routes/api/snapshot.mjs +6 -6
- package/dist/astro/routes/api/taxonomies/_name_/terms/_slug_/translations.mjs +12 -12
- package/dist/astro/routes/api/taxonomies/_name_/terms/_slug_.mjs +12 -12
- package/dist/astro/routes/api/taxonomies/_name_/terms/index.mjs +12 -12
- package/dist/astro/routes/api/taxonomies/index.mjs +12 -12
- package/dist/astro/routes/api/themes/preview.mjs +5 -5
- package/dist/astro/routes/api/typegen.mjs +5 -5
- package/dist/astro/routes/api/well-known/auth.mjs +1 -1
- package/dist/astro/routes/api/well-known/oauth-authorization-server.mjs +2 -2
- package/dist/astro/routes/api/well-known/oauth-protected-resource.mjs +2 -2
- package/dist/astro/routes/api/widget-areas/_name_/reorder.mjs +7 -7
- package/dist/astro/routes/api/widget-areas/_name_/widgets/_id_.mjs +9 -9
- package/dist/astro/routes/api/widget-areas/_name_/widgets.mjs +9 -9
- package/dist/astro/routes/api/widget-areas/_name_.mjs +5 -5
- package/dist/astro/routes/api/widget-areas/index.mjs +9 -9
- package/dist/astro/routes/api/widget-components.mjs +3 -3
- package/dist/astro/routes/robots.txt.mjs +5 -5
- package/dist/astro/routes/sitemap-_collection_.xml.mjs +8 -8
- package/dist/astro/routes/sitemap.xml.mjs +6 -6
- package/dist/astro/types.d.mts +12 -12
- package/dist/auth/providers/github.d.mts +1 -1
- package/dist/auth/providers/google.d.mts +1 -1
- package/dist/{authorize-C0EYoUeV.mjs → authorize-B__u-iZJ.mjs} +2 -2
- package/dist/{authorize-C0EYoUeV.mjs.map → authorize-B__u-iZJ.mjs.map} +1 -1
- package/dist/{byline-CC0WS4Gu.mjs → byline-C-YajfV7.mjs} +18 -76
- package/dist/byline-C-YajfV7.mjs.map +1 -0
- package/dist/{byline-fields-53i9Et0x.mjs → byline-fields-B-KXkg5R.mjs} +2 -2
- package/dist/{byline-fields-53i9Et0x.mjs.map → byline-fields-B-KXkg5R.mjs.map} +1 -1
- package/dist/{byline-fields-DNp0HNKc.mjs → byline-fields-DaMKzkhO.mjs} +1 -1
- package/dist/{byline-fields-DNp0HNKc.mjs.map → byline-fields-DaMKzkhO.mjs.map} +1 -1
- package/dist/{byline-fields-jy07PZJM.d.mts → byline-fields-RFPkDLRw.d.mts} +21 -1
- package/dist/byline-fields-RFPkDLRw.d.mts.map +1 -0
- package/dist/{bylines-CCO1CYnH.mjs → bylines-BMtJnPnG.mjs} +7 -7
- package/dist/{bylines-CCO1CYnH.mjs.map → bylines-BMtJnPnG.mjs.map} +1 -1
- package/dist/{bylines-DGekMGGm.mjs → bylines-D4KADDAi.mjs} +4 -4
- package/dist/{bylines-DGekMGGm.mjs.map → bylines-D4KADDAi.mjs.map} +1 -1
- package/dist/{cache-pXTpun6s.mjs → cache-BUJe2w6Z.mjs} +2 -2
- package/dist/{cache-pXTpun6s.mjs.map → cache-BUJe2w6Z.mjs.map} +1 -1
- package/dist/{challenge-store-C6E_kWTs.mjs → challenge-store-LhiqMccz.mjs} +1 -1
- package/dist/{challenge-store-C6E_kWTs.mjs.map → challenge-store-LhiqMccz.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 +25 -24
- package/dist/cli/index.mjs.map +1 -1
- package/dist/client/cf-access.d.mts +1 -1
- package/dist/client/index.d.mts +1 -1
- package/dist/client/index.mjs +2 -2
- 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-B6AdcpXw.mjs → comment-reaction-Gv_pgfI3.mjs} +2 -2
- package/dist/{comment-reaction-B6AdcpXw.mjs.map → comment-reaction-Gv_pgfI3.mjs.map} +1 -1
- package/dist/{comments-CtPkT2tp.mjs → comments-CXHuQ6jI.mjs} +3 -3
- package/dist/{comments-CtPkT2tp.mjs.map → comments-CXHuQ6jI.mjs.map} +1 -1
- package/dist/{components-D6ZnrzbB.mjs → components-CYt4uVK9.mjs} +1 -1
- package/dist/{components-D6ZnrzbB.mjs.map → components-CYt4uVK9.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-f1__jpzF.mjs → context-Dvws41_A.mjs} +62 -24
- package/dist/context-Dvws41_A.mjs.map +1 -0
- package/dist/{cron-CQPxBjYs.mjs → cron-C5LVoNmP.mjs} +14 -2
- package/dist/cron-C5LVoNmP.mjs.map +1 -0
- package/dist/{dashboard-BOESNcwE.mjs → dashboard-DsYU8JKS.mjs} +4 -4
- package/dist/{dashboard-BOESNcwE.mjs.map → dashboard-DsYU8JKS.mjs.map} +1 -1
- package/dist/db/index.d.mts +3 -3
- package/dist/db/index.mjs +1 -1
- package/dist/db/libsql.d.mts +1 -1
- package/dist/db/postgres.d.mts +1 -1
- package/dist/db/sqlite.d.mts +1 -1
- package/dist/{db-errors-CrC5w3Jz.mjs → db-errors-UXB1CK42.mjs} +1 -1
- package/dist/{db-errors-CrC5w3Jz.mjs.map → db-errors-UXB1CK42.mjs.map} +1 -1
- package/dist/{default-CpBEPn6a.mjs → default-CeRG-Ot4.mjs} +1 -1
- package/dist/{default-CpBEPn6a.mjs.map → default-CeRG-Ot4.mjs.map} +1 -1
- package/dist/{device-flow-Bn-qiDrw.mjs → device-flow-DENDCQ9F.mjs} +4 -4
- package/dist/{device-flow-Bn-qiDrw.mjs.map → device-flow-DENDCQ9F.mjs.map} +1 -1
- package/dist/{email-console-B9VS6eN4.mjs → email-console-DJP32ucW.mjs} +1 -1
- package/dist/{email-console-B9VS6eN4.mjs.map → email-console-DJP32ucW.mjs.map} +1 -1
- package/dist/{error-BQ1pxs0L.mjs → error-lq_fL-RS.mjs} +2 -2
- package/dist/{error-BQ1pxs0L.mjs.map → error-lq_fL-RS.mjs.map} +1 -1
- package/dist/{escape-BtbJWyaW.mjs → escape-Bjio4ZsM.mjs} +1 -1
- package/dist/{escape-BtbJWyaW.mjs.map → escape-Bjio4ZsM.mjs.map} +1 -1
- package/dist/field-defs-cache-CYYx8xlG.mjs +77 -0
- package/dist/field-defs-cache-CYYx8xlG.mjs.map +1 -0
- package/dist/{fts-manager-DtiWqwNJ.mjs → fts-manager-DW_NR-Fs.mjs} +2 -2
- package/dist/{fts-manager-DtiWqwNJ.mjs.map → fts-manager-DW_NR-Fs.mjs.map} +1 -1
- package/dist/{hash-BowcuPwv.mjs → hash-DrvzIXcz.mjs} +1 -1
- package/dist/{hash-BowcuPwv.mjs.map → hash-DrvzIXcz.mjs.map} +1 -1
- package/dist/{import-DqSGOlmR.mjs → import-Bb1T9WJS.mjs} +3 -3
- package/dist/{import-DqSGOlmR.mjs.map → import-Bb1T9WJS.mjs.map} +1 -1
- package/dist/{index-C2dLNT6S.d.mts → index-BroXT-vD.d.mts} +136 -38
- package/dist/index-BroXT-vD.d.mts.map +1 -0
- package/dist/{index-ZDEwR7qW.d.mts → index-qbL02uhs.d.mts} +3 -3
- package/dist/{index-ZDEwR7qW.d.mts.map → index-qbL02uhs.d.mts.map} +1 -1
- package/dist/index.d.mts +17 -17
- package/dist/index.mjs +55 -54
- package/dist/{load-Dtoo7KcJ.mjs → load-DMFi4n1p.mjs} +2 -2
- package/dist/{load-Dtoo7KcJ.mjs.map → load-DMFi4n1p.mjs.map} +1 -1
- package/dist/{loader-C8Z48Uof.mjs → loader-BR2SgfEc.mjs} +77 -12
- package/dist/loader-BR2SgfEc.mjs.map +1 -0
- package/dist/{manifest-schema-DDSbwkAL.mjs → manifest-schema-BWKnQYQF.mjs} +1 -1
- package/dist/{manifest-schema-DDSbwkAL.mjs.map → manifest-schema-BWKnQYQF.mjs.map} +1 -1
- package/dist/media/image-endpoint.mjs +1 -1
- package/dist/media/index.d.mts +1 -1
- package/dist/media/index.mjs +2 -2
- package/dist/media/local-runtime.d.mts +19 -11
- package/dist/media/local-runtime.d.mts.map +1 -1
- package/dist/media/local-runtime.mjs +11 -9
- package/dist/media/local-runtime.mjs.map +1 -1
- package/dist/{media-Bw0sA6rb.mjs → media-CTjJoJTh.mjs} +2 -2
- package/dist/{media-Bw0sA6rb.mjs.map → media-CTjJoJTh.mjs.map} +1 -1
- package/dist/{media-allowlist-DunzrKFM.mjs → media-allowlist-B77I5_bw.mjs} +2 -2
- package/dist/{media-allowlist-DunzrKFM.mjs.map → media-allowlist-B77I5_bw.mjs.map} +1 -1
- package/dist/{media-url-S22B6aPr.mjs → media-url-O4rm9-SQ.mjs} +1 -1
- package/dist/{media-url-S22B6aPr.mjs.map → media-url-O4rm9-SQ.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-DOs1MQJg.mjs → menus-GvRSpgIA.mjs} +57 -14
- package/dist/menus-GvRSpgIA.mjs.map +1 -0
- package/dist/{mime-DYpsOAny.mjs → mime-BTzvzJ8M.mjs} +1 -1
- package/dist/{mime-DYpsOAny.mjs.map → mime-BTzvzJ8M.mjs.map} +1 -1
- package/dist/{mode-CFh8Dw8G.mjs → mode-BB0F8xTC.mjs} +1 -1
- package/dist/{mode-CFh8Dw8G.mjs.map → mode-BB0F8xTC.mjs.map} +1 -1
- package/dist/{normalize-Uam4_Vkr.mjs → normalize-ClbNIenm.mjs} +1 -1
- package/dist/{normalize-Uam4_Vkr.mjs.map → normalize-ClbNIenm.mjs.map} +1 -1
- package/dist/{oauth-authorization-BN-t83Uy.mjs → oauth-authorization-CsvzIp_F.mjs} +4 -4
- package/dist/{oauth-authorization-BN-t83Uy.mjs.map → oauth-authorization-CsvzIp_F.mjs.map} +1 -1
- package/dist/{oauth-clients-R6I_V0qz.mjs → oauth-clients-C9SYwEbZ.mjs} +1 -1
- package/dist/{oauth-clients-R6I_V0qz.mjs.map → oauth-clients-C9SYwEbZ.mjs.map} +1 -1
- package/dist/{oauth-state-store-Csoc6kkR.mjs → oauth-state-store---zrApfB.mjs} +1 -1
- package/dist/{oauth-state-store-Csoc6kkR.mjs.map → oauth-state-store---zrApfB.mjs.map} +1 -1
- package/dist/{oauth-user-lookup-d7VYjTpx.mjs → oauth-user-lookup-SHsWRlG9.mjs} +1 -1
- package/dist/{oauth-user-lookup-d7VYjTpx.mjs.map → oauth-user-lookup-SHsWRlG9.mjs.map} +1 -1
- package/dist/object-cache/memory.d.mts +1 -1
- package/dist/{options-DFFpvNJU.d.mts → options-CqECG0gM.d.mts} +3 -3
- package/dist/{options-DFFpvNJU.d.mts.map → options-CqECG0gM.d.mts.map} +1 -1
- package/dist/page/index.d.mts +2 -2
- package/dist/{parse-qrHlnzTy.mjs → parse-DHI873qU.mjs} +2 -2
- package/dist/{parse-qrHlnzTy.mjs.map → parse-DHI873qU.mjs.map} +1 -1
- package/dist/{passkey-config-BJTbcnI5.mjs → passkey-config-C0YfSBko.mjs} +1 -1
- package/dist/{passkey-config-BJTbcnI5.mjs.map → passkey-config-C0YfSBko.mjs.map} +1 -1
- package/dist/{placeholder-CIDCpyEY.mjs → placeholder-B0s2mWu5.mjs} +1 -1
- package/dist/{placeholder-CIDCpyEY.mjs.map → placeholder-B0s2mWu5.mjs.map} +1 -1
- package/dist/{placeholder-CirPauNG.d.mts → placeholder-QoI4gEzP.d.mts} +1 -1
- package/dist/{placeholder-CirPauNG.d.mts.map → placeholder-QoI4gEzP.d.mts.map} +1 -1
- package/dist/plugin-types.d.mts +1 -1
- package/dist/plugin-utils.d.mts +9 -9
- package/dist/plugins/adapt-sandbox-entry.d.mts +9 -9
- package/dist/plugins/adapt-sandbox-entry.mjs +2 -2
- package/dist/{portable-text-BIFhrU6T.mjs → portable-text-BICg8bTk.mjs} +1 -1
- package/dist/{portable-text-BIFhrU6T.mjs.map → portable-text-BICg8bTk.mjs.map} +1 -1
- package/dist/{preview-IDye9SPQ.mjs → preview-DKGCt2_p.mjs} +2 -2
- package/dist/{preview-IDye9SPQ.mjs.map → preview-DKGCt2_p.mjs.map} +1 -1
- package/dist/{public-url-8lFyQ8ZF.mjs → public-url-CTVqgMmg.mjs} +1 -1
- package/dist/{public-url-8lFyQ8ZF.mjs.map → public-url-CTVqgMmg.mjs.map} +1 -1
- package/dist/{query-B1RVFUNM.mjs → query-DZdlS6Cu.mjs} +92 -14
- package/dist/query-DZdlS6Cu.mjs.map +1 -0
- package/dist/{rate-limit-DfNAqIWW.mjs → rate-limit-D1Y6VFVP.mjs} +2 -2
- package/dist/{rate-limit-DfNAqIWW.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/{redirect-B4wuX2A5.mjs → redirect-CS-PHtNh.mjs} +1 -1
- package/dist/{redirect-B4wuX2A5.mjs.map → redirect-CS-PHtNh.mjs.map} +1 -1
- package/dist/{redirects-CT_vb3NV.mjs → redirects-DgnypVir.mjs} +4 -4
- package/dist/{redirects-CT_vb3NV.mjs.map → redirects-DgnypVir.mjs.map} +1 -1
- package/dist/{redirects-DUvXgzCX.mjs → redirects-x9eFPeyi.mjs} +4 -2
- package/dist/redirects-x9eFPeyi.mjs.map +1 -0
- package/dist/{registry-CjK96fHD.mjs → registry-CJkCubOJ.mjs} +4 -4
- package/dist/{registry-CjK96fHD.mjs.map → registry-CJkCubOJ.mjs.map} +1 -1
- package/dist/{request-meta-ei3ATilC.mjs → request-meta-CmS1tDFf.mjs} +2 -2
- package/dist/{request-meta-ei3ATilC.mjs.map → request-meta-CmS1tDFf.mjs.map} +1 -1
- package/dist/{resolve-CpbBglV0.mjs → resolve-C7I0qiR0.mjs} +1 -1
- package/dist/{resolve-CpbBglV0.mjs.map → resolve-C7I0qiR0.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-jdXtFEd3.d.mts → runner-CEtq-6Sm.d.mts} +2 -2
- package/dist/{runner-jdXtFEd3.d.mts.map → runner-CEtq-6Sm.d.mts.map} +1 -1
- package/dist/runtime.d.mts +10 -10
- package/dist/runtime.mjs +2 -2
- package/dist/{schema-5z2Jfnbm.mjs → schema-DMjXuvNU.mjs} +4 -4
- package/dist/{schema-5z2Jfnbm.mjs.map → schema-DMjXuvNU.mjs.map} +1 -1
- package/dist/{search-D9FkoM-k.mjs → search-D1wKk3lc.mjs} +4 -4
- package/dist/{search-D9FkoM-k.mjs.map → search-D1wKk3lc.mjs.map} +1 -1
- package/dist/{secrets-BUE5UQys.mjs → secrets-BSf9pRRY.mjs} +2 -2
- package/dist/{secrets-BUE5UQys.mjs.map → secrets-BSf9pRRY.mjs.map} +1 -1
- package/dist/{sections-DWYZo6HK.mjs → sections-CCMic8dB.mjs} +3 -3
- package/dist/{sections-DWYZo6HK.mjs.map → sections-CCMic8dB.mjs.map} +1 -1
- package/dist/seed/index.d.mts +2 -2
- package/dist/seed/index.mjs +17 -16
- package/dist/seo/index.d.mts +1 -1
- package/dist/seo/index.mjs +1 -1
- package/dist/{seo-Cu47j3mJ.mjs → seo-3QrZ1EPT.mjs} +2 -2
- package/dist/{seo-Cu47j3mJ.mjs.map → seo-3QrZ1EPT.mjs.map} +1 -1
- package/dist/{seo-DRnqnstF.mjs → seo-DCEF-AVr.mjs} +1 -1
- package/dist/{seo-DRnqnstF.mjs.map → seo-DCEF-AVr.mjs.map} +1 -1
- package/dist/{service-DTmtqCnw.mjs → service-CQHK_10l.mjs} +3 -3
- package/dist/{service-DTmtqCnw.mjs.map → service-CQHK_10l.mjs.map} +1 -1
- package/dist/{session-user-DmtPMNa1.mjs → session-user-B8aLtKAH.mjs} +1 -1
- package/dist/{session-user-DmtPMNa1.mjs.map → session-user-B8aLtKAH.mjs.map} +1 -1
- package/dist/{settings-DUrVDN0c.mjs → settings-C3Yi5Co3.mjs} +3 -3
- package/dist/{settings-DUrVDN0c.mjs.map → settings-C3Yi5Co3.mjs.map} +1 -1
- package/dist/{settings-yaxu9mU-.mjs → settings-D9rvaLuY.mjs} +4 -4
- package/dist/{settings-yaxu9mU-.mjs.map → settings-D9rvaLuY.mjs.map} +1 -1
- package/dist/{setup-complete-BWFHzgvZ.mjs → setup-complete-gEiySUc-.mjs} +1 -1
- package/dist/{setup-complete-BWFHzgvZ.mjs.map → setup-complete-gEiySUc-.mjs.map} +1 -1
- package/dist/{setup-nonce-DFWG-J5c.mjs → setup-nonce-DzS50zme.mjs} +1 -1
- package/dist/{setup-nonce-DFWG-J5c.mjs.map → setup-nonce-DzS50zme.mjs.map} +1 -1
- package/dist/{single-flight-cache-B5p5cNOL.mjs → single-flight-cache-Cdfkic3t.mjs} +1 -1
- package/dist/{single-flight-cache-B5p5cNOL.mjs.map → single-flight-cache-Cdfkic3t.mjs.map} +1 -1
- package/dist/{site-url-BOTPgmeM.mjs → site-url-BLebyON8.mjs} +1 -1
- package/dist/{site-url-BOTPgmeM.mjs.map → site-url-BLebyON8.mjs.map} +1 -1
- package/dist/{ssrf-B0VeRLrp.mjs → ssrf-BRKb343l.mjs} +1 -1
- package/dist/{ssrf-B0VeRLrp.mjs.map → ssrf-BRKb343l.mjs.map} +1 -1
- package/dist/{status-CB2basWJ.mjs → status-vUK0SA17.mjs} +1 -1
- package/dist/{status-CB2basWJ.mjs.map → status-vUK0SA17.mjs.map} +1 -1
- package/dist/storage/local.d.mts +1 -1
- package/dist/storage/local.mjs +1 -1
- package/dist/storage/s3.d.mts +1 -1
- package/dist/storage/s3.mjs +1 -1
- package/dist/{taxonomies-Be9B1jEj.mjs → taxonomies-CurpLtNC.mjs} +52 -24
- package/dist/taxonomies-CurpLtNC.mjs.map +1 -0
- package/dist/{taxonomies-CJmkEpdS.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/{tokens-BvrJvIB6.mjs → tokens-LeuXF9gG.mjs} +1 -1
- package/dist/{tokens-BvrJvIB6.mjs.map → tokens-LeuXF9gG.mjs.map} +1 -1
- package/dist/{transport-k7YjfmEn.d.mts → transport-BZ-03aFT.d.mts} +1 -1
- package/dist/{transport-k7YjfmEn.d.mts.map → transport-BZ-03aFT.d.mts.map} +1 -1
- package/dist/{transport-B4rXnSTf.mjs → transport-_2nBz7e9.mjs} +1 -1
- package/dist/{transport-B4rXnSTf.mjs.map → transport-_2nBz7e9.mjs.map} +1 -1
- package/dist/{trusted-proxy-DY1_UqHr.mjs → trusted-proxy-DZY5WCn2.mjs} +1 -1
- package/dist/{trusted-proxy-DY1_UqHr.mjs.map → trusted-proxy-DZY5WCn2.mjs.map} +1 -1
- package/dist/{types-Czg1S3gB.d.mts → types-B-gIxFCE.d.mts} +1 -1
- package/dist/{types-Czg1S3gB.d.mts.map → types-B-gIxFCE.d.mts.map} +1 -1
- package/dist/{types-DXLVzV2w.d.mts → types-BG8_XTLj.d.mts} +1 -1
- package/dist/{types-DXLVzV2w.d.mts.map → types-BG8_XTLj.d.mts.map} +1 -1
- package/dist/{types-CWGYDYqF.d.mts → types-BWh2MjmA.d.mts} +15 -2
- package/dist/types-BWh2MjmA.d.mts.map +1 -0
- package/dist/{types-CgvhU-hF.d.mts → types-BWqGVhFn.d.mts} +1 -1
- package/dist/{types-CgvhU-hF.d.mts.map → types-BWqGVhFn.d.mts.map} +1 -1
- package/dist/{types-DYF2_Vf4.mjs → types-CQAugunJ.mjs} +1 -1
- package/dist/{types-DYF2_Vf4.mjs.map → types-CQAugunJ.mjs.map} +1 -1
- package/dist/{types-DPCpkzvS.d.mts → types-CTLJYMhN.d.mts} +1 -1
- package/dist/{types-DPCpkzvS.d.mts.map → types-CTLJYMhN.d.mts.map} +1 -1
- package/dist/{types-CmivgZbp.d.mts → types-CUsXGRVj.d.mts} +1 -1
- package/dist/{types-CmivgZbp.d.mts.map → types-CUsXGRVj.d.mts.map} +1 -1
- package/dist/{types-DXOIbece.mjs → types-CmI1OyQg.mjs} +2 -2
- package/dist/types-CmI1OyQg.mjs.map +1 -0
- package/dist/{types-CKNXt63n.d.mts → types-DrYMm9s5.d.mts} +1 -1
- package/dist/{types-CKNXt63n.d.mts.map → types-DrYMm9s5.d.mts.map} +1 -1
- package/dist/{types-CIKX2HO5.d.mts → types-TTx8uP7V.d.mts} +2 -2
- package/dist/{types-CIKX2HO5.d.mts.map → types-TTx8uP7V.d.mts.map} +1 -1
- package/dist/{types-DCNNfeCv.d.mts → types-fS7-VTdR.d.mts} +1 -1
- package/dist/{types-DCNNfeCv.d.mts.map → types-fS7-VTdR.d.mts.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/{utils-LbHcSRTj.mjs → utils-B7A57fm9.mjs} +1 -1
- package/dist/{utils-LbHcSRTj.mjs.map → utils-B7A57fm9.mjs.map} +1 -1
- package/dist/{validate-Bwl64sxv.mjs → validate-BzXHWnkV.mjs} +2 -2
- package/dist/{validate-Bwl64sxv.mjs.map → validate-BzXHWnkV.mjs.map} +1 -1
- package/dist/{validate-CE2M0nvx.d.mts → validate-DOFrIb-c.d.mts} +5 -5
- package/dist/{validate-CE2M0nvx.d.mts.map → validate-DOFrIb-c.d.mts.map} +1 -1
- package/dist/{validation-C_yOvFaO.mjs → validation-CY1gk4Ar.mjs} +6 -6
- package/dist/{validation-C_yOvFaO.mjs.map → validation-CY1gk4Ar.mjs.map} +1 -1
- package/dist/version-B5nHxI5Y.mjs +7 -0
- package/dist/{version-RnYXYjzD.mjs.map → version-B5nHxI5Y.mjs.map} +1 -1
- package/dist/{widgets-8GONuRHo.mjs → widgets-Dri0spI4.mjs} +3 -3
- package/dist/{widgets-8GONuRHo.mjs.map → widgets-Dri0spI4.mjs.map} +1 -1
- package/dist/{zod-generator-D481JjzD.mjs → zod-generator-xEHODMJf.mjs} +51 -15
- package/dist/zod-generator-xEHODMJf.mjs.map +1 -0
- package/package.json +8 -7
- package/src/api/handlers/taxonomies.ts +62 -32
- package/src/api/schemas/bylines.ts +8 -0
- 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/virtual-modules.ts +8 -0
- package/src/astro/integration/vite-config.ts +56 -9
- package/src/astro/middleware/request-context.ts +6 -1
- package/src/astro/middleware/scoped-db.ts +131 -0
- package/src/astro/middleware/stream-end-metrics.ts +4 -8
- package/src/astro/middleware.ts +103 -31
- package/src/astro/routes/admin.astro +5 -1
- package/src/astro/routes/api/schema/index.ts +9 -3
- package/src/cli/commands/export-seed.ts +15 -11
- package/src/components/Block.astro +71 -0
- package/src/components/EmDashMedia.astro +1 -2
- package/src/components/Image.astro +36 -2
- package/src/components/InlinePortableTextEditor.tsx +10 -2
- package/src/components/index.ts +5 -0
- package/src/components/portable-text-text-align.ts +38 -0
- package/src/content/converters/portable-text-to-prosemirror.ts +5 -1
- package/src/content/converters/prosemirror-to-portable-text.ts +8 -0
- package/src/content/converters/types.ts +1 -0
- package/src/database/migrations/045_taxonomy_parent_group.ts +68 -0
- package/src/database/migrations/runner.ts +2 -0
- package/src/database/repositories/byline.ts +14 -0
- package/src/database/repositories/taxonomy.ts +50 -7
- package/src/database/repositories/types.ts +13 -0
- package/src/emdash-runtime.ts +226 -71
- package/src/loader.ts +161 -13
- package/src/media/local-runtime.ts +18 -5
- package/src/plugins/context.ts +94 -22
- package/src/plugins/cron.ts +18 -2
- package/src/plugins/routes.ts +40 -1
- package/src/query.ts +201 -19
- package/src/schema/zod-generator.ts +53 -8
- package/src/taxonomies/index.ts +46 -8
- package/src/ui.ts +5 -0
- package/src/virtual-modules.d.ts +13 -0
- package/dist/byline-CC0WS4Gu.mjs.map +0 -1
- package/dist/byline-fields-jy07PZJM.d.mts.map +0 -1
- package/dist/context-f1__jpzF.mjs.map +0 -1
- package/dist/cron-CQPxBjYs.mjs.map +0 -1
- package/dist/index-C2dLNT6S.d.mts.map +0 -1
- package/dist/loader-C8Z48Uof.mjs.map +0 -1
- package/dist/menus-DOs1MQJg.mjs.map +0 -1
- package/dist/query-B1RVFUNM.mjs.map +0 -1
- package/dist/redirects-DUvXgzCX.mjs.map +0 -1
- package/dist/runner-DYYnW530.mjs.map +0 -1
- package/dist/taxonomies-Be9B1jEj.mjs.map +0 -1
- package/dist/taxonomies-CJmkEpdS.mjs.map +0 -1
- package/dist/taxonomy-B2HQuVf5.mjs.map +0 -1
- package/dist/types-CWGYDYqF.d.mts.map +0 -1
- package/dist/types-DXOIbece.mjs.map +0 -1
- package/dist/version-RnYXYjzD.mjs +0 -7
- package/dist/zod-generator-D481JjzD.mjs.map +0 -1
- /package/dist/{api-tokens-BVH-H8Z9.mjs → api-tokens-B4BQybOp.mjs} +0 -0
- /package/dist/{ssrf-Cz1e2QPn.mjs → ssrf-CcX9zvMK.mjs} +0 -0
- /package/dist/{types-Bfr2Pj6z.mjs → types-BvbeGEtr.mjs} +0 -0
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import "../../../base64-CmWvODNW.mjs";
|
|
2
|
-
import "../../../types-
|
|
3
|
-
import { t as apiError } from "../../../error-
|
|
4
|
-
import { Dn as contentBylineInputSchema, Tn as bylineUpdateBody, un as contentSeoInput, yn as bylineCreateBody } from "../../../redirects-
|
|
5
|
-
import "../../../byline-fields-
|
|
6
|
-
import "../../../status-
|
|
2
|
+
import "../../../types-CmI1OyQg.mjs";
|
|
3
|
+
import { t as apiError } from "../../../error-lq_fL-RS.mjs";
|
|
4
|
+
import { Dn as contentBylineInputSchema, Tn as bylineUpdateBody, un as contentSeoInput, yn as bylineCreateBody } from "../../../redirects-x9eFPeyi.mjs";
|
|
5
|
+
import "../../../byline-fields-B-KXkg5R.mjs";
|
|
6
|
+
import "../../../status-vUK0SA17.mjs";
|
|
7
7
|
import "../../../api/schemas/index.mjs";
|
|
8
|
-
import { i as hasScope } from "../../../api-tokens-
|
|
9
|
-
import { n as convertDataForWrite, t as convertDataForRead } from "../../../portable-text-
|
|
8
|
+
import { i as hasScope } from "../../../api-tokens-B4BQybOp.mjs";
|
|
9
|
+
import { n as convertDataForWrite, t as convertDataForRead } from "../../../portable-text-BICg8bTk.mjs";
|
|
10
10
|
import { z } from "zod";
|
|
11
11
|
import { Role, canActOnOwn, hasPermission } from "@emdash-cms/auth";
|
|
12
12
|
import { WebStandardStreamableHTTPServerTransport } from "@modelcontextprotocol/sdk/server/webStandardStreamableHttp.js";
|
|
@@ -157,7 +157,7 @@ function getEmDash(extra) {
|
|
|
157
157
|
}
|
|
158
158
|
async function getCollectionFields(ec, collection) {
|
|
159
159
|
try {
|
|
160
|
-
const { SchemaRegistry } = await import("../../../schema-
|
|
160
|
+
const { SchemaRegistry } = await import("../../../schema-DMjXuvNU.mjs").then((n) => n.t);
|
|
161
161
|
const col = await new SchemaRegistry(ec.db).getCollectionWithFields(collection);
|
|
162
162
|
return col ? col.fields : null;
|
|
163
163
|
} catch {
|
|
@@ -186,7 +186,7 @@ async function applyReadMarkdown(ec, collection, items) {
|
|
|
186
186
|
for (const item of items) if (item.data && typeof item.data === "object") item.data = convertDataForRead(item.data, fields, false);
|
|
187
187
|
}
|
|
188
188
|
async function invalidateBylines() {
|
|
189
|
-
const { invalidateBylineCache } = await import("../../../bylines-
|
|
189
|
+
const { invalidateBylineCache } = await import("../../../bylines-BMtJnPnG.mjs").then((n) => n.t);
|
|
190
190
|
invalidateBylineCache();
|
|
191
191
|
}
|
|
192
192
|
/**
|
|
@@ -701,7 +701,7 @@ function createMcpServer() {
|
|
|
701
701
|
requireScope(extra, "content:read");
|
|
702
702
|
const ec = getEmDash(extra);
|
|
703
703
|
try {
|
|
704
|
-
const { BylineRepository } = await import("../../../byline-
|
|
704
|
+
const { BylineRepository } = await import("../../../byline-C-YajfV7.mjs").then((n) => n.n);
|
|
705
705
|
return jsonResult(await new BylineRepository(ec.db).findMany({
|
|
706
706
|
search: args.search,
|
|
707
707
|
isGuest: args.isGuest,
|
|
@@ -723,7 +723,7 @@ function createMcpServer() {
|
|
|
723
723
|
requireScope(extra, "content:read");
|
|
724
724
|
const ec = getEmDash(extra);
|
|
725
725
|
try {
|
|
726
|
-
const { BylineRepository } = await import("../../../byline-
|
|
726
|
+
const { BylineRepository } = await import("../../../byline-C-YajfV7.mjs").then((n) => n.n);
|
|
727
727
|
const byline = await new BylineRepository(ec.db).findById(args.id);
|
|
728
728
|
if (!byline) return respondError("NOT_FOUND", `Byline '${args.id}' not found`);
|
|
729
729
|
return jsonResult(byline);
|
|
@@ -741,7 +741,7 @@ function createMcpServer() {
|
|
|
741
741
|
requireRole(extra, Role.EDITOR);
|
|
742
742
|
const ec = getEmDash(extra);
|
|
743
743
|
try {
|
|
744
|
-
const { handleBylineCreate } = await import("../../../bylines-
|
|
744
|
+
const { handleBylineCreate } = await import("../../../bylines-D4KADDAi.mjs").then((n) => n.t);
|
|
745
745
|
const result = await handleBylineCreate(ec.db, args);
|
|
746
746
|
if (result.success) await invalidateBylines();
|
|
747
747
|
return unwrap(result);
|
|
@@ -761,7 +761,7 @@ function createMcpServer() {
|
|
|
761
761
|
requireRole(extra, Role.EDITOR);
|
|
762
762
|
const ec = getEmDash(extra);
|
|
763
763
|
try {
|
|
764
|
-
const { handleBylineUpdate } = await import("../../../bylines-
|
|
764
|
+
const { handleBylineUpdate } = await import("../../../bylines-D4KADDAi.mjs").then((n) => n.t);
|
|
765
765
|
const { id, ...input } = args;
|
|
766
766
|
const result = await handleBylineUpdate(ec.db, id, input);
|
|
767
767
|
if (result.success) await invalidateBylines();
|
|
@@ -780,7 +780,7 @@ function createMcpServer() {
|
|
|
780
780
|
requireRole(extra, Role.EDITOR);
|
|
781
781
|
const ec = getEmDash(extra);
|
|
782
782
|
try {
|
|
783
|
-
const { BylineRepository } = await import("../../../byline-
|
|
783
|
+
const { BylineRepository } = await import("../../../byline-C-YajfV7.mjs").then((n) => n.n);
|
|
784
784
|
if (!await new BylineRepository(ec.db).delete(args.id)) return respondError("NOT_FOUND", `Byline '${args.id}' not found`);
|
|
785
785
|
await invalidateBylines();
|
|
786
786
|
return jsonResult({ deleted: args.id });
|
|
@@ -797,7 +797,7 @@ function createMcpServer() {
|
|
|
797
797
|
requireScope(extra, "content:read");
|
|
798
798
|
const ec = getEmDash(extra);
|
|
799
799
|
try {
|
|
800
|
-
const { handleBylineTranslations } = await import("../../../bylines-
|
|
800
|
+
const { handleBylineTranslations } = await import("../../../bylines-D4KADDAi.mjs").then((n) => n.t);
|
|
801
801
|
return unwrap(await handleBylineTranslations(ec.db, args.id));
|
|
802
802
|
} catch (error) {
|
|
803
803
|
return respondHandlerError(error, "BYLINE_TRANSLATIONS_ERROR");
|
|
@@ -813,7 +813,7 @@ function createMcpServer() {
|
|
|
813
813
|
requireRole(extra, Role.EDITOR);
|
|
814
814
|
const ec = getEmDash(extra);
|
|
815
815
|
try {
|
|
816
|
-
const { SchemaRegistry } = await import("../../../schema-
|
|
816
|
+
const { SchemaRegistry } = await import("../../../schema-DMjXuvNU.mjs").then((n) => n.t);
|
|
817
817
|
return jsonResult({ items: await new SchemaRegistry(ec.db).listCollections() });
|
|
818
818
|
} catch (error) {
|
|
819
819
|
return respondHandlerError(error, "SCHEMA_LIST_ERROR");
|
|
@@ -829,7 +829,7 @@ function createMcpServer() {
|
|
|
829
829
|
requireRole(extra, Role.EDITOR);
|
|
830
830
|
const ec = getEmDash(extra);
|
|
831
831
|
try {
|
|
832
|
-
const { SchemaRegistry } = await import("../../../schema-
|
|
832
|
+
const { SchemaRegistry } = await import("../../../schema-DMjXuvNU.mjs").then((n) => n.t);
|
|
833
833
|
const collection = await new SchemaRegistry(ec.db).getCollectionWithFields(args.slug);
|
|
834
834
|
if (!collection) return respondError("NOT_FOUND", `Collection '${args.slug}' not found`);
|
|
835
835
|
return jsonResult(collection);
|
|
@@ -859,7 +859,7 @@ function createMcpServer() {
|
|
|
859
859
|
requireRole(extra, Role.ADMIN);
|
|
860
860
|
const ec = getEmDash(extra);
|
|
861
861
|
try {
|
|
862
|
-
const { SchemaRegistry } = await import("../../../schema-
|
|
862
|
+
const { SchemaRegistry } = await import("../../../schema-DMjXuvNU.mjs").then((n) => n.t);
|
|
863
863
|
const collection = await new SchemaRegistry(ec.db).createCollection({
|
|
864
864
|
slug: args.slug,
|
|
865
865
|
label: args.label,
|
|
@@ -887,7 +887,7 @@ function createMcpServer() {
|
|
|
887
887
|
requireRole(extra, Role.ADMIN);
|
|
888
888
|
const ec = getEmDash(extra);
|
|
889
889
|
try {
|
|
890
|
-
const { SchemaRegistry } = await import("../../../schema-
|
|
890
|
+
const { SchemaRegistry } = await import("../../../schema-DMjXuvNU.mjs").then((n) => n.t);
|
|
891
891
|
await new SchemaRegistry(ec.db).deleteCollection(args.slug, { force: args.force });
|
|
892
892
|
ec.invalidateUrlPatternCache();
|
|
893
893
|
return jsonResult({ deleted: args.slug });
|
|
@@ -941,7 +941,7 @@ function createMcpServer() {
|
|
|
941
941
|
requireRole(extra, Role.ADMIN);
|
|
942
942
|
const ec = getEmDash(extra);
|
|
943
943
|
try {
|
|
944
|
-
const { SchemaRegistry } = await import("../../../schema-
|
|
944
|
+
const { SchemaRegistry } = await import("../../../schema-DMjXuvNU.mjs").then((n) => n.t);
|
|
945
945
|
return jsonResult(await new SchemaRegistry(ec.db).createField(args.collection, {
|
|
946
946
|
slug: args.slug,
|
|
947
947
|
label: args.label,
|
|
@@ -971,7 +971,7 @@ function createMcpServer() {
|
|
|
971
971
|
requireRole(extra, Role.ADMIN);
|
|
972
972
|
const ec = getEmDash(extra);
|
|
973
973
|
try {
|
|
974
|
-
const { SchemaRegistry } = await import("../../../schema-
|
|
974
|
+
const { SchemaRegistry } = await import("../../../schema-DMjXuvNU.mjs").then((n) => n.t);
|
|
975
975
|
await new SchemaRegistry(ec.db).deleteField(args.collection, args.fieldSlug);
|
|
976
976
|
return jsonResult({
|
|
977
977
|
deleted: args.fieldSlug,
|
|
@@ -1092,7 +1092,7 @@ function createMcpServer() {
|
|
|
1092
1092
|
requireScope(extra, "content:read");
|
|
1093
1093
|
const ec = getEmDash(extra);
|
|
1094
1094
|
try {
|
|
1095
|
-
const { searchWithDb } = await import("../../../search-
|
|
1095
|
+
const { searchWithDb } = await import("../../../search-D1wKk3lc.mjs").then((n) => n.t);
|
|
1096
1096
|
return jsonResult(await searchWithDb(ec.db, args.query, {
|
|
1097
1097
|
collections: args.collections,
|
|
1098
1098
|
locale: args.locale,
|
|
@@ -1111,7 +1111,7 @@ function createMcpServer() {
|
|
|
1111
1111
|
requireScope(extra, "content:read");
|
|
1112
1112
|
const ec = getEmDash(extra);
|
|
1113
1113
|
try {
|
|
1114
|
-
const { handleTaxonomyList } = await import("../../../taxonomies-
|
|
1114
|
+
const { handleTaxonomyList } = await import("../../../taxonomies-DhLaNJji.mjs").then((n) => n.l);
|
|
1115
1115
|
return unwrap(await handleTaxonomyList(ec.db, { locale: args.locale }));
|
|
1116
1116
|
} catch (error) {
|
|
1117
1117
|
return respondHandlerError(error, "TAXONOMY_LIST_ERROR");
|
|
@@ -1131,12 +1131,12 @@ function createMcpServer() {
|
|
|
1131
1131
|
requireScope(extra, "content:read");
|
|
1132
1132
|
const ec = getEmDash(extra);
|
|
1133
1133
|
try {
|
|
1134
|
-
const { handleTaxonomyList } = await import("../../../taxonomies-
|
|
1134
|
+
const { handleTaxonomyList } = await import("../../../taxonomies-DhLaNJji.mjs").then((n) => n.l);
|
|
1135
1135
|
const listResult = await handleTaxonomyList(ec.db, { locale: args.locale });
|
|
1136
1136
|
if (!listResult.success) return unwrap(listResult);
|
|
1137
1137
|
if (!listResult.data.taxonomies.find((t) => t.name === args.taxonomy)) return respondError("NOT_FOUND", `Taxonomy '${args.taxonomy}' not found`);
|
|
1138
|
-
const { TaxonomyRepository } = await import("../../../taxonomy-
|
|
1139
|
-
const { decodeCursor, encodeCursor, InvalidCursorError } = await import("../../../types-
|
|
1138
|
+
const { TaxonomyRepository } = await import("../../../taxonomy-BBUlGug5.mjs").then((n) => n.n);
|
|
1139
|
+
const { decodeCursor, encodeCursor, InvalidCursorError } = await import("../../../types-CmI1OyQg.mjs").then((n) => n.o);
|
|
1140
1140
|
const repo = new TaxonomyRepository(ec.db);
|
|
1141
1141
|
const limit = Math.min(args.limit ?? 50, 100);
|
|
1142
1142
|
const terms = await repo.findByName(args.taxonomy, { locale: args.locale });
|
|
@@ -1190,7 +1190,7 @@ function createMcpServer() {
|
|
|
1190
1190
|
requireRole(extra, Role.EDITOR);
|
|
1191
1191
|
const ec = getEmDash(extra);
|
|
1192
1192
|
try {
|
|
1193
|
-
const { handleTermCreate } = await import("../../../taxonomies-
|
|
1193
|
+
const { handleTermCreate } = await import("../../../taxonomies-DhLaNJji.mjs").then((n) => n.l);
|
|
1194
1194
|
return unwrap(await handleTermCreate(ec.db, args.taxonomy, {
|
|
1195
1195
|
slug: args.slug,
|
|
1196
1196
|
label: args.label,
|
|
@@ -1219,7 +1219,7 @@ function createMcpServer() {
|
|
|
1219
1219
|
requireRole(extra, Role.EDITOR);
|
|
1220
1220
|
const ec = getEmDash(extra);
|
|
1221
1221
|
try {
|
|
1222
|
-
const { handleTermUpdate } = await import("../../../taxonomies-
|
|
1222
|
+
const { handleTermUpdate } = await import("../../../taxonomies-DhLaNJji.mjs").then((n) => n.l);
|
|
1223
1223
|
return unwrap(await handleTermUpdate(ec.db, args.taxonomy, args.termSlug, {
|
|
1224
1224
|
slug: args.slug,
|
|
1225
1225
|
label: args.label,
|
|
@@ -1243,7 +1243,7 @@ function createMcpServer() {
|
|
|
1243
1243
|
requireRole(extra, Role.EDITOR);
|
|
1244
1244
|
const ec = getEmDash(extra);
|
|
1245
1245
|
try {
|
|
1246
|
-
const { handleTermDelete } = await import("../../../taxonomies-
|
|
1246
|
+
const { handleTermDelete } = await import("../../../taxonomies-DhLaNJji.mjs").then((n) => n.l);
|
|
1247
1247
|
return unwrap(await handleTermDelete(ec.db, args.taxonomy, args.termSlug));
|
|
1248
1248
|
} catch (error) {
|
|
1249
1249
|
return respondHandlerError(error, "TAXONOMY_TERM_DELETE_ERROR");
|
|
@@ -1258,7 +1258,7 @@ function createMcpServer() {
|
|
|
1258
1258
|
requireScope(extra, "content:read");
|
|
1259
1259
|
const ec = getEmDash(extra);
|
|
1260
1260
|
try {
|
|
1261
|
-
const { handleTermTranslations } = await import("../../../taxonomies-
|
|
1261
|
+
const { handleTermTranslations } = await import("../../../taxonomies-DhLaNJji.mjs").then((n) => n.l);
|
|
1262
1262
|
return unwrap(await handleTermTranslations(ec.db, args.id));
|
|
1263
1263
|
} catch (error) {
|
|
1264
1264
|
return respondHandlerError(error, "TERM_TRANSLATIONS_ERROR");
|
|
@@ -1273,7 +1273,7 @@ function createMcpServer() {
|
|
|
1273
1273
|
requireScope(extra, "content:read");
|
|
1274
1274
|
const ec = getEmDash(extra);
|
|
1275
1275
|
try {
|
|
1276
|
-
const { handleMenuList } = await import("../../../menus-
|
|
1276
|
+
const { handleMenuList } = await import("../../../menus-8O6xNcYW.mjs").then((n) => n.d);
|
|
1277
1277
|
return unwrap(await handleMenuList(ec.db, { locale: args.locale }));
|
|
1278
1278
|
} catch (error) {
|
|
1279
1279
|
return respondHandlerError(error, "MENU_LIST_ERROR");
|
|
@@ -1291,7 +1291,7 @@ function createMcpServer() {
|
|
|
1291
1291
|
requireScope(extra, "content:read");
|
|
1292
1292
|
const ec = getEmDash(extra);
|
|
1293
1293
|
try {
|
|
1294
|
-
const { handleMenuGet } = await import("../../../menus-
|
|
1294
|
+
const { handleMenuGet } = await import("../../../menus-8O6xNcYW.mjs").then((n) => n.d);
|
|
1295
1295
|
return unwrap(await handleMenuGet(ec.db, args.name, { locale: args.locale }));
|
|
1296
1296
|
} catch (error) {
|
|
1297
1297
|
return respondHandlerError(error, "MENU_GET_ERROR");
|
|
@@ -1306,7 +1306,7 @@ function createMcpServer() {
|
|
|
1306
1306
|
requireScope(extra, "content:read");
|
|
1307
1307
|
const ec = getEmDash(extra);
|
|
1308
1308
|
try {
|
|
1309
|
-
const { handleMenuTranslations } = await import("../../../menus-
|
|
1309
|
+
const { handleMenuTranslations } = await import("../../../menus-8O6xNcYW.mjs").then((n) => n.d);
|
|
1310
1310
|
return unwrap(await handleMenuTranslations(ec.db, args.id));
|
|
1311
1311
|
} catch (error) {
|
|
1312
1312
|
return respondHandlerError(error, "MENU_TRANSLATIONS_ERROR");
|
|
@@ -1326,7 +1326,7 @@ function createMcpServer() {
|
|
|
1326
1326
|
requireRole(extra, Role.EDITOR);
|
|
1327
1327
|
const ec = getEmDash(extra);
|
|
1328
1328
|
try {
|
|
1329
|
-
const { handleMenuCreate } = await import("../../../menus-
|
|
1329
|
+
const { handleMenuCreate } = await import("../../../menus-8O6xNcYW.mjs").then((n) => n.d);
|
|
1330
1330
|
return unwrap(await handleMenuCreate(ec.db, {
|
|
1331
1331
|
name: args.name,
|
|
1332
1332
|
label: args.label,
|
|
@@ -1350,7 +1350,7 @@ function createMcpServer() {
|
|
|
1350
1350
|
requireRole(extra, Role.EDITOR);
|
|
1351
1351
|
const ec = getEmDash(extra);
|
|
1352
1352
|
try {
|
|
1353
|
-
const { handleMenuUpdate } = await import("../../../menus-
|
|
1353
|
+
const { handleMenuUpdate } = await import("../../../menus-8O6xNcYW.mjs").then((n) => n.d);
|
|
1354
1354
|
return unwrap(await handleMenuUpdate(ec.db, args.name, {
|
|
1355
1355
|
label: args.label,
|
|
1356
1356
|
locale: args.locale
|
|
@@ -1372,7 +1372,7 @@ function createMcpServer() {
|
|
|
1372
1372
|
requireRole(extra, Role.EDITOR);
|
|
1373
1373
|
const ec = getEmDash(extra);
|
|
1374
1374
|
try {
|
|
1375
|
-
const { handleMenuDelete } = await import("../../../menus-
|
|
1375
|
+
const { handleMenuDelete } = await import("../../../menus-8O6xNcYW.mjs").then((n) => n.d);
|
|
1376
1376
|
return unwrap(await handleMenuDelete(ec.db, args.name, { locale: args.locale }));
|
|
1377
1377
|
} catch (error) {
|
|
1378
1378
|
return respondHandlerError(error, "MENU_DELETE_ERROR");
|
|
@@ -1407,7 +1407,7 @@ function createMcpServer() {
|
|
|
1407
1407
|
requireRole(extra, Role.EDITOR);
|
|
1408
1408
|
const ec = getEmDash(extra);
|
|
1409
1409
|
try {
|
|
1410
|
-
const { handleMenuSetItems } = await import("../../../menus-
|
|
1410
|
+
const { handleMenuSetItems } = await import("../../../menus-8O6xNcYW.mjs").then((n) => n.d);
|
|
1411
1411
|
return unwrap(await handleMenuSetItems(ec.db, args.name, args.items, { locale: args.locale }));
|
|
1412
1412
|
} catch (error) {
|
|
1413
1413
|
return respondHandlerError(error, "MENU_SET_ITEMS_ERROR");
|
|
@@ -1454,7 +1454,7 @@ function createMcpServer() {
|
|
|
1454
1454
|
requireRole(extra, Role.EDITOR);
|
|
1455
1455
|
const ec = getEmDash(extra);
|
|
1456
1456
|
try {
|
|
1457
|
-
const { handleSettingsGet } = await import("../../../settings-
|
|
1457
|
+
const { handleSettingsGet } = await import("../../../settings-C3Yi5Co3.mjs").then((n) => n.r);
|
|
1458
1458
|
return unwrap(await handleSettingsGet(ec.db, ec.storage));
|
|
1459
1459
|
} catch (error) {
|
|
1460
1460
|
return respondHandlerError(error, "SETTINGS_READ_ERROR");
|
|
@@ -1480,7 +1480,7 @@ function createMcpServer() {
|
|
|
1480
1480
|
requireRole(extra, Role.ADMIN);
|
|
1481
1481
|
const ec = getEmDash(extra);
|
|
1482
1482
|
try {
|
|
1483
|
-
const { handleSettingsUpdate } = await import("../../../settings-
|
|
1483
|
+
const { handleSettingsUpdate } = await import("../../../settings-C3Yi5Co3.mjs").then((n) => n.r);
|
|
1484
1484
|
return unwrap(await handleSettingsUpdate(ec.db, ec.storage, args));
|
|
1485
1485
|
} catch (error) {
|
|
1486
1486
|
return respondHandlerError(error, "SETTINGS_UPDATE_ERROR");
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import "../../../../../base64-CmWvODNW.mjs";
|
|
2
|
-
import "../../../../../types-
|
|
3
|
-
import { n as apiSuccess, r as handleError, t as apiError } from "../../../../../error-
|
|
4
|
-
import { r as parseOptionalBody, t as isParseError } from "../../../../../parse-
|
|
5
|
-
import { Ht as mediaConfirmBody } from "../../../../../redirects-
|
|
6
|
-
import "../../../../../byline-fields-
|
|
7
|
-
import "../../../../../status-
|
|
2
|
+
import "../../../../../types-CmI1OyQg.mjs";
|
|
3
|
+
import { n as apiSuccess, r as handleError, t as apiError } from "../../../../../error-lq_fL-RS.mjs";
|
|
4
|
+
import { r as parseOptionalBody, t as isParseError } from "../../../../../parse-DHI873qU.mjs";
|
|
5
|
+
import { Ht as mediaConfirmBody } from "../../../../../redirects-x9eFPeyi.mjs";
|
|
6
|
+
import "../../../../../byline-fields-B-KXkg5R.mjs";
|
|
7
|
+
import "../../../../../status-vUK0SA17.mjs";
|
|
8
8
|
import "../../../../../api/schemas/index.mjs";
|
|
9
|
-
import { n as requirePerm, t as requireOwnerPerm } from "../../../../../authorize-
|
|
9
|
+
import { n as requirePerm, t as requireOwnerPerm } from "../../../../../authorize-B__u-iZJ.mjs";
|
|
10
10
|
import { MediaRepository } from "emdash";
|
|
11
11
|
|
|
12
12
|
//#region src/astro/routes/api/media/[id]/confirm.ts
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import "../../../../base64-CmWvODNW.mjs";
|
|
2
|
-
import "../../../../types-
|
|
3
|
-
import { a as unwrapResult, r as handleError, t as apiError } from "../../../../error-
|
|
4
|
-
import { n as parseBody, t as isParseError } from "../../../../parse-
|
|
5
|
-
import { Xt as mediaUpdateBody } from "../../../../redirects-
|
|
6
|
-
import "../../../../byline-fields-
|
|
7
|
-
import "../../../../status-
|
|
2
|
+
import "../../../../types-CmI1OyQg.mjs";
|
|
3
|
+
import { a as unwrapResult, r as handleError, t as apiError } from "../../../../error-lq_fL-RS.mjs";
|
|
4
|
+
import { n as parseBody, t as isParseError } from "../../../../parse-DHI873qU.mjs";
|
|
5
|
+
import { Xt as mediaUpdateBody } from "../../../../redirects-x9eFPeyi.mjs";
|
|
6
|
+
import "../../../../byline-fields-B-KXkg5R.mjs";
|
|
7
|
+
import "../../../../status-vUK0SA17.mjs";
|
|
8
8
|
import "../../../../api/schemas/index.mjs";
|
|
9
|
-
import { n as requirePerm, t as requireOwnerPerm } from "../../../../authorize-
|
|
9
|
+
import { n as requirePerm, t as requireOwnerPerm } from "../../../../authorize-B__u-iZJ.mjs";
|
|
10
10
|
|
|
11
11
|
//#region src/astro/routes/api/media/[id].ts
|
|
12
12
|
const prerender = false;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "../../../../../base64-CmWvODNW.mjs";
|
|
2
|
-
import "../../../../../types-
|
|
3
|
-
import { r as handleError, t as apiError } from "../../../../../error-
|
|
2
|
+
import "../../../../../types-CmI1OyQg.mjs";
|
|
3
|
+
import { r as handleError, t as apiError } from "../../../../../error-lq_fL-RS.mjs";
|
|
4
4
|
|
|
5
5
|
//#region src/astro/routes/api/media/file/[...key].ts
|
|
6
6
|
const prerender = false;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "../../../../../../base64-CmWvODNW.mjs";
|
|
2
|
-
import "../../../../../../types-
|
|
3
|
-
import { n as apiSuccess, r as handleError, t as apiError } from "../../../../../../error-
|
|
4
|
-
import { n as requirePerm } from "../../../../../../authorize-
|
|
2
|
+
import "../../../../../../types-CmI1OyQg.mjs";
|
|
3
|
+
import { n as apiSuccess, r as handleError, t as apiError } from "../../../../../../error-lq_fL-RS.mjs";
|
|
4
|
+
import { n as requirePerm } from "../../../../../../authorize-B__u-iZJ.mjs";
|
|
5
5
|
|
|
6
6
|
//#region src/astro/routes/api/media/providers/[providerId]/[itemId].ts
|
|
7
7
|
const prerender = false;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "../../../../../../base64-CmWvODNW.mjs";
|
|
2
|
-
import "../../../../../../types-
|
|
3
|
-
import { n as apiSuccess, r as handleError, t as apiError } from "../../../../../../error-
|
|
4
|
-
import { n as requirePerm } from "../../../../../../authorize-
|
|
2
|
+
import "../../../../../../types-CmI1OyQg.mjs";
|
|
3
|
+
import { n as apiSuccess, r as handleError, t as apiError } from "../../../../../../error-lq_fL-RS.mjs";
|
|
4
|
+
import { n as requirePerm } from "../../../../../../authorize-B__u-iZJ.mjs";
|
|
5
5
|
|
|
6
6
|
//#region src/astro/routes/api/media/providers/[providerId]/index.ts
|
|
7
7
|
const prerender = false;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "../../../../../base64-CmWvODNW.mjs";
|
|
2
|
-
import "../../../../../types-
|
|
3
|
-
import { n as apiSuccess, t as apiError } from "../../../../../error-
|
|
4
|
-
import { n as requirePerm } from "../../../../../authorize-
|
|
2
|
+
import "../../../../../types-CmI1OyQg.mjs";
|
|
3
|
+
import { n as apiSuccess, t as apiError } from "../../../../../error-lq_fL-RS.mjs";
|
|
4
|
+
import { n as requirePerm } from "../../../../../authorize-B__u-iZJ.mjs";
|
|
5
5
|
|
|
6
6
|
//#region src/astro/routes/api/media/providers/index.ts
|
|
7
7
|
const prerender = false;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import "../../../../base64-CmWvODNW.mjs";
|
|
2
|
-
import "../../../../types-
|
|
3
|
-
import { n as normalizeMime, t as matchesMimeAllowlist } from "../../../../mime-
|
|
4
|
-
import { n as apiSuccess, r as handleError, t as apiError } from "../../../../error-
|
|
5
|
-
import { n as parseBody, t as isParseError } from "../../../../parse-
|
|
6
|
-
import { Bt as DEFAULT_MAX_UPLOAD_SIZE, Zt as mediaUploadUrlBody } from "../../../../redirects-
|
|
7
|
-
import "../../../../byline-fields-
|
|
8
|
-
import "../../../../status-
|
|
2
|
+
import "../../../../types-CmI1OyQg.mjs";
|
|
3
|
+
import { n as normalizeMime, t as matchesMimeAllowlist } from "../../../../mime-BTzvzJ8M.mjs";
|
|
4
|
+
import { n as apiSuccess, r as handleError, t as apiError } from "../../../../error-lq_fL-RS.mjs";
|
|
5
|
+
import { n as parseBody, t as isParseError } from "../../../../parse-DHI873qU.mjs";
|
|
6
|
+
import { Bt as DEFAULT_MAX_UPLOAD_SIZE, Zt as mediaUploadUrlBody } from "../../../../redirects-x9eFPeyi.mjs";
|
|
7
|
+
import "../../../../byline-fields-B-KXkg5R.mjs";
|
|
8
|
+
import "../../../../status-vUK0SA17.mjs";
|
|
9
9
|
import "../../../../api/schemas/index.mjs";
|
|
10
|
-
import { n as requirePerm } from "../../../../authorize-
|
|
11
|
-
import { n as resolveFieldAllowlist, t as GLOBAL_UPLOAD_ALLOWLIST } from "../../../../media-allowlist-
|
|
10
|
+
import { n as requirePerm } from "../../../../authorize-B__u-iZJ.mjs";
|
|
11
|
+
import { n as resolveFieldAllowlist, t as GLOBAL_UPLOAD_ALLOWLIST } from "../../../../media-allowlist-B77I5_bw.mjs";
|
|
12
12
|
import { ulid } from "ulidx";
|
|
13
13
|
import * as path from "node:path";
|
|
14
14
|
import { MediaRepository } from "emdash";
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import "../../../base64-CmWvODNW.mjs";
|
|
2
|
-
import "../../../types-
|
|
3
|
-
import { t as MediaRepository } from "../../../media-
|
|
4
|
-
import { t as generatePlaceholder } from "../../../placeholder-
|
|
5
|
-
import { n as normalizeMime, t as matchesMimeAllowlist } from "../../../mime-
|
|
6
|
-
import { t as computeContentHash } from "../../../hash-
|
|
7
|
-
import { a as unwrapResult, n as apiSuccess, r as handleError, t as apiError } from "../../../error-
|
|
8
|
-
import { i as parseQuery, t as isParseError } from "../../../parse-
|
|
9
|
-
import { Bt as DEFAULT_MAX_UPLOAD_SIZE, Kt as mediaListQuery, Vt as formatFileSize } from "../../../redirects-
|
|
10
|
-
import "../../../byline-fields-
|
|
11
|
-
import "../../../status-
|
|
2
|
+
import "../../../types-CmI1OyQg.mjs";
|
|
3
|
+
import { t as MediaRepository } from "../../../media-CTjJoJTh.mjs";
|
|
4
|
+
import { t as generatePlaceholder } from "../../../placeholder-B0s2mWu5.mjs";
|
|
5
|
+
import { n as normalizeMime, t as matchesMimeAllowlist } from "../../../mime-BTzvzJ8M.mjs";
|
|
6
|
+
import { t as computeContentHash } from "../../../hash-DrvzIXcz.mjs";
|
|
7
|
+
import { a as unwrapResult, n as apiSuccess, r as handleError, t as apiError } from "../../../error-lq_fL-RS.mjs";
|
|
8
|
+
import { i as parseQuery, t as isParseError } from "../../../parse-DHI873qU.mjs";
|
|
9
|
+
import { Bt as DEFAULT_MAX_UPLOAD_SIZE, Kt as mediaListQuery, Vt as formatFileSize } from "../../../redirects-x9eFPeyi.mjs";
|
|
10
|
+
import "../../../byline-fields-B-KXkg5R.mjs";
|
|
11
|
+
import "../../../status-vUK0SA17.mjs";
|
|
12
12
|
import "../../../api/schemas/index.mjs";
|
|
13
|
-
import { n as requirePerm } from "../../../authorize-
|
|
14
|
-
import { n as resolveFieldAllowlist, t as GLOBAL_UPLOAD_ALLOWLIST } from "../../../media-allowlist-
|
|
13
|
+
import { n as requirePerm } from "../../../authorize-B__u-iZJ.mjs";
|
|
14
|
+
import { n as resolveFieldAllowlist, t as GLOBAL_UPLOAD_ALLOWLIST } from "../../../media-allowlist-B77I5_bw.mjs";
|
|
15
15
|
import { ulid } from "ulidx";
|
|
16
16
|
import * as path from "node:path";
|
|
17
17
|
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import "../../../../../../after-B1IIdH3Y.mjs";
|
|
2
2
|
import "../../../../../../object-cache-SEb2IM4Z.mjs";
|
|
3
3
|
import "../../../../../../base64-CmWvODNW.mjs";
|
|
4
|
-
import "../../../../../../types-
|
|
5
|
-
import { a as handleMenuItemDelete, s as handleMenuItemUpdate } from "../../../../../../menus-
|
|
6
|
-
import { a as unwrapResult, r as handleError, t as apiError } from "../../../../../../error-
|
|
7
|
-
import { i as parseQuery, n as parseBody, t as isParseError } from "../../../../../../parse-
|
|
8
|
-
import { Fn as localeFilterQuery, lt as updateMenuItemBody } from "../../../../../../redirects-
|
|
9
|
-
import "../../../../../../byline-fields-
|
|
10
|
-
import "../../../../../../status-
|
|
4
|
+
import "../../../../../../types-CmI1OyQg.mjs";
|
|
5
|
+
import { a as handleMenuItemDelete, s as handleMenuItemUpdate } from "../../../../../../menus-8O6xNcYW.mjs";
|
|
6
|
+
import { a as unwrapResult, r as handleError, t as apiError } from "../../../../../../error-lq_fL-RS.mjs";
|
|
7
|
+
import { i as parseQuery, n as parseBody, t as isParseError } from "../../../../../../parse-DHI873qU.mjs";
|
|
8
|
+
import { Fn as localeFilterQuery, lt as updateMenuItemBody } from "../../../../../../redirects-x9eFPeyi.mjs";
|
|
9
|
+
import "../../../../../../byline-fields-B-KXkg5R.mjs";
|
|
10
|
+
import "../../../../../../status-vUK0SA17.mjs";
|
|
11
11
|
import "../../../../../../api/schemas/index.mjs";
|
|
12
|
-
import { n as requirePerm } from "../../../../../../authorize-
|
|
12
|
+
import { n as requirePerm } from "../../../../../../authorize-B__u-iZJ.mjs";
|
|
13
13
|
|
|
14
14
|
//#region src/astro/routes/api/menus/[name]/items/[id].ts
|
|
15
15
|
const prerender = false;
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import "../../../../../after-B1IIdH3Y.mjs";
|
|
2
2
|
import "../../../../../object-cache-SEb2IM4Z.mjs";
|
|
3
3
|
import "../../../../../base64-CmWvODNW.mjs";
|
|
4
|
-
import "../../../../../types-
|
|
5
|
-
import { i as handleMenuItemCreate } from "../../../../../menus-
|
|
6
|
-
import { a as unwrapResult, r as handleError } from "../../../../../error-
|
|
7
|
-
import { i as parseQuery, n as parseBody, t as isParseError } from "../../../../../parse-
|
|
8
|
-
import { Fn as localeFilterQuery, et as createMenuItemBody } from "../../../../../redirects-
|
|
9
|
-
import "../../../../../byline-fields-
|
|
10
|
-
import "../../../../../status-
|
|
4
|
+
import "../../../../../types-CmI1OyQg.mjs";
|
|
5
|
+
import { i as handleMenuItemCreate } from "../../../../../menus-8O6xNcYW.mjs";
|
|
6
|
+
import { a as unwrapResult, r as handleError } from "../../../../../error-lq_fL-RS.mjs";
|
|
7
|
+
import { i as parseQuery, n as parseBody, t as isParseError } from "../../../../../parse-DHI873qU.mjs";
|
|
8
|
+
import { Fn as localeFilterQuery, et as createMenuItemBody } from "../../../../../redirects-x9eFPeyi.mjs";
|
|
9
|
+
import "../../../../../byline-fields-B-KXkg5R.mjs";
|
|
10
|
+
import "../../../../../status-vUK0SA17.mjs";
|
|
11
11
|
import "../../../../../api/schemas/index.mjs";
|
|
12
|
-
import { n as requirePerm } from "../../../../../authorize-
|
|
12
|
+
import { n as requirePerm } from "../../../../../authorize-B__u-iZJ.mjs";
|
|
13
13
|
|
|
14
14
|
//#region src/astro/routes/api/menus/[name]/items.ts
|
|
15
15
|
const prerender = false;
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import "../../../../../after-B1IIdH3Y.mjs";
|
|
2
2
|
import "../../../../../object-cache-SEb2IM4Z.mjs";
|
|
3
3
|
import "../../../../../base64-CmWvODNW.mjs";
|
|
4
|
-
import "../../../../../types-
|
|
5
|
-
import { o as handleMenuItemReorder } from "../../../../../menus-
|
|
6
|
-
import { a as unwrapResult, r as handleError } from "../../../../../error-
|
|
7
|
-
import { i as parseQuery, n as parseBody, t as isParseError } from "../../../../../parse-
|
|
8
|
-
import { Fn as localeFilterQuery, st as reorderMenuItemsBody } from "../../../../../redirects-
|
|
9
|
-
import "../../../../../byline-fields-
|
|
10
|
-
import "../../../../../status-
|
|
4
|
+
import "../../../../../types-CmI1OyQg.mjs";
|
|
5
|
+
import { o as handleMenuItemReorder } from "../../../../../menus-8O6xNcYW.mjs";
|
|
6
|
+
import { a as unwrapResult, r as handleError } from "../../../../../error-lq_fL-RS.mjs";
|
|
7
|
+
import { i as parseQuery, n as parseBody, t as isParseError } from "../../../../../parse-DHI873qU.mjs";
|
|
8
|
+
import { Fn as localeFilterQuery, st as reorderMenuItemsBody } from "../../../../../redirects-x9eFPeyi.mjs";
|
|
9
|
+
import "../../../../../byline-fields-B-KXkg5R.mjs";
|
|
10
|
+
import "../../../../../status-vUK0SA17.mjs";
|
|
11
11
|
import "../../../../../api/schemas/index.mjs";
|
|
12
|
-
import { n as requirePerm } from "../../../../../authorize-
|
|
12
|
+
import { n as requirePerm } from "../../../../../authorize-B__u-iZJ.mjs";
|
|
13
13
|
|
|
14
14
|
//#region src/astro/routes/api/menus/[name]/reorder.ts
|
|
15
15
|
const prerender = false;
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import "../../../../../after-B1IIdH3Y.mjs";
|
|
2
2
|
import "../../../../../object-cache-SEb2IM4Z.mjs";
|
|
3
3
|
import "../../../../../base64-CmWvODNW.mjs";
|
|
4
|
-
import "../../../../../types-
|
|
5
|
-
import { l as handleMenuTranslations, r as handleMenuGet, t as handleMenuCreate } from "../../../../../menus-
|
|
6
|
-
import { a as unwrapResult, i as requireDb, r as handleError } from "../../../../../error-
|
|
7
|
-
import { i as parseQuery, n as parseBody, t as isParseError } from "../../../../../parse-
|
|
8
|
-
import { Fn as localeFilterQuery } from "../../../../../redirects-
|
|
9
|
-
import "../../../../../byline-fields-
|
|
10
|
-
import "../../../../../status-
|
|
4
|
+
import "../../../../../types-CmI1OyQg.mjs";
|
|
5
|
+
import { l as handleMenuTranslations, r as handleMenuGet, t as handleMenuCreate } from "../../../../../menus-8O6xNcYW.mjs";
|
|
6
|
+
import { a as unwrapResult, i as requireDb, r as handleError } from "../../../../../error-lq_fL-RS.mjs";
|
|
7
|
+
import { i as parseQuery, n as parseBody, t as isParseError } from "../../../../../parse-DHI873qU.mjs";
|
|
8
|
+
import { Fn as localeFilterQuery } from "../../../../../redirects-x9eFPeyi.mjs";
|
|
9
|
+
import "../../../../../byline-fields-B-KXkg5R.mjs";
|
|
10
|
+
import "../../../../../status-vUK0SA17.mjs";
|
|
11
11
|
import "../../../../../api/schemas/index.mjs";
|
|
12
|
-
import { n as requirePerm } from "../../../../../authorize-
|
|
12
|
+
import { n as requirePerm } from "../../../../../authorize-B__u-iZJ.mjs";
|
|
13
13
|
import { z } from "zod";
|
|
14
14
|
|
|
15
15
|
//#region src/astro/routes/api/menus/[name]/translations.ts
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import "../../../../after-B1IIdH3Y.mjs";
|
|
2
2
|
import "../../../../object-cache-SEb2IM4Z.mjs";
|
|
3
3
|
import "../../../../base64-CmWvODNW.mjs";
|
|
4
|
-
import "../../../../types-
|
|
5
|
-
import { n as handleMenuDelete, r as handleMenuGet, u as handleMenuUpdate } from "../../../../menus-
|
|
6
|
-
import { a as unwrapResult, r as handleError } from "../../../../error-
|
|
7
|
-
import { i as parseQuery, n as parseBody, t as isParseError } from "../../../../parse-
|
|
8
|
-
import { Fn as localeFilterQuery, ct as updateMenuBody } from "../../../../redirects-
|
|
9
|
-
import "../../../../byline-fields-
|
|
10
|
-
import "../../../../status-
|
|
4
|
+
import "../../../../types-CmI1OyQg.mjs";
|
|
5
|
+
import { n as handleMenuDelete, r as handleMenuGet, u as handleMenuUpdate } from "../../../../menus-8O6xNcYW.mjs";
|
|
6
|
+
import { a as unwrapResult, r as handleError } from "../../../../error-lq_fL-RS.mjs";
|
|
7
|
+
import { i as parseQuery, n as parseBody, t as isParseError } from "../../../../parse-DHI873qU.mjs";
|
|
8
|
+
import { Fn as localeFilterQuery, ct as updateMenuBody } from "../../../../redirects-x9eFPeyi.mjs";
|
|
9
|
+
import "../../../../byline-fields-B-KXkg5R.mjs";
|
|
10
|
+
import "../../../../status-vUK0SA17.mjs";
|
|
11
11
|
import "../../../../api/schemas/index.mjs";
|
|
12
|
-
import { n as requirePerm } from "../../../../authorize-
|
|
12
|
+
import { n as requirePerm } from "../../../../authorize-B__u-iZJ.mjs";
|
|
13
13
|
|
|
14
14
|
//#region src/astro/routes/api/menus/[name].ts
|
|
15
15
|
const prerender = false;
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import "../../../../after-B1IIdH3Y.mjs";
|
|
2
2
|
import "../../../../object-cache-SEb2IM4Z.mjs";
|
|
3
3
|
import "../../../../base64-CmWvODNW.mjs";
|
|
4
|
-
import "../../../../types-
|
|
5
|
-
import { c as handleMenuList, t as handleMenuCreate } from "../../../../menus-
|
|
6
|
-
import { a as unwrapResult, r as handleError } from "../../../../error-
|
|
7
|
-
import { i as parseQuery, n as parseBody, t as isParseError } from "../../../../parse-
|
|
8
|
-
import { $ as createMenuBody, Fn as localeFilterQuery } from "../../../../redirects-
|
|
9
|
-
import "../../../../byline-fields-
|
|
10
|
-
import "../../../../status-
|
|
4
|
+
import "../../../../types-CmI1OyQg.mjs";
|
|
5
|
+
import { c as handleMenuList, t as handleMenuCreate } from "../../../../menus-8O6xNcYW.mjs";
|
|
6
|
+
import { a as unwrapResult, r as handleError } from "../../../../error-lq_fL-RS.mjs";
|
|
7
|
+
import { i as parseQuery, n as parseBody, t as isParseError } from "../../../../parse-DHI873qU.mjs";
|
|
8
|
+
import { $ as createMenuBody, Fn as localeFilterQuery } from "../../../../redirects-x9eFPeyi.mjs";
|
|
9
|
+
import "../../../../byline-fields-B-KXkg5R.mjs";
|
|
10
|
+
import "../../../../status-vUK0SA17.mjs";
|
|
11
11
|
import "../../../../api/schemas/index.mjs";
|
|
12
|
-
import { n as requirePerm } from "../../../../authorize-
|
|
12
|
+
import { n as requirePerm } from "../../../../authorize-B__u-iZJ.mjs";
|
|
13
13
|
|
|
14
14
|
//#region src/astro/routes/api/menus/index.ts
|
|
15
15
|
const prerender = false;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { n as getPublicOrigin } from "../../../../public-url-
|
|
2
|
-
import { n as VALID_SCOPES } from "../../../../api-tokens-
|
|
3
|
-
import { t as escapeHtml } from "../../../../escape-
|
|
4
|
-
import { c as validateRedirectUri, o as lookupOAuthClient, s as validateClientRedirectUri } from "../../../../oauth-clients-
|
|
5
|
-
import "../../../../oauth-user-lookup-
|
|
6
|
-
import { n as handleAuthorizationApproval, t as buildDeniedRedirect } from "../../../../oauth-authorization-
|
|
1
|
+
import { n as getPublicOrigin } from "../../../../public-url-CTVqgMmg.mjs";
|
|
2
|
+
import { n as VALID_SCOPES } from "../../../../api-tokens-B4BQybOp.mjs";
|
|
3
|
+
import { t as escapeHtml } from "../../../../escape-Bjio4ZsM.mjs";
|
|
4
|
+
import { c as validateRedirectUri, o as lookupOAuthClient, s as validateClientRedirectUri } from "../../../../oauth-clients-C9SYwEbZ.mjs";
|
|
5
|
+
import "../../../../oauth-user-lookup-SHsWRlG9.mjs";
|
|
6
|
+
import { n as handleAuthorizationApproval, t as buildDeniedRedirect } from "../../../../oauth-authorization-CsvzIp_F.mjs";
|
|
7
7
|
|
|
8
8
|
//#region src/astro/routes/api/oauth/authorize.ts
|
|
9
9
|
const prerender = false;
|