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
1
|
import { _ as UpdateFieldInput, f as FieldValidation, g as UpdateCollectionInput, i as CollectionWithFields, o as CreateCollectionInput, s as CreateFieldInput, t as Collection, u as Field } from "./types-CwawBUTa.mjs";
|
|
2
2
|
import { f as UpdateContentInput, i as ContentItem, l as FindManyOptions, o as ContentSeoInput, r as ContentDateField, s as CreateContentInput, t as BylineSummary, u as FindManyResult } from "./types-DRIKLmJI.mjs";
|
|
3
|
-
import { t as Database } from "./types-
|
|
3
|
+
import { t as Database } from "./types-CuJOqHfM.mjs";
|
|
4
4
|
import { A as PageMetadataContribution, B as PluginDefinition, D as PageFragmentContribution, H as PluginManifest, J as RequestMeta, O as PageFragmentEvent, W as PluginStorageConfig, X as ResolvedPlugin, a as CommentAfterModerateEvent, g as EmailMessage, h as CronEvent, j as PageMetadataEvent, r as CommentAfterCreateEvent, s as CommentBeforeCreateEvent, tt as StandardPluginDefinition, w as MediaItem$1 } from "./types-DSPGWjxO.mjs";
|
|
5
5
|
import { r as AuthProviderDescriptor, t as AuthDescriptor } from "./types-Dryvv7LH.mjs";
|
|
6
6
|
import { t as DatabaseDescriptor } from "./adapters-OQCImOL7.mjs";
|
|
7
7
|
import { _ as MediaValue, m as MediaProviderDescriptor } from "./placeholder-CXfoCtCd.mjs";
|
|
8
|
-
import { S as ContentBylineInput } from "./index-
|
|
8
|
+
import { S as ContentBylineInput } from "./index-CZiWCQDp.mjs";
|
|
9
9
|
import { d as Storage } from "./types-DZpT-PnG.mjs";
|
|
10
10
|
import { i as SiteSettings, r as SiteSettingKey } from "./types-nP9vGUFq.mjs";
|
|
11
11
|
import { Kysely } from "kysely";
|
|
@@ -227,6 +227,119 @@ interface DatabaseConfig {
|
|
|
227
227
|
authToken?: string;
|
|
228
228
|
}
|
|
229
229
|
//#endregion
|
|
230
|
+
//#region src/loader.d.ts
|
|
231
|
+
/**
|
|
232
|
+
* Entry data type - generic object
|
|
233
|
+
*/
|
|
234
|
+
type EntryData = Record<string, unknown>;
|
|
235
|
+
/**
|
|
236
|
+
* Sort direction
|
|
237
|
+
*/
|
|
238
|
+
type SortDirection$1 = "asc" | "desc";
|
|
239
|
+
/**
|
|
240
|
+
* Order by specification - field name to direction
|
|
241
|
+
* @example { created_at: "desc" } - Sort by created_at descending
|
|
242
|
+
* @example { title: "asc" } - Sort by title ascending
|
|
243
|
+
*/
|
|
244
|
+
type OrderBySpec$1 = Record<string, SortDirection$1>;
|
|
245
|
+
/**
|
|
246
|
+
* Range filter for comparison operators on field values.
|
|
247
|
+
* ISO 8601 timestamps sort lexicographically in the same order as time.
|
|
248
|
+
*/
|
|
249
|
+
interface WhereRange {
|
|
250
|
+
gt?: string;
|
|
251
|
+
gte?: string;
|
|
252
|
+
lt?: string;
|
|
253
|
+
lte?: string;
|
|
254
|
+
}
|
|
255
|
+
type WhereValue = string | string[] | WhereRange;
|
|
256
|
+
/**
|
|
257
|
+
* Filter for loadCollection - type is required
|
|
258
|
+
*/
|
|
259
|
+
interface CollectionFilter$1 {
|
|
260
|
+
type: string;
|
|
261
|
+
status?: "draft" | "published" | "archived";
|
|
262
|
+
limit?: number;
|
|
263
|
+
/**
|
|
264
|
+
* Opaque cursor for keyset pagination.
|
|
265
|
+
* Pass the `nextCursor` value from a previous result to fetch the next page.
|
|
266
|
+
*/
|
|
267
|
+
cursor?: string;
|
|
268
|
+
/**
|
|
269
|
+
* Filter by field values, taxonomy terms, byline credits, or ranges.
|
|
270
|
+
*
|
|
271
|
+
* Taxonomy names are detected automatically and filtered by term.
|
|
272
|
+
* The reserved `byline` key filters by byline credit in any position,
|
|
273
|
+
* not just the primary credit. Other keys are treated as content table
|
|
274
|
+
* column filters.
|
|
275
|
+
*/
|
|
276
|
+
where?: Record<string, WhereValue>;
|
|
277
|
+
/** Case-insensitive substring search across the provided columns. */
|
|
278
|
+
q?: string;
|
|
279
|
+
searchColumns?: string[];
|
|
280
|
+
/**
|
|
281
|
+
* Order results by field(s)
|
|
282
|
+
* @default { created_at: "desc" }
|
|
283
|
+
*/
|
|
284
|
+
orderBy?: OrderBySpec$1;
|
|
285
|
+
/**
|
|
286
|
+
* Filter by locale (e.g. 'en', 'fr').
|
|
287
|
+
* When set, only returns content in this locale.
|
|
288
|
+
*/
|
|
289
|
+
locale?: string;
|
|
290
|
+
}
|
|
291
|
+
/**
|
|
292
|
+
* Filter for loadEntry - type and id are required
|
|
293
|
+
*/
|
|
294
|
+
interface EntryFilter {
|
|
295
|
+
type: string;
|
|
296
|
+
id: string;
|
|
297
|
+
/**
|
|
298
|
+
* When set, fetch content data from this revision instead of the content table.
|
|
299
|
+
* Used by preview mode to serve draft revision data.
|
|
300
|
+
*/
|
|
301
|
+
revisionId?: string;
|
|
302
|
+
/**
|
|
303
|
+
* Locale to scope slug lookup. Only affects slug resolution;
|
|
304
|
+
* IDs are globally unique and always resolve regardless of locale.
|
|
305
|
+
*/
|
|
306
|
+
locale?: string;
|
|
307
|
+
}
|
|
308
|
+
/**
|
|
309
|
+
* Get the database instance. Used by query wrapper functions and middleware.
|
|
310
|
+
*
|
|
311
|
+
* Checks the ALS request context first — if a per-request DB override is set
|
|
312
|
+
* (e.g. by preview or playground middleware), it takes precedence over the
|
|
313
|
+
* module-level cached instance. This allows preview flows to route queries
|
|
314
|
+
* to an isolated session database without modifying any calling code.
|
|
315
|
+
*
|
|
316
|
+
* Initializes the default database on first call using config from virtual module.
|
|
317
|
+
*/
|
|
318
|
+
declare function getDb(): Promise<Kysely<Database>>;
|
|
319
|
+
/**
|
|
320
|
+
* Create a Dineway Live Collections loader
|
|
321
|
+
*
|
|
322
|
+
* This loader handles ALL content types in a single Astro collection.
|
|
323
|
+
* Use `getDinewayCollection()` and `getDinewayEntry()` to query
|
|
324
|
+
* specific content types.
|
|
325
|
+
*
|
|
326
|
+
* Database is configured in astro.config.mjs via the dineway() integration.
|
|
327
|
+
*
|
|
328
|
+
* @example
|
|
329
|
+
* ```ts
|
|
330
|
+
* // src/live.config.ts
|
|
331
|
+
* import { defineLiveCollection } from "astro:content";
|
|
332
|
+
* import { dinewayLoader } from "dineway";
|
|
333
|
+
*
|
|
334
|
+
* export const collections = {
|
|
335
|
+
* dineway: defineLiveCollection({
|
|
336
|
+
* loader: dinewayLoader(),
|
|
337
|
+
* }),
|
|
338
|
+
* };
|
|
339
|
+
* ```
|
|
340
|
+
*/
|
|
341
|
+
declare function dinewayLoader(): LiveLoader<EntryData, EntryFilter, CollectionFilter$1>;
|
|
342
|
+
//#endregion
|
|
230
343
|
//#region src/database/repositories/content.d.ts
|
|
231
344
|
/**
|
|
232
345
|
* Repository for content CRUD operations
|
|
@@ -1603,119 +1716,6 @@ declare function sanitizeHref(url: string | undefined | null): string;
|
|
|
1603
1716
|
*/
|
|
1604
1717
|
declare function isSafeHref(url: string): boolean;
|
|
1605
1718
|
//#endregion
|
|
1606
|
-
//#region src/loader.d.ts
|
|
1607
|
-
/**
|
|
1608
|
-
* Entry data type - generic object
|
|
1609
|
-
*/
|
|
1610
|
-
type EntryData = Record<string, unknown>;
|
|
1611
|
-
/**
|
|
1612
|
-
* Sort direction
|
|
1613
|
-
*/
|
|
1614
|
-
type SortDirection$1 = "asc" | "desc";
|
|
1615
|
-
/**
|
|
1616
|
-
* Order by specification - field name to direction
|
|
1617
|
-
* @example { created_at: "desc" } - Sort by created_at descending
|
|
1618
|
-
* @example { title: "asc" } - Sort by title ascending
|
|
1619
|
-
*/
|
|
1620
|
-
type OrderBySpec$1 = Record<string, SortDirection$1>;
|
|
1621
|
-
/**
|
|
1622
|
-
* Range filter for comparison operators on field values.
|
|
1623
|
-
* ISO 8601 timestamps sort lexicographically in the same order as time.
|
|
1624
|
-
*/
|
|
1625
|
-
interface WhereRange {
|
|
1626
|
-
gt?: string;
|
|
1627
|
-
gte?: string;
|
|
1628
|
-
lt?: string;
|
|
1629
|
-
lte?: string;
|
|
1630
|
-
}
|
|
1631
|
-
type WhereValue = string | string[] | WhereRange;
|
|
1632
|
-
/**
|
|
1633
|
-
* Filter for loadCollection - type is required
|
|
1634
|
-
*/
|
|
1635
|
-
interface CollectionFilter$1 {
|
|
1636
|
-
type: string;
|
|
1637
|
-
status?: "draft" | "published" | "archived";
|
|
1638
|
-
limit?: number;
|
|
1639
|
-
/**
|
|
1640
|
-
* Opaque cursor for keyset pagination.
|
|
1641
|
-
* Pass the `nextCursor` value from a previous result to fetch the next page.
|
|
1642
|
-
*/
|
|
1643
|
-
cursor?: string;
|
|
1644
|
-
/**
|
|
1645
|
-
* Filter by field values, taxonomy terms, byline credits, or ranges.
|
|
1646
|
-
*
|
|
1647
|
-
* Taxonomy names are detected automatically and filtered by term.
|
|
1648
|
-
* The reserved `byline` key filters by byline credit in any position,
|
|
1649
|
-
* not just the primary credit. Other keys are treated as content table
|
|
1650
|
-
* column filters.
|
|
1651
|
-
*/
|
|
1652
|
-
where?: Record<string, WhereValue>;
|
|
1653
|
-
/** Case-insensitive substring search across the provided columns. */
|
|
1654
|
-
q?: string;
|
|
1655
|
-
searchColumns?: string[];
|
|
1656
|
-
/**
|
|
1657
|
-
* Order results by field(s)
|
|
1658
|
-
* @default { created_at: "desc" }
|
|
1659
|
-
*/
|
|
1660
|
-
orderBy?: OrderBySpec$1;
|
|
1661
|
-
/**
|
|
1662
|
-
* Filter by locale (e.g. 'en', 'fr').
|
|
1663
|
-
* When set, only returns content in this locale.
|
|
1664
|
-
*/
|
|
1665
|
-
locale?: string;
|
|
1666
|
-
}
|
|
1667
|
-
/**
|
|
1668
|
-
* Filter for loadEntry - type and id are required
|
|
1669
|
-
*/
|
|
1670
|
-
interface EntryFilter {
|
|
1671
|
-
type: string;
|
|
1672
|
-
id: string;
|
|
1673
|
-
/**
|
|
1674
|
-
* When set, fetch content data from this revision instead of the content table.
|
|
1675
|
-
* Used by preview mode to serve draft revision data.
|
|
1676
|
-
*/
|
|
1677
|
-
revisionId?: string;
|
|
1678
|
-
/**
|
|
1679
|
-
* Locale to scope slug lookup. Only affects slug resolution;
|
|
1680
|
-
* IDs are globally unique and always resolve regardless of locale.
|
|
1681
|
-
*/
|
|
1682
|
-
locale?: string;
|
|
1683
|
-
}
|
|
1684
|
-
/**
|
|
1685
|
-
* Get the database instance. Used by query wrapper functions and middleware.
|
|
1686
|
-
*
|
|
1687
|
-
* Checks the ALS request context first — if a per-request DB override is set
|
|
1688
|
-
* (e.g. by preview or playground middleware), it takes precedence over the
|
|
1689
|
-
* module-level cached instance. This allows preview flows to route queries
|
|
1690
|
-
* to an isolated session database without modifying any calling code.
|
|
1691
|
-
*
|
|
1692
|
-
* Initializes the default database on first call using config from virtual module.
|
|
1693
|
-
*/
|
|
1694
|
-
declare function getDb(): Promise<Kysely<Database>>;
|
|
1695
|
-
/**
|
|
1696
|
-
* Create a Dineway Live Collections loader
|
|
1697
|
-
*
|
|
1698
|
-
* This loader handles ALL content types in a single Astro collection.
|
|
1699
|
-
* Use `getDinewayCollection()` and `getDinewayEntry()` to query
|
|
1700
|
-
* specific content types.
|
|
1701
|
-
*
|
|
1702
|
-
* Database is configured in astro.config.mjs via the dineway() integration.
|
|
1703
|
-
*
|
|
1704
|
-
* @example
|
|
1705
|
-
* ```ts
|
|
1706
|
-
* // src/live.config.ts
|
|
1707
|
-
* import { defineLiveCollection } from "astro:content";
|
|
1708
|
-
* import { dinewayLoader } from "dineway";
|
|
1709
|
-
*
|
|
1710
|
-
* export const collections = {
|
|
1711
|
-
* dineway: defineLiveCollection({
|
|
1712
|
-
* loader: dinewayLoader(),
|
|
1713
|
-
* }),
|
|
1714
|
-
* };
|
|
1715
|
-
* ```
|
|
1716
|
-
*/
|
|
1717
|
-
declare function dinewayLoader(): LiveLoader<EntryData, EntryFilter, CollectionFilter$1>;
|
|
1718
|
-
//#endregion
|
|
1719
1719
|
//#region src/visual-editing/editable.d.ts
|
|
1720
1720
|
/**
|
|
1721
1721
|
* Visual editing annotation system
|
|
@@ -2389,14 +2389,14 @@ declare const pluginManifestSchema: z$1.ZodObject<{
|
|
|
2389
2389
|
number: "number";
|
|
2390
2390
|
boolean: "boolean";
|
|
2391
2391
|
file: "file";
|
|
2392
|
+
image: "image";
|
|
2393
|
+
datetime: "datetime";
|
|
2392
2394
|
slug: "slug";
|
|
2393
2395
|
text: "text";
|
|
2394
2396
|
integer: "integer";
|
|
2395
|
-
datetime: "datetime";
|
|
2396
2397
|
select: "select";
|
|
2397
2398
|
multiSelect: "multiSelect";
|
|
2398
2399
|
portableText: "portableText";
|
|
2399
|
-
image: "image";
|
|
2400
2400
|
reference: "reference";
|
|
2401
2401
|
json: "json";
|
|
2402
2402
|
repeater: "repeater";
|
|
@@ -4497,8 +4497,9 @@ interface DinewayConfig {
|
|
|
4497
4497
|
* while the browser uses `https://`, which breaks WebAuthn, CSRF, OAuth, and redirect URLs.
|
|
4498
4498
|
*
|
|
4499
4499
|
* Set to the full origin users type in the address bar (no path), e.g.
|
|
4500
|
-
* `https://mysite.example.com`.
|
|
4501
|
-
*
|
|
4500
|
+
* `https://mysite.example.com`. `DINEWAY_SITE_URL` is an explicit runtime
|
|
4501
|
+
* override for container deployments; otherwise this falls back to `SITE_URL`,
|
|
4502
|
+
* then to the request URL's origin.
|
|
4502
4503
|
*
|
|
4503
4504
|
* Replaces `passkeyPublicOrigin` (which only fixed passkeys).
|
|
4504
4505
|
*/
|
|
@@ -4614,4 +4615,4 @@ declare global {
|
|
|
4614
4615
|
var __dinewayConfig: DinewayConfig | undefined;
|
|
4615
4616
|
}
|
|
4616
4617
|
//#endregion
|
|
4617
|
-
export { CreateMenuItemInput as $,
|
|
4618
|
+
export { CreateMenuItemInput as $, PortableTextMarkDef as $n, handleContentUnpublish as $r, createFilePreviewMiddleware as $t, UpdateWidgetInput as A, ParseResult as Ai, ResolvePathResult as An, RevisionListResponse as Ar, GeneratePreviewTokenOptions as At, getTerm as B, FieldDescriptor as Bi, FieldAnnotation as Bn, handleContentCreate as Br, SandboxNotAvailableError as Bt, getWidgetArea as C, WhereRange as Ci, CollectionFilter as Cn, MediaListResponse as Cr, renderPreviewLoadingPage as Ct, CreateWidgetInput as D, DatabaseConfig as Di, EditFieldMeta as Dn, handleMediaGet as Dr, GetPreviewUrlOptions as Dt, CreateWidgetAreaInput as E, getDb as Ei, DinewayCollections as En, handleMediaDelete as Er, isPreviewRequest as Et, getEntriesByTerm as F, apiSuccess as Fi, getEditMeta as Fn, generateManifest as Fr, parseContentId as Ft, TaxonomyTermRow as G, computeContentHash as Gn, handleContentGetIncludingTrashed as Gr, EmailPipeline as Gt, CreateTermInput as H, ManifestResponse as Hi, createNoop as Hn, handleContentDiscardDraft as Hr, PluginManager as Ht, getEntryTerms as I, handleError as Ii, getTranslations as In, handleContentAuthors as Ir, verifyPreviewToken as It, getBylineBySlug as J, prosemirrorToPortableText as Jn, handleContentPermanentDelete as Jr, createHookPipeline as Jt, UpdateTermInput as K, hashString as Kn, handleContentList as Kr, HookPipeline as Kt, getTaxonomyDef as L, ApiContext as Li, resolveDinewayPath as Ln, handleContentCompare as Lr, NodeSandboxRunner as Lt, WidgetArea as M, parseBody as Mi, TranslationsResult as Mn, handleRevisionGet as Mr, VerifyPreviewTokenOptions as Mt, WidgetComponentDef as N, parseQuery as Ni, getDinewayCollection as Nn, handleRevisionList as Nr, VerifyPreviewTokenResult as Nt, PropDef as O, DinewayDatabaseError as Oi, EntryResult as On, handleMediaList as Or, buildPreviewUrl as Ot, WidgetType as P, apiError as Pi, getDinewayEntry as Pn, handleRevisionRestore as Pr, generatePreviewToken as Pt, CreateMenuInput as Q, PortableTextLinkMark as Qn, handleContentTranslations as Qr, FilePreviewMiddlewareConfig as Qt, getTaxonomyDefs as R, ContentListResponse as Ri, CMSAnnotation as Rn, handleContentCountScheduled as Rr, createNodeSandboxRunner as Rt, Suggestion as S, EntryFilter as Si, CacheHint as Sn, SchemaRegistry as Sr, Snapshot as St, getWidgetComponents as T, dinewayLoader as Ti, ContentEntry as Tn, handleMediaCreate as Tr, getPreviewToken as Tt, TaxonomyDef as U, isSafeHref as Un, handleContentDuplicate as Ur, createPluginManager as Ut, getTermsForEntries as V, ListResponse as Vi, createEditable as Vn, handleContentDelete as Vr, createNoopSandboxRunner as Vt, TaxonomyTerm as W, sanitizeHref as Wn, handleContentGet as Wr, PluginRouteError as Wt, getMenu as X, PortableTextHtmlBlock as Xn, handleContentRestore as Xr, pluginManifestSchema as Xt, getEntriesByByline as Y, PortableTextCodeBlock as Yn, handleContentPublish as Yr, ValidatedPluginManifest as Yt, getMenus as Z, PortableTextImageBlock as Zn, handleContentSchedule as Zr, definePlugin as Zt, SearchOptions as _, MediaItem as _i, getFallbackChain as _n, Section as _r, AppliedSnapshotMeta as _t, S3StorageConfig as a, FieldDefinition as ai, SessionDatabaseInfo as an, ProseMirrorNode as ar, UpdateMenuItemInput as at, SearchStats as b, CollectionFilter$1 as bi, AfterCallback as bn, getCollectionInfo as br, dropSessionDatabaseTables as bt, extractSearchableFields as c, ImageValue as ci, SessionOpenOrCreateOptions as cn, SandboxOptions as cr, getCommentCount as ct, search as d, CreateRelationInput as di, buildPreviewSignatureHeader as dn, SandboxedPlugin as dr, getPluginSettings as dt, handleContentUnschedule as ei, FileSessionDatabaseFactory as en, PortableTextSpan as er, Menu as et, searchCollection as f, Relation as fi, defaultPreviewSidecarClient as fn, SerializedRequest as fr, getSiteSetting as ft, SearchConfig as g, CreateMediaInput as gi, I18nConfig as gn, GetSectionsOptions as gr, renderPreviewToolbar as gt, CollectionSearchOptions as h, PublicComment as hi, verifyPreviewSignature as hn, CreateSectionInput as hr, PreviewToolbarConfig as ht, LocalStorageConfig as i, image as ii, SessionDatabaseHandle as in, ProseMirrorMark as ir, UpdateMenuInput as it, Widget as j, isParseError as ji, TranslationSummary as jn, RevisionResponse as jr, PreviewTokenPayload as jt, ReorderWidgetsInput as k, OptionsRepository as ki, InferCollectionData as kn, handleMediaUpdate as kr, getPreviewUrl as kt, getSearchStats as l, PortableTextBlock$1 as li, PreviewSidecarClient as ln, SandboxRunner as lr, getComments as lt, FTSManager as m, UpdateRelationInput as mi, signPreviewUrl as mn, getSections as mr, setSiteSettings as mt, PluginDescriptor as n, portableText as ni, SessionCleanupResult as nn, PortableTextUnknownBlock as nr, MenuItemType as nt, StorageDescriptor as o, FieldUIHints as oi, SessionDatabaseLimitError as on, SandboxEmailMessage as or, GetCommentsOptions as ot, searchWithDb as p, RelationRepository as pi, parsePreviewSignatureHeader as pn, getSection as pr, getSiteSettings as pt, getByline as q, portableTextToProsemirror as qn, handleContentListTrashed as qr, HookResult as qt, getStoredConfig as r, reference as ri, SessionDatabaseFactory as rn, ProseMirrorDocument as rr, ReorderMenuItemsInput as rt, extractPlainText as s, FileValue as si, SessionOpenOptions as sn, SandboxEmailSendCallback as sr, GetCommentsResult as st, DinewayConfig as t, handleContentUpdate as ti, FileSessionDatabaseFactoryOptions as tn, PortableTextTextBlock as tr, MenuItem as tt, getSuggestions as u, ContentReference as ui, PreviewSidecarSignature as un, SandboxRunnerFactory as ur, getPluginSetting as ut, SearchResponse as v, MediaRepository as vi, getI18nConfig as vn, SectionSource as vr, ApplySnapshotToDatabaseOptions as vt, getWidgetAreas as w, WhereValue as wi, CollectionResult as wn, MediaResponse as wr, isBlockedInPreview as wt, SuggestOptions as x, EntryData as xi, after as xn, SchemaError as xr, getAppliedSnapshotMeta as xt, SearchResult as y, ContentRepository as yi, isI18nEnabled as yn, UpdateSectionInput as yr, applySnapshotToDatabase as yt, getTaxonomyTerms as z, ContentResponse as zi, EditProxy as zn, handleContentCountTrashed as zr, NoopSandboxRunner as zt };
|
package/dist/runtime.d.mts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import "./types-
|
|
1
|
+
import { Ei as getDb, Si as EntryFilter, Ti as dinewayLoader, bi as CollectionFilter, xi as EntryData } from "./runtime-C4-2lSFg.mjs";
|
|
2
|
+
import "./types-CuJOqHfM.mjs";
|
|
3
3
|
import "./types-DSPGWjxO.mjs";
|
|
4
4
|
import "./types-Dryvv7LH.mjs";
|
|
5
|
-
import "./runner-
|
|
6
|
-
import "./index-
|
|
7
|
-
import "./byline-fields-
|
|
5
|
+
import "./runner-09sTqtv0.mjs";
|
|
6
|
+
import "./index-CZiWCQDp.mjs";
|
|
7
|
+
import "./byline-fields-uJlygdzM.mjs";
|
|
8
8
|
import "./types-GaCtZ1k9.mjs";
|
|
9
|
-
import "./validate-
|
|
9
|
+
import "./validate-DzjCdy6v.mjs";
|
|
10
10
|
import { t as getMediaProvider } from "./provider-loader-9it4vd6L.mjs";
|
|
11
11
|
export { type CollectionFilter, type EntryData, type EntryFilter, dinewayLoader, getDb, getMediaProvider };
|
package/dist/runtime.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "./dialect-helpers-fk43GbDb.mjs";
|
|
2
|
-
import "./base64-
|
|
3
|
-
import "./types-
|
|
4
|
-
import { n as dinewayLoader, r as getDb } from "./loader
|
|
2
|
+
import "./base64-F8-DUraK.mjs";
|
|
3
|
+
import "./types-CSgR9nQB.mjs";
|
|
4
|
+
import { n as dinewayLoader, r as getDb } from "./loader--GOYux8M.mjs";
|
|
5
5
|
import { t as getMediaProvider } from "./provider-loader-DzUxejk7.mjs";
|
|
6
6
|
|
|
7
7
|
export { dinewayLoader, getDb, getMediaProvider };
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { a as __exportAll } from "./runner-DzIpHGND.mjs";
|
|
2
|
+
import { n as SchemaRegistry } from "./registry-D7HACema.mjs";
|
|
3
|
+
|
|
4
|
+
//#region src/schema/index.ts
|
|
5
|
+
var schema_exports = /* @__PURE__ */ __exportAll({ SchemaRegistry: () => SchemaRegistry });
|
|
6
|
+
|
|
7
|
+
//#endregion
|
|
8
|
+
export { schema_exports as t };
|
|
@@ -1,7 +1,7 @@
|
|
|
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
|
-
import {
|
|
4
|
-
import {
|
|
3
|
+
import { r as getDb } from "./loader--GOYux8M.mjs";
|
|
4
|
+
import { t as FTSManager } from "./fts-manager-B5l_qwrA.mjs";
|
|
5
5
|
import { sql } from "kysely";
|
|
6
6
|
import { toPlainText } from "@portabletext/toolkit";
|
|
7
7
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { i as encodeBase64url, n as decodeBase64url } from "./base64-
|
|
2
|
-
import { t as OptionsRepository } from "./options-
|
|
1
|
+
import { i as encodeBase64url, n as decodeBase64url } from "./base64-F8-DUraK.mjs";
|
|
2
|
+
import { t as OptionsRepository } from "./options-LsPjZlqD.mjs";
|
|
3
3
|
|
|
4
4
|
//#region src/config/secrets.ts
|
|
5
5
|
const ENCRYPTION_KEY_PREFIX = "dineway_enc_v1_";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { i as encodeCursor, r as decodeCursor } from "./types-
|
|
2
|
-
import { r as getDb } from "./loader
|
|
1
|
+
import { i as encodeCursor, r as decodeCursor } from "./types-CSgR9nQB.mjs";
|
|
2
|
+
import { r as getDb } from "./loader--GOYux8M.mjs";
|
|
3
3
|
import { ulid } from "ulidx";
|
|
4
4
|
|
|
5
5
|
//#region src/sections/index.ts
|
package/dist/seed/index.d.mts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import "../types-
|
|
2
|
-
import { _ as SeedTaxonomyTerm, a as applySeed, b as ValidationResult, c as SeedCollection, d as SeedFile, f as SeedMenu, g as SeedTaxonomy, h as SeedSection, i as defaultSeed, l as SeedContentEntry, m as SeedRedirect, n as loadSeed, o as SeedApplyOptions, p as SeedMenuItem, r as loadUserSeed, s as SeedApplyResult, t as validateSeed, u as SeedField, v as SeedWidget, y as SeedWidgetArea } from "../validate-
|
|
1
|
+
import "../types-CuJOqHfM.mjs";
|
|
2
|
+
import { _ as SeedTaxonomyTerm, a as applySeed, b as ValidationResult, c as SeedCollection, d as SeedFile, f as SeedMenu, g as SeedTaxonomy, h as SeedSection, i as defaultSeed, l as SeedContentEntry, m as SeedRedirect, n as loadSeed, o as SeedApplyOptions, p as SeedMenuItem, r as loadUserSeed, s as SeedApplyResult, t as validateSeed, u as SeedField, v as SeedWidget, y as SeedWidgetArea } from "../validate-DzjCdy6v.mjs";
|
|
3
3
|
export { type SeedApplyOptions, type SeedApplyResult, type SeedCollection, type SeedContentEntry, type SeedField, type SeedFile, type SeedMenu, type SeedMenuItem, type SeedRedirect, type SeedSection, type SeedTaxonomy, type SeedTaxonomyTerm, type SeedWidget, type SeedWidgetArea, type ValidationResult, applySeed, defaultSeed, loadSeed, loadUserSeed, validateSeed };
|
package/dist/seed/index.mjs
CHANGED
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import "../dialect-helpers-fk43GbDb.mjs";
|
|
2
|
-
import "../
|
|
3
|
-
import "../
|
|
4
|
-
import "../
|
|
5
|
-
import "../
|
|
6
|
-
import "../
|
|
7
|
-
import "../
|
|
8
|
-
import "../
|
|
9
|
-
import "../
|
|
10
|
-
import "../
|
|
11
|
-
import "../byline-
|
|
12
|
-
import "../
|
|
13
|
-
import "../
|
|
14
|
-
import "../
|
|
15
|
-
import "../settings-
|
|
2
|
+
import "../base64-F8-DUraK.mjs";
|
|
3
|
+
import "../types-CSgR9nQB.mjs";
|
|
4
|
+
import "../loader--GOYux8M.mjs";
|
|
5
|
+
import "../content-CBxYGWfL.mjs";
|
|
6
|
+
import "../media-CbKyYukG.mjs";
|
|
7
|
+
import "../taxonomy-B169Nm6B.mjs";
|
|
8
|
+
import "../options-LsPjZlqD.mjs";
|
|
9
|
+
import "../redirect-CEACczxo.mjs";
|
|
10
|
+
import "../request-cache-ho99schz.mjs";
|
|
11
|
+
import "../byline-registry-4v6tXMNX.mjs";
|
|
12
|
+
import "../byline-BVC1lV6G.mjs";
|
|
13
|
+
import "../fts-manager-B5l_qwrA.mjs";
|
|
14
|
+
import "../registry-D7HACema.mjs";
|
|
15
|
+
import "../settings-CUXOxzsT.mjs";
|
|
16
16
|
import "../ssrf-DiKqWd3N.mjs";
|
|
17
|
-
import { t as validateSeed } from "../validate-
|
|
18
|
-
import { t as applySeed } from "../apply-
|
|
17
|
+
import { t as validateSeed } from "../validate-DWmPO6oj.mjs";
|
|
18
|
+
import { t as applySeed } from "../apply-D_RlTYtC.mjs";
|
|
19
19
|
import { t as defaultSeed } from "../default-B6iaLvP7.mjs";
|
|
20
|
-
import { n as loadUserSeed, t as loadSeed } from "../load-
|
|
20
|
+
import { n as loadUserSeed, t as loadSeed } from "../load-D9OiGr2m.mjs";
|
|
21
21
|
|
|
22
22
|
export { applySeed, defaultSeed, loadSeed, loadUserSeed, validateSeed };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as validateIdentifier } from "./validate-VPnKoIzW.mjs";
|
|
2
|
-
import { t as CommentRepository } from "./comment-
|
|
2
|
+
import { t as CommentRepository } from "./comment-Beue8-15.mjs";
|
|
3
3
|
import { t as escapeHtml } from "./escape-BDgouFFY.mjs";
|
|
4
4
|
|
|
5
5
|
//#region src/comments/notifications.ts
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as
|
|
3
|
-
import {
|
|
4
|
-
import { r as
|
|
1
|
+
import { r as getDb } from "./loader--GOYux8M.mjs";
|
|
2
|
+
import { t as MediaRepository } from "./media-CbKyYukG.mjs";
|
|
3
|
+
import { t as OptionsRepository } from "./options-LsPjZlqD.mjs";
|
|
4
|
+
import { n as peekRequestCache, r as requestCached } from "./request-cache-ho99schz.mjs";
|
|
5
5
|
|
|
6
6
|
//#region src/media/url.ts
|
|
7
7
|
const INTERNAL_MEDIA_PREFIX = "/_dineway/api/media/file/";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as __exportAll } from "./runner-
|
|
2
|
-
import { a as getSiteSettingsWithDb, o as setSiteSettings } from "./settings-
|
|
1
|
+
import { a as __exportAll } from "./runner-DzIpHGND.mjs";
|
|
2
|
+
import { a as getSiteSettingsWithDb, o as setSiteSettings } from "./settings-CUXOxzsT.mjs";
|
|
3
3
|
|
|
4
4
|
//#region src/api/handlers/settings.ts
|
|
5
5
|
var settings_exports = /* @__PURE__ */ __exportAll({
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { t as validateIdentifier } from "./validate-VPnKoIzW.mjs";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import { t as SiteActivityRepository } from "./site-activity-
|
|
5
|
-
import { t as ReviewRequestRepository } from "./review-requests-
|
|
6
|
-
import { n as normalizeEntityAlias, t as EntityAliasRepository } from "./entity-aliases-
|
|
7
|
-
import { r as isPattern } from "./patterns-
|
|
8
|
-
import { a as ContextRepository, i as parseSiteBriefingScope, l as handlePluginList } from "./briefing-
|
|
9
|
-
import { t as FTSManager } from "./fts-manager-
|
|
10
|
-
import { n as SchemaRegistry } from "./registry-
|
|
11
|
-
import { a as getSiteSettingsWithDb } from "./settings-
|
|
12
|
-
import { p as normalizeUrl } from "./utils-
|
|
13
|
-
import { t as sanitizeWordPressImportSlug } from "./wordpress-slugs-
|
|
14
|
-
import { s as searchCollection } from "./search-
|
|
15
|
-
import { n as assertExperimentalSiteContextWorkflowsEnabled } from "./experimental-workflows-
|
|
2
|
+
import { i as encodeCursor, r as decodeCursor } from "./types-CSgR9nQB.mjs";
|
|
3
|
+
import { t as ContentRepository } from "./content-CBxYGWfL.mjs";
|
|
4
|
+
import { t as SiteActivityRepository } from "./site-activity-DONFrMBJ.mjs";
|
|
5
|
+
import { t as ReviewRequestRepository } from "./review-requests-BW2NxY-l.mjs";
|
|
6
|
+
import { n as normalizeEntityAlias, t as EntityAliasRepository } from "./entity-aliases-4y93Yjuc.mjs";
|
|
7
|
+
import { r as isPattern } from "./patterns-DKAX6oqN.mjs";
|
|
8
|
+
import { a as ContextRepository, i as parseSiteBriefingScope, l as handlePluginList } from "./briefing-CkTee1ex.mjs";
|
|
9
|
+
import { t as FTSManager } from "./fts-manager-B5l_qwrA.mjs";
|
|
10
|
+
import { n as SchemaRegistry } from "./registry-D7HACema.mjs";
|
|
11
|
+
import { a as getSiteSettingsWithDb } from "./settings-CUXOxzsT.mjs";
|
|
12
|
+
import { p as normalizeUrl } from "./utils-B8hBJ9Oz.mjs";
|
|
13
|
+
import { t as sanitizeWordPressImportSlug } from "./wordpress-slugs-DHNR9LpG.mjs";
|
|
14
|
+
import { s as searchCollection } from "./search-Gdrqj582.mjs";
|
|
15
|
+
import { n as assertExperimentalSiteContextWorkflowsEnabled } from "./experimental-workflows-CSMffP6q.mjs";
|
|
16
16
|
import { sql } from "kysely";
|
|
17
17
|
import { ulid } from "ulidx";
|
|
18
18
|
import { Role } from "@dineway-ai/auth";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { a as __exportAll } from "./runner-
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
1
|
+
import { a as __exportAll } from "./runner-DzIpHGND.mjs";
|
|
2
|
+
import { a as isMissingTableError, r as getDb } from "./loader--GOYux8M.mjs";
|
|
3
|
+
import { n as chunks, t as SQL_BATCH_SIZE } from "./chunks-CuUt7K50.mjs";
|
|
4
|
+
import { i as setRequestCacheEntry, n as peekRequestCache, r as requestCached } from "./request-cache-ho99schz.mjs";
|
|
5
5
|
import { i as resolveLocaleChain, r as resolveLocale } from "./resolve-DTuDyYKs.mjs";
|
|
6
6
|
|
|
7
7
|
//#region src/taxonomies/index.ts
|
|
@@ -285,7 +285,7 @@ function primeEntryTermsCache(collection, entryId, byTaxonomy, applicableTaxonom
|
|
|
285
285
|
* Get entries by term.
|
|
286
286
|
*/
|
|
287
287
|
async function getEntriesByTerm(collection, taxonomyName, termSlug, options = {}) {
|
|
288
|
-
const { getDinewayCollection } = await import("./query-
|
|
288
|
+
const { getDinewayCollection } = await import("./query-Ds0EnMFX.mjs").then((n) => n.o);
|
|
289
289
|
const queryOptions = { where: { [taxonomyName]: termSlug } };
|
|
290
290
|
if (options.locale !== void 0) queryOptions.locale = options.locale;
|
|
291
291
|
const { entries } = await getDinewayCollection(collection, queryOptions);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { a as __exportAll } from "./runner-
|
|
2
|
-
import { t as TaxonomyRepository } from "./taxonomy-
|
|
3
|
-
import { c as invalidateTermCache } from "./taxonomies-
|
|
1
|
+
import { a as __exportAll } from "./runner-DzIpHGND.mjs";
|
|
2
|
+
import { t as TaxonomyRepository } from "./taxonomy-B169Nm6B.mjs";
|
|
3
|
+
import { c as invalidateTermCache } from "./taxonomies-CZ-_DitR.mjs";
|
|
4
4
|
import { ulid } from "ulidx";
|
|
5
5
|
|
|
6
6
|
//#region src/api/handlers/taxonomies.ts
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as __exportAll } from "./runner-
|
|
1
|
+
import { a as __exportAll } from "./runner-DzIpHGND.mjs";
|
|
2
2
|
import { ulid } from "ulidx";
|
|
3
3
|
|
|
4
4
|
//#region src/database/repositories/taxonomy.ts
|
|
@@ -191,7 +191,7 @@ var TaxonomyRepository = class {
|
|
|
191
191
|
*/
|
|
192
192
|
async countEntriesForTerms(translationGroups) {
|
|
193
193
|
if (translationGroups.length === 0) return /* @__PURE__ */ new Map();
|
|
194
|
-
const { chunks, SQL_BATCH_SIZE } = await import("./chunks-
|
|
194
|
+
const { chunks, SQL_BATCH_SIZE } = await import("./chunks-CuUt7K50.mjs").then((n) => n.r);
|
|
195
195
|
const counts = /* @__PURE__ */ new Map();
|
|
196
196
|
for (const chunk of chunks(translationGroups, SQL_BATCH_SIZE)) {
|
|
197
197
|
const rows = await this.db.selectFrom("content_taxonomies").select(["taxonomy_id", (eb) => eb.fn.count("entry_id").as("count")]).where("taxonomy_id", "in", chunk).groupBy("taxonomy_id").execute();
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as __exportAll } from "./runner-
|
|
2
|
-
import { r as encodeBase64, t as decodeBase64 } from "./base64-
|
|
1
|
+
import { a as __exportAll } from "./runner-DzIpHGND.mjs";
|
|
2
|
+
import { r as encodeBase64, t as decodeBase64 } from "./base64-F8-DUraK.mjs";
|
|
3
3
|
|
|
4
4
|
//#region src/database/repositories/types.ts
|
|
5
5
|
var types_exports = /* @__PURE__ */ __exportAll({
|