emdash 0.12.0 → 0.13.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{adapters-BktHA7EO.d.mts → adapters-9DybjTO6.d.mts} +1 -1
- package/dist/{adapters-BktHA7EO.d.mts.map → adapters-9DybjTO6.d.mts.map} +1 -1
- package/dist/allowed-origins-CDdG-4Gd.mjs +116 -0
- package/dist/allowed-origins-CDdG-4Gd.mjs.map +1 -0
- package/dist/api/route-utils.d.mts +68 -0
- package/dist/api/route-utils.d.mts.map +1 -0
- package/dist/api/route-utils.mjs +44 -0
- package/dist/api/route-utils.mjs.map +1 -0
- package/dist/api/schemas/index.d.mts +2 -0
- package/dist/api/schemas/index.mjs +4 -0
- package/dist/api-ayIQ7rIe.mjs +3941 -0
- package/dist/api-ayIQ7rIe.mjs.map +1 -0
- package/dist/api-tokens-D3C9v02m.mjs +3 -0
- package/dist/api-tokens-eYymBhIT.mjs +153 -0
- package/dist/api-tokens-eYymBhIT.mjs.map +1 -0
- package/dist/{apply-C1ZORgcy.mjs → apply-v4DBgjPw.mjs} +19 -346
- package/dist/apply-v4DBgjPw.mjs.map +1 -0
- package/dist/astro/index.d.mts +10 -6
- package/dist/astro/index.d.mts.map +1 -1
- package/dist/astro/index.mjs +42 -83
- package/dist/astro/index.mjs.map +1 -1
- package/dist/astro/middleware/auth.d.mts +9 -5
- package/dist/astro/middleware/auth.d.mts.map +1 -1
- package/dist/astro/middleware/auth.mjs +25 -65
- package/dist/astro/middleware/auth.mjs.map +1 -1
- package/dist/astro/middleware/redirect.mjs +5 -5
- package/dist/astro/middleware/request-context.mjs +4 -4
- package/dist/astro/middleware/setup.mjs +1 -1
- package/dist/astro/middleware.d.mts.map +1 -1
- package/dist/astro/middleware.mjs +140 -69
- package/dist/astro/middleware.mjs.map +1 -1
- package/dist/astro/routes/PluginRegistry.d.mts +15 -0
- package/dist/astro/routes/PluginRegistry.d.mts.map +1 -0
- package/dist/astro/routes/PluginRegistry.mjs +25 -0
- package/dist/astro/routes/PluginRegistry.mjs.map +1 -0
- package/dist/astro/routes/api/admin/allowed-domains/_domain_.d.mts +15 -0
- package/dist/astro/routes/api/admin/allowed-domains/_domain_.d.mts.map +1 -0
- package/dist/astro/routes/api/admin/allowed-domains/_domain_.mjs +67 -0
- package/dist/astro/routes/api/admin/allowed-domains/_domain_.mjs.map +1 -0
- package/dist/astro/routes/api/admin/allowed-domains/index.d.mts +15 -0
- package/dist/astro/routes/api/admin/allowed-domains/index.d.mts.map +1 -0
- package/dist/astro/routes/api/admin/allowed-domains/index.mjs +67 -0
- package/dist/astro/routes/api/admin/allowed-domains/index.mjs.map +1 -0
- package/dist/astro/routes/api/admin/api-tokens/_id_.d.mts +11 -0
- package/dist/astro/routes/api/admin/api-tokens/_id_.d.mts.map +1 -0
- package/dist/astro/routes/api/admin/api-tokens/_id_.mjs +33 -0
- package/dist/astro/routes/api/admin/api-tokens/_id_.mjs.map +1 -0
- package/dist/astro/routes/api/admin/api-tokens/index.d.mts +17 -0
- package/dist/astro/routes/api/admin/api-tokens/index.d.mts.map +1 -0
- package/dist/astro/routes/api/admin/api-tokens/index.mjs +52 -0
- package/dist/astro/routes/api/admin/api-tokens/index.mjs.map +1 -0
- package/dist/astro/routes/api/admin/bylines/_id_/index.d.mts +10 -0
- package/dist/astro/routes/api/admin/bylines/_id_/index.d.mts.map +1 -0
- package/dist/astro/routes/api/admin/bylines/_id_/index.mjs +74 -0
- package/dist/astro/routes/api/admin/bylines/_id_/index.mjs.map +1 -0
- package/dist/astro/routes/api/admin/bylines/index.d.mts +9 -0
- package/dist/astro/routes/api/admin/bylines/index.d.mts.map +1 -0
- package/dist/astro/routes/api/admin/bylines/index.mjs +61 -0
- package/dist/astro/routes/api/admin/bylines/index.mjs.map +1 -0
- package/dist/astro/routes/api/admin/comments/_id_/status.d.mts +8 -0
- package/dist/astro/routes/api/admin/comments/_id_/status.d.mts.map +1 -0
- package/dist/astro/routes/api/admin/comments/_id_/status.mjs +80 -0
- package/dist/astro/routes/api/admin/comments/_id_/status.mjs.map +1 -0
- package/dist/astro/routes/api/admin/comments/_id_.d.mts +15 -0
- package/dist/astro/routes/api/admin/comments/_id_.d.mts.map +1 -0
- package/dist/astro/routes/api/admin/comments/_id_.mjs +47 -0
- package/dist/astro/routes/api/admin/comments/_id_.mjs.map +1 -0
- package/dist/astro/routes/api/admin/comments/bulk.d.mts +8 -0
- package/dist/astro/routes/api/admin/comments/bulk.d.mts.map +1 -0
- package/dist/astro/routes/api/admin/comments/bulk.mjs +36 -0
- package/dist/astro/routes/api/admin/comments/bulk.mjs.map +1 -0
- package/dist/astro/routes/api/admin/comments/counts.d.mts +8 -0
- package/dist/astro/routes/api/admin/comments/counts.d.mts.map +1 -0
- package/dist/astro/routes/api/admin/comments/counts.mjs +25 -0
- package/dist/astro/routes/api/admin/comments/counts.mjs.map +1 -0
- package/dist/astro/routes/api/admin/comments/index.d.mts +11 -0
- package/dist/astro/routes/api/admin/comments/index.d.mts.map +1 -0
- package/dist/astro/routes/api/admin/comments/index.mjs +40 -0
- package/dist/astro/routes/api/admin/comments/index.mjs.map +1 -0
- package/dist/astro/routes/api/admin/hooks/exclusive/_hookName_.d.mts +8 -0
- package/dist/astro/routes/api/admin/hooks/exclusive/_hookName_.d.mts.map +1 -0
- package/dist/astro/routes/api/admin/hooks/exclusive/_hookName_.mjs +48 -0
- package/dist/astro/routes/api/admin/hooks/exclusive/_hookName_.mjs.map +1 -0
- package/dist/astro/routes/api/admin/hooks/exclusive/index.d.mts +8 -0
- package/dist/astro/routes/api/admin/hooks/exclusive/index.d.mts.map +1 -0
- package/dist/astro/routes/api/admin/hooks/exclusive/index.mjs +36 -0
- package/dist/astro/routes/api/admin/hooks/exclusive/index.mjs.map +1 -0
- package/dist/astro/routes/api/admin/oauth-clients/_id_.d.mts +19 -0
- package/dist/astro/routes/api/admin/oauth-clients/_id_.d.mts.map +1 -0
- package/dist/astro/routes/api/admin/oauth-clients/_id_.mjs +69 -0
- package/dist/astro/routes/api/admin/oauth-clients/_id_.mjs.map +1 -0
- package/dist/astro/routes/api/admin/oauth-clients/index.d.mts +15 -0
- package/dist/astro/routes/api/admin/oauth-clients/index.d.mts.map +1 -0
- package/dist/astro/routes/api/admin/oauth-clients/index.mjs +50 -0
- package/dist/astro/routes/api/admin/oauth-clients/index.mjs.map +1 -0
- package/dist/astro/routes/api/admin/plugins/_id_/disable.d.mts +8 -0
- package/dist/astro/routes/api/admin/plugins/_id_/disable.d.mts.map +1 -0
- package/dist/astro/routes/api/admin/plugins/_id_/disable.mjs +56 -0
- package/dist/astro/routes/api/admin/plugins/_id_/disable.mjs.map +1 -0
- package/dist/astro/routes/api/admin/plugins/_id_/enable.d.mts +8 -0
- package/dist/astro/routes/api/admin/plugins/_id_/enable.d.mts.map +1 -0
- package/dist/astro/routes/api/admin/plugins/_id_/enable.mjs +59 -0
- package/dist/astro/routes/api/admin/plugins/_id_/enable.mjs.map +1 -0
- package/dist/astro/routes/api/admin/plugins/_id_/index.d.mts +8 -0
- package/dist/astro/routes/api/admin/plugins/_id_/index.d.mts.map +1 -0
- package/dist/astro/routes/api/admin/plugins/_id_/index.mjs +51 -0
- package/dist/astro/routes/api/admin/plugins/_id_/index.mjs.map +1 -0
- package/dist/astro/routes/api/admin/plugins/_id_/uninstall.d.mts +8 -0
- package/dist/astro/routes/api/admin/plugins/_id_/uninstall.d.mts.map +1 -0
- package/dist/astro/routes/api/admin/plugins/_id_/uninstall.mjs +58 -0
- package/dist/astro/routes/api/admin/plugins/_id_/uninstall.mjs.map +1 -0
- package/dist/astro/routes/api/admin/plugins/_id_/update.d.mts +8 -0
- package/dist/astro/routes/api/admin/plugins/_id_/update.d.mts.map +1 -0
- package/dist/astro/routes/api/admin/plugins/_id_/update.mjs +66 -0
- package/dist/astro/routes/api/admin/plugins/_id_/update.mjs.map +1 -0
- package/dist/astro/routes/api/admin/plugins/index.d.mts +8 -0
- package/dist/astro/routes/api/admin/plugins/index.d.mts.map +1 -0
- package/dist/astro/routes/api/admin/plugins/index.mjs +49 -0
- package/dist/astro/routes/api/admin/plugins/index.mjs.map +1 -0
- package/dist/astro/routes/api/admin/plugins/marketplace/_id_/icon.d.mts +8 -0
- package/dist/astro/routes/api/admin/plugins/marketplace/_id_/icon.d.mts.map +1 -0
- package/dist/astro/routes/api/admin/plugins/marketplace/_id_/icon.mjs +39 -0
- package/dist/astro/routes/api/admin/plugins/marketplace/_id_/icon.mjs.map +1 -0
- package/dist/astro/routes/api/admin/plugins/marketplace/_id_/index.d.mts +8 -0
- package/dist/astro/routes/api/admin/plugins/marketplace/_id_/index.d.mts.map +1 -0
- package/dist/astro/routes/api/admin/plugins/marketplace/_id_/index.mjs +51 -0
- package/dist/astro/routes/api/admin/plugins/marketplace/_id_/index.mjs.map +1 -0
- package/dist/astro/routes/api/admin/plugins/marketplace/_id_/install.d.mts +8 -0
- package/dist/astro/routes/api/admin/plugins/marketplace/_id_/install.d.mts.map +1 -0
- package/dist/astro/routes/api/admin/plugins/marketplace/_id_/install.mjs +69 -0
- package/dist/astro/routes/api/admin/plugins/marketplace/_id_/install.mjs.map +1 -0
- package/dist/astro/routes/api/admin/plugins/marketplace/index.d.mts +8 -0
- package/dist/astro/routes/api/admin/plugins/marketplace/index.d.mts.map +1 -0
- package/dist/astro/routes/api/admin/plugins/marketplace/index.mjs +58 -0
- package/dist/astro/routes/api/admin/plugins/marketplace/index.mjs.map +1 -0
- package/dist/astro/routes/api/admin/plugins/registry/install.d.mts +8 -0
- package/dist/astro/routes/api/admin/plugins/registry/install.d.mts.map +1 -0
- package/dist/astro/routes/api/admin/plugins/registry/install.mjs +72 -0
- package/dist/astro/routes/api/admin/plugins/registry/install.mjs.map +1 -0
- package/dist/astro/routes/api/admin/plugins/updates.d.mts +8 -0
- package/dist/astro/routes/api/admin/plugins/updates.d.mts.map +1 -0
- package/dist/astro/routes/api/admin/plugins/updates.mjs +49 -0
- package/dist/astro/routes/api/admin/plugins/updates.mjs.map +1 -0
- package/dist/astro/routes/api/admin/themes/marketplace/_id_/index.d.mts +8 -0
- package/dist/astro/routes/api/admin/themes/marketplace/_id_/index.d.mts.map +1 -0
- package/dist/astro/routes/api/admin/themes/marketplace/_id_/index.mjs +51 -0
- package/dist/astro/routes/api/admin/themes/marketplace/_id_/index.mjs.map +1 -0
- package/dist/astro/routes/api/admin/themes/marketplace/_id_/thumbnail.d.mts +8 -0
- package/dist/astro/routes/api/admin/themes/marketplace/_id_/thumbnail.d.mts.map +1 -0
- package/dist/astro/routes/api/admin/themes/marketplace/_id_/thumbnail.mjs +39 -0
- package/dist/astro/routes/api/admin/themes/marketplace/_id_/thumbnail.mjs.map +1 -0
- package/dist/astro/routes/api/admin/themes/marketplace/index.d.mts +8 -0
- package/dist/astro/routes/api/admin/themes/marketplace/index.d.mts.map +1 -0
- package/dist/astro/routes/api/admin/themes/marketplace/index.mjs +67 -0
- package/dist/astro/routes/api/admin/themes/marketplace/index.mjs.map +1 -0
- package/dist/astro/routes/api/admin/users/_id_/disable.d.mts +8 -0
- package/dist/astro/routes/api/admin/users/_id_/disable.d.mts.map +1 -0
- package/dist/astro/routes/api/admin/users/_id_/disable.mjs +43 -0
- package/dist/astro/routes/api/admin/users/_id_/disable.mjs.map +1 -0
- package/dist/astro/routes/api/admin/users/_id_/enable.d.mts +8 -0
- package/dist/astro/routes/api/admin/users/_id_/enable.d.mts.map +1 -0
- package/dist/astro/routes/api/admin/users/_id_/enable.mjs +32 -0
- package/dist/astro/routes/api/admin/users/_id_/enable.mjs.map +1 -0
- package/dist/astro/routes/api/admin/users/_id_/index.d.mts +9 -0
- package/dist/astro/routes/api/admin/users/_id_/index.d.mts.map +1 -0
- package/dist/astro/routes/api/admin/users/_id_/index.mjs +106 -0
- package/dist/astro/routes/api/admin/users/_id_/index.mjs.map +1 -0
- package/dist/astro/routes/api/admin/users/_id_/send-recovery.d.mts +8 -0
- package/dist/astro/routes/api/admin/users/_id_/send-recovery.d.mts.map +1 -0
- package/dist/astro/routes/api/admin/users/_id_/send-recovery.mjs +46 -0
- package/dist/astro/routes/api/admin/users/_id_/send-recovery.mjs.map +1 -0
- package/dist/astro/routes/api/admin/users/index.d.mts +8 -0
- package/dist/astro/routes/api/admin/users/index.d.mts.map +1 -0
- package/dist/astro/routes/api/admin/users/index.mjs +56 -0
- package/dist/astro/routes/api/admin/users/index.mjs.map +1 -0
- package/dist/astro/routes/api/auth/dev-bypass.d.mts +9 -0
- package/dist/astro/routes/api/auth/dev-bypass.d.mts.map +1 -0
- package/dist/astro/routes/api/auth/dev-bypass.mjs +84 -0
- package/dist/astro/routes/api/auth/dev-bypass.mjs.map +1 -0
- package/dist/astro/routes/api/auth/invite/accept.d.mts +8 -0
- package/dist/astro/routes/api/auth/invite/accept.d.mts.map +1 -0
- package/dist/astro/routes/api/auth/invite/accept.mjs +34 -0
- package/dist/astro/routes/api/auth/invite/accept.mjs.map +1 -0
- package/dist/astro/routes/api/auth/invite/complete.d.mts +8 -0
- package/dist/astro/routes/api/auth/invite/complete.d.mts.map +1 -0
- package/dist/astro/routes/api/auth/invite/complete.mjs +56 -0
- package/dist/astro/routes/api/auth/invite/complete.mjs.map +1 -0
- package/dist/astro/routes/api/auth/invite/index.d.mts +8 -0
- package/dist/astro/routes/api/auth/invite/index.d.mts.map +1 -0
- package/dist/astro/routes/api/auth/invite/index.mjs +53 -0
- package/dist/astro/routes/api/auth/invite/index.mjs.map +1 -0
- package/dist/astro/routes/api/auth/invite/register-options.d.mts +8 -0
- package/dist/astro/routes/api/auth/invite/register-options.d.mts.map +1 -0
- package/dist/astro/routes/api/auth/invite/register-options.mjs +46 -0
- package/dist/astro/routes/api/auth/invite/register-options.mjs.map +1 -0
- package/dist/astro/routes/api/auth/logout.d.mts +8 -0
- package/dist/astro/routes/api/auth/logout.d.mts.map +1 -0
- package/dist/astro/routes/api/auth/logout.mjs +27 -0
- package/dist/astro/routes/api/auth/logout.mjs.map +1 -0
- package/dist/astro/routes/api/auth/magic-link/send.d.mts +8 -0
- package/dist/astro/routes/api/auth/magic-link/send.d.mts.map +1 -0
- package/dist/astro/routes/api/auth/magic-link/send.mjs +50 -0
- package/dist/astro/routes/api/auth/magic-link/send.mjs.map +1 -0
- package/dist/astro/routes/api/auth/magic-link/verify.d.mts +8 -0
- package/dist/astro/routes/api/auth/magic-link/verify.d.mts.map +1 -0
- package/dist/astro/routes/api/auth/magic-link/verify.mjs +35 -0
- package/dist/astro/routes/api/auth/magic-link/verify.mjs.map +1 -0
- package/dist/astro/routes/api/auth/me.d.mts +14 -0
- package/dist/astro/routes/api/auth/me.d.mts.map +1 -0
- package/dist/astro/routes/api/auth/me.mjs +43 -0
- package/dist/astro/routes/api/auth/me.mjs.map +1 -0
- package/dist/astro/routes/api/auth/mode.d.mts +8 -0
- package/dist/astro/routes/api/auth/mode.d.mts.map +1 -0
- package/dist/astro/routes/api/auth/mode.mjs +29 -0
- package/dist/astro/routes/api/auth/mode.mjs.map +1 -0
- package/dist/astro/routes/api/auth/oauth/_provider_/callback.d.mts +8 -0
- package/dist/astro/routes/api/auth/oauth/_provider_/callback.d.mts.map +1 -0
- package/dist/astro/routes/api/auth/oauth/_provider_/callback.mjs +130 -0
- package/dist/astro/routes/api/auth/oauth/_provider_/callback.mjs.map +1 -0
- package/dist/astro/routes/api/auth/oauth/_provider_.d.mts +8 -0
- package/dist/astro/routes/api/auth/oauth/_provider_.d.mts.map +1 -0
- package/dist/astro/routes/api/auth/oauth/_provider_.mjs +60 -0
- package/dist/astro/routes/api/auth/oauth/_provider_.mjs.map +1 -0
- package/dist/astro/routes/api/auth/passkey/_id_.d.mts +15 -0
- package/dist/astro/routes/api/auth/passkey/_id_.d.mts.map +1 -0
- package/dist/astro/routes/api/auth/passkey/_id_.mjs +64 -0
- package/dist/astro/routes/api/auth/passkey/_id_.mjs.map +1 -0
- package/dist/astro/routes/api/auth/passkey/index.d.mts +8 -0
- package/dist/astro/routes/api/auth/passkey/index.d.mts.map +1 -0
- package/dist/astro/routes/api/auth/passkey/index.mjs +28 -0
- package/dist/astro/routes/api/auth/passkey/index.mjs.map +1 -0
- package/dist/astro/routes/api/auth/passkey/options.d.mts +8 -0
- package/dist/astro/routes/api/auth/passkey/options.d.mts.map +1 -0
- package/dist/astro/routes/api/auth/passkey/options.mjs +48 -0
- package/dist/astro/routes/api/auth/passkey/options.mjs.map +1 -0
- package/dist/astro/routes/api/auth/passkey/register/options.d.mts +8 -0
- package/dist/astro/routes/api/auth/passkey/register/options.d.mts.map +1 -0
- package/dist/astro/routes/api/auth/passkey/register/options.mjs +46 -0
- package/dist/astro/routes/api/auth/passkey/register/options.mjs.map +1 -0
- package/dist/astro/routes/api/auth/passkey/register/verify.d.mts +8 -0
- package/dist/astro/routes/api/auth/passkey/register/verify.d.mts.map +1 -0
- package/dist/astro/routes/api/auth/passkey/register/verify.mjs +61 -0
- package/dist/astro/routes/api/auth/passkey/register/verify.mjs.map +1 -0
- package/dist/astro/routes/api/auth/passkey/verify.d.mts +8 -0
- package/dist/astro/routes/api/auth/passkey/verify.d.mts.map +1 -0
- package/dist/astro/routes/api/auth/passkey/verify.mjs +49 -0
- package/dist/astro/routes/api/auth/passkey/verify.mjs.map +1 -0
- package/dist/astro/routes/api/auth/signup/complete.d.mts +8 -0
- package/dist/astro/routes/api/auth/signup/complete.d.mts.map +1 -0
- package/dist/astro/routes/api/auth/signup/complete.mjs +57 -0
- package/dist/astro/routes/api/auth/signup/complete.mjs.map +1 -0
- package/dist/astro/routes/api/auth/signup/request.d.mts +8 -0
- package/dist/astro/routes/api/auth/signup/request.d.mts.map +1 -0
- package/dist/astro/routes/api/auth/signup/request.mjs +46 -0
- package/dist/astro/routes/api/auth/signup/request.mjs.map +1 -0
- package/dist/astro/routes/api/auth/signup/verify.d.mts +8 -0
- package/dist/astro/routes/api/auth/signup/verify.d.mts.map +1 -0
- package/dist/astro/routes/api/auth/signup/verify.mjs +35 -0
- package/dist/astro/routes/api/auth/signup/verify.mjs.map +1 -0
- package/dist/astro/routes/api/comments/_collection_/_contentId_/index.d.mts +15 -0
- package/dist/astro/routes/api/comments/_collection_/_contentId_/index.d.mts.map +1 -0
- package/dist/astro/routes/api/comments/_collection_/_contentId_/index.mjs +193 -0
- package/dist/astro/routes/api/comments/_collection_/_contentId_/index.mjs.map +1 -0
- package/dist/astro/routes/api/content/_collection_/_id_/compare.d.mts +8 -0
- package/dist/astro/routes/api/content/_collection_/_id_/compare.d.mts.map +1 -0
- package/dist/astro/routes/api/content/_collection_/_id_/compare.mjs +20 -0
- package/dist/astro/routes/api/content/_collection_/_id_/compare.mjs.map +1 -0
- package/dist/astro/routes/api/content/_collection_/_id_/discard-draft.d.mts +8 -0
- package/dist/astro/routes/api/content/_collection_/_id_/discard-draft.d.mts.map +1 -0
- package/dist/astro/routes/api/content/_collection_/_id_/discard-draft.mjs +28 -0
- package/dist/astro/routes/api/content/_collection_/_id_/discard-draft.mjs.map +1 -0
- package/dist/astro/routes/api/content/_collection_/_id_/duplicate.d.mts +8 -0
- package/dist/astro/routes/api/content/_collection_/_id_/duplicate.d.mts.map +1 -0
- package/dist/astro/routes/api/content/_collection_/_id_/duplicate.mjs +30 -0
- package/dist/astro/routes/api/content/_collection_/_id_/duplicate.mjs.map +1 -0
- package/dist/astro/routes/api/content/_collection_/_id_/permanent.d.mts +8 -0
- package/dist/astro/routes/api/content/_collection_/_id_/permanent.d.mts.map +1 -0
- package/dist/astro/routes/api/content/_collection_/_id_/permanent.mjs +23 -0
- package/dist/astro/routes/api/content/_collection_/_id_/permanent.mjs.map +1 -0
- package/dist/astro/routes/api/content/_collection_/_id_/preview-url.d.mts +8 -0
- package/dist/astro/routes/api/content/_collection_/_id_/preview-url.d.mts.map +1 -0
- package/dist/astro/routes/api/content/_collection_/_id_/preview-url.mjs +78 -0
- package/dist/astro/routes/api/content/_collection_/_id_/preview-url.mjs.map +1 -0
- package/dist/astro/routes/api/content/_collection_/_id_/publish.d.mts +8 -0
- package/dist/astro/routes/api/content/_collection_/_id_/publish.d.mts.map +1 -0
- package/dist/astro/routes/api/content/_collection_/_id_/publish.mjs +48 -0
- package/dist/astro/routes/api/content/_collection_/_id_/publish.mjs.map +1 -0
- package/dist/astro/routes/api/content/_collection_/_id_/restore.d.mts +8 -0
- package/dist/astro/routes/api/content/_collection_/_id_/restore.d.mts.map +1 -0
- package/dist/astro/routes/api/content/_collection_/_id_/restore.mjs +28 -0
- package/dist/astro/routes/api/content/_collection_/_id_/restore.mjs.map +1 -0
- package/dist/astro/routes/api/content/_collection_/_id_/revisions.d.mts +8 -0
- package/dist/astro/routes/api/content/_collection_/_id_/revisions.d.mts.map +1 -0
- package/dist/astro/routes/api/content/_collection_/_id_/revisions.mjs +22 -0
- package/dist/astro/routes/api/content/_collection_/_id_/revisions.mjs.map +1 -0
- package/dist/astro/routes/api/content/_collection_/_id_/schedule.d.mts +9 -0
- package/dist/astro/routes/api/content/_collection_/_id_/schedule.d.mts.map +1 -0
- package/dist/astro/routes/api/content/_collection_/_id_/schedule.mjs +58 -0
- package/dist/astro/routes/api/content/_collection_/_id_/schedule.mjs.map +1 -0
- package/dist/astro/routes/api/content/_collection_/_id_/terms/_taxonomy_.d.mts +15 -0
- package/dist/astro/routes/api/content/_collection_/_id_/terms/_taxonomy_.d.mts.map +1 -0
- package/dist/astro/routes/api/content/_collection_/_id_/terms/_taxonomy_.mjs +85 -0
- package/dist/astro/routes/api/content/_collection_/_id_/terms/_taxonomy_.mjs.map +1 -0
- package/dist/astro/routes/api/content/_collection_/_id_/translations.d.mts +8 -0
- package/dist/astro/routes/api/content/_collection_/_id_/translations.d.mts.map +1 -0
- package/dist/astro/routes/api/content/_collection_/_id_/translations.mjs +43 -0
- package/dist/astro/routes/api/content/_collection_/_id_/translations.mjs.map +1 -0
- package/dist/astro/routes/api/content/_collection_/_id_/unpublish.d.mts +8 -0
- package/dist/astro/routes/api/content/_collection_/_id_/unpublish.d.mts.map +1 -0
- package/dist/astro/routes/api/content/_collection_/_id_/unpublish.mjs +28 -0
- package/dist/astro/routes/api/content/_collection_/_id_/unpublish.mjs.map +1 -0
- package/dist/astro/routes/api/content/_collection_/_id_.d.mts +10 -0
- package/dist/astro/routes/api/content/_collection_/_id_.d.mts.map +1 -0
- package/dist/astro/routes/api/content/_collection_/_id_.mjs +88 -0
- package/dist/astro/routes/api/content/_collection_/_id_.mjs.map +1 -0
- package/dist/astro/routes/api/content/_collection_/index.d.mts +9 -0
- package/dist/astro/routes/api/content/_collection_/index.d.mts.map +1 -0
- package/dist/astro/routes/api/content/_collection_/index.mjs +61 -0
- package/dist/astro/routes/api/content/_collection_/index.mjs.map +1 -0
- package/dist/astro/routes/api/content/_collection_/trash.d.mts +8 -0
- package/dist/astro/routes/api/content/_collection_/trash.d.mts.map +1 -0
- package/dist/astro/routes/api/content/_collection_/trash.mjs +25 -0
- package/dist/astro/routes/api/content/_collection_/trash.mjs.map +1 -0
- package/dist/astro/routes/api/dashboard.d.mts +8 -0
- package/dist/astro/routes/api/dashboard.d.mts.map +1 -0
- package/dist/astro/routes/api/dashboard.mjs +26 -0
- package/dist/astro/routes/api/dashboard.mjs.map +1 -0
- package/dist/astro/routes/api/dev/emails.d.mts +9 -0
- package/dist/astro/routes/api/dev/emails.d.mts.map +1 -0
- package/dist/astro/routes/api/dev/emails.mjs +20 -0
- package/dist/astro/routes/api/dev/emails.mjs.map +1 -0
- package/dist/astro/routes/api/import/probe.d.mts +18 -0
- package/dist/astro/routes/api/import/probe.d.mts.map +1 -0
- package/dist/astro/routes/api/import/probe.mjs +35 -0
- package/dist/astro/routes/api/import/probe.mjs.map +1 -0
- package/dist/astro/routes/api/import/wordpress/analyze.d.mts +88 -0
- package/dist/astro/routes/api/import/wordpress/analyze.d.mts.map +1 -0
- package/dist/astro/routes/api/import/wordpress/analyze.mjs +313 -0
- package/dist/astro/routes/api/import/wordpress/analyze.mjs.map +1 -0
- package/dist/astro/routes/api/import/wordpress/execute.d.mts +93 -0
- package/dist/astro/routes/api/import/wordpress/execute.d.mts.map +1 -0
- package/dist/astro/routes/api/import/wordpress/execute.mjs +593 -0
- package/dist/astro/routes/api/import/wordpress/execute.mjs.map +1 -0
- package/dist/astro/routes/api/import/wordpress/media.d.mts +36 -0
- package/dist/astro/routes/api/import/wordpress/media.d.mts.map +1 -0
- package/dist/astro/routes/api/import/wordpress/media.mjs +225 -0
- package/dist/astro/routes/api/import/wordpress/media.mjs.map +1 -0
- package/dist/astro/routes/api/import/wordpress/prepare.d.mts +20 -0
- package/dist/astro/routes/api/import/wordpress/prepare.d.mts.map +1 -0
- package/dist/astro/routes/api/import/wordpress/prepare.mjs +120 -0
- package/dist/astro/routes/api/import/wordpress/prepare.mjs.map +1 -0
- package/dist/astro/routes/api/import/wordpress/rewrite-url-helpers.d.mts +49 -0
- package/dist/astro/routes/api/import/wordpress/rewrite-url-helpers.d.mts.map +1 -0
- package/dist/astro/routes/api/import/wordpress/rewrite-url-helpers.mjs +131 -0
- package/dist/astro/routes/api/import/wordpress/rewrite-url-helpers.mjs.map +1 -0
- package/dist/astro/routes/api/import/wordpress/rewrite-urls.d.mts +22 -0
- package/dist/astro/routes/api/import/wordpress/rewrite-urls.d.mts.map +1 -0
- package/dist/astro/routes/api/import/wordpress/rewrite-urls.mjs +139 -0
- package/dist/astro/routes/api/import/wordpress/rewrite-urls.mjs.map +1 -0
- package/dist/astro/routes/api/import/wordpress-plugin/analyze.d.mts +16 -0
- package/dist/astro/routes/api/import/wordpress-plugin/analyze.d.mts.map +1 -0
- package/dist/astro/routes/api/import/wordpress-plugin/analyze.mjs +71 -0
- package/dist/astro/routes/api/import/wordpress-plugin/analyze.mjs.map +1 -0
- package/dist/astro/routes/api/import/wordpress-plugin/callback.d.mts +8 -0
- package/dist/astro/routes/api/import/wordpress-plugin/callback.d.mts.map +1 -0
- package/dist/astro/routes/api/import/wordpress-plugin/callback.mjs +29 -0
- package/dist/astro/routes/api/import/wordpress-plugin/callback.mjs.map +1 -0
- package/dist/astro/routes/api/import/wordpress-plugin/execute.d.mts +20 -0
- package/dist/astro/routes/api/import/wordpress-plugin/execute.d.mts.map +1 -0
- package/dist/astro/routes/api/import/wordpress-plugin/execute.mjs +219 -0
- package/dist/astro/routes/api/import/wordpress-plugin/execute.mjs.map +1 -0
- package/dist/astro/routes/api/manifest.d.mts +8 -0
- package/dist/astro/routes/api/manifest.d.mts.map +1 -0
- package/dist/astro/routes/api/manifest.mjs +47 -0
- package/dist/astro/routes/api/manifest.mjs.map +1 -0
- package/dist/astro/routes/api/mcp.d.mts +16 -0
- package/dist/astro/routes/api/mcp.d.mts.map +1 -0
- package/dist/astro/routes/api/mcp.mjs +1414 -0
- package/dist/astro/routes/api/mcp.mjs.map +1 -0
- package/dist/astro/routes/api/media/_id_/confirm.d.mts +11 -0
- package/dist/astro/routes/api/media/_id_/confirm.d.mts.map +1 -0
- package/dist/astro/routes/api/media/_id_/confirm.mjs +61 -0
- package/dist/astro/routes/api/media/_id_/confirm.mjs.map +1 -0
- package/dist/astro/routes/api/media/_id_.d.mts +23 -0
- package/dist/astro/routes/api/media/_id_.d.mts.map +1 -0
- package/dist/astro/routes/api/media/_id_.mjs +83 -0
- package/dist/astro/routes/api/media/_id_.mjs.map +1 -0
- package/dist/astro/routes/api/media/file/_...key_.d.mts +8 -0
- package/dist/astro/routes/api/media/file/_...key_.d.mts.map +1 -0
- package/dist/astro/routes/api/media/file/_...key_.mjs +52 -0
- package/dist/astro/routes/api/media/file/_...key_.mjs.map +1 -0
- package/dist/astro/routes/api/media/providers/_providerId_/_itemId_.d.mts +15 -0
- package/dist/astro/routes/api/media/providers/_providerId_/_itemId_.d.mts.map +1 -0
- package/dist/astro/routes/api/media/providers/_providerId_/_itemId_.mjs +52 -0
- package/dist/astro/routes/api/media/providers/_providerId_/_itemId_.mjs.map +1 -0
- package/dist/astro/routes/api/media/providers/_providerId_/index.d.mts +15 -0
- package/dist/astro/routes/api/media/providers/_providerId_/index.d.mts.map +1 -0
- package/dist/astro/routes/api/media/providers/_providerId_/index.mjs +75 -0
- package/dist/astro/routes/api/media/providers/_providerId_/index.mjs.map +1 -0
- package/dist/astro/routes/api/media/providers/index.d.mts +11 -0
- package/dist/astro/routes/api/media/providers/index.d.mts.map +1 -0
- package/dist/astro/routes/api/media/providers/index.mjs +21 -0
- package/dist/astro/routes/api/media/providers/index.mjs.map +1 -0
- package/dist/astro/routes/api/media/upload-url.d.mts +11 -0
- package/dist/astro/routes/api/media/upload-url.d.mts.map +1 -0
- package/dist/astro/routes/api/media/upload-url.mjs +82 -0
- package/dist/astro/routes/api/media/upload-url.mjs.map +1 -0
- package/dist/astro/routes/api/media.d.mts +17 -0
- package/dist/astro/routes/api/media.d.mts.map +1 -0
- package/dist/astro/routes/api/media.mjs +138 -0
- package/dist/astro/routes/api/media.mjs.map +1 -0
- package/dist/astro/routes/api/menus/_name_/items/_id_.d.mts +9 -0
- package/dist/astro/routes/api/menus/_name_/items/_id_.d.mts.map +1 -0
- package/dist/astro/routes/api/menus/_name_/items/_id_.mjs +48 -0
- package/dist/astro/routes/api/menus/_name_/items/_id_.mjs.map +1 -0
- package/dist/astro/routes/api/menus/_name_/items.d.mts +8 -0
- package/dist/astro/routes/api/menus/_name_/items.d.mts.map +1 -0
- package/dist/astro/routes/api/menus/_name_/items.mjs +31 -0
- package/dist/astro/routes/api/menus/_name_/items.mjs.map +1 -0
- package/dist/astro/routes/api/menus/_name_/reorder.d.mts +8 -0
- package/dist/astro/routes/api/menus/_name_/reorder.d.mts.map +1 -0
- package/dist/astro/routes/api/menus/_name_/reorder.mjs +31 -0
- package/dist/astro/routes/api/menus/_name_/reorder.mjs.map +1 -0
- package/dist/astro/routes/api/menus/_name_/translations.d.mts +9 -0
- package/dist/astro/routes/api/menus/_name_/translations.d.mts.map +1 -0
- package/dist/astro/routes/api/menus/_name_/translations.mjs +62 -0
- package/dist/astro/routes/api/menus/_name_/translations.mjs.map +1 -0
- package/dist/astro/routes/api/menus/_name_.d.mts +10 -0
- package/dist/astro/routes/api/menus/_name_.d.mts.map +1 -0
- package/dist/astro/routes/api/menus/_name_.mjs +60 -0
- package/dist/astro/routes/api/menus/_name_.mjs.map +1 -0
- package/dist/astro/routes/api/menus/index.d.mts +9 -0
- package/dist/astro/routes/api/menus/index.d.mts.map +1 -0
- package/dist/astro/routes/api/menus/index.mjs +40 -0
- package/dist/astro/routes/api/menus/index.mjs.map +1 -0
- package/dist/astro/routes/api/oauth/authorize.d.mts +9 -0
- package/dist/astro/routes/api/oauth/authorize.d.mts.map +1 -0
- package/dist/astro/routes/api/oauth/authorize.mjs +260 -0
- package/dist/astro/routes/api/oauth/authorize.mjs.map +1 -0
- package/dist/astro/routes/api/oauth/device/authorize.d.mts +8 -0
- package/dist/astro/routes/api/oauth/device/authorize.d.mts.map +1 -0
- package/dist/astro/routes/api/oauth/device/authorize.mjs +32 -0
- package/dist/astro/routes/api/oauth/device/authorize.mjs.map +1 -0
- package/dist/astro/routes/api/oauth/device/code.d.mts +8 -0
- package/dist/astro/routes/api/oauth/device/code.d.mts.map +1 -0
- package/dist/astro/routes/api/oauth/device/code.mjs +36 -0
- package/dist/astro/routes/api/oauth/device/code.mjs.map +1 -0
- package/dist/astro/routes/api/oauth/device/token.d.mts +8 -0
- package/dist/astro/routes/api/oauth/device/token.d.mts.map +1 -0
- package/dist/astro/routes/api/oauth/device/token.mjs +47 -0
- package/dist/astro/routes/api/oauth/device/token.mjs.map +1 -0
- package/dist/astro/routes/api/oauth/register.d.mts +9 -0
- package/dist/astro/routes/api/oauth/register.d.mts.map +1 -0
- package/dist/astro/routes/api/oauth/register.mjs +113 -0
- package/dist/astro/routes/api/oauth/register.mjs.map +1 -0
- package/dist/astro/routes/api/oauth/token/refresh.d.mts +8 -0
- package/dist/astro/routes/api/oauth/token/refresh.d.mts.map +1 -0
- package/dist/astro/routes/api/oauth/token/refresh.mjs +30 -0
- package/dist/astro/routes/api/oauth/token/refresh.mjs.map +1 -0
- package/dist/astro/routes/api/oauth/token/revoke.d.mts +8 -0
- package/dist/astro/routes/api/oauth/token/revoke.d.mts.map +1 -0
- package/dist/astro/routes/api/oauth/token/revoke.mjs +27 -0
- package/dist/astro/routes/api/oauth/token/revoke.mjs.map +1 -0
- package/dist/astro/routes/api/oauth/token.d.mts +9 -0
- package/dist/astro/routes/api/oauth/token.d.mts.map +1 -0
- package/dist/astro/routes/api/oauth/token.mjs +141 -0
- package/dist/astro/routes/api/oauth/token.mjs.map +1 -0
- package/dist/astro/routes/api/openapi.json.d.mts +8 -0
- package/dist/astro/routes/api/openapi.json.d.mts.map +1 -0
- package/dist/astro/routes/api/openapi.json.mjs +2642 -0
- package/dist/astro/routes/api/openapi.json.mjs.map +1 -0
- package/dist/astro/routes/api/plugins/_pluginId_/_...path_.d.mts +12 -0
- package/dist/astro/routes/api/plugins/_pluginId_/_...path_.d.mts.map +1 -0
- package/dist/astro/routes/api/plugins/_pluginId_/_...path_.mjs +78 -0
- package/dist/astro/routes/api/plugins/_pluginId_/_...path_.mjs.map +1 -0
- package/dist/astro/routes/api/redirects/404s/index.d.mts +10 -0
- package/dist/astro/routes/api/redirects/404s/index.d.mts.map +1 -0
- package/dist/astro/routes/api/redirects/404s/index.mjs +62 -0
- package/dist/astro/routes/api/redirects/404s/index.mjs.map +1 -0
- package/dist/astro/routes/api/redirects/404s/summary.d.mts +8 -0
- package/dist/astro/routes/api/redirects/404s/summary.d.mts.map +1 -0
- package/dist/astro/routes/api/redirects/404s/summary.mjs +34 -0
- package/dist/astro/routes/api/redirects/404s/summary.mjs.map +1 -0
- package/dist/astro/routes/api/redirects/_id_.d.mts +10 -0
- package/dist/astro/routes/api/redirects/_id_.d.mts.map +1 -0
- package/dist/astro/routes/api/redirects/_id_.mjs +71 -0
- package/dist/astro/routes/api/redirects/_id_.mjs.map +1 -0
- package/dist/astro/routes/api/redirects/index.d.mts +9 -0
- package/dist/astro/routes/api/redirects/index.d.mts.map +1 -0
- package/dist/astro/routes/api/redirects/index.mjs +52 -0
- package/dist/astro/routes/api/redirects/index.mjs.map +1 -0
- package/dist/astro/routes/api/revisions/_revisionId_/index.d.mts +8 -0
- package/dist/astro/routes/api/revisions/_revisionId_/index.d.mts.map +1 -0
- package/dist/astro/routes/api/revisions/_revisionId_/index.mjs +19 -0
- package/dist/astro/routes/api/revisions/_revisionId_/index.mjs.map +1 -0
- package/dist/astro/routes/api/revisions/_revisionId_/restore.d.mts +8 -0
- package/dist/astro/routes/api/revisions/_revisionId_/restore.d.mts.map +1 -0
- package/dist/astro/routes/api/revisions/_revisionId_/restore.mjs +26 -0
- package/dist/astro/routes/api/revisions/_revisionId_/restore.mjs.map +1 -0
- package/dist/astro/routes/api/schema/collections/_slug_/fields/_fieldSlug_.d.mts +10 -0
- package/dist/astro/routes/api/schema/collections/_slug_/fields/_fieldSlug_.d.mts.map +1 -0
- package/dist/astro/routes/api/schema/collections/_slug_/fields/_fieldSlug_.mjs +75 -0
- package/dist/astro/routes/api/schema/collections/_slug_/fields/_fieldSlug_.mjs.map +1 -0
- package/dist/astro/routes/api/schema/collections/_slug_/fields/index.d.mts +9 -0
- package/dist/astro/routes/api/schema/collections/_slug_/fields/index.d.mts.map +1 -0
- package/dist/astro/routes/api/schema/collections/_slug_/fields/index.mjs +63 -0
- package/dist/astro/routes/api/schema/collections/_slug_/fields/index.mjs.map +1 -0
- package/dist/astro/routes/api/schema/collections/_slug_/fields/reorder.d.mts +8 -0
- package/dist/astro/routes/api/schema/collections/_slug_/fields/reorder.d.mts.map +1 -0
- package/dist/astro/routes/api/schema/collections/_slug_/fields/reorder.mjs +54 -0
- package/dist/astro/routes/api/schema/collections/_slug_/fields/reorder.mjs.map +1 -0
- package/dist/astro/routes/api/schema/collections/_slug_/index.d.mts +10 -0
- package/dist/astro/routes/api/schema/collections/_slug_/index.d.mts.map +1 -0
- package/dist/astro/routes/api/schema/collections/_slug_/index.mjs +79 -0
- package/dist/astro/routes/api/schema/collections/_slug_/index.mjs.map +1 -0
- package/dist/astro/routes/api/schema/collections/index.d.mts +9 -0
- package/dist/astro/routes/api/schema/collections/index.d.mts.map +1 -0
- package/dist/astro/routes/api/schema/collections/index.mjs +63 -0
- package/dist/astro/routes/api/schema/collections/index.mjs.map +1 -0
- package/dist/astro/routes/api/schema/index.d.mts +8 -0
- package/dist/astro/routes/api/schema/index.d.mts.map +1 -0
- package/dist/astro/routes/api/schema/index.mjs +82 -0
- package/dist/astro/routes/api/schema/index.mjs.map +1 -0
- package/dist/astro/routes/api/schema/orphans/_slug_.d.mts +8 -0
- package/dist/astro/routes/api/schema/orphans/_slug_.d.mts.map +1 -0
- package/dist/astro/routes/api/schema/orphans/_slug_.mjs +55 -0
- package/dist/astro/routes/api/schema/orphans/_slug_.mjs.map +1 -0
- package/dist/astro/routes/api/schema/orphans/index.d.mts +8 -0
- package/dist/astro/routes/api/schema/orphans/index.d.mts.map +1 -0
- package/dist/astro/routes/api/schema/orphans/index.mjs +50 -0
- package/dist/astro/routes/api/schema/orphans/index.mjs.map +1 -0
- package/dist/astro/routes/api/search/enable.d.mts +16 -0
- package/dist/astro/routes/api/search/enable.d.mts.map +1 -0
- package/dist/astro/routes/api/search/enable.mjs +55 -0
- package/dist/astro/routes/api/search/enable.mjs.map +1 -0
- package/dist/astro/routes/api/search/index.d.mts +17 -0
- package/dist/astro/routes/api/search/index.d.mts.map +1 -0
- package/dist/astro/routes/api/search/index.mjs +52 -0
- package/dist/astro/routes/api/search/index.mjs.map +1 -0
- package/dist/astro/routes/api/search/rebuild.d.mts +14 -0
- package/dist/astro/routes/api/search/rebuild.d.mts.map +1 -0
- package/dist/astro/routes/api/search/rebuild.mjs +48 -0
- package/dist/astro/routes/api/search/rebuild.mjs.map +1 -0
- package/dist/astro/routes/api/search/stats.d.mts +11 -0
- package/dist/astro/routes/api/search/stats.d.mts.map +1 -0
- package/dist/astro/routes/api/search/stats.mjs +29 -0
- package/dist/astro/routes/api/search/stats.mjs.map +1 -0
- package/dist/astro/routes/api/search/suggest.d.mts +16 -0
- package/dist/astro/routes/api/search/suggest.d.mts.map +1 -0
- package/dist/astro/routes/api/search/suggest.mjs +43 -0
- package/dist/astro/routes/api/search/suggest.mjs.map +1 -0
- package/dist/astro/routes/api/sections/_slug_.d.mts +10 -0
- package/dist/astro/routes/api/sections/_slug_.d.mts.map +1 -0
- package/dist/astro/routes/api/sections/_slug_.mjs +65 -0
- package/dist/astro/routes/api/sections/_slug_.mjs.map +1 -0
- package/dist/astro/routes/api/sections/index.d.mts +9 -0
- package/dist/astro/routes/api/sections/index.d.mts.map +1 -0
- package/dist/astro/routes/api/sections/index.mjs +48 -0
- package/dist/astro/routes/api/sections/index.mjs.map +1 -0
- package/dist/astro/routes/api/settings/email.d.mts +18 -0
- package/dist/astro/routes/api/settings/email.d.mts.map +1 -0
- package/dist/astro/routes/api/settings/email.mjs +105 -0
- package/dist/astro/routes/api/settings/email.mjs.map +1 -0
- package/dist/astro/routes/api/settings.d.mts +21 -0
- package/dist/astro/routes/api/settings.d.mts.map +1 -0
- package/dist/astro/routes/api/settings.mjs +58 -0
- package/dist/astro/routes/api/settings.mjs.map +1 -0
- package/dist/astro/routes/api/setup/admin-verify.d.mts +8 -0
- package/dist/astro/routes/api/setup/admin-verify.d.mts.map +1 -0
- package/dist/astro/routes/api/setup/admin-verify.mjs +68 -0
- package/dist/astro/routes/api/setup/admin-verify.mjs.map +1 -0
- package/dist/astro/routes/api/setup/admin.d.mts +8 -0
- package/dist/astro/routes/api/setup/admin.d.mts.map +1 -0
- package/dist/astro/routes/api/setup/admin.mjs +69 -0
- package/dist/astro/routes/api/setup/admin.mjs.map +1 -0
- package/dist/astro/routes/api/setup/dev-bypass.d.mts +9 -0
- package/dist/astro/routes/api/setup/dev-bypass.d.mts.map +1 -0
- package/dist/astro/routes/api/setup/dev-bypass.mjs +139 -0
- package/dist/astro/routes/api/setup/dev-bypass.mjs.map +1 -0
- package/dist/astro/routes/api/setup/dev-reset.d.mts +8 -0
- package/dist/astro/routes/api/setup/dev-reset.d.mts.map +1 -0
- package/dist/astro/routes/api/setup/dev-reset.mjs +25 -0
- package/dist/astro/routes/api/setup/dev-reset.mjs.map +1 -0
- package/dist/astro/routes/api/setup/index.d.mts +8 -0
- package/dist/astro/routes/api/setup/index.d.mts.map +1 -0
- package/dist/astro/routes/api/setup/index.mjs +93 -0
- package/dist/astro/routes/api/setup/index.mjs.map +1 -0
- package/dist/astro/routes/api/setup/status.d.mts +8 -0
- package/dist/astro/routes/api/setup/status.d.mts.map +1 -0
- package/dist/astro/routes/api/setup/status.mjs +60 -0
- package/dist/astro/routes/api/setup/status.mjs.map +1 -0
- package/dist/astro/routes/api/snapshot.d.mts +8 -0
- package/dist/astro/routes/api/snapshot.d.mts.map +1 -0
- package/dist/astro/routes/api/snapshot.mjs +270 -0
- package/dist/astro/routes/api/snapshot.mjs.map +1 -0
- package/dist/astro/routes/api/taxonomies/_name_/terms/_slug_/translations.d.mts +9 -0
- package/dist/astro/routes/api/taxonomies/_name_/terms/_slug_/translations.d.mts.map +1 -0
- package/dist/astro/routes/api/taxonomies/_name_/terms/_slug_/translations.mjs +72 -0
- package/dist/astro/routes/api/taxonomies/_name_/terms/_slug_/translations.mjs.map +1 -0
- package/dist/astro/routes/api/taxonomies/_name_/terms/_slug_.d.mts +19 -0
- package/dist/astro/routes/api/taxonomies/_name_/terms/_slug_.d.mts.map +1 -0
- package/dist/astro/routes/api/taxonomies/_name_/terms/_slug_.mjs +80 -0
- package/dist/astro/routes/api/taxonomies/_name_/terms/_slug_.mjs.map +1 -0
- package/dist/astro/routes/api/taxonomies/_name_/terms/index.d.mts +15 -0
- package/dist/astro/routes/api/taxonomies/_name_/terms/index.d.mts.map +1 -0
- package/dist/astro/routes/api/taxonomies/_name_/terms/index.mjs +59 -0
- package/dist/astro/routes/api/taxonomies/_name_/terms/index.mjs.map +1 -0
- package/dist/astro/routes/api/taxonomies/index.d.mts +15 -0
- package/dist/astro/routes/api/taxonomies/index.d.mts.map +1 -0
- package/dist/astro/routes/api/taxonomies/index.mjs +55 -0
- package/dist/astro/routes/api/taxonomies/index.mjs.map +1 -0
- package/dist/astro/routes/api/themes/preview.d.mts +8 -0
- package/dist/astro/routes/api/themes/preview.d.mts.map +1 -0
- package/dist/astro/routes/api/themes/preview.mjs +49 -0
- package/dist/astro/routes/api/themes/preview.mjs.map +1 -0
- package/dist/astro/routes/api/typegen.d.mts +18 -0
- package/dist/astro/routes/api/typegen.d.mts.map +1 -0
- package/dist/astro/routes/api/typegen.mjs +78 -0
- package/dist/astro/routes/api/typegen.mjs.map +1 -0
- package/dist/astro/routes/api/well-known/auth.d.mts +8 -0
- package/dist/astro/routes/api/well-known/auth.d.mts.map +1 -0
- package/dist/astro/routes/api/well-known/auth.mjs +42 -0
- package/dist/astro/routes/api/well-known/auth.mjs.map +1 -0
- package/dist/astro/routes/api/well-known/oauth-authorization-server.d.mts +8 -0
- package/dist/astro/routes/api/well-known/oauth-authorization-server.d.mts.map +1 -0
- package/dist/astro/routes/api/well-known/oauth-authorization-server.mjs +32 -0
- package/dist/astro/routes/api/well-known/oauth-authorization-server.mjs.map +1 -0
- package/dist/astro/routes/api/well-known/oauth-protected-resource.d.mts +8 -0
- package/dist/astro/routes/api/well-known/oauth-protected-resource.d.mts.map +1 -0
- package/dist/astro/routes/api/well-known/oauth-protected-resource.mjs +21 -0
- package/dist/astro/routes/api/well-known/oauth-protected-resource.mjs.map +1 -0
- package/dist/astro/routes/api/widget-areas/_name_/reorder.d.mts +8 -0
- package/dist/astro/routes/api/widget-areas/_name_/reorder.d.mts.map +1 -0
- package/dist/astro/routes/api/widget-areas/_name_/reorder.mjs +36 -0
- package/dist/astro/routes/api/widget-areas/_name_/reorder.mjs.map +1 -0
- package/dist/astro/routes/api/widget-areas/_name_/widgets/_id_.d.mts +9 -0
- package/dist/astro/routes/api/widget-areas/_name_/widgets/_id_.d.mts.map +1 -0
- package/dist/astro/routes/api/widget-areas/_name_/widgets/_id_.mjs +62 -0
- package/dist/astro/routes/api/widget-areas/_name_/widgets/_id_.mjs.map +1 -0
- package/dist/astro/routes/api/widget-areas/_name_/widgets.d.mts +8 -0
- package/dist/astro/routes/api/widget-areas/_name_/widgets.d.mts.map +1 -0
- package/dist/astro/routes/api/widget-areas/_name_/widgets.mjs +49 -0
- package/dist/astro/routes/api/widget-areas/_name_/widgets.mjs.map +1 -0
- package/dist/astro/routes/api/widget-areas/_name_.d.mts +9 -0
- package/dist/astro/routes/api/widget-areas/_name_.d.mts.map +1 -0
- package/dist/astro/routes/api/widget-areas/_name_.mjs +49 -0
- package/dist/astro/routes/api/widget-areas/_name_.mjs.map +1 -0
- package/dist/astro/routes/api/widget-areas/index.d.mts +9 -0
- package/dist/astro/routes/api/widget-areas/index.d.mts.map +1 -0
- package/dist/astro/routes/api/widget-areas/index.mjs +59 -0
- package/dist/astro/routes/api/widget-areas/index.mjs.map +1 -0
- package/dist/astro/routes/api/widget-components.d.mts +8 -0
- package/dist/astro/routes/api/widget-components.d.mts.map +1 -0
- package/dist/astro/routes/api/widget-components.mjs +18 -0
- package/dist/astro/routes/api/widget-components.mjs.map +1 -0
- package/dist/astro/routes/robots.txt.d.mts +8 -0
- package/dist/astro/routes/robots.txt.d.mts.map +1 -0
- package/dist/astro/routes/robots.txt.mjs +61 -0
- package/dist/astro/routes/robots.txt.mjs.map +1 -0
- package/dist/astro/routes/sitemap-_collection_.xml.d.mts +8 -0
- package/dist/astro/routes/sitemap-_collection_.xml.d.mts.map +1 -0
- package/dist/astro/routes/sitemap-_collection_.xml.mjs +71 -0
- package/dist/astro/routes/sitemap-_collection_.xml.mjs.map +1 -0
- package/dist/astro/routes/sitemap.xml.d.mts +8 -0
- package/dist/astro/routes/sitemap.xml.d.mts.map +1 -0
- package/dist/astro/routes/sitemap.xml.mjs +64 -0
- package/dist/astro/routes/sitemap.xml.mjs.map +1 -0
- package/dist/astro/types.d.mts +48 -8
- package/dist/astro/types.d.mts.map +1 -1
- package/dist/auth/providers/github.d.mts +13 -0
- package/dist/auth/providers/github.d.mts.map +1 -0
- package/dist/auth/providers/github.mjs +18 -0
- package/dist/auth/providers/github.mjs.map +1 -0
- package/dist/auth/providers/google.d.mts +13 -0
- package/dist/auth/providers/google.d.mts.map +1 -0
- package/dist/auth/providers/google.mjs +18 -0
- package/dist/auth/providers/google.mjs.map +1 -0
- package/dist/authorize-BlyCH-96.mjs +37 -0
- package/dist/authorize-BlyCH-96.mjs.map +1 -0
- package/dist/{base64-MBPo9ozB.mjs → base64-CqR-7kqF.mjs} +1 -1
- package/dist/{base64-MBPo9ozB.mjs.map → base64-CqR-7kqF.mjs.map} +1 -1
- package/dist/{byline-gFn1r0vA.mjs → byline-D09BaS4j.mjs} +4 -4
- package/dist/{byline-gFn1r0vA.mjs.map → byline-D09BaS4j.mjs.map} +1 -1
- package/dist/{bylines-DTFI8nDM.mjs → bylines-BTM2xtP8.mjs} +6 -6
- package/dist/{bylines-DTFI8nDM.mjs.map → bylines-BTM2xtP8.mjs.map} +1 -1
- package/dist/bylines-C6eYUWlZ.d.mts +1971 -0
- package/dist/bylines-C6eYUWlZ.d.mts.map +1 -0
- package/dist/{cache-BAJbeoZ8.mjs → cache-CXCpjWiL.mjs} +3 -3
- package/dist/{cache-BAJbeoZ8.mjs.map → cache-CXCpjWiL.mjs.map} +1 -1
- package/dist/challenge-store-CJ0OOHOr.mjs +49 -0
- package/dist/challenge-store-CJ0OOHOr.mjs.map +1 -0
- package/dist/{chunks-BK1oZS-l.mjs → chunks-DyGtu1Bv.mjs} +2 -2
- package/dist/{chunks-BK1oZS-l.mjs.map → chunks-DyGtu1Bv.mjs.map} +1 -1
- package/dist/cli/index.mjs +23 -18
- package/dist/cli/index.mjs.map +1 -1
- package/dist/client/cf-access.d.mts +1 -1
- package/dist/client/index.d.mts +1 -1
- package/dist/client/index.d.mts.map +1 -1
- package/dist/client/index.mjs +2 -2
- package/dist/client/index.mjs.map +1 -1
- package/dist/comment-Dd9MI82-.mjs +247 -0
- package/dist/comment-Dd9MI82-.mjs.map +1 -0
- package/dist/comments-koGI0FrK.mjs +204 -0
- package/dist/comments-koGI0FrK.mjs.map +1 -0
- package/dist/components-mZem7pbe.mjs +108 -0
- package/dist/components-mZem7pbe.mjs.map +1 -0
- package/dist/{content-CERxPUN0.mjs → content-D6YG26WG.mjs} +10 -34
- package/dist/content-D6YG26WG.mjs.map +1 -0
- package/dist/context-qF8d3IPR.mjs +879 -0
- package/dist/context-qF8d3IPR.mjs.map +1 -0
- package/dist/cron-H8eJ46dv.mjs +264 -0
- package/dist/cron-H8eJ46dv.mjs.map +1 -0
- package/dist/dashboard-BmWSIUwY.mjs +105 -0
- package/dist/dashboard-BmWSIUwY.mjs.map +1 -0
- package/dist/db/index.d.mts +3 -3
- package/dist/db/index.mjs +1 -1
- package/dist/db/libsql.d.mts +1 -1
- package/dist/db/postgres.d.mts +1 -1
- package/dist/db/sqlite.d.mts +1 -1
- package/dist/{db-errors-B7P2pSCn.mjs → db-errors-CGN9kJfo.mjs} +1 -1
- package/dist/{db-errors-B7P2pSCn.mjs.map → db-errors-CGN9kJfo.mjs.map} +1 -1
- package/dist/{default-pHuz9WF6.mjs → default-Dbs22Gg4.mjs} +1 -1
- package/dist/{default-pHuz9WF6.mjs.map → default-Dbs22Gg4.mjs.map} +1 -1
- package/dist/device-flow-BqJRxa0Q.mjs +467 -0
- package/dist/device-flow-BqJRxa0Q.mjs.map +1 -0
- package/dist/email-console-Dmp5Q-P2.mjs +50 -0
- package/dist/email-console-Dmp5Q-P2.mjs.map +1 -0
- package/dist/error-tSQWIl5U.mjs +437 -0
- package/dist/error-tSQWIl5U.mjs.map +1 -0
- package/dist/escape-B8bdIryO.mjs +9 -0
- package/dist/escape-B8bdIryO.mjs.map +1 -0
- package/dist/fts-manager-B633C-kQ.mjs +339 -0
- package/dist/fts-manager-B633C-kQ.mjs.map +1 -0
- package/dist/hash-DlUxGhQS.mjs +33 -0
- package/dist/hash-DlUxGhQS.mjs.map +1 -0
- package/dist/import-CNfLOgDE.mjs +1531 -0
- package/dist/import-CNfLOgDE.mjs.map +1 -0
- package/dist/index-D2gvztOP.d.mts +262 -0
- package/dist/index-D2gvztOP.d.mts.map +1 -0
- package/dist/{index-Dlkzhb4C.d.mts → index-UmOMt9T-.d.mts} +310 -911
- package/dist/index-UmOMt9T-.d.mts.map +1 -0
- package/dist/index.d.mts +17 -11
- package/dist/index.mjs +57 -28
- package/dist/{load-DR1VwFXR.mjs → load-QzYRpVN3.mjs} +2 -2
- package/dist/{load-DR1VwFXR.mjs.map → load-QzYRpVN3.mjs.map} +1 -1
- package/dist/{loader-ou_PXAjg.mjs → loader-Cs6-Bqe6.mjs} +4 -4
- package/dist/{loader-ou_PXAjg.mjs.map → loader-Cs6-Bqe6.mjs.map} +1 -1
- package/dist/{manifest-schema-Bp6d4d4n.mjs → manifest-schema-HCtSh4Jq.mjs} +1 -1
- package/dist/{manifest-schema-Bp6d4d4n.mjs.map → manifest-schema-HCtSh4Jq.mjs.map} +1 -1
- package/dist/media/index.d.mts +1 -1
- package/dist/media/index.mjs +2 -1
- package/dist/media/index.mjs.map +1 -1
- package/dist/media/local-runtime.d.mts +11 -7
- package/dist/media/local-runtime.d.mts.map +1 -1
- package/dist/media/local-runtime.mjs +7 -6
- package/dist/media/local-runtime.mjs.map +1 -1
- package/dist/media-Dg7he9uK.mjs +209 -0
- package/dist/media-Dg7he9uK.mjs.map +1 -0
- package/dist/media-allowlist-B8EX01DH.mjs +32 -0
- package/dist/media-allowlist-B8EX01DH.mjs.map +1 -0
- package/dist/menus-DOzIecHi.mjs +723 -0
- package/dist/menus-DOzIecHi.mjs.map +1 -0
- package/dist/menus-X4Z-eBA1.mjs +2788 -0
- package/dist/menus-X4Z-eBA1.mjs.map +1 -0
- package/dist/mime-KV5TqkMN.mjs +36 -0
- package/dist/mime-KV5TqkMN.mjs.map +1 -0
- package/dist/{mode-YhqNVef_.mjs → mode-DPRPvJYm.mjs} +1 -1
- package/dist/{mode-YhqNVef_.mjs.map → mode-DPRPvJYm.mjs.map} +1 -1
- package/dist/normalize-CN5kRSMC.mjs +151 -0
- package/dist/normalize-CN5kRSMC.mjs.map +1 -0
- package/dist/oauth-authorization-62GmpGIH.mjs +275 -0
- package/dist/oauth-authorization-62GmpGIH.mjs.map +1 -0
- package/dist/oauth-clients-D_B0_-Bz.mjs +266 -0
- package/dist/oauth-clients-D_B0_-Bz.mjs.map +1 -0
- package/dist/oauth-state-store-DpsZViTu.mjs +49 -0
- package/dist/oauth-state-store-DpsZViTu.mjs.map +1 -0
- package/dist/oauth-user-lookup-meyS2oB1.mjs +26 -0
- package/dist/oauth-user-lookup-meyS2oB1.mjs.map +1 -0
- package/dist/{options-nPxWnrya.mjs → options-BL4X94qY.mjs} +1 -1
- package/dist/{options-nPxWnrya.mjs.map → options-BL4X94qY.mjs.map} +1 -1
- package/dist/options-Cq64Wx0O.d.mts +207 -0
- package/dist/options-Cq64Wx0O.d.mts.map +1 -0
- package/dist/page/index.d.mts +2 -2
- package/dist/parse-BFTPon-J.mjs +89 -0
- package/dist/parse-BFTPon-J.mjs.map +1 -0
- package/dist/passkey-config-Cg86_ISa.mjs +46 -0
- package/dist/passkey-config-Cg86_ISa.mjs.map +1 -0
- package/dist/{patterns-DsUZ4uxI.mjs → patterns-CqG5Ya3i.mjs} +54 -2
- package/dist/{patterns-DsUZ4uxI.mjs.map → patterns-CqG5Ya3i.mjs.map} +1 -1
- package/dist/{placeholder-CDPtkelt.d.mts → placeholder-D3cFCU9y.d.mts} +2 -1
- package/dist/{placeholder-CDPtkelt.d.mts.map → placeholder-D3cFCU9y.d.mts.map} +1 -1
- package/dist/placeholder-LqmHqvBw.mjs +143 -0
- package/dist/placeholder-LqmHqvBw.mjs.map +1 -0
- package/dist/plugin-types.d.mts +122 -0
- package/dist/plugin-types.d.mts.map +1 -0
- package/dist/plugin-types.mjs +1 -0
- package/dist/plugins/adapt-sandbox-entry.d.mts +20 -12
- package/dist/plugins/adapt-sandbox-entry.d.mts.map +1 -1
- package/dist/plugins/adapt-sandbox-entry.mjs +46 -23
- package/dist/plugins/adapt-sandbox-entry.mjs.map +1 -1
- package/dist/preview-C1LOEbWZ.mjs +107 -0
- package/dist/preview-C1LOEbWZ.mjs.map +1 -0
- package/dist/{public-url-B1AxbbbQ.mjs → public-url-CseXl9Fv.mjs} +39 -2
- package/dist/{public-url-B1AxbbbQ.mjs.map → public-url-CseXl9Fv.mjs.map} +1 -1
- package/dist/{query-yA3-rFji.mjs → query-axZmO6Tn.mjs} +12 -12
- package/dist/{query-yA3-rFji.mjs.map → query-axZmO6Tn.mjs.map} +1 -1
- package/dist/rate-limit-t5CVjCO6.mjs +120 -0
- package/dist/rate-limit-t5CVjCO6.mjs.map +1 -0
- package/dist/redirect-DGRsLO2I.mjs +17 -0
- package/dist/redirect-DGRsLO2I.mjs.map +1 -0
- package/dist/{redirect-C5H7VGIX.mjs → redirect-DkaDxq8e.mjs} +3 -3
- package/dist/{redirect-C5H7VGIX.mjs.map → redirect-DkaDxq8e.mjs.map} +1 -1
- package/dist/redirects-D1fdd68T.mjs +573 -0
- package/dist/redirects-D1fdd68T.mjs.map +1 -0
- package/dist/redirects-Dmj6KRU3.mjs +1141 -0
- package/dist/redirects-Dmj6KRU3.mjs.map +1 -0
- package/dist/{registry-Do34mz_P.mjs → registry-BnCeHYsf.mjs} +8 -300
- package/dist/registry-BnCeHYsf.mjs.map +1 -0
- package/dist/{request-cache-D4I69LeL.mjs → request-cache-dzCt8TZB.mjs} +1 -1
- package/dist/{request-cache-D4I69LeL.mjs.map → request-cache-dzCt8TZB.mjs.map} +1 -1
- package/dist/request-meta-CLCwSQOS.mjs +140 -0
- package/dist/request-meta-CLCwSQOS.mjs.map +1 -0
- package/dist/{runner-Iu3IZSDM.d.mts → runner-DcfZewkO.d.mts} +2 -2
- package/dist/{runner-Iu3IZSDM.d.mts.map → runner-DcfZewkO.d.mts.map} +1 -1
- package/dist/{runner-DIcU2UCC.mjs → runner-DdnQIwz_.mjs} +436 -187
- package/dist/runner-DdnQIwz_.mjs.map +1 -0
- package/dist/runtime.d.mts +10 -6
- package/dist/runtime.d.mts.map +1 -1
- package/dist/runtime.mjs +3 -3
- package/dist/schema-BmqagCwG.mjs +41 -0
- package/dist/schema-BmqagCwG.mjs.map +1 -0
- package/dist/search-CPrvO5u8.mjs +376 -0
- package/dist/search-CPrvO5u8.mjs.map +1 -0
- package/dist/{secrets-CZ8rxLX3.mjs → secrets-6pgZyq0K.mjs} +3 -3
- package/dist/{secrets-CZ8rxLX3.mjs.map → secrets-6pgZyq0K.mjs.map} +1 -1
- package/dist/sections-Cm-zb-gZ.mjs +346 -0
- package/dist/sections-Cm-zb-gZ.mjs.map +1 -0
- package/dist/seed/index.d.mts +2 -2
- package/dist/seed/index.mjs +19 -15
- package/dist/seo/index.d.mts +1 -1
- package/dist/seo-BoR4wCUh.mjs +86 -0
- package/dist/seo-BoR4wCUh.mjs.map +1 -0
- package/dist/seo-DRq9-EPP.mjs +130 -0
- package/dist/seo-DRq9-EPP.mjs.map +1 -0
- package/dist/service-vByySp-2.mjs +195 -0
- package/dist/service-vByySp-2.mjs.map +1 -0
- package/dist/settings-CBBj7HUd.mjs +51 -0
- package/dist/settings-CBBj7HUd.mjs.map +1 -0
- package/dist/settings-xQKsWnzQ.mjs +235 -0
- package/dist/settings-xQKsWnzQ.mjs.map +1 -0
- package/dist/setup-BGAJ2uXs.mjs +137 -0
- package/dist/setup-BGAJ2uXs.mjs.map +1 -0
- package/dist/setup-complete-C6ZCLhKo.mjs +26 -0
- package/dist/setup-complete-C6ZCLhKo.mjs.map +1 -0
- package/dist/setup-nonce-CY1gQiAU.mjs +25 -0
- package/dist/setup-nonce-CY1gQiAU.mjs.map +1 -0
- package/dist/site-url-D-M4Fd8O.mjs +13 -0
- package/dist/site-url-D-M4Fd8O.mjs.map +1 -0
- package/dist/slugify-Cjh1ssOZ.mjs +30 -0
- package/dist/slugify-Cjh1ssOZ.mjs.map +1 -0
- package/dist/ssrf-CTul4uQi.mjs +1 -0
- package/dist/ssrf-DzFN_qV-.mjs +332 -0
- package/dist/ssrf-DzFN_qV-.mjs.map +1 -0
- package/dist/storage/local.d.mts +1 -1
- package/dist/storage/local.mjs +1 -1
- package/dist/storage/s3.d.mts +1 -1
- package/dist/storage/s3.mjs +1 -1
- package/dist/{taxonomies-JmQQZiG1.mjs → taxonomies-Cn9UpaR2.mjs} +7 -7
- package/dist/{taxonomies-JmQQZiG1.mjs.map → taxonomies-Cn9UpaR2.mjs.map} +1 -1
- package/dist/taxonomies-Dc0mzlms.mjs +508 -0
- package/dist/taxonomies-Dc0mzlms.mjs.map +1 -0
- package/dist/{taxonomy-D6NvlKo8.mjs → taxonomy-wPfusMK9.mjs} +3 -3
- package/dist/{taxonomy-D6NvlKo8.mjs.map → taxonomy-wPfusMK9.mjs.map} +1 -1
- package/dist/{tokens-CyRDPVW2.mjs → tokens-DILYNZMi.mjs} +2 -2
- package/dist/{tokens-CyRDPVW2.mjs.map → tokens-DILYNZMi.mjs.map} +1 -1
- package/dist/{transaction-D44LBXvU.mjs → transaction-NQj4VJ7Z.mjs} +1 -1
- package/dist/{transaction-D44LBXvU.mjs.map → transaction-NQj4VJ7Z.mjs.map} +1 -1
- package/dist/{transport-DX_5rpsq.d.mts → transport-GeXlLscf.d.mts} +1 -1
- package/dist/{transport-DX_5rpsq.d.mts.map → transport-GeXlLscf.d.mts.map} +1 -1
- package/dist/{transport-xpzIjCIB.mjs → transport-fw-mKJzT.mjs} +1 -1
- package/dist/{transport-xpzIjCIB.mjs.map → transport-fw-mKJzT.mjs.map} +1 -1
- package/dist/trusted-proxy-CJhQIk65.mjs +51 -0
- package/dist/trusted-proxy-CJhQIk65.mjs.map +1 -0
- package/dist/{types-DgSc9Rpc.d.mts → types-B05e2naf.d.mts} +5 -59
- package/dist/types-B05e2naf.d.mts.map +1 -0
- package/dist/{types-B1gLSAH2.d.mts → types-BWhaSS7U.d.mts} +2 -75
- package/dist/types-BWhaSS7U.d.mts.map +1 -0
- package/dist/{types-BQx6ZXpR.d.mts → types-C1KKK4VP.d.mts} +3 -1
- package/dist/{types-BQx6ZXpR.d.mts.map → types-C1KKK4VP.d.mts.map} +1 -1
- package/dist/types-Cb2UCDJg.d.mts +345 -0
- package/dist/types-Cb2UCDJg.d.mts.map +1 -0
- package/dist/{types-BIgulNsW.mjs → types-CwXMEPRr.mjs} +10 -3
- package/dist/types-CwXMEPRr.mjs.map +1 -0
- package/dist/{types-B_CXXnzh.d.mts → types-CzvJd1ND.d.mts} +7 -1
- package/dist/{types-B_CXXnzh.d.mts.map → types-CzvJd1ND.d.mts.map} +1 -1
- package/dist/types-DFowNO60.d.mts +198 -0
- package/dist/types-DFowNO60.d.mts.map +1 -0
- package/dist/{types-56BKbld_.mjs → types-DSZl1Dsv.mjs} +1 -1
- package/dist/{types-56BKbld_.mjs.map → types-DSZl1Dsv.mjs.map} +1 -1
- package/dist/types-DW1l0gCv.d.mts +75 -0
- package/dist/types-DW1l0gCv.d.mts.map +1 -0
- package/dist/types-Db67HHlU.mjs +3 -0
- package/dist/{types-C-aFbqmA.d.mts → types-DmxPPXGf.d.mts} +1 -1
- package/dist/{types-C-aFbqmA.d.mts.map → types-DmxPPXGf.d.mts.map} +1 -1
- package/dist/{types-PafqtQuM.mjs → types-Dz9CGX_d.mjs} +1 -1
- package/dist/{types-PafqtQuM.mjs.map → types-Dz9CGX_d.mjs.map} +1 -1
- package/dist/user-Dr1bOCqS.mjs +155 -0
- package/dist/user-Dr1bOCqS.mjs.map +1 -0
- package/dist/utils-_F-rWBTN.mjs +286 -0
- package/dist/utils-_F-rWBTN.mjs.map +1 -0
- package/dist/{validate-BcC3m2O7.d.mts → validate-BpQGsmd7.d.mts} +5 -4
- package/dist/validate-BpQGsmd7.d.mts.map +1 -0
- package/dist/{validate-UK4Ja1uo.mjs → validate-DlFxcVVK.mjs} +3 -3
- package/dist/{validate-UK4Ja1uo.mjs.map → validate-DlFxcVVK.mjs.map} +1 -1
- package/dist/{validation-Vc5DQkJa.mjs → validation-BiFJqUp5.mjs} +6 -5
- package/dist/{validation-Vc5DQkJa.mjs.map → validation-BiFJqUp5.mjs.map} +1 -1
- package/dist/version-Dw7Z5PVU.mjs +7 -0
- package/dist/{version-BdP--J1g.mjs.map → version-Dw7Z5PVU.mjs.map} +1 -1
- package/dist/widgets-B9j_yzlk.mjs +106 -0
- package/dist/widgets-B9j_yzlk.mjs.map +1 -0
- package/dist/zod-generator-DSyz01KE.mjs +234 -0
- package/dist/zod-generator-DSyz01KE.mjs.map +1 -0
- package/locals.d.ts +1 -1
- package/package.json +37 -14
- package/src/api/handlers/content.ts +1 -0
- package/src/api/handlers/index.ts +7 -0
- package/src/api/handlers/marketplace.ts +27 -6
- package/src/api/handlers/menus.ts +157 -580
- package/src/api/handlers/plugins.ts +77 -31
- package/src/api/handlers/registry.ts +1086 -0
- package/src/api/openapi/document.ts +10 -4
- package/src/api/schemas/content.ts +1 -0
- package/src/api/schemas/menus.ts +27 -23
- package/src/api/types.ts +6 -0
- package/src/astro/integration/index.ts +1 -0
- package/src/astro/integration/route-naming.ts +19 -0
- package/src/astro/integration/routes.ts +25 -3
- package/src/astro/integration/runtime.ts +35 -8
- package/src/astro/middleware/auth.ts +8 -2
- package/src/astro/middleware/csp.ts +25 -3
- package/src/astro/middleware.ts +3 -0
- package/src/astro/routes/api/admin/plugins/[id]/enable.ts +10 -0
- package/src/astro/routes/api/admin/plugins/registry/install.ts +107 -0
- package/src/astro/routes/api/auth/invite/register-options.ts +8 -1
- package/src/astro/routes/api/import/wordpress/execute.ts +185 -6
- package/src/astro/routes/api/menus/[name]/items/[id].ts +69 -0
- package/src/astro/routes/api/menus/[name]/items.ts +4 -65
- package/src/astro/types.ts +38 -0
- package/src/cli/wxr/parser.ts +263 -0
- package/src/client/index.ts +2 -1
- package/src/database/migrations/036_i18n_menus_and_taxonomies.ts +166 -49
- package/src/database/migrations/038_registry_plugin_state.ts +130 -0
- package/src/database/migrations/039_fix_fts5_triggers.ts +264 -0
- package/src/database/migrations/runner.ts +4 -0
- package/src/database/repositories/content.ts +5 -1
- package/src/database/repositories/index.ts +14 -0
- package/src/database/repositories/menu.ts +644 -0
- package/src/database/repositories/types.ts +6 -0
- package/src/database/types.ts +5 -1
- package/src/emdash-runtime.ts +122 -34
- package/src/import/sources/wordpress-plugin.ts +9 -2
- package/src/import/sources/wxr.ts +16 -2
- package/src/import/ssrf.ts +20 -500
- package/src/import/wxr-taxonomies.ts +730 -0
- package/src/index.ts +3 -10
- package/src/media/normalize.ts +37 -4
- package/src/plugin-types.ts +240 -0
- package/src/plugins/adapt-sandbox-entry.ts +115 -39
- package/src/plugins/define-plugin.ts +34 -56
- package/src/plugins/index.ts +1 -9
- package/src/plugins/marketplace.ts +63 -4
- package/src/plugins/sandbox/index.ts +1 -1
- package/src/plugins/sandbox/noop.ts +2 -2
- package/src/plugins/sandbox/types.ts +7 -4
- package/src/plugins/state.ts +84 -38
- package/src/plugins/types.ts +2 -79
- package/src/registry/config.ts +311 -0
- package/src/registry/plugin-id.ts +116 -0
- package/src/registry/types.ts +206 -0
- package/src/search/fts-manager.ts +77 -15
- package/src/security/ssrf.ts +501 -0
- package/dist/apply-C1ZORgcy.mjs.map +0 -1
- package/dist/content-CERxPUN0.mjs.map +0 -1
- package/dist/error-D6LuHLw9.mjs +0 -27
- package/dist/error-D6LuHLw9.mjs.map +0 -1
- package/dist/index-Dlkzhb4C.d.mts.map +0 -1
- package/dist/placeholder-Ci0RLeCk.mjs +0 -268
- package/dist/placeholder-Ci0RLeCk.mjs.map +0 -1
- package/dist/registry-Do34mz_P.mjs.map +0 -1
- package/dist/runner-DIcU2UCC.mjs.map +0 -1
- package/dist/search-n-ZCMfr3.mjs +0 -9914
- package/dist/search-n-ZCMfr3.mjs.map +0 -1
- package/dist/settings-nTXPRi3D.mjs +0 -440
- package/dist/settings-nTXPRi3D.mjs.map +0 -1
- package/dist/types-B1gLSAH2.d.mts.map +0 -1
- package/dist/types-BIgulNsW.mjs.map +0 -1
- package/dist/types-Cug_RO3W.mjs +0 -16
- package/dist/types-Cug_RO3W.mjs.map +0 -1
- package/dist/types-DgSc9Rpc.d.mts.map +0 -1
- package/dist/validate-BcC3m2O7.d.mts.map +0 -1
- package/dist/version-BdP--J1g.mjs +0 -7
- package/dist/zod-generator-CHnJUP2l.mjs +0 -137
- package/dist/zod-generator-CHnJUP2l.mjs.map +0 -1
|
@@ -0,0 +1,1971 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/api/schemas/common.d.ts
|
|
4
|
+
/** Valid role level values */
|
|
5
|
+
declare const VALID_ROLE_LEVELS: Set<number>;
|
|
6
|
+
/** Role level — coerces string/number to valid RoleLevel (10|20|30|40|50) */
|
|
7
|
+
declare const roleLevel: z.ZodCoercedNumber<unknown> & z.ZodType<50 | 10 | 20 | 30 | 40, unknown, z.core.$ZodTypeInternals<50 | 10 | 20 | 30 | 40, unknown>>;
|
|
8
|
+
/** Pagination query params — cursor-based */
|
|
9
|
+
declare const cursorPaginationQuery: z.ZodObject<{
|
|
10
|
+
cursor: z.ZodOptional<z.ZodString>;
|
|
11
|
+
limit: z.ZodDefault<z.ZodOptional<z.ZodCoercedNumber<unknown>>>;
|
|
12
|
+
}, z.core.$strip>;
|
|
13
|
+
/** Pagination query params — offset-based */
|
|
14
|
+
declare const offsetPaginationQuery: z.ZodObject<{
|
|
15
|
+
limit: z.ZodDefault<z.ZodOptional<z.ZodCoercedNumber<unknown>>>;
|
|
16
|
+
offset: z.ZodDefault<z.ZodOptional<z.ZodCoercedNumber<unknown>>>;
|
|
17
|
+
}, z.core.$strip>;
|
|
18
|
+
/** Slug pattern: lowercase letters, digits, underscores; starts with letter */
|
|
19
|
+
declare const slugPattern: RegExp;
|
|
20
|
+
/** Validates that a URL string uses http or https scheme. Rejects javascript:/data: URI XSS vectors. */
|
|
21
|
+
declare const httpUrl: z.ZodString;
|
|
22
|
+
/** BCP 47 locale code — language with optional script/region subtags (e.g. en, en-US, pt-BR, es-419, zh-Hant) */
|
|
23
|
+
declare const localeCode: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
|
|
24
|
+
/** Shared `?locale=xx` query shape for endpoints that filter by locale. */
|
|
25
|
+
declare const localeFilterQuery: z.ZodObject<{
|
|
26
|
+
locale: z.ZodOptional<z.ZodString>;
|
|
27
|
+
}, z.core.$strip>;
|
|
28
|
+
/** Standard API error response */
|
|
29
|
+
declare const apiErrorSchema: z.ZodObject<{
|
|
30
|
+
error: z.ZodObject<{
|
|
31
|
+
code: z.ZodString;
|
|
32
|
+
message: z.ZodString;
|
|
33
|
+
}, z.core.$strip>;
|
|
34
|
+
}, z.core.$strip>;
|
|
35
|
+
/** Wrap a data schema in the standard success envelope: { data: T } */
|
|
36
|
+
declare function successEnvelope<T extends z.ZodType>(dataSchema: T): z.ZodObject<{
|
|
37
|
+
data: T;
|
|
38
|
+
}, z.core.$strip>;
|
|
39
|
+
/** Standard delete response */
|
|
40
|
+
declare const deleteResponseSchema: z.ZodObject<{
|
|
41
|
+
deleted: z.ZodLiteral<true>;
|
|
42
|
+
}, z.core.$strip>;
|
|
43
|
+
/** Standard count response */
|
|
44
|
+
declare const countResponseSchema: z.ZodObject<{
|
|
45
|
+
count: z.ZodNumber;
|
|
46
|
+
}, z.core.$strip>;
|
|
47
|
+
//#endregion
|
|
48
|
+
//#region src/api/schemas/content.d.ts
|
|
49
|
+
/** SEO input — per-content meta fields */
|
|
50
|
+
declare const contentSeoInput: z.ZodObject<{
|
|
51
|
+
title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
52
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
53
|
+
image: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
54
|
+
canonical: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
55
|
+
noIndex: z.ZodOptional<z.ZodBoolean>;
|
|
56
|
+
}, z.core.$strip>;
|
|
57
|
+
declare const contentListQuery: z.ZodObject<{
|
|
58
|
+
cursor: z.ZodOptional<z.ZodString>;
|
|
59
|
+
limit: z.ZodDefault<z.ZodOptional<z.ZodCoercedNumber<unknown>>>;
|
|
60
|
+
status: z.ZodOptional<z.ZodString>;
|
|
61
|
+
orderBy: z.ZodOptional<z.ZodString>;
|
|
62
|
+
order: z.ZodOptional<z.ZodEnum<{
|
|
63
|
+
asc: "asc";
|
|
64
|
+
desc: "desc";
|
|
65
|
+
}>>;
|
|
66
|
+
locale: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>>;
|
|
67
|
+
}, z.core.$strip>;
|
|
68
|
+
declare const contentCreateBody: z.ZodObject<{
|
|
69
|
+
data: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
70
|
+
slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
71
|
+
status: z.ZodOptional<z.ZodEnum<{
|
|
72
|
+
draft: "draft";
|
|
73
|
+
}>>;
|
|
74
|
+
bylines: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
75
|
+
bylineId: z.ZodString;
|
|
76
|
+
roleLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
77
|
+
}, z.core.$strip>>>;
|
|
78
|
+
locale: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>>;
|
|
79
|
+
translationOf: z.ZodOptional<z.ZodString>;
|
|
80
|
+
seo: z.ZodOptional<z.ZodObject<{
|
|
81
|
+
title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
82
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
83
|
+
image: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
84
|
+
canonical: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
85
|
+
noIndex: z.ZodOptional<z.ZodBoolean>;
|
|
86
|
+
}, z.core.$strip>>;
|
|
87
|
+
publishedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
88
|
+
createdAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
89
|
+
}, z.core.$strip>;
|
|
90
|
+
declare const contentUpdateBody: z.ZodObject<{
|
|
91
|
+
data: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
92
|
+
slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
93
|
+
status: z.ZodOptional<z.ZodEnum<{
|
|
94
|
+
draft: "draft";
|
|
95
|
+
}>>;
|
|
96
|
+
authorId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
97
|
+
bylines: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
98
|
+
bylineId: z.ZodString;
|
|
99
|
+
roleLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
100
|
+
}, z.core.$strip>>>;
|
|
101
|
+
_rev: z.ZodOptional<z.ZodString>;
|
|
102
|
+
skipRevision: z.ZodOptional<z.ZodBoolean>;
|
|
103
|
+
seo: z.ZodOptional<z.ZodObject<{
|
|
104
|
+
title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
105
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
106
|
+
image: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
107
|
+
canonical: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
108
|
+
noIndex: z.ZodOptional<z.ZodBoolean>;
|
|
109
|
+
}, z.core.$strip>>;
|
|
110
|
+
publishedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
111
|
+
}, z.core.$strip>;
|
|
112
|
+
declare const contentScheduleBody: z.ZodObject<{
|
|
113
|
+
scheduledAt: z.ZodString;
|
|
114
|
+
}, z.core.$strip>;
|
|
115
|
+
declare const contentPublishBody: z.ZodObject<{
|
|
116
|
+
publishedAt: z.ZodOptional<z.ZodISODateTime>;
|
|
117
|
+
}, z.core.$strip>;
|
|
118
|
+
declare const contentPreviewUrlBody: z.ZodObject<{
|
|
119
|
+
expiresIn: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
|
|
120
|
+
pathPattern: z.ZodOptional<z.ZodString>;
|
|
121
|
+
}, z.core.$strip>;
|
|
122
|
+
declare const contentTermsBody: z.ZodObject<{
|
|
123
|
+
termIds: z.ZodArray<z.ZodString>;
|
|
124
|
+
}, z.core.$strip>;
|
|
125
|
+
declare const contentTrashQuery: z.ZodObject<{
|
|
126
|
+
cursor: z.ZodOptional<z.ZodString>;
|
|
127
|
+
limit: z.ZodDefault<z.ZodOptional<z.ZodCoercedNumber<unknown>>>;
|
|
128
|
+
}, z.core.$strip>;
|
|
129
|
+
/** SEO metadata on a content item */
|
|
130
|
+
declare const contentSeoSchema: z.ZodObject<{
|
|
131
|
+
title: z.ZodNullable<z.ZodString>;
|
|
132
|
+
description: z.ZodNullable<z.ZodString>;
|
|
133
|
+
image: z.ZodNullable<z.ZodString>;
|
|
134
|
+
canonical: z.ZodNullable<z.ZodString>;
|
|
135
|
+
noIndex: z.ZodBoolean;
|
|
136
|
+
}, z.core.$strip>;
|
|
137
|
+
/** A single content item as returned by the API */
|
|
138
|
+
declare const contentItemSchema: z.ZodObject<{
|
|
139
|
+
id: z.ZodString;
|
|
140
|
+
type: z.ZodString;
|
|
141
|
+
slug: z.ZodNullable<z.ZodString>;
|
|
142
|
+
status: z.ZodString;
|
|
143
|
+
data: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
144
|
+
authorId: z.ZodNullable<z.ZodString>;
|
|
145
|
+
primaryBylineId: z.ZodNullable<z.ZodString>;
|
|
146
|
+
byline: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
147
|
+
id: z.ZodString;
|
|
148
|
+
slug: z.ZodString;
|
|
149
|
+
displayName: z.ZodString;
|
|
150
|
+
bio: z.ZodNullable<z.ZodString>;
|
|
151
|
+
avatarMediaId: z.ZodNullable<z.ZodString>;
|
|
152
|
+
websiteUrl: z.ZodNullable<z.ZodString>;
|
|
153
|
+
userId: z.ZodNullable<z.ZodString>;
|
|
154
|
+
isGuest: z.ZodBoolean;
|
|
155
|
+
createdAt: z.ZodString;
|
|
156
|
+
updatedAt: z.ZodString;
|
|
157
|
+
}, z.core.$strip>>>;
|
|
158
|
+
bylines: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
159
|
+
byline: z.ZodObject<{
|
|
160
|
+
id: z.ZodString;
|
|
161
|
+
slug: z.ZodString;
|
|
162
|
+
displayName: z.ZodString;
|
|
163
|
+
bio: z.ZodNullable<z.ZodString>;
|
|
164
|
+
avatarMediaId: z.ZodNullable<z.ZodString>;
|
|
165
|
+
websiteUrl: z.ZodNullable<z.ZodString>;
|
|
166
|
+
userId: z.ZodNullable<z.ZodString>;
|
|
167
|
+
isGuest: z.ZodBoolean;
|
|
168
|
+
createdAt: z.ZodString;
|
|
169
|
+
updatedAt: z.ZodString;
|
|
170
|
+
}, z.core.$strip>;
|
|
171
|
+
sortOrder: z.ZodNumber;
|
|
172
|
+
roleLabel: z.ZodNullable<z.ZodString>;
|
|
173
|
+
source: z.ZodOptional<z.ZodEnum<{
|
|
174
|
+
explicit: "explicit";
|
|
175
|
+
inferred: "inferred";
|
|
176
|
+
}>>;
|
|
177
|
+
}, z.core.$strip>>>;
|
|
178
|
+
createdAt: z.ZodString;
|
|
179
|
+
updatedAt: z.ZodString;
|
|
180
|
+
publishedAt: z.ZodNullable<z.ZodString>;
|
|
181
|
+
scheduledAt: z.ZodNullable<z.ZodString>;
|
|
182
|
+
liveRevisionId: z.ZodNullable<z.ZodString>;
|
|
183
|
+
draftRevisionId: z.ZodNullable<z.ZodString>;
|
|
184
|
+
version: z.ZodNumber;
|
|
185
|
+
locale: z.ZodNullable<z.ZodString>;
|
|
186
|
+
translationGroup: z.ZodNullable<z.ZodString>;
|
|
187
|
+
seo: z.ZodOptional<z.ZodObject<{
|
|
188
|
+
title: z.ZodNullable<z.ZodString>;
|
|
189
|
+
description: z.ZodNullable<z.ZodString>;
|
|
190
|
+
image: z.ZodNullable<z.ZodString>;
|
|
191
|
+
canonical: z.ZodNullable<z.ZodString>;
|
|
192
|
+
noIndex: z.ZodBoolean;
|
|
193
|
+
}, z.core.$strip>>;
|
|
194
|
+
}, z.core.$strip>;
|
|
195
|
+
/** Response for single content item endpoints (get, create, update) */
|
|
196
|
+
declare const contentResponseSchema: z.ZodObject<{
|
|
197
|
+
item: z.ZodObject<{
|
|
198
|
+
id: z.ZodString;
|
|
199
|
+
type: z.ZodString;
|
|
200
|
+
slug: z.ZodNullable<z.ZodString>;
|
|
201
|
+
status: z.ZodString;
|
|
202
|
+
data: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
203
|
+
authorId: z.ZodNullable<z.ZodString>;
|
|
204
|
+
primaryBylineId: z.ZodNullable<z.ZodString>;
|
|
205
|
+
byline: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
206
|
+
id: z.ZodString;
|
|
207
|
+
slug: z.ZodString;
|
|
208
|
+
displayName: z.ZodString;
|
|
209
|
+
bio: z.ZodNullable<z.ZodString>;
|
|
210
|
+
avatarMediaId: z.ZodNullable<z.ZodString>;
|
|
211
|
+
websiteUrl: z.ZodNullable<z.ZodString>;
|
|
212
|
+
userId: z.ZodNullable<z.ZodString>;
|
|
213
|
+
isGuest: z.ZodBoolean;
|
|
214
|
+
createdAt: z.ZodString;
|
|
215
|
+
updatedAt: z.ZodString;
|
|
216
|
+
}, z.core.$strip>>>;
|
|
217
|
+
bylines: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
218
|
+
byline: z.ZodObject<{
|
|
219
|
+
id: z.ZodString;
|
|
220
|
+
slug: z.ZodString;
|
|
221
|
+
displayName: z.ZodString;
|
|
222
|
+
bio: z.ZodNullable<z.ZodString>;
|
|
223
|
+
avatarMediaId: z.ZodNullable<z.ZodString>;
|
|
224
|
+
websiteUrl: z.ZodNullable<z.ZodString>;
|
|
225
|
+
userId: z.ZodNullable<z.ZodString>;
|
|
226
|
+
isGuest: z.ZodBoolean;
|
|
227
|
+
createdAt: z.ZodString;
|
|
228
|
+
updatedAt: z.ZodString;
|
|
229
|
+
}, z.core.$strip>;
|
|
230
|
+
sortOrder: z.ZodNumber;
|
|
231
|
+
roleLabel: z.ZodNullable<z.ZodString>;
|
|
232
|
+
source: z.ZodOptional<z.ZodEnum<{
|
|
233
|
+
explicit: "explicit";
|
|
234
|
+
inferred: "inferred";
|
|
235
|
+
}>>;
|
|
236
|
+
}, z.core.$strip>>>;
|
|
237
|
+
createdAt: z.ZodString;
|
|
238
|
+
updatedAt: z.ZodString;
|
|
239
|
+
publishedAt: z.ZodNullable<z.ZodString>;
|
|
240
|
+
scheduledAt: z.ZodNullable<z.ZodString>;
|
|
241
|
+
liveRevisionId: z.ZodNullable<z.ZodString>;
|
|
242
|
+
draftRevisionId: z.ZodNullable<z.ZodString>;
|
|
243
|
+
version: z.ZodNumber;
|
|
244
|
+
locale: z.ZodNullable<z.ZodString>;
|
|
245
|
+
translationGroup: z.ZodNullable<z.ZodString>;
|
|
246
|
+
seo: z.ZodOptional<z.ZodObject<{
|
|
247
|
+
title: z.ZodNullable<z.ZodString>;
|
|
248
|
+
description: z.ZodNullable<z.ZodString>;
|
|
249
|
+
image: z.ZodNullable<z.ZodString>;
|
|
250
|
+
canonical: z.ZodNullable<z.ZodString>;
|
|
251
|
+
noIndex: z.ZodBoolean;
|
|
252
|
+
}, z.core.$strip>>;
|
|
253
|
+
}, z.core.$strip>;
|
|
254
|
+
_rev: z.ZodOptional<z.ZodString>;
|
|
255
|
+
}, z.core.$strip>;
|
|
256
|
+
/** Response for content list endpoints */
|
|
257
|
+
declare const contentListResponseSchema: z.ZodObject<{
|
|
258
|
+
items: z.ZodArray<z.ZodObject<{
|
|
259
|
+
id: z.ZodString;
|
|
260
|
+
type: z.ZodString;
|
|
261
|
+
slug: z.ZodNullable<z.ZodString>;
|
|
262
|
+
status: z.ZodString;
|
|
263
|
+
data: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
264
|
+
authorId: z.ZodNullable<z.ZodString>;
|
|
265
|
+
primaryBylineId: z.ZodNullable<z.ZodString>;
|
|
266
|
+
byline: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
267
|
+
id: z.ZodString;
|
|
268
|
+
slug: z.ZodString;
|
|
269
|
+
displayName: z.ZodString;
|
|
270
|
+
bio: z.ZodNullable<z.ZodString>;
|
|
271
|
+
avatarMediaId: z.ZodNullable<z.ZodString>;
|
|
272
|
+
websiteUrl: z.ZodNullable<z.ZodString>;
|
|
273
|
+
userId: z.ZodNullable<z.ZodString>;
|
|
274
|
+
isGuest: z.ZodBoolean;
|
|
275
|
+
createdAt: z.ZodString;
|
|
276
|
+
updatedAt: z.ZodString;
|
|
277
|
+
}, z.core.$strip>>>;
|
|
278
|
+
bylines: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
279
|
+
byline: z.ZodObject<{
|
|
280
|
+
id: z.ZodString;
|
|
281
|
+
slug: z.ZodString;
|
|
282
|
+
displayName: z.ZodString;
|
|
283
|
+
bio: z.ZodNullable<z.ZodString>;
|
|
284
|
+
avatarMediaId: z.ZodNullable<z.ZodString>;
|
|
285
|
+
websiteUrl: z.ZodNullable<z.ZodString>;
|
|
286
|
+
userId: z.ZodNullable<z.ZodString>;
|
|
287
|
+
isGuest: z.ZodBoolean;
|
|
288
|
+
createdAt: z.ZodString;
|
|
289
|
+
updatedAt: z.ZodString;
|
|
290
|
+
}, z.core.$strip>;
|
|
291
|
+
sortOrder: z.ZodNumber;
|
|
292
|
+
roleLabel: z.ZodNullable<z.ZodString>;
|
|
293
|
+
source: z.ZodOptional<z.ZodEnum<{
|
|
294
|
+
explicit: "explicit";
|
|
295
|
+
inferred: "inferred";
|
|
296
|
+
}>>;
|
|
297
|
+
}, z.core.$strip>>>;
|
|
298
|
+
createdAt: z.ZodString;
|
|
299
|
+
updatedAt: z.ZodString;
|
|
300
|
+
publishedAt: z.ZodNullable<z.ZodString>;
|
|
301
|
+
scheduledAt: z.ZodNullable<z.ZodString>;
|
|
302
|
+
liveRevisionId: z.ZodNullable<z.ZodString>;
|
|
303
|
+
draftRevisionId: z.ZodNullable<z.ZodString>;
|
|
304
|
+
version: z.ZodNumber;
|
|
305
|
+
locale: z.ZodNullable<z.ZodString>;
|
|
306
|
+
translationGroup: z.ZodNullable<z.ZodString>;
|
|
307
|
+
seo: z.ZodOptional<z.ZodObject<{
|
|
308
|
+
title: z.ZodNullable<z.ZodString>;
|
|
309
|
+
description: z.ZodNullable<z.ZodString>;
|
|
310
|
+
image: z.ZodNullable<z.ZodString>;
|
|
311
|
+
canonical: z.ZodNullable<z.ZodString>;
|
|
312
|
+
noIndex: z.ZodBoolean;
|
|
313
|
+
}, z.core.$strip>>;
|
|
314
|
+
}, z.core.$strip>>;
|
|
315
|
+
nextCursor: z.ZodOptional<z.ZodString>;
|
|
316
|
+
total: z.ZodOptional<z.ZodNumber>;
|
|
317
|
+
}, z.core.$strip>;
|
|
318
|
+
/** Trashed content item */
|
|
319
|
+
declare const trashedContentItemSchema: z.ZodObject<{
|
|
320
|
+
id: z.ZodString;
|
|
321
|
+
type: z.ZodString;
|
|
322
|
+
slug: z.ZodNullable<z.ZodString>;
|
|
323
|
+
status: z.ZodString;
|
|
324
|
+
data: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
325
|
+
authorId: z.ZodNullable<z.ZodString>;
|
|
326
|
+
createdAt: z.ZodString;
|
|
327
|
+
updatedAt: z.ZodString;
|
|
328
|
+
publishedAt: z.ZodNullable<z.ZodString>;
|
|
329
|
+
deletedAt: z.ZodString;
|
|
330
|
+
}, z.core.$strip>;
|
|
331
|
+
/** Response for trashed content list */
|
|
332
|
+
declare const trashedContentListResponseSchema: z.ZodObject<{
|
|
333
|
+
items: z.ZodArray<z.ZodObject<{
|
|
334
|
+
id: z.ZodString;
|
|
335
|
+
type: z.ZodString;
|
|
336
|
+
slug: z.ZodNullable<z.ZodString>;
|
|
337
|
+
status: z.ZodString;
|
|
338
|
+
data: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
339
|
+
authorId: z.ZodNullable<z.ZodString>;
|
|
340
|
+
createdAt: z.ZodString;
|
|
341
|
+
updatedAt: z.ZodString;
|
|
342
|
+
publishedAt: z.ZodNullable<z.ZodString>;
|
|
343
|
+
deletedAt: z.ZodString;
|
|
344
|
+
}, z.core.$strip>>;
|
|
345
|
+
nextCursor: z.ZodOptional<z.ZodString>;
|
|
346
|
+
}, z.core.$strip>;
|
|
347
|
+
/** Response for content compare (live vs draft) */
|
|
348
|
+
declare const contentCompareResponseSchema: z.ZodObject<{
|
|
349
|
+
hasChanges: z.ZodBoolean;
|
|
350
|
+
live: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
351
|
+
draft: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
352
|
+
}, z.core.$strip>;
|
|
353
|
+
/** Translation summary for a content item */
|
|
354
|
+
declare const contentTranslationSchema: z.ZodObject<{
|
|
355
|
+
id: z.ZodString;
|
|
356
|
+
locale: z.ZodNullable<z.ZodString>;
|
|
357
|
+
slug: z.ZodNullable<z.ZodString>;
|
|
358
|
+
status: z.ZodString;
|
|
359
|
+
updatedAt: z.ZodString;
|
|
360
|
+
}, z.core.$strip>;
|
|
361
|
+
/** Response for content translations endpoint */
|
|
362
|
+
declare const contentTranslationsResponseSchema: z.ZodObject<{
|
|
363
|
+
translationGroup: z.ZodString;
|
|
364
|
+
translations: z.ZodArray<z.ZodObject<{
|
|
365
|
+
id: z.ZodString;
|
|
366
|
+
locale: z.ZodNullable<z.ZodString>;
|
|
367
|
+
slug: z.ZodNullable<z.ZodString>;
|
|
368
|
+
status: z.ZodString;
|
|
369
|
+
updatedAt: z.ZodString;
|
|
370
|
+
}, z.core.$strip>>;
|
|
371
|
+
}, z.core.$strip>;
|
|
372
|
+
//#endregion
|
|
373
|
+
//#region src/api/schemas/media.d.ts
|
|
374
|
+
declare const mediaListQuery: z.ZodObject<{
|
|
375
|
+
cursor: z.ZodOptional<z.ZodString>;
|
|
376
|
+
limit: z.ZodDefault<z.ZodOptional<z.ZodCoercedNumber<unknown>>>;
|
|
377
|
+
mimeType: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>, z.ZodTransform<string[], string | string[]>>>;
|
|
378
|
+
}, z.core.$strip>;
|
|
379
|
+
declare const mediaUpdateBody: z.ZodObject<{
|
|
380
|
+
alt: z.ZodOptional<z.ZodString>;
|
|
381
|
+
caption: z.ZodOptional<z.ZodString>;
|
|
382
|
+
width: z.ZodOptional<z.ZodNumber>;
|
|
383
|
+
height: z.ZodOptional<z.ZodNumber>;
|
|
384
|
+
}, z.core.$strip>;
|
|
385
|
+
/** Default maximum allowed file upload size (50 MB). */
|
|
386
|
+
declare const DEFAULT_MAX_UPLOAD_SIZE: number;
|
|
387
|
+
declare function formatFileSize(bytes: number): string;
|
|
388
|
+
declare function mediaUploadUrlBody(maxSize: number): z.ZodObject<{
|
|
389
|
+
filename: z.ZodString;
|
|
390
|
+
contentType: z.ZodString;
|
|
391
|
+
size: z.ZodNumber;
|
|
392
|
+
contentHash: z.ZodOptional<z.ZodString>;
|
|
393
|
+
fieldId: z.ZodOptional<z.ZodString>;
|
|
394
|
+
}, z.core.$strip>;
|
|
395
|
+
declare const mediaConfirmBody: z.ZodObject<{
|
|
396
|
+
size: z.ZodOptional<z.ZodNumber>;
|
|
397
|
+
width: z.ZodOptional<z.ZodNumber>;
|
|
398
|
+
height: z.ZodOptional<z.ZodNumber>;
|
|
399
|
+
}, z.core.$strip>;
|
|
400
|
+
declare const mediaProviderListQuery: z.ZodObject<{
|
|
401
|
+
cursor: z.ZodOptional<z.ZodString>;
|
|
402
|
+
limit: z.ZodDefault<z.ZodOptional<z.ZodCoercedNumber<unknown>>>;
|
|
403
|
+
query: z.ZodOptional<z.ZodString>;
|
|
404
|
+
mimeType: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>, z.ZodTransform<string[], string | string[]>>>;
|
|
405
|
+
}, z.core.$strip>;
|
|
406
|
+
declare const mediaItemSchema: z.ZodObject<{
|
|
407
|
+
id: z.ZodString;
|
|
408
|
+
filename: z.ZodString;
|
|
409
|
+
mimeType: z.ZodString;
|
|
410
|
+
size: z.ZodNullable<z.ZodNumber>;
|
|
411
|
+
width: z.ZodNullable<z.ZodNumber>;
|
|
412
|
+
height: z.ZodNullable<z.ZodNumber>;
|
|
413
|
+
alt: z.ZodNullable<z.ZodString>;
|
|
414
|
+
caption: z.ZodNullable<z.ZodString>;
|
|
415
|
+
storageKey: z.ZodString;
|
|
416
|
+
status: z.ZodEnum<{
|
|
417
|
+
pending: "pending";
|
|
418
|
+
ready: "ready";
|
|
419
|
+
failed: "failed";
|
|
420
|
+
}>;
|
|
421
|
+
contentHash: z.ZodNullable<z.ZodString>;
|
|
422
|
+
blurhash: z.ZodNullable<z.ZodString>;
|
|
423
|
+
dominantColor: z.ZodNullable<z.ZodString>;
|
|
424
|
+
createdAt: z.ZodString;
|
|
425
|
+
authorId: z.ZodNullable<z.ZodString>;
|
|
426
|
+
}, z.core.$strip>;
|
|
427
|
+
declare const mediaResponseSchema: z.ZodObject<{
|
|
428
|
+
item: z.ZodObject<{
|
|
429
|
+
id: z.ZodString;
|
|
430
|
+
filename: z.ZodString;
|
|
431
|
+
mimeType: z.ZodString;
|
|
432
|
+
size: z.ZodNullable<z.ZodNumber>;
|
|
433
|
+
width: z.ZodNullable<z.ZodNumber>;
|
|
434
|
+
height: z.ZodNullable<z.ZodNumber>;
|
|
435
|
+
alt: z.ZodNullable<z.ZodString>;
|
|
436
|
+
caption: z.ZodNullable<z.ZodString>;
|
|
437
|
+
storageKey: z.ZodString;
|
|
438
|
+
status: z.ZodEnum<{
|
|
439
|
+
pending: "pending";
|
|
440
|
+
ready: "ready";
|
|
441
|
+
failed: "failed";
|
|
442
|
+
}>;
|
|
443
|
+
contentHash: z.ZodNullable<z.ZodString>;
|
|
444
|
+
blurhash: z.ZodNullable<z.ZodString>;
|
|
445
|
+
dominantColor: z.ZodNullable<z.ZodString>;
|
|
446
|
+
createdAt: z.ZodString;
|
|
447
|
+
authorId: z.ZodNullable<z.ZodString>;
|
|
448
|
+
}, z.core.$strip>;
|
|
449
|
+
}, z.core.$strip>;
|
|
450
|
+
declare const mediaListResponseSchema: z.ZodObject<{
|
|
451
|
+
items: z.ZodArray<z.ZodObject<{
|
|
452
|
+
id: z.ZodString;
|
|
453
|
+
filename: z.ZodString;
|
|
454
|
+
mimeType: z.ZodString;
|
|
455
|
+
size: z.ZodNullable<z.ZodNumber>;
|
|
456
|
+
width: z.ZodNullable<z.ZodNumber>;
|
|
457
|
+
height: z.ZodNullable<z.ZodNumber>;
|
|
458
|
+
alt: z.ZodNullable<z.ZodString>;
|
|
459
|
+
caption: z.ZodNullable<z.ZodString>;
|
|
460
|
+
storageKey: z.ZodString;
|
|
461
|
+
status: z.ZodEnum<{
|
|
462
|
+
pending: "pending";
|
|
463
|
+
ready: "ready";
|
|
464
|
+
failed: "failed";
|
|
465
|
+
}>;
|
|
466
|
+
contentHash: z.ZodNullable<z.ZodString>;
|
|
467
|
+
blurhash: z.ZodNullable<z.ZodString>;
|
|
468
|
+
dominantColor: z.ZodNullable<z.ZodString>;
|
|
469
|
+
createdAt: z.ZodString;
|
|
470
|
+
authorId: z.ZodNullable<z.ZodString>;
|
|
471
|
+
}, z.core.$strip>>;
|
|
472
|
+
nextCursor: z.ZodOptional<z.ZodString>;
|
|
473
|
+
}, z.core.$strip>;
|
|
474
|
+
declare const mediaUploadUrlResponseSchema: z.ZodObject<{
|
|
475
|
+
uploadUrl: z.ZodString;
|
|
476
|
+
method: z.ZodLiteral<"PUT">;
|
|
477
|
+
headers: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
478
|
+
mediaId: z.ZodString;
|
|
479
|
+
storageKey: z.ZodString;
|
|
480
|
+
expiresAt: z.ZodString;
|
|
481
|
+
}, z.core.$strip>;
|
|
482
|
+
declare const mediaExistingResponseSchema: z.ZodObject<{
|
|
483
|
+
existing: z.ZodLiteral<true>;
|
|
484
|
+
mediaId: z.ZodString;
|
|
485
|
+
storageKey: z.ZodString;
|
|
486
|
+
url: z.ZodString;
|
|
487
|
+
}, z.core.$strip>;
|
|
488
|
+
declare const mediaConfirmResponseSchema: z.ZodObject<{
|
|
489
|
+
item: z.ZodObject<{
|
|
490
|
+
id: z.ZodString;
|
|
491
|
+
filename: z.ZodString;
|
|
492
|
+
mimeType: z.ZodString;
|
|
493
|
+
size: z.ZodNullable<z.ZodNumber>;
|
|
494
|
+
width: z.ZodNullable<z.ZodNumber>;
|
|
495
|
+
height: z.ZodNullable<z.ZodNumber>;
|
|
496
|
+
alt: z.ZodNullable<z.ZodString>;
|
|
497
|
+
caption: z.ZodNullable<z.ZodString>;
|
|
498
|
+
storageKey: z.ZodString;
|
|
499
|
+
status: z.ZodEnum<{
|
|
500
|
+
pending: "pending";
|
|
501
|
+
ready: "ready";
|
|
502
|
+
failed: "failed";
|
|
503
|
+
}>;
|
|
504
|
+
contentHash: z.ZodNullable<z.ZodString>;
|
|
505
|
+
blurhash: z.ZodNullable<z.ZodString>;
|
|
506
|
+
dominantColor: z.ZodNullable<z.ZodString>;
|
|
507
|
+
createdAt: z.ZodString;
|
|
508
|
+
authorId: z.ZodNullable<z.ZodString>;
|
|
509
|
+
url: z.ZodString;
|
|
510
|
+
}, z.core.$strip>;
|
|
511
|
+
}, z.core.$strip>;
|
|
512
|
+
//#endregion
|
|
513
|
+
//#region src/api/schemas/schema.d.ts
|
|
514
|
+
declare const createCollectionBody: z.ZodObject<{
|
|
515
|
+
slug: z.ZodString;
|
|
516
|
+
label: z.ZodString;
|
|
517
|
+
labelSingular: z.ZodOptional<z.ZodString>;
|
|
518
|
+
description: z.ZodOptional<z.ZodString>;
|
|
519
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
520
|
+
supports: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
521
|
+
search: "search";
|
|
522
|
+
drafts: "drafts";
|
|
523
|
+
revisions: "revisions";
|
|
524
|
+
preview: "preview";
|
|
525
|
+
scheduling: "scheduling";
|
|
526
|
+
}>>>;
|
|
527
|
+
source: z.ZodOptional<z.ZodString>;
|
|
528
|
+
urlPattern: z.ZodOptional<z.ZodString>;
|
|
529
|
+
hasSeo: z.ZodOptional<z.ZodBoolean>;
|
|
530
|
+
}, z.core.$strip>;
|
|
531
|
+
declare const updateCollectionBody: z.ZodObject<{
|
|
532
|
+
label: z.ZodOptional<z.ZodString>;
|
|
533
|
+
labelSingular: z.ZodOptional<z.ZodString>;
|
|
534
|
+
description: z.ZodOptional<z.ZodString>;
|
|
535
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
536
|
+
supports: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
537
|
+
search: "search";
|
|
538
|
+
drafts: "drafts";
|
|
539
|
+
revisions: "revisions";
|
|
540
|
+
preview: "preview";
|
|
541
|
+
scheduling: "scheduling";
|
|
542
|
+
}>>>;
|
|
543
|
+
urlPattern: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
544
|
+
hasSeo: z.ZodOptional<z.ZodBoolean>;
|
|
545
|
+
commentsEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
546
|
+
commentsModeration: z.ZodOptional<z.ZodEnum<{
|
|
547
|
+
all: "all";
|
|
548
|
+
first_time: "first_time";
|
|
549
|
+
none: "none";
|
|
550
|
+
}>>;
|
|
551
|
+
commentsClosedAfterDays: z.ZodOptional<z.ZodNumber>;
|
|
552
|
+
commentsAutoApproveUsers: z.ZodOptional<z.ZodBoolean>;
|
|
553
|
+
}, z.core.$strip>;
|
|
554
|
+
declare const createFieldBody: z.ZodObject<{
|
|
555
|
+
slug: z.ZodString;
|
|
556
|
+
label: z.ZodString;
|
|
557
|
+
type: z.ZodEnum<{
|
|
558
|
+
string: "string";
|
|
559
|
+
number: "number";
|
|
560
|
+
boolean: "boolean";
|
|
561
|
+
slug: "slug";
|
|
562
|
+
url: "url";
|
|
563
|
+
file: "file";
|
|
564
|
+
image: "image";
|
|
565
|
+
datetime: "datetime";
|
|
566
|
+
text: "text";
|
|
567
|
+
integer: "integer";
|
|
568
|
+
select: "select";
|
|
569
|
+
multiSelect: "multiSelect";
|
|
570
|
+
portableText: "portableText";
|
|
571
|
+
reference: "reference";
|
|
572
|
+
json: "json";
|
|
573
|
+
repeater: "repeater";
|
|
574
|
+
}>;
|
|
575
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
|
576
|
+
unique: z.ZodOptional<z.ZodBoolean>;
|
|
577
|
+
defaultValue: z.ZodOptional<z.ZodUnknown>;
|
|
578
|
+
validation: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
579
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
|
580
|
+
min: z.ZodOptional<z.ZodNumber>;
|
|
581
|
+
max: z.ZodOptional<z.ZodNumber>;
|
|
582
|
+
minLength: z.ZodOptional<z.ZodNumber>;
|
|
583
|
+
maxLength: z.ZodOptional<z.ZodNumber>;
|
|
584
|
+
pattern: z.ZodOptional<z.ZodString>;
|
|
585
|
+
options: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
586
|
+
subFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
587
|
+
slug: z.ZodString;
|
|
588
|
+
type: z.ZodEnum<{
|
|
589
|
+
string: "string";
|
|
590
|
+
number: "number";
|
|
591
|
+
boolean: "boolean";
|
|
592
|
+
datetime: "datetime";
|
|
593
|
+
text: "text";
|
|
594
|
+
integer: "integer";
|
|
595
|
+
select: "select";
|
|
596
|
+
}>;
|
|
597
|
+
label: z.ZodString;
|
|
598
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
|
599
|
+
options: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
600
|
+
}, z.core.$strip>>>;
|
|
601
|
+
minItems: z.ZodOptional<z.ZodNumber>;
|
|
602
|
+
maxItems: z.ZodOptional<z.ZodNumber>;
|
|
603
|
+
allowedMimeTypes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
604
|
+
}, z.core.$strip>>>;
|
|
605
|
+
widget: z.ZodOptional<z.ZodString>;
|
|
606
|
+
options: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
607
|
+
sortOrder: z.ZodOptional<z.ZodNumber>;
|
|
608
|
+
searchable: z.ZodOptional<z.ZodBoolean>;
|
|
609
|
+
translatable: z.ZodOptional<z.ZodBoolean>;
|
|
610
|
+
}, z.core.$strip>;
|
|
611
|
+
declare const updateFieldBody: z.ZodObject<{
|
|
612
|
+
label: z.ZodOptional<z.ZodString>;
|
|
613
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
|
614
|
+
unique: z.ZodOptional<z.ZodBoolean>;
|
|
615
|
+
defaultValue: z.ZodOptional<z.ZodUnknown>;
|
|
616
|
+
validation: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
617
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
|
618
|
+
min: z.ZodOptional<z.ZodNumber>;
|
|
619
|
+
max: z.ZodOptional<z.ZodNumber>;
|
|
620
|
+
minLength: z.ZodOptional<z.ZodNumber>;
|
|
621
|
+
maxLength: z.ZodOptional<z.ZodNumber>;
|
|
622
|
+
pattern: z.ZodOptional<z.ZodString>;
|
|
623
|
+
options: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
624
|
+
subFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
625
|
+
slug: z.ZodString;
|
|
626
|
+
type: z.ZodEnum<{
|
|
627
|
+
string: "string";
|
|
628
|
+
number: "number";
|
|
629
|
+
boolean: "boolean";
|
|
630
|
+
datetime: "datetime";
|
|
631
|
+
text: "text";
|
|
632
|
+
integer: "integer";
|
|
633
|
+
select: "select";
|
|
634
|
+
}>;
|
|
635
|
+
label: z.ZodString;
|
|
636
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
|
637
|
+
options: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
638
|
+
}, z.core.$strip>>>;
|
|
639
|
+
minItems: z.ZodOptional<z.ZodNumber>;
|
|
640
|
+
maxItems: z.ZodOptional<z.ZodNumber>;
|
|
641
|
+
allowedMimeTypes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
642
|
+
}, z.core.$strip>>>;
|
|
643
|
+
widget: z.ZodOptional<z.ZodString>;
|
|
644
|
+
options: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
645
|
+
sortOrder: z.ZodOptional<z.ZodNumber>;
|
|
646
|
+
searchable: z.ZodOptional<z.ZodBoolean>;
|
|
647
|
+
translatable: z.ZodOptional<z.ZodBoolean>;
|
|
648
|
+
}, z.core.$strip>;
|
|
649
|
+
declare const fieldReorderBody: z.ZodObject<{
|
|
650
|
+
fieldSlugs: z.ZodArray<z.ZodString>;
|
|
651
|
+
}, z.core.$strip>;
|
|
652
|
+
declare const orphanRegisterBody: z.ZodObject<{
|
|
653
|
+
label: z.ZodOptional<z.ZodString>;
|
|
654
|
+
labelSingular: z.ZodOptional<z.ZodString>;
|
|
655
|
+
description: z.ZodOptional<z.ZodString>;
|
|
656
|
+
}, z.core.$strip>;
|
|
657
|
+
declare const schemaExportQuery: z.ZodObject<{
|
|
658
|
+
format: z.ZodOptional<z.ZodString>;
|
|
659
|
+
}, z.core.$strip>;
|
|
660
|
+
declare const collectionGetQuery: z.ZodObject<{
|
|
661
|
+
includeFields: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<boolean, string>>>;
|
|
662
|
+
}, z.core.$strip>;
|
|
663
|
+
declare const collectionSchema: z.ZodObject<{
|
|
664
|
+
id: z.ZodString;
|
|
665
|
+
slug: z.ZodString;
|
|
666
|
+
label: z.ZodString;
|
|
667
|
+
labelSingular: z.ZodNullable<z.ZodString>;
|
|
668
|
+
description: z.ZodNullable<z.ZodString>;
|
|
669
|
+
icon: z.ZodNullable<z.ZodString>;
|
|
670
|
+
supports: z.ZodArray<z.ZodString>;
|
|
671
|
+
source: z.ZodNullable<z.ZodString>;
|
|
672
|
+
urlPattern: z.ZodNullable<z.ZodString>;
|
|
673
|
+
hasSeo: z.ZodBoolean;
|
|
674
|
+
createdAt: z.ZodString;
|
|
675
|
+
updatedAt: z.ZodString;
|
|
676
|
+
}, z.core.$strip>;
|
|
677
|
+
declare const fieldSchema: z.ZodObject<{
|
|
678
|
+
id: z.ZodString;
|
|
679
|
+
collectionId: z.ZodString;
|
|
680
|
+
slug: z.ZodString;
|
|
681
|
+
label: z.ZodString;
|
|
682
|
+
type: z.ZodEnum<{
|
|
683
|
+
string: "string";
|
|
684
|
+
number: "number";
|
|
685
|
+
boolean: "boolean";
|
|
686
|
+
slug: "slug";
|
|
687
|
+
url: "url";
|
|
688
|
+
file: "file";
|
|
689
|
+
image: "image";
|
|
690
|
+
datetime: "datetime";
|
|
691
|
+
text: "text";
|
|
692
|
+
integer: "integer";
|
|
693
|
+
select: "select";
|
|
694
|
+
multiSelect: "multiSelect";
|
|
695
|
+
portableText: "portableText";
|
|
696
|
+
reference: "reference";
|
|
697
|
+
json: "json";
|
|
698
|
+
repeater: "repeater";
|
|
699
|
+
}>;
|
|
700
|
+
required: z.ZodBoolean;
|
|
701
|
+
unique: z.ZodBoolean;
|
|
702
|
+
defaultValue: z.ZodNullable<z.ZodUnknown>;
|
|
703
|
+
validation: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
704
|
+
widget: z.ZodNullable<z.ZodString>;
|
|
705
|
+
options: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
706
|
+
sortOrder: z.ZodNumber;
|
|
707
|
+
searchable: z.ZodBoolean;
|
|
708
|
+
translatable: z.ZodBoolean;
|
|
709
|
+
createdAt: z.ZodString;
|
|
710
|
+
updatedAt: z.ZodString;
|
|
711
|
+
}, z.core.$strip>;
|
|
712
|
+
declare const collectionResponseSchema: z.ZodObject<{
|
|
713
|
+
item: z.ZodObject<{
|
|
714
|
+
id: z.ZodString;
|
|
715
|
+
slug: z.ZodString;
|
|
716
|
+
label: z.ZodString;
|
|
717
|
+
labelSingular: z.ZodNullable<z.ZodString>;
|
|
718
|
+
description: z.ZodNullable<z.ZodString>;
|
|
719
|
+
icon: z.ZodNullable<z.ZodString>;
|
|
720
|
+
supports: z.ZodArray<z.ZodString>;
|
|
721
|
+
source: z.ZodNullable<z.ZodString>;
|
|
722
|
+
urlPattern: z.ZodNullable<z.ZodString>;
|
|
723
|
+
hasSeo: z.ZodBoolean;
|
|
724
|
+
createdAt: z.ZodString;
|
|
725
|
+
updatedAt: z.ZodString;
|
|
726
|
+
}, z.core.$strip>;
|
|
727
|
+
}, z.core.$strip>;
|
|
728
|
+
declare const collectionWithFieldsResponseSchema: z.ZodObject<{
|
|
729
|
+
item: z.ZodObject<{
|
|
730
|
+
id: z.ZodString;
|
|
731
|
+
slug: z.ZodString;
|
|
732
|
+
label: z.ZodString;
|
|
733
|
+
labelSingular: z.ZodNullable<z.ZodString>;
|
|
734
|
+
description: z.ZodNullable<z.ZodString>;
|
|
735
|
+
icon: z.ZodNullable<z.ZodString>;
|
|
736
|
+
supports: z.ZodArray<z.ZodString>;
|
|
737
|
+
source: z.ZodNullable<z.ZodString>;
|
|
738
|
+
urlPattern: z.ZodNullable<z.ZodString>;
|
|
739
|
+
hasSeo: z.ZodBoolean;
|
|
740
|
+
createdAt: z.ZodString;
|
|
741
|
+
updatedAt: z.ZodString;
|
|
742
|
+
fields: z.ZodArray<z.ZodObject<{
|
|
743
|
+
id: z.ZodString;
|
|
744
|
+
collectionId: z.ZodString;
|
|
745
|
+
slug: z.ZodString;
|
|
746
|
+
label: z.ZodString;
|
|
747
|
+
type: z.ZodEnum<{
|
|
748
|
+
string: "string";
|
|
749
|
+
number: "number";
|
|
750
|
+
boolean: "boolean";
|
|
751
|
+
slug: "slug";
|
|
752
|
+
url: "url";
|
|
753
|
+
file: "file";
|
|
754
|
+
image: "image";
|
|
755
|
+
datetime: "datetime";
|
|
756
|
+
text: "text";
|
|
757
|
+
integer: "integer";
|
|
758
|
+
select: "select";
|
|
759
|
+
multiSelect: "multiSelect";
|
|
760
|
+
portableText: "portableText";
|
|
761
|
+
reference: "reference";
|
|
762
|
+
json: "json";
|
|
763
|
+
repeater: "repeater";
|
|
764
|
+
}>;
|
|
765
|
+
required: z.ZodBoolean;
|
|
766
|
+
unique: z.ZodBoolean;
|
|
767
|
+
defaultValue: z.ZodNullable<z.ZodUnknown>;
|
|
768
|
+
validation: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
769
|
+
widget: z.ZodNullable<z.ZodString>;
|
|
770
|
+
options: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
771
|
+
sortOrder: z.ZodNumber;
|
|
772
|
+
searchable: z.ZodBoolean;
|
|
773
|
+
translatable: z.ZodBoolean;
|
|
774
|
+
createdAt: z.ZodString;
|
|
775
|
+
updatedAt: z.ZodString;
|
|
776
|
+
}, z.core.$strip>>;
|
|
777
|
+
}, z.core.$strip>;
|
|
778
|
+
}, z.core.$strip>;
|
|
779
|
+
declare const collectionListResponseSchema: z.ZodObject<{
|
|
780
|
+
items: z.ZodArray<z.ZodObject<{
|
|
781
|
+
id: z.ZodString;
|
|
782
|
+
slug: z.ZodString;
|
|
783
|
+
label: z.ZodString;
|
|
784
|
+
labelSingular: z.ZodNullable<z.ZodString>;
|
|
785
|
+
description: z.ZodNullable<z.ZodString>;
|
|
786
|
+
icon: z.ZodNullable<z.ZodString>;
|
|
787
|
+
supports: z.ZodArray<z.ZodString>;
|
|
788
|
+
source: z.ZodNullable<z.ZodString>;
|
|
789
|
+
urlPattern: z.ZodNullable<z.ZodString>;
|
|
790
|
+
hasSeo: z.ZodBoolean;
|
|
791
|
+
createdAt: z.ZodString;
|
|
792
|
+
updatedAt: z.ZodString;
|
|
793
|
+
}, z.core.$strip>>;
|
|
794
|
+
}, z.core.$strip>;
|
|
795
|
+
declare const fieldResponseSchema: z.ZodObject<{
|
|
796
|
+
item: z.ZodObject<{
|
|
797
|
+
id: z.ZodString;
|
|
798
|
+
collectionId: z.ZodString;
|
|
799
|
+
slug: z.ZodString;
|
|
800
|
+
label: z.ZodString;
|
|
801
|
+
type: z.ZodEnum<{
|
|
802
|
+
string: "string";
|
|
803
|
+
number: "number";
|
|
804
|
+
boolean: "boolean";
|
|
805
|
+
slug: "slug";
|
|
806
|
+
url: "url";
|
|
807
|
+
file: "file";
|
|
808
|
+
image: "image";
|
|
809
|
+
datetime: "datetime";
|
|
810
|
+
text: "text";
|
|
811
|
+
integer: "integer";
|
|
812
|
+
select: "select";
|
|
813
|
+
multiSelect: "multiSelect";
|
|
814
|
+
portableText: "portableText";
|
|
815
|
+
reference: "reference";
|
|
816
|
+
json: "json";
|
|
817
|
+
repeater: "repeater";
|
|
818
|
+
}>;
|
|
819
|
+
required: z.ZodBoolean;
|
|
820
|
+
unique: z.ZodBoolean;
|
|
821
|
+
defaultValue: z.ZodNullable<z.ZodUnknown>;
|
|
822
|
+
validation: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
823
|
+
widget: z.ZodNullable<z.ZodString>;
|
|
824
|
+
options: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
825
|
+
sortOrder: z.ZodNumber;
|
|
826
|
+
searchable: z.ZodBoolean;
|
|
827
|
+
translatable: z.ZodBoolean;
|
|
828
|
+
createdAt: z.ZodString;
|
|
829
|
+
updatedAt: z.ZodString;
|
|
830
|
+
}, z.core.$strip>;
|
|
831
|
+
}, z.core.$strip>;
|
|
832
|
+
declare const fieldListResponseSchema: z.ZodObject<{
|
|
833
|
+
items: z.ZodArray<z.ZodObject<{
|
|
834
|
+
id: z.ZodString;
|
|
835
|
+
collectionId: z.ZodString;
|
|
836
|
+
slug: z.ZodString;
|
|
837
|
+
label: z.ZodString;
|
|
838
|
+
type: z.ZodEnum<{
|
|
839
|
+
string: "string";
|
|
840
|
+
number: "number";
|
|
841
|
+
boolean: "boolean";
|
|
842
|
+
slug: "slug";
|
|
843
|
+
url: "url";
|
|
844
|
+
file: "file";
|
|
845
|
+
image: "image";
|
|
846
|
+
datetime: "datetime";
|
|
847
|
+
text: "text";
|
|
848
|
+
integer: "integer";
|
|
849
|
+
select: "select";
|
|
850
|
+
multiSelect: "multiSelect";
|
|
851
|
+
portableText: "portableText";
|
|
852
|
+
reference: "reference";
|
|
853
|
+
json: "json";
|
|
854
|
+
repeater: "repeater";
|
|
855
|
+
}>;
|
|
856
|
+
required: z.ZodBoolean;
|
|
857
|
+
unique: z.ZodBoolean;
|
|
858
|
+
defaultValue: z.ZodNullable<z.ZodUnknown>;
|
|
859
|
+
validation: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
860
|
+
widget: z.ZodNullable<z.ZodString>;
|
|
861
|
+
options: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
862
|
+
sortOrder: z.ZodNumber;
|
|
863
|
+
searchable: z.ZodBoolean;
|
|
864
|
+
translatable: z.ZodBoolean;
|
|
865
|
+
createdAt: z.ZodString;
|
|
866
|
+
updatedAt: z.ZodString;
|
|
867
|
+
}, z.core.$strip>>;
|
|
868
|
+
}, z.core.$strip>;
|
|
869
|
+
declare const orphanedTableSchema: z.ZodObject<{
|
|
870
|
+
slug: z.ZodString;
|
|
871
|
+
tableName: z.ZodString;
|
|
872
|
+
rowCount: z.ZodNumber;
|
|
873
|
+
}, z.core.$strip>;
|
|
874
|
+
declare const orphanedTableListResponseSchema: z.ZodObject<{
|
|
875
|
+
items: z.ZodArray<z.ZodObject<{
|
|
876
|
+
slug: z.ZodString;
|
|
877
|
+
tableName: z.ZodString;
|
|
878
|
+
rowCount: z.ZodNumber;
|
|
879
|
+
}, z.core.$strip>>;
|
|
880
|
+
}, z.core.$strip>;
|
|
881
|
+
//#endregion
|
|
882
|
+
//#region src/api/schemas/comments.d.ts
|
|
883
|
+
declare const createCommentBody: z.ZodObject<{
|
|
884
|
+
authorName: z.ZodString;
|
|
885
|
+
authorEmail: z.ZodString;
|
|
886
|
+
body: z.ZodString;
|
|
887
|
+
parentId: z.ZodOptional<z.ZodString>;
|
|
888
|
+
website_url: z.ZodOptional<z.ZodString>;
|
|
889
|
+
}, z.core.$strip>;
|
|
890
|
+
declare const commentStatusBody: z.ZodObject<{
|
|
891
|
+
status: z.ZodEnum<{
|
|
892
|
+
pending: "pending";
|
|
893
|
+
approved: "approved";
|
|
894
|
+
spam: "spam";
|
|
895
|
+
trash: "trash";
|
|
896
|
+
}>;
|
|
897
|
+
}, z.core.$strip>;
|
|
898
|
+
declare const commentBulkBody: z.ZodObject<{
|
|
899
|
+
ids: z.ZodArray<z.ZodString>;
|
|
900
|
+
action: z.ZodEnum<{
|
|
901
|
+
spam: "spam";
|
|
902
|
+
trash: "trash";
|
|
903
|
+
approve: "approve";
|
|
904
|
+
delete: "delete";
|
|
905
|
+
}>;
|
|
906
|
+
}, z.core.$strip>;
|
|
907
|
+
declare const commentListQuery: z.ZodObject<{
|
|
908
|
+
status: z.ZodOptional<z.ZodEnum<{
|
|
909
|
+
pending: "pending";
|
|
910
|
+
approved: "approved";
|
|
911
|
+
spam: "spam";
|
|
912
|
+
trash: "trash";
|
|
913
|
+
}>>;
|
|
914
|
+
collection: z.ZodOptional<z.ZodString>;
|
|
915
|
+
search: z.ZodOptional<z.ZodString>;
|
|
916
|
+
limit: z.ZodDefault<z.ZodOptional<z.ZodCoercedNumber<unknown>>>;
|
|
917
|
+
cursor: z.ZodOptional<z.ZodString>;
|
|
918
|
+
}, z.core.$strip>;
|
|
919
|
+
/**
|
|
920
|
+
* Public-facing comment (no email/IP).
|
|
921
|
+
*
|
|
922
|
+
* `replies` is recursive in practice (each reply can have replies), but we
|
|
923
|
+
* model it as a single level here to avoid circular type inference issues
|
|
924
|
+
* with tsgo. OpenAPI consumers should treat replies as the same shape.
|
|
925
|
+
*/
|
|
926
|
+
declare const publicCommentSchema: z.ZodObject<{
|
|
927
|
+
id: z.ZodString;
|
|
928
|
+
authorName: z.ZodString;
|
|
929
|
+
isRegisteredUser: z.ZodBoolean;
|
|
930
|
+
body: z.ZodString;
|
|
931
|
+
parentId: z.ZodNullable<z.ZodString>;
|
|
932
|
+
createdAt: z.ZodString;
|
|
933
|
+
replies: z.ZodOptional<z.ZodArray<z.ZodAny>>;
|
|
934
|
+
}>;
|
|
935
|
+
/** Admin comment with full details */
|
|
936
|
+
declare const commentSchema: z.ZodObject<{
|
|
937
|
+
id: z.ZodString;
|
|
938
|
+
collection: z.ZodString;
|
|
939
|
+
contentId: z.ZodString;
|
|
940
|
+
authorName: z.ZodString;
|
|
941
|
+
authorEmail: z.ZodString;
|
|
942
|
+
body: z.ZodString;
|
|
943
|
+
status: z.ZodEnum<{
|
|
944
|
+
pending: "pending";
|
|
945
|
+
approved: "approved";
|
|
946
|
+
spam: "spam";
|
|
947
|
+
trash: "trash";
|
|
948
|
+
}>;
|
|
949
|
+
parentId: z.ZodNullable<z.ZodString>;
|
|
950
|
+
ipHash: z.ZodNullable<z.ZodString>;
|
|
951
|
+
createdAt: z.ZodString;
|
|
952
|
+
updatedAt: z.ZodString;
|
|
953
|
+
}, z.core.$strip>;
|
|
954
|
+
declare const publicCommentListResponseSchema: z.ZodObject<{
|
|
955
|
+
items: z.ZodArray<z.ZodObject<{
|
|
956
|
+
id: z.ZodString;
|
|
957
|
+
authorName: z.ZodString;
|
|
958
|
+
isRegisteredUser: z.ZodBoolean;
|
|
959
|
+
body: z.ZodString;
|
|
960
|
+
parentId: z.ZodNullable<z.ZodString>;
|
|
961
|
+
createdAt: z.ZodString;
|
|
962
|
+
replies: z.ZodOptional<z.ZodArray<z.ZodAny>>;
|
|
963
|
+
}, z.core.$strip>>;
|
|
964
|
+
nextCursor: z.ZodOptional<z.ZodString>;
|
|
965
|
+
total: z.ZodNumber;
|
|
966
|
+
}, z.core.$strip>;
|
|
967
|
+
declare const adminCommentListResponseSchema: z.ZodObject<{
|
|
968
|
+
items: z.ZodArray<z.ZodObject<{
|
|
969
|
+
id: z.ZodString;
|
|
970
|
+
collection: z.ZodString;
|
|
971
|
+
contentId: z.ZodString;
|
|
972
|
+
authorName: z.ZodString;
|
|
973
|
+
authorEmail: z.ZodString;
|
|
974
|
+
body: z.ZodString;
|
|
975
|
+
status: z.ZodEnum<{
|
|
976
|
+
pending: "pending";
|
|
977
|
+
approved: "approved";
|
|
978
|
+
spam: "spam";
|
|
979
|
+
trash: "trash";
|
|
980
|
+
}>;
|
|
981
|
+
parentId: z.ZodNullable<z.ZodString>;
|
|
982
|
+
ipHash: z.ZodNullable<z.ZodString>;
|
|
983
|
+
createdAt: z.ZodString;
|
|
984
|
+
updatedAt: z.ZodString;
|
|
985
|
+
}, z.core.$strip>>;
|
|
986
|
+
nextCursor: z.ZodOptional<z.ZodString>;
|
|
987
|
+
}, z.core.$strip>;
|
|
988
|
+
declare const commentCountsResponseSchema: z.ZodObject<{
|
|
989
|
+
pending: z.ZodNumber;
|
|
990
|
+
approved: z.ZodNumber;
|
|
991
|
+
spam: z.ZodNumber;
|
|
992
|
+
trash: z.ZodNumber;
|
|
993
|
+
}, z.core.$strip>;
|
|
994
|
+
declare const commentBulkResponseSchema: z.ZodObject<{
|
|
995
|
+
affected: z.ZodNumber;
|
|
996
|
+
}, z.core.$strip>;
|
|
997
|
+
//#endregion
|
|
998
|
+
//#region src/api/schemas/auth.d.ts
|
|
999
|
+
declare const signupRequestBody: z.ZodObject<{
|
|
1000
|
+
email: z.ZodString;
|
|
1001
|
+
}, z.core.$strip>;
|
|
1002
|
+
declare const signupCompleteBody: z.ZodObject<{
|
|
1003
|
+
token: z.ZodString;
|
|
1004
|
+
credential: z.ZodObject<{
|
|
1005
|
+
id: z.ZodString;
|
|
1006
|
+
rawId: z.ZodString;
|
|
1007
|
+
type: z.ZodLiteral<"public-key">;
|
|
1008
|
+
response: z.ZodObject<{
|
|
1009
|
+
clientDataJSON: z.ZodString;
|
|
1010
|
+
attestationObject: z.ZodString;
|
|
1011
|
+
transports: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
1012
|
+
usb: "usb";
|
|
1013
|
+
nfc: "nfc";
|
|
1014
|
+
ble: "ble";
|
|
1015
|
+
internal: "internal";
|
|
1016
|
+
hybrid: "hybrid";
|
|
1017
|
+
}>>>;
|
|
1018
|
+
}, z.core.$strip>;
|
|
1019
|
+
authenticatorAttachment: z.ZodOptional<z.ZodEnum<{
|
|
1020
|
+
platform: "platform";
|
|
1021
|
+
"cross-platform": "cross-platform";
|
|
1022
|
+
}>>;
|
|
1023
|
+
}, z.core.$strip>;
|
|
1024
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1025
|
+
}, z.core.$strip>;
|
|
1026
|
+
declare const inviteCreateBody: z.ZodObject<{
|
|
1027
|
+
email: z.ZodString;
|
|
1028
|
+
role: z.ZodOptional<z.ZodCoercedNumber<unknown> & z.ZodType<50 | 10 | 20 | 30 | 40, unknown, z.core.$ZodTypeInternals<50 | 10 | 20 | 30 | 40, unknown>>>;
|
|
1029
|
+
}, z.core.$strip>;
|
|
1030
|
+
declare const inviteRegisterOptionsBody: z.ZodObject<{
|
|
1031
|
+
token: z.ZodString;
|
|
1032
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1033
|
+
}, z.core.$strip>;
|
|
1034
|
+
declare const inviteCompleteBody: z.ZodObject<{
|
|
1035
|
+
token: z.ZodString;
|
|
1036
|
+
credential: z.ZodObject<{
|
|
1037
|
+
id: z.ZodString;
|
|
1038
|
+
rawId: z.ZodString;
|
|
1039
|
+
type: z.ZodLiteral<"public-key">;
|
|
1040
|
+
response: z.ZodObject<{
|
|
1041
|
+
clientDataJSON: z.ZodString;
|
|
1042
|
+
attestationObject: z.ZodString;
|
|
1043
|
+
transports: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
1044
|
+
usb: "usb";
|
|
1045
|
+
nfc: "nfc";
|
|
1046
|
+
ble: "ble";
|
|
1047
|
+
internal: "internal";
|
|
1048
|
+
hybrid: "hybrid";
|
|
1049
|
+
}>>>;
|
|
1050
|
+
}, z.core.$strip>;
|
|
1051
|
+
authenticatorAttachment: z.ZodOptional<z.ZodEnum<{
|
|
1052
|
+
platform: "platform";
|
|
1053
|
+
"cross-platform": "cross-platform";
|
|
1054
|
+
}>>;
|
|
1055
|
+
}, z.core.$strip>;
|
|
1056
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1057
|
+
}, z.core.$strip>;
|
|
1058
|
+
declare const magicLinkSendBody: z.ZodObject<{
|
|
1059
|
+
email: z.ZodString;
|
|
1060
|
+
}, z.core.$strip>;
|
|
1061
|
+
declare const passkeyOptionsBody: z.ZodObject<{
|
|
1062
|
+
email: z.ZodOptional<z.ZodString>;
|
|
1063
|
+
}, z.core.$strip>;
|
|
1064
|
+
declare const passkeyVerifyBody: z.ZodObject<{
|
|
1065
|
+
credential: z.ZodObject<{
|
|
1066
|
+
id: z.ZodString;
|
|
1067
|
+
rawId: z.ZodString;
|
|
1068
|
+
type: z.ZodLiteral<"public-key">;
|
|
1069
|
+
response: z.ZodObject<{
|
|
1070
|
+
clientDataJSON: z.ZodString;
|
|
1071
|
+
authenticatorData: z.ZodString;
|
|
1072
|
+
signature: z.ZodString;
|
|
1073
|
+
userHandle: z.ZodOptional<z.ZodString>;
|
|
1074
|
+
}, z.core.$strip>;
|
|
1075
|
+
authenticatorAttachment: z.ZodOptional<z.ZodEnum<{
|
|
1076
|
+
platform: "platform";
|
|
1077
|
+
"cross-platform": "cross-platform";
|
|
1078
|
+
}>>;
|
|
1079
|
+
}, z.core.$strip>;
|
|
1080
|
+
}, z.core.$strip>;
|
|
1081
|
+
declare const passkeyRegisterOptionsBody: z.ZodObject<{
|
|
1082
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1083
|
+
}, z.core.$strip>;
|
|
1084
|
+
declare const passkeyRegisterVerifyBody: z.ZodObject<{
|
|
1085
|
+
credential: z.ZodObject<{
|
|
1086
|
+
id: z.ZodString;
|
|
1087
|
+
rawId: z.ZodString;
|
|
1088
|
+
type: z.ZodLiteral<"public-key">;
|
|
1089
|
+
response: z.ZodObject<{
|
|
1090
|
+
clientDataJSON: z.ZodString;
|
|
1091
|
+
attestationObject: z.ZodString;
|
|
1092
|
+
transports: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
1093
|
+
usb: "usb";
|
|
1094
|
+
nfc: "nfc";
|
|
1095
|
+
ble: "ble";
|
|
1096
|
+
internal: "internal";
|
|
1097
|
+
hybrid: "hybrid";
|
|
1098
|
+
}>>>;
|
|
1099
|
+
}, z.core.$strip>;
|
|
1100
|
+
authenticatorAttachment: z.ZodOptional<z.ZodEnum<{
|
|
1101
|
+
platform: "platform";
|
|
1102
|
+
"cross-platform": "cross-platform";
|
|
1103
|
+
}>>;
|
|
1104
|
+
}, z.core.$strip>;
|
|
1105
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1106
|
+
}, z.core.$strip>;
|
|
1107
|
+
declare const passkeyRenameBody: z.ZodObject<{
|
|
1108
|
+
name: z.ZodString;
|
|
1109
|
+
}, z.core.$strip>;
|
|
1110
|
+
declare const authMeActionBody: z.ZodObject<{
|
|
1111
|
+
action: z.ZodString;
|
|
1112
|
+
}, z.core.$strip>;
|
|
1113
|
+
//#endregion
|
|
1114
|
+
//#region src/api/schemas/menus.d.ts
|
|
1115
|
+
/**
|
|
1116
|
+
* Allowed menu item types. `custom` uses `customUrl`; the others resolve a URL
|
|
1117
|
+
* from `referenceCollection` + `referenceId` (a translation_group id).
|
|
1118
|
+
*/
|
|
1119
|
+
declare const menuItemTypeEnum: z.ZodEnum<{
|
|
1120
|
+
custom: "custom";
|
|
1121
|
+
collection: "collection";
|
|
1122
|
+
page: "page";
|
|
1123
|
+
post: "post";
|
|
1124
|
+
taxonomy: "taxonomy";
|
|
1125
|
+
}>;
|
|
1126
|
+
declare const createMenuBody: z.ZodObject<{
|
|
1127
|
+
name: z.ZodString;
|
|
1128
|
+
label: z.ZodString;
|
|
1129
|
+
locale: z.ZodOptional<z.ZodString>;
|
|
1130
|
+
translationOf: z.ZodOptional<z.ZodString>;
|
|
1131
|
+
}, z.core.$strict>;
|
|
1132
|
+
declare const updateMenuBody: z.ZodObject<{
|
|
1133
|
+
label: z.ZodOptional<z.ZodString>;
|
|
1134
|
+
}, z.core.$strict>;
|
|
1135
|
+
declare const createMenuItemBody: z.ZodObject<{
|
|
1136
|
+
type: z.ZodEnum<{
|
|
1137
|
+
custom: "custom";
|
|
1138
|
+
collection: "collection";
|
|
1139
|
+
page: "page";
|
|
1140
|
+
post: "post";
|
|
1141
|
+
taxonomy: "taxonomy";
|
|
1142
|
+
}>;
|
|
1143
|
+
label: z.ZodString;
|
|
1144
|
+
referenceCollection: z.ZodOptional<z.ZodString>;
|
|
1145
|
+
referenceId: z.ZodOptional<z.ZodString>;
|
|
1146
|
+
customUrl: z.ZodOptional<z.ZodString>;
|
|
1147
|
+
target: z.ZodOptional<z.ZodString>;
|
|
1148
|
+
titleAttr: z.ZodOptional<z.ZodString>;
|
|
1149
|
+
cssClasses: z.ZodOptional<z.ZodString>;
|
|
1150
|
+
parentId: z.ZodOptional<z.ZodString>;
|
|
1151
|
+
sortOrder: z.ZodOptional<z.ZodNumber>;
|
|
1152
|
+
}, z.core.$strict>;
|
|
1153
|
+
declare const updateMenuItemBody: z.ZodObject<{
|
|
1154
|
+
label: z.ZodOptional<z.ZodString>;
|
|
1155
|
+
customUrl: z.ZodOptional<z.ZodString>;
|
|
1156
|
+
target: z.ZodOptional<z.ZodString>;
|
|
1157
|
+
titleAttr: z.ZodOptional<z.ZodString>;
|
|
1158
|
+
cssClasses: z.ZodOptional<z.ZodString>;
|
|
1159
|
+
parentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1160
|
+
sortOrder: z.ZodOptional<z.ZodNumber>;
|
|
1161
|
+
}, z.core.$strict>;
|
|
1162
|
+
declare const reorderMenuItemsBody: z.ZodObject<{
|
|
1163
|
+
items: z.ZodArray<z.ZodObject<{
|
|
1164
|
+
id: z.ZodString;
|
|
1165
|
+
parentId: z.ZodNullable<z.ZodString>;
|
|
1166
|
+
sortOrder: z.ZodNumber;
|
|
1167
|
+
}, z.core.$strip>>;
|
|
1168
|
+
}, z.core.$strip>;
|
|
1169
|
+
declare const menuSchema: z.ZodObject<{
|
|
1170
|
+
id: z.ZodString;
|
|
1171
|
+
name: z.ZodString;
|
|
1172
|
+
label: z.ZodString;
|
|
1173
|
+
createdAt: z.ZodString;
|
|
1174
|
+
updatedAt: z.ZodString;
|
|
1175
|
+
locale: z.ZodString;
|
|
1176
|
+
translationGroup: z.ZodNullable<z.ZodString>;
|
|
1177
|
+
}, z.core.$strip>;
|
|
1178
|
+
declare const menuItemSchema: z.ZodObject<{
|
|
1179
|
+
id: z.ZodString;
|
|
1180
|
+
menuId: z.ZodString;
|
|
1181
|
+
parentId: z.ZodNullable<z.ZodString>;
|
|
1182
|
+
sortOrder: z.ZodNumber;
|
|
1183
|
+
type: z.ZodString;
|
|
1184
|
+
referenceCollection: z.ZodNullable<z.ZodString>;
|
|
1185
|
+
referenceId: z.ZodNullable<z.ZodString>;
|
|
1186
|
+
customUrl: z.ZodNullable<z.ZodString>;
|
|
1187
|
+
label: z.ZodString;
|
|
1188
|
+
titleAttr: z.ZodNullable<z.ZodString>;
|
|
1189
|
+
target: z.ZodNullable<z.ZodString>;
|
|
1190
|
+
cssClasses: z.ZodNullable<z.ZodString>;
|
|
1191
|
+
createdAt: z.ZodString;
|
|
1192
|
+
locale: z.ZodString;
|
|
1193
|
+
translationGroup: z.ZodNullable<z.ZodString>;
|
|
1194
|
+
}, z.core.$strip>;
|
|
1195
|
+
declare const menuTranslationsSchema: z.ZodObject<{
|
|
1196
|
+
translationGroup: z.ZodNullable<z.ZodString>;
|
|
1197
|
+
translations: z.ZodArray<z.ZodObject<{
|
|
1198
|
+
id: z.ZodString;
|
|
1199
|
+
name: z.ZodString;
|
|
1200
|
+
label: z.ZodString;
|
|
1201
|
+
locale: z.ZodString;
|
|
1202
|
+
updatedAt: z.ZodString;
|
|
1203
|
+
}, z.core.$strip>>;
|
|
1204
|
+
}, z.core.$strip>;
|
|
1205
|
+
declare const menuListItemSchema: z.ZodObject<{
|
|
1206
|
+
id: z.ZodString;
|
|
1207
|
+
name: z.ZodString;
|
|
1208
|
+
label: z.ZodString;
|
|
1209
|
+
createdAt: z.ZodString;
|
|
1210
|
+
updatedAt: z.ZodString;
|
|
1211
|
+
locale: z.ZodString;
|
|
1212
|
+
translationGroup: z.ZodNullable<z.ZodString>;
|
|
1213
|
+
itemCount: z.ZodNumber;
|
|
1214
|
+
}, z.core.$strip>;
|
|
1215
|
+
declare const menuWithItemsSchema: z.ZodObject<{
|
|
1216
|
+
id: z.ZodString;
|
|
1217
|
+
name: z.ZodString;
|
|
1218
|
+
label: z.ZodString;
|
|
1219
|
+
createdAt: z.ZodString;
|
|
1220
|
+
updatedAt: z.ZodString;
|
|
1221
|
+
locale: z.ZodString;
|
|
1222
|
+
translationGroup: z.ZodNullable<z.ZodString>;
|
|
1223
|
+
items: z.ZodArray<z.ZodObject<{
|
|
1224
|
+
id: z.ZodString;
|
|
1225
|
+
menuId: z.ZodString;
|
|
1226
|
+
parentId: z.ZodNullable<z.ZodString>;
|
|
1227
|
+
sortOrder: z.ZodNumber;
|
|
1228
|
+
type: z.ZodString;
|
|
1229
|
+
referenceCollection: z.ZodNullable<z.ZodString>;
|
|
1230
|
+
referenceId: z.ZodNullable<z.ZodString>;
|
|
1231
|
+
customUrl: z.ZodNullable<z.ZodString>;
|
|
1232
|
+
label: z.ZodString;
|
|
1233
|
+
titleAttr: z.ZodNullable<z.ZodString>;
|
|
1234
|
+
target: z.ZodNullable<z.ZodString>;
|
|
1235
|
+
cssClasses: z.ZodNullable<z.ZodString>;
|
|
1236
|
+
createdAt: z.ZodString;
|
|
1237
|
+
locale: z.ZodString;
|
|
1238
|
+
translationGroup: z.ZodNullable<z.ZodString>;
|
|
1239
|
+
}, z.core.$strip>>;
|
|
1240
|
+
}, z.core.$strip>;
|
|
1241
|
+
//#endregion
|
|
1242
|
+
//#region src/api/schemas/taxonomies.d.ts
|
|
1243
|
+
declare const createTaxonomyDefBody: z.ZodObject<{
|
|
1244
|
+
name: z.ZodString;
|
|
1245
|
+
label: z.ZodString;
|
|
1246
|
+
labelSingular: z.ZodOptional<z.ZodString>;
|
|
1247
|
+
hierarchical: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
1248
|
+
collections: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
1249
|
+
locale: z.ZodOptional<z.ZodString>;
|
|
1250
|
+
translationOf: z.ZodOptional<z.ZodString>;
|
|
1251
|
+
}, z.core.$strip>;
|
|
1252
|
+
declare const createTermBody: z.ZodObject<{
|
|
1253
|
+
slug: z.ZodString;
|
|
1254
|
+
label: z.ZodString;
|
|
1255
|
+
parentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1256
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1257
|
+
locale: z.ZodOptional<z.ZodString>;
|
|
1258
|
+
translationOf: z.ZodOptional<z.ZodString>;
|
|
1259
|
+
}, z.core.$strip>;
|
|
1260
|
+
declare const updateTermBody: z.ZodObject<{
|
|
1261
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
1262
|
+
label: z.ZodOptional<z.ZodString>;
|
|
1263
|
+
parentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1264
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1265
|
+
}, z.core.$strip>;
|
|
1266
|
+
declare const taxonomyDefSchema: z.ZodObject<{
|
|
1267
|
+
id: z.ZodString;
|
|
1268
|
+
name: z.ZodString;
|
|
1269
|
+
label: z.ZodString;
|
|
1270
|
+
labelSingular: z.ZodOptional<z.ZodString>;
|
|
1271
|
+
hierarchical: z.ZodBoolean;
|
|
1272
|
+
collections: z.ZodArray<z.ZodString>;
|
|
1273
|
+
locale: z.ZodString;
|
|
1274
|
+
translationGroup: z.ZodNullable<z.ZodString>;
|
|
1275
|
+
}, z.core.$strip>;
|
|
1276
|
+
declare const taxonomyDefTranslationsSchema: z.ZodObject<{
|
|
1277
|
+
translationGroup: z.ZodNullable<z.ZodString>;
|
|
1278
|
+
translations: z.ZodArray<z.ZodObject<{
|
|
1279
|
+
id: z.ZodString;
|
|
1280
|
+
name: z.ZodString;
|
|
1281
|
+
label: z.ZodString;
|
|
1282
|
+
locale: z.ZodString;
|
|
1283
|
+
}, z.core.$strip>>;
|
|
1284
|
+
}, z.core.$strip>;
|
|
1285
|
+
declare const taxonomyListResponseSchema: z.ZodObject<{
|
|
1286
|
+
taxonomies: z.ZodArray<z.ZodObject<{
|
|
1287
|
+
id: z.ZodString;
|
|
1288
|
+
name: z.ZodString;
|
|
1289
|
+
label: z.ZodString;
|
|
1290
|
+
labelSingular: z.ZodOptional<z.ZodString>;
|
|
1291
|
+
hierarchical: z.ZodBoolean;
|
|
1292
|
+
collections: z.ZodArray<z.ZodString>;
|
|
1293
|
+
locale: z.ZodString;
|
|
1294
|
+
translationGroup: z.ZodNullable<z.ZodString>;
|
|
1295
|
+
}, z.core.$strip>>;
|
|
1296
|
+
}, z.core.$strip>;
|
|
1297
|
+
declare const termSchema: z.ZodObject<{
|
|
1298
|
+
id: z.ZodString;
|
|
1299
|
+
name: z.ZodString;
|
|
1300
|
+
slug: z.ZodString;
|
|
1301
|
+
label: z.ZodString;
|
|
1302
|
+
parentId: z.ZodNullable<z.ZodString>;
|
|
1303
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1304
|
+
locale: z.ZodString;
|
|
1305
|
+
translationGroup: z.ZodNullable<z.ZodString>;
|
|
1306
|
+
}, z.core.$strip>;
|
|
1307
|
+
declare const termTranslationsSchema: z.ZodObject<{
|
|
1308
|
+
translationGroup: z.ZodNullable<z.ZodString>;
|
|
1309
|
+
translations: z.ZodArray<z.ZodObject<{
|
|
1310
|
+
id: z.ZodString;
|
|
1311
|
+
slug: z.ZodString;
|
|
1312
|
+
label: z.ZodString;
|
|
1313
|
+
locale: z.ZodString;
|
|
1314
|
+
}, z.core.$strip>>;
|
|
1315
|
+
}, z.core.$strip>;
|
|
1316
|
+
declare const termWithCountSchema: z.ZodType;
|
|
1317
|
+
declare const termListResponseSchema: z.ZodObject<{
|
|
1318
|
+
terms: z.ZodArray<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
1319
|
+
}, z.core.$strip>;
|
|
1320
|
+
declare const termResponseSchema: z.ZodObject<{
|
|
1321
|
+
term: z.ZodObject<{
|
|
1322
|
+
id: z.ZodString;
|
|
1323
|
+
name: z.ZodString;
|
|
1324
|
+
slug: z.ZodString;
|
|
1325
|
+
label: z.ZodString;
|
|
1326
|
+
parentId: z.ZodNullable<z.ZodString>;
|
|
1327
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1328
|
+
locale: z.ZodString;
|
|
1329
|
+
translationGroup: z.ZodNullable<z.ZodString>;
|
|
1330
|
+
}, z.core.$strip>;
|
|
1331
|
+
}, z.core.$strip>;
|
|
1332
|
+
declare const termGetResponseSchema: z.ZodObject<{
|
|
1333
|
+
term: z.ZodObject<{
|
|
1334
|
+
id: z.ZodString;
|
|
1335
|
+
name: z.ZodString;
|
|
1336
|
+
slug: z.ZodString;
|
|
1337
|
+
label: z.ZodString;
|
|
1338
|
+
parentId: z.ZodNullable<z.ZodString>;
|
|
1339
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1340
|
+
locale: z.ZodString;
|
|
1341
|
+
translationGroup: z.ZodNullable<z.ZodString>;
|
|
1342
|
+
count: z.ZodNumber;
|
|
1343
|
+
children: z.ZodArray<z.ZodObject<{
|
|
1344
|
+
id: z.ZodString;
|
|
1345
|
+
slug: z.ZodString;
|
|
1346
|
+
label: z.ZodString;
|
|
1347
|
+
}, z.core.$strip>>;
|
|
1348
|
+
}, z.core.$strip>;
|
|
1349
|
+
}, z.core.$strip>;
|
|
1350
|
+
//#endregion
|
|
1351
|
+
//#region src/api/schemas/sections.d.ts
|
|
1352
|
+
declare const sectionsListQuery: z.ZodObject<{
|
|
1353
|
+
source: z.ZodOptional<z.ZodEnum<{
|
|
1354
|
+
theme: "theme";
|
|
1355
|
+
user: "user";
|
|
1356
|
+
import: "import";
|
|
1357
|
+
}>>;
|
|
1358
|
+
search: z.ZodOptional<z.ZodString>;
|
|
1359
|
+
limit: z.ZodDefault<z.ZodOptional<z.ZodCoercedNumber<unknown>>>;
|
|
1360
|
+
cursor: z.ZodOptional<z.ZodString>;
|
|
1361
|
+
}, z.core.$strip>;
|
|
1362
|
+
declare const createSectionBody: z.ZodObject<{
|
|
1363
|
+
slug: z.ZodString;
|
|
1364
|
+
title: z.ZodString;
|
|
1365
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1366
|
+
keywords: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1367
|
+
content: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1368
|
+
previewMediaId: z.ZodOptional<z.ZodString>;
|
|
1369
|
+
source: z.ZodOptional<z.ZodEnum<{
|
|
1370
|
+
user: "user";
|
|
1371
|
+
import: "import";
|
|
1372
|
+
}>>;
|
|
1373
|
+
themeId: z.ZodOptional<z.ZodString>;
|
|
1374
|
+
}, z.core.$strip>;
|
|
1375
|
+
declare const updateSectionBody: z.ZodObject<{
|
|
1376
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
1377
|
+
title: z.ZodOptional<z.ZodString>;
|
|
1378
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1379
|
+
keywords: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1380
|
+
content: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
1381
|
+
previewMediaId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1382
|
+
}, z.core.$strip>;
|
|
1383
|
+
declare const sectionSchema: z.ZodObject<{
|
|
1384
|
+
id: z.ZodString;
|
|
1385
|
+
slug: z.ZodString;
|
|
1386
|
+
title: z.ZodString;
|
|
1387
|
+
description: z.ZodNullable<z.ZodString>;
|
|
1388
|
+
keywords: z.ZodNullable<z.ZodArray<z.ZodString>>;
|
|
1389
|
+
content: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1390
|
+
previewMediaId: z.ZodNullable<z.ZodString>;
|
|
1391
|
+
source: z.ZodString;
|
|
1392
|
+
themeId: z.ZodNullable<z.ZodString>;
|
|
1393
|
+
createdAt: z.ZodString;
|
|
1394
|
+
updatedAt: z.ZodString;
|
|
1395
|
+
}, z.core.$strip>;
|
|
1396
|
+
declare const sectionListResponseSchema: z.ZodObject<{
|
|
1397
|
+
items: z.ZodArray<z.ZodObject<{
|
|
1398
|
+
id: z.ZodString;
|
|
1399
|
+
slug: z.ZodString;
|
|
1400
|
+
title: z.ZodString;
|
|
1401
|
+
description: z.ZodNullable<z.ZodString>;
|
|
1402
|
+
keywords: z.ZodNullable<z.ZodArray<z.ZodString>>;
|
|
1403
|
+
content: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1404
|
+
previewMediaId: z.ZodNullable<z.ZodString>;
|
|
1405
|
+
source: z.ZodString;
|
|
1406
|
+
themeId: z.ZodNullable<z.ZodString>;
|
|
1407
|
+
createdAt: z.ZodString;
|
|
1408
|
+
updatedAt: z.ZodString;
|
|
1409
|
+
}, z.core.$strip>>;
|
|
1410
|
+
nextCursor: z.ZodOptional<z.ZodString>;
|
|
1411
|
+
}, z.core.$strip>;
|
|
1412
|
+
//#endregion
|
|
1413
|
+
//#region src/api/schemas/settings.d.ts
|
|
1414
|
+
declare const settingsUpdateBody: z.ZodObject<{
|
|
1415
|
+
title: z.ZodOptional<z.ZodString>;
|
|
1416
|
+
tagline: z.ZodOptional<z.ZodString>;
|
|
1417
|
+
logo: z.ZodOptional<z.ZodObject<{
|
|
1418
|
+
mediaId: z.ZodString;
|
|
1419
|
+
alt: z.ZodOptional<z.ZodString>;
|
|
1420
|
+
}, z.core.$strip>>;
|
|
1421
|
+
favicon: z.ZodOptional<z.ZodObject<{
|
|
1422
|
+
mediaId: z.ZodString;
|
|
1423
|
+
alt: z.ZodOptional<z.ZodString>;
|
|
1424
|
+
}, z.core.$strip>>;
|
|
1425
|
+
url: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodLiteral<"">]>>;
|
|
1426
|
+
postsPerPage: z.ZodOptional<z.ZodNumber>;
|
|
1427
|
+
dateFormat: z.ZodOptional<z.ZodString>;
|
|
1428
|
+
timezone: z.ZodOptional<z.ZodString>;
|
|
1429
|
+
social: z.ZodOptional<z.ZodObject<{
|
|
1430
|
+
twitter: z.ZodOptional<z.ZodString>;
|
|
1431
|
+
github: z.ZodOptional<z.ZodString>;
|
|
1432
|
+
facebook: z.ZodOptional<z.ZodString>;
|
|
1433
|
+
instagram: z.ZodOptional<z.ZodString>;
|
|
1434
|
+
linkedin: z.ZodOptional<z.ZodString>;
|
|
1435
|
+
youtube: z.ZodOptional<z.ZodString>;
|
|
1436
|
+
}, z.core.$strip>>;
|
|
1437
|
+
seo: z.ZodOptional<z.ZodObject<{
|
|
1438
|
+
titleSeparator: z.ZodOptional<z.ZodString>;
|
|
1439
|
+
defaultOgImage: z.ZodOptional<z.ZodObject<{
|
|
1440
|
+
mediaId: z.ZodString;
|
|
1441
|
+
alt: z.ZodOptional<z.ZodString>;
|
|
1442
|
+
}, z.core.$strip>>;
|
|
1443
|
+
robotsTxt: z.ZodOptional<z.ZodString>;
|
|
1444
|
+
googleVerification: z.ZodOptional<z.ZodString>;
|
|
1445
|
+
bingVerification: z.ZodOptional<z.ZodString>;
|
|
1446
|
+
}, z.core.$strip>>;
|
|
1447
|
+
}, z.core.$strip>;
|
|
1448
|
+
declare const siteSettingsSchema: z.ZodObject<{
|
|
1449
|
+
title: z.ZodOptional<z.ZodString>;
|
|
1450
|
+
tagline: z.ZodOptional<z.ZodString>;
|
|
1451
|
+
logo: z.ZodOptional<z.ZodObject<{
|
|
1452
|
+
mediaId: z.ZodString;
|
|
1453
|
+
alt: z.ZodOptional<z.ZodString>;
|
|
1454
|
+
url: z.ZodOptional<z.ZodString>;
|
|
1455
|
+
contentType: z.ZodOptional<z.ZodString>;
|
|
1456
|
+
width: z.ZodOptional<z.ZodNumber>;
|
|
1457
|
+
height: z.ZodOptional<z.ZodNumber>;
|
|
1458
|
+
}, z.core.$strip>>;
|
|
1459
|
+
favicon: z.ZodOptional<z.ZodObject<{
|
|
1460
|
+
mediaId: z.ZodString;
|
|
1461
|
+
alt: z.ZodOptional<z.ZodString>;
|
|
1462
|
+
url: z.ZodOptional<z.ZodString>;
|
|
1463
|
+
contentType: z.ZodOptional<z.ZodString>;
|
|
1464
|
+
width: z.ZodOptional<z.ZodNumber>;
|
|
1465
|
+
height: z.ZodOptional<z.ZodNumber>;
|
|
1466
|
+
}, z.core.$strip>>;
|
|
1467
|
+
url: z.ZodOptional<z.ZodString>;
|
|
1468
|
+
postsPerPage: z.ZodOptional<z.ZodNumber>;
|
|
1469
|
+
dateFormat: z.ZodOptional<z.ZodString>;
|
|
1470
|
+
timezone: z.ZodOptional<z.ZodString>;
|
|
1471
|
+
social: z.ZodOptional<z.ZodObject<{
|
|
1472
|
+
twitter: z.ZodOptional<z.ZodString>;
|
|
1473
|
+
github: z.ZodOptional<z.ZodString>;
|
|
1474
|
+
facebook: z.ZodOptional<z.ZodString>;
|
|
1475
|
+
instagram: z.ZodOptional<z.ZodString>;
|
|
1476
|
+
linkedin: z.ZodOptional<z.ZodString>;
|
|
1477
|
+
youtube: z.ZodOptional<z.ZodString>;
|
|
1478
|
+
}, z.core.$strip>>;
|
|
1479
|
+
seo: z.ZodOptional<z.ZodObject<{
|
|
1480
|
+
titleSeparator: z.ZodOptional<z.ZodString>;
|
|
1481
|
+
defaultOgImage: z.ZodOptional<z.ZodObject<{
|
|
1482
|
+
mediaId: z.ZodString;
|
|
1483
|
+
alt: z.ZodOptional<z.ZodString>;
|
|
1484
|
+
url: z.ZodOptional<z.ZodString>;
|
|
1485
|
+
contentType: z.ZodOptional<z.ZodString>;
|
|
1486
|
+
width: z.ZodOptional<z.ZodNumber>;
|
|
1487
|
+
height: z.ZodOptional<z.ZodNumber>;
|
|
1488
|
+
}, z.core.$strip>>;
|
|
1489
|
+
robotsTxt: z.ZodOptional<z.ZodString>;
|
|
1490
|
+
googleVerification: z.ZodOptional<z.ZodString>;
|
|
1491
|
+
bingVerification: z.ZodOptional<z.ZodString>;
|
|
1492
|
+
}, z.core.$strip>>;
|
|
1493
|
+
}, z.core.$strip>;
|
|
1494
|
+
//#endregion
|
|
1495
|
+
//#region src/api/schemas/search.d.ts
|
|
1496
|
+
declare const searchQuery: z.ZodObject<{
|
|
1497
|
+
q: z.ZodString;
|
|
1498
|
+
collections: z.ZodOptional<z.ZodString>;
|
|
1499
|
+
status: z.ZodOptional<z.ZodString>;
|
|
1500
|
+
locale: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>>;
|
|
1501
|
+
limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
1502
|
+
}, z.core.$strip>;
|
|
1503
|
+
declare const searchSuggestQuery: z.ZodObject<{
|
|
1504
|
+
q: z.ZodString;
|
|
1505
|
+
collections: z.ZodOptional<z.ZodString>;
|
|
1506
|
+
locale: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>>;
|
|
1507
|
+
limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
1508
|
+
}, z.core.$strip>;
|
|
1509
|
+
declare const searchRebuildBody: z.ZodObject<{
|
|
1510
|
+
collection: z.ZodString;
|
|
1511
|
+
}, z.core.$strip>;
|
|
1512
|
+
declare const searchEnableBody: z.ZodObject<{
|
|
1513
|
+
collection: z.ZodString;
|
|
1514
|
+
enabled: z.ZodBoolean;
|
|
1515
|
+
weights: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
|
|
1516
|
+
}, z.core.$strip>;
|
|
1517
|
+
declare const searchResultSchema: z.ZodObject<{
|
|
1518
|
+
collection: z.ZodString;
|
|
1519
|
+
id: z.ZodString;
|
|
1520
|
+
slug: z.ZodNullable<z.ZodString>;
|
|
1521
|
+
locale: z.ZodString;
|
|
1522
|
+
title: z.ZodOptional<z.ZodString>;
|
|
1523
|
+
snippet: z.ZodOptional<z.ZodString>;
|
|
1524
|
+
score: z.ZodNumber;
|
|
1525
|
+
}, z.core.$strip>;
|
|
1526
|
+
declare const searchResponseSchema: z.ZodObject<{
|
|
1527
|
+
items: z.ZodArray<z.ZodObject<{
|
|
1528
|
+
collection: z.ZodString;
|
|
1529
|
+
id: z.ZodString;
|
|
1530
|
+
slug: z.ZodNullable<z.ZodString>;
|
|
1531
|
+
locale: z.ZodString;
|
|
1532
|
+
title: z.ZodOptional<z.ZodString>;
|
|
1533
|
+
snippet: z.ZodOptional<z.ZodString>;
|
|
1534
|
+
score: z.ZodNumber;
|
|
1535
|
+
}, z.core.$strip>>;
|
|
1536
|
+
nextCursor: z.ZodOptional<z.ZodString>;
|
|
1537
|
+
}, z.core.$strip>;
|
|
1538
|
+
//#endregion
|
|
1539
|
+
//#region src/api/schemas/import.d.ts
|
|
1540
|
+
declare const importProbeBody: z.ZodObject<{
|
|
1541
|
+
url: z.ZodString;
|
|
1542
|
+
}, z.core.$strip>;
|
|
1543
|
+
declare const wpPluginAnalyzeBody: z.ZodObject<{
|
|
1544
|
+
url: z.ZodString;
|
|
1545
|
+
token: z.ZodString;
|
|
1546
|
+
}, z.core.$strip>;
|
|
1547
|
+
declare const wpPluginExecuteBody: z.ZodObject<{
|
|
1548
|
+
url: z.ZodString;
|
|
1549
|
+
token: z.ZodString;
|
|
1550
|
+
config: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
1551
|
+
}, z.core.$strip>;
|
|
1552
|
+
declare const wpPrepareBody: z.ZodObject<{
|
|
1553
|
+
postTypes: z.ZodArray<z.ZodObject<{
|
|
1554
|
+
name: z.ZodString;
|
|
1555
|
+
collection: z.ZodString;
|
|
1556
|
+
fields: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1557
|
+
slug: z.ZodString;
|
|
1558
|
+
label: z.ZodString;
|
|
1559
|
+
type: z.ZodString;
|
|
1560
|
+
required: z.ZodBoolean;
|
|
1561
|
+
searchable: z.ZodOptional<z.ZodBoolean>;
|
|
1562
|
+
}, z.core.$strip>>>;
|
|
1563
|
+
}, z.core.$strip>>;
|
|
1564
|
+
}, z.core.$strip>;
|
|
1565
|
+
declare const wpMediaImportBody: z.ZodObject<{
|
|
1566
|
+
attachments: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1567
|
+
stream: z.ZodOptional<z.ZodBoolean>;
|
|
1568
|
+
}, z.core.$strip>;
|
|
1569
|
+
declare const wpRewriteUrlsBody: z.ZodObject<{
|
|
1570
|
+
urlMap: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
1571
|
+
collections: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1572
|
+
}, z.core.$strip>;
|
|
1573
|
+
//#endregion
|
|
1574
|
+
//#region src/api/schemas/setup.d.ts
|
|
1575
|
+
declare const setupBody: z.ZodObject<{
|
|
1576
|
+
title: z.ZodString;
|
|
1577
|
+
tagline: z.ZodOptional<z.ZodString>;
|
|
1578
|
+
includeContent: z.ZodBoolean;
|
|
1579
|
+
}, z.core.$strip>;
|
|
1580
|
+
declare const setupAdminBody: z.ZodObject<{
|
|
1581
|
+
email: z.ZodString;
|
|
1582
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1583
|
+
}, z.core.$strip>;
|
|
1584
|
+
declare const setupAdminVerifyBody: z.ZodObject<{
|
|
1585
|
+
credential: z.ZodObject<{
|
|
1586
|
+
id: z.ZodString;
|
|
1587
|
+
rawId: z.ZodString;
|
|
1588
|
+
type: z.ZodLiteral<"public-key">;
|
|
1589
|
+
response: z.ZodObject<{
|
|
1590
|
+
clientDataJSON: z.ZodString;
|
|
1591
|
+
attestationObject: z.ZodString;
|
|
1592
|
+
transports: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
1593
|
+
usb: "usb";
|
|
1594
|
+
nfc: "nfc";
|
|
1595
|
+
ble: "ble";
|
|
1596
|
+
internal: "internal";
|
|
1597
|
+
hybrid: "hybrid";
|
|
1598
|
+
}>>>;
|
|
1599
|
+
}, z.core.$strip>;
|
|
1600
|
+
authenticatorAttachment: z.ZodOptional<z.ZodEnum<{
|
|
1601
|
+
platform: "platform";
|
|
1602
|
+
"cross-platform": "cross-platform";
|
|
1603
|
+
}>>;
|
|
1604
|
+
}, z.core.$strip>;
|
|
1605
|
+
}, z.core.$strip>;
|
|
1606
|
+
declare const atprotoLoginBody: z.ZodObject<{
|
|
1607
|
+
handle: z.ZodString;
|
|
1608
|
+
}, z.core.$strip>;
|
|
1609
|
+
declare const setupAtprotoAdminBody: z.ZodObject<{
|
|
1610
|
+
handle: z.ZodString;
|
|
1611
|
+
}, z.core.$strip>;
|
|
1612
|
+
//#endregion
|
|
1613
|
+
//#region src/api/schemas/users.d.ts
|
|
1614
|
+
declare const usersListQuery: z.ZodObject<{
|
|
1615
|
+
search: z.ZodOptional<z.ZodString>;
|
|
1616
|
+
role: z.ZodOptional<z.ZodString>;
|
|
1617
|
+
cursor: z.ZodOptional<z.ZodString>;
|
|
1618
|
+
limit: z.ZodDefault<z.ZodOptional<z.ZodCoercedNumber<unknown>>>;
|
|
1619
|
+
}, z.core.$strip>;
|
|
1620
|
+
declare const userUpdateBody: z.ZodObject<{
|
|
1621
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1622
|
+
email: z.ZodOptional<z.ZodString>;
|
|
1623
|
+
role: z.ZodOptional<z.ZodCoercedNumber<unknown> & z.ZodType<50 | 10 | 20 | 30 | 40, unknown, z.core.$ZodTypeInternals<50 | 10 | 20 | 30 | 40, unknown>>>;
|
|
1624
|
+
}, z.core.$strip>;
|
|
1625
|
+
declare const allowedDomainCreateBody: z.ZodObject<{
|
|
1626
|
+
domain: z.ZodString;
|
|
1627
|
+
defaultRole: z.ZodCoercedNumber<unknown> & z.ZodType<50 | 10 | 20 | 30 | 40, unknown, z.core.$ZodTypeInternals<50 | 10 | 20 | 30 | 40, unknown>>;
|
|
1628
|
+
}, z.core.$strip>;
|
|
1629
|
+
declare const allowedDomainUpdateBody: z.ZodObject<{
|
|
1630
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
1631
|
+
defaultRole: z.ZodOptional<z.ZodCoercedNumber<unknown> & z.ZodType<50 | 10 | 20 | 30 | 40, unknown, z.core.$ZodTypeInternals<50 | 10 | 20 | 30 | 40, unknown>>>;
|
|
1632
|
+
}, z.core.$strip>;
|
|
1633
|
+
declare const userSchema: z.ZodObject<{
|
|
1634
|
+
id: z.ZodString;
|
|
1635
|
+
email: z.ZodString;
|
|
1636
|
+
name: z.ZodNullable<z.ZodString>;
|
|
1637
|
+
avatarUrl: z.ZodNullable<z.ZodString>;
|
|
1638
|
+
role: z.ZodNumber;
|
|
1639
|
+
emailVerified: z.ZodBoolean;
|
|
1640
|
+
disabled: z.ZodBoolean;
|
|
1641
|
+
createdAt: z.ZodString;
|
|
1642
|
+
updatedAt: z.ZodString;
|
|
1643
|
+
lastLogin: z.ZodNullable<z.ZodString>;
|
|
1644
|
+
credentialCount: z.ZodOptional<z.ZodNumber>;
|
|
1645
|
+
oauthProviders: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1646
|
+
}, z.core.$strip>;
|
|
1647
|
+
declare const userListResponseSchema: z.ZodObject<{
|
|
1648
|
+
items: z.ZodArray<z.ZodObject<{
|
|
1649
|
+
id: z.ZodString;
|
|
1650
|
+
email: z.ZodString;
|
|
1651
|
+
name: z.ZodNullable<z.ZodString>;
|
|
1652
|
+
avatarUrl: z.ZodNullable<z.ZodString>;
|
|
1653
|
+
role: z.ZodNumber;
|
|
1654
|
+
emailVerified: z.ZodBoolean;
|
|
1655
|
+
disabled: z.ZodBoolean;
|
|
1656
|
+
createdAt: z.ZodString;
|
|
1657
|
+
updatedAt: z.ZodString;
|
|
1658
|
+
lastLogin: z.ZodNullable<z.ZodString>;
|
|
1659
|
+
credentialCount: z.ZodOptional<z.ZodNumber>;
|
|
1660
|
+
oauthProviders: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1661
|
+
}, z.core.$strip>>;
|
|
1662
|
+
nextCursor: z.ZodOptional<z.ZodString>;
|
|
1663
|
+
}, z.core.$strip>;
|
|
1664
|
+
declare const userDetailSchema: z.ZodObject<{
|
|
1665
|
+
id: z.ZodString;
|
|
1666
|
+
email: z.ZodString;
|
|
1667
|
+
name: z.ZodNullable<z.ZodString>;
|
|
1668
|
+
avatarUrl: z.ZodNullable<z.ZodString>;
|
|
1669
|
+
role: z.ZodNumber;
|
|
1670
|
+
emailVerified: z.ZodBoolean;
|
|
1671
|
+
disabled: z.ZodBoolean;
|
|
1672
|
+
createdAt: z.ZodString;
|
|
1673
|
+
updatedAt: z.ZodString;
|
|
1674
|
+
lastLogin: z.ZodNullable<z.ZodString>;
|
|
1675
|
+
credentials: z.ZodArray<z.ZodObject<{
|
|
1676
|
+
id: z.ZodString;
|
|
1677
|
+
name: z.ZodNullable<z.ZodString>;
|
|
1678
|
+
deviceType: z.ZodNullable<z.ZodString>;
|
|
1679
|
+
createdAt: z.ZodString;
|
|
1680
|
+
lastUsedAt: z.ZodString;
|
|
1681
|
+
}, z.core.$strip>>;
|
|
1682
|
+
oauthAccounts: z.ZodArray<z.ZodObject<{
|
|
1683
|
+
provider: z.ZodString;
|
|
1684
|
+
createdAt: z.ZodString;
|
|
1685
|
+
}, z.core.$strip>>;
|
|
1686
|
+
}, z.core.$strip>;
|
|
1687
|
+
//#endregion
|
|
1688
|
+
//#region src/api/schemas/widgets.d.ts
|
|
1689
|
+
declare const createWidgetAreaBody: z.ZodObject<{
|
|
1690
|
+
name: z.ZodString;
|
|
1691
|
+
label: z.ZodString;
|
|
1692
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1693
|
+
}, z.core.$strip>;
|
|
1694
|
+
declare const createWidgetBody: z.ZodObject<{
|
|
1695
|
+
type: z.ZodEnum<{
|
|
1696
|
+
content: "content";
|
|
1697
|
+
menu: "menu";
|
|
1698
|
+
component: "component";
|
|
1699
|
+
}>;
|
|
1700
|
+
title: z.ZodOptional<z.ZodString>;
|
|
1701
|
+
content: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
1702
|
+
menuName: z.ZodOptional<z.ZodString>;
|
|
1703
|
+
componentId: z.ZodOptional<z.ZodString>;
|
|
1704
|
+
componentProps: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1705
|
+
}, z.core.$strip>;
|
|
1706
|
+
declare const updateWidgetBody: z.ZodObject<{
|
|
1707
|
+
type: z.ZodOptional<z.ZodEnum<{
|
|
1708
|
+
content: "content";
|
|
1709
|
+
menu: "menu";
|
|
1710
|
+
component: "component";
|
|
1711
|
+
}>>;
|
|
1712
|
+
title: z.ZodOptional<z.ZodString>;
|
|
1713
|
+
content: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
1714
|
+
menuName: z.ZodOptional<z.ZodString>;
|
|
1715
|
+
componentId: z.ZodOptional<z.ZodString>;
|
|
1716
|
+
componentProps: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1717
|
+
}, z.core.$strip>;
|
|
1718
|
+
declare const reorderWidgetsBody: z.ZodObject<{
|
|
1719
|
+
widgetIds: z.ZodArray<z.ZodString>;
|
|
1720
|
+
}, z.core.$strip>;
|
|
1721
|
+
declare const widgetAreaSchema: z.ZodObject<{
|
|
1722
|
+
id: z.ZodString;
|
|
1723
|
+
name: z.ZodString;
|
|
1724
|
+
label: z.ZodString;
|
|
1725
|
+
description: z.ZodNullable<z.ZodString>;
|
|
1726
|
+
created_at: z.ZodString;
|
|
1727
|
+
updated_at: z.ZodString;
|
|
1728
|
+
}, z.core.$strip>;
|
|
1729
|
+
declare const widgetSchema: z.ZodObject<{
|
|
1730
|
+
id: z.ZodString;
|
|
1731
|
+
type: z.ZodEnum<{
|
|
1732
|
+
content: "content";
|
|
1733
|
+
menu: "menu";
|
|
1734
|
+
component: "component";
|
|
1735
|
+
}>;
|
|
1736
|
+
title: z.ZodOptional<z.ZodString>;
|
|
1737
|
+
content: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
1738
|
+
menuName: z.ZodOptional<z.ZodString>;
|
|
1739
|
+
componentId: z.ZodOptional<z.ZodString>;
|
|
1740
|
+
componentProps: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1741
|
+
}, z.core.$strip>;
|
|
1742
|
+
declare const widgetAreaWithWidgetsSchema: z.ZodObject<{
|
|
1743
|
+
id: z.ZodString;
|
|
1744
|
+
name: z.ZodString;
|
|
1745
|
+
label: z.ZodString;
|
|
1746
|
+
description: z.ZodNullable<z.ZodString>;
|
|
1747
|
+
created_at: z.ZodString;
|
|
1748
|
+
updated_at: z.ZodString;
|
|
1749
|
+
widgets: z.ZodArray<z.ZodObject<{
|
|
1750
|
+
id: z.ZodString;
|
|
1751
|
+
type: z.ZodEnum<{
|
|
1752
|
+
content: "content";
|
|
1753
|
+
menu: "menu";
|
|
1754
|
+
component: "component";
|
|
1755
|
+
}>;
|
|
1756
|
+
title: z.ZodOptional<z.ZodString>;
|
|
1757
|
+
content: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
1758
|
+
menuName: z.ZodOptional<z.ZodString>;
|
|
1759
|
+
componentId: z.ZodOptional<z.ZodString>;
|
|
1760
|
+
componentProps: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1761
|
+
}, z.core.$strip>>;
|
|
1762
|
+
}, z.core.$strip>;
|
|
1763
|
+
declare const widgetAreaWithWidgetsAndCountSchema: z.ZodObject<{
|
|
1764
|
+
id: z.ZodString;
|
|
1765
|
+
name: z.ZodString;
|
|
1766
|
+
label: z.ZodString;
|
|
1767
|
+
description: z.ZodNullable<z.ZodString>;
|
|
1768
|
+
created_at: z.ZodString;
|
|
1769
|
+
updated_at: z.ZodString;
|
|
1770
|
+
widgets: z.ZodArray<z.ZodObject<{
|
|
1771
|
+
id: z.ZodString;
|
|
1772
|
+
type: z.ZodEnum<{
|
|
1773
|
+
content: "content";
|
|
1774
|
+
menu: "menu";
|
|
1775
|
+
component: "component";
|
|
1776
|
+
}>;
|
|
1777
|
+
title: z.ZodOptional<z.ZodString>;
|
|
1778
|
+
content: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
1779
|
+
menuName: z.ZodOptional<z.ZodString>;
|
|
1780
|
+
componentId: z.ZodOptional<z.ZodString>;
|
|
1781
|
+
componentProps: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1782
|
+
}, z.core.$strip>>;
|
|
1783
|
+
widgetCount: z.ZodNumber;
|
|
1784
|
+
}, z.core.$strip>;
|
|
1785
|
+
//#endregion
|
|
1786
|
+
//#region src/api/schemas/redirects.d.ts
|
|
1787
|
+
declare const createRedirectBody: z.ZodObject<{
|
|
1788
|
+
source: z.ZodString;
|
|
1789
|
+
destination: z.ZodString;
|
|
1790
|
+
type: z.ZodDefault<z.ZodOptional<z.ZodCoercedNumber<unknown>>>;
|
|
1791
|
+
enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
1792
|
+
groupName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1793
|
+
}, z.core.$strip>;
|
|
1794
|
+
declare const updateRedirectBody: z.ZodObject<{
|
|
1795
|
+
source: z.ZodOptional<z.ZodString>;
|
|
1796
|
+
destination: z.ZodOptional<z.ZodString>;
|
|
1797
|
+
type: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
1798
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
1799
|
+
groupName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1800
|
+
}, z.core.$strip>;
|
|
1801
|
+
declare const redirectsListQuery: z.ZodObject<{
|
|
1802
|
+
cursor: z.ZodOptional<z.ZodString>;
|
|
1803
|
+
limit: z.ZodDefault<z.ZodOptional<z.ZodCoercedNumber<unknown>>>;
|
|
1804
|
+
search: z.ZodOptional<z.ZodString>;
|
|
1805
|
+
group: z.ZodOptional<z.ZodString>;
|
|
1806
|
+
enabled: z.ZodOptional<z.ZodPipe<z.ZodEnum<{
|
|
1807
|
+
true: "true";
|
|
1808
|
+
false: "false";
|
|
1809
|
+
}>, z.ZodTransform<boolean, "true" | "false">>>;
|
|
1810
|
+
auto: z.ZodOptional<z.ZodPipe<z.ZodEnum<{
|
|
1811
|
+
true: "true";
|
|
1812
|
+
false: "false";
|
|
1813
|
+
}>, z.ZodTransform<boolean, "true" | "false">>>;
|
|
1814
|
+
}, z.core.$strip>;
|
|
1815
|
+
declare const notFoundListQuery: z.ZodObject<{
|
|
1816
|
+
cursor: z.ZodOptional<z.ZodString>;
|
|
1817
|
+
limit: z.ZodDefault<z.ZodOptional<z.ZodCoercedNumber<unknown>>>;
|
|
1818
|
+
search: z.ZodOptional<z.ZodString>;
|
|
1819
|
+
}, z.core.$strip>;
|
|
1820
|
+
declare const notFoundSummaryQuery: z.ZodObject<{
|
|
1821
|
+
limit: z.ZodDefault<z.ZodOptional<z.ZodCoercedNumber<unknown>>>;
|
|
1822
|
+
}, z.core.$strip>;
|
|
1823
|
+
declare const notFoundPruneBody: z.ZodObject<{
|
|
1824
|
+
olderThan: z.ZodString;
|
|
1825
|
+
}, z.core.$strip>;
|
|
1826
|
+
declare const redirectSchema: z.ZodObject<{
|
|
1827
|
+
id: z.ZodString;
|
|
1828
|
+
source: z.ZodString;
|
|
1829
|
+
destination: z.ZodString;
|
|
1830
|
+
type: z.ZodNumber;
|
|
1831
|
+
isPattern: z.ZodBoolean;
|
|
1832
|
+
enabled: z.ZodBoolean;
|
|
1833
|
+
hits: z.ZodNumber;
|
|
1834
|
+
lastHitAt: z.ZodNullable<z.ZodString>;
|
|
1835
|
+
groupName: z.ZodNullable<z.ZodString>;
|
|
1836
|
+
auto: z.ZodBoolean;
|
|
1837
|
+
createdAt: z.ZodString;
|
|
1838
|
+
updatedAt: z.ZodString;
|
|
1839
|
+
}, z.core.$strip>;
|
|
1840
|
+
declare const redirectListResponseSchema: z.ZodObject<{
|
|
1841
|
+
items: z.ZodArray<z.ZodObject<{
|
|
1842
|
+
id: z.ZodString;
|
|
1843
|
+
source: z.ZodString;
|
|
1844
|
+
destination: z.ZodString;
|
|
1845
|
+
type: z.ZodNumber;
|
|
1846
|
+
isPattern: z.ZodBoolean;
|
|
1847
|
+
enabled: z.ZodBoolean;
|
|
1848
|
+
hits: z.ZodNumber;
|
|
1849
|
+
lastHitAt: z.ZodNullable<z.ZodString>;
|
|
1850
|
+
groupName: z.ZodNullable<z.ZodString>;
|
|
1851
|
+
auto: z.ZodBoolean;
|
|
1852
|
+
createdAt: z.ZodString;
|
|
1853
|
+
updatedAt: z.ZodString;
|
|
1854
|
+
}, z.core.$strip>>;
|
|
1855
|
+
nextCursor: z.ZodOptional<z.ZodString>;
|
|
1856
|
+
loopRedirectIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1857
|
+
}, z.core.$strip>;
|
|
1858
|
+
declare const notFoundEntrySchema: z.ZodObject<{
|
|
1859
|
+
id: z.ZodString;
|
|
1860
|
+
path: z.ZodString;
|
|
1861
|
+
referrer: z.ZodNullable<z.ZodString>;
|
|
1862
|
+
userAgent: z.ZodNullable<z.ZodString>;
|
|
1863
|
+
ip: z.ZodNullable<z.ZodString>;
|
|
1864
|
+
createdAt: z.ZodString;
|
|
1865
|
+
}, z.core.$strip>;
|
|
1866
|
+
declare const notFoundListResponseSchema: z.ZodObject<{
|
|
1867
|
+
items: z.ZodArray<z.ZodObject<{
|
|
1868
|
+
id: z.ZodString;
|
|
1869
|
+
path: z.ZodString;
|
|
1870
|
+
referrer: z.ZodNullable<z.ZodString>;
|
|
1871
|
+
userAgent: z.ZodNullable<z.ZodString>;
|
|
1872
|
+
ip: z.ZodNullable<z.ZodString>;
|
|
1873
|
+
createdAt: z.ZodString;
|
|
1874
|
+
}, z.core.$strip>>;
|
|
1875
|
+
nextCursor: z.ZodOptional<z.ZodString>;
|
|
1876
|
+
}, z.core.$strip>;
|
|
1877
|
+
declare const notFoundSummarySchema: z.ZodObject<{
|
|
1878
|
+
path: z.ZodString;
|
|
1879
|
+
count: z.ZodNumber;
|
|
1880
|
+
lastSeen: z.ZodString;
|
|
1881
|
+
topReferrer: z.ZodNullable<z.ZodString>;
|
|
1882
|
+
}, z.core.$strip>;
|
|
1883
|
+
declare const notFoundSummaryResponseSchema: z.ZodObject<{
|
|
1884
|
+
items: z.ZodArray<z.ZodObject<{
|
|
1885
|
+
path: z.ZodString;
|
|
1886
|
+
count: z.ZodNumber;
|
|
1887
|
+
lastSeen: z.ZodString;
|
|
1888
|
+
topReferrer: z.ZodNullable<z.ZodString>;
|
|
1889
|
+
}, z.core.$strip>>;
|
|
1890
|
+
}, z.core.$strip>;
|
|
1891
|
+
//#endregion
|
|
1892
|
+
//#region src/api/schemas/bylines.d.ts
|
|
1893
|
+
declare const bylineSummarySchema: z.ZodObject<{
|
|
1894
|
+
id: z.ZodString;
|
|
1895
|
+
slug: z.ZodString;
|
|
1896
|
+
displayName: z.ZodString;
|
|
1897
|
+
bio: z.ZodNullable<z.ZodString>;
|
|
1898
|
+
avatarMediaId: z.ZodNullable<z.ZodString>;
|
|
1899
|
+
websiteUrl: z.ZodNullable<z.ZodString>;
|
|
1900
|
+
userId: z.ZodNullable<z.ZodString>;
|
|
1901
|
+
isGuest: z.ZodBoolean;
|
|
1902
|
+
createdAt: z.ZodString;
|
|
1903
|
+
updatedAt: z.ZodString;
|
|
1904
|
+
}, z.core.$strip>;
|
|
1905
|
+
declare const bylineCreditSchema: z.ZodObject<{
|
|
1906
|
+
byline: z.ZodObject<{
|
|
1907
|
+
id: z.ZodString;
|
|
1908
|
+
slug: z.ZodString;
|
|
1909
|
+
displayName: z.ZodString;
|
|
1910
|
+
bio: z.ZodNullable<z.ZodString>;
|
|
1911
|
+
avatarMediaId: z.ZodNullable<z.ZodString>;
|
|
1912
|
+
websiteUrl: z.ZodNullable<z.ZodString>;
|
|
1913
|
+
userId: z.ZodNullable<z.ZodString>;
|
|
1914
|
+
isGuest: z.ZodBoolean;
|
|
1915
|
+
createdAt: z.ZodString;
|
|
1916
|
+
updatedAt: z.ZodString;
|
|
1917
|
+
}, z.core.$strip>;
|
|
1918
|
+
sortOrder: z.ZodNumber;
|
|
1919
|
+
roleLabel: z.ZodNullable<z.ZodString>;
|
|
1920
|
+
source: z.ZodOptional<z.ZodEnum<{
|
|
1921
|
+
explicit: "explicit";
|
|
1922
|
+
inferred: "inferred";
|
|
1923
|
+
}>>;
|
|
1924
|
+
}, z.core.$strip>;
|
|
1925
|
+
declare const contentBylineInputSchema: z.ZodObject<{
|
|
1926
|
+
bylineId: z.ZodString;
|
|
1927
|
+
roleLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1928
|
+
}, z.core.$strip>;
|
|
1929
|
+
declare const bylinesListQuery: z.ZodObject<{
|
|
1930
|
+
cursor: z.ZodOptional<z.ZodString>;
|
|
1931
|
+
limit: z.ZodDefault<z.ZodOptional<z.ZodCoercedNumber<unknown>>>;
|
|
1932
|
+
search: z.ZodOptional<z.ZodString>;
|
|
1933
|
+
isGuest: z.ZodOptional<z.ZodCoercedBoolean<unknown>>;
|
|
1934
|
+
userId: z.ZodOptional<z.ZodString>;
|
|
1935
|
+
}, z.core.$strip>;
|
|
1936
|
+
declare const bylineCreateBody: z.ZodObject<{
|
|
1937
|
+
slug: z.ZodString;
|
|
1938
|
+
displayName: z.ZodString;
|
|
1939
|
+
bio: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1940
|
+
avatarMediaId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1941
|
+
websiteUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1942
|
+
userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1943
|
+
isGuest: z.ZodOptional<z.ZodBoolean>;
|
|
1944
|
+
}, z.core.$strip>;
|
|
1945
|
+
declare const bylineUpdateBody: z.ZodObject<{
|
|
1946
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
1947
|
+
displayName: z.ZodOptional<z.ZodString>;
|
|
1948
|
+
bio: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1949
|
+
avatarMediaId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1950
|
+
websiteUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1951
|
+
userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1952
|
+
isGuest: z.ZodOptional<z.ZodBoolean>;
|
|
1953
|
+
}, z.core.$strip>;
|
|
1954
|
+
declare const bylineListResponseSchema: z.ZodObject<{
|
|
1955
|
+
items: z.ZodArray<z.ZodObject<{
|
|
1956
|
+
id: z.ZodString;
|
|
1957
|
+
slug: z.ZodString;
|
|
1958
|
+
displayName: z.ZodString;
|
|
1959
|
+
bio: z.ZodNullable<z.ZodString>;
|
|
1960
|
+
avatarMediaId: z.ZodNullable<z.ZodString>;
|
|
1961
|
+
websiteUrl: z.ZodNullable<z.ZodString>;
|
|
1962
|
+
userId: z.ZodNullable<z.ZodString>;
|
|
1963
|
+
isGuest: z.ZodBoolean;
|
|
1964
|
+
createdAt: z.ZodString;
|
|
1965
|
+
updatedAt: z.ZodString;
|
|
1966
|
+
}, z.core.$strip>>;
|
|
1967
|
+
nextCursor: z.ZodOptional<z.ZodString>;
|
|
1968
|
+
}, z.core.$strip>;
|
|
1969
|
+
//#endregion
|
|
1970
|
+
export { siteSettingsSchema as $, roleLevel as $n, collectionSchema as $t, userDetailSchema as A, contentListResponseSchema as An, inviteCreateBody as At, importProbeBody as B, contentTrashQuery as Bn, adminCommentListResponseSchema as Bt, updateWidgetBody as C, mediaUpdateBody as Cn, menuTranslationsSchema as Ct, widgetSchema as D, contentCreateBody as Dn, updateMenuItemBody as Dt, widgetAreaWithWidgetsSchema as E, contentCompareResponseSchema as En, updateMenuBody as Et, atprotoLoginBody as F, contentSeoInput as Fn, passkeyRegisterVerifyBody as Ft, wpRewriteUrlsBody as G, apiErrorSchema as Gn, commentSchema as Gt, wpPluginAnalyzeBody as H, trashedContentItemSchema as Hn, commentBulkResponseSchema as Ht, setupAdminBody as I, contentSeoSchema as In, passkeyRenameBody as It, searchRebuildBody as J, deleteResponseSchema as Jn, publicCommentListResponseSchema as Jt, searchEnableBody as K, countResponseSchema as Kn, commentStatusBody as Kt, setupAdminVerifyBody as L, contentTermsBody as Ln, passkeyVerifyBody as Lt, userSchema as M, contentPublishBody as Mn, magicLinkSendBody as Mt, userUpdateBody as N, contentResponseSchema as Nn, passkeyOptionsBody as Nt, allowedDomainCreateBody as O, contentItemSchema as On, authMeActionBody as Ot, usersListQuery as P, contentScheduleBody as Pn, passkeyRegisterOptionsBody as Pt, settingsUpdateBody as Q, offsetPaginationQuery as Qn, collectionResponseSchema as Qt, setupAtprotoAdminBody as R, contentTranslationSchema as Rn, signupCompleteBody as Rt, reorderWidgetsBody as S, mediaResponseSchema as Sn, menuSchema as St, widgetAreaWithWidgetsAndCountSchema as T, mediaUploadUrlResponseSchema as Tn, reorderMenuItemsBody as Tt, wpPluginExecuteBody as U, trashedContentListResponseSchema as Un, commentCountsResponseSchema as Ut, wpMediaImportBody as V, contentUpdateBody as Vn, commentBulkBody as Vt, wpPrepareBody as W, VALID_ROLE_LEVELS as Wn, commentListQuery as Wt, searchResultSchema as X, localeCode as Xn, collectionGetQuery as Xt, searchResponseSchema as Y, httpUrl as Yn, publicCommentSchema as Yt, searchSuggestQuery as Z, localeFilterQuery as Zn, collectionListResponseSchema as Zt, redirectSchema as _, mediaExistingResponseSchema as _n, createMenuBody as _t, bylineUpdateBody as a, fieldResponseSchema as an, createTaxonomyDefBody as at, createWidgetAreaBody as b, mediaListResponseSchema as bn, menuItemTypeEnum as bt, createRedirectBody as c, orphanedTableListResponseSchema as cn, taxonomyDefTranslationsSchema as ct, notFoundListResponseSchema as d, updateCollectionBody as dn, termListResponseSchema as dt, collectionWithFieldsResponseSchema as en, slugPattern as er, createSectionBody as et, notFoundPruneBody as f, updateFieldBody as fn, termResponseSchema as ft, redirectListResponseSchema as g, mediaConfirmResponseSchema as gn, updateTermBody as gt, notFoundSummarySchema as h, mediaConfirmBody as hn, termWithCountSchema as ht, bylineSummarySchema as i, fieldReorderBody as in, updateSectionBody as it, userListResponseSchema as j, contentPreviewUrlBody as jn, inviteRegisterOptionsBody as jt, allowedDomainUpdateBody as k, contentListQuery as kn, inviteCompleteBody as kt, notFoundEntrySchema as l, orphanedTableSchema as ln, taxonomyListResponseSchema as lt, notFoundSummaryResponseSchema as m, formatFileSize as mn, termTranslationsSchema as mt, bylineCreditSchema as n, createFieldBody as nn, sectionSchema as nt, bylinesListQuery as o, fieldSchema as on, createTermBody as ot, notFoundSummaryQuery as p, DEFAULT_MAX_UPLOAD_SIZE as pn, termSchema as pt, searchQuery as q, cursorPaginationQuery as qn, createCommentBody as qt, bylineListResponseSchema as r, fieldListResponseSchema as rn, sectionsListQuery as rt, contentBylineInputSchema as s, orphanRegisterBody as sn, taxonomyDefSchema as st, bylineCreateBody as t, createCollectionBody as tn, successEnvelope as tr, sectionListResponseSchema as tt, notFoundListQuery as u, schemaExportQuery as un, termGetResponseSchema as ut, redirectsListQuery as v, mediaItemSchema as vn, createMenuItemBody as vt, widgetAreaSchema as w, mediaUploadUrlBody as wn, menuWithItemsSchema as wt, createWidgetBody as x, mediaProviderListQuery as xn, menuListItemSchema as xt, updateRedirectBody as y, mediaListQuery as yn, menuItemSchema as yt, setupBody as z, contentTranslationsResponseSchema as zn, signupRequestBody as zt };
|
|
1971
|
+
//# sourceMappingURL=bylines-C6eYUWlZ.d.mts.map
|