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,19 +1,21 @@
|
|
|
1
|
-
import { _ as UpdateCollectionInput, d as FieldType, f as FieldValidation, i as CollectionWithFields, o as CreateCollectionInput, s as CreateFieldInput, t as Collection, u as Field, v as UpdateFieldInput } from "./types-
|
|
2
|
-
import { f as UpdateContentInput, i as ContentItem$1, l as FindManyOptions, o as ContentSeoInput, r as ContentDateField, s as CreateContentInput, t as BylineSummary, u as FindManyResult } from "./types-
|
|
3
|
-
import { Ot as ReviewJobTable, t as Database } from "./types-
|
|
4
|
-
import { _ as MediaValue, f as MediaProvider, m as MediaProviderDescriptor, p as MediaProviderCapabilities } from "./placeholder-
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import { t as
|
|
8
|
-
import {
|
|
1
|
+
import { _ as UpdateCollectionInput, d as FieldType, f as FieldValidation, i as CollectionWithFields, o as CreateCollectionInput, s as CreateFieldInput, t as Collection, u as Field, v as UpdateFieldInput } from "./types-1qU0-N1P.mjs";
|
|
2
|
+
import { f as UpdateContentInput, i as ContentItem$1, l as FindManyOptions, o as ContentSeoInput, r as ContentDateField, s as CreateContentInput, t as BylineSummary, u as FindManyResult } from "./types-BFoQ5a1v.mjs";
|
|
3
|
+
import { Ot as ReviewJobTable, t as Database } from "./types-CVRNRAA5.mjs";
|
|
4
|
+
import { _ as MediaValue, f as MediaProvider, m as MediaProviderDescriptor, p as MediaProviderCapabilities } from "./placeholder-CQKI6vLd.mjs";
|
|
5
|
+
import { AtomicBatch } from "./database/batch.mjs";
|
|
6
|
+
import { D as ContentBylineInput } from "./index-mlJSqFkG.mjs";
|
|
7
|
+
import { r as AuthProviderDescriptor, t as AuthDescriptor } from "./types-SddyDti7.mjs";
|
|
8
|
+
import { n as DatabaseDescriptor } from "./adapters-Rol-inz6.mjs";
|
|
9
|
+
import { r as ObjectCacheDescriptor } from "./types-DNPP-eu4.mjs";
|
|
9
10
|
import { ServerTimingMetric } from "./database/instrumentation.mjs";
|
|
10
|
-
import { d as Storage } from "./types-
|
|
11
|
-
import { C as SiteSettingKey, w as SiteSettings } from "./validate-
|
|
11
|
+
import { d as Storage } from "./types-BWsEjujW.mjs";
|
|
12
|
+
import { C as SiteSettingKey, w as SiteSettings } from "./validate-CCOsvPg2.mjs";
|
|
12
13
|
import { DinewayManifest, HandlerResponse } from "./astro/types.mjs";
|
|
13
|
-
import
|
|
14
|
-
import {
|
|
15
|
-
import { z as z$1 } from "zod";
|
|
14
|
+
import * as kysely from "kysely";
|
|
15
|
+
import { CompiledQuery, Dialect, Kysely, Migration, RawBuilder, Transaction } from "kysely";
|
|
16
16
|
import { Permission, RoleLevel } from "@dineway-ai/auth";
|
|
17
|
+
import { z } from "zod";
|
|
18
|
+
import { z as z$1 } from "astro/zod";
|
|
17
19
|
import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js";
|
|
18
20
|
import "@forgeway/sdk";
|
|
19
21
|
import "react/jsx-runtime";
|
|
@@ -145,7 +147,7 @@ type ParseResult<T> = T | Response;
|
|
|
145
147
|
* Returns the validated data on success, or a 400 Response on failure.
|
|
146
148
|
* Replaces all `(await request.json()) as T` casts.
|
|
147
149
|
*/
|
|
148
|
-
declare function parseBody<T extends z
|
|
150
|
+
declare function parseBody<T extends z.ZodType>(request: Request, schema: T): Promise<ParseResult<z.infer<T>>>;
|
|
149
151
|
/**
|
|
150
152
|
* Parse and validate URL search params against a Zod schema.
|
|
151
153
|
*
|
|
@@ -153,7 +155,7 @@ declare function parseBody<T extends z$1.ZodType>(request: Request, schema: T):
|
|
|
153
155
|
* Zod coercion handles string -> number/boolean conversion.
|
|
154
156
|
* Replaces manual `url.searchParams.get()` + `parseInt()` patterns.
|
|
155
157
|
*/
|
|
156
|
-
declare function parseQuery<T extends z
|
|
158
|
+
declare function parseQuery<T extends z.ZodType>(url: URL, schema: T): ParseResult<z.infer<T>>;
|
|
157
159
|
/**
|
|
158
160
|
* Type guard to check if a ParseResult is an error Response.
|
|
159
161
|
* Usage: `if (isParseError(result)) return result;`
|
|
@@ -219,6 +221,36 @@ declare class OptionsRepository {
|
|
|
219
221
|
deleteByPrefix(prefix: string): Promise<number>;
|
|
220
222
|
}
|
|
221
223
|
//#endregion
|
|
224
|
+
//#region src/database/d1/schema.d.ts
|
|
225
|
+
interface D1SchemaObject {
|
|
226
|
+
type: string;
|
|
227
|
+
name: string;
|
|
228
|
+
tableName: string;
|
|
229
|
+
sql: string;
|
|
230
|
+
}
|
|
231
|
+
/** Compile a checked-in empty schema snapshot, creating tables before their indexes and triggers. */
|
|
232
|
+
declare function compileD1Schema(objects: readonly D1SchemaObject[]): CompiledQuery[];
|
|
233
|
+
//#endregion
|
|
234
|
+
//#region src/database/d1-migrations.d.ts
|
|
235
|
+
interface D1Migration {
|
|
236
|
+
name: string;
|
|
237
|
+
checks?: readonly RawBuilder<boolean>[];
|
|
238
|
+
/** Ordered SQL statements; no interactive callbacks or external side effects. */
|
|
239
|
+
statements: readonly CompiledQuery[];
|
|
240
|
+
}
|
|
241
|
+
interface D1MigrationOptions {
|
|
242
|
+
/** An outer release lease, checked at every migration commit. */
|
|
243
|
+
checks?: readonly RawBuilder<boolean>[];
|
|
244
|
+
/** Explicitly adopt an imported schema only after checking its complete structure and history. */
|
|
245
|
+
adopt?: {
|
|
246
|
+
through: string;
|
|
247
|
+
checks: readonly RawBuilder<boolean>[];
|
|
248
|
+
};
|
|
249
|
+
}
|
|
250
|
+
declare function assertD1Migrations<DB>(db: Kysely<DB>, table: string, names: readonly string[]): Promise<void>;
|
|
251
|
+
/** Run only from an explicit deployment or maintenance operation. */
|
|
252
|
+
declare function migrateD1<DB>(db: Kysely<DB>, table: string, migrations: readonly D1Migration[], options?: D1MigrationOptions): Promise<string[]>;
|
|
253
|
+
//#endregion
|
|
222
254
|
//#region ../blocks/dist/validation-b1zbwCOE.d.ts
|
|
223
255
|
//#region src/types.d.ts
|
|
224
256
|
interface ConfirmDialog {
|
|
@@ -510,10 +542,20 @@ declare function dinewayLoader(): LiveLoader<EntryData, EntryFilter, CollectionF
|
|
|
510
542
|
declare class ContentRepository {
|
|
511
543
|
private db;
|
|
512
544
|
constructor(db: Kysely<Database>);
|
|
545
|
+
normalizePreparedData(type: string, data: Record<string, unknown>): Promise<Record<string, unknown>>;
|
|
513
546
|
/**
|
|
514
547
|
* Create a new content item
|
|
515
548
|
*/
|
|
549
|
+
prepareCreate(input: CreateContentInput, options?: {
|
|
550
|
+
captureDefaults?: boolean;
|
|
551
|
+
}): Promise<{
|
|
552
|
+
id: string;
|
|
553
|
+
batch: AtomicBatch;
|
|
554
|
+
item?: ContentItem$1;
|
|
555
|
+
}>;
|
|
516
556
|
create(input: CreateContentInput): Promise<ContentItem$1>;
|
|
557
|
+
/** Capture database defaults and JSON values from the saved row inside the write batch. */
|
|
558
|
+
prepareDraftSnapshot(type: string, id: string, authorId?: string): Promise<AtomicBatch>;
|
|
517
559
|
/**
|
|
518
560
|
* Generate a unique slug for a content item within a collection.
|
|
519
561
|
*
|
|
@@ -529,6 +571,13 @@ declare class ContentRepository {
|
|
|
529
571
|
* Creates a new draft copy with "(Copy)" appended to the title.
|
|
530
572
|
* A slug is auto-generated from the new title by the handler layer.
|
|
531
573
|
*/
|
|
574
|
+
prepareDuplicate(type: string, id: string, authorId?: string): Promise<{
|
|
575
|
+
id: string;
|
|
576
|
+
batch: {
|
|
577
|
+
checks: RawBuilder<boolean>[];
|
|
578
|
+
statements: readonly kysely.CompiledQuery<unknown>[];
|
|
579
|
+
};
|
|
580
|
+
}>;
|
|
532
581
|
duplicate(type: string, id: string, authorId?: string): Promise<ContentItem$1>;
|
|
533
582
|
/**
|
|
534
583
|
* Find content by ID
|
|
@@ -566,10 +615,17 @@ declare class ContentRepository {
|
|
|
566
615
|
/**
|
|
567
616
|
* Update content
|
|
568
617
|
*/
|
|
618
|
+
prepareUpdate(type: string, id: string, input: UpdateContentInput, now?: string): kysely.CompiledQuery<kysely.UpdateResult>;
|
|
619
|
+
snapshot(type: string, id: string, includeTrashed?: boolean): Promise<{
|
|
620
|
+
item: ContentItem$1;
|
|
621
|
+
deleted: boolean;
|
|
622
|
+
check: RawBuilder<boolean>;
|
|
623
|
+
} | null>;
|
|
569
624
|
update(type: string, id: string, input: UpdateContentInput): Promise<ContentItem$1>;
|
|
570
625
|
/**
|
|
571
626
|
* Delete content (soft delete - moves to trash)
|
|
572
627
|
*/
|
|
628
|
+
prepareDelete(type: string, id: string): AtomicBatch;
|
|
573
629
|
delete(type: string, id: string): Promise<boolean>;
|
|
574
630
|
/**
|
|
575
631
|
* Restore content from trash
|
|
@@ -645,6 +701,14 @@ declare class ContentRepository {
|
|
|
645
701
|
* `publishedAt` overrides the publication timestamp. If omitted, an existing
|
|
646
702
|
* `published_at` is preserved and first publish falls back to the current time.
|
|
647
703
|
*/
|
|
704
|
+
preparePublish(type: string, id: string, publishedAt?: string, requireScheduledDue?: boolean): Promise<{
|
|
705
|
+
batch: {
|
|
706
|
+
checks: RawBuilder<boolean>[];
|
|
707
|
+
statements: kysely.CompiledQuery<kysely.InsertResult>[];
|
|
708
|
+
};
|
|
709
|
+
previous: ContentItem$1;
|
|
710
|
+
slug: string | null;
|
|
711
|
+
}>;
|
|
648
712
|
publish(type: string, id: string, publishedAt?: string, requireScheduledDue?: boolean): Promise<ContentItem$1>;
|
|
649
713
|
/**
|
|
650
714
|
* Stage an existing revision as the draft for a content item.
|
|
@@ -672,7 +736,7 @@ declare class ContentRepository {
|
|
|
672
736
|
* Used to promote revision data into the content table on publish.
|
|
673
737
|
* Keys starting with _ are revision metadata (e.g. _slug) and are skipped.
|
|
674
738
|
*/
|
|
675
|
-
|
|
739
|
+
prepareSyncDataColumns(type: string, id: string, data: Record<string, unknown>): kysely.CompiledQuery<kysely.UpdateResult> | null;
|
|
676
740
|
/**
|
|
677
741
|
* Count content items with a pending schedule.
|
|
678
742
|
* Includes both draft-scheduled (status='scheduled') and published
|
|
@@ -744,6 +808,11 @@ declare class MediaRepository {
|
|
|
744
808
|
/**
|
|
745
809
|
* Create a new media item
|
|
746
810
|
*/
|
|
811
|
+
prepareCreate(input: CreateMediaInput): {
|
|
812
|
+
id: string;
|
|
813
|
+
item: MediaItem$1;
|
|
814
|
+
statement: kysely.CompiledQuery<kysely.InsertResult>;
|
|
815
|
+
};
|
|
747
816
|
create(input: CreateMediaInput): Promise<MediaItem$1>;
|
|
748
817
|
/**
|
|
749
818
|
* Create a pending media item (for signed URL upload flow)
|
|
@@ -844,6 +913,12 @@ declare class RevisionRepository {
|
|
|
844
913
|
/**
|
|
845
914
|
* Create a new revision
|
|
846
915
|
*/
|
|
916
|
+
prepareCreateSnapshot(input: Omit<CreateRevisionInput, "data"> & {
|
|
917
|
+
data: RawBuilder<string>;
|
|
918
|
+
}): {
|
|
919
|
+
id: string;
|
|
920
|
+
statement: kysely.CompiledQuery<kysely.InsertResult>;
|
|
921
|
+
};
|
|
847
922
|
create(input: CreateRevisionInput): Promise<Revision>;
|
|
848
923
|
/**
|
|
849
924
|
* Find revision by ID
|
|
@@ -887,6 +962,23 @@ declare class RevisionRepository {
|
|
|
887
962
|
}
|
|
888
963
|
//#endregion
|
|
889
964
|
//#region src/database/repositories/comment.d.ts
|
|
965
|
+
type CommentStatus = "pending" | "approved" | "spam" | "trash";
|
|
966
|
+
interface Comment {
|
|
967
|
+
id: string;
|
|
968
|
+
collection: string;
|
|
969
|
+
contentId: string;
|
|
970
|
+
parentId: string | null;
|
|
971
|
+
authorName: string;
|
|
972
|
+
authorEmail: string;
|
|
973
|
+
authorUserId: string | null;
|
|
974
|
+
body: string;
|
|
975
|
+
status: CommentStatus;
|
|
976
|
+
ipHash: string | null;
|
|
977
|
+
userAgent: string | null;
|
|
978
|
+
moderationMetadata: Record<string, unknown> | null;
|
|
979
|
+
createdAt: string;
|
|
980
|
+
updatedAt: string;
|
|
981
|
+
}
|
|
890
982
|
/** Public-facing comment shape — no private fields */
|
|
891
983
|
interface PublicComment {
|
|
892
984
|
id: string;
|
|
@@ -958,6 +1050,10 @@ interface SiteActivityTimelineQuery {
|
|
|
958
1050
|
declare class SiteActivityRepository {
|
|
959
1051
|
private db;
|
|
960
1052
|
constructor(db: Kysely<Database>);
|
|
1053
|
+
prepareCreate(input: CreateSiteActivityInput): {
|
|
1054
|
+
id: string;
|
|
1055
|
+
statement: kysely.CompiledQuery<kysely.InsertResult>;
|
|
1056
|
+
};
|
|
961
1057
|
create(input: CreateSiteActivityInput): Promise<SiteActivity>;
|
|
962
1058
|
findById(id: string): Promise<SiteActivity | null>;
|
|
963
1059
|
findTimeline(query?: SiteActivityTimelineQuery): Promise<FindManyResult<SiteActivity>>;
|
|
@@ -1219,7 +1315,7 @@ interface FieldDefinition<_T = unknown> {
|
|
|
1219
1315
|
* The SQLite column type to use when storing this field
|
|
1220
1316
|
*/
|
|
1221
1317
|
columnType: ColumnType;
|
|
1222
|
-
schema: z.ZodTypeAny;
|
|
1318
|
+
schema: z$1.ZodTypeAny;
|
|
1223
1319
|
options?: unknown;
|
|
1224
1320
|
ui?: FieldUIHints;
|
|
1225
1321
|
validation?: FieldValidation;
|
|
@@ -1288,6 +1384,75 @@ declare function portableText(options?: {
|
|
|
1288
1384
|
required?: boolean;
|
|
1289
1385
|
}): FieldDefinition<PortableTextBlock$1[] | undefined>;
|
|
1290
1386
|
//#endregion
|
|
1387
|
+
//#region src/api/handlers/content-write.d.ts
|
|
1388
|
+
interface ContentWriteInput$1 {
|
|
1389
|
+
id?: string;
|
|
1390
|
+
data?: Record<string, unknown>;
|
|
1391
|
+
draftData?: Record<string, unknown>;
|
|
1392
|
+
slug?: string;
|
|
1393
|
+
status?: "draft";
|
|
1394
|
+
authorId?: string;
|
|
1395
|
+
locale?: string;
|
|
1396
|
+
expectedRev?: string;
|
|
1397
|
+
stageDraft?: boolean;
|
|
1398
|
+
unpublish?: boolean;
|
|
1399
|
+
publish?: boolean;
|
|
1400
|
+
}
|
|
1401
|
+
interface PreparedContentWrite {
|
|
1402
|
+
id: string;
|
|
1403
|
+
item: ContentItem$1;
|
|
1404
|
+
rev: string;
|
|
1405
|
+
draftData: Record<string, unknown> | null;
|
|
1406
|
+
batch: AtomicBatch;
|
|
1407
|
+
afterCommit(): void;
|
|
1408
|
+
}
|
|
1409
|
+
/** Prepare a draft or direct backing-row edit without committing site-owned writes separately. */
|
|
1410
|
+
declare function prepareContentWrite(db: Kysely<Database>, collection: string, input: ContentWriteInput$1): Promise<PreparedContentWrite>;
|
|
1411
|
+
//#endregion
|
|
1412
|
+
//#region src/site-context/review-payload.d.ts
|
|
1413
|
+
interface ContentReviewHandlers {
|
|
1414
|
+
handleContentGet: (collection: string, id: string) => Promise<HandlerResponse<{
|
|
1415
|
+
item: object;
|
|
1416
|
+
_rev?: string;
|
|
1417
|
+
}>>;
|
|
1418
|
+
handleContentCompare: (collection: string, id: string) => Promise<HandlerResponse>;
|
|
1419
|
+
}
|
|
1420
|
+
//#endregion
|
|
1421
|
+
//#region src/api/handlers/review-requests.d.ts
|
|
1422
|
+
interface ReviewRequestActorInput {
|
|
1423
|
+
actorType: "user" | "api_token" | "system";
|
|
1424
|
+
actorId: string;
|
|
1425
|
+
authMetadata?: Record<string, unknown> | null;
|
|
1426
|
+
}
|
|
1427
|
+
//#endregion
|
|
1428
|
+
//#region src/review-automation/submission.d.ts
|
|
1429
|
+
declare class ReviewSubmissionError extends Error {
|
|
1430
|
+
readonly code: string;
|
|
1431
|
+
constructor(message: string, code?: string);
|
|
1432
|
+
}
|
|
1433
|
+
interface ReviewSubmissionInput {
|
|
1434
|
+
collection: string;
|
|
1435
|
+
id: string;
|
|
1436
|
+
summary?: string;
|
|
1437
|
+
riskReason?: string;
|
|
1438
|
+
actor: ReviewRequestActorInput;
|
|
1439
|
+
expectedRev?: string;
|
|
1440
|
+
supersedePending?: boolean;
|
|
1441
|
+
}
|
|
1442
|
+
interface PreparedReviewSubmission {
|
|
1443
|
+
id: string;
|
|
1444
|
+
targetKey: string;
|
|
1445
|
+
created: boolean;
|
|
1446
|
+
batch: AtomicBatch;
|
|
1447
|
+
}
|
|
1448
|
+
declare function prepareAutomatedReview(db: Kysely<Database>, handlers: ContentReviewHandlers, input: ReviewSubmissionInput, options?: {
|
|
1449
|
+
draft?: PreparedContentWrite;
|
|
1450
|
+
}): Promise<PreparedReviewSubmission>;
|
|
1451
|
+
declare function submitAutomatedReview(db: Kysely<Database>, handlers: ContentReviewHandlers, input: ReviewSubmissionInput): Promise<{
|
|
1452
|
+
item: ReviewRequest;
|
|
1453
|
+
created: boolean;
|
|
1454
|
+
}>;
|
|
1455
|
+
//#endregion
|
|
1291
1456
|
//#region src/api/handlers/content.d.ts
|
|
1292
1457
|
/**
|
|
1293
1458
|
* Trashed content item with deletion timestamp
|
|
@@ -1374,6 +1539,9 @@ declare function handleContentUpdate(db: Kysely<Database>, collection: string, i
|
|
|
1374
1539
|
_rev?: string;
|
|
1375
1540
|
seo?: ContentSeoInput;
|
|
1376
1541
|
publishedAt?: string | null;
|
|
1542
|
+
}, options?: {
|
|
1543
|
+
stageDraft?: boolean;
|
|
1544
|
+
skipRevision?: boolean;
|
|
1377
1545
|
}): Promise<ApiResult<ContentResponse>>;
|
|
1378
1546
|
/**
|
|
1379
1547
|
* Duplicate content item.
|
|
@@ -1430,13 +1598,6 @@ declare function handleContentSchedule(db: Kysely<Database>, collection: string,
|
|
|
1430
1598
|
* Unschedule content (revert to draft)
|
|
1431
1599
|
*/
|
|
1432
1600
|
declare function handleContentUnschedule(db: Kysely<Database>, collection: string, id: string): Promise<ApiResult<ContentResponse>>;
|
|
1433
|
-
/**
|
|
1434
|
-
* Publish content immediately.
|
|
1435
|
-
*
|
|
1436
|
-
* Wrapped in a transaction because publish performs multiple writes
|
|
1437
|
-
* (syncDataColumns, slug sync, status/revision update) that must
|
|
1438
|
-
* be atomic to prevent FTS shadow table corruption on crash.
|
|
1439
|
-
*/
|
|
1440
1601
|
declare function handleContentPublish(db: Kysely<Database>, collection: string, id: string, options?: {
|
|
1441
1602
|
publishedAt?: string;
|
|
1442
1603
|
requireScheduledDue?: boolean;
|
|
@@ -2735,6 +2896,11 @@ interface PublishConfirmedContentInput {
|
|
|
2735
2896
|
* authority for the exact target. Use this transaction for all host permission reads.
|
|
2736
2897
|
* Called again before the write, including after policy preparation/validation. */
|
|
2737
2898
|
type ConfirmedContentAuthorizer = (db: Kysely<Database>, input: Readonly<PublishConfirmedContentInput>) => Promise<void>;
|
|
2899
|
+
/** Prepare commit-time checks for the host session's current ownership and publication authority.
|
|
2900
|
+
* This must be read-only, return at least one check, and include every permission read. */
|
|
2901
|
+
interface AtomicConfirmedContentAuthorizer {
|
|
2902
|
+
prepare(db: Kysely<Database>, input: Readonly<PublishConfirmedContentInput>): Promise<readonly RawBuilder<boolean>[]>;
|
|
2903
|
+
}
|
|
2738
2904
|
interface ConfirmedContentPublicationResult extends ContentResponse {
|
|
2739
2905
|
receipt: PublicationReceipt;
|
|
2740
2906
|
replayed: boolean;
|
|
@@ -3080,7 +3246,7 @@ declare class DinewayRuntime {
|
|
|
3080
3246
|
createPublicationAuthorizationService(): PublicationAuthorizationService;
|
|
3081
3247
|
/** Server-only integration for a host's own authenticated human publishing flow.
|
|
3082
3248
|
* The host must check editorial and release authority inside authorize's transaction. */
|
|
3083
|
-
publishConfirmedContent(input: PublishConfirmedContentInput, authorize: ConfirmedContentAuthorizer): Promise<ConfirmedContentPublicationResult>;
|
|
3249
|
+
publishConfirmedContent(input: PublishConfirmedContentInput, authorize: ConfirmedContentAuthorizer | AtomicConfirmedContentAuthorizer): Promise<ConfirmedContentPublicationResult>;
|
|
3084
3250
|
handleContentPublish(collection: string, id: string, options?: {
|
|
3085
3251
|
publishedAt?: string;
|
|
3086
3252
|
requireScheduledDue?: boolean;
|
|
@@ -3482,15 +3648,6 @@ declare class SiteBriefingAssembler {
|
|
|
3482
3648
|
private canIncludeActivity;
|
|
3483
3649
|
}
|
|
3484
3650
|
//#endregion
|
|
3485
|
-
//#region src/site-context/review-payload.d.ts
|
|
3486
|
-
interface ContentReviewHandlers {
|
|
3487
|
-
handleContentGet: (collection: string, id: string) => Promise<HandlerResponse<{
|
|
3488
|
-
item: object;
|
|
3489
|
-
_rev?: string;
|
|
3490
|
-
}>>;
|
|
3491
|
-
handleContentCompare: (collection: string, id: string) => Promise<HandlerResponse>;
|
|
3492
|
-
}
|
|
3493
|
-
//#endregion
|
|
3494
3651
|
//#region src/api/handlers/manifest.d.ts
|
|
3495
3652
|
interface CollectionDefinition {
|
|
3496
3653
|
schema: {
|
|
@@ -3623,6 +3780,7 @@ declare class SchemaRegistry {
|
|
|
3623
3780
|
* Get a collection by slug
|
|
3624
3781
|
*/
|
|
3625
3782
|
getCollection(slug: string): Promise<Collection | null>;
|
|
3783
|
+
private collectionSnapshot;
|
|
3626
3784
|
/**
|
|
3627
3785
|
* Get a collection with all its fields
|
|
3628
3786
|
*/
|
|
@@ -3652,6 +3810,7 @@ declare class SchemaRegistry {
|
|
|
3652
3810
|
* Get a field by slug within a collection
|
|
3653
3811
|
*/
|
|
3654
3812
|
getField(collectionSlug: string, fieldSlug: string): Promise<Field | null>;
|
|
3813
|
+
private fieldSnapshot;
|
|
3655
3814
|
/**
|
|
3656
3815
|
* Create a new field
|
|
3657
3816
|
*/
|
|
@@ -3680,7 +3839,7 @@ declare class SchemaRegistry {
|
|
|
3680
3839
|
* Schema writes must not first-time enable FTS. Initial enablement stays in
|
|
3681
3840
|
* explicit seed/import/admin flows where FTS failures can be handled deliberately.
|
|
3682
3841
|
*/
|
|
3683
|
-
private
|
|
3842
|
+
private searchStatePlan;
|
|
3684
3843
|
/**
|
|
3685
3844
|
* Delete a field
|
|
3686
3845
|
*/
|
|
@@ -3692,19 +3851,18 @@ declare class SchemaRegistry {
|
|
|
3692
3851
|
/**
|
|
3693
3852
|
* Create a content table for a collection
|
|
3694
3853
|
*/
|
|
3695
|
-
private
|
|
3854
|
+
private contentTableStatements;
|
|
3696
3855
|
/**
|
|
3697
3856
|
* Drop a content table
|
|
3698
3857
|
*/
|
|
3699
|
-
private dropContentTable;
|
|
3700
3858
|
/**
|
|
3701
3859
|
* Add a column to a content table
|
|
3702
3860
|
*/
|
|
3703
3861
|
private addColumn;
|
|
3862
|
+
private columnStatement;
|
|
3704
3863
|
/**
|
|
3705
3864
|
* Drop a column from a content table
|
|
3706
3865
|
*/
|
|
3707
|
-
private dropColumn;
|
|
3708
3866
|
/**
|
|
3709
3867
|
* Check if a collection has any content
|
|
3710
3868
|
*/
|
|
@@ -3797,7 +3955,7 @@ declare function validateContent(collection: CollectionWithFields, data: unknown
|
|
|
3797
3955
|
data: unknown;
|
|
3798
3956
|
} | {
|
|
3799
3957
|
success: false;
|
|
3800
|
-
errors: z
|
|
3958
|
+
errors: z.ZodError;
|
|
3801
3959
|
};
|
|
3802
3960
|
//#endregion
|
|
3803
3961
|
//#region src/sections/types.d.ts
|
|
@@ -4558,15 +4716,8 @@ interface ResolvePathResult<T = Record<string, unknown>> {
|
|
|
4558
4716
|
declare function resolveDinewayPath<T = Record<string, unknown>>(path: string): Promise<ResolvePathResult<T> | null>;
|
|
4559
4717
|
//#endregion
|
|
4560
4718
|
//#region src/after.d.ts
|
|
4561
|
-
/**
|
|
4562
|
-
* Defer work past the current synchronous path.
|
|
4563
|
-
*
|
|
4564
|
-
* Use this for best-effort bookkeeping that should not block runtime
|
|
4565
|
-
* initialization or response handling. Node keeps the process alive for
|
|
4566
|
-
* pending work; callers that need stronger durability should await their own
|
|
4567
|
-
* operation instead of using this helper.
|
|
4568
|
-
*/
|
|
4569
4719
|
type AfterCallback = () => void | Promise<void>;
|
|
4720
|
+
/** Best-effort work; durable jobs still need a persisted queue or outbox. */
|
|
4570
4721
|
declare function after(fn: AfterCallback): void;
|
|
4571
4722
|
//#endregion
|
|
4572
4723
|
//#region src/object-cache/index.d.ts
|
|
@@ -4829,37 +4980,37 @@ declare function runPluginMigrations(db: Kysely<Database>, plugins: readonly Res
|
|
|
4829
4980
|
*
|
|
4830
4981
|
* Every JSON.parse of a manifest.json should validate through this.
|
|
4831
4982
|
*/
|
|
4832
|
-
declare const pluginManifestSchema: z
|
|
4833
|
-
id: z
|
|
4834
|
-
version: z
|
|
4835
|
-
declaredAccess: z
|
|
4836
|
-
content: z
|
|
4837
|
-
read: z
|
|
4838
|
-
write: z
|
|
4839
|
-
}, z
|
|
4840
|
-
media: z
|
|
4841
|
-
read: z
|
|
4842
|
-
write: z
|
|
4843
|
-
}, z
|
|
4844
|
-
network: z
|
|
4845
|
-
request: z
|
|
4846
|
-
allowedHosts: z
|
|
4847
|
-
developmentLoopback: z
|
|
4848
|
-
}, z
|
|
4849
|
-
}, z
|
|
4850
|
-
email: z
|
|
4851
|
-
send: z
|
|
4852
|
-
events: z
|
|
4853
|
-
transport: z
|
|
4854
|
-
}, z
|
|
4855
|
-
page: z
|
|
4856
|
-
fragments: z
|
|
4857
|
-
}, z
|
|
4858
|
-
users: z
|
|
4859
|
-
read: z
|
|
4860
|
-
}, z
|
|
4861
|
-
}, z
|
|
4862
|
-
capabilities: z
|
|
4983
|
+
declare const pluginManifestSchema: z.ZodObject<{
|
|
4984
|
+
id: z.ZodString;
|
|
4985
|
+
version: z.ZodString;
|
|
4986
|
+
declaredAccess: z.ZodOptional<z.ZodObject<{
|
|
4987
|
+
content: z.ZodOptional<z.ZodObject<{
|
|
4988
|
+
read: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
4989
|
+
write: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
4990
|
+
}, z.core.$strip>>;
|
|
4991
|
+
media: z.ZodOptional<z.ZodObject<{
|
|
4992
|
+
read: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
4993
|
+
write: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
4994
|
+
}, z.core.$strip>>;
|
|
4995
|
+
network: z.ZodOptional<z.ZodObject<{
|
|
4996
|
+
request: z.ZodOptional<z.ZodObject<{
|
|
4997
|
+
allowedHosts: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4998
|
+
developmentLoopback: z.ZodOptional<z.ZodBoolean>;
|
|
4999
|
+
}, z.core.$strip>>;
|
|
5000
|
+
}, z.core.$strip>>;
|
|
5001
|
+
email: z.ZodOptional<z.ZodObject<{
|
|
5002
|
+
send: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
5003
|
+
events: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
5004
|
+
transport: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
5005
|
+
}, z.core.$strip>>;
|
|
5006
|
+
page: z.ZodOptional<z.ZodObject<{
|
|
5007
|
+
fragments: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
5008
|
+
}, z.core.$strip>>;
|
|
5009
|
+
users: z.ZodOptional<z.ZodObject<{
|
|
5010
|
+
read: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
5011
|
+
}, z.core.$strip>>;
|
|
5012
|
+
}, z.core.$strip>>;
|
|
5013
|
+
capabilities: z.ZodArray<z.ZodEnum<{
|
|
4863
5014
|
"network:request": "network:request";
|
|
4864
5015
|
"network:request:unrestricted": "network:request:unrestricted";
|
|
4865
5016
|
"network:request:development-loopback": "network:request:development-loopback";
|
|
@@ -4873,12 +5024,12 @@ declare const pluginManifestSchema: z$1.ZodObject<{
|
|
|
4873
5024
|
"hooks.email-events:register": "hooks.email-events:register";
|
|
4874
5025
|
"hooks.page-fragments:register": "hooks.page-fragments:register";
|
|
4875
5026
|
}>>;
|
|
4876
|
-
allowedHosts: z
|
|
4877
|
-
storage: z
|
|
4878
|
-
indexes: z
|
|
4879
|
-
uniqueIndexes: z
|
|
4880
|
-
}, z
|
|
4881
|
-
hooks: z
|
|
5027
|
+
allowedHosts: z.ZodArray<z.ZodString>;
|
|
5028
|
+
storage: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
5029
|
+
indexes: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
5030
|
+
uniqueIndexes: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>>;
|
|
5031
|
+
}, z.core.$strip>>;
|
|
5032
|
+
hooks: z.ZodArray<z.ZodUnion<readonly [z.ZodEnum<{
|
|
4882
5033
|
"plugin:install": "plugin:install";
|
|
4883
5034
|
"plugin:activate": "plugin:activate";
|
|
4884
5035
|
"plugin:deactivate": "plugin:deactivate";
|
|
@@ -4904,8 +5055,8 @@ declare const pluginManifestSchema: z$1.ZodObject<{
|
|
|
4904
5055
|
"comment:afterModerate": "comment:afterModerate";
|
|
4905
5056
|
"page:metadata": "page:metadata";
|
|
4906
5057
|
"page:fragments": "page:fragments";
|
|
4907
|
-
}>, z
|
|
4908
|
-
name: z
|
|
5058
|
+
}>, z.ZodObject<{
|
|
5059
|
+
name: z.ZodEnum<{
|
|
4909
5060
|
"plugin:install": "plugin:install";
|
|
4910
5061
|
"plugin:activate": "plugin:activate";
|
|
4911
5062
|
"plugin:deactivate": "plugin:deactivate";
|
|
@@ -4932,78 +5083,78 @@ declare const pluginManifestSchema: z$1.ZodObject<{
|
|
|
4932
5083
|
"page:metadata": "page:metadata";
|
|
4933
5084
|
"page:fragments": "page:fragments";
|
|
4934
5085
|
}>;
|
|
4935
|
-
exclusive: z
|
|
4936
|
-
priority: z
|
|
4937
|
-
timeout: z
|
|
4938
|
-
}, z
|
|
4939
|
-
routes: z
|
|
4940
|
-
name: z
|
|
4941
|
-
public: z
|
|
4942
|
-
}, z
|
|
4943
|
-
admin: z
|
|
4944
|
-
entry: z
|
|
4945
|
-
settingsSchema: z
|
|
4946
|
-
type: z
|
|
4947
|
-
default: z
|
|
4948
|
-
multiline: z
|
|
4949
|
-
label: z
|
|
4950
|
-
description: z
|
|
4951
|
-
}, z
|
|
4952
|
-
type: z
|
|
4953
|
-
default: z
|
|
4954
|
-
min: z
|
|
4955
|
-
max: z
|
|
4956
|
-
label: z
|
|
4957
|
-
description: z
|
|
4958
|
-
}, z
|
|
4959
|
-
type: z
|
|
4960
|
-
default: z
|
|
4961
|
-
label: z
|
|
4962
|
-
description: z
|
|
4963
|
-
}, z
|
|
4964
|
-
type: z
|
|
4965
|
-
options: z
|
|
4966
|
-
value: z
|
|
4967
|
-
label: z
|
|
4968
|
-
}, z
|
|
4969
|
-
default: z
|
|
4970
|
-
label: z
|
|
4971
|
-
description: z
|
|
4972
|
-
}, z
|
|
4973
|
-
type: z
|
|
4974
|
-
label: z
|
|
4975
|
-
description: z
|
|
4976
|
-
}, z
|
|
4977
|
-
type: z
|
|
4978
|
-
default: z
|
|
4979
|
-
placeholder: z
|
|
4980
|
-
label: z
|
|
4981
|
-
description: z
|
|
4982
|
-
}, z
|
|
4983
|
-
type: z
|
|
4984
|
-
default: z
|
|
4985
|
-
placeholder: z
|
|
4986
|
-
label: z
|
|
4987
|
-
description: z
|
|
4988
|
-
}, z
|
|
4989
|
-
pages: z
|
|
4990
|
-
path: z
|
|
4991
|
-
label: z
|
|
4992
|
-
icon: z
|
|
4993
|
-
}, z
|
|
4994
|
-
widgets: z
|
|
4995
|
-
id: z
|
|
4996
|
-
size: z
|
|
5086
|
+
exclusive: z.ZodOptional<z.ZodBoolean>;
|
|
5087
|
+
priority: z.ZodOptional<z.ZodNumber>;
|
|
5088
|
+
timeout: z.ZodOptional<z.ZodNumber>;
|
|
5089
|
+
}, z.core.$strip>]>>;
|
|
5090
|
+
routes: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
5091
|
+
name: z.ZodString;
|
|
5092
|
+
public: z.ZodOptional<z.ZodBoolean>;
|
|
5093
|
+
}, z.core.$strip>]>>;
|
|
5094
|
+
admin: z.ZodObject<{
|
|
5095
|
+
entry: z.ZodOptional<z.ZodString>;
|
|
5096
|
+
settingsSchema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
5097
|
+
type: z.ZodLiteral<"string">;
|
|
5098
|
+
default: z.ZodOptional<z.ZodString>;
|
|
5099
|
+
multiline: z.ZodOptional<z.ZodBoolean>;
|
|
5100
|
+
label: z.ZodString;
|
|
5101
|
+
description: z.ZodOptional<z.ZodString>;
|
|
5102
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
5103
|
+
type: z.ZodLiteral<"number">;
|
|
5104
|
+
default: z.ZodOptional<z.ZodNumber>;
|
|
5105
|
+
min: z.ZodOptional<z.ZodNumber>;
|
|
5106
|
+
max: z.ZodOptional<z.ZodNumber>;
|
|
5107
|
+
label: z.ZodString;
|
|
5108
|
+
description: z.ZodOptional<z.ZodString>;
|
|
5109
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
5110
|
+
type: z.ZodLiteral<"boolean">;
|
|
5111
|
+
default: z.ZodOptional<z.ZodBoolean>;
|
|
5112
|
+
label: z.ZodString;
|
|
5113
|
+
description: z.ZodOptional<z.ZodString>;
|
|
5114
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
5115
|
+
type: z.ZodLiteral<"select">;
|
|
5116
|
+
options: z.ZodArray<z.ZodObject<{
|
|
5117
|
+
value: z.ZodString;
|
|
5118
|
+
label: z.ZodString;
|
|
5119
|
+
}, z.core.$strip>>;
|
|
5120
|
+
default: z.ZodOptional<z.ZodString>;
|
|
5121
|
+
label: z.ZodString;
|
|
5122
|
+
description: z.ZodOptional<z.ZodString>;
|
|
5123
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
5124
|
+
type: z.ZodLiteral<"secret">;
|
|
5125
|
+
label: z.ZodString;
|
|
5126
|
+
description: z.ZodOptional<z.ZodString>;
|
|
5127
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
5128
|
+
type: z.ZodLiteral<"url">;
|
|
5129
|
+
default: z.ZodOptional<z.ZodString>;
|
|
5130
|
+
placeholder: z.ZodOptional<z.ZodString>;
|
|
5131
|
+
label: z.ZodString;
|
|
5132
|
+
description: z.ZodOptional<z.ZodString>;
|
|
5133
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
5134
|
+
type: z.ZodLiteral<"email">;
|
|
5135
|
+
default: z.ZodOptional<z.ZodString>;
|
|
5136
|
+
placeholder: z.ZodOptional<z.ZodString>;
|
|
5137
|
+
label: z.ZodString;
|
|
5138
|
+
description: z.ZodOptional<z.ZodString>;
|
|
5139
|
+
}, z.core.$strip>], "type">>>;
|
|
5140
|
+
pages: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
5141
|
+
path: z.ZodString;
|
|
5142
|
+
label: z.ZodString;
|
|
5143
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
5144
|
+
}, z.core.$strip>>>;
|
|
5145
|
+
widgets: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
5146
|
+
id: z.ZodString;
|
|
5147
|
+
size: z.ZodOptional<z.ZodEnum<{
|
|
4997
5148
|
full: "full";
|
|
4998
5149
|
half: "half";
|
|
4999
5150
|
third: "third";
|
|
5000
5151
|
}>>;
|
|
5001
|
-
title: z
|
|
5002
|
-
}, z
|
|
5003
|
-
fieldWidgets: z
|
|
5004
|
-
name: z
|
|
5005
|
-
label: z
|
|
5006
|
-
fieldTypes: z
|
|
5152
|
+
title: z.ZodOptional<z.ZodString>;
|
|
5153
|
+
}, z.core.$strip>>>;
|
|
5154
|
+
fieldWidgets: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
5155
|
+
name: z.ZodString;
|
|
5156
|
+
label: z.ZodString;
|
|
5157
|
+
fieldTypes: z.ZodArray<z.ZodEnum<{
|
|
5007
5158
|
string: "string";
|
|
5008
5159
|
number: "number";
|
|
5009
5160
|
boolean: "boolean";
|
|
@@ -5020,15 +5171,15 @@ declare const pluginManifestSchema: z$1.ZodObject<{
|
|
|
5020
5171
|
reference: "reference";
|
|
5021
5172
|
repeater: "repeater";
|
|
5022
5173
|
}>>;
|
|
5023
|
-
elements: z
|
|
5024
|
-
type: z
|
|
5025
|
-
action_id: z
|
|
5026
|
-
label: z
|
|
5027
|
-
}, z
|
|
5028
|
-
}, z
|
|
5029
|
-
}, z
|
|
5030
|
-
}, z
|
|
5031
|
-
type ValidatedPluginManifest = z
|
|
5174
|
+
elements: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
5175
|
+
type: z.ZodString;
|
|
5176
|
+
action_id: z.ZodString;
|
|
5177
|
+
label: z.ZodOptional<z.ZodString>;
|
|
5178
|
+
}, z.core.$loose>>>;
|
|
5179
|
+
}, z.core.$strip>>>;
|
|
5180
|
+
}, z.core.$strip>;
|
|
5181
|
+
}, z.core.$strip>;
|
|
5182
|
+
type ValidatedPluginManifest = z.infer<typeof pluginManifestSchema>;
|
|
5032
5183
|
//#endregion
|
|
5033
5184
|
//#region src/plugins/secrets.d.ts
|
|
5034
5185
|
interface PluginSecretStatus {
|
|
@@ -5055,6 +5206,9 @@ declare class PluginSecretStore {
|
|
|
5055
5206
|
private readonly repository;
|
|
5056
5207
|
private readonly keysPromise;
|
|
5057
5208
|
constructor(db: Kysely<Database> | Transaction<Database>, options?: PluginSecretStoreOptions);
|
|
5209
|
+
private prepareValue;
|
|
5210
|
+
/** Encrypt before composing a larger atomic write; this method does not change storage. */
|
|
5211
|
+
prepareWrite(pluginId: string, name: string, value: string | null): Promise<CompiledQuery>;
|
|
5058
5212
|
set(pluginId: string, name: string, value: string): Promise<PluginSecretStatus>;
|
|
5059
5213
|
status(pluginId: string, name: string): Promise<PluginSecretStatus | null>;
|
|
5060
5214
|
list(pluginId: string): Promise<PluginSecretStatus[]>;
|
|
@@ -5507,7 +5661,6 @@ declare class HandoffSnapshotStore {
|
|
|
5507
5661
|
capture(input: CreateHandoffSnapshotInput): Promise<HandoffSnapshot>;
|
|
5508
5662
|
get(id: string): Promise<HandoffSnapshot | null>;
|
|
5509
5663
|
resume(input: ResumeHandoffSnapshotInput): Promise<HandoffResumeResult | null>;
|
|
5510
|
-
private withTransaction;
|
|
5511
5664
|
}
|
|
5512
5665
|
//#endregion
|
|
5513
5666
|
//#region src/site-context/assignments.d.ts
|
|
@@ -6407,7 +6560,8 @@ declare class FTSManager {
|
|
|
6407
6560
|
* @param searchableFields - Array of field names to index
|
|
6408
6561
|
* @param weights - Optional field weights for ranking
|
|
6409
6562
|
*/
|
|
6410
|
-
createFtsTable(collectionSlug: string, searchableFields: string[],
|
|
6563
|
+
createFtsTable(collectionSlug: string, searchableFields: string[], weights?: Record<string, number>): Promise<void>;
|
|
6564
|
+
createStatements(collectionSlug: string, searchableFields: string[], _weights?: Record<string, number>): CompiledQuery[];
|
|
6411
6565
|
/**
|
|
6412
6566
|
* Create triggers to keep FTS table in sync with content table.
|
|
6413
6567
|
*
|
|
@@ -6415,25 +6569,24 @@ declare class FTSManager {
|
|
|
6415
6569
|
* `deleted_at IS NULL`. This keeps soft-deleted content out of the
|
|
6416
6570
|
* index and keeps repair counts aligned with searchable content.
|
|
6417
6571
|
*/
|
|
6418
|
-
private
|
|
6572
|
+
private triggerStatements;
|
|
6419
6573
|
/**
|
|
6420
6574
|
* Drop triggers for a collection
|
|
6421
6575
|
*/
|
|
6422
|
-
|
|
6423
|
-
/**
|
|
6424
|
-
* Drop the FTS table and triggers for a collection
|
|
6425
|
-
*/
|
|
6576
|
+
dropStatements(collectionSlug: string): CompiledQuery[];
|
|
6426
6577
|
dropFtsTable(collectionSlug: string): Promise<void>;
|
|
6427
6578
|
/**
|
|
6428
6579
|
* Rebuild the FTS index for a collection
|
|
6429
6580
|
*
|
|
6430
6581
|
* This is useful after bulk imports or if the index gets out of sync.
|
|
6431
6582
|
*/
|
|
6583
|
+
rebuildStatements(collectionSlug: string, searchableFields: string[], weights?: Record<string, number>): CompiledQuery[];
|
|
6432
6584
|
rebuildIndex(collectionSlug: string, searchableFields: string[], weights?: Record<string, number>): Promise<void>;
|
|
6433
6585
|
/**
|
|
6434
6586
|
* Populate the FTS table from existing content
|
|
6435
6587
|
*/
|
|
6436
6588
|
populateFromContent(collectionSlug: string, searchableFields: string[]): Promise<void>;
|
|
6589
|
+
private populateStatement;
|
|
6437
6590
|
/**
|
|
6438
6591
|
* Get the search configuration for a collection
|
|
6439
6592
|
*/
|
|
@@ -6441,6 +6594,7 @@ declare class FTSManager {
|
|
|
6441
6594
|
/**
|
|
6442
6595
|
* Update the search configuration for a collection
|
|
6443
6596
|
*/
|
|
6597
|
+
configStatement(collectionSlug: string, config: SearchConfig): CompiledQuery;
|
|
6444
6598
|
setSearchConfig(collectionSlug: string, config: SearchConfig): Promise<void>;
|
|
6445
6599
|
/**
|
|
6446
6600
|
* Get searchable fields for a collection
|
|
@@ -6655,6 +6809,12 @@ interface PublicationReleasePreparationTarget {
|
|
|
6655
6809
|
}
|
|
6656
6810
|
interface PublicationReleasePolicy {
|
|
6657
6811
|
id: string;
|
|
6812
|
+
/** D1 policies must prepare explicit commit checks; reservation callbacks require a transactional adapter. */
|
|
6813
|
+
prepareAtomic?(target: PublicationReleasePreparationTarget): Promise<{
|
|
6814
|
+
contribution: PublicationReleasePolicyContribution;
|
|
6815
|
+
checks: readonly RawBuilder<boolean>[];
|
|
6816
|
+
}>;
|
|
6817
|
+
validateAtomic?(release: BuiltContentReleasePayload, contribution: PublicationReleasePolicyContribution): Promise<readonly RawBuilder<boolean>[]>;
|
|
6658
6818
|
checkReadiness?(target: PublicationReadinessPolicyTarget): Promise<PublicationReadinessPolicyFinding[]>;
|
|
6659
6819
|
prepare(target: PublicationReleasePreparationTarget): Promise<PublicationReleasePolicyContribution>;
|
|
6660
6820
|
validate(release: BuiltContentReleasePayload, contribution: PublicationReleasePolicyContribution): Promise<void>;
|
|
@@ -6663,11 +6823,19 @@ interface PublicationReleasePolicy {
|
|
|
6663
6823
|
}
|
|
6664
6824
|
interface PublicationAuthorizationServiceOptions {
|
|
6665
6825
|
db: Kysely<Database>;
|
|
6826
|
+
/** A host-confirmed review and explicit host authority, committed with publication on D1. */
|
|
6827
|
+
preparedReview?: {
|
|
6828
|
+
review: ReviewRequest;
|
|
6829
|
+
batch: AtomicBatch;
|
|
6830
|
+
authorizationChecks: readonly RawBuilder<boolean>[];
|
|
6831
|
+
};
|
|
6666
6832
|
handlers: PublicationContentHandlers;
|
|
6667
6833
|
policies?: PublicationReleasePolicy[];
|
|
6668
6834
|
getSiteTimezone?: () => Promise<string>;
|
|
6669
6835
|
validateReview?: (review: ReviewRequest) => Promise<void>;
|
|
6670
6836
|
now?: () => string;
|
|
6837
|
+
onUnscheduleCommitted?(collection: string, id: string, previous: ContentItem$1): void | Promise<void>;
|
|
6838
|
+
onPublicationCommitted?(operation: PublicationReleaseOperation, collection: string, id: string, previous: ContentItem$1): void | Promise<void>;
|
|
6671
6839
|
}
|
|
6672
6840
|
interface AuthorizedPublicationInput {
|
|
6673
6841
|
actor: ResolvedActorIdentity;
|
|
@@ -6764,11 +6932,17 @@ declare class PublicationAuthorizationService {
|
|
|
6764
6932
|
constructor(options: PublicationAuthorizationServiceOptions);
|
|
6765
6933
|
checkPublicationReadiness(input: CheckPublicationReadinessInput): Promise<PublicationReadinessResult>;
|
|
6766
6934
|
releaseApprovedReview(reviewId: string): Promise<"published" | "scheduled">;
|
|
6935
|
+
/** Commit a host-prepared review and publication as one explicit batch. */
|
|
6936
|
+
publishPreparedContent(input: PublishAuthorizedContentInput): Promise<AuthorizedPublicationResult>;
|
|
6767
6937
|
publishAuthorizedContent(input: PublishAuthorizedContentInput): Promise<AuthorizedPublicationResult>;
|
|
6768
6938
|
scheduleAuthorizedContent(input: ScheduleAuthorizedContentInput): Promise<AuthorizedPublicationResult>;
|
|
6769
6939
|
publishAuthorizedDueContent(input: PublishAuthorizedDueContentInput): Promise<AuthorizedPublicationResult>;
|
|
6770
6940
|
unscheduleAuthorizedContent(input: UnscheduleAuthorizedContentInput): Promise<AuthorizedUnscheduleResult>;
|
|
6771
6941
|
buildReleaseRequest(input: Omit<AuthorizeReleaseInput, "siteTimezone" | "policyOverrides">): Promise<BuiltContentReleasePayload>;
|
|
6942
|
+
private unscheduleAtomic;
|
|
6943
|
+
private publishDueAtomic;
|
|
6944
|
+
private atomicActorChecks;
|
|
6945
|
+
private publishAtomic;
|
|
6772
6946
|
private authorize;
|
|
6773
6947
|
private revalidateScheduledGrant;
|
|
6774
6948
|
private buildRelease;
|
|
@@ -6799,6 +6973,14 @@ type PluginCapability = "network:request" | "network:request:unrestricted" | "ne
|
|
|
6799
6973
|
* to native trusted plugins; sandboxed or marketplace code cannot contribute database migrations.
|
|
6800
6974
|
*/
|
|
6801
6975
|
type PluginMigration = Migration;
|
|
6976
|
+
interface PluginD1Support {
|
|
6977
|
+
/** Complete current owned schema, used to verify imported database adoption. */
|
|
6978
|
+
schema: readonly D1SchemaObject[];
|
|
6979
|
+
/** Immutable SQL plans. Each plan records the Node migration names it covers. */
|
|
6980
|
+
migrations?: <DB>(db: Kysely<DB>) => readonly (D1Migration & {
|
|
6981
|
+
legacyMigrations: readonly string[];
|
|
6982
|
+
})[];
|
|
6983
|
+
}
|
|
6802
6984
|
type AccessConstraints = Record<string, unknown>;
|
|
6803
6985
|
/**
|
|
6804
6986
|
* Structured plugin trust contract.
|
|
@@ -7188,6 +7370,7 @@ interface CronAccess {
|
|
|
7188
7370
|
* Task info returned from CronAccess.list()
|
|
7189
7371
|
*/
|
|
7190
7372
|
interface CronTaskInfo {
|
|
7373
|
+
status?: "idle" | "running" | "failed";
|
|
7191
7374
|
name: string;
|
|
7192
7375
|
schedule: string;
|
|
7193
7376
|
nextRunAt: string;
|
|
@@ -7197,6 +7380,8 @@ interface CronTaskInfo {
|
|
|
7197
7380
|
* Event passed to the `cron` hook handler
|
|
7198
7381
|
*/
|
|
7199
7382
|
interface CronEvent {
|
|
7383
|
+
/** Stable per scheduled occurrence, including retries; use for downstream idempotency. */
|
|
7384
|
+
executionId?: string;
|
|
7200
7385
|
name: string;
|
|
7201
7386
|
data?: Record<string, unknown>;
|
|
7202
7387
|
scheduledAt: string;
|
|
@@ -7777,7 +7962,7 @@ interface PluginRoute<TInput = unknown> {
|
|
|
7777
7962
|
/** Restrict trusted route invocation to these HTTP methods. Omit for legacy all-method behavior. */
|
|
7778
7963
|
methods?: readonly PluginRouteMethod[];
|
|
7779
7964
|
/** Zod schema for input validation */
|
|
7780
|
-
input?: z.ZodType<TInput>;
|
|
7965
|
+
input?: z$1.ZodType<TInput>;
|
|
7781
7966
|
/** Request-body handling mode. Defaults to JSON. */
|
|
7782
7967
|
body?: PluginRouteBodyMode;
|
|
7783
7968
|
/** Maximum bytes accepted by a raw-body route. JSON routes cannot set this field. */
|
|
@@ -8034,6 +8219,8 @@ interface PluginAdminConfig {
|
|
|
8034
8219
|
* Plugin definition - input to definePlugin()
|
|
8035
8220
|
*/
|
|
8036
8221
|
interface PluginDefinition<TStorage extends PluginStorageConfig = PluginStorageConfig> {
|
|
8222
|
+
/** Opt in only after verifying this plugin's runtime and writes on D1. */
|
|
8223
|
+
d1?: PluginD1Support;
|
|
8037
8224
|
/** Namespaced, server-only contributions consumed by other trusted native plugins. */
|
|
8038
8225
|
nativeExtensions?: Readonly<Record<string, unknown>>;
|
|
8039
8226
|
/** Unique plugin identifier */
|
|
@@ -8063,6 +8250,7 @@ interface PluginDefinition<TStorage extends PluginStorageConfig = PluginStorageC
|
|
|
8063
8250
|
* Resolved plugin - after definePlugin() processing
|
|
8064
8251
|
*/
|
|
8065
8252
|
interface ResolvedPlugin<TStorage extends PluginStorageConfig = PluginStorageConfig> {
|
|
8253
|
+
d1?: PluginD1Support;
|
|
8066
8254
|
nativeExtensions?: Readonly<Record<string, unknown>>;
|
|
8067
8255
|
id: string;
|
|
8068
8256
|
version: string;
|
|
@@ -8188,4 +8376,4 @@ interface PluginManifest {
|
|
|
8188
8376
|
admin: PluginAdminConfig;
|
|
8189
8377
|
}
|
|
8190
8378
|
//#endregion
|
|
8191
|
-
export { PluginMcpCommandTool as $, RevisionListResponse as $a, getTranslations as $i, GetCommentsOptions as $n, handleContentUpdate as $o, PluginSecretStore as $r, apiSuccess as $s, currentTimestamp as $t, MediaUploadEvent as A, PortableTextTextBlock as Aa, invalidateCommentObjectCache as Ai, getTaxonomyDef as An, getStoredConfig as Ao, AssignmentAccessContext as Ar, SiteActivityTimelineQuery as As, ResolvedPluginHooks as At, PluginActor as B, SectionSource as Ba, CollectionResult as Bi, getByline as Bn, handleContentDiscardDraft as Bo, BuiltContentReleasePayload as Br, WhereRange as Bs, StoredComment as Bt, FieldWidgetConfig as C, prosemirrorToPortableText as Ca, CacheNamespace as Ci, UpdateWidgetInput as Cn, SandboxRunnerFactory as Co, GeneratePreviewTokenOptions as Cr, ReviewRequestStatus as Cs, PortableTextBlockField as Ct, KVAccess as D, PortableTextLinkMark as Da, contentNamespaces as Di, WidgetType as Dn, PluginMcpTargetAuthorizer$1 as Do, generatePreviewToken as Dr, SiteActivityRepository as Ds, PublicSchemaNode as Dt, HttpAccess as E, PortableTextImageBlock as Ea, contentNamespace as Ei, WidgetComponentDef as En, PluginMcpRegistry as Eo, VerifyPreviewTokenResult as Er, SiteActivityActorType as Es, PublicPageSchema as Et, PageMetadataContribution as F, getSection as Fa, isObjectCacheActive as Fi, CreateTermInput as Fn, handleContentCompare as Fo, HandoffResumeResult as Fr, MediaRepository as Fs, StandardPluginDefinition as Ft, PluginAuthMethod as G, SchemaRegistry as Ga, InferCollectionData as Gi, CreateMenuInput as Gn, handleContentListTrashed as Go, createNodeSandboxRunner as Gr, DinewayDatabaseError as Gs, PublicationReadinessPolicyBlocker as Gt, PluginAdminConfig as H, validateContent as Ha, DinewayCollections as Hi, getEntriesByByline as Hn, handleContentGet as Ho, PublicationReleasePolicyDisposition as Hr, dinewayLoader as Hs, PublicationAuthorizationService as Ht, PageMetadataEvent as I, getSections as Ia, AfterCallback as Ii, TaxonomyDef as In, handleContentCountScheduled as Io, HandoffSnapshotStore as Ir, ContentRepository as Is, StandardRouteEntry as It, PluginDefinition as J, handleMediaCreate as Ja, TranslationSummary as Ji, MenuItem as Jn, handleContentRestore as Jo, createNoopSandboxRunner as Jr, ParseResult as Js, PublicationReadinessResult as Jt, PluginCapability as K, MediaListResponse as Ka, ResolvePathResult as Ki, CreateMenuItemInput as Kn, handleContentPermanentDelete as Ko, NoopSandboxRunner as Kr, Element as Ks, PublicationReadinessPolicyFinding as Kt, PageMetadataHandler as L, CreateSectionInput as La, after as Li, TaxonomyTerm as Ln, handleContentCountTrashed as Lo, ResumeHandoffSnapshotInput as Lr, CollectionFilter$1 as Ls, StandardRouteHandler as Lt, PageFragmentContribution as M, ProseMirrorDocument as Ma, invalidateObjectCache as Mi, getTaxonomyTerms as Mn, S3StorageConfig as Mo, AssignmentListInput as Mr, RevisionRepository as Ms, RouteContext as Mt, PageFragmentEvent as N, ProseMirrorMark as Na, invalidateSchemaObjectCache as Ni, getTerm as Nn, StorageDescriptor as No, AssignmentService as Nr, CreateMediaInput as Ns, StandardHookEntry as Nt, LogAccess as O, PortableTextMarkDef as Oa, invalidateBylineObjectCache as Oi, getEntriesByTerm as On, DinewayConfig as Oo, parseContentId as Or, SiteActivityResultStatus as Os, ResolvedHook as Ot, PageFragmentHandler as P, ProseMirrorNode as Pa, invalidateTaxonomyObjectCache as Pi, getTermsForEntries as Pn, handleContentAuthors as Po, CreateWorkflowAssignmentInput as Pr, MediaItem$1 as Ps, StandardHookHandler as Pt, PluginMcpCommandPreview as Q, handleMediaUpdate as Qa, getEditMeta as Qi, UpdateMenuItemInput as Qn, handleContentUnschedule as Qo, PluginSecretStatus as Qr, apiError as Qs, PublicationReleasePreparationTarget as Qt, PageMetadataLinkRel as R, GetSectionsOptions as Ra, CacheHint as Ri, TaxonomyTermRow as Rn, handleContentCreate as Ro, CreateHandoffSnapshotInput as Rr, EntryData as Rs, StorageCollection as Rt, EmailMessage as S, portableTextToProsemirror as Sa, verifyPreviewSignature as Si, ReorderWidgetsInput as Sn, SandboxRunner as So, getPreviewUrl as Sr, ReviewRequest as Ss, PortableTextBlockConfig as St, HookName as T, PortableTextHtmlBlock as Ta, cachedQuery as Ti, WidgetArea as Tn, SerializedRequest as To, VerifyPreviewTokenOptions as Tr, SiteActivity as Ts, PublicPageImage as Tt, PluginAdminExports as U, getCollectionInfo as Ua, EditFieldMeta as Ui, getMenu as Un, handleContentGetIncludingTrashed as Uo, buildStableActionHash as Ur, getDb as Us, PublicationPolicyOverride as Ut, PluginActorType as V, UpdateSectionInput as Va, ContentEntry as Vi, getBylineBySlug as Vn, handleContentDuplicate as Vo, PublicationReleasePolicyContribution as Vr, WhereValue$1 as Vs, isStandardPluginDefinition as Vt, PluginAdminPage as W, SchemaError as Wa, EntryResult as Wi, getMenus as Wn, handleContentList as Wo, NodeSandboxRunner as Wr, DatabaseConfig as Ws, PublicationReadinessBlocker as Wt, PluginManifest as X, handleMediaGet as Xa, getDinewayCollection as Xi, ReorderMenuItemsInput as Xn, handleContentTranslations as Xo, createPluginManager as Xr, parseBody as Xs, PublicationReceipt as Xt, PluginHooks as Y, handleMediaDelete as Ya, TranslationsResult as Yi, MenuItemType as Yn, handleContentSchedule as Yo, PluginManager as Yr, isParseError as Ys, PublicationReadinessWarning as Yt, PluginMcpAuthorization as Z, handleMediaList as Za, getDinewayEntry as Zi, UpdateMenuInput as Zn, handleContentUnpublish as Zo, createReviewedPluginMcpCommandExecutor as Zr, parseQuery as Zs, PublicationReleasePolicy as Zt, EmailAfterSendHandler as _, checkRateLimit as _a, PreviewSidecarSignature as _i, getWidgetAreas as _n, HookResult as _o, isBlockedInPreview as _r, AssignmentPriority as _s, PluginRouteTargetAuthorizationRequest as _t, CommentAfterModerateEvent as a, createNoop as aa, ListResponse as ac, FilePreviewMiddlewareConfig as ai, searchCollection as an, SiteBriefing as ao, getSiteSetting as ar, FileValue as as, PluginMcpResource as at, EmailDeliverEvent as b, computeContentHash as ba, parsePreviewSignatureHeader as bi, CreateWidgetInput as bn, SandboxEmailSendCallback as bo, GetPreviewUrlOptions as br, CreateAssignmentInput as bs, PluginStorageConfig as bt, CommentBeforeCreateHandler as c, GuestAccessTokenConfigurationError as ca, FileSessionDatabaseFactoryOptions as ci, CollectionSearchOptions as cn, DinewayRuntime as co, PreviewToolbarConfig as cr, ContentReference as cs, PluginMcpRiskFactor as ct, ContentAccess as d, VerifyGuestAccessTokenOptions as da, SessionDatabaseHandle as di, SearchResponse as dn, ConfirmedContentPublicationResult as do, ApplySnapshotToDatabaseOptions as dr, RelationRepository as ds, PluginMigration as dt, resolveDinewayPath as ea, handleError as ec, PluginSecretStoreOptions as ei, extractPlainText as en, RevisionResponse as eo, GetCommentsResult as er, portableText as es, PluginMcpConfig as et, ContentDeleteEvent as f, VerifyGuestAccessTokenResult as fa, SessionDatabaseInfo as fi, SearchResult as fn, PublishConfirmedContentInput as fo, applySnapshotToDatabase as fr, UpdateRelationInput as fs, PluginRoute as ft, EmailAfterSendEvent as g, RateLimitResult as ga, PreviewSidecarClient as gi, getWidgetArea as gn, HookPipeline as go, renderPreviewLoadingPage as gr, AssignmentListQuery as gs, PluginRouteMethod as gt, EmailAccess as h, verifyGuestAccessToken as ha, SessionOpenOrCreateOptions as hi, Suggestion as hn, EmailPipeline as ho, Snapshot as hr, AssignmentActorType as hs, PluginRouteBodyMode as ht, CommentAfterCreateHandler as i, createEditable as ia, FieldDescriptor as ic, definePlugin as ii, search as in, generateManifest as io, getPluginSettings as ir, FieldUIHints as is, PluginMcpQueryTool as it, ModerationDecision as j, PortableTextUnknownBlock as ja, invalidateMenuObjectCache as ji, getTaxonomyDefs as jn, LocalStorageConfig as jo, AssignmentActionInput as jr, PublicComment as js, ResolvedPluginMcpConfig as jt, MediaAccess as k, PortableTextSpan as ka, invalidateCollectionCache as ki, getEntryTerms as kn, PluginDescriptor as ko, verifyPreviewToken as kr, SiteActivitySourceType as ks, ResolvedPlugin as kt, CommentModerateEvent as l, IssueGuestAccessTokenOptions as la, SessionCleanupResult as li, SearchConfig as ln, SandboxedPluginEntry as lo, renderPreviewToolbar as lr, CreateRelationInput as ls, PluginMcpRiskLevel as lt, ContentPublishStateChangeEvent as m, issueGuestAccessToken as ma, SessionOpenOptions as mi, SuggestOptions as mn, PluginRouteError as mo, getAppliedSnapshotMeta as mr, AssignmentActorRef as ms, PluginRouteAuthorization as mt, CollectionCommentSettings as n, EditProxy as na, ContentListResponse as nc, pluginManifestSchema as ni, getSearchStats as nn, handleRevisionList as no, getComments as nr, image as ns, PluginMcpPiiClass as nt, CommentAfterModerateHandler as o, GuestAccessExpectedScope as oa, ManifestResponse as oc, createFilePreviewMiddleware as oi, searchWithDb as on, SiteBriefingAssembler as oo, getSiteSettings as or, ImageValue as os, PluginMcpResourceContent as ot, ContentHookEvent as p, hashGuestAccessToken as pa, SessionDatabaseLimitError as pi, SearchStats as pn, SiteAuthTokenContext as po, dropSessionDatabaseTables as pr, Assignment as ps, PluginRouteApiTokenPolicy as pt, PluginContext as q, MediaResponse as qa, SelectedCollectionData as qi, Menu as qn, handleContentPublish as qo, SandboxNotAvailableError as qr, OptionsRepository as qs, PublicationReadinessPolicyTarget as qt, CommentAfterCreateEvent as r, FieldAnnotation as ra, ContentResponse as rc, runPluginMigrations as ri, getSuggestions as rn, handleRevisionRestore as ro, getPluginSetting as rr, FieldDefinition as rs, PluginMcpPiiPolicy as rt, CommentBeforeCreateEvent as s, GuestAccessTokenClaims as sa, FileSessionDatabaseFactory as si, FTSManager as sn, SiteBriefingContextEntry as so, setSiteSettings as sr, PortableTextBlock$1 as ss, PluginMcpReversibility as st, BreadcrumbItem as t, CMSAnnotation as ta, ApiContext as tc, ValidatedPluginManifest as ti, extractSearchableFields as tn, handleRevisionGet as to, getCommentCount as tr, reference as ts, PluginMcpExecutionContext as tt, CommentModerateHandler as u, IssuedGuestAccessToken as ua, SessionDatabaseFactory as ui, SearchOptions as un, ConfirmedContentAuthorizer as uo, AppliedSnapshotMeta as ur, Relation as us, PluginMcpTool as ut, EmailBeforeSendEvent as v, isSafeHref as va, buildPreviewSignatureHeader as vi, getWidgetComponents as vn, createHookPipeline as vo, getPreviewToken as vr, AssignmentRepository as vs, PluginRouteTargetAuthorizer as vt, HookConfig as w, PortableTextCodeBlock as wa, CachedQueryOptions as wi, Widget as wn, SandboxedPlugin as wo, PreviewTokenPayload as wr, CreateSiteActivityInput as ws, PublicPageContext as wt, EmailDeliverHandler as x, hashString as xa, signPreviewUrl as xi, PropDef as xn, SandboxOptions as xo, buildPreviewUrl as xr, MarkAssignmentsOverdueInput as xs, PluginTargetScope as xt, EmailBeforeSendHandler as y, sanitizeHref as ya, defaultPreviewSidecarClient as yi, CreateWidgetAreaInput as yn, SandboxEmailMessage as yo, isPreviewRequest as yr, AssignmentStatus as ys, PluginRouteTargetContext as yt, PagePlacement as z, Section as za, CollectionFilter as zi, UpdateTermInput as zn, handleContentDelete as zo, HandoffSnapshot as zr, EntryFilter as zs, StorageCollectionConfig as zt };
|
|
8379
|
+
export { PluginMcpCommandPreview as $, handleMediaUpdate as $a, getEditMeta as $i, UpdateMenuItemInput as $n, handleContentUnpublish as $o, PluginSecretStatus as $r, WhereValue$1 as $s, PublicationReleasePreparationTarget as $t, MediaUploadEvent as A, PortableTextSpan as Aa, invalidateCollectionCache as Ai, getEntryTerms as An, DinewayConfig as Ao, verifyPreviewToken as Ar, AssignmentStatus as As, ResolvedPlugin as At, PluginActor as B, Section as Ba, CollectionFilter as Bi, UpdateTermInput as Bn, handleContentCreate as Bo, HandoffSnapshot as Br, SiteActivitySourceType as Bs, StorageCollectionConfig as Bt, FieldWidgetConfig as C, portableTextToProsemirror as Ca, ListResponse as Cc, verifyPreviewSignature as Ci, ReorderWidgetsInput as Cn, SandboxOptions as Co, getPreviewUrl as Cr, UpdateRelationInput as Cs, PortableTextBlockConfig as Ct, KVAccess as D, PortableTextImageBlock as Da, contentNamespace as Di, WidgetComponentDef as Dn, SerializedRequest as Do, VerifyPreviewTokenResult as Dr, AssignmentListQuery as Ds, PublicPageSchema as Dt, HttpAccess as E, PortableTextHtmlBlock as Ea, cachedQuery as Ei, WidgetArea as En, SandboxedPlugin as Eo, VerifyPreviewTokenOptions as Er, AssignmentActorType as Es, PublicPageImage as Et, PageMetadataContribution as F, ProseMirrorNode as Fa, invalidateTaxonomyObjectCache as Fi, getTermsForEntries as Fn, StorageDescriptor as Fo, CreateWorkflowAssignmentInput as Fr, CreateSiteActivityInput as Fs, StandardHookHandler as Ft, PluginAuthMethod as G, SchemaError as Ga, EntryResult as Gi, getMenus as Gn, handleContentGetIncludingTrashed as Go, NodeSandboxRunner as Gr, CreateMediaInput as Gs, PublicationReadinessBlocker as Gt, PluginAdminConfig as H, UpdateSectionInput as Ha, ContentEntry as Hi, getBylineBySlug as Hn, handleContentDiscardDraft as Ho, PublicationReleasePolicyContribution as Hr, Comment as Hs, isStandardPluginDefinition as Ht, PageMetadataEvent as I, getSection as Ia, isObjectCacheActive as Ii, CreateTermInput as In, handleContentAuthors as Io, HandoffResumeResult as Ir, SiteActivity as Is, StandardPluginDefinition as It, PluginD1Support as J, MediaResponse as Ja, SelectedCollectionData as Ji, Menu as Jn, handleContentPermanentDelete as Jo, SandboxNotAvailableError as Jr, ContentRepository as Js, PublicationReadinessPolicyTarget as Jt, PluginCapability as K, SchemaRegistry as Ka, InferCollectionData as Ki, CreateMenuInput as Kn, handleContentList as Ko, createNodeSandboxRunner as Kr, MediaItem$1 as Ks, PublicationReadinessPolicyBlocker as Kt, PageMetadataHandler as L, getSections as La, AfterCallback as Li, TaxonomyDef as Ln, handleContentCompare as Lo, HandoffSnapshotStore as Lr, SiteActivityActorType as Ls, StandardRouteEntry as Lt, PageFragmentContribution as M, PortableTextUnknownBlock as Ma, invalidateMenuObjectCache as Mi, getTaxonomyDefs as Mn, getStoredConfig as Mo, AssignmentActionInput as Mr, MarkAssignmentsOverdueInput as Ms, ResolvedPluginMcpConfig as Mt, PageFragmentEvent as N, ProseMirrorDocument as Na, invalidateObjectCache as Ni, getTaxonomyTerms as Nn, LocalStorageConfig as No, AssignmentListInput as Nr, ReviewRequest as Ns, RouteContext as Nt, LogAccess as O, PortableTextLinkMark as Oa, contentNamespaces as Oi, WidgetType as On, PluginMcpRegistry as Oo, generatePreviewToken as Or, AssignmentPriority as Os, PublicSchemaNode as Ot, PageFragmentHandler as P, ProseMirrorMark as Pa, invalidateSchemaObjectCache as Pi, getTerm as Pn, S3StorageConfig as Po, AssignmentService as Pr, ReviewRequestStatus as Ps, StandardHookEntry as Pt, PluginMcpAuthorization as Q, handleMediaList as Qa, getDinewayEntry as Qi, UpdateMenuInput as Qn, handleContentTranslations as Qo, createReviewedPluginMcpCommandExecutor as Qr, WhereRange as Qs, PublicationReleasePolicy as Qt, PageMetadataLinkRel as R, CreateSectionInput as Ra, after as Ri, TaxonomyTerm as Rn, handleContentCountScheduled as Ro, ResumeHandoffSnapshotInput as Rr, SiteActivityRepository as Rs, StandardRouteHandler as Rt, EmailMessage as S, hashString as Sa, FieldDescriptor as Sc, signPreviewUrl as Si, PropDef as Sn, SandboxEmailSendCallback as So, buildPreviewUrl as Sr, RelationRepository as Ss, PluginTargetScope as St, HookName as T, PortableTextCodeBlock as Ta, CachedQueryOptions as Ti, Widget as Tn, SandboxRunnerFactory as To, PreviewTokenPayload as Tr, AssignmentActorRef as Ts, PublicPageContext as Tt, PluginAdminExports as U, validateContent as Ua, DinewayCollections as Ui, getEntriesByByline as Un, handleContentDuplicate as Uo, PublicationReleasePolicyDisposition as Ur, PublicComment as Us, PublicationAuthorizationService as Ut, PluginActorType as V, SectionSource as Va, CollectionResult as Vi, getByline as Vn, handleContentDelete as Vo, BuiltContentReleasePayload as Vr, SiteActivityTimelineQuery as Vs, StoredComment as Vt, PluginAdminPage as W, getCollectionInfo as Wa, EditFieldMeta as Wi, getMenu as Wn, handleContentGet as Wo, buildStableActionHash as Wr, RevisionRepository as Ws, PublicationPolicyOverride as Wt, PluginHooks as X, handleMediaDelete as Xa, TranslationsResult as Xi, MenuItemType as Xn, handleContentRestore as Xo, PluginManager as Xr, EntryData as Xs, PublicationReadinessWarning as Xt, PluginDefinition as Y, handleMediaCreate as Ya, TranslationSummary as Yi, MenuItem as Yn, handleContentPublish as Yo, createNoopSandboxRunner as Yr, CollectionFilter$1 as Ys, PublicationReadinessResult as Yt, PluginManifest as Z, handleMediaGet as Za, getDinewayCollection as Zi, ReorderMenuItemsInput as Zn, handleContentSchedule as Zo, createPluginManager as Zr, EntryFilter as Zs, PublicationReceipt as Zt, EmailAfterSendHandler as _, RateLimitResult as _a, apiSuccess as _c, PreviewSidecarClient as _i, getWidgetArea as _n, EmailPipeline as _o, renderPreviewLoadingPage as _r, ImageValue as _s, PluginRouteMethod as _t, CommentAfterModerateEvent as a, createEditable as aa, D1Migration as ac, definePlugin as ai, search as an, generateManifest as ao, getPluginSettings as ar, submitAutomatedReview as as, PluginMcpQueryTool as at, EmailDeliverEvent as b, sanitizeHref as ba, ContentListResponse as bc, defaultPreviewSidecarClient as bi, CreateWidgetAreaInput as bn, createHookPipeline as bo, isPreviewRequest as br, CreateRelationInput as bs, PluginRouteTargetContext as bt, CommentBeforeCreateHandler as c, GuestAccessTokenClaims as ca, migrateD1 as cc, FileSessionDatabaseFactory as ci, FTSManager as cn, SiteBriefingContextEntry as co, setSiteSettings as cr, ContentWriteInput$1 as cs, PluginMcpReversibility as ct, ContentAccess as d, IssuedGuestAccessToken as da, OptionsRepository as dc, SessionDatabaseFactory as di, SearchOptions as dn, AtomicConfirmedContentAuthorizer as do, AppliedSnapshotMeta as dr, portableText as ds, PluginMcpTool as dt, getTranslations as ea, dinewayLoader as ec, PluginSecretStore as ei, currentTimestamp as en, RevisionListResponse as eo, GetCommentsOptions as er, handleContentUnschedule as es, PluginMcpCommandTool as et, ContentDeleteEvent as f, VerifyGuestAccessTokenOptions as fa, ParseResult as fc, SessionDatabaseHandle as fi, SearchResponse as fn, ConfirmedContentAuthorizer as fo, ApplySnapshotToDatabaseOptions as fr, reference as fs, PluginMigration as ft, EmailAfterSendEvent as g, verifyGuestAccessToken as ga, apiError as gc, SessionOpenOrCreateOptions as gi, Suggestion as gn, PluginRouteError as go, Snapshot as gr, FileValue as gs, PluginRouteBodyMode as gt, EmailAccess as h, issueGuestAccessToken as ha, parseQuery as hc, SessionOpenOptions as hi, SuggestOptions as hn, SiteAuthTokenContext as ho, getAppliedSnapshotMeta as hr, FieldUIHints as hs, PluginRouteAuthorization as ht, CommentAfterCreateHandler as i, FieldAnnotation as ia, Element as ic, runPluginMigrations as ii, getSuggestions as in, handleRevisionRestore as io, getPluginSetting as ir, prepareAutomatedReview as is, PluginMcpPiiPolicy as it, ModerationDecision as j, PortableTextTextBlock as ja, invalidateCommentObjectCache as ji, getTaxonomyDef as jn, PluginDescriptor as jo, AssignmentAccessContext as jr, CreateAssignmentInput as js, ResolvedPluginHooks as jt, MediaAccess as k, PortableTextMarkDef as ka, invalidateBylineObjectCache as ki, getEntriesByTerm as kn, PluginMcpTargetAuthorizer$1 as ko, parseContentId as kr, AssignmentRepository as ks, ResolvedHook as kt, CommentModerateEvent as l, GuestAccessTokenConfigurationError as la, D1SchemaObject as lc, FileSessionDatabaseFactoryOptions as li, CollectionSearchOptions as ln, DinewayRuntime as lo, PreviewToolbarConfig as lr, PreparedContentWrite as ls, PluginMcpRiskFactor as lt, ContentPublishStateChangeEvent as m, hashGuestAccessToken as ma, parseBody as mc, SessionDatabaseLimitError as mi, SearchStats as mn, PublishConfirmedContentInput as mo, dropSessionDatabaseTables as mr, FieldDefinition as ms, PluginRouteApiTokenPolicy as mt, CollectionCommentSettings as n, CMSAnnotation as na, DatabaseConfig as nc, ValidatedPluginManifest as ni, extractSearchableFields as nn, handleRevisionGet as no, getCommentCount as nr, ReviewSubmissionError as ns, PluginMcpExecutionContext as nt, CommentAfterModerateHandler as o, createNoop as oa, D1MigrationOptions as oc, FilePreviewMiddlewareConfig as oi, searchCollection as on, SiteBriefing as oo, getSiteSetting as or, ReviewRequestActorInput as os, PluginMcpResource as ot, ContentHookEvent as p, VerifyGuestAccessTokenResult as pa, isParseError as pc, SessionDatabaseInfo as pi, SearchResult as pn, ConfirmedContentPublicationResult as po, applySnapshotToDatabase as pr, image as ps, PluginRoute as pt, PluginContext as q, MediaListResponse as qa, ResolvePathResult as qi, CreateMenuItemInput as qn, handleContentListTrashed as qo, NoopSandboxRunner as qr, MediaRepository as qs, PublicationReadinessPolicyFinding as qt, CommentAfterCreateEvent as r, EditProxy as ra, DinewayDatabaseError as rc, pluginManifestSchema as ri, getSearchStats as rn, handleRevisionList as ro, getComments as rr, ReviewSubmissionInput as rs, PluginMcpPiiClass as rt, CommentBeforeCreateEvent as s, GuestAccessExpectedScope as sa, assertD1Migrations as sc, createFilePreviewMiddleware as si, searchWithDb as sn, SiteBriefingAssembler as so, getSiteSettings as sr, ContentReviewHandlers as ss, PluginMcpResourceContent as st, BreadcrumbItem as t, resolveDinewayPath as ta, getDb as tc, PluginSecretStoreOptions as ti, extractPlainText as tn, RevisionResponse as to, GetCommentsResult as tr, handleContentUpdate as ts, PluginMcpConfig as tt, CommentModerateHandler as u, IssueGuestAccessTokenOptions as ua, compileD1Schema as uc, SessionCleanupResult as ui, SearchConfig as un, SandboxedPluginEntry as uo, renderPreviewToolbar as ur, prepareContentWrite as us, PluginMcpRiskLevel as ut, EmailBeforeSendEvent as v, checkRateLimit as va, handleError as vc, PreviewSidecarSignature as vi, getWidgetAreas as vn, HookPipeline as vo, isBlockedInPreview as vr, PortableTextBlock$1 as vs, PluginRouteTargetAuthorizationRequest as vt, HookConfig as w, prosemirrorToPortableText as wa, ManifestResponse as wc, CacheNamespace as wi, UpdateWidgetInput as wn, SandboxRunner as wo, GeneratePreviewTokenOptions as wr, Assignment as ws, PortableTextBlockField as wt, EmailDeliverHandler as x, computeContentHash as xa, ContentResponse as xc, parsePreviewSignatureHeader as xi, CreateWidgetInput as xn, SandboxEmailMessage as xo, GetPreviewUrlOptions as xr, Relation as xs, PluginStorageConfig as xt, EmailBeforeSendHandler as y, isSafeHref as ya, ApiContext as yc, buildPreviewSignatureHeader as yi, getWidgetComponents as yn, HookResult as yo, getPreviewToken as yr, ContentReference as ys, PluginRouteTargetAuthorizer as yt, PagePlacement as z, GetSectionsOptions as za, CacheHint as zi, TaxonomyTermRow as zn, handleContentCountTrashed as zo, CreateHandoffSnapshotInput as zr, SiteActivityResultStatus as zs, StorageCollection as zt };
|