dineway 0.2.0 → 0.2.2
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/README.md +17 -17
- package/dist/activity-BDMlkpYY.mjs +79 -0
- package/dist/{activity-events-y6eT8UW6.mjs → activity-events-DEYmJhWd.mjs} +1 -77
- package/dist/{actor-CrObAPV0.mjs → actor-DA7yL9Yp.mjs} +1 -1
- package/dist/{allowed-origins-_oeyP6x-.mjs → allowed-origins-VLgv2PL1.mjs} +1 -1
- package/dist/api/route-utils.d.mts +9 -10
- package/dist/api/route-utils.mjs +14 -14
- package/dist/api/schemas/index.d.mts +2 -2
- package/dist/api/schemas/index.mjs +5 -5
- package/dist/{api-ByrU2q-Z.mjs → api-DsO87Qak.mjs} +51 -23
- package/dist/{api-tokens-CjVMQT-X.mjs → api-tokens-C4K9eocv.mjs} +1 -1
- package/dist/{apply-bZswmZPm.mjs → apply-DHT0l398.mjs} +19 -19
- package/dist/astro/index.d.mts +10 -11
- package/dist/astro/index.mjs +18 -5
- package/dist/astro/middleware/auth.d.mts +9 -19
- 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/seed.mjs +1 -1
- package/dist/astro/middleware/setup.mjs +1 -1
- package/dist/astro/middleware.mjs +142 -98
- package/dist/astro/routes/api/admin/allowed-domains/_domain_.mjs +6 -6
- package/dist/astro/routes/api/admin/allowed-domains/index.mjs +6 -6
- 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 +18 -18
- package/dist/astro/routes/api/admin/byline-fields/_slug_/usage.mjs +4 -4
- package/dist/astro/routes/api/admin/byline-fields/_slug_.mjs +9 -9
- package/dist/astro/routes/api/admin/byline-fields/index.mjs +9 -9
- package/dist/astro/routes/api/admin/byline-fields/reorder.mjs +9 -9
- package/dist/astro/routes/api/admin/bylines/_id_/index.mjs +16 -16
- package/dist/astro/routes/api/admin/bylines/_id_/translations.mjs +16 -16
- package/dist/astro/routes/api/admin/bylines/index.mjs +16 -16
- package/dist/astro/routes/api/admin/comments/_id_/status.mjs +12 -12
- package/dist/astro/routes/api/admin/comments/_id_.mjs +5 -5
- package/dist/astro/routes/api/admin/comments/bulk.mjs +10 -10
- package/dist/astro/routes/api/admin/comments/counts.mjs +5 -5
- package/dist/astro/routes/api/admin/comments/index.mjs +10 -10
- package/dist/astro/routes/api/admin/context/_id_/history.mjs +25 -24
- package/dist/astro/routes/api/admin/context/_id_/index.mjs +25 -24
- package/dist/astro/routes/api/admin/context/_id_/review.mjs +30 -29
- package/dist/astro/routes/api/admin/context/_id_/supersede.mjs +30 -29
- package/dist/astro/routes/api/admin/context/diff.mjs +29 -28
- package/dist/astro/routes/api/admin/context/index.mjs +30 -29
- package/dist/astro/routes/api/admin/context/stale.mjs +29 -28
- package/dist/astro/routes/api/admin/hitl-requests/_id_/index.mjs +25 -24
- package/dist/astro/routes/api/admin/hitl-requests/_id_/resolve.mjs +29 -28
- package/dist/astro/routes/api/admin/hitl-requests/index.mjs +29 -28
- package/dist/astro/routes/api/admin/hooks/exclusive/_hookName_.mjs +26 -25
- 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 +55 -51
- package/dist/astro/routes/api/admin/plugins/_id_/enable.mjs +55 -51
- package/dist/astro/routes/api/admin/plugins/_id_/index.mjs +47 -44
- package/dist/astro/routes/api/admin/plugins/_id_/uninstall.mjs +54 -50
- package/dist/astro/routes/api/admin/plugins/_id_/update.mjs +54 -50
- package/dist/astro/routes/api/admin/plugins/index.mjs +47 -44
- package/dist/astro/routes/api/admin/plugins/marketplace/_id_/icon.mjs +2 -2
- package/dist/astro/routes/api/admin/plugins/marketplace/_id_/index.mjs +47 -44
- package/dist/astro/routes/api/admin/plugins/marketplace/_id_/install.mjs +54 -50
- package/dist/astro/routes/api/admin/plugins/marketplace/index.mjs +47 -44
- package/dist/astro/routes/api/admin/plugins/updates.mjs +47 -44
- package/dist/astro/routes/api/admin/review-requests/_id_/index.mjs +5 -5
- package/dist/astro/routes/api/admin/review-requests/_id_/resolve.mjs +30 -65
- package/dist/astro/routes/api/admin/review-requests/index.d.mts +2 -1
- package/dist/astro/routes/api/admin/review-requests/index.mjs +58 -11
- package/dist/astro/routes/api/admin/themes/marketplace/_id_/index.mjs +47 -44
- package/dist/astro/routes/api/admin/themes/marketplace/_id_/thumbnail.mjs +2 -2
- package/dist/astro/routes/api/admin/themes/marketplace/index.mjs +47 -44
- package/dist/astro/routes/api/admin/users/_id_/disable.mjs +2 -2
- package/dist/astro/routes/api/admin/users/_id_/enable.mjs +1 -1
- package/dist/astro/routes/api/admin/users/_id_/index.mjs +7 -7
- package/dist/astro/routes/api/admin/users/_id_/send-recovery.mjs +2 -2
- package/dist/astro/routes/api/admin/users/index.mjs +6 -6
- 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 +10 -10
- package/dist/astro/routes/api/auth/invite/index.mjs +7 -7
- package/dist/astro/routes/api/auth/invite/register-options.mjs +9 -9
- package/dist/astro/routes/api/auth/logout.mjs +2 -2
- package/dist/astro/routes/api/auth/magic-link/send.mjs +9 -9
- 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 +6 -6
- package/dist/astro/routes/api/auth/passkey/index.mjs +1 -1
- package/dist/astro/routes/api/auth/passkey/options.mjs +11 -11
- package/dist/astro/routes/api/auth/passkey/register/options.mjs +9 -9
- package/dist/astro/routes/api/auth/passkey/register/verify.mjs +10 -10
- package/dist/astro/routes/api/auth/passkey/verify.mjs +10 -10
- 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 +10 -10
- package/dist/astro/routes/api/auth/signup/request.mjs +9 -9
- package/dist/astro/routes/api/auth/signup/verify.mjs +1 -1
- package/dist/astro/routes/api/comments/_collection_/_contentId_/index.mjs +13 -13
- package/dist/astro/routes/api/comments/_collection_/_contentId_/reactions.mjs +12 -12
- package/dist/astro/routes/api/content/_collection_/_id_/compare.mjs +2 -2
- package/dist/astro/routes/api/content/_collection_/_id_/discard-draft.mjs +6 -5
- package/dist/astro/routes/api/content/_collection_/_id_/duplicate.mjs +6 -5
- package/dist/astro/routes/api/content/_collection_/_id_/permanent.mjs +6 -5
- package/dist/astro/routes/api/content/_collection_/_id_/preview-url.mjs +10 -10
- package/dist/astro/routes/api/content/_collection_/_id_/publish.mjs +49 -21
- package/dist/astro/routes/api/content/_collection_/_id_/restore.mjs +6 -5
- package/dist/astro/routes/api/content/_collection_/_id_/revisions.mjs +2 -2
- package/dist/astro/routes/api/content/_collection_/_id_/schedule.mjs +67 -33
- package/dist/astro/routes/api/content/_collection_/_id_/terms/_taxonomy_.mjs +14 -14
- package/dist/astro/routes/api/content/_collection_/_id_/translations.mjs +2 -2
- package/dist/astro/routes/api/content/_collection_/_id_/unpublish.mjs +6 -5
- 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 -7
- 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 +19 -19
- package/dist/astro/routes/api/import/wordpress/analyze.mjs +8 -8
- package/dist/astro/routes/api/import/wordpress/execute.d.mts +8 -9
- package/dist/astro/routes/api/import/wordpress/execute.mjs +35 -34
- package/dist/astro/routes/api/import/wordpress/media.d.mts +8 -9
- package/dist/astro/routes/api/import/wordpress/media.mjs +12 -12
- package/dist/astro/routes/api/import/wordpress/prepare.mjs +34 -33
- package/dist/astro/routes/api/import/wordpress/rewrite-urls.d.mts +9 -10
- package/dist/astro/routes/api/import/wordpress/rewrite-urls.mjs +31 -30
- package/dist/astro/routes/api/import/wordpress-plugin/analyze.d.mts +1 -1
- package/dist/astro/routes/api/import/wordpress-plugin/analyze.mjs +22 -22
- package/dist/astro/routes/api/import/wordpress-plugin/execute.d.mts +8 -9
- package/dist/astro/routes/api/import/wordpress-plugin/execute.mjs +40 -39
- package/dist/astro/routes/api/integrations/_provider_.d.mts +8 -0
- package/dist/astro/routes/api/integrations/_provider_.mjs +51 -0
- package/dist/astro/routes/api/integrations/index.d.mts +7 -0
- package/dist/astro/routes/api/integrations/index.mjs +24 -0
- package/dist/astro/routes/api/manifest.mjs +4 -4
- package/dist/astro/routes/api/mcp.mjs +474 -167
- package/dist/astro/routes/api/media/_id_/confirm.mjs +10 -10
- package/dist/astro/routes/api/media/_id_.mjs +8 -8
- 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 +11 -11
- package/dist/astro/routes/api/media.mjs +14 -14
- package/dist/astro/routes/api/menus/_name_/items/_id_.mjs +30 -29
- package/dist/astro/routes/api/menus/_name_/items.mjs +30 -29
- package/dist/astro/routes/api/menus/_name_/reorder.mjs +30 -29
- package/dist/astro/routes/api/menus/_name_/translations.mjs +30 -29
- package/dist/astro/routes/api/menus/_name_.mjs +30 -29
- package/dist/astro/routes/api/menus/index.mjs +30 -29
- 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 +4 -4
- package/dist/astro/routes/api/plugins/_pluginId_/_...path_.mjs +20 -5
- 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 +31 -30
- package/dist/astro/routes/api/redirects/index.mjs +31 -30
- 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 +49 -45
- package/dist/astro/routes/api/schema/collections/_slug_/fields/index.mjs +49 -45
- package/dist/astro/routes/api/schema/collections/_slug_/fields/reorder.mjs +49 -45
- package/dist/astro/routes/api/schema/collections/_slug_/index.mjs +49 -45
- package/dist/astro/routes/api/schema/collections/index.mjs +49 -45
- package/dist/astro/routes/api/schema/index.mjs +8 -8
- package/dist/astro/routes/api/schema/orphans/_slug_.mjs +47 -44
- package/dist/astro/routes/api/schema/orphans/index.mjs +47 -44
- package/dist/astro/routes/api/search/enable.mjs +11 -11
- package/dist/astro/routes/api/search/index.mjs +10 -10
- package/dist/astro/routes/api/search/rebuild.mjs +11 -11
- package/dist/astro/routes/api/search/stats.mjs +6 -6
- package/dist/astro/routes/api/search/suggest.mjs +10 -10
- package/dist/astro/routes/api/sections/_slug_.mjs +30 -29
- package/dist/astro/routes/api/sections/index.mjs +30 -29
- package/dist/astro/routes/api/settings/email.mjs +3 -3
- package/dist/astro/routes/api/settings.mjs +30 -29
- package/dist/astro/routes/api/setup/admin-verify.mjs +12 -12
- package/dist/astro/routes/api/setup/admin.mjs +10 -10
- package/dist/astro/routes/api/setup/dev-bypass.mjs +25 -25
- package/dist/astro/routes/api/setup/dev-reset.mjs +1 -1
- package/dist/astro/routes/api/setup/index.mjs +27 -27
- package/dist/astro/routes/api/setup/status.mjs +3 -3
- package/dist/astro/routes/api/snapshot.mjs +6 -6
- package/dist/astro/routes/api/taxonomies/_name_/terms/_slug_/translations.mjs +33 -32
- package/dist/astro/routes/api/taxonomies/_name_/terms/_slug_.mjs +33 -32
- package/dist/astro/routes/api/taxonomies/_name_/terms/index.mjs +33 -32
- package/dist/astro/routes/api/taxonomies/index.mjs +33 -32
- 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 +29 -28
- package/dist/astro/routes/api/widget-areas/_name_/widgets/_id_.mjs +30 -29
- package/dist/astro/routes/api/widget-areas/_name_/widgets.mjs +30 -29
- package/dist/astro/routes/api/widget-areas/_name_.mjs +27 -26
- package/dist/astro/routes/api/widget-areas/index.mjs +30 -29
- package/dist/astro/routes/api/widget-components.mjs +2 -2
- package/dist/astro/routes/robots.txt.mjs +6 -6
- package/dist/astro/routes/sitemap-_collection_.xml.mjs +9 -9
- package/dist/astro/routes/sitemap.xml.mjs +7 -7
- 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-ByVKIwWF.mjs → audit-BzhwRVym.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-CqeUmQsv.mjs → auth-control-guard-B_Dx-epW.mjs} +1 -1
- package/dist/{authorize-CcBxcHtz.mjs → authorize-D6MkRtPw.mjs} +1 -1
- package/dist/{briefing-BJaJI8dm.mjs → briefing-Cl70iEH5.mjs} +1 -1
- package/dist/{briefing-CawZ59CY.mjs → briefing-GFhLTLJo.mjs} +7 -7
- package/dist/{bundle-7C_DpkEq.mjs → bundle-CIrUlrkQ.mjs} +2 -2
- package/dist/{byline-e51-fWRs.mjs → byline-BJa1MyKB.mjs} +6 -6
- package/dist/{byline-fields-D-N5qVIG.mjs → byline-fields-BKzA0fJU.mjs} +1 -1
- package/dist/{byline-fields-CUvbslGc.d.mts → byline-fields-DxMpdtsZ.d.mts} +57 -47
- package/dist/{byline-fields-DOJO16Gm.mjs → byline-fields-yT4herdN.mjs} +10 -4
- package/dist/{byline-registry-87nNnYl4.mjs → byline-registry-Ba54M74c.mjs} +2 -2
- package/dist/{bylines-CMQNCNFh.mjs → bylines-B53Saxdb.mjs} +3 -3
- package/dist/{bylines-y4LO-dTj.mjs → bylines-kixFoaRV.mjs} +5 -5
- package/dist/{cache-C-FNTFYK.mjs → cache-fpisdt5Q.mjs} +2 -2
- package/dist/{chunks-CxBt-GxR.mjs → chunks-DX_b8_4Z.mjs} +1 -1
- package/dist/cli/index.d.mts +29 -1
- package/dist/cli/index.mjs +1527 -1222
- package/dist/cli/plugin-kit.d.mts +75 -0
- package/dist/cli/plugin-kit.mjs +4 -0
- package/dist/client/external-auth-headers.d.mts +1 -1
- package/dist/client/index.d.mts +27 -52
- package/dist/client/index.mjs +34 -7
- package/dist/client-factory-DEtHApCc.mjs +323 -0
- package/dist/{comment-DlA4iChg.mjs → comment-B88XcvU1.mjs} +1 -1
- package/dist/{comment-reaction-DfFao1ST.mjs → comment-reaction-Ckn6vCmB.mjs} +1 -1
- package/dist/{comments-DApFGMsP.mjs → comments-BDXsbL7z.mjs} +1 -1
- package/dist/{content-Bh4BDjv8.mjs → content-Cbl8HbIR.mjs} +2 -2
- package/dist/{content-refresh-CgutSUfO.mjs → content-refresh-BmkilU5M.mjs} +5 -5
- package/dist/{context-CK4ym2Sf.mjs → context-AJNd0tcG.mjs} +2 -2
- package/dist/{context-C5W3G18y.mjs → context-DT0tIsfw.mjs} +24 -13
- package/dist/{context-route-helpers-MASyGgWf.mjs → context-route-helpers-DhP--tTq.mjs} +2 -2
- package/dist/{dashboard-DQkVT7Ei.mjs → dashboard-YvDEYbS3.mjs} +4 -4
- 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-BnqRH-T9.mjs → device-flow-BKKeobcV.mjs} +5 -5
- package/dist/{enrich-DIFIFA8O.mjs → enrich-Ck9tfMqe.mjs} +1 -1
- package/dist/{error-CytFlgcd.mjs → error-BW9f_ynq.mjs} +16 -2
- package/dist/{experimental-workflows-BMsUnIAw.mjs → experimental-workflows-CgO73K4e.mjs} +1 -1
- package/dist/{field-defs-cache-DRNdhBJv.mjs → field-defs-cache-CiXP3eO3.mjs} +4 -4
- package/dist/{fts-manager-Crzypjqu.mjs → fts-manager-Zo9uhGel.mjs} +1 -1
- package/dist/{hitl-requests-B4Vbcmaq.mjs → hitl-requests-Bee8Cjj8.mjs} +2 -2
- package/dist/{hitl-route-helpers-hEVzvP8l.mjs → hitl-route-helpers-DtHaKGgm.mjs} +5 -5
- package/dist/{import-Bh9biJfx.mjs → import-C-zxnT89.mjs} +7 -7
- package/dist/{index-D4y6NGiy.d.mts → index-DybFmYtZ.d.mts} +79 -3
- package/dist/index.d.mts +15 -17
- package/dist/index.mjs +83 -78
- package/dist/integration-credentials-D3ZneN0L.mjs +49 -0
- package/dist/{jsonld-Dq0gsnOH.d.mts → jsonld-CoTa8I1a.d.mts} +2 -2
- package/dist/{load-DmYeniXl.mjs → load-Cuiyh8LT.mjs} +1 -1
- package/dist/{loader-CjWqjweO.mjs → loader-WHf22FwU.mjs} +2 -2
- package/dist/{manifest-schema-BxVPYMJR.mjs → manifest-schema-DKa3ZaJL.mjs} +6 -2
- package/dist/{mcp-reviewed-executor-TwVbMzG6.mjs → mcp-reviewed-executor-DnlF7mIL.mjs} +6 -3
- package/dist/media/image-endpoint.mjs +1 -1
- package/dist/media/index.d.mts +1 -1
- package/dist/media/index.mjs +2 -2
- package/dist/media/local-runtime.d.mts +10 -11
- package/dist/media/local-runtime.mjs +2 -2
- package/dist/{media-DMj0grzC.mjs → media-B4m-cnmj.mjs} +1 -1
- package/dist/{media-allowlist-BlVCSzHx.mjs → media-allowlist-BQyIBPzd.mjs} +1 -1
- package/dist/{menus-TaW1gKnk.mjs → menus-LYALU2Mf.mjs} +2 -2
- package/dist/{menus-xvsnVZXw.mjs → menus-oYfViqfE.mjs} +6 -6
- package/dist/{oauth-authorization-DiaGvRVz.mjs → oauth-authorization-CX7aa8Ph.mjs} +5 -5
- package/dist/{oauth-clients-Dl9E8dEM.mjs → oauth-clients-D9Gg0WjF.mjs} +2 -2
- package/dist/object-cache/memory.d.mts +1 -1
- package/dist/output-13u4dvu-.mjs +68 -0
- package/dist/page/index.d.mts +9 -3
- package/dist/page/index.mjs +1 -1
- package/dist/{parse-CbymENaR.mjs → parse-B-Y84oJl.mjs} +1 -1
- package/dist/plugin-utils.d.mts +8 -9
- package/dist/plugins/adapt-sandbox-entry.d.mts +8 -9
- package/dist/plugins/adapt-sandbox-entry.mjs +3 -1
- package/dist/{plugins-BolVa-tl.mjs → plugins-B7-4Okii.mjs} +95 -10
- package/dist/portable-text-Ehqj3I_y.d.mts +45 -0
- package/dist/{preview-vSVg6fwG.mjs → preview-BMIReQGc.mjs} +2 -2
- package/dist/{provider-loader-MD8zAbnH.d.mts → provider-loader-BIbIiz0P.d.mts} +1 -1
- package/dist/{public-url-gsp3oUbu.d.mts → public-url-DYISdY_R.d.mts} +1 -1
- package/dist/publication-authorization-BVQ5rCAF.mjs +985 -0
- package/dist/{query-CfRCdaL3.mjs → query-C_m8sn-S.mjs} +13 -13
- package/dist/{query-jaAmw8E1.mjs → query-DNczixZr.mjs} +3 -3
- package/dist/{rate-limit-ZLdyWoZF.mjs → rate-limit-oUGexQO1.mjs} +2 -2
- package/dist/{redirect-BAjt4Z6b.mjs → redirect-DoDgOWIA.mjs} +2 -2
- package/dist/{redirects-BTdwpQtE.mjs → redirects-CrP6U4hZ.mjs} +4 -4
- package/dist/{redirects-CA-xylPG.mjs → redirects-E_B6hvuz.mjs} +18 -10
- package/dist/{registry-CtyVedcN.mjs → registry-SEJqFliS.mjs} +24 -10
- package/dist/{request-meta-CUypToDJ.mjs → request-meta-DHFIzWcf.mjs} +1 -1
- package/dist/review-payload-BysRWpxS.mjs +111 -0
- package/dist/{review-requests-DUyEmtmG.mjs → review-requests-CObSuTYU.mjs} +1 -1
- package/dist/review-requests-Cu9051_B.mjs +142 -0
- package/dist/review-route-helpers-Dp_7PH8r.mjs +41 -0
- package/dist/{runner-1tC2tIRV.d.mts → runner-Bcy5w0vj.d.mts} +1 -1
- package/dist/{runner-DB7CRfOF.mjs → runner-BfWbi9YY.mjs} +1166 -447
- package/dist/runtime.d.mts +9 -10
- package/dist/runtime.mjs +3 -3
- package/dist/schema-Dk_N31V4.mjs +8 -0
- package/dist/{search-DSaLgEFI.mjs → search-BXEQepxL.mjs} +3 -3
- package/dist/{secrets-CDZo2k8L.mjs → secrets-CpGpyGcO.mjs} +1 -1
- package/dist/{sections-PVVXHGfp.mjs → sections-DxvEF6Bj.mjs} +2 -2
- package/dist/seed/index.d.mts +2 -2
- package/dist/seed/index.mjs +19 -19
- package/dist/seo/index.d.mts +1 -1
- package/dist/seo/index.mjs +1 -1
- package/dist/{seo-CQG3GCHQ.mjs → seo-D1RiaooQ.mjs} +1 -1
- package/dist/service-CY0aH6eI.mjs +347 -0
- package/dist/{service-DiN4ZuPp.mjs → service-QdG0YHws.mjs} +2 -2
- package/dist/{settings-i4VPP8bT.mjs → settings-Dje-PHXo.mjs} +2 -2
- package/dist/{settings-BbqgHWpU.mjs → settings-SVDAB7_W.mjs} +5 -5
- package/dist/{site-activity-Dy3FROs0.mjs → site-activity-BVK40wCy.mjs} +1 -1
- package/dist/{site-context-DQiL8Fl5.mjs → site-context-CzaEGizi.mjs} +565 -129
- package/dist/stable-hash-DshcXvRE.mjs +19 -0
- package/dist/storage/local.d.mts +1 -1
- package/dist/storage/local.mjs +1 -1
- package/dist/storage/s3.d.mts +1 -1
- package/dist/storage/s3.mjs +1 -1
- package/dist/store-CCfMD6nw.mjs +262 -0
- package/dist/{taxonomies-9s-v03H-.mjs → taxonomies-DuhGjBa8.mjs} +3 -3
- package/dist/{taxonomies-DRiixp_E.mjs → taxonomies-WVnFki0o.mjs} +6 -6
- package/dist/{taxonomy-Dvsw6BOs.mjs → taxonomy-CCo2plmV.mjs} +2 -2
- package/dist/{types-DU0bU2Wu.d.mts → types-BFeoAIHl.d.mts} +596 -2
- package/dist/{types-Dq1qT19x.mjs → types-Bshd_6wQ.mjs} +1 -1
- package/dist/{runtime-BOeiQsCv.d.mts → types-CJezJeNE.d.mts} +3561 -1355
- package/dist/{types-4garmdWa.mjs → types-CK0r-Xq4.mjs} +5 -2
- package/dist/{types-C_ly5eTp.d.mts → types-GtwhHAg8.d.mts} +1 -1
- package/dist/{types-DW_-sFyz.d.mts → types-ywmuDETA.d.mts} +2 -0
- package/dist/ui/server-runtime.d.mts +12 -14
- package/dist/ui/server-runtime.mjs +21 -21
- package/dist/{user-BIZPzCb9.mjs → user-Bcvr5ihC.mjs} +2 -2
- package/dist/{utils-CMDhr5Xd.mjs → utils-B7gemXz5.mjs} +1 -1
- package/dist/{validate-CZvb-BKB.d.mts → validate-YiX3rly5.d.mts} +59 -5
- package/dist/{validate-DNs0pTSc.mjs → validate-qKzI3BCv.mjs} +2 -2
- package/dist/version-DEAV9k58.mjs +6 -0
- package/dist/{widgets-f0ibZUIq.mjs → widgets-DyGcotPM.mjs} +3 -3
- package/dist/{wordpress-slugs-BhHJX8XE.mjs → wordpress-slugs-D_LfQCan.mjs} +1 -1
- package/dist/{zod-generator-B7TMjyFJ.mjs → zod-generator-Cr3SiHsc.mjs} +2 -2
- package/package.json +16 -6
- package/dist/hitl-Hw1RmWOq.mjs +0 -677
- package/dist/review-requests-C9Ff11Vq.mjs +0 -79
- package/dist/schema-DXdYj4R3.mjs +0 -8
- package/dist/types-C46EvNdc.d.mts +0 -56
- package/dist/types-C8XW6L19.d.mts +0 -1468
- package/dist/version-BTvfRGc6.mjs +0 -6
- /package/dist/{adapters-NVSs4UH7.d.mts → adapters-DnMDRQ4e.d.mts} +0 -0
- /package/dist/{api-tokens-2r7OWi_I.mjs → api-tokens-D4tcY8R6.mjs} +0 -0
- /package/dist/{challenge-store-Bjlepa2E.mjs → challenge-store-BMkL2kmt.mjs} +0 -0
- /package/dist/{components-Bclf98Be.mjs → components-D0w9MzQe.mjs} +0 -0
- /package/dist/{context-types-DqTo6C79.mjs → context-types-eBuMDAg-.mjs} +0 -0
- /package/dist/{cron-cKcNTix_.mjs → cron-D_c3WUPN.mjs} +0 -0
- /package/dist/{default--K40jqm0.mjs → default-BxoI3SoK.mjs} +0 -0
- /package/dist/{email-console-ChgKFO8-.mjs → email-console-BEMwuxhV.mjs} +0 -0
- /package/dist/{escape-Bd4P_xKg.mjs → escape-smSUOb7u.mjs} +0 -0
- /package/dist/{hash-BPmX6P8I.mjs → hash-mxxx2oPW.mjs} +0 -0
- /package/dist/{media-url-lEKSrpr9.mjs → media-url-B6d-yVI6.mjs} +0 -0
- /package/dist/{mime-CA7Lgovc.mjs → mime-C0vOHFm7.mjs} +0 -0
- /package/dist/{mode-C4CIyjtR.mjs → mode-DPC7segX.mjs} +0 -0
- /package/dist/{normalize-5ek_z7de.mjs → normalize-Cyt7JdF7.mjs} +0 -0
- /package/dist/{oauth-state-store-CNoXafF7.mjs → oauth-state-store-DPVzeoyY.mjs} +0 -0
- /package/dist/{oauth-user-lookup-Ygw4bNyt.mjs → oauth-user-lookup-3E5jlXrr.mjs} +0 -0
- /package/dist/{parser-C1nYd-81.mjs → parser-DX_c5iG3.mjs} +0 -0
- /package/dist/{passkey-config-BUwu8BA3.mjs → passkey-config-DE_0EGEP.mjs} +0 -0
- /package/dist/{patterns-BhAvqO0S.mjs → patterns-CoqlXUvk.mjs} +0 -0
- /package/dist/{placeholder-uvNRZBX9.d.mts → placeholder-C6ZjZcmJ.d.mts} +0 -0
- /package/dist/{portable-text-dA_UlJwW.mjs → portable-text-BASHceim.mjs} +0 -0
- /package/dist/{process-cache-7xgAO9JY.mjs → process-cache-CCDgti7j.mjs} +0 -0
- /package/dist/{provider-loader-D0w9dqjm.mjs → provider-loader-BeQcnPN1.mjs} +0 -0
- /package/dist/{public-url-BEz_sM9n.mjs → public-url-BA-7LKvQ.mjs} +0 -0
- /package/dist/{redirect-wphRBv4y.mjs → redirect-CZFAqHLr.mjs} +0 -0
- /package/dist/{request-cache-D9GQBxMP.mjs → request-cache-CBFjCwSt.mjs} +0 -0
- /package/dist/{resolve-Cb6Dbz-C.mjs → resolve-B6BpqwAR.mjs} +0 -0
- /package/dist/{seo-qa7Dn0jK.mjs → seo-BLszyJxd.mjs} +0 -0
- /package/dist/{seo-contributions-C1EnikHB.mjs → seo-contributions-Ci8_12_r.mjs} +0 -0
- /package/dist/{session-user-CAKImna3.mjs → session-user-BwliEFp0.mjs} +0 -0
- /package/dist/{setup-complete-B8fl-mjV.mjs → setup-complete-PvF8I7Oh.mjs} +0 -0
- /package/dist/{setup-nonce-CoyjILvW.mjs → setup-nonce-DkpYROqg.mjs} +0 -0
- /package/dist/{sidecar-client-C3mqXg4C.mjs → sidecar-client-dt5fv23q.mjs} +0 -0
- /package/dist/{site-url-BML3GQYm.mjs → site-url-DfYDZyWl.mjs} +0 -0
- /package/dist/{ssrf-DWe8jwAp.mjs → ssrf-BZHvtFEv.mjs} +0 -0
- /package/dist/{status-DANd8ERo.mjs → status-BN40hMpr.mjs} +0 -0
- /package/dist/{tokens-1RK1n6ED.mjs → tokens-DIzhPT80.mjs} +0 -0
- /package/dist/{transaction-C2EOMTJA.mjs → transaction-0LEAAy8R.mjs} +0 -0
- /package/dist/{transport-CcJu3Co8.d.mts → transport-BZ3aqdu7.d.mts} +0 -0
- /package/dist/{transport-BNmCqLu7.mjs → transport-C46KHLMP.mjs} +0 -0
- /package/dist/{trusted-proxy-DTXQ2IMv.mjs → trusted-proxy-czZuby6G.mjs} +0 -0
- /package/dist/{types-B3t5cxhU.mjs → types-B7TDDFMG.mjs} +0 -0
- /package/dist/{types-CDpH6MA4.d.mts → types-BsTXSvKG.d.mts} +0 -0
- /package/dist/{types-DF7ZuGGk.d.mts → types-CDcuRd4z.d.mts} +0 -0
- /package/dist/{types-Rc3gQqqw.d.mts → types-S9VIopdY.d.mts} +0 -0
- /package/dist/{types-POH8PQZh.d.mts → types-YxFz4lDr.d.mts} +0 -0
- /package/dist/{types-C5CVgwsV.mjs → types-gvNBqijt.mjs} +0 -0
- /package/dist/{url-CpyFDFpO.mjs → url-D282S1Zw.mjs} +0 -0
- /package/dist/{url-Cac7a9QZ.mjs → url-guoXQQcV.mjs} +0 -0
|
@@ -120,9 +120,13 @@ declare const contentUpdateBody: z.ZodObject<{
|
|
|
120
120
|
}, z.core.$strip>;
|
|
121
121
|
declare const contentScheduleBody: z.ZodObject<{
|
|
122
122
|
scheduledAt: z.ZodString;
|
|
123
|
+
reviewRequestId: z.ZodString;
|
|
124
|
+
releaseAuthorizationId: z.ZodOptional<z.ZodString>;
|
|
123
125
|
}, z.core.$strip>;
|
|
124
126
|
declare const contentPublishBody: z.ZodObject<{
|
|
125
127
|
publishedAt: z.ZodOptional<z.ZodISODateTime>;
|
|
128
|
+
reviewRequestId: z.ZodString;
|
|
129
|
+
releaseAuthorizationId: z.ZodOptional<z.ZodString>;
|
|
126
130
|
}, z.core.$strip>;
|
|
127
131
|
declare const contentPreviewUrlBody: z.ZodObject<{
|
|
128
132
|
expiresIn: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
|
|
@@ -480,8 +484,8 @@ declare const mediaItemSchema: z.ZodObject<{
|
|
|
480
484
|
caption: z.ZodNullable<z.ZodString>;
|
|
481
485
|
storageKey: z.ZodString;
|
|
482
486
|
status: z.ZodEnum<{
|
|
483
|
-
pending: "pending";
|
|
484
487
|
ready: "ready";
|
|
488
|
+
pending: "pending";
|
|
485
489
|
failed: "failed";
|
|
486
490
|
}>;
|
|
487
491
|
contentHash: z.ZodNullable<z.ZodString>;
|
|
@@ -502,8 +506,8 @@ declare const mediaResponseSchema: z.ZodObject<{
|
|
|
502
506
|
caption: z.ZodNullable<z.ZodString>;
|
|
503
507
|
storageKey: z.ZodString;
|
|
504
508
|
status: z.ZodEnum<{
|
|
505
|
-
pending: "pending";
|
|
506
509
|
ready: "ready";
|
|
510
|
+
pending: "pending";
|
|
507
511
|
failed: "failed";
|
|
508
512
|
}>;
|
|
509
513
|
contentHash: z.ZodNullable<z.ZodString>;
|
|
@@ -525,8 +529,8 @@ declare const mediaListResponseSchema: z.ZodObject<{
|
|
|
525
529
|
caption: z.ZodNullable<z.ZodString>;
|
|
526
530
|
storageKey: z.ZodString;
|
|
527
531
|
status: z.ZodEnum<{
|
|
528
|
-
pending: "pending";
|
|
529
532
|
ready: "ready";
|
|
533
|
+
pending: "pending";
|
|
530
534
|
failed: "failed";
|
|
531
535
|
}>;
|
|
532
536
|
contentHash: z.ZodNullable<z.ZodString>;
|
|
@@ -563,8 +567,8 @@ declare const mediaConfirmResponseSchema: z.ZodObject<{
|
|
|
563
567
|
caption: z.ZodNullable<z.ZodString>;
|
|
564
568
|
storageKey: z.ZodString;
|
|
565
569
|
status: z.ZodEnum<{
|
|
566
|
-
pending: "pending";
|
|
567
570
|
ready: "ready";
|
|
571
|
+
pending: "pending";
|
|
568
572
|
failed: "failed";
|
|
569
573
|
}>;
|
|
570
574
|
contentHash: z.ZodNullable<z.ZodString>;
|
|
@@ -584,11 +588,11 @@ declare const createCollectionBody: z.ZodObject<{
|
|
|
584
588
|
description: z.ZodOptional<z.ZodString>;
|
|
585
589
|
icon: z.ZodOptional<z.ZodString>;
|
|
586
590
|
supports: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
591
|
+
search: "search";
|
|
587
592
|
drafts: "drafts";
|
|
588
593
|
revisions: "revisions";
|
|
589
594
|
preview: "preview";
|
|
590
595
|
scheduling: "scheduling";
|
|
591
|
-
search: "search";
|
|
592
596
|
}>>>;
|
|
593
597
|
source: z.ZodOptional<z.ZodString>;
|
|
594
598
|
urlPattern: z.ZodOptional<z.ZodString>;
|
|
@@ -600,11 +604,11 @@ declare const updateCollectionBody: z.ZodObject<{
|
|
|
600
604
|
description: z.ZodOptional<z.ZodString>;
|
|
601
605
|
icon: z.ZodOptional<z.ZodString>;
|
|
602
606
|
supports: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
607
|
+
search: "search";
|
|
603
608
|
drafts: "drafts";
|
|
604
609
|
revisions: "revisions";
|
|
605
610
|
preview: "preview";
|
|
606
611
|
scheduling: "scheduling";
|
|
607
|
-
search: "search";
|
|
608
612
|
}>>>;
|
|
609
613
|
urlPattern: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
610
614
|
hasSeo: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -624,18 +628,18 @@ declare const createFieldBody: z.ZodObject<{
|
|
|
624
628
|
string: "string";
|
|
625
629
|
number: "number";
|
|
626
630
|
boolean: "boolean";
|
|
631
|
+
json: "json";
|
|
632
|
+
url: "url";
|
|
627
633
|
file: "file";
|
|
628
634
|
slug: "slug";
|
|
635
|
+
image: "image";
|
|
636
|
+
datetime: "datetime";
|
|
629
637
|
text: "text";
|
|
630
|
-
url: "url";
|
|
631
638
|
integer: "integer";
|
|
632
|
-
datetime: "datetime";
|
|
633
639
|
select: "select";
|
|
634
640
|
multiSelect: "multiSelect";
|
|
635
641
|
portableText: "portableText";
|
|
636
|
-
image: "image";
|
|
637
642
|
reference: "reference";
|
|
638
|
-
json: "json";
|
|
639
643
|
repeater: "repeater";
|
|
640
644
|
}>;
|
|
641
645
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -655,12 +659,12 @@ declare const createFieldBody: z.ZodObject<{
|
|
|
655
659
|
string: "string";
|
|
656
660
|
number: "number";
|
|
657
661
|
boolean: "boolean";
|
|
658
|
-
text: "text";
|
|
659
662
|
url: "url";
|
|
660
|
-
|
|
663
|
+
image: "image";
|
|
661
664
|
datetime: "datetime";
|
|
665
|
+
text: "text";
|
|
666
|
+
integer: "integer";
|
|
662
667
|
select: "select";
|
|
663
|
-
image: "image";
|
|
664
668
|
}>;
|
|
665
669
|
label: z.ZodString;
|
|
666
670
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -682,18 +686,18 @@ declare const updateFieldBody: z.ZodObject<{
|
|
|
682
686
|
string: "string";
|
|
683
687
|
number: "number";
|
|
684
688
|
boolean: "boolean";
|
|
689
|
+
json: "json";
|
|
690
|
+
url: "url";
|
|
685
691
|
file: "file";
|
|
686
692
|
slug: "slug";
|
|
693
|
+
image: "image";
|
|
694
|
+
datetime: "datetime";
|
|
687
695
|
text: "text";
|
|
688
|
-
url: "url";
|
|
689
696
|
integer: "integer";
|
|
690
|
-
datetime: "datetime";
|
|
691
697
|
select: "select";
|
|
692
698
|
multiSelect: "multiSelect";
|
|
693
699
|
portableText: "portableText";
|
|
694
|
-
image: "image";
|
|
695
700
|
reference: "reference";
|
|
696
|
-
json: "json";
|
|
697
701
|
repeater: "repeater";
|
|
698
702
|
}>>;
|
|
699
703
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -713,12 +717,12 @@ declare const updateFieldBody: z.ZodObject<{
|
|
|
713
717
|
string: "string";
|
|
714
718
|
number: "number";
|
|
715
719
|
boolean: "boolean";
|
|
716
|
-
text: "text";
|
|
717
720
|
url: "url";
|
|
718
|
-
|
|
721
|
+
image: "image";
|
|
719
722
|
datetime: "datetime";
|
|
723
|
+
text: "text";
|
|
724
|
+
integer: "integer";
|
|
720
725
|
select: "select";
|
|
721
|
-
image: "image";
|
|
722
726
|
}>;
|
|
723
727
|
label: z.ZodString;
|
|
724
728
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -771,18 +775,18 @@ declare const fieldSchema: z.ZodObject<{
|
|
|
771
775
|
string: "string";
|
|
772
776
|
number: "number";
|
|
773
777
|
boolean: "boolean";
|
|
778
|
+
json: "json";
|
|
779
|
+
url: "url";
|
|
774
780
|
file: "file";
|
|
775
781
|
slug: "slug";
|
|
782
|
+
image: "image";
|
|
783
|
+
datetime: "datetime";
|
|
776
784
|
text: "text";
|
|
777
|
-
url: "url";
|
|
778
785
|
integer: "integer";
|
|
779
|
-
datetime: "datetime";
|
|
780
786
|
select: "select";
|
|
781
787
|
multiSelect: "multiSelect";
|
|
782
788
|
portableText: "portableText";
|
|
783
|
-
image: "image";
|
|
784
789
|
reference: "reference";
|
|
785
|
-
json: "json";
|
|
786
790
|
repeater: "repeater";
|
|
787
791
|
}>;
|
|
788
792
|
required: z.ZodBoolean;
|
|
@@ -836,18 +840,18 @@ declare const collectionWithFieldsResponseSchema: z.ZodObject<{
|
|
|
836
840
|
string: "string";
|
|
837
841
|
number: "number";
|
|
838
842
|
boolean: "boolean";
|
|
843
|
+
json: "json";
|
|
844
|
+
url: "url";
|
|
839
845
|
file: "file";
|
|
840
846
|
slug: "slug";
|
|
847
|
+
image: "image";
|
|
848
|
+
datetime: "datetime";
|
|
841
849
|
text: "text";
|
|
842
|
-
url: "url";
|
|
843
850
|
integer: "integer";
|
|
844
|
-
datetime: "datetime";
|
|
845
851
|
select: "select";
|
|
846
852
|
multiSelect: "multiSelect";
|
|
847
853
|
portableText: "portableText";
|
|
848
|
-
image: "image";
|
|
849
854
|
reference: "reference";
|
|
850
|
-
json: "json";
|
|
851
855
|
repeater: "repeater";
|
|
852
856
|
}>;
|
|
853
857
|
required: z.ZodBoolean;
|
|
@@ -890,18 +894,18 @@ declare const fieldResponseSchema: z.ZodObject<{
|
|
|
890
894
|
string: "string";
|
|
891
895
|
number: "number";
|
|
892
896
|
boolean: "boolean";
|
|
897
|
+
json: "json";
|
|
898
|
+
url: "url";
|
|
893
899
|
file: "file";
|
|
894
900
|
slug: "slug";
|
|
901
|
+
image: "image";
|
|
902
|
+
datetime: "datetime";
|
|
895
903
|
text: "text";
|
|
896
|
-
url: "url";
|
|
897
904
|
integer: "integer";
|
|
898
|
-
datetime: "datetime";
|
|
899
905
|
select: "select";
|
|
900
906
|
multiSelect: "multiSelect";
|
|
901
907
|
portableText: "portableText";
|
|
902
|
-
image: "image";
|
|
903
908
|
reference: "reference";
|
|
904
|
-
json: "json";
|
|
905
909
|
repeater: "repeater";
|
|
906
910
|
}>;
|
|
907
911
|
required: z.ZodBoolean;
|
|
@@ -927,18 +931,18 @@ declare const fieldListResponseSchema: z.ZodObject<{
|
|
|
927
931
|
string: "string";
|
|
928
932
|
number: "number";
|
|
929
933
|
boolean: "boolean";
|
|
934
|
+
json: "json";
|
|
935
|
+
url: "url";
|
|
930
936
|
file: "file";
|
|
931
937
|
slug: "slug";
|
|
938
|
+
image: "image";
|
|
939
|
+
datetime: "datetime";
|
|
932
940
|
text: "text";
|
|
933
|
-
url: "url";
|
|
934
941
|
integer: "integer";
|
|
935
|
-
datetime: "datetime";
|
|
936
942
|
select: "select";
|
|
937
943
|
multiSelect: "multiSelect";
|
|
938
944
|
portableText: "portableText";
|
|
939
|
-
image: "image";
|
|
940
945
|
reference: "reference";
|
|
941
|
-
json: "json";
|
|
942
946
|
repeater: "repeater";
|
|
943
947
|
}>;
|
|
944
948
|
required: z.ZodBoolean;
|
|
@@ -991,10 +995,10 @@ declare const commentStatusBody: z.ZodObject<{
|
|
|
991
995
|
declare const commentBulkBody: z.ZodObject<{
|
|
992
996
|
ids: z.ZodArray<z.ZodString>;
|
|
993
997
|
action: z.ZodEnum<{
|
|
998
|
+
delete: "delete";
|
|
994
999
|
spam: "spam";
|
|
995
1000
|
trash: "trash";
|
|
996
1001
|
approve: "approve";
|
|
997
|
-
delete: "delete";
|
|
998
1002
|
}>;
|
|
999
1003
|
}, z.core.$strip>;
|
|
1000
1004
|
declare const commentListQuery: z.ZodObject<{
|
|
@@ -1114,8 +1118,8 @@ declare const contextEntryListQuery: z.ZodObject<{
|
|
|
1114
1118
|
cursor: z.ZodOptional<z.ZodString>;
|
|
1115
1119
|
}, z.core.$strip>;
|
|
1116
1120
|
declare const contextEntryStaleQuery: z.ZodObject<{
|
|
1117
|
-
cursor: z.ZodOptional<z.ZodString>;
|
|
1118
1121
|
limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
1122
|
+
cursor: z.ZodOptional<z.ZodString>;
|
|
1119
1123
|
includeInherited: z.ZodPipe<z.ZodOptional<z.ZodEnum<{
|
|
1120
1124
|
true: "true";
|
|
1121
1125
|
false: "false";
|
|
@@ -1235,6 +1239,12 @@ declare const hitlRequestResolveBody: z.ZodObject<{
|
|
|
1235
1239
|
}, z.core.$strip>;
|
|
1236
1240
|
//#endregion
|
|
1237
1241
|
//#region src/api/schemas/review-requests.d.ts
|
|
1242
|
+
declare const reviewRequestCreateBody: z.ZodObject<{
|
|
1243
|
+
collection: z.ZodString;
|
|
1244
|
+
id: z.ZodString;
|
|
1245
|
+
summary: z.ZodOptional<z.ZodString>;
|
|
1246
|
+
riskReason: z.ZodOptional<z.ZodString>;
|
|
1247
|
+
}, z.core.$strip>;
|
|
1238
1248
|
declare const reviewRequestListQuery: z.ZodObject<{
|
|
1239
1249
|
status: z.ZodOptional<z.ZodEnum<{
|
|
1240
1250
|
pending: "pending";
|
|
@@ -1378,11 +1388,11 @@ declare const authMeActionBody: z.ZodObject<{
|
|
|
1378
1388
|
* from `referenceCollection` + `referenceId` (a translation_group id).
|
|
1379
1389
|
*/
|
|
1380
1390
|
declare const menuItemTypeEnum: z.ZodEnum<{
|
|
1381
|
-
custom: "custom";
|
|
1382
1391
|
collection: "collection";
|
|
1392
|
+
taxonomy: "taxonomy";
|
|
1393
|
+
custom: "custom";
|
|
1383
1394
|
page: "page";
|
|
1384
1395
|
post: "post";
|
|
1385
|
-
taxonomy: "taxonomy";
|
|
1386
1396
|
}>;
|
|
1387
1397
|
declare const createMenuBody: z.ZodObject<{
|
|
1388
1398
|
name: z.ZodString;
|
|
@@ -1395,11 +1405,11 @@ declare const updateMenuBody: z.ZodObject<{
|
|
|
1395
1405
|
}, z.core.$strict>;
|
|
1396
1406
|
declare const createMenuItemBody: z.ZodObject<{
|
|
1397
1407
|
type: z.ZodEnum<{
|
|
1398
|
-
custom: "custom";
|
|
1399
1408
|
collection: "collection";
|
|
1409
|
+
taxonomy: "taxonomy";
|
|
1410
|
+
custom: "custom";
|
|
1400
1411
|
page: "page";
|
|
1401
1412
|
post: "post";
|
|
1402
|
-
taxonomy: "taxonomy";
|
|
1403
1413
|
}>;
|
|
1404
1414
|
label: z.ZodString;
|
|
1405
1415
|
referenceCollection: z.ZodOptional<z.ZodString>;
|
|
@@ -1612,8 +1622,8 @@ declare const termGetResponseSchema: z.ZodObject<{
|
|
|
1612
1622
|
//#region src/api/schemas/sections.d.ts
|
|
1613
1623
|
declare const sectionsListQuery: z.ZodObject<{
|
|
1614
1624
|
source: z.ZodOptional<z.ZodEnum<{
|
|
1615
|
-
theme: "theme";
|
|
1616
1625
|
user: "user";
|
|
1626
|
+
theme: "theme";
|
|
1617
1627
|
import: "import";
|
|
1618
1628
|
}>>;
|
|
1619
1629
|
search: z.ZodOptional<z.ZodString>;
|
|
@@ -2218,8 +2228,8 @@ declare const bylineFieldCreateBody: z.ZodObject<{
|
|
|
2218
2228
|
type: z.ZodEnum<{
|
|
2219
2229
|
string: "string";
|
|
2220
2230
|
boolean: "boolean";
|
|
2221
|
-
text: "text";
|
|
2222
2231
|
url: "url";
|
|
2232
|
+
text: "text";
|
|
2223
2233
|
select: "select";
|
|
2224
2234
|
}>;
|
|
2225
2235
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -2248,8 +2258,8 @@ declare const bylineFieldDefinitionSchema: z.ZodObject<{
|
|
|
2248
2258
|
type: z.ZodEnum<{
|
|
2249
2259
|
string: "string";
|
|
2250
2260
|
boolean: "boolean";
|
|
2251
|
-
text: "text";
|
|
2252
2261
|
url: "url";
|
|
2262
|
+
text: "text";
|
|
2253
2263
|
select: "select";
|
|
2254
2264
|
}>;
|
|
2255
2265
|
required: z.ZodBoolean;
|
|
@@ -2269,8 +2279,8 @@ declare const bylineFieldListResponseSchema: z.ZodObject<{
|
|
|
2269
2279
|
type: z.ZodEnum<{
|
|
2270
2280
|
string: "string";
|
|
2271
2281
|
boolean: "boolean";
|
|
2272
|
-
text: "text";
|
|
2273
2282
|
url: "url";
|
|
2283
|
+
text: "text";
|
|
2274
2284
|
select: "select";
|
|
2275
2285
|
}>;
|
|
2276
2286
|
required: z.ZodBoolean;
|
|
@@ -2289,4 +2299,4 @@ declare const bylineFieldUsageResponseSchema: z.ZodObject<{
|
|
|
2289
2299
|
totalAffectedRows: z.ZodNumber;
|
|
2290
2300
|
}, z.core.$strip>;
|
|
2291
2301
|
//#endregion
|
|
2292
|
-
export { settingsUpdateBody as $,
|
|
2302
|
+
export { settingsUpdateBody as $, contentTermsBody as $n, adminCommentListResponseSchema as $t, widgetAreaSchema as A, mediaConfirmResponseSchema as An, inviteCompleteBody as At, usersListQuery as B, contentAuthorSchema as Bn, signupRequestBody as Bt, redirectSchema as C, orphanedTableSchema as Cn, menuSchema as Ct, createWidgetBody as D, DEFAULT_MAX_UPLOAD_SIZE as Dn, updateMenuBody as Dt, createWidgetAreaBody as E, updateFieldBody as En, reorderMenuItemsBody as Et, allowedDomainUpdateBody as F, mediaProviderListQuery as Fn, passkeyRegisterOptionsBody as Ft, wpPrepareBody as G, contentListQuery as Gn, hitlRequestResolveBody as Gt, wpMediaImportBody as H, contentCompareResponseSchema as Hn, reviewRequestListQuery as Ht, userDetailSchema as I, mediaResponseSchema as In, passkeyRegisterVerifyBody as It, searchQuery as J, contentPublishBody as Jn, contextEntryDiffQuery as Jt, wpRewriteUrlsBody as K, contentListResponseSchema as Kn, siteBriefingQuery as Kt, userListResponseSchema as L, mediaUpdateBody as Ln, passkeyRenameBody as Lt, widgetAreaWithWidgetsSchema as M, mediaItemSchema as Mn, inviteRegisterOptionsBody as Mt, widgetSchema as N, mediaListQuery as Nn, magicLinkSendBody as Nt, reorderWidgetsBody as O, formatFileSize as On, updateMenuItemBody as Ot, allowedDomainCreateBody as P, mediaListResponseSchema as Pn, passkeyOptionsBody as Pt, searchSuggestQuery as Q, contentSeoSchema as Qn, contextEntrySupersedeBody as Qt, userSchema as R, mediaUploadUrlBody as Rn, passkeyVerifyBody as Rt, redirectListResponseSchema as S, orphanedTableListResponseSchema as Sn, menuListItemSchema as St, updateRedirectBody as T, updateCollectionBody as Tn, menuWithItemsSchema as Tt, wpPluginAnalyzeBody as U, contentCreateBody as Un, reviewRequestResolveBody as Ut, importProbeBody as V, contentAuthorsResponseSchema as Vn, reviewRequestCreateBody as Vt, wpPluginExecuteBody as W, contentItemSchema as Wn, hitlRequestListQuery as Wt, searchResponseSchema as X, contentScheduleBody as Xn, contextEntryReviewBody as Xt, searchRebuildBody as Y, contentResponseSchema as Yn, contextEntryListQuery as Yt, searchResultSchema as Z, contentSeoInput as Zn, contextEntryStaleQuery as Zt, notFoundListResponseSchema as _, fieldListResponseSchema as _n, successEnvelope as _r, updateTermBody as _t, bylineFieldUpdateBody as a, commentStatusBody as an, trashedContentListResponseSchema as ar, updateSectionBody as at, notFoundSummaryResponseSchema as b, fieldSchema as bn, menuItemSchema as bt, bylineCreditSchema as c, publicCommentListResponseSchema as cn, countResponseSchema as cr, taxonomyDefSchema as ct, bylineUpdateBody as d, collectionListResponseSchema as dn, httpUrl as dr, termGetResponseSchema as dt, commentBulkBody as en, contentTranslationSchema as er, siteSettingsSchema as et, bylinesListQuery as f, collectionResponseSchema as fn, localeCode as fr, termListResponseSchema as ft, notFoundListQuery as g, createFieldBody as gn, slugPattern as gr, termWithCountSchema as gt, notFoundEntrySchema as h, createCollectionBody as hn, roleLevel as hr, termTranslationsSchema as ht, bylineFieldReorderBody as i, commentSchema as in, trashedContentItemSchema as ir, sectionsListQuery as it, widgetAreaWithWidgetsAndCountSchema as j, mediaExistingResponseSchema as jn, inviteCreateBody as jt, updateWidgetBody as k, mediaConfirmBody as kn, authMeActionBody as kt, bylineListResponseSchema as l, publicCommentSchema as ln, cursorPaginationQuery as lr, taxonomyDefTranslationsSchema as lt, createRedirectBody as m, collectionWithFieldsResponseSchema as mn, offsetPaginationQuery as mr, termSchema as mt, bylineFieldDefinitionSchema as n, commentCountsResponseSchema as nn, contentTrashQuery as nr, sectionListResponseSchema as nt, bylineFieldUsageResponseSchema as o, createCommentBody as on, VALID_ROLE_LEVELS as or, createTaxonomyDefBody as ot, contentBylineInputSchema as p, collectionSchema as pn, localeFilterQuery as pr, termResponseSchema as pt, searchEnableBody as q, contentPreviewUrlBody as qn, contextEntryCreateBody as qt, bylineFieldListResponseSchema as r, commentListQuery as rn, contentUpdateBody as rr, sectionSchema as rt, bylineCreateBody as s, createReactionBody as sn, apiErrorSchema as sr, createTermBody as st, bylineFieldCreateBody as t, commentBulkResponseSchema as tn, contentTranslationsResponseSchema as tr, createSectionBody as tt, bylineSummarySchema as u, collectionGetQuery as un, deleteResponseSchema as ur, taxonomyListResponseSchema as ut, notFoundPruneBody as v, fieldReorderBody as vn, createMenuBody as vt, redirectsListQuery as w, schemaExportQuery as wn, menuTranslationsSchema as wt, notFoundSummarySchema as x, orphanRegisterBody as xn, menuItemTypeEnum as xt, notFoundSummaryQuery as y, fieldResponseSchema as yn, createMenuItemBody as yt, userUpdateBody as z, mediaUploadUrlResponseSchema as zn, signupCompleteBody as zt };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { i as RESERVED_BYLINE_FIELD_SLUGS } from "./types-
|
|
2
|
-
import { n as isSiteContextType, t as SITE_CONTEXT_TYPES } from "./context-types-
|
|
3
|
-
import { Nn as roleLevel, kn as httpUrl } from "./redirects-
|
|
1
|
+
import { i as RESERVED_BYLINE_FIELD_SLUGS } from "./types-B7TDDFMG.mjs";
|
|
2
|
+
import { n as isSiteContextType, t as SITE_CONTEXT_TYPES } from "./context-types-eBuMDAg-.mjs";
|
|
3
|
+
import { Nn as roleLevel, kn as httpUrl } from "./redirects-E_B6hvuz.mjs";
|
|
4
4
|
import { z } from "zod";
|
|
5
5
|
|
|
6
6
|
//#region src/api/schemas/context.ts
|
|
@@ -130,6 +130,12 @@ const optionalStatus = z.enum([
|
|
|
130
130
|
"approved",
|
|
131
131
|
"rejected"
|
|
132
132
|
]).optional();
|
|
133
|
+
const reviewRequestCreateBody = z.object({
|
|
134
|
+
collection: z.string().min(1, "collection is required"),
|
|
135
|
+
id: z.string().min(1, "id is required"),
|
|
136
|
+
summary: z.string().trim().min(1).max(5e3).optional(),
|
|
137
|
+
riskReason: z.string().trim().min(1).max(5e3).optional()
|
|
138
|
+
}).meta({ id: "ReviewRequestCreateBody" });
|
|
133
139
|
const reviewRequestListQuery = z.object({
|
|
134
140
|
status: optionalStatus,
|
|
135
141
|
collection: z.string().optional(),
|
|
@@ -294,4 +300,4 @@ const bylineFieldUsageResponseSchema = z.object({
|
|
|
294
300
|
}).meta({ id: "BylineFieldUsageResponse" });
|
|
295
301
|
|
|
296
302
|
//#endregion
|
|
297
|
-
export {
|
|
303
|
+
export { siteBriefingQuery as A, signupCompleteBody as C, reviewRequestResolveBody as D, reviewRequestListQuery as E, contextEntryStaleQuery as F, contextEntrySupersedeBody as I, contextEntryDiffQuery as M, contextEntryListQuery as N, hitlRequestListQuery as O, contextEntryReviewBody as P, passkeyVerifyBody as S, reviewRequestCreateBody as T, magicLinkSendBody as _, bylineFieldUpdateBody as a, passkeyRegisterVerifyBody as b, wpMediaImportBody as c, wpPrepareBody as d, wpRewriteUrlsBody as f, inviteRegisterOptionsBody as g, inviteCreateBody as h, bylineFieldReorderBody as i, contextEntryCreateBody as j, hitlRequestResolveBody as k, wpPluginAnalyzeBody as l, inviteCompleteBody as m, bylineFieldDefinitionSchema as n, bylineFieldUsageResponseSchema as o, authMeActionBody as p, bylineFieldListResponseSchema as r, importProbeBody as s, bylineFieldCreateBody as t, wpPluginExecuteBody as u, passkeyOptionsBody as v, signupRequestBody as w, passkeyRenameBody as x, passkeyRegisterOptionsBody as y };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as validateIdentifier } from "./validate-VPnKoIzW.mjs";
|
|
2
|
-
import { t as withTransaction } from "./transaction-
|
|
3
|
-
import { i as RESERVED_BYLINE_FIELD_SLUGS, t as BYLINE_FIELD_TYPES } from "./types-
|
|
2
|
+
import { t as withTransaction } from "./transaction-0LEAAy8R.mjs";
|
|
3
|
+
import { i as RESERVED_BYLINE_FIELD_SLUGS, t as BYLINE_FIELD_TYPES } from "./types-B7TDDFMG.mjs";
|
|
4
4
|
import { sql } from "kysely";
|
|
5
5
|
import { ulid } from "ulidx";
|
|
6
6
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { a as __exportAll } from "./runner-
|
|
1
|
+
import { a as __exportAll } from "./runner-BfWbi9YY.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-Bshd_6wQ.mjs";
|
|
4
|
+
import { t as BylineRepository } from "./byline-BJa1MyKB.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-BfWbi9YY.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 { i as resolveLocaleChain } from "./resolve-
|
|
3
|
+
import { o as isMissingTableError, r as getDb } from "./loader-WHf22FwU.mjs";
|
|
4
|
+
import { t as BylineRepository } from "./byline-BJa1MyKB.mjs";
|
|
5
|
+
import { i as resolveLocaleChain } from "./resolve-B6BpqwAR.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-C_m8sn-S.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,5 +1,5 @@
|
|
|
1
|
-
import { a as __exportAll } from "./runner-
|
|
2
|
-
import { i as matchPattern, n as interpolateDestination, t as compilePattern } from "./patterns-
|
|
1
|
+
import { a as __exportAll } from "./runner-BfWbi9YY.mjs";
|
|
2
|
+
import { i as matchPattern, n as interpolateDestination, t as compilePattern } from "./patterns-CoqlXUvk.mjs";
|
|
3
3
|
|
|
4
4
|
//#region src/redirects/cache.ts
|
|
5
5
|
var cache_exports = /* @__PURE__ */ __exportAll({
|
package/dist/cli/index.d.mts
CHANGED
|
@@ -1 +1,29 @@
|
|
|
1
|
-
|
|
1
|
+
import * as citty from "citty";
|
|
2
|
+
|
|
3
|
+
//#region src/cli/index.d.ts
|
|
4
|
+
/**
|
|
5
|
+
* Dineway CLI
|
|
6
|
+
*
|
|
7
|
+
* Built with citty + clack (same stack as Nuxt CLI)
|
|
8
|
+
*
|
|
9
|
+
* Commands:
|
|
10
|
+
* - init: Bootstrap database from template config, or interactive setup
|
|
11
|
+
* - types: Generate TypeScript types from schema
|
|
12
|
+
* - dev: Run dev server with a local or remote database
|
|
13
|
+
* - seed: Apply a seed file to the database
|
|
14
|
+
* - export-seed: Export database schema and content as a seed file
|
|
15
|
+
* - secrets: Generate and inspect Dineway secrets
|
|
16
|
+
* - auth: Authentication utilities (secret generation)
|
|
17
|
+
* - login/logout/whoami: Session management
|
|
18
|
+
* - content: Create, read, update, delete content
|
|
19
|
+
* - schema: Manage collections and fields
|
|
20
|
+
* - media: Upload and manage media
|
|
21
|
+
* - search: Full-text search
|
|
22
|
+
* - taxonomy: Manage taxonomies and terms
|
|
23
|
+
* - menu: Manage navigation menus
|
|
24
|
+
* - deploy: Deploy a standard Dineway Node server through a provider CLI
|
|
25
|
+
* - plugin: Plugin management (init, bundle, validate, publish, login, logout)
|
|
26
|
+
*/
|
|
27
|
+
declare function createDinewayCliCommand(cwd?: string): Promise<citty.CommandDef<citty.ArgsDef>>;
|
|
28
|
+
//#endregion
|
|
29
|
+
export { createDinewayCliCommand };
|