dineway 0.2.24 → 0.2.26
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-Bm5x0dik.mjs → activity-C6JLcUzM.mjs} +2 -2
- package/dist/{activity-events-DpvhcjTP.mjs → activity-events-u9wIH8CQ.mjs} +1 -1
- package/dist/{allowed-origins-oYWytWyp.mjs → allowed-origins-CjTNO3cD.mjs} +1 -1
- package/dist/api/route-utils.d.mts +10 -10
- package/dist/api/route-utils.mjs +13 -13
- package/dist/api/schemas/index.d.mts +1 -1
- package/dist/api/schemas/index.mjs +4 -3
- package/dist/{api-BLOmMni8.mjs → api-COtLcrtJ.mjs} +16 -16
- package/dist/{api-tokens-BFgXg0l2.mjs → api-tokens-CI5sgE1g.mjs} +1 -1
- package/dist/{apply-Hodkn7PL.mjs → apply-DNy1dp8W.mjs} +20 -18
- package/dist/astro/index.d.mts +11 -11
- package/dist/astro/index.mjs +3 -3
- package/dist/astro/middleware/auth.d.mts +9 -9
- package/dist/astro/middleware/auth.mjs +4 -4
- 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/seed.mjs +1 -1
- package/dist/astro/middleware.mjs +190 -79
- package/dist/astro/routes/api/admin/allowed-domains/_domain_.mjs +6 -5
- package/dist/astro/routes/api/admin/allowed-domains/index.mjs +6 -5
- 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 +17 -16
- package/dist/astro/routes/api/admin/byline-fields/_slug_/usage.mjs +3 -3
- package/dist/astro/routes/api/admin/byline-fields/_slug_.mjs +8 -7
- package/dist/astro/routes/api/admin/byline-fields/index.mjs +8 -7
- package/dist/astro/routes/api/admin/byline-fields/reorder.mjs +8 -7
- package/dist/astro/routes/api/admin/bylines/_id_/index.mjs +14 -13
- package/dist/astro/routes/api/admin/bylines/_id_/translations.mjs +14 -13
- package/dist/astro/routes/api/admin/bylines/index.mjs +14 -13
- package/dist/astro/routes/api/admin/comments/_id_/status.mjs +12 -11
- package/dist/astro/routes/api/admin/comments/_id_.mjs +5 -5
- package/dist/astro/routes/api/admin/comments/bulk.mjs +10 -9
- package/dist/astro/routes/api/admin/comments/counts.mjs +5 -5
- package/dist/astro/routes/api/admin/comments/index.mjs +10 -9
- package/dist/astro/routes/api/admin/context/_id_/history.mjs +24 -23
- package/dist/astro/routes/api/admin/context/_id_/index.mjs +24 -23
- package/dist/astro/routes/api/admin/context/_id_/review.mjs +29 -28
- package/dist/astro/routes/api/admin/context/_id_/supersede.mjs +29 -28
- package/dist/astro/routes/api/admin/context/diff.mjs +28 -27
- package/dist/astro/routes/api/admin/context/index.mjs +29 -28
- package/dist/astro/routes/api/admin/context/stale.mjs +28 -27
- package/dist/astro/routes/api/admin/hitl-requests/_id_/index.mjs +24 -23
- package/dist/astro/routes/api/admin/hitl-requests/_id_/resolve.mjs +28 -27
- package/dist/astro/routes/api/admin/hitl-requests/index.mjs +28 -27
- package/dist/astro/routes/api/admin/hooks/exclusive/_hookName_.mjs +25 -24
- 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 +54 -53
- package/dist/astro/routes/api/admin/plugins/_id_/enable.mjs +54 -53
- package/dist/astro/routes/api/admin/plugins/_id_/index.mjs +46 -45
- package/dist/astro/routes/api/admin/plugins/_id_/uninstall.mjs +53 -52
- package/dist/astro/routes/api/admin/plugins/_id_/update.mjs +53 -52
- package/dist/astro/routes/api/admin/plugins/index.mjs +46 -45
- package/dist/astro/routes/api/admin/plugins/marketplace/_id_/icon.mjs +2 -2
- package/dist/astro/routes/api/admin/plugins/marketplace/_id_/index.mjs +46 -45
- package/dist/astro/routes/api/admin/plugins/marketplace/_id_/install.mjs +53 -52
- package/dist/astro/routes/api/admin/plugins/marketplace/index.mjs +46 -45
- package/dist/astro/routes/api/admin/plugins/updates.mjs +46 -45
- package/dist/astro/routes/api/admin/review-requests/_id_/index.mjs +5 -5
- package/dist/astro/routes/api/admin/review-requests/_id_/resolve.mjs +29 -28
- package/dist/astro/routes/api/admin/review-requests/index.mjs +29 -28
- package/dist/astro/routes/api/admin/themes/marketplace/_id_/index.mjs +46 -45
- package/dist/astro/routes/api/admin/themes/marketplace/_id_/thumbnail.mjs +2 -2
- package/dist/astro/routes/api/admin/themes/marketplace/index.mjs +46 -45
- 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 +6 -5
- package/dist/astro/routes/api/admin/users/_id_/send-recovery.mjs +2 -2
- package/dist/astro/routes/api/admin/users/index.mjs +6 -5
- 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 +9 -8
- package/dist/astro/routes/api/auth/invite/index.mjs +7 -6
- package/dist/astro/routes/api/auth/invite/register-options.mjs +8 -7
- package/dist/astro/routes/api/auth/logout.mjs +2 -2
- package/dist/astro/routes/api/auth/magic-link/send.mjs +9 -8
- package/dist/astro/routes/api/auth/magic-link/verify.mjs +2 -2
- package/dist/astro/routes/api/auth/me.mjs +8 -7
- 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 +6 -5
- package/dist/astro/routes/api/auth/passkey/index.mjs +1 -1
- package/dist/astro/routes/api/auth/passkey/options.mjs +10 -9
- package/dist/astro/routes/api/auth/passkey/register/options.mjs +8 -7
- package/dist/astro/routes/api/auth/passkey/register/verify.mjs +9 -8
- package/dist/astro/routes/api/auth/passkey/verify.mjs +9 -8
- package/dist/astro/routes/api/auth/setup-token/index.mjs +5 -5
- package/dist/astro/routes/api/auth/setup-token/verify.mjs +2 -2
- package/dist/astro/routes/api/auth/signup/complete.mjs +9 -8
- package/dist/astro/routes/api/auth/signup/request.mjs +9 -8
- package/dist/astro/routes/api/auth/signup/verify.mjs +1 -1
- package/dist/astro/routes/api/comments/_collection_/_contentId_/index.mjs +13 -12
- package/dist/astro/routes/api/comments/_collection_/_contentId_/reactions.mjs +12 -11
- package/dist/astro/routes/api/content/_collection_/_id_/compare.mjs +2 -2
- package/dist/astro/routes/api/content/_collection_/_id_/discard-draft.mjs +6 -6
- package/dist/astro/routes/api/content/_collection_/_id_/duplicate.mjs +6 -6
- package/dist/astro/routes/api/content/_collection_/_id_/permanent.mjs +6 -6
- package/dist/astro/routes/api/content/_collection_/_id_/preview-url.mjs +10 -9
- package/dist/astro/routes/api/content/_collection_/_id_/publish.mjs +16 -15
- package/dist/astro/routes/api/content/_collection_/_id_/release-readiness.mjs +8 -7
- package/dist/astro/routes/api/content/_collection_/_id_/restore.mjs +6 -6
- package/dist/astro/routes/api/content/_collection_/_id_/revisions.mjs +2 -2
- package/dist/astro/routes/api/content/_collection_/_id_/schedule.mjs +16 -15
- package/dist/astro/routes/api/content/_collection_/_id_/terms/_taxonomy_.mjs +13 -12
- package/dist/astro/routes/api/content/_collection_/_id_/translations.mjs +2 -2
- package/dist/astro/routes/api/content/_collection_/_id_/unpublish.mjs +6 -6
- package/dist/astro/routes/api/content/_collection_/_id_.mjs +11 -10
- package/dist/astro/routes/api/content/_collection_/authors.mjs +2 -2
- package/dist/astro/routes/api/content/_collection_/index.mjs +11 -10
- package/dist/astro/routes/api/content/_collection_/trash.mjs +7 -6
- package/dist/astro/routes/api/dashboard.mjs +8 -8
- 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 +18 -17
- package/dist/astro/routes/api/import/wordpress/analyze.mjs +9 -8
- package/dist/astro/routes/api/import/wordpress/execute.d.mts +9 -9
- package/dist/astro/routes/api/import/wordpress/execute.mjs +33 -32
- package/dist/astro/routes/api/import/wordpress/media.d.mts +9 -9
- package/dist/astro/routes/api/import/wordpress/media.mjs +10 -9
- package/dist/astro/routes/api/import/wordpress/prepare.mjs +32 -31
- package/dist/astro/routes/api/import/wordpress/rewrite-urls.d.mts +10 -10
- package/dist/astro/routes/api/import/wordpress/rewrite-urls.mjs +29 -28
- package/dist/astro/routes/api/import/wordpress-plugin/analyze.d.mts +1 -1
- package/dist/astro/routes/api/import/wordpress-plugin/analyze.mjs +21 -20
- package/dist/astro/routes/api/import/wordpress-plugin/execute.d.mts +9 -9
- package/dist/astro/routes/api/import/wordpress-plugin/execute.mjs +37 -36
- 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 +3 -3
- package/dist/astro/routes/api/mcp.mjs +66 -65
- package/dist/astro/routes/api/media/_id_/confirm.mjs +9 -8
- package/dist/astro/routes/api/media/_id_.mjs +8 -7
- 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 -9
- package/dist/astro/routes/api/media.mjs +11 -10
- package/dist/astro/routes/api/menus/_name_/items/_id_.mjs +29 -28
- package/dist/astro/routes/api/menus/_name_/items.mjs +29 -28
- package/dist/astro/routes/api/menus/_name_/reorder.mjs +29 -28
- package/dist/astro/routes/api/menus/_name_/translations.mjs +29 -28
- package/dist/astro/routes/api/menus/_name_.mjs +29 -28
- package/dist/astro/routes/api/menus/index.mjs +29 -28
- package/dist/astro/routes/api/oauth/authorize.mjs +7 -7
- package/dist/astro/routes/api/oauth/device/authorize.mjs +6 -6
- 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 +6 -6
- package/dist/astro/routes/api/oauth/token/revoke.mjs +6 -6
- package/dist/astro/routes/api/oauth/token.mjs +6 -6
- package/dist/astro/routes/api/openapi.json.mjs +5 -4
- package/dist/astro/routes/api/plugins/_pluginId_/_...path_.mjs +4 -4
- package/dist/astro/routes/api/redirects/404s/index.mjs +10 -9
- package/dist/astro/routes/api/redirects/404s/summary.mjs +10 -9
- package/dist/astro/routes/api/redirects/_id_.mjs +30 -29
- package/dist/astro/routes/api/redirects/index.mjs +30 -29
- 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 +48 -47
- package/dist/astro/routes/api/schema/collections/_slug_/fields/index.mjs +48 -47
- package/dist/astro/routes/api/schema/collections/_slug_/fields/reorder.mjs +48 -47
- package/dist/astro/routes/api/schema/collections/_slug_/index.mjs +48 -47
- package/dist/astro/routes/api/schema/collections/index.mjs +48 -47
- package/dist/astro/routes/api/schema/index.mjs +8 -7
- package/dist/astro/routes/api/schema/orphans/_slug_.mjs +46 -45
- package/dist/astro/routes/api/schema/orphans/index.mjs +46 -45
- package/dist/astro/routes/api/search/enable.mjs +11 -10
- package/dist/astro/routes/api/search/index.mjs +10 -9
- package/dist/astro/routes/api/search/rebuild.mjs +11 -10
- package/dist/astro/routes/api/search/stats.mjs +6 -6
- package/dist/astro/routes/api/search/suggest.mjs +10 -9
- package/dist/astro/routes/api/sections/_slug_.mjs +29 -28
- package/dist/astro/routes/api/sections/index.mjs +29 -28
- package/dist/astro/routes/api/settings/email.mjs +3 -3
- package/dist/astro/routes/api/settings.mjs +29 -28
- package/dist/astro/routes/api/setup/admin-verify.mjs +11 -10
- package/dist/astro/routes/api/setup/admin.mjs +9 -8
- package/dist/astro/routes/api/setup/dev-bypass.mjs +24 -23
- package/dist/astro/routes/api/setup/dev-reset.mjs +1 -1
- package/dist/astro/routes/api/setup/index.mjs +24 -23
- package/dist/astro/routes/api/setup/status.mjs +2 -2
- package/dist/astro/routes/api/snapshot.mjs +5 -5
- package/dist/astro/routes/api/taxonomies/_name_/terms/_slug_/translations.mjs +32 -31
- package/dist/astro/routes/api/taxonomies/_name_/terms/_slug_.mjs +32 -31
- package/dist/astro/routes/api/taxonomies/_name_/terms/index.mjs +32 -31
- package/dist/astro/routes/api/taxonomies/index.mjs +32 -31
- 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 +1 -1
- 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 +28 -27
- package/dist/astro/routes/api/widget-areas/_name_/widgets/_id_.mjs +29 -28
- package/dist/astro/routes/api/widget-areas/_name_/widgets.mjs +29 -28
- package/dist/astro/routes/api/widget-areas/_name_.mjs +26 -25
- package/dist/astro/routes/api/widget-areas/index.mjs +29 -28
- package/dist/astro/routes/api/widget-components.mjs +2 -2
- package/dist/astro/routes/robots.txt.mjs +5 -5
- package/dist/astro/routes/sitemap-_collection_.xml.mjs +12 -11
- package/dist/astro/routes/sitemap.xml.mjs +11 -10
- package/dist/astro/session-driver.d.mts +1 -1
- package/dist/astro/session-driver.mjs +2 -2
- package/dist/astro/types.d.mts +13 -12
- package/dist/{audit-nenmMR-2.mjs → audit-BGHS3IuK.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-B7PdECn6.mjs → auth-control-guard-BQLSUQd7.mjs} +1 -1
- package/dist/{authorize-DTvHe9bm.mjs → authorize-D8etr-1g.mjs} +1 -1
- package/dist/{briefing-CpU_z8qH.mjs → briefing-DcDVI-0v.mjs} +5 -5
- package/dist/{briefing-PxagUoJJ.mjs → briefing-Yao75K3z.mjs} +1 -1
- package/dist/{bundle-dsO2-7eh.mjs → bundle-MGZ2MLSb.mjs} +2 -2
- package/dist/{byline-DEBDPF8R.mjs → byline-CbFno1Kd.mjs} +4 -4
- package/dist/{byline-fields-BQRx17y_.mjs → byline-fields-C0IOddTf.mjs} +1 -1
- package/dist/{byline-fields-Bp9r0NnN.d.mts → byline-fields-CjCCA-Wn.d.mts} +44 -20
- package/dist/{bylines-C7hm1-iI.mjs → bylines-BotyuTdY.mjs} +3 -3
- package/dist/{bylines-YK6eGHvV.mjs → bylines-DXXMlc1A.mjs} +5 -5
- package/dist/{cache-BuVpjvBc.mjs → cache-Cf5yPNNw.mjs} +1 -1
- package/dist/{chunks-B-1_U3oF.mjs → chunks-Dh8yqZt3.mjs} +1 -1
- package/dist/cli/index.mjs +29 -27
- package/dist/cli/plugin-kit.d.mts +9 -9
- package/dist/cli/plugin-kit.mjs +2 -2
- package/dist/client/external-auth-headers.d.mts +1 -1
- package/dist/client/index.d.mts +11 -11
- package/dist/client/index.mjs +2 -2
- package/dist/{client-factory-Nyp2sznG.mjs → client-factory-BDDerNBz.mjs} +1 -1
- package/dist/{comment-BX6H4NF-.mjs → comment-eqM9KHbj.mjs} +1 -1
- package/dist/{comment-reaction-QSENU_3S.mjs → comment-reaction-mHuRHspq.mjs} +1 -1
- package/dist/{comments-BHSYG53k.mjs → comments-BFbF0xaG.mjs} +1 -1
- package/dist/{content-Bg_hMt4Q.mjs → content-C0qGd2Nt.mjs} +2 -2
- package/dist/{content-refresh-CHBBZGwf.mjs → content-refresh-BkGWtwUN.mjs} +2 -2
- package/dist/{context-BGt7zfQ-.mjs → context-BEgiPeP-.mjs} +8 -8
- package/dist/{context-BHXgPEPC.mjs → context-CnCdZ2xZ.mjs} +2 -2
- package/dist/{context-route-helpers-SwM-_GT4.mjs → context-route-helpers-CXxj6-jq.mjs} +2 -2
- package/dist/{dashboard-DPUW4hBR.mjs → dashboard-B8Sk45s8.mjs} +6 -6
- 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-XqdFNsv_.mjs → device-flow-DCbF6FAE.mjs} +4 -4
- package/dist/{discovery-DvuRcbP-.mjs → discovery-CUX99M46.mjs} +7 -3
- package/dist/{field-defs-cache-sSdDeJXP.mjs → field-defs-cache-7Ka899yA.mjs} +1 -1
- package/dist/{fts-manager-C7pxxk6B.mjs → fts-manager-D4K5mA0j.mjs} +1 -1
- package/dist/{hitl-requests-D7pfIM6q.mjs → hitl-requests-DU4wJSml.mjs} +2 -2
- package/dist/{hitl-route-helpers-Br9uvIQs.mjs → hitl-route-helpers-CkRqaLaJ.mjs} +5 -5
- package/dist/{import-CrsquhXj.mjs → import-BcSW07F1.mjs} +7 -7
- package/dist/{index-NdJMMO48.d.mts → index-C7X4h_27.d.mts} +3 -3
- package/dist/index.d.mts +16 -16
- package/dist/index.mjs +76 -75
- package/dist/{integration-credentials-B7Pj6YCv.mjs → integration-credentials-ylo0bguS.mjs} +2 -2
- package/dist/{jsonld-DGFZcxQX.d.mts → jsonld-thSA4Rua.d.mts} +2 -2
- package/dist/{load-Bul8Tk6e.mjs → load-B1cm00WU.mjs} +1 -1
- package/dist/{loader-BCr2VSzt.mjs → loader-CsX5pTud.mjs} +2 -2
- package/dist/{manifest-schema-U5qGq-iB.mjs → manifest-schema-VGSvatoU.mjs} +1 -1
- package/dist/{mcp-reviewed-executor-C1lIimd0.mjs → mcp-reviewed-executor-lqfDtcFo.mjs} +5 -5
- package/dist/media/index.d.mts +1 -1
- package/dist/media/local-runtime.d.mts +11 -11
- package/dist/media/local-runtime.mjs +2 -2
- package/dist/{media-D8pQJSug.mjs → media-DNde5-Am.mjs} +1 -1
- package/dist/{menus-DSWeEWXl.mjs → menus-D_pqSYJ3.mjs} +5 -5
- package/dist/{menus-3B-PGTX3.mjs → menus-oIJaGGUU.mjs} +1 -1
- package/dist/{oauth-authorization-CMU5kREy.mjs → oauth-authorization-DHeVHdGr.mjs} +4 -4
- package/dist/{oauth-clients-CLdR0WyA.mjs → oauth-clients-8cVhd-8W.mjs} +2 -2
- package/dist/object-cache/memory.d.mts +1 -1
- package/dist/page/index.d.mts +10 -10
- package/dist/page/index.mjs +1 -1
- package/dist/{parse-DEG06jjr.mjs → parse-RN_EgAxL.mjs} +1 -1
- package/dist/plugin-utils.d.mts +9 -9
- package/dist/plugins/adapt-sandbox-entry.d.mts +9 -9
- package/dist/plugins/adapt-sandbox-entry.mjs +1 -1
- package/dist/{plugins-D8YxTh9q.mjs → plugins-DMImBiT9.mjs} +5 -5
- package/dist/{preview-Bn59ztjn.mjs → preview-DDtW5YuZ.mjs} +2 -2
- package/dist/{provider-loader-jdkZM6xZ.d.mts → provider-loader-DZ9uy48J.d.mts} +1 -1
- package/dist/public-discovery-BlJ80Hoh.mjs +30 -0
- package/dist/{public-url-xY0WefV6.d.mts → public-url-Binfty0i.d.mts} +1 -1
- package/dist/{public-url-DFX2c_20.d.mts → public-url-BuERxOoY.d.mts} +17 -2
- package/dist/{publication-authorization-BmazS4K0.mjs → publication-authorization-DYAGeWto.mjs} +15 -10
- package/dist/{query-CrUftarl.mjs → query-DzsPhsZk.mjs} +12 -12
- package/dist/{query-DPC5GT6e.mjs → query-qvv6Rar8.mjs} +2 -2
- package/dist/{rate-limit-DvGL45wH.mjs → rate-limit-BIuuIxP3.mjs} +2 -2
- package/dist/{redirect-8B-gorhg.mjs → redirect-B_9GwIZd.mjs} +1 -1
- package/dist/{redirects-DdPaQiWQ.mjs → redirects-Cj4lrY_X.mjs} +6 -2
- package/dist/{redirects-D2SVS1zo.mjs → redirects-DvsWZIiC.mjs} +3 -3
- package/dist/{registry-D3n4-yUl.mjs → registry-BwcF6gAj.mjs} +11 -5
- package/dist/{request-meta-DZTiCIQR.mjs → request-meta-C0druWvK.mjs} +1 -1
- package/dist/{review-requests-BQbmYLnz.mjs → review-requests-B2tCLjdA.mjs} +2 -2
- package/dist/{review-requests-D5CJ4JCy.mjs → review-requests-Bo4jcxtU.mjs} +1 -1
- package/dist/{review-route-helpers-DYiujAPM.mjs → review-route-helpers-CeYzVpNa.mjs} +2 -2
- package/dist/{runner-BWZ87FK-.mjs → runner-CQnzfBpD.mjs} +475 -461
- package/dist/{runner-BITx7yBF.d.mts → runner-DnswPQIl.d.mts} +1 -1
- package/dist/runtime.d.mts +10 -10
- package/dist/runtime.mjs +3 -3
- package/dist/schema-86uC3yVE.mjs +8 -0
- package/dist/{search-B_ir6H6m.mjs → search-CeXUu1KD.mjs} +3 -3
- package/dist/{sections-pRy07N5I.mjs → sections-BQdtDQUw.mjs} +2 -2
- package/dist/seed/index.d.mts +2 -2
- package/dist/seed/index.mjs +18 -17
- package/dist/seo/index.d.mts +4 -4
- package/dist/seo/index.mjs +8 -7
- package/dist/{seo-DdNntVj-.mjs → seo-BVmdKP7v.mjs} +1 -1
- package/dist/{seo-C4nlxiaY.mjs → seo-BpuKUrBs.mjs} +1 -1
- package/dist/{service-D6fJX7D7.mjs → service-CSeV_04p.mjs} +2 -2
- package/dist/{settings-C4OMR0zf.mjs → settings-ClnGCe1a.mjs} +2 -2
- package/dist/{settings-D-a7uy2z.mjs → settings-DXp6vRdV.mjs} +3 -3
- package/dist/{site-activity-CnrmnFRy.mjs → site-activity-By0wWO0g.mjs} +1 -1
- package/dist/{site-context-Bdsobbh9.mjs → site-context-DRSrU7hX.mjs} +14 -14
- 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-DerEE3jG.mjs → store-C6bydUdt.mjs} +1 -1
- package/dist/{taxonomies-6bWkaa_G.mjs → taxonomies-CHHgZFzB.mjs} +3 -3
- package/dist/{taxonomies-FKTevd14.mjs → taxonomies-Dfmkapin.mjs} +5 -5
- package/dist/{taxonomy-BU0eCfij.mjs → taxonomy-BUo9B6qp.mjs} +2 -2
- package/dist/{types-C9F2TLQV.mjs → types-CFvpEEOl.mjs} +1 -1
- package/dist/{types-B6r_SMeR.d.mts → types-DCkWipbM.d.mts} +1 -1
- package/dist/{types-B2kbOwSj.d.mts → types-VkWKA-R2.d.mts} +12 -1
- package/dist/{types-DlV9XH39.d.mts → types-ZDyMKdrZ.d.mts} +52 -25
- package/dist/{types-C8cUW9dh.d.mts → types-gG3syKwc.d.mts} +1 -0
- package/dist/ui/server-runtime.d.mts +13 -13
- package/dist/ui/server-runtime.mjs +21 -20
- package/dist/{user-BV02bsWz.mjs → user-BprdjWGE.mjs} +2 -2
- package/dist/{validate-Drps_jbV.mjs → validate-Cdvc9APD.mjs} +7 -1
- package/dist/{validate-Bc9gaua6.d.mts → validate-SXACKtqW.d.mts} +4 -3
- package/dist/version-BjNGau7O.mjs +6 -0
- package/dist/{widgets-BFqy7PYs.mjs → widgets-DMzBMhsO.mjs} +2 -2
- package/dist/{zod-generator-BlY_vGgR.mjs → zod-generator-C0nwBbg8.mjs} +1 -1
- package/package.json +3 -3
- package/dist/schema-kk9-6bUd.mjs +0 -8
- package/dist/version-C5jjci1c.mjs +0 -6
- /package/dist/{actor-D3A5PNkH.mjs → actor-Bu9whHez.mjs} +0 -0
- /package/dist/{adapters-DUVI3Mpc.d.mts → adapters-BZWb3OVu.d.mts} +0 -0
- /package/dist/{api-tokens-CbMAy6xF.mjs → api-tokens-BkXlt3V6.mjs} +0 -0
- /package/dist/{byline-fields-DPi4Ri_5.mjs → byline-fields-CS1Hi2N4.mjs} +0 -0
- /package/dist/{components-DGu-rih7.mjs → components-D5HxUv7y.mjs} +0 -0
- /package/dist/{cron-BjKHo0QD.mjs → cron-fQf7oVvf.mjs} +0 -0
- /package/dist/{default-CO47mlSA.mjs → default-CnbyLh9W.mjs} +0 -0
- /package/dist/{email-console-CFE1ay18.mjs → email-console-vFj2FFuJ.mjs} +0 -0
- /package/dist/{error-Jz0EtEwI.mjs → error-DWL9Pwyt.mjs} +0 -0
- /package/dist/{escape-HmHTC1Is.mjs → escape-DBggE3jq.mjs} +0 -0
- /package/dist/{experimental-workflows-EYZRNkRR.mjs → experimental-workflows-Dvn_xgew.mjs} +0 -0
- /package/dist/{media-allowlist-9u_gxMG2.mjs → media-allowlist-D3AHS_q3.mjs} +0 -0
- /package/dist/{media-url-DVoOhf4X.mjs → media-url-LSeVcoln.mjs} +0 -0
- /package/dist/{oauth-state-store-HdGg_nSm.mjs → oauth-state-store-CUU4azTF.mjs} +0 -0
- /package/dist/{oauth-user-lookup-CP16vyFW.mjs → oauth-user-lookup-CRFHKN_W.mjs} +0 -0
- /package/dist/{output-ClMzXYk4.mjs → output-13u4dvu-.mjs} +0 -0
- /package/dist/{parser-buoH2frr.mjs → parser-Co69H1x-.mjs} +0 -0
- /package/dist/{passkey-config-T47FwLtS.mjs → passkey-config-e-0KLl2R.mjs} +0 -0
- /package/dist/{placeholder-BsYSFPjY.d.mts → placeholder-DeJydgkj.d.mts} +0 -0
- /package/dist/{portable-text-Dm0bgrdZ.d.mts → portable-text-B7E-ali_.d.mts} +0 -0
- /package/dist/{portable-text-BYvg-bzu.mjs → portable-text-C8Tvp4_g.mjs} +0 -0
- /package/dist/{provider-loader-Dxka0BDp.mjs → provider-loader-BIxppPHS.mjs} +0 -0
- /package/dist/{public-url-CIAtNGEg.mjs → public-url-jFEiiLag.mjs} +0 -0
- /package/dist/{redirect-CzqnLxK-.mjs → redirect-C2bJtYhP.mjs} +0 -0
- /package/dist/{resolve-CThKf9_X.mjs → resolve-Doh2USIE.mjs} +0 -0
- /package/dist/{review-payload-BysRWpxS.mjs → review-payload-Cg9dtFgV.mjs} +0 -0
- /package/dist/{secrets-Dw3lXI42.mjs → secrets-re9BzPUD.mjs} +0 -0
- /package/dist/{seo-contributions-BGBehNCN.mjs → seo-contributions-CPDwm9MH.mjs} +0 -0
- /package/dist/{service-BXHAd4Zw.mjs → service-CY0aH6eI.mjs} +0 -0
- /package/dist/{setup-complete-CT7kGc8S.mjs → setup-complete-BcjodOdW.mjs} +0 -0
- /package/dist/{setup-nonce-CGUTFWgQ.mjs → setup-nonce-C76FNEst.mjs} +0 -0
- /package/dist/{sidecar-client-C6ylL-0S.mjs → sidecar-client-CQF4fcO7.mjs} +0 -0
- /package/dist/{site-url-CK5vBdFu.mjs → site-url-C1PUhgWO.mjs} +0 -0
- /package/dist/{ssrf-Dz2hqAiG.mjs → ssrf-CxOWiF0p.mjs} +0 -0
- /package/dist/{status-xz9JACSX.mjs → status-DvSRKIiF.mjs} +0 -0
- /package/dist/{tokens-DiodRT2y.mjs → tokens-COJxRo8q.mjs} +0 -0
- /package/dist/{transport-CscM7rhi.mjs → transport-BDQ73F0l.mjs} +0 -0
- /package/dist/{transport-DKy93p6V.d.mts → transport-BfF60P73.d.mts} +0 -0
- /package/dist/{trusted-proxy-NySPw95m.mjs → trusted-proxy-j2KYPN4r.mjs} +0 -0
- /package/dist/{types-DY9lJRpo.d.mts → types-B0P-ECRI.d.mts} +0 -0
- /package/dist/{types-C2LBO0t8.d.mts → types-C0hcZkqG.d.mts} +0 -0
- /package/dist/{types-BaKec6bx.d.mts → types-Cnz2EIEp.d.mts} +0 -0
- /package/dist/{types-ftxcMx5-.mjs → types-DA4L0OLk.mjs} +0 -0
- /package/dist/{types-Gd4kXLsa.d.mts → types-DN82MbYv.d.mts} +0 -0
- /package/dist/{types-C1LdZbQb.mjs → types-gnLXQcvx.mjs} +0 -0
- /package/dist/{url-C05Zz4pW.mjs → url-BG-3f-Vy.mjs} +0 -0
- /package/dist/{url-guoXQQcV.mjs → url-Bm__30we.mjs} +0 -0
- /package/dist/{utils-BPzpVHqR.mjs → utils-D_bwAtcb.mjs} +0 -0
- /package/dist/{wordpress-slugs-fMvfO22_.mjs → wordpress-slugs-CuizIp_V.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<20 | 50 | 10 | 30 | 40, unknown, z.core.$ZodTypeInternals<20 | 50 | 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>;
|
|
@@ -815,6 +815,10 @@ declare const createCollectionBody: z.ZodObject<{
|
|
|
815
815
|
source: z.ZodOptional<z.ZodString>;
|
|
816
816
|
urlPattern: z.ZodOptional<z.ZodString>;
|
|
817
817
|
urlField: z.ZodOptional<z.ZodString>;
|
|
818
|
+
publicDiscovery: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
819
|
+
excludeIfTrue: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
820
|
+
requireLiveRevision: z.ZodOptional<z.ZodBoolean>;
|
|
821
|
+
}, z.core.$strict>>>;
|
|
818
822
|
hasSeo: z.ZodOptional<z.ZodBoolean>;
|
|
819
823
|
}, z.core.$strip>;
|
|
820
824
|
declare const updateCollectionBody: z.ZodObject<{
|
|
@@ -831,6 +835,10 @@ declare const updateCollectionBody: z.ZodObject<{
|
|
|
831
835
|
}>>>;
|
|
832
836
|
urlPattern: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
833
837
|
urlField: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
838
|
+
publicDiscovery: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
839
|
+
excludeIfTrue: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
840
|
+
requireLiveRevision: z.ZodOptional<z.ZodBoolean>;
|
|
841
|
+
}, z.core.$strict>>>;
|
|
834
842
|
hasSeo: z.ZodOptional<z.ZodBoolean>;
|
|
835
843
|
commentsEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
836
844
|
commentsModeration: z.ZodOptional<z.ZodEnum<{
|
|
@@ -848,9 +856,9 @@ declare const createFieldBody: z.ZodObject<{
|
|
|
848
856
|
string: "string";
|
|
849
857
|
number: "number";
|
|
850
858
|
boolean: "boolean";
|
|
851
|
-
file: "file";
|
|
852
859
|
json: "json";
|
|
853
860
|
url: "url";
|
|
861
|
+
file: "file";
|
|
854
862
|
slug: "slug";
|
|
855
863
|
image: "image";
|
|
856
864
|
datetime: "datetime";
|
|
@@ -906,9 +914,9 @@ declare const updateFieldBody: z.ZodObject<{
|
|
|
906
914
|
string: "string";
|
|
907
915
|
number: "number";
|
|
908
916
|
boolean: "boolean";
|
|
909
|
-
file: "file";
|
|
910
917
|
json: "json";
|
|
911
918
|
url: "url";
|
|
919
|
+
file: "file";
|
|
912
920
|
slug: "slug";
|
|
913
921
|
image: "image";
|
|
914
922
|
datetime: "datetime";
|
|
@@ -983,6 +991,10 @@ declare const collectionSchema: z.ZodObject<{
|
|
|
983
991
|
source: z.ZodNullable<z.ZodString>;
|
|
984
992
|
urlPattern: z.ZodNullable<z.ZodString>;
|
|
985
993
|
urlField: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
994
|
+
publicDiscovery: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
995
|
+
excludeIfTrue: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
996
|
+
requireLiveRevision: z.ZodOptional<z.ZodBoolean>;
|
|
997
|
+
}, z.core.$strict>>>;
|
|
986
998
|
hasSeo: z.ZodBoolean;
|
|
987
999
|
createdAt: z.ZodString;
|
|
988
1000
|
updatedAt: z.ZodString;
|
|
@@ -996,9 +1008,9 @@ declare const fieldSchema: z.ZodObject<{
|
|
|
996
1008
|
string: "string";
|
|
997
1009
|
number: "number";
|
|
998
1010
|
boolean: "boolean";
|
|
999
|
-
file: "file";
|
|
1000
1011
|
json: "json";
|
|
1001
1012
|
url: "url";
|
|
1013
|
+
file: "file";
|
|
1002
1014
|
slug: "slug";
|
|
1003
1015
|
image: "image";
|
|
1004
1016
|
datetime: "datetime";
|
|
@@ -1034,6 +1046,10 @@ declare const collectionResponseSchema: z.ZodObject<{
|
|
|
1034
1046
|
source: z.ZodNullable<z.ZodString>;
|
|
1035
1047
|
urlPattern: z.ZodNullable<z.ZodString>;
|
|
1036
1048
|
urlField: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1049
|
+
publicDiscovery: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1050
|
+
excludeIfTrue: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1051
|
+
requireLiveRevision: z.ZodOptional<z.ZodBoolean>;
|
|
1052
|
+
}, z.core.$strict>>>;
|
|
1037
1053
|
hasSeo: z.ZodBoolean;
|
|
1038
1054
|
createdAt: z.ZodString;
|
|
1039
1055
|
updatedAt: z.ZodString;
|
|
@@ -1051,6 +1067,10 @@ declare const collectionWithFieldsResponseSchema: z.ZodObject<{
|
|
|
1051
1067
|
source: z.ZodNullable<z.ZodString>;
|
|
1052
1068
|
urlPattern: z.ZodNullable<z.ZodString>;
|
|
1053
1069
|
urlField: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1070
|
+
publicDiscovery: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1071
|
+
excludeIfTrue: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1072
|
+
requireLiveRevision: z.ZodOptional<z.ZodBoolean>;
|
|
1073
|
+
}, z.core.$strict>>>;
|
|
1054
1074
|
hasSeo: z.ZodBoolean;
|
|
1055
1075
|
createdAt: z.ZodString;
|
|
1056
1076
|
updatedAt: z.ZodString;
|
|
@@ -1063,9 +1083,9 @@ declare const collectionWithFieldsResponseSchema: z.ZodObject<{
|
|
|
1063
1083
|
string: "string";
|
|
1064
1084
|
number: "number";
|
|
1065
1085
|
boolean: "boolean";
|
|
1066
|
-
file: "file";
|
|
1067
1086
|
json: "json";
|
|
1068
1087
|
url: "url";
|
|
1088
|
+
file: "file";
|
|
1069
1089
|
slug: "slug";
|
|
1070
1090
|
image: "image";
|
|
1071
1091
|
datetime: "datetime";
|
|
@@ -1103,6 +1123,10 @@ declare const collectionListResponseSchema: z.ZodObject<{
|
|
|
1103
1123
|
source: z.ZodNullable<z.ZodString>;
|
|
1104
1124
|
urlPattern: z.ZodNullable<z.ZodString>;
|
|
1105
1125
|
urlField: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1126
|
+
publicDiscovery: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1127
|
+
excludeIfTrue: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1128
|
+
requireLiveRevision: z.ZodOptional<z.ZodBoolean>;
|
|
1129
|
+
}, z.core.$strict>>>;
|
|
1106
1130
|
hasSeo: z.ZodBoolean;
|
|
1107
1131
|
createdAt: z.ZodString;
|
|
1108
1132
|
updatedAt: z.ZodString;
|
|
@@ -1118,9 +1142,9 @@ declare const fieldResponseSchema: z.ZodObject<{
|
|
|
1118
1142
|
string: "string";
|
|
1119
1143
|
number: "number";
|
|
1120
1144
|
boolean: "boolean";
|
|
1121
|
-
file: "file";
|
|
1122
1145
|
json: "json";
|
|
1123
1146
|
url: "url";
|
|
1147
|
+
file: "file";
|
|
1124
1148
|
slug: "slug";
|
|
1125
1149
|
image: "image";
|
|
1126
1150
|
datetime: "datetime";
|
|
@@ -1155,9 +1179,9 @@ declare const fieldListResponseSchema: z.ZodObject<{
|
|
|
1155
1179
|
string: "string";
|
|
1156
1180
|
number: "number";
|
|
1157
1181
|
boolean: "boolean";
|
|
1158
|
-
file: "file";
|
|
1159
1182
|
json: "json";
|
|
1160
1183
|
url: "url";
|
|
1184
|
+
file: "file";
|
|
1161
1185
|
slug: "slug";
|
|
1162
1186
|
image: "image";
|
|
1163
1187
|
datetime: "datetime";
|
|
@@ -1210,8 +1234,8 @@ declare const createReactionBody: z.ZodObject<{
|
|
|
1210
1234
|
}, z.core.$strip>;
|
|
1211
1235
|
declare const commentStatusBody: z.ZodObject<{
|
|
1212
1236
|
status: z.ZodEnum<{
|
|
1213
|
-
pending: "pending";
|
|
1214
1237
|
approved: "approved";
|
|
1238
|
+
pending: "pending";
|
|
1215
1239
|
spam: "spam";
|
|
1216
1240
|
trash: "trash";
|
|
1217
1241
|
}>;
|
|
@@ -1227,8 +1251,8 @@ declare const commentBulkBody: z.ZodObject<{
|
|
|
1227
1251
|
}, z.core.$strip>;
|
|
1228
1252
|
declare const commentListQuery: z.ZodObject<{
|
|
1229
1253
|
status: z.ZodOptional<z.ZodEnum<{
|
|
1230
|
-
pending: "pending";
|
|
1231
1254
|
approved: "approved";
|
|
1255
|
+
pending: "pending";
|
|
1232
1256
|
spam: "spam";
|
|
1233
1257
|
trash: "trash";
|
|
1234
1258
|
}>>;
|
|
@@ -1263,8 +1287,8 @@ declare const commentSchema: z.ZodObject<{
|
|
|
1263
1287
|
authorEmail: z.ZodString;
|
|
1264
1288
|
body: z.ZodString;
|
|
1265
1289
|
status: z.ZodEnum<{
|
|
1266
|
-
pending: "pending";
|
|
1267
1290
|
approved: "approved";
|
|
1291
|
+
pending: "pending";
|
|
1268
1292
|
spam: "spam";
|
|
1269
1293
|
trash: "trash";
|
|
1270
1294
|
}>;
|
|
@@ -1296,8 +1320,8 @@ declare const adminCommentListResponseSchema: z.ZodObject<{
|
|
|
1296
1320
|
authorEmail: z.ZodString;
|
|
1297
1321
|
body: z.ZodString;
|
|
1298
1322
|
status: z.ZodEnum<{
|
|
1299
|
-
pending: "pending";
|
|
1300
1323
|
approved: "approved";
|
|
1324
|
+
pending: "pending";
|
|
1301
1325
|
spam: "spam";
|
|
1302
1326
|
trash: "trash";
|
|
1303
1327
|
}>;
|
|
@@ -1344,13 +1368,13 @@ declare const contextEntryListQuery: z.ZodObject<{
|
|
|
1344
1368
|
declare const contextEntryStaleQuery: z.ZodObject<{
|
|
1345
1369
|
limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
1346
1370
|
cursor: z.ZodOptional<z.ZodString>;
|
|
1347
|
-
scope: z.ZodOptional<z.ZodString>;
|
|
1348
1371
|
includeInherited: z.ZodPipe<z.ZodOptional<z.ZodEnum<{
|
|
1349
1372
|
true: "true";
|
|
1350
1373
|
false: "false";
|
|
1351
1374
|
}>>, z.ZodTransform<boolean | undefined, "true" | "false" | undefined>>;
|
|
1352
1375
|
contextTypes: z.ZodPipe<z.ZodOptional<z.ZodString>, z.ZodTransform<string[] | undefined, string | undefined>>;
|
|
1353
1376
|
tags: z.ZodPipe<z.ZodOptional<z.ZodString>, z.ZodTransform<string[] | undefined, string | undefined>>;
|
|
1377
|
+
scope: z.ZodOptional<z.ZodString>;
|
|
1354
1378
|
createdByActorType: z.ZodOptional<z.ZodEnum<{
|
|
1355
1379
|
user: "user";
|
|
1356
1380
|
api_token: "api_token";
|
|
@@ -1437,8 +1461,8 @@ declare const siteBriefingQuery: z.ZodObject<{
|
|
|
1437
1461
|
//#region src/api/schemas/hitl-requests.d.ts
|
|
1438
1462
|
declare const hitlRequestListQuery: z.ZodObject<{
|
|
1439
1463
|
status: z.ZodOptional<z.ZodEnum<{
|
|
1440
|
-
pending: "pending";
|
|
1441
1464
|
approved: "approved";
|
|
1465
|
+
pending: "pending";
|
|
1442
1466
|
rejected: "rejected";
|
|
1443
1467
|
}>>;
|
|
1444
1468
|
priority: z.ZodOptional<z.ZodEnum<{
|
|
@@ -1471,8 +1495,8 @@ declare const reviewRequestCreateBody: z.ZodObject<{
|
|
|
1471
1495
|
}, z.core.$strip>;
|
|
1472
1496
|
declare const reviewRequestListQuery: z.ZodObject<{
|
|
1473
1497
|
status: z.ZodOptional<z.ZodEnum<{
|
|
1474
|
-
pending: "pending";
|
|
1475
1498
|
approved: "approved";
|
|
1499
|
+
pending: "pending";
|
|
1476
1500
|
rejected: "rejected";
|
|
1477
1501
|
}>>;
|
|
1478
1502
|
collection: z.ZodOptional<z.ZodString>;
|
|
@@ -1520,7 +1544,7 @@ declare const signupCompleteBody: z.ZodObject<{
|
|
|
1520
1544
|
}, z.core.$strip>;
|
|
1521
1545
|
declare const inviteCreateBody: z.ZodObject<{
|
|
1522
1546
|
email: z.ZodString;
|
|
1523
|
-
role: z.ZodOptional<z.ZodCoercedNumber<unknown> & z.ZodType<
|
|
1547
|
+
role: z.ZodOptional<z.ZodCoercedNumber<unknown> & z.ZodType<20 | 50 | 10 | 30 | 40, unknown, z.core.$ZodTypeInternals<20 | 50 | 10 | 30 | 40, unknown>>>;
|
|
1524
1548
|
}, z.core.$strip>;
|
|
1525
1549
|
declare const inviteCompleteBody: z.ZodObject<{
|
|
1526
1550
|
token: z.ZodString;
|
|
@@ -1612,9 +1636,9 @@ declare const authMeActionBody: z.ZodObject<{
|
|
|
1612
1636
|
* from `referenceCollection` + `referenceId` (a translation_group id).
|
|
1613
1637
|
*/
|
|
1614
1638
|
declare const menuItemTypeEnum: z.ZodEnum<{
|
|
1615
|
-
custom: "custom";
|
|
1616
1639
|
collection: "collection";
|
|
1617
1640
|
taxonomy: "taxonomy";
|
|
1641
|
+
custom: "custom";
|
|
1618
1642
|
page: "page";
|
|
1619
1643
|
post: "post";
|
|
1620
1644
|
}>;
|
|
@@ -1629,9 +1653,9 @@ declare const updateMenuBody: z.ZodObject<{
|
|
|
1629
1653
|
}, z.core.$strict>;
|
|
1630
1654
|
declare const createMenuItemBody: z.ZodObject<{
|
|
1631
1655
|
type: z.ZodEnum<{
|
|
1632
|
-
custom: "custom";
|
|
1633
1656
|
collection: "collection";
|
|
1634
1657
|
taxonomy: "taxonomy";
|
|
1658
|
+
custom: "custom";
|
|
1635
1659
|
page: "page";
|
|
1636
1660
|
post: "post";
|
|
1637
1661
|
}>;
|
|
@@ -2072,15 +2096,15 @@ declare const usersListQuery: z.ZodObject<{
|
|
|
2072
2096
|
declare const userUpdateBody: z.ZodObject<{
|
|
2073
2097
|
name: z.ZodOptional<z.ZodString>;
|
|
2074
2098
|
email: z.ZodOptional<z.ZodString>;
|
|
2075
|
-
role: z.ZodOptional<z.ZodCoercedNumber<unknown> & z.ZodType<
|
|
2099
|
+
role: z.ZodOptional<z.ZodCoercedNumber<unknown> & z.ZodType<20 | 50 | 10 | 30 | 40, unknown, z.core.$ZodTypeInternals<20 | 50 | 10 | 30 | 40, unknown>>>;
|
|
2076
2100
|
}, z.core.$strip>;
|
|
2077
2101
|
declare const allowedDomainCreateBody: z.ZodObject<{
|
|
2078
2102
|
domain: z.ZodString;
|
|
2079
|
-
defaultRole: z.ZodCoercedNumber<unknown> & z.ZodType<
|
|
2103
|
+
defaultRole: z.ZodCoercedNumber<unknown> & z.ZodType<20 | 50 | 10 | 30 | 40, unknown, z.core.$ZodTypeInternals<20 | 50 | 10 | 30 | 40, unknown>>;
|
|
2080
2104
|
}, z.core.$strip>;
|
|
2081
2105
|
declare const allowedDomainUpdateBody: z.ZodObject<{
|
|
2082
2106
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
2083
|
-
defaultRole: z.ZodOptional<z.ZodCoercedNumber<unknown> & z.ZodType<
|
|
2107
|
+
defaultRole: z.ZodOptional<z.ZodCoercedNumber<unknown> & z.ZodType<20 | 50 | 10 | 30 | 40, unknown, z.core.$ZodTypeInternals<20 | 50 | 10 | 30 | 40, unknown>>>;
|
|
2084
2108
|
}, z.core.$strip>;
|
|
2085
2109
|
declare const userSchema: z.ZodObject<{
|
|
2086
2110
|
id: z.ZodString;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { a as __exportAll } from "./runner-
|
|
1
|
+
import { a as __exportAll } from "./runner-CQnzfBpD.mjs";
|
|
2
2
|
import { n as getI18nConfig } from "./config-CVssduLe.mjs";
|
|
3
|
-
import { t as DinewayValidationError } from "./types-
|
|
4
|
-
import { t as BylineRepository } from "./byline-
|
|
3
|
+
import { t as DinewayValidationError } from "./types-CFvpEEOl.mjs";
|
|
4
|
+
import { t as BylineRepository } from "./byline-CbFno1Kd.mjs";
|
|
5
5
|
|
|
6
6
|
//#region src/api/handlers/bylines.ts
|
|
7
7
|
var bylines_exports = /* @__PURE__ */ __exportAll({
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { a as __exportAll } from "./runner-
|
|
1
|
+
import { a as __exportAll } from "./runner-CQnzfBpD.mjs";
|
|
2
2
|
import { t as validateIdentifier } from "./validate-VPnKoIzW.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-CsX5pTud.mjs";
|
|
4
|
+
import { t as BylineRepository } from "./byline-CbFno1Kd.mjs";
|
|
5
|
+
import { n as resolveLocaleChain } from "./resolve-Doh2USIE.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-DzsPhsZk.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 } : {},
|
package/dist/cli/index.mjs
CHANGED
|
@@ -1,41 +1,42 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { i as runMigrations, n as getMigrationStatus, t as getMigrationFingerprint } from "../runner-
|
|
2
|
+
import { i as runMigrations, n as getMigrationStatus, t as getMigrationFingerprint } from "../runner-CQnzfBpD.mjs";
|
|
3
3
|
import { t as createDatabase } from "../connection-CiJWiWya.mjs";
|
|
4
4
|
import { t as validateIdentifier } from "../validate-VPnKoIzW.mjs";
|
|
5
5
|
import { l as listTablesLike } from "../dialect-helpers-fk43GbDb.mjs";
|
|
6
6
|
import { n as getI18nConfig, r as isI18nEnabled } from "../config-CVssduLe.mjs";
|
|
7
7
|
import { i as encodeBase64url } from "../base64-F8-DUraK.mjs";
|
|
8
|
-
import "../types-
|
|
9
|
-
import { o as isMissingTableError } from "../loader-
|
|
8
|
+
import "../types-CFvpEEOl.mjs";
|
|
9
|
+
import { o as isMissingTableError } from "../loader-CsX5pTud.mjs";
|
|
10
10
|
import "../object-cache-D51qOseS.mjs";
|
|
11
11
|
import { n as slugify } from "../slugify-KSsVD_D3.mjs";
|
|
12
|
-
import { t as ContentRepository } from "../content-
|
|
13
|
-
import { t as MediaRepository } from "../media-
|
|
14
|
-
import { t as TaxonomyRepository } from "../taxonomy-
|
|
12
|
+
import { t as ContentRepository } from "../content-C0qGd2Nt.mjs";
|
|
13
|
+
import { t as MediaRepository } from "../media-DNde5-Am.mjs";
|
|
14
|
+
import { t as TaxonomyRepository } from "../taxonomy-BUo9B6qp.mjs";
|
|
15
15
|
import { t as OptionsRepository } from "../options-DQPTH5n0.mjs";
|
|
16
|
-
import "../redirect-
|
|
16
|
+
import "../redirect-B_9GwIZd.mjs";
|
|
17
17
|
import "../request-cache-CBFjCwSt.mjs";
|
|
18
18
|
import "../byline-registry-BLgrU3dA.mjs";
|
|
19
|
-
import "../field-defs-cache-
|
|
20
|
-
import { t as BylineRepository } from "../byline-
|
|
21
|
-
import "../content-refresh-
|
|
22
|
-
import "../fts-manager-
|
|
23
|
-
import
|
|
24
|
-
import "../
|
|
25
|
-
import
|
|
26
|
-
import {
|
|
27
|
-
import { t as
|
|
28
|
-
import {
|
|
29
|
-
import {
|
|
30
|
-
import { t as
|
|
31
|
-
import { t as
|
|
19
|
+
import "../field-defs-cache-7Ka899yA.mjs";
|
|
20
|
+
import { t as BylineRepository } from "../byline-CbFno1Kd.mjs";
|
|
21
|
+
import "../content-refresh-BkGWtwUN.mjs";
|
|
22
|
+
import "../fts-manager-D4K5mA0j.mjs";
|
|
23
|
+
import "../public-discovery-BlJ80Hoh.mjs";
|
|
24
|
+
import { n as SchemaRegistry } from "../registry-BwcF6gAj.mjs";
|
|
25
|
+
import "../settings-DXp6vRdV.mjs";
|
|
26
|
+
import { n as VERSION } from "../version-BjNGau7O.mjs";
|
|
27
|
+
import { i as parseEncryptionKeys, n as fingerprintKey, r as generateEncryptionKey, t as DinewaySecretsError } from "../secrets-re9BzPUD.mjs";
|
|
28
|
+
import { t as IntegrationCredentialStore } from "../store-C6bydUdt.mjs";
|
|
29
|
+
import { a as reconcileManifestAccess, i as pluginManifestSchema } from "../manifest-schema-VGSvatoU.mjs";
|
|
30
|
+
import { n as resolveAndValidateExternalUrl, t as SsrfError } from "../ssrf-CxOWiF0p.mjs";
|
|
31
|
+
import { t as validateSeed } from "../validate-Cdvc9APD.mjs";
|
|
32
|
+
import { t as applySeed } from "../apply-DNy1dp8W.mjs";
|
|
33
|
+
import { _ as readForgewayCredentials, a as InvalidForgewayAccountCredentialsError, c as getForgewayDinewayAccount, d as normalizeForgewayEmail, f as readStoredForgewayAccount, g as listForgewayCredentials, h as sendForgewayAccountLoginLink, i as DEFAULT_FORGEWAY_API_BASE_URL, l as normalizeDinewayWebUrl, m as removeStoredForgewayAccount, n as DinewayToolsService, o as completeForgewayAccountLogin, p as refreshForgewayAccountCredentials, r as DEFAULT_DINEWAY_WEB_URL, s as createForgewayAccountClient, t as DinewayToolsError, u as normalizeForgewayApiUrl, v as writeForgewayCredentials } from "../service-CY0aH6eI.mjs";
|
|
34
|
+
import { n as output, t as configureOutputMode } from "../output-13u4dvu-.mjs";
|
|
32
35
|
import { createHeaderAwareFetch, isRedirectResponse, resolveCustomHeaders } from "../client/external-auth-headers.mjs";
|
|
33
|
-
import { t as convertDataForRead } from "../portable-text-
|
|
34
|
-
import { _ as
|
|
35
|
-
import { n as output, t as configureOutputMode } from "../output-ClMzXYk4.mjs";
|
|
36
|
-
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-Nyp2sznG.mjs";
|
|
36
|
+
import { t as convertDataForRead } from "../portable-text-C8Tvp4_g.mjs";
|
|
37
|
+
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-BDDerNBz.mjs";
|
|
37
38
|
import { LocalStorage } from "../storage/local.mjs";
|
|
38
|
-
import { r as fileExists$11, t as bundleCommand } from "../bundle-
|
|
39
|
+
import { r as fileExists$11, t as bundleCommand } from "../bundle-MGZ2MLSb.mjs";
|
|
39
40
|
import { createRequire } from "node:module";
|
|
40
41
|
import { createHash } from "node:crypto";
|
|
41
42
|
import { sql } from "kysely";
|
|
@@ -3545,7 +3546,7 @@ const devCommand = defineCommand({
|
|
|
3545
3546
|
const remoteUrl = pkg.dineway?.url || process.env.DINEWAY_URL;
|
|
3546
3547
|
if (!remoteUrl) consola.warn("No remote URL configured. Set DINEWAY_URL or dineway.url in package.json");
|
|
3547
3548
|
else try {
|
|
3548
|
-
const { createClientFromArgs } = await import("../client-factory-
|
|
3549
|
+
const { createClientFromArgs } = await import("../client-factory-BDDerNBz.mjs").then((n) => n.t);
|
|
3549
3550
|
const client = createClientFromArgs({ url: remoteUrl });
|
|
3550
3551
|
const schema = await client.schemaExport();
|
|
3551
3552
|
const types = await client.schemaTypes();
|
|
@@ -3930,6 +3931,7 @@ async function exportCollections(db) {
|
|
|
3930
3931
|
supports: collection.supports.length > 0 ? collection.supports : void 0,
|
|
3931
3932
|
urlPattern: collection.urlPattern || void 0,
|
|
3932
3933
|
urlField: collection.urlField || void 0,
|
|
3934
|
+
publicDiscovery: collection.publicDiscovery,
|
|
3933
3935
|
fields: fields.map((field) => ({
|
|
3934
3936
|
slug: field.slug,
|
|
3935
3937
|
label: field.label,
|
|
@@ -5540,7 +5542,7 @@ const publishCommand = defineCommand({
|
|
|
5540
5542
|
const pluginDir = resolve(args.dir);
|
|
5541
5543
|
try {
|
|
5542
5544
|
const { runCommand } = await import("citty");
|
|
5543
|
-
const { bundleCommand } = await import("../bundle-
|
|
5545
|
+
const { bundleCommand } = await import("../bundle-MGZ2MLSb.mjs").then((n) => n.n);
|
|
5544
5546
|
await runCommand(bundleCommand, { rawArgs: ["--dir", pluginDir] });
|
|
5545
5547
|
} catch {
|
|
5546
5548
|
consola.error("Build failed");
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import "../types-
|
|
2
|
-
import "../types-
|
|
3
|
-
import "../runner-
|
|
4
|
-
import "../index-
|
|
5
|
-
import "../types-
|
|
6
|
-
import "../public-url-
|
|
7
|
-
import "../validate-
|
|
8
|
-
import "../byline-fields-
|
|
9
|
-
import "../types-
|
|
1
|
+
import "../types-ZDyMKdrZ.mjs";
|
|
2
|
+
import "../types-gG3syKwc.mjs";
|
|
3
|
+
import "../runner-DnswPQIl.mjs";
|
|
4
|
+
import "../index-C7X4h_27.mjs";
|
|
5
|
+
import "../types-C0hcZkqG.mjs";
|
|
6
|
+
import "../public-url-BuERxOoY.mjs";
|
|
7
|
+
import "../validate-SXACKtqW.mjs";
|
|
8
|
+
import "../byline-fields-CjCCA-Wn.mjs";
|
|
9
|
+
import "../types-Cnz2EIEp.mjs";
|
|
10
10
|
import { DinewayClient, PluginRequestOptions } from "../client/index.mjs";
|
|
11
11
|
import { SubCommandsDef } from "citty";
|
|
12
12
|
|
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-13u4dvu-.mjs";
|
|
2
|
+
import { n as connectionArgs, r as createClientFromArgs } from "../client-factory-BDDerNBz.mjs";
|
|
3
3
|
|
|
4
4
|
export { configureOutputMode, connectionArgs, createClientFromArgs, output };
|
package/dist/client/index.d.mts
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { Jt as PublicationReadinessResult, Ut as PublicationPolicyOverride, Xt as PublicationReceipt } from "../types-
|
|
2
|
-
import "../types-
|
|
3
|
-
import "../runner-
|
|
4
|
-
import "../index-
|
|
5
|
-
import "../types-
|
|
6
|
-
import "../public-url-
|
|
7
|
-
import "../validate-
|
|
8
|
-
import "../byline-fields-
|
|
9
|
-
import "../types-
|
|
10
|
-
import { a as tokenInterceptor, i as devBypassInterceptor, n as createTransport, r as csrfInterceptor, t as Interceptor } from "../transport-
|
|
11
|
-
import { n as markdownToPortableText, r as portableTextToMarkdown, t as PortableTextBlock } from "../portable-text-
|
|
1
|
+
import { Jt as PublicationReadinessResult, Ut as PublicationPolicyOverride, Xt as PublicationReceipt } from "../types-ZDyMKdrZ.mjs";
|
|
2
|
+
import "../types-gG3syKwc.mjs";
|
|
3
|
+
import "../runner-DnswPQIl.mjs";
|
|
4
|
+
import "../index-C7X4h_27.mjs";
|
|
5
|
+
import "../types-C0hcZkqG.mjs";
|
|
6
|
+
import "../public-url-BuERxOoY.mjs";
|
|
7
|
+
import "../validate-SXACKtqW.mjs";
|
|
8
|
+
import "../byline-fields-CjCCA-Wn.mjs";
|
|
9
|
+
import "../types-Cnz2EIEp.mjs";
|
|
10
|
+
import { a as tokenInterceptor, i as devBypassInterceptor, n as createTransport, r as csrfInterceptor, t as Interceptor } from "../transport-BfF60P73.mjs";
|
|
11
|
+
import { n as markdownToPortableText, r as portableTextToMarkdown, t as PortableTextBlock } from "../portable-text-B7E-ali_.mjs";
|
|
12
12
|
|
|
13
13
|
//#region src/client/index.d.ts
|
|
14
14
|
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-C8Tvp4_g.mjs";
|
|
2
|
+
import { a as tokenInterceptor, i as refreshInterceptor, n as csrfInterceptor, r as devBypassInterceptor, t as createTransport } from "../transport-BDQ73F0l.mjs";
|
|
3
3
|
import mime from "mime/lite";
|
|
4
4
|
|
|
5
5
|
//#region src/client/index.ts
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as __exportAll } from "./runner-
|
|
1
|
+
import { a as __exportAll } from "./runner-CQnzfBpD.mjs";
|
|
2
2
|
import { customHeadersInterceptor, resolveCustomHeaders } from "./client/external-auth-headers.mjs";
|
|
3
3
|
import { DinewayClient } from "./client/index.mjs";
|
|
4
4
|
import { existsSync, mkdirSync, readFileSync, writeFileSync } from "node:fs";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { i as encodeCursor, r as decodeCursor } from "./types-
|
|
1
|
+
import { i as encodeCursor, r as decodeCursor } from "./types-CFvpEEOl.mjs";
|
|
2
2
|
import { s as invalidateCommentObjectCache } from "./object-cache-D51qOseS.mjs";
|
|
3
3
|
import { sql } from "kysely";
|
|
4
4
|
import { ulid } from "ulidx";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { a as __exportAll } from "./runner-
|
|
1
|
+
import { a as __exportAll } from "./runner-CQnzfBpD.mjs";
|
|
2
2
|
import { t as validateIdentifier } from "./validate-VPnKoIzW.mjs";
|
|
3
|
-
import { i as encodeCursor, n as ScheduledNotDueError, r as decodeCursor, t as DinewayValidationError } from "./types-
|
|
3
|
+
import { i as encodeCursor, n as ScheduledNotDueError, r as decodeCursor, t as DinewayValidationError } from "./types-CFvpEEOl.mjs";
|
|
4
4
|
import { o as invalidateCollectionCache } from "./object-cache-D51qOseS.mjs";
|
|
5
5
|
import { n as slugify } from "./slugify-KSsVD_D3.mjs";
|
|
6
6
|
import { sql } from "kysely";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as validateIdentifier } from "./validate-VPnKoIzW.mjs";
|
|
2
2
|
import { r as isI18nEnabled } from "./config-CVssduLe.mjs";
|
|
3
|
-
import { i as encodeCursor, r as decodeCursor } from "./types-
|
|
4
|
-
import { n as chunks, t as SQL_BATCH_SIZE } from "./chunks-
|
|
3
|
+
import { i as encodeCursor, r as decodeCursor } from "./types-CFvpEEOl.mjs";
|
|
4
|
+
import { n as chunks, t as SQL_BATCH_SIZE } from "./chunks-Dh8yqZt3.mjs";
|
|
5
5
|
import { t as withTransaction } from "./transaction-Chz7SBGr.mjs";
|
|
6
6
|
import { n as normalizeMime } from "./mime-C0vOHFm7.mjs";
|
|
7
7
|
import { n as hashString } from "./hash-mxxx2oPW.mjs";
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { n as validateJsonFieldName } from "./validate-VPnKoIzW.mjs";
|
|
2
2
|
import { c as jsonExtractExpr } from "./dialect-helpers-fk43GbDb.mjs";
|
|
3
|
-
import { i as encodeCursor, r as decodeCursor } from "./types-
|
|
4
|
-
import { t as ContentRepository } from "./content-
|
|
5
|
-
import { t as MediaRepository } from "./media-
|
|
6
|
-
import { t as UserRepository } from "./user-
|
|
3
|
+
import { i as encodeCursor, r as decodeCursor } from "./types-CFvpEEOl.mjs";
|
|
4
|
+
import { t as ContentRepository } from "./content-C0qGd2Nt.mjs";
|
|
5
|
+
import { t as MediaRepository } from "./media-DNde5-Am.mjs";
|
|
6
|
+
import { t as UserRepository } from "./user-BprdjWGE.mjs";
|
|
7
7
|
import { t as OptionsRepository } from "./options-DQPTH5n0.mjs";
|
|
8
8
|
import { t as withTransaction } from "./transaction-Chz7SBGr.mjs";
|
|
9
9
|
import { t as enrichImageMetadata } from "./enrich-Ck9tfMqe.mjs";
|
|
10
|
-
import { t as SeoRepository } from "./seo-
|
|
11
|
-
import { a as markContentMediaUsageCollectionStaleSafely } from "./content-refresh-
|
|
12
|
-
import { a as validateExternalUrl, i as stripCredentialHeaders, t as SsrfError } from "./ssrf-
|
|
13
|
-
import { t as CronAccessImpl } from "./cron-
|
|
10
|
+
import { t as SeoRepository } from "./seo-BpuKUrBs.mjs";
|
|
11
|
+
import { a as markContentMediaUsageCollectionStaleSafely } from "./content-refresh-BkGWtwUN.mjs";
|
|
12
|
+
import { a as validateExternalUrl, i as stripCredentialHeaders, t as SsrfError } from "./ssrf-CxOWiF0p.mjs";
|
|
13
|
+
import { t as CronAccessImpl } from "./cron-fQf7oVvf.mjs";
|
|
14
14
|
import { sql } from "kysely";
|
|
15
15
|
import { ulid } from "ulidx";
|
|
16
16
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { _ as toPublicContextDiff, v as toPublicContextEntry, y as toPublicContextEntryPage } from "./site-context-
|
|
2
|
-
import { a as ContextRepository, i as parseSiteBriefingScope, n as SiteBriefingError } from "./briefing-
|
|
1
|
+
import { _ as toPublicContextDiff, v as toPublicContextEntry, y as toPublicContextEntryPage } from "./site-context-DRSrU7hX.mjs";
|
|
2
|
+
import { a as ContextRepository, i as parseSiteBriefingScope, n as SiteBriefingError } from "./briefing-DcDVI-0v.mjs";
|
|
3
3
|
|
|
4
4
|
//#region src/api/handlers/context.ts
|
|
5
5
|
async function handleContextEntryList(db, input = {}) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as resolveActorIdentity } from "./actor-
|
|
2
|
-
import { p as logSiteActivitySafely } from "./activity-events-
|
|
1
|
+
import { n as resolveActorIdentity } from "./actor-Bu9whHez.mjs";
|
|
2
|
+
import { p as logSiteActivitySafely } from "./activity-events-u9wIH8CQ.mjs";
|
|
3
3
|
|
|
4
4
|
//#region src/api/context-route-helpers.ts
|
|
5
5
|
function resolveContextRouteActor(locals) {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { t as validateIdentifier } from "./validate-VPnKoIzW.mjs";
|
|
2
|
-
import { t as ContentRepository } from "./content-
|
|
3
|
-
import { t as MediaRepository } from "./media-
|
|
4
|
-
import { t as UserRepository } from "./user-
|
|
5
|
-
import { t as ReviewRequestRepository } from "./review-requests-
|
|
2
|
+
import { t as ContentRepository } from "./content-C0qGd2Nt.mjs";
|
|
3
|
+
import { t as MediaRepository } from "./media-DNde5-Am.mjs";
|
|
4
|
+
import { t as UserRepository } from "./user-BprdjWGE.mjs";
|
|
5
|
+
import { t as ReviewRequestRepository } from "./review-requests-Bo4jcxtU.mjs";
|
|
6
6
|
import { sql } from "kysely";
|
|
7
7
|
|
|
8
8
|
//#region src/api/handlers/dashboard.ts
|
|
@@ -83,8 +83,8 @@ async function fetchRecentItems(db, collections) {
|
|
|
83
83
|
return (await sql`
|
|
84
84
|
SELECT
|
|
85
85
|
id,
|
|
86
|
-
${
|
|
87
|
-
${
|
|
86
|
+
${col.slug} AS collection,
|
|
87
|
+
${col.label} AS collection_label,
|
|
88
88
|
${titleExpr} AS title,
|
|
89
89
|
slug,
|
|
90
90
|
status,
|
package/dist/db/index.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "../types-
|
|
2
|
-
import { i as runMigrations, n as getMigrationStatus, r as rollbackMigration, t as MigrationStatus } from "../runner-
|
|
3
|
-
import { a as SqliteConfig, c as sqlite, i as PostgresConfig, n as DatabaseDialectType, o as libsql, r as LibsqlConfig, s as postgres, t as DatabaseDescriptor } from "../adapters-
|
|
1
|
+
import "../types-gG3syKwc.mjs";
|
|
2
|
+
import { i as runMigrations, n as getMigrationStatus, r as rollbackMigration, t as MigrationStatus } from "../runner-DnswPQIl.mjs";
|
|
3
|
+
import { a as SqliteConfig, c as sqlite, i as PostgresConfig, n as DatabaseDialectType, o as libsql, r as LibsqlConfig, s as postgres, t as DatabaseDescriptor } from "../adapters-BZWb3OVu.mjs";
|
|
4
4
|
export { type DatabaseDescriptor, type DatabaseDialectType, type LibsqlConfig, type MigrationStatus, type PostgresConfig, type SqliteConfig, getMigrationStatus, libsql, postgres, rollbackMigration, runMigrations, sqlite };
|
package/dist/db/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { i as runMigrations, n as getMigrationStatus, r as rollbackMigration } from "../runner-
|
|
1
|
+
import { i as runMigrations, n as getMigrationStatus, r as rollbackMigration } from "../runner-CQnzfBpD.mjs";
|
|
2
2
|
import "../dialect-helpers-fk43GbDb.mjs";
|
|
3
3
|
|
|
4
4
|
//#region src/db/adapters.ts
|
package/dist/db/libsql.d.mts
CHANGED