emdash 0.32.0 → 0.33.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-C0ONzkUP.d.mts → adapters-BMyNSSZi.d.mts} +9 -1
- package/dist/adapters-BMyNSSZi.d.mts.map +1 -0
- package/dist/after-CBU2vkoO.mjs +96 -0
- package/dist/after-CBU2vkoO.mjs.map +1 -0
- package/dist/{allowed-origins-CCEi9bPI.mjs → allowed-origins-CG1pACtS.mjs} +2 -2
- package/dist/{allowed-origins-CCEi9bPI.mjs.map → allowed-origins-CG1pACtS.mjs.map} +1 -1
- package/dist/api/route-utils.d.mts +3 -4
- package/dist/api/route-utils.d.mts.map +1 -1
- package/dist/api/route-utils.mjs +22 -22
- package/dist/api/schemas/index.d.mts +2 -2
- package/dist/api/schemas/index.mjs +5 -5
- package/dist/{api-DgPbMlng.mjs → api-D2hunekQ.mjs} +247 -45
- package/dist/api-D2hunekQ.mjs.map +1 -0
- package/dist/{api-tokens-p-iMzvXR.mjs → api-tokens-CSND0i1z.mjs} +2 -2
- package/dist/{api-tokens-p-iMzvXR.mjs.map → api-tokens-CSND0i1z.mjs.map} +1 -1
- package/dist/{apply-1_6ra7NP.mjs → apply-kwNEJW2l.mjs} +35 -22
- package/dist/apply-kwNEJW2l.mjs.map +1 -0
- package/dist/astro/index.d.mts +12 -12
- package/dist/astro/index.mjs +13 -3
- package/dist/astro/index.mjs.map +1 -1
- package/dist/astro/middleware/auth.d.mts +10 -10
- package/dist/astro/middleware/auth.mjs +8 -8
- package/dist/astro/middleware/redirect.d.mts.map +1 -1
- package/dist/astro/middleware/redirect.mjs +8 -8
- package/dist/astro/middleware/redirect.mjs.map +1 -1
- package/dist/astro/middleware/request-context.mjs +4 -4
- 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 +344 -173
- package/dist/astro/middleware.mjs.map +1 -1
- package/dist/astro/routes/api/admin/allowed-domains/_domain_.mjs +7 -7
- package/dist/astro/routes/api/admin/allowed-domains/index.mjs +7 -7
- 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 +5 -5
- package/dist/astro/routes/api/admin/byline-fields/_slug_.mjs +10 -10
- package/dist/astro/routes/api/admin/byline-fields/index.mjs +10 -10
- package/dist/astro/routes/api/admin/byline-fields/reorder.mjs +10 -10
- package/dist/astro/routes/api/admin/bylines/_id_/index.mjs +18 -18
- package/dist/astro/routes/api/admin/bylines/_id_/translations.mjs +18 -18
- package/dist/astro/routes/api/admin/bylines/index.mjs +18 -18
- package/dist/astro/routes/api/admin/comments/_id_/status.mjs +16 -16
- package/dist/astro/routes/api/admin/comments/_id_/status.mjs.map +1 -1
- package/dist/astro/routes/api/admin/comments/_id_.mjs +7 -7
- package/dist/astro/routes/api/admin/comments/bulk.mjs +12 -12
- package/dist/astro/routes/api/admin/comments/counts.mjs +7 -7
- package/dist/astro/routes/api/admin/comments/index.mjs +12 -12
- package/dist/astro/routes/api/admin/hooks/exclusive/_hookName_.mjs +5 -5
- package/dist/astro/routes/api/admin/hooks/exclusive/index.mjs +4 -4
- package/dist/astro/routes/api/admin/media-usage/repair.mjs +12 -12
- 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 +46 -45
- package/dist/astro/routes/api/admin/plugins/_id_/disable.mjs.map +1 -1
- package/dist/astro/routes/api/admin/plugins/_id_/enable.mjs +46 -45
- package/dist/astro/routes/api/admin/plugins/_id_/enable.mjs.map +1 -1
- package/dist/astro/routes/api/admin/plugins/_id_/index.mjs +45 -44
- package/dist/astro/routes/api/admin/plugins/_id_/index.mjs.map +1 -1
- package/dist/astro/routes/api/admin/plugins/_id_/mcp.mjs +5 -5
- package/dist/astro/routes/api/admin/plugins/_id_/settings.mjs +45 -44
- package/dist/astro/routes/api/admin/plugins/_id_/settings.mjs.map +1 -1
- package/dist/astro/routes/api/admin/plugins/_id_/uninstall.mjs +45 -44
- package/dist/astro/routes/api/admin/plugins/_id_/uninstall.mjs.map +1 -1
- package/dist/astro/routes/api/admin/plugins/_id_/update.mjs +45 -44
- package/dist/astro/routes/api/admin/plugins/_id_/update.mjs.map +1 -1
- package/dist/astro/routes/api/admin/plugins/index.mjs +45 -44
- 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 +45 -44
- 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 +45 -44
- package/dist/astro/routes/api/admin/plugins/marketplace/_id_/install.mjs.map +1 -1
- package/dist/astro/routes/api/admin/plugins/marketplace/index.mjs +45 -44
- package/dist/astro/routes/api/admin/plugins/marketplace/index.mjs.map +1 -1
- package/dist/astro/routes/api/admin/plugins/registry/_id_/uninstall.mjs +45 -44
- 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 +46 -45
- package/dist/astro/routes/api/admin/plugins/registry/_id_/update.mjs.map +1 -1
- package/dist/astro/routes/api/admin/plugins/registry/artifact.mjs +45 -44
- package/dist/astro/routes/api/admin/plugins/registry/artifact.mjs.map +1 -1
- package/dist/astro/routes/api/admin/plugins/registry/install.mjs +46 -45
- package/dist/astro/routes/api/admin/plugins/registry/install.mjs.map +1 -1
- package/dist/astro/routes/api/admin/plugins/updates.mjs +45 -44
- package/dist/astro/routes/api/admin/plugins/updates.mjs.map +1 -1
- package/dist/astro/routes/api/admin/themes/marketplace/_id_/index.mjs +45 -44
- 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 +45 -44
- package/dist/astro/routes/api/admin/themes/marketplace/index.mjs.map +1 -1
- package/dist/astro/routes/api/admin/users/_id_/disable.mjs +3 -3
- package/dist/astro/routes/api/admin/users/_id_/enable.mjs +2 -2
- package/dist/astro/routes/api/admin/users/_id_/index.mjs +8 -8
- package/dist/astro/routes/api/admin/users/_id_/send-recovery.mjs +5 -5
- package/dist/astro/routes/api/admin/users/_id_/send-recovery.mjs.map +1 -1
- package/dist/astro/routes/api/admin/users/index.mjs +7 -7
- package/dist/astro/routes/api/auth/dev-bypass.mjs +6 -6
- package/dist/astro/routes/api/auth/invite/accept.mjs +2 -2
- package/dist/astro/routes/api/auth/invite/complete.mjs +12 -12
- package/dist/astro/routes/api/auth/invite/index.mjs +10 -10
- package/dist/astro/routes/api/auth/invite/index.mjs.map +1 -1
- package/dist/astro/routes/api/auth/invite/register-options.mjs +11 -11
- package/dist/astro/routes/api/auth/logout.mjs +3 -3
- package/dist/astro/routes/api/auth/magic-link/send.mjs +12 -12
- package/dist/astro/routes/api/auth/magic-link/send.mjs.map +1 -1
- package/dist/astro/routes/api/auth/magic-link/verify.mjs +3 -3
- package/dist/astro/routes/api/auth/me.mjs +8 -8
- package/dist/astro/routes/api/auth/mode.mjs +3 -3
- package/dist/astro/routes/api/auth/oauth/_provider_/callback.mjs +4 -4
- package/dist/astro/routes/api/auth/oauth/_provider_.mjs +2 -2
- package/dist/astro/routes/api/auth/passkey/_id_.mjs +7 -7
- package/dist/astro/routes/api/auth/passkey/index.mjs +2 -2
- package/dist/astro/routes/api/auth/passkey/options.mjs +13 -13
- package/dist/astro/routes/api/auth/passkey/register/options.mjs +11 -11
- package/dist/astro/routes/api/auth/passkey/register/verify.mjs +12 -12
- package/dist/astro/routes/api/auth/passkey/verify.mjs +12 -12
- package/dist/astro/routes/api/auth/signup/complete.mjs +12 -12
- package/dist/astro/routes/api/auth/signup/request.mjs +12 -12
- package/dist/astro/routes/api/auth/signup/request.mjs.map +1 -1
- package/dist/astro/routes/api/auth/signup/verify.mjs +2 -2
- package/dist/astro/routes/api/comments/_collection_/_contentId_/index.mjs +18 -18
- package/dist/astro/routes/api/comments/_collection_/_contentId_/index.mjs.map +1 -1
- package/dist/astro/routes/api/comments/_collection_/_contentId_/reactions.mjs +15 -15
- package/dist/astro/routes/api/content/_collection_/_id_/compare.mjs +3 -3
- package/dist/astro/routes/api/content/_collection_/_id_/discard-draft.mjs +4 -4
- package/dist/astro/routes/api/content/_collection_/_id_/duplicate.mjs +4 -4
- package/dist/astro/routes/api/content/_collection_/_id_/permanent.mjs +3 -3
- package/dist/astro/routes/api/content/_collection_/_id_/preview-url.mjs +13 -13
- package/dist/astro/routes/api/content/_collection_/_id_/publish.mjs +9 -9
- package/dist/astro/routes/api/content/_collection_/_id_/references/_relation_/children.mjs +18 -18
- package/dist/astro/routes/api/content/_collection_/_id_/references/_relation_/parents.mjs +18 -18
- package/dist/astro/routes/api/content/_collection_/_id_/restore.mjs +4 -4
- package/dist/astro/routes/api/content/_collection_/_id_/revisions.mjs +3 -3
- package/dist/astro/routes/api/content/_collection_/_id_/schedule.mjs +9 -9
- package/dist/astro/routes/api/content/_collection_/_id_/terms/_taxonomy_.mjs +16 -16
- package/dist/astro/routes/api/content/_collection_/_id_/translations.mjs +3 -3
- package/dist/astro/routes/api/content/_collection_/_id_/unpublish.mjs +4 -4
- package/dist/astro/routes/api/content/_collection_/_id_.mjs +9 -9
- package/dist/astro/routes/api/content/_collection_/authors.mjs +3 -3
- package/dist/astro/routes/api/content/_collection_/index.mjs +9 -9
- package/dist/astro/routes/api/content/_collection_/trash.mjs +8 -8
- package/dist/astro/routes/api/dashboard.mjs +9 -9
- 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 +19 -19
- package/dist/astro/routes/api/import/wordpress/analyze.mjs +4 -4
- package/dist/astro/routes/api/import/wordpress/execute.d.mts +11 -11
- package/dist/astro/routes/api/import/wordpress/execute.mjs +15 -15
- package/dist/astro/routes/api/import/wordpress/media.d.mts +10 -10
- package/dist/astro/routes/api/import/wordpress/media.mjs +10 -10
- package/dist/astro/routes/api/import/wordpress/prepare.mjs +11 -11
- package/dist/astro/routes/api/import/wordpress/rewrite-urls.d.mts +11 -11
- package/dist/astro/routes/api/import/wordpress/rewrite-urls.mjs +12 -12
- package/dist/astro/routes/api/import/wordpress-plugin/analyze.d.mts +1 -1
- package/dist/astro/routes/api/import/wordpress-plugin/analyze.mjs +19 -19
- package/dist/astro/routes/api/import/wordpress-plugin/execute.d.mts +11 -11
- package/dist/astro/routes/api/import/wordpress-plugin/execute.mjs +27 -27
- package/dist/astro/routes/api/manifest.mjs +5 -5
- package/dist/astro/routes/api/mcp.mjs +42 -42
- package/dist/astro/routes/api/media/_id_/confirm.mjs +10 -10
- package/dist/astro/routes/api/media/_id_/upload.mjs +6 -6
- package/dist/astro/routes/api/media/_id_/usage.mjs +14 -14
- package/dist/astro/routes/api/media/_id_.mjs +13 -13
- 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 +13 -13
- package/dist/astro/routes/api/menus/_name_/items/_id_.mjs +11 -11
- package/dist/astro/routes/api/menus/_name_/items.mjs +11 -11
- package/dist/astro/routes/api/menus/_name_/reorder.mjs +11 -11
- package/dist/astro/routes/api/menus/_name_/translations.mjs +11 -11
- package/dist/astro/routes/api/menus/_name_.mjs +11 -11
- package/dist/astro/routes/api/menus/index.mjs +11 -11
- 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 +36 -5
- package/dist/astro/routes/api/openapi.json.mjs.map +1 -1
- package/dist/astro/routes/api/plugins/_pluginId_/_...path_.mjs +5 -5
- package/dist/astro/routes/api/redirects/404s/index.mjs +12 -12
- package/dist/astro/routes/api/redirects/404s/summary.mjs +12 -12
- package/dist/astro/routes/api/redirects/_id_.mjs +14 -13
- package/dist/astro/routes/api/redirects/_id_.mjs.map +1 -1
- package/dist/astro/routes/api/redirects/index.mjs +14 -13
- package/dist/astro/routes/api/redirects/index.mjs.map +1 -1
- package/dist/astro/routes/api/relations/_id_/index.mjs +18 -18
- package/dist/astro/routes/api/relations/_id_/translations.mjs +13 -13
- package/dist/astro/routes/api/relations/index.mjs +18 -18
- package/dist/astro/routes/api/revisions/_revisionId_/index.mjs +3 -3
- package/dist/astro/routes/api/revisions/_revisionId_/restore.mjs +4 -4
- package/dist/astro/routes/api/schema/collections/_slug_/fields/_fieldSlug_.mjs +45 -44
- 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 +45 -44
- 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 +45 -44
- package/dist/astro/routes/api/schema/collections/_slug_/fields/reorder.mjs.map +1 -1
- package/dist/astro/routes/api/schema/collections/_slug_/index.mjs +45 -44
- package/dist/astro/routes/api/schema/collections/_slug_/index.mjs.map +1 -1
- package/dist/astro/routes/api/schema/collections/index.mjs +45 -44
- package/dist/astro/routes/api/schema/collections/index.mjs.map +1 -1
- package/dist/astro/routes/api/schema/collections/reorder.d.mts +8 -0
- package/dist/astro/routes/api/schema/collections/reorder.d.mts.map +1 -0
- package/dist/astro/routes/api/schema/collections/reorder.mjs +66 -0
- package/dist/astro/routes/api/schema/collections/reorder.mjs.map +1 -0
- package/dist/astro/routes/api/schema/index.mjs +11 -9
- package/dist/astro/routes/api/schema/index.mjs.map +1 -1
- package/dist/astro/routes/api/schema/orphans/_slug_.mjs +45 -44
- package/dist/astro/routes/api/schema/orphans/_slug_.mjs.map +1 -1
- package/dist/astro/routes/api/schema/orphans/index.mjs +45 -44
- package/dist/astro/routes/api/schema/orphans/index.mjs.map +1 -1
- package/dist/astro/routes/api/search/enable.d.mts +1 -0
- package/dist/astro/routes/api/search/enable.d.mts.map +1 -1
- package/dist/astro/routes/api/search/enable.mjs +17 -13
- package/dist/astro/routes/api/search/enable.mjs.map +1 -1
- package/dist/astro/routes/api/search/index.mjs +11 -11
- package/dist/astro/routes/api/search/rebuild.mjs +13 -13
- package/dist/astro/routes/api/search/rebuild.mjs.map +1 -1
- package/dist/astro/routes/api/search/stats.mjs +7 -7
- package/dist/astro/routes/api/search/suggest.mjs +11 -11
- package/dist/astro/routes/api/sections/_slug_.mjs +11 -11
- package/dist/astro/routes/api/sections/index.mjs +11 -11
- package/dist/astro/routes/api/settings/backups/archives/_name_.mjs +7 -7
- package/dist/astro/routes/api/settings/backups/archives/index.mjs +6 -6
- package/dist/astro/routes/api/settings/backups/export.mjs +7 -7
- package/dist/astro/routes/api/settings/backups/index.mjs +8 -8
- package/dist/astro/routes/api/settings/email.mjs +5 -5
- package/dist/astro/routes/api/settings.mjs +16 -16
- package/dist/astro/routes/api/setup/admin-verify.mjs +13 -13
- package/dist/astro/routes/api/setup/admin.mjs +12 -12
- package/dist/astro/routes/api/setup/dev-bypass.mjs +30 -30
- package/dist/astro/routes/api/setup/dev-reset.mjs +3 -3
- package/dist/astro/routes/api/setup/index.mjs +32 -32
- package/dist/astro/routes/api/setup/status.mjs +4 -4
- package/dist/astro/routes/api/snapshot.mjs +9 -9
- package/dist/astro/routes/api/taxonomies/_name_/reorder.d.mts +8 -0
- package/dist/astro/routes/api/taxonomies/_name_/reorder.d.mts.map +1 -0
- package/dist/astro/routes/api/taxonomies/_name_/reorder.mjs +43 -0
- package/dist/astro/routes/api/taxonomies/_name_/reorder.mjs.map +1 -0
- package/dist/astro/routes/api/taxonomies/_name_/terms/_slug_/translations.mjs +16 -16
- package/dist/astro/routes/api/taxonomies/_name_/terms/_slug_.mjs +16 -16
- package/dist/astro/routes/api/taxonomies/_name_/terms/index.mjs +16 -16
- package/dist/astro/routes/api/taxonomies/index.mjs +16 -16
- package/dist/astro/routes/api/themes/preview.mjs +7 -7
- package/dist/astro/routes/api/typegen.mjs +5 -5
- package/dist/astro/routes/api/well-known/auth.mjs +2 -2
- 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 +8 -8
- package/dist/astro/routes/api/widget-areas/_name_/widgets/_id_.mjs +11 -11
- package/dist/astro/routes/api/widget-areas/_name_/widgets.mjs +11 -11
- package/dist/astro/routes/api/widget-areas/_name_.mjs +6 -6
- package/dist/astro/routes/api/widget-areas/index.mjs +11 -11
- package/dist/astro/routes/api/widget-components.mjs +3 -3
- package/dist/astro/routes/robots.txt.mjs +9 -9
- package/dist/astro/routes/sitemap-_collection_.xml.mjs +12 -12
- package/dist/astro/routes/sitemap.xml.mjs +10 -10
- package/dist/astro/types.d.mts +19 -13
- 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-R5iYYrpa.mjs → authorize-qRhWQnel.mjs} +2 -2
- package/dist/{authorize-R5iYYrpa.mjs.map → authorize-qRhWQnel.mjs.map} +1 -1
- package/dist/{backup-LpQ1V_sR.mjs → backup-CtA6LDNw.mjs} +5 -5
- package/dist/{backup-LpQ1V_sR.mjs.map → backup-CtA6LDNw.mjs.map} +1 -1
- package/dist/{byline-C5TAqs8N.mjs → byline-Cp6csL84.mjs} +9 -9
- package/dist/{byline-C5TAqs8N.mjs.map → byline-Cp6csL84.mjs.map} +1 -1
- package/dist/{byline-fields-T9ZLZMxJ.mjs → byline-fields-CNc0Yq5i.mjs} +2 -2
- package/dist/{byline-fields-T9ZLZMxJ.mjs.map → byline-fields-CNc0Yq5i.mjs.map} +1 -1
- package/dist/{byline-registry-BCuOp4UF.mjs → byline-registry-ZkPKqEwC.mjs} +4 -4
- package/dist/{byline-registry-BCuOp4UF.mjs.map → byline-registry-ZkPKqEwC.mjs.map} +1 -1
- package/dist/{bylines-B8-WGdja.mjs → bylines-CEj5CdT4.mjs} +7 -7
- package/dist/{bylines-B8-WGdja.mjs.map → bylines-CEj5CdT4.mjs.map} +1 -1
- package/dist/{bylines-DGuqBLjV.mjs → bylines-cf-C9lmF.mjs} +4 -4
- package/dist/{bylines-DGuqBLjV.mjs.map → bylines-cf-C9lmF.mjs.map} +1 -1
- package/dist/cache-C9FptTFR.mjs +108 -0
- package/dist/cache-C9FptTFR.mjs.map +1 -0
- package/dist/{challenge-store-BFzgFRog.mjs → challenge-store-D9VNKELo.mjs} +1 -1
- package/dist/{challenge-store-BFzgFRog.mjs.map → challenge-store-D9VNKELo.mjs.map} +1 -1
- package/dist/{chunks-D5dlPeRb.mjs → chunks-DbYzib_k.mjs} +2 -2
- package/dist/{chunks-D5dlPeRb.mjs.map → chunks-DbYzib_k.mjs.map} +1 -1
- package/dist/cli/index.mjs +40 -32
- 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-DnTxxVHv.mjs → comment-BIkJ6Fil.mjs} +3 -3
- package/dist/{comment-DnTxxVHv.mjs.map → comment-BIkJ6Fil.mjs.map} +1 -1
- package/dist/{comment-reaction-BUlUz2bh.mjs → comment-reaction-D-laEceb.mjs} +2 -2
- package/dist/{comment-reaction-BUlUz2bh.mjs.map → comment-reaction-D-laEceb.mjs.map} +1 -1
- package/dist/{comments-QPKgK3nk.mjs → comments-0_w6KChA.mjs} +3 -3
- package/dist/{comments-QPKgK3nk.mjs.map → comments-0_w6KChA.mjs.map} +1 -1
- package/dist/{components-DZkL4Fx0.mjs → components-BPxrRjpE.mjs} +1 -1
- package/dist/{components-DZkL4Fx0.mjs.map → components-BPxrRjpE.mjs.map} +1 -1
- package/dist/{content-CpfKV9QE.mjs → content-CJ94NEx5.mjs} +165 -112
- package/dist/content-CJ94NEx5.mjs.map +1 -0
- package/dist/{content-refresh-DgqUBeTv.mjs → content-refresh-Xw7aKmou.mjs} +6 -6
- package/dist/{content-refresh-DgqUBeTv.mjs.map → content-refresh-Xw7aKmou.mjs.map} +1 -1
- package/dist/{context-kO4YZB03.mjs → context-C_1nrqnW.mjs} +14 -14
- package/dist/{context-kO4YZB03.mjs.map → context-C_1nrqnW.mjs.map} +1 -1
- package/dist/{cron-BlKIMD_e.mjs → cron-DRV-UC4K.mjs} +1 -1
- package/dist/{cron-BlKIMD_e.mjs.map → cron-DRV-UC4K.mjs.map} +1 -1
- package/dist/{dashboard-DoBwPnON.mjs → dashboard-DINnNVVU.mjs} +5 -5
- package/dist/{dashboard-DoBwPnON.mjs.map → dashboard-DINnNVVU.mjs.map} +1 -1
- package/dist/db/index.d.mts +3 -3
- package/dist/db/index.mjs +2 -2
- package/dist/db/index.mjs.map +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/{default-C4v9KP56.mjs → default-BD2FG0xV.mjs} +1 -1
- package/dist/{default-C4v9KP56.mjs.map → default-BD2FG0xV.mjs.map} +1 -1
- package/dist/deferred-tasks-C-WRCcKo.d.mts +9 -0
- package/dist/deferred-tasks-C-WRCcKo.d.mts.map +1 -0
- package/dist/{device-flow-DhUsyJU6.mjs → device-flow-CTqd8mud.mjs} +5 -5
- package/dist/{device-flow-DhUsyJU6.mjs.map → device-flow-CTqd8mud.mjs.map} +1 -1
- package/dist/{dialect-helpers-DFwyWjTM.mjs → dialect-helpers-BSbfaO3F.mjs} +24 -16
- package/dist/dialect-helpers-BSbfaO3F.mjs.map +1 -0
- package/dist/{email-console-C-9Ng8DM.mjs → email-console-C6WdcWbL.mjs} +1 -1
- package/dist/{email-console-C-9Ng8DM.mjs.map → email-console-C6WdcWbL.mjs.map} +1 -1
- package/dist/{error-DmmN74gW.mjs → error-oh_9i6bR.mjs} +3 -3
- package/dist/{error-DmmN74gW.mjs.map → error-oh_9i6bR.mjs.map} +1 -1
- package/dist/{errors-DtEXIQQV.mjs → errors-BucQ8VYz.mjs} +2 -1
- package/dist/errors-BucQ8VYz.mjs.map +1 -0
- package/dist/{escape-CdW31WsG.mjs → escape-CXps5F_v.mjs} +1 -1
- package/dist/{escape-CdW31WsG.mjs.map → escape-CXps5F_v.mjs.map} +1 -1
- package/dist/{field-defs-cache-QMVnzTH6.mjs → field-defs-cache-WD82dMQq.mjs} +4 -4
- package/dist/{field-defs-cache-QMVnzTH6.mjs.map → field-defs-cache-WD82dMQq.mjs.map} +1 -1
- package/dist/{fts-manager-vncsZIJm.mjs → fts-manager-BITakW_R.mjs} +37 -13
- package/dist/fts-manager-BITakW_R.mjs.map +1 -0
- package/dist/{hash-Cb7U1b5M.mjs → hash-Cg0TXJPV.mjs} +1 -1
- package/dist/{hash-Cb7U1b5M.mjs.map → hash-Cg0TXJPV.mjs.map} +1 -1
- package/dist/{hreflang-CZbSx6Bg.d.mts → hreflang-BaLCNcDx.d.mts} +2 -2
- package/dist/{hreflang-CZbSx6Bg.d.mts.map → hreflang-BaLCNcDx.d.mts.map} +1 -1
- package/dist/{hreflang-Bg-zMpkr.mjs → hreflang-BdZuVBhL.mjs} +6 -6
- package/dist/{hreflang-Bg-zMpkr.mjs.map → hreflang-BdZuVBhL.mjs.map} +1 -1
- package/dist/{import-PKhLeXvn.mjs → import-C-9uqyT3.mjs} +6 -6
- package/dist/{import-PKhLeXvn.mjs.map → import-C-9uqyT3.mjs.map} +1 -1
- package/dist/{index-j9rTh3cp.d.mts → index-M37iz29I.d.mts} +75 -35
- package/dist/index-M37iz29I.d.mts.map +1 -0
- package/dist/{index-BeNto_Vs.d.mts → index-MGw47uWq.d.mts} +3 -3
- package/dist/{index-BeNto_Vs.d.mts.map → index-MGw47uWq.d.mts.map} +1 -1
- package/dist/index.d.mts +19 -19
- package/dist/index.mjs +68 -66
- package/dist/{load-BwTdWE8B.mjs → load-DV1DZuUJ.mjs} +2 -2
- package/dist/{load-BwTdWE8B.mjs.map → load-DV1DZuUJ.mjs.map} +1 -1
- package/dist/{loader-C1XOLV5b.mjs → loader-CGugY7Zl.mjs} +29 -15
- package/dist/loader-CGugY7Zl.mjs.map +1 -0
- package/dist/{manifest-schema-bCq54i7F.mjs → manifest-schema-Da7kj23y.mjs} +1 -1
- package/dist/{manifest-schema-bCq54i7F.mjs.map → manifest-schema-Da7kj23y.mjs.map} +1 -1
- package/dist/media/index.d.mts +1 -1
- package/dist/media/local-runtime.d.mts +12 -12
- package/dist/media/local-runtime.mjs +8 -8
- package/dist/{media-tQDZEdu7.mjs → media-BP7S-nHT.mjs} +2 -2
- package/dist/{media-tQDZEdu7.mjs.map → media-BP7S-nHT.mjs.map} +1 -1
- package/dist/{media-DWIzoVFL.mjs → media-OhYL-7Io.mjs} +1 -1
- package/dist/{media-DWIzoVFL.mjs.map → media-OhYL-7Io.mjs.map} +1 -1
- package/dist/{media-allowlist-B7TPD6aq.mjs → media-allowlist-D-peH1H5.mjs} +1 -1
- package/dist/{media-allowlist-B7TPD6aq.mjs.map → media-allowlist-D-peH1H5.mjs.map} +1 -1
- package/dist/{media-upload-Bc9Nc5Zf.mjs → media-upload-DtrwU2B0.mjs} +7 -7
- package/dist/{media-upload-Bc9Nc5Zf.mjs.map → media-upload-DtrwU2B0.mjs.map} +1 -1
- package/dist/{media-url-BCm5vBn6.mjs → media-url-DYs_YLOx.mjs} +1 -1
- package/dist/{media-url-BCm5vBn6.mjs.map → media-url-DYs_YLOx.mjs.map} +1 -1
- package/dist/{media-usage-DPJcNaAq.mjs → media-usage-BlxfTkN0.mjs} +8 -8
- package/dist/{media-usage-DPJcNaAq.mjs.map → media-usage-BlxfTkN0.mjs.map} +1 -1
- package/dist/{menus-BxPLFfIc.mjs → menus-BcQWxeXu.mjs} +4 -4
- package/dist/{menus-BxPLFfIc.mjs.map → menus-BcQWxeXu.mjs.map} +1 -1
- package/dist/{menus-C6qhqP4X.mjs → menus-Y54RDPIN.mjs} +215 -38
- package/dist/menus-Y54RDPIN.mjs.map +1 -0
- package/dist/{mode-fiXRMfeA.mjs → mode-BWyTBe3I.mjs} +1 -1
- package/dist/{mode-fiXRMfeA.mjs.map → mode-BWyTBe3I.mjs.map} +1 -1
- package/dist/{oauth-authorization-C9tFinly.mjs → oauth-authorization-ClvktmrL.mjs} +5 -5
- package/dist/{oauth-authorization-C9tFinly.mjs.map → oauth-authorization-ClvktmrL.mjs.map} +1 -1
- package/dist/{oauth-clients-BwTxE1aE.mjs → oauth-clients-8ao-U66l.mjs} +1 -1
- package/dist/{oauth-clients-BwTxE1aE.mjs.map → oauth-clients-8ao-U66l.mjs.map} +1 -1
- package/dist/{oauth-state-store-DaRUwPWO.mjs → oauth-state-store-B1ofdTiQ.mjs} +1 -1
- package/dist/{oauth-state-store-DaRUwPWO.mjs.map → oauth-state-store-B1ofdTiQ.mjs.map} +1 -1
- package/dist/{oauth-user-lookup-CzuzOSlF.mjs → oauth-user-lookup-CscEuIiR.mjs} +1 -1
- package/dist/{oauth-user-lookup-CzuzOSlF.mjs.map → oauth-user-lookup-CscEuIiR.mjs.map} +1 -1
- package/dist/object-cache/memory.d.mts +1 -1
- package/dist/{object-cache-Bok5j2ae.mjs → object-cache-71tPfV4A.mjs} +106 -5
- package/dist/object-cache-71tPfV4A.mjs.map +1 -0
- package/dist/{options-aeIs8WFu.d.mts → options-CA4eVX6P.d.mts} +3 -3
- package/dist/{options-aeIs8WFu.d.mts.map → options-CA4eVX6P.d.mts.map} +1 -1
- package/dist/{options-BlmBHTvX.mjs → options-CBXIHUoT.mjs} +1 -1
- package/dist/{options-BlmBHTvX.mjs.map → options-CBXIHUoT.mjs.map} +1 -1
- package/dist/page/index.d.mts +2 -2
- package/dist/{parse-BL49yb9D.mjs → parse-CJKNuewM.mjs} +2 -2
- package/dist/{parse-BL49yb9D.mjs.map → parse-CJKNuewM.mjs.map} +1 -1
- package/dist/{passkey-config-KMhgFjdQ.mjs → passkey-config-D-zrzMJI.mjs} +1 -1
- package/dist/{passkey-config-KMhgFjdQ.mjs.map → passkey-config-D-zrzMJI.mjs.map} +1 -1
- package/dist/{placeholder-Dxo5Zt58.d.mts → placeholder-DaeNS-VG.d.mts} +1 -1
- package/dist/{placeholder-Dxo5Zt58.d.mts.map → placeholder-DaeNS-VG.d.mts.map} +1 -1
- package/dist/plugin-types.d.mts +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/{portable-text-CNahFfj6.mjs → portable-text-B_kqBmXB.mjs} +1 -1
- package/dist/{portable-text-CNahFfj6.mjs.map → portable-text-B_kqBmXB.mjs.map} +1 -1
- package/dist/{preview-D4Jnbfx7.mjs → preview-BU6PaLpM.mjs} +2 -2
- package/dist/{preview-D4Jnbfx7.mjs.map → preview-BU6PaLpM.mjs.map} +1 -1
- package/dist/{public-url-DSGTnJFw.mjs → public-url-Ox9oOlgp.mjs} +14 -3
- package/dist/public-url-Ox9oOlgp.mjs.map +1 -0
- package/dist/{query-DCiXI7OZ.mjs → query-C5w7PsRQ.mjs} +20 -41
- package/dist/query-C5w7PsRQ.mjs.map +1 -0
- package/dist/{query-1xOcEy18.mjs → query-rC9HKv1N.mjs} +4 -4
- package/dist/{query-1xOcEy18.mjs.map → query-rC9HKv1N.mjs.map} +1 -1
- package/dist/{rate-limit-Vkp9gQ1Y.mjs → rate-limit-kug6q99V.mjs} +2 -2
- package/dist/{rate-limit-Vkp9gQ1Y.mjs.map → rate-limit-kug6q99V.mjs.map} +1 -1
- package/dist/{redirect-BJ6d1yHh.mjs → redirect-DIJxXKOG.mjs} +3 -3
- package/dist/{redirect-BJ6d1yHh.mjs.map → redirect-DIJxXKOG.mjs.map} +1 -1
- package/dist/{redirect-CDgfv9vh.mjs → redirect-Egf2R9yP.mjs} +1 -1
- package/dist/{redirect-CDgfv9vh.mjs.map → redirect-Egf2R9yP.mjs.map} +1 -1
- package/dist/{redirects-Cwkq2H-G.mjs → redirects-Bzm812bY.mjs} +5 -5
- package/dist/{redirects-Cwkq2H-G.mjs.map → redirects-Bzm812bY.mjs.map} +1 -1
- package/dist/{redirects-BOn2DIUs.mjs → redirects-G8wAhWAf.mjs} +20 -6
- package/dist/redirects-G8wAhWAf.mjs.map +1 -0
- package/dist/{registry-BP1JK2xh.mjs → registry-Dbodb4Uo.mjs} +59 -14
- package/dist/registry-Dbodb4Uo.mjs.map +1 -0
- package/dist/{relation-DJ5DZh7B.mjs → relation-Cbe3Sd3m.mjs} +3 -3
- package/dist/{relation-DJ5DZh7B.mjs.map → relation-Cbe3Sd3m.mjs.map} +1 -1
- package/dist/{relations-C4duJnwI.mjs → relations-Bw_E1TXo.mjs} +3 -3
- package/dist/{relations-C4duJnwI.mjs.map → relations-Bw_E1TXo.mjs.map} +1 -1
- package/dist/{relations-DHFQGX0h.d.mts → relations-G2ta7GIl.d.mts} +36 -9
- package/dist/relations-G2ta7GIl.d.mts.map +1 -0
- package/dist/{relations-DpTjftCl.mjs → relations-qHwpUe66.mjs} +5 -5
- package/dist/{relations-DpTjftCl.mjs.map → relations-qHwpUe66.mjs.map} +1 -1
- package/dist/request-context.d.mts +3 -0
- package/dist/request-context.d.mts.map +1 -1
- package/dist/request-context.mjs.map +1 -1
- package/dist/{request-meta-DzXYYI-n.mjs → request-meta-Df-jFbAd.mjs} +2 -2
- package/dist/{request-meta-DzXYYI-n.mjs.map → request-meta-Df-jFbAd.mjs.map} +1 -1
- package/dist/{resolve-BUvFE0Lr.mjs → resolve-DZzG4HqM.mjs} +1 -1
- package/dist/{resolve-BUvFE0Lr.mjs.map → resolve-DZzG4HqM.mjs.map} +1 -1
- package/dist/{runner-BsI18UgP.mjs → runner-BFTrkYhu.mjs} +482 -216
- package/dist/runner-BFTrkYhu.mjs.map +1 -0
- package/dist/{runner-CHdkERbt.d.mts → runner-BaADli8l.d.mts} +2 -2
- package/dist/{runner-CHdkERbt.d.mts.map → runner-BaADli8l.d.mts.map} +1 -1
- package/dist/runtime.d.mts +11 -11
- package/dist/runtime.mjs +3 -3
- package/dist/{schema-eqZhkR0S.mjs → schema-CiQXr6_F.mjs} +3 -3
- package/dist/{schema-eqZhkR0S.mjs.map → schema-CiQXr6_F.mjs.map} +1 -1
- package/dist/{scopes-Be2d8bSb.mjs → scopes-CNJVT5i5.mjs} +3 -3
- package/dist/{scopes-Be2d8bSb.mjs.map → scopes-CNJVT5i5.mjs.map} +1 -1
- package/dist/{search-CeO678cp.mjs → search-FZhx5dDU.mjs} +6 -6
- package/dist/{search-CeO678cp.mjs.map → search-FZhx5dDU.mjs.map} +1 -1
- package/dist/{secrets-870d-7yA.mjs → secrets-DLd8RXee.mjs} +4 -4
- package/dist/{secrets-870d-7yA.mjs.map → secrets-DLd8RXee.mjs.map} +1 -1
- package/dist/{sections-DSuEfirn.mjs → sections-BrIrMUCn.mjs} +3 -3
- package/dist/{sections-DSuEfirn.mjs.map → sections-BrIrMUCn.mjs.map} +1 -1
- package/dist/seed/index.d.mts +2 -2
- package/dist/seed/index.mjs +24 -24
- package/dist/seo/index.d.mts +3 -3
- package/dist/seo/index.mjs +17 -17
- package/dist/{seo-C3GDfT0V.mjs → seo-CobNfOvb.mjs} +2 -2
- package/dist/{seo-C3GDfT0V.mjs.map → seo-CobNfOvb.mjs.map} +1 -1
- package/dist/{seo-BAPKiED8.mjs → seo-DTHRntNC.mjs} +3 -3
- package/dist/{seo-BAPKiED8.mjs.map → seo-DTHRntNC.mjs.map} +1 -1
- package/dist/{service-DyFT-k-R.mjs → service-B-pYGPgR.mjs} +4 -4
- package/dist/{service-DyFT-k-R.mjs.map → service-B-pYGPgR.mjs.map} +1 -1
- package/dist/{session-user-BrK2zz7S.mjs → session-user-BvM9-zNl.mjs} +2 -2
- package/dist/{session-user-BrK2zz7S.mjs.map → session-user-BvM9-zNl.mjs.map} +1 -1
- package/dist/{settings-CREKyj8I.mjs → settings-DPHau-WH.mjs} +3 -3
- package/dist/{settings-CREKyj8I.mjs.map → settings-DPHau-WH.mjs.map} +1 -1
- package/dist/{settings-DgKouY2S.mjs → settings-kJhGiQ4z.mjs} +7 -7
- package/dist/{settings-DgKouY2S.mjs.map → settings-kJhGiQ4z.mjs.map} +1 -1
- package/dist/{setup-complete-L7bMK2VI.mjs → setup-complete-u50Qm8rY.mjs} +2 -2
- package/dist/{setup-complete-L7bMK2VI.mjs.map → setup-complete-u50Qm8rY.mjs.map} +1 -1
- package/dist/{setup-nonce-Ct5tjWcq.mjs → setup-nonce-DCjiiOD2.mjs} +1 -1
- package/dist/{setup-nonce-Ct5tjWcq.mjs.map → setup-nonce-DCjiiOD2.mjs.map} +1 -1
- package/dist/{single-flight-cache-C2exrGAi.mjs → single-flight-cache-DW3w11Pu.mjs} +1 -1
- package/dist/{single-flight-cache-C2exrGAi.mjs.map → single-flight-cache-DW3w11Pu.mjs.map} +1 -1
- package/dist/site-url-I-lJ5kma.mjs +16 -0
- package/dist/site-url-I-lJ5kma.mjs.map +1 -0
- package/dist/{snapshot-BdpUJKD-.mjs → snapshot-I_fjLDaD.mjs} +2 -2
- package/dist/{snapshot-BdpUJKD-.mjs.map → snapshot-I_fjLDaD.mjs.map} +1 -1
- package/dist/{ssrf-CviKqWmq.mjs → ssrf-CTa6v21i.mjs} +1 -1
- package/dist/{ssrf-CviKqWmq.mjs.map → ssrf-CTa6v21i.mjs.map} +1 -1
- package/dist/{state-xxv6ZTMv.mjs → state-CQvoefYP.mjs} +1 -1
- package/dist/{state-xxv6ZTMv.mjs.map → state-CQvoefYP.mjs.map} +1 -1
- package/dist/{status-COfycGIU.mjs → status-CIsmlC1E.mjs} +1 -1
- package/dist/{status-COfycGIU.mjs.map → status-CIsmlC1E.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-Dbdki3Un.mjs → taxonomies-CKuaZER5.mjs} +85 -5
- package/dist/taxonomies-CKuaZER5.mjs.map +1 -0
- package/dist/{taxonomies-B61CRSha.mjs → taxonomies-CLN1N92E.mjs} +16 -17
- package/dist/taxonomies-CLN1N92E.mjs.map +1 -0
- package/dist/{taxonomy-DvwWAPvA.mjs → taxonomy-pOrB2kZe.mjs} +142 -15
- package/dist/taxonomy-pOrB2kZe.mjs.map +1 -0
- package/dist/{tokens-DVltpO2D.mjs → tokens-DagaJGK8.mjs} +1 -1
- package/dist/{tokens-DVltpO2D.mjs.map → tokens-DagaJGK8.mjs.map} +1 -1
- package/dist/{transaction-D0FOsb3X.mjs → transaction-NQj4VJ7Z.mjs} +1 -1
- package/dist/{transaction-D0FOsb3X.mjs.map → transaction-NQj4VJ7Z.mjs.map} +1 -1
- package/dist/{transport-DokJOScS.d.mts → transport-CAwTaTp_.d.mts} +1 -1
- package/dist/{transport-DokJOScS.d.mts.map → transport-CAwTaTp_.d.mts.map} +1 -1
- package/dist/{transport-BWQo0Foy.mjs → transport-DVsa5YYo.mjs} +1 -1
- package/dist/{transport-BWQo0Foy.mjs.map → transport-DVsa5YYo.mjs.map} +1 -1
- package/dist/{trusted-proxy-CwjQj0YG.mjs → trusted-proxy-D20_7fyX.mjs} +1 -1
- package/dist/{trusted-proxy-CwjQj0YG.mjs.map → trusted-proxy-D20_7fyX.mjs.map} +1 -1
- package/dist/{types-DqZVPILm.d.mts → types-BGWPMiBO.d.mts} +2 -2
- package/dist/{types-DqZVPILm.d.mts.map → types-BGWPMiBO.d.mts.map} +1 -1
- package/dist/{types-DsAMyD_o.d.mts → types-BK6U01Ro.d.mts} +1 -1
- package/dist/{types-DsAMyD_o.d.mts.map → types-BK6U01Ro.d.mts.map} +1 -1
- package/dist/{types-BD40g7zz.mjs → types-BjxTKxrZ.mjs} +1 -1
- package/dist/{types-BD40g7zz.mjs.map → types-BjxTKxrZ.mjs.map} +1 -1
- package/dist/{types-jISEalTX.d.mts → types-BnFP1M3J.d.mts} +22 -1
- package/dist/types-BnFP1M3J.d.mts.map +1 -0
- package/dist/{types-Dr2GLlwu.d.mts → types-C8oz_ayJ.d.mts} +1 -1
- package/dist/{types-Dr2GLlwu.d.mts.map → types-C8oz_ayJ.d.mts.map} +1 -1
- package/dist/{types-C9P3ysxq.d.mts → types-CbUcuxxc.d.mts} +1 -1
- package/dist/{types-C9P3ysxq.d.mts.map → types-CbUcuxxc.d.mts.map} +1 -1
- package/dist/{types-XrQQ-Aex.mjs → types-Cd8iuS1J.mjs} +10 -3
- package/dist/{types-XrQQ-Aex.mjs.map → types-Cd8iuS1J.mjs.map} +1 -1
- package/dist/types-CtzytVXn.mjs +18 -0
- package/dist/types-CtzytVXn.mjs.map +1 -0
- package/dist/{types-BQY7VYw6.d.mts → types-Cz8hNch2.d.mts} +5 -5
- package/dist/{types-BQY7VYw6.d.mts.map → types-Cz8hNch2.d.mts.map} +1 -1
- package/dist/{types-CcSZCcF1.d.mts → types-DLG4IFEQ.d.mts} +1 -1
- package/dist/{types-CcSZCcF1.d.mts.map → types-DLG4IFEQ.d.mts.map} +1 -1
- package/dist/{types-84Bque3-.d.mts → types-Dc4ntQjQ.d.mts} +10 -1
- package/dist/types-Dc4ntQjQ.d.mts.map +1 -0
- package/dist/{types-DQLZ58GV.d.mts → types-LoagAGzH.d.mts} +1 -1
- package/dist/{types-DQLZ58GV.d.mts.map → types-LoagAGzH.d.mts.map} +1 -1
- package/dist/{types-o7xo7VgH.mjs → types-NBI3rF-_.mjs} +3 -2
- package/dist/types-NBI3rF-_.mjs.map +1 -0
- package/dist/{upload-attempts-C5yd6Gae.mjs → upload-attempts-D8QAFLUJ.mjs} +1 -1
- package/dist/{upload-attempts-C5yd6Gae.mjs.map → upload-attempts-D8QAFLUJ.mjs.map} +1 -1
- package/dist/{user-BAumEmpA.mjs → user-DBrq4UVq.mjs} +3 -3
- package/dist/{user-BAumEmpA.mjs.map → user-DBrq4UVq.mjs.map} +1 -1
- package/dist/{utils-BbUgmeZG.mjs → utils-hLzi_2Fn.mjs} +2 -2
- package/dist/{utils-BbUgmeZG.mjs.map → utils-hLzi_2Fn.mjs.map} +1 -1
- package/dist/{validate-VPnKoIzW.mjs → validate-BpwoDOgt.mjs} +25 -2
- package/dist/validate-BpwoDOgt.mjs.map +1 -0
- package/dist/{validate-CdYcY-Ln.d.mts → validate-C3oSmA7F.d.mts} +15 -5
- package/dist/validate-C3oSmA7F.d.mts.map +1 -0
- package/dist/{validate-Bs_wT2ul.mjs → validate-mKo3RxBM.mjs} +3 -3
- package/dist/{validate-Bs_wT2ul.mjs.map → validate-mKo3RxBM.mjs.map} +1 -1
- package/dist/{validation-BngR0nit.mjs → validation-BgpucsvF.mjs} +10 -10
- package/dist/{validation-BngR0nit.mjs.map → validation-BgpucsvF.mjs.map} +1 -1
- package/dist/version-C4PnpmoV.mjs +7 -0
- package/dist/{version-Bdfb34kk.mjs.map → version-C4PnpmoV.mjs.map} +1 -1
- package/dist/{widgets-L-VndTKD.mjs → widgets-CJJtkiKh.mjs} +3 -3
- package/dist/{widgets-L-VndTKD.mjs.map → widgets-CJJtkiKh.mjs.map} +1 -1
- package/dist/{wxr-taxonomies-BexjtNid.mjs → wxr-taxonomies-9PPSy8X6.mjs} +4 -4
- package/dist/{wxr-taxonomies-BexjtNid.mjs.map → wxr-taxonomies-9PPSy8X6.mjs.map} +1 -1
- package/dist/{wxr-taxonomies-DueaLFd9.d.mts → wxr-taxonomies-Bkpp_2tK.d.mts} +1 -1
- package/dist/{wxr-taxonomies-DueaLFd9.d.mts.map → wxr-taxonomies-Bkpp_2tK.d.mts.map} +1 -1
- package/dist/{zod-generator-DMzfga3g.mjs → zod-generator-CG64Hnbh.mjs} +3 -3
- package/dist/{zod-generator-DMzfga3g.mjs.map → zod-generator-CG64Hnbh.mjs.map} +1 -1
- package/package.json +11 -8
- package/src/after.ts +6 -1
- package/src/api/errors.ts +1 -0
- package/src/api/handlers/content.ts +45 -4
- package/src/api/handlers/marketplace.ts +14 -0
- package/src/api/handlers/registry.ts +14 -0
- package/src/api/handlers/revision.ts +19 -5
- package/src/api/handlers/schema.ts +37 -0
- package/src/api/handlers/snapshot.ts +1 -1
- package/src/api/handlers/taxonomies.ts +101 -1
- package/src/api/openapi/document.ts +48 -0
- package/src/api/public-url.ts +14 -2
- package/src/api/schemas/schema.ts +13 -0
- package/src/api/schemas/search.ts +2 -0
- package/src/api/schemas/taxonomies.ts +18 -0
- package/src/api/site-url.ts +16 -6
- package/src/astro/integration/routes.ts +14 -0
- package/src/astro/integration/runtime.ts +13 -0
- package/src/astro/integration/virtual-modules.ts +2 -0
- package/src/astro/middleware/redirect.ts +2 -10
- package/src/astro/middleware/scoped-db.ts +35 -4
- package/src/astro/middleware.ts +56 -22
- package/src/astro/routes/api/admin/comments/[id]/status.ts +1 -1
- package/src/astro/routes/api/admin/users/[id]/send-recovery.ts +2 -2
- package/src/astro/routes/api/auth/invite/index.ts +2 -2
- package/src/astro/routes/api/auth/magic-link/send.ts +2 -2
- package/src/astro/routes/api/auth/signup/request.ts +2 -2
- package/src/astro/routes/api/comments/[collection]/[contentId]/index.ts +1 -1
- package/src/astro/routes/api/schema/collections/reorder.ts +31 -0
- package/src/astro/routes/api/schema/index.ts +2 -0
- package/src/astro/routes/api/search/enable.ts +5 -1
- package/src/astro/routes/api/search/rebuild.ts +6 -1
- package/src/astro/routes/api/taxonomies/[name]/reorder.ts +41 -0
- package/src/astro/types.ts +6 -0
- package/src/cleanup.ts +31 -26
- package/src/cli/commands/dev.ts +13 -3
- package/src/cli/commands/export-seed.ts +2 -0
- package/src/cli/index.ts +1 -1
- package/src/components/CommentForm.astro +1 -1
- package/src/components/Comments.astro +1 -1
- package/src/components/InlinePortableTextEditor.tsx +171 -31
- package/src/components/OrderedList.astro +14 -0
- package/src/components/PortableText.astro +26 -4
- package/src/components/index.ts +12 -1
- package/src/components/ordered-list.ts +549 -0
- package/src/content/converters/numbered-list.ts +148 -0
- package/src/content/converters/portable-text-to-prosemirror.ts +59 -9
- package/src/content/converters/prosemirror-to-portable-text.ts +23 -12
- package/src/content/converters/types.ts +2 -0
- package/src/content/portable-text-lists.ts +205 -0
- package/src/database/dialect-helpers.ts +3 -22
- package/src/database/migrations/055_content_translation_group_locale_index.ts +67 -0
- package/src/database/migrations/056_taxonomy_term_sort_order.ts +189 -0
- package/src/database/migrations/057_collection_hidden.ts +24 -0
- package/src/database/migrations/058_collection_sort_order.ts +20 -0
- package/src/database/migrations/059_revision_prune_queue.ts +36 -0
- package/src/database/migrations/runner.ts +10 -0
- package/src/database/repositories/content.ts +191 -178
- package/src/database/repositories/revision.ts +82 -17
- package/src/database/repositories/taxonomy.ts +202 -7
- package/src/database/repositories/types.ts +7 -0
- package/src/database/types.ts +13 -1
- package/src/database/validate.ts +39 -0
- package/src/db/adapters.ts +8 -0
- package/src/deferred-tasks.ts +71 -0
- package/src/emdash-runtime.ts +268 -92
- package/src/index.ts +2 -0
- package/src/loader.ts +46 -24
- package/src/media/usage/gc.ts +50 -0
- package/src/object-cache/index.ts +160 -3
- package/src/plugins/routes.ts +34 -0
- package/src/plugins/storage-indexes.ts +50 -11
- package/src/query.ts +21 -42
- package/src/redirects/cache.ts +79 -19
- package/src/request-context.ts +3 -0
- package/src/scheduled-publish.ts +6 -1
- package/src/schema/registry.ts +95 -3
- package/src/schema/types.ts +24 -0
- package/src/search/fts-manager.ts +50 -10
- package/src/search/index.ts +2 -0
- package/src/search/types.ts +6 -0
- package/src/seed/apply.ts +22 -2
- package/src/seed/types.ts +10 -0
- package/src/taxonomies/index.ts +11 -7
- package/src/taxonomies/term-counts.ts +2 -4
- package/src/ui-comments.ts +19 -0
- package/src/ui.ts +11 -3
- package/src/virtual-modules.d.ts +8 -0
- package/dist/adapters-C0ONzkUP.d.mts.map +0 -1
- package/dist/after-B1IIdH3Y.mjs +0 -29
- package/dist/after-B1IIdH3Y.mjs.map +0 -1
- package/dist/api-DgPbMlng.mjs.map +0 -1
- package/dist/apply-1_6ra7NP.mjs.map +0 -1
- package/dist/cache-B26cufFd.mjs +0 -65
- package/dist/cache-B26cufFd.mjs.map +0 -1
- package/dist/content-CpfKV9QE.mjs.map +0 -1
- package/dist/dialect-helpers-DFwyWjTM.mjs.map +0 -1
- package/dist/errors-DtEXIQQV.mjs.map +0 -1
- package/dist/fts-manager-vncsZIJm.mjs.map +0 -1
- package/dist/index-j9rTh3cp.d.mts.map +0 -1
- package/dist/loader-C1XOLV5b.mjs.map +0 -1
- package/dist/menus-C6qhqP4X.mjs.map +0 -1
- package/dist/object-cache-Bok5j2ae.mjs.map +0 -1
- package/dist/public-url-DSGTnJFw.mjs.map +0 -1
- package/dist/query-DCiXI7OZ.mjs.map +0 -1
- package/dist/redirects-BOn2DIUs.mjs.map +0 -1
- package/dist/registry-BP1JK2xh.mjs.map +0 -1
- package/dist/relations-DHFQGX0h.d.mts.map +0 -1
- package/dist/runner-BsI18UgP.mjs.map +0 -1
- package/dist/site-url-8N3kSyVZ.mjs +0 -13
- package/dist/site-url-8N3kSyVZ.mjs.map +0 -1
- package/dist/taxonomies-B61CRSha.mjs.map +0 -1
- package/dist/taxonomies-Dbdki3Un.mjs.map +0 -1
- package/dist/taxonomy-DvwWAPvA.mjs.map +0 -1
- package/dist/types-84Bque3-.d.mts.map +0 -1
- package/dist/types-jISEalTX.d.mts.map +0 -1
- package/dist/types-o7xo7VgH.mjs.map +0 -1
- package/dist/validate-CdYcY-Ln.d.mts.map +0 -1
- package/dist/validate-VPnKoIzW.mjs.map +0 -1
- package/dist/version-Bdfb34kk.mjs +0 -7
- /package/dist/{api-tokens-CEsW_jCg.mjs → api-tokens-Dai9dND0.mjs} +0 -0
- /package/dist/{ssrf-BB__xfNM.mjs → ssrf-Cj568Dgs.mjs} +0 -0
- /package/dist/{types-CK0LxPUQ.mjs → types-DKuWPYV5.mjs} +0 -0
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import "../../../base64-B-PsqheR.mjs";
|
|
2
|
-
import "../../../types-
|
|
3
|
-
import { t as OptionsRepository } from "../../../options-
|
|
4
|
-
import { n as apiSuccess, r as handleError } from "../../../error-
|
|
5
|
-
import { n as VERSION, t as COMMIT } from "../../../version-
|
|
6
|
-
import { t as getAuthMode } from "../../../mode-
|
|
2
|
+
import "../../../types-Cd8iuS1J.mjs";
|
|
3
|
+
import { t as OptionsRepository } from "../../../options-CBXIHUoT.mjs";
|
|
4
|
+
import { n as apiSuccess, r as handleError } from "../../../error-oh_9i6bR.mjs";
|
|
5
|
+
import { n as VERSION, t as COMMIT } from "../../../version-C4PnpmoV.mjs";
|
|
6
|
+
import { t as getAuthMode } from "../../../mode-BWyTBe3I.mjs";
|
|
7
7
|
|
|
8
8
|
//#region src/astro/routes/api/manifest.ts
|
|
9
9
|
const prerender = false;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import "../../../base64-B-PsqheR.mjs";
|
|
2
|
-
import "../../../types-
|
|
3
|
-
import { t as apiError } from "../../../error-
|
|
4
|
-
import { t as CONTENT_TYPE_RE } from "../../../media-
|
|
5
|
-
import {
|
|
6
|
-
import "../../../relations-
|
|
7
|
-
import "../../../status-
|
|
2
|
+
import "../../../types-Cd8iuS1J.mjs";
|
|
3
|
+
import { t as apiError } from "../../../error-oh_9i6bR.mjs";
|
|
4
|
+
import { t as CONTENT_TYPE_RE } from "../../../media-OhYL-7Io.mjs";
|
|
5
|
+
import { gn as bylineUpdateBody, tn as contentSeoInput, un as bylineCreateBody, vn as contentBylineInputSchema } from "../../../redirects-G8wAhWAf.mjs";
|
|
6
|
+
import "../../../relations-Bw_E1TXo.mjs";
|
|
7
|
+
import "../../../status-CIsmlC1E.mjs";
|
|
8
8
|
import "../../../api/schemas/index.mjs";
|
|
9
|
-
import { i as hasScope$1 } from "../../../api-tokens-
|
|
10
|
-
import { n as convertDataForWrite, t as convertDataForRead } from "../../../portable-text-
|
|
9
|
+
import { i as hasScope$1 } from "../../../api-tokens-Dai9dND0.mjs";
|
|
10
|
+
import { n as convertDataForWrite, t as convertDataForRead } from "../../../portable-text-B_kqBmXB.mjs";
|
|
11
11
|
import { z } from "zod";
|
|
12
12
|
import { Permissions, Role, canActOnOwn, hasPermission } from "@emdash-cms/auth";
|
|
13
13
|
import { WebStandardStreamableHTTPServerTransport } from "@modelcontextprotocol/sdk/server/webStandardStreamableHttp.js";
|
|
@@ -173,7 +173,7 @@ function getEmDash(extra) {
|
|
|
173
173
|
}
|
|
174
174
|
async function getCollectionFields(ec, collection) {
|
|
175
175
|
try {
|
|
176
|
-
const { SchemaRegistry } = await import("../../../schema-
|
|
176
|
+
const { SchemaRegistry } = await import("../../../schema-CiQXr6_F.mjs").then((n) => n.t);
|
|
177
177
|
const col = await new SchemaRegistry(ec.db).getCollectionWithFields(collection);
|
|
178
178
|
return col ? col.fields : null;
|
|
179
179
|
} catch {
|
|
@@ -202,7 +202,7 @@ async function applyReadMarkdown(ec, collection, items) {
|
|
|
202
202
|
for (const item of items) if (item.data && typeof item.data === "object") item.data = convertDataForRead(item.data, fields, false);
|
|
203
203
|
}
|
|
204
204
|
async function invalidateBylines() {
|
|
205
|
-
const { invalidateBylineCache } = await import("../../../bylines-
|
|
205
|
+
const { invalidateBylineCache } = await import("../../../bylines-CEj5CdT4.mjs").then((n) => n.t);
|
|
206
206
|
invalidateBylineCache();
|
|
207
207
|
}
|
|
208
208
|
/**
|
|
@@ -758,7 +758,7 @@ function createMcpServer(pluginTools = [], request) {
|
|
|
758
758
|
requireScope(extra, "content:read");
|
|
759
759
|
const ec = getEmDash(extra);
|
|
760
760
|
try {
|
|
761
|
-
const { BylineRepository } = await import("../../../byline-
|
|
761
|
+
const { BylineRepository } = await import("../../../byline-Cp6csL84.mjs").then((n) => n.n);
|
|
762
762
|
return jsonResult(await new BylineRepository(ec.db).findMany({
|
|
763
763
|
search: args.search,
|
|
764
764
|
isGuest: args.isGuest,
|
|
@@ -780,7 +780,7 @@ function createMcpServer(pluginTools = [], request) {
|
|
|
780
780
|
requireScope(extra, "content:read");
|
|
781
781
|
const ec = getEmDash(extra);
|
|
782
782
|
try {
|
|
783
|
-
const { BylineRepository } = await import("../../../byline-
|
|
783
|
+
const { BylineRepository } = await import("../../../byline-Cp6csL84.mjs").then((n) => n.n);
|
|
784
784
|
const byline = await new BylineRepository(ec.db).findById(args.id);
|
|
785
785
|
if (!byline) return respondError("NOT_FOUND", `Byline '${args.id}' not found`);
|
|
786
786
|
return jsonResult(byline);
|
|
@@ -798,7 +798,7 @@ function createMcpServer(pluginTools = [], request) {
|
|
|
798
798
|
requireRole(extra, Role.EDITOR);
|
|
799
799
|
const ec = getEmDash(extra);
|
|
800
800
|
try {
|
|
801
|
-
const { handleBylineCreate } = await import("../../../bylines-
|
|
801
|
+
const { handleBylineCreate } = await import("../../../bylines-cf-C9lmF.mjs").then((n) => n.t);
|
|
802
802
|
const result = await handleBylineCreate(ec.db, args);
|
|
803
803
|
if (result.success) await invalidateBylines();
|
|
804
804
|
return unwrap(result);
|
|
@@ -818,7 +818,7 @@ function createMcpServer(pluginTools = [], request) {
|
|
|
818
818
|
requireRole(extra, Role.EDITOR);
|
|
819
819
|
const ec = getEmDash(extra);
|
|
820
820
|
try {
|
|
821
|
-
const { handleBylineUpdate } = await import("../../../bylines-
|
|
821
|
+
const { handleBylineUpdate } = await import("../../../bylines-cf-C9lmF.mjs").then((n) => n.t);
|
|
822
822
|
const { id, ...input } = args;
|
|
823
823
|
const result = await handleBylineUpdate(ec.db, id, input);
|
|
824
824
|
if (result.success) await invalidateBylines();
|
|
@@ -837,7 +837,7 @@ function createMcpServer(pluginTools = [], request) {
|
|
|
837
837
|
requireRole(extra, Role.EDITOR);
|
|
838
838
|
const ec = getEmDash(extra);
|
|
839
839
|
try {
|
|
840
|
-
const { BylineRepository } = await import("../../../byline-
|
|
840
|
+
const { BylineRepository } = await import("../../../byline-Cp6csL84.mjs").then((n) => n.n);
|
|
841
841
|
if (!await new BylineRepository(ec.db).delete(args.id)) return respondError("NOT_FOUND", `Byline '${args.id}' not found`);
|
|
842
842
|
await invalidateBylines();
|
|
843
843
|
return jsonResult({ deleted: args.id });
|
|
@@ -854,7 +854,7 @@ function createMcpServer(pluginTools = [], request) {
|
|
|
854
854
|
requireScope(extra, "content:read");
|
|
855
855
|
const ec = getEmDash(extra);
|
|
856
856
|
try {
|
|
857
|
-
const { handleBylineTranslations } = await import("../../../bylines-
|
|
857
|
+
const { handleBylineTranslations } = await import("../../../bylines-cf-C9lmF.mjs").then((n) => n.t);
|
|
858
858
|
return unwrap(await handleBylineTranslations(ec.db, args.id));
|
|
859
859
|
} catch (error) {
|
|
860
860
|
return respondHandlerError(error, "BYLINE_TRANSLATIONS_ERROR");
|
|
@@ -870,7 +870,7 @@ function createMcpServer(pluginTools = [], request) {
|
|
|
870
870
|
requireRole(extra, Role.EDITOR);
|
|
871
871
|
const ec = getEmDash(extra);
|
|
872
872
|
try {
|
|
873
|
-
const { SchemaRegistry } = await import("../../../schema-
|
|
873
|
+
const { SchemaRegistry } = await import("../../../schema-CiQXr6_F.mjs").then((n) => n.t);
|
|
874
874
|
return jsonResult({ items: await new SchemaRegistry(ec.db).listCollections() });
|
|
875
875
|
} catch (error) {
|
|
876
876
|
return respondHandlerError(error, "SCHEMA_LIST_ERROR");
|
|
@@ -886,7 +886,7 @@ function createMcpServer(pluginTools = [], request) {
|
|
|
886
886
|
requireRole(extra, Role.EDITOR);
|
|
887
887
|
const ec = getEmDash(extra);
|
|
888
888
|
try {
|
|
889
|
-
const { SchemaRegistry } = await import("../../../schema-
|
|
889
|
+
const { SchemaRegistry } = await import("../../../schema-CiQXr6_F.mjs").then((n) => n.t);
|
|
890
890
|
const collection = await new SchemaRegistry(ec.db).getCollectionWithFields(args.slug);
|
|
891
891
|
if (!collection) return respondError("NOT_FOUND", `Collection '${args.slug}' not found`);
|
|
892
892
|
return jsonResult(collection);
|
|
@@ -916,7 +916,7 @@ function createMcpServer(pluginTools = [], request) {
|
|
|
916
916
|
requireRole(extra, Role.ADMIN);
|
|
917
917
|
const ec = getEmDash(extra);
|
|
918
918
|
try {
|
|
919
|
-
const { SchemaRegistry } = await import("../../../schema-
|
|
919
|
+
const { SchemaRegistry } = await import("../../../schema-CiQXr6_F.mjs").then((n) => n.t);
|
|
920
920
|
const collection = await new SchemaRegistry(ec.db).createCollection({
|
|
921
921
|
slug: args.slug,
|
|
922
922
|
label: args.label,
|
|
@@ -944,7 +944,7 @@ function createMcpServer(pluginTools = [], request) {
|
|
|
944
944
|
requireRole(extra, Role.ADMIN);
|
|
945
945
|
const ec = getEmDash(extra);
|
|
946
946
|
try {
|
|
947
|
-
const { SchemaRegistry } = await import("../../../schema-
|
|
947
|
+
const { SchemaRegistry } = await import("../../../schema-CiQXr6_F.mjs").then((n) => n.t);
|
|
948
948
|
await new SchemaRegistry(ec.db).deleteCollection(args.slug, { force: args.force });
|
|
949
949
|
ec.invalidateUrlPatternCache();
|
|
950
950
|
return jsonResult({ deleted: args.slug });
|
|
@@ -998,7 +998,7 @@ function createMcpServer(pluginTools = [], request) {
|
|
|
998
998
|
requireRole(extra, Role.ADMIN);
|
|
999
999
|
const ec = getEmDash(extra);
|
|
1000
1000
|
try {
|
|
1001
|
-
const { SchemaRegistry } = await import("../../../schema-
|
|
1001
|
+
const { SchemaRegistry } = await import("../../../schema-CiQXr6_F.mjs").then((n) => n.t);
|
|
1002
1002
|
return jsonResult(await new SchemaRegistry(ec.db).createField(args.collection, {
|
|
1003
1003
|
slug: args.slug,
|
|
1004
1004
|
label: args.label,
|
|
@@ -1028,7 +1028,7 @@ function createMcpServer(pluginTools = [], request) {
|
|
|
1028
1028
|
requireRole(extra, Role.ADMIN);
|
|
1029
1029
|
const ec = getEmDash(extra);
|
|
1030
1030
|
try {
|
|
1031
|
-
const { SchemaRegistry } = await import("../../../schema-
|
|
1031
|
+
const { SchemaRegistry } = await import("../../../schema-CiQXr6_F.mjs").then((n) => n.t);
|
|
1032
1032
|
await new SchemaRegistry(ec.db).deleteField(args.collection, args.fieldSlug);
|
|
1033
1033
|
return jsonResult({
|
|
1034
1034
|
deleted: args.fieldSlug,
|
|
@@ -1103,7 +1103,7 @@ function createMcpServer(pluginTools = [], request) {
|
|
|
1103
1103
|
const { emdash, userId } = getExtra(extra);
|
|
1104
1104
|
if (!emdash.storage) return respondError("NO_STORAGE", "Storage not configured");
|
|
1105
1105
|
try {
|
|
1106
|
-
const { handleMediaUpload } = await import("../../../media-upload-
|
|
1106
|
+
const { handleMediaUpload } = await import("../../../media-upload-DtrwU2B0.mjs");
|
|
1107
1107
|
return unwrap(await handleMediaUpload(emdash.db, emdash.storage, {
|
|
1108
1108
|
filename: args.filename,
|
|
1109
1109
|
base64: args.base64,
|
|
@@ -1183,7 +1183,7 @@ function createMcpServer(pluginTools = [], request) {
|
|
|
1183
1183
|
};
|
|
1184
1184
|
} else input = { scope: "all" };
|
|
1185
1185
|
try {
|
|
1186
|
-
const { handleMediaUsageRepair } = await import("../../../media-usage-
|
|
1186
|
+
const { handleMediaUsageRepair } = await import("../../../media-usage-BlxfTkN0.mjs").then((n) => n.i);
|
|
1187
1187
|
return unwrap(await handleMediaUsageRepair(ec.db, input));
|
|
1188
1188
|
} catch (error) {
|
|
1189
1189
|
return respondHandlerError(error, "MEDIA_USAGE_REPAIR_ERROR");
|
|
@@ -1204,7 +1204,7 @@ function createMcpServer(pluginTools = [], request) {
|
|
|
1204
1204
|
requireScope(extra, "content:read");
|
|
1205
1205
|
const ec = getEmDash(extra);
|
|
1206
1206
|
try {
|
|
1207
|
-
const { searchWithDb } = await import("../../../search-
|
|
1207
|
+
const { searchWithDb } = await import("../../../search-FZhx5dDU.mjs").then((n) => n.t);
|
|
1208
1208
|
return jsonResult(await searchWithDb(ec.db, args.query, {
|
|
1209
1209
|
collections: args.collections,
|
|
1210
1210
|
locale: args.locale,
|
|
@@ -1224,7 +1224,7 @@ function createMcpServer(pluginTools = [], request) {
|
|
|
1224
1224
|
requireScope(extra, "content:read");
|
|
1225
1225
|
const ec = getEmDash(extra);
|
|
1226
1226
|
try {
|
|
1227
|
-
const { handleTaxonomyList } = await import("../../../taxonomies-
|
|
1227
|
+
const { handleTaxonomyList } = await import("../../../taxonomies-CKuaZER5.mjs").then((n) => n.u);
|
|
1228
1228
|
return unwrap(await handleTaxonomyList(ec.db, { locale: args.locale }));
|
|
1229
1229
|
} catch (error) {
|
|
1230
1230
|
return respondHandlerError(error, "TAXONOMY_LIST_ERROR");
|
|
@@ -1244,12 +1244,12 @@ function createMcpServer(pluginTools = [], request) {
|
|
|
1244
1244
|
requireScope(extra, "content:read");
|
|
1245
1245
|
const ec = getEmDash(extra);
|
|
1246
1246
|
try {
|
|
1247
|
-
const { handleTaxonomyList } = await import("../../../taxonomies-
|
|
1247
|
+
const { handleTaxonomyList } = await import("../../../taxonomies-CKuaZER5.mjs").then((n) => n.u);
|
|
1248
1248
|
const listResult = await handleTaxonomyList(ec.db, { locale: args.locale });
|
|
1249
1249
|
if (!listResult.success) return unwrap(listResult);
|
|
1250
1250
|
if (!listResult.data.taxonomies.find((t) => t.name === args.taxonomy)) return respondError("NOT_FOUND", `Taxonomy '${args.taxonomy}' not found`);
|
|
1251
|
-
const { TaxonomyRepository } = await import("../../../taxonomy-
|
|
1252
|
-
const { decodeCursor, encodeCursor, InvalidCursorError } = await import("../../../types-
|
|
1251
|
+
const { TaxonomyRepository } = await import("../../../taxonomy-pOrB2kZe.mjs").then((n) => n.n);
|
|
1252
|
+
const { decodeCursor, encodeCursor, InvalidCursorError } = await import("../../../types-Cd8iuS1J.mjs").then((n) => n.s);
|
|
1253
1253
|
const repo = new TaxonomyRepository(ec.db);
|
|
1254
1254
|
const limit = Math.min(args.limit ?? 50, 100);
|
|
1255
1255
|
const terms = await repo.findByName(args.taxonomy, { locale: args.locale });
|
|
@@ -1303,7 +1303,7 @@ function createMcpServer(pluginTools = [], request) {
|
|
|
1303
1303
|
requireRole(extra, Role.EDITOR);
|
|
1304
1304
|
const ec = getEmDash(extra);
|
|
1305
1305
|
try {
|
|
1306
|
-
const { handleTermCreate } = await import("../../../taxonomies-
|
|
1306
|
+
const { handleTermCreate } = await import("../../../taxonomies-CKuaZER5.mjs").then((n) => n.u);
|
|
1307
1307
|
return unwrap(await handleTermCreate(ec.db, args.taxonomy, {
|
|
1308
1308
|
slug: args.slug,
|
|
1309
1309
|
label: args.label,
|
|
@@ -1332,7 +1332,7 @@ function createMcpServer(pluginTools = [], request) {
|
|
|
1332
1332
|
requireRole(extra, Role.EDITOR);
|
|
1333
1333
|
const ec = getEmDash(extra);
|
|
1334
1334
|
try {
|
|
1335
|
-
const { handleTermUpdate } = await import("../../../taxonomies-
|
|
1335
|
+
const { handleTermUpdate } = await import("../../../taxonomies-CKuaZER5.mjs").then((n) => n.u);
|
|
1336
1336
|
return unwrap(await handleTermUpdate(ec.db, args.taxonomy, args.termSlug, {
|
|
1337
1337
|
slug: args.slug,
|
|
1338
1338
|
label: args.label,
|
|
@@ -1356,7 +1356,7 @@ function createMcpServer(pluginTools = [], request) {
|
|
|
1356
1356
|
requireRole(extra, Role.EDITOR);
|
|
1357
1357
|
const ec = getEmDash(extra);
|
|
1358
1358
|
try {
|
|
1359
|
-
const { handleTermDelete } = await import("../../../taxonomies-
|
|
1359
|
+
const { handleTermDelete } = await import("../../../taxonomies-CKuaZER5.mjs").then((n) => n.u);
|
|
1360
1360
|
return unwrap(await handleTermDelete(ec.db, args.taxonomy, args.termSlug));
|
|
1361
1361
|
} catch (error) {
|
|
1362
1362
|
return respondHandlerError(error, "TAXONOMY_TERM_DELETE_ERROR");
|
|
@@ -1371,7 +1371,7 @@ function createMcpServer(pluginTools = [], request) {
|
|
|
1371
1371
|
requireScope(extra, "content:read");
|
|
1372
1372
|
const ec = getEmDash(extra);
|
|
1373
1373
|
try {
|
|
1374
|
-
const { handleTermTranslations } = await import("../../../taxonomies-
|
|
1374
|
+
const { handleTermTranslations } = await import("../../../taxonomies-CKuaZER5.mjs").then((n) => n.u);
|
|
1375
1375
|
return unwrap(await handleTermTranslations(ec.db, args.id));
|
|
1376
1376
|
} catch (error) {
|
|
1377
1377
|
return respondHandlerError(error, "TERM_TRANSLATIONS_ERROR");
|
|
@@ -1386,7 +1386,7 @@ function createMcpServer(pluginTools = [], request) {
|
|
|
1386
1386
|
requireScope(extra, "content:read");
|
|
1387
1387
|
const ec = getEmDash(extra);
|
|
1388
1388
|
try {
|
|
1389
|
-
const { handleMenuList } = await import("../../../menus-
|
|
1389
|
+
const { handleMenuList } = await import("../../../menus-BcQWxeXu.mjs").then((n) => n.d);
|
|
1390
1390
|
return unwrap(await handleMenuList(ec.db, { locale: args.locale }));
|
|
1391
1391
|
} catch (error) {
|
|
1392
1392
|
return respondHandlerError(error, "MENU_LIST_ERROR");
|
|
@@ -1404,7 +1404,7 @@ function createMcpServer(pluginTools = [], request) {
|
|
|
1404
1404
|
requireScope(extra, "content:read");
|
|
1405
1405
|
const ec = getEmDash(extra);
|
|
1406
1406
|
try {
|
|
1407
|
-
const { handleMenuGet } = await import("../../../menus-
|
|
1407
|
+
const { handleMenuGet } = await import("../../../menus-BcQWxeXu.mjs").then((n) => n.d);
|
|
1408
1408
|
return unwrap(await handleMenuGet(ec.db, args.name, { locale: args.locale }));
|
|
1409
1409
|
} catch (error) {
|
|
1410
1410
|
return respondHandlerError(error, "MENU_GET_ERROR");
|
|
@@ -1419,7 +1419,7 @@ function createMcpServer(pluginTools = [], request) {
|
|
|
1419
1419
|
requireScope(extra, "content:read");
|
|
1420
1420
|
const ec = getEmDash(extra);
|
|
1421
1421
|
try {
|
|
1422
|
-
const { handleMenuTranslations } = await import("../../../menus-
|
|
1422
|
+
const { handleMenuTranslations } = await import("../../../menus-BcQWxeXu.mjs").then((n) => n.d);
|
|
1423
1423
|
return unwrap(await handleMenuTranslations(ec.db, args.id));
|
|
1424
1424
|
} catch (error) {
|
|
1425
1425
|
return respondHandlerError(error, "MENU_TRANSLATIONS_ERROR");
|
|
@@ -1439,7 +1439,7 @@ function createMcpServer(pluginTools = [], request) {
|
|
|
1439
1439
|
requireRole(extra, Role.EDITOR);
|
|
1440
1440
|
const ec = getEmDash(extra);
|
|
1441
1441
|
try {
|
|
1442
|
-
const { handleMenuCreate } = await import("../../../menus-
|
|
1442
|
+
const { handleMenuCreate } = await import("../../../menus-BcQWxeXu.mjs").then((n) => n.d);
|
|
1443
1443
|
return unwrap(await handleMenuCreate(ec.db, {
|
|
1444
1444
|
name: args.name,
|
|
1445
1445
|
label: args.label,
|
|
@@ -1463,7 +1463,7 @@ function createMcpServer(pluginTools = [], request) {
|
|
|
1463
1463
|
requireRole(extra, Role.EDITOR);
|
|
1464
1464
|
const ec = getEmDash(extra);
|
|
1465
1465
|
try {
|
|
1466
|
-
const { handleMenuUpdate } = await import("../../../menus-
|
|
1466
|
+
const { handleMenuUpdate } = await import("../../../menus-BcQWxeXu.mjs").then((n) => n.d);
|
|
1467
1467
|
return unwrap(await handleMenuUpdate(ec.db, args.name, {
|
|
1468
1468
|
label: args.label,
|
|
1469
1469
|
locale: args.locale
|
|
@@ -1485,7 +1485,7 @@ function createMcpServer(pluginTools = [], request) {
|
|
|
1485
1485
|
requireRole(extra, Role.EDITOR);
|
|
1486
1486
|
const ec = getEmDash(extra);
|
|
1487
1487
|
try {
|
|
1488
|
-
const { handleMenuDelete } = await import("../../../menus-
|
|
1488
|
+
const { handleMenuDelete } = await import("../../../menus-BcQWxeXu.mjs").then((n) => n.d);
|
|
1489
1489
|
return unwrap(await handleMenuDelete(ec.db, args.name, { locale: args.locale }));
|
|
1490
1490
|
} catch (error) {
|
|
1491
1491
|
return respondHandlerError(error, "MENU_DELETE_ERROR");
|
|
@@ -1520,7 +1520,7 @@ function createMcpServer(pluginTools = [], request) {
|
|
|
1520
1520
|
requireRole(extra, Role.EDITOR);
|
|
1521
1521
|
const ec = getEmDash(extra);
|
|
1522
1522
|
try {
|
|
1523
|
-
const { handleMenuSetItems } = await import("../../../menus-
|
|
1523
|
+
const { handleMenuSetItems } = await import("../../../menus-BcQWxeXu.mjs").then((n) => n.d);
|
|
1524
1524
|
return unwrap(await handleMenuSetItems(ec.db, args.name, args.items, { locale: args.locale }));
|
|
1525
1525
|
} catch (error) {
|
|
1526
1526
|
return respondHandlerError(error, "MENU_SET_ITEMS_ERROR");
|
|
@@ -1567,7 +1567,7 @@ function createMcpServer(pluginTools = [], request) {
|
|
|
1567
1567
|
requireRole(extra, Role.EDITOR);
|
|
1568
1568
|
const ec = getEmDash(extra);
|
|
1569
1569
|
try {
|
|
1570
|
-
const { handleSettingsGet } = await import("../../../settings-
|
|
1570
|
+
const { handleSettingsGet } = await import("../../../settings-DPHau-WH.mjs").then((n) => n.r);
|
|
1571
1571
|
return unwrap(await handleSettingsGet(ec.db, ec.storage));
|
|
1572
1572
|
} catch (error) {
|
|
1573
1573
|
return respondHandlerError(error, "SETTINGS_READ_ERROR");
|
|
@@ -1593,7 +1593,7 @@ function createMcpServer(pluginTools = [], request) {
|
|
|
1593
1593
|
requireRole(extra, Role.ADMIN);
|
|
1594
1594
|
const ec = getEmDash(extra);
|
|
1595
1595
|
try {
|
|
1596
|
-
const { handleSettingsUpdate } = await import("../../../settings-
|
|
1596
|
+
const { handleSettingsUpdate } = await import("../../../settings-DPHau-WH.mjs").then((n) => n.r);
|
|
1597
1597
|
return unwrap(await handleSettingsUpdate(ec.db, ec.storage, args));
|
|
1598
1598
|
} catch (error) {
|
|
1599
1599
|
return respondHandlerError(error, "SETTINGS_UPDATE_ERROR");
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import "../../../../../base64-B-PsqheR.mjs";
|
|
2
|
-
import "../../../../../types-
|
|
3
|
-
import { t as MediaRepository } from "../../../../../media-
|
|
2
|
+
import "../../../../../types-Cd8iuS1J.mjs";
|
|
3
|
+
import { t as MediaRepository } from "../../../../../media-BP7S-nHT.mjs";
|
|
4
4
|
import { t as enrichImageMetadata } from "../../../../../enrich-CFJJgxs_.mjs";
|
|
5
|
-
import { n as computeContentHash, t as MAX_CONTENT_HASH_BYTES } from "../../../../../hash-
|
|
6
|
-
import { n as apiSuccess, r as handleError, t as apiError } from "../../../../../error-
|
|
7
|
-
import { r as parseOptionalBody, t as isParseError } from "../../../../../parse-
|
|
8
|
-
import { i as mediaConfirmBody } from "../../../../../media-
|
|
9
|
-
import "../../../../../redirects-
|
|
10
|
-
import "../../../../../relations-
|
|
11
|
-
import "../../../../../status-
|
|
5
|
+
import { n as computeContentHash, t as MAX_CONTENT_HASH_BYTES } from "../../../../../hash-Cg0TXJPV.mjs";
|
|
6
|
+
import { n as apiSuccess, r as handleError, t as apiError } from "../../../../../error-oh_9i6bR.mjs";
|
|
7
|
+
import { r as parseOptionalBody, t as isParseError } from "../../../../../parse-CJKNuewM.mjs";
|
|
8
|
+
import { i as mediaConfirmBody } from "../../../../../media-OhYL-7Io.mjs";
|
|
9
|
+
import "../../../../../redirects-G8wAhWAf.mjs";
|
|
10
|
+
import "../../../../../relations-Bw_E1TXo.mjs";
|
|
11
|
+
import "../../../../../status-CIsmlC1E.mjs";
|
|
12
12
|
import "../../../../../api/schemas/index.mjs";
|
|
13
|
-
import { n as requireOwnerPerm, r as requirePerm } from "../../../../../authorize-
|
|
13
|
+
import { n as requireOwnerPerm, r as requirePerm } from "../../../../../authorize-qRhWQnel.mjs";
|
|
14
14
|
|
|
15
15
|
//#region src/astro/routes/api/media/[id]/confirm.ts
|
|
16
16
|
const prerender = false;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import "../../../../../base64-B-PsqheR.mjs";
|
|
2
|
-
import "../../../../../types-
|
|
3
|
-
import { t as MediaRepository } from "../../../../../media-
|
|
2
|
+
import "../../../../../types-Cd8iuS1J.mjs";
|
|
3
|
+
import { t as MediaRepository } from "../../../../../media-BP7S-nHT.mjs";
|
|
4
4
|
import { n as normalizeMime } from "../../../../../mime-DfIVjNkr.mjs";
|
|
5
|
-
import { n as computeContentHash, t as MAX_CONTENT_HASH_BYTES } from "../../../../../hash-
|
|
6
|
-
import { n as apiSuccess, r as handleError, t as apiError } from "../../../../../error-
|
|
7
|
-
import { t as removeUploadAttempt } from "../../../../../upload-attempts-
|
|
8
|
-
import { n as requireOwnerPerm, r as requirePerm } from "../../../../../authorize-
|
|
5
|
+
import { n as computeContentHash, t as MAX_CONTENT_HASH_BYTES } from "../../../../../hash-Cg0TXJPV.mjs";
|
|
6
|
+
import { n as apiSuccess, r as handleError, t as apiError } from "../../../../../error-oh_9i6bR.mjs";
|
|
7
|
+
import { t as removeUploadAttempt } from "../../../../../upload-attempts-D8QAFLUJ.mjs";
|
|
8
|
+
import { n as requireOwnerPerm, r as requirePerm } from "../../../../../authorize-qRhWQnel.mjs";
|
|
9
9
|
import { ulid } from "ulidx";
|
|
10
10
|
|
|
11
11
|
//#region src/astro/routes/api/media/[id]/upload.ts
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import "../../../../../config-DyF3OKg_.mjs";
|
|
2
2
|
import "../../../../../base64-B-PsqheR.mjs";
|
|
3
|
-
import "../../../../../types-
|
|
4
|
-
import "../../../../../media-
|
|
5
|
-
import "../../../../../hash-
|
|
6
|
-
import "../../../../../content-refresh-
|
|
7
|
-
import { t as handleMediaUsageDetails } from "../../../../../media-usage-
|
|
8
|
-
import { a as unwrapResult, t as apiError } from "../../../../../error-
|
|
9
|
-
import { i as parseQuery, t as isParseError } from "../../../../../parse-
|
|
10
|
-
import { C as mediaUsageDetailsQuery } from "../../../../../media-
|
|
11
|
-
import "../../../../../redirects-
|
|
12
|
-
import "../../../../../relations-
|
|
13
|
-
import "../../../../../status-
|
|
3
|
+
import "../../../../../types-Cd8iuS1J.mjs";
|
|
4
|
+
import "../../../../../media-BP7S-nHT.mjs";
|
|
5
|
+
import "../../../../../hash-Cg0TXJPV.mjs";
|
|
6
|
+
import "../../../../../content-refresh-Xw7aKmou.mjs";
|
|
7
|
+
import { t as handleMediaUsageDetails } from "../../../../../media-usage-BlxfTkN0.mjs";
|
|
8
|
+
import { a as unwrapResult, t as apiError } from "../../../../../error-oh_9i6bR.mjs";
|
|
9
|
+
import { i as parseQuery, t as isParseError } from "../../../../../parse-CJKNuewM.mjs";
|
|
10
|
+
import { C as mediaUsageDetailsQuery } from "../../../../../media-OhYL-7Io.mjs";
|
|
11
|
+
import "../../../../../redirects-G8wAhWAf.mjs";
|
|
12
|
+
import "../../../../../relations-Bw_E1TXo.mjs";
|
|
13
|
+
import "../../../../../status-CIsmlC1E.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-Dai9dND0.mjs";
|
|
16
|
+
import { r as requirePerm } from "../../../../../authorize-qRhWQnel.mjs";
|
|
17
|
+
import { t as requireScope } from "../../../../../scopes-CNJVT5i5.mjs";
|
|
18
18
|
|
|
19
19
|
//#region src/astro/routes/api/media/[id]/usage.ts
|
|
20
20
|
const prerender = false;
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import "../../../../config-DyF3OKg_.mjs";
|
|
2
2
|
import "../../../../base64-B-PsqheR.mjs";
|
|
3
|
-
import "../../../../types-
|
|
4
|
-
import { t as MediaRepository } from "../../../../media-
|
|
5
|
-
import "../../../../hash-
|
|
6
|
-
import "../../../../content-refresh-
|
|
7
|
-
import { r as handleMediaUsageSummaries } from "../../../../media-usage-
|
|
8
|
-
import { a as unwrapResult, n as apiSuccess, r as handleError, t as apiError } from "../../../../error-
|
|
9
|
-
import { i as parseQuery, n as parseBody, t as isParseError } from "../../../../parse-
|
|
10
|
-
import { s as mediaGetQuery, v as mediaUpdateBody } from "../../../../media-
|
|
11
|
-
import "../../../../redirects-
|
|
12
|
-
import "../../../../relations-
|
|
13
|
-
import "../../../../status-
|
|
3
|
+
import "../../../../types-Cd8iuS1J.mjs";
|
|
4
|
+
import { t as MediaRepository } from "../../../../media-BP7S-nHT.mjs";
|
|
5
|
+
import "../../../../hash-Cg0TXJPV.mjs";
|
|
6
|
+
import "../../../../content-refresh-Xw7aKmou.mjs";
|
|
7
|
+
import { r as handleMediaUsageSummaries } from "../../../../media-usage-BlxfTkN0.mjs";
|
|
8
|
+
import { a as unwrapResult, n as apiSuccess, r as handleError, t as apiError } from "../../../../error-oh_9i6bR.mjs";
|
|
9
|
+
import { i as parseQuery, n as parseBody, t as isParseError } from "../../../../parse-CJKNuewM.mjs";
|
|
10
|
+
import { s as mediaGetQuery, v as mediaUpdateBody } from "../../../../media-OhYL-7Io.mjs";
|
|
11
|
+
import "../../../../redirects-G8wAhWAf.mjs";
|
|
12
|
+
import "../../../../relations-Bw_E1TXo.mjs";
|
|
13
|
+
import "../../../../status-CIsmlC1E.mjs";
|
|
14
14
|
import "../../../../api/schemas/index.mjs";
|
|
15
|
-
import { t as removeUploadAttempt } from "../../../../upload-attempts-
|
|
16
|
-
import { n as requireOwnerPerm, r as requirePerm, t as canReadMediaUsageCount } from "../../../../authorize-
|
|
15
|
+
import { t as removeUploadAttempt } from "../../../../upload-attempts-D8QAFLUJ.mjs";
|
|
16
|
+
import { n as requireOwnerPerm, r as requirePerm, t as canReadMediaUsageCount } from "../../../../authorize-qRhWQnel.mjs";
|
|
17
17
|
|
|
18
18
|
//#region src/astro/routes/api/media/[id].ts
|
|
19
19
|
const prerender = false;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "../../../../../base64-B-PsqheR.mjs";
|
|
2
|
-
import "../../../../../types-
|
|
3
|
-
import { r as handleError, t as apiError } from "../../../../../error-
|
|
2
|
+
import "../../../../../types-Cd8iuS1J.mjs";
|
|
3
|
+
import { r as handleError, t as apiError } from "../../../../../error-oh_9i6bR.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-B-PsqheR.mjs";
|
|
2
|
-
import "../../../../../../types-
|
|
3
|
-
import { n as apiSuccess, r as handleError, t as apiError } from "../../../../../../error-
|
|
4
|
-
import { r as requirePerm } from "../../../../../../authorize-
|
|
2
|
+
import "../../../../../../types-Cd8iuS1J.mjs";
|
|
3
|
+
import { n as apiSuccess, r as handleError, t as apiError } from "../../../../../../error-oh_9i6bR.mjs";
|
|
4
|
+
import { r as requirePerm } from "../../../../../../authorize-qRhWQnel.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-B-PsqheR.mjs";
|
|
2
|
-
import "../../../../../../types-
|
|
3
|
-
import { n as apiSuccess, r as handleError, t as apiError } from "../../../../../../error-
|
|
4
|
-
import { r as requirePerm } from "../../../../../../authorize-
|
|
2
|
+
import "../../../../../../types-Cd8iuS1J.mjs";
|
|
3
|
+
import { n as apiSuccess, r as handleError, t as apiError } from "../../../../../../error-oh_9i6bR.mjs";
|
|
4
|
+
import { r as requirePerm } from "../../../../../../authorize-qRhWQnel.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-B-PsqheR.mjs";
|
|
2
|
-
import "../../../../../types-
|
|
3
|
-
import { n as apiSuccess, t as apiError } from "../../../../../error-
|
|
4
|
-
import { r as requirePerm } from "../../../../../authorize-
|
|
2
|
+
import "../../../../../types-Cd8iuS1J.mjs";
|
|
3
|
+
import { n as apiSuccess, t as apiError } from "../../../../../error-oh_9i6bR.mjs";
|
|
4
|
+
import { r as requirePerm } from "../../../../../authorize-qRhWQnel.mjs";
|
|
5
5
|
|
|
6
6
|
//#region src/astro/routes/api/media/providers/index.ts
|
|
7
7
|
const prerender = false;
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import "../../../../base64-B-PsqheR.mjs";
|
|
2
|
-
import "../../../../types-
|
|
2
|
+
import "../../../../types-Cd8iuS1J.mjs";
|
|
3
3
|
import { n as normalizeMime, t as matchesMimeAllowlist } from "../../../../mime-DfIVjNkr.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 { n as DEFAULT_MAX_UPLOAD_SIZE, y as mediaUploadUrlBody } from "../../../../media-
|
|
7
|
-
import "../../../../redirects-
|
|
8
|
-
import "../../../../relations-
|
|
9
|
-
import "../../../../status-
|
|
4
|
+
import { n as apiSuccess, r as handleError, t as apiError } from "../../../../error-oh_9i6bR.mjs";
|
|
5
|
+
import { n as parseBody, t as isParseError } from "../../../../parse-CJKNuewM.mjs";
|
|
6
|
+
import { n as DEFAULT_MAX_UPLOAD_SIZE, y as mediaUploadUrlBody } from "../../../../media-OhYL-7Io.mjs";
|
|
7
|
+
import "../../../../redirects-G8wAhWAf.mjs";
|
|
8
|
+
import "../../../../relations-Bw_E1TXo.mjs";
|
|
9
|
+
import "../../../../status-CIsmlC1E.mjs";
|
|
10
10
|
import "../../../../api/schemas/index.mjs";
|
|
11
|
-
import { r as requirePerm } from "../../../../authorize-
|
|
12
|
-
import { n as resolveFieldAllowlist, t as GLOBAL_UPLOAD_ALLOWLIST } from "../../../../media-allowlist-
|
|
11
|
+
import { r as requirePerm } from "../../../../authorize-qRhWQnel.mjs";
|
|
12
|
+
import { n as resolveFieldAllowlist, t as GLOBAL_UPLOAD_ALLOWLIST } from "../../../../media-allowlist-D-peH1H5.mjs";
|
|
13
13
|
import { ulid } from "ulidx";
|
|
14
14
|
import * as path from "node:path";
|
|
15
15
|
import { MediaRepository } from "emdash";
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import "../../../config-DyF3OKg_.mjs";
|
|
2
2
|
import "../../../base64-B-PsqheR.mjs";
|
|
3
|
-
import "../../../types-
|
|
4
|
-
import { t as MediaRepository } from "../../../media-
|
|
3
|
+
import "../../../types-Cd8iuS1J.mjs";
|
|
4
|
+
import { t as MediaRepository } from "../../../media-BP7S-nHT.mjs";
|
|
5
5
|
import { n as normalizeMime, t as matchesMimeAllowlist } from "../../../mime-DfIVjNkr.mjs";
|
|
6
6
|
import { t as enrichImageMetadata } from "../../../enrich-CFJJgxs_.mjs";
|
|
7
|
-
import { n as computeContentHash } from "../../../hash-
|
|
8
|
-
import "../../../content-refresh-
|
|
9
|
-
import { r as handleMediaUsageSummaries } from "../../../media-usage-
|
|
10
|
-
import { a as unwrapResult, n as apiSuccess, r as handleError, t as apiError } from "../../../error-
|
|
11
|
-
import { i as parseQuery, t as isParseError } from "../../../parse-
|
|
12
|
-
import { l as mediaListQuery, n as DEFAULT_MAX_UPLOAD_SIZE, r as formatFileSize } from "../../../media-
|
|
13
|
-
import "../../../redirects-
|
|
14
|
-
import "../../../relations-
|
|
15
|
-
import "../../../status-
|
|
7
|
+
import { n as computeContentHash } from "../../../hash-Cg0TXJPV.mjs";
|
|
8
|
+
import "../../../content-refresh-Xw7aKmou.mjs";
|
|
9
|
+
import { r as handleMediaUsageSummaries } from "../../../media-usage-BlxfTkN0.mjs";
|
|
10
|
+
import { a as unwrapResult, n as apiSuccess, r as handleError, t as apiError } from "../../../error-oh_9i6bR.mjs";
|
|
11
|
+
import { i as parseQuery, t as isParseError } from "../../../parse-CJKNuewM.mjs";
|
|
12
|
+
import { l as mediaListQuery, n as DEFAULT_MAX_UPLOAD_SIZE, r as formatFileSize } from "../../../media-OhYL-7Io.mjs";
|
|
13
|
+
import "../../../redirects-G8wAhWAf.mjs";
|
|
14
|
+
import "../../../relations-Bw_E1TXo.mjs";
|
|
15
|
+
import "../../../status-CIsmlC1E.mjs";
|
|
16
16
|
import "../../../api/schemas/index.mjs";
|
|
17
|
-
import { r as requirePerm, t as canReadMediaUsageCount } from "../../../authorize-
|
|
18
|
-
import { n as resolveFieldAllowlist, t as GLOBAL_UPLOAD_ALLOWLIST } from "../../../media-allowlist-
|
|
17
|
+
import { r as requirePerm, t as canReadMediaUsageCount } from "../../../authorize-qRhWQnel.mjs";
|
|
18
|
+
import { n as resolveFieldAllowlist, t as GLOBAL_UPLOAD_ALLOWLIST } from "../../../media-allowlist-D-peH1H5.mjs";
|
|
19
19
|
import { ulid } from "ulidx";
|
|
20
20
|
import * as path from "node:path";
|
|
21
21
|
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import "../../../../../../config-DyF3OKg_.mjs";
|
|
2
|
-
import "../../../../../../after-
|
|
3
|
-
import "../../../../../../object-cache-
|
|
2
|
+
import "../../../../../../after-CBU2vkoO.mjs";
|
|
3
|
+
import "../../../../../../object-cache-71tPfV4A.mjs";
|
|
4
4
|
import "../../../../../../base64-B-PsqheR.mjs";
|
|
5
|
-
import "../../../../../../types-
|
|
6
|
-
import { a as handleMenuItemDelete, s as handleMenuItemUpdate } from "../../../../../../menus-
|
|
7
|
-
import { a as unwrapResult, r as handleError, t as apiError } from "../../../../../../error-
|
|
8
|
-
import { i as parseQuery, n as parseBody, t as isParseError } from "../../../../../../parse-
|
|
9
|
-
import { B as localeFilterQuery } from "../../../../../../media-
|
|
10
|
-
import {
|
|
11
|
-
import "../../../../../../relations-
|
|
12
|
-
import "../../../../../../status-
|
|
5
|
+
import "../../../../../../types-Cd8iuS1J.mjs";
|
|
6
|
+
import { a as handleMenuItemDelete, s as handleMenuItemUpdate } from "../../../../../../menus-BcQWxeXu.mjs";
|
|
7
|
+
import { a as unwrapResult, r as handleError, t as apiError } from "../../../../../../error-oh_9i6bR.mjs";
|
|
8
|
+
import { i as parseQuery, n as parseBody, t as isParseError } from "../../../../../../parse-CJKNuewM.mjs";
|
|
9
|
+
import { B as localeFilterQuery } from "../../../../../../media-OhYL-7Io.mjs";
|
|
10
|
+
import { ft as updateMenuItemBody } from "../../../../../../redirects-G8wAhWAf.mjs";
|
|
11
|
+
import "../../../../../../relations-Bw_E1TXo.mjs";
|
|
12
|
+
import "../../../../../../status-CIsmlC1E.mjs";
|
|
13
13
|
import "../../../../../../api/schemas/index.mjs";
|
|
14
|
-
import { r as requirePerm } from "../../../../../../authorize-
|
|
14
|
+
import { r as requirePerm } from "../../../../../../authorize-qRhWQnel.mjs";
|
|
15
15
|
|
|
16
16
|
//#region src/astro/routes/api/menus/[name]/items/[id].ts
|
|
17
17
|
const prerender = false;
|