dineway 0.2.40 → 0.2.42
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-LXZdjKwI.mjs → activity-BuhkMdv8.mjs} +2 -2
- package/dist/{activity-events-DoqeOM8x.mjs → activity-events-DkHsy7Y0.mjs} +1 -1
- package/dist/{allowed-origins-B4zstd2d.mjs → allowed-origins-DASdFW-l.mjs} +1 -1
- package/dist/api/route-utils.d.mts +15 -12
- package/dist/api/route-utils.mjs +27 -20
- package/dist/api/schemas/index.d.mts +1 -1
- package/dist/api/schemas/index.mjs +10 -5
- package/dist/{api-CQishNjZ.mjs → api-BBXfpMJw.mjs} +41 -13
- package/dist/{api-tokens-CNHnKO57.mjs → api-tokens-ciHNTdN2.mjs} +1 -1
- package/dist/{apply-D4rZHDyg.mjs → apply-CZDKUvZ4.mjs} +62 -18
- package/dist/astro/index.d.mts +16 -13
- package/dist/astro/index.mjs +31 -5
- package/dist/astro/middleware/auth.d.mts +14 -11
- package/dist/astro/middleware/auth.mjs +8 -8
- package/dist/astro/middleware/redirect.mjs +10 -6
- package/dist/astro/middleware/request-context.mjs +5 -5
- package/dist/astro/middleware/seed.d.mts +1 -1
- package/dist/astro/middleware/seed.mjs +2 -2
- package/dist/astro/middleware/setup.mjs +1 -1
- package/dist/astro/middleware.d.mts +2 -2
- package/dist/astro/middleware.mjs +266 -176
- package/dist/astro/routes/api/admin/allowed-domains/_domain_.mjs +12 -7
- package/dist/astro/routes/api/admin/allowed-domains/index.mjs +12 -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 +41 -22
- package/dist/astro/routes/api/admin/byline-fields/_slug_/usage.mjs +4 -4
- package/dist/astro/routes/api/admin/byline-fields/_slug_.mjs +14 -10
- package/dist/astro/routes/api/admin/byline-fields/index.mjs +14 -10
- package/dist/astro/routes/api/admin/byline-fields/reorder.mjs +14 -10
- package/dist/astro/routes/api/admin/bylines/_id_/index.mjs +25 -19
- package/dist/astro/routes/api/admin/bylines/_id_/translations.mjs +25 -19
- package/dist/astro/routes/api/admin/bylines/index.mjs +25 -19
- package/dist/astro/routes/api/admin/comments/_id_/status.mjs +20 -16
- package/dist/astro/routes/api/admin/comments/_id_.mjs +10 -7
- package/dist/astro/routes/api/admin/comments/bulk.mjs +18 -13
- package/dist/astro/routes/api/admin/comments/counts.mjs +10 -7
- package/dist/astro/routes/api/admin/comments/index.mjs +18 -13
- package/dist/astro/routes/api/admin/context/_id_/history.mjs +51 -39
- package/dist/astro/routes/api/admin/context/_id_/index.mjs +51 -39
- package/dist/astro/routes/api/admin/context/_id_/review.mjs +57 -44
- package/dist/astro/routes/api/admin/context/_id_/supersede.mjs +57 -44
- package/dist/astro/routes/api/admin/context/diff.mjs +56 -43
- package/dist/astro/routes/api/admin/context/index.mjs +57 -44
- package/dist/astro/routes/api/admin/context/stale.mjs +56 -43
- package/dist/astro/routes/api/admin/hitl-requests/_id_/index.mjs +51 -39
- package/dist/astro/routes/api/admin/hitl-requests/_id_/resolve.mjs +56 -43
- package/dist/astro/routes/api/admin/hitl-requests/index.mjs +56 -43
- package/dist/astro/routes/api/admin/hooks/exclusive/_hookName_.mjs +52 -40
- 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 +78 -68
- package/dist/astro/routes/api/admin/plugins/_id_/enable.mjs +78 -68
- package/dist/astro/routes/api/admin/plugins/_id_/index.mjs +71 -60
- package/dist/astro/routes/api/admin/plugins/_id_/uninstall.mjs +78 -67
- package/dist/astro/routes/api/admin/plugins/_id_/update.mjs +78 -67
- package/dist/astro/routes/api/admin/plugins/index.mjs +71 -60
- package/dist/astro/routes/api/admin/plugins/marketplace/_id_/icon.mjs +2 -2
- package/dist/astro/routes/api/admin/plugins/marketplace/_id_/index.mjs +71 -60
- package/dist/astro/routes/api/admin/plugins/marketplace/_id_/install.mjs +78 -67
- package/dist/astro/routes/api/admin/plugins/marketplace/index.mjs +71 -60
- package/dist/astro/routes/api/admin/plugins/updates.mjs +71 -60
- package/dist/astro/routes/api/admin/review-requests/_id_/image.mjs +38 -23
- package/dist/astro/routes/api/admin/review-requests/_id_/index.mjs +46 -36
- package/dist/astro/routes/api/admin/review-requests/_id_/resolve.mjs +63 -52
- package/dist/astro/routes/api/admin/review-requests/_id_/revoke.mjs +9 -9
- package/dist/astro/routes/api/admin/review-requests/index.mjs +61 -50
- package/dist/astro/routes/api/admin/themes/marketplace/_id_/index.mjs +71 -60
- package/dist/astro/routes/api/admin/themes/marketplace/_id_/thumbnail.mjs +2 -2
- package/dist/astro/routes/api/admin/themes/marketplace/index.mjs +71 -60
- package/dist/astro/routes/api/admin/users/_id_/disable.mjs +1 -1
- package/dist/astro/routes/api/admin/users/_id_/enable.mjs +1 -1
- package/dist/astro/routes/api/admin/users/_id_/index.mjs +11 -7
- package/dist/astro/routes/api/admin/users/_id_/send-recovery.mjs +3 -3
- package/dist/astro/routes/api/admin/users/index.mjs +12 -7
- package/dist/astro/routes/api/auth/dev-bypass.mjs +4 -4
- package/dist/astro/routes/api/auth/invite/accept.mjs +1 -1
- package/dist/astro/routes/api/auth/invite/complete.mjs +17 -12
- package/dist/astro/routes/api/auth/invite/index.mjs +14 -9
- package/dist/astro/routes/api/auth/invite/register-options.mjs +16 -11
- package/dist/astro/routes/api/auth/logout.mjs +2 -2
- package/dist/astro/routes/api/auth/magic-link/send.mjs +17 -12
- package/dist/astro/routes/api/auth/magic-link/verify.mjs +2 -2
- package/dist/astro/routes/api/auth/me.mjs +14 -11
- package/dist/astro/routes/api/auth/mode.mjs +1 -1
- package/dist/astro/routes/api/auth/oauth/_provider_/callback.mjs +3 -3
- package/dist/astro/routes/api/auth/oauth/_provider_.mjs +3 -3
- package/dist/astro/routes/api/auth/passkey/_id_.mjs +12 -7
- package/dist/astro/routes/api/auth/passkey/index.mjs +1 -1
- package/dist/astro/routes/api/auth/passkey/options.mjs +19 -14
- package/dist/astro/routes/api/auth/passkey/register/options.mjs +16 -11
- package/dist/astro/routes/api/auth/passkey/register/verify.mjs +17 -12
- package/dist/astro/routes/api/auth/passkey/verify.mjs +17 -12
- package/dist/astro/routes/api/auth/setup-token/index.mjs +6 -6
- package/dist/astro/routes/api/auth/setup-token/verify.mjs +2 -2
- package/dist/astro/routes/api/auth/signup/complete.mjs +17 -12
- package/dist/astro/routes/api/auth/signup/request.mjs +17 -12
- package/dist/astro/routes/api/auth/signup/verify.mjs +1 -1
- package/dist/astro/routes/api/comments/_collection_/_contentId_/index.d.mts +14 -11
- package/dist/astro/routes/api/comments/_collection_/_contentId_/index.mjs +23 -19
- package/dist/astro/routes/api/comments/_collection_/_contentId_/reactions.mjs +23 -18
- package/dist/astro/routes/api/content/_collection_/_id_/compare.mjs +2 -2
- package/dist/astro/routes/api/content/_collection_/_id_/discard-draft.mjs +8 -8
- package/dist/astro/routes/api/content/_collection_/_id_/duplicate.mjs +8 -8
- package/dist/astro/routes/api/content/_collection_/_id_/permanent.mjs +8 -8
- package/dist/astro/routes/api/content/_collection_/_id_/preview-url.mjs +25 -20
- package/dist/astro/routes/api/content/_collection_/_id_/publish.mjs +41 -31
- package/dist/astro/routes/api/content/_collection_/_id_/release-readiness.mjs +14 -9
- package/dist/astro/routes/api/content/_collection_/_id_/restore.mjs +8 -8
- package/dist/astro/routes/api/content/_collection_/_id_/revisions.mjs +2 -2
- package/dist/astro/routes/api/content/_collection_/_id_/schedule.mjs +41 -31
- package/dist/astro/routes/api/content/_collection_/_id_/terms/_taxonomy_.mjs +30 -20
- package/dist/astro/routes/api/content/_collection_/_id_/translations.mjs +2 -2
- package/dist/astro/routes/api/content/_collection_/_id_/unpublish.mjs +8 -8
- package/dist/astro/routes/api/content/_collection_/_id_.mjs +25 -14
- package/dist/astro/routes/api/content/_collection_/authors.mjs +2 -2
- package/dist/astro/routes/api/content/_collection_/index.mjs +25 -14
- package/dist/astro/routes/api/content/_collection_/trash.mjs +13 -8
- package/dist/astro/routes/api/dashboard.mjs +21 -13
- 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 +30 -23
- package/dist/astro/routes/api/import/wordpress/analyze.mjs +13 -10
- package/dist/astro/routes/api/import/wordpress/execute.d.mts +14 -11
- package/dist/astro/routes/api/import/wordpress/execute.mjs +58 -47
- package/dist/astro/routes/api/import/wordpress/media.d.mts +14 -11
- package/dist/astro/routes/api/import/wordpress/media.mjs +17 -14
- package/dist/astro/routes/api/import/wordpress/prepare.mjs +61 -48
- package/dist/astro/routes/api/import/wordpress/rewrite-urls.d.mts +15 -12
- package/dist/astro/routes/api/import/wordpress/rewrite-urls.mjs +58 -45
- package/dist/astro/routes/api/import/wordpress-plugin/analyze.d.mts +1 -1
- package/dist/astro/routes/api/import/wordpress-plugin/analyze.mjs +32 -26
- package/dist/astro/routes/api/import/wordpress-plugin/callback.mjs +1 -1
- package/dist/astro/routes/api/import/wordpress-plugin/execute.d.mts +14 -11
- package/dist/astro/routes/api/import/wordpress-plugin/execute.mjs +63 -52
- package/dist/astro/routes/api/integration/artifact.mjs +9 -9
- package/dist/astro/routes/api/integration/dispatch.mjs +14 -14
- package/dist/astro/routes/api/integrations/_provider_.mjs +9 -9
- package/dist/astro/routes/api/integrations/index.mjs +8 -8
- package/dist/astro/routes/api/manifest.mjs +5 -5
- package/dist/astro/routes/api/mcp.mjs +141 -93
- package/dist/astro/routes/api/media/_id_/confirm.mjs +15 -12
- package/dist/astro/routes/api/media/_id_.mjs +14 -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 +16 -13
- package/dist/astro/routes/api/media.mjs +19 -16
- package/dist/astro/routes/api/menus/_name_/items/_id_.mjs +57 -44
- package/dist/astro/routes/api/menus/_name_/items.mjs +57 -44
- package/dist/astro/routes/api/menus/_name_/reorder.mjs +57 -44
- package/dist/astro/routes/api/menus/_name_/translations.mjs +57 -44
- package/dist/astro/routes/api/menus/_name_.mjs +57 -44
- package/dist/astro/routes/api/menus/index.mjs +57 -44
- package/dist/astro/routes/api/oauth/authorize.mjs +7 -7
- package/dist/astro/routes/api/oauth/device/authorize.mjs +5 -5
- package/dist/astro/routes/api/oauth/device/code.mjs +9 -9
- package/dist/astro/routes/api/oauth/device/token.mjs +8 -8
- package/dist/astro/routes/api/oauth/register.mjs +4 -4
- package/dist/astro/routes/api/oauth/token/refresh.mjs +5 -5
- package/dist/astro/routes/api/oauth/token/revoke.mjs +5 -5
- package/dist/astro/routes/api/oauth/token.mjs +6 -6
- package/dist/astro/routes/api/openapi.json.mjs +10 -5
- package/dist/astro/routes/api/plugins/_pluginId_/_...path_.mjs +4 -4
- package/dist/astro/routes/api/redirects/404s/index.mjs +15 -13
- package/dist/astro/routes/api/redirects/404s/summary.mjs +15 -13
- package/dist/astro/routes/api/redirects/_id_.mjs +57 -44
- package/dist/astro/routes/api/redirects/index.mjs +57 -44
- 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 +73 -62
- package/dist/astro/routes/api/schema/collections/_slug_/fields/index.mjs +73 -62
- package/dist/astro/routes/api/schema/collections/_slug_/fields/reorder.mjs +73 -62
- package/dist/astro/routes/api/schema/collections/_slug_/index.mjs +73 -62
- package/dist/astro/routes/api/schema/collections/index.mjs +73 -62
- package/dist/astro/routes/api/schema/index.mjs +13 -10
- package/dist/astro/routes/api/schema/orphans/_slug_.mjs +71 -60
- package/dist/astro/routes/api/schema/orphans/index.mjs +71 -60
- package/dist/astro/routes/api/search/enable.mjs +20 -13
- package/dist/astro/routes/api/search/index.mjs +19 -12
- package/dist/astro/routes/api/search/rebuild.mjs +20 -13
- package/dist/astro/routes/api/search/stats.mjs +12 -7
- package/dist/astro/routes/api/search/suggest.mjs +19 -12
- package/dist/astro/routes/api/sections/_slug_.mjs +57 -44
- package/dist/astro/routes/api/sections/index.mjs +57 -44
- package/dist/astro/routes/api/settings/email.mjs +5 -5
- package/dist/astro/routes/api/settings/reviews.mjs +11 -11
- package/dist/astro/routes/api/settings.mjs +57 -44
- package/dist/astro/routes/api/setup/admin-verify.mjs +19 -14
- package/dist/astro/routes/api/setup/admin.mjs +17 -12
- package/dist/astro/routes/api/setup/dev-bypass.mjs +44 -32
- package/dist/astro/routes/api/setup/dev-reset.mjs +2 -2
- package/dist/astro/routes/api/setup/index.mjs +47 -34
- package/dist/astro/routes/api/setup/status.mjs +3 -3
- package/dist/astro/routes/api/snapshot.mjs +9 -9
- package/dist/astro/routes/api/system/heartbeat.mjs +2 -2
- package/dist/astro/routes/api/taxonomies/_name_/terms/_slug_/translations.mjs +60 -47
- package/dist/astro/routes/api/taxonomies/_name_/terms/_slug_.mjs +60 -47
- package/dist/astro/routes/api/taxonomies/_name_/terms/index.mjs +60 -47
- package/dist/astro/routes/api/taxonomies/index.mjs +60 -47
- package/dist/astro/routes/api/themes/preview.mjs +7 -7
- package/dist/astro/routes/api/typegen.mjs +4 -4
- package/dist/astro/routes/api/well-known/auth.mjs +3 -3
- package/dist/astro/routes/api/well-known/oauth-authorization-server.mjs +3 -3
- package/dist/astro/routes/api/well-known/oauth-protected-resource.mjs +3 -3
- package/dist/astro/routes/api/widget-areas/_name_/reorder.mjs +56 -43
- package/dist/astro/routes/api/widget-areas/_name_/widgets/_id_.mjs +57 -44
- package/dist/astro/routes/api/widget-areas/_name_/widgets.mjs +57 -44
- package/dist/astro/routes/api/widget-areas/_name_.mjs +53 -41
- package/dist/astro/routes/api/widget-areas/index.mjs +57 -44
- package/dist/astro/routes/api/widget-components.mjs +2 -2
- package/dist/astro/routes/robots.txt.mjs +14 -9
- package/dist/astro/routes/sitemap-_collection_.xml.mjs +20 -16
- package/dist/astro/routes/sitemap.xml.mjs +19 -15
- package/dist/astro/session-driver.d.mts +1 -1
- package/dist/astro/session-driver.mjs +8 -3
- package/dist/astro/types.d.mts +21 -14
- package/dist/{atomic-authority-CnBQJ14T.mjs → atomic-authority-Bf5QZboB.mjs} +2 -2
- package/dist/{audit-Cl495Ze3.mjs → audit-hXJBTPY0.mjs} +1 -1
- package/dist/auth/providers/github.d.mts +1 -1
- package/dist/auth/providers/google.d.mts +1 -1
- package/dist/{auth-control-guard-DbjgJdlo.mjs → auth-control-guard-DpUP6Fs_.mjs} +1 -1
- package/dist/{authorize-DDmgmnW-.mjs → authorize-DWNOqMKq.mjs} +1 -1
- package/dist/{briefing-DsD-Ouwc.mjs → briefing-BShyAm_Z.mjs} +1 -1
- package/dist/{briefing-COw-WcYz.mjs → briefing-CaeEFvkD.mjs} +995 -7
- package/dist/{bundle-bhiszAui.mjs → bundle-DWn5eFKz.mjs} +2 -2
- package/dist/{byline-fields-D-b9CWux.d.mts → byline-fields-B7pQ3LMi.d.mts} +14 -10
- package/dist/{byline-fields-BKj5f3Ub.mjs → byline-fields-DRMCc0V_.mjs} +1 -1
- package/dist/{byline-fields-DZ46DF10.mjs → byline-fields-wWu2Cb3l.mjs} +3 -3
- package/dist/{byline-registry-CJihchD1.mjs → byline-registry-Caj0_gbU.mjs} +1 -1
- package/dist/{byline-TYk2kad6.mjs → byline-uuVB2B3E.mjs} +65 -14
- package/dist/{bylines-6T9iVC9j.mjs → bylines-PLlsL31L.mjs} +3 -3
- package/dist/{bylines-CvTSCAw9.mjs → bylines-XGlNK0Lo.mjs} +5 -5
- package/dist/{patterns-Ay-4KImK.mjs → cache-DsEbwFVE.mjs} +51 -1
- package/dist/{chunks-C8vSD_5L.mjs → chunks-Bb56aCtB.mjs} +1 -1
- package/dist/cli/index.mjs +486 -48
- package/dist/cli/plugin-kit.d.mts +14 -11
- package/dist/cli/plugin-kit.mjs +2 -2
- package/dist/client/external-auth-headers.d.mts +1 -1
- package/dist/client/index.d.mts +16 -13
- package/dist/client/index.mjs +2 -2
- package/dist/{client-factory-C1ZQCMog.mjs → client-factory-BLbm250o.mjs} +1 -1
- package/dist/{comment-DAQfUjqt.mjs → comment-BWDG1nQm.mjs} +2 -2
- package/dist/{comment-reaction-Dp3G7UZc.mjs → comment-reaction-B7pLTlQ7.mjs} +1 -1
- package/dist/{comments-BrvIaRAx.mjs → comments-xkten8nV.mjs} +1 -1
- package/dist/config-6R0bchVE.mjs +125 -0
- package/dist/{content-CIKsrvU9.mjs → content-BNeuaVCS.mjs} +302 -45
- package/dist/content-Dr22fzA_.mjs +390 -0
- package/dist/{content-refresh-BilzqcLt.mjs → content-refresh-D7wpVFJ_.mjs} +14 -8
- package/dist/content-storage/index.d.mts +193 -0
- package/dist/content-storage/index.mjs +29 -0
- package/dist/content-storage/store.d.mts +3 -0
- package/dist/content-storage/store.mjs +5 -0
- package/dist/{review-payload-Bap86e75.mjs → content-write-43KZZ7dz.mjs} +838 -131
- package/dist/{context-DAs_MZjJ.mjs → context-Cjz0y4Al.mjs} +292 -23
- package/dist/{context-DVTvucNb.mjs → context-DuYXPlfZ.mjs} +2 -2
- package/dist/{context-route-helpers-BP-UJ4u8.mjs → context-route-helpers-TP3EqxRQ.mjs} +2 -2
- package/dist/{dashboard-BAjWCGCP.mjs → dashboard-BquGX1ue.mjs} +4 -4
- package/dist/database/batch.d.mts +1 -1
- package/dist/database/batch.mjs +1 -1
- package/dist/database/d1/index.d.mts +14 -11
- package/dist/database/d1/index.mjs +4 -4
- package/dist/database/instrumentation.mjs +3 -2
- package/dist/db/index.d.mts +3 -3
- package/dist/db/index.mjs +1 -1
- package/dist/db/libsql.d.mts +1 -1
- package/dist/db/postgres.d.mts +1 -1
- package/dist/db/sqlite.d.mts +1 -1
- package/dist/{device-flow-Dh0rNlh1.mjs → device-flow-SoZh-HvN.mjs} +3 -3
- package/dist/{discovery-V0e0Gg8j.mjs → discovery-BwCZFUXm.mjs} +4 -4
- package/dist/{enrich-B7PIJ8Iy.mjs → enrich-CAMsD1aT.mjs} +1 -1
- package/dist/{error-B5a45Tfb.mjs → error-sL4aemcW.mjs} +2 -0
- package/dist/{evidence-Vnp_fQbC.mjs → evidence-1Gr8TlTf.mjs} +7 -7
- package/dist/{field-defs-cache-aXUeXJdC.mjs → field-defs-cache-dn5Tw79A.mjs} +4 -4
- package/dist/{fts-manager-BrPpYtK0.mjs → fts-manager-Zu5ITic0.mjs} +1 -1
- package/dist/{hitl-requests-BxMMON3s.mjs → hitl-requests-Bdab4DhO.mjs} +2 -2
- package/dist/{hitl-route-helpers-sdnjpx2k.mjs → hitl-route-helpers-DGMLQajA.mjs} +5 -5
- package/dist/hook-events-BQw73jc7.d.mts +32 -0
- package/dist/{import-C2-v4FCs.mjs → import-DJFlvQey.mjs} +9 -9
- package/dist/{index-BVGe04wF.d.mts → index-CLj17kW9.d.mts} +12 -5
- package/dist/index.d.mts +19 -16
- package/dist/index.mjs +107 -98
- package/dist/{integration-credentials-DMEXZU2J.mjs → integration-credentials-DpuRw1kx.mjs} +2 -2
- package/dist/{jsonld-wRF85RXo.d.mts → jsonld-CPijKSUe.d.mts} +2 -2
- package/dist/{load-DvCVppOF.mjs → load-CiRTddkJ.mjs} +1 -1
- package/dist/{loader-Dp6zLmQm.mjs → loader-Bq1aW12P.mjs} +16 -5
- package/dist/{manifest-schema-CCvogfrP.mjs → manifest-schema-DaQpgyTB.mjs} +1 -1
- package/dist/{mcp-reviewed-executor-B8Gbin3T.mjs → mcp-reviewed-executor-DtTnFcqC.mjs} +6 -6
- package/dist/media/image-endpoint.mjs +1 -1
- package/dist/media/index.d.mts +1 -1
- package/dist/media/index.mjs +2 -2
- package/dist/media/local-runtime.d.mts +16 -13
- package/dist/media/local-runtime.mjs +3 -3
- package/dist/{media-C5ba8fvI.mjs → media-BjH5OD-A.mjs} +1 -1
- package/dist/{media-allowlist-DQvscVkS.mjs → media-allowlist-C8HJ2O61.mjs} +1 -1
- package/dist/{menus-w5xwT-f5.mjs → menus-BXkfzNR1.mjs} +7 -7
- package/dist/{menus-CyNpBQrX.mjs → menus-CbBi7Ad7.mjs} +2 -2
- package/dist/migration-D9OY6vI9.mjs +526 -0
- package/dist/{migrations-CLlX25HO.mjs → migrations-BAjF60cl.mjs} +1 -1
- package/dist/{oauth-authorization-CdqJZUMf.mjs → oauth-authorization-CSSRMOKn.mjs} +4 -4
- package/dist/{oauth-clients-CHNb9MAZ.mjs → oauth-clients-DX5HIJJv.mjs} +2 -2
- package/dist/object-cache/memory.d.mts +1 -1
- package/dist/{object-cache-mxCW-Rpt.mjs → object-cache-DyI1SOBK.mjs} +3 -1
- package/dist/owned-metadata-C99DzQuq.mjs +69 -0
- package/dist/page/index.d.mts +15 -12
- package/dist/page/index.mjs +1 -1
- package/dist/{parse-THHCpJLB.mjs → parse-C6kCR1OT.mjs} +1 -1
- package/dist/plugin-utils.d.mts +14 -11
- package/dist/plugins/adapt-sandbox-entry.d.mts +14 -11
- package/dist/plugins/adapt-sandbox-entry.mjs +1 -1
- package/dist/{plugins-pfraURNp.mjs → plugins-LtyuDuIb.mjs} +16 -962
- package/dist/{policy-D2USlibj.mjs → policy-Drg5yr1-.mjs} +2 -2
- package/dist/{preview-Bh7D7F27.mjs → preview-CWiIjMDi.mjs} +2 -2
- package/dist/{provider-loader-DT7vQ5FI.d.mts → provider-loader-oLKm1AU8.d.mts} +1 -1
- package/dist/{public-url-Ccv0Xmue.d.mts → public-url-CEC1vj02.d.mts} +2 -2
- package/dist/{public-url-CG5YbNqB.d.mts → public-url-cMnsBUZB.d.mts} +1 -1
- package/dist/{publication-authorization-B_HJSnzR.mjs → publication-authorization-CJ4Jr5Hg.mjs} +43 -17
- package/dist/{query-xspvw7Ui.mjs → query-CLWTwcTr.mjs} +14 -14
- package/dist/{query-DLeahg3x.mjs → query-CP9M8xxX.mjs} +4 -4
- package/dist/{rate-limit-BsBr_U9g.mjs → rate-limit-DeVLLe4z.mjs} +2 -2
- package/dist/{redirect-BQFa1THe.mjs → redirect-CJ-FAbNK.mjs} +2 -2
- package/dist/{redirects-DJcsgz_X.mjs → redirects-BKi6mek4.mjs} +4 -5
- package/dist/{redirects-CVfxefrz.mjs → redirects-I78-ZYLV.mjs} +5 -386
- package/dist/{registry-Dclv9iHv.mjs → registry-B-HULaJI.mjs} +7 -7
- package/dist/{release-Da2UFygt.mjs → release-D615eKav.mjs} +173 -22
- package/dist/request-context.d.mts +30 -0
- package/dist/{request-meta-CjORiJQ_.mjs → request-meta-DZYuLXx_.mjs} +1 -1
- package/dist/review-payload-Bhi52CbI.mjs +112 -0
- package/dist/{review-requests-CcSUTm_l.mjs → review-requests-CGQ1u7uY.mjs} +2 -2
- package/dist/{review-requests-CUVn0RBl.mjs → review-requests-DZYM51yI.mjs} +2 -2
- package/dist/{review-route-helpers-CKBfGKCi.mjs → review-route-helpers-DXNDyx_q.mjs} +2 -2
- package/dist/{revision-W6FDfDqx.mjs → revision-DlxUfOD5.mjs} +42 -7
- package/dist/revisions-qNkae-Dq.mjs +57 -0
- package/dist/{revocation-C_ZQvGRT.mjs → revocation-4we8kfBg.mjs} +2 -2
- package/dist/{runner-CRU7BXjr.mjs → runner-CuG8o1uW.mjs} +558 -487
- package/dist/{runner-SoP1rphP.d.mts → runner-DXQkyPeX.d.mts} +1 -1
- package/dist/{runs-BtaAiLTw.mjs → runs-BjgLfqCn.mjs} +5 -5
- package/dist/runtime-Bs2JMbb2.d.mts +45 -0
- package/dist/runtime-Ch5G-tnG.mjs +400 -0
- package/dist/runtime.d.mts +15 -12
- package/dist/runtime.mjs +9 -4
- package/dist/schema-DVeOJpqA.mjs +8 -0
- package/dist/{search-BI9uKr7U.mjs → search-zMoM2_uq.mjs} +4 -98
- package/dist/{secrets-D_pergcD.mjs → secrets-CIYcw9T9.mjs} +4 -4
- package/dist/{sections-BqqYq9RW.mjs → sections-BtO0Zdv5.mjs} +2 -2
- package/dist/seed/index.d.mts +2 -2
- package/dist/seed/index.mjs +38 -26
- package/dist/seo/index.d.mts +3 -3
- package/dist/seo/index.mjs +12 -9
- package/dist/{seo-B-5PsaJO.mjs → seo-DwcULb78.mjs} +1 -1
- package/dist/{seo-Bs_DUxJf.mjs → seo-uliFa7s-.mjs} +44 -5
- package/dist/{service-W2xuGLgw.mjs → service-BBJM08uD.mjs} +2 -2
- package/dist/{service-B65aJsN7.mjs → service-CkMuD5AE.mjs} +3 -3
- package/dist/{settings-CyJ2-MKx.mjs → settings-D31Y4msD.mjs} +2 -2
- package/dist/{settings-DsBzKeUQ.mjs → settings-DDOB3gW1.mjs} +7 -7
- package/dist/{setup-complete-t9yamqBb.mjs → setup-complete-5GxB7hiF.mjs} +1 -1
- package/dist/{site-activity-DU0UPDji.mjs → site-activity-hpfJkmxQ.mjs} +1 -1
- package/dist/{site-context-Dic2jHuw.mjs → site-context-D3AmDdpQ.mjs} +15 -15
- package/dist/{site-url-Tw6CfBB2.mjs → site-url-CYatfe3q.mjs} +1 -1
- package/dist/{state-jx6Yiwsm.mjs → state-ClG1I4wl.mjs} +1 -1
- package/dist/storage/local.d.mts +1 -1
- package/dist/storage/local.mjs +1 -1
- package/dist/storage/s3.d.mts +1 -1
- package/dist/storage/s3.mjs +2 -2
- package/dist/{store-32e6dfD-.mjs → store-BzaAtszy.mjs} +3 -3
- package/dist/submission-DgLES24O.mjs +205 -0
- package/dist/{taxonomies-BFsUR7kc.mjs → taxonomies-B4hE8Yb3.mjs} +3 -3
- package/dist/{taxonomies-lWGNLKgn.mjs → taxonomies-BI26Bk-M.mjs} +7 -7
- package/dist/{taxonomy-DN6i1upz.mjs → taxonomy-B8w8F2Cs.mjs} +53 -3
- package/dist/terms-EskuqbKE.mjs +104 -0
- package/dist/text-extraction-CdqMGYQK.mjs +96 -0
- package/dist/{tokens-D-StaTAQ.mjs → tokens-D8HEH277.mjs} +1 -1
- package/dist/{trusted-proxy-hYufGFPK.mjs → trusted-proxy-Dg3U9Lrv.mjs} +1 -1
- package/dist/{types-D5JfvPvx.d.mts → types-0gRlZbhN.d.mts} +88 -32
- package/dist/{types-RFzE_V1M.mjs → types-BI3ULB3A.mjs} +2 -2
- package/dist/{types-B--VyN3n.d.mts → types-Dpv_MvwZ.d.mts} +1 -1
- package/dist/{types-CgcOeaiQ.d.mts → types-ex-UrNlz.d.mts} +1 -1
- package/dist/types-qOEot0UQ.d.mts +83 -0
- package/dist/ui/server-runtime.d.mts +18 -15
- package/dist/ui/server-runtime.mjs +29 -25
- package/dist/{user-Btai9rl3.mjs → user-Bl2_8rhJ.mjs} +2 -2
- package/dist/{utils-CYxGuO_P.mjs → utils-CklSLz9F.mjs} +2 -2
- package/dist/{validate-C05z0m7M.mjs → validate-C-yk7mmX.mjs} +3 -3
- package/dist/{validate-kmN2lS8H.d.mts → validate-DUscf6VG.d.mts} +3 -3
- package/dist/version-Co258u70.mjs +6 -0
- package/dist/version-store-BXv2D0de.mjs +208 -0
- package/dist/version-store-B_THJCc0.d.mts +98 -0
- package/dist/{widgets-BOrDZdQ3.mjs → widgets-B99mnftw.mjs} +3 -3
- package/dist/{wordpress-slugs-ROzITIBK.mjs → wordpress-slugs-yaeD7cxn.mjs} +1 -1
- package/dist/{worker-CKU70ODm.mjs → worker-DdI-KtvF.mjs} +10 -10
- package/dist/write-intent-DuHVqks9.mjs +108 -0
- package/dist/{zod-generator-DkrWuID7.mjs → zod-generator-B5Pt8fv0.mjs} +2 -2
- package/package.json +16 -4
- package/dist/cache-B5NSHhxG.mjs +0 -52
- package/dist/cron-C7HCJPPl.mjs +0 -271
- package/dist/schema-CosVhHJt.mjs +0 -8
- package/dist/submission-DJmRejGR.mjs +0 -411
- package/dist/version-CISd4wX_.mjs +0 -6
- /package/dist/{actor-DxUAJgQX.mjs → actor-D0AW80ld.mjs} +0 -0
- /package/dist/{adapter-symbols-Bq3JsWGM.d.mts → adapter-symbols-B9mi-BUh.d.mts} +0 -0
- /package/dist/{adapters-C8nRpUuj.d.mts → adapters-lDnJjNDz.d.mts} +0 -0
- /package/dist/{api-tokens-0N3nafqZ.mjs → api-tokens-CdfsE9PL.mjs} +0 -0
- /package/dist/{base64-Cz-aU0X1.mjs → base64-qvSs0Gxy.mjs} +0 -0
- /package/dist/{challenge-store-DFGsDtCj.mjs → challenge-store-Dq5HiMO3.mjs} +0 -0
- /package/dist/{components-rFN8NH3N.mjs → components-JA6tFHmE.mjs} +0 -0
- /package/dist/{context-types-CPWAJRs5.mjs → context-types-DDIJhGLs.mjs} +0 -0
- /package/dist/{default-BS6VQRkB.mjs → default-C2azCFSB.mjs} +0 -0
- /package/dist/{email-console-GqK6hgMJ.mjs → email-console-BYQp_5Qr.mjs} +0 -0
- /package/dist/{escape-CE7xOWzJ.mjs → escape-4_NNa6GR.mjs} +0 -0
- /package/dist/{experimental-workflows-BbxpWwBy.mjs → experimental-workflows-CPNiI2EL.mjs} +0 -0
- /package/dist/{forgeway-account-DcTxh3Gw.mjs → forgeway-account-7N-3srH-.mjs} +0 -0
- /package/dist/{hash-D2Rqd2J2.mjs → hash-qSYPMJ8w.mjs} +0 -0
- /package/dist/{media-url-D9kdpoLS.mjs → media-url-D5E1a47B.mjs} +0 -0
- /package/dist/{mime-BnVhH671.mjs → mime-FkfazULS.mjs} +0 -0
- /package/dist/{mode-BJwb_MgK.mjs → mode-B_m1BGFh.mjs} +0 -0
- /package/dist/{normalize-aTwryvvi.mjs → normalize-DrmlLn40.mjs} +0 -0
- /package/dist/{oauth-authority-P5YMSk2z.mjs → oauth-authority-DVlLFhsZ.mjs} +0 -0
- /package/dist/{oauth-state-store-CMqLdo4I.mjs → oauth-state-store-nf-78RbK.mjs} +0 -0
- /package/dist/{options-JiLWB6Bt.mjs → options-yFkLUuTw.mjs} +0 -0
- /package/dist/{output-7HDrYTSQ.mjs → output-B1GiXeT8.mjs} +0 -0
- /package/dist/{parser-kettsjWc.mjs → parser-CTlxybRo.mjs} +0 -0
- /package/dist/{passkey-config-DVzQ3dv3.mjs → passkey-config-BLon3ct9.mjs} +0 -0
- /package/dist/{placeholder-DJLP_HY7.d.mts → placeholder-DdZV3I8x.d.mts} +0 -0
- /package/dist/{portable-text-BE7nszX6.d.mts → portable-text-HNmwL-7L.d.mts} +0 -0
- /package/dist/{portable-text-tQhvPLf1.mjs → portable-text-p0Ojfpfo.mjs} +0 -0
- /package/dist/{process-cache-C19OA3am.mjs → process-cache-CMy5M80h.mjs} +0 -0
- /package/dist/{provider-loader-DERzBMUz.mjs → provider-loader-DlaT1usE.mjs} +0 -0
- /package/dist/{public-discovery-BGyhuD5U.mjs → public-discovery-BnqYofSK.mjs} +0 -0
- /package/dist/{public-url-DFXUU6Wp.mjs → public-url-BHjYWuaN.mjs} +0 -0
- /package/dist/{public-url-sR8SVmTt.mjs → public-url-GQygrYmg.mjs} +0 -0
- /package/dist/{redirect-BxacnBYL.mjs → redirect-CokmLN5o.mjs} +0 -0
- /package/dist/{request-cache-8_ifFzVw.mjs → request-cache-CizvDoxV.mjs} +0 -0
- /package/dist/{resolve-DEKC4qVa.mjs → resolve-BxFGSKYu.mjs} +0 -0
- /package/dist/{runtime-env-CPTzh0mZ.mjs → runtime-env-DpYGy4pT.mjs} +0 -0
- /package/dist/{scheduled-publish-BxdShRGs.d.mts → scheduled-publish-eCNGpvNm.d.mts} +0 -0
- /package/dist/{seo-contributions-LEFs1d7w.mjs → seo-contributions-ZKqrqsdT.mjs} +0 -0
- /package/dist/{service-kQ5ljRzX.mjs → service-DeX1PRNt.mjs} +0 -0
- /package/dist/{session-user-B8yYh0g5.mjs → session-user-B0XMp1GC.mjs} +0 -0
- /package/dist/{setup-nonce-B6A5Y1ea.mjs → setup-nonce-B9IO7PbK.mjs} +0 -0
- /package/dist/{sidecar-client-BwPhhz-F.mjs → sidecar-client-2hx5G46s.mjs} +0 -0
- /package/dist/{slugify-kD31VIv2.mjs → slugify-DvoaEPtL.mjs} +0 -0
- /package/dist/{ssrf-C9dyjU8O.mjs → ssrf-DcD8vn3E.mjs} +0 -0
- /package/dist/{stable-hash-B9Tbb2f_.mjs → stable-hash-9RDJgfif.mjs} +0 -0
- /package/dist/{status-Bjf_uSrW.mjs → status-B2xUokyJ.mjs} +0 -0
- /package/dist/{transport-BrU1aDY5.mjs → transport-BK_me2MZ.mjs} +0 -0
- /package/dist/{transport-CZbtxgKZ.d.mts → transport-CVU5rp7W.d.mts} +0 -0
- /package/dist/{types-DNBL-4Sn.mjs → types-B3Uq7Czg.mjs} +0 -0
- /package/dist/{types-DsJTXStN.d.mts → types-BJztoTbF.d.mts} +0 -0
- /package/dist/{types-COvyXIp7.mjs → types-BgUxCuwu.mjs} +0 -0
- /package/dist/{types-KFzuijKE.d.mts → types-C0heD9oI.d.mts} +0 -0
- /package/dist/{types-B03h5jt_.d.mts → types-DheoByey.d.mts} +0 -0
- /package/dist/{types-SlLXjRpg.d.mts → types-I5LHzk_M.d.mts} +0 -0
- /package/dist/{types-PLJ9hlhh.mjs → types-Nm0cMxEh.mjs} +0 -0
- /package/dist/{types-CtGSEKEJ.d.mts → types-PxxPTFSl.d.mts} +0 -0
- /package/dist/{url-DGG3hw_h.mjs → url-Coamqvs4.mjs} +0 -0
- /package/dist/{url-DUz3LbCs.mjs → url-dn4mFfCI.mjs} +0 -0
- /package/dist/{workers-build-BkmPhclj.mjs → workers-build-XNBt1wGF.mjs} +0 -0
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/content-storage/hook-events.d.ts
|
|
4
|
+
declare const contentStorageHookSchema: z.ZodEnum<{
|
|
5
|
+
"content:afterSave": "content:afterSave";
|
|
6
|
+
"content:afterPublish": "content:afterPublish";
|
|
7
|
+
"content:afterUnpublish": "content:afterUnpublish";
|
|
8
|
+
"content:afterDelete": "content:afterDelete";
|
|
9
|
+
"content:afterRestore": "content:afterRestore";
|
|
10
|
+
"content:afterSchedule": "content:afterSchedule";
|
|
11
|
+
"content:afterUnschedule": "content:afterUnschedule";
|
|
12
|
+
}>;
|
|
13
|
+
type ContentStorageHookName = z.infer<typeof contentStorageHookSchema>;
|
|
14
|
+
interface ContentStorageHookTarget {
|
|
15
|
+
hook: ContentStorageHookName;
|
|
16
|
+
pluginId: string;
|
|
17
|
+
timeoutMs: number;
|
|
18
|
+
}
|
|
19
|
+
declare const contentStorageHookSnapshotSchema: z.ZodObject<{
|
|
20
|
+
collection: z.ZodString;
|
|
21
|
+
id: z.ZodString;
|
|
22
|
+
isNew: z.ZodBoolean;
|
|
23
|
+
permanent: z.ZodBoolean;
|
|
24
|
+
content: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
|
|
25
|
+
previousContent: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodJSONSchema>>;
|
|
26
|
+
}, z.core.$strict>;
|
|
27
|
+
type ContentStorageHookSnapshot = z.infer<typeof contentStorageHookSnapshotSchema>;
|
|
28
|
+
type ContentStorageHookEvent = ContentStorageHookSnapshot & {
|
|
29
|
+
idempotencyKey: string;
|
|
30
|
+
};
|
|
31
|
+
//#endregion
|
|
32
|
+
export { ContentStorageHookName as n, ContentStorageHookTarget as r, ContentStorageHookEvent as t };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { n as slugify } from "./slugify-
|
|
2
|
-
import { t as TaxonomyRepository } from "./taxonomy-
|
|
3
|
-
import { t as OptionsRepository } from "./options-
|
|
4
|
-
import { a as validateExternalUrl, n as resolveAndValidateExternalUrl, r as ssrfSafeFetch } from "./ssrf-
|
|
5
|
-
import { o as invalidateSiteSettingsCache } from "./settings-
|
|
6
|
-
import { n as resolveLocaleChain } from "./resolve-
|
|
7
|
-
import { l as invalidateTermCache } from "./taxonomies-
|
|
8
|
-
import { n as parseWxrString } from "./parser-
|
|
9
|
-
import { _ as sanitizeFieldSlug, a as getFilenameFromUrl, c as isInternalMetaKey, d as mapMetaKeyToField, f as mapPostTypeToCollection, h as relativizeContentLinks, i as checkSchemaCompatibility, l as isInternalPostType, m as normalizeUrl$1, n as FEATURED_IMAGE_FIELD, o as guessMimeType, p as mapWpStatus, r as buildAttachmentMap, s as inferMetaType, t as BASE_REQUIRED_FIELDS, u as isPluginBookkeepingMeta } from "./utils-
|
|
1
|
+
import { n as slugify } from "./slugify-DvoaEPtL.mjs";
|
|
2
|
+
import { t as TaxonomyRepository } from "./taxonomy-B8w8F2Cs.mjs";
|
|
3
|
+
import { t as OptionsRepository } from "./options-yFkLUuTw.mjs";
|
|
4
|
+
import { a as validateExternalUrl, n as resolveAndValidateExternalUrl, r as ssrfSafeFetch } from "./ssrf-DcD8vn3E.mjs";
|
|
5
|
+
import { o as invalidateSiteSettingsCache } from "./settings-DDOB3gW1.mjs";
|
|
6
|
+
import { n as resolveLocaleChain } from "./resolve-BxFGSKYu.mjs";
|
|
7
|
+
import { l as invalidateTermCache } from "./taxonomies-BI26Bk-M.mjs";
|
|
8
|
+
import { n as parseWxrString } from "./parser-CTlxybRo.mjs";
|
|
9
|
+
import { _ as sanitizeFieldSlug, a as getFilenameFromUrl, c as isInternalMetaKey, d as mapMetaKeyToField, f as mapPostTypeToCollection, h as relativizeContentLinks, i as checkSchemaCompatibility, l as isInternalPostType, m as normalizeUrl$1, n as FEATURED_IMAGE_FIELD, o as guessMimeType, p as mapWpStatus, r as buildAttachmentMap, s as inferMetaType, t as BASE_REQUIRED_FIELDS, u as isPluginBookkeepingMeta } from "./utils-CklSLz9F.mjs";
|
|
10
10
|
import { ulid } from "ulidx";
|
|
11
11
|
import { gutenbergToPortableText } from "@dineway-ai/gutenberg-to-portable-text";
|
|
12
12
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { n as ContentBylineCredit, t as BylineSummary, u as FindManyResult } from "./types-
|
|
2
|
-
import {
|
|
1
|
+
import { n as ContentBylineCredit, t as BylineSummary, u as FindManyResult } from "./types-ex-UrNlz.mjs";
|
|
2
|
+
import { n as Database, t as ContentBylineTable } from "./types-Dpv_MvwZ.mjs";
|
|
3
3
|
import { AtomicBatch } from "./database/batch.mjs";
|
|
4
|
-
import { d as ImportSource, g as ProbeResult } from "./types-
|
|
5
|
-
import { Kysely } from "kysely";
|
|
4
|
+
import { d as ImportSource, g as ProbeResult } from "./types-BJztoTbF.mjs";
|
|
5
|
+
import { Kysely, Selectable } from "kysely";
|
|
6
6
|
import { PortableTextBlock } from "@dineway-ai/gutenberg-to-portable-text";
|
|
7
7
|
import { Readable } from "node:stream";
|
|
8
8
|
|
|
@@ -64,6 +64,7 @@ declare class BylineRepository {
|
|
|
64
64
|
delete(id: string): Promise<boolean>;
|
|
65
65
|
getContentBylines(collectionSlug: string, contentId: string, options?: {
|
|
66
66
|
locale?: string;
|
|
67
|
+
assignments?: readonly Pick<ContentBylineTable, "byline_id" | "sort_order" | "role_label">[];
|
|
67
68
|
}): Promise<ContentBylineCredit[]>;
|
|
68
69
|
hasContentBylines(collectionSlug: string, contentId: string): Promise<boolean>;
|
|
69
70
|
hasContentBylinesMany(collectionSlug: string, contentIds: string[]): Promise<Set<string>>;
|
|
@@ -85,7 +86,13 @@ declare class BylineRepository {
|
|
|
85
86
|
}): Promise<Map<string, BylineSummary>>;
|
|
86
87
|
prepareCopyContentBylines(collectionSlug: string, sourceContentId: string, targetContentId: string): Promise<AtomicBatch>;
|
|
87
88
|
copyContentBylines(collectionSlug: string, sourceContentId: string, targetContentId: string): Promise<void>;
|
|
88
|
-
prepareContentBylines(collectionSlug: string, contentId: string, inputBylines: ContentBylineInput[]
|
|
89
|
+
prepareContentBylines(collectionSlug: string, contentId: string, inputBylines: ContentBylineInput[], identity?: {
|
|
90
|
+
prefix?: string;
|
|
91
|
+
now?: string;
|
|
92
|
+
primaryIndex?: boolean;
|
|
93
|
+
}): Promise<AtomicBatch & {
|
|
94
|
+
rows: Selectable<ContentBylineTable>[];
|
|
95
|
+
}>;
|
|
89
96
|
setContentBylines(collectionSlug: string, contentId: string, inputBylines: ContentBylineInput[]): Promise<ContentBylineCredit[]>;
|
|
90
97
|
}
|
|
91
98
|
//#endregion
|
package/dist/index.d.mts
CHANGED
|
@@ -1,22 +1,25 @@
|
|
|
1
1
|
import { AfterCallback, after } from "./after.mjs";
|
|
2
|
-
import { _ as UpdateCollectionInput, a as ColumnType, d as FieldType, f as FieldValidation, g as RESERVED_FIELD_SLUGS, h as RESERVED_COLLECTION_SLUGS, i as CollectionWithFields, l as FIELD_TYPE_TO_COLUMN, m as PublicDiscoveryRules, n as CollectionSource, o as CreateCollectionInput, p as FieldWidgetOptions, r as CollectionSupport, s as CreateFieldInput, t as Collection, u as Field, v as UpdateFieldInput } from "./types-
|
|
3
|
-
import { a as ContentSeo, c as DinewayValidationError, d as ScheduledNotDueError, f as UpdateContentInput, i as ContentItem, l as FindManyOptions, m as encodeCursor, n as ContentBylineCredit, o as ContentSeoInput, p as decodeCursor, s as CreateContentInput, t as BylineSummary, u as FindManyResult } from "./types-
|
|
4
|
-
import { $ as PluginMcpCommandPreview, $a as RevisionResponse, $i as resolveDinewayPath, $n as UpdateMenuItemInput, $o as handleContentUpdate, $r as PluginSecretStatus, $s as getDb, $t as PublicationReleasePreparationTarget, A as MediaUploadEvent, Aa as PortableTextUnknownBlock, Ai as invalidateCollectionCache, An as getEntryTerms, Ar as verifyPreviewToken, As as MarkAssignmentsOverdueInput, At as ResolvedPlugin, B as PluginActor, Ba as UpdateSectionInput, Bi as ContentEntry, Bn as UpdateTermInput, Bo as handleContentDiscardDraft, Br as HandoffSnapshot, C as FieldWidgetConfig, Ca as PortableTextCodeBlock, Ci as verifyPreviewSignature, Cn as ReorderWidgetsInput, Co as SandboxRunnerFactory, Cr as getPreviewUrl, Cs as AssignmentActorRef, Ct as PortableTextBlockConfig, D as KVAccess, Da as PortableTextMarkDef, Di as contentNamespace, Dn as WidgetComponentDef, Do as PluginMcpTargetAuthorizer, Dr as VerifyPreviewTokenResult, Ds as AssignmentRepository, Dt as PublicPageSchema, E as HttpAccess, Ea as PortableTextLinkMark, Ei as cachedQuery, En as WidgetArea, Er as VerifyPreviewTokenOptions, Es as AssignmentPriority, Et as PublicPageImage, F as PageMetadataContribution, Fa as getSections, Fi as invalidateTaxonomyObjectCache, Fn as getTermsForEntries, Fo as handleContentCompare, Fr as CreateWorkflowAssignmentInput, Fs as SiteActivityActorType, Ft as StandardHookHandler, G as PluginAuthMethod, Ga as MediaListResponse, Gi as ResolvePathResult, Gn as getMenus, Go as handleContentListTrashed, Gr as NodeSandboxRunner, Gs as MediaRepository, Gt as PublicationReadinessBlocker, H as PluginAdminConfig, Ha as getCollectionInfo, Hi as EditFieldMeta, Hn as getBylineBySlug, Ho as handleContentGet, Hr as PublicationReleasePolicyContribution, Hs as RevisionRepository, Ht as isStandardPluginDefinition, I as PageMetadataEvent, Ia as CreateSectionInput, Ii as isObjectCacheActive, In as CreateTermInput, Io as handleContentCountScheduled, Ir as HandoffResumeResult, Is as SiteActivityRepository, It as StandardPluginDefinition, J as PluginD1Support, Ja as handleMediaDelete, Ji as TranslationsResult, Jn as Menu, Jo as handleContentRestore, Jr as SandboxNotAvailableError, Js as EntryData, Jt as PublicationReadinessPolicyTarget, K as PluginCapability, Ka as MediaResponse, Ki as SelectedCollectionData, Kn as CreateMenuInput, Ko as handleContentPermanentDelete, Kr as createNodeSandboxRunner, Ks as ContentRepository, Kt as PublicationReadinessPolicyBlocker, L as PageMetadataHandler, La as GetSectionsOptions, Li as CacheHint, Ln as TaxonomyDef, Lo as handleContentCountTrashed, Lr as HandoffSnapshotStore, Ls as SiteActivityResultStatus, Lt as StandardRouteEntry, M as PageFragmentContribution, Ma as ProseMirrorMark, Mi as invalidateMenuObjectCache, Mn as getTaxonomyDefs, Mr as AssignmentActionInput, Mt as ResolvedPluginMcpConfig, N as PageFragmentEvent, Na as ProseMirrorNode, Ni as invalidateObjectCache, Nn as getTaxonomyTerms, Nr as AssignmentListInput, Ns as CreateSiteActivityInput, Nt as RouteContext, O as LogAccess, Oa as PortableTextSpan, Oi as contentNamespaces, On as WidgetType, Or as generatePreviewToken, Os as AssignmentStatus, Ot as PublicSchemaNode, P as PageFragmentHandler, Pa as getSection, Pi as invalidateSchemaObjectCache, Pn as getTerm, Po as handleContentAuthors, Pr as AssignmentService, Ps as SiteActivity, Pt as StandardHookEntry, Q as PluginMcpAuthorization, Qa as RevisionListResponse, Qi as getTranslations, Qn as UpdateMenuInput, Qo as handleContentUnschedule, Qr as createReviewedPluginMcpCommandExecutor, Qt as PublicationReleasePolicy, Ra as Section, Ri as CollectionFilter, Rn as TaxonomyTerm, Ro as handleContentCreate, Rr as ResumeHandoffSnapshotInput, Rs as SiteActivitySourceType, Rt as StandardRouteHandler, S as EmailMessage, Sa as prosemirrorToPortableText, Sc as ManifestResponse, Si as signPreviewUrl, Sn as PropDef, So as SandboxRunner, Sr as buildPreviewUrl, Ss as Assignment, St as PluginTargetScope, T as HookName, Ta as PortableTextImageBlock, Ti as CachedQueryOptions, Tn as Widget, To as SerializedRequest, Tr as PreviewTokenPayload, Ts as AssignmentListQuery, Tt as PublicPageContext, U as PluginAdminExports, Ua as SchemaError, Ui as EntryResult, Un as getEntriesByByline, Uo as handleContentGetIncludingTrashed, Ur as PublicationReleasePolicyDisposition, Us as CreateMediaInput, V as PluginActorType, Va as validateContent, Vi as DinewayCollections, Vn as getByline, Vo as handleContentDuplicate, Vr as BuiltContentReleasePayload, Vt as StoredComment, W as PluginAdminPage, Wa as SchemaRegistry, Wi as InferCollectionData, Wn as getMenu, Wo as handleContentList, Wr as buildStableActionHash, Ws as MediaItem, Wt as PublicationPolicyOverride, X as PluginHooks, Xa as handleMediaList, Xi as getDinewayEntry, Xn as MenuItemType, Xo as handleContentTranslations, Xr as PluginManager, Xs as WhereRange, Xt as PublicationReadinessWarning, Y as PluginDefinition, Ya as handleMediaGet, Yi as getDinewayCollection, Yn as MenuItem, Yo as handleContentSchedule, Yr as createNoopSandboxRunner, Ys as EntryFilter, Z as PluginManifest, Za as handleMediaUpdate, Zi as getEditMeta, Zn as ReorderMenuItemsInput, Zo as handleContentUnpublish, Zr as createPluginManager, Zs as WhereValue, _ as EmailAfterSendHandler, _a as isSafeHref, _c as ApiContext, _i as PreviewSidecarClient, _n as getWidgetArea, _o as HookResult, _r as renderPreviewLoadingPage, _s as ContentReference, _t as PluginRouteMethod, a as CommentAfterModerateEvent, aa as GuestAccessExpectedScope, ai as definePlugin, an as search, ao as SiteBriefingAssembler, ar as getPluginSettings, as as ContentReviewHandlers, at as PluginMcpQueryTool, b as EmailDeliverEvent, ba as hashString, bc as FieldDescriptor, bi as defaultPreviewSidecarClient, bn as CreateWidgetAreaInput, bo as SandboxEmailSendCallback, br as isPreviewRequest, bs as RelationRepository, bt as PluginRouteTargetContext, c as CommentBeforeCreateHandler, ca as IssueGuestAccessTokenOptions, ci as FileSessionDatabaseFactory, cn as FTSManager, cr as setSiteSettings, cs as prepareContentWrite, ct as PluginMcpReversibility, d as ContentAccess, da as VerifyGuestAccessTokenResult, di as SessionDatabaseFactory, dn as SearchOptions, do as ConfirmedContentPublicationResult, dr as AppliedSnapshotMeta, ds as image, dt as PluginMcpTool, ea as CMSAnnotation, ec as DatabaseConfig, ei as PluginSecretStore, en as currentTimestamp, eo as handleRevisionGet, er as GetCommentsOptions, es as ReviewSubmissionError, et as PluginMcpCommandTool, f as ContentDeleteEvent, fa as hashGuestAccessToken, fi as SessionDatabaseHandle, fn as SearchResponse, fo as PublishConfirmedContentInput, fr as ApplySnapshotToDatabaseOptions, fs as FieldDefinition, ft as PluginMigration, g as EmailAfterSendEvent, ga as checkRateLimit, gi as SessionOpenOrCreateOptions, gn as Suggestion, go as HookPipeline, gr as Snapshot, gs as PortableTextBlock, gt as PluginRouteBodyMode, h as EmailAccess, ha as RateLimitResult, hi as SessionOpenOptions, hn as SuggestOptions, hr as getAppliedSnapshotMeta, hs as ImageValue, ht as PluginRouteAuthorization, i as CommentAfterCreateHandler, ia as createNoop, ii as runPluginMigrations, in as getSuggestions, io as SiteBriefing, ir as getPluginSetting, is as ReviewRequestActorInput, it as PluginMcpPiiPolicy, j as ModerationDecision, ja as ProseMirrorDocument, ji as invalidateCommentObjectCache, jn as getTaxonomyDef, jr as AssignmentAccessContext, js as ReviewRequest, jt as ResolvedPluginHooks, k as MediaAccess, ka as PortableTextTextBlock, ki as invalidateBylineObjectCache, kn as getEntriesByTerm, ko as PluginDescriptor, kr as parseContentId, ks as CreateAssignmentInput, kt as ResolvedHook, l as CommentModerateEvent, la as IssuedGuestAccessToken, li as FileSessionDatabaseFactoryOptions, ln as CollectionSearchOptions, lo as AtomicConfirmedContentAuthorizer, lr as PreviewToolbarConfig, ls as portableText, lt as PluginMcpRiskFactor, m as ContentPublishStateChangeEvent, ma as verifyGuestAccessToken, mi as SessionDatabaseLimitError, mn as SearchStats, mo as PluginRouteError, mr as dropSessionDatabaseTables, ms as FileValue, n as CollectionCommentSettings, na as FieldAnnotation, ni as ValidatedPluginManifest, nn as extractSearchableFields, no as handleRevisionRestore, nr as getCommentCount, ns as prepareAutomatedReview, nt as PluginMcpExecutionContext, o as CommentAfterModerateHandler, oa as GuestAccessTokenClaims, oi as FilePreviewMiddlewareConfig, on as searchCollection, oo as SiteBriefingContextEntry, or as getSiteSetting, os as ContentWriteInput, ot as PluginMcpResource, p as ContentHookEvent, pa as issueGuestAccessToken, pi as SessionDatabaseInfo, pn as SearchResult, pr as applySnapshotToDatabase, ps as FieldUIHints, pt as PluginRoute, q as PluginContext, qa as handleMediaCreate, qi as TranslationSummary, qn as CreateMenuItemInput, qo as handleContentPublish, qr as NoopSandboxRunner, qs as CollectionFilter$1, qt as PublicationReadinessPolicyFinding, r as CommentAfterCreateEvent, ra as createEditable, ri as pluginManifestSchema, rn as getSearchStats, ro as generateManifest, rr as getComments, rs as submitAutomatedReview, rt as PluginMcpPiiClass, s as CommentBeforeCreateEvent, sa as GuestAccessTokenConfigurationError, si as createFilePreviewMiddleware, sn as searchWithDb, sr as getSiteSettings, ss as PreparedContentWrite, st as PluginMcpResourceContent, t as BreadcrumbItem, ta as EditProxy, tc as DinewayDatabaseError, ti as PluginSecretStoreOptions, tn as extractPlainText, to as handleRevisionList, tr as GetCommentsResult, ts as ReviewSubmissionInput, tt as PluginMcpConfig, u as CommentModerateHandler, ua as VerifyGuestAccessTokenOptions, ui as SessionCleanupResult, un as SearchConfig, uo as ConfirmedContentAuthorizer, ur as renderPreviewToolbar, us as reference, ut as PluginMcpRiskLevel, v as EmailBeforeSendEvent, va as sanitizeHref, vc as ContentListResponse, vi as PreviewSidecarSignature, vn as getWidgetAreas, vo as createHookPipeline, vr as isBlockedInPreview, vs as CreateRelationInput, vt as PluginRouteTargetAuthorizationRequest, w as HookConfig, wa as PortableTextHtmlBlock, wi as CacheNamespace, wn as UpdateWidgetInput, wo as SandboxedPlugin, wr as GeneratePreviewTokenOptions, ws as AssignmentActorType, wt as PortableTextBlockField, x as EmailDeliverHandler, xa as portableTextToProsemirror, xc as ListResponse, xi as parsePreviewSignatureHeader, xn as CreateWidgetInput, xo as SandboxOptions, xr as GetPreviewUrlOptions, xs as UpdateRelationInput, xt as PluginStorageConfig, y as EmailBeforeSendHandler, ya as computeContentHash, yc as ContentResponse, yi as buildPreviewSignatureHeader, yn as getWidgetComponents, yo as SandboxEmailMessage, yr as getPreviewToken, ys as Relation, yt as PluginRouteTargetAuthorizer, z as PagePlacement, za as SectionSource, zi as CollectionResult, zn as TaxonomyTermRow, zo as handleContentDelete, zr as CreateHandoffSnapshotInput, zs as SiteActivityTimelineQuery, zt as StorageCollection } from "./types-D5JfvPvx.mjs";
|
|
5
|
-
import { $ as
|
|
6
|
-
import { _ as MediaValue, n as generatePlaceholder, r as normalizeMediaValue, t as PlaceholderData } from "./placeholder-
|
|
7
|
-
import { n as getMigrationStatus, t as MigrationStatus } from "./runner-
|
|
8
|
-
import { C as parseWxr, D as ContentBylineInput, E as BylineRepository, O as CreateBylineInput, S as WxrTag, T as decodeSlug, _ as WxrAuthor, a as wxrSource, b as WxrPost, c as getFileSources, d as probeUrl, f as registerSource, g as WxrAttachment, i as parseWxrDate, k as UpdateBylineInput, l as getSource, n as wordpressRestSource, o as clearSources, p as importReusableBlocksAsSections, s as getAllSources, u as getUrlSources, v as WxrCategory, w as parseWxrString, x as WxrSite, y as WxrData } from "./index-
|
|
9
|
-
import
|
|
10
|
-
import { i as
|
|
11
|
-
import { i as
|
|
12
|
-
import {
|
|
13
|
-
import "./
|
|
14
|
-
import
|
|
15
|
-
import {
|
|
16
|
-
import "./
|
|
2
|
+
import { _ as UpdateCollectionInput, a as ColumnType, d as FieldType, f as FieldValidation, g as RESERVED_FIELD_SLUGS, h as RESERVED_COLLECTION_SLUGS, i as CollectionWithFields, l as FIELD_TYPE_TO_COLUMN, m as PublicDiscoveryRules, n as CollectionSource, o as CreateCollectionInput, p as FieldWidgetOptions, r as CollectionSupport, s as CreateFieldInput, t as Collection, u as Field, v as UpdateFieldInput } from "./types-I5LHzk_M.mjs";
|
|
3
|
+
import { a as ContentSeo, c as DinewayValidationError, d as ScheduledNotDueError, f as UpdateContentInput, i as ContentItem, l as FindManyOptions, m as encodeCursor, n as ContentBylineCredit, o as ContentSeoInput, p as decodeCursor, s as CreateContentInput, t as BylineSummary, u as FindManyResult } from "./types-ex-UrNlz.mjs";
|
|
4
|
+
import { $ as PluginMcpCommandPreview, $a as RevisionResponse, $i as resolveDinewayPath, $n as UpdateMenuItemInput, $o as handleContentUpdate, $r as PluginSecretStatus, $s as getDb, $t as PublicationReleasePreparationTarget, A as MediaUploadEvent, Aa as PortableTextUnknownBlock, Ai as invalidateCollectionCache, An as getEntryTerms, Ar as verifyPreviewToken, As as MarkAssignmentsOverdueInput, At as ResolvedPlugin, B as PluginActor, Ba as UpdateSectionInput, Bi as ContentEntry, Bn as UpdateTermInput, Bo as handleContentDiscardDraft, Br as HandoffSnapshot, C as FieldWidgetConfig, Ca as PortableTextCodeBlock, Ci as verifyPreviewSignature, Cn as ReorderWidgetsInput, Co as SandboxRunnerFactory, Cr as getPreviewUrl, Cs as AssignmentActorRef, Ct as PortableTextBlockConfig, D as KVAccess, Da as PortableTextMarkDef, Di as contentNamespace, Dn as WidgetComponentDef, Do as PluginMcpTargetAuthorizer, Dr as VerifyPreviewTokenResult, Ds as AssignmentRepository, Dt as PublicPageSchema, E as HttpAccess, Ea as PortableTextLinkMark, Ei as cachedQuery, En as WidgetArea, Er as VerifyPreviewTokenOptions, Es as AssignmentPriority, Et as PublicPageImage, F as PageMetadataContribution, Fa as getSections, Fi as invalidateTaxonomyObjectCache, Fn as getTermsForEntries, Fo as handleContentCompare, Fr as CreateWorkflowAssignmentInput, Fs as SiteActivityActorType, Ft as StandardHookHandler, G as PluginAuthMethod, Ga as MediaListResponse, Gi as ResolvePathResult, Gn as getMenus, Go as handleContentListTrashed, Gr as NodeSandboxRunner, Gs as MediaRepository, Gt as PublicationReadinessBlocker, H as PluginAdminConfig, Ha as getCollectionInfo, Hi as EditFieldMeta, Hn as getBylineBySlug, Ho as handleContentGet, Hr as PublicationReleasePolicyContribution, Hs as RevisionRepository, Ht as isStandardPluginDefinition, I as PageMetadataEvent, Ia as CreateSectionInput, Ii as isObjectCacheActive, In as CreateTermInput, Io as handleContentCountScheduled, Ir as HandoffResumeResult, Is as SiteActivityRepository, It as StandardPluginDefinition, J as PluginD1Support, Ja as handleMediaDelete, Ji as TranslationsResult, Jn as Menu, Jo as handleContentRestore, Jr as SandboxNotAvailableError, Js as EntryData, Jt as PublicationReadinessPolicyTarget, K as PluginCapability, Ka as MediaResponse, Ki as SelectedCollectionData, Kn as CreateMenuInput, Ko as handleContentPermanentDelete, Kr as createNodeSandboxRunner, Ks as ContentRepository, Kt as PublicationReadinessPolicyBlocker, L as PageMetadataHandler, La as GetSectionsOptions, Li as CacheHint, Ln as TaxonomyDef, Lo as handleContentCountTrashed, Lr as HandoffSnapshotStore, Ls as SiteActivityResultStatus, Lt as StandardRouteEntry, M as PageFragmentContribution, Ma as ProseMirrorMark, Mi as invalidateMenuObjectCache, Mn as getTaxonomyDefs, Mr as AssignmentActionInput, Mt as ResolvedPluginMcpConfig, N as PageFragmentEvent, Na as ProseMirrorNode, Ni as invalidateObjectCache, Nn as getTaxonomyTerms, Nr as AssignmentListInput, Ns as CreateSiteActivityInput, Nt as RouteContext, O as LogAccess, Oa as PortableTextSpan, Oi as contentNamespaces, On as WidgetType, Or as generatePreviewToken, Os as AssignmentStatus, Ot as PublicSchemaNode, P as PageFragmentHandler, Pa as getSection, Pi as invalidateSchemaObjectCache, Pn as getTerm, Po as handleContentAuthors, Pr as AssignmentService, Ps as SiteActivity, Pt as StandardHookEntry, Q as PluginMcpAuthorization, Qa as RevisionListResponse, Qi as getTranslations, Qn as UpdateMenuInput, Qo as handleContentUnschedule, Qr as createReviewedPluginMcpCommandExecutor, Qt as PublicationReleasePolicy, Ra as Section, Ri as CollectionFilter, Rn as TaxonomyTerm, Ro as handleContentCreate, Rr as ResumeHandoffSnapshotInput, Rs as SiteActivitySourceType, Rt as StandardRouteHandler, S as EmailMessage, Sa as prosemirrorToPortableText, Sc as ManifestResponse, Si as signPreviewUrl, Sn as PropDef, So as SandboxRunner, Sr as buildPreviewUrl, Ss as Assignment, St as PluginTargetScope, T as HookName, Ta as PortableTextImageBlock, Ti as CachedQueryOptions, Tn as Widget, To as SerializedRequest, Tr as PreviewTokenPayload, Ts as AssignmentListQuery, Tt as PublicPageContext, U as PluginAdminExports, Ua as SchemaError, Ui as EntryResult, Un as getEntriesByByline, Uo as handleContentGetIncludingTrashed, Ur as PublicationReleasePolicyDisposition, Us as CreateMediaInput, V as PluginActorType, Va as validateContent, Vi as DinewayCollections, Vn as getByline, Vo as handleContentDuplicate, Vr as BuiltContentReleasePayload, Vt as StoredComment, W as PluginAdminPage, Wa as SchemaRegistry, Wi as InferCollectionData, Wn as getMenu, Wo as handleContentList, Wr as buildStableActionHash, Ws as MediaItem, Wt as PublicationPolicyOverride, X as PluginHooks, Xa as handleMediaList, Xi as getDinewayEntry, Xn as MenuItemType, Xo as handleContentTranslations, Xr as PluginManager, Xs as WhereRange, Xt as PublicationReadinessWarning, Y as PluginDefinition, Ya as handleMediaGet, Yi as getDinewayCollection, Yn as MenuItem, Yo as handleContentSchedule, Yr as createNoopSandboxRunner, Ys as EntryFilter, Z as PluginManifest, Za as handleMediaUpdate, Zi as getEditMeta, Zn as ReorderMenuItemsInput, Zo as handleContentUnpublish, Zr as createPluginManager, Zs as WhereValue, _ as EmailAfterSendHandler, _a as isSafeHref, _c as ApiContext, _i as PreviewSidecarClient, _n as getWidgetArea, _o as HookResult, _r as renderPreviewLoadingPage, _s as ContentReference, _t as PluginRouteMethod, a as CommentAfterModerateEvent, aa as GuestAccessExpectedScope, ai as definePlugin, an as search, ao as SiteBriefingAssembler, ar as getPluginSettings, as as ContentReviewHandlers, at as PluginMcpQueryTool, b as EmailDeliverEvent, ba as hashString, bc as FieldDescriptor, bi as defaultPreviewSidecarClient, bn as CreateWidgetAreaInput, bo as SandboxEmailSendCallback, br as isPreviewRequest, bs as RelationRepository, bt as PluginRouteTargetContext, c as CommentBeforeCreateHandler, ca as IssueGuestAccessTokenOptions, ci as FileSessionDatabaseFactory, cn as FTSManager, cr as setSiteSettings, cs as prepareContentWrite, ct as PluginMcpReversibility, d as ContentAccess, da as VerifyGuestAccessTokenResult, di as SessionDatabaseFactory, dn as SearchOptions, do as ConfirmedContentPublicationResult, dr as AppliedSnapshotMeta, ds as image, dt as PluginMcpTool, ea as CMSAnnotation, ec as DatabaseConfig, ei as PluginSecretStore, en as currentTimestamp, eo as handleRevisionGet, er as GetCommentsOptions, es as ReviewSubmissionError, et as PluginMcpCommandTool, f as ContentDeleteEvent, fa as hashGuestAccessToken, fi as SessionDatabaseHandle, fn as SearchResponse, fo as PublishConfirmedContentInput, fr as ApplySnapshotToDatabaseOptions, fs as FieldDefinition, ft as PluginMigration, g as EmailAfterSendEvent, ga as checkRateLimit, gi as SessionOpenOrCreateOptions, gn as Suggestion, go as HookPipeline, gr as Snapshot, gs as PortableTextBlock, gt as PluginRouteBodyMode, h as EmailAccess, ha as RateLimitResult, hi as SessionOpenOptions, hn as SuggestOptions, hr as getAppliedSnapshotMeta, hs as ImageValue, ht as PluginRouteAuthorization, i as CommentAfterCreateHandler, ia as createNoop, ii as runPluginMigrations, in as getSuggestions, io as SiteBriefing, ir as getPluginSetting, is as ReviewRequestActorInput, it as PluginMcpPiiPolicy, j as ModerationDecision, ja as ProseMirrorDocument, ji as invalidateCommentObjectCache, jn as getTaxonomyDef, jr as AssignmentAccessContext, js as ReviewRequest, jt as ResolvedPluginHooks, k as MediaAccess, ka as PortableTextTextBlock, ki as invalidateBylineObjectCache, kn as getEntriesByTerm, ko as PluginDescriptor, kr as parseContentId, ks as CreateAssignmentInput, kt as ResolvedHook, l as CommentModerateEvent, la as IssuedGuestAccessToken, li as FileSessionDatabaseFactoryOptions, ln as CollectionSearchOptions, lo as AtomicConfirmedContentAuthorizer, lr as PreviewToolbarConfig, ls as portableText, lt as PluginMcpRiskFactor, m as ContentPublishStateChangeEvent, ma as verifyGuestAccessToken, mi as SessionDatabaseLimitError, mn as SearchStats, mo as PluginRouteError, mr as dropSessionDatabaseTables, ms as FileValue, n as CollectionCommentSettings, na as FieldAnnotation, ni as ValidatedPluginManifest, nn as extractSearchableFields, no as handleRevisionRestore, nr as getCommentCount, ns as prepareAutomatedReview, nt as PluginMcpExecutionContext, o as CommentAfterModerateHandler, oa as GuestAccessTokenClaims, oi as FilePreviewMiddlewareConfig, on as searchCollection, oo as SiteBriefingContextEntry, or as getSiteSetting, os as ContentWriteInput, ot as PluginMcpResource, p as ContentHookEvent, pa as issueGuestAccessToken, pi as SessionDatabaseInfo, pn as SearchResult, pr as applySnapshotToDatabase, ps as FieldUIHints, pt as PluginRoute, q as PluginContext, qa as handleMediaCreate, qi as TranslationSummary, qn as CreateMenuItemInput, qo as handleContentPublish, qr as NoopSandboxRunner, qs as CollectionFilter$1, qt as PublicationReadinessPolicyFinding, r as CommentAfterCreateEvent, ra as createEditable, ri as pluginManifestSchema, rn as getSearchStats, ro as generateManifest, rr as getComments, rs as submitAutomatedReview, rt as PluginMcpPiiClass, s as CommentBeforeCreateEvent, sa as GuestAccessTokenConfigurationError, si as createFilePreviewMiddleware, sn as searchWithDb, sr as getSiteSettings, ss as PreparedContentWrite, st as PluginMcpResourceContent, t as BreadcrumbItem, ta as EditProxy, tc as DinewayDatabaseError, ti as PluginSecretStoreOptions, tn as extractPlainText, to as handleRevisionList, tr as GetCommentsResult, ts as ReviewSubmissionInput, tt as PluginMcpConfig, u as CommentModerateHandler, ua as VerifyGuestAccessTokenOptions, ui as SessionCleanupResult, un as SearchConfig, uo as ConfirmedContentAuthorizer, ur as renderPreviewToolbar, us as reference, ut as PluginMcpRiskLevel, v as EmailBeforeSendEvent, va as sanitizeHref, vc as ContentListResponse, vi as PreviewSidecarSignature, vn as getWidgetAreas, vo as createHookPipeline, vr as isBlockedInPreview, vs as CreateRelationInput, vt as PluginRouteTargetAuthorizationRequest, w as HookConfig, wa as PortableTextHtmlBlock, wi as CacheNamespace, wn as UpdateWidgetInput, wo as SandboxedPlugin, wr as GeneratePreviewTokenOptions, ws as AssignmentActorType, wt as PortableTextBlockField, x as EmailDeliverHandler, xa as portableTextToProsemirror, xc as ListResponse, xi as parsePreviewSignatureHeader, xn as CreateWidgetInput, xo as SandboxOptions, xr as GetPreviewUrlOptions, xs as UpdateRelationInput, xt as PluginStorageConfig, y as EmailBeforeSendHandler, ya as computeContentHash, yc as ContentResponse, yi as buildPreviewSignatureHeader, yn as getWidgetComponents, yo as SandboxEmailMessage, yr as getPreviewToken, ys as Relation, yt as PluginRouteTargetAuthorizer, z as PagePlacement, za as SectionSource, zi as CollectionResult, zn as TaxonomyTermRow, zo as handleContentDelete, zr as CreateHandoffSnapshotInput, zs as SiteActivityTimelineQuery, zt as StorageCollection } from "./types-0gRlZbhN.mjs";
|
|
5
|
+
import { $ as RestaurantReservationExperienceIncludedAddonTable, $t as VenuePaymentEventTable, A as RestaurantNotificationSettingsTable, At as UserTable, B as RestaurantOutboxDeliveryTable, Bt as VenueGuestAccessTable, C as RestaurantMenuLocationAssignmentTable, Ct as RestaurantServiceScope, D as RestaurantMenuTable, Dt as RestaurantTaxMode, E as RestaurantMenuSectionTable, Et as RestaurantTableTable, F as RestaurantOrderSnapshotTable, Ft as VenueBookingPolicyTable, G as RestaurantPriorityAlertOpportunityTable, Gt as VenueOrderCancellationSnapshotTable, H as RestaurantPaymentStatus, Ht as VenueLocationTable, I as RestaurantOrderSource, It as VenueCancellationPolicyTable, J as RestaurantReservationAddonCategoryTable, Jt as VenueOrderTable, K as RestaurantPriorityAlertTable, Kt as VenueOrderStatus, L as RestaurantOrderStatus, Lt as VenueCancellationPolicyTierTable, M as RestaurantOrderItemModifierTable, Mt as VenueAvailabilityRuleTable, N as RestaurantOrderItemTable, Nt as VenueBookingHoldTable, O as RestaurantModifierGroupTable, Ot as RestaurantZoneTable, P as RestaurantOrderSequenceTable, Pt as VenueBookingMode, Q as RestaurantReservationExperienceAddonCategoryTable, Qt as VenuePaymentCollection, R as RestaurantOrderStatusHistoryTable, Rt as VenueConversationReadTable, S as RestaurantMenuItemTranslationTable, St as RestaurantReservationTableAssignmentTable, T as RestaurantMenuSectionItemTable, Tt as RestaurantTabRoundTable, U as RestaurantPaymentTable, Ut as VenueMessageTable, V as RestaurantPaymentFlow, Vt as VenueLocationMembershipTable, W as RestaurantPriorityAlertDeliveryTable, Wt as VenueNotificationSettingsTable, X as RestaurantReservationBlockTable, Xt as VenuePaymentAllocationStatus, Y as RestaurantReservationAddonTable, Yt as VenueOutboxEventTable, Z as RestaurantReservationDemandSettingsTable, Zt as VenuePaymentAllocationTable, _ as RestaurantHoursTable, _t as RestaurantReservationRequestTable, a as RestaurantCapacityOverrideTable, an as VenueQuoteStatus, at as RestaurantReservationHoldCommercialSelectionTable, b as RestaurantMenuItemModifierGroupTable, bt as RestaurantReservationStatus, c as RestaurantDeliverySettingsTable, cn as VenueRecordStatus, ct as RestaurantReservationOfferLinkDeliveryTable, d as RestaurantDineInSettingsTable, dn as VenueReviewResponseTable, dt as RestaurantReservationPromotionAllocationTable, en as VenuePaymentRecordStatus, et as RestaurantReservationExperienceTable, f as RestaurantFulfilmentType, fn as VenueReviewTable, ft as RestaurantReservationPromotionOperationTable, g as RestaurantHoursOverrideTable, gt as RestaurantReservationQuoteTable, h as RestaurantGuestAccessTable, hn as VenueTable, ht as RestaurantReservationQuoteLineTable, i as RestaurantCapacityCounterTable, in as VenueQuoteRecordStatus, it as RestaurantReservationHoldAddonTable, j as RestaurantOperatingSettingsTable, jt as VenueAvailabilityBlockTable, k as RestaurantModifierOptionTable, l as RestaurantDeliveryZoneTable, ln as VenueRefundTable, lt as RestaurantReservationOfferTable, m as RestaurantGiftCardTable, mn as VenueSpaceTable, mt as RestaurantReservationQuoteCheckoutTable, n as Database, nn as VenuePaymentTable, nt as RestaurantReservationGiftCardOperationTable, o as RestaurantCartHoldTable, on as VenueQuoteTable, ot as RestaurantReservationHoldTable, p as RestaurantGiftCardLedgerEntryTable, pn as VenueSpaceLayoutTable, pt as RestaurantReservationPromotionTable, q as RestaurantRefundTable, qt as VenueOrderStatusHistoryTable, r as MediaTable, rn as VenueQuoteLineTable, rt as RestaurantReservationHoldAddonOperationTable, s as RestaurantClosureTable, sn as VenueRatePlanTable, st as RestaurantReservationLanguageSettingsTable, tn as VenuePaymentStatus, tt as RestaurantReservationGiftCardAllocationTable, u as RestaurantDineInSessionTable, un as VenueReviewInvitationTable, ut as RestaurantReservationPaymentPolicyTable, v as RestaurantLocationMembershipTable, vt as RestaurantReservationRequestTableAssignmentTable, w as RestaurantMenuOverrideTable, wt as RestaurantSpecialHoursTable, x as RestaurantMenuItemTable, xt as RestaurantReservationTable, y as RestaurantLocationTable, yt as RestaurantReservationSettingsTable, z as RestaurantOrderTable, zt as VenueConversationTable } from "./types-Dpv_MvwZ.mjs";
|
|
6
|
+
import { _ as MediaValue, n as generatePlaceholder, r as normalizeMediaValue, t as PlaceholderData } from "./placeholder-DdZV3I8x.mjs";
|
|
7
|
+
import { n as getMigrationStatus, t as MigrationStatus } from "./runner-DXQkyPeX.mjs";
|
|
8
|
+
import { C as parseWxr, D as ContentBylineInput, E as BylineRepository, O as CreateBylineInput, S as WxrTag, T as decodeSlug, _ as WxrAuthor, a as wxrSource, b as WxrPost, c as getFileSources, d as probeUrl, f as registerSource, g as WxrAttachment, i as parseWxrDate, k as UpdateBylineInput, l as getSource, n as wordpressRestSource, o as clearSources, p as importReusableBlocksAsSections, s as getAllSources, u as getUrlSources, v as WxrCategory, w as parseWxrString, x as WxrSite, y as WxrData } from "./index-CLj17kW9.mjs";
|
|
9
|
+
import "./types-qOEot0UQ.mjs";
|
|
10
|
+
import { a as AuthResult, i as AuthProviderModule, n as AuthProviderAdminExports, o as AuthRouteDescriptor, r as AuthProviderDescriptor, s as ExternalAuthConfig, t as AuthDescriptor } from "./types-DheoByey.mjs";
|
|
11
|
+
import { i as PostgresConfig, n as DatabaseDialectType, r as LibsqlConfig, s as SqliteConfig, t as DatabaseDescriptor } from "./adapters-lDnJjNDz.mjs";
|
|
12
|
+
import { i as ObjectCacheRuntimeConfig, n as ObjectCacheBackend, r as ObjectCacheDescriptor } from "./types-PxxPTFSl.mjs";
|
|
13
|
+
import "./runtime-Bs2JMbb2.mjs";
|
|
14
|
+
import "./hook-events-BQw73jc7.mjs";
|
|
15
|
+
import { a as ListOptions, c as S3StorageConfig, d as Storage, f as StorageDescriptor, i as FileInfo, l as SignedUploadOptions, n as DinewayStorageError, o as ListResult, p as UploadResult, r as DownloadResult, s as LocalStorageConfig, t as CreateStorageFn, u as SignedUploadUrl } from "./types-C0heD9oI.mjs";
|
|
16
|
+
import "./scheduled-publish-eCNGpvNm.mjs";
|
|
17
|
+
import { c as I18nConfig, d as isI18nEnabled, l as getFallbackChain, n as resolveContentUrl, t as ResolveContentUrlInput, u as getI18nConfig } from "./public-url-CEC1vj02.mjs";
|
|
18
|
+
import { C as SiteSettingKey, S as SeoSettings, _ as SeedTaxonomyTerm, a as applySeed, b as ValidationResult, c as SeedCollection, d as SeedFile, f as SeedMenu, g as SeedTaxonomy, l as SeedContentEntry, o as SeedApplyOptions, p as SeedMenuItem, s as SeedApplyResult, t as validateSeed, u as SeedField, v as SeedWidget, w as SiteSettings, x as MediaReference, y as SeedWidgetArea } from "./validate-DUscf6VG.mjs";
|
|
19
|
+
import "./byline-fields-B7pQ3LMi.mjs";
|
|
17
20
|
import { DinewayRequestContext, getRequestContext, runWithContext } from "./request-context.mjs";
|
|
18
21
|
import { adaptSandboxEntry } from "./plugins/adapt-sandbox-entry.mjs";
|
|
19
|
-
import { S as UrlInput, _ as SourceAuth, a as FileInput, b as SourceProbeResult, c as ImportContext, d as ImportSource, f as NormalizedItem, g as ProbeResult, h as PostTypeMapping, i as FieldCompatibility, l as ImportFieldDef, m as PostTypeAnalysis, n as CollectionSchemaStatus, o as ImportAnalysis, p as OAuthInput, r as FetchOptions, s as ImportConfig, t as AttachmentInfo, u as ImportResult, v as SourceCapabilities, x as SuggestedAction, y as SourceInput } from "./types-
|
|
22
|
+
import { S as UrlInput, _ as SourceAuth, a as FileInput, b as SourceProbeResult, c as ImportContext, d as ImportSource, f as NormalizedItem, g as ProbeResult, h as PostTypeMapping, i as FieldCompatibility, l as ImportFieldDef, m as PostTypeAnalysis, n as CollectionSchemaStatus, o as ImportAnalysis, p as OAuthInput, r as FetchOptions, s as ImportConfig, t as AttachmentInfo, u as ImportResult, v as SourceCapabilities, x as SuggestedAction, y as SourceInput } from "./types-BJztoTbF.mjs";
|
|
20
23
|
import { SeoMeta, SeoMetaOptions, getContentSeo, getSeoMeta } from "./seo/index.mjs";
|
|
21
24
|
import "./seed/index.mjs";
|
|
22
25
|
import { ulid } from "ulidx";
|
package/dist/index.mjs
CHANGED
|
@@ -1,109 +1,118 @@
|
|
|
1
|
-
import { r as getMigrationStatus } from "./runner-
|
|
1
|
+
import { r as getMigrationStatus } from "./runner-CuG8o1uW.mjs";
|
|
2
2
|
import { getRequestContext, runWithContext } from "./request-context.mjs";
|
|
3
3
|
import { after } from "./after.mjs";
|
|
4
4
|
import { r as DinewayDatabaseError } from "./connection-DJ3GzHVH.mjs";
|
|
5
5
|
import "./d1-binding-DrLMBUxu.mjs";
|
|
6
6
|
import { i as currentTimestamp } from "./dialect-helpers-C6xtO-Ui.mjs";
|
|
7
7
|
import { n as getI18nConfig, r as isI18nEnabled, t as getFallbackChain } from "./config-XW5tMrH8.mjs";
|
|
8
|
-
import { C as
|
|
9
|
-
import "./
|
|
10
|
-
import
|
|
11
|
-
import
|
|
12
|
-
import "./
|
|
13
|
-
import "./
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import
|
|
17
|
-
import
|
|
18
|
-
import { t as
|
|
19
|
-
import "./
|
|
20
|
-
import "./
|
|
21
|
-
import "./
|
|
22
|
-
import "./
|
|
23
|
-
import "./
|
|
24
|
-
import { t as
|
|
25
|
-
import "./
|
|
26
|
-
import "./
|
|
27
|
-
import {
|
|
28
|
-
import "./
|
|
29
|
-
import "./
|
|
30
|
-
import "./
|
|
31
|
-
import "./
|
|
32
|
-
import
|
|
33
|
-
import "./
|
|
34
|
-
import "./
|
|
35
|
-
import { t as
|
|
36
|
-
import
|
|
37
|
-
import
|
|
38
|
-
import {
|
|
39
|
-
import "./
|
|
40
|
-
import
|
|
41
|
-
import "./
|
|
42
|
-
import {
|
|
43
|
-
import "./
|
|
44
|
-
import "./
|
|
45
|
-
import "./
|
|
46
|
-
import "./
|
|
47
|
-
import "./
|
|
48
|
-
import
|
|
49
|
-
import {
|
|
50
|
-
import "./
|
|
51
|
-
import {
|
|
52
|
-
import
|
|
53
|
-
import "./
|
|
54
|
-
import "./
|
|
55
|
-
import "./
|
|
56
|
-
import "./
|
|
57
|
-
import {
|
|
58
|
-
import
|
|
59
|
-
import {
|
|
60
|
-
import "./
|
|
61
|
-
import "./
|
|
62
|
-
import { t as
|
|
63
|
-
import "./
|
|
64
|
-
import "./
|
|
65
|
-
import "./
|
|
66
|
-
import {
|
|
67
|
-
import "./
|
|
68
|
-
import "./
|
|
69
|
-
import "./
|
|
70
|
-
import "./
|
|
71
|
-
import {
|
|
72
|
-
import "./
|
|
73
|
-
import
|
|
74
|
-
import
|
|
75
|
-
import {
|
|
76
|
-
import "./
|
|
77
|
-
import "./
|
|
78
|
-
import "./
|
|
79
|
-
import
|
|
80
|
-
import "./
|
|
81
|
-
import "./
|
|
82
|
-
import {
|
|
83
|
-
import {
|
|
84
|
-
import {
|
|
85
|
-
import
|
|
86
|
-
import
|
|
8
|
+
import { C as image, S as reference, _ as issueGuestAccessToken, a as createNoopSandboxRunner, b as prosemirrorToPortableText, c as PluginSecretStore, f as definePlugin, g as hashGuestAccessToken, h as GuestAccessTokenConfigurationError, i as SandboxNotAvailableError, l as PluginRouteError, n as createNodeSandboxRunner, o as PluginManager, r as NoopSandboxRunner, s as createPluginManager, t as NodeSandboxRunner, v as verifyGuestAccessToken, w as RelationRepository, x as portableText, y as portableTextToProsemirror } from "./plugins-LtyuDuIb.mjs";
|
|
9
|
+
import "./config-6R0bchVE.mjs";
|
|
10
|
+
import "./runtime-Ch5G-tnG.mjs";
|
|
11
|
+
import "./revisions-qNkae-Dq.mjs";
|
|
12
|
+
import "./runtime-env-DpYGy4pT.mjs";
|
|
13
|
+
import "./base64-qvSs0Gxy.mjs";
|
|
14
|
+
import { i as encodeCursor, n as ScheduledNotDueError, r as decodeCursor, t as DinewayValidationError } from "./types-BI3ULB3A.mjs";
|
|
15
|
+
import { r as getDb } from "./loader-Bq1aW12P.mjs";
|
|
16
|
+
import "./actor-D0AW80ld.mjs";
|
|
17
|
+
import "./atomic-authority-Bf5QZboB.mjs";
|
|
18
|
+
import { t as ContentRepository } from "./content-BNeuaVCS.mjs";
|
|
19
|
+
import "./request-cache-CizvDoxV.mjs";
|
|
20
|
+
import { a as RESERVED_COLLECTION_SLUGS, o as RESERVED_FIELD_SLUGS, r as FIELD_TYPE_TO_COLUMN } from "./types-BgUxCuwu.mjs";
|
|
21
|
+
import "./byline-registry-Caj0_gbU.mjs";
|
|
22
|
+
import "./field-defs-cache-dn5Tw79A.mjs";
|
|
23
|
+
import { a as invalidateBylineObjectCache, c as invalidateMenuObjectCache, d as invalidateTaxonomyObjectCache, f as isObjectCacheActive, i as contentNamespaces, l as invalidateObjectCache, n as cachedQuery, o as invalidateCollectionCache, r as contentNamespace, s as invalidateCommentObjectCache, t as CacheNamespace, u as invalidateSchemaObjectCache } from "./object-cache-DyI1SOBK.mjs";
|
|
24
|
+
import { t as BylineRepository } from "./byline-uuVB2B3E.mjs";
|
|
25
|
+
import "./owned-metadata-C99DzQuq.mjs";
|
|
26
|
+
import { t as decodeSlug } from "./slugify-DvoaEPtL.mjs";
|
|
27
|
+
import { t as RevisionRepository } from "./revision-DlxUfOD5.mjs";
|
|
28
|
+
import { t as MediaRepository } from "./media-BjH5OD-A.mjs";
|
|
29
|
+
import "./user-Bl2_8rhJ.mjs";
|
|
30
|
+
import "./terms-EskuqbKE.mjs";
|
|
31
|
+
import "./taxonomy-B8w8F2Cs.mjs";
|
|
32
|
+
import "./comment-BWDG1nQm.mjs";
|
|
33
|
+
import "./options-yFkLUuTw.mjs";
|
|
34
|
+
import "./audit-hXJBTPY0.mjs";
|
|
35
|
+
import { t as SiteActivityRepository } from "./site-activity-hpfJkmxQ.mjs";
|
|
36
|
+
import "./review-requests-DZYM51yI.mjs";
|
|
37
|
+
import "./publication-authorization-CJ4Jr5Hg.mjs";
|
|
38
|
+
import { n as AssignmentService, r as HandoffSnapshotStore, w as AssignmentRepository } from "./site-context-D3AmDdpQ.mjs";
|
|
39
|
+
import "./context-Cjz0y4Al.mjs";
|
|
40
|
+
import "./menus-CbBi7Ad7.mjs";
|
|
41
|
+
import "./redirect-CJ-FAbNK.mjs";
|
|
42
|
+
import { n as normalizeMediaValue } from "./normalize-DrmlLn40.mjs";
|
|
43
|
+
import { n as generatePlaceholder } from "./enrich-CAMsD1aT.mjs";
|
|
44
|
+
import { C as handleContentUnschedule, S as handleContentUnpublish, _ as handleContentPermanentDelete, a as handleContentAuthors, b as handleContentSchedule, c as handleContentCountTrashed, d as handleContentDiscardDraft, f as handleContentDuplicate, g as handleContentListTrashed, h as handleContentList, l as handleContentCreate, m as handleContentGetIncludingTrashed, n as prepareContentWrite, o as handleContentCompare, p as handleContentGet, s as handleContentCountScheduled, u as handleContentDelete, v as handleContentPublish, w as handleContentUpdate, x as handleContentTranslations, y as handleContentRestore } from "./content-write-43KZZ7dz.mjs";
|
|
45
|
+
import { n as extractSearchableFields, t as extractPlainText } from "./text-extraction-CdqMGYQK.mjs";
|
|
46
|
+
import "./version-store-BXv2D0de.mjs";
|
|
47
|
+
import "./write-intent-DuHVqks9.mjs";
|
|
48
|
+
import "./seo-uliFa7s-.mjs";
|
|
49
|
+
import { n as buildStableActionHash } from "./review-payload-Bhi52CbI.mjs";
|
|
50
|
+
import "./context-types-DDIJhGLs.mjs";
|
|
51
|
+
import { d as HookPipeline, f as createHookPipeline, t as SiteBriefingAssembler } from "./briefing-CaeEFvkD.mjs";
|
|
52
|
+
import "./runs-BjgLfqCn.mjs";
|
|
53
|
+
import "./secrets-CIYcw9T9.mjs";
|
|
54
|
+
import "./content-refresh-D7wpVFJ_.mjs";
|
|
55
|
+
import "./ssrf-DcD8vn3E.mjs";
|
|
56
|
+
import { n as hashString, t as computeContentHash } from "./hash-qSYPMJ8w.mjs";
|
|
57
|
+
import { t as FTSManager } from "./fts-manager-Zu5ITic0.mjs";
|
|
58
|
+
import "./public-discovery-BnqYofSK.mjs";
|
|
59
|
+
import { n as SchemaRegistry, t as SchemaError } from "./registry-B-HULaJI.mjs";
|
|
60
|
+
import { i as getSiteSettings, n as getPluginSettings, r as getSiteSetting, s as setSiteSettings, t as getPluginSetting } from "./settings-DDOB3gW1.mjs";
|
|
61
|
+
import "./evidence-1Gr8TlTf.mjs";
|
|
62
|
+
import { n as prepareAutomatedReview, r as submitAutomatedReview, t as ReviewSubmissionError } from "./submission-DgLES24O.mjs";
|
|
63
|
+
import "./dashboard-BquGX1ue.mjs";
|
|
64
|
+
import "./briefing-BShyAm_Z.mjs";
|
|
65
|
+
import "./review-requests-CGQ1u7uY.mjs";
|
|
66
|
+
import { A as handleRevisionGet, D as handleMediaGet, E as handleMediaDelete, M as handleRevisionRestore, N as generateManifest, O as handleMediaList, T as handleMediaCreate, j as handleRevisionList, k as handleMediaUpdate } from "./api-BBXfpMJw.mjs";
|
|
67
|
+
import { t as getCollectionInfo } from "./query-CP9M8xxX.mjs";
|
|
68
|
+
import { r as validateContent } from "./zod-generator-B5Pt8fv0.mjs";
|
|
69
|
+
import "./schema-DVeOJpqA.mjs";
|
|
70
|
+
import "./discovery-BwCZFUXm.mjs";
|
|
71
|
+
import { t as resolveContentUrl } from "./public-url-BHjYWuaN.mjs";
|
|
72
|
+
import "./seo-DwcULb78.mjs";
|
|
73
|
+
import "./bylines-PLlsL31L.mjs";
|
|
74
|
+
import "./byline-fields-DRMCc0V_.mjs";
|
|
75
|
+
import { o as getSection, s as getSections } from "./sections-BtO0Zdv5.mjs";
|
|
76
|
+
import "./settings-D31Y4msD.mjs";
|
|
77
|
+
import "./store-BzaAtszy.mjs";
|
|
78
|
+
import "./integration-credentials-DpuRw1kx.mjs";
|
|
79
|
+
import "./resolve-BxFGSKYu.mjs";
|
|
80
|
+
import { a as getTaxonomyTerms, i as getTaxonomyDefs, n as getEntryTerms, o as getTerm, r as getTaxonomyDef, s as getTermsForEntries, t as getEntriesByTerm } from "./taxonomies-BI26Bk-M.mjs";
|
|
81
|
+
import "./taxonomies-B4hE8Yb3.mjs";
|
|
82
|
+
import { r as isStandardPluginDefinition } from "./types-B3Uq7Czg.mjs";
|
|
83
|
+
import { i as pluginManifestSchema } from "./manifest-schema-DaQpgyTB.mjs";
|
|
84
|
+
import { t as DinewayStorageError } from "./types-Nm0cMxEh.mjs";
|
|
85
|
+
import "./parse-C6kCR1OT.mjs";
|
|
86
|
+
import "./content-Dr22fzA_.mjs";
|
|
87
|
+
import "./redirects-I78-ZYLV.mjs";
|
|
88
|
+
import "./byline-fields-wWu2Cb3l.mjs";
|
|
89
|
+
import { n as sanitizeHref, t as isSafeHref } from "./url-Coamqvs4.mjs";
|
|
90
|
+
import "./status-B2xUokyJ.mjs";
|
|
91
|
+
import "./trusted-proxy-Dg3U9Lrv.mjs";
|
|
92
|
+
import { t as checkRateLimit } from "./rate-limit-DeVLLe4z.mjs";
|
|
93
|
+
import { c as createEditable, i as getTranslations, l as createNoop, n as getDinewayEntry, r as getEditMeta, s as resolveDinewayPath, t as getDinewayCollection } from "./query-CLWTwcTr.mjs";
|
|
94
|
+
import { a as verifyPreviewSignature, i as signPreviewUrl, n as defaultPreviewSidecarClient, r as parsePreviewSignatureHeader, t as buildPreviewSignatureHeader } from "./sidecar-client-2hx5G46s.mjs";
|
|
95
|
+
import { a as createFilePreviewMiddleware, c as dropSessionDatabaseTables, d as SessionDatabaseLimitError, f as isBlockedInPreview, i as getPreviewUrl, l as getAppliedSnapshotMeta, n as isPreviewRequest, o as renderPreviewToolbar, p as renderPreviewLoadingPage, r as buildPreviewUrl, s as applySnapshotToDatabase, t as getPreviewToken, u as FileSessionDatabaseFactory } from "./preview-CWiIjMDi.mjs";
|
|
96
|
+
import { n as parseWxrString, t as parseWxr } from "./parser-CTlxybRo.mjs";
|
|
87
97
|
import { adaptSandboxEntry } from "./plugins/adapt-sandbox-entry.mjs";
|
|
88
|
-
import { n as runPluginMigrations } from "./migrations-
|
|
89
|
-
import "./request-meta-
|
|
90
|
-
import "./
|
|
91
|
-
import "./
|
|
92
|
-
import
|
|
93
|
-
import "./activity-
|
|
94
|
-
import "./
|
|
95
|
-
import "./
|
|
96
|
-
import {
|
|
97
|
-
import {
|
|
98
|
-
import { n as parseContentId, r as verifyPreviewToken, t as generatePreviewToken } from "./tokens-D-StaTAQ.mjs";
|
|
98
|
+
import { n as runPluginMigrations } from "./migrations-BAjF60cl.mjs";
|
|
99
|
+
import "./request-meta-DZYuLXx_.mjs";
|
|
100
|
+
import "./api-tokens-CdfsE9PL.mjs";
|
|
101
|
+
import { t as createReviewedPluginMcpCommandExecutor } from "./mcp-reviewed-executor-DtTnFcqC.mjs";
|
|
102
|
+
import "./activity-BuhkMdv8.mjs";
|
|
103
|
+
import "./activity-events-DkHsy7Y0.mjs";
|
|
104
|
+
import "./utils-CklSLz9F.mjs";
|
|
105
|
+
import { a as searchCollection, i as search, n as getSearchStats, o as searchWithDb, r as getSuggestions } from "./search-zMoM2_uq.mjs";
|
|
106
|
+
import { _ as probeUrl, d as wxrSource, f as clearSources, g as getUrlSources, h as getSource, i as wordpressRestSource, m as getFileSources, p as getAllSources, u as parseWxrDate, v as registerSource, x as importReusableBlocksAsSections } from "./import-DJFlvQey.mjs";
|
|
107
|
+
import { n as parseContentId, r as verifyPreviewToken, t as generatePreviewToken } from "./tokens-D8HEH277.mjs";
|
|
99
108
|
import { getContentSeo, getSeoMeta } from "./seo/index.mjs";
|
|
100
|
-
import "./comment-reaction-
|
|
101
|
-
import { i as getComments, n as getMenus, r as getCommentCount, t as getMenu } from "./menus-
|
|
102
|
-
import { i as getEntriesByByline, n as getByline, r as getBylineBySlug } from "./bylines-
|
|
103
|
-
import { n as getWidgetAreas, r as getWidgetComponents, t as getWidgetArea } from "./widgets-
|
|
104
|
-
import { t as validateSeed } from "./validate-
|
|
105
|
-
import { t as applySeed } from "./apply-
|
|
106
|
-
import "./load-
|
|
109
|
+
import "./comment-reaction-B7pLTlQ7.mjs";
|
|
110
|
+
import { i as getComments, n as getMenus, r as getCommentCount, t as getMenu } from "./menus-BXkfzNR1.mjs";
|
|
111
|
+
import { i as getEntriesByByline, n as getByline, r as getBylineBySlug } from "./bylines-XGlNK0Lo.mjs";
|
|
112
|
+
import { n as getWidgetAreas, r as getWidgetComponents, t as getWidgetArea } from "./widgets-B99mnftw.mjs";
|
|
113
|
+
import { t as validateSeed } from "./validate-C-yk7mmX.mjs";
|
|
114
|
+
import { t as applySeed } from "./apply-CZDKUvZ4.mjs";
|
|
115
|
+
import "./load-CiRTddkJ.mjs";
|
|
107
116
|
import "./seed/index.mjs";
|
|
108
117
|
import { ulid } from "ulidx";
|
|
109
118
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as DinewaySecretsError } from "./secrets-
|
|
2
|
-
import { t as IntegrationCredentialStore } from "./store-
|
|
1
|
+
import { t as DinewaySecretsError } from "./secrets-CIYcw9T9.mjs";
|
|
2
|
+
import { t as IntegrationCredentialStore } from "./store-BzaAtszy.mjs";
|
|
3
3
|
|
|
4
4
|
//#region src/api/handlers/integration-credentials.ts
|
|
5
5
|
async function handleIntegrationCredentialList(db) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Dt as PublicPageSchema, Et as PublicPageImage, F as PageMetadataContribution, M as PageFragmentContribution, Ot as PublicSchemaNode, R as PageMetadataLinkRel, Tt as PublicPageContext, t as BreadcrumbItem, z as PagePlacement } from "./types-
|
|
2
|
-
import { S as SeoSettings } from "./validate-
|
|
1
|
+
import { Dt as PublicPageSchema, Et as PublicPageImage, F as PageMetadataContribution, M as PageFragmentContribution, Ot as PublicSchemaNode, R as PageMetadataLinkRel, Tt as PublicPageContext, t as BreadcrumbItem, z as PagePlacement } from "./types-0gRlZbhN.mjs";
|
|
2
|
+
import { S as SeoSettings } from "./validate-DUscf6VG.mjs";
|
|
3
3
|
|
|
4
4
|
//#region src/page/context.d.ts
|
|
5
5
|
/** Fields shared by both input forms */
|
|
@@ -1,9 +1,11 @@
|
|
|
1
|
-
import { c as __exportAll } from "./runner-
|
|
1
|
+
import { c as __exportAll } from "./runner-CuG8o1uW.mjs";
|
|
2
2
|
import { getRequestContext } from "./request-context.mjs";
|
|
3
3
|
import { t as validateIdentifier } from "./validate-Co3j6T_K.mjs";
|
|
4
4
|
import { o as isPostgres, r as currentIsoTimestampValue } from "./dialect-helpers-C6xtO-Ui.mjs";
|
|
5
|
+
import { a as hydrateContentRows, o as registerContentStorage } from "./runtime-Ch5G-tnG.mjs";
|
|
6
|
+
import { t as readRevisionData } from "./revisions-qNkae-Dq.mjs";
|
|
5
7
|
import { kyselyLogOption } from "./database/instrumentation.mjs";
|
|
6
|
-
import { i as encodeCursor, r as decodeCursor } from "./types-
|
|
8
|
+
import { i as encodeCursor, r as decodeCursor } from "./types-BI3ULB3A.mjs";
|
|
7
9
|
import { Kysely, sql } from "kysely";
|
|
8
10
|
|
|
9
11
|
//#region src/live-collection-meta.ts
|
|
@@ -345,9 +347,14 @@ function mapRevisionData(data) {
|
|
|
345
347
|
}
|
|
346
348
|
let virtualConfig;
|
|
347
349
|
let virtualCreateDialect;
|
|
350
|
+
let virtualContentStorageRuntime;
|
|
348
351
|
async function loadVirtualModules() {
|
|
349
352
|
if (virtualConfig === void 0) virtualConfig = (await import("virtual:dineway/config")).default;
|
|
350
353
|
if (virtualCreateDialect === void 0) virtualCreateDialect = (await import("virtual:dineway/dialect")).createDialect;
|
|
354
|
+
if (virtualConfig?.contentStorage && !virtualContentStorageRuntime) {
|
|
355
|
+
virtualContentStorageRuntime = (await import("virtual:dineway/content-storage")).contentStorageRuntime;
|
|
356
|
+
if (!virtualContentStorageRuntime) throw new Error("Content storage adapters are not loaded.");
|
|
357
|
+
}
|
|
351
358
|
}
|
|
352
359
|
/**
|
|
353
360
|
* Build WHERE clause for status filtering.
|
|
@@ -485,6 +492,7 @@ async function getDb() {
|
|
|
485
492
|
dialect: virtualCreateDialect(virtualConfig.database.config),
|
|
486
493
|
log: kyselyLogOption()
|
|
487
494
|
});
|
|
495
|
+
if (virtualContentStorageRuntime) registerContentStorage(dbInstance, virtualContentStorageRuntime);
|
|
488
496
|
}
|
|
489
497
|
return dbInstance;
|
|
490
498
|
}
|
|
@@ -592,6 +600,7 @@ function dinewayLoader() {
|
|
|
592
600
|
"live_revision_id",
|
|
593
601
|
"locale",
|
|
594
602
|
"updated_at",
|
|
603
|
+
"version",
|
|
595
604
|
getPrimarySort(orderBy).field
|
|
596
605
|
];
|
|
597
606
|
const columns = new Set([...select, ...requiredColumns]);
|
|
@@ -673,6 +682,7 @@ function dinewayLoader() {
|
|
|
673
682
|
} else result = await entriesQuery.execute(db);
|
|
674
683
|
const hasMore = limit ? result.rows.length > limit : false;
|
|
675
684
|
const rows = hasMore ? result.rows.slice(0, limit) : result.rows;
|
|
685
|
+
await hydrateContentRows(db, type, rows, select);
|
|
676
686
|
const i18nConfig = virtualConfig?.i18n;
|
|
677
687
|
const i18nEnabled = i18nConfig && i18nConfig.locales.length > 1;
|
|
678
688
|
const entries = rows.map((row) => {
|
|
@@ -757,6 +767,7 @@ function dinewayLoader() {
|
|
|
757
767
|
LIMIT 1
|
|
758
768
|
`.execute(db)).rows[0];
|
|
759
769
|
if (!row) return;
|
|
770
|
+
await hydrateContentRows(db, type, [row]);
|
|
760
771
|
expandFoldedSeo(row);
|
|
761
772
|
const i18nConfig = virtualConfig?.i18n;
|
|
762
773
|
const i18nEnabled = i18nConfig && i18nConfig.locales.length > 1;
|
|
@@ -766,12 +777,12 @@ function dinewayLoader() {
|
|
|
766
777
|
const revisionId = filter?.revisionId;
|
|
767
778
|
if (revisionId) {
|
|
768
779
|
const revData = (await sql`
|
|
769
|
-
SELECT data FROM revisions
|
|
770
|
-
WHERE id = ${revisionId}
|
|
780
|
+
SELECT collection, entry_id, data FROM revisions
|
|
781
|
+
WHERE id = ${revisionId} AND collection = ${type} AND entry_id = ${row.id}
|
|
771
782
|
LIMIT 1
|
|
772
783
|
`.execute(db)).rows[0];
|
|
773
784
|
if (revData) {
|
|
774
|
-
const parsed =
|
|
785
|
+
const parsed = await readRevisionData(db, revData);
|
|
775
786
|
const systemData = {};
|
|
776
787
|
for (const [key, mappedKey] of Object.entries(INCLUDE_IN_DATA)) if (key in row) if (DATE_COLUMNS.has(key)) systemData[mappedKey] = typeof row[key] === "string" ? new Date(row[key]) : null;
|
|
777
788
|
else systemData[mappedKey] = row[key];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as declaredAccessToCapabilities, t as capabilitiesToDeclaredAccess } from "./types-
|
|
1
|
+
import { n as declaredAccessToCapabilities, t as capabilitiesToDeclaredAccess } from "./types-B3Uq7Czg.mjs";
|
|
2
2
|
import { z } from "zod";
|
|
3
3
|
|
|
4
4
|
//#region src/plugins/manifest-schema.ts
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { n as stableStringify } from "./stable-hash-
|
|
2
|
-
import { o as HitlRequestRepository } from "./publication-authorization-
|
|
3
|
-
import { b as HitlRequestService } from "./site-context-
|
|
4
|
-
import { n as buildStableActionHash } from "./review-payload-
|
|
5
|
-
import { i as hasScope$1 } from "./api-tokens-
|
|
6
|
-
import { m as logSiteActivityStrict, p as logSiteActivitySafely } from "./activity-events-
|
|
1
|
+
import { n as stableStringify } from "./stable-hash-9RDJgfif.mjs";
|
|
2
|
+
import { o as HitlRequestRepository } from "./publication-authorization-CJ4Jr5Hg.mjs";
|
|
3
|
+
import { b as HitlRequestService } from "./site-context-D3AmDdpQ.mjs";
|
|
4
|
+
import { n as buildStableActionHash } from "./review-payload-Bhi52CbI.mjs";
|
|
5
|
+
import { i as hasScope$1 } from "./api-tokens-CdfsE9PL.mjs";
|
|
6
|
+
import { m as logSiteActivityStrict, p as logSiteActivitySafely } from "./activity-events-DkHsy7Y0.mjs";
|
|
7
7
|
import { ulid } from "ulidx";
|
|
8
8
|
import { hasPermission } from "@dineway-ai/auth";
|
|
9
9
|
import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js";
|
package/dist/media/index.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as MediaValue, a as ComponentEmbed, b as mediaItemToValue, c as EmbedResult, d as MediaListResult, f as MediaProvider, g as MediaUploadInput, h as MediaProviderItem, i as AudioEmbed, l as ImageEmbed, m as MediaProviderDescriptor, n as generatePlaceholder, o as CreateMediaProviderFn, p as MediaProviderCapabilities, r as normalizeMediaValue, s as EmbedOptions, t as PlaceholderData, u as MediaListOptions, v as ThumbnailOptions, y as VideoEmbed } from "../placeholder-
|
|
1
|
+
import { _ as MediaValue, a as ComponentEmbed, b as mediaItemToValue, c as EmbedResult, d as MediaListResult, f as MediaProvider, g as MediaUploadInput, h as MediaProviderItem, i as AudioEmbed, l as ImageEmbed, m as MediaProviderDescriptor, n as generatePlaceholder, o as CreateMediaProviderFn, p as MediaProviderCapabilities, r as normalizeMediaValue, s as EmbedOptions, t as PlaceholderData, u as MediaListOptions, v as ThumbnailOptions, y as VideoEmbed } from "../placeholder-DdZV3I8x.mjs";
|
|
2
2
|
|
|
3
3
|
//#region src/media/enrich.d.ts
|
|
4
4
|
/**
|