dineway 0.1.48 → 0.1.49
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/{activity-events-C9u37D5z.mjs → activity-events-CwM7yxPW.mjs} +1 -1
- package/dist/{allowed-origins-DhipQNLb.mjs → allowed-origins-CyGnbgBd.mjs} +1 -1
- package/dist/api/route-utils.d.mts +7 -7
- package/dist/api/route-utils.mjs +10 -10
- package/dist/api/schemas/index.d.mts +1 -1
- package/dist/api/schemas/index.mjs +2 -2
- package/dist/{api-Eiy8_zVZ.mjs → api-BMIxRIEN.mjs} +17 -17
- package/dist/{apply-CX3no7XE.mjs → apply-D_RlTYtC.mjs} +16 -16
- package/dist/astro/index.d.mts +6 -6
- package/dist/astro/index.mjs +3 -3
- package/dist/astro/middleware/auth.d.mts +6 -6
- package/dist/astro/middleware/auth.mjs +2 -2
- package/dist/astro/middleware/redirect.mjs +5 -5
- package/dist/astro/middleware/request-context.mjs +4 -4
- package/dist/astro/middleware/seed.d.mts +1 -1
- package/dist/astro/middleware/seed.mjs +2 -2
- package/dist/astro/middleware/setup.mjs +1 -1
- package/dist/astro/middleware.mjs +64 -64
- package/dist/astro/routes/api/admin/allowed-domains/_domain_.mjs +2 -2
- package/dist/astro/routes/api/admin/allowed-domains/index.mjs +2 -2
- package/dist/astro/routes/api/admin/api-tokens/index.mjs +1 -1
- package/dist/astro/routes/api/admin/briefing.mjs +15 -15
- package/dist/astro/routes/api/admin/byline-fields/_slug_/usage.mjs +2 -2
- package/dist/astro/routes/api/admin/byline-fields/_slug_.mjs +4 -4
- package/dist/astro/routes/api/admin/byline-fields/index.mjs +4 -4
- package/dist/astro/routes/api/admin/byline-fields/reorder.mjs +4 -4
- package/dist/astro/routes/api/admin/bylines/_id_/index.mjs +10 -10
- package/dist/astro/routes/api/admin/bylines/_id_/translations.mjs +10 -10
- package/dist/astro/routes/api/admin/bylines/index.mjs +10 -10
- package/dist/astro/routes/api/admin/comments/_id_/status.mjs +9 -9
- package/dist/astro/routes/api/admin/comments/_id_.mjs +4 -4
- package/dist/astro/routes/api/admin/comments/bulk.mjs +6 -6
- package/dist/astro/routes/api/admin/comments/counts.mjs +4 -4
- package/dist/astro/routes/api/admin/comments/index.mjs +6 -6
- package/dist/astro/routes/api/admin/context/_id_/history.mjs +23 -23
- package/dist/astro/routes/api/admin/context/_id_/index.mjs +23 -23
- package/dist/astro/routes/api/admin/context/_id_/review.mjs +25 -25
- package/dist/astro/routes/api/admin/context/_id_/supersede.mjs +25 -25
- package/dist/astro/routes/api/admin/context/diff.mjs +24 -24
- package/dist/astro/routes/api/admin/context/index.mjs +25 -25
- package/dist/astro/routes/api/admin/context/stale.mjs +24 -24
- package/dist/astro/routes/api/admin/hitl-requests/_id_/index.mjs +24 -24
- package/dist/astro/routes/api/admin/hitl-requests/_id_/resolve.mjs +25 -25
- package/dist/astro/routes/api/admin/hitl-requests/index.mjs +25 -25
- package/dist/astro/routes/api/admin/hooks/exclusive/_hookName_.mjs +23 -23
- package/dist/astro/routes/api/admin/hooks/exclusive/index.mjs +1 -1
- package/dist/astro/routes/api/admin/oauth-clients/_id_.mjs +2 -2
- package/dist/astro/routes/api/admin/oauth-clients/index.mjs +2 -2
- package/dist/astro/routes/api/admin/plugins/_id_/disable.mjs +42 -42
- package/dist/astro/routes/api/admin/plugins/_id_/enable.mjs +42 -42
- package/dist/astro/routes/api/admin/plugins/_id_/index.mjs +36 -36
- package/dist/astro/routes/api/admin/plugins/_id_/uninstall.mjs +42 -42
- package/dist/astro/routes/api/admin/plugins/_id_/update.mjs +42 -42
- package/dist/astro/routes/api/admin/plugins/index.mjs +36 -36
- package/dist/astro/routes/api/admin/plugins/marketplace/_id_/index.mjs +36 -36
- package/dist/astro/routes/api/admin/plugins/marketplace/_id_/install.mjs +42 -42
- package/dist/astro/routes/api/admin/plugins/marketplace/index.mjs +36 -36
- package/dist/astro/routes/api/admin/plugins/updates.mjs +36 -36
- package/dist/astro/routes/api/admin/review-requests/_id_/index.mjs +4 -4
- package/dist/astro/routes/api/admin/review-requests/_id_/resolve.mjs +24 -24
- package/dist/astro/routes/api/admin/review-requests/index.mjs +6 -6
- package/dist/astro/routes/api/admin/themes/marketplace/_id_/index.mjs +36 -36
- package/dist/astro/routes/api/admin/themes/marketplace/index.mjs +36 -36
- package/dist/astro/routes/api/admin/users/_id_/disable.mjs +1 -1
- package/dist/astro/routes/api/admin/users/_id_/index.mjs +3 -3
- package/dist/astro/routes/api/admin/users/_id_/send-recovery.mjs +2 -2
- package/dist/astro/routes/api/admin/users/index.mjs +2 -2
- package/dist/astro/routes/api/auth/dev-bypass.mjs +1 -1
- package/dist/astro/routes/api/auth/invite/complete.mjs +6 -6
- package/dist/astro/routes/api/auth/invite/index.mjs +4 -4
- package/dist/astro/routes/api/auth/invite/register-options.mjs +5 -5
- package/dist/astro/routes/api/auth/magic-link/send.mjs +4 -4
- package/dist/astro/routes/api/auth/me.mjs +6 -6
- package/dist/astro/routes/api/auth/mode.mjs +1 -1
- package/dist/astro/routes/api/auth/oauth/_provider_/callback.mjs +1 -1
- package/dist/astro/routes/api/auth/oauth/_provider_.mjs +1 -1
- package/dist/astro/routes/api/auth/passkey/_id_.mjs +2 -2
- package/dist/astro/routes/api/auth/passkey/options.mjs +5 -5
- package/dist/astro/routes/api/auth/passkey/register/options.mjs +5 -5
- package/dist/astro/routes/api/auth/passkey/register/verify.mjs +6 -6
- package/dist/astro/routes/api/auth/passkey/verify.mjs +6 -6
- package/dist/astro/routes/api/auth/setup-token/index.mjs +4 -4
- package/dist/astro/routes/api/auth/signup/complete.mjs +6 -6
- package/dist/astro/routes/api/auth/signup/request.mjs +4 -4
- package/dist/astro/routes/api/comments/_collection_/_contentId_/index.mjs +10 -10
- 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 +7 -7
- package/dist/astro/routes/api/content/_collection_/_id_/publish.mjs +6 -6
- package/dist/astro/routes/api/content/_collection_/_id_/restore.mjs +4 -4
- package/dist/astro/routes/api/content/_collection_/_id_/schedule.mjs +6 -6
- package/dist/astro/routes/api/content/_collection_/_id_/terms/_taxonomy_.mjs +9 -9
- package/dist/astro/routes/api/content/_collection_/_id_/unpublish.mjs +4 -4
- package/dist/astro/routes/api/content/_collection_/_id_.mjs +6 -6
- package/dist/astro/routes/api/content/_collection_/index.mjs +6 -6
- package/dist/astro/routes/api/content/_collection_/trash.mjs +2 -2
- package/dist/astro/routes/api/dashboard.mjs +7 -7
- package/dist/astro/routes/api/health.mjs +1 -1
- package/dist/astro/routes/api/import/probe.d.mts +2 -2
- package/dist/astro/routes/api/import/probe.mjs +5 -5
- package/dist/astro/routes/api/import/wordpress/analyze.mjs +3 -3
- package/dist/astro/routes/api/import/wordpress/execute.mjs +28 -28
- package/dist/astro/routes/api/import/wordpress/media.mjs +5 -5
- package/dist/astro/routes/api/import/wordpress/prepare.mjs +28 -28
- package/dist/astro/routes/api/import/wordpress/rewrite-urls.mjs +26 -26
- package/dist/astro/routes/api/import/wordpress-plugin/analyze.mjs +7 -7
- package/dist/astro/routes/api/import/wordpress-plugin/callback.mjs +1 -1
- package/dist/astro/routes/api/import/wordpress-plugin/execute.mjs +28 -28
- package/dist/astro/routes/api/manifest.mjs +3 -3
- package/dist/astro/routes/api/mcp.mjs +48 -48
- package/dist/astro/routes/api/media/_id_/confirm.mjs +5 -5
- package/dist/astro/routes/api/media/_id_.mjs +2 -2
- package/dist/astro/routes/api/media/upload-url.mjs +7 -7
- package/dist/astro/routes/api/media.mjs +8 -8
- package/dist/astro/routes/api/menus/_name_/items/_id_.mjs +25 -25
- package/dist/astro/routes/api/menus/_name_/items.mjs +25 -25
- package/dist/astro/routes/api/menus/_name_/reorder.mjs +25 -25
- package/dist/astro/routes/api/menus/_name_/translations.mjs +25 -25
- package/dist/astro/routes/api/menus/_name_.mjs +25 -25
- package/dist/astro/routes/api/menus/index.mjs +25 -25
- package/dist/astro/routes/api/oauth/authorize.mjs +4 -4
- package/dist/astro/routes/api/oauth/device/authorize.mjs +2 -2
- package/dist/astro/routes/api/oauth/device/code.mjs +3 -3
- package/dist/astro/routes/api/oauth/device/token.mjs +2 -2
- package/dist/astro/routes/api/oauth/register.mjs +2 -2
- package/dist/astro/routes/api/oauth/token/refresh.mjs +2 -2
- package/dist/astro/routes/api/oauth/token/revoke.mjs +2 -2
- package/dist/astro/routes/api/oauth/token.mjs +3 -3
- package/dist/astro/routes/api/openapi.json.mjs +1 -1
- package/dist/astro/routes/api/redirects/404s/index.mjs +7 -7
- package/dist/astro/routes/api/redirects/404s/summary.mjs +7 -7
- package/dist/astro/routes/api/redirects/_id_.mjs +26 -26
- package/dist/astro/routes/api/redirects/index.mjs +26 -26
- package/dist/astro/routes/api/schema/collections/_slug_/fields/_fieldSlug_.mjs +37 -37
- package/dist/astro/routes/api/schema/collections/_slug_/fields/index.mjs +37 -37
- package/dist/astro/routes/api/schema/collections/_slug_/fields/reorder.mjs +37 -37
- package/dist/astro/routes/api/schema/collections/_slug_/index.mjs +37 -37
- package/dist/astro/routes/api/schema/collections/index.mjs +37 -37
- package/dist/astro/routes/api/schema/index.mjs +3 -3
- package/dist/astro/routes/api/schema/orphans/_slug_.mjs +36 -36
- package/dist/astro/routes/api/schema/orphans/index.mjs +36 -36
- package/dist/astro/routes/api/search/enable.mjs +7 -7
- package/dist/astro/routes/api/search/index.mjs +7 -7
- package/dist/astro/routes/api/search/rebuild.mjs +7 -7
- package/dist/astro/routes/api/search/stats.mjs +5 -5
- package/dist/astro/routes/api/search/suggest.mjs +7 -7
- package/dist/astro/routes/api/sections/_slug_.mjs +25 -25
- package/dist/astro/routes/api/sections/index.mjs +25 -25
- package/dist/astro/routes/api/settings/email.mjs +1 -1
- package/dist/astro/routes/api/settings.mjs +25 -25
- package/dist/astro/routes/api/setup/admin-verify.mjs +7 -7
- package/dist/astro/routes/api/setup/admin.mjs +5 -5
- package/dist/astro/routes/api/setup/dev-bypass.mjs +19 -19
- package/dist/astro/routes/api/setup/dev-reset.mjs +1 -1
- package/dist/astro/routes/api/setup/index.mjs +22 -22
- 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 +27 -27
- package/dist/astro/routes/api/taxonomies/_name_/terms/_slug_.mjs +27 -27
- package/dist/astro/routes/api/taxonomies/_name_/terms/index.mjs +27 -27
- package/dist/astro/routes/api/taxonomies/index.mjs +27 -27
- package/dist/astro/routes/api/themes/preview.mjs +4 -4
- package/dist/astro/routes/api/typegen.mjs +3 -3
- package/dist/astro/routes/api/well-known/auth.mjs +3 -3
- 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 +24 -24
- package/dist/astro/routes/api/widget-areas/_name_/widgets/_id_.mjs +25 -25
- package/dist/astro/routes/api/widget-areas/_name_/widgets.mjs +25 -25
- package/dist/astro/routes/api/widget-areas/_name_.mjs +24 -24
- package/dist/astro/routes/api/widget-areas/index.mjs +25 -25
- package/dist/astro/routes/robots.txt.mjs +8 -8
- package/dist/astro/routes/sitemap-_collection_.xml.mjs +8 -8
- package/dist/astro/routes/sitemap.xml.mjs +8 -8
- package/dist/astro/session-driver.d.mts +1 -1
- package/dist/astro/session-driver.mjs +3 -3
- package/dist/astro/types.d.mts +6 -6
- package/dist/{audit-D1cbG7xH.mjs → audit-BeNsSyfU.mjs} +1 -1
- package/dist/{briefing-gKWiGLt1.mjs → briefing-CkTee1ex.mjs} +7 -7
- package/dist/{briefing-CObXGOGz.mjs → briefing-DJX6irto.mjs} +1 -1
- package/dist/{byline-1ntDwv8c.mjs → byline-BVC1lV6G.mjs} +5 -5
- package/dist/{byline-fields-C9_iaPaM.mjs → byline-fields-Cj39WhXC.mjs} +1 -1
- package/dist/{byline-fields-B-ZkoVft.mjs → byline-fields-cNrLJVRs.mjs} +2 -2
- package/dist/{byline-fields-BX7rWKNU.d.mts → byline-fields-uJlygdzM.d.mts} +31 -31
- package/dist/{byline-registry-CUSvkasJ.mjs → byline-registry-4v6tXMNX.mjs} +2 -2
- package/dist/{bylines-DtxChhN_.mjs → bylines-DwokOFj6.mjs} +4 -4
- package/dist/{bylines-bC15ZqAv.mjs → bylines-LN9XISRo.mjs} +2 -2
- package/dist/{cache-DbKyr60Q.mjs → cache-Bac05gBd.mjs} +2 -2
- package/dist/{chunks-C5zp2xir.mjs → chunks-CuUt7K50.mjs} +1 -1
- package/dist/cli/index.mjs +685 -576
- package/dist/{comment-CXDOQ93N.mjs → comment-Beue8-15.mjs} +1 -1
- package/dist/{comments-hK-rdzJ9.mjs → comments-DcjFIfqX.mjs} +1 -1
- package/dist/{content-QaryevFO.mjs → content-CBxYGWfL.mjs} +3 -3
- package/dist/{context-CoYb_fvK.mjs → context-CQVNZaR8.mjs} +7 -7
- package/dist/{context-DBL1ib4v.mjs → context-Df1xVYyr.mjs} +2 -2
- package/dist/{context-route-helpers-CYQVmbIm.mjs → context-route-helpers-B9wj8Rmh.mjs} +1 -1
- package/dist/{dashboard-DNlqsknJ.mjs → dashboard-B7ZUNuyF.mjs} +4 -4
- package/dist/db/index.d.mts +2 -2
- package/dist/db/index.mjs +1 -1
- package/dist/{device-flow-DygsFPGL.mjs → device-flow-BZVGftqi.mjs} +3 -3
- package/dist/{fts-manager-CIZlScg5.mjs → fts-manager-B5l_qwrA.mjs} +1 -1
- package/dist/{hitl-requests-CGQwOEiq.mjs → hitl-requests-7NlzVeUA.mjs} +2 -2
- package/dist/{hitl-route-helpers-GSDLNPpN.mjs → hitl-route-helpers-k---_H3-.mjs} +3 -3
- package/dist/{import-CvHY6sf5.mjs → import-4YBXbDkI.mjs} +2 -2
- package/dist/{index-CwRuZ-u8.d.mts → index-CZiWCQDp.d.mts} +1 -1
- package/dist/index.d.mts +7 -7
- package/dist/index.mjs +58 -58
- package/dist/{load-xE01Jm0V.mjs → load-D9OiGr2m.mjs} +1 -1
- package/dist/{loader-tg63WSY2.mjs → loader--GOYux8M.mjs} +2 -2
- package/dist/media/index.mjs +2 -2
- package/dist/media/local-runtime.d.mts +6 -6
- package/dist/media/local-runtime.mjs +3 -3
- package/dist/{media-DUAjMfvR.mjs → media-CbKyYukG.mjs} +1 -1
- package/dist/{media-allowlist-BsXkT9RK.mjs → media-allowlist-BYxJIcTO.mjs} +1 -1
- package/dist/{menus-WpFRMXjz.mjs → menus-BZbXf-ej.mjs} +2 -2
- package/dist/{menus-DU1eZqw_.mjs → menus-C7F0sCrC.mjs} +3 -3
- package/dist/{oauth-authorization-D-1p52Je.mjs → oauth-authorization-DF-LCsIA.mjs} +3 -3
- package/dist/{oauth-clients-CzeMGyUU.mjs → oauth-clients-Du-V0fEm.mjs} +1 -1
- package/dist/plugin-utils.d.mts +6 -6
- package/dist/plugins/adapt-sandbox-entry.d.mts +6 -6
- package/dist/{plugins-C57YQi4l.mjs → plugins-DzfqRREq.mjs} +4 -4
- package/dist/{preview-D5rvDhRt.mjs → preview-C-3YTX2U.mjs} +1 -1
- package/dist/{public-url-B5HaoGzj.d.mts → public-url-B4xV4rGa.d.mts} +5 -4
- package/dist/{public-url-DLUM5OOv.mjs → public-url-B_m9IwdV.mjs} +24 -18
- package/dist/{query-DKEwzobh.mjs → query-CZ3TH_Uu.mjs} +3 -3
- package/dist/{query-BYc3oruA.mjs → query-Ds0EnMFX.mjs} +10 -10
- package/dist/{redirect-C2zXRj3c.mjs → redirect-CEACczxo.mjs} +2 -2
- package/dist/{redirects-YZo_znWG.mjs → redirects-DYj1yPxs.mjs} +4 -4
- package/dist/{registry-CTkbIDB9.mjs → registry-D7HACema.mjs} +5 -5
- package/dist/{review-requests-gGMyYYhy.mjs → review-requests-BW2NxY-l.mjs} +1 -1
- package/dist/{review-requests-C0un5kdV.mjs → review-requests-Qum4713s.mjs} +1 -1
- package/dist/{runner-D4FL9usy.d.mts → runner-09sTqtv0.d.mts} +1 -1
- package/dist/{runner-B-tbV751.mjs → runner-DzIpHGND.mjs} +292 -197
- package/dist/{runtime-DEWQpZ-4.d.mts → runtime-C4-2lSFg.d.mts} +121 -120
- package/dist/runtime.d.mts +6 -6
- package/dist/runtime.mjs +3 -3
- package/dist/schema-Bsi-VpYv.mjs +8 -0
- package/dist/{search-axGQ1KY3.mjs → search-Gdrqj582.mjs} +3 -3
- package/dist/{secrets-062Izo8i.mjs → secrets-CeGpBFV2.mjs} +2 -2
- package/dist/{sections-OLKgXL10.mjs → sections-BOjU13Y-.mjs} +2 -2
- package/dist/seed/index.d.mts +2 -2
- package/dist/seed/index.mjs +17 -17
- package/dist/{seo-Cd45Po8L.mjs → seo-CLj8lS7Q.mjs} +1 -1
- package/dist/{service-Bwad8s5h.mjs → service-jGlhrICs.mjs} +1 -1
- package/dist/{settings-yLjz_I4T.mjs → settings-CUXOxzsT.mjs} +4 -4
- package/dist/{settings-lAHjaUit.mjs → settings-DlBsT2VS.mjs} +2 -2
- package/dist/{setup-complete--PradA4R.mjs → setup-complete-BRrdPYjZ.mjs} +1 -1
- package/dist/{site-activity-D7Xyropw.mjs → site-activity-DONFrMBJ.mjs} +1 -1
- package/dist/{site-context-DaN9Z91j.mjs → site-context-C8Az_P_I.mjs} +14 -14
- package/dist/{site-url-DpGZo9Z6.mjs → site-url-DIMD68go.mjs} +1 -1
- package/dist/{taxonomies-CNOGeC-3.mjs → taxonomies-CZ-_DitR.mjs} +5 -5
- package/dist/{taxonomies-uXVEoQso.mjs → taxonomies-D9Sw4wWM.mjs} +3 -3
- package/dist/{taxonomy-CBmkmMuU.mjs → taxonomy-B169Nm6B.mjs} +2 -2
- package/dist/{tokens-CjSgb0AC.mjs → tokens-SLmgowfd.mjs} +1 -1
- package/dist/{types-DfuD0Afl.mjs → types-CSgR9nQB.mjs} +2 -2
- package/dist/{types-eu5UDgHN.d.mts → types-CuJOqHfM.d.mts} +106 -0
- package/dist/ui/server-runtime.d.mts +7 -7
- package/dist/ui/server-runtime.mjs +16 -16
- package/dist/{user-DtNmjNYt.mjs → user-DTLoZs16.mjs} +2 -2
- package/dist/{utils-wv-zvC-Y.mjs → utils-B8hBJ9Oz.mjs} +1 -1
- package/dist/{validate-7SYRbz2f.mjs → validate-DWmPO6oj.mjs} +2 -2
- package/dist/{validate-BMs11tan.d.mts → validate-DzjCdy6v.d.mts} +1 -1
- package/dist/version-C4gfn0PJ.mjs +6 -0
- package/dist/{widgets-DR8EHuRO.mjs → widgets-BpJ8EpPd.mjs} +1 -1
- package/dist/{wordpress-slugs-Dvhxh4cl.mjs → wordpress-slugs-DHNR9LpG.mjs} +1 -1
- package/dist/{zod-generator-BS9-umbk.mjs → zod-generator-K91-g665.mjs} +1 -1
- package/package.json +6 -5
- package/dist/schema-B6zyB-Xn.mjs +0 -8
- package/dist/version-xlzMSXF2.mjs +0 -6
- /package/dist/{base64-C1Q9yr0B.mjs → base64-F8-DUraK.mjs} +0 -0
- /package/dist/{challenge-store-CRSz-Xim.mjs → challenge-store-DFxX0_15.mjs} +0 -0
- /package/dist/{context-types-DQh_XKkn.mjs → context-types-r8oFvyOq.mjs} +0 -0
- /package/dist/{entity-aliases-Egjmqc7I.mjs → entity-aliases-4y93Yjuc.mjs} +0 -0
- /package/dist/{experimental-workflows-Dh4DUoD_.mjs → experimental-workflows-CSMffP6q.mjs} +0 -0
- /package/dist/{mime-8pAB8-77.mjs → mime-CbKsKDCB.mjs} +0 -0
- /package/dist/{mode-CpyEz8pe.mjs → mode-CZqCF9dZ.mjs} +0 -0
- /package/dist/{normalize-DUnoXAa9.mjs → normalize-ByemhhfW.mjs} +0 -0
- /package/dist/{options-BvJoSSJR.mjs → options-LsPjZlqD.mjs} +0 -0
- /package/dist/{patterns-r-0n824Y.mjs → patterns-DKAX6oqN.mjs} +0 -0
- /package/dist/{placeholder-BDo81Is5.mjs → placeholder-d54Qr_7n.mjs} +0 -0
- /package/dist/{request-cache-CYMbwZc6.mjs → request-cache-ho99schz.mjs} +0 -0
- /package/dist/{slugify-BzGxlOFx.mjs → slugify-BqebcqBg.mjs} +0 -0
- /package/dist/{transaction-CShMWIej.mjs → transaction-CFLhEOuH.mjs} +0 -0
- /package/dist/{types-BO8TGjS8.mjs → types-CJ8DkL0q.mjs} +0 -0
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { n as chunks, t as SQL_BATCH_SIZE } from "./chunks-
|
|
2
|
-
import { t as OptionsRepository } from "./options-
|
|
3
|
-
import { n as createPluginContext, t as PluginContextFactory } from "./context-
|
|
1
|
+
import { n as chunks, t as SQL_BATCH_SIZE } from "./chunks-CuUt7K50.mjs";
|
|
2
|
+
import { t as OptionsRepository } from "./options-LsPjZlqD.mjs";
|
|
3
|
+
import { n as createPluginContext, t as PluginContextFactory } from "./context-CQVNZaR8.mjs";
|
|
4
4
|
import { t as extractRequestMeta } from "./request-meta-DAb6xaP9.mjs";
|
|
5
5
|
import { r as setCronTasksEnabled } from "./cron-DxCAU_Sn.mjs";
|
|
6
6
|
import { sql } from "kysely";
|
|
7
|
-
import { ulid } from "ulidx";
|
|
8
7
|
import { AsyncLocalStorage } from "node:async_hooks";
|
|
8
|
+
import { ulid } from "ulidx";
|
|
9
9
|
import { z } from "astro/zod";
|
|
10
10
|
import { Worker } from "node:worker_threads";
|
|
11
11
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { n as loadBetterSqlite3, t as createDatabase } from "./connection-CiJWiWya.mjs";
|
|
2
2
|
import { runWithContext } from "./request-context.mjs";
|
|
3
3
|
import { a as verifyPreviewSignature, t as buildPreviewSignatureHeader } from "./sidecar-client-mJxwayYN.mjs";
|
|
4
|
-
import { t as generatePreviewToken } from "./tokens-
|
|
4
|
+
import { t as generatePreviewToken } from "./tokens-SLmgowfd.mjs";
|
|
5
5
|
import { createHash } from "node:crypto";
|
|
6
6
|
import { sql } from "kysely";
|
|
7
7
|
import { ulid } from "ulidx";
|
|
@@ -1,13 +1,14 @@
|
|
|
1
|
-
import { t as DinewayConfig } from "./runtime-
|
|
1
|
+
import { t as DinewayConfig } from "./runtime-C4-2lSFg.mjs";
|
|
2
2
|
|
|
3
3
|
//#region src/api/public-url.d.ts
|
|
4
4
|
/**
|
|
5
5
|
* Return the public-facing origin for the site.
|
|
6
6
|
*
|
|
7
7
|
* Resolution order:
|
|
8
|
-
* 1. `
|
|
9
|
-
* 2. `
|
|
10
|
-
* 3. `
|
|
8
|
+
* 1. `DINEWAY_SITE_URL` env var (explicit runtime override for containers)
|
|
9
|
+
* 2. `config.siteUrl` (set in astro.config.mjs, origin-normalized at startup)
|
|
10
|
+
* 3. `SITE_URL` env var (generic runtime fallback)
|
|
11
|
+
* 4. `url.origin` (internal request URL — correct when no proxy)
|
|
11
12
|
*
|
|
12
13
|
* @param url The request URL (`new URL(request.url)` or `Astro.url`)
|
|
13
14
|
* @param config The Dineway config (from `locals.dineway?.config`)
|
|
@@ -7,29 +7,33 @@
|
|
|
7
7
|
* the build. Container deployments set env vars at runtime, so we must read
|
|
8
8
|
* process.env which Vite leaves untouched.
|
|
9
9
|
*
|
|
10
|
+
* DINEWAY_SITE_URL is treated as an explicit runtime override. SITE_URL remains
|
|
11
|
+
* a generic fallback below config.siteUrl.
|
|
12
|
+
*
|
|
10
13
|
* On runtimes without `process.env`, the fallback chain
|
|
11
14
|
* continues to url.origin.
|
|
12
15
|
*
|
|
13
16
|
* Caches after first call.
|
|
14
17
|
*/
|
|
15
|
-
let
|
|
18
|
+
let _envSiteUrls = null;
|
|
16
19
|
let _envAllowedOrigins = null;
|
|
17
|
-
function
|
|
18
|
-
if (
|
|
20
|
+
function normalizeEnvSiteUrl(value) {
|
|
21
|
+
if (!value) return void 0;
|
|
19
22
|
try {
|
|
20
|
-
const
|
|
21
|
-
if (
|
|
22
|
-
|
|
23
|
-
if (parsed.protocol !== "http:" && parsed.protocol !== "https:") {
|
|
24
|
-
_envSiteUrl = "";
|
|
25
|
-
return;
|
|
26
|
-
}
|
|
27
|
-
_envSiteUrl = parsed.origin;
|
|
28
|
-
} else _envSiteUrl = "";
|
|
23
|
+
const parsed = new URL(value);
|
|
24
|
+
if (parsed.protocol !== "http:" && parsed.protocol !== "https:") return void 0;
|
|
25
|
+
return parsed.origin;
|
|
29
26
|
} catch {
|
|
30
|
-
|
|
27
|
+
return;
|
|
31
28
|
}
|
|
32
|
-
|
|
29
|
+
}
|
|
30
|
+
function getEnvSiteUrls() {
|
|
31
|
+
if (_envSiteUrls !== null) return _envSiteUrls;
|
|
32
|
+
_envSiteUrls = {
|
|
33
|
+
dineway: typeof process !== "undefined" ? normalizeEnvSiteUrl(process.env?.DINEWAY_SITE_URL) : void 0,
|
|
34
|
+
site: typeof process !== "undefined" ? normalizeEnvSiteUrl(process.env?.SITE_URL) : void 0
|
|
35
|
+
};
|
|
36
|
+
return _envSiteUrls;
|
|
33
37
|
}
|
|
34
38
|
function getEnvAllowedOrigins() {
|
|
35
39
|
if (_envAllowedOrigins !== null) return _envAllowedOrigins;
|
|
@@ -55,16 +59,18 @@ function getEnvAllowedOrigins() {
|
|
|
55
59
|
* Return the public-facing origin for the site.
|
|
56
60
|
*
|
|
57
61
|
* Resolution order:
|
|
58
|
-
* 1. `
|
|
59
|
-
* 2. `
|
|
60
|
-
* 3. `
|
|
62
|
+
* 1. `DINEWAY_SITE_URL` env var (explicit runtime override for containers)
|
|
63
|
+
* 2. `config.siteUrl` (set in astro.config.mjs, origin-normalized at startup)
|
|
64
|
+
* 3. `SITE_URL` env var (generic runtime fallback)
|
|
65
|
+
* 4. `url.origin` (internal request URL — correct when no proxy)
|
|
61
66
|
*
|
|
62
67
|
* @param url The request URL (`new URL(request.url)` or `Astro.url`)
|
|
63
68
|
* @param config The Dineway config (from `locals.dineway?.config`)
|
|
64
69
|
* @returns Origin string, e.g. `"https://mysite.example.com"`
|
|
65
70
|
*/
|
|
66
71
|
function getPublicOrigin(url, config) {
|
|
67
|
-
|
|
72
|
+
const envSiteUrls = getEnvSiteUrls();
|
|
73
|
+
return envSiteUrls.dineway || config?.siteUrl || envSiteUrls.site || url.origin;
|
|
68
74
|
}
|
|
69
75
|
|
|
70
76
|
//#endregion
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { r as
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import { r as getDb } from "./loader--GOYux8M.mjs";
|
|
2
|
+
import { r as requestCached } from "./request-cache-ho99schz.mjs";
|
|
3
|
+
import { n as SchemaRegistry } from "./registry-D7HACema.mjs";
|
|
4
4
|
|
|
5
5
|
//#region src/schema/query.ts
|
|
6
6
|
/**
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { a as __exportAll } from "./runner-
|
|
1
|
+
import { a as __exportAll } from "./runner-DzIpHGND.mjs";
|
|
2
2
|
import { n as getI18nConfig, r as isI18nEnabled, t as getFallbackChain } from "./config-CVssduLe.mjs";
|
|
3
|
-
import { i as encodeCursor } from "./types-DfuD0Afl.mjs";
|
|
4
3
|
import { getRequestContext } from "./request-context.mjs";
|
|
5
|
-
import {
|
|
6
|
-
import { a as isMissingTableError, o as takeLiveCollectionMeta, t as CURSOR_RAW_VALUES } from "./loader
|
|
4
|
+
import { i as encodeCursor } from "./types-CSgR9nQB.mjs";
|
|
5
|
+
import { a as isMissingTableError, o as takeLiveCollectionMeta, t as CURSOR_RAW_VALUES } from "./loader--GOYux8M.mjs";
|
|
6
|
+
import { r as requestCached } from "./request-cache-ho99schz.mjs";
|
|
7
7
|
|
|
8
8
|
//#region src/visual-editing/editable.ts
|
|
9
9
|
/**
|
|
@@ -457,7 +457,7 @@ async function getDinewayEntry(type, id, options) {
|
|
|
457
457
|
async function hydrateEntryBylines(type, entries) {
|
|
458
458
|
if (entries.length === 0) return;
|
|
459
459
|
try {
|
|
460
|
-
const { getBylinesForEntries } = await import("./bylines-
|
|
460
|
+
const { getBylinesForEntries } = await import("./bylines-DwokOFj6.mjs").then((n) => n.t);
|
|
461
461
|
const refs = entries.map((entry) => {
|
|
462
462
|
const data = entryData(entry);
|
|
463
463
|
const id = dataStr(data, "id");
|
|
@@ -488,7 +488,7 @@ async function hydrateEntryBylines(type, entries) {
|
|
|
488
488
|
async function hydrateEntryTerms(type, entries, locale) {
|
|
489
489
|
if (entries.length === 0) return;
|
|
490
490
|
try {
|
|
491
|
-
const { getAllTermsForEntries } = await import("./taxonomies-
|
|
491
|
+
const { getAllTermsForEntries } = await import("./taxonomies-CZ-_DitR.mjs").then((n) => n.l);
|
|
492
492
|
const ids = entries.map((entry) => dataStr(entryData(entry), "id")).filter(Boolean);
|
|
493
493
|
if (ids.length === 0) return;
|
|
494
494
|
const termsMap = await getAllTermsForEntries(type, ids, { locale });
|
|
@@ -522,9 +522,9 @@ async function hydrateEntryTerms(type, entries, locale) {
|
|
|
522
522
|
*/
|
|
523
523
|
async function getTranslations(type, id) {
|
|
524
524
|
try {
|
|
525
|
-
const db = (await import("./loader
|
|
525
|
+
const db = (await import("./loader--GOYux8M.mjs").then((n) => n.i)).getDb;
|
|
526
526
|
const dbInstance = await db();
|
|
527
|
-
const { ContentRepository } = await import("./content-
|
|
527
|
+
const { ContentRepository } = await import("./content-CBxYGWfL.mjs").then((n) => n.n);
|
|
528
528
|
const repo = new ContentRepository(dbInstance);
|
|
529
529
|
const item = await repo.findByIdOrSlug(type, id);
|
|
530
530
|
if (!item) return {
|
|
@@ -591,8 +591,8 @@ async function resolveDinewayPath(path) {
|
|
|
591
591
|
const hasDbOverride = !!getRequestContext()?.db;
|
|
592
592
|
let patterns = !hasDbOverride ? cachedUrlPatterns : null;
|
|
593
593
|
if (!patterns) {
|
|
594
|
-
const { getDb } = await import("./loader
|
|
595
|
-
const { SchemaRegistry } = await import("./registry-
|
|
594
|
+
const { getDb } = await import("./loader--GOYux8M.mjs").then((n) => n.i);
|
|
595
|
+
const { SchemaRegistry } = await import("./registry-D7HACema.mjs").then((n) => n.r);
|
|
596
596
|
patterns = (await new SchemaRegistry(await getDb()).listCollections()).filter((collection) => collection.urlPattern).map((collection) => {
|
|
597
597
|
const { regex, paramNames } = patternToRegex(collection.urlPattern);
|
|
598
598
|
return {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { a as currentTimestampValue } from "./dialect-helpers-fk43GbDb.mjs";
|
|
2
|
-
import { i as encodeCursor, r as decodeCursor } from "./types-
|
|
3
|
-
import { i as matchPattern, n as interpolateDestination, r as isPattern, t as compilePattern } from "./patterns-
|
|
2
|
+
import { i as encodeCursor, r as decodeCursor } from "./types-CSgR9nQB.mjs";
|
|
3
|
+
import { i as matchPattern, n as interpolateDestination, r as isPattern, t as compilePattern } from "./patterns-DKAX6oqN.mjs";
|
|
4
4
|
import { sql } from "kysely";
|
|
5
5
|
import { ulid } from "ulidx";
|
|
6
6
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { t as OptionsRepository } from "./options-
|
|
2
|
-
import { t as RedirectRepository } from "./redirect-
|
|
3
|
-
import { a as validateDestinationParams, i as matchPattern, n as interpolateDestination, o as validatePattern, r as isPattern, t as compilePattern } from "./patterns-
|
|
4
|
-
import { i as invalidateRedirectCache } from "./cache-
|
|
1
|
+
import { t as OptionsRepository } from "./options-LsPjZlqD.mjs";
|
|
2
|
+
import { t as RedirectRepository } from "./redirect-CEACczxo.mjs";
|
|
3
|
+
import { a as validateDestinationParams, i as matchPattern, n as interpolateDestination, o as validatePattern, r as isPattern, t as compilePattern } from "./patterns-DKAX6oqN.mjs";
|
|
4
|
+
import { i as invalidateRedirectCache } from "./cache-Bac05gBd.mjs";
|
|
5
5
|
|
|
6
6
|
//#region src/redirects/loops.ts
|
|
7
7
|
/**
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { a as __exportAll } from "./runner-
|
|
1
|
+
import { a as __exportAll } from "./runner-DzIpHGND.mjs";
|
|
2
2
|
import { t as validateIdentifier } from "./validate-VPnKoIzW.mjs";
|
|
3
3
|
import { i as currentTimestamp, l as listTablesLike, n as columnExists, u as tableExists } from "./dialect-helpers-fk43GbDb.mjs";
|
|
4
4
|
import { n as contentLocaleUpdatedIndexName, t as contentLocaleCreatedIndexName } from "./content-index-names-Bbu1FY1r.mjs";
|
|
5
|
-
import { n as chunks, t as SQL_BATCH_SIZE } from "./chunks-
|
|
6
|
-
import { t as withTransaction } from "./transaction-
|
|
7
|
-
import { a as RESERVED_COLLECTION_SLUGS, o as RESERVED_FIELD_SLUGS, r as FIELD_TYPE_TO_COLUMN } from "./types-
|
|
8
|
-
import { t as FTSManager } from "./fts-manager-
|
|
5
|
+
import { n as chunks, t as SQL_BATCH_SIZE } from "./chunks-CuUt7K50.mjs";
|
|
6
|
+
import { t as withTransaction } from "./transaction-CFLhEOuH.mjs";
|
|
7
|
+
import { a as RESERVED_COLLECTION_SLUGS, o as RESERVED_FIELD_SLUGS, r as FIELD_TYPE_TO_COLUMN } from "./types-CJ8DkL0q.mjs";
|
|
8
|
+
import { t as FTSManager } from "./fts-manager-B5l_qwrA.mjs";
|
|
9
9
|
import { sql } from "kysely";
|
|
10
10
|
import { ulid } from "ulidx";
|
|
11
11
|
|