dineway 0.2.42 → 0.2.44
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-events-DkHsy7Y0.mjs → activity-events-D4JfWJFI.mjs} +1 -1
- package/dist/{allowed-origins-DASdFW-l.mjs → allowed-origins-CQyKpMbJ.mjs} +1 -1
- package/dist/api/route-utils.d.mts +15 -15
- package/dist/api/route-utils.mjs +16 -16
- package/dist/api/schemas/index.d.mts +1 -1
- package/dist/api/schemas/index.mjs +6 -6
- package/dist/{api-BBXfpMJw.mjs → api-Dz33hkaL.mjs} +12 -12
- package/dist/{api-tokens-ciHNTdN2.mjs → api-tokens-yyJPh_qs.mjs} +1 -1
- package/dist/{apply-CZDKUvZ4.mjs → apply-SoTzf8LK.mjs} +17 -17
- package/dist/astro/index.d.mts +16 -16
- package/dist/astro/index.mjs +5 -5
- package/dist/astro/middleware/auth.d.mts +14 -14
- package/dist/astro/middleware/auth.mjs +6 -6
- package/dist/astro/middleware/redirect.mjs +5 -5
- package/dist/astro/middleware/request-context.mjs +2 -2
- package/dist/astro/middleware/seed.d.mts +1 -1
- package/dist/astro/middleware/setup.mjs +1 -1
- package/dist/astro/middleware.d.mts +2 -2
- package/dist/astro/middleware.mjs +97 -98
- package/dist/astro/routes/api/admin/allowed-domains/_domain_.mjs +8 -8
- package/dist/astro/routes/api/admin/allowed-domains/index.mjs +8 -8
- package/dist/astro/routes/api/admin/api-tokens/_id_.mjs +4 -4
- package/dist/astro/routes/api/admin/api-tokens/index.mjs +6 -6
- package/dist/astro/routes/api/admin/briefing.mjs +26 -26
- package/dist/astro/routes/api/admin/byline-fields/_slug_/usage.mjs +3 -3
- package/dist/astro/routes/api/admin/byline-fields/_slug_.mjs +10 -10
- package/dist/astro/routes/api/admin/byline-fields/index.mjs +10 -10
- package/dist/astro/routes/api/admin/byline-fields/reorder.mjs +10 -10
- package/dist/astro/routes/api/admin/bylines/_id_/index.mjs +18 -18
- package/dist/astro/routes/api/admin/bylines/_id_/translations.mjs +18 -18
- package/dist/astro/routes/api/admin/bylines/index.mjs +18 -18
- package/dist/astro/routes/api/admin/comments/_id_/status.mjs +16 -16
- package/dist/astro/routes/api/admin/comments/_id_.mjs +7 -7
- package/dist/astro/routes/api/admin/comments/bulk.mjs +14 -14
- package/dist/astro/routes/api/admin/comments/counts.mjs +7 -7
- package/dist/astro/routes/api/admin/comments/index.mjs +14 -14
- package/dist/astro/routes/api/admin/context/_id_/history.mjs +34 -35
- package/dist/astro/routes/api/admin/context/_id_/index.mjs +34 -35
- package/dist/astro/routes/api/admin/context/_id_/review.mjs +40 -41
- package/dist/astro/routes/api/admin/context/_id_/supersede.mjs +40 -41
- package/dist/astro/routes/api/admin/context/diff.mjs +39 -40
- package/dist/astro/routes/api/admin/context/index.mjs +40 -41
- package/dist/astro/routes/api/admin/context/stale.mjs +39 -40
- package/dist/astro/routes/api/admin/hitl-requests/_id_/index.mjs +34 -35
- package/dist/astro/routes/api/admin/hitl-requests/_id_/resolve.mjs +39 -40
- package/dist/astro/routes/api/admin/hitl-requests/index.mjs +39 -40
- package/dist/astro/routes/api/admin/hooks/exclusive/_hookName_.mjs +35 -36
- package/dist/astro/routes/api/admin/hooks/exclusive/index.mjs +2 -2
- package/dist/astro/routes/api/admin/oauth-clients/_id_.mjs +6 -6
- package/dist/astro/routes/api/admin/oauth-clients/index.mjs +6 -6
- package/dist/astro/routes/api/admin/plugins/_id_/disable.mjs +61 -62
- package/dist/astro/routes/api/admin/plugins/_id_/enable.mjs +61 -62
- package/dist/astro/routes/api/admin/plugins/_id_/index.mjs +54 -55
- package/dist/astro/routes/api/admin/plugins/_id_/uninstall.mjs +61 -62
- package/dist/astro/routes/api/admin/plugins/_id_/update.mjs +61 -62
- package/dist/astro/routes/api/admin/plugins/index.mjs +54 -55
- package/dist/astro/routes/api/admin/plugins/marketplace/_id_/icon.mjs +2 -2
- package/dist/astro/routes/api/admin/plugins/marketplace/_id_/index.mjs +54 -55
- package/dist/astro/routes/api/admin/plugins/marketplace/_id_/install.mjs +61 -62
- package/dist/astro/routes/api/admin/plugins/marketplace/index.mjs +54 -55
- package/dist/astro/routes/api/admin/plugins/updates.mjs +54 -55
- package/dist/astro/routes/api/admin/review-requests/_id_/image.mjs +24 -24
- package/dist/astro/routes/api/admin/review-requests/_id_/index.mjs +29 -30
- package/dist/astro/routes/api/admin/review-requests/_id_/resolve.mjs +46 -47
- package/dist/astro/routes/api/admin/review-requests/_id_/revoke.mjs +4 -4
- package/dist/astro/routes/api/admin/review-requests/index.mjs +44 -45
- package/dist/astro/routes/api/admin/themes/marketplace/_id_/index.mjs +54 -55
- package/dist/astro/routes/api/admin/themes/marketplace/_id_/thumbnail.mjs +2 -2
- package/dist/astro/routes/api/admin/themes/marketplace/index.mjs +54 -55
- 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 +8 -8
- package/dist/astro/routes/api/admin/users/_id_/send-recovery.mjs +2 -2
- package/dist/astro/routes/api/admin/users/index.mjs +8 -8
- package/dist/astro/routes/api/auth/dev-bypass.mjs +3 -3
- 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 +11 -11
- package/dist/astro/routes/api/auth/magic-link/verify.mjs +2 -2
- package/dist/astro/routes/api/auth/me.mjs +8 -8
- package/dist/astro/routes/api/auth/mode.mjs +1 -1
- package/dist/astro/routes/api/auth/oauth/_provider_/callback.mjs +2 -2
- package/dist/astro/routes/api/auth/oauth/_provider_.mjs +2 -2
- package/dist/astro/routes/api/auth/passkey/_id_.mjs +8 -8
- package/dist/astro/routes/api/auth/passkey/index.mjs +1 -1
- package/dist/astro/routes/api/auth/passkey/options.mjs +13 -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 +3 -3
- package/dist/astro/routes/api/auth/setup-token/verify.mjs +2 -2
- package/dist/astro/routes/api/auth/signup/complete.mjs +12 -12
- package/dist/astro/routes/api/auth/signup/request.mjs +11 -11
- package/dist/astro/routes/api/auth/signup/verify.mjs +1 -1
- package/dist/astro/routes/api/comments/_collection_/_contentId_/index.d.mts +14 -14
- package/dist/astro/routes/api/comments/_collection_/_contentId_/index.mjs +18 -18
- package/dist/astro/routes/api/comments/_collection_/_contentId_/reactions.mjs +17 -17
- package/dist/astro/routes/api/content/_collection_/_id_/compare.mjs +2 -2
- package/dist/astro/routes/api/content/_collection_/_id_/discard-draft.mjs +4 -4
- package/dist/astro/routes/api/content/_collection_/_id_/duplicate.mjs +4 -4
- package/dist/astro/routes/api/content/_collection_/_id_/permanent.mjs +4 -4
- package/dist/astro/routes/api/content/_collection_/_id_/preview-url.mjs +20 -20
- package/dist/astro/routes/api/content/_collection_/_id_/publish.mjs +25 -26
- package/dist/astro/routes/api/content/_collection_/_id_/release-readiness.mjs +9 -9
- package/dist/astro/routes/api/content/_collection_/_id_/restore.mjs +4 -4
- package/dist/astro/routes/api/content/_collection_/_id_/revisions.mjs +2 -2
- package/dist/astro/routes/api/content/_collection_/_id_/schedule.mjs +25 -26
- package/dist/astro/routes/api/content/_collection_/_id_/terms/_taxonomy_.mjs +21 -21
- package/dist/astro/routes/api/content/_collection_/_id_/translations.mjs +2 -2
- package/dist/astro/routes/api/content/_collection_/_id_/unpublish.mjs +4 -4
- package/dist/astro/routes/api/content/_collection_/_id_.mjs +15 -15
- package/dist/astro/routes/api/content/_collection_/authors.mjs +2 -2
- package/dist/astro/routes/api/content/_collection_/index.mjs +15 -15
- package/dist/astro/routes/api/content/_collection_/trash.mjs +9 -9
- package/dist/astro/routes/api/dashboard.mjs +11 -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 +22 -22
- package/dist/astro/routes/api/import/wordpress/analyze.mjs +11 -11
- package/dist/astro/routes/api/import/wordpress/execute.d.mts +14 -14
- package/dist/astro/routes/api/import/wordpress/execute.mjs +40 -41
- package/dist/astro/routes/api/import/wordpress/media.d.mts +14 -14
- package/dist/astro/routes/api/import/wordpress/media.mjs +11 -11
- package/dist/astro/routes/api/import/wordpress/prepare.mjs +43 -44
- package/dist/astro/routes/api/import/wordpress/rewrite-urls.d.mts +15 -15
- package/dist/astro/routes/api/import/wordpress/rewrite-urls.mjs +40 -41
- package/dist/astro/routes/api/import/wordpress-plugin/analyze.d.mts +1 -1
- package/dist/astro/routes/api/import/wordpress-plugin/analyze.mjs +25 -25
- package/dist/astro/routes/api/import/wordpress-plugin/execute.d.mts +14 -14
- package/dist/astro/routes/api/import/wordpress-plugin/execute.mjs +45 -46
- package/dist/astro/routes/api/integration/artifact.mjs +4 -4
- package/dist/astro/routes/api/integration/dispatch.mjs +8 -8
- package/dist/astro/routes/api/integrations/_provider_.mjs +6 -6
- package/dist/astro/routes/api/integrations/index.mjs +5 -5
- package/dist/astro/routes/api/manifest.mjs +4 -4
- package/dist/astro/routes/api/mcp.mjs +82 -83
- package/dist/astro/routes/api/media/_id_/confirm.mjs +9 -9
- package/dist/astro/routes/api/media/_id_.mjs +10 -10
- 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 +10 -10
- package/dist/astro/routes/api/media.mjs +12 -12
- package/dist/astro/routes/api/menus/_name_/items/_id_.mjs +40 -41
- package/dist/astro/routes/api/menus/_name_/items.mjs +40 -41
- package/dist/astro/routes/api/menus/_name_/reorder.mjs +40 -41
- package/dist/astro/routes/api/menus/_name_/translations.mjs +40 -41
- package/dist/astro/routes/api/menus/_name_.mjs +40 -41
- package/dist/astro/routes/api/menus/index.mjs +40 -41
- 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 +8 -8
- package/dist/astro/routes/api/oauth/device/token.mjs +7 -7
- 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 +6 -6
- package/dist/astro/routes/api/plugins/_pluginId_/_...path_.mjs +3 -3
- package/dist/astro/routes/api/redirects/404s/index.mjs +10 -10
- package/dist/astro/routes/api/redirects/404s/summary.mjs +10 -10
- package/dist/astro/routes/api/redirects/_id_.mjs +40 -41
- package/dist/astro/routes/api/redirects/index.mjs +40 -41
- 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 +56 -57
- package/dist/astro/routes/api/schema/collections/_slug_/fields/index.mjs +56 -57
- package/dist/astro/routes/api/schema/collections/_slug_/fields/reorder.mjs +56 -57
- package/dist/astro/routes/api/schema/collections/_slug_/index.mjs +56 -57
- package/dist/astro/routes/api/schema/collections/index.mjs +56 -57
- package/dist/astro/routes/api/schema/index.mjs +11 -11
- package/dist/astro/routes/api/schema/orphans/_slug_.mjs +54 -55
- package/dist/astro/routes/api/schema/orphans/index.mjs +54 -55
- package/dist/astro/routes/api/search/enable.mjs +15 -16
- package/dist/astro/routes/api/search/index.mjs +14 -15
- package/dist/astro/routes/api/search/rebuild.mjs +15 -16
- package/dist/astro/routes/api/search/stats.mjs +8 -9
- package/dist/astro/routes/api/search/suggest.mjs +14 -15
- package/dist/astro/routes/api/sections/_slug_.mjs +40 -41
- package/dist/astro/routes/api/sections/index.mjs +40 -41
- package/dist/astro/routes/api/settings/email.mjs +3 -3
- package/dist/astro/routes/api/settings/reviews.mjs +6 -6
- package/dist/astro/routes/api/settings.mjs +40 -41
- 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 +29 -30
- package/dist/astro/routes/api/setup/dev-reset.mjs +1 -1
- package/dist/astro/routes/api/setup/index.mjs +32 -33
- package/dist/astro/routes/api/setup/status.mjs +3 -3
- package/dist/astro/routes/api/snapshot.mjs +6 -6
- package/dist/astro/routes/api/system/heartbeat.mjs +2 -2
- package/dist/astro/routes/api/taxonomies/_name_/terms/_slug_/translations.mjs +43 -44
- package/dist/astro/routes/api/taxonomies/_name_/terms/_slug_.mjs +43 -44
- package/dist/astro/routes/api/taxonomies/_name_/terms/index.mjs +43 -44
- package/dist/astro/routes/api/taxonomies/index.mjs +43 -44
- package/dist/astro/routes/api/themes/preview.mjs +4 -4
- package/dist/astro/routes/api/typegen.mjs +4 -4
- package/dist/astro/routes/api/well-known/auth.mjs +2 -2
- 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 +39 -40
- package/dist/astro/routes/api/widget-areas/_name_/widgets/_id_.mjs +40 -41
- package/dist/astro/routes/api/widget-areas/_name_/widgets.mjs +40 -41
- package/dist/astro/routes/api/widget-areas/_name_.mjs +36 -37
- package/dist/astro/routes/api/widget-areas/index.mjs +40 -41
- package/dist/astro/routes/api/widget-components.mjs +2 -2
- package/dist/astro/routes/robots.txt.mjs +7 -7
- package/dist/astro/routes/sitemap-_collection_.xml.mjs +14 -14
- package/dist/astro/routes/sitemap.xml.mjs +13 -13
- package/dist/astro/session-driver.d.mts +1 -1
- package/dist/astro/session-driver.mjs +4 -4
- package/dist/astro/types.d.mts +17 -17
- package/dist/auth/providers/github.d.mts +1 -1
- package/dist/auth/providers/google.d.mts +1 -1
- package/dist/{auth-control-guard-DpUP6Fs_.mjs → auth-control-guard-D9oiZPtN.mjs} +1 -1
- package/dist/{authorize-DWNOqMKq.mjs → authorize-Cg8wByla.mjs} +1 -1
- package/dist/{briefing-CaeEFvkD.mjs → briefing-9YqN5XoW.mjs} +6 -6
- package/dist/{briefing-BShyAm_Z.mjs → briefing-CXQA-DpY.mjs} +1 -1
- package/dist/{bundle-DWn5eFKz.mjs → bundle-CnJWXvur.mjs} +1 -1
- package/dist/{byline-uuVB2B3E.mjs → byline-BvFH-UZw.mjs} +5 -5
- package/dist/{byline-fields-wWu2Cb3l.mjs → byline-fields-Bnw5NflJ.mjs} +2 -2
- package/dist/{byline-fields-B7pQ3LMi.d.mts → byline-fields-LAgJ9PSU.d.mts} +27 -27
- package/dist/{bylines-XGlNK0Lo.mjs → bylines-DLFjKcNr.mjs} +4 -4
- package/dist/{bylines-PLlsL31L.mjs → bylines-ZfS9Qm_E.mjs} +1 -1
- package/dist/cli/index.mjs +45 -43
- package/dist/cli/plugin-kit.d.mts +14 -14
- 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 -16
- package/dist/client/index.mjs +2 -2
- package/dist/{comment-BWDG1nQm.mjs → comment-CbGlRPPS.mjs} +1 -1
- package/dist/{comments-xkten8nV.mjs → comments-CaCApohz.mjs} +1 -1
- package/dist/{config-6R0bchVE.mjs → config---A7Bg68.mjs} +2 -0
- package/dist/{content-BNeuaVCS.mjs → content-Dxx0H4k8.mjs} +5 -5
- package/dist/{content-refresh-D7wpVFJ_.mjs → content-refresh-COi0WfKw.mjs} +3 -3
- package/dist/content-storage/index.d.mts +6 -6
- package/dist/content-storage/index.mjs +15 -16
- package/dist/content-storage/store.d.mts +2 -2
- package/dist/content-storage/store.mjs +2 -2
- package/dist/{content-write-43KZZ7dz.mjs → content-write-eOTKAf2d.mjs} +13 -50
- package/dist/{context-DuYXPlfZ.mjs → context-DIiMrXaP.mjs} +2 -2
- package/dist/{context-Cjz0y4Al.mjs → context-c4OnrX-0.mjs} +5 -5
- package/dist/{context-route-helpers-TP3EqxRQ.mjs → context-route-helpers-CUrRB8qt.mjs} +1 -1
- package/dist/{dashboard-BquGX1ue.mjs → dashboard-C_x93lbv.mjs} +1 -1
- package/dist/database/batch.d.mts +1 -1
- package/dist/database/d1/index.d.mts +14 -14
- package/dist/database/d1/index.mjs +3 -3
- package/dist/db/index.d.mts +3 -3
- 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-SoZh-HvN.mjs → device-flow-C8gMXe3u.mjs} +3 -3
- package/dist/{discovery-BwCZFUXm.mjs → discovery-CIgViNk9.mjs} +3 -3
- package/dist/{evidence-1Gr8TlTf.mjs → evidence-FRy3SVTP.mjs} +4 -4
- package/dist/{hitl-requests-Bdab4DhO.mjs → hitl-requests-DtPNPiYe.mjs} +2 -2
- package/dist/{hitl-route-helpers-DGMLQajA.mjs → hitl-route-helpers-BKI0ZeUF.mjs} +4 -4
- package/dist/{import-DJFlvQey.mjs → import-Cn1_u1S2.mjs} +7 -7
- package/dist/{index-CLj17kW9.d.mts → index-_fCUsJx9.d.mts} +3 -3
- package/dist/index.d.mts +19 -19
- package/dist/index.mjs +85 -86
- package/dist/{integration-credentials-DpuRw1kx.mjs → integration-credentials-B23h97Ip.mjs} +2 -2
- package/dist/{jsonld-CPijKSUe.d.mts → jsonld-DZXdAyOK.d.mts} +2 -2
- package/dist/{loader-Bq1aW12P.mjs → loader-C9hvIKEW.mjs} +2 -2
- package/dist/{manifest-schema-DaQpgyTB.mjs → manifest-schema-B_rWNZn5.mjs} +1 -1
- package/dist/{mcp-reviewed-executor-DtTnFcqC.mjs → mcp-reviewed-executor-B4O9L9MT.mjs} +5 -5
- package/dist/media/index.d.mts +1 -1
- package/dist/media/local-runtime.d.mts +16 -16
- package/dist/{menus-CbBi7Ad7.mjs → menus-BfQjG9Wc.mjs} +1 -1
- package/dist/{menus-BXkfzNR1.mjs → menus-DL-BYzwG.mjs} +6 -6
- package/dist/{migration-D9OY6vI9.mjs → migration-C9nW8q7f.mjs} +12 -11
- package/dist/{oauth-authorization-CSSRMOKn.mjs → oauth-authorization-D5_WocOq.mjs} +4 -4
- package/dist/{oauth-clients-DX5HIJJv.mjs → oauth-clients-Bx5PjpT3.mjs} +2 -2
- package/dist/object-cache/memory.d.mts +1 -1
- package/dist/{object-cache-DyI1SOBK.mjs → object-cache-qP60KjUp.mjs} +1 -1
- package/dist/{owned-metadata-C99DzQuq.mjs → owned-metadata-CJs4-k1w.mjs} +1 -1
- package/dist/page/index.d.mts +15 -15
- package/dist/page/index.mjs +1 -1
- package/dist/{parse-C6kCR1OT.mjs → parse-N4PAJGQr.mjs} +1 -1
- package/dist/plugin-utils.d.mts +14 -14
- package/dist/plugins/adapt-sandbox-entry.d.mts +14 -14
- package/dist/plugins/adapt-sandbox-entry.mjs +1 -1
- package/dist/{plugins-LtyuDuIb.mjs → plugins-rop9tkYG.mjs} +4 -4
- package/dist/{preview-CWiIjMDi.mjs → preview-DC1K_aSd.mjs} +2 -2
- package/dist/{provider-loader-oLKm1AU8.d.mts → provider-loader-Dl8SscrT.d.mts} +1 -1
- package/dist/{public-url-CEC1vj02.d.mts → public-url-CvNSyMJJ.d.mts} +2 -2
- package/dist/{public-url-cMnsBUZB.d.mts → public-url-DLcDMtBJ.d.mts} +1 -1
- package/dist/{publication-authorization-CJ4Jr5Hg.mjs → publication-authorization-CS8WqkzL.mjs} +6 -6
- package/dist/{query-CLWTwcTr.mjs → query-B1t4PSfw.mjs} +10 -10
- package/dist/{query-CP9M8xxX.mjs → query-D0qnvePL.mjs} +3 -3
- package/dist/{rate-limit-DeVLLe4z.mjs → rate-limit-BzNkH-vQ.mjs} +2 -2
- package/dist/{redirects-BKi6mek4.mjs → redirects-Bhk-eoQ8.mjs} +1 -1
- package/dist/{redirects-I78-ZYLV.mjs → redirects-BwnvcNyN.mjs} +4 -4
- package/dist/{registry-B-HULaJI.mjs → registry-3xWpSYNI.mjs} +3 -3
- package/dist/{release-D615eKav.mjs → release-Bk-UaI2C.mjs} +2 -2
- package/dist/request-context.d.mts +1 -1
- package/dist/{request-meta-DZYuLXx_.mjs → request-meta-DOBXMRX0.mjs} +1 -1
- package/dist/{review-requests-CGQ1u7uY.mjs → review-requests-BQZp6VaG.mjs} +1 -1
- package/dist/{review-route-helpers-DXNDyx_q.mjs → review-route-helpers-CyTRL7Rm.mjs} +1 -1
- package/dist/{revision-DlxUfOD5.mjs → revision-BhnVYOMz.mjs} +2 -2
- package/dist/{revisions-qNkae-Dq.mjs → revisions-C-T9CdGo.mjs} +2 -2
- package/dist/{runner-DXQkyPeX.d.mts → runner-DlkOiguI.d.mts} +1 -1
- package/dist/{runs-BjgLfqCn.mjs → runs-BGqkkqhp.mjs} +2 -2
- package/dist/{runtime-Bs2JMbb2.d.mts → runtime-Dx9QpCL5.d.mts} +2 -2
- package/dist/{runtime-Ch5G-tnG.mjs → runtime-Dz7vZRPU.mjs} +141 -2
- package/dist/runtime.d.mts +15 -15
- package/dist/runtime.mjs +5 -5
- package/dist/{schema-DVeOJpqA.mjs → schema-2x9K4t9t.mjs} +1 -1
- package/dist/{search-zMoM2_uq.mjs → search--Qmm2s6n.mjs} +2 -2
- package/dist/{sections-BtO0Zdv5.mjs → sections-0cg9Dhp6.mjs} +1 -1
- package/dist/seed/index.d.mts +2 -2
- package/dist/seed/index.mjs +24 -25
- package/dist/seo/index.d.mts +3 -3
- package/dist/seo/index.mjs +10 -10
- package/dist/{seo-DwcULb78.mjs → seo-BYBqbsZk.mjs} +1 -1
- package/dist/{seo-uliFa7s-.mjs → seo-DxrTizK0.mjs} +5 -5
- package/dist/{service-BBJM08uD.mjs → service-CcUWmln9.mjs} +2 -2
- package/dist/{service-CkMuD5AE.mjs → service-Y-ZEhFVM.mjs} +3 -3
- package/dist/{settings-DDOB3gW1.mjs → settings-D0SBKo-W.mjs} +3 -3
- package/dist/{settings-D31Y4msD.mjs → settings-DM4P-jVe.mjs} +1 -1
- package/dist/{site-context-D3AmDdpQ.mjs → site-context-DNiKKCc1.mjs} +11 -11
- 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 +1 -1
- package/dist/{store-BzaAtszy.mjs → store-rYMso0t7.mjs} +1 -1
- package/dist/{submission-DgLES24O.mjs → submission-C7tI1Frs.mjs} +6 -6
- package/dist/{taxonomies-BI26Bk-M.mjs → taxonomies-CZHI0fCa.mjs} +4 -4
- package/dist/{taxonomies-B4hE8Yb3.mjs → taxonomies-Cf9huhQ6.mjs} +2 -2
- package/dist/{taxonomy-B8w8F2Cs.mjs → taxonomy-B4O77tAe.mjs} +3 -3
- package/dist/{types-ex-UrNlz.d.mts → types--vDpt_aS.d.mts} +1 -1
- package/dist/{types-qOEot0UQ.d.mts → types-CeFGasN8.d.mts} +2 -0
- package/dist/{types-0gRlZbhN.d.mts → types-z2nZassR.d.mts} +16 -16
- package/dist/ui/server-runtime.d.mts +18 -18
- package/dist/ui/server-runtime.mjs +23 -23
- package/dist/{validate-DUscf6VG.d.mts → validate-CleBZbkv.d.mts} +3 -3
- package/dist/{validate-C-yk7mmX.mjs → validate-WOW5vZz_.mjs} +1 -1
- package/dist/version-DU2EdwT0.mjs +6 -0
- package/dist/{version-store-B_THJCc0.d.mts → version-store-B6i81L9W.d.mts} +8 -2
- package/dist/{version-store-BXv2D0de.mjs → version-store-DyYULGd3.mjs} +14 -4
- package/dist/{widgets-B99mnftw.mjs → widgets-P1hMbKIT.mjs} +2 -2
- package/dist/{worker-DdI-KtvF.mjs → worker-CcvePQzq.mjs} +7 -7
- package/dist/{write-intent-DuHVqks9.mjs → write-intent-D6xfcx1f.mjs} +3 -3
- package/dist/{zod-generator-B5Pt8fv0.mjs → zod-generator-DBu-v5Zy.mjs} +1 -1
- package/package.json +1 -1
- package/dist/text-extraction-CdqMGYQK.mjs +0 -96
- package/dist/version-Co258u70.mjs +0 -6
- /package/dist/{activity-BuhkMdv8.mjs → activity-lyE6xCrf.mjs} +0 -0
- /package/dist/{adapter-symbols-B9mi-BUh.d.mts → adapter-symbols-Ce35rDR9.d.mts} +0 -0
- /package/dist/{adapters-lDnJjNDz.d.mts → adapters-cL325h6c.d.mts} +0 -0
- /package/dist/{api-tokens-CdfsE9PL.mjs → api-tokens-CK0aCsS2.mjs} +0 -0
- /package/dist/{byline-fields-DRMCc0V_.mjs → byline-fields-BAezRNxz.mjs} +0 -0
- /package/dist/{challenge-store-Dq5HiMO3.mjs → challenge-store-BImHCJvl.mjs} +0 -0
- /package/dist/{client-factory-BLbm250o.mjs → client-factory-8GnB8iz5.mjs} +0 -0
- /package/dist/{comment-reaction-B7pLTlQ7.mjs → comment-reaction-CFkwluRq.mjs} +0 -0
- /package/dist/{components-JA6tFHmE.mjs → components-DwWhSNHs.mjs} +0 -0
- /package/dist/{content-Dr22fzA_.mjs → content-C8i4DyTt.mjs} +0 -0
- /package/dist/{context-types-DDIJhGLs.mjs → context-types-B9ShQ_6c.mjs} +0 -0
- /package/dist/{default-C2azCFSB.mjs → default-BxRRjN_x.mjs} +0 -0
- /package/dist/{email-console-BYQp_5Qr.mjs → email-console-Bf9hXqbW.mjs} +0 -0
- /package/dist/{error-sL4aemcW.mjs → error-HuAkl_6r.mjs} +0 -0
- /package/dist/{escape-4_NNa6GR.mjs → escape-BfbDyuQ-.mjs} +0 -0
- /package/dist/{experimental-workflows-CPNiI2EL.mjs → experimental-workflows-BtKXzyIH.mjs} +0 -0
- /package/dist/{forgeway-account-7N-3srH-.mjs → forgeway-account-B-z2_ZOQ.mjs} +0 -0
- /package/dist/{fts-manager-Zu5ITic0.mjs → fts-manager-BHwhq1lC.mjs} +0 -0
- /package/dist/{hash-qSYPMJ8w.mjs → hash-BinU5FKm.mjs} +0 -0
- /package/dist/{hook-events-BQw73jc7.d.mts → hook-events-lN-kz-4_.d.mts} +0 -0
- /package/dist/{load-CiRTddkJ.mjs → load-XTcFS1Dp.mjs} +0 -0
- /package/dist/{media-allowlist-C8HJ2O61.mjs → media-allowlist-DWz7rPit.mjs} +0 -0
- /package/dist/{media-url-D5E1a47B.mjs → media-url-VHHHoHGL.mjs} +0 -0
- /package/dist/{migrations-BAjF60cl.mjs → migrations-DTCIQJ2_.mjs} +0 -0
- /package/dist/{mode-B_m1BGFh.mjs → mode-BoM5FjH7.mjs} +0 -0
- /package/dist/{oauth-authority-DVlLFhsZ.mjs → oauth-authority-DgHy9_HI.mjs} +0 -0
- /package/dist/{oauth-state-store-nf-78RbK.mjs → oauth-state-store-DfH1iKMh.mjs} +0 -0
- /package/dist/{output-B1GiXeT8.mjs → output-4F_wq70p.mjs} +0 -0
- /package/dist/{parser-CTlxybRo.mjs → parser-CoH5-854.mjs} +0 -0
- /package/dist/{passkey-config-BLon3ct9.mjs → passkey-config-DDhmGNuM.mjs} +0 -0
- /package/dist/{placeholder-DdZV3I8x.d.mts → placeholder-CjKwIO3g.d.mts} +0 -0
- /package/dist/{policy-Drg5yr1-.mjs → policy-BL8yj6uD.mjs} +0 -0
- /package/dist/{portable-text-HNmwL-7L.d.mts → portable-text-BZYFFIgm.d.mts} +0 -0
- /package/dist/{portable-text-p0Ojfpfo.mjs → portable-text-DeJeHr_T.mjs} +0 -0
- /package/dist/{provider-loader-DlaT1usE.mjs → provider-loader-BWu5kGxR.mjs} +0 -0
- /package/dist/{public-discovery-BnqYofSK.mjs → public-discovery-CGRirTJH.mjs} +0 -0
- /package/dist/{public-url-GQygrYmg.mjs → public-url-GzeLD6Ae.mjs} +0 -0
- /package/dist/{public-url-BHjYWuaN.mjs → public-url-NCefkiXz.mjs} +0 -0
- /package/dist/{redirect-CokmLN5o.mjs → redirect-BfI8s4uK.mjs} +0 -0
- /package/dist/{resolve-BxFGSKYu.mjs → resolve-BdDNBmaU.mjs} +0 -0
- /package/dist/{review-payload-Bhi52CbI.mjs → review-payload-mDJIgcFy.mjs} +0 -0
- /package/dist/{revocation-4we8kfBg.mjs → revocation-ibEJ8ZqU.mjs} +0 -0
- /package/dist/{scheduled-publish-eCNGpvNm.d.mts → scheduled-publish-7kZkKw7t.d.mts} +0 -0
- /package/dist/{secrets-CIYcw9T9.mjs → secrets-D52WNV_c.mjs} +0 -0
- /package/dist/{seo-contributions-ZKqrqsdT.mjs → seo-contributions-CusuPWzY.mjs} +0 -0
- /package/dist/{service-DeX1PRNt.mjs → service-DL1j3E4P.mjs} +0 -0
- /package/dist/{session-user-B0XMp1GC.mjs → session-user-j7I8GMvK.mjs} +0 -0
- /package/dist/{setup-complete-5GxB7hiF.mjs → setup-complete-Cn-Ho9RX.mjs} +0 -0
- /package/dist/{setup-nonce-B9IO7PbK.mjs → setup-nonce-CHug-ugA.mjs} +0 -0
- /package/dist/{sidecar-client-2hx5G46s.mjs → sidecar-client-D69s90P-.mjs} +0 -0
- /package/dist/{site-url-CYatfe3q.mjs → site-url-5O6ra5VE.mjs} +0 -0
- /package/dist/{ssrf-DcD8vn3E.mjs → ssrf-C7tTSD1r.mjs} +0 -0
- /package/dist/{state-ClG1I4wl.mjs → state-LzJZ7qpq.mjs} +0 -0
- /package/dist/{status-B2xUokyJ.mjs → status-CDqWWt6i.mjs} +0 -0
- /package/dist/{tokens-D8HEH277.mjs → tokens-B6bMUhBx.mjs} +0 -0
- /package/dist/{transport-CVU5rp7W.d.mts → transport-Cm1beMRX.d.mts} +0 -0
- /package/dist/{transport-BK_me2MZ.mjs → transport-DHTeMsJG.mjs} +0 -0
- /package/dist/{trusted-proxy-Dg3U9Lrv.mjs → trusted-proxy-Dmi1gZXh.mjs} +0 -0
- /package/dist/{types-C0heD9oI.d.mts → types-B2rEY0ik.d.mts} +0 -0
- /package/dist/{types-PxxPTFSl.d.mts → types-BSCBDV_V.d.mts} +0 -0
- /package/dist/{types-I5LHzk_M.d.mts → types-BjWhF4eO.d.mts} +0 -0
- /package/dist/{types-BJztoTbF.d.mts → types-BuplUVZ4.d.mts} +0 -0
- /package/dist/{types-Dpv_MvwZ.d.mts → types-CG9uGPBL.d.mts} +0 -0
- /package/dist/{types-DheoByey.d.mts → types-DLwh1QkC.d.mts} +0 -0
- /package/dist/{types-B3Uq7Czg.mjs → types-MCEx6w1B.mjs} +0 -0
- /package/dist/{types-Nm0cMxEh.mjs → types-PX2c4KA4.mjs} +0 -0
- /package/dist/{url-Coamqvs4.mjs → url--_ukDIsN.mjs} +0 -0
- /package/dist/{url-dn4mFfCI.mjs → url-RhtABurq.mjs} +0 -0
- /package/dist/{utils-CklSLz9F.mjs → utils-WY63JOPB.mjs} +0 -0
- /package/dist/{wordpress-slugs-yaeD7cxn.mjs → wordpress-slugs-qNcYNJGj.mjs} +0 -0
- /package/dist/{workers-build-XNBt1wGF.mjs → workers-build-Bd4w1aw9.mjs} +0 -0
|
@@ -4,7 +4,7 @@ import { z } from "zod";
|
|
|
4
4
|
/** Valid role level values */
|
|
5
5
|
declare const VALID_ROLE_LEVELS: Set<number>;
|
|
6
6
|
/** Role level — coerces string/number to valid RoleLevel (10|20|30|40|50) */
|
|
7
|
-
declare const roleLevel: z.ZodCoercedNumber<unknown> & z.ZodType<
|
|
7
|
+
declare const roleLevel: z.ZodCoercedNumber<unknown> & z.ZodType<50 | 20 | 10 | 30 | 40, unknown, z.core.$ZodTypeInternals<50 | 20 | 10 | 30 | 40, unknown>>;
|
|
8
8
|
/** Pagination query params — cursor-based */
|
|
9
9
|
declare const cursorPaginationQuery: z.ZodObject<{
|
|
10
10
|
cursor: z.ZodOptional<z.ZodString>;
|
|
@@ -860,13 +860,13 @@ declare const createFieldBody: z.ZodObject<{
|
|
|
860
860
|
string: "string";
|
|
861
861
|
number: "number";
|
|
862
862
|
boolean: "boolean";
|
|
863
|
-
file: "file";
|
|
864
863
|
json: "json";
|
|
865
864
|
url: "url";
|
|
865
|
+
file: "file";
|
|
866
866
|
slug: "slug";
|
|
867
|
-
image: "image";
|
|
868
867
|
text: "text";
|
|
869
868
|
integer: "integer";
|
|
869
|
+
image: "image";
|
|
870
870
|
datetime: "datetime";
|
|
871
871
|
select: "select";
|
|
872
872
|
multiSelect: "multiSelect";
|
|
@@ -892,9 +892,9 @@ declare const createFieldBody: z.ZodObject<{
|
|
|
892
892
|
number: "number";
|
|
893
893
|
boolean: "boolean";
|
|
894
894
|
url: "url";
|
|
895
|
-
image: "image";
|
|
896
895
|
text: "text";
|
|
897
896
|
integer: "integer";
|
|
897
|
+
image: "image";
|
|
898
898
|
datetime: "datetime";
|
|
899
899
|
select: "select";
|
|
900
900
|
}>;
|
|
@@ -918,13 +918,13 @@ declare const updateFieldBody: z.ZodObject<{
|
|
|
918
918
|
string: "string";
|
|
919
919
|
number: "number";
|
|
920
920
|
boolean: "boolean";
|
|
921
|
-
file: "file";
|
|
922
921
|
json: "json";
|
|
923
922
|
url: "url";
|
|
923
|
+
file: "file";
|
|
924
924
|
slug: "slug";
|
|
925
|
-
image: "image";
|
|
926
925
|
text: "text";
|
|
927
926
|
integer: "integer";
|
|
927
|
+
image: "image";
|
|
928
928
|
datetime: "datetime";
|
|
929
929
|
select: "select";
|
|
930
930
|
multiSelect: "multiSelect";
|
|
@@ -950,9 +950,9 @@ declare const updateFieldBody: z.ZodObject<{
|
|
|
950
950
|
number: "number";
|
|
951
951
|
boolean: "boolean";
|
|
952
952
|
url: "url";
|
|
953
|
-
image: "image";
|
|
954
953
|
text: "text";
|
|
955
954
|
integer: "integer";
|
|
955
|
+
image: "image";
|
|
956
956
|
datetime: "datetime";
|
|
957
957
|
select: "select";
|
|
958
958
|
}>;
|
|
@@ -1012,13 +1012,13 @@ declare const fieldSchema: z.ZodObject<{
|
|
|
1012
1012
|
string: "string";
|
|
1013
1013
|
number: "number";
|
|
1014
1014
|
boolean: "boolean";
|
|
1015
|
-
file: "file";
|
|
1016
1015
|
json: "json";
|
|
1017
1016
|
url: "url";
|
|
1017
|
+
file: "file";
|
|
1018
1018
|
slug: "slug";
|
|
1019
|
-
image: "image";
|
|
1020
1019
|
text: "text";
|
|
1021
1020
|
integer: "integer";
|
|
1021
|
+
image: "image";
|
|
1022
1022
|
datetime: "datetime";
|
|
1023
1023
|
select: "select";
|
|
1024
1024
|
multiSelect: "multiSelect";
|
|
@@ -1087,13 +1087,13 @@ declare const collectionWithFieldsResponseSchema: z.ZodObject<{
|
|
|
1087
1087
|
string: "string";
|
|
1088
1088
|
number: "number";
|
|
1089
1089
|
boolean: "boolean";
|
|
1090
|
-
file: "file";
|
|
1091
1090
|
json: "json";
|
|
1092
1091
|
url: "url";
|
|
1092
|
+
file: "file";
|
|
1093
1093
|
slug: "slug";
|
|
1094
|
-
image: "image";
|
|
1095
1094
|
text: "text";
|
|
1096
1095
|
integer: "integer";
|
|
1096
|
+
image: "image";
|
|
1097
1097
|
datetime: "datetime";
|
|
1098
1098
|
select: "select";
|
|
1099
1099
|
multiSelect: "multiSelect";
|
|
@@ -1146,13 +1146,13 @@ declare const fieldResponseSchema: z.ZodObject<{
|
|
|
1146
1146
|
string: "string";
|
|
1147
1147
|
number: "number";
|
|
1148
1148
|
boolean: "boolean";
|
|
1149
|
-
file: "file";
|
|
1150
1149
|
json: "json";
|
|
1151
1150
|
url: "url";
|
|
1151
|
+
file: "file";
|
|
1152
1152
|
slug: "slug";
|
|
1153
|
-
image: "image";
|
|
1154
1153
|
text: "text";
|
|
1155
1154
|
integer: "integer";
|
|
1155
|
+
image: "image";
|
|
1156
1156
|
datetime: "datetime";
|
|
1157
1157
|
select: "select";
|
|
1158
1158
|
multiSelect: "multiSelect";
|
|
@@ -1183,13 +1183,13 @@ declare const fieldListResponseSchema: z.ZodObject<{
|
|
|
1183
1183
|
string: "string";
|
|
1184
1184
|
number: "number";
|
|
1185
1185
|
boolean: "boolean";
|
|
1186
|
-
file: "file";
|
|
1187
1186
|
json: "json";
|
|
1188
1187
|
url: "url";
|
|
1188
|
+
file: "file";
|
|
1189
1189
|
slug: "slug";
|
|
1190
|
-
image: "image";
|
|
1191
1190
|
text: "text";
|
|
1192
1191
|
integer: "integer";
|
|
1192
|
+
image: "image";
|
|
1193
1193
|
datetime: "datetime";
|
|
1194
1194
|
select: "select";
|
|
1195
1195
|
multiSelect: "multiSelect";
|
|
@@ -1238,8 +1238,8 @@ declare const createReactionBody: z.ZodObject<{
|
|
|
1238
1238
|
}, z.core.$strip>;
|
|
1239
1239
|
declare const commentStatusBody: z.ZodObject<{
|
|
1240
1240
|
status: z.ZodEnum<{
|
|
1241
|
-
pending: "pending";
|
|
1242
1241
|
approved: "approved";
|
|
1242
|
+
pending: "pending";
|
|
1243
1243
|
spam: "spam";
|
|
1244
1244
|
trash: "trash";
|
|
1245
1245
|
}>;
|
|
@@ -1255,8 +1255,8 @@ declare const commentBulkBody: z.ZodObject<{
|
|
|
1255
1255
|
}, z.core.$strip>;
|
|
1256
1256
|
declare const commentListQuery: z.ZodObject<{
|
|
1257
1257
|
status: z.ZodOptional<z.ZodEnum<{
|
|
1258
|
-
pending: "pending";
|
|
1259
1258
|
approved: "approved";
|
|
1259
|
+
pending: "pending";
|
|
1260
1260
|
spam: "spam";
|
|
1261
1261
|
trash: "trash";
|
|
1262
1262
|
}>>;
|
|
@@ -1291,8 +1291,8 @@ declare const commentSchema: z.ZodObject<{
|
|
|
1291
1291
|
authorEmail: z.ZodString;
|
|
1292
1292
|
body: z.ZodString;
|
|
1293
1293
|
status: z.ZodEnum<{
|
|
1294
|
-
pending: "pending";
|
|
1295
1294
|
approved: "approved";
|
|
1295
|
+
pending: "pending";
|
|
1296
1296
|
spam: "spam";
|
|
1297
1297
|
trash: "trash";
|
|
1298
1298
|
}>;
|
|
@@ -1324,8 +1324,8 @@ declare const adminCommentListResponseSchema: z.ZodObject<{
|
|
|
1324
1324
|
authorEmail: z.ZodString;
|
|
1325
1325
|
body: z.ZodString;
|
|
1326
1326
|
status: z.ZodEnum<{
|
|
1327
|
-
pending: "pending";
|
|
1328
1327
|
approved: "approved";
|
|
1328
|
+
pending: "pending";
|
|
1329
1329
|
spam: "spam";
|
|
1330
1330
|
trash: "trash";
|
|
1331
1331
|
}>;
|
|
@@ -1465,8 +1465,8 @@ declare const siteBriefingQuery: z.ZodObject<{
|
|
|
1465
1465
|
//#region src/api/schemas/hitl-requests.d.ts
|
|
1466
1466
|
declare const hitlRequestListQuery: z.ZodObject<{
|
|
1467
1467
|
status: z.ZodOptional<z.ZodEnum<{
|
|
1468
|
-
pending: "pending";
|
|
1469
1468
|
approved: "approved";
|
|
1469
|
+
pending: "pending";
|
|
1470
1470
|
rejected: "rejected";
|
|
1471
1471
|
}>>;
|
|
1472
1472
|
priority: z.ZodOptional<z.ZodEnum<{
|
|
@@ -1499,8 +1499,8 @@ declare const reviewRequestCreateBody: z.ZodObject<{
|
|
|
1499
1499
|
}, z.core.$strip>;
|
|
1500
1500
|
declare const reviewRequestListQuery: z.ZodObject<{
|
|
1501
1501
|
status: z.ZodOptional<z.ZodEnum<{
|
|
1502
|
-
pending: "pending";
|
|
1503
1502
|
approved: "approved";
|
|
1503
|
+
pending: "pending";
|
|
1504
1504
|
rejected: "rejected";
|
|
1505
1505
|
resolved: "resolved";
|
|
1506
1506
|
}>>;
|
|
@@ -1549,7 +1549,7 @@ declare const signupCompleteBody: z.ZodObject<{
|
|
|
1549
1549
|
}, z.core.$strip>;
|
|
1550
1550
|
declare const inviteCreateBody: z.ZodObject<{
|
|
1551
1551
|
email: z.ZodString;
|
|
1552
|
-
role: z.ZodOptional<z.ZodCoercedNumber<unknown> & z.ZodType<
|
|
1552
|
+
role: z.ZodOptional<z.ZodCoercedNumber<unknown> & z.ZodType<50 | 20 | 10 | 30 | 40, unknown, z.core.$ZodTypeInternals<50 | 20 | 10 | 30 | 40, unknown>>>;
|
|
1553
1553
|
}, z.core.$strip>;
|
|
1554
1554
|
declare const inviteCompleteBody: z.ZodObject<{
|
|
1555
1555
|
token: z.ZodString;
|
|
@@ -1641,9 +1641,9 @@ declare const authMeActionBody: z.ZodObject<{
|
|
|
1641
1641
|
* from `referenceCollection` + `referenceId` (a translation_group id).
|
|
1642
1642
|
*/
|
|
1643
1643
|
declare const menuItemTypeEnum: z.ZodEnum<{
|
|
1644
|
-
custom: "custom";
|
|
1645
1644
|
collection: "collection";
|
|
1646
1645
|
taxonomy: "taxonomy";
|
|
1646
|
+
custom: "custom";
|
|
1647
1647
|
page: "page";
|
|
1648
1648
|
post: "post";
|
|
1649
1649
|
}>;
|
|
@@ -1658,9 +1658,9 @@ declare const updateMenuBody: z.ZodObject<{
|
|
|
1658
1658
|
}, z.core.$strict>;
|
|
1659
1659
|
declare const createMenuItemBody: z.ZodObject<{
|
|
1660
1660
|
type: z.ZodEnum<{
|
|
1661
|
-
custom: "custom";
|
|
1662
1661
|
collection: "collection";
|
|
1663
1662
|
taxonomy: "taxonomy";
|
|
1663
|
+
custom: "custom";
|
|
1664
1664
|
page: "page";
|
|
1665
1665
|
post: "post";
|
|
1666
1666
|
}>;
|
|
@@ -2101,15 +2101,15 @@ declare const usersListQuery: z.ZodObject<{
|
|
|
2101
2101
|
declare const userUpdateBody: z.ZodObject<{
|
|
2102
2102
|
name: z.ZodOptional<z.ZodString>;
|
|
2103
2103
|
email: z.ZodOptional<z.ZodString>;
|
|
2104
|
-
role: z.ZodOptional<z.ZodCoercedNumber<unknown> & z.ZodType<
|
|
2104
|
+
role: z.ZodOptional<z.ZodCoercedNumber<unknown> & z.ZodType<50 | 20 | 10 | 30 | 40, unknown, z.core.$ZodTypeInternals<50 | 20 | 10 | 30 | 40, unknown>>>;
|
|
2105
2105
|
}, z.core.$strip>;
|
|
2106
2106
|
declare const allowedDomainCreateBody: z.ZodObject<{
|
|
2107
2107
|
domain: z.ZodString;
|
|
2108
|
-
defaultRole: z.ZodCoercedNumber<unknown> & z.ZodType<
|
|
2108
|
+
defaultRole: z.ZodCoercedNumber<unknown> & z.ZodType<50 | 20 | 10 | 30 | 40, unknown, z.core.$ZodTypeInternals<50 | 20 | 10 | 30 | 40, unknown>>;
|
|
2109
2109
|
}, z.core.$strip>;
|
|
2110
2110
|
declare const allowedDomainUpdateBody: z.ZodObject<{
|
|
2111
2111
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
2112
|
-
defaultRole: z.ZodOptional<z.ZodCoercedNumber<unknown> & z.ZodType<
|
|
2112
|
+
defaultRole: z.ZodOptional<z.ZodCoercedNumber<unknown> & z.ZodType<50 | 20 | 10 | 30 | 40, unknown, z.core.$ZodTypeInternals<50 | 20 | 10 | 30 | 40, unknown>>>;
|
|
2113
2113
|
}, z.core.$strip>;
|
|
2114
2114
|
declare const userSchema: z.ZodObject<{
|
|
2115
2115
|
id: z.ZodString;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { c as __exportAll } from "./runner-CuG8o1uW.mjs";
|
|
2
2
|
import { t as validateIdentifier } from "./validate-Co3j6T_K.mjs";
|
|
3
|
-
import { o as isMissingTableError, r as getDb } from "./loader-
|
|
4
|
-
import { t as BylineRepository } from "./byline-
|
|
5
|
-
import { n as resolveLocaleChain } from "./resolve-
|
|
3
|
+
import { o as isMissingTableError, r as getDb } from "./loader-C9hvIKEW.mjs";
|
|
4
|
+
import { t as BylineRepository } from "./byline-BvFH-UZw.mjs";
|
|
5
|
+
import { n as resolveLocaleChain } from "./resolve-BdDNBmaU.mjs";
|
|
6
6
|
import { sql } from "kysely";
|
|
7
7
|
|
|
8
8
|
//#region src/bylines/index.ts
|
|
@@ -184,7 +184,7 @@ async function getBylinesForEntries(collection, entries) {
|
|
|
184
184
|
*/
|
|
185
185
|
async function getEntriesByByline(collection, byline, options = {}) {
|
|
186
186
|
validateIdentifier(collection, "collection");
|
|
187
|
-
const { getDinewayCollection } = await import("./query-
|
|
187
|
+
const { getDinewayCollection } = await import("./query-B1t4PSfw.mjs").then((n) => n.o);
|
|
188
188
|
const { entries } = await getDinewayCollection(collection, {
|
|
189
189
|
where: { byline },
|
|
190
190
|
...options.locale !== void 0 ? { locale: options.locale } : {},
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { c as __exportAll } from "./runner-CuG8o1uW.mjs";
|
|
2
2
|
import { n as getI18nConfig } from "./config-XW5tMrH8.mjs";
|
|
3
3
|
import { t as DinewayValidationError } from "./types-BI3ULB3A.mjs";
|
|
4
|
-
import { t as BylineRepository } from "./byline-
|
|
4
|
+
import { t as BylineRepository } from "./byline-BvFH-UZw.mjs";
|
|
5
5
|
|
|
6
6
|
//#region src/api/handlers/bylines.ts
|
|
7
7
|
var bylines_exports = /* @__PURE__ */ __exportAll({
|
package/dist/cli/index.mjs
CHANGED
|
@@ -6,61 +6,60 @@ import { AtomicWriteConflict, atomicBatch, rowUnchanged } from "../database/batc
|
|
|
6
6
|
import { t as validateIdentifier } from "../validate-Co3j6T_K.mjs";
|
|
7
7
|
import { l as listTablesLike } from "../dialect-helpers-C6xtO-Ui.mjs";
|
|
8
8
|
import { n as getI18nConfig, r as isI18nEnabled } from "../config-XW5tMrH8.mjs";
|
|
9
|
-
import { a as validateContentStorage, n as contentDigest, r as contentStorageConfigSchema, t as canonicalContentJson } from "../config
|
|
10
|
-
import { c as installContentStorageConfig,
|
|
11
|
-
import "../revisions-
|
|
9
|
+
import { a as validateContentStorage, n as contentDigest, r as contentStorageConfigSchema, t as canonicalContentJson } from "../config---A7Bg68.mjs";
|
|
10
|
+
import { _ as freezeContentPartition, c as installContentStorageConfig, h as cancelContentMigration, m as beginContentMigration, o as registerContentStorage, r as getContentStorage, t as assertContentStorageConfiguration } from "../runtime-Dz7vZRPU.mjs";
|
|
11
|
+
import "../revisions-C-T9CdGo.mjs";
|
|
12
12
|
import "../runtime-env-DpYGy4pT.mjs";
|
|
13
13
|
import { i as encodeBase64url } from "../base64-qvSs0Gxy.mjs";
|
|
14
14
|
import "../types-BI3ULB3A.mjs";
|
|
15
|
-
import { o as isMissingTableError } from "../loader-
|
|
15
|
+
import { o as isMissingTableError } from "../loader-C9hvIKEW.mjs";
|
|
16
16
|
import "../actor-D0AW80ld.mjs";
|
|
17
17
|
import "../atomic-authority-Bf5QZboB.mjs";
|
|
18
|
-
import { t as ContentRepository } from "../content-
|
|
18
|
+
import { t as ContentRepository } from "../content-Dxx0H4k8.mjs";
|
|
19
19
|
import "../request-cache-CizvDoxV.mjs";
|
|
20
20
|
import "../byline-registry-Caj0_gbU.mjs";
|
|
21
21
|
import "../field-defs-cache-dn5Tw79A.mjs";
|
|
22
|
-
import "../object-cache-
|
|
23
|
-
import { t as BylineRepository } from "../byline-
|
|
24
|
-
import "../owned-metadata-
|
|
22
|
+
import "../object-cache-qP60KjUp.mjs";
|
|
23
|
+
import { t as BylineRepository } from "../byline-BvFH-UZw.mjs";
|
|
24
|
+
import "../owned-metadata-CJs4-k1w.mjs";
|
|
25
25
|
import { n as slugify } from "../slugify-DvoaEPtL.mjs";
|
|
26
|
-
import "../revision-
|
|
26
|
+
import "../revision-BhnVYOMz.mjs";
|
|
27
27
|
import { t as MediaRepository } from "../media-BjH5OD-A.mjs";
|
|
28
28
|
import "../user-Bl2_8rhJ.mjs";
|
|
29
29
|
import "../terms-EskuqbKE.mjs";
|
|
30
|
-
import { t as TaxonomyRepository } from "../taxonomy-
|
|
30
|
+
import { t as TaxonomyRepository } from "../taxonomy-B4O77tAe.mjs";
|
|
31
31
|
import { t as OptionsRepository } from "../options-yFkLUuTw.mjs";
|
|
32
32
|
import "../redirect-CJ-FAbNK.mjs";
|
|
33
|
-
import "../content-write-
|
|
34
|
-
import "../
|
|
35
|
-
import
|
|
36
|
-
import "../
|
|
37
|
-
import "../
|
|
38
|
-
import { n as
|
|
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 { t as
|
|
52
|
-
import { t as
|
|
53
|
-
import { n as
|
|
54
|
-
import { n as d1ReleaseRevision } from "../state-ClG1I4wl.mjs";
|
|
33
|
+
import "../content-write-eOTKAf2d.mjs";
|
|
34
|
+
import { n as assertContentVersionStore, r as contentStoreCollectionFromFields, s as installContentVersionStore, t as ContentVersionStore } from "../version-store-DyYULGd3.mjs";
|
|
35
|
+
import "../write-intent-D6xfcx1f.mjs";
|
|
36
|
+
import "../seo-DxrTizK0.mjs";
|
|
37
|
+
import { n as DinewayToolsService, r as integrationResponse, t as DinewayToolsError } from "../service-DL1j3E4P.mjs";
|
|
38
|
+
import { i as parseEncryptionKeys, n as fingerprintKey, r as generateEncryptionKey, t as DinewaySecretsError } from "../secrets-D52WNV_c.mjs";
|
|
39
|
+
import "../content-refresh-COi0WfKw.mjs";
|
|
40
|
+
import { n as resolveAndValidateExternalUrl, t as SsrfError } from "../ssrf-C7tTSD1r.mjs";
|
|
41
|
+
import "../fts-manager-BHwhq1lC.mjs";
|
|
42
|
+
import "../public-discovery-CGRirTJH.mjs";
|
|
43
|
+
import { n as SchemaRegistry } from "../registry-3xWpSYNI.mjs";
|
|
44
|
+
import "../settings-D0SBKo-W.mjs";
|
|
45
|
+
import { n as VERSION } from "../version-DU2EdwT0.mjs";
|
|
46
|
+
import { t as IntegrationCredentialStore } from "../store-rYMso0t7.mjs";
|
|
47
|
+
import { a as reconcileManifestAccess, i as pluginManifestSchema } from "../manifest-schema-B_rWNZn5.mjs";
|
|
48
|
+
import "../content-C8i4DyTt.mjs";
|
|
49
|
+
import "../migrations-DTCIQJ2_.mjs";
|
|
50
|
+
import { t as validateSeed } from "../validate-WOW5vZz_.mjs";
|
|
51
|
+
import { t as applySeed } from "../apply-SoTzf8LK.mjs";
|
|
52
|
+
import { n as validateWorkersBindings, t as WORKERS_BUILD_METADATA } from "../workers-build-Bd4w1aw9.mjs";
|
|
53
|
+
import { n as d1ReleaseRevision } from "../state-LzJZ7qpq.mjs";
|
|
55
54
|
import { createHeaderAwareFetch, isRedirectResponse, resolveCustomHeaders } from "../client/external-auth-headers.mjs";
|
|
56
|
-
import { t as convertDataForRead } from "../portable-text-
|
|
57
|
-
import { a as createForgewayAccountClient, c as normalizeForgewayApiUrl, d as refreshForgewayAccountCredentials, f as removeStoredForgewayAccount, g as writeForgewayCredentials, h as readForgewayCredentials, i as completeForgewayAccountLogin, l as normalizeForgewayEmail, m as listForgewayCredentials, n as DEFAULT_FORGEWAY_API_BASE_URL, o as getForgewayDinewayAccount, p as sendForgewayAccountLoginLink, r as InvalidForgewayAccountCredentialsError, s as normalizeDinewayWebUrl, t as DEFAULT_DINEWAY_WEB_URL, u as readStoredForgewayAccount } from "../forgeway-account-
|
|
58
|
-
import { n as output, t as configureOutputMode } from "../output-
|
|
59
|
-
import { _ as saveMarketplaceCredential, a as ensureProjectGitignoreDinewayLocalState, c as resolveDinewayBaseUrl, d as getCredentials, f as getMarketplaceCredential, g as saveCredentials, h as resolveCredentialKey, i as DEFAULT_DINEWAY_URL, l as resolveDinewayToken, m as removeMarketplaceCredential, n as connectionArgs, o as ensureProjectGitignoreEntry, p as removeCredentials, r as createClientFromArgs, s as readProjectEnv, u as upsertProjectEnv } from "../client-factory-
|
|
60
|
-
import { t as migrateD1Release } from "../release-
|
|
61
|
-
import { a as verifyContentMigration, c as contentMigrationSnapshotSchema, i as stageContentMigrationEntry, l as migrateContentStorageConfig, n as completeContentMigration, o as bootstrapContentDirectoryPage, r as rollbackContentMigration, t as activateContentMigrationEntry } from "../migration-
|
|
55
|
+
import { t as convertDataForRead } from "../portable-text-DeJeHr_T.mjs";
|
|
56
|
+
import { a as createForgewayAccountClient, c as normalizeForgewayApiUrl, d as refreshForgewayAccountCredentials, f as removeStoredForgewayAccount, g as writeForgewayCredentials, h as readForgewayCredentials, i as completeForgewayAccountLogin, l as normalizeForgewayEmail, m as listForgewayCredentials, n as DEFAULT_FORGEWAY_API_BASE_URL, o as getForgewayDinewayAccount, p as sendForgewayAccountLoginLink, r as InvalidForgewayAccountCredentialsError, s as normalizeDinewayWebUrl, t as DEFAULT_DINEWAY_WEB_URL, u as readStoredForgewayAccount } from "../forgeway-account-B-z2_ZOQ.mjs";
|
|
57
|
+
import { n as output, t as configureOutputMode } from "../output-4F_wq70p.mjs";
|
|
58
|
+
import { _ as saveMarketplaceCredential, a as ensureProjectGitignoreDinewayLocalState, c as resolveDinewayBaseUrl, d as getCredentials, f as getMarketplaceCredential, g as saveCredentials, h as resolveCredentialKey, i as DEFAULT_DINEWAY_URL, l as resolveDinewayToken, m as removeMarketplaceCredential, n as connectionArgs, o as ensureProjectGitignoreEntry, p as removeCredentials, r as createClientFromArgs, s as readProjectEnv, u as upsertProjectEnv } from "../client-factory-8GnB8iz5.mjs";
|
|
59
|
+
import { t as migrateD1Release } from "../release-Bk-UaI2C.mjs";
|
|
60
|
+
import { a as verifyContentMigration, c as contentMigrationSnapshotSchema, i as stageContentMigrationEntry, l as migrateContentStorageConfig, n as completeContentMigration, o as bootstrapContentDirectoryPage, r as rollbackContentMigration, t as activateContentMigrationEntry } from "../migration-C9nW8q7f.mjs";
|
|
62
61
|
import { LocalStorage } from "../storage/local.mjs";
|
|
63
|
-
import { r as fileExists$11, t as bundleCommand } from "../bundle-
|
|
62
|
+
import { r as fileExists$11, t as bundleCommand } from "../bundle-CnJWXvur.mjs";
|
|
64
63
|
import { createRequire } from "node:module";
|
|
65
64
|
import { createHash, randomUUID } from "node:crypto";
|
|
66
65
|
import { CompiledQuery, Kysely, sql } from "kysely";
|
|
@@ -1231,8 +1230,11 @@ async function runContentStorageCommand(options) {
|
|
|
1231
1230
|
const schemas = Object.fromEntries(await Promise.all(Object.keys(config.rules).map(async (collection) => {
|
|
1232
1231
|
const row = await primary.selectFrom("_dineway_collections").select("id").where("slug", "=", collection).executeTakeFirst();
|
|
1233
1232
|
if (!row) throw new Error(`Install the primary schema for ${collection} first.`);
|
|
1234
|
-
|
|
1235
|
-
|
|
1233
|
+
return [collection, contentStoreCollectionFromFields(await primary.selectFrom("_dineway_fields").select([
|
|
1234
|
+
"slug",
|
|
1235
|
+
"type",
|
|
1236
|
+
"column_type as columnType"
|
|
1237
|
+
]).where("collection_id", "=", row.id).execute())];
|
|
1236
1238
|
})));
|
|
1237
1239
|
for (const [name, store] of Object.entries(config.stores)) await installContentVersionStore(databases[name], store.identity, schemas, { upgrade: options.action === "schema" });
|
|
1238
1240
|
if (options.action === "install") await installContentStorageConfig(primary, config, { initial: "primary" });
|
|
@@ -4375,7 +4377,7 @@ const devCommand = defineCommand({
|
|
|
4375
4377
|
const remoteUrl = pkg.dineway?.url || process.env.DINEWAY_URL;
|
|
4376
4378
|
if (!remoteUrl) consola.warn("No remote URL configured. Set DINEWAY_URL or dineway.url in package.json");
|
|
4377
4379
|
else try {
|
|
4378
|
-
const { createClientFromArgs } = await import("../client-factory-
|
|
4380
|
+
const { createClientFromArgs } = await import("../client-factory-8GnB8iz5.mjs").then((n) => n.t);
|
|
4379
4381
|
const client = createClientFromArgs({ url: remoteUrl });
|
|
4380
4382
|
const schema = await client.schemaExport();
|
|
4381
4383
|
const types = await client.schemaTypes();
|
|
@@ -6429,7 +6431,7 @@ const publishCommand = defineCommand({
|
|
|
6429
6431
|
const pluginDir = resolve(args.dir);
|
|
6430
6432
|
try {
|
|
6431
6433
|
const { runCommand } = await import("citty");
|
|
6432
|
-
const { bundleCommand } = await import("../bundle-
|
|
6434
|
+
const { bundleCommand } = await import("../bundle-CnJWXvur.mjs").then((n) => n.n);
|
|
6433
6435
|
await runCommand(bundleCommand, { rawArgs: ["--dir", pluginDir] });
|
|
6434
6436
|
} catch {
|
|
6435
6437
|
consola.error("Build failed");
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import "../types-
|
|
2
|
-
import "../types-
|
|
3
|
-
import "../runner-
|
|
4
|
-
import "../index-
|
|
5
|
-
import "../types-
|
|
6
|
-
import "../types-
|
|
7
|
-
import "../adapters-
|
|
8
|
-
import "../runtime-
|
|
9
|
-
import "../hook-events-
|
|
10
|
-
import "../scheduled-publish-
|
|
11
|
-
import "../public-url-
|
|
12
|
-
import "../validate-
|
|
13
|
-
import "../byline-fields-
|
|
14
|
-
import "../types-
|
|
1
|
+
import "../types-z2nZassR.mjs";
|
|
2
|
+
import "../types-CG9uGPBL.mjs";
|
|
3
|
+
import "../runner-DlkOiguI.mjs";
|
|
4
|
+
import "../index-_fCUsJx9.mjs";
|
|
5
|
+
import "../types-CeFGasN8.mjs";
|
|
6
|
+
import "../types-DLwh1QkC.mjs";
|
|
7
|
+
import "../adapters-cL325h6c.mjs";
|
|
8
|
+
import "../runtime-Dx9QpCL5.mjs";
|
|
9
|
+
import "../hook-events-lN-kz-4_.mjs";
|
|
10
|
+
import "../scheduled-publish-7kZkKw7t.mjs";
|
|
11
|
+
import "../public-url-CvNSyMJJ.mjs";
|
|
12
|
+
import "../validate-CleBZbkv.mjs";
|
|
13
|
+
import "../byline-fields-LAgJ9PSU.mjs";
|
|
14
|
+
import "../types-BuplUVZ4.mjs";
|
|
15
15
|
import { DinewayClient, PluginRequestOptions } from "../client/index.mjs";
|
|
16
16
|
import { SubCommandsDef } from "citty";
|
|
17
17
|
|
package/dist/cli/plugin-kit.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as output, t as configureOutputMode } from "../output-
|
|
2
|
-
import { n as connectionArgs, r as createClientFromArgs } from "../client-factory-
|
|
1
|
+
import { n as output, t as configureOutputMode } from "../output-4F_wq70p.mjs";
|
|
2
|
+
import { n as connectionArgs, r as createClientFromArgs } from "../client-factory-8GnB8iz5.mjs";
|
|
3
3
|
|
|
4
4
|
export { configureOutputMode, connectionArgs, createClientFromArgs, output };
|
package/dist/client/index.d.mts
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import { Ms as ReviewRequestStatus, Wt as PublicationPolicyOverride, Yt as PublicationReadinessResult, Zt as PublicationReceipt, js as ReviewRequest } from "../types-
|
|
2
|
-
import "../types-
|
|
3
|
-
import "../runner-
|
|
4
|
-
import "../index-
|
|
5
|
-
import "../types-
|
|
6
|
-
import "../types-
|
|
7
|
-
import "../adapters-
|
|
8
|
-
import "../runtime-
|
|
9
|
-
import "../hook-events-
|
|
10
|
-
import "../scheduled-publish-
|
|
11
|
-
import "../public-url-
|
|
12
|
-
import "../validate-
|
|
13
|
-
import "../byline-fields-
|
|
14
|
-
import "../types-
|
|
15
|
-
import { a as tokenInterceptor, i as devBypassInterceptor, n as createTransport, r as csrfInterceptor, t as Interceptor } from "../transport-
|
|
16
|
-
import { n as markdownToPortableText, r as portableTextToMarkdown, t as PortableTextBlock } from "../portable-text-
|
|
1
|
+
import { Ms as ReviewRequestStatus, Wt as PublicationPolicyOverride, Yt as PublicationReadinessResult, Zt as PublicationReceipt, js as ReviewRequest } from "../types-z2nZassR.mjs";
|
|
2
|
+
import "../types-CG9uGPBL.mjs";
|
|
3
|
+
import "../runner-DlkOiguI.mjs";
|
|
4
|
+
import "../index-_fCUsJx9.mjs";
|
|
5
|
+
import "../types-CeFGasN8.mjs";
|
|
6
|
+
import "../types-DLwh1QkC.mjs";
|
|
7
|
+
import "../adapters-cL325h6c.mjs";
|
|
8
|
+
import "../runtime-Dx9QpCL5.mjs";
|
|
9
|
+
import "../hook-events-lN-kz-4_.mjs";
|
|
10
|
+
import "../scheduled-publish-7kZkKw7t.mjs";
|
|
11
|
+
import "../public-url-CvNSyMJJ.mjs";
|
|
12
|
+
import "../validate-CleBZbkv.mjs";
|
|
13
|
+
import "../byline-fields-LAgJ9PSU.mjs";
|
|
14
|
+
import "../types-BuplUVZ4.mjs";
|
|
15
|
+
import { a as tokenInterceptor, i as devBypassInterceptor, n as createTransport, r as csrfInterceptor, t as Interceptor } from "../transport-Cm1beMRX.mjs";
|
|
16
|
+
import { n as markdownToPortableText, r as portableTextToMarkdown, t as PortableTextBlock } from "../portable-text-BZYFFIgm.mjs";
|
|
17
17
|
|
|
18
18
|
//#region src/client/index.d.ts
|
|
19
19
|
interface DinewayClientOptions {
|
package/dist/client/index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { i as portableTextToMarkdown, n as convertDataForWrite, r as markdownToPortableText, t as convertDataForRead } from "../portable-text-
|
|
2
|
-
import { a as tokenInterceptor, i as refreshInterceptor, n as csrfInterceptor, r as devBypassInterceptor, t as createTransport } from "../transport-
|
|
1
|
+
import { i as portableTextToMarkdown, n as convertDataForWrite, r as markdownToPortableText, t as convertDataForRead } from "../portable-text-DeJeHr_T.mjs";
|
|
2
|
+
import { a as tokenInterceptor, i as refreshInterceptor, n as csrfInterceptor, r as devBypassInterceptor, t as createTransport } from "../transport-DHTeMsJG.mjs";
|
|
3
3
|
import mime from "mime/lite";
|
|
4
4
|
|
|
5
5
|
//#region src/client/index.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { i as encodeCursor, r as decodeCursor } from "./types-BI3ULB3A.mjs";
|
|
2
|
-
import { s as invalidateCommentObjectCache } from "./object-cache-
|
|
2
|
+
import { s as invalidateCommentObjectCache } from "./object-cache-qP60KjUp.mjs";
|
|
3
3
|
import { sql } from "kysely";
|
|
4
4
|
import { ulid } from "ulidx";
|
|
5
5
|
|
|
@@ -28,6 +28,7 @@ const contentStorageConfigSchema = z.object({
|
|
|
28
28
|
config: z.record(z.string(), z.json())
|
|
29
29
|
}).strict()),
|
|
30
30
|
rules: z.record(z.string(), z.object({
|
|
31
|
+
indexFields: z.array(z.string()).optional(),
|
|
31
32
|
partitionBy: z.union([z.object({ field: z.string() }).strict(), z.object({
|
|
32
33
|
entrypoint: z.string(),
|
|
33
34
|
config: z.json().optional(),
|
|
@@ -81,6 +82,7 @@ function validateContentStorage(config) {
|
|
|
81
82
|
}
|
|
82
83
|
for (const [collection, rule] of Object.entries(config.rules)) {
|
|
83
84
|
if (!COLLECTION.test(collection) || UNSAFE_KEYS.has(collection)) invalid(`Invalid content type: ${collection}`);
|
|
85
|
+
if (rule.indexFields && (rule.indexFields.length > 98 || new Set(rule.indexFields).size !== rule.indexFields.length || rule.indexFields.some((field) => !COLLECTION.test(field) || UNSAFE_KEYS.has(field)))) invalid(`Invalid primary index fields for ${collection}.`);
|
|
84
86
|
if ("field" in rule.partitionBy) {
|
|
85
87
|
if (!FIELD.test(rule.partitionBy.field) || rule.partitionBy.field.split(".").some((part) => UNSAFE_KEYS.has(part))) invalid(`Invalid partition field for ${collection}`);
|
|
86
88
|
} else {
|
|
@@ -2,14 +2,14 @@ import { c as __exportAll } from "./runner-CuG8o1uW.mjs";
|
|
|
2
2
|
import { AtomicWriteConflict, atomicBatch, isD1Database, rowUnchanged } from "./database/batch.mjs";
|
|
3
3
|
import { t as validateIdentifier } from "./validate-Co3j6T_K.mjs";
|
|
4
4
|
import { o as isPostgres } from "./dialect-helpers-C6xtO-Ui.mjs";
|
|
5
|
-
import { n as contentDigest, o as ContentStorageError, t as canonicalContentJson } from "./config
|
|
6
|
-
import { a as hydrateContentRows,
|
|
5
|
+
import { n as contentDigest, o as ContentStorageError, t as canonicalContentJson } from "./config---A7Bg68.mjs";
|
|
6
|
+
import { a as hydrateContentRows, g as contentPartitionWritable, r as getContentStorage } from "./runtime-Dz7vZRPU.mjs";
|
|
7
7
|
import { i as encodeCursor, n as ScheduledNotDueError, r as decodeCursor, t as DinewayValidationError } from "./types-BI3ULB3A.mjs";
|
|
8
8
|
import { t as contentWriteChecks } from "./atomic-authority-Bf5QZboB.mjs";
|
|
9
|
-
import { o as invalidateCollectionCache } from "./object-cache-
|
|
10
|
-
import { i as storedContentSeo, r as snapshotOwnedContentMetadata, t as contentEventBylines } from "./owned-metadata-
|
|
9
|
+
import { o as invalidateCollectionCache } from "./object-cache-qP60KjUp.mjs";
|
|
10
|
+
import { i as storedContentSeo, r as snapshotOwnedContentMetadata, t as contentEventBylines } from "./owned-metadata-CJs4-k1w.mjs";
|
|
11
11
|
import { n as slugify } from "./slugify-DvoaEPtL.mjs";
|
|
12
|
-
import { t as RevisionRepository } from "./revision-
|
|
12
|
+
import { t as RevisionRepository } from "./revision-BhnVYOMz.mjs";
|
|
13
13
|
import { sql } from "kysely";
|
|
14
14
|
import { ulid } from "ulidx";
|
|
15
15
|
import { z } from "zod";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { AtomicWriteConflict, atomicBatch } from "./database/batch.mjs";
|
|
2
2
|
import { t as validateIdentifier } from "./validate-Co3j6T_K.mjs";
|
|
3
3
|
import { r as isI18nEnabled } from "./config-XW5tMrH8.mjs";
|
|
4
|
-
import { a as hydrateContentRows } from "./runtime-
|
|
5
|
-
import { t as readRevisionData } from "./revisions-
|
|
4
|
+
import { a as hydrateContentRows } from "./runtime-Dz7vZRPU.mjs";
|
|
5
|
+
import { t as readRevisionData } from "./revisions-C-T9CdGo.mjs";
|
|
6
6
|
import { i as encodeCursor, r as decodeCursor } from "./types-BI3ULB3A.mjs";
|
|
7
7
|
import { n as chunks, t as SQL_BATCH_SIZE } from "./chunks-Bb56aCtB.mjs";
|
|
8
8
|
import { n as normalizeMime } from "./mime-FkfazULS.mjs";
|
|
9
|
-
import { n as hashString } from "./hash-
|
|
9
|
+
import { n as hashString } from "./hash-BinU5FKm.mjs";
|
|
10
10
|
import { sql } from "kysely";
|
|
11
11
|
import { ulid } from "ulidx";
|
|
12
12
|
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { n as Database } from "../types-
|
|
1
|
+
import { n as Database } from "../types-CG9uGPBL.mjs";
|
|
2
2
|
import "../database/batch.mjs";
|
|
3
|
-
import { a as ContentStorageActivation, c as ContentStorageError, d as ContentStore, f as ContentStoreDescriptor, i as ContentPartitionRule, l as ContentStorageReplay, n as ContentPartitionContext, o as ContentStorageCommand, p as PreparedContentVersion, r as ContentPartitionResolver, s as ContentStorageConfig, t as ContentLocation, u as ContentStorageValue } from "../types-
|
|
4
|
-
import { a as registerContentStorage, i as hydrateContentRows, n as assertContentStorageConfiguration, o as ContentStorageCoordinator, r as getContentStorage, s as installContentStorageConfig, t as ContentStorageRuntime } from "../runtime-
|
|
5
|
-
import "../hook-events-
|
|
6
|
-
import { a as
|
|
3
|
+
import { a as ContentStorageActivation, c as ContentStorageError, d as ContentStore, f as ContentStoreDescriptor, i as ContentPartitionRule, l as ContentStorageReplay, n as ContentPartitionContext, o as ContentStorageCommand, p as PreparedContentVersion, r as ContentPartitionResolver, s as ContentStorageConfig, t as ContentLocation, u as ContentStorageValue } from "../types-CeFGasN8.mjs";
|
|
4
|
+
import { a as registerContentStorage, i as hydrateContentRows, n as assertContentStorageConfiguration, o as ContentStorageCoordinator, r as getContentStorage, s as installContentStorageConfig, t as ContentStorageRuntime } from "../runtime-Dx9QpCL5.mjs";
|
|
5
|
+
import "../hook-events-lN-kz-4_.mjs";
|
|
6
|
+
import { a as contentStoreCollectionSchema, c as installContentVersionStore, d as resolveContentPartition, f as validateContentStorage, i as contentStoreCollectionFromFields, l as canonicalContentJson, n as ContentVersionStore, o as contentStoreRequestSchema, r as assertContentVersionStore, s as contentVersionSchema, t as ContentStoreCollection, u as contentDigest } from "../version-store-B6i81L9W.mjs";
|
|
7
7
|
import * as kysely from "kysely";
|
|
8
8
|
import { Kysely } from "kysely";
|
|
9
9
|
import { z } from "zod";
|
|
@@ -190,4 +190,4 @@ declare function completeContentMigration(db: Kysely<Database>, migration: Conte
|
|
|
190
190
|
/** Restore the archived source only before writes have reopened. Never deletes either copy. */
|
|
191
191
|
declare function rollbackContentMigration(db: Kysely<Database>, migration: ContentMigrationIdentity, archive: ContentMigrationArchive): Promise<void>;
|
|
192
192
|
//#endregion
|
|
193
|
-
export { type ContentLocation, type ContentMigrationArchive, type ContentMigrationIdentity, type ContentMigrationSnapshot, type ContentPartitionContext, type ContentPartitionResolver, type ContentPartitionRoute, type ContentPartitionRule, type ContentStorageActivation, type ContentStorageCommand, type ContentStorageConfig, ContentStorageCoordinator, ContentStorageError, ContentStorageReplay, type ContentStorageRuntime, type ContentStorageValue, type ContentStore, type ContentStoreCollection, type ContentStoreDescriptor, ContentVersionStore, type PreparedContentVersion, activateContentMigrationEntry, assertContentStorageConfiguration, assertContentVersionStore, beginContentMigration, bootstrapContentDirectoryPage, cancelContentMigration, canonicalContentJson, captureContentMigrationSnapshot, completeContentMigration, contentDigest, contentMigrationSnapshotSchema, contentStoreCollectionSchema, contentStoreRequestSchema, contentVersionSchema, freezeContentPartition, getContentStorage, hydrateContentRows, installContentStorageConfig, installContentVersionStore, migrateContentStorageConfig, readContentPartitionRoute, readRevisionData, readRevisionDataBatch, registerContentStorage, resolveContentPartition, rollbackContentMigration, stageContentMigrationEntry, validateContentStorage, verifyContentMigration };
|
|
193
|
+
export { type ContentLocation, type ContentMigrationArchive, type ContentMigrationIdentity, type ContentMigrationSnapshot, type ContentPartitionContext, type ContentPartitionResolver, type ContentPartitionRoute, type ContentPartitionRule, type ContentStorageActivation, type ContentStorageCommand, type ContentStorageConfig, ContentStorageCoordinator, ContentStorageError, ContentStorageReplay, type ContentStorageRuntime, type ContentStorageValue, type ContentStore, type ContentStoreCollection, type ContentStoreDescriptor, ContentVersionStore, type PreparedContentVersion, activateContentMigrationEntry, assertContentStorageConfiguration, assertContentVersionStore, beginContentMigration, bootstrapContentDirectoryPage, cancelContentMigration, canonicalContentJson, captureContentMigrationSnapshot, completeContentMigration, contentDigest, contentMigrationSnapshotSchema, contentStoreCollectionFromFields, contentStoreCollectionSchema, contentStoreRequestSchema, contentVersionSchema, freezeContentPartition, getContentStorage, hydrateContentRows, installContentStorageConfig, installContentVersionStore, migrateContentStorageConfig, readContentPartitionRoute, readRevisionData, readRevisionDataBatch, registerContentStorage, resolveContentPartition, rollbackContentMigration, stageContentMigrationEntry, validateContentStorage, verifyContentMigration };
|