emdash 0.36.0 → 0.37.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-CzL3H752.d.mts → adapters-BDQwg236.d.mts} +4 -2
- package/dist/{adapters-CzL3H752.d.mts.map → adapters-BDQwg236.d.mts.map} +1 -1
- package/dist/{allowed-origins-maylGaHv.mjs → allowed-origins-BGglilcs.mjs} +2 -2
- package/dist/{allowed-origins-maylGaHv.mjs.map → allowed-origins-BGglilcs.mjs.map} +1 -1
- package/dist/api/route-utils.d.mts +3 -3
- package/dist/api/route-utils.mjs +17 -17
- package/dist/api/schemas/index.d.mts +2 -2
- package/dist/api/schemas/index.mjs +5 -5
- package/dist/api-Dz6rgoa3.mjs +10040 -0
- package/dist/api-Dz6rgoa3.mjs.map +1 -0
- package/dist/{api-tokens-9YrrCoE6.mjs → api-tokens-BSsQACNe.mjs} +2 -2
- package/dist/{api-tokens-9YrrCoE6.mjs.map → api-tokens-BSsQACNe.mjs.map} +1 -1
- package/dist/{apply-B_VMpJ2P.mjs → apply-B4SIOxR1.mjs} +18 -18
- package/dist/{apply-B_VMpJ2P.mjs.map → apply-B4SIOxR1.mjs.map} +1 -1
- package/dist/astro/image-endpoint.mjs +2 -2
- package/dist/astro/image-endpoint.mjs.map +1 -1
- package/dist/astro/index.d.mts +12 -12
- package/dist/astro/index.d.mts.map +1 -1
- package/dist/astro/index.mjs +110 -37
- package/dist/astro/index.mjs.map +1 -1
- package/dist/astro/middleware/auth.d.mts +10 -10
- package/dist/astro/middleware/auth.mjs +6 -6
- package/dist/astro/middleware/media-usage-write-fence.mjs +2 -2
- package/dist/astro/middleware/redirect.mjs +3 -3
- package/dist/astro/middleware/request-context.mjs +2 -2
- package/dist/astro/middleware/setup.mjs +1 -1
- package/dist/astro/middleware.d.mts +10 -10
- package/dist/astro/middleware.d.mts.map +1 -1
- package/dist/astro/middleware.mjs +157 -195
- 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 +3 -3
- package/dist/astro/routes/api/admin/api-tokens/index.d.mts.map +1 -1
- package/dist/astro/routes/api/admin/api-tokens/index.mjs +5 -5
- package/dist/astro/routes/api/admin/api-tokens/index.mjs.map +1 -1
- package/dist/astro/routes/api/admin/byline-fields/_slug_/usage.mjs +3 -3
- 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 +14 -14
- package/dist/astro/routes/api/admin/bylines/_id_/translations.mjs +14 -14
- package/dist/astro/routes/api/admin/bylines/index.mjs +14 -14
- package/dist/astro/routes/api/admin/comments/_id_/status.mjs +12 -12
- package/dist/astro/routes/api/admin/comments/_id_.mjs +5 -5
- package/dist/astro/routes/api/admin/comments/bulk.mjs +10 -10
- package/dist/astro/routes/api/admin/comments/counts.mjs +5 -5
- package/dist/astro/routes/api/admin/comments/index.mjs +10 -10
- package/dist/astro/routes/api/admin/hooks/exclusive/_hookName_.mjs +3 -3
- package/dist/astro/routes/api/admin/hooks/exclusive/index.mjs +2 -2
- package/dist/astro/routes/api/admin/media-usage/activation.mjs +10 -10
- package/dist/astro/routes/api/admin/media-usage/collection-deletions/index.mjs +13 -13
- package/dist/astro/routes/api/admin/media-usage/collection-deletions/retry.mjs +13 -13
- package/dist/astro/routes/api/admin/media-usage/progress.mjs +11 -11
- package/dist/astro/routes/api/admin/media-usage/repair.mjs +14 -14
- package/dist/astro/routes/api/admin/media-usage/work/index.mjs +13 -13
- package/dist/astro/routes/api/admin/media-usage/work/retry.mjs +13 -13
- package/dist/astro/routes/api/admin/oauth-clients/_id_.mjs +4 -4
- package/dist/astro/routes/api/admin/oauth-clients/_id_.mjs.map +1 -1
- package/dist/astro/routes/api/admin/oauth-clients/index.mjs +4 -4
- package/dist/astro/routes/api/admin/oauth-clients/index.mjs.map +1 -1
- package/dist/astro/routes/api/admin/plugins/_id_/disable.mjs +49 -49
- package/dist/astro/routes/api/admin/plugins/_id_/enable.mjs +49 -49
- package/dist/astro/routes/api/admin/plugins/_id_/index.mjs +47 -47
- package/dist/astro/routes/api/admin/plugins/_id_/mcp.mjs +4 -4
- package/dist/astro/routes/api/admin/plugins/_id_/settings.mjs +47 -47
- package/dist/astro/routes/api/admin/plugins/_id_/uninstall.mjs +48 -48
- package/dist/astro/routes/api/admin/plugins/_id_/update.mjs +48 -48
- package/dist/astro/routes/api/admin/plugins/index.mjs +47 -47
- package/dist/astro/routes/api/admin/plugins/marketplace/_id_/icon.mjs +2 -2
- package/dist/astro/routes/api/admin/plugins/marketplace/_id_/index.mjs +47 -47
- package/dist/astro/routes/api/admin/plugins/marketplace/_id_/install.mjs +48 -48
- package/dist/astro/routes/api/admin/plugins/marketplace/index.mjs +47 -47
- package/dist/astro/routes/api/admin/plugins/registry/_id_/uninstall.mjs +48 -48
- package/dist/astro/routes/api/admin/plugins/registry/_id_/update.d.mts.map +1 -1
- package/dist/astro/routes/api/admin/plugins/registry/_id_/update.mjs +54 -50
- package/dist/astro/routes/api/admin/plugins/registry/_id_/update.mjs.map +1 -1
- package/dist/astro/routes/api/admin/plugins/registry/artifact.mjs +17 -16
- package/dist/astro/routes/api/admin/plugins/registry/artifact.mjs.map +1 -1
- package/dist/astro/routes/api/admin/plugins/registry/install.d.mts.map +1 -1
- package/dist/astro/routes/api/admin/plugins/registry/install.mjs +55 -51
- package/dist/astro/routes/api/admin/plugins/registry/install.mjs.map +1 -1
- package/dist/astro/routes/api/admin/plugins/registry/verify.d.mts +8 -0
- package/dist/astro/routes/api/admin/plugins/registry/verify.d.mts.map +1 -0
- package/dist/astro/routes/api/admin/plugins/registry/verify.mjs +93 -0
- package/dist/astro/routes/api/admin/plugins/registry/verify.mjs.map +1 -0
- package/dist/astro/routes/api/admin/plugins/updates.mjs +47 -47
- package/dist/astro/routes/api/admin/themes/marketplace/_id_/index.mjs +47 -47
- package/dist/astro/routes/api/admin/themes/marketplace/_id_/thumbnail.mjs +2 -2
- package/dist/astro/routes/api/admin/themes/marketplace/index.mjs +47 -47
- package/dist/astro/routes/api/admin/users/_id_/disable.mjs +1 -1
- package/dist/astro/routes/api/admin/users/_id_/enable.mjs +1 -1
- package/dist/astro/routes/api/admin/users/_id_/index.mjs +6 -6
- package/dist/astro/routes/api/admin/users/_id_/send-recovery.mjs +2 -2
- package/dist/astro/routes/api/admin/users/index.mjs +6 -6
- package/dist/astro/routes/api/auth/dev-bypass.mjs +3 -3
- package/dist/astro/routes/api/auth/invite/accept.mjs +1 -1
- 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 +2 -2
- package/dist/astro/routes/api/auth/magic-link/send.mjs +9 -9
- package/dist/astro/routes/api/auth/magic-link/verify.mjs +2 -2
- package/dist/astro/routes/api/auth/me.mjs +7 -7
- package/dist/astro/routes/api/auth/mode.mjs +2 -2
- 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 +1 -1
- 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 +1 -1
- package/dist/astro/routes/api/comments/_collection_/_contentId_/index.mjs +13 -13
- package/dist/astro/routes/api/comments/_collection_/_contentId_/reactions.mjs +12 -12
- package/dist/astro/routes/api/content/_collection_/_id_/compare.mjs +2 -2
- package/dist/astro/routes/api/content/_collection_/_id_/discard-draft.d.mts.map +1 -1
- package/dist/astro/routes/api/content/_collection_/_id_/discard-draft.mjs +14 -5
- package/dist/astro/routes/api/content/_collection_/_id_/discard-draft.mjs.map +1 -1
- package/dist/astro/routes/api/content/_collection_/_id_/duplicate.mjs +3 -3
- package/dist/astro/routes/api/content/_collection_/_id_/permanent.mjs +2 -2
- package/dist/astro/routes/api/content/_collection_/_id_/preview-url.mjs +10 -10
- package/dist/astro/routes/api/content/_collection_/_id_/publish.mjs +13 -10
- package/dist/astro/routes/api/content/_collection_/_id_/publish.mjs.map +1 -1
- package/dist/astro/routes/api/content/_collection_/_id_/references/_relation_/children.mjs +15 -15
- package/dist/astro/routes/api/content/_collection_/_id_/references/_relation_/parents.mjs +15 -15
- package/dist/astro/routes/api/content/_collection_/_id_/restore.mjs +3 -3
- package/dist/astro/routes/api/content/_collection_/_id_/revisions.mjs +2 -2
- package/dist/astro/routes/api/content/_collection_/_id_/schedule.mjs +8 -8
- package/dist/astro/routes/api/content/_collection_/_id_/terms/_taxonomy_.mjs +13 -13
- package/dist/astro/routes/api/content/_collection_/_id_/translations.mjs +2 -2
- package/dist/astro/routes/api/content/_collection_/_id_/unpublish.d.mts.map +1 -1
- package/dist/astro/routes/api/content/_collection_/_id_/unpublish.mjs +14 -5
- package/dist/astro/routes/api/content/_collection_/_id_/unpublish.mjs.map +1 -1
- package/dist/astro/routes/api/content/_collection_/_id_.mjs +8 -8
- package/dist/astro/routes/api/content/_collection_/authors.mjs +2 -2
- package/dist/astro/routes/api/content/_collection_/index.mjs +8 -8
- 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 +2 -2
- package/dist/astro/routes/api/import/probe.d.mts +3 -3
- package/dist/astro/routes/api/import/probe.mjs +15 -15
- package/dist/astro/routes/api/import/wordpress/analyze.mjs +2 -2
- package/dist/astro/routes/api/import/wordpress/execute.d.mts +11 -11
- package/dist/astro/routes/api/import/wordpress/execute.mjs +11 -11
- package/dist/astro/routes/api/import/wordpress/media.d.mts +10 -10
- 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.d.mts +11 -11
- package/dist/astro/routes/api/import/wordpress/rewrite-urls.mjs +10 -10
- package/dist/astro/routes/api/import/wordpress-plugin/analyze.d.mts +1 -1
- package/dist/astro/routes/api/import/wordpress-plugin/analyze.mjs +15 -15
- package/dist/astro/routes/api/import/wordpress-plugin/execute.d.mts +11 -11
- package/dist/astro/routes/api/import/wordpress-plugin/execute.mjs +22 -22
- package/dist/astro/routes/api/manifest.mjs +3 -3
- package/dist/astro/routes/api/manifest.mjs.map +1 -1
- package/dist/astro/routes/api/mcp.mjs +188 -65
- package/dist/astro/routes/api/mcp.mjs.map +1 -1
- package/dist/astro/routes/api/media/_id_/confirm.mjs +9 -9
- package/dist/astro/routes/api/media/_id_/replace.d.mts +8 -0
- package/dist/astro/routes/api/media/_id_/replace.d.mts.map +1 -0
- package/dist/astro/routes/api/media/_id_/replace.mjs +91 -0
- package/dist/astro/routes/api/media/_id_/replace.mjs.map +1 -0
- package/dist/astro/routes/api/media/_id_/upload.mjs +5 -5
- package/dist/astro/routes/api/media/_id_/usage.mjs +16 -16
- package/dist/astro/routes/api/media/_id_.mjs +15 -15
- package/dist/astro/routes/api/media/file/_...key_.d.mts.map +1 -1
- package/dist/astro/routes/api/media/file/_...key_.mjs +3 -2
- package/dist/astro/routes/api/media/file/_...key_.mjs.map +1 -1
- package/dist/astro/routes/api/media/folders/_id_.mjs +8 -8
- package/dist/astro/routes/api/media/folders/index.mjs +8 -8
- package/dist/astro/routes/api/media/providers/_providerId_/_itemId_.mjs +2 -2
- package/dist/astro/routes/api/media/providers/_providerId_/index.mjs +2 -2
- package/dist/astro/routes/api/media/providers/index.mjs +2 -2
- package/dist/astro/routes/api/media/upload-url.mjs +15 -13
- package/dist/astro/routes/api/media/upload-url.mjs.map +1 -1
- package/dist/astro/routes/api/media.d.mts.map +1 -1
- package/dist/astro/routes/api/media.mjs +47 -24
- package/dist/astro/routes/api/media.mjs.map +1 -1
- package/dist/astro/routes/api/menus/_name_/items/_id_.d.mts.map +1 -1
- package/dist/astro/routes/api/menus/_name_/items/_id_.mjs +20 -13
- package/dist/astro/routes/api/menus/_name_/items/_id_.mjs.map +1 -1
- package/dist/astro/routes/api/menus/_name_/items.d.mts.map +1 -1
- package/dist/astro/routes/api/menus/_name_/items.mjs +15 -11
- package/dist/astro/routes/api/menus/_name_/items.mjs.map +1 -1
- package/dist/astro/routes/api/menus/_name_/reorder.d.mts.map +1 -1
- package/dist/astro/routes/api/menus/_name_/reorder.mjs +15 -11
- package/dist/astro/routes/api/menus/_name_/reorder.mjs.map +1 -1
- package/dist/astro/routes/api/menus/_name_/translations.d.mts.map +1 -1
- package/dist/astro/routes/api/menus/_name_/translations.mjs +16 -12
- package/dist/astro/routes/api/menus/_name_/translations.mjs.map +1 -1
- package/dist/astro/routes/api/menus/_name_.d.mts.map +1 -1
- package/dist/astro/routes/api/menus/_name_.mjs +21 -14
- package/dist/astro/routes/api/menus/_name_.mjs.map +1 -1
- package/dist/astro/routes/api/menus/index.d.mts.map +1 -1
- package/dist/astro/routes/api/menus/index.mjs +15 -11
- package/dist/astro/routes/api/menus/index.mjs.map +1 -1
- package/dist/astro/routes/api/oauth/authorize.mjs +6 -6
- package/dist/astro/routes/api/oauth/device/authorize.mjs +5 -5
- package/dist/astro/routes/api/oauth/device/code.mjs +8 -8
- package/dist/astro/routes/api/oauth/device/token.mjs +7 -7
- package/dist/astro/routes/api/oauth/register.mjs +2 -2
- package/dist/astro/routes/api/oauth/token/refresh.mjs +5 -5
- package/dist/astro/routes/api/oauth/token/revoke.mjs +5 -5
- package/dist/astro/routes/api/oauth/token.mjs +5 -5
- package/dist/astro/routes/api/openapi.json.mjs +104 -38
- package/dist/astro/routes/api/openapi.json.mjs.map +1 -1
- package/dist/astro/routes/api/plugins/_pluginId_/_...path_.mjs +4 -4
- package/dist/astro/routes/api/redirects/404s/index.mjs +8 -8
- package/dist/astro/routes/api/redirects/404s/summary.mjs +8 -8
- package/dist/astro/routes/api/redirects/_id_.mjs +9 -9
- package/dist/astro/routes/api/redirects/index.mjs +9 -9
- package/dist/astro/routes/api/relations/_id_/index.mjs +15 -15
- package/dist/astro/routes/api/relations/_id_/translations.mjs +10 -10
- package/dist/astro/routes/api/relations/index.mjs +15 -15
- package/dist/astro/routes/api/revisions/_revisionId_/index.mjs +2 -2
- package/dist/astro/routes/api/revisions/_revisionId_/restore.mjs +3 -3
- package/dist/astro/routes/api/schema/collections/_slug_/fields/_fieldSlug_.mjs +47 -47
- package/dist/astro/routes/api/schema/collections/_slug_/fields/index.mjs +47 -47
- package/dist/astro/routes/api/schema/collections/_slug_/fields/reorder.mjs +47 -47
- package/dist/astro/routes/api/schema/collections/_slug_/index.mjs +47 -47
- package/dist/astro/routes/api/schema/collections/index.mjs +47 -47
- package/dist/astro/routes/api/schema/collections/reorder.mjs +47 -47
- package/dist/astro/routes/api/schema/index.mjs +8 -8
- package/dist/astro/routes/api/schema/orphans/_slug_.mjs +47 -47
- package/dist/astro/routes/api/schema/orphans/index.mjs +47 -47
- 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 +5 -5
- 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/backups/archives/_name_.mjs +5 -5
- package/dist/astro/routes/api/settings/backups/archives/index.mjs +4 -4
- package/dist/astro/routes/api/settings/backups/export.mjs +5 -5
- package/dist/astro/routes/api/settings/backups/index.mjs +6 -6
- package/dist/astro/routes/api/settings/email.mjs +4 -4
- package/dist/astro/routes/api/settings/email.mjs.map +1 -1
- package/dist/astro/routes/api/settings.d.mts.map +1 -1
- package/dist/astro/routes/api/settings.mjs +18 -14
- package/dist/astro/routes/api/settings.mjs.map +1 -1
- 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 +25 -25
- package/dist/astro/routes/api/setup/dev-reset.mjs +1 -1
- package/dist/astro/routes/api/setup/index.mjs +25 -25
- package/dist/astro/routes/api/setup/status.mjs +3 -3
- package/dist/astro/routes/api/snapshot.mjs +6 -6
- package/dist/astro/routes/api/taxonomies/_name_/reorder.d.mts.map +1 -1
- package/dist/astro/routes/api/taxonomies/_name_/reorder.mjs +19 -15
- package/dist/astro/routes/api/taxonomies/_name_/reorder.mjs.map +1 -1
- package/dist/astro/routes/api/taxonomies/_name_/terms/_slug_/translations.d.mts.map +1 -1
- package/dist/astro/routes/api/taxonomies/_name_/terms/_slug_/translations.mjs +20 -16
- package/dist/astro/routes/api/taxonomies/_name_/terms/_slug_/translations.mjs.map +1 -1
- package/dist/astro/routes/api/taxonomies/_name_/terms/_slug_.d.mts.map +1 -1
- package/dist/astro/routes/api/taxonomies/_name_/terms/_slug_.mjs +24 -17
- package/dist/astro/routes/api/taxonomies/_name_/terms/_slug_.mjs.map +1 -1
- package/dist/astro/routes/api/taxonomies/_name_/terms/index.d.mts.map +1 -1
- package/dist/astro/routes/api/taxonomies/_name_/terms/index.mjs +19 -15
- package/dist/astro/routes/api/taxonomies/_name_/terms/index.mjs.map +1 -1
- package/dist/astro/routes/api/taxonomies/_name_/translations.mjs +13 -13
- package/dist/astro/routes/api/taxonomies/_name_.d.mts.map +1 -1
- package/dist/astro/routes/api/taxonomies/_name_.mjs +25 -18
- package/dist/astro/routes/api/taxonomies/_name_.mjs.map +1 -1
- package/dist/astro/routes/api/taxonomies/index.d.mts.map +1 -1
- package/dist/astro/routes/api/taxonomies/index.mjs +19 -15
- package/dist/astro/routes/api/taxonomies/index.mjs.map +1 -1
- package/dist/astro/routes/api/themes/preview.mjs +4 -4
- package/dist/astro/routes/api/typegen.mjs +4 -4
- 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.d.mts.map +1 -1
- package/dist/astro/routes/api/widget-areas/_name_/reorder.mjs +10 -8
- package/dist/astro/routes/api/widget-areas/_name_/reorder.mjs.map +1 -1
- package/dist/astro/routes/api/widget-areas/_name_/widgets/_id_.d.mts.map +1 -1
- package/dist/astro/routes/api/widget-areas/_name_/widgets/_id_.mjs +16 -12
- package/dist/astro/routes/api/widget-areas/_name_/widgets/_id_.mjs.map +1 -1
- package/dist/astro/routes/api/widget-areas/_name_/widgets.d.mts.map +1 -1
- package/dist/astro/routes/api/widget-areas/_name_/widgets.mjs +14 -11
- package/dist/astro/routes/api/widget-areas/_name_/widgets.mjs.map +1 -1
- package/dist/astro/routes/api/widget-areas/_name_.d.mts.map +1 -1
- package/dist/astro/routes/api/widget-areas/_name_.mjs +7 -5
- package/dist/astro/routes/api/widget-areas/_name_.mjs.map +1 -1
- package/dist/astro/routes/api/widget-areas/index.d.mts.map +1 -1
- package/dist/astro/routes/api/widget-areas/index.mjs +14 -11
- package/dist/astro/routes/api/widget-areas/index.mjs.map +1 -1
- package/dist/astro/routes/api/widget-components.mjs +2 -2
- package/dist/astro/routes/robots.txt.mjs +5 -5
- package/dist/astro/routes/sitemap-_collection_.xml.mjs +8 -8
- package/dist/astro/routes/sitemap.xml.mjs +6 -6
- package/dist/astro/types.d.mts +32 -17
- package/dist/astro/types.d.mts.map +1 -1
- package/dist/auth/providers/github.d.mts +1 -1
- package/dist/auth/providers/google.d.mts +1 -1
- package/dist/{authorize-ByYs-Uxs.mjs → authorize-Bkf_UHhD.mjs} +2 -2
- package/dist/{authorize-ByYs-Uxs.mjs.map → authorize-Bkf_UHhD.mjs.map} +1 -1
- package/dist/{backup-ChyHfIoX.mjs → backup-rwVAl9NI.mjs} +4 -4
- package/dist/{backup-ChyHfIoX.mjs.map → backup-rwVAl9NI.mjs.map} +1 -1
- package/dist/{bundle-DZFhFurR.mjs → bundle-C8S2Zl6U.mjs} +3 -3
- package/dist/{bundle-DZFhFurR.mjs.map → bundle-C8S2Zl6U.mjs.map} +1 -1
- package/dist/{byline-Cpnwrje1.mjs → byline-DuhF7NWl.mjs} +25 -12
- package/dist/byline-DuhF7NWl.mjs.map +1 -0
- package/dist/{byline-fields-CAyA_Umd.mjs → byline-fields-BovY4KYM.mjs} +1 -1
- package/dist/{byline-fields-CAyA_Umd.mjs.map → byline-fields-BovY4KYM.mjs.map} +1 -1
- package/dist/{bylines-BSo9B9RX.mjs → bylines-CJ5nd6Lw.mjs} +6 -6
- package/dist/{bylines-BSo9B9RX.mjs.map → bylines-CJ5nd6Lw.mjs.map} +1 -1
- package/dist/{bylines-CHjvehVX.mjs → bylines-RwBAeOF1.mjs} +3 -3
- package/dist/{bylines-CHjvehVX.mjs.map → bylines-RwBAeOF1.mjs.map} +1 -1
- package/dist/{cache-5VirJ2Cn.mjs → cache-BF5Kvn59.mjs} +2 -2
- package/dist/{cache-5VirJ2Cn.mjs.map → cache-BF5Kvn59.mjs.map} +1 -1
- package/dist/{challenge-store-D5pSY2S1.mjs → challenge-store-DQN_Yrck.mjs} +5 -3
- package/dist/challenge-store-DQN_Yrck.mjs.map +1 -0
- package/dist/chrome-tags-D8fiZG94.mjs +24 -0
- package/dist/chrome-tags-D8fiZG94.mjs.map +1 -0
- package/dist/{chunks-bNiX6_DR.mjs → chunks-C4szrD8o.mjs} +2 -2
- package/dist/{chunks-bNiX6_DR.mjs.map → chunks-C4szrD8o.mjs.map} +1 -1
- package/dist/cli/index.mjs +26 -26
- package/dist/client/cf-access.d.mts +1 -1
- package/dist/client/index.d.mts +2 -2
- package/dist/client/index.mjs +2 -2
- package/dist/{collection-deletion-m_oi2c0N.mjs → collection-deletion-Bj07NHbj.mjs} +2 -2
- package/dist/{collection-deletion-m_oi2c0N.mjs.map → collection-deletion-Bj07NHbj.mjs.map} +1 -1
- package/dist/{comment-reaction-CRuItEjt.mjs → comment-reaction-BhrvSHml.mjs} +2 -2
- package/dist/{comment-reaction-CRuItEjt.mjs.map → comment-reaction-BhrvSHml.mjs.map} +1 -1
- package/dist/{comment-DhvLEdhQ.mjs → comment-vxOzWbZN.mjs} +2 -2
- package/dist/{comment-DhvLEdhQ.mjs.map → comment-vxOzWbZN.mjs.map} +1 -1
- package/dist/{comments-CLj4bi8I.mjs → comments-Ct4ensnf.mjs} +2 -2
- package/dist/{comments-CLj4bi8I.mjs.map → comments-Ct4ensnf.mjs.map} +1 -1
- package/dist/{components-v4U4DT2y.mjs → components-DJbo1z0S.mjs} +1 -1
- package/dist/{components-v4U4DT2y.mjs.map → components-DJbo1z0S.mjs.map} +1 -1
- package/dist/{config-DrfghTPe.d.mts → config-B9eZ340f.d.mts} +1 -1
- package/dist/{config-DrfghTPe.d.mts.map → config-B9eZ340f.d.mts.map} +1 -1
- package/dist/config-it29yDLA.mjs +1163 -0
- package/dist/config-it29yDLA.mjs.map +1 -0
- package/dist/{content-CP-SeXNa.mjs → content-DjvM0T92.mjs} +84 -44
- package/dist/content-DjvM0T92.mjs.map +1 -0
- package/dist/{content-list-query-BhejKVqb.d.mts → content-list-query-Btqd4uV2.d.mts} +1 -1
- package/dist/{content-list-query-BhejKVqb.d.mts.map → content-list-query-Btqd4uV2.d.mts.map} +1 -1
- package/dist/{content-refresh-DLOfIhYc.mjs → content-refresh-Bwp-8yGy.mjs} +48 -21
- package/dist/content-refresh-Bwp-8yGy.mjs.map +1 -0
- package/dist/{content-repair-BCxzy0r4.mjs → content-repair-Czdp7jz5.mjs} +4 -4
- package/dist/{content-repair-BCxzy0r4.mjs.map → content-repair-Czdp7jz5.mjs.map} +1 -1
- package/dist/{context-BR5hRWiK.mjs → context-CX6gxOLW.mjs} +52 -17
- package/dist/context-CX6gxOLW.mjs.map +1 -0
- package/dist/{cron-CWfWrWKG.mjs → cron-C6o7VppJ.mjs} +1 -1
- package/dist/{cron-CWfWrWKG.mjs.map → cron-C6o7VppJ.mjs.map} +1 -1
- package/dist/{dashboard-CkIV2rnQ.mjs → dashboard-C2kTeeRI.mjs} +4 -4
- package/dist/{dashboard-CkIV2rnQ.mjs.map → dashboard-C2kTeeRI.mjs.map} +1 -1
- package/dist/db/index.d.mts +3 -3
- package/dist/db/index.mjs +1 -1
- package/dist/db/index.mjs.map +1 -1
- package/dist/db/libsql-migrations.d.mts +1 -1
- package/dist/db/libsql-migrations.mjs +4 -4
- package/dist/db/libsql.d.mts +1 -1
- package/dist/db/postgres-migrations.d.mts +1 -1
- package/dist/db/postgres-migrations.mjs +4 -4
- package/dist/db/postgres.d.mts +1 -1
- package/dist/db/postgres.d.mts.map +1 -1
- package/dist/db/postgres.mjs +19 -3
- package/dist/db/postgres.mjs.map +1 -1
- package/dist/db/sqlite-migrations.d.mts +1 -1
- package/dist/db/sqlite-migrations.mjs +4 -4
- package/dist/db/sqlite.d.mts +1 -1
- package/dist/db/sqlite.mjs +1 -1
- package/dist/{default-YMEfcQUx.mjs → default-Clra32mw.mjs} +1 -1
- package/dist/{default-YMEfcQUx.mjs.map → default-Clra32mw.mjs.map} +1 -1
- package/dist/{deferred-tasks-DfqxH5Xf.d.mts → deferred-tasks-CvDETTJO.d.mts} +1 -1
- package/dist/{deferred-tasks-DfqxH5Xf.d.mts.map → deferred-tasks-CvDETTJO.d.mts.map} +1 -1
- package/dist/dev-typegen-DzOPfsNj.mjs +29 -0
- package/dist/dev-typegen-DzOPfsNj.mjs.map +1 -0
- package/dist/{device-flow-CojjSBwb.mjs → device-flow-D2oCWvLJ.mjs} +4 -4
- package/dist/{device-flow-CojjSBwb.mjs.map → device-flow-D2oCWvLJ.mjs.map} +1 -1
- package/dist/{direct-executor-BWeWiRYB.mjs → direct-executor-Bfa5_ToE.mjs} +3 -3
- package/dist/{direct-executor-BWeWiRYB.mjs.map → direct-executor-Bfa5_ToE.mjs.map} +1 -1
- package/dist/{email-console-CEJgR_LB.mjs → email-console-Dzb6uGYa.mjs} +1 -1
- package/dist/{email-console-CEJgR_LB.mjs.map → email-console-Dzb6uGYa.mjs.map} +1 -1
- package/dist/{error-D9w94fjV.mjs → error-DFrQjppn.mjs} +2 -2
- package/dist/{error-D9w94fjV.mjs.map → error-DFrQjppn.mjs.map} +1 -1
- package/dist/{errors-n2j49uNf.mjs → errors-DsVoDUjJ.mjs} +3 -1
- package/dist/errors-DsVoDUjJ.mjs.map +1 -0
- package/dist/{escape-DN4Qmjsl.mjs → escape-HmHTC1Is.mjs} +1 -1
- package/dist/{escape-DN4Qmjsl.mjs.map → escape-HmHTC1Is.mjs.map} +1 -1
- package/dist/{field-defs-cache-Bh4q6oar.mjs → field-defs-cache-BM4SIRqH.mjs} +2 -2
- package/dist/{field-defs-cache-Bh4q6oar.mjs.map → field-defs-cache-BM4SIRqH.mjs.map} +1 -1
- package/dist/{fts-manager-BhOdW0bi.mjs → fts-manager-Do1BlW2r.mjs} +2 -2
- package/dist/{fts-manager-BhOdW0bi.mjs.map → fts-manager-Do1BlW2r.mjs.map} +1 -1
- package/dist/{hash-CTcngWvj.mjs → hash-3JJPlHF2.mjs} +1 -1
- package/dist/{hash-CTcngWvj.mjs.map → hash-3JJPlHF2.mjs.map} +1 -1
- package/dist/hook-result-DCh2WUpe.d.mts +31 -0
- package/dist/hook-result-DCh2WUpe.d.mts.map +1 -0
- package/dist/{hreflang-7pTHsLZJ.d.mts → hreflang-B6hbAuuO.d.mts} +2 -2
- package/dist/{hreflang-7pTHsLZJ.d.mts.map → hreflang-B6hbAuuO.d.mts.map} +1 -1
- package/dist/{hreflang-Huc6O5wa.mjs → hreflang-DQbPZliA.mjs} +6 -6
- package/dist/{hreflang-Huc6O5wa.mjs.map → hreflang-DQbPZliA.mjs.map} +1 -1
- package/dist/{identity-DXmb4aVp.mjs → identity-DksvEazf.mjs} +3 -3
- package/dist/{identity-DXmb4aVp.mjs.map → identity-DksvEazf.mjs.map} +1 -1
- package/dist/{import-C4_O3KXU.mjs → import-CJpaBBBT.mjs} +5 -5
- package/dist/{import-C4_O3KXU.mjs.map → import-CJpaBBBT.mjs.map} +1 -1
- package/dist/{index-DWbJrsAg.d.mts → index-BJNMCWmu.d.mts} +158 -49
- package/dist/index-BJNMCWmu.d.mts.map +1 -0
- package/dist/{index-6bRee8zb.d.mts → index-Du8K7bWa.d.mts} +3 -3
- package/dist/{index-6bRee8zb.d.mts.map → index-Du8K7bWa.d.mts.map} +1 -1
- package/dist/index.d.mts +22 -21
- package/dist/index.mjs +70 -70
- package/dist/{load-Bo7fZAbg.mjs → load-CawHjTOH.mjs} +2 -2
- package/dist/{load-Bo7fZAbg.mjs.map → load-CawHjTOH.mjs.map} +1 -1
- package/dist/{loader-ZsjE4paL.mjs → loader-Z8vl7zTq.mjs} +48 -13
- package/dist/loader-Z8vl7zTq.mjs.map +1 -0
- package/dist/{manifest-builder-QXuqvVMP.mjs → manifest-builder-COtzuca2.mjs} +2 -2
- package/dist/{manifest-builder-QXuqvVMP.mjs.map → manifest-builder-COtzuca2.mjs.map} +1 -1
- package/dist/{manifest-schema-CUYPfCEH.mjs → manifest-schema-BNWwR8Vd.mjs} +5 -5
- package/dist/manifest-schema-BNWwR8Vd.mjs.map +1 -0
- package/dist/media/image-endpoint.d.mts +4 -2
- package/dist/media/image-endpoint.d.mts.map +1 -1
- package/dist/media/image-endpoint.mjs +6 -4
- package/dist/media/image-endpoint.mjs.map +1 -1
- package/dist/media/index.d.mts +1 -1
- package/dist/media/index.mjs +1 -1
- package/dist/media/local-runtime.d.mts +12 -12
- package/dist/media/local-runtime.mjs +4 -4
- package/dist/{media-D6SeAfBl.mjs → media-BBm8Wg3f.mjs} +30 -2
- package/dist/media-BBm8Wg3f.mjs.map +1 -0
- package/dist/{media-BjwNuLEu.mjs → media-BHjus86Y.mjs} +35 -5
- package/dist/media-BHjus86Y.mjs.map +1 -0
- package/dist/{media-allowlist-D35v7bmL.mjs → media-allowlist-CoTBWoDp.mjs} +1 -1
- package/dist/{media-allowlist-D35v7bmL.mjs.map → media-allowlist-CoTBWoDp.mjs.map} +1 -1
- package/dist/{media-folders-D-0CmRZj.mjs → media-folders-BGkATs8n.mjs} +1 -1
- package/dist/{media-folders-D-0CmRZj.mjs.map → media-folders-BGkATs8n.mjs.map} +1 -1
- package/dist/{media-upload-C7bLXGcI.mjs → media-upload-BCidR-EY.mjs} +6 -6
- package/dist/{media-upload-C7bLXGcI.mjs.map → media-upload-BCidR-EY.mjs.map} +1 -1
- package/dist/{media-url-DH7giMx_.mjs → media-url-DHoPr0hq.mjs} +1 -1
- package/dist/{media-url-DH7giMx_.mjs.map → media-url-DHoPr0hq.mjs.map} +1 -1
- package/dist/{media-usage-BTRJvS6V.mjs → media-usage-CdY5jhSR.mjs} +8 -8
- package/dist/{media-usage-BTRJvS6V.mjs.map → media-usage-CdY5jhSR.mjs.map} +1 -1
- package/dist/{media-usage-activation-Dx0kPV6b.mjs → media-usage-activation-BgeMtK5C.mjs} +2 -2
- package/dist/{media-usage-activation-Dx0kPV6b.mjs.map → media-usage-activation-BgeMtK5C.mjs.map} +1 -1
- package/dist/{media-usage-work-DWb2XPMI.mjs → media-usage-work-CnGCdHxx.mjs} +4 -4
- package/dist/{media-usage-work-DWb2XPMI.mjs.map → media-usage-work-CnGCdHxx.mjs.map} +1 -1
- package/dist/{media-usage-work-C-fhM30c.mjs → media-usage-work-D6D9sMCA.mjs} +1 -1
- package/dist/{media-usage-work-C-fhM30c.mjs.map → media-usage-work-D6D9sMCA.mjs.map} +1 -1
- package/dist/{media-usage-write-fence-BwoJVRDC.mjs → media-usage-write-fence-hjeD4u7s.mjs} +2 -2
- package/dist/{media-usage-write-fence-BwoJVRDC.mjs.map → media-usage-write-fence-hjeD4u7s.mjs.map} +1 -1
- package/dist/{menus-CNg0QlDt.mjs → menus-6qSwTNxG.mjs} +346 -94
- package/dist/menus-6qSwTNxG.mjs.map +1 -0
- package/dist/{menus-CD7EFLwz.mjs → menus-uvPLXMZf.mjs} +3 -3
- package/dist/{menus-CD7EFLwz.mjs.map → menus-uvPLXMZf.mjs.map} +1 -1
- package/dist/migrations/index.d.mts +1 -1
- package/dist/migrations/index.mjs +3 -3
- package/dist/{mode-DaUM_MB2.mjs → mode-DN_WneRx.mjs} +1 -1
- package/dist/{mode-DaUM_MB2.mjs.map → mode-DN_WneRx.mjs.map} +1 -1
- package/dist/{node-sqlite-compat-Udb4Y-rs.mjs → node-sqlite-compat-BuJXIeMz.mjs} +1 -1
- package/dist/{node-sqlite-compat-Udb4Y-rs.mjs.map → node-sqlite-compat-BuJXIeMz.mjs.map} +1 -1
- package/dist/{normalize-CSxdKBVa.mjs → normalize-C2xNjTSG.mjs} +15 -5
- package/dist/normalize-C2xNjTSG.mjs.map +1 -0
- package/dist/{oauth-authorization-Dpsb-fMJ.mjs → oauth-authorization-Dj6Kwc21.mjs} +4 -4
- package/dist/{oauth-authorization-Dpsb-fMJ.mjs.map → oauth-authorization-Dj6Kwc21.mjs.map} +1 -1
- package/dist/{oauth-clients-Bxnoe_67.mjs → oauth-clients-FD7I0J8m.mjs} +1 -1
- package/dist/{oauth-clients-Bxnoe_67.mjs.map → oauth-clients-FD7I0J8m.mjs.map} +1 -1
- package/dist/{oauth-state-store-0C4s0K6w.mjs → oauth-state-store-DkmDOmHs.mjs} +1 -1
- package/dist/{oauth-state-store-0C4s0K6w.mjs.map → oauth-state-store-DkmDOmHs.mjs.map} +1 -1
- package/dist/{oauth-user-lookup-wlGYSeqX.mjs → oauth-user-lookup-CvIwGpYd.mjs} +1 -1
- package/dist/{oauth-user-lookup-wlGYSeqX.mjs.map → oauth-user-lookup-CvIwGpYd.mjs.map} +1 -1
- package/dist/object-cache/memory.d.mts +1 -1
- package/dist/{object-cache-71tPfV4A.mjs → object-cache-DVKnyOfy.mjs} +19 -3
- package/dist/object-cache-DVKnyOfy.mjs.map +1 -0
- package/dist/{options-BhZIeFY1.d.mts → options-CYb4y7hM.d.mts} +24 -11
- package/dist/options-CYb4y7hM.d.mts.map +1 -0
- package/dist/page/index.d.mts +2 -2
- package/dist/{parse-BRJg1kz8.mjs → parse-Ckpg-Qfp.mjs} +2 -2
- package/dist/{parse-BRJg1kz8.mjs.map → parse-Ckpg-Qfp.mjs.map} +1 -1
- package/dist/{passkey-config-B3P0nHRR.mjs → passkey-config-O_lj3y0k.mjs} +1 -1
- package/dist/{passkey-config-B3P0nHRR.mjs.map → passkey-config-O_lj3y0k.mjs.map} +1 -1
- package/dist/{placeholder-BR4ZhVJl.d.mts → placeholder-4X9BrRrp.d.mts} +1 -1
- package/dist/{placeholder-BR4ZhVJl.d.mts.map → placeholder-4X9BrRrp.d.mts.map} +1 -1
- package/dist/plugin-types.d.mts +8 -3
- package/dist/plugin-types.d.mts.map +1 -1
- package/dist/plugin-utils.d.mts +10 -10
- package/dist/plugins/adapt-sandbox-entry.d.mts +10 -10
- package/dist/plugins/adapt-sandbox-entry.mjs +2 -2
- package/dist/{policy-BVRganJQ.mjs → policy-Dhtwntrt.mjs} +2 -2
- package/dist/{policy-BVRganJQ.mjs.map → policy-Dhtwntrt.mjs.map} +1 -1
- package/dist/{portable-text-C8Tvp4_g.mjs → portable-text-U85hOafW.mjs} +1 -1
- package/dist/{portable-text-C8Tvp4_g.mjs.map → portable-text-U85hOafW.mjs.map} +1 -1
- package/dist/{preview-dn2dUyM0.mjs → preview-B_vJLvf8.mjs} +2 -2
- package/dist/{preview-dn2dUyM0.mjs.map → preview-B_vJLvf8.mjs.map} +1 -1
- package/dist/{protocol-CuBEsqgE.d.mts → protocol-JdD2YhY9.d.mts} +2 -2
- package/dist/{protocol-CuBEsqgE.d.mts.map → protocol-JdD2YhY9.d.mts.map} +1 -1
- package/dist/{public-url-DRz_AinV.mjs → public-url-CarhZJgf.mjs} +1 -1
- package/dist/{public-url-DRz_AinV.mjs.map → public-url-CarhZJgf.mjs.map} +1 -1
- package/dist/{query-D18vTdha.mjs → query-BZKZcG5b.mjs} +14 -14
- package/dist/{query-D18vTdha.mjs.map → query-BZKZcG5b.mjs.map} +1 -1
- package/dist/{query-tZDEdtCN.mjs → query-BndaFxxp.mjs} +4 -4
- package/dist/{query-tZDEdtCN.mjs.map → query-BndaFxxp.mjs.map} +1 -1
- package/dist/{rate-limit-on7KPo-v.mjs → rate-limit-BZmATC6W.mjs} +2 -2
- package/dist/{rate-limit-on7KPo-v.mjs.map → rate-limit-BZmATC6W.mjs.map} +1 -1
- package/dist/{redirect-DrbEmU9a.mjs → redirect-CzqnLxK-.mjs} +1 -1
- package/dist/{redirect-DrbEmU9a.mjs.map → redirect-CzqnLxK-.mjs.map} +1 -1
- package/dist/{redirects-CRIM55KH.mjs → redirects-BLNOWQTn.mjs} +63 -28
- package/dist/redirects-BLNOWQTn.mjs.map +1 -0
- package/dist/{redirects-BahWiu8Z.mjs → redirects-CqzNM0KM.mjs} +2 -2
- package/dist/{redirects-BahWiu8Z.mjs.map → redirects-CqzNM0KM.mjs.map} +1 -1
- package/dist/{registry-Cx-jEJOS.mjs → registry-AZAsRsor.mjs} +27 -9
- package/dist/registry-AZAsRsor.mjs.map +1 -0
- package/dist/{relation-A6wLF_DS.mjs → relation-04DfKRTO.mjs} +2 -2
- package/dist/{relation-A6wLF_DS.mjs.map → relation-04DfKRTO.mjs.map} +1 -1
- package/dist/{relations-BTPM2saV.mjs → relations-C4htk5sb.mjs} +7 -7
- package/dist/relations-C4htk5sb.mjs.map +1 -0
- package/dist/{relations-Cj5hZ6Zg.mjs → relations-CcFwDJdJ.mjs} +4 -4
- package/dist/{relations-Cj5hZ6Zg.mjs.map → relations-CcFwDJdJ.mjs.map} +1 -1
- package/dist/{relations-C7B46bcU.d.mts → relations-DnRK4YIT.d.mts} +175 -41
- package/dist/relations-DnRK4YIT.d.mts.map +1 -0
- package/dist/request-context.d.mts +1 -1
- package/dist/{request-meta-DRp5ENd_.mjs → request-meta-DYxLlnmz.mjs} +2 -2
- package/dist/{request-meta-DRp5ENd_.mjs.map → request-meta-DYxLlnmz.mjs.map} +1 -1
- package/dist/{resolve-DxUpTMmE.mjs → resolve-prZ3mP7l.mjs} +1 -1
- package/dist/{resolve-DxUpTMmE.mjs.map → resolve-prZ3mP7l.mjs.map} +1 -1
- package/dist/{runner-77GOZCnH.mjs → runner-BLIDKpmA.mjs} +351 -294
- package/dist/runner-BLIDKpmA.mjs.map +1 -0
- package/dist/{runner-zgqA_CqP.d.mts → runner-YKfIMnaF.d.mts} +3 -2
- package/dist/runner-YKfIMnaF.d.mts.map +1 -0
- package/dist/runtime.d.mts +11 -11
- package/dist/runtime.mjs +1 -1
- package/dist/{schema-BY-oVntF.mjs → schema-CGnBeLiW.mjs} +3 -3
- package/dist/{schema-BY-oVntF.mjs.map → schema-CGnBeLiW.mjs.map} +1 -1
- package/dist/{schema-Cw9kVK0I.mjs → schema-DYr-Vd-L.mjs} +5 -5
- package/dist/{schema-Cw9kVK0I.mjs.map → schema-DYr-Vd-L.mjs.map} +1 -1
- package/dist/{scopes-vMR1uIbt.mjs → scopes-BhWvBavj.mjs} +3 -3
- package/dist/{scopes-vMR1uIbt.mjs.map → scopes-BhWvBavj.mjs.map} +1 -1
- package/dist/{search-CfT3KxO5.mjs → search-C-qDk4kx.mjs} +4 -4
- package/dist/{search-CfT3KxO5.mjs.map → search-C-qDk4kx.mjs.map} +1 -1
- package/dist/{secrets-BH2Qow1-.mjs → secrets-rEtHt-6z.mjs} +1 -1
- package/dist/{secrets-BH2Qow1-.mjs.map → secrets-rEtHt-6z.mjs.map} +1 -1
- package/dist/{sections-DTfjyf1z.mjs → sections-B_nYvlwn.mjs} +2 -2
- package/dist/{sections-DTfjyf1z.mjs.map → sections-B_nYvlwn.mjs.map} +1 -1
- package/dist/seed/index.d.mts +2 -2
- package/dist/seed/index.mjs +18 -18
- package/dist/seo/index.d.mts +3 -3
- package/dist/seo/index.mjs +13 -13
- package/dist/{seo-Cm-dtvgk.mjs → seo-926NRIgt.mjs} +3 -3
- package/dist/{seo-Cm-dtvgk.mjs.map → seo-926NRIgt.mjs.map} +1 -1
- package/dist/{seo-BSiTIXzd.mjs → seo-CVWkdv6x.mjs} +1 -1
- package/dist/{seo-BSiTIXzd.mjs.map → seo-CVWkdv6x.mjs.map} +1 -1
- package/dist/{service-DYsDHEKe.mjs → service-CJl3ZAYs.mjs} +3 -3
- package/dist/{service-DYsDHEKe.mjs.map → service-CJl3ZAYs.mjs.map} +1 -1
- package/dist/{session-user-CNAfvsdw.mjs → session-user-BlMgqCHS.mjs} +1 -1
- package/dist/{session-user-CNAfvsdw.mjs.map → session-user-BlMgqCHS.mjs.map} +1 -1
- package/dist/{settings-BgN-0DT-.mjs → settings--wobrkkC.mjs} +18 -5
- package/dist/settings--wobrkkC.mjs.map +1 -0
- package/dist/{settings-DjtkUo__.mjs → settings-Cwm6o2jY.mjs} +3 -3
- package/dist/{settings-DjtkUo__.mjs.map → settings-Cwm6o2jY.mjs.map} +1 -1
- package/dist/{setup-complete-CcpXaPU7.mjs → setup-complete-DQbClIN2.mjs} +1 -1
- package/dist/{setup-complete-CcpXaPU7.mjs.map → setup-complete-DQbClIN2.mjs.map} +1 -1
- package/dist/{setup-nonce-Reyw30jg.mjs → setup-nonce-DZCFS2sn.mjs} +1 -1
- package/dist/{setup-nonce-Reyw30jg.mjs.map → setup-nonce-DZCFS2sn.mjs.map} +1 -1
- package/dist/{site-url-Cs_V9n3V.mjs → site-url-BrxA_E9H.mjs} +2 -2
- package/dist/{site-url-Cs_V9n3V.mjs.map → site-url-BrxA_E9H.mjs.map} +1 -1
- package/dist/{snapshot-DSB8P7Lm.mjs → snapshot--OCDTqdb.mjs} +1 -1
- package/dist/{snapshot-DSB8P7Lm.mjs.map → snapshot--OCDTqdb.mjs.map} +1 -1
- package/dist/{ssrf-DqebVE34.mjs → ssrf-5sIM5jzl.mjs} +4 -3
- package/dist/{ssrf-DqebVE34.mjs.map → ssrf-5sIM5jzl.mjs.map} +1 -1
- package/dist/{state-BJfU9Uzw.mjs → state-BpFVsJZB.mjs} +1 -1
- package/dist/{state-BJfU9Uzw.mjs.map → state-BpFVsJZB.mjs.map} +1 -1
- package/dist/{status-DDu8HIQl.mjs → status-B777-dXz.mjs} +1 -1
- package/dist/{status-DDu8HIQl.mjs.map → status-B777-dXz.mjs.map} +1 -1
- package/dist/storage/local.d.mts +2 -1
- package/dist/storage/local.d.mts.map +1 -1
- package/dist/storage/local.mjs +1 -1
- package/dist/storage/local.mjs.map +1 -1
- package/dist/storage/s3.d.mts +2 -1
- package/dist/storage/s3.d.mts.map +1 -1
- package/dist/storage/s3.mjs +3 -2
- package/dist/storage/s3.mjs.map +1 -1
- package/dist/{target-D0o26Azo.mjs → target-BmR0iTwz.mjs} +1 -1
- package/dist/{target-D0o26Azo.mjs.map → target-BmR0iTwz.mjs.map} +1 -1
- package/dist/{taxonomies-CPGxo-bn.mjs → taxonomies-DkAkMupr.mjs} +16 -13
- package/dist/taxonomies-DkAkMupr.mjs.map +1 -0
- package/dist/{taxonomies-kmyudNGP.mjs → taxonomies-Wfy_Lg12.mjs} +42 -16
- package/dist/taxonomies-Wfy_Lg12.mjs.map +1 -0
- package/dist/{taxonomy-8X09dLN5.mjs → taxonomy-tJepplLL.mjs} +4 -4
- package/dist/{taxonomy-8X09dLN5.mjs.map → taxonomy-tJepplLL.mjs.map} +1 -1
- package/dist/{tokens-gTS-IVUp.mjs → tokens-BCO1oruF.mjs} +1 -1
- package/dist/{tokens-gTS-IVUp.mjs.map → tokens-BCO1oruF.mjs.map} +1 -1
- package/dist/{transport-fX59xaJz.mjs → transport-Dr3qtwXC.mjs} +1 -1
- package/dist/{transport-fX59xaJz.mjs.map → transport-Dr3qtwXC.mjs.map} +1 -1
- package/dist/{transport-_6R1ub7t.d.mts → transport-xh6YKW2G.d.mts} +1 -1
- package/dist/{transport-_6R1ub7t.d.mts.map → transport-xh6YKW2G.d.mts.map} +1 -1
- package/dist/{trusted-proxy-fe6nEgR4.mjs → trusted-proxy-BR5F1Otp.mjs} +1 -1
- package/dist/{trusted-proxy-fe6nEgR4.mjs.map → trusted-proxy-BR5F1Otp.mjs.map} +1 -1
- package/dist/{types-BXUmsINL.mjs → types-3qNFPlci.mjs} +1 -1
- package/dist/{types-BXUmsINL.mjs.map → types-3qNFPlci.mjs.map} +1 -1
- package/dist/{types-Vg6f5i3s.d.mts → types-B6GrPic4.d.mts} +9 -3
- package/dist/{types-Vg6f5i3s.d.mts.map → types-B6GrPic4.d.mts.map} +1 -1
- package/dist/{types-DJQxln7q.d.mts → types-BuHW4xDE.d.mts} +11 -10
- package/dist/types-BuHW4xDE.d.mts.map +1 -0
- package/dist/{types-BzBd3PeX.d.mts → types-C00oyCZp.d.mts} +1 -1
- package/dist/{types-BzBd3PeX.d.mts.map → types-C00oyCZp.d.mts.map} +1 -1
- package/dist/{types-Blb-MRC3.d.mts → types-CDtkNSFQ.d.mts} +1 -1
- package/dist/{types-Blb-MRC3.d.mts.map → types-CDtkNSFQ.d.mts.map} +1 -1
- package/dist/{types-D5VVLr7J.d.mts → types-CPeXo1wF.d.mts} +1 -1
- package/dist/{types-D5VVLr7J.d.mts.map → types-CPeXo1wF.d.mts.map} +1 -1
- package/dist/types-CQPWhPxE.mjs.map +1 -1
- package/dist/{types-D_DWe7k9.d.mts → types-CXFkwEGC.d.mts} +3 -2
- package/dist/types-CXFkwEGC.d.mts.map +1 -0
- package/dist/{types-CLqvnd05.d.mts → types-DczELMop.d.mts} +1 -1
- package/dist/{types-CLqvnd05.d.mts.map → types-DczELMop.d.mts.map} +1 -1
- package/dist/types-DfuTR6dL.mjs +3 -0
- package/dist/{types-DHxzBjbD.d.mts → types-FV23hEoW.d.mts} +1 -1
- package/dist/{types-DHxzBjbD.d.mts.map → types-FV23hEoW.d.mts.map} +1 -1
- package/dist/{types-Br-ERaxh.d.mts → types-xDMtUFnO.d.mts} +1 -1
- package/dist/{types-Br-ERaxh.d.mts.map → types-xDMtUFnO.d.mts.map} +1 -1
- package/dist/{upload-attempts-CNyGSepg.mjs → upload-attempts-BsqoQ1fn.mjs} +1 -1
- package/dist/{upload-attempts-CNyGSepg.mjs.map → upload-attempts-BsqoQ1fn.mjs.map} +1 -1
- package/dist/{url-pattern-K-KdXcSe.mjs → url-pattern-D4c2czpJ.mjs} +1 -1
- package/dist/{url-pattern-K-KdXcSe.mjs.map → url-pattern-D4c2czpJ.mjs.map} +1 -1
- package/dist/{user-CtYY0tp2.mjs → user-BTZ40aq6.mjs} +2 -2
- package/dist/{user-CtYY0tp2.mjs.map → user-BTZ40aq6.mjs.map} +1 -1
- package/dist/{utils-HztC73hq.mjs → utils-BKvNjjhY.mjs} +1 -1
- package/dist/{utils-HztC73hq.mjs.map → utils-BKvNjjhY.mjs.map} +1 -1
- package/dist/{validate-Dd-IUjnZ.mjs → validate-DE_LRwo9.mjs} +2 -2
- package/dist/{validate-Dd-IUjnZ.mjs.map → validate-DE_LRwo9.mjs.map} +1 -1
- package/dist/{validate-DlqdOZXB.d.mts → validate-DUP27OYD.d.mts} +5 -5
- package/dist/{validate-DlqdOZXB.d.mts.map → validate-DUP27OYD.d.mts.map} +1 -1
- package/dist/{validation-D83n7Npi.mjs → validation-BMImFJ11.mjs} +8 -8
- package/dist/{validation-D83n7Npi.mjs.map → validation-BMImFJ11.mjs.map} +1 -1
- package/dist/version-Bii3suaO.mjs +7 -0
- package/dist/{version-ri-sCyAp.mjs.map → version-Bii3suaO.mjs.map} +1 -1
- package/dist/{widgets-CpmZd9Q-.mjs → widgets-D3gJ10xU.mjs} +17 -4
- package/dist/widgets-D3gJ10xU.mjs.map +1 -0
- package/dist/{wxr-taxonomies-BFd0y72_.d.mts → wxr-taxonomies-B2Og_6rU.d.mts} +1 -1
- package/dist/{wxr-taxonomies-BFd0y72_.d.mts.map → wxr-taxonomies-B2Og_6rU.d.mts.map} +1 -1
- package/dist/{wxr-taxonomies-Df4vxWcU.mjs → wxr-taxonomies-Cxngsjwo.mjs} +4 -4
- package/dist/{wxr-taxonomies-Df4vxWcU.mjs.map → wxr-taxonomies-Cxngsjwo.mjs.map} +1 -1
- package/dist/{zod-generator-DylzusHh.mjs → zod-generator-BuYSQJB7.mjs} +11 -7
- package/dist/zod-generator-BuYSQJB7.mjs.map +1 -0
- package/package.json +12 -9
- package/src/api/errors.ts +2 -0
- package/src/api/handlers/content.ts +49 -11
- package/src/api/handlers/index.ts +1 -0
- package/src/api/handlers/manifest.ts +161 -12
- package/src/api/handlers/media.ts +30 -0
- package/src/api/handlers/registry.ts +393 -289
- package/src/api/handlers/taxonomies.ts +16 -9
- package/src/api/openapi/document.ts +85 -5
- package/src/api/parse.ts +1 -1
- package/src/api/schemas/auth.ts +4 -4
- package/src/api/schemas/bylines.ts +3 -3
- package/src/api/schemas/comments.ts +1 -1
- package/src/api/schemas/common.ts +3 -2
- package/src/api/schemas/content.ts +78 -22
- package/src/api/schemas/media.ts +52 -0
- package/src/api/schemas/redirects.ts +6 -1
- package/src/api/schemas/schema.ts +4 -0
- package/src/api/schemas/setup.ts +1 -1
- package/src/api/schemas/taxonomies.ts +2 -2
- package/src/api/schemas/users.ts +1 -1
- package/src/api/types.ts +23 -10
- package/src/astro/dev-typegen.ts +35 -0
- package/src/astro/image-endpoint.ts +2 -2
- package/src/astro/integration/dev-typegen.ts +91 -0
- package/src/astro/integration/index.ts +9 -44
- package/src/astro/integration/routes.ts +5 -0
- package/src/astro/integration/vite-config.ts +21 -2
- package/src/astro/middleware.ts +5 -0
- package/src/astro/routes/api/admin/api-tokens/index.ts +4 -1
- package/src/astro/routes/api/admin/oauth-clients/[id].ts +1 -1
- package/src/astro/routes/api/admin/oauth-clients/index.ts +1 -1
- package/src/astro/routes/api/admin/plugins/registry/[id]/update.ts +4 -0
- package/src/astro/routes/api/admin/plugins/registry/artifact.ts +3 -7
- package/src/astro/routes/api/admin/plugins/registry/install.ts +4 -0
- package/src/astro/routes/api/admin/plugins/registry/verify.ts +60 -0
- package/src/astro/routes/api/content/[collection]/[id]/discard-draft.ts +8 -2
- package/src/astro/routes/api/content/[collection]/[id]/publish.ts +2 -1
- package/src/astro/routes/api/content/[collection]/[id]/unpublish.ts +6 -2
- package/src/astro/routes/api/manifest.ts +1 -1
- package/src/astro/routes/api/media/[id]/replace.ts +114 -0
- package/src/astro/routes/api/media/file/[...key].ts +4 -1
- package/src/astro/routes/api/media/upload-url.ts +8 -4
- package/src/astro/routes/api/media.ts +54 -8
- package/src/astro/routes/api/menus/[name]/items/[id].ts +7 -2
- package/src/astro/routes/api/menus/[name]/items.ts +4 -1
- package/src/astro/routes/api/menus/[name]/reorder.ts +4 -1
- package/src/astro/routes/api/menus/[name]/translations.ts +4 -1
- package/src/astro/routes/api/menus/[name].ts +7 -2
- package/src/astro/routes/api/menus/index.ts +4 -1
- package/src/astro/routes/api/settings/email.ts +1 -1
- package/src/astro/routes/api/settings.ts +4 -1
- package/src/astro/routes/api/taxonomies/[name]/reorder.ts +4 -1
- package/src/astro/routes/api/taxonomies/[name]/terms/[slug]/translations.ts +4 -1
- package/src/astro/routes/api/taxonomies/[name]/terms/[slug].ts +7 -2
- package/src/astro/routes/api/taxonomies/[name]/terms/index.ts +4 -1
- package/src/astro/routes/api/taxonomies/[name].ts +7 -2
- package/src/astro/routes/api/taxonomies/index.ts +4 -1
- package/src/astro/routes/api/widget-areas/[name]/reorder.ts +3 -1
- package/src/astro/routes/api/widget-areas/[name]/widgets/[id].ts +5 -2
- package/src/astro/routes/api/widget-areas/[name]/widgets.ts +3 -1
- package/src/astro/routes/api/widget-areas/[name].ts +3 -1
- package/src/astro/routes/api/widget-areas/index.ts +3 -1
- package/src/astro/types.ts +23 -5
- package/src/auth/challenge-store.ts +3 -1
- package/src/aws-sdk.d.ts +1 -0
- package/src/cache/chrome-tags.ts +24 -0
- package/src/components/EmDashImage.astro +2 -1
- package/src/components/EmDashMedia.astro +2 -1
- package/src/components/InlinePortableTextEditor.tsx +6 -1
- package/src/components/widgets/Archives.astro +2 -37
- package/src/content/converters/index.ts +2 -0
- package/src/content/converters/mark-safety.ts +1 -0
- package/src/content/converters/portable-text-identity.ts +139 -0
- package/src/content/converters/portable-text-to-prosemirror.ts +202 -69
- package/src/content/converters/prosemirror-to-portable-text.ts +96 -25
- package/src/content/converters/types.ts +1 -0
- package/src/database/migrations/017_authorization_codes.ts +14 -4
- package/src/database/migrations/074_content_deleted_scheduled_index.ts +55 -0
- package/src/database/migrations/runner.ts +3 -1
- package/src/database/repositories/byline.ts +32 -16
- package/src/database/repositories/content.ts +114 -47
- package/src/database/repositories/media-usage.ts +66 -37
- package/src/database/repositories/media.ts +60 -1
- package/src/database/repositories/plugin-storage.ts +74 -9
- package/src/database/repositories/types.ts +8 -7
- package/src/db/adapters.ts +8 -1
- package/src/db/postgres.ts +23 -0
- package/src/emdash-runtime.ts +80 -150
- package/src/fields/boolean.ts +1 -1
- package/src/fields/datetime.ts +1 -1
- package/src/fields/file.ts +1 -1
- package/src/fields/integer.ts +1 -1
- package/src/fields/json.ts +1 -1
- package/src/fields/multiselect.ts +1 -1
- package/src/fields/number.ts +1 -1
- package/src/fields/portable-text.ts +1 -1
- package/src/fields/richtext.ts +1 -1
- package/src/fields/select.ts +1 -1
- package/src/fields/slug.ts +1 -1
- package/src/fields/text.ts +1 -1
- package/src/fields/textarea.ts +1 -1
- package/src/fields/types.ts +2 -2
- package/src/index.ts +25 -3
- package/src/loader.ts +63 -10
- package/src/mcp/server.ts +228 -24
- package/src/media/image-endpoint.ts +5 -2
- package/src/media/normalize.ts +15 -4
- package/src/media/usage/cleanup.ts +9 -8
- package/src/menus/index.ts +16 -0
- package/src/object-cache/index.ts +44 -2
- package/src/plugin-types.ts +18 -1
- package/src/plugins/hooks.ts +4 -1
- package/src/plugins/index.ts +6 -0
- package/src/plugins/manager.ts +2 -1
- package/src/plugins/manifest-schema.ts +1 -1
- package/src/plugins/routes.ts +3 -1
- package/src/plugins/sandbox/hook-result.ts +52 -0
- package/src/plugins/sandbox/index.ts +10 -0
- package/src/plugins/types.ts +6 -0
- package/src/registry/artifact-checksum.ts +15 -0
- package/src/registry/artifact-verification.ts +85 -0
- package/src/registry/authoritative-records.ts +180 -0
- package/src/registry/record-labels.ts +28 -0
- package/src/schema/registry.ts +26 -3
- package/src/schema/zod-generator.ts +16 -13
- package/src/security/ssrf.ts +5 -2
- package/src/settings/index.ts +16 -0
- package/src/storage/local.ts +1 -0
- package/src/storage/s3.ts +2 -0
- package/src/storage/types.ts +2 -0
- package/src/taxonomies/index.ts +40 -20
- package/src/widgets/archives.ts +67 -0
- package/src/widgets/index.ts +16 -0
- package/dist/api-B0w3uBiG.mjs +0 -2269
- package/dist/api-B0w3uBiG.mjs.map +0 -1
- package/dist/byline-Cpnwrje1.mjs.map +0 -1
- package/dist/challenge-store-D5pSY2S1.mjs.map +0 -1
- package/dist/content-CP-SeXNa.mjs.map +0 -1
- package/dist/content-refresh-DLOfIhYc.mjs.map +0 -1
- package/dist/context-BR5hRWiK.mjs.map +0 -1
- package/dist/errors-n2j49uNf.mjs.map +0 -1
- package/dist/index-DWbJrsAg.d.mts.map +0 -1
- package/dist/loader-ZsjE4paL.mjs.map +0 -1
- package/dist/manifest-schema-CUYPfCEH.mjs.map +0 -1
- package/dist/media-BjwNuLEu.mjs.map +0 -1
- package/dist/media-D6SeAfBl.mjs.map +0 -1
- package/dist/menus-CNg0QlDt.mjs.map +0 -1
- package/dist/normalize-CSxdKBVa.mjs.map +0 -1
- package/dist/object-cache-71tPfV4A.mjs.map +0 -1
- package/dist/options-BhZIeFY1.d.mts.map +0 -1
- package/dist/redirects-CRIM55KH.mjs.map +0 -1
- package/dist/registry-BiO5WwPq.mjs +0 -2716
- package/dist/registry-BiO5WwPq.mjs.map +0 -1
- package/dist/registry-Cx-jEJOS.mjs.map +0 -1
- package/dist/relations-BTPM2saV.mjs.map +0 -1
- package/dist/relations-C7B46bcU.d.mts.map +0 -1
- package/dist/runner-77GOZCnH.mjs.map +0 -1
- package/dist/runner-zgqA_CqP.d.mts.map +0 -1
- package/dist/settings-BgN-0DT-.mjs.map +0 -1
- package/dist/taxonomies-CPGxo-bn.mjs.map +0 -1
- package/dist/taxonomies-kmyudNGP.mjs.map +0 -1
- package/dist/types-D6OcIp2P.mjs +0 -3
- package/dist/types-DJQxln7q.d.mts.map +0 -1
- package/dist/types-D_DWe7k9.d.mts.map +0 -1
- package/dist/version-ri-sCyAp.mjs +0 -7
- package/dist/widgets-CpmZd9Q-.mjs.map +0 -1
- package/dist/zod-generator-DylzusHh.mjs.map +0 -1
- /package/dist/{api-tokens-B5NHLNUN.mjs → api-tokens-BfYts-sq.mjs} +0 -0
- /package/dist/{ssrf-BPKzkm6O.mjs → ssrf-Dg3cIT-b.mjs} +0 -0
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import "../../../../../config-C3EBstHi.mjs";
|
|
2
2
|
import "../../../../../base64-CvLhUKQv.mjs";
|
|
3
3
|
import "../../../../../types-CQPWhPxE.mjs";
|
|
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 "../../../../../media-
|
|
7
|
-
import { S as allowedDomainUpdateBody } from "../../../../../redirects-
|
|
8
|
-
import "../../../../../relations-
|
|
9
|
-
import "../../../../../status-
|
|
4
|
+
import { n as apiSuccess, r as handleError, t as apiError } from "../../../../../error-DFrQjppn.mjs";
|
|
5
|
+
import { n as parseBody, t as isParseError } from "../../../../../parse-Ckpg-Qfp.mjs";
|
|
6
|
+
import "../../../../../media-BHjus86Y.mjs";
|
|
7
|
+
import { S as allowedDomainUpdateBody } from "../../../../../redirects-BLNOWQTn.mjs";
|
|
8
|
+
import "../../../../../relations-C4htk5sb.mjs";
|
|
9
|
+
import "../../../../../status-B777-dXz.mjs";
|
|
10
10
|
import "../../../../../api/schemas/index.mjs";
|
|
11
11
|
import { Role, roleFromLevel } from "@emdash-cms/auth";
|
|
12
12
|
import { createKyselyAdapter } from "@emdash-cms/auth/adapters/kysely";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import "../../../../../config-C3EBstHi.mjs";
|
|
2
2
|
import "../../../../../base64-CvLhUKQv.mjs";
|
|
3
3
|
import "../../../../../types-CQPWhPxE.mjs";
|
|
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 "../../../../../media-
|
|
7
|
-
import { x as allowedDomainCreateBody } from "../../../../../redirects-
|
|
8
|
-
import "../../../../../relations-
|
|
9
|
-
import "../../../../../status-
|
|
4
|
+
import { n as apiSuccess, r as handleError, t as apiError } from "../../../../../error-DFrQjppn.mjs";
|
|
5
|
+
import { n as parseBody, t as isParseError } from "../../../../../parse-Ckpg-Qfp.mjs";
|
|
6
|
+
import "../../../../../media-BHjus86Y.mjs";
|
|
7
|
+
import { x as allowedDomainCreateBody } from "../../../../../redirects-BLNOWQTn.mjs";
|
|
8
|
+
import "../../../../../relations-C4htk5sb.mjs";
|
|
9
|
+
import "../../../../../status-B777-dXz.mjs";
|
|
10
10
|
import "../../../../../api/schemas/index.mjs";
|
|
11
11
|
import { Role, roleFromLevel } from "@emdash-cms/auth";
|
|
12
12
|
import { createKyselyAdapter } from "@emdash-cms/auth/adapters/kysely";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import "../../../../../base64-CvLhUKQv.mjs";
|
|
2
2
|
import "../../../../../types-CQPWhPxE.mjs";
|
|
3
|
-
import { a as unwrapResult, r as handleError, t as apiError } from "../../../../../error-
|
|
4
|
-
import "../../../../../api-tokens-
|
|
5
|
-
import { i as handleApiTokenRevoke } from "../../../../../api-tokens-
|
|
3
|
+
import { a as unwrapResult, r as handleError, t as apiError } from "../../../../../error-DFrQjppn.mjs";
|
|
4
|
+
import "../../../../../api-tokens-BfYts-sq.mjs";
|
|
5
|
+
import { i as handleApiTokenRevoke } from "../../../../../api-tokens-BSsQACNe.mjs";
|
|
6
6
|
import { Role } from "@emdash-cms/auth";
|
|
7
7
|
|
|
8
8
|
//#region src/astro/routes/api/admin/api-tokens/[id].ts
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.mts","names":[],"sources":["../../../../../../src/astro/routes/api/admin/api-tokens/index.ts"],"mappings":";;;cAgBa,SAAA;
|
|
1
|
+
{"version":3,"file":"index.d.mts","names":[],"sources":["../../../../../../src/astro/routes/api/admin/api-tokens/index.ts"],"mappings":";;;cAgBa,SAAA;AAeb;;;;AAAA,cAAa,GAAA,EAAK,QAAA;AAmBlB;;;;AAAA,cAAa,IAAA,EAAM,QAAA"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import "../../../../../base64-CvLhUKQv.mjs";
|
|
2
2
|
import "../../../../../types-CQPWhPxE.mjs";
|
|
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 { o as isValidScope } from "../../../../../api-tokens-
|
|
6
|
-
import { n as handleApiTokenCreate, r as handleApiTokenList } from "../../../../../api-tokens-
|
|
3
|
+
import { a as unwrapResult, r as handleError, t as apiError } from "../../../../../error-DFrQjppn.mjs";
|
|
4
|
+
import { n as parseBody, t as isParseError } from "../../../../../parse-Ckpg-Qfp.mjs";
|
|
5
|
+
import { o as isValidScope } from "../../../../../api-tokens-BfYts-sq.mjs";
|
|
6
|
+
import { n as handleApiTokenCreate, r as handleApiTokenList } from "../../../../../api-tokens-BSsQACNe.mjs";
|
|
7
7
|
import { z } from "zod";
|
|
8
8
|
import { Role } from "@emdash-cms/auth";
|
|
9
9
|
|
|
@@ -18,7 +18,7 @@ const prerender = false;
|
|
|
18
18
|
const createTokenSchema = z.object({
|
|
19
19
|
name: z.string().min(1).max(100),
|
|
20
20
|
scopes: z.array(z.string().refine(isValidScope)).min(1),
|
|
21
|
-
expiresAt: z.
|
|
21
|
+
expiresAt: z.iso.datetime().or(z.iso.datetime({ precision: -1 })).optional()
|
|
22
22
|
});
|
|
23
23
|
/**
|
|
24
24
|
* List API tokens for the current user.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","names":[],"sources":["../../../../../../src/astro/routes/api/admin/api-tokens/index.ts"],"sourcesContent":["/**\n * API token management endpoints\n *\n * GET /_emdash/api/admin/api-tokens — List tokens for current user\n * POST /_emdash/api/admin/api-tokens — Create a new token\n */\n\nimport { Role } from \"@emdash-cms/auth\";\nimport type { APIRoute } from \"astro\";\nimport { z } from \"zod\";\n\nimport { apiError, handleError, unwrapResult } from \"#api/error.js\";\nimport { handleApiTokenCreate, handleApiTokenList } from \"#api/handlers/api-tokens.js\";\nimport { isParseError, parseBody } from \"#api/parse.js\";\nimport { isValidScope } from \"#auth/api-tokens.js\";\n\nexport const prerender = false;\n\nconst createTokenSchema = z.object({\n\tname: z.string().min(1).max(100),\n\tscopes: z.array(z.string().refine(isValidScope)).min(1),\n\texpiresAt: z.
|
|
1
|
+
{"version":3,"file":"index.mjs","names":[],"sources":["../../../../../../src/astro/routes/api/admin/api-tokens/index.ts"],"sourcesContent":["/**\n * API token management endpoints\n *\n * GET /_emdash/api/admin/api-tokens — List tokens for current user\n * POST /_emdash/api/admin/api-tokens — Create a new token\n */\n\nimport { Role } from \"@emdash-cms/auth\";\nimport type { APIRoute } from \"astro\";\nimport { z } from \"zod\";\n\nimport { apiError, handleError, unwrapResult } from \"#api/error.js\";\nimport { handleApiTokenCreate, handleApiTokenList } from \"#api/handlers/api-tokens.js\";\nimport { isParseError, parseBody } from \"#api/parse.js\";\nimport { isValidScope } from \"#auth/api-tokens.js\";\n\nexport const prerender = false;\n\nconst createTokenSchema = z.object({\n\tname: z.string().min(1).max(100),\n\tscopes: z.array(z.string().refine(isValidScope)).min(1),\n\texpiresAt: z.iso\n\t\t.datetime()\n\t\t.or(z.iso.datetime({ precision: -1 }))\n\t\t.optional(),\n});\n\n/**\n * List API tokens for the current user.\n * Admins can list all tokens (future: add ?userId= filter).\n */\nexport const GET: APIRoute = async ({ locals }) => {\n\tconst { emdash, user } = locals;\n\n\tif (!emdash?.db) {\n\t\treturn apiError(\"NOT_CONFIGURED\", \"EmDash is not initialized\", 500);\n\t}\n\n\tif (!user || user.role < Role.ADMIN) {\n\t\treturn apiError(\"FORBIDDEN\", \"Admin privileges required\", 403);\n\t}\n\n\tconst result = await handleApiTokenList(emdash.db, user.id);\n\treturn unwrapResult(result);\n};\n\n/**\n * Create a new API token.\n * Returns the raw token once — it cannot be retrieved again.\n */\nexport const POST: APIRoute = async ({ request, locals }) => {\n\tconst { emdash, user } = locals;\n\n\tif (!emdash?.db) {\n\t\treturn apiError(\"NOT_CONFIGURED\", \"EmDash is not initialized\", 500);\n\t}\n\n\tif (!user || user.role < Role.ADMIN) {\n\t\treturn apiError(\"FORBIDDEN\", \"Admin privileges required\", 403);\n\t}\n\n\ttry {\n\t\tconst body = await parseBody(request, createTokenSchema);\n\t\tif (isParseError(body)) return body;\n\n\t\tconst result = await handleApiTokenCreate(emdash.db, user.id, body);\n\t\treturn unwrapResult(result, 201);\n\t} catch (error) {\n\t\treturn handleError(error, \"Failed to create API token\", \"TOKEN_CREATE_ERROR\");\n\t}\n};\n"],"mappings":";;;;;;;;;;;;;;;;AAgBA,MAAa,YAAY;AAEzB,MAAM,oBAAoB,EAAE,OAAO;CAClC,MAAM,EAAE,QAAQ,CAAC,IAAI,EAAE,CAAC,IAAI,IAAI;CAChC,QAAQ,EAAE,MAAM,EAAE,QAAQ,CAAC,OAAO,aAAa,CAAC,CAAC,IAAI,EAAE;CACvD,WAAW,EAAE,IACX,UAAU,CACV,GAAG,EAAE,IAAI,SAAS,EAAE,WAAW,IAAI,CAAC,CAAC,CACrC,UAAU;CACZ,CAAC;;;;;AAMF,MAAa,MAAgB,OAAO,EAAE,aAAa;CAClD,MAAM,EAAE,QAAQ,SAAS;AAEzB,KAAI,CAAC,QAAQ,GACZ,QAAO,SAAS,kBAAkB,6BAA6B,IAAI;AAGpE,KAAI,CAAC,QAAQ,KAAK,OAAO,KAAK,MAC7B,QAAO,SAAS,aAAa,6BAA6B,IAAI;AAI/D,QAAO,aADQ,MAAM,mBAAmB,OAAO,IAAI,KAAK,GAAG,CAChC;;;;;;AAO5B,MAAa,OAAiB,OAAO,EAAE,SAAS,aAAa;CAC5D,MAAM,EAAE,QAAQ,SAAS;AAEzB,KAAI,CAAC,QAAQ,GACZ,QAAO,SAAS,kBAAkB,6BAA6B,IAAI;AAGpE,KAAI,CAAC,QAAQ,KAAK,OAAO,KAAK,MAC7B,QAAO,SAAS,aAAa,6BAA6B,IAAI;AAG/D,KAAI;EACH,MAAM,OAAO,MAAM,UAAU,SAAS,kBAAkB;AACxD,MAAI,aAAa,KAAK,CAAE,QAAO;AAG/B,SAAO,aADQ,MAAM,qBAAqB,OAAO,IAAI,KAAK,IAAI,KAAK,EACvC,IAAI;UACxB,OAAO;AACf,SAAO,YAAY,OAAO,8BAA8B,qBAAqB"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import "../../../../../../base64-CvLhUKQv.mjs";
|
|
2
2
|
import "../../../../../../types-CQPWhPxE.mjs";
|
|
3
3
|
import "../../../../../../byline-registry-Bpu9-MVs.mjs";
|
|
4
|
-
import { a as unwrapResult, i as requireDb, t as apiError } from "../../../../../../error-
|
|
5
|
-
import { r as requirePerm } from "../../../../../../authorize-
|
|
6
|
-
import { s as handleBylineFieldUsage } from "../../../../../../byline-fields-
|
|
4
|
+
import { a as unwrapResult, i as requireDb, t as apiError } from "../../../../../../error-DFrQjppn.mjs";
|
|
5
|
+
import { r as requirePerm } from "../../../../../../authorize-Bkf_UHhD.mjs";
|
|
6
|
+
import { s as handleBylineFieldUsage } from "../../../../../../byline-fields-BovY4KYM.mjs";
|
|
7
7
|
|
|
8
8
|
//#region src/astro/routes/api/admin/byline-fields/[slug]/usage.ts
|
|
9
9
|
const prerender = false;
|
|
@@ -2,15 +2,15 @@ import "../../../../../config-C3EBstHi.mjs";
|
|
|
2
2
|
import "../../../../../base64-CvLhUKQv.mjs";
|
|
3
3
|
import "../../../../../types-CQPWhPxE.mjs";
|
|
4
4
|
import "../../../../../byline-registry-Bpu9-MVs.mjs";
|
|
5
|
-
import { a as unwrapResult, i as requireDb, t as apiError } from "../../../../../error-
|
|
6
|
-
import { n as parseBody, t as isParseError } from "../../../../../parse-
|
|
7
|
-
import "../../../../../media-
|
|
8
|
-
import "../../../../../redirects-
|
|
9
|
-
import { h as bylineFieldUpdateBody } from "../../../../../relations-
|
|
10
|
-
import "../../../../../status-
|
|
5
|
+
import { a as unwrapResult, i as requireDb, t as apiError } from "../../../../../error-DFrQjppn.mjs";
|
|
6
|
+
import { n as parseBody, t as isParseError } from "../../../../../parse-Ckpg-Qfp.mjs";
|
|
7
|
+
import "../../../../../media-BHjus86Y.mjs";
|
|
8
|
+
import "../../../../../redirects-BLNOWQTn.mjs";
|
|
9
|
+
import { h as bylineFieldUpdateBody } from "../../../../../relations-C4htk5sb.mjs";
|
|
10
|
+
import "../../../../../status-B777-dXz.mjs";
|
|
11
11
|
import "../../../../../api/schemas/index.mjs";
|
|
12
|
-
import { r as requirePerm } from "../../../../../authorize-
|
|
13
|
-
import { n as handleBylineFieldDelete, o as handleBylineFieldUpdate, r as handleBylineFieldGet } from "../../../../../byline-fields-
|
|
12
|
+
import { r as requirePerm } from "../../../../../authorize-Bkf_UHhD.mjs";
|
|
13
|
+
import { n as handleBylineFieldDelete, o as handleBylineFieldUpdate, r as handleBylineFieldGet } from "../../../../../byline-fields-BovY4KYM.mjs";
|
|
14
14
|
|
|
15
15
|
//#region src/astro/routes/api/admin/byline-fields/[slug].ts
|
|
16
16
|
const prerender = false;
|
|
@@ -2,15 +2,15 @@ import "../../../../../config-C3EBstHi.mjs";
|
|
|
2
2
|
import "../../../../../base64-CvLhUKQv.mjs";
|
|
3
3
|
import "../../../../../types-CQPWhPxE.mjs";
|
|
4
4
|
import "../../../../../byline-registry-Bpu9-MVs.mjs";
|
|
5
|
-
import { a as unwrapResult, i as requireDb } from "../../../../../error-
|
|
6
|
-
import { n as parseBody, t as isParseError } from "../../../../../parse-
|
|
7
|
-
import "../../../../../media-
|
|
8
|
-
import "../../../../../redirects-
|
|
9
|
-
import { d as bylineFieldCreateBody } from "../../../../../relations-
|
|
10
|
-
import "../../../../../status-
|
|
5
|
+
import { a as unwrapResult, i as requireDb } from "../../../../../error-DFrQjppn.mjs";
|
|
6
|
+
import { n as parseBody, t as isParseError } from "../../../../../parse-Ckpg-Qfp.mjs";
|
|
7
|
+
import "../../../../../media-BHjus86Y.mjs";
|
|
8
|
+
import "../../../../../redirects-BLNOWQTn.mjs";
|
|
9
|
+
import { d as bylineFieldCreateBody } from "../../../../../relations-C4htk5sb.mjs";
|
|
10
|
+
import "../../../../../status-B777-dXz.mjs";
|
|
11
11
|
import "../../../../../api/schemas/index.mjs";
|
|
12
|
-
import { r as requirePerm } from "../../../../../authorize-
|
|
13
|
-
import { i as handleBylineFieldList, t as handleBylineFieldCreate } from "../../../../../byline-fields-
|
|
12
|
+
import { r as requirePerm } from "../../../../../authorize-Bkf_UHhD.mjs";
|
|
13
|
+
import { i as handleBylineFieldList, t as handleBylineFieldCreate } from "../../../../../byline-fields-BovY4KYM.mjs";
|
|
14
14
|
|
|
15
15
|
//#region src/astro/routes/api/admin/byline-fields/index.ts
|
|
16
16
|
const prerender = false;
|
|
@@ -2,15 +2,15 @@ import "../../../../../config-C3EBstHi.mjs";
|
|
|
2
2
|
import "../../../../../base64-CvLhUKQv.mjs";
|
|
3
3
|
import "../../../../../types-CQPWhPxE.mjs";
|
|
4
4
|
import "../../../../../byline-registry-Bpu9-MVs.mjs";
|
|
5
|
-
import { a as unwrapResult, i as requireDb } from "../../../../../error-
|
|
6
|
-
import { n as parseBody, t as isParseError } from "../../../../../parse-
|
|
7
|
-
import "../../../../../media-
|
|
8
|
-
import "../../../../../redirects-
|
|
9
|
-
import { m as bylineFieldReorderBody } from "../../../../../relations-
|
|
10
|
-
import "../../../../../status-
|
|
5
|
+
import { a as unwrapResult, i as requireDb } from "../../../../../error-DFrQjppn.mjs";
|
|
6
|
+
import { n as parseBody, t as isParseError } from "../../../../../parse-Ckpg-Qfp.mjs";
|
|
7
|
+
import "../../../../../media-BHjus86Y.mjs";
|
|
8
|
+
import "../../../../../redirects-BLNOWQTn.mjs";
|
|
9
|
+
import { m as bylineFieldReorderBody } from "../../../../../relations-C4htk5sb.mjs";
|
|
10
|
+
import "../../../../../status-B777-dXz.mjs";
|
|
11
11
|
import "../../../../../api/schemas/index.mjs";
|
|
12
|
-
import { r as requirePerm } from "../../../../../authorize-
|
|
13
|
-
import { a as handleBylineFieldReorder } from "../../../../../byline-fields-
|
|
12
|
+
import { r as requirePerm } from "../../../../../authorize-Bkf_UHhD.mjs";
|
|
13
|
+
import { a as handleBylineFieldReorder } from "../../../../../byline-fields-BovY4KYM.mjs";
|
|
14
14
|
|
|
15
15
|
//#region src/astro/routes/api/admin/byline-fields/reorder.ts
|
|
16
16
|
const prerender = false;
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import "../../../../../../dialect-helpers-BSbfaO3F.mjs";
|
|
2
2
|
import "../../../../../../config-C3EBstHi.mjs";
|
|
3
3
|
import "../../../../../../after-CBU2vkoO.mjs";
|
|
4
|
-
import "../../../../../../object-cache-
|
|
4
|
+
import "../../../../../../object-cache-DVKnyOfy.mjs";
|
|
5
5
|
import "../../../../../../base64-CvLhUKQv.mjs";
|
|
6
6
|
import "../../../../../../types-CQPWhPxE.mjs";
|
|
7
7
|
import "../../../../../../request-cache-DH9zdCOD.mjs";
|
|
8
8
|
import "../../../../../../byline-registry-Bpu9-MVs.mjs";
|
|
9
|
-
import "../../../../../../field-defs-cache-
|
|
10
|
-
import { t as BylineRepository } from "../../../../../../byline-
|
|
11
|
-
import "../../../../../../resolve-
|
|
12
|
-
import "../../../../../../loader-
|
|
13
|
-
import { a as unwrapResult, i as requireDb, n as apiSuccess, r as handleError, t as apiError } from "../../../../../../error-
|
|
14
|
-
import { n as parseBody, t as isParseError } from "../../../../../../parse-
|
|
15
|
-
import "../../../../../../media-
|
|
16
|
-
import {
|
|
17
|
-
import "../../../../../../relations-
|
|
18
|
-
import "../../../../../../status-
|
|
9
|
+
import "../../../../../../field-defs-cache-BM4SIRqH.mjs";
|
|
10
|
+
import { t as BylineRepository } from "../../../../../../byline-DuhF7NWl.mjs";
|
|
11
|
+
import "../../../../../../resolve-prZ3mP7l.mjs";
|
|
12
|
+
import "../../../../../../loader-Z8vl7zTq.mjs";
|
|
13
|
+
import { a as unwrapResult, i as requireDb, n as apiSuccess, r as handleError, t as apiError } from "../../../../../../error-DFrQjppn.mjs";
|
|
14
|
+
import { n as parseBody, t as isParseError } from "../../../../../../parse-Ckpg-Qfp.mjs";
|
|
15
|
+
import "../../../../../../media-BHjus86Y.mjs";
|
|
16
|
+
import { xn as bylineUpdateBody } from "../../../../../../redirects-BLNOWQTn.mjs";
|
|
17
|
+
import "../../../../../../relations-C4htk5sb.mjs";
|
|
18
|
+
import "../../../../../../status-B777-dXz.mjs";
|
|
19
19
|
import "../../../../../../api/schemas/index.mjs";
|
|
20
|
-
import { a as invalidateBylineCache } from "../../../../../../bylines-
|
|
21
|
-
import { r as requirePerm } from "../../../../../../authorize-
|
|
22
|
-
import { i as handleBylineUpdate } from "../../../../../../bylines-
|
|
20
|
+
import { a as invalidateBylineCache } from "../../../../../../bylines-CJ5nd6Lw.mjs";
|
|
21
|
+
import { r as requirePerm } from "../../../../../../authorize-Bkf_UHhD.mjs";
|
|
22
|
+
import { i as handleBylineUpdate } from "../../../../../../bylines-RwBAeOF1.mjs";
|
|
23
23
|
|
|
24
24
|
//#region src/astro/routes/api/admin/bylines/[id]/index.ts
|
|
25
25
|
const prerender = false;
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import "../../../../../../dialect-helpers-BSbfaO3F.mjs";
|
|
2
2
|
import "../../../../../../config-C3EBstHi.mjs";
|
|
3
3
|
import "../../../../../../after-CBU2vkoO.mjs";
|
|
4
|
-
import "../../../../../../object-cache-
|
|
4
|
+
import "../../../../../../object-cache-DVKnyOfy.mjs";
|
|
5
5
|
import "../../../../../../base64-CvLhUKQv.mjs";
|
|
6
6
|
import "../../../../../../types-CQPWhPxE.mjs";
|
|
7
7
|
import "../../../../../../request-cache-DH9zdCOD.mjs";
|
|
8
8
|
import "../../../../../../byline-registry-Bpu9-MVs.mjs";
|
|
9
|
-
import "../../../../../../field-defs-cache-
|
|
10
|
-
import { t as BylineRepository } from "../../../../../../byline-
|
|
11
|
-
import "../../../../../../resolve-
|
|
12
|
-
import "../../../../../../loader-
|
|
13
|
-
import { a as unwrapResult, i as requireDb, r as handleError, t as apiError } from "../../../../../../error-
|
|
14
|
-
import { n as parseBody, t as isParseError } from "../../../../../../parse-
|
|
15
|
-
import "../../../../../../media-
|
|
16
|
-
import {
|
|
17
|
-
import "../../../../../../relations-
|
|
18
|
-
import "../../../../../../status-
|
|
9
|
+
import "../../../../../../field-defs-cache-BM4SIRqH.mjs";
|
|
10
|
+
import { t as BylineRepository } from "../../../../../../byline-DuhF7NWl.mjs";
|
|
11
|
+
import "../../../../../../resolve-prZ3mP7l.mjs";
|
|
12
|
+
import "../../../../../../loader-Z8vl7zTq.mjs";
|
|
13
|
+
import { a as unwrapResult, i as requireDb, r as handleError, t as apiError } from "../../../../../../error-DFrQjppn.mjs";
|
|
14
|
+
import { n as parseBody, t as isParseError } from "../../../../../../parse-Ckpg-Qfp.mjs";
|
|
15
|
+
import "../../../../../../media-BHjus86Y.mjs";
|
|
16
|
+
import { yn as bylineTranslationCreateBody } from "../../../../../../redirects-BLNOWQTn.mjs";
|
|
17
|
+
import "../../../../../../relations-C4htk5sb.mjs";
|
|
18
|
+
import "../../../../../../status-B777-dXz.mjs";
|
|
19
19
|
import "../../../../../../api/schemas/index.mjs";
|
|
20
|
-
import { a as invalidateBylineCache } from "../../../../../../bylines-
|
|
21
|
-
import { r as requirePerm } from "../../../../../../authorize-
|
|
22
|
-
import { n as handleBylineCreate, r as handleBylineTranslations } from "../../../../../../bylines-
|
|
20
|
+
import { a as invalidateBylineCache } from "../../../../../../bylines-CJ5nd6Lw.mjs";
|
|
21
|
+
import { r as requirePerm } from "../../../../../../authorize-Bkf_UHhD.mjs";
|
|
22
|
+
import { n as handleBylineCreate, r as handleBylineTranslations } from "../../../../../../bylines-RwBAeOF1.mjs";
|
|
23
23
|
|
|
24
24
|
//#region src/astro/routes/api/admin/bylines/[id]/translations.ts
|
|
25
25
|
const prerender = false;
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import "../../../../../dialect-helpers-BSbfaO3F.mjs";
|
|
2
2
|
import { a as resolveConfiguredLocale, r as getI18nConfig } from "../../../../../config-C3EBstHi.mjs";
|
|
3
3
|
import "../../../../../after-CBU2vkoO.mjs";
|
|
4
|
-
import "../../../../../object-cache-
|
|
4
|
+
import "../../../../../object-cache-DVKnyOfy.mjs";
|
|
5
5
|
import "../../../../../base64-CvLhUKQv.mjs";
|
|
6
6
|
import "../../../../../types-CQPWhPxE.mjs";
|
|
7
7
|
import "../../../../../request-cache-DH9zdCOD.mjs";
|
|
8
8
|
import "../../../../../byline-registry-Bpu9-MVs.mjs";
|
|
9
|
-
import "../../../../../field-defs-cache-
|
|
10
|
-
import { t as BylineRepository } from "../../../../../byline-
|
|
11
|
-
import "../../../../../resolve-
|
|
12
|
-
import "../../../../../loader-
|
|
13
|
-
import { a as unwrapResult, n as apiSuccess, r as handleError, t as apiError } from "../../../../../error-
|
|
14
|
-
import { i as parseQuery, n as parseBody, t as isParseError } from "../../../../../parse-
|
|
15
|
-
import "../../../../../media-
|
|
16
|
-
import {
|
|
17
|
-
import "../../../../../relations-
|
|
18
|
-
import "../../../../../status-
|
|
9
|
+
import "../../../../../field-defs-cache-BM4SIRqH.mjs";
|
|
10
|
+
import { t as BylineRepository } from "../../../../../byline-DuhF7NWl.mjs";
|
|
11
|
+
import "../../../../../resolve-prZ3mP7l.mjs";
|
|
12
|
+
import "../../../../../loader-Z8vl7zTq.mjs";
|
|
13
|
+
import { a as unwrapResult, n as apiSuccess, r as handleError, t as apiError } from "../../../../../error-DFrQjppn.mjs";
|
|
14
|
+
import { i as parseQuery, n as parseBody, t as isParseError } from "../../../../../parse-Ckpg-Qfp.mjs";
|
|
15
|
+
import "../../../../../media-BHjus86Y.mjs";
|
|
16
|
+
import { Sn as bylinesListQuery, hn as bylineCreateBody } from "../../../../../redirects-BLNOWQTn.mjs";
|
|
17
|
+
import "../../../../../relations-C4htk5sb.mjs";
|
|
18
|
+
import "../../../../../status-B777-dXz.mjs";
|
|
19
19
|
import "../../../../../api/schemas/index.mjs";
|
|
20
|
-
import { a as invalidateBylineCache } from "../../../../../bylines-
|
|
21
|
-
import { r as requirePerm } from "../../../../../authorize-
|
|
22
|
-
import { n as handleBylineCreate } from "../../../../../bylines-
|
|
20
|
+
import { a as invalidateBylineCache } from "../../../../../bylines-CJ5nd6Lw.mjs";
|
|
21
|
+
import { r as requirePerm } from "../../../../../authorize-Bkf_UHhD.mjs";
|
|
22
|
+
import { n as handleBylineCreate } from "../../../../../bylines-RwBAeOF1.mjs";
|
|
23
23
|
|
|
24
24
|
//#region src/astro/routes/api/admin/bylines/index.ts
|
|
25
25
|
const prerender = false;
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import "../../../../../../config-C3EBstHi.mjs";
|
|
2
2
|
import "../../../../../../after-CBU2vkoO.mjs";
|
|
3
|
-
import "../../../../../../object-cache-
|
|
3
|
+
import "../../../../../../object-cache-DVKnyOfy.mjs";
|
|
4
4
|
import "../../../../../../base64-CvLhUKQv.mjs";
|
|
5
5
|
import "../../../../../../types-CQPWhPxE.mjs";
|
|
6
|
-
import "../../../../../../comment-
|
|
6
|
+
import "../../../../../../comment-vxOzWbZN.mjs";
|
|
7
7
|
import "../../../../../../options-BHPeIbBd.mjs";
|
|
8
|
-
import { a as unwrapResult, i as requireDb, n as apiSuccess, r as handleError, t as apiError } from "../../../../../../error-
|
|
9
|
-
import { n as parseBody, t as isParseError } from "../../../../../../parse-
|
|
10
|
-
import "../../../../../../media-
|
|
11
|
-
import { Ct as commentStatusBody } from "../../../../../../redirects-
|
|
12
|
-
import "../../../../../../relations-
|
|
13
|
-
import "../../../../../../status-
|
|
8
|
+
import { a as unwrapResult, i as requireDb, n as apiSuccess, r as handleError, t as apiError } from "../../../../../../error-DFrQjppn.mjs";
|
|
9
|
+
import { n as parseBody, t as isParseError } from "../../../../../../parse-Ckpg-Qfp.mjs";
|
|
10
|
+
import "../../../../../../media-BHjus86Y.mjs";
|
|
11
|
+
import { Ct as commentStatusBody } from "../../../../../../redirects-BLNOWQTn.mjs";
|
|
12
|
+
import "../../../../../../relations-C4htk5sb.mjs";
|
|
13
|
+
import "../../../../../../status-B777-dXz.mjs";
|
|
14
14
|
import "../../../../../../api/schemas/index.mjs";
|
|
15
|
-
import { r as requirePerm } from "../../../../../../authorize-
|
|
16
|
-
import { a as handleCommentGet } from "../../../../../../comments-
|
|
17
|
-
import { t as getSiteBaseUrl } from "../../../../../../site-url-
|
|
18
|
-
import { i as sendCommentNotification, n as moderateComment, r as lookupContentAuthor } from "../../../../../../service-
|
|
15
|
+
import { r as requirePerm } from "../../../../../../authorize-Bkf_UHhD.mjs";
|
|
16
|
+
import { a as handleCommentGet } from "../../../../../../comments-Ct4ensnf.mjs";
|
|
17
|
+
import { t as getSiteBaseUrl } from "../../../../../../site-url-BrxA_E9H.mjs";
|
|
18
|
+
import { i as sendCommentNotification, n as moderateComment, r as lookupContentAuthor } from "../../../../../../service-CJl3ZAYs.mjs";
|
|
19
19
|
|
|
20
20
|
//#region src/astro/routes/api/admin/comments/[id]/status.ts
|
|
21
21
|
const prerender = false;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import "../../../../../after-CBU2vkoO.mjs";
|
|
2
|
-
import "../../../../../object-cache-
|
|
2
|
+
import "../../../../../object-cache-DVKnyOfy.mjs";
|
|
3
3
|
import "../../../../../base64-CvLhUKQv.mjs";
|
|
4
4
|
import "../../../../../types-CQPWhPxE.mjs";
|
|
5
|
-
import "../../../../../comment-
|
|
6
|
-
import { a as unwrapResult, i as requireDb, r as handleError, t as apiError } from "../../../../../error-
|
|
7
|
-
import { r as requirePerm } from "../../../../../authorize-
|
|
8
|
-
import { a as handleCommentGet, i as handleCommentDelete } from "../../../../../comments-
|
|
5
|
+
import "../../../../../comment-vxOzWbZN.mjs";
|
|
6
|
+
import { a as unwrapResult, i as requireDb, r as handleError, t as apiError } from "../../../../../error-DFrQjppn.mjs";
|
|
7
|
+
import { r as requirePerm } from "../../../../../authorize-Bkf_UHhD.mjs";
|
|
8
|
+
import { a as handleCommentGet, i as handleCommentDelete } from "../../../../../comments-Ct4ensnf.mjs";
|
|
9
9
|
|
|
10
10
|
//#region src/astro/routes/api/admin/comments/[id].ts
|
|
11
11
|
const prerender = false;
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import "../../../../../config-C3EBstHi.mjs";
|
|
2
2
|
import "../../../../../after-CBU2vkoO.mjs";
|
|
3
|
-
import "../../../../../object-cache-
|
|
3
|
+
import "../../../../../object-cache-DVKnyOfy.mjs";
|
|
4
4
|
import "../../../../../base64-CvLhUKQv.mjs";
|
|
5
5
|
import "../../../../../types-CQPWhPxE.mjs";
|
|
6
|
-
import "../../../../../comment-
|
|
7
|
-
import { a as unwrapResult, i as requireDb, r as handleError } from "../../../../../error-
|
|
8
|
-
import { n as parseBody, t as isParseError } from "../../../../../parse-
|
|
9
|
-
import "../../../../../media-
|
|
10
|
-
import { vt as commentBulkBody } from "../../../../../redirects-
|
|
11
|
-
import "../../../../../relations-
|
|
12
|
-
import "../../../../../status-
|
|
6
|
+
import "../../../../../comment-vxOzWbZN.mjs";
|
|
7
|
+
import { a as unwrapResult, i as requireDb, r as handleError } from "../../../../../error-DFrQjppn.mjs";
|
|
8
|
+
import { n as parseBody, t as isParseError } from "../../../../../parse-Ckpg-Qfp.mjs";
|
|
9
|
+
import "../../../../../media-BHjus86Y.mjs";
|
|
10
|
+
import { vt as commentBulkBody } from "../../../../../redirects-BLNOWQTn.mjs";
|
|
11
|
+
import "../../../../../relations-C4htk5sb.mjs";
|
|
12
|
+
import "../../../../../status-B777-dXz.mjs";
|
|
13
13
|
import "../../../../../api/schemas/index.mjs";
|
|
14
|
-
import { r as requirePerm } from "../../../../../authorize-
|
|
15
|
-
import { n as handleCommentBulk } from "../../../../../comments-
|
|
14
|
+
import { r as requirePerm } from "../../../../../authorize-Bkf_UHhD.mjs";
|
|
15
|
+
import { n as handleCommentBulk } from "../../../../../comments-Ct4ensnf.mjs";
|
|
16
16
|
|
|
17
17
|
//#region src/astro/routes/api/admin/comments/bulk.ts
|
|
18
18
|
const prerender = false;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import "../../../../../after-CBU2vkoO.mjs";
|
|
2
|
-
import "../../../../../object-cache-
|
|
2
|
+
import "../../../../../object-cache-DVKnyOfy.mjs";
|
|
3
3
|
import "../../../../../base64-CvLhUKQv.mjs";
|
|
4
4
|
import "../../../../../types-CQPWhPxE.mjs";
|
|
5
|
-
import "../../../../../comment-
|
|
6
|
-
import { a as unwrapResult, i as requireDb, r as handleError } from "../../../../../error-
|
|
7
|
-
import { r as requirePerm } from "../../../../../authorize-
|
|
8
|
-
import { r as handleCommentCounts } from "../../../../../comments-
|
|
5
|
+
import "../../../../../comment-vxOzWbZN.mjs";
|
|
6
|
+
import { a as unwrapResult, i as requireDb, r as handleError } from "../../../../../error-DFrQjppn.mjs";
|
|
7
|
+
import { r as requirePerm } from "../../../../../authorize-Bkf_UHhD.mjs";
|
|
8
|
+
import { r as handleCommentCounts } from "../../../../../comments-Ct4ensnf.mjs";
|
|
9
9
|
|
|
10
10
|
//#region src/astro/routes/api/admin/comments/counts.ts
|
|
11
11
|
const prerender = false;
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import "../../../../../config-C3EBstHi.mjs";
|
|
2
2
|
import "../../../../../after-CBU2vkoO.mjs";
|
|
3
|
-
import "../../../../../object-cache-
|
|
3
|
+
import "../../../../../object-cache-DVKnyOfy.mjs";
|
|
4
4
|
import "../../../../../base64-CvLhUKQv.mjs";
|
|
5
5
|
import "../../../../../types-CQPWhPxE.mjs";
|
|
6
|
-
import "../../../../../comment-
|
|
7
|
-
import { a as unwrapResult, i as requireDb, r as handleError } from "../../../../../error-
|
|
8
|
-
import { i as parseQuery, t as isParseError } from "../../../../../parse-
|
|
9
|
-
import "../../../../../media-
|
|
10
|
-
import { xt as commentListQuery } from "../../../../../redirects-
|
|
11
|
-
import "../../../../../relations-
|
|
12
|
-
import "../../../../../status-
|
|
6
|
+
import "../../../../../comment-vxOzWbZN.mjs";
|
|
7
|
+
import { a as unwrapResult, i as requireDb, r as handleError } from "../../../../../error-DFrQjppn.mjs";
|
|
8
|
+
import { i as parseQuery, t as isParseError } from "../../../../../parse-Ckpg-Qfp.mjs";
|
|
9
|
+
import "../../../../../media-BHjus86Y.mjs";
|
|
10
|
+
import { xt as commentListQuery } from "../../../../../redirects-BLNOWQTn.mjs";
|
|
11
|
+
import "../../../../../relations-C4htk5sb.mjs";
|
|
12
|
+
import "../../../../../status-B777-dXz.mjs";
|
|
13
13
|
import "../../../../../api/schemas/index.mjs";
|
|
14
|
-
import { r as requirePerm } from "../../../../../authorize-
|
|
15
|
-
import { o as handleCommentInbox } from "../../../../../comments-
|
|
14
|
+
import { r as requirePerm } from "../../../../../authorize-Bkf_UHhD.mjs";
|
|
15
|
+
import { o as handleCommentInbox } from "../../../../../comments-Ct4ensnf.mjs";
|
|
16
16
|
|
|
17
17
|
//#region src/astro/routes/api/admin/comments/index.ts
|
|
18
18
|
const prerender = false;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import "../../../../../../base64-CvLhUKQv.mjs";
|
|
2
2
|
import "../../../../../../types-CQPWhPxE.mjs";
|
|
3
3
|
import { t as OptionsRepository } from "../../../../../../options-BHPeIbBd.mjs";
|
|
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 { r as requirePerm } from "../../../../../../authorize-
|
|
4
|
+
import { n as apiSuccess, r as handleError, t as apiError } from "../../../../../../error-DFrQjppn.mjs";
|
|
5
|
+
import { n as parseBody, t as isParseError } from "../../../../../../parse-Ckpg-Qfp.mjs";
|
|
6
|
+
import { r as requirePerm } from "../../../../../../authorize-Bkf_UHhD.mjs";
|
|
7
7
|
import { z } from "zod";
|
|
8
8
|
|
|
9
9
|
//#region src/astro/routes/api/admin/hooks/exclusive/[hookName].ts
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import "../../../../../../base64-CvLhUKQv.mjs";
|
|
2
2
|
import "../../../../../../types-CQPWhPxE.mjs";
|
|
3
3
|
import { t as OptionsRepository } from "../../../../../../options-BHPeIbBd.mjs";
|
|
4
|
-
import { n as apiSuccess, r as handleError, t as apiError } from "../../../../../../error-
|
|
5
|
-
import { r as requirePerm } from "../../../../../../authorize-
|
|
4
|
+
import { n as apiSuccess, r as handleError, t as apiError } from "../../../../../../error-DFrQjppn.mjs";
|
|
5
|
+
import { r as requirePerm } from "../../../../../../authorize-Bkf_UHhD.mjs";
|
|
6
6
|
|
|
7
7
|
//#region src/astro/routes/api/admin/hooks/exclusive/index.ts
|
|
8
8
|
const prerender = false;
|
|
@@ -4,17 +4,17 @@ import "../../../../../base64-CvLhUKQv.mjs";
|
|
|
4
4
|
import "../../../../../types-CQPWhPxE.mjs";
|
|
5
5
|
import "../../../../../capture-triggers-CNW1q3HK.mjs";
|
|
6
6
|
import "../../../../../activation-K0kGBWuJ.mjs";
|
|
7
|
-
import { n as handleMediaUsageActivationStatus, t as handleMediaUsageActivationAdvance } from "../../../../../media-usage-activation-
|
|
8
|
-
import { a as unwrapResult, i as requireDb } from "../../../../../error-
|
|
9
|
-
import { n as parseBody, t as isParseError } from "../../../../../parse-
|
|
10
|
-
import {
|
|
11
|
-
import "../../../../../redirects-
|
|
12
|
-
import "../../../../../relations-
|
|
13
|
-
import "../../../../../status-
|
|
7
|
+
import { n as handleMediaUsageActivationStatus, t as handleMediaUsageActivationAdvance } from "../../../../../media-usage-activation-BgeMtK5C.mjs";
|
|
8
|
+
import { a as unwrapResult, i as requireDb } from "../../../../../error-DFrQjppn.mjs";
|
|
9
|
+
import { n as parseBody, t as isParseError } from "../../../../../parse-Ckpg-Qfp.mjs";
|
|
10
|
+
import { P as mediaUsageActivationAdvanceBody } from "../../../../../media-BHjus86Y.mjs";
|
|
11
|
+
import "../../../../../redirects-BLNOWQTn.mjs";
|
|
12
|
+
import "../../../../../relations-C4htk5sb.mjs";
|
|
13
|
+
import "../../../../../status-B777-dXz.mjs";
|
|
14
14
|
import "../../../../../api/schemas/index.mjs";
|
|
15
|
-
import "../../../../../api-tokens-
|
|
16
|
-
import { r as requirePerm } from "../../../../../authorize-
|
|
17
|
-
import { t as requireScope } from "../../../../../scopes-
|
|
15
|
+
import "../../../../../api-tokens-BfYts-sq.mjs";
|
|
16
|
+
import { r as requirePerm } from "../../../../../authorize-Bkf_UHhD.mjs";
|
|
17
|
+
import { t as requireScope } from "../../../../../scopes-BhWvBavj.mjs";
|
|
18
18
|
|
|
19
19
|
//#region src/astro/routes/api/admin/media-usage/activation.ts
|
|
20
20
|
const prerender = false;
|
|
@@ -2,21 +2,21 @@ import "../../../../../../dialect-helpers-BSbfaO3F.mjs";
|
|
|
2
2
|
import "../../../../../../config-C3EBstHi.mjs";
|
|
3
3
|
import "../../../../../../base64-CvLhUKQv.mjs";
|
|
4
4
|
import "../../../../../../types-CQPWhPxE.mjs";
|
|
5
|
-
import "../../../../../../fts-manager-
|
|
5
|
+
import "../../../../../../fts-manager-Do1BlW2r.mjs";
|
|
6
6
|
import "../../../../../../capture-triggers-CNW1q3HK.mjs";
|
|
7
|
-
import "../../../../../../
|
|
8
|
-
import "../../../../../../
|
|
9
|
-
import { t as handleMediaUsageCollectionDeletionList } from "../../../../../../media-usage-work-
|
|
10
|
-
import { a as unwrapResult, i as requireDb } from "../../../../../../error-
|
|
11
|
-
import { i as parseQuery, t as isParseError } from "../../../../../../parse-
|
|
12
|
-
import {
|
|
13
|
-
import "../../../../../../redirects-
|
|
14
|
-
import "../../../../../../relations-
|
|
15
|
-
import "../../../../../../status-
|
|
7
|
+
import "../../../../../../collection-deletion-Bj07NHbj.mjs";
|
|
8
|
+
import "../../../../../../media-usage-work-D6D9sMCA.mjs";
|
|
9
|
+
import { t as handleMediaUsageCollectionDeletionList } from "../../../../../../media-usage-work-CnGCdHxx.mjs";
|
|
10
|
+
import { a as unwrapResult, i as requireDb } from "../../../../../../error-DFrQjppn.mjs";
|
|
11
|
+
import { i as parseQuery, t as isParseError } from "../../../../../../parse-Ckpg-Qfp.mjs";
|
|
12
|
+
import { B as mediaUsageCollectionDeletionListQuery } from "../../../../../../media-BHjus86Y.mjs";
|
|
13
|
+
import "../../../../../../redirects-BLNOWQTn.mjs";
|
|
14
|
+
import "../../../../../../relations-C4htk5sb.mjs";
|
|
15
|
+
import "../../../../../../status-B777-dXz.mjs";
|
|
16
16
|
import "../../../../../../api/schemas/index.mjs";
|
|
17
|
-
import "../../../../../../api-tokens-
|
|
18
|
-
import { r as requirePerm } from "../../../../../../authorize-
|
|
19
|
-
import { t as requireScope } from "../../../../../../scopes-
|
|
17
|
+
import "../../../../../../api-tokens-BfYts-sq.mjs";
|
|
18
|
+
import { r as requirePerm } from "../../../../../../authorize-Bkf_UHhD.mjs";
|
|
19
|
+
import { t as requireScope } from "../../../../../../scopes-BhWvBavj.mjs";
|
|
20
20
|
|
|
21
21
|
//#region src/astro/routes/api/admin/media-usage/collection-deletions/index.ts
|
|
22
22
|
const prerender = false;
|