dineway 0.2.37 → 0.2.39
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-BbtYp_4V.mjs → activity-LXZdjKwI.mjs} +1 -1
- package/dist/{activity-events-CiFN61xq.mjs → activity-events-DoqeOM8x.mjs} +1 -1
- package/dist/adapter-symbols-Bq3JsWGM.d.mts +5 -0
- package/dist/{adapters-Rol-inz6.d.mts → adapters-C8nRpUuj.d.mts} +22 -6
- package/dist/after.d.mts +10 -0
- package/dist/{after-BVaUn7bK.mjs → after.mjs} +3 -2
- package/dist/{allowed-origins-Cp7BI3L9.mjs → allowed-origins-DiVrMLxh.mjs} +1 -1
- package/dist/api/route-utils.d.mts +12 -10
- package/dist/api/route-utils.mjs +18 -19
- package/dist/api/schemas/index.d.mts +1 -1
- package/dist/api/schemas/index.mjs +5 -5
- package/dist/{api-kJUT0VCn.mjs → api-COSxvdOi.mjs} +11 -11
- package/dist/{api-tokens-OAgvq4xg.mjs → api-tokens-CNHnKO57.mjs} +1 -1
- package/dist/{apply--6MFJ5h9.mjs → apply-D4rZHDyg.mjs} +18 -18
- package/dist/astro/index.d.mts +13 -11
- package/dist/astro/index.mjs +20 -14
- package/dist/astro/middleware/auth.d.mts +11 -9
- package/dist/astro/middleware/auth.mjs +7 -8
- package/dist/astro/middleware/redirect.mjs +7 -7
- package/dist/astro/middleware/request-context.mjs +4 -5
- package/dist/astro/middleware/seed.d.mts +1 -1
- package/dist/astro/middleware/seed.mjs +3 -3
- package/dist/astro/middleware/setup.mjs +1 -1
- package/dist/astro/middleware.d.mts +9 -1
- package/dist/astro/middleware.mjs +301 -132
- package/dist/astro/routes/api/admin/allowed-domains/_domain_.mjs +7 -7
- package/dist/astro/routes/api/admin/allowed-domains/index.mjs +7 -7
- package/dist/astro/routes/api/admin/api-tokens/_id_.mjs +4 -4
- package/dist/astro/routes/api/admin/api-tokens/index.mjs +6 -6
- package/dist/astro/routes/api/admin/briefing.mjs +22 -23
- package/dist/astro/routes/api/admin/byline-fields/_slug_/usage.mjs +5 -5
- package/dist/astro/routes/api/admin/byline-fields/_slug_.mjs +11 -11
- package/dist/astro/routes/api/admin/byline-fields/index.mjs +11 -11
- package/dist/astro/routes/api/admin/byline-fields/reorder.mjs +11 -11
- package/dist/astro/routes/api/admin/bylines/_id_/index.mjs +19 -20
- package/dist/astro/routes/api/admin/bylines/_id_/translations.mjs +19 -20
- package/dist/astro/routes/api/admin/bylines/index.mjs +19 -20
- package/dist/astro/routes/api/admin/comments/_id_/status.mjs +16 -17
- package/dist/astro/routes/api/admin/comments/_id_.mjs +6 -7
- package/dist/astro/routes/api/admin/comments/bulk.mjs +12 -13
- package/dist/astro/routes/api/admin/comments/counts.mjs +6 -7
- package/dist/astro/routes/api/admin/comments/index.mjs +12 -13
- package/dist/astro/routes/api/admin/context/_id_/history.mjs +37 -38
- package/dist/astro/routes/api/admin/context/_id_/index.mjs +37 -38
- package/dist/astro/routes/api/admin/context/_id_/review.mjs +42 -43
- package/dist/astro/routes/api/admin/context/_id_/supersede.mjs +42 -43
- package/dist/astro/routes/api/admin/context/diff.mjs +41 -42
- package/dist/astro/routes/api/admin/context/index.mjs +42 -43
- package/dist/astro/routes/api/admin/context/stale.mjs +41 -42
- package/dist/astro/routes/api/admin/hitl-requests/_id_/index.mjs +37 -38
- package/dist/astro/routes/api/admin/hitl-requests/_id_/resolve.mjs +41 -42
- package/dist/astro/routes/api/admin/hitl-requests/index.mjs +41 -42
- package/dist/astro/routes/api/admin/hooks/exclusive/_hookName_.mjs +38 -39
- package/dist/astro/routes/api/admin/hooks/exclusive/index.mjs +3 -3
- package/dist/astro/routes/api/admin/oauth-clients/_id_.mjs +6 -6
- package/dist/astro/routes/api/admin/oauth-clients/index.mjs +6 -6
- package/dist/astro/routes/api/admin/plugins/_id_/disable.mjs +66 -67
- package/dist/astro/routes/api/admin/plugins/_id_/enable.mjs +66 -67
- package/dist/astro/routes/api/admin/plugins/_id_/index.mjs +58 -59
- package/dist/astro/routes/api/admin/plugins/_id_/uninstall.mjs +65 -66
- package/dist/astro/routes/api/admin/plugins/_id_/update.mjs +65 -66
- package/dist/astro/routes/api/admin/plugins/index.mjs +58 -59
- package/dist/astro/routes/api/admin/plugins/marketplace/_id_/icon.mjs +2 -2
- package/dist/astro/routes/api/admin/plugins/marketplace/_id_/index.mjs +58 -59
- package/dist/astro/routes/api/admin/plugins/marketplace/_id_/install.mjs +65 -66
- package/dist/astro/routes/api/admin/plugins/marketplace/index.mjs +58 -59
- package/dist/astro/routes/api/admin/plugins/updates.mjs +58 -59
- package/dist/astro/routes/api/admin/review-requests/_id_/image.mjs +23 -24
- package/dist/astro/routes/api/admin/review-requests/_id_/index.mjs +34 -35
- package/dist/astro/routes/api/admin/review-requests/_id_/resolve.mjs +50 -51
- package/dist/astro/routes/api/admin/review-requests/_id_/revoke.mjs +8 -8
- package/dist/astro/routes/api/admin/review-requests/index.mjs +48 -49
- package/dist/astro/routes/api/admin/themes/marketplace/_id_/index.mjs +58 -59
- package/dist/astro/routes/api/admin/themes/marketplace/_id_/thumbnail.mjs +2 -2
- package/dist/astro/routes/api/admin/themes/marketplace/index.mjs +58 -59
- package/dist/astro/routes/api/admin/users/_id_/disable.mjs +2 -2
- package/dist/astro/routes/api/admin/users/_id_/enable.mjs +1 -1
- package/dist/astro/routes/api/admin/users/_id_/index.mjs +8 -8
- package/dist/astro/routes/api/admin/users/_id_/send-recovery.mjs +3 -3
- package/dist/astro/routes/api/admin/users/index.mjs +7 -7
- package/dist/astro/routes/api/auth/dev-bypass.mjs +5 -5
- package/dist/astro/routes/api/auth/invite/accept.mjs +1 -1
- package/dist/astro/routes/api/auth/invite/complete.mjs +12 -12
- package/dist/astro/routes/api/auth/invite/index.mjs +9 -9
- package/dist/astro/routes/api/auth/invite/register-options.mjs +11 -11
- package/dist/astro/routes/api/auth/logout.mjs +2 -2
- package/dist/astro/routes/api/auth/magic-link/send.mjs +12 -12
- package/dist/astro/routes/api/auth/magic-link/verify.mjs +2 -2
- package/dist/astro/routes/api/auth/me.mjs +10 -10
- package/dist/astro/routes/api/auth/mode.mjs +1 -1
- package/dist/astro/routes/api/auth/oauth/_provider_/callback.mjs +3 -3
- package/dist/astro/routes/api/auth/oauth/_provider_.mjs +3 -3
- package/dist/astro/routes/api/auth/passkey/_id_.mjs +7 -7
- package/dist/astro/routes/api/auth/passkey/index.mjs +1 -1
- package/dist/astro/routes/api/auth/passkey/options.mjs +14 -14
- package/dist/astro/routes/api/auth/passkey/register/options.mjs +11 -11
- package/dist/astro/routes/api/auth/passkey/register/verify.mjs +12 -12
- package/dist/astro/routes/api/auth/passkey/verify.mjs +12 -12
- package/dist/astro/routes/api/auth/setup-token/index.mjs +6 -6
- package/dist/astro/routes/api/auth/setup-token/verify.mjs +3 -3
- package/dist/astro/routes/api/auth/signup/complete.mjs +12 -12
- package/dist/astro/routes/api/auth/signup/request.mjs +12 -12
- package/dist/astro/routes/api/auth/signup/verify.mjs +1 -1
- package/dist/astro/routes/api/comments/_collection_/_contentId_/index.d.mts +11 -9
- package/dist/astro/routes/api/comments/_collection_/_contentId_/index.mjs +19 -20
- package/dist/astro/routes/api/comments/_collection_/_contentId_/reactions.mjs +17 -18
- package/dist/astro/routes/api/content/_collection_/_id_/compare.mjs +2 -2
- package/dist/astro/routes/api/content/_collection_/_id_/discard-draft.mjs +6 -6
- package/dist/astro/routes/api/content/_collection_/_id_/duplicate.mjs +6 -6
- package/dist/astro/routes/api/content/_collection_/_id_/permanent.mjs +6 -6
- package/dist/astro/routes/api/content/_collection_/_id_/preview-url.mjs +20 -21
- package/dist/astro/routes/api/content/_collection_/_id_/publish.mjs +29 -30
- package/dist/astro/routes/api/content/_collection_/_id_/release-readiness.mjs +8 -8
- package/dist/astro/routes/api/content/_collection_/_id_/restore.mjs +6 -6
- package/dist/astro/routes/api/content/_collection_/_id_/revisions.mjs +2 -2
- package/dist/astro/routes/api/content/_collection_/_id_/schedule.mjs +29 -30
- package/dist/astro/routes/api/content/_collection_/_id_/terms/_taxonomy_.mjs +18 -19
- package/dist/astro/routes/api/content/_collection_/_id_/translations.mjs +2 -2
- package/dist/astro/routes/api/content/_collection_/_id_/unpublish.mjs +6 -6
- package/dist/astro/routes/api/content/_collection_/_id_.mjs +12 -12
- package/dist/astro/routes/api/content/_collection_/authors.mjs +2 -2
- package/dist/astro/routes/api/content/_collection_/index.mjs +12 -12
- package/dist/astro/routes/api/content/_collection_/trash.mjs +8 -8
- package/dist/astro/routes/api/dashboard.mjs +11 -12
- package/dist/astro/routes/api/dev/emails.mjs +2 -2
- package/dist/astro/routes/api/health.mjs +1 -1
- package/dist/astro/routes/api/import/probe.d.mts +3 -3
- package/dist/astro/routes/api/import/probe.mjs +22 -23
- package/dist/astro/routes/api/import/wordpress/analyze.mjs +10 -10
- package/dist/astro/routes/api/import/wordpress/execute.d.mts +11 -9
- package/dist/astro/routes/api/import/wordpress/execute.mjs +45 -46
- package/dist/astro/routes/api/import/wordpress/media.d.mts +11 -9
- package/dist/astro/routes/api/import/wordpress/media.mjs +13 -13
- package/dist/astro/routes/api/import/wordpress/prepare.mjs +46 -47
- package/dist/astro/routes/api/import/wordpress/rewrite-urls.d.mts +12 -10
- package/dist/astro/routes/api/import/wordpress/rewrite-urls.mjs +43 -44
- package/dist/astro/routes/api/import/wordpress-plugin/analyze.d.mts +1 -1
- package/dist/astro/routes/api/import/wordpress-plugin/analyze.mjs +26 -27
- package/dist/astro/routes/api/import/wordpress-plugin/execute.d.mts +11 -9
- package/dist/astro/routes/api/import/wordpress-plugin/execute.mjs +50 -51
- package/dist/astro/routes/api/integration/artifact.mjs +8 -9
- package/dist/astro/routes/api/integration/dispatch.mjs +12 -13
- package/dist/astro/routes/api/integrations/_provider_.mjs +9 -10
- package/dist/astro/routes/api/integrations/index.mjs +8 -9
- package/dist/astro/routes/api/manifest.mjs +5 -5
- package/dist/astro/routes/api/mcp.mjs +87 -88
- package/dist/astro/routes/api/media/_id_/confirm.mjs +11 -11
- package/dist/astro/routes/api/media/_id_.mjs +9 -9
- package/dist/astro/routes/api/media/file/_...key_.mjs +1 -1
- package/dist/astro/routes/api/media/providers/_providerId_/_itemId_.mjs +2 -2
- package/dist/astro/routes/api/media/providers/_providerId_/index.mjs +2 -2
- package/dist/astro/routes/api/media/providers/index.mjs +2 -2
- package/dist/astro/routes/api/media/upload-url.mjs +12 -12
- package/dist/astro/routes/api/media.mjs +15 -15
- package/dist/astro/routes/api/menus/_name_/items/_id_.mjs +42 -43
- package/dist/astro/routes/api/menus/_name_/items.mjs +42 -43
- package/dist/astro/routes/api/menus/_name_/reorder.mjs +42 -43
- package/dist/astro/routes/api/menus/_name_/translations.mjs +42 -43
- package/dist/astro/routes/api/menus/_name_.mjs +42 -43
- package/dist/astro/routes/api/menus/index.mjs +42 -43
- package/dist/astro/routes/api/oauth/authorize.mjs +8 -8
- package/dist/astro/routes/api/oauth/device/authorize.mjs +6 -6
- package/dist/astro/routes/api/oauth/device/code.mjs +10 -10
- package/dist/astro/routes/api/oauth/device/token.mjs +9 -9
- package/dist/astro/routes/api/oauth/register.mjs +4 -4
- package/dist/astro/routes/api/oauth/token/refresh.mjs +6 -6
- package/dist/astro/routes/api/oauth/token/revoke.mjs +6 -6
- package/dist/astro/routes/api/oauth/token.mjs +7 -7
- package/dist/astro/routes/api/openapi.json.mjs +5 -5
- package/dist/astro/routes/api/plugins/_pluginId_/_...path_.mjs +3 -3
- package/dist/astro/routes/api/redirects/404s/index.mjs +13 -13
- package/dist/astro/routes/api/redirects/404s/summary.mjs +13 -13
- package/dist/astro/routes/api/redirects/_id_.mjs +42 -43
- package/dist/astro/routes/api/redirects/index.mjs +42 -43
- package/dist/astro/routes/api/revisions/_revisionId_/index.mjs +2 -2
- package/dist/astro/routes/api/revisions/_revisionId_/restore.mjs +2 -2
- package/dist/astro/routes/api/schema/collections/_slug_/fields/_fieldSlug_.mjs +60 -61
- package/dist/astro/routes/api/schema/collections/_slug_/fields/index.mjs +60 -61
- package/dist/astro/routes/api/schema/collections/_slug_/fields/reorder.mjs +60 -61
- package/dist/astro/routes/api/schema/collections/_slug_/index.mjs +60 -61
- package/dist/astro/routes/api/schema/collections/index.mjs +60 -61
- package/dist/astro/routes/api/schema/index.mjs +10 -10
- package/dist/astro/routes/api/schema/orphans/_slug_.mjs +58 -59
- package/dist/astro/routes/api/schema/orphans/index.mjs +58 -59
- package/dist/astro/routes/api/search/enable.mjs +13 -13
- package/dist/astro/routes/api/search/index.mjs +12 -12
- package/dist/astro/routes/api/search/rebuild.mjs +13 -13
- package/dist/astro/routes/api/search/stats.mjs +7 -7
- package/dist/astro/routes/api/search/suggest.mjs +12 -12
- package/dist/astro/routes/api/sections/_slug_.mjs +42 -43
- package/dist/astro/routes/api/sections/index.mjs +42 -43
- package/dist/astro/routes/api/settings/email.mjs +4 -4
- package/dist/astro/routes/api/settings/reviews.mjs +9 -9
- package/dist/astro/routes/api/settings.mjs +42 -43
- package/dist/astro/routes/api/setup/admin-verify.mjs +14 -14
- package/dist/astro/routes/api/setup/admin.mjs +12 -12
- package/dist/astro/routes/api/setup/dev-bypass.mjs +30 -31
- package/dist/astro/routes/api/setup/dev-reset.mjs +2 -2
- package/dist/astro/routes/api/setup/index.mjs +32 -33
- package/dist/astro/routes/api/setup/status.mjs +3 -3
- package/dist/astro/routes/api/snapshot.mjs +8 -9
- package/dist/astro/routes/api/system/heartbeat.mjs +2 -2
- package/dist/astro/routes/api/taxonomies/_name_/terms/_slug_/translations.mjs +45 -46
- package/dist/astro/routes/api/taxonomies/_name_/terms/_slug_.mjs +45 -46
- package/dist/astro/routes/api/taxonomies/_name_/terms/index.mjs +45 -46
- package/dist/astro/routes/api/taxonomies/index.mjs +45 -46
- package/dist/astro/routes/api/themes/preview.mjs +6 -7
- package/dist/astro/routes/api/typegen.mjs +4 -4
- package/dist/astro/routes/api/well-known/auth.mjs +3 -3
- package/dist/astro/routes/api/well-known/oauth-authorization-server.mjs +3 -3
- package/dist/astro/routes/api/well-known/oauth-protected-resource.mjs +3 -3
- package/dist/astro/routes/api/widget-areas/_name_/reorder.mjs +41 -42
- package/dist/astro/routes/api/widget-areas/_name_/widgets/_id_.mjs +42 -43
- package/dist/astro/routes/api/widget-areas/_name_/widgets.mjs +42 -43
- package/dist/astro/routes/api/widget-areas/_name_.mjs +39 -40
- package/dist/astro/routes/api/widget-areas/index.mjs +42 -43
- package/dist/astro/routes/api/widget-components.mjs +2 -2
- package/dist/astro/routes/robots.txt.mjs +8 -9
- package/dist/astro/routes/sitemap-_collection_.xml.mjs +16 -17
- package/dist/astro/routes/sitemap.xml.mjs +15 -16
- package/dist/astro/session-driver.d.mts +1 -1
- package/dist/astro/session-driver.mjs +2 -2
- package/dist/astro/types.d.mts +14 -12
- package/dist/{audit-F5iWkbcJ.mjs → audit-Cl495Ze3.mjs} +1 -1
- package/dist/auth/providers/github.d.mts +1 -1
- package/dist/auth/providers/google.d.mts +1 -1
- package/dist/{auth-control-guard-DPOSBNFI.mjs → auth-control-guard-DbjgJdlo.mjs} +1 -1
- package/dist/{authorize-CXIjxIfC.mjs → authorize-DDmgmnW-.mjs} +1 -1
- package/dist/{briefing-BiBHuHqK.mjs → briefing-COw-WcYz.mjs} +6 -6
- package/dist/{briefing-DQYj9x6H.mjs → briefing-DsD-Ouwc.mjs} +1 -1
- package/dist/{bundle-DImnxo71.mjs → bundle-bhiszAui.mjs} +2 -2
- package/dist/{byline-BCPYEtzy.mjs → byline-TYk2kad6.mjs} +6 -6
- package/dist/{byline-fields-CY6V0ew1.mjs → byline-fields-BKj5f3Ub.mjs} +1 -1
- package/dist/{byline-fields-Cr3vqtmy.d.mts → byline-fields-CKhPED5o.d.mts} +31 -31
- package/dist/{byline-fields-DGNKitg3.mjs → byline-fields-DZ46DF10.mjs} +3 -3
- package/dist/{byline-registry-CkuVVeJJ.mjs → byline-registry-CJihchD1.mjs} +1 -1
- package/dist/{bylines-BkRyEw1m.mjs → bylines-6T9iVC9j.mjs} +3 -3
- package/dist/{bylines-ulHYkoqw.mjs → bylines-CvTSCAw9.mjs} +5 -5
- package/dist/{cache-DZDOBJv3.mjs → cache-B5NSHhxG.mjs} +2 -2
- package/dist/{chunks-BnG3LPMN.mjs → chunks-C8vSD_5L.mjs} +1 -1
- package/dist/cli/index.mjs +50 -46
- package/dist/cli/plugin-kit.d.mts +11 -9
- package/dist/cli/plugin-kit.mjs +2 -2
- package/dist/client/index.d.mts +11 -9
- package/dist/client/index.mjs +2 -2
- package/dist/{client-factory-6vLLT06O.mjs → client-factory-C1ZQCMog.mjs} +1 -1
- package/dist/{comment-DX7gSK1w.mjs → comment-DAQfUjqt.mjs} +2 -2
- package/dist/{comment-reaction-Cun5eIXL.mjs → comment-reaction-Dp3G7UZc.mjs} +1 -1
- package/dist/{comments-CFswogn0.mjs → comments-BrvIaRAx.mjs} +1 -1
- package/dist/{content-D_Q7BEGo.mjs → content-CIKsrvU9.mjs} +12 -11
- package/dist/{content-refresh-9M9cc55-.mjs → content-refresh-BilzqcLt.mjs} +4 -4
- package/dist/{context-jRMnVU99.mjs → context-DAs_MZjJ.mjs} +11 -11
- package/dist/{context-CDZsqodm.mjs → context-DVTvucNb.mjs} +2 -2
- package/dist/{context-route-helpers-CWAHJFl3.mjs → context-route-helpers-BP-UJ4u8.mjs} +1 -1
- package/dist/{d1-binding-D6HZa3ks.mjs → d1-binding-DrLMBUxu.mjs} +6 -2
- package/dist/{dashboard-C7K-qmQw.mjs → dashboard-BAjWCGCP.mjs} +4 -4
- package/dist/database/batch.d.mts +2 -1
- package/dist/database/batch.mjs +5 -3
- package/dist/database/d1/index.d.mts +11 -9
- package/dist/database/d1/index.mjs +5 -5
- package/dist/db/index.d.mts +4 -4
- package/dist/db/index.mjs +3 -13
- package/dist/db/libsql.d.mts +1 -1
- package/dist/db/postgres.d.mts +1 -1
- package/dist/db/sqlite.d.mts +1 -1
- package/dist/{device-flow-Prqg6ycD.mjs → device-flow-Dh0rNlh1.mjs} +3 -3
- package/dist/{discovery-CYcZJ1o3.mjs → discovery-V0e0Gg8j.mjs} +4 -4
- package/dist/{enrich-BjF-J4sF.mjs → enrich-B7PIJ8Iy.mjs} +1 -1
- package/dist/{evidence-CoLCtvqq.mjs → evidence-Vnp_fQbC.mjs} +6 -6
- package/dist/{field-defs-cache-BKKFFf_V.mjs → field-defs-cache-aXUeXJdC.mjs} +6 -6
- package/dist/{fts-manager-DA74x_uP.mjs → fts-manager-BrPpYtK0.mjs} +1 -1
- package/dist/{hitl-requests-CMlepQbW.mjs → hitl-requests-BxMMON3s.mjs} +2 -2
- package/dist/{hitl-route-helpers-DnNP_wMa.mjs → hitl-route-helpers-sdnjpx2k.mjs} +4 -4
- package/dist/{import-CJiI0o15.mjs → import-C2-v4FCs.mjs} +9 -9
- package/dist/{index-mlJSqFkG.d.mts → index-BVGe04wF.d.mts} +3 -3
- package/dist/index.d.mts +17 -15
- package/dist/index.mjs +98 -98
- package/dist/{integration-credentials-Br16M1VE.mjs → integration-credentials-DMEXZU2J.mjs} +2 -2
- package/dist/{jsonld-B2e_FWju.d.mts → jsonld-XWmmAoVo.d.mts} +2 -2
- package/dist/{load-B2oitobd.mjs → load-DvCVppOF.mjs} +1 -1
- package/dist/{loader-Cgsx23wU.mjs → loader-Dp6zLmQm.mjs} +3 -3
- package/dist/{manifest-schema-DBXM_g8l.mjs → manifest-schema-CCvogfrP.mjs} +1 -1
- package/dist/{mcp-reviewed-executor-XBjd6qYu.mjs → mcp-reviewed-executor-B8Gbin3T.mjs} +6 -6
- package/dist/media/image-endpoint.mjs +1 -1
- package/dist/media/index.d.mts +1 -1
- package/dist/media/index.mjs +2 -2
- package/dist/media/local-runtime.d.mts +13 -11
- package/dist/media/local-runtime.mjs +2 -2
- package/dist/{media-BZqwtRTZ.mjs → media-C5ba8fvI.mjs} +1 -1
- package/dist/{media-allowlist-CyByjUXh.mjs → media-allowlist-DQvscVkS.mjs} +1 -1
- package/dist/{menus-BJvvB0n9.mjs → menus-CyNpBQrX.mjs} +2 -2
- package/dist/{menus-DNcY6Do7.mjs → menus-w5xwT-f5.mjs} +7 -7
- package/dist/{migrations-C7YXse7V.mjs → migrations-CLlX25HO.mjs} +2 -2
- package/dist/{oauth-authorization-B_mmz7O2.mjs → oauth-authorization-CdqJZUMf.mjs} +4 -4
- package/dist/{oauth-clients-Cr4pdIAE.mjs → oauth-clients-CHNb9MAZ.mjs} +2 -2
- package/dist/object-cache/memory.d.mts +1 -1
- package/dist/{object-cache-DYGlsI-R.mjs → object-cache-mxCW-Rpt.mjs} +1 -1
- package/dist/page/index.d.mts +12 -10
- package/dist/page/index.mjs +1 -1
- package/dist/{parse-BscLr3p2.mjs → parse-THHCpJLB.mjs} +1 -1
- package/dist/plugin-utils.d.mts +11 -9
- package/dist/plugins/adapt-sandbox-entry.d.mts +11 -9
- package/dist/plugins/adapt-sandbox-entry.mjs +1 -1
- package/dist/{plugins-D6zhTwNX.mjs → plugins-pfraURNp.mjs} +8 -8
- package/dist/{policy-CrK1vl8l.mjs → policy-B6mVa7ib.mjs} +2 -2
- package/dist/{preview-E1xKZGsX.mjs → preview-Bh7D7F27.mjs} +3 -3
- package/dist/{provider-loader-H2wdGD0o.d.mts → provider-loader-DT7vQ5FI.d.mts} +1 -1
- package/dist/{public-url-Dj1vD21t.d.mts → public-url-BvnTaacI.d.mts} +1 -1
- package/dist/{public-url-zoO-QbN6.d.mts → public-url-Ccv0Xmue.d.mts} +2 -2
- package/dist/{publication-authorization-D4Cq5dn5.mjs → publication-authorization-B_HJSnzR.mjs} +10 -10
- package/dist/{query-DnK6LJdA.mjs → query-DLeahg3x.mjs} +4 -4
- package/dist/{query-BTxYlpUS.mjs → query-xspvw7Ui.mjs} +15 -15
- package/dist/{rate-limit-RaBJEgyt.mjs → rate-limit-BsBr_U9g.mjs} +2 -2
- package/dist/{redirect-HLI3wT5Y.mjs → redirect-BQFa1THe.mjs} +2 -2
- package/dist/{redirects-DpRiuRWn.mjs → redirects-CVfxefrz.mjs} +3 -3
- package/dist/{redirects-D16GFaOa.mjs → redirects-DJcsgz_X.mjs} +5 -5
- package/dist/{registry-DcV93OL_.mjs → registry-Dclv9iHv.mjs} +7 -7
- package/dist/{release-CZfAeyXm.mjs → release-B3Q-9B7N.mjs} +3 -3
- package/dist/request-context.d.mts +5 -1
- package/dist/request-context.mjs +12 -1
- package/dist/{request-meta-C6yGqnGD.mjs → request-meta-CjORiJQ_.mjs} +1 -1
- package/dist/{review-payload-BPwisxjF.mjs → review-payload-Bap86e75.mjs} +13 -13
- package/dist/{review-requests-BF2eEKr8.mjs → review-requests-CUVn0RBl.mjs} +2 -2
- package/dist/{review-requests-CP3Nfqhy.mjs → review-requests-CcSUTm_l.mjs} +2 -2
- package/dist/{review-route-helpers-BYx3Px90.mjs → review-route-helpers-CKBfGKCi.mjs} +1 -1
- package/dist/{revocation-DZ8e4JCS.mjs → revocation-C_ZQvGRT.mjs} +2 -2
- package/dist/{runner-CVeq0266.mjs → runner-CRU7BXjr.mjs} +1 -1
- package/dist/{runner-Cxl-vyk2.d.mts → runner-SoP1rphP.d.mts} +1 -1
- package/dist/{runs-B8kCirJ6.mjs → runs-BtaAiLTw.mjs} +4 -4
- package/dist/runtime.d.mts +14 -11
- package/dist/runtime.mjs +5 -4
- package/dist/scheduled-publish-BxdShRGs.d.mts +9 -0
- package/dist/schema-CosVhHJt.mjs +8 -0
- package/dist/{search-C9qOBgvo.mjs → search-BI9uKr7U.mjs} +3 -3
- package/dist/{secrets-BP2YTPWn.mjs → secrets-D_pergcD.mjs} +4 -4
- package/dist/{sections-CkoQY7Z9.mjs → sections-BqqYq9RW.mjs} +2 -2
- package/dist/seed/index.d.mts +2 -2
- package/dist/seed/index.mjs +24 -25
- package/dist/seo/index.d.mts +3 -3
- package/dist/seo/index.mjs +9 -9
- package/dist/{seo-Bypxm1iD.mjs → seo-B-5PsaJO.mjs} +1 -1
- package/dist/{seo-B3cQl1r2.mjs → seo-Bs_DUxJf.mjs} +2 -2
- package/dist/{service-CMR5_eSN.mjs → service-B65aJsN7.mjs} +3 -3
- package/dist/{service-mJBl4ZP4.mjs → service-W2xuGLgw.mjs} +2 -2
- package/dist/{session-user-DacoiKrJ.mjs → session-user-eweCNKzW.mjs} +1 -1
- package/dist/{settings-DiAKrrP4.mjs → settings-CyJ2-MKx.mjs} +2 -2
- package/dist/{settings-dNtUakSt.mjs → settings-DsBzKeUQ.mjs} +8 -8
- package/dist/{setup-complete-CWMnrNFN.mjs → setup-complete-DeivSVJi.mjs} +1 -1
- package/dist/{site-activity-BrN2NviL.mjs → site-activity-DU0UPDji.mjs} +1 -1
- package/dist/{site-context-Bll8ehSX.mjs → site-context-Dic2jHuw.mjs} +15 -15
- package/dist/{site-url-DoTPKRND.mjs → site-url-Tw6CfBB2.mjs} +1 -1
- package/dist/{state-D8AogXCV.mjs → state-DM7blWfT.mjs} +1 -1
- package/dist/storage/local.d.mts +1 -1
- package/dist/storage/local.mjs +1 -1
- package/dist/storage/s3.d.mts +1 -1
- package/dist/storage/s3.mjs +2 -2
- package/dist/{store-CjmmGlVw.mjs → store-32e6dfD-.mjs} +2 -2
- package/dist/{submission-CdXVheI1.mjs → submission-DJmRejGR.mjs} +10 -10
- package/dist/{taxonomies-rJBePDW_.mjs → taxonomies-BFsUR7kc.mjs} +3 -3
- package/dist/{taxonomies-9lXML1QX.mjs → taxonomies-lWGNLKgn.mjs} +7 -7
- package/dist/{taxonomy-CAd9SL-L.mjs → taxonomy-DN6i1upz.mjs} +3 -3
- package/dist/{trusted-proxy-CvDP0g0F.mjs → trusted-proxy-hYufGFPK.mjs} +1 -1
- package/dist/{types-5xfwCI4m.d.mts → types-CJynaYg1.d.mts} +15 -24
- package/dist/{types-BFoQ5a1v.d.mts → types-CgcOeaiQ.d.mts} +1 -1
- package/dist/{types-BqxIv8Il.mjs → types-RFzE_V1M.mjs} +1 -1
- package/dist/ui/server-runtime.d.mts +15 -13
- package/dist/ui/server-runtime.mjs +25 -26
- package/dist/{user-1-YV30lf.mjs → user-Btai9rl3.mjs} +2 -2
- package/dist/{utils-BoWkoty8.mjs → utils-CYxGuO_P.mjs} +2 -2
- package/dist/{validate-CupwWNWL.mjs → validate-C05z0m7M.mjs} +3 -3
- package/dist/{validate-CCOsvPg2.d.mts → validate-kmN2lS8H.d.mts} +3 -3
- package/dist/version-BnLdwIT1.mjs +6 -0
- package/dist/{widgets-DbOctkXv.mjs → widgets-BOrDZdQ3.mjs} +3 -3
- package/dist/{wordpress-slugs-pQlLXbKn.mjs → wordpress-slugs-ROzITIBK.mjs} +1 -1
- package/dist/{worker-0TNlZuCU.mjs → worker-Bg35R37I.mjs} +10 -10
- package/dist/workers-build-5UQ4j69Q.mjs +70 -0
- package/dist/{zod-generator-BzACAoR5.mjs → zod-generator-DkrWuID7.mjs} +2 -2
- package/package.json +10 -18
- package/dist/astro/middleware/workers.d.mts +0 -6
- package/dist/astro/middleware/workers.mjs +0 -8
- package/dist/d1-dialect-BBxPg6Om.mjs +0 -48
- package/dist/db/d1.d.mts +0 -7
- package/dist/db/d1.mjs +0 -13
- package/dist/schema-DFeC5axi.mjs +0 -8
- package/dist/version-cCcZvW0B.mjs +0 -6
- package/dist/workers-build-QVrquLLe.mjs +0 -36
- /package/dist/{api-tokens-DA18zxza.mjs → api-tokens-0N3nafqZ.mjs} +0 -0
- /package/dist/{challenge-store-DFGsDtCj.mjs → challenge-store-BPn3goP9.mjs} +0 -0
- /package/dist/{components-gMTtJqHg.mjs → components-rFN8NH3N.mjs} +0 -0
- /package/dist/{context-types-DLD_HnKT.mjs → context-types-CPWAJRs5.mjs} +0 -0
- /package/dist/{cron-BVYo08mi.mjs → cron-C7HCJPPl.mjs} +0 -0
- /package/dist/{default-w3MwLng7.mjs → default-BS6VQRkB.mjs} +0 -0
- /package/dist/{email-console-CpvgEN1w.mjs → email-console-GqK6hgMJ.mjs} +0 -0
- /package/dist/{error-B-44r5TD.mjs → error-B5a45Tfb.mjs} +0 -0
- /package/dist/{escape-B1GM0yJU.mjs → escape-CE7xOWzJ.mjs} +0 -0
- /package/dist/{experimental-workflows-fzJHB3ZI.mjs → experimental-workflows-BbxpWwBy.mjs} +0 -0
- /package/dist/{forgeway-account-CnWOIusE.mjs → forgeway-account-DcTxh3Gw.mjs} +0 -0
- /package/dist/{hash-DvMZXj2L.mjs → hash-D2Rqd2J2.mjs} +0 -0
- /package/dist/{media-url-D-elxQjL.mjs → media-url-D9kdpoLS.mjs} +0 -0
- /package/dist/{mime-D_ae-u_U.mjs → mime-BnVhH671.mjs} +0 -0
- /package/dist/{mode-BJwb_MgK.mjs → mode-D0gePRtf.mjs} +0 -0
- /package/dist/{normalize-5rct_U0I.mjs → normalize-aTwryvvi.mjs} +0 -0
- /package/dist/{oauth-authority-DOjME4Hh.mjs → oauth-authority-P5YMSk2z.mjs} +0 -0
- /package/dist/{oauth-state-store-D2H9hKcN.mjs → oauth-state-store-CMqLdo4I.mjs} +0 -0
- /package/dist/{options-BcqHWpc-.mjs → options-JiLWB6Bt.mjs} +0 -0
- /package/dist/{output-CdmbQioY.mjs → output-7HDrYTSQ.mjs} +0 -0
- /package/dist/{parser-ehIlj32k.mjs → parser-kettsjWc.mjs} +0 -0
- /package/dist/{passkey-config-sUQoLEj_.mjs → passkey-config-DVzQ3dv3.mjs} +0 -0
- /package/dist/{patterns-CZ7D4y_R.mjs → patterns-Ay-4KImK.mjs} +0 -0
- /package/dist/{placeholder-CQKI6vLd.d.mts → placeholder-DJLP_HY7.d.mts} +0 -0
- /package/dist/{portable-text-DH3Om_2D.mjs → portable-text-tQhvPLf1.mjs} +0 -0
- /package/dist/{process-cache-MHM4Sqzs.mjs → process-cache-C19OA3am.mjs} +0 -0
- /package/dist/{provider-loader-Dnv2neOu.mjs → provider-loader-DERzBMUz.mjs} +0 -0
- /package/dist/{public-discovery-CTql6jdZ.mjs → public-discovery-BGyhuD5U.mjs} +0 -0
- /package/dist/{public-url-DNt9A1yS.mjs → public-url-DFXUU6Wp.mjs} +0 -0
- /package/dist/{public-url-4sMO36Gw.mjs → public-url-sR8SVmTt.mjs} +0 -0
- /package/dist/{redirect-Cjjb5VYr.mjs → redirect-BxacnBYL.mjs} +0 -0
- /package/dist/{request-cache-DPmV5nk4.mjs → request-cache-8_ifFzVw.mjs} +0 -0
- /package/dist/{resolve-CpOV2jt_.mjs → resolve-DEKC4qVa.mjs} +0 -0
- /package/dist/{revision-090sZyGc.mjs → revision-W6FDfDqx.mjs} +0 -0
- /package/dist/{runtime-env-v-1UXPAH.mjs → runtime-env-CPTzh0mZ.mjs} +0 -0
- /package/dist/{seo-contributions-atY3jZEV.mjs → seo-contributions-LEFs1d7w.mjs} +0 -0
- /package/dist/{service-CeEi6nax.mjs → service-kQ5ljRzX.mjs} +0 -0
- /package/dist/{setup-nonce-BUmfCiY1.mjs → setup-nonce-B6A5Y1ea.mjs} +0 -0
- /package/dist/{sidecar-client-CbrX8nuw.mjs → sidecar-client-BwPhhz-F.mjs} +0 -0
- /package/dist/{slugify-Di8Q_MFq.mjs → slugify-kD31VIv2.mjs} +0 -0
- /package/dist/{ssrf-COxLChKv.mjs → ssrf-C9dyjU8O.mjs} +0 -0
- /package/dist/{stable-hash-DEtJgcp7.mjs → stable-hash-B9Tbb2f_.mjs} +0 -0
- /package/dist/{status-DBSB6tdS.mjs → status-Bjf_uSrW.mjs} +0 -0
- /package/dist/{tokens-I3tSjoFI.mjs → tokens-D-StaTAQ.mjs} +0 -0
- /package/dist/{transport-aPKvM53n.mjs → transport-BrU1aDY5.mjs} +0 -0
- /package/dist/{types-CVRNRAA5.d.mts → types-B--VyN3n.d.mts} +0 -0
- /package/dist/{types-SddyDti7.d.mts → types-B03h5jt_.d.mts} +0 -0
- /package/dist/{types-CyBH89BS.mjs → types-COvyXIp7.mjs} +0 -0
- /package/dist/{types-DNPP-eu4.d.mts → types-CtGSEKEJ.d.mts} +0 -0
- /package/dist/{types-ChSk0dmw.mjs → types-DNBL-4Sn.mjs} +0 -0
- /package/dist/{types-CAD4OvmF.d.mts → types-DsJTXStN.d.mts} +0 -0
- /package/dist/{types-BWsEjujW.d.mts → types-KFzuijKE.d.mts} +0 -0
- /package/dist/{types-BKsk4nnM.mjs → types-PLJ9hlhh.mjs} +0 -0
- /package/dist/{types-1qU0-N1P.d.mts → types-SlLXjRpg.d.mts} +0 -0
- /package/dist/{url-DfqolpO2.mjs → url-DGG3hw_h.mjs} +0 -0
- /package/dist/{url-Ce0qtSdB.mjs → url-DUz3LbCs.mjs} +0 -0
|
@@ -1,15 +1,16 @@
|
|
|
1
|
-
import { _ as UpdateCollectionInput, d as FieldType, f as FieldValidation, i as CollectionWithFields, o as CreateCollectionInput, s as CreateFieldInput, t as Collection, u as Field, v as UpdateFieldInput } from "./types-
|
|
2
|
-
import { f as UpdateContentInput, i as ContentItem$1, l as FindManyOptions, o as ContentSeoInput, r as ContentDateField, s as CreateContentInput, t as BylineSummary, u as FindManyResult } from "./types-
|
|
3
|
-
import { Ot as ReviewJobTable, t as Database } from "./types-
|
|
4
|
-
import { _ as MediaValue, f as MediaProvider, m as MediaProviderDescriptor, p as MediaProviderCapabilities } from "./placeholder-
|
|
1
|
+
import { _ as UpdateCollectionInput, d as FieldType, f as FieldValidation, i as CollectionWithFields, o as CreateCollectionInput, s as CreateFieldInput, t as Collection, u as Field, v as UpdateFieldInput } from "./types-SlLXjRpg.mjs";
|
|
2
|
+
import { f as UpdateContentInput, i as ContentItem$1, l as FindManyOptions, o as ContentSeoInput, r as ContentDateField, s as CreateContentInput, t as BylineSummary, u as FindManyResult } from "./types-CgcOeaiQ.mjs";
|
|
3
|
+
import { Ot as ReviewJobTable, t as Database } from "./types-B--VyN3n.mjs";
|
|
4
|
+
import { _ as MediaValue, f as MediaProvider, m as MediaProviderDescriptor, p as MediaProviderCapabilities } from "./placeholder-DJLP_HY7.mjs";
|
|
5
5
|
import { AtomicBatch } from "./database/batch.mjs";
|
|
6
|
-
import { D as ContentBylineInput } from "./index-
|
|
7
|
-
import { r as AuthProviderDescriptor, t as AuthDescriptor } from "./types-
|
|
8
|
-
import {
|
|
9
|
-
import { r as ObjectCacheDescriptor } from "./types-
|
|
6
|
+
import { D as ContentBylineInput } from "./index-BVGe04wF.mjs";
|
|
7
|
+
import { r as AuthProviderDescriptor, t as AuthDescriptor } from "./types-B03h5jt_.mjs";
|
|
8
|
+
import { t as DatabaseDescriptor } from "./adapters-C8nRpUuj.mjs";
|
|
9
|
+
import { r as ObjectCacheDescriptor } from "./types-CtGSEKEJ.mjs";
|
|
10
10
|
import { ServerTimingMetric } from "./database/instrumentation.mjs";
|
|
11
|
-
import { d as Storage } from "./types-
|
|
12
|
-
import {
|
|
11
|
+
import { d as Storage } from "./types-KFzuijKE.mjs";
|
|
12
|
+
import { t as PublishedRef } from "./scheduled-publish-BxdShRGs.mjs";
|
|
13
|
+
import { C as SiteSettingKey, w as SiteSettings } from "./validate-kmN2lS8H.mjs";
|
|
13
14
|
import { DinewayManifest, HandlerResponse } from "./astro/types.mjs";
|
|
14
15
|
import * as kysely from "kysely";
|
|
15
16
|
import { CompiledQuery, Dialect, Kysely, Migration, RawBuilder, Transaction } from "kysely";
|
|
@@ -2864,12 +2865,6 @@ interface SandboxRunnerRuntimeOptions extends SandboxOptions {
|
|
|
2864
2865
|
cronReschedule?: () => void;
|
|
2865
2866
|
}
|
|
2866
2867
|
//#endregion
|
|
2867
|
-
//#region src/scheduled-publish.d.ts
|
|
2868
|
-
interface PublishedRef {
|
|
2869
|
-
collection: string;
|
|
2870
|
-
id: string;
|
|
2871
|
-
}
|
|
2872
|
-
//#endregion
|
|
2873
2868
|
//#region src/site-context/actor.d.ts
|
|
2874
2869
|
type SiteAuthTokenType = "api_token" | "oauth_token";
|
|
2875
2870
|
interface SiteAuthTokenContext {
|
|
@@ -2987,6 +2982,7 @@ interface RuntimeDependencies {
|
|
|
2987
2982
|
config: DinewayConfig;
|
|
2988
2983
|
plugins: ResolvedPlugin[];
|
|
2989
2984
|
createDialect: (config: any) => Dialect;
|
|
2985
|
+
createCoalescingDialect?: (config: any) => Dialect;
|
|
2990
2986
|
createStorage: ((config: any) => Storage) | null;
|
|
2991
2987
|
sandboxEnabled: boolean;
|
|
2992
2988
|
/** Media provider entries from virtual module */
|
|
@@ -4721,11 +4717,6 @@ interface ResolvePathResult<T = Record<string, unknown>> {
|
|
|
4721
4717
|
*/
|
|
4722
4718
|
declare function resolveDinewayPath<T = Record<string, unknown>>(path: string): Promise<ResolvePathResult<T> | null>;
|
|
4723
4719
|
//#endregion
|
|
4724
|
-
//#region src/after.d.ts
|
|
4725
|
-
type AfterCallback = () => void | Promise<void>;
|
|
4726
|
-
/** Best-effort work; durable jobs still need a persisted queue or outbox. */
|
|
4727
|
-
declare function after(fn: AfterCallback): void;
|
|
4728
|
-
//#endregion
|
|
4729
4720
|
//#region src/object-cache/index.d.ts
|
|
4730
4721
|
/** Options for {@link cachedQuery}. */
|
|
4731
4722
|
interface CachedQueryOptions<T> {
|
|
@@ -5167,13 +5158,13 @@ declare const pluginManifestSchema: z.ZodObject<{
|
|
|
5167
5158
|
json: "json";
|
|
5168
5159
|
file: "file";
|
|
5169
5160
|
slug: "slug";
|
|
5170
|
-
image: "image";
|
|
5171
|
-
datetime: "datetime";
|
|
5172
5161
|
text: "text";
|
|
5173
5162
|
integer: "integer";
|
|
5163
|
+
datetime: "datetime";
|
|
5174
5164
|
select: "select";
|
|
5175
5165
|
multiSelect: "multiSelect";
|
|
5176
5166
|
portableText: "portableText";
|
|
5167
|
+
image: "image";
|
|
5177
5168
|
reference: "reference";
|
|
5178
5169
|
repeater: "repeater";
|
|
5179
5170
|
}>>;
|
|
@@ -8382,4 +8373,4 @@ interface PluginManifest {
|
|
|
8382
8373
|
admin: PluginAdminConfig;
|
|
8383
8374
|
}
|
|
8384
8375
|
//#endregion
|
|
8385
|
-
export { PluginMcpCommandPreview as $, handleMediaUpdate as $a, getEditMeta as $i, UpdateMenuItemInput as $n, handleContentUnpublish as $o, PluginSecretStatus as $r, WhereValue$1 as $s, PublicationReleasePreparationTarget as $t, MediaUploadEvent as A, PortableTextSpan as Aa, invalidateCollectionCache as Ai, getEntryTerms as An, DinewayConfig as Ao, verifyPreviewToken as Ar, AssignmentStatus as As, ResolvedPlugin as At, PluginActor as B, Section as Ba, CollectionFilter as Bi, UpdateTermInput as Bn, handleContentCreate as Bo, HandoffSnapshot as Br, SiteActivitySourceType as Bs, StorageCollectionConfig as Bt, FieldWidgetConfig as C, portableTextToProsemirror as Ca, ListResponse as Cc, verifyPreviewSignature as Ci, ReorderWidgetsInput as Cn, SandboxOptions as Co, getPreviewUrl as Cr, UpdateRelationInput as Cs, PortableTextBlockConfig as Ct, KVAccess as D, PortableTextImageBlock as Da, contentNamespace as Di, WidgetComponentDef as Dn, SerializedRequest as Do, VerifyPreviewTokenResult as Dr, AssignmentListQuery as Ds, PublicPageSchema as Dt, HttpAccess as E, PortableTextHtmlBlock as Ea, cachedQuery as Ei, WidgetArea as En, SandboxedPlugin as Eo, VerifyPreviewTokenOptions as Er, AssignmentActorType as Es, PublicPageImage as Et, PageMetadataContribution as F, ProseMirrorNode as Fa, invalidateTaxonomyObjectCache as Fi, getTermsForEntries as Fn, StorageDescriptor as Fo, CreateWorkflowAssignmentInput as Fr, CreateSiteActivityInput as Fs, StandardHookHandler as Ft, PluginAuthMethod as G, SchemaError as Ga, EntryResult as Gi, getMenus as Gn, handleContentGetIncludingTrashed as Go, NodeSandboxRunner as Gr, CreateMediaInput as Gs, PublicationReadinessBlocker as Gt, PluginAdminConfig as H, UpdateSectionInput as Ha, ContentEntry as Hi, getBylineBySlug as Hn, handleContentDiscardDraft as Ho, PublicationReleasePolicyContribution as Hr, Comment as Hs, isStandardPluginDefinition as Ht, PageMetadataEvent as I, getSection as Ia, isObjectCacheActive as Ii, CreateTermInput as In, handleContentAuthors as Io, HandoffResumeResult as Ir, SiteActivity as Is, StandardPluginDefinition as It, PluginD1Support as J, MediaResponse as Ja, SelectedCollectionData as Ji, Menu as Jn, handleContentPermanentDelete as Jo, SandboxNotAvailableError as Jr, ContentRepository as Js, PublicationReadinessPolicyTarget as Jt, PluginCapability as K, SchemaRegistry as Ka, InferCollectionData as Ki, CreateMenuInput as Kn, handleContentList as Ko, createNodeSandboxRunner as Kr, MediaItem$1 as Ks, PublicationReadinessPolicyBlocker as Kt, PageMetadataHandler as L, getSections as La, AfterCallback as Li, TaxonomyDef as Ln, handleContentCompare as Lo, HandoffSnapshotStore as Lr, SiteActivityActorType as Ls, StandardRouteEntry as Lt, PageFragmentContribution as M, PortableTextUnknownBlock as Ma, invalidateMenuObjectCache as Mi, getTaxonomyDefs as Mn, getStoredConfig as Mo, AssignmentActionInput as Mr, MarkAssignmentsOverdueInput as Ms, ResolvedPluginMcpConfig as Mt, PageFragmentEvent as N, ProseMirrorDocument as Na, invalidateObjectCache as Ni, getTaxonomyTerms as Nn, LocalStorageConfig as No, AssignmentListInput as Nr, ReviewRequest as Ns, RouteContext as Nt, LogAccess as O, PortableTextLinkMark as Oa, contentNamespaces as Oi, WidgetType as On, PluginMcpRegistry as Oo, generatePreviewToken as Or, AssignmentPriority as Os, PublicSchemaNode as Ot, PageFragmentHandler as P, ProseMirrorMark as Pa, invalidateSchemaObjectCache as Pi, getTerm as Pn, S3StorageConfig as Po, AssignmentService as Pr, ReviewRequestStatus as Ps, StandardHookEntry as Pt, PluginMcpAuthorization as Q, handleMediaList as Qa, getDinewayEntry as Qi, UpdateMenuInput as Qn, handleContentTranslations as Qo, createReviewedPluginMcpCommandExecutor as Qr, WhereRange as Qs, PublicationReleasePolicy as Qt, PageMetadataLinkRel as R, CreateSectionInput as Ra, after as Ri, TaxonomyTerm as Rn, handleContentCountScheduled as Ro, ResumeHandoffSnapshotInput as Rr, SiteActivityRepository as Rs, StandardRouteHandler as Rt, EmailMessage as S, hashString as Sa, FieldDescriptor as Sc, signPreviewUrl as Si, PropDef as Sn, SandboxEmailSendCallback as So, buildPreviewUrl as Sr, RelationRepository as Ss, PluginTargetScope as St, HookName as T, PortableTextCodeBlock as Ta, CachedQueryOptions as Ti, Widget as Tn, SandboxRunnerFactory as To, PreviewTokenPayload as Tr, AssignmentActorRef as Ts, PublicPageContext as Tt, PluginAdminExports as U, validateContent as Ua, DinewayCollections as Ui, getEntriesByByline as Un, handleContentDuplicate as Uo, PublicationReleasePolicyDisposition as Ur, PublicComment as Us, PublicationAuthorizationService as Ut, PluginActorType as V, SectionSource as Va, CollectionResult as Vi, getByline as Vn, handleContentDelete as Vo, BuiltContentReleasePayload as Vr, SiteActivityTimelineQuery as Vs, StoredComment as Vt, PluginAdminPage as W, getCollectionInfo as Wa, EditFieldMeta as Wi, getMenu as Wn, handleContentGet as Wo, buildStableActionHash as Wr, RevisionRepository as Ws, PublicationPolicyOverride as Wt, PluginHooks as X, handleMediaDelete as Xa, TranslationsResult as Xi, MenuItemType as Xn, handleContentRestore as Xo, PluginManager as Xr, EntryData as Xs, PublicationReadinessWarning as Xt, PluginDefinition as Y, handleMediaCreate as Ya, TranslationSummary as Yi, MenuItem as Yn, handleContentPublish as Yo, createNoopSandboxRunner as Yr, CollectionFilter$1 as Ys, PublicationReadinessResult as Yt, PluginManifest as Z, handleMediaGet as Za, getDinewayCollection as Zi, ReorderMenuItemsInput as Zn, handleContentSchedule as Zo, createPluginManager as Zr, EntryFilter as Zs, PublicationReceipt as Zt, EmailAfterSendHandler as _, RateLimitResult as _a, apiSuccess as _c, PreviewSidecarClient as _i, getWidgetArea as _n, EmailPipeline as _o, renderPreviewLoadingPage as _r, ImageValue as _s, PluginRouteMethod as _t, CommentAfterModerateEvent as a, createEditable as aa, D1Migration as ac, definePlugin as ai, search as an, generateManifest as ao, getPluginSettings as ar, submitAutomatedReview as as, PluginMcpQueryTool as at, EmailDeliverEvent as b, sanitizeHref as ba, ContentListResponse as bc, defaultPreviewSidecarClient as bi, CreateWidgetAreaInput as bn, createHookPipeline as bo, isPreviewRequest as br, CreateRelationInput as bs, PluginRouteTargetContext as bt, CommentBeforeCreateHandler as c, GuestAccessTokenClaims as ca, migrateD1 as cc, FileSessionDatabaseFactory as ci, FTSManager as cn, SiteBriefingContextEntry as co, setSiteSettings as cr, ContentWriteInput$1 as cs, PluginMcpReversibility as ct, ContentAccess as d, IssuedGuestAccessToken as da, OptionsRepository as dc, SessionDatabaseFactory as di, SearchOptions as dn, AtomicConfirmedContentAuthorizer as do, AppliedSnapshotMeta as dr, portableText as ds, PluginMcpTool as dt, getTranslations as ea, dinewayLoader as ec, PluginSecretStore as ei, currentTimestamp as en, RevisionListResponse as eo, GetCommentsOptions as er, handleContentUnschedule as es, PluginMcpCommandTool as et, ContentDeleteEvent as f, VerifyGuestAccessTokenOptions as fa, ParseResult as fc, SessionDatabaseHandle as fi, SearchResponse as fn, ConfirmedContentAuthorizer as fo, ApplySnapshotToDatabaseOptions as fr, reference as fs, PluginMigration as ft, EmailAfterSendEvent as g, verifyGuestAccessToken as ga, apiError as gc, SessionOpenOrCreateOptions as gi, Suggestion as gn, PluginRouteError as go, Snapshot as gr, FileValue as gs, PluginRouteBodyMode as gt, EmailAccess as h, issueGuestAccessToken as ha, parseQuery as hc, SessionOpenOptions as hi, SuggestOptions as hn, SiteAuthTokenContext as ho, getAppliedSnapshotMeta as hr, FieldUIHints as hs, PluginRouteAuthorization as ht, CommentAfterCreateHandler as i, FieldAnnotation as ia, Element as ic, runPluginMigrations as ii, getSuggestions as in, handleRevisionRestore as io, getPluginSetting as ir, prepareAutomatedReview as is, PluginMcpPiiPolicy as it, ModerationDecision as j, PortableTextTextBlock as ja, invalidateCommentObjectCache as ji, getTaxonomyDef as jn, PluginDescriptor as jo, AssignmentAccessContext as jr, CreateAssignmentInput as js, ResolvedPluginHooks as jt, MediaAccess as k, PortableTextMarkDef as ka, invalidateBylineObjectCache as ki, getEntriesByTerm as kn, PluginMcpTargetAuthorizer$1 as ko, parseContentId as kr, AssignmentRepository as ks, ResolvedHook as kt, CommentModerateEvent as l, GuestAccessTokenConfigurationError as la, D1SchemaObject as lc, FileSessionDatabaseFactoryOptions as li, CollectionSearchOptions as ln, DinewayRuntime as lo, PreviewToolbarConfig as lr, PreparedContentWrite as ls, PluginMcpRiskFactor as lt, ContentPublishStateChangeEvent as m, hashGuestAccessToken as ma, parseBody as mc, SessionDatabaseLimitError as mi, SearchStats as mn, PublishConfirmedContentInput as mo, dropSessionDatabaseTables as mr, FieldDefinition as ms, PluginRouteApiTokenPolicy as mt, CollectionCommentSettings as n, CMSAnnotation as na, DatabaseConfig as nc, ValidatedPluginManifest as ni, extractSearchableFields as nn, handleRevisionGet as no, getCommentCount as nr, ReviewSubmissionError as ns, PluginMcpExecutionContext as nt, CommentAfterModerateHandler as o, createNoop as oa, D1MigrationOptions as oc, FilePreviewMiddlewareConfig as oi, searchCollection as on, SiteBriefing as oo, getSiteSetting as or, ReviewRequestActorInput as os, PluginMcpResource as ot, ContentHookEvent as p, VerifyGuestAccessTokenResult as pa, isParseError as pc, SessionDatabaseInfo as pi, SearchResult as pn, ConfirmedContentPublicationResult as po, applySnapshotToDatabase as pr, image as ps, PluginRoute as pt, PluginContext as q, MediaListResponse as qa, ResolvePathResult as qi, CreateMenuItemInput as qn, handleContentListTrashed as qo, NoopSandboxRunner as qr, MediaRepository as qs, PublicationReadinessPolicyFinding as qt, CommentAfterCreateEvent as r, EditProxy as ra, DinewayDatabaseError as rc, pluginManifestSchema as ri, getSearchStats as rn, handleRevisionList as ro, getComments as rr, ReviewSubmissionInput as rs, PluginMcpPiiClass as rt, CommentBeforeCreateEvent as s, GuestAccessExpectedScope as sa, assertD1Migrations as sc, createFilePreviewMiddleware as si, searchWithDb as sn, SiteBriefingAssembler as so, getSiteSettings as sr, ContentReviewHandlers as ss, PluginMcpResourceContent as st, BreadcrumbItem as t, resolveDinewayPath as ta, getDb as tc, PluginSecretStoreOptions as ti, extractPlainText as tn, RevisionResponse as to, GetCommentsResult as tr, handleContentUpdate as ts, PluginMcpConfig as tt, CommentModerateHandler as u, IssueGuestAccessTokenOptions as ua, compileD1Schema as uc, SessionCleanupResult as ui, SearchConfig as un, SandboxedPluginEntry as uo, renderPreviewToolbar as ur, prepareContentWrite as us, PluginMcpRiskLevel as ut, EmailBeforeSendEvent as v, checkRateLimit as va, handleError as vc, PreviewSidecarSignature as vi, getWidgetAreas as vn, HookPipeline as vo, isBlockedInPreview as vr, PortableTextBlock$1 as vs, PluginRouteTargetAuthorizationRequest as vt, HookConfig as w, prosemirrorToPortableText as wa, ManifestResponse as wc, CacheNamespace as wi, UpdateWidgetInput as wn, SandboxRunner as wo, GeneratePreviewTokenOptions as wr, Assignment as ws, PortableTextBlockField as wt, EmailDeliverHandler as x, computeContentHash as xa, ContentResponse as xc, parsePreviewSignatureHeader as xi, CreateWidgetInput as xn, SandboxEmailMessage as xo, GetPreviewUrlOptions as xr, Relation as xs, PluginStorageConfig as xt, EmailBeforeSendHandler as y, isSafeHref as ya, ApiContext as yc, buildPreviewSignatureHeader as yi, getWidgetComponents as yn, HookResult as yo, getPreviewToken as yr, ContentReference as ys, PluginRouteTargetAuthorizer as yt, PagePlacement as z, GetSectionsOptions as za, CacheHint as zi, TaxonomyTermRow as zn, handleContentCountTrashed as zo, CreateHandoffSnapshotInput as zr, SiteActivityResultStatus as zs, StorageCollection as zt };
|
|
8376
|
+
export { PluginMcpCommandPreview as $, RevisionResponse as $a, resolveDinewayPath as $i, UpdateMenuItemInput as $n, handleContentUpdate as $o, PluginSecretStatus as $r, getDb as $s, PublicationReleasePreparationTarget as $t, MediaUploadEvent as A, PortableTextUnknownBlock as Aa, invalidateCollectionCache as Ai, getEntryTerms as An, getStoredConfig as Ao, verifyPreviewToken as Ar, MarkAssignmentsOverdueInput as As, ResolvedPlugin as At, PluginActor as B, UpdateSectionInput as Ba, ContentEntry as Bi, UpdateTermInput as Bn, handleContentDiscardDraft as Bo, HandoffSnapshot as Br, Comment as Bs, StorageCollectionConfig as Bt, FieldWidgetConfig as C, PortableTextCodeBlock as Ca, verifyPreviewSignature as Ci, ReorderWidgetsInput as Cn, SandboxRunnerFactory as Co, getPreviewUrl as Cr, AssignmentActorRef as Cs, PortableTextBlockConfig as Ct, KVAccess as D, PortableTextMarkDef as Da, contentNamespace as Di, WidgetComponentDef as Dn, PluginMcpTargetAuthorizer$1 as Do, VerifyPreviewTokenResult as Dr, AssignmentRepository as Ds, PublicPageSchema as Dt, HttpAccess as E, PortableTextLinkMark as Ea, cachedQuery as Ei, WidgetArea as En, PluginMcpRegistry as Eo, VerifyPreviewTokenOptions as Er, AssignmentPriority as Es, PublicPageImage as Et, PageMetadataContribution as F, getSections as Fa, invalidateTaxonomyObjectCache as Fi, getTermsForEntries as Fn, handleContentCompare as Fo, CreateWorkflowAssignmentInput as Fr, SiteActivityActorType as Fs, StandardHookHandler as Ft, PluginAuthMethod as G, MediaListResponse as Ga, ResolvePathResult as Gi, getMenus as Gn, handleContentListTrashed as Go, NodeSandboxRunner as Gr, MediaRepository as Gs, PublicationReadinessBlocker as Gt, PluginAdminConfig as H, getCollectionInfo as Ha, EditFieldMeta as Hi, getBylineBySlug as Hn, handleContentGet as Ho, PublicationReleasePolicyContribution as Hr, RevisionRepository as Hs, isStandardPluginDefinition as Ht, PageMetadataEvent as I, CreateSectionInput as Ia, isObjectCacheActive as Ii, CreateTermInput as In, handleContentCountScheduled as Io, HandoffResumeResult as Ir, SiteActivityRepository as Is, StandardPluginDefinition as It, PluginD1Support as J, handleMediaDelete as Ja, TranslationsResult as Ji, Menu as Jn, handleContentRestore as Jo, SandboxNotAvailableError as Jr, EntryData as Js, PublicationReadinessPolicyTarget as Jt, PluginCapability as K, MediaResponse as Ka, SelectedCollectionData as Ki, CreateMenuInput as Kn, handleContentPermanentDelete as Ko, createNodeSandboxRunner as Kr, ContentRepository as Ks, PublicationReadinessPolicyBlocker as Kt, PageMetadataHandler as L, GetSectionsOptions as La, CacheHint as Li, TaxonomyDef as Ln, handleContentCountTrashed as Lo, HandoffSnapshotStore as Lr, SiteActivityResultStatus as Ls, StandardRouteEntry as Lt, PageFragmentContribution as M, ProseMirrorMark as Ma, invalidateMenuObjectCache as Mi, getTaxonomyDefs as Mn, S3StorageConfig as Mo, AssignmentActionInput as Mr, ReviewRequestStatus as Ms, ResolvedPluginMcpConfig as Mt, PageFragmentEvent as N, ProseMirrorNode as Na, invalidateObjectCache as Ni, getTaxonomyTerms as Nn, StorageDescriptor as No, AssignmentListInput as Nr, CreateSiteActivityInput as Ns, RouteContext as Nt, LogAccess as O, PortableTextSpan as Oa, contentNamespaces as Oi, WidgetType as On, DinewayConfig as Oo, generatePreviewToken as Or, AssignmentStatus as Os, PublicSchemaNode as Ot, PageFragmentHandler as P, getSection as Pa, invalidateSchemaObjectCache as Pi, getTerm as Pn, handleContentAuthors as Po, AssignmentService as Pr, SiteActivity as Ps, StandardHookEntry as Pt, PluginMcpAuthorization as Q, RevisionListResponse as Qa, getTranslations as Qi, UpdateMenuInput as Qn, handleContentUnschedule as Qo, createReviewedPluginMcpCommandExecutor as Qr, dinewayLoader as Qs, PublicationReleasePolicy as Qt, PageMetadataLinkRel as R, Section as Ra, CollectionFilter as Ri, TaxonomyTerm as Rn, handleContentCreate as Ro, ResumeHandoffSnapshotInput as Rr, SiteActivitySourceType as Rs, StandardRouteHandler as Rt, EmailMessage as S, prosemirrorToPortableText as Sa, ManifestResponse as Sc, signPreviewUrl as Si, PropDef as Sn, SandboxRunner as So, buildPreviewUrl as Sr, Assignment as Ss, PluginTargetScope as St, HookName as T, PortableTextImageBlock as Ta, CachedQueryOptions as Ti, Widget as Tn, SerializedRequest as To, PreviewTokenPayload as Tr, AssignmentListQuery as Ts, PublicPageContext as Tt, PluginAdminExports as U, SchemaError as Ua, EntryResult as Ui, getEntriesByByline as Un, handleContentGetIncludingTrashed as Uo, PublicationReleasePolicyDisposition as Ur, CreateMediaInput as Us, PublicationAuthorizationService as Ut, PluginActorType as V, validateContent as Va, DinewayCollections as Vi, getByline as Vn, handleContentDuplicate as Vo, BuiltContentReleasePayload as Vr, PublicComment as Vs, StoredComment as Vt, PluginAdminPage as W, SchemaRegistry as Wa, InferCollectionData as Wi, getMenu as Wn, handleContentList as Wo, buildStableActionHash as Wr, MediaItem$1 as Ws, PublicationPolicyOverride as Wt, PluginHooks as X, handleMediaList as Xa, getDinewayEntry as Xi, MenuItemType as Xn, handleContentTranslations as Xo, PluginManager as Xr, WhereRange as Xs, PublicationReadinessWarning as Xt, PluginDefinition as Y, handleMediaGet as Ya, getDinewayCollection as Yi, MenuItem as Yn, handleContentSchedule as Yo, createNoopSandboxRunner as Yr, EntryFilter as Ys, PublicationReadinessResult as Yt, PluginManifest as Z, handleMediaUpdate as Za, getEditMeta as Zi, ReorderMenuItemsInput as Zn, handleContentUnpublish as Zo, createPluginManager as Zr, WhereValue$1 as Zs, PublicationReceipt as Zt, EmailAfterSendHandler as _, isSafeHref as _a, ApiContext as _c, PreviewSidecarClient as _i, getWidgetArea as _n, HookResult as _o, renderPreviewLoadingPage as _r, ContentReference as _s, PluginRouteMethod as _t, CommentAfterModerateEvent as a, GuestAccessExpectedScope as aa, assertD1Migrations as ac, definePlugin as ai, search as an, SiteBriefingAssembler as ao, getPluginSettings as ar, ContentReviewHandlers as as, PluginMcpQueryTool as at, EmailDeliverEvent as b, hashString as ba, FieldDescriptor as bc, defaultPreviewSidecarClient as bi, CreateWidgetAreaInput as bn, SandboxEmailSendCallback as bo, isPreviewRequest as br, RelationRepository as bs, PluginRouteTargetContext as bt, CommentBeforeCreateHandler as c, IssueGuestAccessTokenOptions as ca, compileD1Schema as cc, FileSessionDatabaseFactory as ci, FTSManager as cn, SandboxedPluginEntry as co, setSiteSettings as cr, prepareContentWrite as cs, PluginMcpReversibility as ct, ContentAccess as d, VerifyGuestAccessTokenResult as da, isParseError as dc, SessionDatabaseFactory as di, SearchOptions as dn, ConfirmedContentPublicationResult as do, AppliedSnapshotMeta as dr, image as ds, PluginMcpTool as dt, CMSAnnotation as ea, DatabaseConfig as ec, PluginSecretStore as ei, currentTimestamp as en, handleRevisionGet as eo, GetCommentsOptions as er, ReviewSubmissionError as es, PluginMcpCommandTool as et, ContentDeleteEvent as f, hashGuestAccessToken as fa, parseBody as fc, SessionDatabaseHandle as fi, SearchResponse as fn, PublishConfirmedContentInput as fo, ApplySnapshotToDatabaseOptions as fr, FieldDefinition as fs, PluginMigration as ft, EmailAfterSendEvent as g, checkRateLimit as ga, handleError as gc, SessionOpenOrCreateOptions as gi, Suggestion as gn, HookPipeline as go, Snapshot as gr, PortableTextBlock$1 as gs, PluginRouteBodyMode as gt, EmailAccess as h, RateLimitResult as ha, apiSuccess as hc, SessionOpenOptions as hi, SuggestOptions as hn, EmailPipeline as ho, getAppliedSnapshotMeta as hr, ImageValue as hs, PluginRouteAuthorization as ht, CommentAfterCreateHandler as i, createNoop as ia, D1MigrationOptions as ic, runPluginMigrations as ii, getSuggestions as in, SiteBriefing as io, getPluginSetting as ir, ReviewRequestActorInput as is, PluginMcpPiiPolicy as it, ModerationDecision as j, ProseMirrorDocument as ja, invalidateCommentObjectCache as ji, getTaxonomyDef as jn, LocalStorageConfig as jo, AssignmentAccessContext as jr, ReviewRequest as js, ResolvedPluginHooks as jt, MediaAccess as k, PortableTextTextBlock as ka, invalidateBylineObjectCache as ki, getEntriesByTerm as kn, PluginDescriptor as ko, parseContentId as kr, CreateAssignmentInput as ks, ResolvedHook as kt, CommentModerateEvent as l, IssuedGuestAccessToken as la, OptionsRepository as lc, FileSessionDatabaseFactoryOptions as li, CollectionSearchOptions as ln, AtomicConfirmedContentAuthorizer as lo, PreviewToolbarConfig as lr, portableText as ls, PluginMcpRiskFactor as lt, ContentPublishStateChangeEvent as m, verifyGuestAccessToken as ma, apiError as mc, SessionDatabaseLimitError as mi, SearchStats as mn, PluginRouteError as mo, dropSessionDatabaseTables as mr, FileValue as ms, PluginRouteApiTokenPolicy as mt, CollectionCommentSettings as n, FieldAnnotation as na, Element as nc, ValidatedPluginManifest as ni, extractSearchableFields as nn, handleRevisionRestore as no, getCommentCount as nr, prepareAutomatedReview as ns, PluginMcpExecutionContext as nt, CommentAfterModerateHandler as o, GuestAccessTokenClaims as oa, migrateD1 as oc, FilePreviewMiddlewareConfig as oi, searchCollection as on, SiteBriefingContextEntry as oo, getSiteSetting as or, ContentWriteInput$1 as os, PluginMcpResource as ot, ContentHookEvent as p, issueGuestAccessToken as pa, parseQuery as pc, SessionDatabaseInfo as pi, SearchResult as pn, SiteAuthTokenContext as po, applySnapshotToDatabase as pr, FieldUIHints as ps, PluginRoute as pt, PluginContext as q, handleMediaCreate as qa, TranslationSummary as qi, CreateMenuItemInput as qn, handleContentPublish as qo, NoopSandboxRunner as qr, CollectionFilter$1 as qs, PublicationReadinessPolicyFinding as qt, CommentAfterCreateEvent as r, createEditable as ra, D1Migration as rc, pluginManifestSchema as ri, getSearchStats as rn, generateManifest as ro, getComments as rr, submitAutomatedReview as rs, PluginMcpPiiClass as rt, CommentBeforeCreateEvent as s, GuestAccessTokenConfigurationError as sa, D1SchemaObject as sc, createFilePreviewMiddleware as si, searchWithDb as sn, DinewayRuntime as so, getSiteSettings as sr, PreparedContentWrite as ss, PluginMcpResourceContent as st, BreadcrumbItem as t, EditProxy as ta, DinewayDatabaseError as tc, PluginSecretStoreOptions as ti, extractPlainText as tn, handleRevisionList as to, GetCommentsResult as tr, ReviewSubmissionInput as ts, PluginMcpConfig as tt, CommentModerateHandler as u, VerifyGuestAccessTokenOptions as ua, ParseResult as uc, SessionCleanupResult as ui, SearchConfig as un, ConfirmedContentAuthorizer as uo, renderPreviewToolbar as ur, reference as us, PluginMcpRiskLevel as ut, EmailBeforeSendEvent as v, sanitizeHref as va, ContentListResponse as vc, PreviewSidecarSignature as vi, getWidgetAreas as vn, createHookPipeline as vo, isBlockedInPreview as vr, CreateRelationInput as vs, PluginRouteTargetAuthorizationRequest as vt, HookConfig as w, PortableTextHtmlBlock as wa, CacheNamespace as wi, UpdateWidgetInput as wn, SandboxedPlugin as wo, GeneratePreviewTokenOptions as wr, AssignmentActorType as ws, PortableTextBlockField as wt, EmailDeliverHandler as x, portableTextToProsemirror as xa, ListResponse as xc, parsePreviewSignatureHeader as xi, CreateWidgetInput as xn, SandboxOptions as xo, GetPreviewUrlOptions as xr, UpdateRelationInput as xs, PluginStorageConfig as xt, EmailBeforeSendHandler as y, computeContentHash as ya, ContentResponse as yc, buildPreviewSignatureHeader as yi, getWidgetComponents as yn, SandboxEmailMessage as yo, getPreviewToken as yr, Relation as ys, PluginRouteTargetAuthorizer as yt, PagePlacement as z, SectionSource as za, CollectionResult as zi, TaxonomyTermRow as zn, handleContentDelete as zo, CreateHandoffSnapshotInput as zr, SiteActivityTimelineQuery as zs, StorageCollection as zt };
|
|
@@ -1,17 +1,19 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import "../types-
|
|
3
|
-
import { _ as MediaValue, c as EmbedResult, l as ImageEmbed, s as EmbedOptions } from "../placeholder-
|
|
4
|
-
import "../runner-
|
|
5
|
-
import "../index-
|
|
6
|
-
import "../types-
|
|
7
|
-
import "../
|
|
8
|
-
import
|
|
9
|
-
import "../
|
|
10
|
-
import "../
|
|
11
|
-
import
|
|
12
|
-
import
|
|
1
|
+
import { F as PageMetadataContribution, Ha as getCollectionInfo, Nn as getTaxonomyTerms, Tn as Widget, Tt as PublicPageContext, Vs as PublicComment, Wn as getMenu, Yi as getDinewayCollection, Zi as getEditMeta, _n as getWidgetArea, rr as getComments, sr as getSiteSettings, va as sanitizeHref } from "../types-CJynaYg1.mjs";
|
|
2
|
+
import "../types-B--VyN3n.mjs";
|
|
3
|
+
import { _ as MediaValue, c as EmbedResult, l as ImageEmbed, s as EmbedOptions } from "../placeholder-DJLP_HY7.mjs";
|
|
4
|
+
import "../runner-SoP1rphP.mjs";
|
|
5
|
+
import "../index-BVGe04wF.mjs";
|
|
6
|
+
import "../types-B03h5jt_.mjs";
|
|
7
|
+
import "../adapters-C8nRpUuj.mjs";
|
|
8
|
+
import "../scheduled-publish-BxdShRGs.mjs";
|
|
9
|
+
import "../public-url-Ccv0Xmue.mjs";
|
|
10
|
+
import { x as MediaReference } from "../validate-kmN2lS8H.mjs";
|
|
11
|
+
import "../byline-fields-CKhPED5o.mjs";
|
|
12
|
+
import "../types-DsJTXStN.mjs";
|
|
13
|
+
import { t as getPublicOrigin } from "../public-url-BvnTaacI.mjs";
|
|
14
|
+
import { a as generateSiteSeoContributions, c as ResolvedPageMetadata, d as renderPageMetadata, f as resolvePageMetadata, i as generateBaseSeoContributions, l as createSha256CspHash, o as renderFragments } from "../jsonld-XWmmAoVo.mjs";
|
|
13
15
|
import { getPageRuntime } from "../page/index.mjs";
|
|
14
|
-
import { t as getMediaProvider } from "../provider-loader-
|
|
16
|
+
import { t as getMediaProvider } from "../provider-loader-DT7vQ5FI.mjs";
|
|
15
17
|
|
|
16
18
|
//#region src/utils/sanitize.d.ts
|
|
17
19
|
/**
|
|
@@ -1,31 +1,30 @@
|
|
|
1
|
-
import "../d1-binding-
|
|
1
|
+
import "../d1-binding-DrLMBUxu.mjs";
|
|
2
2
|
import "../dialect-helpers-C6xtO-Ui.mjs";
|
|
3
3
|
import "../base64-Cz-aU0X1.mjs";
|
|
4
|
-
import "../types-
|
|
5
|
-
import "../loader-
|
|
6
|
-
import "../
|
|
7
|
-
import "../
|
|
8
|
-
import "../
|
|
9
|
-
import "../
|
|
10
|
-
import "../
|
|
11
|
-
import "../
|
|
12
|
-
import "../
|
|
13
|
-
import "../
|
|
14
|
-
import "../
|
|
15
|
-
import "../
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
import
|
|
19
|
-
import "../
|
|
20
|
-
import {
|
|
21
|
-
import {
|
|
22
|
-
import
|
|
23
|
-
import "../
|
|
24
|
-
import {
|
|
25
|
-
import { t as
|
|
26
|
-
import {
|
|
27
|
-
import { n as
|
|
28
|
-
import { a as createSha256CspHash, c as resolvePageMetadata, g as absolutizeMediaUrl, n as generateSiteSeoContributions, o as escapeHtmlAttr, r as renderFragments, s as renderPageMetadata, t as generateBaseSeoContributions } from "../seo-contributions-atY3jZEV.mjs";
|
|
4
|
+
import "../types-RFzE_V1M.mjs";
|
|
5
|
+
import "../loader-Dp6zLmQm.mjs";
|
|
6
|
+
import "../object-cache-mxCW-Rpt.mjs";
|
|
7
|
+
import "../media-C5ba8fvI.mjs";
|
|
8
|
+
import "../comment-DAQfUjqt.mjs";
|
|
9
|
+
import "../options-JiLWB6Bt.mjs";
|
|
10
|
+
import "../request-cache-8_ifFzVw.mjs";
|
|
11
|
+
import "../content-refresh-BilzqcLt.mjs";
|
|
12
|
+
import "../fts-manager-BrPpYtK0.mjs";
|
|
13
|
+
import "../public-discovery-BGyhuD5U.mjs";
|
|
14
|
+
import "../registry-Dclv9iHv.mjs";
|
|
15
|
+
import { n as buildRenderMediaUrl } from "../url-DUz3LbCs.mjs";
|
|
16
|
+
import { i as getSiteSettings } from "../settings-DsBzKeUQ.mjs";
|
|
17
|
+
import { t as getCollectionInfo } from "../query-DLeahg3x.mjs";
|
|
18
|
+
import "../resolve-DEKC4qVa.mjs";
|
|
19
|
+
import { a as getTaxonomyTerms } from "../taxonomies-lWGNLKgn.mjs";
|
|
20
|
+
import { n as sanitizeHref } from "../url-DGG3hw_h.mjs";
|
|
21
|
+
import { r as getEditMeta, t as getDinewayCollection } from "../query-xspvw7Ui.mjs";
|
|
22
|
+
import "../comment-reaction-Dp3G7UZc.mjs";
|
|
23
|
+
import { i as getComments, t as getMenu } from "../menus-w5xwT-f5.mjs";
|
|
24
|
+
import { t as getWidgetArea } from "../widgets-BOrDZdQ3.mjs";
|
|
25
|
+
import { t as getMediaProvider } from "../provider-loader-DERzBMUz.mjs";
|
|
26
|
+
import { n as getPublicOrigin } from "../public-url-sR8SVmTt.mjs";
|
|
27
|
+
import { a as createSha256CspHash, c as resolvePageMetadata, g as absolutizeMediaUrl, n as generateSiteSeoContributions, o as escapeHtmlAttr, r as renderFragments, s as renderPageMetadata, t as generateBaseSeoContributions } from "../seo-contributions-LEFs1d7w.mjs";
|
|
29
28
|
import { getPageRuntime } from "../page/index.mjs";
|
|
30
29
|
import sanitizeHtml from "sanitize-html";
|
|
31
30
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { i as encodeCursor, r as decodeCursor } from "./types-
|
|
2
|
-
import { n as chunks, t as SQL_BATCH_SIZE } from "./chunks-
|
|
1
|
+
import { i as encodeCursor, r as decodeCursor } from "./types-RFzE_V1M.mjs";
|
|
2
|
+
import { n as chunks, t as SQL_BATCH_SIZE } from "./chunks-C8vSD_5L.mjs";
|
|
3
3
|
import { ulid } from "ulidx";
|
|
4
4
|
|
|
5
5
|
//#region src/database/repositories/user.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as slugify } from "./slugify-
|
|
2
|
-
import { o as RESERVED_FIELD_SLUGS } from "./types-
|
|
1
|
+
import { n as slugify } from "./slugify-kD31VIv2.mjs";
|
|
2
|
+
import { o as RESERVED_FIELD_SLUGS } from "./types-COvyXIp7.mjs";
|
|
3
3
|
import mime from "mime/lite";
|
|
4
4
|
|
|
5
5
|
//#region src/import/utils.ts
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { c as __exportAll } from "./runner-
|
|
2
|
-
import { n as FIELD_TYPES } from "./types-
|
|
3
|
-
import { r as publicDiscoveryRulesSchema } from "./public-discovery-
|
|
1
|
+
import { c as __exportAll } from "./runner-CRU7BXjr.mjs";
|
|
2
|
+
import { n as FIELD_TYPES } from "./types-COvyXIp7.mjs";
|
|
3
|
+
import { r as publicDiscoveryRulesSchema } from "./public-discovery-BGyhuD5U.mjs";
|
|
4
4
|
|
|
5
5
|
//#region src/seed/validate.ts
|
|
6
6
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { d as FieldType, m as PublicDiscoveryRules } from "./types-
|
|
2
|
-
import { t as Database } from "./types-
|
|
3
|
-
import { d as Storage } from "./types-
|
|
1
|
+
import { d as FieldType, m as PublicDiscoveryRules } from "./types-SlLXjRpg.mjs";
|
|
2
|
+
import { t as Database } from "./types-B--VyN3n.mjs";
|
|
3
|
+
import { d as Storage } from "./types-KFzuijKE.mjs";
|
|
4
4
|
import { Kysely } from "kysely";
|
|
5
5
|
|
|
6
6
|
//#region src/settings/types.d.ts
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { r as getDb } from "./loader-
|
|
2
|
-
import { r as requestCached } from "./request-cache-
|
|
3
|
-
import { t as getWidgetComponents$1 } from "./components-
|
|
1
|
+
import { r as getDb } from "./loader-Dp6zLmQm.mjs";
|
|
2
|
+
import { r as requestCached } from "./request-cache-8_ifFzVw.mjs";
|
|
3
|
+
import { t as getWidgetComponents$1 } from "./components-rFN8NH3N.mjs";
|
|
4
4
|
|
|
5
5
|
//#region src/widgets/index.ts
|
|
6
6
|
/**
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { getRequestContext, runWithContext } from "./request-context.mjs";
|
|
2
2
|
import { AtomicWriteConflict, atomicBatch, isD1Database, rowUnchanged } from "./database/batch.mjs";
|
|
3
|
-
import { t as ContentRepository } from "./content-
|
|
4
|
-
import { t as SiteActivityRepository } from "./site-activity-
|
|
5
|
-
import { t as buildStableHash } from "./stable-hash-
|
|
6
|
-
import { r as ReviewRequestRepository } from "./review-requests-
|
|
7
|
-
import { t as PublicationAuthorizationError } from "./publication-authorization-
|
|
8
|
-
import { t as ReviewPayloadBuilder } from "./review-payload-
|
|
9
|
-
import { t as DinewayToolsError } from "./service-
|
|
10
|
-
import { i as REVIEW_MODEL, o as matchesDecisionModel } from "./runs-
|
|
11
|
-
import { i as reviewDraft, n as loadReviewContext, r as loadReviewImages, t as ReviewEvidenceError } from "./evidence-
|
|
12
|
-
import { a as reviewQuestions, n as classifyReview, r as getReviewPolicy, t as REVIEW_THRESHOLDS } from "./policy-
|
|
3
|
+
import { t as ContentRepository } from "./content-CIKsrvU9.mjs";
|
|
4
|
+
import { t as SiteActivityRepository } from "./site-activity-DU0UPDji.mjs";
|
|
5
|
+
import { t as buildStableHash } from "./stable-hash-B9Tbb2f_.mjs";
|
|
6
|
+
import { r as ReviewRequestRepository } from "./review-requests-CUVn0RBl.mjs";
|
|
7
|
+
import { t as PublicationAuthorizationError } from "./publication-authorization-B_HJSnzR.mjs";
|
|
8
|
+
import { t as ReviewPayloadBuilder } from "./review-payload-Bap86e75.mjs";
|
|
9
|
+
import { t as DinewayToolsError } from "./service-kQ5ljRzX.mjs";
|
|
10
|
+
import { i as REVIEW_MODEL, o as matchesDecisionModel } from "./runs-BtaAiLTw.mjs";
|
|
11
|
+
import { i as reviewDraft, n as loadReviewContext, r as loadReviewImages, t as ReviewEvidenceError } from "./evidence-Vnp_fQbC.mjs";
|
|
12
|
+
import { a as reviewQuestions, n as classifyReview, r as getReviewPolicy, t as REVIEW_THRESHOLDS } from "./policy-B6mVa7ib.mjs";
|
|
13
13
|
import { sql } from "kysely";
|
|
14
14
|
import { z } from "zod";
|
|
15
15
|
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
import { join } from "node:path";
|
|
3
|
+
import { readFile, writeFile } from "node:fs/promises";
|
|
4
|
+
|
|
5
|
+
//#region src/astro/integration/workers-build.ts
|
|
6
|
+
const WORKERS_BUILD_METADATA = "dineway-workers.json";
|
|
7
|
+
const databaseSchema = z.object({
|
|
8
|
+
entrypoint: z.literal("@dineway-ai/cloudflare/db/d1"),
|
|
9
|
+
binding: z.string().regex(/^[A-Za-z_][A-Za-z0-9_]*$/),
|
|
10
|
+
session: z.enum([
|
|
11
|
+
"disabled",
|
|
12
|
+
"auto",
|
|
13
|
+
"primary-first"
|
|
14
|
+
]).optional(),
|
|
15
|
+
coalesce: z.boolean().optional()
|
|
16
|
+
});
|
|
17
|
+
async function writeWorkersBuildMetadata(directory, config) {
|
|
18
|
+
const database = databaseSchema.parse({
|
|
19
|
+
entrypoint: config.database?.entrypoint,
|
|
20
|
+
...z.object({
|
|
21
|
+
binding: z.string(),
|
|
22
|
+
session: z.enum([
|
|
23
|
+
"disabled",
|
|
24
|
+
"auto",
|
|
25
|
+
"primary-first"
|
|
26
|
+
]).optional(),
|
|
27
|
+
coalesce: z.boolean().optional()
|
|
28
|
+
}).parse(config.database?.config)
|
|
29
|
+
});
|
|
30
|
+
await writeFile(join(directory, WORKERS_BUILD_METADATA), JSON.stringify({
|
|
31
|
+
database,
|
|
32
|
+
...config.storage?.entrypoint === "@dineway-ai/cloudflare/storage/r2" ? { storage: {
|
|
33
|
+
kind: "r2",
|
|
34
|
+
binding: z.object({ binding: z.string() }).parse(config.storage.config).binding
|
|
35
|
+
} } : {}
|
|
36
|
+
}) + "\n");
|
|
37
|
+
}
|
|
38
|
+
async function validateWorkersBindings(directory, config) {
|
|
39
|
+
let metadata;
|
|
40
|
+
try {
|
|
41
|
+
metadata = JSON.parse(await readFile(join(directory, WORKERS_BUILD_METADATA), "utf8"));
|
|
42
|
+
} catch (cause) {
|
|
43
|
+
throw new Error("Missing Dineway build metadata. Rebuild the Cloudflare application before deploying.", { cause });
|
|
44
|
+
}
|
|
45
|
+
const { database, storage } = z.object({
|
|
46
|
+
database: databaseSchema,
|
|
47
|
+
storage: z.object({
|
|
48
|
+
kind: z.literal("r2"),
|
|
49
|
+
binding: z.string()
|
|
50
|
+
}).optional()
|
|
51
|
+
}).parse(metadata);
|
|
52
|
+
if (storage) {
|
|
53
|
+
const buckets = z.array(z.object({
|
|
54
|
+
binding: z.string(),
|
|
55
|
+
bucket_name: z.string().min(1)
|
|
56
|
+
})).safeParse(config.r2_buckets ?? []);
|
|
57
|
+
if (!buckets.success || buckets.data.filter((bucket) => bucket.binding === storage.binding).length !== 1) throw new Error(`Missing or ambiguous R2 binding ${storage.binding}.`);
|
|
58
|
+
}
|
|
59
|
+
if (database.session && database.session !== "disabled" && Array.isArray(config.compatibility_flags) && config.compatibility_flags.includes("global_fetch_strictly_public")) throw new Error("D1 Sessions are incompatible with global_fetch_strictly_public. Remove the flag and verify same-zone routing, or disable sessions.");
|
|
60
|
+
const bindings = z.array(z.object({
|
|
61
|
+
binding: z.string(),
|
|
62
|
+
database_id: z.string().uuid()
|
|
63
|
+
})).safeParse(config.d1_databases ?? []);
|
|
64
|
+
if (!bindings.success) throw new Error("D1 bindings require a binding name and a valid database_id.");
|
|
65
|
+
if (new Set(bindings.data.map((binding) => binding.binding)).size !== bindings.data.length) throw new Error("D1 binding names must be unique.");
|
|
66
|
+
if (!bindings.data.some((binding) => binding.binding === database.binding)) throw new Error(`Missing D1 binding ${database.binding}. Add it to the Wrangler configuration and rebuild.`);
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
//#endregion
|
|
70
|
+
export { validateWorkersBindings as n, writeWorkersBuildMetadata as r, WORKERS_BUILD_METADATA as t };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { c as __exportAll } from "./runner-
|
|
2
|
-
import { n as hashString } from "./hash-
|
|
1
|
+
import { c as __exportAll } from "./runner-CRU7BXjr.mjs";
|
|
2
|
+
import { n as hashString } from "./hash-D2Rqd2J2.mjs";
|
|
3
3
|
import { z } from "zod";
|
|
4
4
|
|
|
5
5
|
//#region src/schema/zod-generator.ts
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dineway",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.39",
|
|
4
4
|
"description": "Agentic Website builder for restaurants — structured content meets AI via the Model Context Protocol",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"publishConfig": {
|
|
@@ -194,14 +194,6 @@
|
|
|
194
194
|
"types": "./dist/plugins/adapt-sandbox-entry.d.mts",
|
|
195
195
|
"default": "./dist/plugins/adapt-sandbox-entry.mjs"
|
|
196
196
|
},
|
|
197
|
-
"./middleware/workers": {
|
|
198
|
-
"types": "./dist/astro/middleware/workers.d.mts",
|
|
199
|
-
"default": "./dist/astro/middleware/workers.mjs"
|
|
200
|
-
},
|
|
201
|
-
"./db/d1": {
|
|
202
|
-
"types": "./dist/db/d1.d.mts",
|
|
203
|
-
"default": "./dist/db/d1.mjs"
|
|
204
|
-
},
|
|
205
197
|
"./db/batch": {
|
|
206
198
|
"types": "./dist/database/batch.d.mts",
|
|
207
199
|
"default": "./dist/database/batch.mjs"
|
|
@@ -209,6 +201,10 @@
|
|
|
209
201
|
"./db/d1-migrations": {
|
|
210
202
|
"types": "./dist/database/d1/index.d.mts",
|
|
211
203
|
"default": "./dist/database/d1/index.mjs"
|
|
204
|
+
},
|
|
205
|
+
"./after": {
|
|
206
|
+
"types": "./dist/after.d.mts",
|
|
207
|
+
"default": "./dist/after.mjs"
|
|
212
208
|
}
|
|
213
209
|
},
|
|
214
210
|
"imports": {
|
|
@@ -364,17 +360,14 @@
|
|
|
364
360
|
"": [
|
|
365
361
|
"dist/index.d.mts"
|
|
366
362
|
],
|
|
367
|
-
"middleware/workers": [
|
|
368
|
-
"dist/astro/middleware/workers.d.mts"
|
|
369
|
-
],
|
|
370
|
-
"db/d1": [
|
|
371
|
-
"dist/db/d1.d.mts"
|
|
372
|
-
],
|
|
373
363
|
"db/batch": [
|
|
374
364
|
"dist/database/batch.d.mts"
|
|
375
365
|
],
|
|
376
366
|
"db/d1-migrations": [
|
|
377
367
|
"dist/database/d1/index.d.mts"
|
|
368
|
+
],
|
|
369
|
+
"after": [
|
|
370
|
+
"dist/after.d.mts"
|
|
378
371
|
]
|
|
379
372
|
}
|
|
380
373
|
},
|
|
@@ -409,7 +402,6 @@
|
|
|
409
402
|
"jiti": "^2.6.1",
|
|
410
403
|
"jpeg-js": "^0.4.4",
|
|
411
404
|
"kysely": "^0.27.0",
|
|
412
|
-
"kysely-d1": "0.4.0",
|
|
413
405
|
"mime": "^4.1.0",
|
|
414
406
|
"minisearch": "^7.2.0",
|
|
415
407
|
"modern-tar": "^0.7.5",
|
|
@@ -421,8 +413,8 @@
|
|
|
421
413
|
"upng-js": "^2.1.0",
|
|
422
414
|
"zod": "^4.4.1",
|
|
423
415
|
"@dineway-ai/admin": "^0.2.13",
|
|
424
|
-
"@dineway-ai/
|
|
425
|
-
"@dineway-ai/
|
|
416
|
+
"@dineway-ai/gutenberg-to-portable-text": "^0.2.3",
|
|
417
|
+
"@dineway-ai/auth": "^0.2.6"
|
|
426
418
|
},
|
|
427
419
|
"optionalDependencies": {
|
|
428
420
|
"@aws-sdk/client-s3": "^3.1049.0",
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { r as runWithBackgroundTasks } from "../../after-BVaUn7bK.mjs";
|
|
2
|
-
import { waitUntil } from "cloudflare:workers";
|
|
3
|
-
|
|
4
|
-
//#region src/astro/middleware/workers.ts
|
|
5
|
-
const onRequest = (_context, next) => runWithBackgroundTasks(waitUntil, next);
|
|
6
|
-
|
|
7
|
-
//#endregion
|
|
8
|
-
export { onRequest };
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
import { t as D1_BINDING } from "./d1-binding-D6HZa3ks.mjs";
|
|
2
|
-
import { OperationNodeTransformer, SqliteAdapter, SqliteIntrospector, TableNode, WhereNode, sql } from "kysely";
|
|
3
|
-
import { D1Dialect } from "kysely-d1";
|
|
4
|
-
|
|
5
|
-
//#region src/db/d1-dialect.ts
|
|
6
|
-
var DinewayD1Adapter = class extends SqliteAdapter {
|
|
7
|
-
[D1_BINDING];
|
|
8
|
-
constructor(database) {
|
|
9
|
-
super();
|
|
10
|
-
this[D1_BINDING] = database;
|
|
11
|
-
}
|
|
12
|
-
async acquireMigrationLock() {
|
|
13
|
-
throw new Error("D1 schema changes require the explicit Dineway migration runner.");
|
|
14
|
-
}
|
|
15
|
-
};
|
|
16
|
-
var DinewayD1Dialect = class extends D1Dialect {
|
|
17
|
-
constructor(binding) {
|
|
18
|
-
super({ database: binding });
|
|
19
|
-
this.binding = binding;
|
|
20
|
-
}
|
|
21
|
-
createAdapter() {
|
|
22
|
-
return new DinewayD1Adapter(this.binding);
|
|
23
|
-
}
|
|
24
|
-
createIntrospector(db) {
|
|
25
|
-
const transformer = new D1IntrospectionFilter();
|
|
26
|
-
return new SqliteIntrospector(db.withPlugin({
|
|
27
|
-
transformQuery: ({ node }) => transformer.transformNode(node),
|
|
28
|
-
transformResult: async ({ result }) => result
|
|
29
|
-
}));
|
|
30
|
-
}
|
|
31
|
-
};
|
|
32
|
-
var D1IntrospectionFilter = class extends OperationNodeTransformer {
|
|
33
|
-
transformSelectQuery(node) {
|
|
34
|
-
const select = super.transformSelectQuery(node);
|
|
35
|
-
if (!select.from?.froms.some((from) => TableNode.is(from) && from.table.identifier.name === "sqlite_master")) return select;
|
|
36
|
-
const filter = sql`name NOT GLOB '_cf_*'`.toOperationNode();
|
|
37
|
-
return {
|
|
38
|
-
...select,
|
|
39
|
-
where: select.where ? WhereNode.cloneWithOperation(select.where, "And", filter) : WhereNode.create(filter)
|
|
40
|
-
};
|
|
41
|
-
}
|
|
42
|
-
};
|
|
43
|
-
function createD1Dialect(database) {
|
|
44
|
-
return new DinewayD1Dialect(database);
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
//#endregion
|
|
48
|
-
export { createD1Dialect as t };
|
package/dist/db/d1.d.mts
DELETED
package/dist/db/d1.mjs
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import "../d1-binding-D6HZa3ks.mjs";
|
|
2
|
-
import { t as createD1Dialect } from "../d1-dialect-BBxPg6Om.mjs";
|
|
3
|
-
import { env } from "cloudflare:workers";
|
|
4
|
-
|
|
5
|
-
//#region src/db/d1.ts
|
|
6
|
-
function createDialect(config) {
|
|
7
|
-
const binding = Reflect.get(env, config.binding);
|
|
8
|
-
if (!binding || typeof binding !== "object" || !("prepare" in binding) || !("batch" in binding)) throw new Error(`Missing D1 database binding: ${config.binding}`);
|
|
9
|
-
return createD1Dialect(binding);
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
//#endregion
|
|
13
|
-
export { createDialect };
|
package/dist/schema-DFeC5axi.mjs
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { c as __exportAll } from "./runner-CVeq0266.mjs";
|
|
2
|
-
import { n as SchemaRegistry } from "./registry-DcV93OL_.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 };
|