emdash 0.37.0 → 0.38.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/{activation-K0kGBWuJ.mjs → activation-DyNTe_Tl.mjs} +3 -3
- package/dist/{activation-K0kGBWuJ.mjs.map → activation-DyNTe_Tl.mjs.map} +1 -1
- package/dist/{adapters-BDQwg236.d.mts → adapters-DCEgOBXi.d.mts} +1 -1
- package/dist/{adapters-BDQwg236.d.mts.map → adapters-DCEgOBXi.d.mts.map} +1 -1
- package/dist/{allowed-origins-BGglilcs.mjs → allowed-origins-GFUVavRj.mjs} +2 -2
- package/dist/{allowed-origins-BGglilcs.mjs.map → allowed-origins-GFUVavRj.mjs.map} +1 -1
- package/dist/api/route-utils.d.mts +3 -3
- package/dist/api/route-utils.mjs +23 -22
- package/dist/api/route-utils.mjs.map +1 -1
- package/dist/api/schemas/index.d.mts +2 -2
- package/dist/api/schemas/index.mjs +5 -5
- package/dist/{api-Dz6rgoa3.mjs → api-BvxJmnFY.mjs} +141 -87
- package/dist/api-BvxJmnFY.mjs.map +1 -0
- package/dist/{api-tokens-BSsQACNe.mjs → api-tokens-xpGqMHrC.mjs} +2 -2
- package/dist/{api-tokens-BSsQACNe.mjs.map → api-tokens-xpGqMHrC.mjs.map} +1 -1
- package/dist/{apply-B4SIOxR1.mjs → apply-DLmM3R7f.mjs} +25 -21
- package/dist/apply-DLmM3R7f.mjs.map +1 -0
- package/dist/{config-it29yDLA.mjs → artifact-fetch-P2JXVwOq.mjs} +8 -199
- package/dist/artifact-fetch-P2JXVwOq.mjs.map +1 -0
- package/dist/astro/index.d.mts +12 -12
- package/dist/astro/index.d.mts.map +1 -1
- package/dist/astro/index.mjs +37 -11
- 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 +3 -3
- package/dist/astro/middleware/redirect.mjs +7 -5
- package/dist/astro/middleware/redirect.mjs.map +1 -1
- package/dist/astro/middleware/request-context.mjs +3 -3
- 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 +154 -125
- 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.mjs +4 -4
- package/dist/astro/routes/api/admin/byline-fields/_slug_/usage.mjs +4 -4
- package/dist/astro/routes/api/admin/byline-fields/_slug_.mjs +9 -9
- package/dist/astro/routes/api/admin/byline-fields/index.mjs +9 -9
- package/dist/astro/routes/api/admin/byline-fields/reorder.mjs +9 -9
- package/dist/astro/routes/api/admin/bylines/_id_/index.mjs +16 -16
- package/dist/astro/routes/api/admin/bylines/_id_/translations.mjs +16 -16
- package/dist/astro/routes/api/admin/bylines/index.mjs +16 -16
- package/dist/astro/routes/api/admin/comments/_id_/status.mjs +11 -11
- package/dist/astro/routes/api/admin/comments/_id_.mjs +3 -3
- package/dist/astro/routes/api/admin/comments/bulk.mjs +8 -8
- package/dist/astro/routes/api/admin/comments/counts.mjs +3 -3
- package/dist/astro/routes/api/admin/comments/index.mjs +8 -8
- package/dist/astro/routes/api/admin/hooks/exclusive/_hookName_.mjs +4 -4
- package/dist/astro/routes/api/admin/hooks/exclusive/index.mjs +3 -3
- package/dist/astro/routes/api/admin/media-usage/activation.mjs +13 -13
- package/dist/astro/routes/api/admin/media-usage/collection-deletions/index.mjs +15 -15
- package/dist/astro/routes/api/admin/media-usage/collection-deletions/retry.mjs +15 -15
- package/dist/astro/routes/api/admin/media-usage/progress.mjs +13 -13
- package/dist/astro/routes/api/admin/media-usage/repair.mjs +16 -16
- package/dist/astro/routes/api/admin/media-usage/work/index.mjs +15 -15
- package/dist/astro/routes/api/admin/media-usage/work/retry.mjs +15 -15
- package/dist/astro/routes/api/admin/oauth-clients/_id_.mjs +3 -3
- package/dist/astro/routes/api/admin/oauth-clients/index.mjs +3 -3
- package/dist/astro/routes/api/admin/plugins/_id_/disable.mjs +56 -53
- package/dist/astro/routes/api/admin/plugins/_id_/disable.mjs.map +1 -1
- package/dist/astro/routes/api/admin/plugins/_id_/enable.mjs +56 -53
- package/dist/astro/routes/api/admin/plugins/_id_/enable.mjs.map +1 -1
- package/dist/astro/routes/api/admin/plugins/_id_/index.mjs +54 -51
- package/dist/astro/routes/api/admin/plugins/_id_/index.mjs.map +1 -1
- package/dist/astro/routes/api/admin/plugins/_id_/mcp.mjs +4 -4
- package/dist/astro/routes/api/admin/plugins/_id_/settings.mjs +54 -51
- package/dist/astro/routes/api/admin/plugins/_id_/settings.mjs.map +1 -1
- package/dist/astro/routes/api/admin/plugins/_id_/uninstall.mjs +55 -52
- package/dist/astro/routes/api/admin/plugins/_id_/uninstall.mjs.map +1 -1
- package/dist/astro/routes/api/admin/plugins/_id_/update.mjs +55 -52
- package/dist/astro/routes/api/admin/plugins/_id_/update.mjs.map +1 -1
- package/dist/astro/routes/api/admin/plugins/index.mjs +54 -51
- package/dist/astro/routes/api/admin/plugins/index.mjs.map +1 -1
- package/dist/astro/routes/api/admin/plugins/marketplace/_id_/icon.mjs +2 -2
- package/dist/astro/routes/api/admin/plugins/marketplace/_id_/index.mjs +54 -51
- 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 +55 -52
- package/dist/astro/routes/api/admin/plugins/marketplace/_id_/install.mjs.map +1 -1
- package/dist/astro/routes/api/admin/plugins/marketplace/index.mjs +54 -51
- package/dist/astro/routes/api/admin/plugins/marketplace/index.mjs.map +1 -1
- package/dist/astro/routes/api/admin/plugins/registry/_id_/uninstall.mjs +55 -52
- 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 +56 -53
- package/dist/astro/routes/api/admin/plugins/registry/_id_/update.mjs.map +1 -1
- package/dist/astro/routes/api/admin/plugins/registry/artifact.mjs +5 -4
- package/dist/astro/routes/api/admin/plugins/registry/artifact.mjs.map +1 -1
- package/dist/astro/routes/api/admin/plugins/registry/install.mjs +56 -53
- package/dist/astro/routes/api/admin/plugins/registry/install.mjs.map +1 -1
- package/dist/astro/routes/api/admin/plugins/registry/verify.mjs +55 -52
- package/dist/astro/routes/api/admin/plugins/registry/verify.mjs.map +1 -1
- package/dist/astro/routes/api/admin/plugins/updates.mjs +54 -51
- package/dist/astro/routes/api/admin/plugins/updates.mjs.map +1 -1
- package/dist/astro/routes/api/admin/themes/marketplace/_id_/index.mjs +54 -51
- 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 +2 -2
- package/dist/astro/routes/api/admin/themes/marketplace/index.mjs +54 -51
- package/dist/astro/routes/api/admin/themes/marketplace/index.mjs.map +1 -1
- 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 +3 -3
- 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 +11 -11
- package/dist/astro/routes/api/auth/invite/index.mjs +8 -8
- package/dist/astro/routes/api/auth/invite/register-options.mjs +10 -10
- package/dist/astro/routes/api/auth/logout.mjs +2 -2
- package/dist/astro/routes/api/auth/magic-link/send.mjs +10 -10
- 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 +4 -4
- 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 +12 -12
- package/dist/astro/routes/api/auth/passkey/register/options.mjs +10 -10
- package/dist/astro/routes/api/auth/passkey/register/verify.mjs +11 -11
- package/dist/astro/routes/api/auth/passkey/verify.mjs +11 -11
- package/dist/astro/routes/api/auth/signup/complete.mjs +11 -11
- package/dist/astro/routes/api/auth/signup/request.mjs +10 -10
- package/dist/astro/routes/api/auth/signup/verify.mjs +1 -1
- package/dist/astro/routes/api/comments/_collection_/_contentId_/index.mjs +12 -12
- package/dist/astro/routes/api/comments/_collection_/_contentId_/reactions.mjs +11 -11
- package/dist/astro/routes/api/content/_collection_/_id_/compare.mjs +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 +13 -8
- 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_/lock.d.mts +10 -0
- package/dist/astro/routes/api/content/_collection_/_id_/lock.d.mts.map +1 -0
- package/dist/astro/routes/api/content/_collection_/_id_/lock.mjs +66 -0
- package/dist/astro/routes/api/content/_collection_/_id_/lock.mjs.map +1 -0
- package/dist/astro/routes/api/content/_collection_/_id_/permanent.mjs +2 -2
- package/dist/astro/routes/api/content/_collection_/_id_/preview-url.mjs +11 -11
- package/dist/astro/routes/api/content/_collection_/_id_/publish.d.mts.map +1 -1
- package/dist/astro/routes/api/content/_collection_/_id_/publish.mjs +14 -9
- 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 +19 -17
- package/dist/astro/routes/api/content/_collection_/_id_/references/_relation_/children.mjs.map +1 -1
- package/dist/astro/routes/api/content/_collection_/_id_/references/_relation_/parents.mjs +19 -17
- package/dist/astro/routes/api/content/_collection_/_id_/references/_relation_/parents.mjs.map +1 -1
- 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.d.mts.map +1 -1
- package/dist/astro/routes/api/content/_collection_/_id_/schedule.mjs +15 -8
- package/dist/astro/routes/api/content/_collection_/_id_/schedule.mjs.map +1 -1
- package/dist/astro/routes/api/content/_collection_/_id_/terms/_taxonomy_.mjs +15 -14
- package/dist/astro/routes/api/content/_collection_/_id_/terms/_taxonomy_.mjs.map +1 -1
- 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 +13 -8
- package/dist/astro/routes/api/content/_collection_/_id_/unpublish.mjs.map +1 -1
- package/dist/astro/routes/api/content/_collection_/_id_.d.mts.map +1 -1
- package/dist/astro/routes/api/content/_collection_/_id_.mjs +23 -11
- package/dist/astro/routes/api/content/_collection_/_id_.mjs.map +1 -1
- package/dist/astro/routes/api/content/_collection_/authors.mjs +2 -2
- package/dist/astro/routes/api/content/_collection_/index.mjs +14 -9
- package/dist/astro/routes/api/content/_collection_/index.mjs.map +1 -1
- package/dist/astro/routes/api/content/_collection_/trash.mjs +7 -7
- package/dist/astro/routes/api/dashboard.mjs +6 -6
- 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 +16 -16
- package/dist/astro/routes/api/import/wordpress/analyze.mjs +3 -3
- package/dist/astro/routes/api/import/wordpress/execute.d.mts +11 -11
- package/dist/astro/routes/api/import/wordpress/execute.mjs +14 -13
- package/dist/astro/routes/api/import/wordpress/execute.mjs.map +1 -1
- package/dist/astro/routes/api/import/wordpress/media.d.mts +10 -10
- package/dist/astro/routes/api/import/wordpress/media.mjs +11 -11
- package/dist/astro/routes/api/import/wordpress/prepare.mjs +10 -10
- package/dist/astro/routes/api/import/wordpress/rewrite-urls.d.mts +11 -11
- package/dist/astro/routes/api/import/wordpress/rewrite-urls.mjs +13 -13
- package/dist/astro/routes/api/import/wordpress-plugin/analyze.d.mts +1 -1
- package/dist/astro/routes/api/import/wordpress-plugin/analyze.mjs +16 -16
- package/dist/astro/routes/api/import/wordpress-plugin/execute.d.mts +11 -11
- package/dist/astro/routes/api/import/wordpress-plugin/execute.mjs +27 -26
- package/dist/astro/routes/api/import/wordpress-plugin/execute.mjs.map +1 -1
- package/dist/astro/routes/api/manifest.mjs +4 -4
- package/dist/astro/routes/api/mcp.mjs +71 -55
- package/dist/astro/routes/api/mcp.mjs.map +1 -1
- package/dist/astro/routes/api/media/_id_/confirm.mjs +10 -10
- package/dist/astro/routes/api/media/_id_/replace.mjs +8 -8
- package/dist/astro/routes/api/media/_id_/upload.mjs +5 -5
- package/dist/astro/routes/api/media/_id_/usage.mjs +18 -18
- package/dist/astro/routes/api/media/_id_.mjs +17 -17
- package/dist/astro/routes/api/media/file/_...key_.mjs +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 +9 -9
- package/dist/astro/routes/api/media.mjs +21 -21
- package/dist/astro/routes/api/menus/_name_/items/_id_.mjs +9 -9
- package/dist/astro/routes/api/menus/_name_/items.mjs +9 -9
- package/dist/astro/routes/api/menus/_name_/reorder.mjs +9 -9
- package/dist/astro/routes/api/menus/_name_/translations.mjs +9 -9
- package/dist/astro/routes/api/menus/_name_.mjs +9 -9
- package/dist/astro/routes/api/menus/index.mjs +9 -9
- 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 +84 -18
- 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 +12 -11
- package/dist/astro/routes/api/redirects/404s/index.mjs.map +1 -1
- package/dist/astro/routes/api/redirects/404s/summary.mjs +12 -11
- package/dist/astro/routes/api/redirects/404s/summary.mjs.map +1 -1
- package/dist/astro/routes/api/redirects/_id_.mjs +13 -12
- package/dist/astro/routes/api/redirects/_id_.mjs.map +1 -1
- package/dist/astro/routes/api/redirects/index.mjs +13 -12
- package/dist/astro/routes/api/redirects/index.mjs.map +1 -1
- package/dist/astro/routes/api/relations/_id_/index.mjs +19 -17
- package/dist/astro/routes/api/relations/_id_/index.mjs.map +1 -1
- package/dist/astro/routes/api/relations/_id_/translations.mjs +14 -12
- package/dist/astro/routes/api/relations/_id_/translations.mjs.map +1 -1
- package/dist/astro/routes/api/relations/index.mjs +19 -17
- package/dist/astro/routes/api/relations/index.mjs.map +1 -1
- 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 +54 -51
- 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 +54 -51
- 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 +54 -51
- package/dist/astro/routes/api/schema/collections/_slug_/fields/reorder.mjs.map +1 -1
- package/dist/astro/routes/api/schema/collections/_slug_/index.mjs +54 -51
- package/dist/astro/routes/api/schema/collections/_slug_/index.mjs.map +1 -1
- package/dist/astro/routes/api/schema/collections/index.mjs +54 -51
- package/dist/astro/routes/api/schema/collections/index.mjs.map +1 -1
- package/dist/astro/routes/api/schema/collections/reorder.mjs +54 -51
- package/dist/astro/routes/api/schema/collections/reorder.mjs.map +1 -1
- package/dist/astro/routes/api/schema/index.mjs +13 -11
- package/dist/astro/routes/api/schema/index.mjs.map +1 -1
- package/dist/astro/routes/api/schema/orphans/_slug_.mjs +54 -51
- package/dist/astro/routes/api/schema/orphans/_slug_.mjs.map +1 -1
- package/dist/astro/routes/api/schema/orphans/index.mjs +54 -51
- package/dist/astro/routes/api/schema/orphans/index.mjs.map +1 -1
- package/dist/astro/routes/api/search/enable.mjs +12 -11
- package/dist/astro/routes/api/search/enable.mjs.map +1 -1
- package/dist/astro/routes/api/search/index.mjs +11 -10
- package/dist/astro/routes/api/search/index.mjs.map +1 -1
- package/dist/astro/routes/api/search/rebuild.mjs +12 -11
- package/dist/astro/routes/api/search/rebuild.mjs.map +1 -1
- package/dist/astro/routes/api/search/stats.mjs +7 -6
- package/dist/astro/routes/api/search/stats.mjs.map +1 -1
- package/dist/astro/routes/api/search/suggest.mjs +11 -10
- package/dist/astro/routes/api/search/suggest.mjs.map +1 -1
- package/dist/astro/routes/api/sections/_slug_.mjs +11 -10
- package/dist/astro/routes/api/sections/_slug_.mjs.map +1 -1
- package/dist/astro/routes/api/sections/index.mjs +11 -10
- package/dist/astro/routes/api/sections/index.mjs.map +1 -1
- package/dist/astro/routes/api/settings/backups/archives/_name_.mjs +7 -6
- package/dist/astro/routes/api/settings/backups/archives/_name_.mjs.map +1 -1
- package/dist/astro/routes/api/settings/backups/archives/index.mjs +6 -5
- package/dist/astro/routes/api/settings/backups/archives/index.mjs.map +1 -1
- package/dist/astro/routes/api/settings/backups/export.mjs +7 -6
- package/dist/astro/routes/api/settings/backups/export.mjs.map +1 -1
- package/dist/astro/routes/api/settings/backups/index.mjs +8 -7
- package/dist/astro/routes/api/settings/backups/index.mjs.map +1 -1
- package/dist/astro/routes/api/settings/email.mjs +4 -4
- package/dist/astro/routes/api/settings.mjs +14 -14
- package/dist/astro/routes/api/setup/admin-verify.mjs +12 -12
- package/dist/astro/routes/api/setup/admin.mjs +11 -11
- package/dist/astro/routes/api/setup/dev-bypass.mjs +33 -31
- package/dist/astro/routes/api/setup/dev-bypass.mjs.map +1 -1
- package/dist/astro/routes/api/setup/dev-reset.mjs +2 -2
- package/dist/astro/routes/api/setup/index.mjs +33 -31
- package/dist/astro/routes/api/setup/index.mjs.map +1 -1
- package/dist/astro/routes/api/setup/status.mjs +3 -3
- package/dist/astro/routes/api/snapshot.mjs +8 -7
- package/dist/astro/routes/api/snapshot.mjs.map +1 -1
- package/dist/astro/routes/api/taxonomies/_name_/reorder.mjs +16 -15
- package/dist/astro/routes/api/taxonomies/_name_/reorder.mjs.map +1 -1
- package/dist/astro/routes/api/taxonomies/_name_/terms/_slug_/translations.mjs +16 -15
- package/dist/astro/routes/api/taxonomies/_name_/terms/_slug_/translations.mjs.map +1 -1
- package/dist/astro/routes/api/taxonomies/_name_/terms/_slug_.mjs +16 -15
- package/dist/astro/routes/api/taxonomies/_name_/terms/_slug_.mjs.map +1 -1
- package/dist/astro/routes/api/taxonomies/_name_/terms/index.mjs +16 -15
- package/dist/astro/routes/api/taxonomies/_name_/terms/index.mjs.map +1 -1
- package/dist/astro/routes/api/taxonomies/_name_/translations.mjs +15 -14
- package/dist/astro/routes/api/taxonomies/_name_/translations.mjs.map +1 -1
- package/dist/astro/routes/api/taxonomies/_name_.mjs +16 -15
- package/dist/astro/routes/api/taxonomies/_name_.mjs.map +1 -1
- package/dist/astro/routes/api/taxonomies/index.mjs +16 -15
- package/dist/astro/routes/api/taxonomies/index.mjs.map +1 -1
- package/dist/astro/routes/api/themes/preview.mjs +5 -5
- package/dist/astro/routes/api/typegen.mjs +4 -4
- 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 +12 -12
- package/dist/astro/routes/api/widget-areas/_name_/widgets.mjs +12 -12
- package/dist/astro/routes/api/widget-areas/_name_.mjs +7 -7
- package/dist/astro/routes/api/widget-areas/index.mjs +12 -12
- package/dist/astro/routes/api/widget-components.mjs +2 -2
- package/dist/astro/routes/robots.txt.mjs +6 -6
- package/dist/astro/routes/sitemap-_collection_.xml.mjs +11 -10
- package/dist/astro/routes/sitemap-_collection_.xml.mjs.map +1 -1
- package/dist/astro/routes/sitemap.xml.mjs +7 -7
- 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-Bkf_UHhD.mjs → authorize-C2QHlWSS.mjs} +2 -2
- package/dist/{authorize-Bkf_UHhD.mjs.map → authorize-C2QHlWSS.mjs.map} +1 -1
- package/dist/{backup-rwVAl9NI.mjs → backup-oS8ft5Cm.mjs} +5 -5
- package/dist/{backup-rwVAl9NI.mjs.map → backup-oS8ft5Cm.mjs.map} +1 -1
- package/dist/{bundle-C8S2Zl6U.mjs → bundle-CL0JjIPx.mjs} +4 -4
- package/dist/{bundle-C8S2Zl6U.mjs.map → bundle-CL0JjIPx.mjs.map} +1 -1
- package/dist/{byline-DuhF7NWl.mjs → byline-Vdi85CsZ.mjs} +6 -6
- package/dist/{byline-DuhF7NWl.mjs.map → byline-Vdi85CsZ.mjs.map} +1 -1
- package/dist/{byline-fields-BovY4KYM.mjs → byline-fields-DPVRFMz2.mjs} +2 -2
- package/dist/{byline-fields-BovY4KYM.mjs.map → byline-fields-DPVRFMz2.mjs.map} +1 -1
- package/dist/{byline-registry-Bpu9-MVs.mjs → byline-registry-BxDGIO0I.mjs} +2 -2
- package/dist/{byline-registry-Bpu9-MVs.mjs.map → byline-registry-BxDGIO0I.mjs.map} +1 -1
- package/dist/{bylines-CJ5nd6Lw.mjs → bylines-BX8QhcTk.mjs} +7 -7
- package/dist/{bylines-CJ5nd6Lw.mjs.map → bylines-BX8QhcTk.mjs.map} +1 -1
- package/dist/{bylines-RwBAeOF1.mjs → bylines-w-E1IEQd.mjs} +3 -3
- package/dist/{bylines-RwBAeOF1.mjs.map → bylines-w-E1IEQd.mjs.map} +1 -1
- package/dist/{cache-BF5Kvn59.mjs → cache--7HKu5Xm.mjs} +4 -4
- package/dist/{cache-BF5Kvn59.mjs.map → cache--7HKu5Xm.mjs.map} +1 -1
- package/dist/{capture-triggers-CNW1q3HK.mjs → capture-triggers-CeAsC76Z.mjs} +2 -2
- package/dist/{capture-triggers-CNW1q3HK.mjs.map → capture-triggers-CeAsC76Z.mjs.map} +1 -1
- package/dist/{challenge-store-DQN_Yrck.mjs → challenge-store-BIOak-tp.mjs} +1 -1
- package/dist/{challenge-store-DQN_Yrck.mjs.map → challenge-store-BIOak-tp.mjs.map} +1 -1
- package/dist/{chrome-tags-D8fiZG94.mjs → chrome-tags-DzDQBCjX.mjs} +1 -1
- package/dist/{chrome-tags-D8fiZG94.mjs.map → chrome-tags-DzDQBCjX.mjs.map} +1 -1
- package/dist/{chunks-C4szrD8o.mjs → chunks-VG_tyqnP.mjs} +2 -2
- package/dist/{chunks-C4szrD8o.mjs.map → chunks-VG_tyqnP.mjs.map} +1 -1
- package/dist/cli/index.mjs +66 -38
- package/dist/cli/index.mjs.map +1 -1
- package/dist/client/cf-access.d.mts +1 -1
- package/dist/client/index.d.mts +17 -7
- package/dist/client/index.d.mts.map +1 -1
- package/dist/client/index.mjs +17 -12
- package/dist/client/index.mjs.map +1 -1
- package/dist/{collection-deletion-Bj07NHbj.mjs → collection-deletion-BCwaWTDw.mjs} +4 -4
- package/dist/{collection-deletion-Bj07NHbj.mjs.map → collection-deletion-BCwaWTDw.mjs.map} +1 -1
- package/dist/collection-slugs-cache-7lTmNzeA.mjs +85 -0
- package/dist/collection-slugs-cache-7lTmNzeA.mjs.map +1 -0
- package/dist/{comment-reaction-BhrvSHml.mjs → comment-reaction-CDyvPQRj.mjs} +2 -2
- package/dist/{comment-reaction-BhrvSHml.mjs.map → comment-reaction-CDyvPQRj.mjs.map} +1 -1
- package/dist/{comments-Ct4ensnf.mjs → comments-VzmVLyaC.mjs} +1 -1
- package/dist/{comments-Ct4ensnf.mjs.map → comments-VzmVLyaC.mjs.map} +1 -1
- package/dist/{components-DJbo1z0S.mjs → components-CL6Wkdk-.mjs} +1 -1
- package/dist/{components-DJbo1z0S.mjs.map → components-CL6Wkdk-.mjs.map} +1 -1
- package/dist/config--eWjQJE5.mjs +217 -0
- package/dist/config--eWjQJE5.mjs.map +1 -0
- package/dist/{index-BJNMCWmu.d.mts → config-CGAhyOjP.d.mts} +138 -47
- package/dist/config-CGAhyOjP.d.mts.map +1 -0
- package/dist/{config-B9eZ340f.d.mts → config-ChFzshGd.d.mts} +1 -1
- package/dist/{config-B9eZ340f.d.mts.map → config-ChFzshGd.d.mts.map} +1 -1
- package/dist/{content-DjvM0T92.mjs → content-CNfMWuhY.mjs} +121 -5
- package/dist/content-CNfMWuhY.mjs.map +1 -0
- package/dist/{content-list-query-Btqd4uV2.d.mts → content-list-query-B8d4UQp9.d.mts} +1 -1
- package/dist/{content-list-query-Btqd4uV2.d.mts.map → content-list-query-B8d4UQp9.d.mts.map} +1 -1
- package/dist/{content-refresh-Bwp-8yGy.mjs → content-refresh-GTMyi2Xy.mjs} +8 -8
- package/dist/{content-refresh-Bwp-8yGy.mjs.map → content-refresh-GTMyi2Xy.mjs.map} +1 -1
- package/dist/{content-repair-Czdp7jz5.mjs → content-repair-CIMt5C0U.mjs} +4 -4
- package/dist/{content-repair-Czdp7jz5.mjs.map → content-repair-CIMt5C0U.mjs.map} +1 -1
- package/dist/{context-CX6gxOLW.mjs → context-C9PB8vGd.mjs} +265 -25
- package/dist/context-C9PB8vGd.mjs.map +1 -0
- package/dist/{cron-C6o7VppJ.mjs → cron-DHAy9oyq.mjs} +1 -1
- package/dist/{cron-C6o7VppJ.mjs.map → cron-DHAy9oyq.mjs.map} +1 -1
- package/dist/{dashboard-C2kTeeRI.mjs → dashboard-BNSvAN8A.mjs} +4 -4
- package/dist/{dashboard-C2kTeeRI.mjs.map → dashboard-BNSvAN8A.mjs.map} +1 -1
- package/dist/db/index.d.mts +3 -3
- package/dist/db/index.mjs +2 -2
- package/dist/db/libsql-migrations.d.mts +1 -1
- package/dist/db/libsql-migrations.mjs +5 -5
- package/dist/db/libsql.d.mts +1 -1
- package/dist/db/postgres-migrations.d.mts +1 -1
- package/dist/db/postgres-migrations.mjs +5 -5
- package/dist/db/postgres.d.mts +1 -1
- package/dist/db/sqlite-migrations.d.mts +1 -1
- package/dist/db/sqlite-migrations.mjs +5 -5
- package/dist/db/sqlite.d.mts +1 -1
- package/dist/db/sqlite.mjs +1 -1
- package/dist/{default-Clra32mw.mjs → default-ByZ0JqZo.mjs} +1 -1
- package/dist/{default-Clra32mw.mjs.map → default-ByZ0JqZo.mjs.map} +1 -1
- package/dist/{deferred-tasks-CvDETTJO.d.mts → deferred-tasks-Cu4NSJpa.d.mts} +1 -1
- package/dist/{deferred-tasks-CvDETTJO.d.mts.map → deferred-tasks-Cu4NSJpa.d.mts.map} +1 -1
- package/dist/{dev-typegen-DzOPfsNj.mjs → dev-typegen-DHT7lcMU.mjs} +1 -1
- package/dist/{dev-typegen-DzOPfsNj.mjs.map → dev-typegen-DHT7lcMU.mjs.map} +1 -1
- package/dist/{device-flow-D2oCWvLJ.mjs → device-flow-Cf6bhCCT.mjs} +4 -4
- package/dist/{device-flow-D2oCWvLJ.mjs.map → device-flow-Cf6bhCCT.mjs.map} +1 -1
- package/dist/{dialect-helpers-BSbfaO3F.mjs → dialect-helpers-BcQvkHgn.mjs} +83 -2
- package/dist/dialect-helpers-BcQvkHgn.mjs.map +1 -0
- package/dist/{direct-executor-Bfa5_ToE.mjs → direct-executor-yAyUGSqB.mjs} +3 -3
- package/dist/{direct-executor-Bfa5_ToE.mjs.map → direct-executor-yAyUGSqB.mjs.map} +1 -1
- package/dist/{dist-89xCrGqi.mjs → dist-BAsh8dbf.mjs} +1 -1
- package/dist/{dist-89xCrGqi.mjs.map → dist-BAsh8dbf.mjs.map} +1 -1
- package/dist/{email-console-Dzb6uGYa.mjs → email-console-DNup1Fku.mjs} +1 -1
- package/dist/{email-console-Dzb6uGYa.mjs.map → email-console-DNup1Fku.mjs.map} +1 -1
- package/dist/{enrich-BX0IDp4z.mjs → enrich-t2Xvjdqa.mjs} +3 -3
- package/dist/{enrich-BX0IDp4z.mjs.map → enrich-t2Xvjdqa.mjs.map} +1 -1
- package/dist/entry-lock-BEr8gDkG.mjs +163 -0
- package/dist/entry-lock-BEr8gDkG.mjs.map +1 -0
- package/dist/{relations-DnRK4YIT.d.mts → entry-lock-CGAtrwAR.d.mts} +92 -37
- package/dist/entry-lock-CGAtrwAR.d.mts.map +1 -0
- package/dist/{redirects-BLNOWQTn.mjs → entry-lock-DIYHAaSw.mjs} +57 -14
- package/dist/entry-lock-DIYHAaSw.mjs.map +1 -0
- package/dist/entry-locks-BEcX7ET0.mjs +167 -0
- package/dist/entry-locks-BEcX7ET0.mjs.map +1 -0
- package/dist/{error-DFrQjppn.mjs → error-BDcFyoRt.mjs} +2 -2
- package/dist/{error-DFrQjppn.mjs.map → error-BDcFyoRt.mjs.map} +1 -1
- package/dist/{errors-DsVoDUjJ.mjs → errors-DvMdNrgf.mjs} +8 -1
- package/dist/errors-DvMdNrgf.mjs.map +1 -0
- package/dist/{escape-HmHTC1Is.mjs → escape-B3asJC6W.mjs} +1 -1
- package/dist/{escape-HmHTC1Is.mjs.map → escape-B3asJC6W.mjs.map} +1 -1
- package/dist/{field-defs-cache-BM4SIRqH.mjs → field-defs-cache-Cf5FHK0M.mjs} +5 -5
- package/dist/{field-defs-cache-BM4SIRqH.mjs.map → field-defs-cache-Cf5FHK0M.mjs.map} +1 -1
- package/dist/{fts-manager-Do1BlW2r.mjs → fts-manager-iddym8cd.mjs} +4 -4
- package/dist/{fts-manager-Do1BlW2r.mjs.map → fts-manager-iddym8cd.mjs.map} +1 -1
- package/dist/{hash-3JJPlHF2.mjs → hash-BRweX6jz.mjs} +1 -1
- package/dist/{hash-3JJPlHF2.mjs.map → hash-BRweX6jz.mjs.map} +1 -1
- package/dist/{hook-result-DCh2WUpe.d.mts → hook-result-BrshYHLx.d.mts} +1 -1
- package/dist/{hook-result-DCh2WUpe.d.mts.map → hook-result-BrshYHLx.d.mts.map} +1 -1
- package/dist/{hreflang-B6hbAuuO.d.mts → hreflang-CQpu5bMy.d.mts} +2 -2
- package/dist/{hreflang-B6hbAuuO.d.mts.map → hreflang-CQpu5bMy.d.mts.map} +1 -1
- package/dist/{hreflang-DQbPZliA.mjs → hreflang-DshnweTC.mjs} +9 -8
- package/dist/{hreflang-DQbPZliA.mjs.map → hreflang-DshnweTC.mjs.map} +1 -1
- package/dist/{identity-DksvEazf.mjs → identity-CjGKDq8J.mjs} +3 -3
- package/dist/{identity-DksvEazf.mjs.map → identity-CjGKDq8J.mjs.map} +1 -1
- package/dist/{import-CJpaBBBT.mjs → import-D96g2otw.mjs} +5 -5
- package/dist/{import-CJpaBBBT.mjs.map → import-D96g2otw.mjs.map} +1 -1
- package/dist/{index-Du8K7bWa.d.mts → index-1ECYpfiF.d.mts} +3 -3
- package/dist/{index-Du8K7bWa.d.mts.map → index-1ECYpfiF.d.mts.map} +1 -1
- package/dist/index.d.mts +22 -22
- package/dist/index.mjs +81 -78
- package/dist/{init-lock-DJkX6Hto.mjs → init-lock-CFNBe_iH.mjs} +1 -1
- package/dist/{init-lock-DJkX6Hto.mjs.map → init-lock-CFNBe_iH.mjs.map} +1 -1
- package/dist/{load-CawHjTOH.mjs → load-DPtY9cZo.mjs} +2 -2
- package/dist/{load-CawHjTOH.mjs.map → load-DPtY9cZo.mjs.map} +1 -1
- package/dist/{loader-Z8vl7zTq.mjs → loader-WJi6GFRn.mjs} +46 -8
- package/dist/loader-WJi6GFRn.mjs.map +1 -0
- package/dist/{manifest-builder-COtzuca2.mjs → manifest-builder-BfNlGQIA.mjs} +2 -2
- package/dist/{manifest-builder-COtzuca2.mjs.map → manifest-builder-BfNlGQIA.mjs.map} +1 -1
- package/dist/{manifest-schema-BNWwR8Vd.mjs → manifest-schema-CILooI5J.mjs} +1 -1
- package/dist/{manifest-schema-BNWwR8Vd.mjs.map → manifest-schema-CILooI5J.mjs.map} +1 -1
- package/dist/media/image-endpoint.mjs +1 -1
- package/dist/media/index.d.mts +1 -1
- package/dist/media/index.mjs +3 -3
- package/dist/media/local-runtime.d.mts +12 -12
- package/dist/media/local-runtime.mjs +5 -5
- package/dist/{media-BHjus86Y.mjs → media-C1EIZKh1.mjs} +1 -1
- package/dist/{media-BHjus86Y.mjs.map → media-C1EIZKh1.mjs.map} +1 -1
- package/dist/{media-allowlist-CoTBWoDp.mjs → media-allowlist-elXJgb_K.mjs} +2 -2
- package/dist/{media-allowlist-CoTBWoDp.mjs.map → media-allowlist-elXJgb_K.mjs.map} +1 -1
- package/dist/{media-folders-BGkATs8n.mjs → media-folders-DASfX_DH.mjs} +1 -1
- package/dist/{media-folders-BGkATs8n.mjs.map → media-folders-DASfX_DH.mjs.map} +1 -1
- package/dist/{media-upload-BCidR-EY.mjs → media-upload-C7_AQJ5v.mjs} +8 -8
- package/dist/{media-upload-BCidR-EY.mjs.map → media-upload-C7_AQJ5v.mjs.map} +1 -1
- package/dist/{media-url-DHoPr0hq.mjs → media-url-8dVl1loq.mjs} +19 -2
- package/dist/media-url-8dVl1loq.mjs.map +1 -0
- package/dist/{media-usage-CdY5jhSR.mjs → media-usage-C1EswMTq.mjs} +9 -9
- package/dist/{media-usage-CdY5jhSR.mjs.map → media-usage-C1EswMTq.mjs.map} +1 -1
- package/dist/{media-usage-activation-BgeMtK5C.mjs → media-usage-activation-CrHNltlL.mjs} +3 -3
- package/dist/{media-usage-activation-BgeMtK5C.mjs.map → media-usage-activation-CrHNltlL.mjs.map} +1 -1
- package/dist/{media-usage-work-D6D9sMCA.mjs → media-usage-work-C5B1zT1c.mjs} +2 -2
- package/dist/{media-usage-work-D6D9sMCA.mjs.map → media-usage-work-C5B1zT1c.mjs.map} +1 -1
- package/dist/{media-usage-work-CnGCdHxx.mjs → media-usage-work-IkQx_Yz6.mjs} +4 -4
- package/dist/{media-usage-work-CnGCdHxx.mjs.map → media-usage-work-IkQx_Yz6.mjs.map} +1 -1
- package/dist/{media-usage-write-fence-hjeD4u7s.mjs → media-usage-write-fence-B9anjOSg.mjs} +3 -3
- package/dist/{media-usage-write-fence-hjeD4u7s.mjs.map → media-usage-write-fence-B9anjOSg.mjs.map} +1 -1
- package/dist/{menus-6qSwTNxG.mjs → menus-D8mC4eaN.mjs} +115 -136
- package/dist/menus-D8mC4eaN.mjs.map +1 -0
- package/dist/{menus-uvPLXMZf.mjs → menus-UdwjHZJC.mjs} +11 -3
- package/dist/{menus-uvPLXMZf.mjs.map → menus-UdwjHZJC.mjs.map} +1 -1
- package/dist/migrations/index.d.mts +1 -1
- package/dist/migrations/index.mjs +4 -4
- package/dist/{mime-CUIG6x84.mjs → mime-DYpsOAny.mjs} +1 -1
- package/dist/{mime-CUIG6x84.mjs.map → mime-DYpsOAny.mjs.map} +1 -1
- package/dist/{mode-DN_WneRx.mjs → mode-Dm4BHhRH.mjs} +1 -1
- package/dist/{mode-DN_WneRx.mjs.map → mode-Dm4BHhRH.mjs.map} +1 -1
- package/dist/{node-sqlite-compat-BuJXIeMz.mjs → node-sqlite-compat-2sezm-Zd.mjs} +1 -1
- package/dist/{node-sqlite-compat-BuJXIeMz.mjs.map → node-sqlite-compat-2sezm-Zd.mjs.map} +1 -1
- package/dist/{normalize-C2xNjTSG.mjs → normalize-4nkKGsuW.mjs} +1 -1
- package/dist/{normalize-C2xNjTSG.mjs.map → normalize-4nkKGsuW.mjs.map} +1 -1
- package/dist/{oauth-authorization-Dj6Kwc21.mjs → oauth-authorization-BxE_lURD.mjs} +4 -4
- package/dist/{oauth-authorization-Dj6Kwc21.mjs.map → oauth-authorization-BxE_lURD.mjs.map} +1 -1
- package/dist/{oauth-clients-FD7I0J8m.mjs → oauth-clients-DJIdOdq0.mjs} +1 -1
- package/dist/{oauth-clients-FD7I0J8m.mjs.map → oauth-clients-DJIdOdq0.mjs.map} +1 -1
- package/dist/{oauth-state-store-DkmDOmHs.mjs → oauth-state-store-CsdxP57n.mjs} +1 -1
- package/dist/{oauth-state-store-DkmDOmHs.mjs.map → oauth-state-store-CsdxP57n.mjs.map} +1 -1
- package/dist/{oauth-user-lookup-CvIwGpYd.mjs → oauth-user-lookup-HzzW-dkF.mjs} +1 -1
- package/dist/{oauth-user-lookup-CvIwGpYd.mjs.map → oauth-user-lookup-HzzW-dkF.mjs.map} +1 -1
- package/dist/object-cache/memory.d.mts +1 -1
- package/dist/{options-BHPeIbBd.mjs → options-D1FBiAv1.mjs} +60 -5
- package/dist/options-D1FBiAv1.mjs.map +1 -0
- package/dist/{options-CYb4y7hM.d.mts → options-D8Y0VHc7.d.mts} +9 -3
- package/dist/options-D8Y0VHc7.d.mts.map +1 -0
- package/dist/page/index.d.mts +2 -2
- package/dist/page/index.d.mts.map +1 -1
- package/dist/page/index.mjs +12 -0
- package/dist/page/index.mjs.map +1 -1
- package/dist/{parse-Ckpg-Qfp.mjs → parse-WRg5C3NX.mjs} +2 -2
- package/dist/{parse-Ckpg-Qfp.mjs.map → parse-WRg5C3NX.mjs.map} +1 -1
- package/dist/{passkey-config-O_lj3y0k.mjs → passkey-config-qIdO-wF6.mjs} +1 -1
- package/dist/{passkey-config-O_lj3y0k.mjs.map → passkey-config-qIdO-wF6.mjs.map} +1 -1
- package/dist/{patterns-D9iDO3j8.mjs → patterns-DC8CLptu.mjs} +1 -1
- package/dist/{patterns-D9iDO3j8.mjs.map → patterns-DC8CLptu.mjs.map} +1 -1
- package/dist/{placeholder-4X9BrRrp.d.mts → placeholder-COrvARyD.d.mts} +1 -1
- package/dist/{placeholder-4X9BrRrp.d.mts.map → placeholder-COrvARyD.d.mts.map} +1 -1
- package/dist/plugin-types.d.mts +3 -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-Dhtwntrt.mjs → policy-XCfb-IE9.mjs} +2 -2
- package/dist/{policy-Dhtwntrt.mjs.map → policy-XCfb-IE9.mjs.map} +1 -1
- package/dist/{portable-text-U85hOafW.mjs → portable-text-BS3d5n-0.mjs} +1 -1
- package/dist/{portable-text-U85hOafW.mjs.map → portable-text-BS3d5n-0.mjs.map} +1 -1
- package/dist/{preview-B_vJLvf8.mjs → preview-BxwsGgGp.mjs} +2 -2
- package/dist/{preview-B_vJLvf8.mjs.map → preview-BxwsGgGp.mjs.map} +1 -1
- package/dist/{protocol-JdD2YhY9.d.mts → protocol-CLn58-nw.d.mts} +2 -2
- package/dist/{protocol-JdD2YhY9.d.mts.map → protocol-CLn58-nw.d.mts.map} +1 -1
- package/dist/{public-url-CarhZJgf.mjs → public-url-FWWAvnre.mjs} +1 -1
- package/dist/{public-url-CarhZJgf.mjs.map → public-url-FWWAvnre.mjs.map} +1 -1
- package/dist/{query-BZKZcG5b.mjs → query-DygOte9M.mjs} +25 -16
- package/dist/query-DygOte9M.mjs.map +1 -0
- package/dist/{query-BndaFxxp.mjs → query-gtXT03Wc.mjs} +4 -4
- package/dist/{query-BndaFxxp.mjs.map → query-gtXT03Wc.mjs.map} +1 -1
- package/dist/{rate-limit-BZmATC6W.mjs → rate-limit-CQUPm0dh.mjs} +2 -2
- package/dist/{rate-limit-BZmATC6W.mjs.map → rate-limit-CQUPm0dh.mjs.map} +1 -1
- package/dist/{redirect-CzqnLxK-.mjs → redirect-D1cWafi6.mjs} +1 -1
- package/dist/{redirect-CzqnLxK-.mjs.map → redirect-D1cWafi6.mjs.map} +1 -1
- package/dist/{redirect-CZkbozu9.mjs → redirect-DId44BS1.mjs} +19 -6
- package/dist/redirect-DId44BS1.mjs.map +1 -0
- package/dist/{redirects-CqzNM0KM.mjs → redirects-DN-ZE33W.mjs} +5 -5
- package/dist/{redirects-CqzNM0KM.mjs.map → redirects-DN-ZE33W.mjs.map} +1 -1
- package/dist/{registry-AZAsRsor.mjs → registry-DTqaqxed.mjs} +26 -10
- package/dist/registry-DTqaqxed.mjs.map +1 -0
- package/dist/{relation-04DfKRTO.mjs → relation-DxgCHOBw.mjs} +2 -2
- package/dist/{relation-04DfKRTO.mjs.map → relation-DxgCHOBw.mjs.map} +1 -1
- package/dist/{relations-CcFwDJdJ.mjs → relations-KKDSLUwS.mjs} +4 -4
- package/dist/{relations-CcFwDJdJ.mjs.map → relations-KKDSLUwS.mjs.map} +1 -1
- package/dist/{relations-C4htk5sb.mjs → relations-rOmbndUJ.mjs} +3 -3
- package/dist/{relations-C4htk5sb.mjs.map → relations-rOmbndUJ.mjs.map} +1 -1
- package/dist/{request-cache-DH9zdCOD.mjs → request-cache-DAZZmesc.mjs} +1 -1
- package/dist/{request-cache-DH9zdCOD.mjs.map → request-cache-DAZZmesc.mjs.map} +1 -1
- package/dist/request-context.d.mts +1 -1
- package/dist/{request-meta-DYxLlnmz.mjs → request-meta-BgjUQLQ-.mjs} +2 -2
- package/dist/{request-meta-DYxLlnmz.mjs.map → request-meta-BgjUQLQ-.mjs.map} +1 -1
- package/dist/{resolve-prZ3mP7l.mjs → resolve-Cy0aWSRj.mjs} +37 -4
- package/dist/resolve-Cy0aWSRj.mjs.map +1 -0
- package/dist/{runner-YKfIMnaF.d.mts → runner-CfwysRM0.d.mts} +2 -2
- package/dist/{runner-YKfIMnaF.d.mts.map → runner-CfwysRM0.d.mts.map} +1 -1
- package/dist/{runner-BLIDKpmA.mjs → runner-nEzvnogG.mjs} +419 -295
- package/dist/runner-nEzvnogG.mjs.map +1 -0
- package/dist/runtime.d.mts +11 -11
- package/dist/runtime.mjs +3 -2
- package/dist/runtime.mjs.map +1 -1
- package/dist/{schema-CGnBeLiW.mjs → schema-CRu38Pr5.mjs} +3 -3
- package/dist/{schema-CGnBeLiW.mjs.map → schema-CRu38Pr5.mjs.map} +1 -1
- package/dist/{schema-DYr-Vd-L.mjs → schema-DifxndJx.mjs} +4 -4
- package/dist/{schema-DYr-Vd-L.mjs.map → schema-DifxndJx.mjs.map} +1 -1
- package/dist/{scopes-BhWvBavj.mjs → scopes-D5A1OZbq.mjs} +3 -3
- package/dist/{scopes-BhWvBavj.mjs.map → scopes-D5A1OZbq.mjs.map} +1 -1
- package/dist/{search-C-qDk4kx.mjs → search-DEPFSBFq.mjs} +4 -4
- package/dist/{search-C-qDk4kx.mjs.map → search-DEPFSBFq.mjs.map} +1 -1
- package/dist/{secrets-rEtHt-6z.mjs → secrets-CdfzLdoO.mjs} +3 -3
- package/dist/{secrets-rEtHt-6z.mjs.map → secrets-CdfzLdoO.mjs.map} +1 -1
- package/dist/{sections-B_nYvlwn.mjs → sections-3X52kmIR.mjs} +2 -2
- package/dist/{sections-B_nYvlwn.mjs.map → sections-3X52kmIR.mjs.map} +1 -1
- package/dist/seed/index.d.mts +2 -2
- package/dist/seed/index.mjs +26 -24
- package/dist/seo/index.d.mts +3 -3
- package/dist/seo/index.d.mts.map +1 -1
- package/dist/seo/index.mjs +18 -19
- package/dist/seo/index.mjs.map +1 -1
- package/dist/{seo-926NRIgt.mjs → seo-Bw68KxRc.mjs} +2 -2
- package/dist/{seo-926NRIgt.mjs.map → seo-Bw68KxRc.mjs.map} +1 -1
- package/dist/{seo-CVWkdv6x.mjs → seo-C4AmbsMU.mjs} +3 -2
- package/dist/seo-C4AmbsMU.mjs.map +1 -0
- package/dist/{service-CJl3ZAYs.mjs → service-J_-Vgo7R.mjs} +2 -2
- package/dist/{service-CJl3ZAYs.mjs.map → service-J_-Vgo7R.mjs.map} +1 -1
- package/dist/{session-user-BlMgqCHS.mjs → session-user-CbnMMwk6.mjs} +1 -1
- package/dist/{session-user-BlMgqCHS.mjs.map → session-user-CbnMMwk6.mjs.map} +1 -1
- package/dist/{settings-Cwm6o2jY.mjs → settings-AnEFYICn.mjs} +3 -3
- package/dist/{settings-Cwm6o2jY.mjs.map → settings-AnEFYICn.mjs.map} +1 -1
- package/dist/{settings--wobrkkC.mjs → settings-DcMjREe5.mjs} +6 -6
- package/dist/{settings--wobrkkC.mjs.map → settings-DcMjREe5.mjs.map} +1 -1
- package/dist/{setup-complete-DQbClIN2.mjs → setup-complete-BClXXTvr.mjs} +2 -2
- package/dist/{setup-complete-DQbClIN2.mjs.map → setup-complete-BClXXTvr.mjs.map} +1 -1
- package/dist/{setup-nonce-DZCFS2sn.mjs → setup-nonce-BheRa4RG.mjs} +1 -1
- package/dist/{setup-nonce-DZCFS2sn.mjs.map → setup-nonce-BheRa4RG.mjs.map} +1 -1
- package/dist/{single-flight-cache-BPuGPdcN.mjs → single-flight-cache-jaswDzmQ.mjs} +2 -2
- package/dist/{single-flight-cache-BPuGPdcN.mjs.map → single-flight-cache-jaswDzmQ.mjs.map} +1 -1
- package/dist/{site-url-BrxA_E9H.mjs → site-url-Bqf-ea3N.mjs} +3 -3
- package/dist/{site-url-BrxA_E9H.mjs.map → site-url-Bqf-ea3N.mjs.map} +1 -1
- package/dist/{snapshot--OCDTqdb.mjs → snapshot-C4CtXntb.mjs} +51 -35
- package/dist/snapshot-C4CtXntb.mjs.map +1 -0
- package/dist/{ssrf-5sIM5jzl.mjs → ssrf-gl4gFNhw.mjs} +148 -91
- package/dist/ssrf-gl4gFNhw.mjs.map +1 -0
- package/dist/{state-BpFVsJZB.mjs → state-1F6IOhdQ.mjs} +1 -1
- package/dist/{state-BpFVsJZB.mjs.map → state-1F6IOhdQ.mjs.map} +1 -1
- package/dist/{status-B777-dXz.mjs → status-Cenfk_r5.mjs} +1 -1
- package/dist/{status-B777-dXz.mjs.map → status-Cenfk_r5.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/{target-BmR0iTwz.mjs → target-CRzeTs8G.mjs} +1 -1
- package/dist/{target-BmR0iTwz.mjs.map → target-CRzeTs8G.mjs.map} +1 -1
- package/dist/{taxonomies-DkAkMupr.mjs → taxonomies-BOdxuZpV.mjs} +11 -4
- package/dist/taxonomies-BOdxuZpV.mjs.map +1 -0
- package/dist/{taxonomies-Wfy_Lg12.mjs → taxonomies-NcFDq5Gg.mjs} +23 -14
- package/dist/taxonomies-NcFDq5Gg.mjs.map +1 -0
- package/dist/{taxonomy-tJepplLL.mjs → taxonomy-DP1vny4K.mjs} +11 -3
- package/dist/{taxonomy-tJepplLL.mjs.map → taxonomy-DP1vny4K.mjs.map} +1 -1
- package/dist/{tokens-BCO1oruF.mjs → tokens-CDk8ox9p.mjs} +1 -1
- package/dist/{tokens-BCO1oruF.mjs.map → tokens-CDk8ox9p.mjs.map} +1 -1
- package/dist/{transport-xh6YKW2G.d.mts → transport-BVn4tVb9.d.mts} +1 -1
- package/dist/{transport-xh6YKW2G.d.mts.map → transport-BVn4tVb9.d.mts.map} +1 -1
- package/dist/{transport-Dr3qtwXC.mjs → transport-DP0JI-8i.mjs} +1 -1
- package/dist/{transport-Dr3qtwXC.mjs.map → transport-DP0JI-8i.mjs.map} +1 -1
- package/dist/{trusted-proxy-BR5F1Otp.mjs → trusted-proxy-BTM6UxqD.mjs} +1 -1
- package/dist/{trusted-proxy-BR5F1Otp.mjs.map → trusted-proxy-BTM6UxqD.mjs.map} +1 -1
- package/dist/{types-CXFkwEGC.d.mts → types-2n848aVW.d.mts} +1 -1
- package/dist/{types-CXFkwEGC.d.mts.map → types-2n848aVW.d.mts.map} +1 -1
- package/dist/{types-75KIqzL9.mjs → types-BMXnRIrX.mjs} +4 -2
- package/dist/types-BMXnRIrX.mjs.map +1 -0
- package/dist/{types-B6GrPic4.d.mts → types-BouXpOsa.d.mts} +115 -4
- package/dist/types-BouXpOsa.d.mts.map +1 -0
- package/dist/{types-3qNFPlci.mjs → types-ByG2coLw.mjs} +1 -1
- package/dist/{types-3qNFPlci.mjs.map → types-ByG2coLw.mjs.map} +1 -1
- package/dist/types-CQPWhPxE.mjs.map +1 -1
- package/dist/{types-CDtkNSFQ.d.mts → types-DEfNJ__A.d.mts} +1 -1
- package/dist/{types-CDtkNSFQ.d.mts.map → types-DEfNJ__A.d.mts.map} +1 -1
- package/dist/{types-xDMtUFnO.d.mts → types-DKcKSbtB.d.mts} +23 -7
- package/dist/types-DKcKSbtB.d.mts.map +1 -0
- package/dist/{types-C00oyCZp.d.mts → types-DRYs7uTL.d.mts} +1 -1
- package/dist/{types-C00oyCZp.d.mts.map → types-DRYs7uTL.d.mts.map} +1 -1
- package/dist/{types-DczELMop.d.mts → types-DaEg7KX2.d.mts} +1 -1
- package/dist/{types-DczELMop.d.mts.map → types-DaEg7KX2.d.mts.map} +1 -1
- package/dist/{types-BuHW4xDE.d.mts → types-LU8utpP_.d.mts} +6 -3
- package/dist/types-LU8utpP_.d.mts.map +1 -0
- package/dist/{types-CPeXo1wF.d.mts → types-VpYfPUxN.d.mts} +1 -1
- package/dist/{types-CPeXo1wF.d.mts.map → types-VpYfPUxN.d.mts.map} +1 -1
- package/dist/{types-DM3vioBY.mjs → types-c9GP7Dj5.mjs} +1 -1
- package/dist/{types-DM3vioBY.mjs.map → types-c9GP7Dj5.mjs.map} +1 -1
- package/dist/{types-FV23hEoW.d.mts → types-tJWDK__M.d.mts} +14 -1
- package/dist/types-tJWDK__M.d.mts.map +1 -0
- package/dist/{upload-attempts-BsqoQ1fn.mjs → upload-attempts-C6S2y-lp.mjs} +1 -1
- package/dist/{upload-attempts-BsqoQ1fn.mjs.map → upload-attempts-C6S2y-lp.mjs.map} +1 -1
- package/dist/{url-pattern-D4c2czpJ.mjs → url-pattern-UYtxVTuj.mjs} +1 -1
- package/dist/{url-pattern-D4c2czpJ.mjs.map → url-pattern-UYtxVTuj.mjs.map} +1 -1
- package/dist/{user-BTZ40aq6.mjs → user-DIsIXogT.mjs} +2 -2
- package/dist/{user-BTZ40aq6.mjs.map → user-DIsIXogT.mjs.map} +1 -1
- package/dist/{utils-BKvNjjhY.mjs → utils-BicP5Qbg.mjs} +2 -2
- package/dist/{utils-BKvNjjhY.mjs.map → utils-BicP5Qbg.mjs.map} +1 -1
- package/dist/{validate-DE_LRwo9.mjs → validate-D8VPn4Hv.mjs} +8 -3
- package/dist/validate-D8VPn4Hv.mjs.map +1 -0
- package/dist/{validate-DUP27OYD.d.mts → validate-Df6Dvwbw.d.mts} +12 -7
- package/dist/validate-Df6Dvwbw.d.mts.map +1 -0
- package/dist/{validation-BMImFJ11.mjs → validation-CzMJn9Ku.mjs} +13 -11
- package/dist/{validation-BMImFJ11.mjs.map → validation-CzMJn9Ku.mjs.map} +1 -1
- package/dist/version-CK67_SXX.mjs +7 -0
- package/dist/{version-Bii3suaO.mjs.map → version-CK67_SXX.mjs.map} +1 -1
- package/dist/{widgets-D3gJ10xU.mjs → widgets-RFVAxQl3.mjs} +5 -5
- package/dist/{widgets-D3gJ10xU.mjs.map → widgets-RFVAxQl3.mjs.map} +1 -1
- package/dist/{wxr-taxonomies-B2Og_6rU.d.mts → wxr-taxonomies-BX4yQL9s.d.mts} +1 -1
- package/dist/{wxr-taxonomies-B2Og_6rU.d.mts.map → wxr-taxonomies-BX4yQL9s.d.mts.map} +1 -1
- package/dist/{wxr-taxonomies-Cxngsjwo.mjs → wxr-taxonomies-Csdp7yde.mjs} +4 -4
- package/dist/{wxr-taxonomies-Cxngsjwo.mjs.map → wxr-taxonomies-Csdp7yde.mjs.map} +1 -1
- package/dist/{zod-generator-BuYSQJB7.mjs → zod-generator-CNRGdnBY.mjs} +3 -3
- package/dist/{zod-generator-BuYSQJB7.mjs.map → zod-generator-CNRGdnBY.mjs.map} +1 -1
- package/package.json +12 -10
- package/src/api/errors.ts +7 -0
- package/src/api/handlers/content.ts +66 -79
- package/src/api/handlers/entry-lock.ts +206 -0
- package/src/api/handlers/manifest.ts +1 -0
- package/src/api/handlers/marketplace.ts +28 -20
- package/src/api/handlers/menus.ts +9 -0
- package/src/api/handlers/registry.ts +13 -8
- package/src/api/handlers/revision.ts +2 -1
- package/src/api/handlers/seo.ts +10 -1
- package/src/api/handlers/snapshot.ts +84 -72
- package/src/api/handlers/taxonomies.ts +9 -0
- package/src/api/openapi/document.ts +111 -6
- package/src/api/schemas/content.ts +8 -0
- package/src/api/schemas/entry-lock.ts +48 -0
- package/src/api/schemas/index.ts +1 -0
- package/src/api/schemas/schema.ts +10 -1
- package/src/api/types.ts +2 -0
- package/src/astro/integration/index.ts +9 -6
- package/src/astro/integration/routes.ts +5 -0
- package/src/astro/integration/runtime.ts +13 -5
- package/src/astro/integration/vite-config.ts +30 -0
- package/src/astro/middleware.ts +16 -0
- package/src/astro/routes/api/content/[collection]/[id]/discard-draft.ts +10 -0
- package/src/astro/routes/api/content/[collection]/[id]/lock.ts +133 -0
- package/src/astro/routes/api/content/[collection]/[id]/publish.ts +11 -1
- package/src/astro/routes/api/content/[collection]/[id]/schedule.ts +20 -0
- package/src/astro/routes/api/content/[collection]/[id]/unpublish.ts +10 -0
- package/src/astro/routes/api/content/[collection]/[id].ts +27 -2
- package/src/astro/routes/api/content/[collection]/index.ts +3 -0
- package/src/astro/routes/sitemap-[collection].xml.ts +4 -0
- package/src/astro/types.ts +13 -3
- package/src/cli/commands/content.ts +31 -5
- package/src/cli/commands/export-seed.ts +2 -0
- package/src/client/index.ts +34 -7
- package/src/components/EmDashBodyEnd.astro +4 -1
- package/src/components/EmDashBodyStart.astro +4 -1
- package/src/components/EmDashHead.astro +35 -16
- package/src/components/Gallery.astro +18 -4
- package/src/components/InlineEditor.astro +3 -1
- package/src/components/InlinePortableTextEditor.tsx +106 -11
- package/src/components/PortableText.astro +4 -0
- package/src/components/Table.astro +147 -62
- package/src/config/errors.ts +13 -0
- package/src/content/converters/portable-text-to-prosemirror.ts +26 -2
- package/src/content/converters/prosemirror-to-portable-text.ts +35 -6
- package/src/content/converters/types.ts +10 -0
- package/src/database/dialect-helpers.ts +125 -0
- package/src/database/migrations/075_entry_edit_locks.ts +44 -0
- package/src/database/migrations/076_collection_nav_group.ts +22 -0
- package/src/database/migrations/077_plugin_storage_revisions.ts +89 -0
- package/src/database/migrations/runner.ts +6 -0
- package/src/database/repositories/content.ts +170 -1
- package/src/database/repositories/entry-locks.ts +257 -0
- package/src/database/repositories/options.ts +69 -5
- package/src/database/repositories/plugin-storage.ts +159 -0
- package/src/database/repositories/redirect.ts +17 -6
- package/src/database/repositories/taxonomy.ts +8 -0
- package/src/database/repositories/types.ts +3 -0
- package/src/database/types.ts +15 -1
- package/src/emdash-runtime.ts +117 -50
- package/src/i18n/resolve.ts +44 -4
- package/src/index.ts +14 -0
- package/src/loader.ts +35 -4
- package/src/mcp/server.ts +23 -5
- package/src/media/responsive.ts +23 -0
- package/src/media/usage/content-refresh.ts +2 -1
- package/src/menus/index.ts +17 -21
- package/src/page/seo-contributions.ts +78 -1
- package/src/page/seo-panel.ts +47 -0
- package/src/plugin-types.ts +9 -0
- package/src/plugins/conditional-storage.ts +30 -0
- package/src/plugins/context.ts +49 -17
- package/src/plugins/hooks.ts +7 -1
- package/src/plugins/index.ts +9 -0
- package/src/plugins/manager.ts +5 -2
- package/src/plugins/sandbox/types.ts +16 -2
- package/src/plugins/storage-query.ts +45 -0
- package/src/plugins/storage-update.ts +96 -0
- package/src/plugins/types.ts +114 -0
- package/src/query.ts +29 -3
- package/src/registry/config.ts +130 -27
- package/src/registry/types.ts +5 -6
- package/src/schema/collection-slugs-cache.ts +157 -0
- package/src/schema/registry.ts +19 -0
- package/src/schema/types.ts +25 -6
- package/src/security/ssrf.ts +167 -141
- package/src/seed/apply.ts +4 -0
- package/src/seed/types.ts +7 -2
- package/src/seed/validate.ts +18 -1
- package/src/seo/hreflang.ts +1 -0
- package/src/seo/index.ts +5 -10
- package/src/seo/media-url.ts +26 -0
- package/src/taxonomies/term-counts.ts +22 -5
- package/dist/api-Dz6rgoa3.mjs.map +0 -1
- package/dist/apply-B4SIOxR1.mjs.map +0 -1
- package/dist/config-it29yDLA.mjs.map +0 -1
- package/dist/content-DjvM0T92.mjs.map +0 -1
- package/dist/context-CX6gxOLW.mjs.map +0 -1
- package/dist/dialect-helpers-BSbfaO3F.mjs.map +0 -1
- package/dist/errors-DsVoDUjJ.mjs.map +0 -1
- package/dist/index-BJNMCWmu.d.mts.map +0 -1
- package/dist/loader-Z8vl7zTq.mjs.map +0 -1
- package/dist/media-url-DHoPr0hq.mjs.map +0 -1
- package/dist/menus-6qSwTNxG.mjs.map +0 -1
- package/dist/options-BHPeIbBd.mjs.map +0 -1
- package/dist/options-CYb4y7hM.d.mts.map +0 -1
- package/dist/query-BZKZcG5b.mjs.map +0 -1
- package/dist/redirect-CZkbozu9.mjs.map +0 -1
- package/dist/redirects-BLNOWQTn.mjs.map +0 -1
- package/dist/registry-AZAsRsor.mjs.map +0 -1
- package/dist/relations-DnRK4YIT.d.mts.map +0 -1
- package/dist/resolve-prZ3mP7l.mjs.map +0 -1
- package/dist/runner-BLIDKpmA.mjs.map +0 -1
- package/dist/seo-CVWkdv6x.mjs.map +0 -1
- package/dist/snapshot--OCDTqdb.mjs.map +0 -1
- package/dist/ssrf-5sIM5jzl.mjs.map +0 -1
- package/dist/taxonomies-DkAkMupr.mjs.map +0 -1
- package/dist/taxonomies-Wfy_Lg12.mjs.map +0 -1
- package/dist/types-75KIqzL9.mjs.map +0 -1
- package/dist/types-B6GrPic4.d.mts.map +0 -1
- package/dist/types-BuHW4xDE.d.mts.map +0 -1
- package/dist/types-FV23hEoW.d.mts.map +0 -1
- package/dist/types-xDMtUFnO.d.mts.map +0 -1
- package/dist/validate-DE_LRwo9.mjs.map +0 -1
- package/dist/validate-DUP27OYD.d.mts.map +0 -1
- package/dist/version-Bii3suaO.mjs +0 -7
- /package/dist/{api-tokens-BfYts-sq.mjs → api-tokens-B_lfpmH3.mjs} +0 -0
- /package/dist/{ssrf-Dg3cIT-b.mjs → ssrf-TQhaljuI.mjs} +0 -0
- /package/dist/{types-DfuTR6dL.mjs → types-A2cN6a4a.mjs} +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as Database } from "./types-
|
|
2
|
-
import { d as ImportSource, g as ProbeResult } from "./types-
|
|
1
|
+
import { t as Database } from "./types-tJWDK__M.mjs";
|
|
2
|
+
import { d as ImportSource, g as ProbeResult } from "./types-DaEg7KX2.mjs";
|
|
3
3
|
import { Kysely } from "kysely";
|
|
4
4
|
import { slugify } from "@emdash-cms/admin/slugify";
|
|
5
5
|
import { PortableTextBlock } from "@emdash-cms/gutenberg-to-portable-text";
|
|
@@ -275,4 +275,4 @@ declare function fetchPluginTaxonomies(siteUrl: string, authToken: string): Prom
|
|
|
275
275
|
}>>;
|
|
276
276
|
//#endregion
|
|
277
277
|
export { decodeSlug as C, parseWxrString as S, ContentBylineInput as T, WxrPost as _, clearSources as a, WxrTerm as b, getSource as c, registerSource as d, importReusableBlocksAsSections as f, WxrData as g, WxrCategory as h, wxrSource as i, getUrlSources as l, WxrAuthor as m, wordpressRestSource as n, getAllSources as o, WxrAttachment as p, parseWxrDate as r, getFileSources as s, fetchPluginTaxonomies as t, probeUrl as u, WxrSite as v, slugify as w, parseWxr as x, WxrTag as y };
|
|
278
|
-
//# sourceMappingURL=index-
|
|
278
|
+
//# sourceMappingURL=index-1ECYpfiF.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index-
|
|
1
|
+
{"version":3,"file":"index-1ECYpfiF.d.mts","names":[],"sources":["../src/database/repositories/byline.ts","../src/utils/slugify.ts","../src/cli/wxr/parser.ts","../src/import/sections.ts","../src/import/registry.ts","../src/import/sources/wxr.ts","../src/import/sources/wordpress-rest.ts","../src/import/sources/wordpress-plugin.ts"],"mappings":";;;;;;;;UAuGiB,kBAAA;EAChB,QAAA;EACA,SAAA;AAAA;;;;;;;;;;iBChGe,UAAA,CAAW,GAAA;;;;;;UCWV,OAAA;;EAEhB,IAAA,EAAM,OAAA;;EAEN,KAAA,EAAO,OAAA;EDfkB;ECiBzB,WAAA,EAAa,aAAA;EDjBa;ECmB1B,UAAA,EAAY,WAAA;;EAEZ,IAAA,EAAM,MAAA;;EAEN,OAAA,EAAS,SAAA;EAZc;EAcvB,KAAA,EAAO,OAAA;EAZD;EAcN,QAAA,EAAU,UAAA;AAAA;AAAA,UAGM,OAAA;EAChB,KAAA;EACA,IAAA;EACA,WAAA;EACA,QAAA;EACA,WAAA;EACA,WAAA;AAAA;AAAA,UAGgB,OAAA;EAChB,EAAA;EACA,KAAA;EACA,IAAA;EACA,OAAA;EACA,OAAA;EACA,IAAA;EACA,WAAA;EACA,OAAA;EACA,OAAA;EACA,QAAA;EACA,WAAA;EACA,YAAA;EACA,eAAA;EACA,aAAA;EACA,UAAA;EACA,MAAA;EACA,QAAA;EACA,QAAA;EACA,YAAA;EACA,QAAA;EA5BA;EA8BA,UAAA;EA5BA;EA8BA,SAAA;EACA,UAAA;EACA,IAAA;EA7BW;EA+BX,gBAAA,GAAmB,GAAA;EA5BH;;;;;;;;;EAsChB,cAAA,GAAiB,GAAA;EACjB,IAAA,EAAM,GAAA;EAnCN;;;;;EAyCA,MAAA;EAnCA;;;;;;;EA2CA,gBAAA;AAAA;AAAA,UA8KgB,aAAA;EAChB,EAAA;EACA,KAAA;EACA,GAAA;EACA,QAAA;EACA,IAAA,EAAM,GAAA;AAAA;AAAA,UAGU,WAAA;EAChB,EAAA;EACA,QAAA;EACA,IAAA;EACA,MAAA;EACA,WAAA;AAAA;AAAA,UAGgB,MAAA;EAChB,EAAA;EACA,IAAA;EACA,IAAA;EACA,WAAA;AAAA;;;;UAMgB,OAAA;EAChB,EAAA;EACA,QAAA;EACA,IAAA;EACA,IAAA;EACA,MAAA;EACA,WAAA;AAAA;;;;UAMgB,UAAA;EAChB,EAAA;EACA,IAAA;EACA,KAAA;EACA,KAAA,EAAO,cAAA;AAAA;;;;UAMS,cAAA;EAChB,EAAA;EACA,MAAA;EACA,QAAA;EACA,SAAA;EACA,IAAA;EACA,UAAA;EACA,QAAA;EACA,GAAA;EACA,KAAA;EACA,MAAA;EACA,OAAA;AAAA;AAAA,UAGgB,SAAA;EAChB,EAAA;EACA,KAAA;EACA,KAAA;EACA,WAAA;EACA,SAAA;EACA,QAAA;AAAA;;;;iBAiDe,QAAA,CAAS,MAAA,EAAQ,QAAA,GAAW,OAAA,CAAQ,OAAA;;;;;AArEpD;;iBAmcgB,cAAA,CAAe,GAAA,WAAc,OAAA,CAAQ,OAAA;;;AF/pBrD;;;AAAA,UGrFiB,oBAAA;EHuFP;EGrFT,eAAA;;EAEA,eAAA;EFbe;EEef,MAAA,EAAQ,KAAA;IAAQ,KAAA;IAAe,KAAA;EAAA;AAAA;;;ADJhC;;;;;iBCcsB,8BAAA,CACrB,KAAA,EAAO,OAAA,IACP,EAAA,EAAI,MAAA,CAAO,QAAA,IACT,OAAA,CAAQ,oBAAA;;;;;AHkEX;iBIrFgB,cAAA,CAAe,MAAA,EAAQ,YAAA;;;;iBAOvB,SAAA,CAAU,EAAA,WAAa,YAAA;;;AHhBvC;iBGuBgB,aAAA,CAAA,GAAiB,YAAA;;;;iBAOjB,cAAA,CAAA,GAAkB,YAAA;;;AFnBlC;iBE0BgB,aAAA,CAAA,GAAiB,YAAA;;;;;;iBASX,QAAA,CAAS,GAAA,WAAc,OAAA,CAAQ,WAAA;;;;iBAsDrC,YAAA,CAAA;;;cCrEH,SAAA,EAAW,YAAA;;;;;;;;;;iBAuTR,YAAA,CACf,OAAA,sBACA,OAAA,sBACA,SAAA,uBACE,IAAA;;;cChUU,mBAAA,EAAqB,YAAA;;;;;;iBC2uBZ,qBAAA,CACrB,OAAA,UACA,SAAA,WACE,OAAA,CACF,KAAA;EACC,IAAA;EACA,KAAA,ULzuBD;EK2uBC,cAAA;EACA,YAAA,WL1uBU;EK4uBV,UAAA;EACA,KAAA,EAAO,KAAA;IACN,EAAA;IACA,IAAA;IACA,IAAA;IACA,WAAA;IACA,MAAA;IACA,KAAA;EAAA;AAAA"}
|
package/dist/index.d.mts
CHANGED
|
@@ -1,27 +1,27 @@
|
|
|
1
|
-
import { a as ContentFieldRangeFilter, i as ContentFieldInFilter, n as ContentFieldFilterValue, r as ContentFieldFilters, t as ContentFieldFilterScalar } from "./content-list-query-
|
|
2
|
-
import { _ as UpdateCollectionInput, a as CollectionWithFields, c as CreateFieldInput, d as Field, f as FieldType, g as RESERVED_FIELD_SLUGS, h as RESERVED_COLLECTION_SLUGS, i as CollectionSupport, m as FieldWidgetOptions, o as ColumnType, p as FieldValidation, r as CollectionSource, s as CreateCollectionInput, t as Collection, u as FIELD_TYPE_TO_COLUMN, v as UpdateFieldInput } from "./types-
|
|
3
|
-
import { a as ContentSeo, c as EmDashValidationError, d as InvalidCursorError, f as UpdateContentInput, i as ContentItem, l as FindManyOptions, n as ContentBylineCredit, o as ContentSeoInput, s as CreateContentInput, t as BylineSummary, u as FindManyResult } from "./types-
|
|
4
|
-
import { _ as ManifestFieldDescriptor, d as ContentListResponse, f as ContentResponse, g as ManifestCollectionMap, h as ManifestCollectionDescriptor, l as ApiContext, m as ListResponse, p as FieldDescriptor, t as OptionsRepository, v as ManifestResponse } from "./options-
|
|
5
|
-
import { n as MediaTable, r as UserTable, t as Database } from "./types-
|
|
6
|
-
import {
|
|
7
|
-
import "./
|
|
8
|
-
import { _ as MediaValue, n as generatePlaceholder, r as normalizeMediaValue, t as PlaceholderData } from "./placeholder-
|
|
9
|
-
import { $ as
|
|
10
|
-
import { a as getMigrationStatus, i as getExactMigrationStatus, n as MIGRATION_NAMES, r as MigrationStatus, t as ExactMigrationStatus } from "./runner-
|
|
11
|
-
import { C as decodeSlug, S as parseWxrString, _ as WxrPost, a as clearSources, b as WxrTerm, c as getSource, d as registerSource, f as importReusableBlocksAsSections, g as WxrData, h as WxrCategory, i as wxrSource, l as getUrlSources, m as WxrAuthor, n as wordpressRestSource, o as getAllSources, p as WxrAttachment, r as parseWxrDate, s as getFileSources, u as probeUrl, v as WxrSite, w as slugify, x as parseWxr, y as WxrTag } from "./index-
|
|
12
|
-
import { a as ExecuteCollectionDeletionGuard, c as SqliteConfig, i as DatabaseDialectType, n as CollectionDeletionGuardResult, o as LibsqlConfig, r as DatabaseDescriptor, s as PostgresConfig, t as CollectionDeletionGuardInput } from "./adapters-
|
|
13
|
-
import { a as AuthResult, i as AuthProviderModule, n as AuthProviderAdminExports, o as AuthRouteDescriptor, r as AuthProviderDescriptor, s as ExternalAuthConfig, t as AuthDescriptor } from "./types-
|
|
14
|
-
import { i as ObjectCacheRuntimeConfig, n as ObjectCacheBackend, r as ObjectCacheDescriptor, t as CreateObjectCacheBackendFn } from "./types-
|
|
15
|
-
import { a as ListOptions, c as S3StorageConfig, d as Storage, f as StorageDescriptor, i as FileInfo, l as SignedUploadOptions, n as DownloadResult, o as ListResult, p as UploadResult, r as EmDashStorageError, s as LocalStorageConfig, t as CreateStorageFn, u as SignedUploadUrl } from "./types-
|
|
16
|
-
import { i as SiteSettings, n as SeoSettings, r as SiteSettingKey, t as MediaReference } from "./types-
|
|
1
|
+
import { a as ContentFieldRangeFilter, i as ContentFieldInFilter, n as ContentFieldFilterValue, r as ContentFieldFilters, t as ContentFieldFilterScalar } from "./content-list-query-B8d4UQp9.mjs";
|
|
2
|
+
import { _ as UpdateCollectionInput, a as CollectionWithFields, c as CreateFieldInput, d as Field, f as FieldType, g as RESERVED_FIELD_SLUGS, h as RESERVED_COLLECTION_SLUGS, i as CollectionSupport, m as FieldWidgetOptions, o as ColumnType, p as FieldValidation, r as CollectionSource, s as CreateCollectionInput, t as Collection, u as FIELD_TYPE_TO_COLUMN, v as UpdateFieldInput } from "./types-DKcKSbtB.mjs";
|
|
3
|
+
import { a as ContentSeo, c as EmDashValidationError, d as InvalidCursorError, f as UpdateContentInput, i as ContentItem, l as FindManyOptions, n as ContentBylineCredit, o as ContentSeoInput, s as CreateContentInput, t as BylineSummary, u as FindManyResult } from "./types-LU8utpP_.mjs";
|
|
4
|
+
import { _ as ManifestFieldDescriptor, d as ContentListResponse, f as ContentResponse, g as ManifestCollectionMap, h as ManifestCollectionDescriptor, l as ApiContext, m as ListResponse, p as FieldDescriptor, t as OptionsRepository, v as ManifestResponse } from "./options-D8Y0VHc7.mjs";
|
|
5
|
+
import { n as MediaTable, r as UserTable, t as Database } from "./types-tJWDK__M.mjs";
|
|
6
|
+
import { A as ContentScheduleStateChangeEvent, At as ResolvedHook, Bt as TaxonomyReadOptions, Ct as PluginRoute, D as ContentHookEvent, Dt as PublicPageContext, E as ContentDeleteEvent, Et as PortableTextBlockField, F as DeprecatedPluginCapability, Ft as StorageCollection, G as HookName, Gt as UpdateIfResult, K as HttpAccess, Lt as StoredComment, Mt as ResolvedPluginHooks, Nt as RouteContext, O as ContentPublishStateChangeEvent, P as CurrentPluginCapability, Rt as TaxonomyAccess, T as ContentCreateOptions, Tt as PortableTextBlockConfig, U as FieldWidgetConfig, Vt as TaxonomyTermInfo, W as HookConfig, Wt as UpdateIfArgs, X as LogAccess, Xt as normalizeCapabilities, Yt as isDeprecatedCapability, Z as MediaAccess, Zt as normalizeCapability, _t as PluginCapability, a as CommentAfterCreateEvent, at as PageFragmentContribution, bt as PluginHooks, c as CommentAfterModerateHandler, ct as PageMetadataContribution, d as CommentModerateEvent, f as CommentModerateHandler, ft as PagePlacement, gt as PluginAdminPage, h as ContentAccess, ht as PluginAdminExports, i as CollectionCommentSettings, it as NumericDelta, j as ContentStateChangeEvent, jt as ResolvedPlugin, k as ContentRestoreStateChangeEvent, l as CommentBeforeCreateEvent, lt as PageMetadataEvent, m as ConditionalWriteResult, mt as PluginAdminConfig, n as BreadcrumbItem, nt as MediaUploadEvent, o as CommentAfterCreateHandler, ot as PageFragmentEvent, p as ConditionalDeleteResult, q as KVAccess, qt as VersionedValue, r as CAPABILITY_RENAMES, rt as ModerationDecision, s as CommentAfterModerateEvent, st as PageFragmentHandler, t as ActorInfo, u as CommentBeforeCreateHandler, ut as PageMetadataHandler, vt as PluginContext, wt as PluginStorageConfig, xt as PluginManifest, yt as PluginDefinition, zt as TaxonomyDefInfo } from "./types-BouXpOsa.mjs";
|
|
7
|
+
import "./entry-lock-CGAtrwAR.mjs";
|
|
8
|
+
import { _ as MediaValue, n as generatePlaceholder, r as normalizeMediaValue, t as PlaceholderData } from "./placeholder-COrvARyD.mjs";
|
|
9
|
+
import { $ as getMenus, $n as getSection, $r as handleMediaList, $t as invalidateTaxonomyObjectCache, A as WidgetArea, Ai as file, An as isSafeHref, Ar as SerializedRequest, At as StorageSerializationError, B as getTerm, Bi as CreateMediaInput, Bn as PortableTextImageBlock, Bt as pluginManifestSchema, C as getWidgetComponents, Ci as handleContentSchedule, Cn as CollectionFilter$1, Cr as SandboxRouteErrorCode, Ct as GeneratePreviewTokenOptions, D as ReorderWidgetsInput, Di as handleContentUpdate, Dn as WhereValue, Dr as SandboxRunnerFactory, Dt as generatePreviewToken, E as PropDef, Ei as handleContentUnschedule, En as WhereRange, Er as SandboxRunner, Et as VerifyPreviewTokenResult, F as getEntryTerms, Fi as ImageValue, Fn as PortableTextToProsemirrorOptions, Ft as PluginManager, G as TaxonomyTerm, Gi as EmDashConfigurationErrorCode, Gn as PortableTextTableBlock, Gr as handleMediaUsageProgress, Gt as contentNamespace, H as invalidateTermCache, Hi as MediaRepository, Hn as PortableTextMarkDef, Hr as SchemaError, Ht as CacheNamespace, I as getTaxonomyDef, Ii as PortableTextBlock, In as portableTextToProsemirror, Ir as PluginDescriptor, It as createPluginManager, J as getByline, Jn as PortableTextTextBlock, Jr as MediaListResponse, Jt as invalidateCollectionCache, K as TaxonomyTermRow, Ki as DatabaseConfig, Kn as PortableTextTableCell, Kr as handleMediaUsageRepair, Kt as contentNamespaces, L as getTaxonomyDefs, Li as CompoundSelectLimitedAdapter, Ln as prosemirrorToPortableText, Lt as ContentSaveRejectedError, M as WidgetType, Mi as FieldDefinition, Mn as computeContentHash, Mr as createSandboxRouteErrorEnvelope, Mt as SandboxNotAvailableError, N as getAllTermsForEntries, Ni as FieldUIHints, Nn as hashString, Nr as getSandboxRouteErrorDetails, Nt as createNoopSandboxRunner, O as UpdateWidgetInput, Oi as portableText, Or as SandboxUnavailableError, Ot as parseContentId, P as getEntriesByTerm, Pi as FileValue, Pn as portableTextIdentityExtensions, Pr as getSandboxRouteErrorEnvelope, Pt as NodeCronScheduler, Q as getMenuWithCacheHint, Qn as ProseMirrorNode, Qr as handleMediaGet, Qt as invalidateSchemaObjectCache, R as getTaxonomyTerms, Ri as PluginStorageRepository, Rn as PortableTextCodeBlock, Rt as isContentSaveRejection, S as getWidgetAreas, Si as handleContentRestore, Sn as createNoop, Sr as SandboxOptions, St as getPreviewUrl, T as CreateWidgetInput, Ti as handleContentUnpublish, Tn as EntryFilter, Tr as SandboxRouteErrorEnvelope, Tt as VerifyPreviewTokenOptions, U as CreateTermInput, Ui as ContentRepository, Un as PortableTextSpan, Ur as SchemaRegistry, Ut as CachedQueryOptions, V as getTermsForEntries, Vi as MediaItem, Vn as PortableTextLinkMark, Vr as getCollectionInfo, Vt as definePlugin, W as TaxonomyDef, Wi as EmDashConfigurationError, Wn as PortableTextTableAlignment, Wr as handleMediaUsageActivationAdvance, Wt as cachedQuery, X as getEntriesByByline, Xn as ProseMirrorDocument, Xr as handleMediaCreate, Xt as invalidateMenuObjectCache, Y as getBylineBySlug, Yn as PortableTextUnknownBlock, Yr as MediaResponse, Yt as invalidateCommentObjectCache, Z as getMenu, Zn as ProseMirrorMark, Zr as handleMediaDelete, Zt as invalidateObjectCache, _ as SearchTokenizer, _i as handleContentGetIncludingTrashed, _n as resolveEmDashPath, _r as createHookPipeline, _t as setSiteSettings, a as getSuggestions, ai as handleRevisionList, an as ContentEntry, ar as UpdateSectionInput, at as ReorderMenuItemsInput, b as getWidgetArea, bi as handleContentPermanentDelete, bn as FieldAnnotation, br as SandboxEmailMessage, bt as GetPreviewUrlOptions, c as searchWithDb, ci as handleContentAuthors, cn as EntryResult, ct as GetCommentsOptions, d as SEARCH_TOKENIZERS, di as handleContentCountTrashed, dn as TranslationSummary, dr as PluginRouteError, dt as getComments, ei as handleMediaReplaceMetadata, en as WaitUntilFn, er as getSections, et as CreateMenuInput, f as SearchConfig, fi as handleContentCreate, fn as TranslationsResult, ft as getPluginSetting, g as SearchStats, gi as handleContentGet, gn as getTranslations, gr as HookResult, gt as getSiteSettingsWithCacheHint, h as SearchResult, hi as handleContentDuplicate, hn as getEmDashEntry, hr as HookPipeline, ht as getSiteSettings, i as getSearchStats, ii as handleRevisionGet, in as CollectionResult, ir as SectionSource, it as MenuItemType, j as WidgetComponentDef, ji as image, jn as sanitizeHref, jr as createSandboxRouteError, jt as NoopSandboxRunner, k as Widget, ki as reference, kr as SandboxedPluginInstance, kt as verifyPreviewToken, l as FTSManager, li as handleContentCompare, ln as InferCollectionData, lr as CronScheduler, lt as GetCommentsResult, m as SearchResponse, mi as handleContentDiscardDraft, mn as getEmDashCollection, mt as getSiteSetting, n as extractPlainText, ni as RevisionListResponse, nn as CacheHint, nr as GetSectionsOptions, nt as Menu, o as search, oi as handleRevisionRestore, on as EditFieldMeta, ot as UpdateMenuInput, p as SearchOptions, pi as handleContentDelete, pn as getEditMeta, pt as getPluginSettings, q as UpdateTermInput, qi as EmDashDatabaseError, qn as PortableTextTableRow, qt as invalidateBylineObjectCache, r as extractSearchableFields, ri as RevisionResponse, rn as CollectionFilter, rr as Section, rt as MenuItem, s as searchCollection, si as generateManifest, sn as EmDashCollections, st as UpdateMenuItemInput, ti as handleMediaUpdate, tn as after, tr as CreateSectionInput, tt as CreateMenuItemInput, u as CollectionSearchOptions, ui as handleContentCountScheduled, un as ResolvePathResult, ur as SystemCleanupFn, ut as getCommentCount, v as SuggestOptions, vi as handleContentList, vn as CMSAnnotation, vr as createHttpAccess, vt as getPreviewToken, w as CreateWidgetAreaInput, wi as handleContentTranslations, wn as EntryData, wr as SandboxRouteErrorDetails, wt as PreviewTokenPayload, x as getWidgetAreaWithCacheHint, xi as handleContentPublish, xn as createEditable, xr as SandboxEmailSendCallback, xt as buildPreviewUrl, y as Suggestion, yi as handleContentListTrashed, yn as EditProxy, yr as createUnrestrictedHttpAccess, yt as isPreviewRequest, z as getTaxonomyTermsWithCacheHint, zi as UserRepository, zn as PortableTextHtmlBlock, zt as ValidatedPluginManifest } from "./config-CGAhyOjP.mjs";
|
|
10
|
+
import { a as getMigrationStatus, i as getExactMigrationStatus, n as MIGRATION_NAMES, r as MigrationStatus, t as ExactMigrationStatus } from "./runner-CfwysRM0.mjs";
|
|
11
|
+
import { C as decodeSlug, S as parseWxrString, _ as WxrPost, a as clearSources, b as WxrTerm, c as getSource, d as registerSource, f as importReusableBlocksAsSections, g as WxrData, h as WxrCategory, i as wxrSource, l as getUrlSources, m as WxrAuthor, n as wordpressRestSource, o as getAllSources, p as WxrAttachment, r as parseWxrDate, s as getFileSources, u as probeUrl, v as WxrSite, w as slugify, x as parseWxr, y as WxrTag } from "./index-1ECYpfiF.mjs";
|
|
12
|
+
import { a as ExecuteCollectionDeletionGuard, c as SqliteConfig, i as DatabaseDialectType, n as CollectionDeletionGuardResult, o as LibsqlConfig, r as DatabaseDescriptor, s as PostgresConfig, t as CollectionDeletionGuardInput } from "./adapters-DCEgOBXi.mjs";
|
|
13
|
+
import { a as AuthResult, i as AuthProviderModule, n as AuthProviderAdminExports, o as AuthRouteDescriptor, r as AuthProviderDescriptor, s as ExternalAuthConfig, t as AuthDescriptor } from "./types-DRYs7uTL.mjs";
|
|
14
|
+
import { i as ObjectCacheRuntimeConfig, n as ObjectCacheBackend, r as ObjectCacheDescriptor, t as CreateObjectCacheBackendFn } from "./types-VpYfPUxN.mjs";
|
|
15
|
+
import { a as ListOptions, c as S3StorageConfig, d as Storage, f as StorageDescriptor, i as FileInfo, l as SignedUploadOptions, n as DownloadResult, o as ListResult, p as UploadResult, r as EmDashStorageError, s as LocalStorageConfig, t as CreateStorageFn, u as SignedUploadUrl } from "./types-2n848aVW.mjs";
|
|
16
|
+
import { i as SiteSettings, n as SeoSettings, r as SiteSettingKey, t as MediaReference } from "./types-DEfNJ__A.mjs";
|
|
17
17
|
import { EmDashRequestContext, getRequestContext, runWithContext } from "./request-context.mjs";
|
|
18
|
-
import { a as resolveContentCreateLocale, i as isI18nEnabled, n as getFallbackChain, r as getI18nConfig, t as I18nConfig } from "./config-
|
|
19
|
-
import { a as SandboxSaveRejectedError, i as SandboxHookResultInspection, n as SANDBOX_HOOK_RESULT_VERSION, o as inspectSandboxHookResult, r as SandboxHookErrorEnvelope, t as MAX_SANDBOX_SAVE_REJECTION_REASON_LENGTH } from "./hook-result-
|
|
18
|
+
import { a as resolveContentCreateLocale, i as isI18nEnabled, n as getFallbackChain, r as getI18nConfig, t as I18nConfig } from "./config-ChFzshGd.mjs";
|
|
19
|
+
import { a as SandboxSaveRejectedError, i as SandboxHookResultInspection, n as SANDBOX_HOOK_RESULT_VERSION, o as inspectSandboxHookResult, r as SandboxHookErrorEnvelope, t as MAX_SANDBOX_SAVE_REJECTION_REASON_LENGTH } from "./hook-result-BrshYHLx.mjs";
|
|
20
20
|
import { adaptSandboxEntry } from "./plugins/adapt-sandbox-entry.mjs";
|
|
21
|
-
import { S as UrlInput, _ as SourceAuth, a as FileInput, b as SourceProbeResult, c as ImportContext, d as ImportSource, f as NormalizedItem, g as ProbeResult, h as PostTypeMapping, i as FieldCompatibility, l as ImportFieldDef, m as PostTypeAnalysis, n as CollectionSchemaStatus, o as ImportAnalysis, p as OAuthInput, r as FetchOptions, s as ImportConfig, t as AttachmentInfo, u as ImportResult, v as SourceCapabilities, x as SuggestedAction, y as SourceInput } from "./types-
|
|
22
|
-
import { n as HreflangOptions, r as getHreflangAlternates, t as HreflangAlternate } from "./hreflang-
|
|
21
|
+
import { S as UrlInput, _ as SourceAuth, a as FileInput, b as SourceProbeResult, c as ImportContext, d as ImportSource, f as NormalizedItem, g as ProbeResult, h as PostTypeMapping, i as FieldCompatibility, l as ImportFieldDef, m as PostTypeAnalysis, n as CollectionSchemaStatus, o as ImportAnalysis, p as OAuthInput, r as FetchOptions, s as ImportConfig, t as AttachmentInfo, u as ImportResult, v as SourceCapabilities, x as SuggestedAction, y as SourceInput } from "./types-DaEg7KX2.mjs";
|
|
22
|
+
import { n as HreflangOptions, r as getHreflangAlternates, t as HreflangAlternate } from "./hreflang-CQpu5bMy.mjs";
|
|
23
23
|
import { SeoMeta, SeoMetaOptions, getContentSeo, getSeoMeta } from "./seo/index.mjs";
|
|
24
|
-
import { _ as SeedTaxonomyTerm, a as applySeed, b as ValidationResult, c as SeedCollection, d as SeedFile, f as SeedMenu, g as SeedTaxonomy, l as SeedContentEntry, o as SeedApplyOptions, p as SeedMenuItem, s as SeedApplyResult, t as validateSeed, u as SeedField, v as SeedWidget, y as SeedWidgetArea } from "./validate-
|
|
24
|
+
import { _ as SeedTaxonomyTerm, a as applySeed, b as ValidationResult, c as SeedCollection, d as SeedFile, f as SeedMenu, g as SeedTaxonomy, l as SeedContentEntry, o as SeedApplyOptions, p as SeedMenuItem, s as SeedApplyResult, t as validateSeed, u as SeedField, v as SeedWidget, y as SeedWidgetArea } from "./validate-Df6Dvwbw.mjs";
|
|
25
25
|
import "./seed/index.mjs";
|
|
26
26
|
import { ulid } from "ulidx";
|
|
27
|
-
export { type ApiContext, type AttachmentInfo, type AuthDescriptor, type AuthProviderAdminExports, type AuthProviderDescriptor, type AuthProviderModule, type AuthResult, type AuthRouteDescriptor, type BreadcrumbItem, type BylineSummary, CAPABILITY_RENAMES, type CMSAnnotation, type CacheHint, CacheNamespace, type CachedQueryOptions, type Collection, type CollectionCommentSettings, type CollectionDeletionGuardInput, type CollectionDeletionGuardResult, type CollectionFilter, type CollectionResult, type CollectionSchemaStatus, type CollectionSearchOptions, type CollectionSource, type CollectionSupport, type CollectionWithFields, type ColumnType, type CommentAfterCreateEvent, type CommentAfterCreateHandler, type CommentAfterModerateEvent, type CommentAfterModerateHandler, type CommentBeforeCreateEvent, type CommentBeforeCreateHandler, type CommentModerateEvent, type CommentModerateHandler, type CompoundSelectLimitedAdapter, type ContentAccess, type ContentBylineCredit, type ContentCreateOptions, type ContentDeleteEvent, type ContentEntry, type ContentFieldFilterScalar, type ContentFieldFilterValue, type ContentFieldFilters, type ContentFieldInFilter, type ContentFieldRangeFilter, type ContentHookEvent, type ContentItem, type ContentListResponse, type ContentPublishStateChangeEvent, ContentRepository, type ContentResponse, type ContentRestoreStateChangeEvent, ContentSaveRejectedError, type ContentScheduleStateChangeEvent, type ContentSeo, type ContentSeoInput, type ContentStateChangeEvent, type CreateCollectionInput, type CreateContentInput, type CreateFieldInput, type CreateMediaInput, type CreateMenuInput, type CreateMenuItemInput, type CreateObjectCacheBackendFn, type CreateSectionInput, type CreateStorageFn, type CreateTermInput, type CreateWidgetAreaInput, type CreateWidgetInput, type CronScheduler, type CurrentPluginCapability, type Database, type DatabaseConfig, type DatabaseDescriptor, type DatabaseDialectType, type DeprecatedPluginCapability, type DownloadResult, type EditFieldMeta, type EditProxy, type EmDashCollections, EmDashDatabaseError, type EmDashRequestContext, EmDashStorageError, EmDashValidationError, type EntryData, type EntryFilter, type EntryResult, type ExactMigrationStatus, type ExecuteCollectionDeletionGuard, type ExternalAuthConfig, FIELD_TYPE_TO_COLUMN, FTSManager, type FetchOptions, type Field, type FieldAnnotation, type FieldCompatibility, type FieldDefinition, type FieldDescriptor, type FieldType, type FieldUIHints, type FieldValidation, type FieldWidgetConfig, type FieldWidgetOptions, type FileInfo, type FileInput, type FileValue, type FindManyOptions, type FindManyResult, type GeneratePreviewTokenOptions, type GetCommentsOptions, type GetCommentsResult, type GetPreviewUrlOptions, type GetSectionsOptions, type HookConfig, type HookName, HookPipeline, type HookResult, type HreflangAlternate, type HreflangOptions, type HttpAccess, type I18nConfig, type ImageValue, type ImportAnalysis, type ImportConfig, type ImportContext, type ImportFieldDef, type ImportResult, type ImportSource, type InferCollectionData, InvalidCursorError, type KVAccess, type LibsqlConfig, type ListOptions, type ListResponse, type ListResult, type CollectionFilter$1 as LoaderCollectionFilter, type LocalStorageConfig, type LogAccess, MAX_SANDBOX_SAVE_REJECTION_REASON_LENGTH, MIGRATION_NAMES, type ManifestCollectionDescriptor, type ManifestCollectionMap, type ManifestFieldDescriptor, type ManifestResponse, type MediaAccess, type MediaItem, type MediaListResponse, type MediaReference, MediaRepository, type MediaResponse, type MediaTable, type MediaUploadEvent, type MediaValue, type Menu, type MenuItem, type MenuItemType, type MigrationStatus, type ModerationDecision, NodeCronScheduler, NoopSandboxRunner, type NormalizedItem, type OAuthInput, type ObjectCacheBackend, type ObjectCacheDescriptor, type ObjectCacheRuntimeConfig, OptionsRepository, type PageFragmentContribution, type PageFragmentEvent, type PageFragmentHandler, type PageMetadataContribution, type PageMetadataEvent, type PageMetadataHandler, type PagePlacement, type PlaceholderData, type PluginAdminConfig, type PluginAdminExports, type PluginAdminPage, type PluginCapability, type PluginContext, type PluginDefinition, type PluginDescriptor, type PluginHooks, PluginManager, type PluginManifest, type PluginRoute, PluginRouteError, type PluginStorageConfig, PluginStorageRepository, type PortableTextBlock, type PortableTextBlockConfig, type PortableTextBlockField, type PortableTextCodeBlock, type PortableTextHtmlBlock, type PortableTextImageBlock, type PortableTextLinkMark, type PortableTextMarkDef, type PortableTextSpan, type PortableTextTextBlock, type PortableTextToProsemirrorOptions, type PortableTextUnknownBlock, type PostTypeAnalysis, type PostTypeMapping, type PostgresConfig, type PreviewTokenPayload, type ProbeResult, type PropDef, type ProseMirrorDocument, type ProseMirrorMark, type ProseMirrorNode, type PublicPageContext, RESERVED_COLLECTION_SLUGS, RESERVED_FIELD_SLUGS, type ReorderMenuItemsInput, type ReorderWidgetsInput, type ResolvePathResult, type ResolvedHook, type ResolvedPlugin, type ResolvedPluginHooks, type RevisionListResponse, type RevisionResponse, type RouteContext, type S3StorageConfig, SANDBOX_HOOK_RESULT_VERSION, SEARCH_TOKENIZERS, type SandboxEmailMessage, type SandboxEmailSendCallback, type SandboxHookErrorEnvelope, type SandboxHookResultInspection, SandboxNotAvailableError, type SandboxOptions, type SandboxRouteErrorCode, type SandboxRouteErrorDetails, type SandboxRouteErrorEnvelope, type SandboxRunner, type SandboxRunnerFactory, type SandboxSaveRejectedError, SandboxUnavailableError, type SandboxedPluginInstance, SchemaError, SchemaRegistry, type SearchConfig, type SearchOptions, type SearchResponse, type SearchResult, type SearchStats, type SearchTokenizer, type Section, type SectionSource, type SeedApplyOptions, type SeedApplyResult, type SeedCollection, type SeedContentEntry, type SeedField, type SeedFile, type SeedMenu, type SeedMenuItem, type SeedTaxonomy, type SeedTaxonomyTerm, type SeedWidget, type SeedWidgetArea, type SeoMeta, type SeoMetaOptions, type SeoSettings, type SerializedRequest, type SignedUploadOptions, type SignedUploadUrl, type SiteSettingKey, type SiteSettings, type SourceAuth, type SourceCapabilities, type SourceInput, type SourceProbeResult, type SqliteConfig, type Storage, type StorageCollection, type StorageDescriptor, type StoredComment, type SuggestOptions, type SuggestedAction, type Suggestion, type SystemCleanupFn, type TaxonomyAccess, type TaxonomyDef, type TaxonomyDefInfo, type TaxonomyReadOptions, type TaxonomyTerm, type TaxonomyTermInfo, type TaxonomyTermRow, type TranslationSummary, type TranslationsResult, type UpdateCollectionInput, type UpdateContentInput, type UpdateFieldInput, type UpdateMenuInput, type UpdateMenuItemInput, type UpdateSectionInput, type UpdateTermInput, type UpdateWidgetInput, type UploadResult, type UrlInput, UserRepository, type UserTable, type ValidatedPluginManifest, type ValidationResult, type VerifyPreviewTokenOptions, type VerifyPreviewTokenResult, type WaitUntilFn, type WhereRange, type WhereValue, type Widget, type WidgetArea, type WidgetComponentDef, type WidgetType, type WxrAttachment, type WxrAuthor, type WxrCategory, type WxrData, type WxrPost, type WxrSite, type WxrTag, type WxrTerm, adaptSandboxEntry, after, applySeed, buildPreviewUrl, cachedQuery, clearSources, computeContentHash, contentNamespace, contentNamespaces, createEditable, createHookPipeline, createHttpAccess, createNoop, createNoopSandboxRunner, createPluginManager, createSandboxRouteError, createSandboxRouteErrorEnvelope, createUnrestrictedHttpAccess, decodeSlug, definePlugin, extractPlainText, extractSearchableFields, file, generateManifest, generatePlaceholder, generatePreviewToken, getAllSources, getAllTermsForEntries, getByline, getBylineBySlug, getCollectionInfo, getCommentCount, getComments, getContentSeo, getEditMeta, getEmDashCollection, getEmDashEntry, getEntriesByByline, getEntriesByTerm, getEntryTerms, getExactMigrationStatus, getFallbackChain, getFileSources, getHreflangAlternates, getI18nConfig, getMenu, getMenuWithCacheHint, getMenus, getMigrationStatus, getPluginSetting, getPluginSettings, getPreviewToken, getPreviewUrl, getRequestContext, getSandboxRouteErrorDetails, getSandboxRouteErrorEnvelope, getSearchStats, getSection, getSections, getSeoMeta, getSiteSetting, getSiteSettings, getSiteSettingsWithCacheHint, getSource, getSuggestions, getTaxonomyDef, getTaxonomyDefs, getTaxonomyTerms, getTaxonomyTermsWithCacheHint, getTerm, getTermsForEntries, getTranslations, getUrlSources, getWidgetArea, getWidgetAreaWithCacheHint, getWidgetAreas, getWidgetComponents, handleContentAuthors, handleContentCompare, handleContentCountScheduled, handleContentCountTrashed, handleContentCreate, handleContentDelete, handleContentDiscardDraft, handleContentDuplicate, handleContentGet, handleContentGetIncludingTrashed, handleContentList, handleContentListTrashed, handleContentPermanentDelete, handleContentPublish, handleContentRestore, handleContentSchedule, handleContentTranslations, handleContentUnpublish, handleContentUnschedule, handleContentUpdate, handleMediaCreate, handleMediaDelete, handleMediaGet, handleMediaList, handleMediaReplaceMetadata, handleMediaUpdate, handleMediaUsageActivationAdvance, handleMediaUsageProgress, handleMediaUsageRepair, handleRevisionGet, handleRevisionList, handleRevisionRestore, hashString, image, importReusableBlocksAsSections, inspectSandboxHookResult, invalidateBylineObjectCache, invalidateCollectionCache, invalidateCommentObjectCache, invalidateMenuObjectCache, invalidateObjectCache, invalidateSchemaObjectCache, invalidateTaxonomyObjectCache, invalidateTermCache, isContentSaveRejection, isDeprecatedCapability, isI18nEnabled, isPreviewRequest, isSafeHref, normalizeCapabilities, normalizeCapability, normalizeMediaValue, parseContentId, parseWxr, parseWxrDate, parseWxrString, pluginManifestSchema, portableText, portableTextIdentityExtensions, portableTextToProsemirror, probeUrl, prosemirrorToPortableText, reference, registerSource, resolveContentCreateLocale, resolveEmDashPath, runWithContext, sanitizeHref, search, searchCollection, searchWithDb, setSiteSettings, slugify, ulid, validateSeed, verifyPreviewToken, wordpressRestSource, wxrSource };
|
|
27
|
+
export { type ActorInfo, type ApiContext, type AttachmentInfo, type AuthDescriptor, type AuthProviderAdminExports, type AuthProviderDescriptor, type AuthProviderModule, type AuthResult, type AuthRouteDescriptor, type BreadcrumbItem, type BylineSummary, CAPABILITY_RENAMES, type CMSAnnotation, type CacheHint, CacheNamespace, type CachedQueryOptions, type Collection, type CollectionCommentSettings, type CollectionDeletionGuardInput, type CollectionDeletionGuardResult, type CollectionFilter, type CollectionResult, type CollectionSchemaStatus, type CollectionSearchOptions, type CollectionSource, type CollectionSupport, type CollectionWithFields, type ColumnType, type CommentAfterCreateEvent, type CommentAfterCreateHandler, type CommentAfterModerateEvent, type CommentAfterModerateHandler, type CommentBeforeCreateEvent, type CommentBeforeCreateHandler, type CommentModerateEvent, type CommentModerateHandler, type CompoundSelectLimitedAdapter, type ConditionalDeleteResult, type ConditionalWriteResult, type ContentAccess, type ContentBylineCredit, type ContentCreateOptions, type ContentDeleteEvent, type ContentEntry, type ContentFieldFilterScalar, type ContentFieldFilterValue, type ContentFieldFilters, type ContentFieldInFilter, type ContentFieldRangeFilter, type ContentHookEvent, type ContentItem, type ContentListResponse, type ContentPublishStateChangeEvent, ContentRepository, type ContentResponse, type ContentRestoreStateChangeEvent, ContentSaveRejectedError, type ContentScheduleStateChangeEvent, type ContentSeo, type ContentSeoInput, type ContentStateChangeEvent, type CreateCollectionInput, type CreateContentInput, type CreateFieldInput, type CreateMediaInput, type CreateMenuInput, type CreateMenuItemInput, type CreateObjectCacheBackendFn, type CreateSectionInput, type CreateStorageFn, type CreateTermInput, type CreateWidgetAreaInput, type CreateWidgetInput, type CronScheduler, type CurrentPluginCapability, type Database, type DatabaseConfig, type DatabaseDescriptor, type DatabaseDialectType, type DeprecatedPluginCapability, type DownloadResult, type EditFieldMeta, type EditProxy, type EmDashCollections, EmDashConfigurationError, type EmDashConfigurationErrorCode, EmDashDatabaseError, type EmDashRequestContext, EmDashStorageError, EmDashValidationError, type EntryData, type EntryFilter, type EntryResult, type ExactMigrationStatus, type ExecuteCollectionDeletionGuard, type ExternalAuthConfig, FIELD_TYPE_TO_COLUMN, FTSManager, type FetchOptions, type Field, type FieldAnnotation, type FieldCompatibility, type FieldDefinition, type FieldDescriptor, type FieldType, type FieldUIHints, type FieldValidation, type FieldWidgetConfig, type FieldWidgetOptions, type FileInfo, type FileInput, type FileValue, type FindManyOptions, type FindManyResult, type GeneratePreviewTokenOptions, type GetCommentsOptions, type GetCommentsResult, type GetPreviewUrlOptions, type GetSectionsOptions, type HookConfig, type HookName, HookPipeline, type HookResult, type HreflangAlternate, type HreflangOptions, type HttpAccess, type I18nConfig, type ImageValue, type ImportAnalysis, type ImportConfig, type ImportContext, type ImportFieldDef, type ImportResult, type ImportSource, type InferCollectionData, InvalidCursorError, type KVAccess, type LibsqlConfig, type ListOptions, type ListResponse, type ListResult, type CollectionFilter$1 as LoaderCollectionFilter, type LocalStorageConfig, type LogAccess, MAX_SANDBOX_SAVE_REJECTION_REASON_LENGTH, MIGRATION_NAMES, type ManifestCollectionDescriptor, type ManifestCollectionMap, type ManifestFieldDescriptor, type ManifestResponse, type MediaAccess, type MediaItem, type MediaListResponse, type MediaReference, MediaRepository, type MediaResponse, type MediaTable, type MediaUploadEvent, type MediaValue, type Menu, type MenuItem, type MenuItemType, type MigrationStatus, type ModerationDecision, NodeCronScheduler, NoopSandboxRunner, type NormalizedItem, type NumericDelta, type OAuthInput, type ObjectCacheBackend, type ObjectCacheDescriptor, type ObjectCacheRuntimeConfig, OptionsRepository, type PageFragmentContribution, type PageFragmentEvent, type PageFragmentHandler, type PageMetadataContribution, type PageMetadataEvent, type PageMetadataHandler, type PagePlacement, type PlaceholderData, type PluginAdminConfig, type PluginAdminExports, type PluginAdminPage, type PluginCapability, type PluginContext, type PluginDefinition, type PluginDescriptor, type PluginHooks, PluginManager, type PluginManifest, type PluginRoute, PluginRouteError, type PluginStorageConfig, PluginStorageRepository, type PortableTextBlock, type PortableTextBlockConfig, type PortableTextBlockField, type PortableTextCodeBlock, type PortableTextHtmlBlock, type PortableTextImageBlock, type PortableTextLinkMark, type PortableTextMarkDef, type PortableTextSpan, type PortableTextTableAlignment, type PortableTextTableBlock, type PortableTextTableCell, type PortableTextTableRow, type PortableTextTextBlock, type PortableTextToProsemirrorOptions, type PortableTextUnknownBlock, type PostTypeAnalysis, type PostTypeMapping, type PostgresConfig, type PreviewTokenPayload, type ProbeResult, type PropDef, type ProseMirrorDocument, type ProseMirrorMark, type ProseMirrorNode, type PublicPageContext, RESERVED_COLLECTION_SLUGS, RESERVED_FIELD_SLUGS, type ReorderMenuItemsInput, type ReorderWidgetsInput, type ResolvePathResult, type ResolvedHook, type ResolvedPlugin, type ResolvedPluginHooks, type RevisionListResponse, type RevisionResponse, type RouteContext, type S3StorageConfig, SANDBOX_HOOK_RESULT_VERSION, SEARCH_TOKENIZERS, type SandboxEmailMessage, type SandboxEmailSendCallback, type SandboxHookErrorEnvelope, type SandboxHookResultInspection, SandboxNotAvailableError, type SandboxOptions, type SandboxRouteErrorCode, type SandboxRouteErrorDetails, type SandboxRouteErrorEnvelope, type SandboxRunner, type SandboxRunnerFactory, type SandboxSaveRejectedError, SandboxUnavailableError, type SandboxedPluginInstance, SchemaError, SchemaRegistry, type SearchConfig, type SearchOptions, type SearchResponse, type SearchResult, type SearchStats, type SearchTokenizer, type Section, type SectionSource, type SeedApplyOptions, type SeedApplyResult, type SeedCollection, type SeedContentEntry, type SeedField, type SeedFile, type SeedMenu, type SeedMenuItem, type SeedTaxonomy, type SeedTaxonomyTerm, type SeedWidget, type SeedWidgetArea, type SeoMeta, type SeoMetaOptions, type SeoSettings, type SerializedRequest, type SignedUploadOptions, type SignedUploadUrl, type SiteSettingKey, type SiteSettings, type SourceAuth, type SourceCapabilities, type SourceInput, type SourceProbeResult, type SqliteConfig, type Storage, type StorageCollection, type StorageDescriptor, StorageSerializationError, type StoredComment, type SuggestOptions, type SuggestedAction, type Suggestion, type SystemCleanupFn, type TaxonomyAccess, type TaxonomyDef, type TaxonomyDefInfo, type TaxonomyReadOptions, type TaxonomyTerm, type TaxonomyTermInfo, type TaxonomyTermRow, type TranslationSummary, type TranslationsResult, type UpdateCollectionInput, type UpdateContentInput, type UpdateFieldInput, type UpdateIfArgs, type UpdateIfResult, type UpdateMenuInput, type UpdateMenuItemInput, type UpdateSectionInput, type UpdateTermInput, type UpdateWidgetInput, type UploadResult, type UrlInput, UserRepository, type UserTable, type ValidatedPluginManifest, type ValidationResult, type VerifyPreviewTokenOptions, type VerifyPreviewTokenResult, type VersionedValue, type WaitUntilFn, type WhereRange, type WhereValue, type Widget, type WidgetArea, type WidgetComponentDef, type WidgetType, type WxrAttachment, type WxrAuthor, type WxrCategory, type WxrData, type WxrPost, type WxrSite, type WxrTag, type WxrTerm, adaptSandboxEntry, after, applySeed, buildPreviewUrl, cachedQuery, clearSources, computeContentHash, contentNamespace, contentNamespaces, createEditable, createHookPipeline, createHttpAccess, createNoop, createNoopSandboxRunner, createPluginManager, createSandboxRouteError, createSandboxRouteErrorEnvelope, createUnrestrictedHttpAccess, decodeSlug, definePlugin, extractPlainText, extractSearchableFields, file, generateManifest, generatePlaceholder, generatePreviewToken, getAllSources, getAllTermsForEntries, getByline, getBylineBySlug, getCollectionInfo, getCommentCount, getComments, getContentSeo, getEditMeta, getEmDashCollection, getEmDashEntry, getEntriesByByline, getEntriesByTerm, getEntryTerms, getExactMigrationStatus, getFallbackChain, getFileSources, getHreflangAlternates, getI18nConfig, getMenu, getMenuWithCacheHint, getMenus, getMigrationStatus, getPluginSetting, getPluginSettings, getPreviewToken, getPreviewUrl, getRequestContext, getSandboxRouteErrorDetails, getSandboxRouteErrorEnvelope, getSearchStats, getSection, getSections, getSeoMeta, getSiteSetting, getSiteSettings, getSiteSettingsWithCacheHint, getSource, getSuggestions, getTaxonomyDef, getTaxonomyDefs, getTaxonomyTerms, getTaxonomyTermsWithCacheHint, getTerm, getTermsForEntries, getTranslations, getUrlSources, getWidgetArea, getWidgetAreaWithCacheHint, getWidgetAreas, getWidgetComponents, handleContentAuthors, handleContentCompare, handleContentCountScheduled, handleContentCountTrashed, handleContentCreate, handleContentDelete, handleContentDiscardDraft, handleContentDuplicate, handleContentGet, handleContentGetIncludingTrashed, handleContentList, handleContentListTrashed, handleContentPermanentDelete, handleContentPublish, handleContentRestore, handleContentSchedule, handleContentTranslations, handleContentUnpublish, handleContentUnschedule, handleContentUpdate, handleMediaCreate, handleMediaDelete, handleMediaGet, handleMediaList, handleMediaReplaceMetadata, handleMediaUpdate, handleMediaUsageActivationAdvance, handleMediaUsageProgress, handleMediaUsageRepair, handleRevisionGet, handleRevisionList, handleRevisionRestore, hashString, image, importReusableBlocksAsSections, inspectSandboxHookResult, invalidateBylineObjectCache, invalidateCollectionCache, invalidateCommentObjectCache, invalidateMenuObjectCache, invalidateObjectCache, invalidateSchemaObjectCache, invalidateTaxonomyObjectCache, invalidateTermCache, isContentSaveRejection, isDeprecatedCapability, isI18nEnabled, isPreviewRequest, isSafeHref, normalizeCapabilities, normalizeCapability, normalizeMediaValue, parseContentId, parseWxr, parseWxrDate, parseWxrString, pluginManifestSchema, portableText, portableTextIdentityExtensions, portableTextToProsemirror, probeUrl, prosemirrorToPortableText, reference, registerSource, resolveContentCreateLocale, resolveEmDashPath, runWithContext, sanitizeHref, search, searchCollection, searchWithDb, setSiteSettings, slugify, ulid, validateSeed, verifyPreviewToken, wordpressRestSource, wxrSource };
|
package/dist/index.mjs
CHANGED
|
@@ -1,93 +1,96 @@
|
|
|
1
|
-
import { a as getMigrationStatus, i as getExactMigrationStatus, n as MIGRATION_NAMES } from "./runner-
|
|
1
|
+
import { a as getMigrationStatus, i as getExactMigrationStatus, n as MIGRATION_NAMES } from "./runner-nEzvnogG.mjs";
|
|
2
2
|
import { t as EmDashDatabaseError } from "./errors-9P_FDrJ_.mjs";
|
|
3
|
-
import "./dialect-helpers-
|
|
3
|
+
import "./dialect-helpers-BcQvkHgn.mjs";
|
|
4
4
|
import { i as isI18nEnabled, n as getFallbackChain, o as resolveContentCreateLocale, r as getI18nConfig } from "./config-C3EBstHi.mjs";
|
|
5
|
-
import {
|
|
5
|
+
import { A as portableText, C as HookPipeline, D as portableTextToProsemirror, E as definePlugin, F as EmDashConfigurationError, M as file, N as image, O as prosemirrorToPortableText, S as isContentSaveRejection, a as getComments, c as inspectSandboxHookResult, d as createNoopSandboxRunner, f as NodeCronScheduler, h as PluginRouteError, i as getCommentCount, j as reference, k as portableTextIdentityExtensions, l as NoopSandboxRunner, m as createPluginManager, n as getMenuWithCacheHint, o as MAX_SANDBOX_SAVE_REJECTION_REASON_LENGTH, p as PluginManager, r as getMenus, s as SANDBOX_HOOK_RESULT_VERSION, t as getMenu, u as SandboxNotAvailableError, w as createHookPipeline, x as ContentSaveRejectedError } from "./menus-D8mC4eaN.mjs";
|
|
6
6
|
import { t as after } from "./after-CBU2vkoO.mjs";
|
|
7
7
|
import { getRequestContext, runWithContext } from "./request-context.mjs";
|
|
8
8
|
import { a as contentNamespaces, c as invalidateCollectionCache, d as invalidateObjectCache, f as invalidateSchemaObjectCache, i as contentNamespace, l as invalidateCommentObjectCache, n as cachedQuery, p as invalidateTaxonomyObjectCache, s as invalidateBylineObjectCache, t as CacheNamespace, u as invalidateMenuObjectCache } from "./object-cache-DVKnyOfy.mjs";
|
|
9
|
-
import {
|
|
10
|
-
import { t as ContentRepository } from "./content-
|
|
9
|
+
import { c as RESERVED_FIELD_SLUGS, r as FIELD_TYPE_TO_COLUMN, s as RESERVED_COLLECTION_SLUGS } from "./types-BMXnRIrX.mjs";
|
|
10
|
+
import { t as ContentRepository } from "./content-CNfMWuhY.mjs";
|
|
11
11
|
import { n as slugify, t as decodeSlug } from "./slugify-B994zkXC.mjs";
|
|
12
12
|
import "./base64-CvLhUKQv.mjs";
|
|
13
13
|
import { i as InvalidCursorError, r as EmDashValidationError } from "./types-CQPWhPxE.mjs";
|
|
14
14
|
import { t as MediaRepository } from "./media-BBm8Wg3f.mjs";
|
|
15
|
-
import { t as UserRepository } from "./user-
|
|
16
|
-
import "./taxonomy-
|
|
15
|
+
import { t as UserRepository } from "./user-DIsIXogT.mjs";
|
|
16
|
+
import "./taxonomy-DP1vny4K.mjs";
|
|
17
17
|
import "./comment-vxOzWbZN.mjs";
|
|
18
|
-
import { t as OptionsRepository } from "./options-
|
|
19
|
-
import { a as createUnrestrictedHttpAccess, n as createHttpAccess, o as PluginStorageRepository } from "./context-
|
|
20
|
-
import "./menus-
|
|
21
|
-
import "./
|
|
22
|
-
import "./
|
|
23
|
-
import "./
|
|
24
|
-
import "./
|
|
25
|
-
import "./
|
|
26
|
-
import "./
|
|
27
|
-
import
|
|
28
|
-
import "./
|
|
29
|
-
import
|
|
30
|
-
import "./
|
|
31
|
-
import "./
|
|
32
|
-
import
|
|
33
|
-
import
|
|
34
|
-
import "./
|
|
35
|
-
import "./
|
|
36
|
-
import
|
|
37
|
-
import
|
|
38
|
-
import "./
|
|
39
|
-
import "./
|
|
40
|
-
import "./
|
|
41
|
-
import "./
|
|
42
|
-
import "./
|
|
43
|
-
import
|
|
44
|
-
import
|
|
45
|
-
import "./
|
|
46
|
-
import "./
|
|
47
|
-
import "./
|
|
48
|
-
import
|
|
49
|
-
import
|
|
50
|
-
import "./media-usage-
|
|
51
|
-
import { t as
|
|
52
|
-
import "./
|
|
53
|
-
import "./
|
|
54
|
-
import "./
|
|
55
|
-
import "./
|
|
56
|
-
import
|
|
57
|
-
import
|
|
58
|
-
import "./
|
|
59
|
-
import "./
|
|
60
|
-
import
|
|
61
|
-
import
|
|
62
|
-
import {
|
|
63
|
-
import "./
|
|
64
|
-
import "./
|
|
65
|
-
import "./
|
|
66
|
-
import "./
|
|
67
|
-
import "./
|
|
68
|
-
import
|
|
69
|
-
import "./
|
|
70
|
-
import "./
|
|
71
|
-
import {
|
|
72
|
-
import
|
|
18
|
+
import { t as OptionsRepository } from "./options-D1FBiAv1.mjs";
|
|
19
|
+
import { a as createUnrestrictedHttpAccess, n as createHttpAccess, o as PluginStorageRepository, s as StorageSerializationError } from "./context-C9PB8vGd.mjs";
|
|
20
|
+
import "./menus-UdwjHZJC.mjs";
|
|
21
|
+
import "./resolve-Cy0aWSRj.mjs";
|
|
22
|
+
import "./redirect-DId44BS1.mjs";
|
|
23
|
+
import "./request-cache-DAZZmesc.mjs";
|
|
24
|
+
import "./byline-registry-BxDGIO0I.mjs";
|
|
25
|
+
import "./field-defs-cache-Cf5FHK0M.mjs";
|
|
26
|
+
import "./byline-Vdi85CsZ.mjs";
|
|
27
|
+
import "./relation-DxgCHOBw.mjs";
|
|
28
|
+
import { n as normalizeMediaValue } from "./normalize-4nkKGsuW.mjs";
|
|
29
|
+
import "./dist-BAsh8dbf.mjs";
|
|
30
|
+
import { n as generatePlaceholder } from "./enrich-t2Xvjdqa.mjs";
|
|
31
|
+
import "./entry-locks-BEcX7ET0.mjs";
|
|
32
|
+
import "./seo-Bw68KxRc.mjs";
|
|
33
|
+
import "./cache--7HKu5Xm.mjs";
|
|
34
|
+
import { t as SEARCH_TOKENIZERS } from "./types-c9GP7Dj5.mjs";
|
|
35
|
+
import { t as FTSManager } from "./fts-manager-iddym8cd.mjs";
|
|
36
|
+
import "./loader-WJi6GFRn.mjs";
|
|
37
|
+
import "./collection-slugs-cache-7lTmNzeA.mjs";
|
|
38
|
+
import { a as getTaxonomyDefs, c as getTerm, d as invalidateTermCache, i as getTaxonomyDef, l as getTermsForEntries, n as getEntriesByTerm, o as getTaxonomyTerms, r as getEntryTerms, s as getTaxonomyTermsWithCacheHint, t as getAllTermsForEntries } from "./taxonomies-NcFDq5Gg.mjs";
|
|
39
|
+
import { $ as handleContentSchedule, A as handleMediaList, B as handleContentCountScheduled, D as handleMediaCreate, F as handleRevisionRestore, G as handleContentDuplicate, H as handleContentCreate, J as handleContentList, K as handleContentGet, L as generateManifest, M as handleMediaUpdate, N as handleRevisionGet, O as handleMediaDelete, P as handleRevisionList, Q as handleContentRestore, R as handleContentAuthors, U as handleContentDelete, V as handleContentCountTrashed, W as handleContentDiscardDraft, X as handleContentPermanentDelete, Y as handleContentListTrashed, Z as handleContentPublish, _ as createSandboxRouteErrorEnvelope, et as handleContentTranslations, g as createSandboxRouteError, h as SandboxUnavailableError, j as handleMediaReplaceMetadata, k as handleMediaGet, nt as handleContentUnschedule, q as handleContentGetIncludingTrashed, rt as handleContentUpdate, tt as handleContentUnpublish, v as getSandboxRouteErrorDetails, y as getSandboxRouteErrorEnvelope, z as handleContentCompare } from "./api-BvxJmnFY.mjs";
|
|
40
|
+
import "./dashboard-BNSvAN8A.mjs";
|
|
41
|
+
import "./capture-triggers-CeAsC76Z.mjs";
|
|
42
|
+
import "./activation-DyNTe_Tl.mjs";
|
|
43
|
+
import "./collection-deletion-BCwaWTDw.mjs";
|
|
44
|
+
import "./content-refresh-GTMyi2Xy.mjs";
|
|
45
|
+
import { n as SchemaRegistry, t as SchemaError } from "./registry-DTqaqxed.mjs";
|
|
46
|
+
import { n as computeContentHash, r as hashString } from "./hash-BRweX6jz.mjs";
|
|
47
|
+
import "./media-folders-DASfX_DH.mjs";
|
|
48
|
+
import "./media-usage-work-C5B1zT1c.mjs";
|
|
49
|
+
import "./content-repair-CIMt5C0U.mjs";
|
|
50
|
+
import { i as handleMediaUsageRepair, n as handleMediaUsageProgress } from "./media-usage-C1EswMTq.mjs";
|
|
51
|
+
import { t as handleMediaUsageActivationAdvance } from "./media-usage-activation-CrHNltlL.mjs";
|
|
52
|
+
import "./media-usage-work-IkQx_Yz6.mjs";
|
|
53
|
+
import { t as getCollectionInfo } from "./query-gtXT03Wc.mjs";
|
|
54
|
+
import "./zod-generator-CNRGdnBY.mjs";
|
|
55
|
+
import "./schema-CRu38Pr5.mjs";
|
|
56
|
+
import "./schema-DifxndJx.mjs";
|
|
57
|
+
import "./seo-C4AmbsMU.mjs";
|
|
58
|
+
import { o as getSection, s as getSections } from "./sections-3X52kmIR.mjs";
|
|
59
|
+
import { a as getSiteSettingsWithCacheHint, c as setSiteSettings, i as getSiteSettings, n as getPluginSettings, r as getSiteSetting, t as getPluginSetting } from "./settings-DcMjREe5.mjs";
|
|
60
|
+
import "./settings-AnEFYICn.mjs";
|
|
61
|
+
import "./taxonomies-BOdxuZpV.mjs";
|
|
62
|
+
import { i as pluginManifestSchema } from "./manifest-schema-CILooI5J.mjs";
|
|
63
|
+
import { a as normalizeCapability, i as normalizeCapabilities, r as isDeprecatedCapability, t as CAPABILITY_RENAMES } from "./types-A2cN6a4a.mjs";
|
|
64
|
+
import { t as EmDashStorageError } from "./types-ByG2coLw.mjs";
|
|
65
|
+
import "./artifact-fetch-P2JXVwOq.mjs";
|
|
66
|
+
import "./ssrf-gl4gFNhw.mjs";
|
|
67
|
+
import "./config--eWjQJE5.mjs";
|
|
68
|
+
import "./error-BDcFyoRt.mjs";
|
|
69
|
+
import "./parse-WRg5C3NX.mjs";
|
|
70
|
+
import "./media-C1EIZKh1.mjs";
|
|
71
|
+
import { bt as isSafeHref, xt as sanitizeHref } from "./entry-lock-DIYHAaSw.mjs";
|
|
72
|
+
import "./relations-rOmbndUJ.mjs";
|
|
73
|
+
import "./status-Cenfk_r5.mjs";
|
|
74
|
+
import { c as createEditable, i as getTranslations, l as createNoop, n as getEmDashCollection, r as getEmDashEntry, s as resolveEmDashPath, t as getEditMeta } from "./query-DygOte9M.mjs";
|
|
75
|
+
import { C as parseWxrString, S as parseWxr, b as importReusableBlocksAsSections, c as parseWxrDate, d as getAllSources, f as getFileSources, g as registerSource, h as probeUrl, l as wxrSource, m as getUrlSources, p as getSource, s as wordpressRestSource, u as clearSources } from "./import-D96g2otw.mjs";
|
|
73
76
|
import { adaptSandboxEntry } from "./plugins/adapt-sandbox-entry.mjs";
|
|
74
|
-
import "./ssrf-
|
|
75
|
-
import "./cron-
|
|
76
|
-
import "./email-console-
|
|
77
|
-
import "./media-usage-write-fence-
|
|
78
|
-
import "./utils-
|
|
79
|
-
import { n as parseContentId, r as verifyPreviewToken, t as generatePreviewToken } from "./tokens-
|
|
80
|
-
import { i as getPreviewUrl, n as isPreviewRequest, r as buildPreviewUrl, t as getPreviewToken } from "./preview-
|
|
81
|
-
import { t as getHreflangAlternates } from "./hreflang-
|
|
77
|
+
import "./ssrf-TQhaljuI.mjs";
|
|
78
|
+
import "./cron-DHAy9oyq.mjs";
|
|
79
|
+
import "./email-console-DNup1Fku.mjs";
|
|
80
|
+
import "./media-usage-write-fence-B9anjOSg.mjs";
|
|
81
|
+
import "./utils-BicP5Qbg.mjs";
|
|
82
|
+
import { n as parseContentId, r as verifyPreviewToken, t as generatePreviewToken } from "./tokens-CDk8ox9p.mjs";
|
|
83
|
+
import { i as getPreviewUrl, n as isPreviewRequest, r as buildPreviewUrl, t as getPreviewToken } from "./preview-BxwsGgGp.mjs";
|
|
84
|
+
import { t as getHreflangAlternates } from "./hreflang-DshnweTC.mjs";
|
|
82
85
|
import { getContentSeo, getSeoMeta } from "./seo/index.mjs";
|
|
83
|
-
import "./comment-reaction-
|
|
84
|
-
import { i as getEntriesByByline, n as getByline, r as getBylineBySlug } from "./bylines-
|
|
85
|
-
import { i as getWidgetComponents, n as getWidgetAreaWithCacheHint, r as getWidgetAreas, t as getWidgetArea } from "./widgets-
|
|
86
|
-
import { t as validateSeed } from "./validate-
|
|
87
|
-
import { t as applySeed } from "./apply-
|
|
88
|
-
import "./load-
|
|
86
|
+
import "./comment-reaction-CDyvPQRj.mjs";
|
|
87
|
+
import { i as getEntriesByByline, n as getByline, r as getBylineBySlug } from "./bylines-BX8QhcTk.mjs";
|
|
88
|
+
import { i as getWidgetComponents, n as getWidgetAreaWithCacheHint, r as getWidgetAreas, t as getWidgetArea } from "./widgets-RFVAxQl3.mjs";
|
|
89
|
+
import { t as validateSeed } from "./validate-D8VPn4Hv.mjs";
|
|
90
|
+
import { t as applySeed } from "./apply-DLmM3R7f.mjs";
|
|
91
|
+
import "./load-DPtY9cZo.mjs";
|
|
89
92
|
import "./seed/index.mjs";
|
|
90
|
-
import { a as getSuggestions, c as searchWithDb, i as getSearchStats, n as extractPlainText, o as search, r as extractSearchableFields, s as searchCollection } from "./search-
|
|
93
|
+
import { a as getSuggestions, c as searchWithDb, i as getSearchStats, n as extractPlainText, o as search, r as extractSearchableFields, s as searchCollection } from "./search-DEPFSBFq.mjs";
|
|
91
94
|
import { ulid } from "ulidx";
|
|
92
95
|
|
|
93
|
-
export { CAPABILITY_RENAMES, CacheNamespace, ContentRepository, ContentSaveRejectedError, EmDashDatabaseError, EmDashStorageError, EmDashValidationError, FIELD_TYPE_TO_COLUMN, FTSManager, HookPipeline, InvalidCursorError, MAX_SANDBOX_SAVE_REJECTION_REASON_LENGTH, MIGRATION_NAMES, MediaRepository, NodeCronScheduler, NoopSandboxRunner, OptionsRepository, PluginManager, PluginRouteError, PluginStorageRepository, RESERVED_COLLECTION_SLUGS, RESERVED_FIELD_SLUGS, SANDBOX_HOOK_RESULT_VERSION, SEARCH_TOKENIZERS, SandboxNotAvailableError, SandboxUnavailableError, SchemaError, SchemaRegistry, UserRepository, adaptSandboxEntry, after, applySeed, buildPreviewUrl, cachedQuery, clearSources, computeContentHash, contentNamespace, contentNamespaces, createEditable, createHookPipeline, createHttpAccess, createNoop, createNoopSandboxRunner, createPluginManager, createSandboxRouteError, createSandboxRouteErrorEnvelope, createUnrestrictedHttpAccess, decodeSlug, definePlugin, extractPlainText, extractSearchableFields, file, generateManifest, generatePlaceholder, generatePreviewToken, getAllSources, getAllTermsForEntries, getByline, getBylineBySlug, getCollectionInfo, getCommentCount, getComments, getContentSeo, getEditMeta, getEmDashCollection, getEmDashEntry, getEntriesByByline, getEntriesByTerm, getEntryTerms, getExactMigrationStatus, getFallbackChain, getFileSources, getHreflangAlternates, getI18nConfig, getMenu, getMenuWithCacheHint, getMenus, getMigrationStatus, getPluginSetting, getPluginSettings, getPreviewToken, getPreviewUrl, getRequestContext, getSandboxRouteErrorDetails, getSandboxRouteErrorEnvelope, getSearchStats, getSection, getSections, getSeoMeta, getSiteSetting, getSiteSettings, getSiteSettingsWithCacheHint, getSource, getSuggestions, getTaxonomyDef, getTaxonomyDefs, getTaxonomyTerms, getTaxonomyTermsWithCacheHint, getTerm, getTermsForEntries, getTranslations, getUrlSources, getWidgetArea, getWidgetAreaWithCacheHint, getWidgetAreas, getWidgetComponents, handleContentAuthors, handleContentCompare, handleContentCountScheduled, handleContentCountTrashed, handleContentCreate, handleContentDelete, handleContentDiscardDraft, handleContentDuplicate, handleContentGet, handleContentGetIncludingTrashed, handleContentList, handleContentListTrashed, handleContentPermanentDelete, handleContentPublish, handleContentRestore, handleContentSchedule, handleContentTranslations, handleContentUnpublish, handleContentUnschedule, handleContentUpdate, handleMediaCreate, handleMediaDelete, handleMediaGet, handleMediaList, handleMediaReplaceMetadata, handleMediaUpdate, handleMediaUsageActivationAdvance, handleMediaUsageProgress, handleMediaUsageRepair, handleRevisionGet, handleRevisionList, handleRevisionRestore, hashString, image, importReusableBlocksAsSections, inspectSandboxHookResult, invalidateBylineObjectCache, invalidateCollectionCache, invalidateCommentObjectCache, invalidateMenuObjectCache, invalidateObjectCache, invalidateSchemaObjectCache, invalidateTaxonomyObjectCache, invalidateTermCache, isContentSaveRejection, isDeprecatedCapability, isI18nEnabled, isPreviewRequest, isSafeHref, normalizeCapabilities, normalizeCapability, normalizeMediaValue, parseContentId, parseWxr, parseWxrDate, parseWxrString, pluginManifestSchema, portableText, portableTextIdentityExtensions, portableTextToProsemirror, probeUrl, prosemirrorToPortableText, reference, registerSource, resolveContentCreateLocale, resolveEmDashPath, runWithContext, sanitizeHref, search, searchCollection, searchWithDb, setSiteSettings, slugify, ulid, validateSeed, verifyPreviewToken, wordpressRestSource, wxrSource };
|
|
96
|
+
export { CAPABILITY_RENAMES, CacheNamespace, ContentRepository, ContentSaveRejectedError, EmDashConfigurationError, EmDashDatabaseError, EmDashStorageError, EmDashValidationError, FIELD_TYPE_TO_COLUMN, FTSManager, HookPipeline, InvalidCursorError, MAX_SANDBOX_SAVE_REJECTION_REASON_LENGTH, MIGRATION_NAMES, MediaRepository, NodeCronScheduler, NoopSandboxRunner, OptionsRepository, PluginManager, PluginRouteError, PluginStorageRepository, RESERVED_COLLECTION_SLUGS, RESERVED_FIELD_SLUGS, SANDBOX_HOOK_RESULT_VERSION, SEARCH_TOKENIZERS, SandboxNotAvailableError, SandboxUnavailableError, SchemaError, SchemaRegistry, StorageSerializationError, UserRepository, adaptSandboxEntry, after, applySeed, buildPreviewUrl, cachedQuery, clearSources, computeContentHash, contentNamespace, contentNamespaces, createEditable, createHookPipeline, createHttpAccess, createNoop, createNoopSandboxRunner, createPluginManager, createSandboxRouteError, createSandboxRouteErrorEnvelope, createUnrestrictedHttpAccess, decodeSlug, definePlugin, extractPlainText, extractSearchableFields, file, generateManifest, generatePlaceholder, generatePreviewToken, getAllSources, getAllTermsForEntries, getByline, getBylineBySlug, getCollectionInfo, getCommentCount, getComments, getContentSeo, getEditMeta, getEmDashCollection, getEmDashEntry, getEntriesByByline, getEntriesByTerm, getEntryTerms, getExactMigrationStatus, getFallbackChain, getFileSources, getHreflangAlternates, getI18nConfig, getMenu, getMenuWithCacheHint, getMenus, getMigrationStatus, getPluginSetting, getPluginSettings, getPreviewToken, getPreviewUrl, getRequestContext, getSandboxRouteErrorDetails, getSandboxRouteErrorEnvelope, getSearchStats, getSection, getSections, getSeoMeta, getSiteSetting, getSiteSettings, getSiteSettingsWithCacheHint, getSource, getSuggestions, getTaxonomyDef, getTaxonomyDefs, getTaxonomyTerms, getTaxonomyTermsWithCacheHint, getTerm, getTermsForEntries, getTranslations, getUrlSources, getWidgetArea, getWidgetAreaWithCacheHint, getWidgetAreas, getWidgetComponents, handleContentAuthors, handleContentCompare, handleContentCountScheduled, handleContentCountTrashed, handleContentCreate, handleContentDelete, handleContentDiscardDraft, handleContentDuplicate, handleContentGet, handleContentGetIncludingTrashed, handleContentList, handleContentListTrashed, handleContentPermanentDelete, handleContentPublish, handleContentRestore, handleContentSchedule, handleContentTranslations, handleContentUnpublish, handleContentUnschedule, handleContentUpdate, handleMediaCreate, handleMediaDelete, handleMediaGet, handleMediaList, handleMediaReplaceMetadata, handleMediaUpdate, handleMediaUsageActivationAdvance, handleMediaUsageProgress, handleMediaUsageRepair, handleRevisionGet, handleRevisionList, handleRevisionRestore, hashString, image, importReusableBlocksAsSections, inspectSandboxHookResult, invalidateBylineObjectCache, invalidateCollectionCache, invalidateCommentObjectCache, invalidateMenuObjectCache, invalidateObjectCache, invalidateSchemaObjectCache, invalidateTaxonomyObjectCache, invalidateTermCache, isContentSaveRejection, isDeprecatedCapability, isI18nEnabled, isPreviewRequest, isSafeHref, normalizeCapabilities, normalizeCapability, normalizeMediaValue, parseContentId, parseWxr, parseWxrDate, parseWxrString, pluginManifestSchema, portableText, portableTextIdentityExtensions, portableTextToProsemirror, probeUrl, prosemirrorToPortableText, reference, registerSource, resolveContentCreateLocale, resolveEmDashPath, runWithContext, sanitizeHref, search, searchCollection, searchWithDb, setSiteSettings, slugify, ulid, validateSeed, verifyPreviewToken, wordpressRestSource, wxrSource };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"init-lock-
|
|
1
|
+
{"version":3,"file":"init-lock-CFNBe_iH.mjs","names":[],"sources":["../src/utils/init-lock.ts"],"sourcesContent":["/**\n * Reclaimable initialization lock for isolate-lifetime singletons.\n *\n * Guards \"first request initializes, everyone else waits\" sections\n * (runtime creation, database init) against a workerd failure mode: if the\n * request that owns the initialization is cancelled mid-await (client\n * disconnect, context teardown), its continuation — including any `finally`\n * that would release the lock — never runs. A plain boolean or shared\n * promise then stays stuck forever and every subsequent request in the\n * isolate hangs until the platform kills it (observed as 524s at the\n * 100-second wall limit, with the isolate poisoned until eviction).\n *\n * This lock instead records *when* the owner started. Waiters poll — we\n * deliberately never await a promise created by another request, which\n * workerd flags — and if the owner has held the lock past `deadlineMs`,\n * the next waiter assumes the owner is dead, reclaims the lock, and runs\n * the initialization itself. Waiters also give up after `maxWaitMs` so a\n * request degrades to an error response rather than hanging.\n */\n\nexport interface InitLock {\n\t/** Epoch ms when the current owner claimed the lock, or null when free. */\n\townerStartedAt: number | null;\n\t/**\n\t * Monotonic claim counter identifying the current owner. Release is\n\t * gated on it: a slow owner that finishes after a waiter has reclaimed\n\t * the lock must not clear the reclaimer's claim — that would let yet\n\t * another caller claim the lock and start a third concurrent init.\n\t */\n\tgeneration: number;\n}\n\nexport function createInitLock(): InitLock {\n\treturn { ownerStartedAt: null, generation: 0 };\n}\n\nexport interface InitLockOptions {\n\t/**\n\t * Reclaim the lock if the owner has held it longer than this. Must be\n\t * comfortably above the slowest legitimate init (cold migrations on a\n\t * contended D1, including the concurrent-migrator wait) — a too-short\n\t * deadline risks two concurrent inits, a too-long one delays recovery\n\t * of a poisoned isolate. Nested locks must compose: an outer lock's\n\t * deadline must exceed the deadline of any lock its init acquires.\n\t */\n\tdeadlineMs?: number;\n\t/** Waiter poll interval. */\n\tpollMs?: number;\n\t/**\n\t * Give up waiting after this long and throw instead of hanging.\n\t * Defaults to `deadlineMs` plus headroom so a waiter always survives\n\t * long enough to reclaim a dead owner before giving up.\n\t */\n\tmaxWaitMs?: number;\n\t/**\n\t * Called with the in-flight init promise (errors pre-swallowed) so the\n\t * caller can hand it to the host's lifetime extender (waitUntil via\n\t * `after()`). If the owning request is cancelled mid-init, the anchored\n\t * promise keeps the context alive: init completes, populates the cache,\n\t * and the `finally` below releases the lock — preventing the poisoning\n\t * instead of merely recovering from it via reclaim.\n\t */\n\tanchor?: (promise: Promise<void>) => void;\n}\n\nconst DEFAULT_DEADLINE_MS = 15_000;\nconst DEFAULT_POLL_MS = 50;\nconst MAX_WAIT_HEADROOM_MS = 15_000;\n\nfunction sleep(ms: number): Promise<void> {\n\treturn new Promise((resolve) => setTimeout(resolve, ms));\n}\n\n/**\n * Return the cached value if present, otherwise initialize it under the\n * lock. `init` is responsible for storing the value so that `getCached`\n * returns it on subsequent calls — waiters re-check `getCached` after the\n * owner finishes rather than sharing the owner's promise.\n *\n * `init` receives an `isCurrentClaim` predicate and must gate its cache\n * publication on it: a slow init that was reclaimed past the deadline\n * must not overwrite the value published by the reclaimer (for the\n * runtime singleton that would orphan the reclaimer's active cron\n * scheduler). A losing init should also tear down any side resources it\n * started, since its result will never be published.\n */\nexport async function initWithLock<T>(\n\tlock: InitLock,\n\tgetCached: () => T | null | undefined,\n\tinit: (isCurrentClaim: () => boolean) => Promise<T>,\n\toptions?: InitLockOptions,\n): Promise<T> {\n\tconst deadlineMs = options?.deadlineMs ?? DEFAULT_DEADLINE_MS;\n\tconst pollMs = options?.pollMs ?? DEFAULT_POLL_MS;\n\tconst maxWaitMs = options?.maxWaitMs ?? deadlineMs + MAX_WAIT_HEADROOM_MS;\n\t// Date.now() is deliberate and only works because every loop iteration\n\t// awaits: in workerd the clock only advances across I/O, so a sync spin\n\t// would never observe the deadline. Don't \"optimize\" away the sleep.\n\tconst waitStart = Date.now();\n\n\tfor (;;) {\n\t\tconst cached = getCached();\n\t\tif (cached !== null && cached !== undefined) {\n\t\t\treturn cached;\n\t\t}\n\n\t\tconst ownerStartedAt = lock.ownerStartedAt;\n\t\tif (ownerStartedAt === null || Date.now() - ownerStartedAt > deadlineMs) {\n\t\t\t// Free, or the owner has been gone past the deadline — claim it.\n\t\t\t// Synchronous between awaits, so two waiters can't both claim.\n\t\t\tlock.generation += 1;\n\t\t\tconst claim = lock.generation;\n\t\t\tlock.ownerStartedAt = Date.now();\n\t\t\ttry {\n\t\t\t\t// Promise.resolve().then(...) so a synchronous throw from\n\t\t\t\t// init still becomes a rejection after the anchor attaches.\n\t\t\t\tconst isCurrentClaim = () => lock.generation === claim;\n\t\t\t\tconst initPromise = Promise.resolve().then(() => init(isCurrentClaim));\n\t\t\t\toptions?.anchor?.(\n\t\t\t\t\tinitPromise.then(\n\t\t\t\t\t\t() => undefined,\n\t\t\t\t\t\t() => undefined,\n\t\t\t\t\t),\n\t\t\t\t);\n\t\t\t\treturn await initPromise;\n\t\t\t} finally {\n\t\t\t\t// If this request dies mid-init unanchored this never runs;\n\t\t\t\t// the next waiter reclaims after deadlineMs instead. Release\n\t\t\t\t// only while still the current owner: a reclaimer may have\n\t\t\t\t// taken the lock while this (slow) init was running, and\n\t\t\t\t// clearing its claim would admit a third concurrent init.\n\t\t\t\tif (lock.generation === claim) {\n\t\t\t\t\tlock.ownerStartedAt = null;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tif (Date.now() - waitStart > maxWaitMs) {\n\t\t\tthrow new Error(`initWithLock: timed out after ${maxWaitMs}ms waiting for initialization`);\n\t\t}\n\t\tawait sleep(pollMs);\n\t}\n}\n"],"mappings":";AAgCA,SAAgB,iBAA2B;AAC1C,QAAO;EAAE,gBAAgB;EAAM,YAAY;EAAG;;AAgC/C,MAAM,sBAAsB;AAC5B,MAAM,kBAAkB;AACxB,MAAM,uBAAuB;AAE7B,SAAS,MAAM,IAA2B;AACzC,QAAO,IAAI,SAAS,YAAY,WAAW,SAAS,GAAG,CAAC;;;;;;;;;;;;;;;AAgBzD,eAAsB,aACrB,MACA,WACA,MACA,SACa;CACb,MAAM,aAAa,SAAS,cAAc;CAC1C,MAAM,SAAS,SAAS,UAAU;CAClC,MAAM,YAAY,SAAS,aAAa,aAAa;CAIrD,MAAM,YAAY,KAAK,KAAK;AAE5B,UAAS;EACR,MAAM,SAAS,WAAW;AAC1B,MAAI,WAAW,QAAQ,WAAW,OACjC,QAAO;EAGR,MAAM,iBAAiB,KAAK;AAC5B,MAAI,mBAAmB,QAAQ,KAAK,KAAK,GAAG,iBAAiB,YAAY;AAGxE,QAAK,cAAc;GACnB,MAAM,QAAQ,KAAK;AACnB,QAAK,iBAAiB,KAAK,KAAK;AAChC,OAAI;IAGH,MAAM,uBAAuB,KAAK,eAAe;IACjD,MAAM,cAAc,QAAQ,SAAS,CAAC,WAAW,KAAK,eAAe,CAAC;AACtE,aAAS,SACR,YAAY,WACL,cACA,OACN,CACD;AACD,WAAO,MAAM;aACJ;AAMT,QAAI,KAAK,eAAe,MACvB,MAAK,iBAAiB;;;AAKzB,MAAI,KAAK,KAAK,GAAG,YAAY,UAC5B,OAAM,IAAI,MAAM,iCAAiC,UAAU,+BAA+B;AAE3F,QAAM,MAAM,OAAO"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as __exportAll } from "./runner-
|
|
1
|
+
import { c as __exportAll } from "./runner-nEzvnogG.mjs";
|
|
2
2
|
|
|
3
3
|
//#region src/seed/load.ts
|
|
4
4
|
var load_exports = /* @__PURE__ */ __exportAll({
|
|
@@ -25,4 +25,4 @@ async function loadUserSeed() {
|
|
|
25
25
|
|
|
26
26
|
//#endregion
|
|
27
27
|
export { loadUserSeed as n, load_exports as r, loadSeed as t };
|
|
28
|
-
//# sourceMappingURL=load-
|
|
28
|
+
//# sourceMappingURL=load-DPtY9cZo.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"load-
|
|
1
|
+
{"version":3,"file":"load-DPtY9cZo.mjs","names":[],"sources":["../src/seed/load.ts"],"sourcesContent":["/**\n * Seed file loading\n *\n * Imports seed data from the virtual module, which embeds the user's seed file\n * (or the default seed) at Vite build time. This avoids runtime filesystem access,\n * which doesn't work in workerd/miniflare where process.cwd() returns \"/\".\n */\n\nimport type { SeedFile } from \"./types.js\";\n\ninterface SeedModule {\n\tseed: SeedFile;\n\tuserSeed: SeedFile | null;\n}\n\nasync function getSeedModule(): Promise<SeedModule> {\n\t// @ts-ignore - virtual module, only available within Vite runtime\n\treturn import(\"virtual:emdash/seed\") as Promise<SeedModule>;\n}\n\n/**\n * Load the seed file (user seed or default).\n */\nexport async function loadSeed(): Promise<SeedFile> {\n\tconst { seed } = await getSeedModule();\n\treturn seed;\n}\n\n/**\n * Load the user's seed file, or null if none exists.\n */\nexport async function loadUserSeed(): Promise<SeedFile | null> {\n\tconst { userSeed } = await getSeedModule();\n\treturn userSeed ?? null;\n}\n"],"mappings":";;;;;;;AAeA,eAAe,gBAAqC;AAEnD,QAAO,OAAO;;;;;AAMf,eAAsB,WAA8B;CACnD,MAAM,EAAE,SAAS,MAAM,eAAe;AACtC,QAAO;;;;;AAMR,eAAsB,eAAyC;CAC9D,MAAM,EAAE,aAAa,MAAM,eAAe;AAC1C,QAAO,YAAY"}
|
|
@@ -1,13 +1,31 @@
|
|
|
1
|
-
import { c as __exportAll } from "./runner-
|
|
1
|
+
import { c as __exportAll } from "./runner-nEzvnogG.mjs";
|
|
2
2
|
import { t as validateIdentifier } from "./validate-BpwoDOgt.mjs";
|
|
3
|
-
import { n as buildStatusCondition, s as isPostgres } from "./dialect-helpers-
|
|
3
|
+
import { n as buildStatusCondition, s as isPostgres } from "./dialect-helpers-BcQvkHgn.mjs";
|
|
4
4
|
import { r as getI18nConfig } from "./config-C3EBstHi.mjs";
|
|
5
5
|
import { getRequestContext } from "./request-context.mjs";
|
|
6
6
|
import { n as isMissingTableError, t as isMissingColumnError } from "./db-errors-Cl-sKYTm.mjs";
|
|
7
7
|
import { o as decodeCursor, s as encodeCursor } from "./types-CQPWhPxE.mjs";
|
|
8
|
+
import { i as setRequestCacheEntry } from "./request-cache-DAZZmesc.mjs";
|
|
8
9
|
import { kyselyLogOption } from "./database/instrumentation.mjs";
|
|
9
10
|
import { Kysely, sql } from "kysely";
|
|
10
11
|
|
|
12
|
+
//#region src/page/seo-panel.ts
|
|
13
|
+
function seoPanelCacheKey(collection, id) {
|
|
14
|
+
return `seo-panel:${collection}:${id}`;
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* Prime the request-scoped SEO panel cache for a content entry.
|
|
18
|
+
*
|
|
19
|
+
* Called wherever an entry's folded SEO data materializes: the loader's
|
|
20
|
+
* single-entry path (fresh query) and the object-cache revive path in
|
|
21
|
+
* `getEmDashEntry` (warm hit, where the loader never runs). No-ops outside
|
|
22
|
+
* a request context; never overwrites an already-primed value.
|
|
23
|
+
*/
|
|
24
|
+
function primeSeoPanel(collection, id, seo) {
|
|
25
|
+
setRequestCacheEntry(seoPanelCacheKey(collection, id), seo);
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
//#endregion
|
|
11
29
|
//#region src/loader.ts
|
|
12
30
|
var loader_exports = /* @__PURE__ */ __exportAll({
|
|
13
31
|
CURSOR_RAW_VALUES: () => CURSOR_RAW_VALUES,
|
|
@@ -882,20 +900,34 @@ function emdashLoader() {
|
|
|
882
900
|
const { terms: termsSelect, bylines: bylinesSelect, bylinesExist: bylinesExistSelect } = foldedHydrationSelects(db, type, "c");
|
|
883
901
|
const seoSelect = foldedSeoSelect(db, type, "c");
|
|
884
902
|
const booleanFieldsSelect = foldedBooleanFieldsSelect(db, type);
|
|
903
|
+
const metadataSelect = sql`(
|
|
904
|
+
SELECT ${isPostgres(db) ? sql`json_build_object` : sql`json_object`}(
|
|
905
|
+
'bylinesExist', _emdash_bylines_exist,
|
|
906
|
+
'booleanFields', _emdash_boolean_fields
|
|
907
|
+
)
|
|
908
|
+
FROM (SELECT ${bylinesExistSelect}, ${booleanFieldsSelect}) AS metadata
|
|
909
|
+
) AS _emdash_entry_metadata`;
|
|
885
910
|
const row = (locale ? await sql`
|
|
886
|
-
SELECT c.*, ${seoSelect}, ${termsSelect}, ${bylinesSelect}, ${
|
|
911
|
+
SELECT c.*, ${seoSelect}, ${termsSelect}, ${bylinesSelect}, ${metadataSelect}
|
|
887
912
|
FROM ${sql.ref(tableName)} AS c
|
|
888
913
|
WHERE c.deleted_at IS NULL
|
|
889
914
|
AND ((c.slug = ${id} AND c.locale = ${locale}) OR c.id = ${id})
|
|
890
915
|
LIMIT 1
|
|
891
916
|
`.execute(db) : await sql`
|
|
892
|
-
SELECT c.*, ${seoSelect}, ${termsSelect}, ${bylinesSelect}, ${
|
|
917
|
+
SELECT c.*, ${seoSelect}, ${termsSelect}, ${bylinesSelect}, ${metadataSelect}
|
|
893
918
|
FROM ${sql.ref(tableName)} AS c
|
|
894
919
|
WHERE c.deleted_at IS NULL
|
|
895
920
|
AND (c.slug = ${id} OR c.id = ${id})
|
|
896
921
|
LIMIT 1
|
|
897
922
|
`.execute(db)).rows[0];
|
|
898
923
|
if (!row) return;
|
|
924
|
+
const rawMetadata = row._emdash_entry_metadata;
|
|
925
|
+
const metadata = typeof rawMetadata === "string" ? JSON.parse(rawMetadata) : rawMetadata;
|
|
926
|
+
delete row._emdash_entry_metadata;
|
|
927
|
+
if (isPlainObject(metadata)) {
|
|
928
|
+
row._emdash_bylines_exist = metadata.bylinesExist;
|
|
929
|
+
row[BOOLEAN_FIELDS_FOLDED_COLUMN] = metadata.booleanFields;
|
|
930
|
+
}
|
|
899
931
|
expandFoldedSeo(row);
|
|
900
932
|
const i18nConfig = virtualConfig?.i18n;
|
|
901
933
|
const i18nEnabled = i18nConfig && i18nConfig.locales.length > 1;
|
|
@@ -924,7 +956,10 @@ function emdashLoader() {
|
|
|
924
956
|
...mapRevisionData(parsed, parseFoldedBooleanFields(row))
|
|
925
957
|
};
|
|
926
958
|
const revSeo = extractSeo(row);
|
|
927
|
-
if (revSeo)
|
|
959
|
+
if (revSeo) {
|
|
960
|
+
revEntryData.seo = revSeo;
|
|
961
|
+
primeSeoPanel(type, rowStr(row, "id"), revSeo);
|
|
962
|
+
}
|
|
928
963
|
stashFolded(revEntryData, row);
|
|
929
964
|
return {
|
|
930
965
|
id: revId,
|
|
@@ -940,7 +975,10 @@ function emdashLoader() {
|
|
|
940
975
|
}
|
|
941
976
|
const entryData = mapRowToData(row, parseFoldedBooleanFields(row));
|
|
942
977
|
const entrySeo = extractSeo(row);
|
|
943
|
-
if (entrySeo)
|
|
978
|
+
if (entrySeo) {
|
|
979
|
+
entryData.seo = entrySeo;
|
|
980
|
+
primeSeoPanel(type, rowStr(row, "id"), entrySeo);
|
|
981
|
+
}
|
|
944
982
|
stashFolded(entryData, row);
|
|
945
983
|
return {
|
|
946
984
|
id: entryId,
|
|
@@ -962,5 +1000,5 @@ function emdashLoader() {
|
|
|
962
1000
|
}
|
|
963
1001
|
|
|
964
1002
|
//#endregion
|
|
965
|
-
export { creditsFromFoldedBylines as a, loader_exports as c, FOLDED_TERMS as i, resetTaxonomyNamesCache as l, FOLDED_BYLINES as n, emdashLoader as o, FOLDED_BYLINES_EXIST as r, getDb as s, CURSOR_RAW_VALUES as t };
|
|
966
|
-
//# sourceMappingURL=loader-
|
|
1003
|
+
export { creditsFromFoldedBylines as a, loader_exports as c, FOLDED_TERMS as i, resetTaxonomyNamesCache as l, FOLDED_BYLINES as n, emdashLoader as o, FOLDED_BYLINES_EXIST as r, getDb as s, CURSOR_RAW_VALUES as t, primeSeoPanel as u };
|
|
1004
|
+
//# sourceMappingURL=loader-WJi6GFRn.mjs.map
|