dineway 0.2.33 → 0.2.35
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-CfryM8jO.mjs → activity-BbtYp_4V.mjs} +2 -2
- package/dist/{activity-events-BVo9rMUz.mjs → activity-events-CiFN61xq.mjs} +1 -1
- package/dist/{actor-DrJJsvy6.mjs → actor-DxUAJgQX.mjs} +20 -6
- package/dist/{adapters-DHt3f2lu.d.mts → adapters-Rol-inz6.d.mts} +5 -7
- package/dist/after-BVaUn7bK.mjs +24 -0
- package/dist/{allowed-origins-DGSyhRCz.mjs → allowed-origins-Cp7BI3L9.mjs} +1 -1
- package/dist/api/route-utils.d.mts +10 -10
- package/dist/api/route-utils.mjs +23 -19
- package/dist/api/schemas/index.d.mts +1 -1
- package/dist/api/schemas/index.mjs +5 -5
- package/dist/{api-CTf1SLmg.mjs → api-CwhrR7H5.mjs} +55 -1215
- package/dist/api-tokens-DA18zxza.mjs +3 -0
- package/dist/{api-tokens-CSomx-l3.mjs → api-tokens-OAgvq4xg.mjs} +1 -1
- package/dist/{apply-Bs2jXsms.mjs → apply-BTfAReIv.mjs} +109 -93
- package/dist/astro/index.d.mts +16 -12
- package/dist/astro/index.mjs +50 -9
- package/dist/astro/middleware/auth.d.mts +9 -9
- package/dist/astro/middleware/auth.mjs +29 -8
- package/dist/astro/middleware/redirect.mjs +8 -7
- package/dist/astro/middleware/request-context.mjs +17 -10
- package/dist/astro/middleware/seed.d.mts +1 -1
- package/dist/astro/middleware/seed.mjs +93 -71
- package/dist/astro/middleware/setup.mjs +1 -1
- package/dist/astro/middleware/workers.d.mts +6 -0
- package/dist/astro/middleware/workers.mjs +8 -0
- package/dist/astro/middleware.mjs +287 -159
- 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 +7 -7
- package/dist/astro/routes/api/admin/briefing.mjs +25 -23
- package/dist/astro/routes/api/admin/byline-fields/_slug_/usage.mjs +5 -4
- package/dist/astro/routes/api/admin/byline-fields/_slug_.mjs +11 -10
- package/dist/astro/routes/api/admin/byline-fields/index.mjs +11 -10
- package/dist/astro/routes/api/admin/byline-fields/reorder.mjs +11 -10
- package/dist/astro/routes/api/admin/bylines/_id_/index.mjs +22 -20
- package/dist/astro/routes/api/admin/bylines/_id_/translations.mjs +22 -20
- package/dist/astro/routes/api/admin/bylines/index.mjs +22 -20
- package/dist/astro/routes/api/admin/comments/_id_/status.mjs +18 -16
- package/dist/astro/routes/api/admin/comments/_id_.mjs +8 -7
- package/dist/astro/routes/api/admin/comments/bulk.mjs +14 -13
- package/dist/astro/routes/api/admin/comments/counts.mjs +8 -7
- package/dist/astro/routes/api/admin/comments/index.mjs +14 -13
- package/dist/astro/routes/api/admin/context/_id_/history.mjs +42 -31
- package/dist/astro/routes/api/admin/context/_id_/index.mjs +42 -31
- package/dist/astro/routes/api/admin/context/_id_/review.mjs +47 -36
- package/dist/astro/routes/api/admin/context/_id_/supersede.mjs +47 -36
- package/dist/astro/routes/api/admin/context/diff.mjs +46 -35
- package/dist/astro/routes/api/admin/context/index.mjs +47 -36
- package/dist/astro/routes/api/admin/context/stale.mjs +46 -35
- package/dist/astro/routes/api/admin/hitl-requests/_id_/index.mjs +42 -31
- package/dist/astro/routes/api/admin/hitl-requests/_id_/resolve.mjs +46 -35
- package/dist/astro/routes/api/admin/hitl-requests/index.mjs +46 -35
- package/dist/astro/routes/api/admin/hooks/exclusive/_hookName_.mjs +43 -32
- package/dist/astro/routes/api/admin/hooks/exclusive/index.mjs +3 -3
- package/dist/astro/routes/api/admin/oauth-clients/_id_.mjs +7 -7
- package/dist/astro/routes/api/admin/oauth-clients/index.mjs +7 -7
- package/dist/astro/routes/api/admin/plugins/_id_/disable.mjs +71 -66
- package/dist/astro/routes/api/admin/plugins/_id_/enable.mjs +71 -66
- package/dist/astro/routes/api/admin/plugins/_id_/index.mjs +63 -58
- package/dist/astro/routes/api/admin/plugins/_id_/uninstall.mjs +70 -65
- package/dist/astro/routes/api/admin/plugins/_id_/update.mjs +70 -65
- package/dist/astro/routes/api/admin/plugins/index.mjs +63 -58
- package/dist/astro/routes/api/admin/plugins/marketplace/_id_/icon.mjs +2 -2
- package/dist/astro/routes/api/admin/plugins/marketplace/_id_/index.mjs +63 -58
- package/dist/astro/routes/api/admin/plugins/marketplace/_id_/install.mjs +70 -65
- package/dist/astro/routes/api/admin/plugins/marketplace/index.mjs +63 -58
- package/dist/astro/routes/api/admin/plugins/updates.mjs +63 -58
- package/dist/astro/routes/api/admin/review-requests/_id_/image.mjs +26 -23
- package/dist/astro/routes/api/admin/review-requests/_id_/index.mjs +39 -25
- package/dist/astro/routes/api/admin/review-requests/_id_/resolve.mjs +55 -43
- package/dist/astro/routes/api/admin/review-requests/_id_/revoke.mjs +10 -9
- package/dist/astro/routes/api/admin/review-requests/index.mjs +53 -41
- package/dist/astro/routes/api/admin/themes/marketplace/_id_/index.mjs +63 -58
- package/dist/astro/routes/api/admin/themes/marketplace/_id_/thumbnail.mjs +2 -2
- package/dist/astro/routes/api/admin/themes/marketplace/index.mjs +63 -58
- package/dist/astro/routes/api/admin/users/_id_/disable.mjs +20 -12
- package/dist/astro/routes/api/admin/users/_id_/enable.mjs +1 -1
- package/dist/astro/routes/api/admin/users/_id_/index.mjs +40 -32
- 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 +6 -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 -11
- package/dist/astro/routes/api/auth/magic-link/verify.mjs +2 -2
- package/dist/astro/routes/api/auth/me.mjs +11 -11
- package/dist/astro/routes/api/auth/mode.mjs +1 -1
- package/dist/astro/routes/api/auth/oauth/_provider_/callback.mjs +5 -4
- package/dist/astro/routes/api/auth/oauth/_provider_.mjs +5 -4
- 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 -13
- 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 +32 -23
- package/dist/astro/routes/api/auth/setup-token/verify.mjs +32 -26
- package/dist/astro/routes/api/auth/signup/complete.mjs +12 -12
- package/dist/astro/routes/api/auth/signup/request.mjs +12 -11
- package/dist/astro/routes/api/auth/signup/verify.mjs +1 -1
- package/dist/astro/routes/api/comments/_collection_/_contentId_/index.d.mts +73 -2
- package/dist/astro/routes/api/comments/_collection_/_contentId_/index.mjs +91 -49
- package/dist/astro/routes/api/comments/_collection_/_contentId_/reactions.mjs +19 -16
- package/dist/astro/routes/api/content/_collection_/_id_/compare.mjs +2 -2
- package/dist/astro/routes/api/content/_collection_/_id_/discard-draft.mjs +8 -7
- package/dist/astro/routes/api/content/_collection_/_id_/duplicate.mjs +8 -7
- package/dist/astro/routes/api/content/_collection_/_id_/permanent.mjs +8 -7
- package/dist/astro/routes/api/content/_collection_/_id_/preview-url.mjs +24 -21
- package/dist/astro/routes/api/content/_collection_/_id_/publish.mjs +34 -22
- package/dist/astro/routes/api/content/_collection_/_id_/release-readiness.mjs +9 -9
- package/dist/astro/routes/api/content/_collection_/_id_/restore.mjs +8 -7
- package/dist/astro/routes/api/content/_collection_/_id_/revisions.mjs +2 -2
- package/dist/astro/routes/api/content/_collection_/_id_/schedule.mjs +34 -22
- package/dist/astro/routes/api/content/_collection_/_id_/terms/_taxonomy_.mjs +23 -19
- package/dist/astro/routes/api/content/_collection_/_id_/translations.mjs +2 -2
- package/dist/astro/routes/api/content/_collection_/_id_/unpublish.mjs +8 -7
- package/dist/astro/routes/api/content/_collection_/_id_.mjs +14 -13
- package/dist/astro/routes/api/content/_collection_/authors.mjs +2 -2
- package/dist/astro/routes/api/content/_collection_/index.mjs +14 -13
- package/dist/astro/routes/api/content/_collection_/trash.mjs +8 -8
- package/dist/astro/routes/api/dashboard.mjs +16 -11
- 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 +25 -24
- package/dist/astro/routes/api/import/wordpress/analyze.mjs +12 -11
- package/dist/astro/routes/api/import/wordpress/execute.d.mts +9 -9
- package/dist/astro/routes/api/import/wordpress/execute.mjs +50 -42
- package/dist/astro/routes/api/import/wordpress/media.d.mts +9 -9
- package/dist/astro/routes/api/import/wordpress/media.mjs +14 -14
- package/dist/astro/routes/api/import/wordpress/prepare.mjs +51 -40
- package/dist/astro/routes/api/import/wordpress/rewrite-urls.d.mts +10 -10
- package/dist/astro/routes/api/import/wordpress/rewrite-urls.mjs +49 -38
- package/dist/astro/routes/api/import/wordpress-plugin/analyze.d.mts +1 -1
- package/dist/astro/routes/api/import/wordpress-plugin/analyze.mjs +29 -27
- package/dist/astro/routes/api/import/wordpress-plugin/callback.mjs +1 -1
- package/dist/astro/routes/api/import/wordpress-plugin/execute.d.mts +9 -9
- package/dist/astro/routes/api/import/wordpress-plugin/execute.mjs +55 -47
- package/dist/astro/routes/api/integration/artifact.mjs +11 -8
- package/dist/astro/routes/api/integration/dispatch.mjs +17 -14
- package/dist/astro/routes/api/integrations/_provider_.mjs +11 -8
- package/dist/astro/routes/api/integrations/index.mjs +10 -7
- package/dist/astro/routes/api/manifest.mjs +5 -5
- package/dist/astro/routes/api/mcp.mjs +97 -88
- package/dist/astro/routes/api/media/_id_/confirm.mjs +12 -12
- 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 +13 -13
- package/dist/astro/routes/api/media.mjs +16 -16
- package/dist/astro/routes/api/menus/_name_/items/_id_.mjs +47 -36
- package/dist/astro/routes/api/menus/_name_/items.mjs +47 -36
- package/dist/astro/routes/api/menus/_name_/reorder.mjs +47 -36
- package/dist/astro/routes/api/menus/_name_/translations.mjs +47 -36
- package/dist/astro/routes/api/menus/_name_.mjs +47 -36
- package/dist/astro/routes/api/menus/index.mjs +47 -36
- package/dist/astro/routes/api/oauth/authorize.mjs +9 -7
- package/dist/astro/routes/api/oauth/device/authorize.mjs +7 -6
- package/dist/astro/routes/api/oauth/device/code.mjs +11 -9
- package/dist/astro/routes/api/oauth/device/token.mjs +10 -8
- package/dist/astro/routes/api/oauth/register.mjs +4 -4
- package/dist/astro/routes/api/oauth/token/refresh.mjs +7 -6
- package/dist/astro/routes/api/oauth/token/revoke.mjs +7 -6
- package/dist/astro/routes/api/oauth/token.mjs +8 -6
- package/dist/astro/routes/api/openapi.json.mjs +5 -5
- package/dist/astro/routes/api/plugins/_pluginId_/_...path_.mjs +4 -4
- package/dist/astro/routes/api/redirects/404s/index.mjs +15 -14
- package/dist/astro/routes/api/redirects/404s/summary.mjs +15 -14
- package/dist/astro/routes/api/redirects/_id_.mjs +47 -37
- package/dist/astro/routes/api/redirects/index.mjs +47 -37
- 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 +65 -60
- package/dist/astro/routes/api/schema/collections/_slug_/fields/index.mjs +65 -60
- package/dist/astro/routes/api/schema/collections/_slug_/fields/reorder.mjs +65 -60
- package/dist/astro/routes/api/schema/collections/_slug_/index.mjs +65 -60
- package/dist/astro/routes/api/schema/collections/index.mjs +65 -60
- package/dist/astro/routes/api/schema/index.mjs +12 -11
- package/dist/astro/routes/api/schema/orphans/_slug_.mjs +63 -58
- package/dist/astro/routes/api/schema/orphans/index.mjs +63 -58
- package/dist/astro/routes/api/search/enable.mjs +15 -14
- package/dist/astro/routes/api/search/index.mjs +14 -13
- package/dist/astro/routes/api/search/rebuild.mjs +15 -14
- package/dist/astro/routes/api/search/stats.mjs +9 -8
- package/dist/astro/routes/api/search/suggest.mjs +14 -13
- package/dist/astro/routes/api/sections/_slug_.mjs +47 -36
- package/dist/astro/routes/api/sections/index.mjs +47 -36
- package/dist/astro/routes/api/settings/email.mjs +5 -5
- package/dist/astro/routes/api/settings/reviews.mjs +11 -10
- package/dist/astro/routes/api/settings.mjs +47 -36
- 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 +35 -31
- package/dist/astro/routes/api/setup/dev-reset.mjs +2 -2
- package/dist/astro/routes/api/setup/index.mjs +37 -33
- package/dist/astro/routes/api/setup/status.mjs +3 -3
- package/dist/astro/routes/api/snapshot.mjs +11 -9
- package/dist/astro/routes/api/system/heartbeat.mjs +2 -2
- package/dist/astro/routes/api/taxonomies/_name_/terms/_slug_/translations.mjs +50 -39
- package/dist/astro/routes/api/taxonomies/_name_/terms/_slug_.mjs +50 -39
- package/dist/astro/routes/api/taxonomies/_name_/terms/index.mjs +50 -39
- package/dist/astro/routes/api/taxonomies/index.mjs +50 -39
- package/dist/astro/routes/api/themes/preview.mjs +8 -6
- 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 +46 -35
- package/dist/astro/routes/api/widget-areas/_name_/widgets/_id_.mjs +47 -36
- package/dist/astro/routes/api/widget-areas/_name_/widgets.mjs +47 -36
- package/dist/astro/routes/api/widget-areas/_name_.mjs +44 -33
- package/dist/astro/routes/api/widget-areas/index.mjs +47 -36
- package/dist/astro/routes/api/widget-components.mjs +2 -2
- package/dist/astro/routes/robots.txt.mjs +11 -10
- package/dist/astro/routes/sitemap-_collection_.xml.mjs +20 -18
- package/dist/astro/routes/sitemap.xml.mjs +19 -17
- package/dist/astro/session-driver.d.mts +1 -1
- package/dist/astro/session-driver.mjs +4 -4
- package/dist/astro/types.d.mts +13 -13
- package/dist/atomic-authority-CnBQJ14T.mjs +33 -0
- package/dist/{audit-CYjfxG9i.mjs → audit-F5iWkbcJ.mjs} +11 -4
- package/dist/auth/providers/github.d.mts +1 -1
- package/dist/auth/providers/google.d.mts +1 -1
- package/dist/{auth-control-guard-CITT8ZA_.mjs → auth-control-guard-DPOSBNFI.mjs} +1 -1
- package/dist/{authorize-KcI0pAfN.mjs → authorize-CXIjxIfC.mjs} +1 -1
- package/dist/{briefing-BgQTljQt.mjs → briefing-5zf0YZbR.mjs} +445 -447
- package/dist/{briefing-r3hXCDQC.mjs → briefing-DiupPvyN.mjs} +1 -1
- package/dist/{bundle-S6zx-V4D.mjs → bundle-DImnxo71.mjs} +3 -3
- package/dist/{byline-Ctil4rij.mjs → byline-DEZKlzD9.mjs} +107 -113
- package/dist/{byline-fields-51ja6JDa.d.mts → byline-fields-BO96fXLv.d.mts} +8 -8
- package/dist/{byline-fields-DiCyW6eQ.mjs → byline-fields-CY6V0ew1.mjs} +1 -1
- package/dist/{byline-fields-QpmruT5r.mjs → byline-fields-DGNKitg3.mjs} +3 -3
- package/dist/{byline-registry-rkr73qSE.mjs → byline-registry-CkuVVeJJ.mjs} +46 -76
- package/dist/{bylines-v_ZUQnR-.mjs → bylines-CXyKpVLQ.mjs} +6 -6
- package/dist/{bylines-BcuBpzVi.mjs → bylines-gSAfpHl4.mjs} +4 -4
- package/dist/{cache-V2BCplaY.mjs → cache-DZDOBJv3.mjs} +2 -2
- package/dist/{chunks-CnuL55JE.mjs → chunks-BnG3LPMN.mjs} +1 -1
- package/dist/cli/index.mjs +452 -263
- package/dist/cli/plugin-kit.d.mts +9 -9
- package/dist/cli/plugin-kit.mjs +2 -2
- package/dist/client/external-auth-headers.d.mts +1 -1
- package/dist/client/index.d.mts +11 -11
- package/dist/client/index.mjs +2 -2
- package/dist/{client-factory-C-y9VZDX.mjs → client-factory-6vLLT06O.mjs} +1 -1
- package/dist/{comment-_nvJSS-A.mjs → comment-kgLTdtQD.mjs} +15 -8
- package/dist/{comment-reaction-DhVgJ17S.mjs → comment-reaction-Cun5eIXL.mjs} +1 -1
- package/dist/{comments-D4mIDjvA.mjs → comments-ZYK_cZvx.mjs} +1 -1
- package/dist/{content-CVCrcuvD.mjs → content-D9xKUSno.mjs} +287 -165
- package/dist/{content-refresh-QvBIyb_g.mjs → content-refresh-9M9cc55-.mjs} +170 -193
- package/dist/{context-JjKucxBm.mjs → context-BU8AbLmY.mjs} +2 -2
- package/dist/{context-MftkHbWx.mjs → context-C5lPtfeh.mjs} +95 -77
- package/dist/{context-route-helpers-e1APrqSm.mjs → context-route-helpers-CWAHJFl3.mjs} +2 -2
- package/dist/{cron-mGVPQ5e6.mjs → cron-BVYo08mi.mjs} +36 -32
- package/dist/d1-binding-D6HZa3ks.mjs +8 -0
- package/dist/d1-dialect-BBxPg6Om.mjs +48 -0
- package/dist/{dashboard-ZJ7sMcBI.mjs → dashboard-BnD5krLg.mjs} +5 -5
- package/dist/database/batch.d.mts +22 -0
- package/dist/database/batch.mjs +92 -0
- package/dist/database/d1/index.d.mts +18 -0
- package/dist/database/d1/index.mjs +8 -0
- package/dist/db/d1.d.mts +7 -0
- package/dist/db/d1.mjs +13 -0
- package/dist/db/index.d.mts +4 -4
- package/dist/db/index.mjs +10 -7
- package/dist/db/libsql.d.mts +1 -1
- package/dist/db/libsql.mjs +46 -3
- package/dist/db/postgres.d.mts +1 -1
- package/dist/db/sqlite.d.mts +1 -1
- package/dist/{device-flow-eOcL5m0Q.mjs → device-flow-Prqg6ycD.mjs} +130 -94
- package/dist/{dialect-helpers-fk43GbDb.mjs → dialect-helpers-C6xtO-Ui.mjs} +1 -1
- package/dist/{discovery-CJkuHGhZ.mjs → discovery-CYcZJ1o3.mjs} +5 -5
- package/dist/{enrich-KErvJOuI.mjs → enrich-BjF-J4sF.mjs} +1 -1
- package/dist/{evidence-6IUv9ML3.mjs → evidence-krrA3uiG.mjs} +7 -7
- package/dist/{field-defs-cache-CwrIyZFT.mjs → field-defs-cache-BKKFFf_V.mjs} +5 -5
- package/dist/{forgeway-account-lYJ8iX3G.mjs → forgeway-account-CnWOIusE.mjs} +1 -1
- package/dist/{fts-manager-DX7ZkrCa.mjs → fts-manager-DA74x_uP.mjs} +72 -57
- package/dist/{hitl-requests-CmYVunm-.mjs → hitl-requests-CGjA1jND.mjs} +2 -2
- package/dist/{hitl-route-helpers-CRm537zS.mjs → hitl-route-helpers-BxSL0iZB.mjs} +5 -5
- package/dist/{import-DqRAgsKr.mjs → import-CayDCPaH.mjs} +9 -9
- package/dist/{index-Co7xtjkd.d.mts → index-mlJSqFkG.d.mts} +7 -4
- package/dist/index.d.mts +16 -16
- package/dist/index.mjs +103 -96
- package/dist/{integration-credentials-qudN6yRr.mjs → integration-credentials-Br16M1VE.mjs} +2 -2
- package/dist/{jsonld-BpvnSp2m.d.mts → jsonld-BUiFEiCZ.d.mts} +2 -2
- package/dist/{load-fCOciq0Q.mjs → load-B2oitobd.mjs} +1 -1
- package/dist/{loader-BDje8ME2.mjs → loader-Cgsx23wU.mjs} +4 -4
- package/dist/{manifest-schema-CfKD0thC.mjs → manifest-schema-DBXM_g8l.mjs} +1 -1
- package/dist/{mcp-reviewed-executor-DmhM3Cy6.mjs → mcp-reviewed-executor-RJ71uyQb.mjs} +7 -7
- 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 +11 -11
- package/dist/media/local-runtime.mjs +3 -3
- package/dist/{media-dvRjj4po.mjs → media-BZqwtRTZ.mjs} +12 -4
- package/dist/{media-allowlist-DaG6lNoy.mjs → media-allowlist-CyByjUXh.mjs} +1 -1
- package/dist/{menus-CZbz5L_V.mjs → menus-2o-DVcwA.mjs} +8 -8
- package/dist/{menus-CpuR4Qkm.mjs → menus-5liJusbp.mjs} +138 -90
- package/dist/migrations-C7YXse7V.mjs +76 -0
- package/dist/oauth-authority-DOjME4Hh.mjs +43 -0
- package/dist/{oauth-authorization-Jf5e3azH.mjs → oauth-authorization-B_mmz7O2.mjs} +89 -98
- package/dist/{oauth-clients-tovQ4D4h.mjs → oauth-clients-Cr4pdIAE.mjs} +2 -2
- package/dist/object-cache/memory.d.mts +1 -1
- package/dist/{object-cache-D51qOseS.mjs → object-cache-BGjIlY9s.mjs} +1 -1
- package/dist/page/index.d.mts +10 -10
- package/dist/page/index.mjs +1 -1
- package/dist/{parse-IsGn-5lt.mjs → parse-BscLr3p2.mjs} +1 -1
- package/dist/plugin-utils.d.mts +9 -9
- package/dist/plugins/adapt-sandbox-entry.d.mts +9 -9
- package/dist/plugins/adapt-sandbox-entry.mjs +1 -1
- package/dist/{plugins-DXyLI3Hb.mjs → plugins-f48yrwfI.mjs} +35 -84
- package/dist/{policy-DKdNMv8y.mjs → policy-CrK1vl8l.mjs} +2 -2
- package/dist/{preview-BXmS1SXL.mjs → preview-E1xKZGsX.mjs} +2 -2
- package/dist/{provider-loader-DDq7R_RN.d.mts → provider-loader-H2wdGD0o.d.mts} +1 -1
- package/dist/{public-url-Ci7UbC0W.d.mts → public-url-CI700CW4.d.mts} +1 -1
- package/dist/{public-url-BQ9vf0AS.d.mts → public-url-zoO-QbN6.d.mts} +2 -2
- package/dist/{publication-authorization-C-vYPGD8.mjs → publication-authorization-Dq_20SZR.mjs} +458 -33
- package/dist/{query-DcB9uGTW.mjs → query-BkWWdxyb.mjs} +4 -4
- package/dist/{query-CrW2yI6G.mjs → query-D6oNo9iz.mjs} +15 -15
- package/dist/{rate-limit-DEkoxTsP.mjs → rate-limit-RaBJEgyt.mjs} +2 -2
- package/dist/{redirect-DG-o0CKV.mjs → redirect-HLI3wT5Y.mjs} +26 -14
- package/dist/{redirects-Bjp4iKJU.mjs → redirects-D16GFaOa.mjs} +5 -5
- package/dist/{redirects-N8gmWhVM.mjs → redirects-DpRiuRWn.mjs} +3 -3
- package/dist/{registry-D-IV_h50.mjs → registry-DcV93OL_.mjs} +183 -186
- package/dist/release-CZfAeyXm.mjs +5148 -0
- package/dist/request-context.d.mts +8 -0
- package/dist/{request-meta-BW0the1R.mjs → request-meta-C6yGqnGD.mjs} +1 -1
- package/dist/{resolve-pZ4NQM-X.mjs → resolve-CpOV2jt_.mjs} +1 -1
- package/dist/review-payload-LLIi1sxO.mjs +1386 -0
- package/dist/{review-requests-DICrYH2-.mjs → review-requests-BF2eEKr8.mjs} +93 -37
- package/dist/{review-requests-BTKfeWlS.mjs → review-requests-C7prIbCo.mjs} +2 -2
- package/dist/{review-route-helpers-DaZBBps8.mjs → review-route-helpers-BYx3Px90.mjs} +2 -2
- package/dist/{revision-De7OmYVD.mjs → revision-090sZyGc.mjs} +28 -22
- package/dist/revocation-DZ8e4JCS.mjs +53 -0
- package/dist/{runner-DJiRFyLI.mjs → runner-CVeq0266.mjs} +594 -491
- package/dist/{runner-Dye73myO.d.mts → runner-Cxl-vyk2.d.mts} +1 -1
- package/dist/{runs-DEujUDOj.mjs → runs-B8kCirJ6.mjs} +5 -5
- package/dist/runtime-env-v-1UXPAH.mjs +19 -0
- package/dist/runtime.d.mts +10 -10
- package/dist/runtime.mjs +5 -5
- package/dist/schema-DFeC5axi.mjs +8 -0
- package/dist/{search-DxUKN9Zz.mjs → search-C9qOBgvo.mjs} +4 -4
- package/dist/{secrets-AdCrGg1c.mjs → secrets-BP2YTPWn.mjs} +10 -11
- package/dist/{sections-BPFOEMK6.mjs → sections-CkoQY7Z9.mjs} +2 -2
- package/dist/seed/index.d.mts +2 -2
- package/dist/seed/index.mjs +29 -25
- package/dist/seo/index.d.mts +3 -3
- package/dist/seo/index.mjs +11 -10
- package/dist/{seo-GfovzqpU.mjs → seo-Bypxm1iD.mjs} +1 -1
- package/dist/{seo-DWHdo5aW.mjs → seo-DYpc_rQ1.mjs} +25 -15
- package/dist/{service-BrNKVCjC.mjs → service-DOFqfUVv.mjs} +46 -21
- package/dist/{service-DbgjHWyW.mjs → service-mJBl4ZP4.mjs} +2 -2
- package/dist/{session-user-D8WwGEPH.mjs → session-user-DacoiKrJ.mjs} +1 -1
- package/dist/{settings-BKEHw6Bu.mjs → settings-2p7TuNWG.mjs} +2 -2
- package/dist/{settings-CAsQLi0N.mjs → settings-DRFy8JQx.mjs} +8 -8
- package/dist/{setup-complete-CHCYS5KV.mjs → setup-complete-CWMnrNFN.mjs} +1 -1
- package/dist/{site-activity-7oezuHXK.mjs → site-activity-BrN2NviL.mjs} +11 -4
- package/dist/{site-context-CA7rbxux.mjs → site-context-D9oETfxF.mjs} +50 -37
- package/dist/{site-url-DoZf_jVj.mjs → site-url-DoTPKRND.mjs} +1 -1
- package/dist/state-D8AogXCV.mjs +30 -0
- 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 +3 -3
- package/dist/{store-c4qx3gVh.mjs → store-CjmmGlVw.mjs} +37 -12
- package/dist/submission-BLvkvewK.mjs +411 -0
- package/dist/{taxonomies-ALDiRQ84.mjs → taxonomies-C5ayPp3T.mjs} +3 -3
- package/dist/{taxonomies-93DV-1QT.mjs → taxonomies-DW6Fps-w.mjs} +7 -7
- package/dist/{taxonomy-BOBTJ_aE.mjs → taxonomy-DWxxLpp5.mjs} +3 -3
- package/dist/{tokens-c-qxNqzC.mjs → tokens-I3tSjoFI.mjs} +1 -1
- package/dist/{trusted-proxy-CdEl6g6B.mjs → trusted-proxy-CvDP0g0F.mjs} +4 -12
- package/dist/{types-6KmeXInJ.d.mts → types-BFoQ5a1v.d.mts} +1 -1
- package/dist/{types-BpSTdH1H.mjs → types-BqxIv8Il.mjs} +2 -2
- package/dist/{types-BRCUO8NR.d.mts → types-CVRNRAA5.d.mts} +1 -0
- package/dist/{types-CfpX1og5.d.mts → types-Tt_IGMno.d.mts} +360 -172
- package/dist/ui/server-runtime.d.mts +13 -13
- package/dist/ui/server-runtime.mjs +28 -26
- package/dist/{user-D0NJ7gYf.mjs → user-1-YV30lf.mjs} +2 -2
- package/dist/{utils-BK2efsHv.mjs → utils-BoWkoty8.mjs} +2 -2
- package/dist/{validate-CDWVODvc.d.mts → validate-CCOsvPg2.d.mts} +3 -3
- package/dist/{validate-C9g9iX3q.mjs → validate-CupwWNWL.mjs} +3 -3
- package/dist/version-DpT-k_Ny.mjs +6 -0
- package/dist/{widgets-Cm5Qx2Np.mjs → widgets-DbOctkXv.mjs} +3 -3
- package/dist/{wordpress-slugs-WdPZaVXf.mjs → wordpress-slugs-pQlLXbKn.mjs} +1 -1
- package/dist/{worker-Bhuu7eqS.mjs → worker-wjRq4FI9.mjs} +76 -47
- package/dist/workers-build-QVrquLLe.mjs +36 -0
- package/dist/{zod-generator-DS5oZNaL.mjs → zod-generator-BzACAoR5.mjs} +2 -2
- package/package.json +34 -8
- package/dist/after-BfniwgIf.mjs +0 -9
- package/dist/api-tokens-CmT83Bgj.mjs +0 -3
- package/dist/db/libsql-http.d.mts +0 -27
- package/dist/db/libsql-http.mjs +0 -29
- package/dist/libsql-dialect-CANq6UNI.mjs +0 -47
- package/dist/oauth-user-lookup-B451pZmd.mjs +0 -25
- package/dist/review-payload-f1L4lzQg.mjs +0 -111
- package/dist/revocation-CkTOhdlw.mjs +0 -42
- package/dist/schema-IjuRxkqq.mjs +0 -8
- package/dist/submission-C47cHBIg.mjs +0 -67
- package/dist/transaction-BGQgnwUi.mjs +0 -28
- package/dist/version-CJqc1mwj.mjs +0 -6
- /package/dist/{base64-F8-DUraK.mjs → base64-Cz-aU0X1.mjs} +0 -0
- /package/dist/{challenge-store-CDKfye2r.mjs → challenge-store-DFGsDtCj.mjs} +0 -0
- /package/dist/{components-DAq_4iPX.mjs → components-gMTtJqHg.mjs} +0 -0
- /package/dist/{config-CVssduLe.mjs → config-XW5tMrH8.mjs} +0 -0
- /package/dist/{content-index-names-Bbu1FY1r.mjs → content-index-names-CDc2IQIx.mjs} +0 -0
- /package/dist/{context-types-CPWAJRs5.mjs → context-types-DLD_HnKT.mjs} +0 -0
- /package/dist/{default-BeIzUa1e.mjs → default-w3MwLng7.mjs} +0 -0
- /package/dist/{email-console-Bfi_exVg.mjs → email-console-CpvgEN1w.mjs} +0 -0
- /package/dist/{error-DLg1H2LT.mjs → error-B-44r5TD.mjs} +0 -0
- /package/dist/{escape-C6lkys0j.mjs → escape-B1GM0yJU.mjs} +0 -0
- /package/dist/{experimental-workflows-B9x8delL.mjs → experimental-workflows-fzJHB3ZI.mjs} +0 -0
- /package/dist/{hash-jhbF98tT.mjs → hash-DvMZXj2L.mjs} +0 -0
- /package/dist/{media-url-CL3NzgLh.mjs → media-url-D-elxQjL.mjs} +0 -0
- /package/dist/{mime-CDTtL7jE.mjs → mime-D_ae-u_U.mjs} +0 -0
- /package/dist/{mode-DJeacFCZ.mjs → mode-BJwb_MgK.mjs} +0 -0
- /package/dist/{normalize-Ev3FiBMx.mjs → normalize-5rct_U0I.mjs} +0 -0
- /package/dist/{oauth-state-store-Do1a_o3H.mjs → oauth-state-store-D2H9hKcN.mjs} +0 -0
- /package/dist/{options-1dBRkoCl.mjs → options-BcqHWpc-.mjs} +0 -0
- /package/dist/{output-8j9oltTf.mjs → output-CdmbQioY.mjs} +0 -0
- /package/dist/{parser-C9rzPuSZ.mjs → parser-ehIlj32k.mjs} +0 -0
- /package/dist/{passkey-config-CRN44T04.mjs → passkey-config-sUQoLEj_.mjs} +0 -0
- /package/dist/{patterns-3XE9bU4r.mjs → patterns-CZ7D4y_R.mjs} +0 -0
- /package/dist/{placeholder-D03pGvqM.d.mts → placeholder-CQKI6vLd.d.mts} +0 -0
- /package/dist/{portable-text-BdRm4uZq.d.mts → portable-text-BE7nszX6.d.mts} +0 -0
- /package/dist/{portable-text-tIk9_uz_.mjs → portable-text-DH3Om_2D.mjs} +0 -0
- /package/dist/{process-cache-B-L-A9zg.mjs → process-cache-MHM4Sqzs.mjs} +0 -0
- /package/dist/{provider-loader-C4i82ll1.mjs → provider-loader-Dnv2neOu.mjs} +0 -0
- /package/dist/{public-discovery-CyDzK1-S.mjs → public-discovery-CTql6jdZ.mjs} +0 -0
- /package/dist/{public-url-BVIjzMo3.mjs → public-url-4sMO36Gw.mjs} +0 -0
- /package/dist/{public-url-oudwI7K0.mjs → public-url-DNt9A1yS.mjs} +0 -0
- /package/dist/{redirect-Dp5u-8dH.mjs → redirect-Cjjb5VYr.mjs} +0 -0
- /package/dist/{request-cache-BruBnFAR.mjs → request-cache-DPmV5nk4.mjs} +0 -0
- /package/dist/{seo-contributions-BAtRDXEQ.mjs → seo-contributions-atY3jZEV.mjs} +0 -0
- /package/dist/{service-DeX1PRNt.mjs → service-CeEi6nax.mjs} +0 -0
- /package/dist/{setup-nonce-D-CEYlw7.mjs → setup-nonce-BUmfCiY1.mjs} +0 -0
- /package/dist/{sidecar-client-Bw2C0XTf.mjs → sidecar-client-CbrX8nuw.mjs} +0 -0
- /package/dist/{slugify-KSsVD_D3.mjs → slugify-Di8Q_MFq.mjs} +0 -0
- /package/dist/{ssrf-C7tTSD1r.mjs → ssrf-COxLChKv.mjs} +0 -0
- /package/dist/{stable-hash-DF7R5eN8.mjs → stable-hash-DEtJgcp7.mjs} +0 -0
- /package/dist/{status-Bba6RbkS.mjs → status-DBSB6tdS.mjs} +0 -0
- /package/dist/{transport-ktLL9r2O.d.mts → transport-CZbtxgKZ.d.mts} +0 -0
- /package/dist/{transport-BddGhTAI.mjs → transport-aPKvM53n.mjs} +0 -0
- /package/dist/{types-CKIt_jmM.d.mts → types-1qU0-N1P.d.mts} +0 -0
- /package/dist/{types-BQZFeZjd.mjs → types-BKsk4nnM.mjs} +0 -0
- /package/dist/{types-CLMOusxP.d.mts → types-BWsEjujW.d.mts} +0 -0
- /package/dist/{types--3oJQ0hs.d.mts → types-CAD4OvmF.d.mts} +0 -0
- /package/dist/{types-BbkkkAb6.mjs → types-ChSk0dmw.mjs} +0 -0
- /package/dist/{types-C0DPvhR5.mjs → types-CyBH89BS.mjs} +0 -0
- /package/dist/{types-CU3Wn2HC.d.mts → types-DNPP-eu4.d.mts} +0 -0
- /package/dist/{types-CPaVj_GC.d.mts → types-SddyDti7.d.mts} +0 -0
- /package/dist/{url-C_pLSrGZ.mjs → url-Ce0qtSdB.mjs} +0 -0
- /package/dist/{url-Dumsft7G.mjs → url-DfqolpO2.mjs} +0 -0
- /package/dist/{validate-VPnKoIzW.mjs → validate-Co3j6T_K.mjs} +0 -0
|
@@ -1,10 +1,14 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import { c as __exportAll } from "./runner-CVeq0266.mjs";
|
|
2
|
+
import { atomicBatch } from "./database/batch.mjs";
|
|
3
|
+
import { t as validateIdentifier } from "./validate-Co3j6T_K.mjs";
|
|
4
|
+
import { s as isSqlite, u as tableExists } from "./dialect-helpers-C6xtO-Ui.mjs";
|
|
4
5
|
import { sql } from "kysely";
|
|
5
6
|
|
|
6
7
|
//#region src/search/fts-manager.ts
|
|
7
|
-
var fts_manager_exports = /* @__PURE__ */ __exportAll({
|
|
8
|
+
var fts_manager_exports = /* @__PURE__ */ __exportAll({
|
|
9
|
+
FTSManager: () => FTSManager,
|
|
10
|
+
parseSearchConfig: () => parseSearchConfig
|
|
11
|
+
});
|
|
8
12
|
/**
|
|
9
13
|
* FTS5 Manager
|
|
10
14
|
*
|
|
@@ -53,8 +57,11 @@ var FTSManager = class {
|
|
|
53
57
|
* @param searchableFields - Array of field names to index
|
|
54
58
|
* @param weights - Optional field weights for ranking
|
|
55
59
|
*/
|
|
56
|
-
async createFtsTable(collectionSlug, searchableFields,
|
|
57
|
-
|
|
60
|
+
async createFtsTable(collectionSlug, searchableFields, weights) {
|
|
61
|
+
await atomicBatch(this.db, { statements: this.createStatements(collectionSlug, searchableFields, weights) });
|
|
62
|
+
}
|
|
63
|
+
createStatements(collectionSlug, searchableFields, _weights) {
|
|
64
|
+
if (!isSqlite(this.db)) return [];
|
|
58
65
|
this.validateInputs(collectionSlug, searchableFields);
|
|
59
66
|
const ftsTable = this.getFtsTableName(collectionSlug);
|
|
60
67
|
const contentTable = this.getContentTableName(collectionSlug);
|
|
@@ -63,15 +70,14 @@ var FTSManager = class {
|
|
|
63
70
|
"locale UNINDEXED",
|
|
64
71
|
...searchableFields
|
|
65
72
|
].join(", ");
|
|
66
|
-
|
|
73
|
+
return [sql.raw(`
|
|
67
74
|
CREATE VIRTUAL TABLE IF NOT EXISTS "${ftsTable}" USING fts5(
|
|
68
75
|
${columns},
|
|
69
76
|
content='${contentTable}',
|
|
70
77
|
content_rowid='rowid',
|
|
71
78
|
tokenize='porter unicode61'
|
|
72
79
|
)
|
|
73
|
-
`).
|
|
74
|
-
await this.createTriggers(collectionSlug, searchableFields);
|
|
80
|
+
`).compile(this.db), ...this.triggerStatements(collectionSlug, searchableFields)];
|
|
75
81
|
}
|
|
76
82
|
/**
|
|
77
83
|
* Create triggers to keep FTS table in sync with content table.
|
|
@@ -80,14 +86,15 @@ var FTSManager = class {
|
|
|
80
86
|
* `deleted_at IS NULL`. This keeps soft-deleted content out of the
|
|
81
87
|
* index and keeps repair counts aligned with searchable content.
|
|
82
88
|
*/
|
|
83
|
-
|
|
89
|
+
triggerStatements(collectionSlug, searchableFields) {
|
|
90
|
+
const statements = [];
|
|
84
91
|
this.validateInputs(collectionSlug, searchableFields);
|
|
85
92
|
const ftsTable = this.getFtsTableName(collectionSlug);
|
|
86
93
|
const contentTable = this.getContentTableName(collectionSlug);
|
|
87
94
|
const fieldList = searchableFields.join(", ");
|
|
88
95
|
const newFieldList = searchableFields.map((f) => `NEW.${f}`).join(", ");
|
|
89
96
|
const oldFieldList = searchableFields.map((f) => `OLD.${f}`).join(", ");
|
|
90
|
-
|
|
97
|
+
statements.push(sql.raw(`
|
|
91
98
|
CREATE TRIGGER IF NOT EXISTS "${ftsTable}_insert"
|
|
92
99
|
AFTER INSERT ON "${contentTable}"
|
|
93
100
|
WHEN NEW.deleted_at IS NULL
|
|
@@ -95,8 +102,8 @@ var FTSManager = class {
|
|
|
95
102
|
INSERT INTO "${ftsTable}"(rowid, id, locale, ${fieldList})
|
|
96
103
|
VALUES (NEW.rowid, NEW.id, NEW.locale, ${newFieldList});
|
|
97
104
|
END
|
|
98
|
-
`).
|
|
99
|
-
|
|
105
|
+
`).compile(this.db));
|
|
106
|
+
statements.push(sql.raw(`
|
|
100
107
|
CREATE TRIGGER IF NOT EXISTS "${ftsTable}_update"
|
|
101
108
|
AFTER UPDATE ON "${contentTable}"
|
|
102
109
|
BEGIN
|
|
@@ -107,8 +114,8 @@ var FTSManager = class {
|
|
|
107
114
|
SELECT NEW.rowid, NEW.id, NEW.locale, ${newFieldList}
|
|
108
115
|
WHERE NEW.deleted_at IS NULL;
|
|
109
116
|
END
|
|
110
|
-
`).
|
|
111
|
-
|
|
117
|
+
`).compile(this.db));
|
|
118
|
+
statements.push(sql.raw(`
|
|
112
119
|
CREATE TRIGGER IF NOT EXISTS "${ftsTable}_delete"
|
|
113
120
|
AFTER DELETE ON "${contentTable}"
|
|
114
121
|
WHEN OLD.deleted_at IS NULL
|
|
@@ -116,79 +123,73 @@ var FTSManager = class {
|
|
|
116
123
|
INSERT INTO "${ftsTable}"("${ftsTable}", rowid, id, locale, ${fieldList})
|
|
117
124
|
VALUES ('delete', OLD.rowid, OLD.id, OLD.locale, ${oldFieldList});
|
|
118
125
|
END
|
|
119
|
-
`).
|
|
126
|
+
`).compile(this.db));
|
|
127
|
+
return statements;
|
|
120
128
|
}
|
|
121
129
|
/**
|
|
122
130
|
* Drop triggers for a collection
|
|
123
131
|
*/
|
|
124
|
-
|
|
132
|
+
dropStatements(collectionSlug) {
|
|
133
|
+
if (!isSqlite(this.db)) return [];
|
|
125
134
|
this.validateInputs(collectionSlug);
|
|
126
135
|
const ftsTable = this.getFtsTableName(collectionSlug);
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
136
|
+
return [...[
|
|
137
|
+
"insert",
|
|
138
|
+
"update",
|
|
139
|
+
"delete"
|
|
140
|
+
].map((suffix) => sql`DROP TRIGGER IF EXISTS ${sql.ref(`${ftsTable}_${suffix}`)}`.compile(this.db)), sql`DROP TABLE IF EXISTS ${sql.ref(ftsTable)}`.compile(this.db)];
|
|
130
141
|
}
|
|
131
|
-
/**
|
|
132
|
-
* Drop the FTS table and triggers for a collection
|
|
133
|
-
*/
|
|
134
142
|
async dropFtsTable(collectionSlug) {
|
|
135
|
-
|
|
136
|
-
this.validateInputs(collectionSlug);
|
|
137
|
-
const ftsTable = this.getFtsTableName(collectionSlug);
|
|
138
|
-
await this.dropTriggers(collectionSlug);
|
|
139
|
-
await sql.raw(`DROP TABLE IF EXISTS "${ftsTable}"`).execute(this.db);
|
|
143
|
+
await atomicBatch(this.db, { statements: this.dropStatements(collectionSlug) });
|
|
140
144
|
}
|
|
141
145
|
/**
|
|
142
146
|
* Rebuild the FTS index for a collection
|
|
143
147
|
*
|
|
144
148
|
* This is useful after bulk imports or if the index gets out of sync.
|
|
145
149
|
*/
|
|
150
|
+
rebuildStatements(collectionSlug, searchableFields, weights) {
|
|
151
|
+
if (!isSqlite(this.db)) return [];
|
|
152
|
+
return [
|
|
153
|
+
...this.dropStatements(collectionSlug),
|
|
154
|
+
...this.createStatements(collectionSlug, searchableFields, weights),
|
|
155
|
+
this.populateStatement(collectionSlug, searchableFields)
|
|
156
|
+
];
|
|
157
|
+
}
|
|
146
158
|
async rebuildIndex(collectionSlug, searchableFields, weights) {
|
|
147
|
-
|
|
148
|
-
await this.dropFtsTable(collectionSlug);
|
|
149
|
-
await this.createFtsTable(collectionSlug, searchableFields, weights);
|
|
150
|
-
await this.populateFromContent(collectionSlug, searchableFields);
|
|
159
|
+
await atomicBatch(this.db, { statements: this.rebuildStatements(collectionSlug, searchableFields, weights) });
|
|
151
160
|
}
|
|
152
161
|
/**
|
|
153
162
|
* Populate the FTS table from existing content
|
|
154
163
|
*/
|
|
155
164
|
async populateFromContent(collectionSlug, searchableFields) {
|
|
156
165
|
if (!isSqlite(this.db)) return;
|
|
166
|
+
await this.db.executeQuery(this.populateStatement(collectionSlug, searchableFields));
|
|
167
|
+
}
|
|
168
|
+
populateStatement(collectionSlug, searchableFields) {
|
|
157
169
|
this.validateInputs(collectionSlug, searchableFields);
|
|
158
170
|
const ftsTable = this.getFtsTableName(collectionSlug);
|
|
159
171
|
const contentTable = this.getContentTableName(collectionSlug);
|
|
160
172
|
const fieldList = searchableFields.join(", ");
|
|
161
|
-
|
|
173
|
+
return sql.raw(`
|
|
162
174
|
INSERT INTO "${ftsTable}"(rowid, id, locale, ${fieldList})
|
|
163
175
|
SELECT rowid, id, locale, ${fieldList} FROM "${contentTable}"
|
|
164
176
|
WHERE deleted_at IS NULL
|
|
165
|
-
`).
|
|
177
|
+
`).compile(this.db);
|
|
166
178
|
}
|
|
167
179
|
/**
|
|
168
180
|
* Get the search configuration for a collection
|
|
169
181
|
*/
|
|
170
182
|
async getSearchConfig(collectionSlug) {
|
|
171
|
-
|
|
172
|
-
if (!result?.search_config) return null;
|
|
173
|
-
try {
|
|
174
|
-
const parsed = JSON.parse(result.search_config);
|
|
175
|
-
if (typeof parsed !== "object" || parsed === null || !("enabled" in parsed) || typeof parsed.enabled !== "boolean") return null;
|
|
176
|
-
const config = { enabled: parsed.enabled };
|
|
177
|
-
if ("weights" in parsed && typeof parsed.weights === "object" && parsed.weights !== null) {
|
|
178
|
-
const weights = {};
|
|
179
|
-
for (const [k, v] of Object.entries(parsed.weights)) if (typeof v === "number") weights[k] = v;
|
|
180
|
-
config.weights = weights;
|
|
181
|
-
}
|
|
182
|
-
return config;
|
|
183
|
-
} catch {
|
|
184
|
-
return null;
|
|
185
|
-
}
|
|
183
|
+
return parseSearchConfig((await this.db.selectFrom("_dineway_collections").select("search_config").where("slug", "=", collectionSlug).executeTakeFirst())?.search_config ?? null);
|
|
186
184
|
}
|
|
187
185
|
/**
|
|
188
186
|
* Update the search configuration for a collection
|
|
189
187
|
*/
|
|
188
|
+
configStatement(collectionSlug, config) {
|
|
189
|
+
return this.db.updateTable("_dineway_collections").set({ search_config: JSON.stringify(config) }).where("slug", "=", collectionSlug).compile();
|
|
190
|
+
}
|
|
190
191
|
async setSearchConfig(collectionSlug, config) {
|
|
191
|
-
await this.db.
|
|
192
|
+
await this.db.executeQuery(this.configStatement(collectionSlug, config));
|
|
192
193
|
}
|
|
193
194
|
/**
|
|
194
195
|
* Get searchable fields for a collection
|
|
@@ -208,11 +209,10 @@ var FTSManager = class {
|
|
|
208
209
|
if (!isSqlite(this.db)) throw new Error("Full-text search is only available with SQLite databases");
|
|
209
210
|
const searchableFields = await this.getSearchableFields(collectionSlug);
|
|
210
211
|
if (searchableFields.length === 0) throw new Error(`No searchable fields defined for collection "${collectionSlug}". Mark at least one field as searchable before enabling search.`);
|
|
211
|
-
await this.
|
|
212
|
-
await this.setSearchConfig(collectionSlug, {
|
|
212
|
+
await atomicBatch(this.db, { statements: [...this.rebuildStatements(collectionSlug, searchableFields, options?.weights), this.configStatement(collectionSlug, {
|
|
213
213
|
enabled: true,
|
|
214
214
|
weights: options?.weights
|
|
215
|
-
});
|
|
215
|
+
})] });
|
|
216
216
|
}
|
|
217
217
|
/**
|
|
218
218
|
* Disable search for a collection
|
|
@@ -222,11 +222,10 @@ var FTSManager = class {
|
|
|
222
222
|
async disableSearch(collectionSlug) {
|
|
223
223
|
if (!isSqlite(this.db)) return;
|
|
224
224
|
const existing = await this.getSearchConfig(collectionSlug);
|
|
225
|
-
await this.
|
|
226
|
-
await this.setSearchConfig(collectionSlug, {
|
|
225
|
+
await atomicBatch(this.db, { statements: [...this.dropStatements(collectionSlug), this.configStatement(collectionSlug, {
|
|
227
226
|
enabled: false,
|
|
228
227
|
weights: existing?.weights
|
|
229
|
-
});
|
|
228
|
+
})] });
|
|
230
229
|
}
|
|
231
230
|
/**
|
|
232
231
|
* Get index statistics for a collection
|
|
@@ -297,6 +296,22 @@ var FTSManager = class {
|
|
|
297
296
|
return repaired;
|
|
298
297
|
}
|
|
299
298
|
};
|
|
299
|
+
function parseSearchConfig(value) {
|
|
300
|
+
if (!value) return null;
|
|
301
|
+
try {
|
|
302
|
+
const parsed = JSON.parse(value);
|
|
303
|
+
if (typeof parsed !== "object" || parsed === null || !("enabled" in parsed) || typeof parsed.enabled !== "boolean") return null;
|
|
304
|
+
const config = { enabled: parsed.enabled };
|
|
305
|
+
if ("weights" in parsed && typeof parsed.weights === "object" && parsed.weights !== null) {
|
|
306
|
+
const weights = {};
|
|
307
|
+
for (const [k, v] of Object.entries(parsed.weights)) if (typeof v === "number") weights[k] = v;
|
|
308
|
+
config.weights = weights;
|
|
309
|
+
}
|
|
310
|
+
return config;
|
|
311
|
+
} catch {
|
|
312
|
+
return null;
|
|
313
|
+
}
|
|
314
|
+
}
|
|
300
315
|
|
|
301
316
|
//#endregion
|
|
302
|
-
export { fts_manager_exports as n, FTSManager as t };
|
|
317
|
+
export { fts_manager_exports as n, parseSearchConfig as r, FTSManager as t };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { b as HitlRequestService } from "./site-context-
|
|
2
|
-
import { t as ExperimentalSiteContextWorkflowDisabledError } from "./experimental-workflows-
|
|
1
|
+
import { b as HitlRequestService } from "./site-context-D9oETfxF.mjs";
|
|
2
|
+
import { t as ExperimentalSiteContextWorkflowDisabledError } from "./experimental-workflows-fzJHB3ZI.mjs";
|
|
3
3
|
|
|
4
4
|
//#region src/api/handlers/hitl-requests.ts
|
|
5
5
|
const HITL_NOT_FOUND_RE = /not found/i;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as
|
|
3
|
-
import {
|
|
4
|
-
import { p as logSiteActivitySafely } from "./activity-events-
|
|
5
|
-
import { t as ExperimentalSiteContextWorkflowDisabledError } from "./experimental-workflows-
|
|
1
|
+
import { i as resolveActorIdentity } from "./actor-DxUAJgQX.mjs";
|
|
2
|
+
import { t as WorkflowHitlCoordinator } from "./site-context-D9oETfxF.mjs";
|
|
3
|
+
import { t as apiError } from "./error-B-44r5TD.mjs";
|
|
4
|
+
import { p as logSiteActivitySafely } from "./activity-events-CiFN61xq.mjs";
|
|
5
|
+
import { t as ExperimentalSiteContextWorkflowDisabledError } from "./experimental-workflows-fzJHB3ZI.mjs";
|
|
6
6
|
import { Role } from "@dineway-ai/auth";
|
|
7
7
|
|
|
8
8
|
//#region src/api/hitl-route-helpers.ts
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { n as slugify } from "./slugify-
|
|
2
|
-
import { t as TaxonomyRepository } from "./taxonomy-
|
|
3
|
-
import { t as OptionsRepository } from "./options-
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import { n as resolveLocaleChain } from "./resolve-
|
|
7
|
-
import { l as invalidateTermCache } from "./taxonomies-
|
|
8
|
-
import { n as parseWxrString } from "./parser-
|
|
9
|
-
import { _ as sanitizeFieldSlug, a as getFilenameFromUrl, c as isInternalMetaKey, d as mapMetaKeyToField, f as mapPostTypeToCollection, h as relativizeContentLinks, i as checkSchemaCompatibility, l as isInternalPostType, m as normalizeUrl$1, n as FEATURED_IMAGE_FIELD, o as guessMimeType, p as mapWpStatus, r as buildAttachmentMap, s as inferMetaType, t as BASE_REQUIRED_FIELDS, u as isPluginBookkeepingMeta } from "./utils-
|
|
1
|
+
import { n as slugify } from "./slugify-Di8Q_MFq.mjs";
|
|
2
|
+
import { t as TaxonomyRepository } from "./taxonomy-DWxxLpp5.mjs";
|
|
3
|
+
import { t as OptionsRepository } from "./options-BcqHWpc-.mjs";
|
|
4
|
+
import { a as validateExternalUrl, n as resolveAndValidateExternalUrl, r as ssrfSafeFetch } from "./ssrf-COxLChKv.mjs";
|
|
5
|
+
import { o as invalidateSiteSettingsCache } from "./settings-DRFy8JQx.mjs";
|
|
6
|
+
import { n as resolveLocaleChain } from "./resolve-CpOV2jt_.mjs";
|
|
7
|
+
import { l as invalidateTermCache } from "./taxonomies-DW6Fps-w.mjs";
|
|
8
|
+
import { n as parseWxrString } from "./parser-ehIlj32k.mjs";
|
|
9
|
+
import { _ as sanitizeFieldSlug, a as getFilenameFromUrl, c as isInternalMetaKey, d as mapMetaKeyToField, f as mapPostTypeToCollection, h as relativizeContentLinks, i as checkSchemaCompatibility, l as isInternalPostType, m as normalizeUrl$1, n as FEATURED_IMAGE_FIELD, o as guessMimeType, p as mapWpStatus, r as buildAttachmentMap, s as inferMetaType, t as BASE_REQUIRED_FIELDS, u as isPluginBookkeepingMeta } from "./utils-BoWkoty8.mjs";
|
|
10
10
|
import { ulid } from "ulidx";
|
|
11
11
|
import { gutenbergToPortableText } from "@dineway-ai/gutenberg-to-portable-text";
|
|
12
12
|
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import { n as ContentBylineCredit, t as BylineSummary, u as FindManyResult } from "./types-
|
|
2
|
-
import { t as Database } from "./types-
|
|
3
|
-
import {
|
|
1
|
+
import { n as ContentBylineCredit, t as BylineSummary, u as FindManyResult } from "./types-BFoQ5a1v.mjs";
|
|
2
|
+
import { t as Database } from "./types-CVRNRAA5.mjs";
|
|
3
|
+
import { AtomicBatch } from "./database/batch.mjs";
|
|
4
|
+
import { d as ImportSource, g as ProbeResult } from "./types-CAD4OvmF.mjs";
|
|
4
5
|
import { Kysely } from "kysely";
|
|
5
6
|
import { PortableTextBlock } from "@dineway-ai/gutenberg-to-portable-text";
|
|
6
7
|
import { Readable } from "node:stream";
|
|
@@ -40,7 +41,7 @@ declare class BylineRepository {
|
|
|
40
41
|
private applyCustomFieldsTo;
|
|
41
42
|
private loadGroupValuesByIds;
|
|
42
43
|
private resolveCustomFieldWrites;
|
|
43
|
-
private
|
|
44
|
+
private prepareCustomFields;
|
|
44
45
|
findById(id: string): Promise<BylineSummary | null>;
|
|
45
46
|
findBySlug(slug: string, options?: {
|
|
46
47
|
locale?: string;
|
|
@@ -82,7 +83,9 @@ declare class BylineRepository {
|
|
|
82
83
|
locale?: string;
|
|
83
84
|
skipHydration?: boolean;
|
|
84
85
|
}): Promise<Map<string, BylineSummary>>;
|
|
86
|
+
prepareCopyContentBylines(collectionSlug: string, sourceContentId: string, targetContentId: string): Promise<AtomicBatch>;
|
|
85
87
|
copyContentBylines(collectionSlug: string, sourceContentId: string, targetContentId: string): Promise<void>;
|
|
88
|
+
prepareContentBylines(collectionSlug: string, contentId: string, inputBylines: ContentBylineInput[]): Promise<AtomicBatch>;
|
|
86
89
|
setContentBylines(collectionSlug: string, contentId: string, inputBylines: ContentBylineInput[]): Promise<ContentBylineCredit[]>;
|
|
87
90
|
}
|
|
88
91
|
//#endregion
|
package/dist/index.d.mts
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import { _ as UpdateCollectionInput, a as ColumnType, d as FieldType, f as FieldValidation, g as RESERVED_FIELD_SLUGS, h as RESERVED_COLLECTION_SLUGS, i as CollectionWithFields, l as FIELD_TYPE_TO_COLUMN, m as PublicDiscoveryRules, n as CollectionSource, o as CreateCollectionInput, p as FieldWidgetOptions, r as CollectionSupport, s as CreateFieldInput, t as Collection, u as Field, v as UpdateFieldInput } from "./types-
|
|
2
|
-
import { a as ContentSeo, c as DinewayValidationError, d as ScheduledNotDueError, f as UpdateContentInput, i as ContentItem, l as FindManyOptions, m as encodeCursor, n as ContentBylineCredit, o as ContentSeoInput, p as decodeCursor, s as CreateContentInput, t as BylineSummary, u as FindManyResult } from "./types-
|
|
3
|
-
import { $ as PluginMcpCommandTool, $a as RevisionListResponse, $i as getTranslations, $n as GetCommentsOptions, $o as handleContentUpdate, $r as PluginSecretStore, $t as currentTimestamp, A as MediaUploadEvent, Aa as PortableTextTextBlock, Ai as invalidateCommentObjectCache, An as getTaxonomyDef, Ar as AssignmentAccessContext, As as SiteActivityTimelineQuery, At as ResolvedPluginHooks, B as PluginActor, Ba as SectionSource, Bi as CollectionResult, Bn as getByline, Bo as handleContentDiscardDraft, Br as BuiltContentReleasePayload, Bs as WhereRange, Bt as StoredComment, C as FieldWidgetConfig, Ca as prosemirrorToPortableText, Ci as CacheNamespace, Cn as UpdateWidgetInput, Co as SandboxRunnerFactory, Cr as GeneratePreviewTokenOptions, Ct as PortableTextBlockField, D as KVAccess, Da as PortableTextLinkMark, Di as contentNamespaces, Dn as WidgetType, Do as PluginMcpTargetAuthorizer, Dr as generatePreviewToken, Ds as SiteActivityRepository, Dt as PublicSchemaNode, E as HttpAccess, Ea as PortableTextImageBlock, Ei as contentNamespace, En as WidgetComponentDef, Er as VerifyPreviewTokenResult, Es as SiteActivityActorType, Et as PublicPageSchema, F as PageMetadataContribution, Fa as getSection, Fi as isObjectCacheActive, Fn as CreateTermInput, Fo as handleContentCompare, Fr as HandoffResumeResult, Fs as MediaRepository, Ft as StandardPluginDefinition, G as PluginAuthMethod, Ga as SchemaRegistry, Gi as InferCollectionData, Gn as CreateMenuInput, Go as handleContentListTrashed, Gr as createNodeSandboxRunner, Gs as DinewayDatabaseError, Gt as PublicationReadinessPolicyBlocker, H as PluginAdminConfig, Ha as validateContent, Hi as DinewayCollections, Hn as getEntriesByByline, Ho as handleContentGet, Hr as PublicationReleasePolicyDisposition, I as PageMetadataEvent, Ia as getSections, Ii as AfterCallback, In as TaxonomyDef, Io as handleContentCountScheduled, Ir as HandoffSnapshotStore, Is as ContentRepository, It as StandardRouteEntry, J as PluginDefinition, Ja as handleMediaCreate, Ji as TranslationSummary, Jn as MenuItem, Jo as handleContentRestore, Jr as createNoopSandboxRunner, K as PluginCapability, Ka as MediaListResponse, Ki as ResolvePathResult, Kn as CreateMenuItemInput, Ko as handleContentPermanentDelete, Kr as NoopSandboxRunner, Kt as PublicationReadinessPolicyFinding, L as PageMetadataHandler, La as CreateSectionInput, Li as after, Ln as TaxonomyTerm, Lo as handleContentCountTrashed, Lr as ResumeHandoffSnapshotInput, Ls as CollectionFilter$1, Lt as StandardRouteHandler, M as PageFragmentContribution, Ma as ProseMirrorDocument, Mi as invalidateObjectCache, Mn as getTaxonomyTerms, Mr as AssignmentListInput, Ms as RevisionRepository, Mt as RouteContext, N as PageFragmentEvent, Na as ProseMirrorMark, Ni as invalidateSchemaObjectCache, Nn as getTerm, Nr as AssignmentService, Ns as CreateMediaInput, Nt as StandardHookEntry, O as LogAccess, Oa as PortableTextMarkDef, Oi as invalidateBylineObjectCache, On as getEntriesByTerm, Or as parseContentId, Os as SiteActivityResultStatus, Ot as ResolvedHook, P as PageFragmentHandler, Pa as ProseMirrorNode, Pi as invalidateTaxonomyObjectCache, Pn as getTermsForEntries, Po as handleContentAuthors, Pr as CreateWorkflowAssignmentInput, Ps as MediaItem, Pt as StandardHookHandler, Q as PluginMcpCommandPreview, Qa as handleMediaUpdate, Qi as getEditMeta, Qn as UpdateMenuItemInput, Qo as handleContentUnschedule, Qr as PluginSecretStatus, Qt as PublicationReleasePreparationTarget, Ra as GetSectionsOptions, Ri as CacheHint, Rn as TaxonomyTermRow, Ro as handleContentCreate, Rr as CreateHandoffSnapshotInput, Rs as EntryData, Rt as StorageCollection, S as EmailMessage, Sa as portableTextToProsemirror, Si as verifyPreviewSignature, Sn as ReorderWidgetsInput, So as SandboxRunner, Sr as getPreviewUrl, St as PortableTextBlockConfig, T as HookName, Ta as PortableTextHtmlBlock, Ti as cachedQuery, Tn as WidgetArea, To as SerializedRequest, Tr as VerifyPreviewTokenOptions, Ts as SiteActivity, Tt as PublicPageImage, U as PluginAdminExports, Ua as getCollectionInfo, Ui as EditFieldMeta, Un as getMenu, Uo as handleContentGetIncludingTrashed, Ur as buildStableActionHash, Us as getDb, Ut as PublicationPolicyOverride, V as PluginActorType, Va as UpdateSectionInput, Vi as ContentEntry, Vn as getBylineBySlug, Vo as handleContentDuplicate, Vr as PublicationReleasePolicyContribution, Vs as WhereValue, Vt as isStandardPluginDefinition, W as PluginAdminPage, Wa as SchemaError, Wi as EntryResult, Wn as getMenus, Wo as handleContentList, Wr as NodeSandboxRunner, Ws as DatabaseConfig, Wt as PublicationReadinessBlocker, X as PluginManifest, Xa as handleMediaGet, Xi as getDinewayCollection, Xn as ReorderMenuItemsInput, Xo as handleContentTranslations, Xr as createPluginManager, Y as PluginHooks, Ya as handleMediaDelete, Yi as TranslationsResult, Yn as MenuItemType, Yo as handleContentSchedule, Yr as PluginManager, Yt as PublicationReadinessWarning, Z as PluginMcpAuthorization, Za as handleMediaList, Zi as getDinewayEntry, Zn as UpdateMenuInput, Zo as handleContentUnpublish, Zr as createReviewedPluginMcpCommandExecutor, Zt as PublicationReleasePolicy, _ as EmailAfterSendHandler, _a as checkRateLimit, _i as PreviewSidecarSignature, _n as getWidgetAreas, _o as HookResult, _r as isBlockedInPreview, _s as AssignmentPriority, _t as PluginRouteTargetAuthorizationRequest, a as CommentAfterModerateEvent, aa as createNoop, ac as ListResponse, ai as FilePreviewMiddlewareConfig, an as searchCollection, ao as SiteBriefing, ar as getSiteSetting, as as FileValue, at as PluginMcpResource, b as EmailDeliverEvent, ba as computeContentHash, bi as parsePreviewSignatureHeader, bn as CreateWidgetInput, bo as SandboxEmailSendCallback, br as GetPreviewUrlOptions, bs as CreateAssignmentInput, bt as PluginStorageConfig, c as CommentBeforeCreateHandler, ca as GuestAccessTokenConfigurationError, ci as FileSessionDatabaseFactoryOptions, cn as CollectionSearchOptions, cr as PreviewToolbarConfig, cs as ContentReference, ct as PluginMcpRiskFactor, d as ContentAccess, da as VerifyGuestAccessTokenOptions, di as SessionDatabaseHandle, dn as SearchResponse, do as ConfirmedContentPublicationResult, dr as ApplySnapshotToDatabaseOptions, ds as RelationRepository, dt as PluginMigration, ea as resolveDinewayPath, ei as PluginSecretStoreOptions, en as extractPlainText, eo as RevisionResponse, er as GetCommentsResult, es as portableText, et as PluginMcpConfig, f as ContentDeleteEvent, fa as VerifyGuestAccessTokenResult, fi as SessionDatabaseInfo, fn as SearchResult, fo as PublishConfirmedContentInput, fr as applySnapshotToDatabase, fs as UpdateRelationInput, ft as PluginRoute, g as EmailAfterSendEvent, ga as RateLimitResult, gi as PreviewSidecarClient, gn as getWidgetArea, go as HookPipeline, gr as renderPreviewLoadingPage, gs as AssignmentListQuery, gt as PluginRouteMethod, h as EmailAccess, ha as verifyGuestAccessToken, hi as SessionOpenOrCreateOptions, hn as Suggestion, hr as Snapshot, hs as AssignmentActorType, ht as PluginRouteBodyMode, i as CommentAfterCreateHandler, ia as createEditable, ic as FieldDescriptor, ii as definePlugin, in as search, io as generateManifest, ir as getPluginSettings, is as FieldUIHints, it as PluginMcpQueryTool, j as ModerationDecision, ja as PortableTextUnknownBlock, ji as invalidateMenuObjectCache, jn as getTaxonomyDefs, jr as AssignmentActionInput, jt as ResolvedPluginMcpConfig, k as MediaAccess, ka as PortableTextSpan, ki as invalidateCollectionCache, kn as getEntryTerms, ko as PluginDescriptor, kr as verifyPreviewToken, ks as SiteActivitySourceType, kt as ResolvedPlugin, l as CommentModerateEvent, la as IssueGuestAccessTokenOptions, li as SessionCleanupResult, ln as SearchConfig, lr as renderPreviewToolbar, ls as CreateRelationInput, lt as PluginMcpRiskLevel, m as ContentPublishStateChangeEvent, ma as issueGuestAccessToken, mi as SessionOpenOptions, mn as SuggestOptions, mo as PluginRouteError, mr as getAppliedSnapshotMeta, ms as AssignmentActorRef, mt as PluginRouteAuthorization, n as CollectionCommentSettings, na as EditProxy, nc as ContentListResponse, ni as pluginManifestSchema, nn as getSearchStats, no as handleRevisionList, nr as getComments, ns as image, nt as PluginMcpPiiClass, o as CommentAfterModerateHandler, oa as GuestAccessExpectedScope, oc as ManifestResponse, oi as createFilePreviewMiddleware, on as searchWithDb, oo as SiteBriefingAssembler, or as getSiteSettings, os as ImageValue, ot as PluginMcpResourceContent, p as ContentHookEvent, pa as hashGuestAccessToken, pi as SessionDatabaseLimitError, pn as SearchStats, pr as dropSessionDatabaseTables, ps as Assignment, q as PluginContext, qa as MediaResponse, qi as SelectedCollectionData, qn as Menu, qo as handleContentPublish, qr as SandboxNotAvailableError, qt as PublicationReadinessPolicyTarget, r as CommentAfterCreateEvent, ra as FieldAnnotation, rc as ContentResponse, ri as runPluginMigrations, rn as getSuggestions, ro as handleRevisionRestore, rr as getPluginSetting, rs as FieldDefinition, rt as PluginMcpPiiPolicy, s as CommentBeforeCreateEvent, sa as GuestAccessTokenClaims, si as FileSessionDatabaseFactory, sn as FTSManager, so as SiteBriefingContextEntry, sr as setSiteSettings, ss as PortableTextBlock, st as PluginMcpReversibility, t as BreadcrumbItem, ta as CMSAnnotation, tc as ApiContext, ti as ValidatedPluginManifest, tn as extractSearchableFields, to as handleRevisionGet, tr as getCommentCount, ts as reference, tt as PluginMcpExecutionContext, u as CommentModerateHandler, ua as IssuedGuestAccessToken, ui as SessionDatabaseFactory, un as SearchOptions, uo as ConfirmedContentAuthorizer, ur as AppliedSnapshotMeta, us as Relation, ut as PluginMcpTool, v as EmailBeforeSendEvent, va as isSafeHref, vi as buildPreviewSignatureHeader, vn as getWidgetComponents, vo as createHookPipeline, vr as getPreviewToken, vs as AssignmentRepository, vt as PluginRouteTargetAuthorizer, w as HookConfig, wa as PortableTextCodeBlock, wi as CachedQueryOptions, wn as Widget, wo as SandboxedPlugin, wr as PreviewTokenPayload, ws as CreateSiteActivityInput, wt as PublicPageContext, x as EmailDeliverHandler, xa as hashString, xi as signPreviewUrl, xn as PropDef, xo as SandboxOptions, xr as buildPreviewUrl, xs as MarkAssignmentsOverdueInput, xt as PluginTargetScope, y as EmailBeforeSendHandler, ya as sanitizeHref, yi as defaultPreviewSidecarClient, yn as CreateWidgetAreaInput, yo as SandboxEmailMessage, yr as isPreviewRequest, ys as AssignmentStatus, yt as PluginRouteTargetContext, z as PagePlacement, za as Section, zi as CollectionFilter, zn as UpdateTermInput, zo as handleContentDelete, zr as HandoffSnapshot, zs as EntryFilter } from "./types-CfpX1og5.mjs";
|
|
4
|
-
import { $ as RestaurantReservationExperienceTable, $t as VenuePaymentRecordStatus, A as RestaurantOperatingSettingsTable, At as VenueAvailabilityBlockTable, B as RestaurantPaymentFlow, Bt as VenueLocationMembershipTable, C as RestaurantMenuOverrideTable, Ct as RestaurantSpecialHoursTable, D as RestaurantModifierGroupTable, Dt as RestaurantZoneTable, E as RestaurantMenuTable, Et as RestaurantTaxMode, F as RestaurantOrderSource, Ft as VenueCancellationPolicyTable, G as RestaurantPriorityAlertTable, Gt as VenueOrderStatus, H as RestaurantPaymentTable, Ht as VenueMessageTable, I as RestaurantOrderStatus, It as VenueCancellationPolicyTierTable, J as RestaurantReservationAddonTable, Jt as VenueOutboxEventTable, K as RestaurantRefundTable, Kt as VenueOrderStatusHistoryTable, L as RestaurantOrderStatusHistoryTable, Lt as VenueConversationReadTable, M as RestaurantOrderItemTable, Mt as VenueBookingHoldTable, N as RestaurantOrderSequenceTable, Nt as VenueBookingMode, O as RestaurantModifierOptionTable, P as RestaurantOrderSnapshotTable, Pt as VenueBookingPolicyTable, Q as RestaurantReservationExperienceIncludedAddonTable, Qt as VenuePaymentEventTable, R as RestaurantOrderTable, Rt as VenueConversationTable, S as RestaurantMenuLocationAssignmentTable, St as RestaurantServiceScope, T as RestaurantMenuSectionTable, Tt as RestaurantTableTable, U as RestaurantPriorityAlertDeliveryTable, Ut as VenueNotificationSettingsTable, V as RestaurantPaymentStatus, Vt as VenueLocationTable, W as RestaurantPriorityAlertOpportunityTable, Wt as VenueOrderCancellationSnapshotTable, X as RestaurantReservationDemandSettingsTable, Xt as VenuePaymentAllocationTable, Y as RestaurantReservationBlockTable, Yt as VenuePaymentAllocationStatus, Z as RestaurantReservationExperienceAddonCategoryTable, Zt as VenuePaymentCollection, _ as RestaurantLocationMembershipTable, _t as RestaurantReservationRequestTableAssignmentTable, a as RestaurantCartHoldTable, an as VenueQuoteTable, at as RestaurantReservationHoldTable, b as RestaurantMenuItemTable, bt as RestaurantReservationTable, c as RestaurantDeliveryZoneTable, cn as VenueRefundTable, ct as RestaurantReservationOfferTable, d as RestaurantFulfilmentType, dn as VenueReviewTable, dt as RestaurantReservationPromotionOperationTable, en as VenuePaymentStatus, et as RestaurantReservationGiftCardAllocationTable, f as RestaurantGiftCardLedgerEntryTable, fn as VenueSpaceLayoutTable, ft as RestaurantReservationPromotionTable, g as RestaurantHoursTable, gt as RestaurantReservationRequestTable, h as RestaurantHoursOverrideTable, ht as RestaurantReservationQuoteTable, i as RestaurantCapacityOverrideTable, in as VenueQuoteStatus, it as RestaurantReservationHoldCommercialSelectionTable, j as RestaurantOrderItemModifierTable, jt as VenueAvailabilityRuleTable, k as RestaurantNotificationSettingsTable, kt as UserTable, l as RestaurantDineInSessionTable, ln as VenueReviewInvitationTable, lt as RestaurantReservationPaymentPolicyTable, m as RestaurantGuestAccessTable, mn as VenueTable, mt as RestaurantReservationQuoteLineTable, n as MediaTable, nn as VenueQuoteLineTable, nt as RestaurantReservationHoldAddonOperationTable, o as RestaurantClosureTable, on as VenueRatePlanTable, ot as RestaurantReservationLanguageSettingsTable, p as RestaurantGiftCardTable, pn as VenueSpaceTable, pt as RestaurantReservationQuoteCheckoutTable, q as RestaurantReservationAddonCategoryTable, qt as VenueOrderTable, r as RestaurantCapacityCounterTable, rn as VenueQuoteRecordStatus, rt as RestaurantReservationHoldAddonTable, s as RestaurantDeliverySettingsTable, sn as VenueRecordStatus, st as RestaurantReservationOfferLinkDeliveryTable, t as Database, tn as VenuePaymentTable, tt as RestaurantReservationGiftCardOperationTable, u as RestaurantDineInSettingsTable, un as VenueReviewResponseTable, ut as RestaurantReservationPromotionAllocationTable, v as RestaurantLocationTable, vt as RestaurantReservationSettingsTable, w as RestaurantMenuSectionItemTable, wt as RestaurantTabRoundTable, x as RestaurantMenuItemTranslationTable, xt as RestaurantReservationTableAssignmentTable, y as RestaurantMenuItemModifierGroupTable, yt as RestaurantReservationStatus, z as RestaurantOutboxDeliveryTable, zt as VenueGuestAccessTable } from "./types-
|
|
5
|
-
import { _ as MediaValue, n as generatePlaceholder, r as normalizeMediaValue, t as PlaceholderData } from "./placeholder-
|
|
6
|
-
import { n as getMigrationStatus, t as MigrationStatus } from "./runner-
|
|
7
|
-
import { C as parseWxr, D as ContentBylineInput, E as BylineRepository, O as CreateBylineInput, S as WxrTag, T as decodeSlug, _ as WxrAuthor, a as wxrSource, b as WxrPost, c as getFileSources, d as probeUrl, f as registerSource, g as WxrAttachment, i as parseWxrDate, k as UpdateBylineInput, l as getSource, n as wordpressRestSource, o as clearSources, p as importReusableBlocksAsSections, s as getAllSources, u as getUrlSources, v as WxrCategory, w as parseWxrString, x as WxrSite, y as WxrData } from "./index-
|
|
8
|
-
import { a as AuthResult, i as AuthProviderModule, n as AuthProviderAdminExports, o as AuthRouteDescriptor, r as AuthProviderDescriptor, s as ExternalAuthConfig, t as AuthDescriptor } from "./types-
|
|
9
|
-
import { a as PostgresConfig,
|
|
10
|
-
import { i as ObjectCacheRuntimeConfig, n as ObjectCacheBackend, r as ObjectCacheDescriptor } from "./types-
|
|
11
|
-
import { a as ListOptions, c as S3StorageConfig, d as Storage, f as StorageDescriptor, i as FileInfo, l as SignedUploadOptions, n as DinewayStorageError, o as ListResult, p as UploadResult, r as DownloadResult, s as LocalStorageConfig, t as CreateStorageFn, u as SignedUploadUrl } from "./types-
|
|
12
|
-
import { c as I18nConfig, d as isI18nEnabled, l as getFallbackChain, n as resolveContentUrl, t as ResolveContentUrlInput, u as getI18nConfig } from "./public-url-
|
|
13
|
-
import { C as SiteSettingKey, S as SeoSettings, _ as SeedTaxonomyTerm, a as applySeed, b as ValidationResult, c as SeedCollection, d as SeedFile, f as SeedMenu, g as SeedTaxonomy, l as SeedContentEntry, o as SeedApplyOptions, p as SeedMenuItem, s as SeedApplyResult, t as validateSeed, u as SeedField, v as SeedWidget, w as SiteSettings, x as MediaReference, y as SeedWidgetArea } from "./validate-
|
|
14
|
-
import "./byline-fields-
|
|
1
|
+
import { _ as UpdateCollectionInput, a as ColumnType, d as FieldType, f as FieldValidation, g as RESERVED_FIELD_SLUGS, h as RESERVED_COLLECTION_SLUGS, i as CollectionWithFields, l as FIELD_TYPE_TO_COLUMN, m as PublicDiscoveryRules, n as CollectionSource, o as CreateCollectionInput, p as FieldWidgetOptions, r as CollectionSupport, s as CreateFieldInput, t as Collection, u as Field, v as UpdateFieldInput } from "./types-1qU0-N1P.mjs";
|
|
2
|
+
import { a as ContentSeo, c as DinewayValidationError, d as ScheduledNotDueError, f as UpdateContentInput, i as ContentItem, l as FindManyOptions, m as encodeCursor, n as ContentBylineCredit, o as ContentSeoInput, p as decodeCursor, s as CreateContentInput, t as BylineSummary, u as FindManyResult } from "./types-BFoQ5a1v.mjs";
|
|
3
|
+
import { $ as PluginMcpCommandPreview, $a as handleMediaUpdate, $i as getEditMeta, $n as UpdateMenuItemInput, $o as handleContentUnpublish, $r as PluginSecretStatus, $s as WhereValue, $t as PublicationReleasePreparationTarget, A as MediaUploadEvent, Aa as PortableTextSpan, Ai as invalidateCollectionCache, An as getEntryTerms, Ar as verifyPreviewToken, As as AssignmentStatus, At as ResolvedPlugin, B as PluginActor, Ba as Section, Bi as CollectionFilter, Bn as UpdateTermInput, Bo as handleContentCreate, Br as HandoffSnapshot, Bs as SiteActivitySourceType, C as FieldWidgetConfig, Ca as portableTextToProsemirror, Cc as ListResponse, Ci as verifyPreviewSignature, Cn as ReorderWidgetsInput, Co as SandboxOptions, Cr as getPreviewUrl, Cs as UpdateRelationInput, Ct as PortableTextBlockConfig, D as KVAccess, Da as PortableTextImageBlock, Di as contentNamespace, Dn as WidgetComponentDef, Do as SerializedRequest, Dr as VerifyPreviewTokenResult, Ds as AssignmentListQuery, Dt as PublicPageSchema, E as HttpAccess, Ea as PortableTextHtmlBlock, Ei as cachedQuery, En as WidgetArea, Eo as SandboxedPlugin, Er as VerifyPreviewTokenOptions, Es as AssignmentActorType, Et as PublicPageImage, F as PageMetadataContribution, Fa as ProseMirrorNode, Fi as invalidateTaxonomyObjectCache, Fn as getTermsForEntries, Fr as CreateWorkflowAssignmentInput, Fs as CreateSiteActivityInput, Ft as StandardHookHandler, G as PluginAuthMethod, Ga as SchemaError, Gi as EntryResult, Gn as getMenus, Go as handleContentGetIncludingTrashed, Gr as NodeSandboxRunner, Gs as CreateMediaInput, Gt as PublicationReadinessBlocker, H as PluginAdminConfig, Ha as UpdateSectionInput, Hi as ContentEntry, Hn as getBylineBySlug, Ho as handleContentDiscardDraft, Hr as PublicationReleasePolicyContribution, Ht as isStandardPluginDefinition, I as PageMetadataEvent, Ia as getSection, Ii as isObjectCacheActive, In as CreateTermInput, Io as handleContentAuthors, Ir as HandoffResumeResult, Is as SiteActivity, It as StandardPluginDefinition, J as PluginD1Support, Ja as MediaResponse, Ji as SelectedCollectionData, Jn as Menu, Jo as handleContentPermanentDelete, Jr as SandboxNotAvailableError, Js as ContentRepository, Jt as PublicationReadinessPolicyTarget, K as PluginCapability, Ka as SchemaRegistry, Ki as InferCollectionData, Kn as CreateMenuInput, Ko as handleContentList, Kr as createNodeSandboxRunner, Ks as MediaItem, Kt as PublicationReadinessPolicyBlocker, L as PageMetadataHandler, La as getSections, Li as AfterCallback, Ln as TaxonomyDef, Lo as handleContentCompare, Lr as HandoffSnapshotStore, Ls as SiteActivityActorType, Lt as StandardRouteEntry, M as PageFragmentContribution, Ma as PortableTextUnknownBlock, Mi as invalidateMenuObjectCache, Mn as getTaxonomyDefs, Mr as AssignmentActionInput, Ms as MarkAssignmentsOverdueInput, Mt as ResolvedPluginMcpConfig, N as PageFragmentEvent, Na as ProseMirrorDocument, Ni as invalidateObjectCache, Nn as getTaxonomyTerms, Nr as AssignmentListInput, Ns as ReviewRequest, Nt as RouteContext, O as LogAccess, Oa as PortableTextLinkMark, Oi as contentNamespaces, On as WidgetType, Or as generatePreviewToken, Os as AssignmentPriority, Ot as PublicSchemaNode, P as PageFragmentHandler, Pa as ProseMirrorMark, Pi as invalidateSchemaObjectCache, Pn as getTerm, Pr as AssignmentService, Pt as StandardHookEntry, Q as PluginMcpAuthorization, Qa as handleMediaList, Qi as getDinewayEntry, Qn as UpdateMenuInput, Qo as handleContentTranslations, Qr as createReviewedPluginMcpCommandExecutor, Qs as WhereRange, Qt as PublicationReleasePolicy, Ra as CreateSectionInput, Ri as after, Rn as TaxonomyTerm, Ro as handleContentCountScheduled, Rr as ResumeHandoffSnapshotInput, Rs as SiteActivityRepository, Rt as StandardRouteHandler, S as EmailMessage, Sa as hashString, Sc as FieldDescriptor, Si as signPreviewUrl, Sn as PropDef, So as SandboxEmailSendCallback, Sr as buildPreviewUrl, Ss as RelationRepository, St as PluginTargetScope, T as HookName, Ta as PortableTextCodeBlock, Ti as CachedQueryOptions, Tn as Widget, To as SandboxRunnerFactory, Tr as PreviewTokenPayload, Ts as AssignmentActorRef, Tt as PublicPageContext, U as PluginAdminExports, Ua as validateContent, Ui as DinewayCollections, Un as getEntriesByByline, Uo as handleContentDuplicate, Ur as PublicationReleasePolicyDisposition, V as PluginActorType, Va as SectionSource, Vi as CollectionResult, Vn as getByline, Vo as handleContentDelete, Vr as BuiltContentReleasePayload, Vs as SiteActivityTimelineQuery, Vt as StoredComment, W as PluginAdminPage, Wa as getCollectionInfo, Wi as EditFieldMeta, Wn as getMenu, Wo as handleContentGet, Wr as buildStableActionHash, Ws as RevisionRepository, Wt as PublicationPolicyOverride, X as PluginHooks, Xa as handleMediaDelete, Xi as TranslationsResult, Xn as MenuItemType, Xo as handleContentRestore, Xr as PluginManager, Xs as EntryData, Xt as PublicationReadinessWarning, Y as PluginDefinition, Ya as handleMediaCreate, Yi as TranslationSummary, Yn as MenuItem, Yo as handleContentPublish, Yr as createNoopSandboxRunner, Ys as CollectionFilter$1, Z as PluginManifest, Za as handleMediaGet, Zi as getDinewayCollection, Zn as ReorderMenuItemsInput, Zo as handleContentSchedule, Zr as createPluginManager, Zs as EntryFilter, _ as EmailAfterSendHandler, _a as RateLimitResult, _i as PreviewSidecarClient, _n as getWidgetArea, _r as renderPreviewLoadingPage, _s as ImageValue, _t as PluginRouteMethod, a as CommentAfterModerateEvent, aa as createEditable, ai as definePlugin, an as search, ao as generateManifest, ar as getPluginSettings, as as submitAutomatedReview, at as PluginMcpQueryTool, b as EmailDeliverEvent, ba as sanitizeHref, bc as ContentListResponse, bi as defaultPreviewSidecarClient, bn as CreateWidgetAreaInput, bo as createHookPipeline, br as isPreviewRequest, bs as CreateRelationInput, bt as PluginRouteTargetContext, c as CommentBeforeCreateHandler, ca as GuestAccessTokenClaims, ci as FileSessionDatabaseFactory, cn as FTSManager, co as SiteBriefingContextEntry, cr as setSiteSettings, cs as ContentWriteInput, ct as PluginMcpReversibility, d as ContentAccess, da as IssuedGuestAccessToken, di as SessionDatabaseFactory, dn as SearchOptions, do as AtomicConfirmedContentAuthorizer, dr as AppliedSnapshotMeta, ds as portableText, dt as PluginMcpTool, ea as getTranslations, ei as PluginSecretStore, en as currentTimestamp, eo as RevisionListResponse, er as GetCommentsOptions, es as handleContentUnschedule, et as PluginMcpCommandTool, f as ContentDeleteEvent, fa as VerifyGuestAccessTokenOptions, fi as SessionDatabaseHandle, fn as SearchResponse, fo as ConfirmedContentAuthorizer, fr as ApplySnapshotToDatabaseOptions, fs as reference, ft as PluginMigration, g as EmailAfterSendEvent, ga as verifyGuestAccessToken, gi as SessionOpenOrCreateOptions, gn as Suggestion, go as PluginRouteError, gr as Snapshot, gs as FileValue, gt as PluginRouteBodyMode, h as EmailAccess, ha as issueGuestAccessToken, hi as SessionOpenOptions, hn as SuggestOptions, hr as getAppliedSnapshotMeta, hs as FieldUIHints, ht as PluginRouteAuthorization, i as CommentAfterCreateHandler, ia as FieldAnnotation, ii as runPluginMigrations, in as getSuggestions, io as handleRevisionRestore, ir as getPluginSetting, is as prepareAutomatedReview, it as PluginMcpPiiPolicy, j as ModerationDecision, ja as PortableTextTextBlock, ji as invalidateCommentObjectCache, jn as getTaxonomyDef, jo as PluginDescriptor, jr as AssignmentAccessContext, js as CreateAssignmentInput, jt as ResolvedPluginHooks, k as MediaAccess, ka as PortableTextMarkDef, ki as invalidateBylineObjectCache, kn as getEntriesByTerm, ko as PluginMcpTargetAuthorizer, kr as parseContentId, ks as AssignmentRepository, kt as ResolvedHook, l as CommentModerateEvent, la as GuestAccessTokenConfigurationError, li as FileSessionDatabaseFactoryOptions, ln as CollectionSearchOptions, lr as PreviewToolbarConfig, ls as PreparedContentWrite, lt as PluginMcpRiskFactor, m as ContentPublishStateChangeEvent, ma as hashGuestAccessToken, mi as SessionDatabaseLimitError, mn as SearchStats, mo as PublishConfirmedContentInput, mr as dropSessionDatabaseTables, ms as FieldDefinition, n as CollectionCommentSettings, na as CMSAnnotation, nc as DatabaseConfig, ni as ValidatedPluginManifest, nn as extractSearchableFields, no as handleRevisionGet, nr as getCommentCount, ns as ReviewSubmissionError, nt as PluginMcpExecutionContext, o as CommentAfterModerateHandler, oa as createNoop, oi as FilePreviewMiddlewareConfig, on as searchCollection, oo as SiteBriefing, or as getSiteSetting, os as ReviewRequestActorInput, ot as PluginMcpResource, p as ContentHookEvent, pa as VerifyGuestAccessTokenResult, pi as SessionDatabaseInfo, pn as SearchResult, po as ConfirmedContentPublicationResult, pr as applySnapshotToDatabase, ps as image, pt as PluginRoute, q as PluginContext, qa as MediaListResponse, qi as ResolvePathResult, qn as CreateMenuItemInput, qo as handleContentListTrashed, qr as NoopSandboxRunner, qs as MediaRepository, qt as PublicationReadinessPolicyFinding, r as CommentAfterCreateEvent, ra as EditProxy, rc as DinewayDatabaseError, ri as pluginManifestSchema, rn as getSearchStats, ro as handleRevisionList, rr as getComments, rs as ReviewSubmissionInput, rt as PluginMcpPiiClass, s as CommentBeforeCreateEvent, sa as GuestAccessExpectedScope, si as createFilePreviewMiddleware, sn as searchWithDb, so as SiteBriefingAssembler, sr as getSiteSettings, ss as ContentReviewHandlers, st as PluginMcpResourceContent, t as BreadcrumbItem, ta as resolveDinewayPath, tc as getDb, ti as PluginSecretStoreOptions, tn as extractPlainText, to as RevisionResponse, tr as GetCommentsResult, ts as handleContentUpdate, tt as PluginMcpConfig, u as CommentModerateHandler, ua as IssueGuestAccessTokenOptions, ui as SessionCleanupResult, un as SearchConfig, ur as renderPreviewToolbar, us as prepareContentWrite, ut as PluginMcpRiskLevel, v as EmailBeforeSendEvent, va as checkRateLimit, vi as PreviewSidecarSignature, vn as getWidgetAreas, vo as HookPipeline, vr as isBlockedInPreview, vs as PortableTextBlock, vt as PluginRouteTargetAuthorizationRequest, w as HookConfig, wa as prosemirrorToPortableText, wc as ManifestResponse, wi as CacheNamespace, wn as UpdateWidgetInput, wo as SandboxRunner, wr as GeneratePreviewTokenOptions, ws as Assignment, wt as PortableTextBlockField, x as EmailDeliverHandler, xa as computeContentHash, xc as ContentResponse, xi as parsePreviewSignatureHeader, xn as CreateWidgetInput, xo as SandboxEmailMessage, xr as GetPreviewUrlOptions, xs as Relation, xt as PluginStorageConfig, y as EmailBeforeSendHandler, ya as isSafeHref, yc as ApiContext, yi as buildPreviewSignatureHeader, yn as getWidgetComponents, yo as HookResult, yr as getPreviewToken, ys as ContentReference, yt as PluginRouteTargetAuthorizer, z as PagePlacement, za as GetSectionsOptions, zi as CacheHint, zn as TaxonomyTermRow, zo as handleContentCountTrashed, zr as CreateHandoffSnapshotInput, zs as SiteActivityResultStatus, zt as StorageCollection } from "./types-Tt_IGMno.mjs";
|
|
4
|
+
import { $ as RestaurantReservationExperienceTable, $t as VenuePaymentRecordStatus, A as RestaurantOperatingSettingsTable, At as VenueAvailabilityBlockTable, B as RestaurantPaymentFlow, Bt as VenueLocationMembershipTable, C as RestaurantMenuOverrideTable, Ct as RestaurantSpecialHoursTable, D as RestaurantModifierGroupTable, Dt as RestaurantZoneTable, E as RestaurantMenuTable, Et as RestaurantTaxMode, F as RestaurantOrderSource, Ft as VenueCancellationPolicyTable, G as RestaurantPriorityAlertTable, Gt as VenueOrderStatus, H as RestaurantPaymentTable, Ht as VenueMessageTable, I as RestaurantOrderStatus, It as VenueCancellationPolicyTierTable, J as RestaurantReservationAddonTable, Jt as VenueOutboxEventTable, K as RestaurantRefundTable, Kt as VenueOrderStatusHistoryTable, L as RestaurantOrderStatusHistoryTable, Lt as VenueConversationReadTable, M as RestaurantOrderItemTable, Mt as VenueBookingHoldTable, N as RestaurantOrderSequenceTable, Nt as VenueBookingMode, O as RestaurantModifierOptionTable, P as RestaurantOrderSnapshotTable, Pt as VenueBookingPolicyTable, Q as RestaurantReservationExperienceIncludedAddonTable, Qt as VenuePaymentEventTable, R as RestaurantOrderTable, Rt as VenueConversationTable, S as RestaurantMenuLocationAssignmentTable, St as RestaurantServiceScope, T as RestaurantMenuSectionTable, Tt as RestaurantTableTable, U as RestaurantPriorityAlertDeliveryTable, Ut as VenueNotificationSettingsTable, V as RestaurantPaymentStatus, Vt as VenueLocationTable, W as RestaurantPriorityAlertOpportunityTable, Wt as VenueOrderCancellationSnapshotTable, X as RestaurantReservationDemandSettingsTable, Xt as VenuePaymentAllocationTable, Y as RestaurantReservationBlockTable, Yt as VenuePaymentAllocationStatus, Z as RestaurantReservationExperienceAddonCategoryTable, Zt as VenuePaymentCollection, _ as RestaurantLocationMembershipTable, _t as RestaurantReservationRequestTableAssignmentTable, a as RestaurantCartHoldTable, an as VenueQuoteTable, at as RestaurantReservationHoldTable, b as RestaurantMenuItemTable, bt as RestaurantReservationTable, c as RestaurantDeliveryZoneTable, cn as VenueRefundTable, ct as RestaurantReservationOfferTable, d as RestaurantFulfilmentType, dn as VenueReviewTable, dt as RestaurantReservationPromotionOperationTable, en as VenuePaymentStatus, et as RestaurantReservationGiftCardAllocationTable, f as RestaurantGiftCardLedgerEntryTable, fn as VenueSpaceLayoutTable, ft as RestaurantReservationPromotionTable, g as RestaurantHoursTable, gt as RestaurantReservationRequestTable, h as RestaurantHoursOverrideTable, ht as RestaurantReservationQuoteTable, i as RestaurantCapacityOverrideTable, in as VenueQuoteStatus, it as RestaurantReservationHoldCommercialSelectionTable, j as RestaurantOrderItemModifierTable, jt as VenueAvailabilityRuleTable, k as RestaurantNotificationSettingsTable, kt as UserTable, l as RestaurantDineInSessionTable, ln as VenueReviewInvitationTable, lt as RestaurantReservationPaymentPolicyTable, m as RestaurantGuestAccessTable, mn as VenueTable, mt as RestaurantReservationQuoteLineTable, n as MediaTable, nn as VenueQuoteLineTable, nt as RestaurantReservationHoldAddonOperationTable, o as RestaurantClosureTable, on as VenueRatePlanTable, ot as RestaurantReservationLanguageSettingsTable, p as RestaurantGiftCardTable, pn as VenueSpaceTable, pt as RestaurantReservationQuoteCheckoutTable, q as RestaurantReservationAddonCategoryTable, qt as VenueOrderTable, r as RestaurantCapacityCounterTable, rn as VenueQuoteRecordStatus, rt as RestaurantReservationHoldAddonTable, s as RestaurantDeliverySettingsTable, sn as VenueRecordStatus, st as RestaurantReservationOfferLinkDeliveryTable, t as Database, tn as VenuePaymentTable, tt as RestaurantReservationGiftCardOperationTable, u as RestaurantDineInSettingsTable, un as VenueReviewResponseTable, ut as RestaurantReservationPromotionAllocationTable, v as RestaurantLocationTable, vt as RestaurantReservationSettingsTable, w as RestaurantMenuSectionItemTable, wt as RestaurantTabRoundTable, x as RestaurantMenuItemTranslationTable, xt as RestaurantReservationTableAssignmentTable, y as RestaurantMenuItemModifierGroupTable, yt as RestaurantReservationStatus, z as RestaurantOutboxDeliveryTable, zt as VenueGuestAccessTable } from "./types-CVRNRAA5.mjs";
|
|
5
|
+
import { _ as MediaValue, n as generatePlaceholder, r as normalizeMediaValue, t as PlaceholderData } from "./placeholder-CQKI6vLd.mjs";
|
|
6
|
+
import { n as getMigrationStatus, t as MigrationStatus } from "./runner-Cxl-vyk2.mjs";
|
|
7
|
+
import { C as parseWxr, D as ContentBylineInput, E as BylineRepository, O as CreateBylineInput, S as WxrTag, T as decodeSlug, _ as WxrAuthor, a as wxrSource, b as WxrPost, c as getFileSources, d as probeUrl, f as registerSource, g as WxrAttachment, i as parseWxrDate, k as UpdateBylineInput, l as getSource, n as wordpressRestSource, o as clearSources, p as importReusableBlocksAsSections, s as getAllSources, u as getUrlSources, v as WxrCategory, w as parseWxrString, x as WxrSite, y as WxrData } from "./index-mlJSqFkG.mjs";
|
|
8
|
+
import { a as AuthResult, i as AuthProviderModule, n as AuthProviderAdminExports, o as AuthRouteDescriptor, r as AuthProviderDescriptor, s as ExternalAuthConfig, t as AuthDescriptor } from "./types-SddyDti7.mjs";
|
|
9
|
+
import { a as PostgresConfig, i as LibsqlConfig, n as DatabaseDescriptor, o as SqliteConfig, r as DatabaseDialectType } from "./adapters-Rol-inz6.mjs";
|
|
10
|
+
import { i as ObjectCacheRuntimeConfig, n as ObjectCacheBackend, r as ObjectCacheDescriptor } from "./types-DNPP-eu4.mjs";
|
|
11
|
+
import { a as ListOptions, c as S3StorageConfig, d as Storage, f as StorageDescriptor, i as FileInfo, l as SignedUploadOptions, n as DinewayStorageError, o as ListResult, p as UploadResult, r as DownloadResult, s as LocalStorageConfig, t as CreateStorageFn, u as SignedUploadUrl } from "./types-BWsEjujW.mjs";
|
|
12
|
+
import { c as I18nConfig, d as isI18nEnabled, l as getFallbackChain, n as resolveContentUrl, t as ResolveContentUrlInput, u as getI18nConfig } from "./public-url-zoO-QbN6.mjs";
|
|
13
|
+
import { C as SiteSettingKey, S as SeoSettings, _ as SeedTaxonomyTerm, a as applySeed, b as ValidationResult, c as SeedCollection, d as SeedFile, f as SeedMenu, g as SeedTaxonomy, l as SeedContentEntry, o as SeedApplyOptions, p as SeedMenuItem, s as SeedApplyResult, t as validateSeed, u as SeedField, v as SeedWidget, w as SiteSettings, x as MediaReference, y as SeedWidgetArea } from "./validate-CCOsvPg2.mjs";
|
|
14
|
+
import "./byline-fields-BO96fXLv.mjs";
|
|
15
15
|
import { DinewayRequestContext, getRequestContext, runWithContext } from "./request-context.mjs";
|
|
16
16
|
import { adaptSandboxEntry } from "./plugins/adapt-sandbox-entry.mjs";
|
|
17
|
-
import { S as UrlInput, _ as SourceAuth, a as FileInput, b as SourceProbeResult, c as ImportContext, d as ImportSource, f as NormalizedItem, g as ProbeResult, h as PostTypeMapping, i as FieldCompatibility, l as ImportFieldDef, m as PostTypeAnalysis, n as CollectionSchemaStatus, o as ImportAnalysis, p as OAuthInput, r as FetchOptions, s as ImportConfig, t as AttachmentInfo, u as ImportResult, v as SourceCapabilities, x as SuggestedAction, y as SourceInput } from "./types
|
|
17
|
+
import { S as UrlInput, _ as SourceAuth, a as FileInput, b as SourceProbeResult, c as ImportContext, d as ImportSource, f as NormalizedItem, g as ProbeResult, h as PostTypeMapping, i as FieldCompatibility, l as ImportFieldDef, m as PostTypeAnalysis, n as CollectionSchemaStatus, o as ImportAnalysis, p as OAuthInput, r as FetchOptions, s as ImportConfig, t as AttachmentInfo, u as ImportResult, v as SourceCapabilities, x as SuggestedAction, y as SourceInput } from "./types-CAD4OvmF.mjs";
|
|
18
18
|
import { SeoMeta, SeoMetaOptions, getContentSeo, getSeoMeta } from "./seo/index.mjs";
|
|
19
19
|
import "./seed/index.mjs";
|
|
20
20
|
import { ulid } from "ulidx";
|
|
21
|
-
export { type AfterCallback, type ApiContext, type AppliedSnapshotMeta, type ApplySnapshotToDatabaseOptions, type Assignment, type AssignmentAccessContext, type AssignmentActionInput, type AssignmentActorRef, type AssignmentActorType, type AssignmentListInput, type AssignmentListQuery, type AssignmentPriority, AssignmentRepository, AssignmentService, type AssignmentStatus, type AttachmentInfo, type AuthDescriptor, type AuthProviderAdminExports, type AuthProviderDescriptor, type AuthProviderModule, type AuthResult, type AuthRouteDescriptor, type BreadcrumbItem, type BuiltContentReleasePayload, BylineRepository, type BylineSummary, type CMSAnnotation, type CacheHint, CacheNamespace, type CachedQueryOptions, type Collection, type CollectionCommentSettings, type CollectionFilter, type CollectionResult, type CollectionSchemaStatus, type CollectionSearchOptions, type CollectionSource, type CollectionSupport, type CollectionWithFields, type ColumnType, type CommentAfterCreateEvent, type CommentAfterCreateHandler, type CommentAfterModerateEvent, type CommentAfterModerateHandler, type CommentBeforeCreateEvent, type CommentBeforeCreateHandler, type CommentModerateEvent, type CommentModerateHandler, type ConfirmedContentAuthorizer, type ConfirmedContentPublicationResult, type ContentAccess, type ContentBylineCredit, type ContentBylineInput, type ContentDeleteEvent, type ContentEntry, type ContentHookEvent, type ContentItem, type ContentListResponse, type ContentPublishStateChangeEvent, type ContentReference, ContentRepository, type ContentResponse, type ContentSeo, type ContentSeoInput, type CreateAssignmentInput, type CreateBylineInput, type CreateCollectionInput, type CreateContentInput, type CreateFieldInput, type CreateHandoffSnapshotInput, type CreateMediaInput, type CreateMenuInput, type CreateMenuItemInput, type CreateRelationInput, type CreateSectionInput, type CreateSiteActivityInput, type CreateStorageFn, type CreateTermInput, type CreateWidgetAreaInput, type CreateWidgetInput, type CreateWorkflowAssignmentInput, type Database, type DatabaseConfig, type DatabaseDescriptor, type DatabaseDialectType, type DinewayCollections, DinewayDatabaseError, type DinewayRequestContext, DinewayStorageError, DinewayValidationError, type DownloadResult, type EditFieldMeta, type EditProxy, type EmailAccess, type EmailAfterSendEvent, type EmailAfterSendHandler, type EmailBeforeSendEvent, type EmailBeforeSendHandler, type EmailDeliverEvent, type EmailDeliverHandler, type EmailMessage, type EntryData, type EntryFilter, type EntryResult, type ExternalAuthConfig, FIELD_TYPE_TO_COLUMN, FTSManager, type FetchOptions, type Field, type FieldAnnotation, type FieldCompatibility, type FieldDefinition, type FieldDescriptor, type FieldType, type FieldUIHints, type FieldValidation, type FieldWidgetConfig, type FieldWidgetOptions, type FileInfo, type FileInput, type FilePreviewMiddlewareConfig, FileSessionDatabaseFactory, type FileSessionDatabaseFactoryOptions, type FileValue, type FindManyOptions, type FindManyResult, type GeneratePreviewTokenOptions, type GetCommentsOptions, type GetCommentsResult, type GetPreviewUrlOptions, type GetSectionsOptions, type GuestAccessExpectedScope, type GuestAccessTokenClaims, GuestAccessTokenConfigurationError, type HandoffResumeResult, type HandoffSnapshot, HandoffSnapshotStore, type HookConfig, type HookName, HookPipeline, type HookResult, type HttpAccess, type I18nConfig, type ImageValue, type ImportAnalysis, type ImportConfig, type ImportContext, type ImportFieldDef, type ImportResult, type ImportSource, type InferCollectionData, type IssueGuestAccessTokenOptions, type IssuedGuestAccessToken, type KVAccess, type LibsqlConfig, type ListOptions, type ListResponse, type ListResult, type CollectionFilter$1 as LoaderCollectionFilter, type LocalStorageConfig, type LogAccess, type ManifestResponse, type MarkAssignmentsOverdueInput, type MediaAccess, type MediaItem, type MediaListResponse, type MediaReference, MediaRepository, type MediaResponse, type MediaTable, type MediaUploadEvent, type MediaValue, type Menu, type MenuItem, type MenuItemType, type MigrationStatus, type ModerationDecision, NodeSandboxRunner, NoopSandboxRunner, type NormalizedItem, type OAuthInput, type ObjectCacheBackend, type ObjectCacheDescriptor, type ObjectCacheRuntimeConfig, type PageFragmentContribution, type PageFragmentEvent, type PageFragmentHandler, type PageMetadataContribution, type PageMetadataEvent, type PageMetadataHandler, type PagePlacement, type PlaceholderData, type PluginActor, type PluginActorType, type PluginAdminConfig, type PluginAdminExports, type PluginAdminPage, type PluginAuthMethod, type PluginCapability, type PluginContext, type PluginDefinition, type PluginDescriptor, type PluginHooks, PluginManager, type PluginManifest, type PluginMcpAuthorization, type PluginMcpCommandPreview, type PluginMcpCommandTool, type PluginMcpConfig, type PluginMcpExecutionContext, type PluginMcpPiiClass, type PluginMcpPiiPolicy, type PluginMcpQueryTool, type PluginMcpResource, type PluginMcpResourceContent, type PluginMcpReversibility, type PluginMcpRiskFactor, type PluginMcpRiskLevel, type PluginMcpTargetAuthorizer, type PluginMcpTool, type PluginMigration, type PluginRoute, type PluginRouteAuthorization, type PluginRouteBodyMode, PluginRouteError, type PluginRouteMethod, type PluginRouteTargetAuthorizationRequest, type PluginRouteTargetAuthorizer, type PluginRouteTargetContext, type PluginSecretStatus, PluginSecretStore, type PluginSecretStoreOptions, type PluginStorageConfig, type PluginTargetScope, type PortableTextBlock, type PortableTextBlockConfig, type PortableTextBlockField, type PortableTextCodeBlock, type PortableTextHtmlBlock, type PortableTextImageBlock, type PortableTextLinkMark, type PortableTextMarkDef, type PortableTextSpan, type PortableTextTextBlock, type PortableTextUnknownBlock, type PostTypeAnalysis, type PostTypeMapping, type PostgresConfig, type PreviewSidecarClient, type PreviewSidecarSignature, type PreviewTokenPayload, type PreviewToolbarConfig, type ProbeResult, type PropDef, type ProseMirrorDocument, type ProseMirrorMark, type ProseMirrorNode, type PublicDiscoveryRules, type PublicPageContext, type PublicPageImage, type PublicPageSchema, type PublicSchemaNode, type PublicationPolicyOverride, type PublicationReadinessBlocker, type PublicationReadinessPolicyBlocker, type PublicationReadinessPolicyFinding, type PublicationReadinessPolicyTarget, type PublicationReadinessWarning, type PublicationReleasePolicy, type PublicationReleasePolicyContribution, type PublicationReleasePolicyDisposition, type PublicationReleasePreparationTarget, type PublishConfirmedContentInput, RESERVED_COLLECTION_SLUGS, RESERVED_FIELD_SLUGS, type RateLimitResult, type Relation, RelationRepository, type ReorderMenuItemsInput, type ReorderWidgetsInput, type ResolveContentUrlInput, type ResolvePathResult, type ResolvedHook, type ResolvedPlugin, type ResolvedPluginHooks, type ResolvedPluginMcpConfig, type RestaurantCapacityCounterTable, type RestaurantCapacityOverrideTable, type RestaurantCartHoldTable, type RestaurantClosureTable, type RestaurantDeliverySettingsTable, type RestaurantDeliveryZoneTable, type RestaurantDineInSessionTable, type RestaurantDineInSettingsTable, type RestaurantFulfilmentType, type RestaurantGiftCardLedgerEntryTable, type RestaurantGiftCardTable, type RestaurantGuestAccessTable, type RestaurantHoursOverrideTable, type RestaurantHoursTable, type RestaurantLocationMembershipTable, type RestaurantLocationTable, type RestaurantMenuItemModifierGroupTable, type RestaurantMenuItemTable, type RestaurantMenuItemTranslationTable, type RestaurantMenuLocationAssignmentTable, type RestaurantMenuOverrideTable, type RestaurantMenuSectionItemTable, type RestaurantMenuSectionTable, type RestaurantMenuTable, type RestaurantModifierGroupTable, type RestaurantModifierOptionTable, type RestaurantNotificationSettingsTable, type RestaurantOperatingSettingsTable, type RestaurantOrderItemModifierTable, type RestaurantOrderItemTable, type RestaurantOrderSequenceTable, type RestaurantOrderSnapshotTable, type RestaurantOrderSource, type RestaurantOrderStatus, type RestaurantOrderStatusHistoryTable, type RestaurantOrderTable, type RestaurantOutboxDeliveryTable, type RestaurantPaymentFlow, type RestaurantPaymentStatus, type RestaurantPaymentTable, type RestaurantPriorityAlertDeliveryTable, type RestaurantPriorityAlertOpportunityTable, type RestaurantPriorityAlertTable, type RestaurantRefundTable, type RestaurantReservationAddonCategoryTable, type RestaurantReservationAddonTable, type RestaurantReservationBlockTable, type RestaurantReservationDemandSettingsTable, type RestaurantReservationExperienceAddonCategoryTable, type RestaurantReservationExperienceIncludedAddonTable, type RestaurantReservationExperienceTable, type RestaurantReservationGiftCardAllocationTable, type RestaurantReservationGiftCardOperationTable, type RestaurantReservationHoldAddonOperationTable, type RestaurantReservationHoldAddonTable, type RestaurantReservationHoldCommercialSelectionTable, type RestaurantReservationHoldTable, type RestaurantReservationLanguageSettingsTable, type RestaurantReservationOfferLinkDeliveryTable, type RestaurantReservationOfferTable, type RestaurantReservationPaymentPolicyTable, type RestaurantReservationPromotionAllocationTable, type RestaurantReservationPromotionOperationTable, type RestaurantReservationPromotionTable, type RestaurantReservationQuoteCheckoutTable, type RestaurantReservationQuoteLineTable, type RestaurantReservationQuoteTable, type RestaurantReservationRequestTable, type RestaurantReservationRequestTableAssignmentTable, type RestaurantReservationSettingsTable, type RestaurantReservationStatus, type RestaurantReservationTable, type RestaurantReservationTableAssignmentTable, type RestaurantServiceScope, type RestaurantSpecialHoursTable, type RestaurantTabRoundTable, type RestaurantTableTable, type RestaurantTaxMode, type RestaurantZoneTable, type ResumeHandoffSnapshotInput, type RevisionListResponse, RevisionRepository, type RevisionResponse, type RouteContext, type S3StorageConfig, type SandboxEmailMessage, type SandboxEmailSendCallback, SandboxNotAvailableError, type SandboxOptions, type SandboxRunner, type SandboxRunnerFactory, type SandboxedPlugin, ScheduledNotDueError, SchemaError, SchemaRegistry, type SearchConfig, type SearchOptions, type SearchResponse, type SearchResult, type SearchStats, type Section, type SectionSource, type SeedApplyOptions, type SeedApplyResult, type SeedCollection, type SeedContentEntry, type SeedField, type SeedFile, type SeedMenu, type SeedMenuItem, type SeedTaxonomy, type SeedTaxonomyTerm, type SeedWidget, type SeedWidgetArea, type SelectedCollectionData, type SeoMeta, type SeoMetaOptions, type SeoSettings, type SerializedRequest, type SessionCleanupResult, type SessionDatabaseFactory, type SessionDatabaseHandle, type SessionDatabaseInfo, SessionDatabaseLimitError, type SessionOpenOptions, type SessionOpenOrCreateOptions, type SignedUploadOptions, type SignedUploadUrl, type SiteActivity, type SiteActivityActorType, SiteActivityRepository, type SiteActivityResultStatus, type SiteActivitySourceType, type SiteActivityTimelineQuery, type SiteBriefing, SiteBriefingAssembler, type SiteBriefingContextEntry, type SiteSettingKey, type SiteSettings, type Snapshot, type SourceAuth, type SourceCapabilities, type SourceInput, type SourceProbeResult, type SqliteConfig, type StandardHookEntry, type StandardHookHandler, type StandardPluginDefinition, type StandardRouteEntry, type StandardRouteHandler, type Storage, type StorageCollection, type StorageDescriptor, type StoredComment, type SuggestOptions, type SuggestedAction, type Suggestion, type TaxonomyDef, type TaxonomyTerm, type TaxonomyTermRow, type TranslationSummary, type TranslationsResult, type UpdateBylineInput, type UpdateCollectionInput, type UpdateContentInput, type UpdateFieldInput, type UpdateMenuInput, type UpdateMenuItemInput, type UpdateRelationInput, type UpdateSectionInput, type UpdateTermInput, type UpdateWidgetInput, type UploadResult, type UrlInput, type UserTable, type ValidatedPluginManifest, type ValidationResult, type VenueAvailabilityBlockTable, type VenueAvailabilityRuleTable, type VenueBookingHoldTable, type VenueBookingMode, type VenueBookingPolicyTable, type VenueCancellationPolicyTable, type VenueCancellationPolicyTierTable, type VenueConversationReadTable, type VenueConversationTable, type VenueGuestAccessTable, type VenueLocationMembershipTable, type VenueLocationTable, type VenueMessageTable, type VenueNotificationSettingsTable, type VenueOrderCancellationSnapshotTable, type VenueOrderStatus, type VenueOrderStatusHistoryTable, type VenueOrderTable, type VenueOutboxEventTable, type VenuePaymentAllocationStatus, type VenuePaymentAllocationTable, type VenuePaymentCollection, type VenuePaymentEventTable, type VenuePaymentRecordStatus, type VenuePaymentStatus, type VenuePaymentTable, type VenueQuoteLineTable, type VenueQuoteRecordStatus, type VenueQuoteStatus, type VenueQuoteTable, type VenueRatePlanTable, type VenueRecordStatus, type VenueRefundTable, type VenueReviewInvitationTable, type VenueReviewResponseTable, type VenueReviewTable, type VenueSpaceLayoutTable, type VenueSpaceTable, type VenueTable, type VerifyGuestAccessTokenOptions, type VerifyGuestAccessTokenResult, type VerifyPreviewTokenOptions, type VerifyPreviewTokenResult, type WhereRange, type WhereValue, type Widget, type WidgetArea, type WidgetComponentDef, type WidgetType, type WxrAttachment, type WxrAuthor, type WxrCategory, type WxrData, type WxrPost, type WxrSite, type WxrTag, adaptSandboxEntry, after, applySeed, applySnapshotToDatabase, buildPreviewSignatureHeader, buildPreviewUrl, buildStableActionHash, cachedQuery, checkRateLimit, clearSources, computeContentHash, contentNamespace, contentNamespaces, createEditable, createFilePreviewMiddleware, createHookPipeline, createNodeSandboxRunner, createNoop, createNoopSandboxRunner, createPluginManager, createReviewedPluginMcpCommandExecutor, currentTimestamp, decodeCursor, decodeSlug, defaultPreviewSidecarClient, definePlugin, dropSessionDatabaseTables, encodeCursor, extractPlainText, extractSearchableFields, generateManifest, generatePlaceholder, generatePreviewToken, getAllSources, getAppliedSnapshotMeta, getByline, getBylineBySlug, getCollectionInfo, getCommentCount, getComments, getContentSeo, getDb, getDinewayCollection, getDinewayEntry, getEditMeta, getEntriesByByline, getEntriesByTerm, getEntryTerms, getFallbackChain, getFileSources, getI18nConfig, getMenu, getMenus, getMigrationStatus, getPluginSetting, getPluginSettings, getPreviewToken, getPreviewUrl, getRequestContext, getSearchStats, getSection, getSections, getSeoMeta, getSiteSetting, getSiteSettings, getSource, getSuggestions, getTaxonomyDef, getTaxonomyDefs, getTaxonomyTerms, getTerm, getTermsForEntries, getTranslations, getUrlSources, getWidgetArea, getWidgetAreas, getWidgetComponents, handleContentAuthors, handleContentCompare, handleContentCountScheduled, handleContentCountTrashed, handleContentCreate, handleContentDelete, handleContentDiscardDraft, handleContentDuplicate, handleContentGet, handleContentGetIncludingTrashed, handleContentList, handleContentListTrashed, handleContentPermanentDelete, handleContentPublish, handleContentRestore, handleContentSchedule, handleContentTranslations, handleContentUnpublish, handleContentUnschedule, handleContentUpdate, handleMediaCreate, handleMediaDelete, handleMediaGet, handleMediaList, handleMediaUpdate, handleRevisionGet, handleRevisionList, handleRevisionRestore, hashGuestAccessToken, hashString, image, importReusableBlocksAsSections, invalidateBylineObjectCache, invalidateCollectionCache, invalidateCommentObjectCache, invalidateMenuObjectCache, invalidateObjectCache, invalidateSchemaObjectCache, invalidateTaxonomyObjectCache, isBlockedInPreview, isI18nEnabled, isObjectCacheActive, isPreviewRequest, isSafeHref, isStandardPluginDefinition, issueGuestAccessToken, normalizeMediaValue, parseContentId, parsePreviewSignatureHeader, parseWxr, parseWxrDate, parseWxrString, pluginManifestSchema, portableText, portableTextToProsemirror, probeUrl, prosemirrorToPortableText, reference, registerSource, renderPreviewLoadingPage, renderPreviewToolbar, resolveContentUrl, resolveDinewayPath, runPluginMigrations, runWithContext, sanitizeHref, search, searchCollection, searchWithDb, setSiteSettings, signPreviewUrl, ulid, validateContent, validateSeed, verifyGuestAccessToken, verifyPreviewSignature, verifyPreviewToken, wordpressRestSource, wxrSource };
|
|
21
|
+
export { type AfterCallback, type ApiContext, type AppliedSnapshotMeta, type ApplySnapshotToDatabaseOptions, type Assignment, type AssignmentAccessContext, type AssignmentActionInput, type AssignmentActorRef, type AssignmentActorType, type AssignmentListInput, type AssignmentListQuery, type AssignmentPriority, AssignmentRepository, AssignmentService, type AssignmentStatus, type AtomicConfirmedContentAuthorizer, type AttachmentInfo, type AuthDescriptor, type AuthProviderAdminExports, type AuthProviderDescriptor, type AuthProviderModule, type AuthResult, type AuthRouteDescriptor, type BreadcrumbItem, type BuiltContentReleasePayload, BylineRepository, type BylineSummary, type CMSAnnotation, type CacheHint, CacheNamespace, type CachedQueryOptions, type Collection, type CollectionCommentSettings, type CollectionFilter, type CollectionResult, type CollectionSchemaStatus, type CollectionSearchOptions, type CollectionSource, type CollectionSupport, type CollectionWithFields, type ColumnType, type CommentAfterCreateEvent, type CommentAfterCreateHandler, type CommentAfterModerateEvent, type CommentAfterModerateHandler, type CommentBeforeCreateEvent, type CommentBeforeCreateHandler, type CommentModerateEvent, type CommentModerateHandler, type ConfirmedContentAuthorizer, type ConfirmedContentPublicationResult, type ContentAccess, type ContentBylineCredit, type ContentBylineInput, type ContentDeleteEvent, type ContentEntry, type ContentHookEvent, type ContentItem, type ContentListResponse, type ContentPublishStateChangeEvent, type ContentReference, ContentRepository, type ContentResponse, type ContentReviewHandlers, type ContentSeo, type ContentSeoInput, type ContentWriteInput, type CreateAssignmentInput, type CreateBylineInput, type CreateCollectionInput, type CreateContentInput, type CreateFieldInput, type CreateHandoffSnapshotInput, type CreateMediaInput, type CreateMenuInput, type CreateMenuItemInput, type CreateRelationInput, type CreateSectionInput, type CreateSiteActivityInput, type CreateStorageFn, type CreateTermInput, type CreateWidgetAreaInput, type CreateWidgetInput, type CreateWorkflowAssignmentInput, type Database, type DatabaseConfig, type DatabaseDescriptor, type DatabaseDialectType, type DinewayCollections, DinewayDatabaseError, type DinewayRequestContext, DinewayStorageError, DinewayValidationError, type DownloadResult, type EditFieldMeta, type EditProxy, type EmailAccess, type EmailAfterSendEvent, type EmailAfterSendHandler, type EmailBeforeSendEvent, type EmailBeforeSendHandler, type EmailDeliverEvent, type EmailDeliverHandler, type EmailMessage, type EntryData, type EntryFilter, type EntryResult, type ExternalAuthConfig, FIELD_TYPE_TO_COLUMN, FTSManager, type FetchOptions, type Field, type FieldAnnotation, type FieldCompatibility, type FieldDefinition, type FieldDescriptor, type FieldType, type FieldUIHints, type FieldValidation, type FieldWidgetConfig, type FieldWidgetOptions, type FileInfo, type FileInput, type FilePreviewMiddlewareConfig, FileSessionDatabaseFactory, type FileSessionDatabaseFactoryOptions, type FileValue, type FindManyOptions, type FindManyResult, type GeneratePreviewTokenOptions, type GetCommentsOptions, type GetCommentsResult, type GetPreviewUrlOptions, type GetSectionsOptions, type GuestAccessExpectedScope, type GuestAccessTokenClaims, GuestAccessTokenConfigurationError, type HandoffResumeResult, type HandoffSnapshot, HandoffSnapshotStore, type HookConfig, type HookName, HookPipeline, type HookResult, type HttpAccess, type I18nConfig, type ImageValue, type ImportAnalysis, type ImportConfig, type ImportContext, type ImportFieldDef, type ImportResult, type ImportSource, type InferCollectionData, type IssueGuestAccessTokenOptions, type IssuedGuestAccessToken, type KVAccess, type LibsqlConfig, type ListOptions, type ListResponse, type ListResult, type CollectionFilter$1 as LoaderCollectionFilter, type LocalStorageConfig, type LogAccess, type ManifestResponse, type MarkAssignmentsOverdueInput, type MediaAccess, type MediaItem, type MediaListResponse, type MediaReference, MediaRepository, type MediaResponse, type MediaTable, type MediaUploadEvent, type MediaValue, type Menu, type MenuItem, type MenuItemType, type MigrationStatus, type ModerationDecision, NodeSandboxRunner, NoopSandboxRunner, type NormalizedItem, type OAuthInput, type ObjectCacheBackend, type ObjectCacheDescriptor, type ObjectCacheRuntimeConfig, type PageFragmentContribution, type PageFragmentEvent, type PageFragmentHandler, type PageMetadataContribution, type PageMetadataEvent, type PageMetadataHandler, type PagePlacement, type PlaceholderData, type PluginActor, type PluginActorType, type PluginAdminConfig, type PluginAdminExports, type PluginAdminPage, type PluginAuthMethod, type PluginCapability, type PluginContext, type PluginD1Support, type PluginDefinition, type PluginDescriptor, type PluginHooks, PluginManager, type PluginManifest, type PluginMcpAuthorization, type PluginMcpCommandPreview, type PluginMcpCommandTool, type PluginMcpConfig, type PluginMcpExecutionContext, type PluginMcpPiiClass, type PluginMcpPiiPolicy, type PluginMcpQueryTool, type PluginMcpResource, type PluginMcpResourceContent, type PluginMcpReversibility, type PluginMcpRiskFactor, type PluginMcpRiskLevel, type PluginMcpTargetAuthorizer, type PluginMcpTool, type PluginMigration, type PluginRoute, type PluginRouteAuthorization, type PluginRouteBodyMode, PluginRouteError, type PluginRouteMethod, type PluginRouteTargetAuthorizationRequest, type PluginRouteTargetAuthorizer, type PluginRouteTargetContext, type PluginSecretStatus, PluginSecretStore, type PluginSecretStoreOptions, type PluginStorageConfig, type PluginTargetScope, type PortableTextBlock, type PortableTextBlockConfig, type PortableTextBlockField, type PortableTextCodeBlock, type PortableTextHtmlBlock, type PortableTextImageBlock, type PortableTextLinkMark, type PortableTextMarkDef, type PortableTextSpan, type PortableTextTextBlock, type PortableTextUnknownBlock, type PostTypeAnalysis, type PostTypeMapping, type PostgresConfig, type PreparedContentWrite, type PreviewSidecarClient, type PreviewSidecarSignature, type PreviewTokenPayload, type PreviewToolbarConfig, type ProbeResult, type PropDef, type ProseMirrorDocument, type ProseMirrorMark, type ProseMirrorNode, type PublicDiscoveryRules, type PublicPageContext, type PublicPageImage, type PublicPageSchema, type PublicSchemaNode, type PublicationPolicyOverride, type PublicationReadinessBlocker, type PublicationReadinessPolicyBlocker, type PublicationReadinessPolicyFinding, type PublicationReadinessPolicyTarget, type PublicationReadinessWarning, type PublicationReleasePolicy, type PublicationReleasePolicyContribution, type PublicationReleasePolicyDisposition, type PublicationReleasePreparationTarget, type PublishConfirmedContentInput, RESERVED_COLLECTION_SLUGS, RESERVED_FIELD_SLUGS, type RateLimitResult, type Relation, RelationRepository, type ReorderMenuItemsInput, type ReorderWidgetsInput, type ResolveContentUrlInput, type ResolvePathResult, type ResolvedHook, type ResolvedPlugin, type ResolvedPluginHooks, type ResolvedPluginMcpConfig, type RestaurantCapacityCounterTable, type RestaurantCapacityOverrideTable, type RestaurantCartHoldTable, type RestaurantClosureTable, type RestaurantDeliverySettingsTable, type RestaurantDeliveryZoneTable, type RestaurantDineInSessionTable, type RestaurantDineInSettingsTable, type RestaurantFulfilmentType, type RestaurantGiftCardLedgerEntryTable, type RestaurantGiftCardTable, type RestaurantGuestAccessTable, type RestaurantHoursOverrideTable, type RestaurantHoursTable, type RestaurantLocationMembershipTable, type RestaurantLocationTable, type RestaurantMenuItemModifierGroupTable, type RestaurantMenuItemTable, type RestaurantMenuItemTranslationTable, type RestaurantMenuLocationAssignmentTable, type RestaurantMenuOverrideTable, type RestaurantMenuSectionItemTable, type RestaurantMenuSectionTable, type RestaurantMenuTable, type RestaurantModifierGroupTable, type RestaurantModifierOptionTable, type RestaurantNotificationSettingsTable, type RestaurantOperatingSettingsTable, type RestaurantOrderItemModifierTable, type RestaurantOrderItemTable, type RestaurantOrderSequenceTable, type RestaurantOrderSnapshotTable, type RestaurantOrderSource, type RestaurantOrderStatus, type RestaurantOrderStatusHistoryTable, type RestaurantOrderTable, type RestaurantOutboxDeliveryTable, type RestaurantPaymentFlow, type RestaurantPaymentStatus, type RestaurantPaymentTable, type RestaurantPriorityAlertDeliveryTable, type RestaurantPriorityAlertOpportunityTable, type RestaurantPriorityAlertTable, type RestaurantRefundTable, type RestaurantReservationAddonCategoryTable, type RestaurantReservationAddonTable, type RestaurantReservationBlockTable, type RestaurantReservationDemandSettingsTable, type RestaurantReservationExperienceAddonCategoryTable, type RestaurantReservationExperienceIncludedAddonTable, type RestaurantReservationExperienceTable, type RestaurantReservationGiftCardAllocationTable, type RestaurantReservationGiftCardOperationTable, type RestaurantReservationHoldAddonOperationTable, type RestaurantReservationHoldAddonTable, type RestaurantReservationHoldCommercialSelectionTable, type RestaurantReservationHoldTable, type RestaurantReservationLanguageSettingsTable, type RestaurantReservationOfferLinkDeliveryTable, type RestaurantReservationOfferTable, type RestaurantReservationPaymentPolicyTable, type RestaurantReservationPromotionAllocationTable, type RestaurantReservationPromotionOperationTable, type RestaurantReservationPromotionTable, type RestaurantReservationQuoteCheckoutTable, type RestaurantReservationQuoteLineTable, type RestaurantReservationQuoteTable, type RestaurantReservationRequestTable, type RestaurantReservationRequestTableAssignmentTable, type RestaurantReservationSettingsTable, type RestaurantReservationStatus, type RestaurantReservationTable, type RestaurantReservationTableAssignmentTable, type RestaurantServiceScope, type RestaurantSpecialHoursTable, type RestaurantTabRoundTable, type RestaurantTableTable, type RestaurantTaxMode, type RestaurantZoneTable, type ResumeHandoffSnapshotInput, type ReviewRequest, type ReviewRequestActorInput, ReviewSubmissionError, type ReviewSubmissionInput, type RevisionListResponse, RevisionRepository, type RevisionResponse, type RouteContext, type S3StorageConfig, type SandboxEmailMessage, type SandboxEmailSendCallback, SandboxNotAvailableError, type SandboxOptions, type SandboxRunner, type SandboxRunnerFactory, type SandboxedPlugin, ScheduledNotDueError, SchemaError, SchemaRegistry, type SearchConfig, type SearchOptions, type SearchResponse, type SearchResult, type SearchStats, type Section, type SectionSource, type SeedApplyOptions, type SeedApplyResult, type SeedCollection, type SeedContentEntry, type SeedField, type SeedFile, type SeedMenu, type SeedMenuItem, type SeedTaxonomy, type SeedTaxonomyTerm, type SeedWidget, type SeedWidgetArea, type SelectedCollectionData, type SeoMeta, type SeoMetaOptions, type SeoSettings, type SerializedRequest, type SessionCleanupResult, type SessionDatabaseFactory, type SessionDatabaseHandle, type SessionDatabaseInfo, SessionDatabaseLimitError, type SessionOpenOptions, type SessionOpenOrCreateOptions, type SignedUploadOptions, type SignedUploadUrl, type SiteActivity, type SiteActivityActorType, SiteActivityRepository, type SiteActivityResultStatus, type SiteActivitySourceType, type SiteActivityTimelineQuery, type SiteBriefing, SiteBriefingAssembler, type SiteBriefingContextEntry, type SiteSettingKey, type SiteSettings, type Snapshot, type SourceAuth, type SourceCapabilities, type SourceInput, type SourceProbeResult, type SqliteConfig, type StandardHookEntry, type StandardHookHandler, type StandardPluginDefinition, type StandardRouteEntry, type StandardRouteHandler, type Storage, type StorageCollection, type StorageDescriptor, type StoredComment, type SuggestOptions, type SuggestedAction, type Suggestion, type TaxonomyDef, type TaxonomyTerm, type TaxonomyTermRow, type TranslationSummary, type TranslationsResult, type UpdateBylineInput, type UpdateCollectionInput, type UpdateContentInput, type UpdateFieldInput, type UpdateMenuInput, type UpdateMenuItemInput, type UpdateRelationInput, type UpdateSectionInput, type UpdateTermInput, type UpdateWidgetInput, type UploadResult, type UrlInput, type UserTable, type ValidatedPluginManifest, type ValidationResult, type VenueAvailabilityBlockTable, type VenueAvailabilityRuleTable, type VenueBookingHoldTable, type VenueBookingMode, type VenueBookingPolicyTable, type VenueCancellationPolicyTable, type VenueCancellationPolicyTierTable, type VenueConversationReadTable, type VenueConversationTable, type VenueGuestAccessTable, type VenueLocationMembershipTable, type VenueLocationTable, type VenueMessageTable, type VenueNotificationSettingsTable, type VenueOrderCancellationSnapshotTable, type VenueOrderStatus, type VenueOrderStatusHistoryTable, type VenueOrderTable, type VenueOutboxEventTable, type VenuePaymentAllocationStatus, type VenuePaymentAllocationTable, type VenuePaymentCollection, type VenuePaymentEventTable, type VenuePaymentRecordStatus, type VenuePaymentStatus, type VenuePaymentTable, type VenueQuoteLineTable, type VenueQuoteRecordStatus, type VenueQuoteStatus, type VenueQuoteTable, type VenueRatePlanTable, type VenueRecordStatus, type VenueRefundTable, type VenueReviewInvitationTable, type VenueReviewResponseTable, type VenueReviewTable, type VenueSpaceLayoutTable, type VenueSpaceTable, type VenueTable, type VerifyGuestAccessTokenOptions, type VerifyGuestAccessTokenResult, type VerifyPreviewTokenOptions, type VerifyPreviewTokenResult, type WhereRange, type WhereValue, type Widget, type WidgetArea, type WidgetComponentDef, type WidgetType, type WxrAttachment, type WxrAuthor, type WxrCategory, type WxrData, type WxrPost, type WxrSite, type WxrTag, adaptSandboxEntry, after, applySeed, applySnapshotToDatabase, buildPreviewSignatureHeader, buildPreviewUrl, buildStableActionHash, cachedQuery, checkRateLimit, clearSources, computeContentHash, contentNamespace, contentNamespaces, createEditable, createFilePreviewMiddleware, createHookPipeline, createNodeSandboxRunner, createNoop, createNoopSandboxRunner, createPluginManager, createReviewedPluginMcpCommandExecutor, currentTimestamp, decodeCursor, decodeSlug, defaultPreviewSidecarClient, definePlugin, dropSessionDatabaseTables, encodeCursor, extractPlainText, extractSearchableFields, generateManifest, generatePlaceholder, generatePreviewToken, getAllSources, getAppliedSnapshotMeta, getByline, getBylineBySlug, getCollectionInfo, getCommentCount, getComments, getContentSeo, getDb, getDinewayCollection, getDinewayEntry, getEditMeta, getEntriesByByline, getEntriesByTerm, getEntryTerms, getFallbackChain, getFileSources, getI18nConfig, getMenu, getMenus, getMigrationStatus, getPluginSetting, getPluginSettings, getPreviewToken, getPreviewUrl, getRequestContext, getSearchStats, getSection, getSections, getSeoMeta, getSiteSetting, getSiteSettings, getSource, getSuggestions, getTaxonomyDef, getTaxonomyDefs, getTaxonomyTerms, getTerm, getTermsForEntries, getTranslations, getUrlSources, getWidgetArea, getWidgetAreas, getWidgetComponents, handleContentAuthors, handleContentCompare, handleContentCountScheduled, handleContentCountTrashed, handleContentCreate, handleContentDelete, handleContentDiscardDraft, handleContentDuplicate, handleContentGet, handleContentGetIncludingTrashed, handleContentList, handleContentListTrashed, handleContentPermanentDelete, handleContentPublish, handleContentRestore, handleContentSchedule, handleContentTranslations, handleContentUnpublish, handleContentUnschedule, handleContentUpdate, handleMediaCreate, handleMediaDelete, handleMediaGet, handleMediaList, handleMediaUpdate, handleRevisionGet, handleRevisionList, handleRevisionRestore, hashGuestAccessToken, hashString, image, importReusableBlocksAsSections, invalidateBylineObjectCache, invalidateCollectionCache, invalidateCommentObjectCache, invalidateMenuObjectCache, invalidateObjectCache, invalidateSchemaObjectCache, invalidateTaxonomyObjectCache, isBlockedInPreview, isI18nEnabled, isObjectCacheActive, isPreviewRequest, isSafeHref, isStandardPluginDefinition, issueGuestAccessToken, normalizeMediaValue, parseContentId, parsePreviewSignatureHeader, parseWxr, parseWxrDate, parseWxrString, pluginManifestSchema, portableText, portableTextToProsemirror, prepareAutomatedReview, prepareContentWrite, probeUrl, prosemirrorToPortableText, reference, registerSource, renderPreviewLoadingPage, renderPreviewToolbar, resolveContentUrl, resolveDinewayPath, runPluginMigrations, runWithContext, sanitizeHref, search, searchCollection, searchWithDb, setSiteSettings, signPreviewUrl, submitAutomatedReview, ulid, validateContent, validateSeed, verifyGuestAccessToken, verifyPreviewSignature, verifyPreviewToken, wordpressRestSource, wxrSource };
|