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,13 +1,13 @@
|
|
|
1
|
-
import { Ai as ParseResult, Fi as apiSuccess, Ii as handleError, Mi as parseBody, Ni as parseQuery, Pi as apiError, ji as isParseError, ki as OptionsRepository } from "../runtime-
|
|
2
|
-
import { t as Database } from "../types-
|
|
1
|
+
import { Ai as ParseResult, Fi as apiSuccess, Ii as handleError, Mi as parseBody, Ni as parseQuery, Pi as apiError, ji as isParseError, ki as OptionsRepository } from "../runtime-C4-2lSFg.mjs";
|
|
2
|
+
import { t as Database } from "../types-CuJOqHfM.mjs";
|
|
3
3
|
import { at as StorageCollectionConfig, it as StorageCollection } from "../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-
|
|
10
|
-
import { t as getPublicOrigin } from "../public-url-
|
|
9
|
+
import "../validate-DzjCdy6v.mjs";
|
|
10
|
+
import { t as getPublicOrigin } from "../public-url-B4xV4rGa.mjs";
|
|
11
11
|
import { Kysely } from "kysely";
|
|
12
12
|
|
|
13
13
|
//#region src/api/auth-storage.d.ts
|
package/dist/api/route-utils.mjs
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import "../dialect-helpers-fk43GbDb.mjs";
|
|
2
|
-
import "../
|
|
3
|
-
import "../
|
|
4
|
-
import "../
|
|
5
|
-
import "../media-
|
|
6
|
-
import "../user-
|
|
7
|
-
import { t as OptionsRepository } from "../options-
|
|
8
|
-
import { r as createStorageAccess } from "../context-
|
|
9
|
-
import "../seo-
|
|
2
|
+
import "../base64-F8-DUraK.mjs";
|
|
3
|
+
import "../types-CSgR9nQB.mjs";
|
|
4
|
+
import "../content-CBxYGWfL.mjs";
|
|
5
|
+
import "../media-CbKyYukG.mjs";
|
|
6
|
+
import "../user-DTLoZs16.mjs";
|
|
7
|
+
import { t as OptionsRepository } from "../options-LsPjZlqD.mjs";
|
|
8
|
+
import { r as createStorageAccess } from "../context-CQVNZaR8.mjs";
|
|
9
|
+
import "../seo-CLj8lS7Q.mjs";
|
|
10
10
|
import { n as apiSuccess, r as handleError, t as apiError } from "../error-DCSuUAZW.mjs";
|
|
11
11
|
import { i as parseQuery, n as parseBody, t as isParseError } from "../parse-CneSgl7-.mjs";
|
|
12
12
|
import "../ssrf-DiKqWd3N.mjs";
|
|
13
13
|
import "../cron-DxCAU_Sn.mjs";
|
|
14
|
-
import { n as getPublicOrigin } from "../public-url-
|
|
15
|
-
import { t as finalizeSetup } from "../setup-complete
|
|
14
|
+
import { n as getPublicOrigin } from "../public-url-B_m9IwdV.mjs";
|
|
15
|
+
import { t as finalizeSetup } from "../setup-complete-BRrdPYjZ.mjs";
|
|
16
16
|
|
|
17
17
|
//#region src/api/auth-storage.ts
|
|
18
18
|
/**
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { $ as settingsUpdateBody, $n as contentTranslationsResponseSchema, $t as commentBulkBody, A as widgetAreaSchema, An as mediaItemSchema, At as inviteCompleteBody, B as usersListQuery, Bn as contentCompareResponseSchema, Bt as signupRequestBody, C as redirectSchema, Cn as updateCollectionBody, Ct as menuSchema, D as createWidgetBody, Dn as mediaConfirmBody, Dt as updateMenuBody, E as createWidgetAreaBody, En as formatFileSize, Et as reorderMenuItemsBody, F as allowedDomainUpdateBody, Fn as mediaUpdateBody, Ft as passkeyRegisterOptionsBody, G as wpPrepareBody, Gn as contentPreviewUrlBody, Gt as siteBriefingQuery, H as wpMediaImportBody, Hn as contentItemSchema, Ht as reviewRequestResolveBody, I as userDetailSchema, In as mediaUploadUrlBody, It as passkeyRegisterVerifyBody, J as searchQuery, Jn as contentScheduleBody, Jt as contextEntryListQuery, K as wpRewriteUrlsBody, Kn as contentPublishBody, Kt as contextEntryCreateBody, L as userListResponseSchema, Ln as mediaUploadUrlResponseSchema, Lt as passkeyRenameBody, M as widgetAreaWithWidgetsSchema, Mn as mediaListResponseSchema, Mt as inviteRegisterOptionsBody, N as widgetSchema, Nn as mediaProviderListQuery, Nt as magicLinkSendBody, O as reorderWidgetsBody, On as mediaConfirmResponseSchema, Ot as updateMenuItemBody, P as allowedDomainCreateBody, Pn as mediaResponseSchema, Pt as passkeyOptionsBody, Q as searchSuggestQuery, Qn as contentTranslationSchema, Qt as adminCommentListResponseSchema, R as userSchema, Rn as contentAuthorSchema, Rt as passkeyVerifyBody, S as redirectListResponseSchema, Sn as schemaExportQuery, St as menuListItemSchema, T as updateRedirectBody, Tn as DEFAULT_MAX_UPLOAD_SIZE, Tt as menuWithItemsSchema, U as wpPluginAnalyzeBody, Un as contentListQuery, Ut as hitlRequestListQuery, V as importProbeBody, Vn as contentCreateBody, Vt as reviewRequestListQuery, W as wpPluginExecuteBody, Wn as contentListResponseSchema, Wt as hitlRequestResolveBody, X as searchResponseSchema, Xn as contentSeoSchema, Xt as contextEntryStaleQuery, Y as searchRebuildBody, Yn as contentSeoInput, Yt as contextEntryReviewBody, Z as searchResultSchema, Zn as contentTermsBody, Zt as contextEntrySupersedeBody, _ as notFoundListResponseSchema, _n as fieldResponseSchema, _t as updateTermBody, a as bylineFieldUpdateBody, an as createCommentBody, ar as apiErrorSchema, at as updateSectionBody, b as notFoundSummaryResponseSchema, bn as orphanedTableListResponseSchema, bt as menuItemSchema, c as bylineCreditSchema, cn as collectionGetQuery, cr as deleteResponseSchema, ct as taxonomyDefSchema, d as bylineUpdateBody, dn as collectionSchema, dr as localeFilterQuery, dt as termGetResponseSchema, en as commentBulkResponseSchema, er as contentTrashQuery, et as siteSettingsSchema, f as bylinesListQuery, fn as collectionWithFieldsResponseSchema, fr as offsetPaginationQuery, ft as termListResponseSchema, g as notFoundListQuery, gn as fieldReorderBody, gt as termWithCountSchema, h as notFoundEntrySchema, hn as fieldListResponseSchema, hr as successEnvelope, ht as termTranslationsSchema, i as bylineFieldReorderBody, in as commentStatusBody, ir as VALID_ROLE_LEVELS, it as sectionsListQuery, j as widgetAreaWithWidgetsAndCountSchema, jn as mediaListQuery, jt as inviteCreateBody, k as updateWidgetBody, kn as mediaExistingResponseSchema, kt as authMeActionBody, l as bylineListResponseSchema, ln as collectionListResponseSchema, lr as httpUrl, lt as taxonomyDefTranslationsSchema, m as createRedirectBody, mn as createFieldBody, mr as slugPattern, mt as termSchema, n as bylineFieldDefinitionSchema, nn as commentListQuery, nr as trashedContentItemSchema, nt as sectionListResponseSchema, o as bylineFieldUsageResponseSchema, on as publicCommentListResponseSchema, or as countResponseSchema, ot as createTaxonomyDefBody, p as contentBylineInputSchema, pn as createCollectionBody, pr as roleLevel, pt as termResponseSchema, q as searchEnableBody, qn as contentResponseSchema, qt as contextEntryDiffQuery, r as bylineFieldListResponseSchema, rn as commentSchema, rr as trashedContentListResponseSchema, rt as sectionSchema, s as bylineCreateBody, sn as publicCommentSchema, sr as cursorPaginationQuery, st as createTermBody, t as bylineFieldCreateBody, tn as commentCountsResponseSchema, tr as contentUpdateBody, tt as createSectionBody, u as bylineSummarySchema, un as collectionResponseSchema, ur as localeCode, ut as taxonomyListResponseSchema, v as notFoundPruneBody, vn as fieldSchema, vt as createMenuBody, w as redirectsListQuery, wn as updateFieldBody, wt as menuTranslationsSchema, x as notFoundSummarySchema, xn as orphanedTableSchema, xt as menuItemTypeEnum, y as notFoundSummaryQuery, yn as orphanRegisterBody, yt as createMenuItemBody, z as userUpdateBody, zn as contentAuthorsResponseSchema, zt as signupCompleteBody } from "../../byline-fields-
|
|
1
|
+
import { $ as settingsUpdateBody, $n as contentTranslationsResponseSchema, $t as commentBulkBody, A as widgetAreaSchema, An as mediaItemSchema, At as inviteCompleteBody, B as usersListQuery, Bn as contentCompareResponseSchema, Bt as signupRequestBody, C as redirectSchema, Cn as updateCollectionBody, Ct as menuSchema, D as createWidgetBody, Dn as mediaConfirmBody, Dt as updateMenuBody, E as createWidgetAreaBody, En as formatFileSize, Et as reorderMenuItemsBody, F as allowedDomainUpdateBody, Fn as mediaUpdateBody, Ft as passkeyRegisterOptionsBody, G as wpPrepareBody, Gn as contentPreviewUrlBody, Gt as siteBriefingQuery, H as wpMediaImportBody, Hn as contentItemSchema, Ht as reviewRequestResolveBody, I as userDetailSchema, In as mediaUploadUrlBody, It as passkeyRegisterVerifyBody, J as searchQuery, Jn as contentScheduleBody, Jt as contextEntryListQuery, K as wpRewriteUrlsBody, Kn as contentPublishBody, Kt as contextEntryCreateBody, L as userListResponseSchema, Ln as mediaUploadUrlResponseSchema, Lt as passkeyRenameBody, M as widgetAreaWithWidgetsSchema, Mn as mediaListResponseSchema, Mt as inviteRegisterOptionsBody, N as widgetSchema, Nn as mediaProviderListQuery, Nt as magicLinkSendBody, O as reorderWidgetsBody, On as mediaConfirmResponseSchema, Ot as updateMenuItemBody, P as allowedDomainCreateBody, Pn as mediaResponseSchema, Pt as passkeyOptionsBody, Q as searchSuggestQuery, Qn as contentTranslationSchema, Qt as adminCommentListResponseSchema, R as userSchema, Rn as contentAuthorSchema, Rt as passkeyVerifyBody, S as redirectListResponseSchema, Sn as schemaExportQuery, St as menuListItemSchema, T as updateRedirectBody, Tn as DEFAULT_MAX_UPLOAD_SIZE, Tt as menuWithItemsSchema, U as wpPluginAnalyzeBody, Un as contentListQuery, Ut as hitlRequestListQuery, V as importProbeBody, Vn as contentCreateBody, Vt as reviewRequestListQuery, W as wpPluginExecuteBody, Wn as contentListResponseSchema, Wt as hitlRequestResolveBody, X as searchResponseSchema, Xn as contentSeoSchema, Xt as contextEntryStaleQuery, Y as searchRebuildBody, Yn as contentSeoInput, Yt as contextEntryReviewBody, Z as searchResultSchema, Zn as contentTermsBody, Zt as contextEntrySupersedeBody, _ as notFoundListResponseSchema, _n as fieldResponseSchema, _t as updateTermBody, a as bylineFieldUpdateBody, an as createCommentBody, ar as apiErrorSchema, at as updateSectionBody, b as notFoundSummaryResponseSchema, bn as orphanedTableListResponseSchema, bt as menuItemSchema, c as bylineCreditSchema, cn as collectionGetQuery, cr as deleteResponseSchema, ct as taxonomyDefSchema, d as bylineUpdateBody, dn as collectionSchema, dr as localeFilterQuery, dt as termGetResponseSchema, en as commentBulkResponseSchema, er as contentTrashQuery, et as siteSettingsSchema, f as bylinesListQuery, fn as collectionWithFieldsResponseSchema, fr as offsetPaginationQuery, ft as termListResponseSchema, g as notFoundListQuery, gn as fieldReorderBody, gt as termWithCountSchema, h as notFoundEntrySchema, hn as fieldListResponseSchema, hr as successEnvelope, ht as termTranslationsSchema, i as bylineFieldReorderBody, in as commentStatusBody, ir as VALID_ROLE_LEVELS, it as sectionsListQuery, j as widgetAreaWithWidgetsAndCountSchema, jn as mediaListQuery, jt as inviteCreateBody, k as updateWidgetBody, kn as mediaExistingResponseSchema, kt as authMeActionBody, l as bylineListResponseSchema, ln as collectionListResponseSchema, lr as httpUrl, lt as taxonomyDefTranslationsSchema, m as createRedirectBody, mn as createFieldBody, mr as slugPattern, mt as termSchema, n as bylineFieldDefinitionSchema, nn as commentListQuery, nr as trashedContentItemSchema, nt as sectionListResponseSchema, o as bylineFieldUsageResponseSchema, on as publicCommentListResponseSchema, or as countResponseSchema, ot as createTaxonomyDefBody, p as contentBylineInputSchema, pn as createCollectionBody, pr as roleLevel, pt as termResponseSchema, q as searchEnableBody, qn as contentResponseSchema, qt as contextEntryDiffQuery, r as bylineFieldListResponseSchema, rn as commentSchema, rr as trashedContentListResponseSchema, rt as sectionSchema, s as bylineCreateBody, sn as publicCommentSchema, sr as cursorPaginationQuery, st as createTermBody, t as bylineFieldCreateBody, tn as commentCountsResponseSchema, tr as contentUpdateBody, tt as createSectionBody, u as bylineSummarySchema, un as collectionResponseSchema, ur as localeCode, ut as taxonomyListResponseSchema, v as notFoundPruneBody, vn as fieldSchema, vt as createMenuBody, w as redirectsListQuery, wn as updateFieldBody, wt as menuTranslationsSchema, x as notFoundSummarySchema, xn as orphanedTableSchema, xt as menuItemTypeEnum, y as notFoundSummaryQuery, yn as orphanRegisterBody, yt as createMenuItemBody, z as userUpdateBody, zn as contentAuthorsResponseSchema, zt as signupCompleteBody } from "../../byline-fields-uJlygdzM.mjs";
|
|
2
2
|
import { atprotoLoginBody, setupAdminBody, setupAdminVerifyBody, setupAtprotoAdminBody, setupBody } from "./setup.mjs";
|
|
3
3
|
export { DEFAULT_MAX_UPLOAD_SIZE, VALID_ROLE_LEVELS, adminCommentListResponseSchema, allowedDomainCreateBody, allowedDomainUpdateBody, apiErrorSchema, atprotoLoginBody, authMeActionBody, bylineCreateBody, bylineCreditSchema, bylineFieldCreateBody, bylineFieldDefinitionSchema, bylineFieldListResponseSchema, bylineFieldReorderBody, bylineFieldUpdateBody, bylineFieldUsageResponseSchema, bylineListResponseSchema, bylineSummarySchema, bylineUpdateBody, bylinesListQuery, collectionGetQuery, collectionListResponseSchema, collectionResponseSchema, collectionSchema, collectionWithFieldsResponseSchema, commentBulkBody, commentBulkResponseSchema, commentCountsResponseSchema, commentListQuery, commentSchema, commentStatusBody, contentAuthorSchema, contentAuthorsResponseSchema, contentBylineInputSchema, contentCompareResponseSchema, contentCreateBody, contentItemSchema, contentListQuery, contentListResponseSchema, contentPreviewUrlBody, contentPublishBody, contentResponseSchema, contentScheduleBody, contentSeoInput, contentSeoSchema, contentTermsBody, contentTranslationSchema, contentTranslationsResponseSchema, contentTrashQuery, contentUpdateBody, contextEntryCreateBody, contextEntryDiffQuery, contextEntryListQuery, contextEntryReviewBody, contextEntryStaleQuery, contextEntrySupersedeBody, countResponseSchema, createCollectionBody, createCommentBody, createFieldBody, createMenuBody, createMenuItemBody, createRedirectBody, createSectionBody, createTaxonomyDefBody, createTermBody, createWidgetAreaBody, createWidgetBody, cursorPaginationQuery, deleteResponseSchema, fieldListResponseSchema, fieldReorderBody, fieldResponseSchema, fieldSchema, formatFileSize, hitlRequestListQuery, hitlRequestResolveBody, httpUrl, importProbeBody, inviteCompleteBody, inviteCreateBody, inviteRegisterOptionsBody, localeCode, localeFilterQuery, magicLinkSendBody, mediaConfirmBody, mediaConfirmResponseSchema, mediaExistingResponseSchema, mediaItemSchema, mediaListQuery, mediaListResponseSchema, mediaProviderListQuery, mediaResponseSchema, mediaUpdateBody, mediaUploadUrlBody, mediaUploadUrlResponseSchema, menuItemSchema, menuItemTypeEnum, menuListItemSchema, menuSchema, menuTranslationsSchema, menuWithItemsSchema, notFoundEntrySchema, notFoundListQuery, notFoundListResponseSchema, notFoundPruneBody, notFoundSummaryQuery, notFoundSummaryResponseSchema, notFoundSummarySchema, offsetPaginationQuery, orphanRegisterBody, orphanedTableListResponseSchema, orphanedTableSchema, passkeyOptionsBody, passkeyRegisterOptionsBody, passkeyRegisterVerifyBody, passkeyRenameBody, passkeyVerifyBody, publicCommentListResponseSchema, publicCommentSchema, redirectListResponseSchema, redirectSchema, redirectsListQuery, reorderMenuItemsBody, reorderWidgetsBody, reviewRequestListQuery, reviewRequestResolveBody, roleLevel, schemaExportQuery, searchEnableBody, searchQuery, searchRebuildBody, searchResponseSchema, searchResultSchema, searchSuggestQuery, sectionListResponseSchema, sectionSchema, sectionsListQuery, settingsUpdateBody, setupAdminBody, setupAdminVerifyBody, setupAtprotoAdminBody, setupBody, signupCompleteBody, signupRequestBody, siteBriefingQuery, siteSettingsSchema, slugPattern, successEnvelope, taxonomyDefSchema, taxonomyDefTranslationsSchema, taxonomyListResponseSchema, termGetResponseSchema, termListResponseSchema, termResponseSchema, termSchema, termTranslationsSchema, termWithCountSchema, trashedContentItemSchema, trashedContentListResponseSchema, updateCollectionBody, updateFieldBody, updateMenuBody, updateMenuItemBody, updateRedirectBody, updateSectionBody, updateTermBody, updateWidgetBody, userDetailSchema, userListResponseSchema, userSchema, userUpdateBody, usersListQuery, widgetAreaSchema, widgetAreaWithWidgetsAndCountSchema, widgetAreaWithWidgetsSchema, widgetSchema, wpMediaImportBody, wpPluginAnalyzeBody, wpPluginExecuteBody, wpPrepareBody, wpRewriteUrlsBody };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import "../../context-types-
|
|
1
|
+
import "../../context-types-r8oFvyOq.mjs";
|
|
2
2
|
import { $ as createMenuBody, $t as contentCreateBody, A as searchRebuildBody, An as localeFilterQuery, At as fieldSchema, B as updateSectionBody, Bt as mediaConfirmResponseSchema, C as userDetailSchema, Cn as VALID_ROLE_LEVELS, Ct as collectionSchema, D as usersListQuery, Dn as deleteResponseSchema, Dt as fieldListResponseSchema, E as userUpdateBody, En as cursorPaginationQuery, Et as createFieldBody, F as siteSettingsSchema, Ft as updateCollectionBody, G as taxonomyListResponseSchema, Gt as mediaProviderListQuery, H as createTermBody, Ht as mediaItemSchema, I as createSectionBody, It as updateFieldBody, J as termResponseSchema, Jt as mediaUploadUrlBody, K as termGetResponseSchema, Kt as mediaResponseSchema, L as sectionListResponseSchema, Lt as DEFAULT_MAX_UPLOAD_SIZE, M as searchResultSchema, Mn as roleLevel, Mt as orphanedTableListResponseSchema, N as searchSuggestQuery, Nn as slugPattern, Nt as orphanedTableSchema, O as searchEnableBody, On as httpUrl, Ot as fieldReorderBody, P as settingsUpdateBody, Pn as successEnvelope, Pt as schemaExportQuery, Q as updateTermBody, Qt as contentCompareResponseSchema, R as sectionSchema, Rt as formatFileSize, S as allowedDomainUpdateBody, Sn as contentBylineInputSchema, St as collectionResponseSchema, T as userSchema, Tn as countResponseSchema, Tt as createCollectionBody, U as taxonomyDefSchema, Ut as mediaListQuery, V as createTaxonomyDefBody, Vt as mediaExistingResponseSchema, W as taxonomyDefTranslationsSchema, Wt as mediaListResponseSchema, X as termTranslationsSchema, Xt as contentAuthorSchema, Y as termSchema, Yt as mediaUploadUrlResponseSchema, Z as termWithCountSchema, Zt as contentAuthorsResponseSchema, _ as widgetAreaSchema, _n as bylineCreditSchema, _t as createCommentBody, a as notFoundPruneBody, an as contentResponseSchema, at as menuTranslationsSchema, b as widgetSchema, bn as bylineUpdateBody, bt as collectionGetQuery, c as notFoundSummarySchema, cn as contentSeoSchema, ct as updateMenuBody, d as redirectsListQuery, dn as contentTranslationsResponseSchema, dt as commentBulkBody, en as contentItemSchema, et as createMenuItemBody, f as updateRedirectBody, fn as contentTrashQuery, ft as commentBulkResponseSchema, g as updateWidgetBody, gn as bylineCreateBody, gt as commentStatusBody, h as reorderWidgetsBody, hn as trashedContentListResponseSchema, ht as commentSchema, i as notFoundListResponseSchema, in as contentPublishBody, it as menuSchema, j as searchResponseSchema, jn as offsetPaginationQuery, jt as orphanRegisterBody, k as searchQuery, kn as localeCode, kt as fieldResponseSchema, l as redirectListResponseSchema, ln as contentTermsBody, lt as updateMenuItemBody, m as createWidgetBody, mn as trashedContentItemSchema, mt as commentListQuery, n as notFoundEntrySchema, nn as contentListResponseSchema, nt as menuItemTypeEnum, o as notFoundSummaryQuery, on as contentScheduleBody, ot as menuWithItemsSchema, p as createWidgetAreaBody, pn as contentUpdateBody, pt as commentCountsResponseSchema, q as termListResponseSchema, qt as mediaUpdateBody, r as notFoundListQuery, rn as contentPreviewUrlBody, rt as menuListItemSchema, s as notFoundSummaryResponseSchema, sn as contentSeoInput, st as reorderMenuItemsBody, t as createRedirectBody, tn as contentListQuery, tt as menuItemSchema, u as redirectSchema, un as contentTranslationSchema, ut as adminCommentListResponseSchema, v as widgetAreaWithWidgetsAndCountSchema, vn as bylineListResponseSchema, vt as publicCommentListResponseSchema, w as userListResponseSchema, wn as apiErrorSchema, wt as collectionWithFieldsResponseSchema, x as allowedDomainCreateBody, xn as bylinesListQuery, xt as collectionListResponseSchema, y as widgetAreaWithWidgetsSchema, yn as bylineSummarySchema, yt as publicCommentSchema, z as sectionsListQuery, zt as mediaConfirmBody } from "../../redirects-ocRJmQHP.mjs";
|
|
3
|
-
import { A as contextEntryCreateBody, C as signupCompleteBody, D as hitlRequestListQuery, E as reviewRequestResolveBody, F as contextEntrySupersedeBody, M as contextEntryListQuery, N as contextEntryReviewBody, O as hitlRequestResolveBody, P as contextEntryStaleQuery, S as passkeyVerifyBody, T as reviewRequestListQuery, _ as magicLinkSendBody, a as bylineFieldUpdateBody, b as passkeyRegisterVerifyBody, c as wpMediaImportBody, d as wpPrepareBody, f as wpRewriteUrlsBody, g as inviteRegisterOptionsBody, h as inviteCreateBody, i as bylineFieldReorderBody, j as contextEntryDiffQuery, k as siteBriefingQuery, l as wpPluginAnalyzeBody, m as inviteCompleteBody, n as bylineFieldDefinitionSchema, o as bylineFieldUsageResponseSchema, p as authMeActionBody, r as bylineFieldListResponseSchema, s as importProbeBody, t as bylineFieldCreateBody, u as wpPluginExecuteBody, v as passkeyOptionsBody, w as signupRequestBody, x as passkeyRenameBody, y as passkeyRegisterOptionsBody } from "../../byline-fields-
|
|
3
|
+
import { A as contextEntryCreateBody, C as signupCompleteBody, D as hitlRequestListQuery, E as reviewRequestResolveBody, F as contextEntrySupersedeBody, M as contextEntryListQuery, N as contextEntryReviewBody, O as hitlRequestResolveBody, P as contextEntryStaleQuery, S as passkeyVerifyBody, T as reviewRequestListQuery, _ as magicLinkSendBody, a as bylineFieldUpdateBody, b as passkeyRegisterVerifyBody, c as wpMediaImportBody, d as wpPrepareBody, f as wpRewriteUrlsBody, g as inviteRegisterOptionsBody, h as inviteCreateBody, i as bylineFieldReorderBody, j as contextEntryDiffQuery, k as siteBriefingQuery, l as wpPluginAnalyzeBody, m as inviteCompleteBody, n as bylineFieldDefinitionSchema, o as bylineFieldUsageResponseSchema, p as authMeActionBody, r as bylineFieldListResponseSchema, s as importProbeBody, t as bylineFieldCreateBody, u as wpPluginExecuteBody, v as passkeyOptionsBody, w as signupRequestBody, x as passkeyRenameBody, y as passkeyRegisterOptionsBody } from "../../byline-fields-cNrLJVRs.mjs";
|
|
4
4
|
import { atprotoLoginBody, setupAdminBody, setupAdminVerifyBody, setupAtprotoAdminBody, setupBody } from "./setup.mjs";
|
|
5
5
|
|
|
6
6
|
export { DEFAULT_MAX_UPLOAD_SIZE, VALID_ROLE_LEVELS, adminCommentListResponseSchema, allowedDomainCreateBody, allowedDomainUpdateBody, apiErrorSchema, atprotoLoginBody, authMeActionBody, bylineCreateBody, bylineCreditSchema, bylineFieldCreateBody, bylineFieldDefinitionSchema, bylineFieldListResponseSchema, bylineFieldReorderBody, bylineFieldUpdateBody, bylineFieldUsageResponseSchema, bylineListResponseSchema, bylineSummarySchema, bylineUpdateBody, bylinesListQuery, collectionGetQuery, collectionListResponseSchema, collectionResponseSchema, collectionSchema, collectionWithFieldsResponseSchema, commentBulkBody, commentBulkResponseSchema, commentCountsResponseSchema, commentListQuery, commentSchema, commentStatusBody, contentAuthorSchema, contentAuthorsResponseSchema, contentBylineInputSchema, contentCompareResponseSchema, contentCreateBody, contentItemSchema, contentListQuery, contentListResponseSchema, contentPreviewUrlBody, contentPublishBody, contentResponseSchema, contentScheduleBody, contentSeoInput, contentSeoSchema, contentTermsBody, contentTranslationSchema, contentTranslationsResponseSchema, contentTrashQuery, contentUpdateBody, contextEntryCreateBody, contextEntryDiffQuery, contextEntryListQuery, contextEntryReviewBody, contextEntryStaleQuery, contextEntrySupersedeBody, countResponseSchema, createCollectionBody, createCommentBody, createFieldBody, createMenuBody, createMenuItemBody, createRedirectBody, createSectionBody, createTaxonomyDefBody, createTermBody, createWidgetAreaBody, createWidgetBody, cursorPaginationQuery, deleteResponseSchema, fieldListResponseSchema, fieldReorderBody, fieldResponseSchema, fieldSchema, formatFileSize, hitlRequestListQuery, hitlRequestResolveBody, httpUrl, importProbeBody, inviteCompleteBody, inviteCreateBody, inviteRegisterOptionsBody, localeCode, localeFilterQuery, magicLinkSendBody, mediaConfirmBody, mediaConfirmResponseSchema, mediaExistingResponseSchema, mediaItemSchema, mediaListQuery, mediaListResponseSchema, mediaProviderListQuery, mediaResponseSchema, mediaUpdateBody, mediaUploadUrlBody, mediaUploadUrlResponseSchema, menuItemSchema, menuItemTypeEnum, menuListItemSchema, menuSchema, menuTranslationsSchema, menuWithItemsSchema, notFoundEntrySchema, notFoundListQuery, notFoundListResponseSchema, notFoundPruneBody, notFoundSummaryQuery, notFoundSummaryResponseSchema, notFoundSummarySchema, offsetPaginationQuery, orphanRegisterBody, orphanedTableListResponseSchema, orphanedTableSchema, passkeyOptionsBody, passkeyRegisterOptionsBody, passkeyRegisterVerifyBody, passkeyRenameBody, passkeyVerifyBody, publicCommentListResponseSchema, publicCommentSchema, redirectListResponseSchema, redirectSchema, redirectsListQuery, reorderMenuItemsBody, reorderWidgetsBody, reviewRequestListQuery, reviewRequestResolveBody, roleLevel, schemaExportQuery, searchEnableBody, searchQuery, searchRebuildBody, searchResponseSchema, searchResultSchema, searchSuggestQuery, sectionListResponseSchema, sectionSchema, sectionsListQuery, settingsUpdateBody, setupAdminBody, setupAdminVerifyBody, setupAtprotoAdminBody, setupBody, signupCompleteBody, signupRequestBody, siteBriefingQuery, siteSettingsSchema, slugPattern, successEnvelope, taxonomyDefSchema, taxonomyDefTranslationsSchema, taxonomyListResponseSchema, termGetResponseSchema, termListResponseSchema, termResponseSchema, termSchema, termTranslationsSchema, termWithCountSchema, trashedContentItemSchema, trashedContentListResponseSchema, updateCollectionBody, updateFieldBody, updateMenuBody, updateMenuItemBody, updateRedirectBody, updateSectionBody, updateTermBody, updateWidgetBody, userDetailSchema, userListResponseSchema, userSchema, userUpdateBody, usersListQuery, widgetAreaSchema, widgetAreaWithWidgetsAndCountSchema, widgetAreaWithWidgetsSchema, widgetSchema, wpMediaImportBody, wpPluginAnalyzeBody, wpPluginExecuteBody, wpPrepareBody, wpRewriteUrlsBody };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import { r as validatePluginIdentifier, t as validateIdentifier } from "./validate-VPnKoIzW.mjs";
|
|
2
2
|
import { r as isI18nEnabled } from "./config-CVssduLe.mjs";
|
|
3
|
-
import { r as
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import { t as MediaRepository } from "./media-
|
|
7
|
-
import { n as chunks, t as SQL_BATCH_SIZE } from "./chunks-
|
|
8
|
-
import { t as UserRepository } from "./user-
|
|
9
|
-
import { t as CommentRepository } from "./comment-
|
|
10
|
-
import { t as withTransaction } from "./transaction-
|
|
11
|
-
import { t as RedirectRepository } from "./redirect-
|
|
12
|
-
import { r as requestCached } from "./request-cache-
|
|
13
|
-
import { t as BylineRepository } from "./byline-
|
|
14
|
-
import { t as SeoRepository } from "./seo-
|
|
15
|
-
import { i as invalidateRedirectCache } from "./cache-
|
|
16
|
-
import { r as parseAllowedMimeTypes, t as matchesMimeAllowlist } from "./mime-
|
|
17
|
-
import { u as PluginStateRepository } from "./briefing-
|
|
18
|
-
import { n as SchemaRegistry, t as SchemaError } from "./registry-
|
|
3
|
+
import { r as encodeBase64, t as decodeBase64 } from "./base64-F8-DUraK.mjs";
|
|
4
|
+
import { n as ScheduledNotDueError, t as DinewayValidationError } from "./types-CSgR9nQB.mjs";
|
|
5
|
+
import { r as RevisionRepository, t as ContentRepository } from "./content-CBxYGWfL.mjs";
|
|
6
|
+
import { t as MediaRepository } from "./media-CbKyYukG.mjs";
|
|
7
|
+
import { n as chunks, t as SQL_BATCH_SIZE } from "./chunks-CuUt7K50.mjs";
|
|
8
|
+
import { t as UserRepository } from "./user-DTLoZs16.mjs";
|
|
9
|
+
import { t as CommentRepository } from "./comment-Beue8-15.mjs";
|
|
10
|
+
import { t as withTransaction } from "./transaction-CFLhEOuH.mjs";
|
|
11
|
+
import { t as RedirectRepository } from "./redirect-CEACczxo.mjs";
|
|
12
|
+
import { r as requestCached } from "./request-cache-ho99schz.mjs";
|
|
13
|
+
import { t as BylineRepository } from "./byline-BVC1lV6G.mjs";
|
|
14
|
+
import { t as SeoRepository } from "./seo-CLj8lS7Q.mjs";
|
|
15
|
+
import { i as invalidateRedirectCache } from "./cache-Bac05gBd.mjs";
|
|
16
|
+
import { r as parseAllowedMimeTypes, t as matchesMimeAllowlist } from "./mime-CbKsKDCB.mjs";
|
|
17
|
+
import { u as PluginStateRepository } from "./briefing-CkTee1ex.mjs";
|
|
18
|
+
import { n as SchemaRegistry, t as SchemaError } from "./registry-D7HACema.mjs";
|
|
19
19
|
import { n as hashString } from "./hash-BPmX6P8I.mjs";
|
|
20
|
-
import { n as VERSION, t as COMMIT } from "./version-
|
|
20
|
+
import { n as VERSION, t as COMMIT } from "./version-C4gfn0PJ.mjs";
|
|
21
21
|
import { i as pluginManifestSchema, r as normalizeManifestRoute } from "./manifest-schema-qh2P7RDX.mjs";
|
|
22
22
|
import { t as DinewayStorageError } from "./types-Cg276-3z.mjs";
|
|
23
23
|
import { sql } from "kysely";
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { a as __exportAll } from "./runner-
|
|
1
|
+
import { a as __exportAll } from "./runner-DzIpHGND.mjs";
|
|
2
2
|
import { n as getI18nConfig } from "./config-CVssduLe.mjs";
|
|
3
|
-
import { r as RevisionRepository, t as ContentRepository } from "./content-
|
|
4
|
-
import { t as MediaRepository } from "./media-
|
|
5
|
-
import { t as TaxonomyRepository } from "./taxonomy-
|
|
6
|
-
import { t as withTransaction } from "./transaction-
|
|
7
|
-
import { t as RedirectRepository } from "./redirect-
|
|
8
|
-
import { t as BylineRepository } from "./byline-
|
|
9
|
-
import { t as FTSManager } from "./fts-manager-
|
|
10
|
-
import { n as SchemaRegistry } from "./registry-
|
|
11
|
-
import { o as setSiteSettings } from "./settings-
|
|
3
|
+
import { r as RevisionRepository, t as ContentRepository } from "./content-CBxYGWfL.mjs";
|
|
4
|
+
import { t as MediaRepository } from "./media-CbKyYukG.mjs";
|
|
5
|
+
import { t as TaxonomyRepository } from "./taxonomy-B169Nm6B.mjs";
|
|
6
|
+
import { t as withTransaction } from "./transaction-CFLhEOuH.mjs";
|
|
7
|
+
import { t as RedirectRepository } from "./redirect-CEACczxo.mjs";
|
|
8
|
+
import { t as BylineRepository } from "./byline-BVC1lV6G.mjs";
|
|
9
|
+
import { t as FTSManager } from "./fts-manager-B5l_qwrA.mjs";
|
|
10
|
+
import { n as SchemaRegistry } from "./registry-D7HACema.mjs";
|
|
11
|
+
import { o as setSiteSettings } from "./settings-CUXOxzsT.mjs";
|
|
12
12
|
import { a as validateExternalUrl, r as ssrfSafeFetch } from "./ssrf-DiKqWd3N.mjs";
|
|
13
|
-
import { t as validateSeed } from "./validate-
|
|
13
|
+
import { t as validateSeed } from "./validate-DWmPO6oj.mjs";
|
|
14
14
|
import { ulid } from "ulidx";
|
|
15
15
|
import { imageSize } from "image-size";
|
|
16
16
|
import mime from "mime/lite";
|
|
@@ -519,9 +519,9 @@ async function applySeed(db, seed, options = {}) {
|
|
|
519
519
|
}
|
|
520
520
|
}
|
|
521
521
|
}
|
|
522
|
-
const { invalidateBylineCache } = await import("./bylines-
|
|
523
|
-
const { invalidateUrlPatternCache } = await import("./query-
|
|
524
|
-
const { invalidateRedirectCache } = await import("./cache-
|
|
522
|
+
const { invalidateBylineCache } = await import("./bylines-DwokOFj6.mjs").then((n) => n.t);
|
|
523
|
+
const { invalidateUrlPatternCache } = await import("./query-Ds0EnMFX.mjs").then((n) => n.o);
|
|
524
|
+
const { invalidateRedirectCache } = await import("./cache-Bac05gBd.mjs").then((n) => n.t);
|
|
525
525
|
invalidateBylineCache();
|
|
526
526
|
invalidateUrlPatternCache();
|
|
527
527
|
invalidateRedirectCache();
|
|
@@ -605,7 +605,7 @@ async function applyContentTaxonomies(db, collectionSlug, contentId, entry, isUp
|
|
|
605
605
|
if (isUpdate) await db.deleteFrom("content_taxonomies").where("collection", "=", collectionSlug).where("entry_id", "=", contentId).execute();
|
|
606
606
|
if (!entry.taxonomies) {
|
|
607
607
|
if (isUpdate) {
|
|
608
|
-
const { invalidateTermCache } = await import("./taxonomies-
|
|
608
|
+
const { invalidateTermCache } = await import("./taxonomies-CZ-_DitR.mjs").then((n) => n.l);
|
|
609
609
|
invalidateTermCache();
|
|
610
610
|
}
|
|
611
611
|
return;
|
|
@@ -617,7 +617,7 @@ async function applyContentTaxonomies(db, collectionSlug, contentId, entry, isUp
|
|
|
617
617
|
if (term) await termRepo.attachToEntry(collectionSlug, contentId, term.id);
|
|
618
618
|
}
|
|
619
619
|
}
|
|
620
|
-
const { invalidateTermCache } = await import("./taxonomies-
|
|
620
|
+
const { invalidateTermCache } = await import("./taxonomies-CZ-_DitR.mjs").then((n) => n.l);
|
|
621
621
|
invalidateTermCache();
|
|
622
622
|
}
|
|
623
623
|
/**
|
package/dist/astro/index.d.mts
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { i as ContentItem } from "../types-DRIKLmJI.mjs";
|
|
2
|
-
import { a as S3StorageConfig, i as LocalStorageConfig, o as StorageDescriptor, r as getStoredConfig, t as DinewayConfig
|
|
3
|
-
import "../types-
|
|
2
|
+
import { _i as MediaItem, a as S3StorageConfig, i as LocalStorageConfig, o as StorageDescriptor, r as getStoredConfig, t as DinewayConfig } from "../runtime-C4-2lSFg.mjs";
|
|
3
|
+
import "../types-CuJOqHfM.mjs";
|
|
4
4
|
import { X as ResolvedPlugin } from "../types-DSPGWjxO.mjs";
|
|
5
5
|
import "../types-Dryvv7LH.mjs";
|
|
6
|
-
import "../runner-
|
|
7
|
-
import "../index-
|
|
8
|
-
import "../byline-fields-
|
|
6
|
+
import "../runner-09sTqtv0.mjs";
|
|
7
|
+
import "../index-CZiWCQDp.mjs";
|
|
8
|
+
import "../byline-fields-uJlygdzM.mjs";
|
|
9
9
|
import "../types-GaCtZ1k9.mjs";
|
|
10
|
-
import "../validate-
|
|
10
|
+
import "../validate-DzjCdy6v.mjs";
|
|
11
11
|
import { DinewayHandlers, DinewayManifest, ManifestCollection } from "./types.mjs";
|
|
12
12
|
import { AstroIntegration } from "astro";
|
|
13
13
|
|
package/dist/astro/index.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { t as INTERNAL_MEDIA_PREFIX } from "../normalize-
|
|
2
|
-
import { n as VERSION, t as COMMIT } from "../version-
|
|
1
|
+
import { t as INTERNAL_MEDIA_PREFIX } from "../normalize-ByemhhfW.mjs";
|
|
2
|
+
import { n as VERSION, t as COMMIT } from "../version-C4gfn0PJ.mjs";
|
|
3
3
|
import { t as defaultSeed } from "../default-B6iaLvP7.mjs";
|
|
4
|
-
import { n as validateAllowedOrigins, r as validateOriginShape } from "../allowed-origins-
|
|
4
|
+
import { n as validateAllowedOrigins, r as validateOriginShape } from "../allowed-origins-CyGnbgBd.mjs";
|
|
5
5
|
import { createRequire } from "node:module";
|
|
6
6
|
import { existsSync, readFileSync } from "node:fs";
|
|
7
7
|
import { dirname, isAbsolute, relative, resolve } from "node:path";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import "../../runtime-
|
|
2
|
-
import "../../types-
|
|
1
|
+
import "../../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 { DinewayHandlers } from "../types.mjs";
|
|
11
11
|
import { Kysely } from "kysely";
|
|
12
12
|
import { User } from "@dineway-ai/auth";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as apiError } from "../../error-DCSuUAZW.mjs";
|
|
2
|
-
import { n as getPublicOrigin } from "../../public-url-
|
|
3
|
-
import { t as getAuthMode } from "../../mode-
|
|
2
|
+
import { n as getPublicOrigin } from "../../public-url-B_m9IwdV.mjs";
|
|
3
|
+
import { t as getAuthMode } from "../../mode-CZqCF9dZ.mjs";
|
|
4
4
|
import { i as hasScope } from "../../api-tokens-CYUoFGo7.mjs";
|
|
5
5
|
import { a as resolveOAuthToken, i as resolveApiToken } from "../../api-tokens-DtvdtIkm.mjs";
|
|
6
6
|
import { ulid } from "ulidx";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import "../../dialect-helpers-fk43GbDb.mjs";
|
|
2
|
-
import "../../base64-C1Q9yr0B.mjs";
|
|
3
|
-
import "../../types-DfuD0Afl.mjs";
|
|
4
|
-
import { n as alternateTrailingSlashPath, t as RedirectRepository } from "../../redirect-C2zXRj3c.mjs";
|
|
5
2
|
import { getRequestContext } from "../../request-context.mjs";
|
|
6
|
-
import
|
|
7
|
-
import
|
|
3
|
+
import "../../base64-F8-DUraK.mjs";
|
|
4
|
+
import "../../types-CSgR9nQB.mjs";
|
|
5
|
+
import { r as getDb } from "../../loader--GOYux8M.mjs";
|
|
6
|
+
import { n as alternateTrailingSlashPath, t as RedirectRepository } from "../../redirect-CEACczxo.mjs";
|
|
7
|
+
import { a as matchCachedPatterns, n as compileRedirectRules, o as setCachedRedirects, r as getCachedRedirects } from "../../cache-Bac05gBd.mjs";
|
|
8
8
|
import { defineMiddleware } from "astro:middleware";
|
|
9
9
|
|
|
10
10
|
//#region src/astro/middleware/redirect.ts
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import "../../base64-C1Q9yr0B.mjs";
|
|
2
|
-
import "../../options-BvJoSSJR.mjs";
|
|
3
1
|
import { runWithContext } from "../../request-context.mjs";
|
|
4
|
-
import
|
|
5
|
-
import
|
|
2
|
+
import "../../base64-F8-DUraK.mjs";
|
|
3
|
+
import "../../options-LsPjZlqD.mjs";
|
|
4
|
+
import { n as parseContentId, r as verifyPreviewToken } from "../../tokens-SLmgowfd.mjs";
|
|
5
|
+
import { i as resolveSecretsCached } from "../../secrets-CeGpBFV2.mjs";
|
|
6
6
|
import { defineMiddleware } from "astro:middleware";
|
|
7
7
|
|
|
8
8
|
//#region src/visual-editing/toolbar.ts
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { i as runMigrations } from "../../runner-
|
|
1
|
+
import { i as runMigrations } from "../../runner-DzIpHGND.mjs";
|
|
2
2
|
import "../../dialect-helpers-fk43GbDb.mjs";
|
|
3
|
-
import { t as OptionsRepository } from "../../options-
|
|
3
|
+
import { t as OptionsRepository } from "../../options-LsPjZlqD.mjs";
|
|
4
4
|
import { ulid } from "ulidx";
|
|
5
5
|
import { defineMiddleware } from "astro:middleware";
|
|
6
6
|
|
|
@@ -1,81 +1,81 @@
|
|
|
1
|
-
import { i as runMigrations } from "../runner-
|
|
1
|
+
import { i as runMigrations } from "../runner-DzIpHGND.mjs";
|
|
2
2
|
import "../connection-CiJWiWya.mjs";
|
|
3
3
|
import { t as validateIdentifier } from "../validate-VPnKoIzW.mjs";
|
|
4
4
|
import { s as isSqlite } from "../dialect-helpers-fk43GbDb.mjs";
|
|
5
5
|
import { i as setI18nConfig } from "../config-CVssduLe.mjs";
|
|
6
|
-
import { d as EmailPipeline, g as after, h as definePlugin, m as resolveExclusiveHooks, p as createHookPipeline, u as PluginRouteRegistry } from "../plugins-
|
|
7
|
-
import { r as RevisionRepository, t as ContentRepository } from "../content-QaryevFO.mjs";
|
|
8
|
-
import "../base64-C1Q9yr0B.mjs";
|
|
9
|
-
import "../types-DfuD0Afl.mjs";
|
|
10
|
-
import { t as MediaRepository } from "../media-DUAjMfvR.mjs";
|
|
11
|
-
import "../user-DtNmjNYt.mjs";
|
|
12
|
-
import "../taxonomy-CBmkmMuU.mjs";
|
|
13
|
-
import "../comment-CXDOQ93N.mjs";
|
|
14
|
-
import { t as OptionsRepository } from "../options-BvJoSSJR.mjs";
|
|
15
|
-
import "../audit-D1cbG7xH.mjs";
|
|
16
|
-
import "../site-activity-D7Xyropw.mjs";
|
|
17
|
-
import "../review-requests-gGMyYYhy.mjs";
|
|
18
|
-
import "../entity-aliases-Egjmqc7I.mjs";
|
|
19
|
-
import "../context-CoYb_fvK.mjs";
|
|
20
|
-
import "../menus-WpFRMXjz.mjs";
|
|
21
|
-
import "../redirect-C2zXRj3c.mjs";
|
|
6
|
+
import { d as EmailPipeline, g as after, h as definePlugin, m as resolveExclusiveHooks, p as createHookPipeline, u as PluginRouteRegistry } from "../plugins-DzfqRREq.mjs";
|
|
22
7
|
import { createRequestMetrics, getRequestContext, runWithContext } from "../request-context.mjs";
|
|
23
|
-
import { r as requestCached } from "../request-cache-CYMbwZc6.mjs";
|
|
24
|
-
import "../byline-registry-CUSvkasJ.mjs";
|
|
25
|
-
import "../byline-1ntDwv8c.mjs";
|
|
26
|
-
import { n as normalizeMediaValue } from "../normalize-DUnoXAa9.mjs";
|
|
27
|
-
import "../placeholder-BDo81Is5.mjs";
|
|
28
|
-
import "../seo-Cd45Po8L.mjs";
|
|
29
|
-
import { $ as handleContentUpdate, A as handleRevisionGet, B as handleContentDiscardDraft, D as handleMediaGet, E as handleMediaDelete, F as handleContentCompare, G as handleContentListTrashed, H as handleContentGet, I as handleContentCountScheduled, J as handleContentRestore, K as handleContentPermanentDelete, L as handleContentCountTrashed, M as handleRevisionRestore, O as handleMediaList, P as handleContentAuthors, Q as handleContentUnschedule, R as handleContentCreate, T as handleMediaCreate, U as handleContentGetIncludingTrashed, V as handleContentDuplicate, W as handleContentList, X as handleContentTranslations, Y as handleContentSchedule, Z as handleContentUnpublish, d as createPluginBundleStore, et as validateRev, j as handleRevisionList, k as handleMediaUpdate, q as handleContentPublish, z as handleContentDelete } from "../api-Eiy8_zVZ.mjs";
|
|
30
|
-
import "../dashboard-DNlqsknJ.mjs";
|
|
31
|
-
import { u as PluginStateRepository } from "../briefing-gKWiGLt1.mjs";
|
|
32
|
-
import "../context-types-DQh_XKkn.mjs";
|
|
33
|
-
import { t as FTSManager } from "../fts-manager-CIZlScg5.mjs";
|
|
34
|
-
import { n as SchemaRegistry } from "../registry-CTkbIDB9.mjs";
|
|
35
8
|
import { createRecorder, flushRecorder, formatServerTimingHeader, isInstrumentationEnabled, isServerTimingEnabled, kyselyLogOption } from "../database/instrumentation.mjs";
|
|
36
|
-
import
|
|
37
|
-
import
|
|
38
|
-
import "../
|
|
39
|
-
import "../
|
|
9
|
+
import "../base64-F8-DUraK.mjs";
|
|
10
|
+
import "../types-CSgR9nQB.mjs";
|
|
11
|
+
import { a as isMissingTableError, r as getDb } from "../loader--GOYux8M.mjs";
|
|
12
|
+
import { r as RevisionRepository, t as ContentRepository } from "../content-CBxYGWfL.mjs";
|
|
13
|
+
import { t as MediaRepository } from "../media-CbKyYukG.mjs";
|
|
14
|
+
import "../user-DTLoZs16.mjs";
|
|
15
|
+
import "../taxonomy-B169Nm6B.mjs";
|
|
16
|
+
import "../comment-Beue8-15.mjs";
|
|
17
|
+
import { t as OptionsRepository } from "../options-LsPjZlqD.mjs";
|
|
18
|
+
import "../audit-BeNsSyfU.mjs";
|
|
19
|
+
import "../site-activity-DONFrMBJ.mjs";
|
|
20
|
+
import "../review-requests-BW2NxY-l.mjs";
|
|
21
|
+
import "../entity-aliases-4y93Yjuc.mjs";
|
|
22
|
+
import "../context-CQVNZaR8.mjs";
|
|
23
|
+
import "../menus-BZbXf-ej.mjs";
|
|
24
|
+
import "../redirect-CEACczxo.mjs";
|
|
25
|
+
import { r as requestCached } from "../request-cache-ho99schz.mjs";
|
|
26
|
+
import "../byline-registry-4v6tXMNX.mjs";
|
|
27
|
+
import "../byline-BVC1lV6G.mjs";
|
|
28
|
+
import { n as normalizeMediaValue } from "../normalize-ByemhhfW.mjs";
|
|
29
|
+
import "../placeholder-d54Qr_7n.mjs";
|
|
30
|
+
import "../seo-CLj8lS7Q.mjs";
|
|
31
|
+
import { $ as handleContentUpdate, A as handleRevisionGet, B as handleContentDiscardDraft, D as handleMediaGet, E as handleMediaDelete, F as handleContentCompare, G as handleContentListTrashed, H as handleContentGet, I as handleContentCountScheduled, J as handleContentRestore, K as handleContentPermanentDelete, L as handleContentCountTrashed, M as handleRevisionRestore, O as handleMediaList, P as handleContentAuthors, Q as handleContentUnschedule, R as handleContentCreate, T as handleMediaCreate, U as handleContentGetIncludingTrashed, V as handleContentDuplicate, W as handleContentList, X as handleContentTranslations, Y as handleContentSchedule, Z as handleContentUnpublish, d as createPluginBundleStore, et as validateRev, j as handleRevisionList, k as handleMediaUpdate, q as handleContentPublish, z as handleContentDelete } from "../api-BMIxRIEN.mjs";
|
|
32
|
+
import "../dashboard-B7ZUNuyF.mjs";
|
|
33
|
+
import { u as PluginStateRepository } from "../briefing-CkTee1ex.mjs";
|
|
34
|
+
import "../context-types-r8oFvyOq.mjs";
|
|
35
|
+
import { t as FTSManager } from "../fts-manager-B5l_qwrA.mjs";
|
|
36
|
+
import { n as SchemaRegistry } from "../registry-D7HACema.mjs";
|
|
37
|
+
import { c as createPublicMediaUrlResolver } from "../settings-CUXOxzsT.mjs";
|
|
38
|
+
import "../briefing-DJX6irto.mjs";
|
|
39
|
+
import "../review-requests-Qum4713s.mjs";
|
|
40
40
|
import { n as hashString } from "../hash-BPmX6P8I.mjs";
|
|
41
|
-
import { n as VERSION, t as COMMIT } from "../version-
|
|
42
|
-
import "../query-
|
|
43
|
-
import "../zod-generator-
|
|
44
|
-
import "../schema-
|
|
41
|
+
import { n as VERSION, t as COMMIT } from "../version-C4gfn0PJ.mjs";
|
|
42
|
+
import "../query-CZ3TH_Uu.mjs";
|
|
43
|
+
import "../zod-generator-K91-g665.mjs";
|
|
44
|
+
import "../schema-Bsi-VpYv.mjs";
|
|
45
45
|
import "../seo-5lJOtB5J.mjs";
|
|
46
|
-
import "../bylines-
|
|
47
|
-
import "../byline-fields-
|
|
48
|
-
import "../sections-
|
|
49
|
-
import "../settings-
|
|
46
|
+
import "../bylines-LN9XISRo.mjs";
|
|
47
|
+
import "../byline-fields-Cj39WhXC.mjs";
|
|
48
|
+
import "../sections-BOjU13Y-.mjs";
|
|
49
|
+
import "../settings-DlBsT2VS.mjs";
|
|
50
50
|
import "../resolve-DTuDyYKs.mjs";
|
|
51
|
-
import "../taxonomies-
|
|
52
|
-
import "../taxonomies-
|
|
51
|
+
import "../taxonomies-CZ-_DitR.mjs";
|
|
52
|
+
import "../taxonomies-D9Sw4wWM.mjs";
|
|
53
53
|
import { r as normalizeManifestRoute } from "../manifest-schema-qh2P7RDX.mjs";
|
|
54
54
|
import "../parse-CneSgl7-.mjs";
|
|
55
55
|
import "../redirects-ocRJmQHP.mjs";
|
|
56
|
-
import "../byline-fields-
|
|
57
|
-
import { a as invalidateUrlPatternCache } from "../query-
|
|
58
|
-
import "../preview-
|
|
56
|
+
import "../byline-fields-cNrLJVRs.mjs";
|
|
57
|
+
import { a as invalidateUrlPatternCache } from "../query-Ds0EnMFX.mjs";
|
|
58
|
+
import "../preview-C-3YTX2U.mjs";
|
|
59
59
|
import "../parser-DxfsARXL.mjs";
|
|
60
60
|
import { t as getTrustedProxyHeaders } from "../trusted-proxy-BgIIcbsN.mjs";
|
|
61
61
|
import { n as sanitizeHeadersForSandbox, t as extractRequestMeta } from "../request-meta-DAb6xaP9.mjs";
|
|
62
62
|
import "../ssrf-DiKqWd3N.mjs";
|
|
63
63
|
import { n as CronExecutor } from "../cron-DxCAU_Sn.mjs";
|
|
64
64
|
import { r as devConsoleEmailDeliver, t as DEV_CONSOLE_EMAIL_PLUGIN_ID } from "../email-console-BOVqIYpB.mjs";
|
|
65
|
-
import "../import-
|
|
66
|
-
import "../utils-
|
|
67
|
-
import "../tokens-
|
|
68
|
-
import "../menus-
|
|
69
|
-
import "../bylines-
|
|
70
|
-
import "../widgets-
|
|
71
|
-
import "../apply-
|
|
72
|
-
import "../load-
|
|
73
|
-
import "../search-
|
|
65
|
+
import "../import-4YBXbDkI.mjs";
|
|
66
|
+
import "../utils-B8hBJ9Oz.mjs";
|
|
67
|
+
import "../tokens-SLmgowfd.mjs";
|
|
68
|
+
import "../menus-C7F0sCrC.mjs";
|
|
69
|
+
import "../bylines-DwokOFj6.mjs";
|
|
70
|
+
import "../widgets-BpJ8EpPd.mjs";
|
|
71
|
+
import "../apply-D_RlTYtC.mjs";
|
|
72
|
+
import "../load-D9OiGr2m.mjs";
|
|
73
|
+
import "../search-Gdrqj582.mjs";
|
|
74
74
|
import "../index.mjs";
|
|
75
|
-
import { t as getAuthMode } from "../mode-
|
|
76
|
-
import { i as experimentalSiteContextWorkflowsEnabled } from "../experimental-workflows-
|
|
77
|
-
import { t as cleanupExpiredChallenges } from "../challenge-store-
|
|
78
|
-
import { a as validateEncryptionKeyAtStartup } from "../secrets-
|
|
75
|
+
import { t as getAuthMode } from "../mode-CZqCF9dZ.mjs";
|
|
76
|
+
import { i as experimentalSiteContextWorkflowsEnabled } from "../experimental-workflows-CSMffP6q.mjs";
|
|
77
|
+
import { t as cleanupExpiredChallenges } from "../challenge-store-DFxX0_15.mjs";
|
|
78
|
+
import { a as validateEncryptionKeyAtStartup } from "../secrets-CeGpBFV2.mjs";
|
|
79
79
|
import { Kysely, sql } from "kysely";
|
|
80
80
|
import { defineMiddleware } from "astro:middleware";
|
|
81
81
|
import virtualConfig from "virtual:dineway/config";
|
|
@@ -1030,9 +1030,9 @@ var DinewayRuntime = class DinewayRuntime {
|
|
|
1030
1030
|
}
|
|
1031
1031
|
})();
|
|
1032
1032
|
if (collectionCount.count === 0 && !setupDone) {
|
|
1033
|
-
const { applySeed } = await import("../apply-
|
|
1034
|
-
const { loadSeed } = await import("../load-
|
|
1035
|
-
const { validateSeed } = await import("../validate-
|
|
1033
|
+
const { applySeed } = await import("../apply-D_RlTYtC.mjs").then((n) => n.n);
|
|
1034
|
+
const { loadSeed } = await import("../load-D9OiGr2m.mjs").then((n) => n.r);
|
|
1035
|
+
const { validateSeed } = await import("../validate-DWmPO6oj.mjs").then((n) => n.n);
|
|
1036
1036
|
const seed = await loadSeed();
|
|
1037
1037
|
if (validateSeed(seed).valid) {
|
|
1038
1038
|
await applySeed(db, seed, { onConflict: "skip" });
|
|
@@ -1322,7 +1322,7 @@ var DinewayRuntime = class DinewayRuntime {
|
|
|
1322
1322
|
return result;
|
|
1323
1323
|
}
|
|
1324
1324
|
async handleContentUpdate(collection, id, body) {
|
|
1325
|
-
const { ContentRepository } = await import("../content-
|
|
1325
|
+
const { ContentRepository } = await import("../content-CBxYGWfL.mjs").then((n) => n.n);
|
|
1326
1326
|
const repo = new ContentRepository(this.db);
|
|
1327
1327
|
const resolvedItem = await repo.findByIdOrSlug(collection, id, body.locale);
|
|
1328
1328
|
const resolvedId = resolvedItem?.id ?? id;
|
|
@@ -2063,7 +2063,7 @@ const onRequest = defineMiddleware(async (context, next) => {
|
|
|
2063
2063
|
if (!isSetupVerified()) {
|
|
2064
2064
|
const setupStart = startServerTiming(serverTimings);
|
|
2065
2065
|
try {
|
|
2066
|
-
const { getDb } = await import("../loader
|
|
2066
|
+
const { getDb } = await import("../loader--GOYux8M.mjs").then((n) => n.i);
|
|
2067
2067
|
await (await getDb()).selectFrom("_dineway_migrations").selectAll().limit(1).execute();
|
|
2068
2068
|
markSetupVerified();
|
|
2069
2069
|
} catch (error) {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import "../../../../../context-types-
|
|
1
|
+
import "../../../../../context-types-r8oFvyOq.mjs";
|
|
2
2
|
import { n as apiSuccess, r as handleError, t as apiError } from "../../../../../error-DCSuUAZW.mjs";
|
|
3
3
|
import { n as parseBody, t as isParseError } from "../../../../../parse-CneSgl7-.mjs";
|
|
4
4
|
import { S as allowedDomainUpdateBody } from "../../../../../redirects-ocRJmQHP.mjs";
|
|
5
|
-
import "../../../../../byline-fields-
|
|
5
|
+
import "../../../../../byline-fields-cNrLJVRs.mjs";
|
|
6
6
|
import "../../../../../api/schemas/index.mjs";
|
|
7
7
|
import { createKyselyAdapter } from "@dineway-ai/auth/adapters/kysely";
|
|
8
8
|
import { Role, roleFromLevel } from "@dineway-ai/auth";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import "../../../../../context-types-
|
|
1
|
+
import "../../../../../context-types-r8oFvyOq.mjs";
|
|
2
2
|
import { n as apiSuccess, r as handleError, t as apiError } from "../../../../../error-DCSuUAZW.mjs";
|
|
3
3
|
import { n as parseBody, t as isParseError } from "../../../../../parse-CneSgl7-.mjs";
|
|
4
4
|
import { x as allowedDomainCreateBody } from "../../../../../redirects-ocRJmQHP.mjs";
|
|
5
|
-
import "../../../../../byline-fields-
|
|
5
|
+
import "../../../../../byline-fields-cNrLJVRs.mjs";
|
|
6
6
|
import "../../../../../api/schemas/index.mjs";
|
|
7
7
|
import { createKyselyAdapter } from "@dineway-ai/auth/adapters/kysely";
|
|
8
8
|
import { Role, roleFromLevel } from "@dineway-ai/auth";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { a as unwrapResult, r as handleError, t as apiError } from "../../../../../error-DCSuUAZW.mjs";
|
|
2
2
|
import { n as parseBody, t as isParseError } from "../../../../../parse-CneSgl7-.mjs";
|
|
3
|
-
import { c as requestedExperimentalSiteContextWorkflowScopes, i as experimentalSiteContextWorkflowsEnabled, s as getExperimentalSiteContextWorkflowsDisabledMessage } from "../../../../../experimental-workflows-
|
|
3
|
+
import { c as requestedExperimentalSiteContextWorkflowScopes, i as experimentalSiteContextWorkflowsEnabled, s as getExperimentalSiteContextWorkflowsDisabledMessage } from "../../../../../experimental-workflows-CSMffP6q.mjs";
|
|
4
4
|
import { t as ALL_VALID_SCOPES } from "../../../../../api-tokens-CYUoFGo7.mjs";
|
|
5
5
|
import { n as handleApiTokenList, t as handleApiTokenCreate } from "../../../../../api-tokens-DtvdtIkm.mjs";
|
|
6
6
|
import { t as rejectApiTokenAuthControlWrite } from "../../../../../auth-control-guard-Dr14I98m.mjs";
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import "../../../../dialect-helpers-fk43GbDb.mjs";
|
|
2
|
-
import "../../../../base64-
|
|
3
|
-
import "../../../../types-
|
|
4
|
-
import "../../../../
|
|
5
|
-
import "../../../../
|
|
6
|
-
import "../../../../
|
|
7
|
-
import "../../../../
|
|
8
|
-
import "../../../../
|
|
9
|
-
import "../../../../
|
|
10
|
-
import "../../../../
|
|
11
|
-
import "../../../../
|
|
12
|
-
import "../../../../
|
|
13
|
-
import "../../../../
|
|
14
|
-
import "../../../../settings-
|
|
15
|
-
import { t as handleSiteBriefingGet } from "../../../../briefing-
|
|
2
|
+
import "../../../../base64-F8-DUraK.mjs";
|
|
3
|
+
import "../../../../types-CSgR9nQB.mjs";
|
|
4
|
+
import "../../../../loader--GOYux8M.mjs";
|
|
5
|
+
import "../../../../media-CbKyYukG.mjs";
|
|
6
|
+
import "../../../../options-LsPjZlqD.mjs";
|
|
7
|
+
import "../../../../site-activity-DONFrMBJ.mjs";
|
|
8
|
+
import "../../../../review-requests-BW2NxY-l.mjs";
|
|
9
|
+
import "../../../../request-cache-ho99schz.mjs";
|
|
10
|
+
import "../../../../briefing-CkTee1ex.mjs";
|
|
11
|
+
import "../../../../context-types-r8oFvyOq.mjs";
|
|
12
|
+
import "../../../../fts-manager-B5l_qwrA.mjs";
|
|
13
|
+
import "../../../../registry-D7HACema.mjs";
|
|
14
|
+
import "../../../../settings-CUXOxzsT.mjs";
|
|
15
|
+
import { t as handleSiteBriefingGet } from "../../../../briefing-DJX6irto.mjs";
|
|
16
16
|
import { a as unwrapResult, i as requireDb, r as handleError, t as apiError } from "../../../../error-DCSuUAZW.mjs";
|
|
17
17
|
import { i as parseQuery, t as isParseError } from "../../../../parse-CneSgl7-.mjs";
|
|
18
18
|
import "../../../../redirects-ocRJmQHP.mjs";
|
|
19
|
-
import { k as siteBriefingQuery } from "../../../../byline-fields-
|
|
19
|
+
import { k as siteBriefingQuery } from "../../../../byline-fields-cNrLJVRs.mjs";
|
|
20
20
|
import "../../../../api/schemas/index.mjs";
|
|
21
21
|
import { hasPermission } from "@dineway-ai/auth";
|
|
22
22
|
|