dineway 0.1.24 → 0.1.26
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/README.md +5 -4
- package/dist/{activity-events-CjOgr0Uv.mjs → activity-events-CpcTzKpF.mjs} +1 -1
- package/dist/{allowed-origins-CIP5fh83.mjs → allowed-origins-3RuuoFjC.mjs} +1 -1
- package/dist/api/route-utils.d.mts +10 -10
- package/dist/api/route-utils.mjs +8 -8
- package/dist/api/schemas/index.d.mts +1 -1
- package/dist/api/schemas/index.mjs +3 -3
- package/dist/{api-CsNsY79D.mjs → api-CXQfCGRX.mjs} +14 -14
- package/dist/{api-tokens-DAMwe5Kj.mjs → api-tokens-BFg7tiOQ.mjs} +1 -1
- package/dist/api-tokens-L0o9Bd7v.mjs +3 -0
- package/dist/{apply-D7vu4aFn.mjs → apply-TIoQ00aH.mjs} +14 -14
- package/dist/astro/index.d.mts +11 -11
- package/dist/astro/index.mjs +15 -3
- package/dist/astro/middleware/auth.d.mts +10 -10
- package/dist/astro/middleware/auth.mjs +6 -4
- package/dist/astro/middleware/redirect.mjs +3 -3
- package/dist/astro/middleware/request-context.mjs +1 -1
- package/dist/astro/middleware/seed.d.mts +29 -0
- package/dist/astro/middleware/seed.mjs +134 -0
- package/dist/astro/middleware.mjs +59 -58
- package/dist/astro/routes/api/admin/allowed-domains/_domain_.mjs +5 -5
- package/dist/astro/routes/api/admin/allowed-domains/index.mjs +5 -5
- package/dist/astro/routes/api/admin/api-tokens/_id_.mjs +4 -4
- package/dist/astro/routes/api/admin/api-tokens/index.mjs +5 -5
- package/dist/astro/routes/api/admin/briefing.mjs +14 -14
- package/dist/astro/routes/api/admin/bylines/_id_/index.mjs +9 -9
- package/dist/astro/routes/api/admin/bylines/index.mjs +9 -9
- package/dist/astro/routes/api/admin/comments/_id_/status.mjs +9 -9
- package/dist/astro/routes/api/admin/comments/_id_.mjs +3 -3
- package/dist/astro/routes/api/admin/comments/bulk.mjs +7 -7
- package/dist/astro/routes/api/admin/comments/counts.mjs +3 -3
- package/dist/astro/routes/api/admin/comments/index.mjs +7 -7
- package/dist/astro/routes/api/admin/context/_id_/history.mjs +20 -20
- package/dist/astro/routes/api/admin/context/_id_/index.mjs +20 -20
- package/dist/astro/routes/api/admin/context/_id_/review.mjs +24 -24
- package/dist/astro/routes/api/admin/context/_id_/supersede.mjs +24 -24
- package/dist/astro/routes/api/admin/context/diff.mjs +23 -23
- package/dist/astro/routes/api/admin/context/index.mjs +24 -24
- package/dist/astro/routes/api/admin/context/stale.mjs +23 -23
- package/dist/astro/routes/api/admin/hitl-requests/_id_/index.mjs +20 -20
- package/dist/astro/routes/api/admin/hitl-requests/_id_/resolve.mjs +23 -23
- package/dist/astro/routes/api/admin/hitl-requests/index.mjs +23 -23
- package/dist/astro/routes/api/admin/hooks/exclusive/_hookName_.mjs +21 -21
- package/dist/astro/routes/api/admin/hooks/exclusive/index.mjs +2 -2
- package/dist/astro/routes/api/admin/oauth-clients/_id_.mjs +5 -5
- package/dist/astro/routes/api/admin/oauth-clients/index.mjs +5 -5
- package/dist/astro/routes/api/admin/plugins/_id_/disable.mjs +39 -39
- package/dist/astro/routes/api/admin/plugins/_id_/enable.mjs +39 -39
- package/dist/astro/routes/api/admin/plugins/_id_/index.mjs +32 -32
- package/dist/astro/routes/api/admin/plugins/_id_/uninstall.mjs +38 -38
- package/dist/astro/routes/api/admin/plugins/_id_/update.mjs +38 -38
- package/dist/astro/routes/api/admin/plugins/index.mjs +32 -32
- package/dist/astro/routes/api/admin/plugins/marketplace/_id_/icon.mjs +2 -2
- package/dist/astro/routes/api/admin/plugins/marketplace/_id_/index.mjs +32 -32
- package/dist/astro/routes/api/admin/plugins/marketplace/_id_/install.mjs +38 -38
- package/dist/astro/routes/api/admin/plugins/marketplace/index.mjs +32 -32
- package/dist/astro/routes/api/admin/plugins/updates.mjs +32 -32
- package/dist/astro/routes/api/admin/review-requests/_id_/index.mjs +4 -4
- package/dist/astro/routes/api/admin/review-requests/_id_/resolve.mjs +23 -23
- package/dist/astro/routes/api/admin/review-requests/index.mjs +8 -8
- package/dist/astro/routes/api/admin/themes/marketplace/_id_/index.mjs +32 -32
- package/dist/astro/routes/api/admin/themes/marketplace/_id_/thumbnail.mjs +2 -2
- package/dist/astro/routes/api/admin/themes/marketplace/index.mjs +32 -32
- package/dist/astro/routes/api/admin/users/_id_/disable.mjs +2 -2
- package/dist/astro/routes/api/admin/users/_id_/enable.mjs +1 -1
- package/dist/astro/routes/api/admin/users/_id_/index.mjs +6 -6
- package/dist/astro/routes/api/admin/users/_id_/send-recovery.mjs +2 -2
- package/dist/astro/routes/api/admin/users/index.mjs +5 -5
- package/dist/astro/routes/api/auth/dev-bypass.mjs +3 -3
- package/dist/astro/routes/api/auth/invite/accept.mjs +1 -1
- package/dist/astro/routes/api/auth/invite/complete.mjs +8 -8
- package/dist/astro/routes/api/auth/invite/index.mjs +6 -6
- package/dist/astro/routes/api/auth/invite/register-options.mjs +7 -7
- package/dist/astro/routes/api/auth/logout.mjs +2 -2
- package/dist/astro/routes/api/auth/magic-link/send.mjs +8 -8
- package/dist/astro/routes/api/auth/magic-link/verify.mjs +2 -2
- package/dist/astro/routes/api/auth/me.mjs +10 -6
- package/dist/astro/routes/api/auth/oauth/_provider_/callback.mjs +2 -2
- package/dist/astro/routes/api/auth/oauth/_provider_.mjs +2 -2
- package/dist/astro/routes/api/auth/passkey/_id_.mjs +5 -5
- package/dist/astro/routes/api/auth/passkey/index.mjs +1 -1
- package/dist/astro/routes/api/auth/passkey/options.mjs +9 -9
- package/dist/astro/routes/api/auth/passkey/register/options.mjs +7 -7
- package/dist/astro/routes/api/auth/passkey/register/verify.mjs +8 -8
- package/dist/astro/routes/api/auth/passkey/verify.mjs +8 -8
- package/dist/astro/routes/api/auth/setup-token/index.d.mts +7 -0
- package/dist/astro/routes/api/auth/setup-token/index.mjs +62 -0
- package/dist/astro/routes/api/auth/setup-token/verify.d.mts +8 -0
- package/dist/astro/routes/api/auth/setup-token/verify.mjs +112 -0
- package/dist/astro/routes/api/auth/signup/complete.mjs +8 -8
- package/dist/astro/routes/api/auth/signup/request.mjs +8 -8
- package/dist/astro/routes/api/auth/signup/verify.mjs +1 -1
- package/dist/astro/routes/api/comments/_collection_/_contentId_/index.mjs +9 -9
- package/dist/astro/routes/api/content/_collection_/_id_/compare.mjs +2 -2
- package/dist/astro/routes/api/content/_collection_/_id_/discard-draft.mjs +4 -4
- package/dist/astro/routes/api/content/_collection_/_id_/duplicate.mjs +4 -4
- package/dist/astro/routes/api/content/_collection_/_id_/permanent.mjs +4 -4
- package/dist/astro/routes/api/content/_collection_/_id_/preview-url.mjs +8 -8
- package/dist/astro/routes/api/content/_collection_/_id_/publish.mjs +22 -22
- package/dist/astro/routes/api/content/_collection_/_id_/restore.mjs +4 -4
- package/dist/astro/routes/api/content/_collection_/_id_/revisions.mjs +2 -2
- package/dist/astro/routes/api/content/_collection_/_id_/schedule.mjs +8 -8
- package/dist/astro/routes/api/content/_collection_/_id_/terms/_taxonomy_.mjs +10 -10
- package/dist/astro/routes/api/content/_collection_/_id_/translations.mjs +2 -2
- package/dist/astro/routes/api/content/_collection_/_id_/unpublish.mjs +4 -4
- package/dist/astro/routes/api/content/_collection_/_id_.mjs +8 -8
- package/dist/astro/routes/api/content/_collection_/index.mjs +8 -8
- package/dist/astro/routes/api/content/_collection_/trash.mjs +6 -6
- package/dist/astro/routes/api/dashboard.mjs +4 -4
- package/dist/astro/routes/api/dev/emails.mjs +2 -2
- package/dist/astro/routes/api/health.mjs +1 -1
- package/dist/astro/routes/api/import/probe.d.mts +3 -3
- package/dist/astro/routes/api/import/probe.mjs +10 -10
- package/dist/astro/routes/api/import/wordpress/analyze.mjs +6 -6
- package/dist/astro/routes/api/import/wordpress/execute.mjs +25 -25
- package/dist/astro/routes/api/import/wordpress/media.mjs +8 -8
- package/dist/astro/routes/api/import/wordpress/prepare.mjs +28 -28
- package/dist/astro/routes/api/import/wordpress/rewrite-urls.mjs +25 -25
- package/dist/astro/routes/api/import/wordpress-plugin/analyze.d.mts +1 -1
- package/dist/astro/routes/api/import/wordpress-plugin/analyze.mjs +12 -12
- package/dist/astro/routes/api/import/wordpress-plugin/execute.d.mts +1 -1
- package/dist/astro/routes/api/import/wordpress-plugin/execute.mjs +27 -27
- package/dist/astro/routes/api/manifest.mjs +2 -2
- package/dist/astro/routes/api/mcp.mjs +45 -45
- package/dist/astro/routes/api/media/_id_/confirm.mjs +6 -6
- package/dist/astro/routes/api/media/_id_.mjs +6 -6
- package/dist/astro/routes/api/media/file/_...key_.mjs +1 -1
- package/dist/astro/routes/api/media/providers/_providerId_/_itemId_.mjs +2 -2
- package/dist/astro/routes/api/media/providers/_providerId_/index.mjs +2 -2
- package/dist/astro/routes/api/media/providers/index.mjs +2 -2
- package/dist/astro/routes/api/media/upload-url.mjs +8 -8
- package/dist/astro/routes/api/media.mjs +10 -10
- package/dist/astro/routes/api/menus/_name_/items/_id_.mjs +24 -24
- package/dist/astro/routes/api/menus/_name_/items.mjs +24 -24
- package/dist/astro/routes/api/menus/_name_/reorder.mjs +24 -24
- package/dist/astro/routes/api/menus/_name_/translations.mjs +24 -24
- package/dist/astro/routes/api/menus/_name_.mjs +24 -24
- package/dist/astro/routes/api/menus/index.mjs +24 -24
- package/dist/astro/routes/api/oauth/authorize.mjs +6 -6
- package/dist/astro/routes/api/oauth/device/authorize.mjs +6 -6
- package/dist/astro/routes/api/oauth/device/code.mjs +9 -9
- package/dist/astro/routes/api/oauth/device/token.mjs +8 -8
- package/dist/astro/routes/api/oauth/register.mjs +3 -3
- package/dist/astro/routes/api/oauth/token/refresh.mjs +6 -6
- package/dist/astro/routes/api/oauth/token/revoke.mjs +6 -6
- package/dist/astro/routes/api/oauth/token.mjs +6 -6
- package/dist/astro/routes/api/openapi.json.mjs +3 -3
- package/dist/astro/routes/api/plugins/_pluginId_/_...path_.mjs +3 -3
- package/dist/astro/routes/api/redirects/404s/index.mjs +8 -8
- package/dist/astro/routes/api/redirects/404s/summary.mjs +8 -8
- package/dist/astro/routes/api/redirects/_id_.mjs +25 -25
- package/dist/astro/routes/api/redirects/index.mjs +25 -25
- package/dist/astro/routes/api/revisions/_revisionId_/index.mjs +2 -2
- package/dist/astro/routes/api/revisions/_revisionId_/restore.mjs +2 -2
- package/dist/astro/routes/api/schema/collections/_slug_/fields/_fieldSlug_.mjs +33 -33
- package/dist/astro/routes/api/schema/collections/_slug_/fields/index.mjs +33 -33
- package/dist/astro/routes/api/schema/collections/_slug_/fields/reorder.mjs +33 -33
- package/dist/astro/routes/api/schema/collections/_slug_/index.mjs +33 -33
- package/dist/astro/routes/api/schema/collections/index.mjs +33 -33
- package/dist/astro/routes/api/schema/index.mjs +6 -6
- package/dist/astro/routes/api/schema/orphans/_slug_.mjs +32 -32
- package/dist/astro/routes/api/schema/orphans/index.mjs +32 -32
- package/dist/astro/routes/api/search/enable.mjs +9 -9
- package/dist/astro/routes/api/search/index.mjs +8 -8
- package/dist/astro/routes/api/search/rebuild.mjs +9 -9
- package/dist/astro/routes/api/search/stats.mjs +5 -5
- package/dist/astro/routes/api/search/suggest.mjs +8 -8
- package/dist/astro/routes/api/sections/_slug_.mjs +24 -24
- package/dist/astro/routes/api/sections/index.mjs +24 -24
- package/dist/astro/routes/api/settings/email.mjs +3 -3
- package/dist/astro/routes/api/settings.mjs +24 -24
- package/dist/astro/routes/api/setup/admin-verify.mjs +10 -10
- package/dist/astro/routes/api/setup/admin.mjs +8 -8
- package/dist/astro/routes/api/setup/dev-bypass.mjs +18 -18
- package/dist/astro/routes/api/setup/dev-reset.mjs +1 -1
- package/dist/astro/routes/api/setup/index.mjs +18 -18
- package/dist/astro/routes/api/setup/status.mjs +2 -2
- package/dist/astro/routes/api/snapshot.mjs +4 -4
- package/dist/astro/routes/api/taxonomies/_name_/terms/_slug_/translations.mjs +26 -26
- package/dist/astro/routes/api/taxonomies/_name_/terms/_slug_.mjs +26 -26
- package/dist/astro/routes/api/taxonomies/_name_/terms/index.mjs +26 -26
- package/dist/astro/routes/api/taxonomies/index.mjs +26 -26
- package/dist/astro/routes/api/themes/preview.mjs +3 -3
- package/dist/astro/routes/api/typegen.mjs +4 -4
- package/dist/astro/routes/api/well-known/auth.mjs +1 -1
- package/dist/astro/routes/api/well-known/oauth-authorization-server.mjs +2 -2
- package/dist/astro/routes/api/well-known/oauth-protected-resource.mjs +2 -2
- package/dist/astro/routes/api/widget-areas/_name_/reorder.mjs +23 -23
- package/dist/astro/routes/api/widget-areas/_name_/widgets/_id_.mjs +24 -24
- package/dist/astro/routes/api/widget-areas/_name_/widgets.mjs +24 -24
- package/dist/astro/routes/api/widget-areas/_name_.mjs +22 -22
- package/dist/astro/routes/api/widget-areas/index.mjs +24 -24
- package/dist/astro/routes/api/widget-components.mjs +2 -2
- package/dist/astro/routes/robots.txt.mjs +4 -4
- package/dist/astro/routes/sitemap-_collection_.xml.mjs +4 -4
- package/dist/astro/routes/sitemap.xml.mjs +5 -5
- package/dist/astro/types.d.mts +13 -13
- package/dist/audit-NgiRzqP9.mjs +126 -0
- package/dist/auth/providers/github.d.mts +1 -1
- package/dist/auth/providers/google.d.mts +1 -1
- package/dist/{auth-control-guard-_5V1x8U8.mjs → auth-control-guard-1FHtkDP6.mjs} +1 -1
- package/dist/{authorize-BgIG3yfN.mjs → authorize-BbIhZi3a.mjs} +1 -1
- package/dist/{briefing-PFT3T6KW.mjs → briefing-DD82WaEy.mjs} +1 -1
- package/dist/{briefing-Dk4I4VC8.mjs → briefing-Jsxs587i.mjs} +6 -6
- package/dist/{byline-9WeA8b0a.mjs → byline-DpNNSjET.mjs} +2 -2
- package/dist/{bylines-CaPwztlL.mjs → bylines-75_STR73.mjs} +3 -3
- package/dist/{bylines-JKduSkBr.d.mts → bylines-D9TSSOe0.d.mts} +7 -7
- package/dist/{cache-BhJYDPP8.mjs → cache-DQyZ-QaB.mjs} +1 -1
- package/dist/cli/index.mjs +208 -50
- package/dist/client/external-auth-headers.d.mts +1 -1
- package/dist/client/index.d.mts +1 -1
- package/dist/client/index.mjs +1 -1
- package/dist/{context-CUJ2Qwb4.mjs → context-DgqEfcWz.mjs} +2 -2
- package/dist/{context-DRq-f4sM.mjs → context-Ufrm1lOv.mjs} +4 -4
- package/dist/{context-route-helpers-CdFWd8GK.mjs → context-route-helpers-Dq5U_AXp.mjs} +1 -1
- package/dist/{dashboard-DdqRifyu.mjs → dashboard-BC9bgPOH.mjs} +1 -1
- package/dist/db/index.d.mts +3 -3
- 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/{device-flow-Pab2PQTA.mjs → device-flow-CTS91g4A.mjs} +4 -4
- package/dist/{hitl-requests-D5CLRMGC.mjs → hitl-requests-DaRuZ7tb.mjs} +1 -1
- package/dist/{hitl-route-helpers-SRAfZqf9.mjs → hitl-route-helpers-DcPySbZ3.mjs} +3 -3
- package/dist/{import-BO_gy5vZ.mjs → import-DQ4Rfh5h.mjs} +2 -2
- package/dist/{import-CzZYGhnG.mjs → import-DSXK3aQF.mjs} +3 -3
- package/dist/{index-CxVXYBXq.d.mts → index-2tBfB_8X.d.mts} +3 -3
- package/dist/{index-DUurmpun.d.mts → index-CpbixmRL.d.mts} +2 -2
- package/dist/index.d.mts +16 -16
- package/dist/index.mjs +56 -55
- package/dist/{jsonld-C3uKF39u.d.mts → jsonld-BhdZoeR1.d.mts} +2 -2
- package/dist/media/index.d.mts +2 -2
- package/dist/media/index.mjs +2 -2
- package/dist/media/local-runtime.d.mts +12 -12
- package/dist/{media-allowlist-D85gK3We.mjs → media-allowlist-D8gsm8_t.mjs} +1 -1
- package/dist/{menus-DXaFTRyU.mjs → menus-DOaL6NaF.mjs} +1 -1
- package/dist/{menus-DtoRO2gt.mjs → menus-DzG3-9tQ.mjs} +4 -4
- package/dist/{oauth-authorization-CFcMq7NJ.mjs → oauth-authorization-DyOFXQWq.mjs} +4 -4
- package/dist/{oauth-clients-CS1nQbC3.mjs → oauth-clients-BMs_bmoz.mjs} +1 -1
- package/dist/page/index.d.mts +2 -2
- package/dist/page/index.mjs +1 -1
- package/dist/{parse-BBfZRZYb.mjs → parse-D7Tu6ku4.mjs} +1 -1
- package/dist/{placeholder-2N6m2_O6.d.mts → placeholder-BZpCpid_.d.mts} +1 -1
- package/dist/plugins/adapt-sandbox-entry.d.mts +10 -10
- package/dist/plugins/adapt-sandbox-entry.mjs +1 -1
- package/dist/{plugins-CxUx-b5a.mjs → plugins-DCDVDF4B.mjs} +3 -4
- package/dist/{preview-B-MTC5mp.mjs → preview-5HuX6fjF.mjs} +2 -2
- package/dist/{provider-loader-DJ5sLxNP.d.mts → provider-loader-BaZhx7E3.d.mts} +1 -1
- package/dist/{query-CH1GaJmt.mjs → query-BnRpB09I.mjs} +3 -3
- package/dist/{query-D5CIGQv4.mjs → query-DHvNhBhi.mjs} +8 -8
- package/dist/{rate-limit-5ZeKz7oo.mjs → rate-limit-BWP_kKiZ.mjs} +2 -2
- package/dist/{redirect-hKO66LS_.mjs → redirect-BaVvo2te.mjs} +1 -1
- package/dist/{redirects-Dk7N_YeP.mjs → redirects-Ba-lJA5j.mjs} +3 -3
- package/dist/{redirects-BO0fI750.mjs → redirects-CoYlqu8e.mjs} +1 -1
- package/dist/{registry-CYO6XQ-4.mjs → registry-i__XP2WV.mjs} +4 -4
- package/dist/{request-meta-BVx9KkL-.mjs → request-meta-DUGfAeXy.mjs} +1 -1
- package/dist/{review-requests-CO-vO0O0.mjs → review-requests-DuIxM4YM.mjs} +1 -1
- package/dist/{runner-BJm_NJr2.d.mts → runner-pAnQS6iI.d.mts} +1 -1
- package/dist/{runtime-CbnJMIeq.d.mts → runtime-BM9sqnzO.d.mts} +10 -10
- package/dist/runtime.d.mts +11 -11
- package/dist/runtime.mjs +2 -2
- package/dist/{schema-mjeMcn_6.mjs → schema-U-SeFWwn.mjs} +1 -1
- package/dist/{search-DjaP_Dw-.mjs → search-Cl9preJT.mjs} +2 -2
- package/dist/{sections-DA3GMhNG.mjs → sections-Zx-2q9IH.mjs} +1 -1
- package/dist/seed/index.d.mts +2 -2
- package/dist/seed/index.mjs +13 -13
- package/dist/seo/index.d.mts +1 -1
- package/dist/{seo-DASNc4gD.mjs → seo-BPb_reaG.mjs} +1 -1
- package/dist/{service-Dada1k5R.mjs → service-wPGgmbUa.mjs} +1 -1
- package/dist/{settings-D2k1JraC.mjs → settings-DORe02PC.mjs} +2 -2
- package/dist/{settings-BJW_lmrM.mjs → settings-nr15a8uv.mjs} +1 -1
- package/dist/{site-context-CDnyARws.mjs → site-context-DuBQk6Mp.mjs} +11 -11
- 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-DVXCWoUF.mjs → taxonomies-BVBKoXRf.mjs} +5 -5
- package/dist/{taxonomies-CZJazF0N.mjs → taxonomies-DGaw_-aU.mjs} +2 -2
- package/dist/{taxonomy-DpXdVSSR.mjs → taxonomy-BvXRL85P.mjs} +1 -1
- package/dist/{types-DzBAohLy.d.mts → types-BIM7jwxr.d.mts} +1 -1
- package/dist/ui/server-runtime.d.mts +7 -7
- package/dist/ui/server-runtime.mjs +13 -13
- package/dist/{validate-BikB29gc.d.mts → validate-BzUCAU2a.d.mts} +3 -3
- package/dist/{validate-BGpmNtMe.mjs → validate-JE-WfUQ5.mjs} +1 -1
- package/dist/version-C-Dcb5bX.mjs +6 -0
- package/dist/{widgets-BFh1UZN5.mjs → widgets-Cj6ULpED.mjs} +2 -2
- package/dist/{wordpress-slugs-BzMv9U-N.mjs → wordpress-slugs-hqItqJrQ.mjs} +1 -1
- package/dist/{zod-generator-vOxhed6n.mjs → zod-generator-C4BgFBZV.mjs} +1 -1
- package/package.json +8 -4
- package/dist/api-tokens-BZ9aAeCo.mjs +0 -3
- package/dist/version-BJ0y2_5q.mjs +0 -6
- /package/dist/{adapters-C0EARyCK.d.mts → adapters-kZjS7plb.d.mts} +0 -0
- /package/dist/{chunks-BjOMG4LF.mjs → chunks-D8KL0nCY.mjs} +0 -0
- /package/dist/{comments-85tbgZQN.mjs → comments-yTbeIYc2.mjs} +0 -0
- /package/dist/{components-DAy-UvX7.mjs → components-BJfa-F6n.mjs} +0 -0
- /package/dist/{context-types-BWspNMDr.mjs → context-types-BrSQNye5.mjs} +0 -0
- /package/dist/{cron-fV9baRVc.mjs → cron-D7FDsRu-.mjs} +0 -0
- /package/dist/{db-errors-BnUbfGsK.mjs → db-errors-DHJCB_gY.mjs} +0 -0
- /package/dist/{default-CiZ8bvSC.mjs → default-5A3XVR7L.mjs} +0 -0
- /package/dist/{email-console-_pTim1bU.mjs → email-console-Bs1qKx59.mjs} +0 -0
- /package/dist/{entity-aliases-PJV8IxDq.mjs → entity-aliases-uOrKvlPg.mjs} +0 -0
- /package/dist/{error-Dyf9fGZE.mjs → error-DLkgOP5m.mjs} +0 -0
- /package/dist/{escape-DA8zlB7z.mjs → escape-r8_GbEU2.mjs} +0 -0
- /package/dist/{fts-manager-DYRy6HVi.mjs → fts-manager-DnfOsF4s.mjs} +0 -0
- /package/dist/{hash-DHSsP6_G.mjs → hash-DFFrkivP.mjs} +0 -0
- /package/dist/{load-5R4qZ4zn.mjs → load-BCCcmoW9.mjs} +0 -0
- /package/dist/{loader-dt5DoyI1.mjs → loader-p2imNN98.mjs} +0 -0
- /package/dist/{manifest-schema-CU0XL_ZK.mjs → manifest-schema-C6fzQoWn.mjs} +0 -0
- /package/dist/{mime-DltzYYAL.mjs → mime-DYP4V5Ks.mjs} +0 -0
- /package/dist/{normalize-ba36HTxZ.mjs → normalize-BY_EJnd9.mjs} +0 -0
- /package/dist/{oauth-state-store-DZs1UZwT.mjs → oauth-state-store-BRSUEkmx.mjs} +0 -0
- /package/dist/{oauth-user-lookup-B7-6YI3R.mjs → oauth-user-lookup-DdcI8ZVL.mjs} +0 -0
- /package/dist/{parser-wEX7xttr.mjs → parser-egIGEco-.mjs} +0 -0
- /package/dist/{passkey-config-CDew7KVU.mjs → passkey-config-AX4sjpQ4.mjs} +0 -0
- /package/dist/{patterns-BKmjvM7K.mjs → patterns-CiyXeDgr.mjs} +0 -0
- /package/dist/{placeholder-BAy3k441.mjs → placeholder-b0Ufu0La.mjs} +0 -0
- /package/dist/{provider-loader-CCPAVrIg.mjs → provider-loader-BdRV01gr.mjs} +0 -0
- /package/dist/{public-url-DuRGs0uF.mjs → public-url-BL2r8dmQ.mjs} +0 -0
- /package/dist/{redirect-CbEyClKc.mjs → redirect-Ce_6Yb6z.mjs} +0 -0
- /package/dist/{request-cache-BzuhyUXj.mjs → request-cache-BpwuE2ix.mjs} +0 -0
- /package/dist/{review-requests-BYuoyse0.mjs → review-requests-CTUU_RJm.mjs} +0 -0
- /package/dist/{seo-Dl4QE4El.mjs → seo-CJBiMDkj.mjs} +0 -0
- /package/dist/{seo-contributions-D_CLIsxJ.mjs → seo-contributions-C0LXoWw3.mjs} +0 -0
- /package/dist/{setup-complete-DgsQYTC2.mjs → setup-complete-C2ztsNhJ.mjs} +0 -0
- /package/dist/{setup-nonce-ChVabyO2.mjs → setup-nonce-BTKq7uBi.mjs} +0 -0
- /package/dist/{sidecar-client-Dta0AELf.mjs → sidecar-client-lrf7ErYJ.mjs} +0 -0
- /package/dist/{site-activity-lsCX_cqp.mjs → site-activity-KFZprBZM.mjs} +0 -0
- /package/dist/{site-url-BketXXft.mjs → site-url-C18yBhtv.mjs} +0 -0
- /package/dist/{ssrf-z3oH8wjK.mjs → ssrf-KAIQS48_.mjs} +0 -0
- /package/dist/{tokens-BMTKHT6X.mjs → tokens-CsP8Se8S.mjs} +0 -0
- /package/dist/{transaction-qfqpPVpu.mjs → transaction-D0FOsb3X.mjs} +0 -0
- /package/dist/{transport-Dt7A12-i.mjs → transport-B7kO-4ee.mjs} +0 -0
- /package/dist/{transport-BZCHo8n0.d.mts → transport-qeWznEPc.d.mts} +0 -0
- /package/dist/{trusted-proxy-8N8sX1D1.mjs → trusted-proxy-Bbm6PLR6.mjs} +0 -0
- /package/dist/{types-DwIXYH8s.d.mts → types-B1NksXAb.d.mts} +0 -0
- /package/dist/{types-DbtpYtHx.d.mts → types-BBETcziA.d.mts} +0 -0
- /package/dist/{types-B7Uld4FZ.d.mts → types-BYjPylrZ.d.mts} +0 -0
- /package/dist/{types-BSP1HbdT.d.mts → types-BgE6gMFI.d.mts} +0 -0
- /package/dist/{types-zfg8SDVI.mjs → types-C3Em8xpG.mjs} +0 -0
- /package/dist/{types-iNqHe2-V.mjs → types-CNNQ8l0v.mjs} +0 -0
- /package/dist/{types-Brp7Hv9S.d.mts → types-DvwHUku7.d.mts} +0 -0
- /package/dist/{types-D0UvtzG1.d.mts → types-cn-fvYQ1.d.mts} +0 -0
- /package/dist/{types-CsX_6h1v.d.mts → types-t7_nCCA9.d.mts} +0 -0
- /package/dist/{url-DOS4RGym.mjs → url-BzhfYtRn.mjs} +0 -0
- /package/dist/{utils-BftjFpR0.mjs → utils-FEbQMgB5.mjs} +0 -0
package/dist/index.d.mts
CHANGED
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import { a as ContentSeoInput, c as FindManyOptions, i as ContentSeo, l as FindManyResult, n as ContentBylineCredit, o as CreateContentInput, r as ContentItem, s as DinewayValidationError, t as BylineSummary, u as UpdateContentInput } from "./types-
|
|
2
|
-
import { $ as createPluginManager, $t as SandboxOptions, A as dropSessionDatabaseTables, An as handleContentDelete, At as verifyPreviewSignature, B as GeneratePreviewTokenOptions, Bn as handleContentSchedule, Bt as prosemirrorToPortableText, C as getByline, Cn as handleRevisionList, Ct as SessionOpenOrCreateOptions, D as AppliedSnapshotMeta, Dn as handleContentCountScheduled, Dt as defaultPreviewSidecarClient, E as renderPreviewToolbar, En as handleContentCompare, Et as buildPreviewSignatureHeader, F as getPreviewToken, Fn as handleContentList, Ft as AfterCallback, G as parseContentId, Gn as CreateMediaInput, Gt as PortableTextSpan, H as VerifyPreviewTokenOptions, Hn as handleContentUnpublish, Ht as PortableTextImageBlock, I as isPreviewRequest, In as handleContentListTrashed, It as after, J as createNodeSandboxRunner, Jn as ContentRepository, Jt as ProseMirrorDocument, K as verifyPreviewToken, Kn as MediaItem, Kt as PortableTextTextBlock, L as GetPreviewUrlOptions, Ln as handleContentPermanentDelete, Lt as computeContentHash, M as Snapshot, Mn as handleContentDuplicate, Mt as getFallbackChain, N as renderPreviewLoadingPage, Nn as handleContentGet, Nt as getI18nConfig, O as ApplySnapshotToDatabaseOptions, On as handleContentCountTrashed, Ot as parsePreviewSignatureHeader, P as isBlockedInPreview, Pn as handleContentGetIncludingTrashed, Pt as isI18nEnabled, Q as PluginManager, Qt as SandboxEmailSendCallback, R as buildPreviewUrl, Rn as handleContentPublish, Rt as hashString, S as Suggestion, Sn as handleRevisionGet, St as SessionOpenOptions, T as PreviewToolbarConfig, Tn as generateManifest, Tt as PreviewSidecarSignature, U as VerifyPreviewTokenResult, Un as handleContentUnschedule, Ut as PortableTextLinkMark, V as PreviewTokenPayload, Vn as handleContentTranslations, Vt as PortableTextCodeBlock, W as generatePreviewToken, Wn as handleContentUpdate, Wt as PortableTextMarkDef, X as SandboxNotAvailableError, Xn as DinewayDatabaseError, Xt as ProseMirrorNode, Y as NoopSandboxRunner, Yn as DatabaseConfig, Yt as ProseMirrorMark, Z as createNoopSandboxRunner, Zt as SandboxEmailMessage, _ as SearchOptions, _n as handleMediaGet, _t as SessionCleanupResult, an as getSections, ar as ApiContext, at as ValidatedPluginManifest, b as SearchStats, bn as RevisionListResponse, bt as SessionDatabaseInfo, c as extractSearchableFields, cn as Section, cr as FieldDescriptor, ct as CollectionFilter$1, d as search, dn as SchemaError, en as SandboxRunner, et as PluginRouteError, f as searchCollection, fn as SchemaRegistry, g as SearchConfig, gn as handleMediaDelete, gt as FileSessionDatabaseFactoryOptions, h as CollectionSearchOptions, hn as handleMediaCreate, ht as FileSessionDatabaseFactory, in as getSection, it as createHookPipeline, j as getAppliedSnapshotMeta, jn as handleContentDiscardDraft, jt as I18nConfig, k as applySnapshotToDatabase, kn as handleContentCreate, kt as signPreviewUrl, l as getSearchStats, ln as SectionSource, lr as ListResponse, lt as EntryData, m as FTSManager, mn as MediaResponse, mt as createFilePreviewMiddleware, n as PluginDescriptor, nn as SandboxedPlugin, nt as HookPipeline, on as CreateSectionInput, or as ContentListResponse, ot as pluginManifestSchema, p as searchWithDb, pn as MediaListResponse, pt as FilePreviewMiddlewareConfig, q as NodeSandboxRunner, qn as MediaRepository, qt as PortableTextUnknownBlock, rn as SerializedRequest, rt as HookResult, s as extractPlainText, sn as GetSectionsOptions, sr as ContentResponse, st as definePlugin, tn as SandboxRunnerFactory, u as getSuggestions, un as UpdateSectionInput, ur as ManifestResponse, ut as EntryFilter, v as SearchResponse, vn as handleMediaList, vt as SessionDatabaseFactory, w as getBylineBySlug, wn as handleRevisionRestore, wt as PreviewSidecarClient, x as SuggestOptions, xn as RevisionResponse, xt as SessionDatabaseLimitError, y as SearchResult, yn as handleMediaUpdate, yt as SessionDatabaseHandle, z as getPreviewUrl, zn as handleContentRestore, zt as portableTextToProsemirror } from "./runtime-
|
|
3
|
-
import { n as MediaTable, r as UserTable, t as Database } from "./types-
|
|
4
|
-
import { $ as StandardHookEntry, A as PageMetadataContribution, B as PluginDefinition, C as MediaAccess, D as PageFragmentContribution, E as ModerationDecision, F as PluginAdminConfig, G as PortableTextBlockConfig, H as PluginManifest, I as PluginAdminExports, K as PortableTextBlockField, L as PluginAdminPage, M as PageMetadataHandler, O as PageFragmentEvent, P as PagePlacement, Q as RouteContext, R as PluginCapability, S as LogAccess, T as MediaUploadEvent, U as PluginRoute, V as PluginHooks, W as PluginStorageConfig, X as ResolvedPlugin, Y as ResolvedHook, Z as ResolvedPluginHooks, _ as FieldWidgetConfig, a as CommentAfterModerateEvent, b as HttpAccess, c as CommentBeforeCreateHandler, d as ContentAccess, et as StandardHookHandler, f as ContentDeleteEvent, i as CommentAfterCreateHandler, it as StorageCollection, j as PageMetadataEvent, k as PageFragmentHandler, l as CommentModerateEvent, m as ContentPublishStateChangeEvent, n as CollectionCommentSettings, nt as StandardRouteEntry, o as CommentAfterModerateHandler, ot as StoredComment, p as ContentHookEvent, q as PublicPageContext, r as CommentAfterCreateEvent, rt as StandardRouteHandler, s as CommentBeforeCreateEvent, st as isStandardPluginDefinition, t as BreadcrumbItem, tt as StandardPluginDefinition, u as CommentModerateHandler, v as HookConfig, x as KVAccess, y as HookName, z as PluginContext } from "./types-
|
|
5
|
-
import { _ as RESERVED_COLLECTION_SLUGS, a as Collection, b as UpdateFieldInput, c as CollectionWithFields, d as CreateFieldInput, f as FIELD_TYPE_TO_COLUMN, g as FieldWidgetOptions, h as FieldValidation, i as SiteSettings, l as ColumnType, m as FieldType, n as SeoSettings, o as CollectionSource, p as Field, r as SiteSettingKey, s as CollectionSupport, t as MediaReference, u as CreateCollectionInput, v as RESERVED_FIELD_SLUGS, y as UpdateCollectionInput } from "./types-
|
|
6
|
-
import { a as AuthResult, i as AuthProviderModule, n as AuthProviderAdminExports, o as AuthRouteDescriptor, r as AuthProviderDescriptor, s as ExternalAuthConfig, t as AuthDescriptor } from "./types-
|
|
7
|
-
import { a as SqliteConfig, i as PostgresConfig, n as DatabaseDialectType, r as LibsqlConfig, t as DatabaseDescriptor } from "./adapters-
|
|
8
|
-
import { m as MediaValue } from "./types-
|
|
9
|
-
import { n as getMigrationStatus, t as MigrationStatus } from "./runner-
|
|
10
|
-
import { $ as TranslationSummary, A as MenuItem, B as getPluginSettings, C as TaxonomyTermRow, D as CreateMenuInput, E as getMenus, F as GetCommentsOptions, G as CollectionFilter, H as getSiteSettings, I as GetCommentsResult, J as DinewayCollections, K as CollectionResult, L as getCommentCount, M as ReorderMenuItemsInput, N as UpdateMenuInput, O as CreateMenuItemInput, P as UpdateMenuItemInput, Q as ResolvePathResult, R as getComments, S as TaxonomyTerm, T as getMenu, U as setSiteSettings, V as getSiteSetting, W as CacheHint, X as EntryResult, Y as EditFieldMeta, Z as InferCollectionData, _ as getTaxonomyTerms, _t as FieldDefinition, a as CreateWidgetInput, at as resolveDinewayPath, b as CreateTermInput, bt as ImageValue, c as UpdateWidgetInput, ct as FieldAnnotation, d as WidgetComponentDef, dt as isSafeHref, et as TranslationsResult, f as WidgetType, ft as sanitizeHref, g as getTaxonomyDefs, gt as image, h as getTaxonomyDef, ht as reference, i as CreateWidgetAreaInput, it as getTranslations, j as MenuItemType, k as Menu, l as Widget, lt as createEditable, m as getEntryTerms, mt as portableText, n as getWidgetAreas, nt as getDinewayEntry, o as PropDef, ot as CMSAnnotation, p as getEntriesByTerm, pt as getCollectionInfo, q as ContentEntry, r as getWidgetComponents, rt as getEditMeta, s as ReorderWidgetsInput, st as EditProxy, t as getWidgetArea, tt as getDinewayCollection, u as WidgetArea, ut as createNoop, v as getTerm, vt as FieldUIHints, w as UpdateTermInput, x as TaxonomyDef, xt as PortableTextBlock, y as getTermsForEntries, yt as FileValue, z as getPluginSetting } from "./index-
|
|
11
|
-
import { _ as WxrSite, a as getAllSources, b as parseWxrString, c as getUrlSources, d as importReusableBlocksAsSections, f as WxrAttachment, g as WxrPost, h as WxrData, i as clearSources, l as probeUrl, m as WxrCategory, n as parseWxrDate, o as getFileSources, p as WxrAuthor, r as wxrSource, s as getSource, t as wordpressRestSource, u as registerSource, v as WxrTag, x as decodeSlug, y as parseWxr } from "./index-
|
|
12
|
-
import { n as generatePlaceholder, r as normalizeMediaValue, t as PlaceholderData } from "./placeholder-
|
|
13
|
-
import { a as ListOptions, c as S3StorageConfig, d as Storage, f as StorageDescriptor, i as FileInfo, l as SignedUploadOptions, n as DinewayStorageError, o as ListResult, p as UploadResult, r as DownloadResult, s as LocalStorageConfig, t as CreateStorageFn, u as SignedUploadUrl } from "./types-
|
|
14
|
-
import "./bylines-
|
|
1
|
+
import { a as ContentSeoInput, c as FindManyOptions, i as ContentSeo, l as FindManyResult, n as ContentBylineCredit, o as CreateContentInput, r as ContentItem, s as DinewayValidationError, t as BylineSummary, u as UpdateContentInput } from "./types-DvwHUku7.mjs";
|
|
2
|
+
import { $ as createPluginManager, $t as SandboxOptions, A as dropSessionDatabaseTables, An as handleContentDelete, At as verifyPreviewSignature, B as GeneratePreviewTokenOptions, Bn as handleContentSchedule, Bt as prosemirrorToPortableText, C as getByline, Cn as handleRevisionList, Ct as SessionOpenOrCreateOptions, D as AppliedSnapshotMeta, Dn as handleContentCountScheduled, Dt as defaultPreviewSidecarClient, E as renderPreviewToolbar, En as handleContentCompare, Et as buildPreviewSignatureHeader, F as getPreviewToken, Fn as handleContentList, Ft as AfterCallback, G as parseContentId, Gn as CreateMediaInput, Gt as PortableTextSpan, H as VerifyPreviewTokenOptions, Hn as handleContentUnpublish, Ht as PortableTextImageBlock, I as isPreviewRequest, In as handleContentListTrashed, It as after, J as createNodeSandboxRunner, Jn as ContentRepository, Jt as ProseMirrorDocument, K as verifyPreviewToken, Kn as MediaItem, Kt as PortableTextTextBlock, L as GetPreviewUrlOptions, Ln as handleContentPermanentDelete, Lt as computeContentHash, M as Snapshot, Mn as handleContentDuplicate, Mt as getFallbackChain, N as renderPreviewLoadingPage, Nn as handleContentGet, Nt as getI18nConfig, O as ApplySnapshotToDatabaseOptions, On as handleContentCountTrashed, Ot as parsePreviewSignatureHeader, P as isBlockedInPreview, Pn as handleContentGetIncludingTrashed, Pt as isI18nEnabled, Q as PluginManager, Qt as SandboxEmailSendCallback, R as buildPreviewUrl, Rn as handleContentPublish, Rt as hashString, S as Suggestion, Sn as handleRevisionGet, St as SessionOpenOptions, T as PreviewToolbarConfig, Tn as generateManifest, Tt as PreviewSidecarSignature, U as VerifyPreviewTokenResult, Un as handleContentUnschedule, Ut as PortableTextLinkMark, V as PreviewTokenPayload, Vn as handleContentTranslations, Vt as PortableTextCodeBlock, W as generatePreviewToken, Wn as handleContentUpdate, Wt as PortableTextMarkDef, X as SandboxNotAvailableError, Xn as DinewayDatabaseError, Xt as ProseMirrorNode, Y as NoopSandboxRunner, Yn as DatabaseConfig, Yt as ProseMirrorMark, Z as createNoopSandboxRunner, Zt as SandboxEmailMessage, _ as SearchOptions, _n as handleMediaGet, _t as SessionCleanupResult, an as getSections, ar as ApiContext, at as ValidatedPluginManifest, b as SearchStats, bn as RevisionListResponse, bt as SessionDatabaseInfo, c as extractSearchableFields, cn as Section, cr as FieldDescriptor, ct as CollectionFilter$1, d as search, dn as SchemaError, en as SandboxRunner, et as PluginRouteError, f as searchCollection, fn as SchemaRegistry, g as SearchConfig, gn as handleMediaDelete, gt as FileSessionDatabaseFactoryOptions, h as CollectionSearchOptions, hn as handleMediaCreate, ht as FileSessionDatabaseFactory, in as getSection, it as createHookPipeline, j as getAppliedSnapshotMeta, jn as handleContentDiscardDraft, jt as I18nConfig, k as applySnapshotToDatabase, kn as handleContentCreate, kt as signPreviewUrl, l as getSearchStats, ln as SectionSource, lr as ListResponse, lt as EntryData, m as FTSManager, mn as MediaResponse, mt as createFilePreviewMiddleware, n as PluginDescriptor, nn as SandboxedPlugin, nt as HookPipeline, on as CreateSectionInput, or as ContentListResponse, ot as pluginManifestSchema, p as searchWithDb, pn as MediaListResponse, pt as FilePreviewMiddlewareConfig, q as NodeSandboxRunner, qn as MediaRepository, qt as PortableTextUnknownBlock, rn as SerializedRequest, rt as HookResult, s as extractPlainText, sn as GetSectionsOptions, sr as ContentResponse, st as definePlugin, tn as SandboxRunnerFactory, u as getSuggestions, un as UpdateSectionInput, ur as ManifestResponse, ut as EntryFilter, v as SearchResponse, vn as handleMediaList, vt as SessionDatabaseFactory, w as getBylineBySlug, wn as handleRevisionRestore, wt as PreviewSidecarClient, x as SuggestOptions, xn as RevisionResponse, xt as SessionDatabaseLimitError, y as SearchResult, yn as handleMediaUpdate, yt as SessionDatabaseHandle, z as getPreviewUrl, zn as handleContentRestore, zt as portableTextToProsemirror } from "./runtime-BM9sqnzO.mjs";
|
|
3
|
+
import { n as MediaTable, r as UserTable, t as Database } from "./types-B1NksXAb.mjs";
|
|
4
|
+
import { $ as StandardHookEntry, A as PageMetadataContribution, B as PluginDefinition, C as MediaAccess, D as PageFragmentContribution, E as ModerationDecision, F as PluginAdminConfig, G as PortableTextBlockConfig, H as PluginManifest, I as PluginAdminExports, K as PortableTextBlockField, L as PluginAdminPage, M as PageMetadataHandler, O as PageFragmentEvent, P as PagePlacement, Q as RouteContext, R as PluginCapability, S as LogAccess, T as MediaUploadEvent, U as PluginRoute, V as PluginHooks, W as PluginStorageConfig, X as ResolvedPlugin, Y as ResolvedHook, Z as ResolvedPluginHooks, _ as FieldWidgetConfig, a as CommentAfterModerateEvent, b as HttpAccess, c as CommentBeforeCreateHandler, d as ContentAccess, et as StandardHookHandler, f as ContentDeleteEvent, i as CommentAfterCreateHandler, it as StorageCollection, j as PageMetadataEvent, k as PageFragmentHandler, l as CommentModerateEvent, m as ContentPublishStateChangeEvent, n as CollectionCommentSettings, nt as StandardRouteEntry, o as CommentAfterModerateHandler, ot as StoredComment, p as ContentHookEvent, q as PublicPageContext, r as CommentAfterCreateEvent, rt as StandardRouteHandler, s as CommentBeforeCreateEvent, st as isStandardPluginDefinition, t as BreadcrumbItem, tt as StandardPluginDefinition, u as CommentModerateHandler, v as HookConfig, x as KVAccess, y as HookName, z as PluginContext } from "./types-BIM7jwxr.mjs";
|
|
5
|
+
import { _ as RESERVED_COLLECTION_SLUGS, a as Collection, b as UpdateFieldInput, c as CollectionWithFields, d as CreateFieldInput, f as FIELD_TYPE_TO_COLUMN, g as FieldWidgetOptions, h as FieldValidation, i as SiteSettings, l as ColumnType, m as FieldType, n as SeoSettings, o as CollectionSource, p as Field, r as SiteSettingKey, s as CollectionSupport, t as MediaReference, u as CreateCollectionInput, v as RESERVED_FIELD_SLUGS, y as UpdateCollectionInput } from "./types-t7_nCCA9.mjs";
|
|
6
|
+
import { a as AuthResult, i as AuthProviderModule, n as AuthProviderAdminExports, o as AuthRouteDescriptor, r as AuthProviderDescriptor, s as ExternalAuthConfig, t as AuthDescriptor } from "./types-BgE6gMFI.mjs";
|
|
7
|
+
import { a as SqliteConfig, i as PostgresConfig, n as DatabaseDialectType, r as LibsqlConfig, t as DatabaseDescriptor } from "./adapters-kZjS7plb.mjs";
|
|
8
|
+
import { m as MediaValue } from "./types-cn-fvYQ1.mjs";
|
|
9
|
+
import { n as getMigrationStatus, t as MigrationStatus } from "./runner-pAnQS6iI.mjs";
|
|
10
|
+
import { $ as TranslationSummary, A as MenuItem, B as getPluginSettings, C as TaxonomyTermRow, D as CreateMenuInput, E as getMenus, F as GetCommentsOptions, G as CollectionFilter, H as getSiteSettings, I as GetCommentsResult, J as DinewayCollections, K as CollectionResult, L as getCommentCount, M as ReorderMenuItemsInput, N as UpdateMenuInput, O as CreateMenuItemInput, P as UpdateMenuItemInput, Q as ResolvePathResult, R as getComments, S as TaxonomyTerm, T as getMenu, U as setSiteSettings, V as getSiteSetting, W as CacheHint, X as EntryResult, Y as EditFieldMeta, Z as InferCollectionData, _ as getTaxonomyTerms, _t as FieldDefinition, a as CreateWidgetInput, at as resolveDinewayPath, b as CreateTermInput, bt as ImageValue, c as UpdateWidgetInput, ct as FieldAnnotation, d as WidgetComponentDef, dt as isSafeHref, et as TranslationsResult, f as WidgetType, ft as sanitizeHref, g as getTaxonomyDefs, gt as image, h as getTaxonomyDef, ht as reference, i as CreateWidgetAreaInput, it as getTranslations, j as MenuItemType, k as Menu, l as Widget, lt as createEditable, m as getEntryTerms, mt as portableText, n as getWidgetAreas, nt as getDinewayEntry, o as PropDef, ot as CMSAnnotation, p as getEntriesByTerm, pt as getCollectionInfo, q as ContentEntry, r as getWidgetComponents, rt as getEditMeta, s as ReorderWidgetsInput, st as EditProxy, t as getWidgetArea, tt as getDinewayCollection, u as WidgetArea, ut as createNoop, v as getTerm, vt as FieldUIHints, w as UpdateTermInput, x as TaxonomyDef, xt as PortableTextBlock, y as getTermsForEntries, yt as FileValue, z as getPluginSetting } from "./index-2tBfB_8X.mjs";
|
|
11
|
+
import { _ as WxrSite, a as getAllSources, b as parseWxrString, c as getUrlSources, d as importReusableBlocksAsSections, f as WxrAttachment, g as WxrPost, h as WxrData, i as clearSources, l as probeUrl, m as WxrCategory, n as parseWxrDate, o as getFileSources, p as WxrAuthor, r as wxrSource, s as getSource, t as wordpressRestSource, u as registerSource, v as WxrTag, x as decodeSlug, y as parseWxr } from "./index-CpbixmRL.mjs";
|
|
12
|
+
import { n as generatePlaceholder, r as normalizeMediaValue, t as PlaceholderData } from "./placeholder-BZpCpid_.mjs";
|
|
13
|
+
import { a as ListOptions, c as S3StorageConfig, d as Storage, f as StorageDescriptor, i as FileInfo, l as SignedUploadOptions, n as DinewayStorageError, o as ListResult, p as UploadResult, r as DownloadResult, s as LocalStorageConfig, t as CreateStorageFn, u as SignedUploadUrl } from "./types-BYjPylrZ.mjs";
|
|
14
|
+
import "./bylines-D9TSSOe0.mjs";
|
|
15
15
|
import { DinewayRequestContext, getRequestContext, runWithContext } from "./request-context.mjs";
|
|
16
16
|
import { adaptSandboxEntry } from "./plugins/adapt-sandbox-entry.mjs";
|
|
17
|
-
import { S as UrlInput, _ as SourceAuth, a as FileInput, b as SourceProbeResult, c as ImportContext, d as ImportSource, f as NormalizedItem, g as ProbeResult, h as PostTypeMapping, i as FieldCompatibility, l as ImportFieldDef, m as PostTypeAnalysis, n as CollectionSchemaStatus, o as ImportAnalysis, p as OAuthInput, r as FetchOptions, s as ImportConfig, t as AttachmentInfo, u as ImportResult, v as SourceCapabilities, x as SuggestedAction, y as SourceInput } from "./types-
|
|
17
|
+
import { S as UrlInput, _ as SourceAuth, a as FileInput, b as SourceProbeResult, c as ImportContext, d as ImportSource, f as NormalizedItem, g as ProbeResult, h as PostTypeMapping, i as FieldCompatibility, l as ImportFieldDef, m as PostTypeAnalysis, n as CollectionSchemaStatus, o as ImportAnalysis, p as OAuthInput, r as FetchOptions, s as ImportConfig, t as AttachmentInfo, u as ImportResult, v as SourceCapabilities, x as SuggestedAction, y as SourceInput } from "./types-BBETcziA.mjs";
|
|
18
18
|
import { SeoMeta, SeoMetaOptions, getContentSeo, getSeoMeta } from "./seo/index.mjs";
|
|
19
|
-
import { _ as SeedTaxonomyTerm, a as applySeed, b as ValidationResult, c as SeedCollection, d as SeedFile, f as SeedMenu, g as SeedTaxonomy, l as SeedContentEntry, o as SeedApplyOptions, p as SeedMenuItem, s as SeedApplyResult, t as validateSeed, u as SeedField, v as SeedWidget, y as SeedWidgetArea } from "./validate-
|
|
19
|
+
import { _ as SeedTaxonomyTerm, a as applySeed, b as ValidationResult, c as SeedCollection, d as SeedFile, f as SeedMenu, g as SeedTaxonomy, l as SeedContentEntry, o as SeedApplyOptions, p as SeedMenuItem, s as SeedApplyResult, t as validateSeed, u as SeedField, v as SeedWidget, y as SeedWidgetArea } from "./validate-BzUCAU2a.mjs";
|
|
20
20
|
import "./seed/index.mjs";
|
|
21
21
|
import { ulid } from "ulidx";
|
|
22
22
|
export { type AfterCallback, type ApiContext, type AppliedSnapshotMeta, type ApplySnapshotToDatabaseOptions, type AttachmentInfo, type AuthDescriptor, type AuthProviderAdminExports, type AuthProviderDescriptor, type AuthProviderModule, type AuthResult, type AuthRouteDescriptor, type BreadcrumbItem, type BylineSummary, type CMSAnnotation, type CacheHint, type Collection, type CollectionCommentSettings, type CollectionFilter, type CollectionResult, type CollectionSchemaStatus, type CollectionSearchOptions, type CollectionSource, type CollectionSupport, type CollectionWithFields, type ColumnType, type CommentAfterCreateEvent, type CommentAfterCreateHandler, type CommentAfterModerateEvent, type CommentAfterModerateHandler, type CommentBeforeCreateEvent, type CommentBeforeCreateHandler, type CommentModerateEvent, type CommentModerateHandler, type ContentAccess, type ContentBylineCredit, type ContentDeleteEvent, type ContentEntry, type ContentHookEvent, type ContentItem, type ContentListResponse, type ContentPublishStateChangeEvent, ContentRepository, type ContentResponse, type ContentSeo, type ContentSeoInput, type CreateCollectionInput, type CreateContentInput, type CreateFieldInput, type CreateMediaInput, type CreateMenuInput, type CreateMenuItemInput, type CreateSectionInput, type CreateStorageFn, type CreateTermInput, type CreateWidgetAreaInput, type CreateWidgetInput, type Database, type DatabaseConfig, type DatabaseDescriptor, type DatabaseDialectType, type DinewayCollections, DinewayDatabaseError, type DinewayRequestContext, DinewayStorageError, DinewayValidationError, type DownloadResult, type EditFieldMeta, type EditProxy, type EntryData, type EntryFilter, type EntryResult, type ExternalAuthConfig, FIELD_TYPE_TO_COLUMN, FTSManager, type FetchOptions, type Field, type FieldAnnotation, type FieldCompatibility, type FieldDefinition, type FieldDescriptor, type FieldType, type FieldUIHints, type FieldValidation, type FieldWidgetConfig, type FieldWidgetOptions, type FileInfo, type FileInput, type FilePreviewMiddlewareConfig, FileSessionDatabaseFactory, type FileSessionDatabaseFactoryOptions, type FileValue, type FindManyOptions, type FindManyResult, type GeneratePreviewTokenOptions, type GetCommentsOptions, type GetCommentsResult, type GetPreviewUrlOptions, type GetSectionsOptions, type HookConfig, type HookName, HookPipeline, type HookResult, type HttpAccess, type I18nConfig, type ImageValue, type ImportAnalysis, type ImportConfig, type ImportContext, type ImportFieldDef, type ImportResult, type ImportSource, type InferCollectionData, type KVAccess, type LibsqlConfig, type ListOptions, type ListResponse, type ListResult, type CollectionFilter$1 as LoaderCollectionFilter, type LocalStorageConfig, type LogAccess, type ManifestResponse, type MediaAccess, type MediaItem, type MediaListResponse, type MediaReference, MediaRepository, type MediaResponse, type MediaTable, type MediaUploadEvent, type MediaValue, type Menu, type MenuItem, type MenuItemType, type MigrationStatus, type ModerationDecision, NodeSandboxRunner, NoopSandboxRunner, type NormalizedItem, type OAuthInput, type PageFragmentContribution, type PageFragmentEvent, type PageFragmentHandler, type PageMetadataContribution, type PageMetadataEvent, type PageMetadataHandler, type PagePlacement, type PlaceholderData, type PluginAdminConfig, type PluginAdminExports, type PluginAdminPage, type PluginCapability, type PluginContext, type PluginDefinition, type PluginDescriptor, type PluginHooks, PluginManager, type PluginManifest, type PluginRoute, PluginRouteError, type PluginStorageConfig, type PortableTextBlock, type PortableTextBlockConfig, type PortableTextBlockField, type PortableTextCodeBlock, type PortableTextImageBlock, type PortableTextLinkMark, type PortableTextMarkDef, type PortableTextSpan, type PortableTextTextBlock, type PortableTextUnknownBlock, type PostTypeAnalysis, type PostTypeMapping, type PostgresConfig, type PreviewSidecarClient, type PreviewSidecarSignature, type PreviewTokenPayload, type PreviewToolbarConfig, type ProbeResult, type PropDef, type ProseMirrorDocument, type ProseMirrorMark, type ProseMirrorNode, type PublicPageContext, RESERVED_COLLECTION_SLUGS, RESERVED_FIELD_SLUGS, type ReorderMenuItemsInput, type ReorderWidgetsInput, type ResolvePathResult, type ResolvedHook, type ResolvedPlugin, type ResolvedPluginHooks, type RevisionListResponse, type RevisionResponse, type RouteContext, type S3StorageConfig, type SandboxEmailMessage, type SandboxEmailSendCallback, SandboxNotAvailableError, type SandboxOptions, type SandboxRunner, type SandboxRunnerFactory, type SandboxedPlugin, SchemaError, SchemaRegistry, type SearchConfig, type SearchOptions, type SearchResponse, type SearchResult, type SearchStats, type Section, type SectionSource, type SeedApplyOptions, type SeedApplyResult, type SeedCollection, type SeedContentEntry, type SeedField, type SeedFile, type SeedMenu, type SeedMenuItem, type SeedTaxonomy, type SeedTaxonomyTerm, type SeedWidget, type SeedWidgetArea, type SeoMeta, type SeoMetaOptions, type SeoSettings, type SerializedRequest, type SessionCleanupResult, type SessionDatabaseFactory, type SessionDatabaseHandle, type SessionDatabaseInfo, SessionDatabaseLimitError, type SessionOpenOptions, type SessionOpenOrCreateOptions, type SignedUploadOptions, type SignedUploadUrl, type SiteSettingKey, type SiteSettings, type Snapshot, type SourceAuth, type SourceCapabilities, type SourceInput, type SourceProbeResult, type SqliteConfig, type StandardHookEntry, type StandardHookHandler, type StandardPluginDefinition, type StandardRouteEntry, type StandardRouteHandler, type Storage, type StorageCollection, type StorageDescriptor, type StoredComment, type SuggestOptions, type SuggestedAction, type Suggestion, type TaxonomyDef, type TaxonomyTerm, type TaxonomyTermRow, type TranslationSummary, type TranslationsResult, type UpdateCollectionInput, type UpdateContentInput, type UpdateFieldInput, type UpdateMenuInput, type UpdateMenuItemInput, type UpdateSectionInput, type UpdateTermInput, type UpdateWidgetInput, type UploadResult, type UrlInput, type UserTable, type ValidatedPluginManifest, type ValidationResult, type VerifyPreviewTokenOptions, type VerifyPreviewTokenResult, type Widget, type WidgetArea, type WidgetComponentDef, type WidgetType, type WxrAttachment, type WxrAuthor, type WxrCategory, type WxrData, type WxrPost, type WxrSite, type WxrTag, adaptSandboxEntry, after, applySeed, applySnapshotToDatabase, buildPreviewSignatureHeader, buildPreviewUrl, clearSources, computeContentHash, createEditable, createFilePreviewMiddleware, createHookPipeline, createNodeSandboxRunner, createNoop, createNoopSandboxRunner, createPluginManager, decodeSlug, defaultPreviewSidecarClient, definePlugin, dropSessionDatabaseTables, extractPlainText, extractSearchableFields, generateManifest, generatePlaceholder, generatePreviewToken, getAllSources, getAppliedSnapshotMeta, getByline, getBylineBySlug, getCollectionInfo, getCommentCount, getComments, getContentSeo, getDinewayCollection, getDinewayEntry, getEditMeta, getEntriesByTerm, getEntryTerms, getFallbackChain, getFileSources, getI18nConfig, getMenu, getMenus, getMigrationStatus, getPluginSetting, getPluginSettings, getPreviewToken, getPreviewUrl, getRequestContext, getSearchStats, getSection, getSections, getSeoMeta, getSiteSetting, getSiteSettings, getSource, getSuggestions, getTaxonomyDef, getTaxonomyDefs, getTaxonomyTerms, getTerm, getTermsForEntries, getTranslations, getUrlSources, getWidgetArea, getWidgetAreas, getWidgetComponents, handleContentCompare, handleContentCountScheduled, handleContentCountTrashed, handleContentCreate, handleContentDelete, handleContentDiscardDraft, handleContentDuplicate, handleContentGet, handleContentGetIncludingTrashed, handleContentList, handleContentListTrashed, handleContentPermanentDelete, handleContentPublish, handleContentRestore, handleContentSchedule, handleContentTranslations, handleContentUnpublish, handleContentUnschedule, handleContentUpdate, handleMediaCreate, handleMediaDelete, handleMediaGet, handleMediaList, handleMediaUpdate, handleRevisionGet, handleRevisionList, handleRevisionRestore, hashString, image, importReusableBlocksAsSections, isBlockedInPreview, isI18nEnabled, isPreviewRequest, isSafeHref, isStandardPluginDefinition, normalizeMediaValue, parseContentId, parsePreviewSignatureHeader, parseWxr, parseWxrDate, parseWxrString, pluginManifestSchema, portableText, portableTextToProsemirror, probeUrl, prosemirrorToPortableText, reference, registerSource, renderPreviewLoadingPage, renderPreviewToolbar, resolveDinewayPath, runWithContext, sanitizeHref, search, searchCollection, searchWithDb, setSiteSettings, signPreviewUrl, ulid, validateSeed, verifyPreviewSignature, verifyPreviewToken, wordpressRestSource, wxrSource };
|
package/dist/index.mjs
CHANGED
|
@@ -3,72 +3,73 @@ import { t as DinewayDatabaseError } from "./connection-BCNICDWN.mjs";
|
|
|
3
3
|
import "./dialect-helpers-TkdbkFad.mjs";
|
|
4
4
|
import { t as getMigrationStatus } from "./runner-lqEiJbO-.mjs";
|
|
5
5
|
import { n as getI18nConfig, r as isI18nEnabled, t as getFallbackChain } from "./config-XW5tMrH8.mjs";
|
|
6
|
-
import { _ as portableTextToProsemirror, a as SandboxNotAvailableError, b as reference, c as createPluginManager, f as HookPipeline, g as after, h as definePlugin, i as NoopSandboxRunner, l as PluginRouteError, n as NodeSandboxRunner, o as createNoopSandboxRunner, p as createHookPipeline, r as createNodeSandboxRunner, s as PluginManager, t as isStandardPluginDefinition, v as prosemirrorToPortableText, x as image, y as portableText } from "./plugins-
|
|
6
|
+
import { _ as portableTextToProsemirror, a as SandboxNotAvailableError, b as reference, c as createPluginManager, f as HookPipeline, g as after, h as definePlugin, i as NoopSandboxRunner, l as PluginRouteError, n as NodeSandboxRunner, o as createNoopSandboxRunner, p as createHookPipeline, r as createNodeSandboxRunner, s as PluginManager, t as isStandardPluginDefinition, v as prosemirrorToPortableText, x as image, y as portableText } from "./plugins-DCDVDF4B.mjs";
|
|
7
7
|
import { t as decodeSlug } from "./slugify-BzGxlOFx.mjs";
|
|
8
8
|
import { t as ContentRepository } from "./content-DvpMad_N.mjs";
|
|
9
9
|
import "./base64-C1Q9yr0B.mjs";
|
|
10
10
|
import { t as DinewayValidationError } from "./types-D1DjBFA9.mjs";
|
|
11
11
|
import { t as MediaRepository } from "./media-Cg4zc9fq.mjs";
|
|
12
12
|
import "./user-2aI21yV1.mjs";
|
|
13
|
-
import "./taxonomy-
|
|
13
|
+
import "./taxonomy-BvXRL85P.mjs";
|
|
14
14
|
import "./comment-BmJXz3lc.mjs";
|
|
15
15
|
import "./options-BF11H_FD.mjs";
|
|
16
|
-
import "./
|
|
17
|
-
import "./
|
|
18
|
-
import "./
|
|
19
|
-
import "./
|
|
20
|
-
import "./
|
|
21
|
-
import "./
|
|
22
|
-
import "./
|
|
23
|
-
import
|
|
24
|
-
import { t as
|
|
25
|
-
import "./
|
|
26
|
-
import
|
|
27
|
-
import "./
|
|
28
|
-
import "./
|
|
29
|
-
import "./
|
|
30
|
-
import "./
|
|
31
|
-
import
|
|
32
|
-
import {
|
|
33
|
-
import { n as
|
|
34
|
-
import "./
|
|
35
|
-
import
|
|
36
|
-
import "./
|
|
37
|
-
import "./
|
|
38
|
-
import
|
|
39
|
-
import { t as
|
|
40
|
-
import "./
|
|
41
|
-
import "./
|
|
42
|
-
import "./
|
|
43
|
-
import
|
|
44
|
-
import "./
|
|
45
|
-
import
|
|
46
|
-
import "./taxonomies-
|
|
47
|
-
import
|
|
48
|
-
import {
|
|
49
|
-
import "./
|
|
50
|
-
import "./
|
|
51
|
-
import "./
|
|
52
|
-
import
|
|
53
|
-
import {
|
|
54
|
-
import {
|
|
55
|
-
import { a as
|
|
56
|
-
import { n as
|
|
16
|
+
import "./audit-NgiRzqP9.mjs";
|
|
17
|
+
import "./site-activity-KFZprBZM.mjs";
|
|
18
|
+
import "./review-requests-CTUU_RJm.mjs";
|
|
19
|
+
import "./entity-aliases-uOrKvlPg.mjs";
|
|
20
|
+
import "./context-Ufrm1lOv.mjs";
|
|
21
|
+
import "./menus-DOaL6NaF.mjs";
|
|
22
|
+
import "./redirect-BaVvo2te.mjs";
|
|
23
|
+
import "./byline-DpNNSjET.mjs";
|
|
24
|
+
import { t as normalizeMediaValue } from "./normalize-BY_EJnd9.mjs";
|
|
25
|
+
import { t as generatePlaceholder } from "./placeholder-b0Ufu0La.mjs";
|
|
26
|
+
import "./seo-BPb_reaG.mjs";
|
|
27
|
+
import { A as handleRevisionGet, B as handleContentDuplicate, D as handleMediaGet, E as handleMediaDelete, F as handleContentCountScheduled, G as handleContentPermanentDelete, H as handleContentGetIncludingTrashed, I as handleContentCountTrashed, J as handleContentSchedule, K as handleContentPublish, L as handleContentCreate, M as handleRevisionRestore, N as generateManifest, O as handleMediaList, P as handleContentCompare, Q as handleContentUpdate, R as handleContentDelete, T as handleMediaCreate, U as handleContentList, V as handleContentGet, W as handleContentListTrashed, X as handleContentUnpublish, Y as handleContentTranslations, Z as handleContentUnschedule, j as handleRevisionList, k as handleMediaUpdate, q as handleContentRestore, z as handleContentDiscardDraft } from "./api-CXQfCGRX.mjs";
|
|
28
|
+
import "./request-cache-BpwuE2ix.mjs";
|
|
29
|
+
import "./dashboard-BC9bgPOH.mjs";
|
|
30
|
+
import "./briefing-Jsxs587i.mjs";
|
|
31
|
+
import "./context-types-BrSQNye5.mjs";
|
|
32
|
+
import { t as FTSManager } from "./fts-manager-DnfOsF4s.mjs";
|
|
33
|
+
import { i as RESERVED_FIELD_SLUGS, n as FIELD_TYPE_TO_COLUMN, r as RESERVED_COLLECTION_SLUGS } from "./types-C3Em8xpG.mjs";
|
|
34
|
+
import { n as SchemaRegistry, t as SchemaError } from "./registry-i__XP2WV.mjs";
|
|
35
|
+
import "./loader-p2imNN98.mjs";
|
|
36
|
+
import { i as getSiteSettings, n as getPluginSettings, o as setSiteSettings, r as getSiteSetting, t as getPluginSetting } from "./settings-DORe02PC.mjs";
|
|
37
|
+
import "./briefing-DD82WaEy.mjs";
|
|
38
|
+
import "./review-requests-DuIxM4YM.mjs";
|
|
39
|
+
import { n as hashString, t as computeContentHash } from "./hash-DFFrkivP.mjs";
|
|
40
|
+
import { t as getCollectionInfo } from "./query-BnRpB09I.mjs";
|
|
41
|
+
import "./zod-generator-C4BgFBZV.mjs";
|
|
42
|
+
import "./schema-U-SeFWwn.mjs";
|
|
43
|
+
import "./seo-CJBiMDkj.mjs";
|
|
44
|
+
import { o as getSection, s as getSections } from "./sections-Zx-2q9IH.mjs";
|
|
45
|
+
import "./settings-nr15a8uv.mjs";
|
|
46
|
+
import { a as getTaxonomyTerms, i as getTaxonomyDefs, n as getEntryTerms, o as getTerm, r as getTaxonomyDef, s as getTermsForEntries, t as getEntriesByTerm } from "./taxonomies-BVBKoXRf.mjs";
|
|
47
|
+
import "./taxonomies-DGaw_-aU.mjs";
|
|
48
|
+
import { i as pluginManifestSchema } from "./manifest-schema-C6fzQoWn.mjs";
|
|
49
|
+
import { t as DinewayStorageError } from "./types-CNNQ8l0v.mjs";
|
|
50
|
+
import "./parse-D7Tu6ku4.mjs";
|
|
51
|
+
import "./redirects-CoYlqu8e.mjs";
|
|
52
|
+
import "./import-DQ4Rfh5h.mjs";
|
|
53
|
+
import { n as sanitizeHref, t as isSafeHref } from "./url-BzhfYtRn.mjs";
|
|
54
|
+
import { c as createEditable, i as getTranslations, l as createNoop, n as getDinewayEntry, r as getEditMeta, s as resolveDinewayPath, t as getDinewayCollection } from "./query-DHvNhBhi.mjs";
|
|
55
|
+
import { a as verifyPreviewSignature, i as signPreviewUrl, n as defaultPreviewSidecarClient, r as parsePreviewSignatureHeader, t as buildPreviewSignatureHeader } from "./sidecar-client-lrf7ErYJ.mjs";
|
|
56
|
+
import { a as createFilePreviewMiddleware, c as dropSessionDatabaseTables, d as SessionDatabaseLimitError, f as isBlockedInPreview, i as getPreviewUrl, l as getAppliedSnapshotMeta, n as isPreviewRequest, o as renderPreviewToolbar, p as renderPreviewLoadingPage, r as buildPreviewUrl, s as applySnapshotToDatabase, t as getPreviewToken, u as FileSessionDatabaseFactory } from "./preview-5HuX6fjF.mjs";
|
|
57
|
+
import { n as parseWxrString, t as parseWxr } from "./parser-egIGEco-.mjs";
|
|
57
58
|
import { adaptSandboxEntry } from "./plugins/adapt-sandbox-entry.mjs";
|
|
58
|
-
import "./ssrf-
|
|
59
|
-
import "./cron-
|
|
60
|
-
import { a as getAllSources, c as getUrlSources, d as importReusableBlocksAsSections, i as clearSources, l as probeUrl, n as parseWxrDate, o as getFileSources, r as wxrSource, s as getSource, t as wordpressRestSource, u as registerSource } from "./import-
|
|
61
|
-
import "./utils-
|
|
62
|
-
import { n as parseContentId, r as verifyPreviewToken, t as generatePreviewToken } from "./tokens-
|
|
59
|
+
import "./ssrf-KAIQS48_.mjs";
|
|
60
|
+
import "./cron-D7FDsRu-.mjs";
|
|
61
|
+
import { a as getAllSources, c as getUrlSources, d as importReusableBlocksAsSections, i as clearSources, l as probeUrl, n as parseWxrDate, o as getFileSources, r as wxrSource, s as getSource, t as wordpressRestSource, u as registerSource } from "./import-DSXK3aQF.mjs";
|
|
62
|
+
import "./utils-FEbQMgB5.mjs";
|
|
63
|
+
import { n as parseContentId, r as verifyPreviewToken, t as generatePreviewToken } from "./tokens-CsP8Se8S.mjs";
|
|
63
64
|
import { getContentSeo, getSeoMeta } from "./seo/index.mjs";
|
|
64
|
-
import { i as getComments, n as getMenus, r as getCommentCount, t as getMenu } from "./menus-
|
|
65
|
-
import { n as getByline, r as getBylineBySlug } from "./bylines-
|
|
66
|
-
import { n as getWidgetAreas, r as getWidgetComponents, t as getWidgetArea } from "./widgets-
|
|
67
|
-
import { t as validateSeed } from "./validate-
|
|
68
|
-
import { t as applySeed } from "./apply-
|
|
69
|
-
import "./load-
|
|
65
|
+
import { i as getComments, n as getMenus, r as getCommentCount, t as getMenu } from "./menus-DzG3-9tQ.mjs";
|
|
66
|
+
import { n as getByline, r as getBylineBySlug } from "./bylines-75_STR73.mjs";
|
|
67
|
+
import { n as getWidgetAreas, r as getWidgetComponents, t as getWidgetArea } from "./widgets-Cj6ULpED.mjs";
|
|
68
|
+
import { t as validateSeed } from "./validate-JE-WfUQ5.mjs";
|
|
69
|
+
import { t as applySeed } from "./apply-TIoQ00aH.mjs";
|
|
70
|
+
import "./load-BCCcmoW9.mjs";
|
|
70
71
|
import "./seed/index.mjs";
|
|
71
|
-
import { a as getSuggestions, c as searchWithDb, i as getSearchStats, n as extractPlainText, o as search, r as extractSearchableFields, s as searchCollection } from "./search-
|
|
72
|
+
import { a as getSuggestions, c as searchWithDb, i as getSearchStats, n as extractPlainText, o as search, r as extractSearchableFields, s as searchCollection } from "./search-Cl9preJT.mjs";
|
|
72
73
|
import { ulid } from "ulidx";
|
|
73
74
|
|
|
74
75
|
export { ContentRepository, DinewayDatabaseError, DinewayStorageError, DinewayValidationError, FIELD_TYPE_TO_COLUMN, FTSManager, FileSessionDatabaseFactory, HookPipeline, MediaRepository, NodeSandboxRunner, NoopSandboxRunner, PluginManager, PluginRouteError, RESERVED_COLLECTION_SLUGS, RESERVED_FIELD_SLUGS, SandboxNotAvailableError, SchemaError, SchemaRegistry, SessionDatabaseLimitError, adaptSandboxEntry, after, applySeed, applySnapshotToDatabase, buildPreviewSignatureHeader, buildPreviewUrl, clearSources, computeContentHash, createEditable, createFilePreviewMiddleware, createHookPipeline, createNodeSandboxRunner, createNoop, createNoopSandboxRunner, createPluginManager, decodeSlug, defaultPreviewSidecarClient, definePlugin, dropSessionDatabaseTables, extractPlainText, extractSearchableFields, generateManifest, generatePlaceholder, generatePreviewToken, getAllSources, getAppliedSnapshotMeta, getByline, getBylineBySlug, getCollectionInfo, getCommentCount, getComments, getContentSeo, getDinewayCollection, getDinewayEntry, getEditMeta, getEntriesByTerm, getEntryTerms, getFallbackChain, getFileSources, getI18nConfig, getMenu, getMenus, getMigrationStatus, getPluginSetting, getPluginSettings, getPreviewToken, getPreviewUrl, getRequestContext, getSearchStats, getSection, getSections, getSeoMeta, getSiteSetting, getSiteSettings, getSource, getSuggestions, getTaxonomyDef, getTaxonomyDefs, getTaxonomyTerms, getTerm, getTermsForEntries, getTranslations, getUrlSources, getWidgetArea, getWidgetAreas, getWidgetComponents, handleContentCompare, handleContentCountScheduled, handleContentCountTrashed, handleContentCreate, handleContentDelete, handleContentDiscardDraft, handleContentDuplicate, handleContentGet, handleContentGetIncludingTrashed, handleContentList, handleContentListTrashed, handleContentPermanentDelete, handleContentPublish, handleContentRestore, handleContentSchedule, handleContentTranslations, handleContentUnpublish, handleContentUnschedule, handleContentUpdate, handleMediaCreate, handleMediaDelete, handleMediaGet, handleMediaList, handleMediaUpdate, handleRevisionGet, handleRevisionList, handleRevisionRestore, hashString, image, importReusableBlocksAsSections, isBlockedInPreview, isI18nEnabled, isPreviewRequest, isSafeHref, isStandardPluginDefinition, normalizeMediaValue, parseContentId, parsePreviewSignatureHeader, parseWxr, parseWxrDate, parseWxrString, pluginManifestSchema, portableText, portableTextToProsemirror, probeUrl, prosemirrorToPortableText, reference, registerSource, renderPreviewLoadingPage, renderPreviewToolbar, resolveDinewayPath, runWithContext, sanitizeHref, search, searchCollection, searchWithDb, setSiteSettings, signPreviewUrl, ulid, validateSeed, verifyPreviewSignature, verifyPreviewToken, wordpressRestSource, wxrSource };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { A as PageMetadataContribution, D as PageFragmentContribution, N as PageMetadataLinkRel, P as PagePlacement, q as PublicPageContext, t as BreadcrumbItem } from "./types-
|
|
2
|
-
import { n as SeoSettings } from "./types-
|
|
1
|
+
import { A as PageMetadataContribution, D as PageFragmentContribution, N as PageMetadataLinkRel, P as PagePlacement, q as PublicPageContext, t as BreadcrumbItem } from "./types-BIM7jwxr.mjs";
|
|
2
|
+
import { n as SeoSettings } from "./types-t7_nCCA9.mjs";
|
|
3
3
|
|
|
4
4
|
//#region src/page/context.d.ts
|
|
5
5
|
/** Fields shared by both input forms */
|
package/dist/media/index.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { _ as mediaItemToValue, a as EmbedResult, c as MediaListResult, d as MediaProviderDescriptor, f as MediaProviderItem, g as VideoEmbed, h as ThumbnailOptions, i as EmbedOptions, l as MediaProvider, m as MediaValue, n as ComponentEmbed, o as ImageEmbed, p as MediaUploadInput, r as CreateMediaProviderFn, s as MediaListOptions, t as AudioEmbed, u as MediaProviderCapabilities } from "../types-
|
|
2
|
-
import { n as generatePlaceholder, r as normalizeMediaValue, t as PlaceholderData } from "../placeholder-
|
|
1
|
+
import { _ as mediaItemToValue, a as EmbedResult, c as MediaListResult, d as MediaProviderDescriptor, f as MediaProviderItem, g as VideoEmbed, h as ThumbnailOptions, i as EmbedOptions, l as MediaProvider, m as MediaValue, n as ComponentEmbed, o as ImageEmbed, p as MediaUploadInput, r as CreateMediaProviderFn, s as MediaListOptions, t as AudioEmbed, u as MediaProviderCapabilities } from "../types-cn-fvYQ1.mjs";
|
|
2
|
+
import { n as generatePlaceholder, r as normalizeMediaValue, t as PlaceholderData } from "../placeholder-BZpCpid_.mjs";
|
|
3
3
|
|
|
4
4
|
//#region src/media/local.d.ts
|
|
5
5
|
interface LocalMediaConfig {
|
package/dist/media/index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as normalizeMediaValue } from "../normalize-
|
|
2
|
-
import { t as generatePlaceholder } from "../placeholder-
|
|
1
|
+
import { t as normalizeMediaValue } from "../normalize-BY_EJnd9.mjs";
|
|
2
|
+
import { t as generatePlaceholder } from "../placeholder-b0Ufu0La.mjs";
|
|
3
3
|
|
|
4
4
|
//#region src/media/types.ts
|
|
5
5
|
/**
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import "../runtime-
|
|
2
|
-
import { t as Database } from "../types-
|
|
3
|
-
import "../types-
|
|
4
|
-
import "../types-
|
|
5
|
-
import { f as MediaProviderItem, r as CreateMediaProviderFn } from "../types-
|
|
6
|
-
import "../runner-
|
|
7
|
-
import "../index-
|
|
8
|
-
import "../index-
|
|
9
|
-
import { d as Storage } from "../types-
|
|
10
|
-
import "../bylines-
|
|
11
|
-
import "../types-
|
|
12
|
-
import "../validate-
|
|
1
|
+
import "../runtime-BM9sqnzO.mjs";
|
|
2
|
+
import { t as Database } from "../types-B1NksXAb.mjs";
|
|
3
|
+
import "../types-BIM7jwxr.mjs";
|
|
4
|
+
import "../types-BgE6gMFI.mjs";
|
|
5
|
+
import { f as MediaProviderItem, r as CreateMediaProviderFn } from "../types-cn-fvYQ1.mjs";
|
|
6
|
+
import "../runner-pAnQS6iI.mjs";
|
|
7
|
+
import "../index-2tBfB_8X.mjs";
|
|
8
|
+
import "../index-CpbixmRL.mjs";
|
|
9
|
+
import { d as Storage } from "../types-BYjPylrZ.mjs";
|
|
10
|
+
import "../bylines-D9TSSOe0.mjs";
|
|
11
|
+
import "../types-BBETcziA.mjs";
|
|
12
|
+
import "../validate-BzUCAU2a.mjs";
|
|
13
13
|
import "../index.mjs";
|
|
14
14
|
import { Kysely } from "kysely";
|
|
15
15
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as __exportAll } from "./chunk-ClPoSABd.mjs";
|
|
2
2
|
import { n as getI18nConfig } from "./config-XW5tMrH8.mjs";
|
|
3
|
-
import { t as withTransaction } from "./transaction-
|
|
3
|
+
import { t as withTransaction } from "./transaction-D0FOsb3X.mjs";
|
|
4
4
|
import { ulid } from "ulidx";
|
|
5
5
|
|
|
6
6
|
//#region src/database/repositories/menu.ts
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { t as validateIdentifier } from "./validate-VPnKoIzW.mjs";
|
|
2
2
|
import { t as CommentRepository } from "./comment-BmJXz3lc.mjs";
|
|
3
|
-
import { n as requestCached } from "./request-cache-
|
|
4
|
-
import { r as getDb } from "./loader-
|
|
5
|
-
import { d as resolveLocaleChain, u as resolveLocale } from "./taxonomies-
|
|
6
|
-
import { n as sanitizeHref } from "./url-
|
|
3
|
+
import { n as requestCached } from "./request-cache-BpwuE2ix.mjs";
|
|
4
|
+
import { r as getDb } from "./loader-p2imNN98.mjs";
|
|
5
|
+
import { d as resolveLocaleChain, u as resolveLocale } from "./taxonomies-BVBKoXRf.mjs";
|
|
6
|
+
import { n as sanitizeHref } from "./url-BzhfYtRn.mjs";
|
|
7
7
|
import { sql } from "kysely";
|
|
8
8
|
|
|
9
9
|
//#region src/comments/query.ts
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { t as withTransaction } from "./transaction-
|
|
1
|
+
import { t as withTransaction } from "./transaction-D0FOsb3X.mjs";
|
|
2
2
|
import { a as filterExperimentalSiteContextWorkflowScopes, i as experimentalSiteContextWorkflowsEnabled, o as getExperimentalSiteContextWorkflowScopesDisabledMessage, r as disabledExperimentalSiteContextWorkflowScopes } from "./experimental-workflows-BbZbIEZp.mjs";
|
|
3
|
-
import { a as hashApiToken, n as TOKEN_PREFIXES, r as generatePrefixedToken, t as ALL_VALID_SCOPES } from "./api-tokens-
|
|
4
|
-
import { c as validateRedirectUri, o as lookupOAuthClient, s as validateClientRedirectUri } from "./oauth-clients-
|
|
5
|
-
import { t as lookupUserRoleAndStatus } from "./oauth-user-lookup-
|
|
3
|
+
import { a as hashApiToken, n as TOKEN_PREFIXES, r as generatePrefixedToken, t as ALL_VALID_SCOPES } from "./api-tokens-L0o9Bd7v.mjs";
|
|
4
|
+
import { c as validateRedirectUri, o as lookupOAuthClient, s as validateClientRedirectUri } from "./oauth-clients-BMs_bmoz.mjs";
|
|
5
|
+
import { t as lookupUserRoleAndStatus } from "./oauth-user-lookup-DdcI8ZVL.mjs";
|
|
6
6
|
import { clampScopes, computeS256Challenge, secureCompare } from "@dineway-ai/auth";
|
|
7
7
|
import { generateCodeVerifier } from "arctic";
|
|
8
8
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { o as getExperimentalSiteContextWorkflowScopesDisabledMessage, r as disabledExperimentalSiteContextWorkflowScopes } from "./experimental-workflows-BbZbIEZp.mjs";
|
|
2
|
-
import {
|
|
2
|
+
import { s as validateScopes } from "./api-tokens-L0o9Bd7v.mjs";
|
|
3
3
|
|
|
4
4
|
//#region src/api/oauth/redirect-uri.ts
|
|
5
5
|
/**
|
package/dist/page/index.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { A as PageMetadataContribution, D as PageFragmentContribution, q as PublicPageContext } from "../types-
|
|
2
|
-
import { a as generateSiteSeoContributions, c as ResolvedPageMetadata, d as resolvePageMetadata, f as safeJsonLdSerialize, i as generateBaseSeoContributions, l as escapeHtmlAttr, m as createPublicPageContext, n as buildWebSiteJsonLd, o as renderFragments, p as CreatePublicPageContextInput, r as cleanJsonLd, s as resolveFragments, t as buildBlogPostingJsonLd, u as renderPageMetadata } from "../jsonld-
|
|
1
|
+
import { A as PageMetadataContribution, D as PageFragmentContribution, q as PublicPageContext } from "../types-BIM7jwxr.mjs";
|
|
2
|
+
import { a as generateSiteSeoContributions, c as ResolvedPageMetadata, d as resolvePageMetadata, f as safeJsonLdSerialize, i as generateBaseSeoContributions, l as escapeHtmlAttr, m as createPublicPageContext, n as buildWebSiteJsonLd, o as renderFragments, p as CreatePublicPageContextInput, r as cleanJsonLd, s as resolveFragments, t as buildBlogPostingJsonLd, u as renderPageMetadata } from "../jsonld-BhdZoeR1.mjs";
|
|
3
3
|
|
|
4
4
|
//#region src/page/index.d.ts
|
|
5
5
|
/**
|
package/dist/page/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as cleanJsonLd, c as escapeHtmlAttr, d as safeJsonLdSerialize, f as createPublicPageContext, i as buildWebSiteJsonLd, l as renderPageMetadata, n as generateSiteSeoContributions, o as renderFragments, r as buildBlogPostingJsonLd, s as resolveFragments, t as generateBaseSeoContributions, u as resolvePageMetadata } from "../seo-contributions-
|
|
1
|
+
import { a as cleanJsonLd, c as escapeHtmlAttr, d as safeJsonLdSerialize, f as createPublicPageContext, i as buildWebSiteJsonLd, l as renderPageMetadata, n as generateSiteSeoContributions, o as renderFragments, r as buildBlogPostingJsonLd, s as resolveFragments, t as generateBaseSeoContributions, u as resolvePageMetadata } from "../seo-contributions-C0LXoWw3.mjs";
|
|
2
2
|
|
|
3
3
|
//#region src/page/index.ts
|
|
4
4
|
/**
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { n as PluginDescriptor } from "../runtime-
|
|
2
|
-
import "../types-
|
|
3
|
-
import { X as ResolvedPlugin, tt as StandardPluginDefinition } from "../types-
|
|
4
|
-
import "../types-
|
|
5
|
-
import "../runner-
|
|
6
|
-
import "../index-
|
|
7
|
-
import "../index-
|
|
8
|
-
import "../bylines-
|
|
9
|
-
import "../types-
|
|
10
|
-
import "../validate-
|
|
1
|
+
import { n as PluginDescriptor } from "../runtime-BM9sqnzO.mjs";
|
|
2
|
+
import "../types-B1NksXAb.mjs";
|
|
3
|
+
import { X as ResolvedPlugin, tt as StandardPluginDefinition } from "../types-BIM7jwxr.mjs";
|
|
4
|
+
import "../types-BgE6gMFI.mjs";
|
|
5
|
+
import "../runner-pAnQS6iI.mjs";
|
|
6
|
+
import "../index-2tBfB_8X.mjs";
|
|
7
|
+
import "../index-CpbixmRL.mjs";
|
|
8
|
+
import "../bylines-D9TSSOe0.mjs";
|
|
9
|
+
import "../types-BBETcziA.mjs";
|
|
10
|
+
import "../validate-BzUCAU2a.mjs";
|
|
11
11
|
|
|
12
12
|
//#region src/plugins/adapt-sandbox-entry.d.ts
|
|
13
13
|
/**
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import { t as OptionsRepository } from "./options-BF11H_FD.mjs";
|
|
2
|
-
import { n as createPluginContext, t as PluginContextFactory } from "./context-
|
|
3
|
-
import { t as extractRequestMeta } from "./request-meta-
|
|
4
|
-
import { r as setCronTasksEnabled } from "./cron-
|
|
2
|
+
import { n as createPluginContext, t as PluginContextFactory } from "./context-Ufrm1lOv.mjs";
|
|
3
|
+
import { t as extractRequestMeta } from "./request-meta-DUGfAeXy.mjs";
|
|
4
|
+
import { r as setCronTasksEnabled } from "./cron-D7FDsRu-.mjs";
|
|
5
5
|
import { sql } from "kysely";
|
|
6
6
|
import { AsyncLocalStorage } from "node:async_hooks";
|
|
7
|
-
import { ulid } from "ulidx";
|
|
8
7
|
import { z } from "astro/zod";
|
|
9
8
|
import { Worker } from "node:worker_threads";
|
|
10
9
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { runWithContext } from "./request-context.mjs";
|
|
2
2
|
import { n as createDatabase } from "./connection-BCNICDWN.mjs";
|
|
3
|
-
import { a as verifyPreviewSignature, t as buildPreviewSignatureHeader } from "./sidecar-client-
|
|
4
|
-
import { t as generatePreviewToken } from "./tokens-
|
|
3
|
+
import { a as verifyPreviewSignature, t as buildPreviewSignatureHeader } from "./sidecar-client-lrf7ErYJ.mjs";
|
|
4
|
+
import { t as generatePreviewToken } from "./tokens-CsP8Se8S.mjs";
|
|
5
5
|
import BetterSqlite3 from "better-sqlite3";
|
|
6
6
|
import { sql } from "kysely";
|
|
7
7
|
import { ulid } from "ulidx";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { n as requestCached } from "./request-cache-
|
|
2
|
-
import { n as SchemaRegistry } from "./registry-
|
|
3
|
-
import { r as getDb } from "./loader-
|
|
1
|
+
import { n as requestCached } from "./request-cache-BpwuE2ix.mjs";
|
|
2
|
+
import { n as SchemaRegistry } from "./registry-i__XP2WV.mjs";
|
|
3
|
+
import { r as getDb } from "./loader-p2imNN98.mjs";
|
|
4
4
|
|
|
5
5
|
//#region src/schema/query.ts
|
|
6
6
|
/**
|
|
@@ -2,9 +2,9 @@ import { t as __exportAll } from "./chunk-ClPoSABd.mjs";
|
|
|
2
2
|
import { getRequestContext } from "./request-context.mjs";
|
|
3
3
|
import { n as getI18nConfig, r as isI18nEnabled, t as getFallbackChain } from "./config-XW5tMrH8.mjs";
|
|
4
4
|
import { r as encodeCursor } from "./types-D1DjBFA9.mjs";
|
|
5
|
-
import { n as requestCached } from "./request-cache-
|
|
6
|
-
import { t as CURSOR_RAW_VALUES } from "./loader-
|
|
7
|
-
import { t as isMissingTableError } from "./db-errors-
|
|
5
|
+
import { n as requestCached } from "./request-cache-BpwuE2ix.mjs";
|
|
6
|
+
import { t as CURSOR_RAW_VALUES } from "./loader-p2imNN98.mjs";
|
|
7
|
+
import { t as isMissingTableError } from "./db-errors-DHJCB_gY.mjs";
|
|
8
8
|
|
|
9
9
|
//#region src/visual-editing/editable.ts
|
|
10
10
|
/**
|
|
@@ -436,7 +436,7 @@ async function getDinewayEntry(type, id, options) {
|
|
|
436
436
|
async function hydrateEntryBylines(type, entries) {
|
|
437
437
|
if (entries.length === 0) return;
|
|
438
438
|
try {
|
|
439
|
-
const { getBylinesForEntries } = await import("./bylines-
|
|
439
|
+
const { getBylinesForEntries } = await import("./bylines-75_STR73.mjs").then((n) => n.t);
|
|
440
440
|
const refs = entries.map((entry) => {
|
|
441
441
|
const data = entryData(entry);
|
|
442
442
|
const id = dataStr(data, "id");
|
|
@@ -465,7 +465,7 @@ async function hydrateEntryBylines(type, entries) {
|
|
|
465
465
|
async function hydrateEntryTerms(type, entries) {
|
|
466
466
|
if (entries.length === 0) return;
|
|
467
467
|
try {
|
|
468
|
-
const { getAllTermsForEntries } = await import("./taxonomies-
|
|
468
|
+
const { getAllTermsForEntries } = await import("./taxonomies-BVBKoXRf.mjs").then((n) => n.l);
|
|
469
469
|
const ids = entries.map((entry) => dataStr(entryData(entry), "id")).filter(Boolean);
|
|
470
470
|
if (ids.length === 0) return;
|
|
471
471
|
const termsMap = await getAllTermsForEntries(type, ids);
|
|
@@ -499,7 +499,7 @@ async function hydrateEntryTerms(type, entries) {
|
|
|
499
499
|
*/
|
|
500
500
|
async function getTranslations(type, id) {
|
|
501
501
|
try {
|
|
502
|
-
const db = (await import("./loader-
|
|
502
|
+
const db = (await import("./loader-p2imNN98.mjs").then((n) => n.i)).getDb;
|
|
503
503
|
const dbInstance = await db();
|
|
504
504
|
const { ContentRepository } = await import("./content-DvpMad_N.mjs").then((n) => n.n);
|
|
505
505
|
const repo = new ContentRepository(dbInstance);
|
|
@@ -568,8 +568,8 @@ async function resolveDinewayPath(path) {
|
|
|
568
568
|
const hasDbOverride = !!getRequestContext()?.db;
|
|
569
569
|
let patterns = !hasDbOverride ? cachedUrlPatterns : null;
|
|
570
570
|
if (!patterns) {
|
|
571
|
-
const { getDb } = await import("./loader-
|
|
572
|
-
const { SchemaRegistry } = await import("./registry-
|
|
571
|
+
const { getDb } = await import("./loader-p2imNN98.mjs").then((n) => n.i);
|
|
572
|
+
const { SchemaRegistry } = await import("./registry-i__XP2WV.mjs").then((n) => n.r);
|
|
573
573
|
patterns = (await new SchemaRegistry(await getDb()).listCollections()).filter((collection) => collection.urlPattern).map((collection) => {
|
|
574
574
|
const { regex, paramNames } = patternToRegex(collection.urlPattern);
|
|
575
575
|
return {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as apiError } from "./error-
|
|
2
|
-
import { n as normalizeTrustedHeaders } from "./trusted-proxy-
|
|
1
|
+
import { t as apiError } from "./error-DLkgOP5m.mjs";
|
|
2
|
+
import { n as normalizeTrustedHeaders } from "./trusted-proxy-Bbm6PLR6.mjs";
|
|
3
3
|
import { sql } from "kysely";
|
|
4
4
|
|
|
5
5
|
//#region src/auth/rate-limit.ts
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { i as currentTimestampValue } from "./dialect-helpers-TkdbkFad.mjs";
|
|
2
2
|
import { n as decodeCursor, r as encodeCursor } from "./types-D1DjBFA9.mjs";
|
|
3
|
-
import { i as matchPattern, n as interpolateDestination, r as isPattern, t as compilePattern } from "./patterns-
|
|
3
|
+
import { i as matchPattern, n as interpolateDestination, r as isPattern, t as compilePattern } from "./patterns-CiyXeDgr.mjs";
|
|
4
4
|
import { sql } from "kysely";
|
|
5
5
|
import { ulid } from "ulidx";
|
|
6
6
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as OptionsRepository } from "./options-BF11H_FD.mjs";
|
|
2
|
-
import { a as validateDestinationParams, i as matchPattern, n as interpolateDestination, o as validatePattern, r as isPattern, t as compilePattern } from "./patterns-
|
|
3
|
-
import { t as RedirectRepository } from "./redirect-
|
|
4
|
-
import { i as invalidateRedirectCache } from "./cache-
|
|
2
|
+
import { a as validateDestinationParams, i as matchPattern, n as interpolateDestination, o as validatePattern, r as isPattern, t as compilePattern } from "./patterns-CiyXeDgr.mjs";
|
|
3
|
+
import { t as RedirectRepository } from "./redirect-BaVvo2te.mjs";
|
|
4
|
+
import { i as invalidateRedirectCache } from "./cache-DQyZ-QaB.mjs";
|
|
5
5
|
|
|
6
6
|
//#region src/redirects/loops.ts
|
|
7
7
|
/**
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { t as __exportAll } from "./chunk-ClPoSABd.mjs";
|
|
2
2
|
import { t as validateIdentifier } from "./validate-VPnKoIzW.mjs";
|
|
3
3
|
import { c as listTablesLike, l as tableExists, r as currentTimestamp } from "./dialect-helpers-TkdbkFad.mjs";
|
|
4
|
-
import { t as withTransaction } from "./transaction-
|
|
5
|
-
import { n as chunks, t as SQL_BATCH_SIZE } from "./chunks-
|
|
6
|
-
import { t as FTSManager } from "./fts-manager-
|
|
7
|
-
import { i as RESERVED_FIELD_SLUGS, n as FIELD_TYPE_TO_COLUMN, r as RESERVED_COLLECTION_SLUGS } from "./types-
|
|
4
|
+
import { t as withTransaction } from "./transaction-D0FOsb3X.mjs";
|
|
5
|
+
import { n as chunks, t as SQL_BATCH_SIZE } from "./chunks-D8KL0nCY.mjs";
|
|
6
|
+
import { t as FTSManager } from "./fts-manager-DnfOsF4s.mjs";
|
|
7
|
+
import { i as RESERVED_FIELD_SLUGS, n as FIELD_TYPE_TO_COLUMN, r as RESERVED_COLLECTION_SLUGS } from "./types-C3Em8xpG.mjs";
|
|
8
8
|
import { sql } from "kysely";
|
|
9
9
|
import { ulid } from "ulidx";
|
|
10
10
|
|