dineway 0.2.33 → 0.2.34
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-CZnq5YlZ.mjs} +2 -2
- package/dist/{activity-events-BVo9rMUz.mjs → activity-events-D-yGV7cW.mjs} +1 -1
- package/dist/{actor-DrJJsvy6.mjs → actor-DxUAJgQX.mjs} +20 -6
- package/dist/{adapters-DHt3f2lu.d.mts → adapters-BQ8CQbBm.d.mts} +5 -7
- package/dist/after-BVaUn7bK.mjs +24 -0
- package/dist/{allowed-origins-DGSyhRCz.mjs → allowed-origins-DV3LWuWW.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-CL4pG2zf.mjs} +55 -1215
- package/dist/api-tokens-D5K_Csub.mjs +3 -0
- package/dist/{api-tokens-CSomx-l3.mjs → api-tokens-_6tMD1W4.mjs} +1 -1
- package/dist/{apply-Bs2jXsms.mjs → apply-CYLUMiZg.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 +288 -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 +17 -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 +43 -31
- package/dist/astro/routes/api/admin/context/_id_/index.mjs +43 -31
- package/dist/astro/routes/api/admin/context/_id_/review.mjs +48 -36
- package/dist/astro/routes/api/admin/context/_id_/supersede.mjs +48 -36
- package/dist/astro/routes/api/admin/context/diff.mjs +47 -35
- package/dist/astro/routes/api/admin/context/index.mjs +48 -36
- package/dist/astro/routes/api/admin/context/stale.mjs +47 -35
- package/dist/astro/routes/api/admin/hitl-requests/_id_/index.mjs +43 -31
- package/dist/astro/routes/api/admin/hitl-requests/_id_/resolve.mjs +47 -35
- package/dist/astro/routes/api/admin/hitl-requests/index.mjs +47 -35
- package/dist/astro/routes/api/admin/hooks/exclusive/_hookName_.mjs +44 -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 +72 -66
- package/dist/astro/routes/api/admin/plugins/_id_/enable.mjs +72 -66
- package/dist/astro/routes/api/admin/plugins/_id_/index.mjs +64 -58
- package/dist/astro/routes/api/admin/plugins/_id_/uninstall.mjs +71 -65
- package/dist/astro/routes/api/admin/plugins/_id_/update.mjs +71 -65
- package/dist/astro/routes/api/admin/plugins/index.mjs +64 -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 +64 -58
- package/dist/astro/routes/api/admin/plugins/marketplace/_id_/install.mjs +71 -65
- package/dist/astro/routes/api/admin/plugins/marketplace/index.mjs +64 -58
- package/dist/astro/routes/api/admin/plugins/updates.mjs +64 -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 +33 -25
- package/dist/astro/routes/api/admin/review-requests/_id_/resolve.mjs +56 -43
- package/dist/astro/routes/api/admin/review-requests/_id_/revoke.mjs +10 -9
- package/dist/astro/routes/api/admin/review-requests/index.mjs +54 -41
- package/dist/astro/routes/api/admin/themes/marketplace/_id_/index.mjs +64 -58
- package/dist/astro/routes/api/admin/themes/marketplace/_id_/thumbnail.mjs +2 -2
- package/dist/astro/routes/api/admin/themes/marketplace/index.mjs +64 -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.mjs +21 -18
- 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 +35 -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 +35 -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 +51 -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 +52 -40
- package/dist/astro/routes/api/import/wordpress/rewrite-urls.d.mts +10 -10
- package/dist/astro/routes/api/import/wordpress/rewrite-urls.mjs +50 -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 +56 -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 +98 -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 +48 -36
- package/dist/astro/routes/api/menus/_name_/items.mjs +48 -36
- package/dist/astro/routes/api/menus/_name_/reorder.mjs +48 -36
- package/dist/astro/routes/api/menus/_name_/translations.mjs +48 -36
- package/dist/astro/routes/api/menus/_name_.mjs +48 -36
- package/dist/astro/routes/api/menus/index.mjs +48 -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 +48 -37
- package/dist/astro/routes/api/redirects/index.mjs +48 -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 +66 -60
- package/dist/astro/routes/api/schema/collections/_slug_/fields/index.mjs +66 -60
- package/dist/astro/routes/api/schema/collections/_slug_/fields/reorder.mjs +66 -60
- package/dist/astro/routes/api/schema/collections/_slug_/index.mjs +66 -60
- package/dist/astro/routes/api/schema/collections/index.mjs +66 -60
- package/dist/astro/routes/api/schema/index.mjs +12 -11
- package/dist/astro/routes/api/schema/orphans/_slug_.mjs +64 -58
- package/dist/astro/routes/api/schema/orphans/index.mjs +64 -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 +48 -36
- package/dist/astro/routes/api/sections/index.mjs +48 -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 +48 -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 +51 -39
- package/dist/astro/routes/api/taxonomies/_name_/terms/_slug_.mjs +51 -39
- package/dist/astro/routes/api/taxonomies/_name_/terms/index.mjs +51 -39
- package/dist/astro/routes/api/taxonomies/index.mjs +51 -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 +47 -35
- package/dist/astro/routes/api/widget-areas/_name_/widgets/_id_.mjs +48 -36
- package/dist/astro/routes/api/widget-areas/_name_/widgets.mjs +48 -36
- package/dist/astro/routes/api/widget-areas/_name_.mjs +45 -33
- package/dist/astro/routes/api/widget-areas/index.mjs +48 -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-D4WW-wFF.mjs} +1 -1
- package/dist/{authorize-KcI0pAfN.mjs → authorize-EnP57AQl.mjs} +1 -1
- package/dist/{briefing-r3hXCDQC.mjs → briefing-BXsVwd4P.mjs} +1 -1
- package/dist/{briefing-BgQTljQt.mjs → briefing-CkCi6S-W.mjs} +445 -447
- package/dist/{bundle-S6zx-V4D.mjs → bundle-Cgak1zGE.mjs} +3 -3
- package/dist/{byline-Ctil4rij.mjs → byline-DEZKlzD9.mjs} +107 -113
- package/dist/{byline-fields-QpmruT5r.mjs → byline-fields-BGEIA9dZ.mjs} +3 -3
- package/dist/{byline-fields-51ja6JDa.d.mts → byline-fields-BmkhEDFF.d.mts} +10 -10
- package/dist/{byline-fields-DiCyW6eQ.mjs → byline-fields-Qg8TesxL.mjs} +1 -1
- package/dist/{byline-registry-rkr73qSE.mjs → byline-registry-CkuVVeJJ.mjs} +46 -76
- package/dist/{bylines-BcuBpzVi.mjs → bylines-7BQxRGyG.mjs} +4 -4
- package/dist/{bylines-v_ZUQnR-.mjs → bylines-LqNRjma2.mjs} +6 -6
- package/dist/{cache-V2BCplaY.mjs → cache-CSTy-R-K.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-BLSkgsTg.mjs} +1 -1
- package/dist/{comment-_nvJSS-A.mjs → comment-Bi7cJ9SS.mjs} +2 -2
- package/dist/{comment-reaction-DhVgJ17S.mjs → comment-reaction-BLqIj5mx.mjs} +1 -1
- package/dist/{comments-D4mIDjvA.mjs → comments-Dg_gWBEB.mjs} +1 -1
- package/dist/content-De_XeXy_.mjs +1230 -0
- package/dist/{content-CVCrcuvD.mjs → content-NobcQti0.mjs} +240 -161
- package/dist/{content-refresh-QvBIyb_g.mjs → content-refresh-l4mPoGeX.mjs} +170 -193
- package/dist/{context-MftkHbWx.mjs → context-6uqzU-M9.mjs} +95 -77
- package/dist/{context-JjKucxBm.mjs → context-B0SG9Xkc.mjs} +2 -2
- package/dist/{context-route-helpers-e1APrqSm.mjs → context-route-helpers-C8s26uDT.mjs} +2 -2
- package/dist/{cron-mGVPQ5e6.mjs → cron-D7zB6m8i.mjs} +36 -32
- package/dist/d1-binding-D6HZa3ks.mjs +8 -0
- package/dist/d1-dialect-B1b8cmxX.mjs +48 -0
- package/dist/{dashboard-ZJ7sMcBI.mjs → dashboard-B-OybCMw.mjs} +5 -5
- package/dist/database/batch.d.mts +20 -0
- package/dist/database/batch.mjs +69 -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-DhpCzMo0.mjs} +130 -94
- package/dist/{dialect-helpers-fk43GbDb.mjs → dialect-helpers-C6xtO-Ui.mjs} +1 -1
- package/dist/{discovery-CJkuHGhZ.mjs → discovery-CqXbN0WZ.mjs} +5 -5
- package/dist/{enrich-KErvJOuI.mjs → enrich-BjF-J4sF.mjs} +1 -1
- package/dist/{evidence-6IUv9ML3.mjs → evidence-xJf8hQgH.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-BeKJlKh1.mjs} +1 -1
- package/dist/{fts-manager-DX7ZkrCa.mjs → fts-manager-BeWtB7ZD.mjs} +72 -57
- package/dist/{hitl-requests-CmYVunm-.mjs → hitl-requests-evSsel48.mjs} +2 -2
- package/dist/{hitl-route-helpers-CRm537zS.mjs → hitl-route-helpers-D2kJSOFX.mjs} +5 -5
- package/dist/{import-DqRAgsKr.mjs → import-Jpta-CYE.mjs} +9 -9
- package/dist/{index-Co7xtjkd.d.mts → index-CSUSBfdD.d.mts} +7 -4
- package/dist/index.d.mts +16 -16
- package/dist/index.mjs +104 -96
- package/dist/{integration-credentials-qudN6yRr.mjs → integration-credentials-BrQr0fb_.mjs} +2 -2
- package/dist/{jsonld-BpvnSp2m.d.mts → jsonld-CqIVIeZK.d.mts} +2 -2
- package/dist/{load-fCOciq0Q.mjs → load-Dc5ttyg4.mjs} +1 -1
- package/dist/{loader-BDje8ME2.mjs → loader-Cgsx23wU.mjs} +4 -4
- package/dist/{manifest-schema-CfKD0thC.mjs → manifest-schema-DG29meRy.mjs} +1 -1
- package/dist/{mcp-reviewed-executor-DmhM3Cy6.mjs → mcp-reviewed-executor-DAZL3Ckt.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-3fK0u-bo.mjs} +1 -1
- package/dist/{media-allowlist-DaG6lNoy.mjs → media-allowlist-rN4qIF6W.mjs} +1 -1
- package/dist/{menus-CpuR4Qkm.mjs → menus-5liJusbp.mjs} +138 -90
- package/dist/{menus-CZbz5L_V.mjs → menus-CbR_J8cJ.mjs} +8 -8
- package/dist/migrations-CMdxWKx-.mjs +76 -0
- package/dist/oauth-authority-CCqo4eBm.mjs +43 -0
- package/dist/{oauth-authorization-Jf5e3azH.mjs → oauth-authorization--0UtTZpv.mjs} +89 -98
- package/dist/{oauth-clients-tovQ4D4h.mjs → oauth-clients-D4WBYaYW.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--7nG62_h.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-DK1wLuao.mjs} +35 -84
- package/dist/{policy-DKdNMv8y.mjs → policy-Dej7NJFD.mjs} +2 -2
- package/dist/{preview-BXmS1SXL.mjs → preview-q0pkibNO.mjs} +2 -2
- package/dist/{provider-loader-DDq7R_RN.d.mts → provider-loader-C0GaLwKB.d.mts} +1 -1
- package/dist/{public-url-Ci7UbC0W.d.mts → public-url-B9zEdO8p.d.mts} +1 -1
- package/dist/{public-url-BQ9vf0AS.d.mts → public-url-BV-YQ_LF.d.mts} +2 -2
- package/dist/{publication-authorization-C-vYPGD8.mjs → publication-authorization-BrEZ2TsE.mjs} +459 -33
- package/dist/{query-CrW2yI6G.mjs → query-CEn9HXnf.mjs} +15 -15
- package/dist/{query-DcB9uGTW.mjs → query-DAS6VbMS.mjs} +4 -4
- package/dist/{rate-limit-DEkoxTsP.mjs → rate-limit-Dd1TnzZP.mjs} +2 -2
- package/dist/{redirect-DG-o0CKV.mjs → redirect-HLI3wT5Y.mjs} +26 -14
- package/dist/{redirects-Bjp4iKJU.mjs → redirects-DmOdfRjI.mjs} +5 -5
- package/dist/{redirects-N8gmWhVM.mjs → redirects-UCXyL0lP.mjs} +3 -3
- package/dist/{registry-D-IV_h50.mjs → registry-RD9qTnYL.mjs} +183 -186
- package/dist/release-BR08Slqf.mjs +5148 -0
- package/dist/request-context.d.mts +8 -0
- package/dist/{request-meta-BW0the1R.mjs → request-meta-BOcuHAXD.mjs} +1 -1
- package/dist/{resolve-pZ4NQM-X.mjs → resolve-C80Pm2DW.mjs} +1 -1
- package/dist/{review-payload-f1L4lzQg.mjs → review-payload-DEylbssM.mjs} +52 -4
- package/dist/{review-requests-DICrYH2-.mjs → review-requests-BF2eEKr8.mjs} +93 -37
- package/dist/{review-requests-BTKfeWlS.mjs → review-requests-CyfWbJ6W.mjs} +2 -2
- package/dist/{review-route-helpers-DaZBBps8.mjs → review-route-helpers-lKA-CXms.mjs} +2 -2
- package/dist/{revision-De7OmYVD.mjs → revision-090sZyGc.mjs} +28 -22
- package/dist/revocation-B7GL5fMl.mjs +53 -0
- package/dist/{runner-DJiRFyLI.mjs → runner-CVeq0266.mjs} +594 -491
- package/dist/{runner-Dye73myO.d.mts → runner-JnJSGXEB.d.mts} +1 -1
- package/dist/{runs-DEujUDOj.mjs → runs-B5BExdKO.mjs} +5 -5
- package/dist/runtime-env-CQVAWHzH.mjs +19 -0
- package/dist/runtime.d.mts +10 -10
- package/dist/runtime.mjs +5 -5
- package/dist/schema-DLMkODQc.mjs +8 -0
- package/dist/{search-DxUKN9Zz.mjs → search-CRzWNfxX.mjs} +4 -4
- package/dist/{secrets-AdCrGg1c.mjs → secrets-Cg0D2gQW.mjs} +10 -11
- package/dist/{sections-BPFOEMK6.mjs → sections-BwUjOGqn.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-DWHdo5aW.mjs → seo-BOTuCeh-.mjs} +25 -15
- package/dist/{seo-GfovzqpU.mjs → seo-B_tBFyud.mjs} +1 -1
- package/dist/{service-DbgjHWyW.mjs → service--bQht6oN.mjs} +2 -2
- package/dist/{service-BrNKVCjC.mjs → service-DilVsWGD.mjs} +3 -3
- package/dist/{session-user-D8WwGEPH.mjs → session-user-DeqTcAmR.mjs} +1 -1
- package/dist/{settings-CAsQLi0N.mjs → settings-DFzevIrU.mjs} +8 -8
- package/dist/{settings-BKEHw6Bu.mjs → settings-Deqx3Upy.mjs} +2 -2
- package/dist/{setup-complete-CHCYS5KV.mjs → setup-complete-BFqudwbW.mjs} +1 -1
- package/dist/{site-activity-7oezuHXK.mjs → site-activity-BrN2NviL.mjs} +11 -4
- package/dist/{site-context-CA7rbxux.mjs → site-context-vCiDRr4H.mjs} +50 -37
- package/dist/{site-url-DoZf_jVj.mjs → site-url-wXFqbm9c.mjs} +1 -1
- package/dist/state-jyNZ6-7L.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-C1yDxxfv.mjs} +37 -12
- package/dist/submission-BsHNfHc7.mjs +155 -0
- package/dist/{taxonomies-ALDiRQ84.mjs → taxonomies-4cnTcbD6.mjs} +3 -3
- package/dist/{taxonomies-93DV-1QT.mjs → taxonomies-CllxqaH0.mjs} +7 -7
- package/dist/{taxonomy-BOBTJ_aE.mjs → taxonomy-DWxxLpp5.mjs} +3 -3
- package/dist/{tokens-c-qxNqzC.mjs → tokens-Bjuf1HID.mjs} +1 -1
- package/dist/{trusted-proxy-CdEl6g6B.mjs → trusted-proxy-CAW9o4Dw.mjs} +4 -12
- package/dist/{types-BRCUO8NR.d.mts → types-7Th6Mwz3.d.mts} +1 -0
- package/dist/{types-BpSTdH1H.mjs → types-BqxIv8Il.mjs} +2 -2
- package/dist/{types-6KmeXInJ.d.mts → types-CFgTpfPk.d.mts} +1 -1
- package/dist/{types-CfpX1og5.d.mts → types-QjOcidFc.d.mts} +301 -173
- 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-Cglcqpm2.mjs} +2 -2
- package/dist/{validate-CDWVODvc.d.mts → validate-A27peRc4.d.mts} +3 -3
- package/dist/{validate-C9g9iX3q.mjs → validate-Wl4MSf3V.mjs} +3 -3
- package/dist/version-BWxyC5s4.mjs +6 -0
- package/dist/{widgets-Cm5Qx2Np.mjs → widgets-Di-6yDH7.mjs} +3 -3
- package/dist/{wordpress-slugs-WdPZaVXf.mjs → wordpress-slugs-vOx7R1dM.mjs} +1 -1
- package/dist/{worker-Bhuu7eqS.mjs → worker-RpaMP71d.mjs} +76 -47
- package/dist/workers-build-BaQCrSmf.mjs +36 -0
- package/dist/{zod-generator-DS5oZNaL.mjs → zod-generator-Cylvl_SM.mjs} +2 -2
- package/package.json +35 -9
- 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/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-D-_-VavY.mjs} +0 -0
- /package/dist/{components-DAq_4iPX.mjs → components-BWQUCJEr.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-DqTo6C79.mjs} +0 -0
- /package/dist/{default-BeIzUa1e.mjs → default-D9zxuUU7.mjs} +0 -0
- /package/dist/{email-console-Bfi_exVg.mjs → email-console-BONByQiC.mjs} +0 -0
- /package/dist/{error-DLg1H2LT.mjs → error-Dd8LtpG5.mjs} +0 -0
- /package/dist/{escape-C6lkys0j.mjs → escape-BWC4s5bV.mjs} +0 -0
- /package/dist/{experimental-workflows-B9x8delL.mjs → experimental-workflows-M5D3RTFo.mjs} +0 -0
- /package/dist/{hash-jhbF98tT.mjs → hash-lNx3KJis.mjs} +0 -0
- /package/dist/{media-url-CL3NzgLh.mjs → media-url-B4YtTY6c.mjs} +0 -0
- /package/dist/{mime-CDTtL7jE.mjs → mime-D_ae-u_U.mjs} +0 -0
- /package/dist/{mode-DJeacFCZ.mjs → mode-CPf_KZ37.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-CMgcimzA.mjs} +0 -0
- /package/dist/{options-1dBRkoCl.mjs → options-BcqHWpc-.mjs} +0 -0
- /package/dist/{output-8j9oltTf.mjs → output-BYpiVUBf.mjs} +0 -0
- /package/dist/{parser-C9rzPuSZ.mjs → parser-BV0wzQHo.mjs} +0 -0
- /package/dist/{passkey-config-CRN44T04.mjs → passkey-config-BG4GO4OO.mjs} +0 -0
- /package/dist/{patterns-3XE9bU4r.mjs → patterns-CZ7D4y_R.mjs} +0 -0
- /package/dist/{placeholder-D03pGvqM.d.mts → placeholder-BHTaoCYx.d.mts} +0 -0
- /package/dist/{portable-text-tIk9_uz_.mjs → portable-text-B9YuySom.mjs} +0 -0
- /package/dist/{portable-text-BdRm4uZq.d.mts → portable-text-FKf3IrPz.d.mts} +0 -0
- /package/dist/{process-cache-B-L-A9zg.mjs → process-cache-MHM4Sqzs.mjs} +0 -0
- /package/dist/{provider-loader-C4i82ll1.mjs → provider-loader-3MY1SjzA.mjs} +0 -0
- /package/dist/{public-discovery-CyDzK1-S.mjs → public-discovery-BAbOvKiR.mjs} +0 -0
- /package/dist/{public-url-oudwI7K0.mjs → public-url-C7pbmS_7.mjs} +0 -0
- /package/dist/{public-url-BVIjzMo3.mjs → public-url-D5Wjq0sy.mjs} +0 -0
- /package/dist/{redirect-Dp5u-8dH.mjs → redirect-Bx96u2nS.mjs} +0 -0
- /package/dist/{request-cache-BruBnFAR.mjs → request-cache-DPmV5nk4.mjs} +0 -0
- /package/dist/{seo-contributions-BAtRDXEQ.mjs → seo-contributions-Dt57p6Sq.mjs} +0 -0
- /package/dist/{service-DeX1PRNt.mjs → service-wYQ_ePZ4.mjs} +0 -0
- /package/dist/{setup-nonce-D-CEYlw7.mjs → setup-nonce-CAqDUxxU.mjs} +0 -0
- /package/dist/{sidecar-client-Bw2C0XTf.mjs → sidecar-client-CnpGTvYq.mjs} +0 -0
- /package/dist/{slugify-KSsVD_D3.mjs → slugify-Di8Q_MFq.mjs} +0 -0
- /package/dist/{ssrf-C7tTSD1r.mjs → ssrf-LN16WMip.mjs} +0 -0
- /package/dist/{stable-hash-DF7R5eN8.mjs → stable-hash-DEtJgcp7.mjs} +0 -0
- /package/dist/{status-Bba6RbkS.mjs → status-Bwkeuz8g.mjs} +0 -0
- /package/dist/{transport-BddGhTAI.mjs → transport-472KVGBe.mjs} +0 -0
- /package/dist/{transport-ktLL9r2O.d.mts → transport-C0jj-Nc8.d.mts} +0 -0
- /package/dist/{types-BQZFeZjd.mjs → types-BDq9t5lG.mjs} +0 -0
- /package/dist/{types-CKIt_jmM.d.mts → types-Bs-7Geuh.d.mts} +0 -0
- /package/dist/{types-CLMOusxP.d.mts → types-CwkJp6zr.d.mts} +0 -0
- /package/dist/{types-C0DPvhR5.mjs → types-CyBH89BS.mjs} +0 -0
- /package/dist/{types-BbkkkAb6.mjs → types-D17dJRht.mjs} +0 -0
- /package/dist/{types--3oJQ0hs.d.mts → types-DTjrkhKU.d.mts} +0 -0
- /package/dist/{types-CPaVj_GC.d.mts → types-DkXuBo8k.d.mts} +0 -0
- /package/dist/{types-CU3Wn2HC.d.mts → types-b2sq7ZDk.d.mts} +0 -0
- /package/dist/{url-C_pLSrGZ.mjs → url-D375-6LM.mjs} +0 -0
- /package/dist/{url-Dumsft7G.mjs → url-bv5i4JN0.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-Bs-7Geuh.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-CFgTpfPk.mjs";
|
|
3
|
+
import { Ot as ReviewJobTable, t as Database } from "./types-7Th6Mwz3.mjs";
|
|
4
|
+
import { _ as MediaValue, f as MediaProvider, m as MediaProviderDescriptor, p as MediaProviderCapabilities } from "./placeholder-BHTaoCYx.mjs";
|
|
5
|
+
import { AtomicBatch } from "./database/batch.mjs";
|
|
6
|
+
import { D as ContentBylineInput } from "./index-CSUSBfdD.mjs";
|
|
7
|
+
import { r as AuthProviderDescriptor, t as AuthDescriptor } from "./types-DkXuBo8k.mjs";
|
|
8
|
+
import { n as DatabaseDescriptor } from "./adapters-BQ8CQbBm.mjs";
|
|
9
|
+
import { r as ObjectCacheDescriptor } from "./types-b2sq7ZDk.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-CwkJp6zr.mjs";
|
|
12
|
+
import { C as SiteSettingKey, w as SiteSettings } from "./validate-A27peRc4.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 {
|
|
@@ -513,7 +545,13 @@ declare class ContentRepository {
|
|
|
513
545
|
/**
|
|
514
546
|
* Create a new content item
|
|
515
547
|
*/
|
|
548
|
+
prepareCreate(input: CreateContentInput): Promise<{
|
|
549
|
+
id: string;
|
|
550
|
+
batch: AtomicBatch;
|
|
551
|
+
}>;
|
|
516
552
|
create(input: CreateContentInput): Promise<ContentItem$1>;
|
|
553
|
+
/** Capture database defaults and JSON values from the saved row inside the write batch. */
|
|
554
|
+
prepareDraftSnapshot(type: string, id: string, authorId?: string): Promise<AtomicBatch>;
|
|
517
555
|
/**
|
|
518
556
|
* Generate a unique slug for a content item within a collection.
|
|
519
557
|
*
|
|
@@ -529,6 +567,13 @@ declare class ContentRepository {
|
|
|
529
567
|
* Creates a new draft copy with "(Copy)" appended to the title.
|
|
530
568
|
* A slug is auto-generated from the new title by the handler layer.
|
|
531
569
|
*/
|
|
570
|
+
prepareDuplicate(type: string, id: string, authorId?: string): Promise<{
|
|
571
|
+
id: string;
|
|
572
|
+
batch: {
|
|
573
|
+
checks: RawBuilder<boolean>[];
|
|
574
|
+
statements: readonly kysely.CompiledQuery<unknown>[];
|
|
575
|
+
};
|
|
576
|
+
}>;
|
|
532
577
|
duplicate(type: string, id: string, authorId?: string): Promise<ContentItem$1>;
|
|
533
578
|
/**
|
|
534
579
|
* Find content by ID
|
|
@@ -566,10 +611,17 @@ declare class ContentRepository {
|
|
|
566
611
|
/**
|
|
567
612
|
* Update content
|
|
568
613
|
*/
|
|
614
|
+
prepareUpdate(type: string, id: string, input: UpdateContentInput): kysely.CompiledQuery<kysely.UpdateResult>;
|
|
615
|
+
snapshot(type: string, id: string, includeTrashed?: boolean): Promise<{
|
|
616
|
+
item: ContentItem$1;
|
|
617
|
+
deleted: boolean;
|
|
618
|
+
check: RawBuilder<boolean>;
|
|
619
|
+
} | null>;
|
|
569
620
|
update(type: string, id: string, input: UpdateContentInput): Promise<ContentItem$1>;
|
|
570
621
|
/**
|
|
571
622
|
* Delete content (soft delete - moves to trash)
|
|
572
623
|
*/
|
|
624
|
+
prepareDelete(type: string, id: string): AtomicBatch;
|
|
573
625
|
delete(type: string, id: string): Promise<boolean>;
|
|
574
626
|
/**
|
|
575
627
|
* Restore content from trash
|
|
@@ -645,6 +697,14 @@ declare class ContentRepository {
|
|
|
645
697
|
* `publishedAt` overrides the publication timestamp. If omitted, an existing
|
|
646
698
|
* `published_at` is preserved and first publish falls back to the current time.
|
|
647
699
|
*/
|
|
700
|
+
preparePublish(type: string, id: string, publishedAt?: string, requireScheduledDue?: boolean): Promise<{
|
|
701
|
+
batch: {
|
|
702
|
+
checks: RawBuilder<boolean>[];
|
|
703
|
+
statements: kysely.CompiledQuery<kysely.InsertResult>[];
|
|
704
|
+
};
|
|
705
|
+
previous: ContentItem$1;
|
|
706
|
+
slug: string | null;
|
|
707
|
+
}>;
|
|
648
708
|
publish(type: string, id: string, publishedAt?: string, requireScheduledDue?: boolean): Promise<ContentItem$1>;
|
|
649
709
|
/**
|
|
650
710
|
* Stage an existing revision as the draft for a content item.
|
|
@@ -672,7 +732,7 @@ declare class ContentRepository {
|
|
|
672
732
|
* Used to promote revision data into the content table on publish.
|
|
673
733
|
* Keys starting with _ are revision metadata (e.g. _slug) and are skipped.
|
|
674
734
|
*/
|
|
675
|
-
private
|
|
735
|
+
private prepareSyncDataColumns;
|
|
676
736
|
/**
|
|
677
737
|
* Count content items with a pending schedule.
|
|
678
738
|
* Includes both draft-scheduled (status='scheduled') and published
|
|
@@ -844,6 +904,12 @@ declare class RevisionRepository {
|
|
|
844
904
|
/**
|
|
845
905
|
* Create a new revision
|
|
846
906
|
*/
|
|
907
|
+
prepareCreateSnapshot(input: Omit<CreateRevisionInput, "data"> & {
|
|
908
|
+
data: RawBuilder<string>;
|
|
909
|
+
}): {
|
|
910
|
+
id: string;
|
|
911
|
+
statement: kysely.CompiledQuery<kysely.InsertResult>;
|
|
912
|
+
};
|
|
847
913
|
create(input: CreateRevisionInput): Promise<Revision>;
|
|
848
914
|
/**
|
|
849
915
|
* Find revision by ID
|
|
@@ -958,6 +1024,10 @@ interface SiteActivityTimelineQuery {
|
|
|
958
1024
|
declare class SiteActivityRepository {
|
|
959
1025
|
private db;
|
|
960
1026
|
constructor(db: Kysely<Database>);
|
|
1027
|
+
prepareCreate(input: CreateSiteActivityInput): {
|
|
1028
|
+
id: string;
|
|
1029
|
+
statement: kysely.CompiledQuery<kysely.InsertResult>;
|
|
1030
|
+
};
|
|
961
1031
|
create(input: CreateSiteActivityInput): Promise<SiteActivity>;
|
|
962
1032
|
findById(id: string): Promise<SiteActivity | null>;
|
|
963
1033
|
findTimeline(query?: SiteActivityTimelineQuery): Promise<FindManyResult<SiteActivity>>;
|
|
@@ -1219,7 +1289,7 @@ interface FieldDefinition<_T = unknown> {
|
|
|
1219
1289
|
* The SQLite column type to use when storing this field
|
|
1220
1290
|
*/
|
|
1221
1291
|
columnType: ColumnType;
|
|
1222
|
-
schema: z.ZodTypeAny;
|
|
1292
|
+
schema: z$1.ZodTypeAny;
|
|
1223
1293
|
options?: unknown;
|
|
1224
1294
|
ui?: FieldUIHints;
|
|
1225
1295
|
validation?: FieldValidation;
|
|
@@ -1288,6 +1358,41 @@ declare function portableText(options?: {
|
|
|
1288
1358
|
required?: boolean;
|
|
1289
1359
|
}): FieldDefinition<PortableTextBlock$1[] | undefined>;
|
|
1290
1360
|
//#endregion
|
|
1361
|
+
//#region src/site-context/review-payload.d.ts
|
|
1362
|
+
interface ContentReviewHandlers {
|
|
1363
|
+
handleContentGet: (collection: string, id: string) => Promise<HandlerResponse<{
|
|
1364
|
+
item: object;
|
|
1365
|
+
_rev?: string;
|
|
1366
|
+
}>>;
|
|
1367
|
+
handleContentCompare: (collection: string, id: string) => Promise<HandlerResponse>;
|
|
1368
|
+
}
|
|
1369
|
+
//#endregion
|
|
1370
|
+
//#region src/api/handlers/review-requests.d.ts
|
|
1371
|
+
interface ReviewRequestActorInput {
|
|
1372
|
+
actorType: "user" | "api_token" | "system";
|
|
1373
|
+
actorId: string;
|
|
1374
|
+
authMetadata?: Record<string, unknown> | null;
|
|
1375
|
+
}
|
|
1376
|
+
//#endregion
|
|
1377
|
+
//#region src/review-automation/submission.d.ts
|
|
1378
|
+
declare class ReviewSubmissionError extends Error {
|
|
1379
|
+
readonly code: string;
|
|
1380
|
+
constructor(message: string, code?: string);
|
|
1381
|
+
}
|
|
1382
|
+
interface ReviewSubmissionInput {
|
|
1383
|
+
collection: string;
|
|
1384
|
+
id: string;
|
|
1385
|
+
summary?: string;
|
|
1386
|
+
riskReason?: string;
|
|
1387
|
+
actor: ReviewRequestActorInput;
|
|
1388
|
+
expectedRev?: string;
|
|
1389
|
+
supersedePending?: boolean;
|
|
1390
|
+
}
|
|
1391
|
+
declare function submitAutomatedReview(db: Kysely<Database>, handlers: ContentReviewHandlers, input: ReviewSubmissionInput): Promise<{
|
|
1392
|
+
item: ReviewRequest;
|
|
1393
|
+
created: boolean;
|
|
1394
|
+
}>;
|
|
1395
|
+
//#endregion
|
|
1291
1396
|
//#region src/api/handlers/content.d.ts
|
|
1292
1397
|
/**
|
|
1293
1398
|
* Trashed content item with deletion timestamp
|
|
@@ -1374,6 +1479,9 @@ declare function handleContentUpdate(db: Kysely<Database>, collection: string, i
|
|
|
1374
1479
|
_rev?: string;
|
|
1375
1480
|
seo?: ContentSeoInput;
|
|
1376
1481
|
publishedAt?: string | null;
|
|
1482
|
+
}, options?: {
|
|
1483
|
+
stageDraft?: boolean;
|
|
1484
|
+
skipRevision?: boolean;
|
|
1377
1485
|
}): Promise<ApiResult<ContentResponse>>;
|
|
1378
1486
|
/**
|
|
1379
1487
|
* Duplicate content item.
|
|
@@ -1430,13 +1538,6 @@ declare function handleContentSchedule(db: Kysely<Database>, collection: string,
|
|
|
1430
1538
|
* Unschedule content (revert to draft)
|
|
1431
1539
|
*/
|
|
1432
1540
|
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
1541
|
declare function handleContentPublish(db: Kysely<Database>, collection: string, id: string, options?: {
|
|
1441
1542
|
publishedAt?: string;
|
|
1442
1543
|
requireScheduledDue?: boolean;
|
|
@@ -2735,6 +2836,11 @@ interface PublishConfirmedContentInput {
|
|
|
2735
2836
|
* authority for the exact target. Use this transaction for all host permission reads.
|
|
2736
2837
|
* Called again before the write, including after policy preparation/validation. */
|
|
2737
2838
|
type ConfirmedContentAuthorizer = (db: Kysely<Database>, input: Readonly<PublishConfirmedContentInput>) => Promise<void>;
|
|
2839
|
+
/** Prepare commit-time checks for the host session's current ownership and publication authority.
|
|
2840
|
+
* This must be read-only, return at least one check, and include every permission read. */
|
|
2841
|
+
interface AtomicConfirmedContentAuthorizer {
|
|
2842
|
+
prepare(db: Kysely<Database>, input: Readonly<PublishConfirmedContentInput>): Promise<readonly RawBuilder<boolean>[]>;
|
|
2843
|
+
}
|
|
2738
2844
|
interface ConfirmedContentPublicationResult extends ContentResponse {
|
|
2739
2845
|
receipt: PublicationReceipt;
|
|
2740
2846
|
replayed: boolean;
|
|
@@ -3080,7 +3186,7 @@ declare class DinewayRuntime {
|
|
|
3080
3186
|
createPublicationAuthorizationService(): PublicationAuthorizationService;
|
|
3081
3187
|
/** Server-only integration for a host's own authenticated human publishing flow.
|
|
3082
3188
|
* The host must check editorial and release authority inside authorize's transaction. */
|
|
3083
|
-
publishConfirmedContent(input: PublishConfirmedContentInput, authorize: ConfirmedContentAuthorizer): Promise<ConfirmedContentPublicationResult>;
|
|
3189
|
+
publishConfirmedContent(input: PublishConfirmedContentInput, authorize: ConfirmedContentAuthorizer | AtomicConfirmedContentAuthorizer): Promise<ConfirmedContentPublicationResult>;
|
|
3084
3190
|
handleContentPublish(collection: string, id: string, options?: {
|
|
3085
3191
|
publishedAt?: string;
|
|
3086
3192
|
requireScheduledDue?: boolean;
|
|
@@ -3482,15 +3588,6 @@ declare class SiteBriefingAssembler {
|
|
|
3482
3588
|
private canIncludeActivity;
|
|
3483
3589
|
}
|
|
3484
3590
|
//#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
3591
|
//#region src/api/handlers/manifest.d.ts
|
|
3495
3592
|
interface CollectionDefinition {
|
|
3496
3593
|
schema: {
|
|
@@ -3623,6 +3720,7 @@ declare class SchemaRegistry {
|
|
|
3623
3720
|
* Get a collection by slug
|
|
3624
3721
|
*/
|
|
3625
3722
|
getCollection(slug: string): Promise<Collection | null>;
|
|
3723
|
+
private collectionSnapshot;
|
|
3626
3724
|
/**
|
|
3627
3725
|
* Get a collection with all its fields
|
|
3628
3726
|
*/
|
|
@@ -3652,6 +3750,7 @@ declare class SchemaRegistry {
|
|
|
3652
3750
|
* Get a field by slug within a collection
|
|
3653
3751
|
*/
|
|
3654
3752
|
getField(collectionSlug: string, fieldSlug: string): Promise<Field | null>;
|
|
3753
|
+
private fieldSnapshot;
|
|
3655
3754
|
/**
|
|
3656
3755
|
* Create a new field
|
|
3657
3756
|
*/
|
|
@@ -3680,7 +3779,7 @@ declare class SchemaRegistry {
|
|
|
3680
3779
|
* Schema writes must not first-time enable FTS. Initial enablement stays in
|
|
3681
3780
|
* explicit seed/import/admin flows where FTS failures can be handled deliberately.
|
|
3682
3781
|
*/
|
|
3683
|
-
private
|
|
3782
|
+
private searchStatePlan;
|
|
3684
3783
|
/**
|
|
3685
3784
|
* Delete a field
|
|
3686
3785
|
*/
|
|
@@ -3692,19 +3791,18 @@ declare class SchemaRegistry {
|
|
|
3692
3791
|
/**
|
|
3693
3792
|
* Create a content table for a collection
|
|
3694
3793
|
*/
|
|
3695
|
-
private
|
|
3794
|
+
private contentTableStatements;
|
|
3696
3795
|
/**
|
|
3697
3796
|
* Drop a content table
|
|
3698
3797
|
*/
|
|
3699
|
-
private dropContentTable;
|
|
3700
3798
|
/**
|
|
3701
3799
|
* Add a column to a content table
|
|
3702
3800
|
*/
|
|
3703
3801
|
private addColumn;
|
|
3802
|
+
private columnStatement;
|
|
3704
3803
|
/**
|
|
3705
3804
|
* Drop a column from a content table
|
|
3706
3805
|
*/
|
|
3707
|
-
private dropColumn;
|
|
3708
3806
|
/**
|
|
3709
3807
|
* Check if a collection has any content
|
|
3710
3808
|
*/
|
|
@@ -3797,7 +3895,7 @@ declare function validateContent(collection: CollectionWithFields, data: unknown
|
|
|
3797
3895
|
data: unknown;
|
|
3798
3896
|
} | {
|
|
3799
3897
|
success: false;
|
|
3800
|
-
errors: z
|
|
3898
|
+
errors: z.ZodError;
|
|
3801
3899
|
};
|
|
3802
3900
|
//#endregion
|
|
3803
3901
|
//#region src/sections/types.d.ts
|
|
@@ -4558,15 +4656,8 @@ interface ResolvePathResult<T = Record<string, unknown>> {
|
|
|
4558
4656
|
declare function resolveDinewayPath<T = Record<string, unknown>>(path: string): Promise<ResolvePathResult<T> | null>;
|
|
4559
4657
|
//#endregion
|
|
4560
4658
|
//#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
4659
|
type AfterCallback = () => void | Promise<void>;
|
|
4660
|
+
/** Best-effort work; durable jobs still need a persisted queue or outbox. */
|
|
4570
4661
|
declare function after(fn: AfterCallback): void;
|
|
4571
4662
|
//#endregion
|
|
4572
4663
|
//#region src/object-cache/index.d.ts
|
|
@@ -4829,37 +4920,37 @@ declare function runPluginMigrations(db: Kysely<Database>, plugins: readonly Res
|
|
|
4829
4920
|
*
|
|
4830
4921
|
* Every JSON.parse of a manifest.json should validate through this.
|
|
4831
4922
|
*/
|
|
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
|
|
4923
|
+
declare const pluginManifestSchema: z.ZodObject<{
|
|
4924
|
+
id: z.ZodString;
|
|
4925
|
+
version: z.ZodString;
|
|
4926
|
+
declaredAccess: z.ZodOptional<z.ZodObject<{
|
|
4927
|
+
content: z.ZodOptional<z.ZodObject<{
|
|
4928
|
+
read: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
4929
|
+
write: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
4930
|
+
}, z.core.$strip>>;
|
|
4931
|
+
media: z.ZodOptional<z.ZodObject<{
|
|
4932
|
+
read: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
4933
|
+
write: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
4934
|
+
}, z.core.$strip>>;
|
|
4935
|
+
network: z.ZodOptional<z.ZodObject<{
|
|
4936
|
+
request: z.ZodOptional<z.ZodObject<{
|
|
4937
|
+
allowedHosts: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4938
|
+
developmentLoopback: z.ZodOptional<z.ZodBoolean>;
|
|
4939
|
+
}, z.core.$strip>>;
|
|
4940
|
+
}, z.core.$strip>>;
|
|
4941
|
+
email: z.ZodOptional<z.ZodObject<{
|
|
4942
|
+
send: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
4943
|
+
events: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
4944
|
+
transport: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
4945
|
+
}, z.core.$strip>>;
|
|
4946
|
+
page: z.ZodOptional<z.ZodObject<{
|
|
4947
|
+
fragments: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
4948
|
+
}, z.core.$strip>>;
|
|
4949
|
+
users: z.ZodOptional<z.ZodObject<{
|
|
4950
|
+
read: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
4951
|
+
}, z.core.$strip>>;
|
|
4952
|
+
}, z.core.$strip>>;
|
|
4953
|
+
capabilities: z.ZodArray<z.ZodEnum<{
|
|
4863
4954
|
"network:request": "network:request";
|
|
4864
4955
|
"network:request:unrestricted": "network:request:unrestricted";
|
|
4865
4956
|
"network:request:development-loopback": "network:request:development-loopback";
|
|
@@ -4873,12 +4964,12 @@ declare const pluginManifestSchema: z$1.ZodObject<{
|
|
|
4873
4964
|
"hooks.email-events:register": "hooks.email-events:register";
|
|
4874
4965
|
"hooks.page-fragments:register": "hooks.page-fragments:register";
|
|
4875
4966
|
}>>;
|
|
4876
|
-
allowedHosts: z
|
|
4877
|
-
storage: z
|
|
4878
|
-
indexes: z
|
|
4879
|
-
uniqueIndexes: z
|
|
4880
|
-
}, z
|
|
4881
|
-
hooks: z
|
|
4967
|
+
allowedHosts: z.ZodArray<z.ZodString>;
|
|
4968
|
+
storage: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
4969
|
+
indexes: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
4970
|
+
uniqueIndexes: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>>;
|
|
4971
|
+
}, z.core.$strip>>;
|
|
4972
|
+
hooks: z.ZodArray<z.ZodUnion<readonly [z.ZodEnum<{
|
|
4882
4973
|
"plugin:install": "plugin:install";
|
|
4883
4974
|
"plugin:activate": "plugin:activate";
|
|
4884
4975
|
"plugin:deactivate": "plugin:deactivate";
|
|
@@ -4904,8 +4995,8 @@ declare const pluginManifestSchema: z$1.ZodObject<{
|
|
|
4904
4995
|
"comment:afterModerate": "comment:afterModerate";
|
|
4905
4996
|
"page:metadata": "page:metadata";
|
|
4906
4997
|
"page:fragments": "page:fragments";
|
|
4907
|
-
}>, z
|
|
4908
|
-
name: z
|
|
4998
|
+
}>, z.ZodObject<{
|
|
4999
|
+
name: z.ZodEnum<{
|
|
4909
5000
|
"plugin:install": "plugin:install";
|
|
4910
5001
|
"plugin:activate": "plugin:activate";
|
|
4911
5002
|
"plugin:deactivate": "plugin:deactivate";
|
|
@@ -4932,83 +5023,83 @@ declare const pluginManifestSchema: z$1.ZodObject<{
|
|
|
4932
5023
|
"page:metadata": "page:metadata";
|
|
4933
5024
|
"page:fragments": "page:fragments";
|
|
4934
5025
|
}>;
|
|
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
|
|
5026
|
+
exclusive: z.ZodOptional<z.ZodBoolean>;
|
|
5027
|
+
priority: z.ZodOptional<z.ZodNumber>;
|
|
5028
|
+
timeout: z.ZodOptional<z.ZodNumber>;
|
|
5029
|
+
}, z.core.$strip>]>>;
|
|
5030
|
+
routes: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
5031
|
+
name: z.ZodString;
|
|
5032
|
+
public: z.ZodOptional<z.ZodBoolean>;
|
|
5033
|
+
}, z.core.$strip>]>>;
|
|
5034
|
+
admin: z.ZodObject<{
|
|
5035
|
+
entry: z.ZodOptional<z.ZodString>;
|
|
5036
|
+
settingsSchema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
5037
|
+
type: z.ZodLiteral<"string">;
|
|
5038
|
+
default: z.ZodOptional<z.ZodString>;
|
|
5039
|
+
multiline: z.ZodOptional<z.ZodBoolean>;
|
|
5040
|
+
label: z.ZodString;
|
|
5041
|
+
description: z.ZodOptional<z.ZodString>;
|
|
5042
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
5043
|
+
type: z.ZodLiteral<"number">;
|
|
5044
|
+
default: z.ZodOptional<z.ZodNumber>;
|
|
5045
|
+
min: z.ZodOptional<z.ZodNumber>;
|
|
5046
|
+
max: z.ZodOptional<z.ZodNumber>;
|
|
5047
|
+
label: z.ZodString;
|
|
5048
|
+
description: z.ZodOptional<z.ZodString>;
|
|
5049
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
5050
|
+
type: z.ZodLiteral<"boolean">;
|
|
5051
|
+
default: z.ZodOptional<z.ZodBoolean>;
|
|
5052
|
+
label: z.ZodString;
|
|
5053
|
+
description: z.ZodOptional<z.ZodString>;
|
|
5054
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
5055
|
+
type: z.ZodLiteral<"select">;
|
|
5056
|
+
options: z.ZodArray<z.ZodObject<{
|
|
5057
|
+
value: z.ZodString;
|
|
5058
|
+
label: z.ZodString;
|
|
5059
|
+
}, z.core.$strip>>;
|
|
5060
|
+
default: z.ZodOptional<z.ZodString>;
|
|
5061
|
+
label: z.ZodString;
|
|
5062
|
+
description: z.ZodOptional<z.ZodString>;
|
|
5063
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
5064
|
+
type: z.ZodLiteral<"secret">;
|
|
5065
|
+
label: z.ZodString;
|
|
5066
|
+
description: z.ZodOptional<z.ZodString>;
|
|
5067
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
5068
|
+
type: z.ZodLiteral<"url">;
|
|
5069
|
+
default: z.ZodOptional<z.ZodString>;
|
|
5070
|
+
placeholder: z.ZodOptional<z.ZodString>;
|
|
5071
|
+
label: z.ZodString;
|
|
5072
|
+
description: z.ZodOptional<z.ZodString>;
|
|
5073
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
5074
|
+
type: z.ZodLiteral<"email">;
|
|
5075
|
+
default: z.ZodOptional<z.ZodString>;
|
|
5076
|
+
placeholder: z.ZodOptional<z.ZodString>;
|
|
5077
|
+
label: z.ZodString;
|
|
5078
|
+
description: z.ZodOptional<z.ZodString>;
|
|
5079
|
+
}, z.core.$strip>], "type">>>;
|
|
5080
|
+
pages: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
5081
|
+
path: z.ZodString;
|
|
5082
|
+
label: z.ZodString;
|
|
5083
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
5084
|
+
}, z.core.$strip>>>;
|
|
5085
|
+
widgets: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
5086
|
+
id: z.ZodString;
|
|
5087
|
+
size: z.ZodOptional<z.ZodEnum<{
|
|
4997
5088
|
full: "full";
|
|
4998
5089
|
half: "half";
|
|
4999
5090
|
third: "third";
|
|
5000
5091
|
}>>;
|
|
5001
|
-
title: z
|
|
5002
|
-
}, z
|
|
5003
|
-
fieldWidgets: z
|
|
5004
|
-
name: z
|
|
5005
|
-
label: z
|
|
5006
|
-
fieldTypes: z
|
|
5092
|
+
title: z.ZodOptional<z.ZodString>;
|
|
5093
|
+
}, z.core.$strip>>>;
|
|
5094
|
+
fieldWidgets: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
5095
|
+
name: z.ZodString;
|
|
5096
|
+
label: z.ZodString;
|
|
5097
|
+
fieldTypes: z.ZodArray<z.ZodEnum<{
|
|
5007
5098
|
string: "string";
|
|
5008
5099
|
number: "number";
|
|
5009
5100
|
boolean: "boolean";
|
|
5010
|
-
json: "json";
|
|
5011
5101
|
file: "file";
|
|
5102
|
+
json: "json";
|
|
5012
5103
|
slug: "slug";
|
|
5013
5104
|
image: "image";
|
|
5014
5105
|
datetime: "datetime";
|
|
@@ -5020,15 +5111,15 @@ declare const pluginManifestSchema: z$1.ZodObject<{
|
|
|
5020
5111
|
reference: "reference";
|
|
5021
5112
|
repeater: "repeater";
|
|
5022
5113
|
}>>;
|
|
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
|
|
5114
|
+
elements: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
5115
|
+
type: z.ZodString;
|
|
5116
|
+
action_id: z.ZodString;
|
|
5117
|
+
label: z.ZodOptional<z.ZodString>;
|
|
5118
|
+
}, z.core.$loose>>>;
|
|
5119
|
+
}, z.core.$strip>>>;
|
|
5120
|
+
}, z.core.$strip>;
|
|
5121
|
+
}, z.core.$strip>;
|
|
5122
|
+
type ValidatedPluginManifest = z.infer<typeof pluginManifestSchema>;
|
|
5032
5123
|
//#endregion
|
|
5033
5124
|
//#region src/plugins/secrets.d.ts
|
|
5034
5125
|
interface PluginSecretStatus {
|
|
@@ -5055,6 +5146,9 @@ declare class PluginSecretStore {
|
|
|
5055
5146
|
private readonly repository;
|
|
5056
5147
|
private readonly keysPromise;
|
|
5057
5148
|
constructor(db: Kysely<Database> | Transaction<Database>, options?: PluginSecretStoreOptions);
|
|
5149
|
+
private prepareValue;
|
|
5150
|
+
/** Encrypt before composing a larger atomic write; this method does not change storage. */
|
|
5151
|
+
prepareWrite(pluginId: string, name: string, value: string | null): Promise<CompiledQuery>;
|
|
5058
5152
|
set(pluginId: string, name: string, value: string): Promise<PluginSecretStatus>;
|
|
5059
5153
|
status(pluginId: string, name: string): Promise<PluginSecretStatus | null>;
|
|
5060
5154
|
list(pluginId: string): Promise<PluginSecretStatus[]>;
|
|
@@ -5507,7 +5601,6 @@ declare class HandoffSnapshotStore {
|
|
|
5507
5601
|
capture(input: CreateHandoffSnapshotInput): Promise<HandoffSnapshot>;
|
|
5508
5602
|
get(id: string): Promise<HandoffSnapshot | null>;
|
|
5509
5603
|
resume(input: ResumeHandoffSnapshotInput): Promise<HandoffResumeResult | null>;
|
|
5510
|
-
private withTransaction;
|
|
5511
5604
|
}
|
|
5512
5605
|
//#endregion
|
|
5513
5606
|
//#region src/site-context/assignments.d.ts
|
|
@@ -6407,7 +6500,8 @@ declare class FTSManager {
|
|
|
6407
6500
|
* @param searchableFields - Array of field names to index
|
|
6408
6501
|
* @param weights - Optional field weights for ranking
|
|
6409
6502
|
*/
|
|
6410
|
-
createFtsTable(collectionSlug: string, searchableFields: string[],
|
|
6503
|
+
createFtsTable(collectionSlug: string, searchableFields: string[], weights?: Record<string, number>): Promise<void>;
|
|
6504
|
+
createStatements(collectionSlug: string, searchableFields: string[], _weights?: Record<string, number>): CompiledQuery[];
|
|
6411
6505
|
/**
|
|
6412
6506
|
* Create triggers to keep FTS table in sync with content table.
|
|
6413
6507
|
*
|
|
@@ -6415,25 +6509,24 @@ declare class FTSManager {
|
|
|
6415
6509
|
* `deleted_at IS NULL`. This keeps soft-deleted content out of the
|
|
6416
6510
|
* index and keeps repair counts aligned with searchable content.
|
|
6417
6511
|
*/
|
|
6418
|
-
private
|
|
6512
|
+
private triggerStatements;
|
|
6419
6513
|
/**
|
|
6420
6514
|
* Drop triggers for a collection
|
|
6421
6515
|
*/
|
|
6422
|
-
|
|
6423
|
-
/**
|
|
6424
|
-
* Drop the FTS table and triggers for a collection
|
|
6425
|
-
*/
|
|
6516
|
+
dropStatements(collectionSlug: string): CompiledQuery[];
|
|
6426
6517
|
dropFtsTable(collectionSlug: string): Promise<void>;
|
|
6427
6518
|
/**
|
|
6428
6519
|
* Rebuild the FTS index for a collection
|
|
6429
6520
|
*
|
|
6430
6521
|
* This is useful after bulk imports or if the index gets out of sync.
|
|
6431
6522
|
*/
|
|
6523
|
+
rebuildStatements(collectionSlug: string, searchableFields: string[], weights?: Record<string, number>): CompiledQuery[];
|
|
6432
6524
|
rebuildIndex(collectionSlug: string, searchableFields: string[], weights?: Record<string, number>): Promise<void>;
|
|
6433
6525
|
/**
|
|
6434
6526
|
* Populate the FTS table from existing content
|
|
6435
6527
|
*/
|
|
6436
6528
|
populateFromContent(collectionSlug: string, searchableFields: string[]): Promise<void>;
|
|
6529
|
+
private populateStatement;
|
|
6437
6530
|
/**
|
|
6438
6531
|
* Get the search configuration for a collection
|
|
6439
6532
|
*/
|
|
@@ -6441,6 +6534,7 @@ declare class FTSManager {
|
|
|
6441
6534
|
/**
|
|
6442
6535
|
* Update the search configuration for a collection
|
|
6443
6536
|
*/
|
|
6537
|
+
configStatement(collectionSlug: string, config: SearchConfig): CompiledQuery;
|
|
6444
6538
|
setSearchConfig(collectionSlug: string, config: SearchConfig): Promise<void>;
|
|
6445
6539
|
/**
|
|
6446
6540
|
* Get searchable fields for a collection
|
|
@@ -6655,6 +6749,12 @@ interface PublicationReleasePreparationTarget {
|
|
|
6655
6749
|
}
|
|
6656
6750
|
interface PublicationReleasePolicy {
|
|
6657
6751
|
id: string;
|
|
6752
|
+
/** D1 policies must prepare explicit commit checks; reservation callbacks require a transactional adapter. */
|
|
6753
|
+
prepareAtomic?(target: PublicationReleasePreparationTarget): Promise<{
|
|
6754
|
+
contribution: PublicationReleasePolicyContribution;
|
|
6755
|
+
checks: readonly RawBuilder<boolean>[];
|
|
6756
|
+
}>;
|
|
6757
|
+
validateAtomic?(release: BuiltContentReleasePayload, contribution: PublicationReleasePolicyContribution): Promise<readonly RawBuilder<boolean>[]>;
|
|
6658
6758
|
checkReadiness?(target: PublicationReadinessPolicyTarget): Promise<PublicationReadinessPolicyFinding[]>;
|
|
6659
6759
|
prepare(target: PublicationReleasePreparationTarget): Promise<PublicationReleasePolicyContribution>;
|
|
6660
6760
|
validate(release: BuiltContentReleasePayload, contribution: PublicationReleasePolicyContribution): Promise<void>;
|
|
@@ -6663,11 +6763,19 @@ interface PublicationReleasePolicy {
|
|
|
6663
6763
|
}
|
|
6664
6764
|
interface PublicationAuthorizationServiceOptions {
|
|
6665
6765
|
db: Kysely<Database>;
|
|
6766
|
+
/** A host-confirmed review and explicit host authority, committed with publication on D1. */
|
|
6767
|
+
preparedReview?: {
|
|
6768
|
+
review: ReviewRequest;
|
|
6769
|
+
batch: AtomicBatch;
|
|
6770
|
+
authorizationChecks: readonly RawBuilder<boolean>[];
|
|
6771
|
+
};
|
|
6666
6772
|
handlers: PublicationContentHandlers;
|
|
6667
6773
|
policies?: PublicationReleasePolicy[];
|
|
6668
6774
|
getSiteTimezone?: () => Promise<string>;
|
|
6669
6775
|
validateReview?: (review: ReviewRequest) => Promise<void>;
|
|
6670
6776
|
now?: () => string;
|
|
6777
|
+
onUnscheduleCommitted?(collection: string, id: string, previous: ContentItem$1): void | Promise<void>;
|
|
6778
|
+
onPublicationCommitted?(operation: PublicationReleaseOperation, collection: string, id: string, previous: ContentItem$1): void | Promise<void>;
|
|
6671
6779
|
}
|
|
6672
6780
|
interface AuthorizedPublicationInput {
|
|
6673
6781
|
actor: ResolvedActorIdentity;
|
|
@@ -6764,11 +6872,17 @@ declare class PublicationAuthorizationService {
|
|
|
6764
6872
|
constructor(options: PublicationAuthorizationServiceOptions);
|
|
6765
6873
|
checkPublicationReadiness(input: CheckPublicationReadinessInput): Promise<PublicationReadinessResult>;
|
|
6766
6874
|
releaseApprovedReview(reviewId: string): Promise<"published" | "scheduled">;
|
|
6875
|
+
/** Commit a host-prepared review and publication as one explicit batch. */
|
|
6876
|
+
publishPreparedContent(input: PublishAuthorizedContentInput): Promise<AuthorizedPublicationResult>;
|
|
6767
6877
|
publishAuthorizedContent(input: PublishAuthorizedContentInput): Promise<AuthorizedPublicationResult>;
|
|
6768
6878
|
scheduleAuthorizedContent(input: ScheduleAuthorizedContentInput): Promise<AuthorizedPublicationResult>;
|
|
6769
6879
|
publishAuthorizedDueContent(input: PublishAuthorizedDueContentInput): Promise<AuthorizedPublicationResult>;
|
|
6770
6880
|
unscheduleAuthorizedContent(input: UnscheduleAuthorizedContentInput): Promise<AuthorizedUnscheduleResult>;
|
|
6771
6881
|
buildReleaseRequest(input: Omit<AuthorizeReleaseInput, "siteTimezone" | "policyOverrides">): Promise<BuiltContentReleasePayload>;
|
|
6882
|
+
private unscheduleAtomic;
|
|
6883
|
+
private publishDueAtomic;
|
|
6884
|
+
private atomicActorChecks;
|
|
6885
|
+
private publishAtomic;
|
|
6772
6886
|
private authorize;
|
|
6773
6887
|
private revalidateScheduledGrant;
|
|
6774
6888
|
private buildRelease;
|
|
@@ -6799,6 +6913,14 @@ type PluginCapability = "network:request" | "network:request:unrestricted" | "ne
|
|
|
6799
6913
|
* to native trusted plugins; sandboxed or marketplace code cannot contribute database migrations.
|
|
6800
6914
|
*/
|
|
6801
6915
|
type PluginMigration = Migration;
|
|
6916
|
+
interface PluginD1Support {
|
|
6917
|
+
/** Complete current owned schema, used to verify imported database adoption. */
|
|
6918
|
+
schema: readonly D1SchemaObject[];
|
|
6919
|
+
/** Immutable SQL plans. Each plan records the Node migration names it covers. */
|
|
6920
|
+
migrations?: <DB>(db: Kysely<DB>) => readonly (D1Migration & {
|
|
6921
|
+
legacyMigrations: readonly string[];
|
|
6922
|
+
})[];
|
|
6923
|
+
}
|
|
6802
6924
|
type AccessConstraints = Record<string, unknown>;
|
|
6803
6925
|
/**
|
|
6804
6926
|
* Structured plugin trust contract.
|
|
@@ -7188,6 +7310,7 @@ interface CronAccess {
|
|
|
7188
7310
|
* Task info returned from CronAccess.list()
|
|
7189
7311
|
*/
|
|
7190
7312
|
interface CronTaskInfo {
|
|
7313
|
+
status?: "idle" | "running" | "failed";
|
|
7191
7314
|
name: string;
|
|
7192
7315
|
schedule: string;
|
|
7193
7316
|
nextRunAt: string;
|
|
@@ -7197,6 +7320,8 @@ interface CronTaskInfo {
|
|
|
7197
7320
|
* Event passed to the `cron` hook handler
|
|
7198
7321
|
*/
|
|
7199
7322
|
interface CronEvent {
|
|
7323
|
+
/** Stable per scheduled occurrence, including retries; use for downstream idempotency. */
|
|
7324
|
+
executionId?: string;
|
|
7200
7325
|
name: string;
|
|
7201
7326
|
data?: Record<string, unknown>;
|
|
7202
7327
|
scheduledAt: string;
|
|
@@ -7777,7 +7902,7 @@ interface PluginRoute<TInput = unknown> {
|
|
|
7777
7902
|
/** Restrict trusted route invocation to these HTTP methods. Omit for legacy all-method behavior. */
|
|
7778
7903
|
methods?: readonly PluginRouteMethod[];
|
|
7779
7904
|
/** Zod schema for input validation */
|
|
7780
|
-
input?: z.ZodType<TInput>;
|
|
7905
|
+
input?: z$1.ZodType<TInput>;
|
|
7781
7906
|
/** Request-body handling mode. Defaults to JSON. */
|
|
7782
7907
|
body?: PluginRouteBodyMode;
|
|
7783
7908
|
/** Maximum bytes accepted by a raw-body route. JSON routes cannot set this field. */
|
|
@@ -8034,6 +8159,8 @@ interface PluginAdminConfig {
|
|
|
8034
8159
|
* Plugin definition - input to definePlugin()
|
|
8035
8160
|
*/
|
|
8036
8161
|
interface PluginDefinition<TStorage extends PluginStorageConfig = PluginStorageConfig> {
|
|
8162
|
+
/** Opt in only after verifying this plugin's runtime and writes on D1. */
|
|
8163
|
+
d1?: PluginD1Support;
|
|
8037
8164
|
/** Namespaced, server-only contributions consumed by other trusted native plugins. */
|
|
8038
8165
|
nativeExtensions?: Readonly<Record<string, unknown>>;
|
|
8039
8166
|
/** Unique plugin identifier */
|
|
@@ -8063,6 +8190,7 @@ interface PluginDefinition<TStorage extends PluginStorageConfig = PluginStorageC
|
|
|
8063
8190
|
* Resolved plugin - after definePlugin() processing
|
|
8064
8191
|
*/
|
|
8065
8192
|
interface ResolvedPlugin<TStorage extends PluginStorageConfig = PluginStorageConfig> {
|
|
8193
|
+
d1?: PluginD1Support;
|
|
8066
8194
|
nativeExtensions?: Readonly<Record<string, unknown>>;
|
|
8067
8195
|
id: string;
|
|
8068
8196
|
version: string;
|
|
@@ -8188,4 +8316,4 @@ interface PluginManifest {
|
|
|
8188
8316
|
admin: PluginAdminConfig;
|
|
8189
8317
|
}
|
|
8190
8318
|
//#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 };
|
|
8319
|
+
export { PluginMcpCommandPreview as $, handleMediaUpdate as $a, getEditMeta as $i, UpdateMenuItemInput as $n, handleContentUnpublish as $o, PluginSecretStatus as $r, Element as $s, PublicationReleasePreparationTarget as $t, MediaUploadEvent as A, PortableTextSpan as Aa, invalidateCollectionCache as Ai, getEntryTerms as An, DinewayConfig as Ao, verifyPreviewToken as Ar, ReviewRequestStatus as As, ResolvedPlugin as At, PluginActor as B, Section as Ba, CollectionFilter as Bi, UpdateTermInput as Bn, handleContentCreate as Bo, HandoffSnapshot as Br, CreateMediaInput as Bs, StorageCollectionConfig as Bt, FieldWidgetConfig as C, portableTextToProsemirror as Ca, verifyPreviewSignature as Ci, ReorderWidgetsInput as Cn, SandboxOptions as Co, getPreviewUrl as Cr, AssignmentListQuery as Cs, PortableTextBlockConfig as Ct, KVAccess as D, PortableTextImageBlock as Da, contentNamespace as Di, WidgetComponentDef as Dn, SerializedRequest as Do, VerifyPreviewTokenResult as Dr, CreateAssignmentInput as Ds, PublicPageSchema as Dt, HttpAccess as E, PortableTextHtmlBlock as Ea, cachedQuery as Ei, WidgetArea as En, SandboxedPlugin as Eo, VerifyPreviewTokenOptions as Er, AssignmentStatus as Es, PublicPageImage as Et, PageMetadataContribution as F, ProseMirrorNode as Fa, invalidateTaxonomyObjectCache as Fi, getTermsForEntries as Fn, StorageDescriptor as Fo, CreateWorkflowAssignmentInput as Fr, SiteActivityResultStatus as Fs, StandardHookHandler as Ft, PluginAuthMethod as G, SchemaError as Ga, EntryResult as Gi, getMenus as Gn, handleContentGetIncludingTrashed as Go, NodeSandboxRunner as Gr, EntryData as Gs, PublicationReadinessBlocker as Gt, PluginAdminConfig as H, UpdateSectionInput as Ha, ContentEntry as Hi, getBylineBySlug as Hn, handleContentDiscardDraft as Ho, PublicationReleasePolicyContribution as Hr, MediaRepository as Hs, isStandardPluginDefinition as Ht, PageMetadataEvent as I, getSection as Ia, isObjectCacheActive as Ii, CreateTermInput as In, handleContentAuthors as Io, HandoffResumeResult as Ir, SiteActivitySourceType as Is, StandardPluginDefinition as It, PluginD1Support as J, MediaResponse as Ja, SelectedCollectionData as Ji, Menu as Jn, handleContentPermanentDelete as Jo, SandboxNotAvailableError as Jr, WhereValue$1 as Js, PublicationReadinessPolicyTarget as Jt, PluginCapability as K, SchemaRegistry as Ka, InferCollectionData as Ki, CreateMenuInput as Kn, handleContentList as Ko, createNodeSandboxRunner as Kr, EntryFilter as Ks, PublicationReadinessPolicyBlocker as Kt, PageMetadataHandler as L, getSections as La, AfterCallback as Li, TaxonomyDef as Ln, handleContentCompare as Lo, HandoffSnapshotStore as Lr, SiteActivityTimelineQuery as Ls, StandardRouteEntry as Lt, PageFragmentContribution as M, PortableTextUnknownBlock as Ma, invalidateMenuObjectCache as Mi, getTaxonomyDefs as Mn, getStoredConfig as Mo, AssignmentActionInput as Mr, SiteActivity as Ms, ResolvedPluginMcpConfig as Mt, PageFragmentEvent as N, ProseMirrorDocument as Na, invalidateObjectCache as Ni, getTaxonomyTerms as Nn, LocalStorageConfig as No, AssignmentListInput as Nr, SiteActivityActorType as Ns, RouteContext as Nt, LogAccess as O, PortableTextLinkMark as Oa, contentNamespaces as Oi, WidgetType as On, PluginMcpRegistry as Oo, generatePreviewToken as Or, MarkAssignmentsOverdueInput as Os, PublicSchemaNode as Ot, PageFragmentHandler as P, ProseMirrorMark as Pa, invalidateSchemaObjectCache as Pi, getTerm as Pn, S3StorageConfig as Po, AssignmentService as Pr, SiteActivityRepository as Ps, StandardHookEntry as Pt, PluginMcpAuthorization as Q, handleMediaList as Qa, getDinewayEntry as Qi, UpdateMenuInput as Qn, handleContentTranslations as Qo, createReviewedPluginMcpCommandExecutor as Qr, DinewayDatabaseError as Qs, PublicationReleasePolicy as Qt, PageMetadataLinkRel as R, CreateSectionInput as Ra, after as Ri, TaxonomyTerm as Rn, handleContentCountScheduled as Ro, ResumeHandoffSnapshotInput as Rr, PublicComment as Rs, StandardRouteHandler as Rt, EmailMessage as S, hashString as Sa, signPreviewUrl as Si, PropDef as Sn, SandboxEmailSendCallback as So, buildPreviewUrl as Sr, AssignmentActorType as Ss, PluginTargetScope as St, HookName as T, PortableTextCodeBlock as Ta, CachedQueryOptions as Ti, Widget as Tn, SandboxRunnerFactory as To, PreviewTokenPayload as Tr, AssignmentRepository as Ts, PublicPageContext as Tt, PluginAdminExports as U, validateContent as Ua, DinewayCollections as Ui, getEntriesByByline as Un, handleContentDuplicate as Uo, PublicationReleasePolicyDisposition as Ur, ContentRepository as Us, PublicationAuthorizationService as Ut, PluginActorType as V, SectionSource as Va, CollectionResult as Vi, getByline as Vn, handleContentDelete as Vo, BuiltContentReleasePayload as Vr, MediaItem$1 as Vs, StoredComment as Vt, PluginAdminPage as W, getCollectionInfo as Wa, EditFieldMeta as Wi, getMenu as Wn, handleContentGet as Wo, buildStableActionHash as Wr, CollectionFilter$1 as Ws, PublicationPolicyOverride as Wt, PluginHooks as X, handleMediaDelete as Xa, TranslationsResult as Xi, MenuItemType as Xn, handleContentRestore as Xo, PluginManager as Xr, getDb as Xs, PublicationReadinessWarning as Xt, PluginDefinition as Y, handleMediaCreate as Ya, TranslationSummary as Yi, MenuItem as Yn, handleContentPublish as Yo, createNoopSandboxRunner as Yr, dinewayLoader as Ys, PublicationReadinessResult as Yt, PluginManifest as Z, handleMediaGet as Za, getDinewayCollection as Zi, ReorderMenuItemsInput as Zn, handleContentSchedule as Zo, createPluginManager as Zr, DatabaseConfig as Zs, PublicationReceipt as Zt, EmailAfterSendHandler as _, RateLimitResult as _a, FieldDescriptor as _c, PreviewSidecarClient as _i, getWidgetArea as _n, EmailPipeline as _o, renderPreviewLoadingPage as _r, Relation as _s, PluginRouteMethod as _t, CommentAfterModerateEvent as a, createEditable as aa, compileD1Schema as ac, definePlugin as ai, search as an, generateManifest as ao, getPluginSettings as ar, ReviewRequestActorInput as as, PluginMcpQueryTool as at, EmailDeliverEvent as b, sanitizeHref as ba, defaultPreviewSidecarClient as bi, CreateWidgetAreaInput as bn, createHookPipeline as bo, isPreviewRequest as br, Assignment as bs, PluginRouteTargetContext as bt, CommentBeforeCreateHandler as c, GuestAccessTokenClaims as ca, isParseError as cc, FileSessionDatabaseFactory as ci, FTSManager as cn, SiteBriefingContextEntry as co, setSiteSettings as cr, reference as cs, PluginMcpReversibility as ct, ContentAccess as d, IssuedGuestAccessToken as da, apiError as dc, SessionDatabaseFactory as di, SearchOptions as dn, AtomicConfirmedContentAuthorizer as do, AppliedSnapshotMeta as dr, FieldUIHints as ds, PluginMcpTool as dt, getTranslations as ea, D1Migration 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, apiSuccess as fc, SessionDatabaseHandle as fi, SearchResponse as fn, ConfirmedContentAuthorizer as fo, ApplySnapshotToDatabaseOptions as fr, FileValue as fs, PluginMigration as ft, EmailAfterSendEvent as g, verifyGuestAccessToken as ga, ContentResponse as gc, SessionOpenOrCreateOptions as gi, Suggestion as gn, PluginRouteError as go, Snapshot as gr, CreateRelationInput as gs, PluginRouteBodyMode as gt, EmailAccess as h, issueGuestAccessToken as ha, ContentListResponse as hc, SessionOpenOptions as hi, SuggestOptions as hn, SiteAuthTokenContext as ho, getAppliedSnapshotMeta as hr, ContentReference as hs, PluginRouteAuthorization as ht, CommentAfterCreateHandler as i, FieldAnnotation as ia, D1SchemaObject as ic, runPluginMigrations as ii, getSuggestions as in, handleRevisionRestore as io, getPluginSetting as ir, submitAutomatedReview as is, PluginMcpPiiPolicy as it, ModerationDecision as j, PortableTextTextBlock as ja, invalidateCommentObjectCache as ji, getTaxonomyDef as jn, PluginDescriptor as jo, AssignmentAccessContext as jr, CreateSiteActivityInput as js, ResolvedPluginHooks as jt, MediaAccess as k, PortableTextMarkDef as ka, invalidateBylineObjectCache as ki, getEntriesByTerm as kn, PluginMcpTargetAuthorizer$1 as ko, parseContentId as kr, ReviewRequest as ks, ResolvedHook as kt, CommentModerateEvent as l, GuestAccessTokenConfigurationError as la, parseBody as lc, FileSessionDatabaseFactoryOptions as li, CollectionSearchOptions as ln, DinewayRuntime as lo, PreviewToolbarConfig as lr, image as ls, PluginMcpRiskFactor as lt, ContentPublishStateChangeEvent as m, hashGuestAccessToken as ma, ApiContext as mc, SessionDatabaseLimitError as mi, SearchStats as mn, PublishConfirmedContentInput as mo, dropSessionDatabaseTables as mr, PortableTextBlock$1 as ms, PluginRouteApiTokenPolicy as mt, CollectionCommentSettings as n, CMSAnnotation as na, assertD1Migrations 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, OptionsRepository as oc, FilePreviewMiddlewareConfig as oi, searchCollection as on, SiteBriefing as oo, getSiteSetting as or, ContentReviewHandlers as os, PluginMcpResource as ot, ContentHookEvent as p, VerifyGuestAccessTokenResult as pa, handleError as pc, SessionDatabaseInfo as pi, SearchResult as pn, ConfirmedContentPublicationResult as po, applySnapshotToDatabase as pr, ImageValue as ps, PluginRoute as pt, PluginContext as q, MediaListResponse as qa, ResolvePathResult as qi, CreateMenuItemInput as qn, handleContentListTrashed as qo, NoopSandboxRunner as qr, WhereRange as qs, PublicationReadinessPolicyFinding as qt, CommentAfterCreateEvent as r, EditProxy as ra, migrateD1 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, ParseResult as sc, createFilePreviewMiddleware as si, searchWithDb as sn, SiteBriefingAssembler as so, getSiteSettings as sr, portableText as ss, PluginMcpResourceContent as st, BreadcrumbItem as t, resolveDinewayPath as ta, D1MigrationOptions 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, parseQuery as uc, SessionCleanupResult as ui, SearchConfig as un, SandboxedPluginEntry as uo, renderPreviewToolbar as ur, FieldDefinition as us, PluginMcpRiskLevel as ut, EmailBeforeSendEvent as v, checkRateLimit as va, ListResponse as vc, PreviewSidecarSignature as vi, getWidgetAreas as vn, HookPipeline as vo, isBlockedInPreview as vr, RelationRepository as vs, PluginRouteTargetAuthorizationRequest as vt, HookConfig as w, prosemirrorToPortableText as wa, CacheNamespace as wi, UpdateWidgetInput as wn, SandboxRunner as wo, GeneratePreviewTokenOptions as wr, AssignmentPriority as ws, PortableTextBlockField as wt, EmailDeliverHandler as x, computeContentHash as xa, parsePreviewSignatureHeader as xi, CreateWidgetInput as xn, SandboxEmailMessage as xo, GetPreviewUrlOptions as xr, AssignmentActorRef as xs, PluginStorageConfig as xt, EmailBeforeSendHandler as y, isSafeHref as ya, ManifestResponse as yc, buildPreviewSignatureHeader as yi, getWidgetComponents as yn, HookResult as yo, getPreviewToken as yr, UpdateRelationInput as ys, PluginRouteTargetAuthorizer as yt, PagePlacement as z, GetSectionsOptions as za, CacheHint as zi, TaxonomyTermRow as zn, handleContentCountTrashed as zo, CreateHandoffSnapshotInput as zr, RevisionRepository as zs, StorageCollection as zt };
|