dineway 0.1.15 → 0.1.17
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 +22 -0
- package/dist/{activity-events-B4wp7CrU.mjs → activity-events-DbqJBNaY.mjs} +1 -1
- package/dist/{allowed-origins-C1AKK9AT.mjs → allowed-origins-D85wzUp6.mjs} +1 -1
- package/dist/api/route-utils.d.mts +10 -10
- package/dist/api/route-utils.mjs +15 -15
- package/dist/api/schemas/index.d.mts +2 -2
- package/dist/api/schemas/index.mjs +4 -4
- package/dist/{api-DX6X_a82.mjs → api-CgxdfUg4.mjs} +96 -17
- package/dist/{api-tokens-D7UjLbdt.mjs → api-tokens-CMmUPFae.mjs} +1 -1
- package/dist/{apply-Bm5QgdrE.mjs → apply-CGVHi2r7.mjs} +165 -85
- package/dist/astro/index.d.mts +11 -11
- package/dist/astro/index.mjs +3 -3
- package/dist/astro/middleware/auth.d.mts +10 -10
- package/dist/astro/middleware/auth.mjs +5 -5
- package/dist/astro/middleware/redirect.mjs +6 -6
- package/dist/astro/middleware/request-context.mjs +4 -4
- package/dist/astro/middleware/setup.mjs +1 -1
- package/dist/astro/middleware.mjs +119 -77
- package/dist/astro/routes/api/admin/allowed-domains/_domain_.mjs +5 -5
- package/dist/astro/routes/api/admin/allowed-domains/index.mjs +5 -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 +19 -19
- package/dist/astro/routes/api/admin/bylines/_id_/index.mjs +12 -12
- package/dist/astro/routes/api/admin/bylines/index.mjs +12 -12
- package/dist/astro/routes/api/admin/comments/_id_/status.mjs +13 -13
- package/dist/astro/routes/api/admin/comments/_id_.mjs +6 -6
- package/dist/astro/routes/api/admin/comments/bulk.mjs +10 -10
- package/dist/astro/routes/api/admin/comments/counts.mjs +6 -6
- package/dist/astro/routes/api/admin/comments/index.mjs +10 -10
- package/dist/astro/routes/api/admin/context/_id_/history.mjs +26 -26
- package/dist/astro/routes/api/admin/context/_id_/index.mjs +26 -26
- package/dist/astro/routes/api/admin/context/_id_/review.mjs +30 -30
- package/dist/astro/routes/api/admin/context/_id_/supersede.mjs +30 -30
- package/dist/astro/routes/api/admin/context/diff.mjs +29 -29
- package/dist/astro/routes/api/admin/context/index.mjs +30 -30
- package/dist/astro/routes/api/admin/context/stale.mjs +29 -29
- package/dist/astro/routes/api/admin/hitl-requests/_id_/index.mjs +26 -26
- package/dist/astro/routes/api/admin/hitl-requests/_id_/resolve.mjs +29 -29
- package/dist/astro/routes/api/admin/hitl-requests/index.mjs +29 -29
- package/dist/astro/routes/api/admin/hooks/exclusive/_hookName_.mjs +27 -27
- package/dist/astro/routes/api/admin/hooks/exclusive/index.mjs +3 -3
- 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 +47 -47
- package/dist/astro/routes/api/admin/plugins/_id_/enable.mjs +47 -47
- package/dist/astro/routes/api/admin/plugins/_id_/index.mjs +40 -40
- package/dist/astro/routes/api/admin/plugins/_id_/uninstall.mjs +46 -46
- package/dist/astro/routes/api/admin/plugins/_id_/update.mjs +46 -46
- package/dist/astro/routes/api/admin/plugins/index.mjs +40 -40
- package/dist/astro/routes/api/admin/plugins/marketplace/_id_/icon.mjs +2 -2
- package/dist/astro/routes/api/admin/plugins/marketplace/_id_/index.mjs +40 -40
- package/dist/astro/routes/api/admin/plugins/marketplace/_id_/install.mjs +46 -46
- package/dist/astro/routes/api/admin/plugins/marketplace/index.mjs +40 -40
- package/dist/astro/routes/api/admin/plugins/updates.mjs +40 -40
- package/dist/astro/routes/api/admin/review-requests/_id_/index.mjs +6 -6
- package/dist/astro/routes/api/admin/review-requests/_id_/resolve.mjs +29 -29
- package/dist/astro/routes/api/admin/review-requests/index.mjs +10 -10
- package/dist/astro/routes/api/admin/themes/marketplace/_id_/index.mjs +40 -40
- package/dist/astro/routes/api/admin/themes/marketplace/_id_/thumbnail.mjs +2 -2
- package/dist/astro/routes/api/admin/themes/marketplace/index.mjs +40 -40
- 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 +6 -6
- package/dist/astro/routes/api/admin/users/_id_/send-recovery.mjs +3 -3
- package/dist/astro/routes/api/admin/users/index.mjs +5 -5
- package/dist/astro/routes/api/auth/dev-bypass.mjs +5 -5
- 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 +5 -5
- 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 +5 -5
- 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/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 +14 -14
- 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 +7 -7
- package/dist/astro/routes/api/content/_collection_/_id_/preview-url.mjs +12 -12
- package/dist/astro/routes/api/content/_collection_/_id_/publish.mjs +28 -28
- 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 +10 -10
- package/dist/astro/routes/api/content/_collection_/_id_/terms/_taxonomy_.mjs +13 -13
- 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 +10 -10
- package/dist/astro/routes/api/content/_collection_/index.mjs +10 -10
- package/dist/astro/routes/api/content/_collection_/trash.mjs +6 -6
- package/dist/astro/routes/api/dashboard.mjs +9 -9
- 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 +10 -10
- package/dist/astro/routes/api/import/wordpress/analyze.mjs +3 -3
- package/dist/astro/routes/api/import/wordpress/execute.mjs +29 -29
- package/dist/astro/routes/api/import/wordpress/media.mjs +7 -7
- package/dist/astro/routes/api/import/wordpress/prepare.mjs +33 -33
- package/dist/astro/routes/api/import/wordpress/rewrite-url-helpers.d.mts +48 -0
- package/dist/astro/routes/api/import/wordpress/rewrite-url-helpers.mjs +124 -0
- package/dist/astro/routes/api/import/wordpress/rewrite-urls.mjs +32 -145
- package/dist/astro/routes/api/import/wordpress-plugin/analyze.d.mts +1 -1
- package/dist/astro/routes/api/import/wordpress-plugin/analyze.mjs +10 -10
- package/dist/astro/routes/api/import/wordpress-plugin/callback.mjs +1 -1
- package/dist/astro/routes/api/import/wordpress-plugin/execute.d.mts +1 -1
- package/dist/astro/routes/api/import/wordpress-plugin/execute.mjs +33 -33
- package/dist/astro/routes/api/manifest.mjs +4 -4
- package/dist/astro/routes/api/mcp.mjs +277 -91
- package/dist/astro/routes/api/media/_id_/confirm.mjs +6 -6
- package/dist/astro/routes/api/media/_id_.mjs +6 -6
- 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 -13
- package/dist/astro/routes/api/media.mjs +18 -18
- package/dist/astro/routes/api/menus/_name_/items.mjs +45 -36
- package/dist/astro/routes/api/menus/_name_/reorder.mjs +34 -31
- package/dist/astro/routes/api/menus/_name_/translations.d.mts +8 -0
- package/dist/astro/routes/api/menus/_name_/translations.mjs +111 -0
- package/dist/astro/routes/api/menus/_name_.mjs +47 -36
- package/dist/astro/routes/api/menus/index.mjs +34 -32
- 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 +3 -3
- package/dist/astro/routes/api/plugins/_pluginId_/_...path_.mjs +3 -3
- package/dist/astro/routes/api/redirects/404s/index.mjs +12 -12
- package/dist/astro/routes/api/redirects/404s/summary.mjs +12 -12
- package/dist/astro/routes/api/redirects/_id_.mjs +31 -31
- package/dist/astro/routes/api/redirects/index.mjs +31 -31
- 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 +41 -41
- package/dist/astro/routes/api/schema/collections/_slug_/fields/index.mjs +41 -41
- package/dist/astro/routes/api/schema/collections/_slug_/fields/reorder.mjs +41 -41
- package/dist/astro/routes/api/schema/collections/_slug_/index.mjs +41 -41
- package/dist/astro/routes/api/schema/collections/index.mjs +41 -41
- package/dist/astro/routes/api/schema/index.mjs +6 -6
- package/dist/astro/routes/api/schema/orphans/_slug_.mjs +40 -40
- package/dist/astro/routes/api/schema/orphans/index.mjs +40 -40
- package/dist/astro/routes/api/search/enable.mjs +12 -12
- package/dist/astro/routes/api/search/index.mjs +11 -11
- package/dist/astro/routes/api/search/rebuild.mjs +12 -12
- package/dist/astro/routes/api/search/stats.mjs +8 -8
- package/dist/astro/routes/api/search/suggest.mjs +11 -11
- package/dist/astro/routes/api/sections/_slug_.mjs +30 -30
- package/dist/astro/routes/api/sections/index.mjs +30 -30
- package/dist/astro/routes/api/settings/email.mjs +4 -4
- package/dist/astro/routes/api/settings.mjs +30 -30
- 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 +2 -2
- package/dist/astro/routes/api/setup/index.mjs +26 -26
- package/dist/astro/routes/api/setup/status.mjs +3 -3
- package/dist/astro/routes/api/snapshot.mjs +7 -7
- package/dist/astro/routes/api/taxonomies/_name_/terms/_slug_/translations.d.mts +8 -0
- package/dist/astro/routes/api/taxonomies/_name_/terms/_slug_/translations.mjs +131 -0
- package/dist/astro/routes/api/taxonomies/_name_/terms/_slug_.mjs +49 -41
- package/dist/astro/routes/api/taxonomies/_name_/terms/index.mjs +36 -34
- package/dist/astro/routes/api/taxonomies/index.mjs +36 -34
- package/dist/astro/routes/api/themes/preview.mjs +6 -6
- package/dist/astro/routes/api/typegen.mjs +4 -4
- package/dist/astro/routes/api/well-known/auth.mjs +3 -3
- package/dist/astro/routes/api/well-known/oauth-authorization-server.mjs +3 -3
- package/dist/astro/routes/api/well-known/oauth-protected-resource.mjs +3 -3
- package/dist/astro/routes/api/widget-areas/_name_/reorder.mjs +29 -29
- package/dist/astro/routes/api/widget-areas/_name_/widgets/_id_.mjs +30 -30
- package/dist/astro/routes/api/widget-areas/_name_/widgets.mjs +30 -30
- package/dist/astro/routes/api/widget-areas/_name_.mjs +28 -28
- package/dist/astro/routes/api/widget-areas/index.mjs +30 -30
- package/dist/astro/routes/api/widget-components.mjs +2 -2
- package/dist/astro/routes/robots.txt.mjs +9 -9
- package/dist/astro/routes/sitemap-_collection_.xml.mjs +9 -9
- package/dist/astro/routes/sitemap.xml.mjs +10 -10
- package/dist/astro/types.d.mts +16 -14
- package/dist/auth/providers/github.d.mts +1 -1
- package/dist/auth/providers/google.d.mts +1 -1
- package/dist/{auth-control-guard-DOZ3UCsP.mjs → auth-control-guard--r6LlNkX.mjs} +1 -1
- package/dist/{authorize-BAdbMCwC.mjs → authorize-wQDmXQJ1.mjs} +1 -1
- package/dist/{briefing-MVYe_Uyf.mjs → briefing-4k6R0KAr.mjs} +7 -7
- package/dist/{briefing-rty4O-wa.mjs → briefing-DM7e2yd3.mjs} +1 -1
- package/dist/{byline-naZxOPSa.mjs → byline-BxAf79s1.mjs} +4 -4
- package/dist/{bylines-DCvz5gtm.d.mts → bylines--KurdDQK.d.mts} +84 -22
- package/dist/{bylines-C4LIBOOO.mjs → bylines-DhCnhR70.mjs} +3 -3
- package/dist/{cache-DEbQ13c9.mjs → cache-inQvbrP5.mjs} +1 -1
- package/dist/{chunks-D_jVet6z.mjs → chunks-vkrCT4Ta.mjs} +7 -1
- package/dist/cli/index.mjs +337 -102
- package/dist/client/external-auth-headers.d.mts +1 -1
- package/dist/client/index.d.mts +1 -1
- package/dist/client/index.mjs +1 -1
- package/dist/{comment-DFO-gWDH.mjs → comment-BmJXz3lc.mjs} +1 -1
- package/dist/{comments--BsZ9pqA.mjs → comments-BW1qFiTa.mjs} +1 -1
- package/dist/{content-CyLkb-qH.mjs → content-DvpMad_N.mjs} +4 -3
- package/dist/{context-DNfcm853.mjs → context-CGbVhAmd.mjs} +2 -2
- package/dist/{context-CNIkMzot.mjs → context-CT44ux1O.mjs} +10 -10
- package/dist/{context-route-helpers-MurhoxWF.mjs → context-route-helpers-CcvSXJtQ.mjs} +1 -1
- package/dist/{dashboard-DqnYU8EU.mjs → dashboard-6gH7SlPM.mjs} +9 -18
- package/dist/database/instrumentation.d.mts +1 -1
- package/dist/database/instrumentation.mjs +14 -4
- package/dist/db/index.d.mts +3 -3
- package/dist/db/index.mjs +2 -2
- 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-BGEH5jfn.mjs → device-flow-DaTBhALC.mjs} +5 -5
- package/dist/{dialect-helpers-DhTzaUxP.mjs → dialect-helpers-TkdbkFad.mjs} +7 -1
- package/dist/{fts-manager-B1pTNEG_.mjs → fts-manager-D7KVeBmg.mjs} +1 -1
- package/dist/{hitl-requests-ChT32Ilo.mjs → hitl-requests-CUnch_4e.mjs} +2 -2
- package/dist/{hitl-route-helpers-CSit54Ru.mjs → hitl-route-helpers-DcUCm57p.mjs} +4 -4
- package/dist/{import-BHRLhXAn.mjs → import-BVqG28WP.mjs} +3 -3
- package/dist/{import-CNcKWTbp.mjs → import-DE2ziezs.mjs} +2 -2
- package/dist/{index-CYfhYgXd.d.mts → index-DpMWSamU.d.mts} +2 -2
- package/dist/{index-EUAWaIxW.d.mts → index-JzJUzE4o.d.mts} +47 -47
- package/dist/index.d.mts +16 -16
- package/dist/index.mjs +65 -65
- package/dist/{jsonld-D2gUY4kA.d.mts → jsonld-BjsoTL5m.d.mts} +2 -2
- package/dist/{loader-PZnPxFLc.mjs → loader-CQFxFOt1.mjs} +2 -2
- package/dist/media/index.d.mts +2 -2
- package/dist/media/index.mjs +2 -2
- package/dist/media/local-runtime.d.mts +12 -12
- package/dist/media/local-runtime.mjs +3 -3
- package/dist/{media-_7Fxdu45.mjs → media-Cg4zc9fq.mjs} +12 -9
- package/dist/media-allowlist-eS3AZ2L_.mjs +26 -0
- package/dist/{menus-DYW_UHjv.mjs → menus-BDW1yIdj.mjs} +80 -87
- package/dist/menus-CwI7DQJ5.mjs +569 -0
- package/dist/mime-DJOFDGux.mjs +35 -0
- package/dist/{oauth-authorization-DxGjiWKL.mjs → oauth-authorization-DcYRiDfi.mjs} +5 -5
- package/dist/{oauth-clients-DxO_NO7k.mjs → oauth-clients-CgKFA-VH.mjs} +2 -2
- package/dist/page/index.d.mts +2 -2
- package/dist/page/index.mjs +1 -1
- package/dist/{parse-C9106ehs.mjs → parse-BBfZRZYb.mjs} +1 -1
- package/dist/{placeholder-Bh1dfUOd.d.mts → placeholder-DKMMLt42.d.mts} +1 -1
- package/dist/plugins/adapt-sandbox-entry.d.mts +10 -10
- package/dist/plugins/adapt-sandbox-entry.mjs +1 -1
- package/dist/{plugins-D7-ILNib.mjs → plugins-DKceDtUM.mjs} +9 -7
- package/dist/{preview-DvYRU-Oy.mjs → preview-CIDYFBzd.mjs} +2 -2
- package/dist/{provider-loader-BiQ6lNmf.d.mts → provider-loader-D0F6E2qv.d.mts} +1 -1
- package/dist/{query-CsbOywSY.mjs → query-BtuwuZRd.mjs} +3 -3
- package/dist/{query-B9BO5goQ.mjs → query-CWPxZjGM.mjs} +11 -11
- package/dist/{rate-limit-DmVTHI5v.mjs → rate-limit-GN64_Jaw.mjs} +5 -5
- package/dist/{redirect-CGl64yOX.mjs → redirect-BHo9--Jz.mjs} +3 -3
- package/dist/{redirects-Cgi_cZfN.mjs → redirects-Bc40BgxA.mjs} +4 -4
- package/dist/{redirects-lrlmYXVE.mjs → redirects-xVDvj_yQ.mjs} +68 -15
- package/dist/{registry-C-_hxLqa.mjs → registry-DumDzFDn.mjs} +5 -5
- package/dist/{request-cache-DHMRr2Lf.mjs → request-cache-DmVyQUBh.mjs} +5 -1
- package/dist/request-context.d.mts +19 -1
- package/dist/request-context.mjs +15 -3
- package/dist/{request-meta-DixlNKKa.mjs → request-meta-BVx9KkL-.mjs} +1 -1
- package/dist/{review-requests-C2DIHwlJ.mjs → review-requests-BYuoyse0.mjs} +1 -1
- package/dist/{review-requests-DIyjw-K_.mjs → review-requests-vCw7_3DS.mjs} +1 -1
- package/dist/{runner-BU6Lo1ZS.d.mts → runner-CHR_W79l.d.mts} +1 -1
- package/dist/{runner-DWZm2KQm.mjs → runner-lqEiJbO-.mjs} +496 -181
- package/dist/{runtime-QuuFSlc6.d.mts → runtime-B5hJAnKF.d.mts} +17 -16
- package/dist/runtime.d.mts +11 -11
- package/dist/runtime.mjs +5 -5
- package/dist/{schema-BECjUhP8.mjs → schema-D1z41cq_.mjs} +1 -1
- package/dist/{search-DqTHQqtV.mjs → search-CPcQGTHW.mjs} +2 -2
- package/dist/{secrets-CkoJ9zN0.mjs → secrets-AFKoqUXj.mjs} +2 -2
- package/dist/{sections-B61OxnfB.mjs → sections-B9RYyf3I.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-CUQctrog.mjs → seo-BPz1KkCq.mjs} +1 -1
- package/dist/{service-CyOsm0R6.mjs → service-DgiH1Yud.mjs} +2 -2
- package/dist/{settings-Dzgswvg4.mjs → settings-BGCo_c2y.mjs} +1 -1
- package/dist/{settings-DGtLLSaz.mjs → settings-qPzY2KIF.mjs} +4 -4
- package/dist/{setup-complete-ChilE-da.mjs → setup-complete-4EiBS1E5.mjs} +1 -1
- package/dist/{site-activity-B8FjLIVh.mjs → site-activity-lsCX_cqp.mjs} +1 -1
- package/dist/{site-context-WBxoD99D.mjs → site-context-DHRIU6x9.mjs} +58 -34
- package/dist/{site-url-BP7k7OCe.mjs → site-url-oyqzZtoL.mjs} +1 -1
- package/dist/storage/local.d.mts +1 -1
- package/dist/storage/local.mjs +1 -1
- package/dist/storage/s3.d.mts +1 -1
- package/dist/storage/s3.mjs +1 -1
- package/dist/taxonomies-BWmxbumf.mjs +350 -0
- package/dist/taxonomies-aQXvYVPm.mjs +507 -0
- package/dist/taxonomy-DI-0HgKe.mjs +217 -0
- package/dist/{tokens-BOJw-D9F.mjs → tokens-DB4dASZl.mjs} +1 -1
- package/dist/{types-DZPw8Rru.d.mts → types-CYBaBvtm.d.mts} +9 -0
- package/dist/{types-C0mmVRJN.d.mts → types-CsnHvu4J.d.mts} +1 -0
- package/dist/{types-Bs6lTBBW.mjs → types-D1DjBFA9.mjs} +8 -2
- package/dist/{types-Q616b2Hn.d.mts → types-DS5PYew4.d.mts} +1 -1
- package/dist/ui/server-runtime.d.mts +7 -7
- package/dist/ui/server-runtime.mjs +19 -19
- package/dist/{user-CcXq-zoL.mjs → user-2aI21yV1.mjs} +1 -1
- package/dist/{utils-C0ONdBul.mjs → utils-BJF19gfk.mjs} +1 -1
- package/dist/{validate-C7TzfamJ.mjs → validate-B8ZvLeOE.mjs} +12 -8
- package/dist/{validate-BwmQEbu8.d.mts → validate-BQ24E8rK.d.mts} +21 -4
- package/dist/version-CjsyxeBD.mjs +6 -0
- package/dist/{widgets-B7DRpZvy.mjs → widgets-Cce2-2fM.mjs} +2 -2
- package/dist/{wordpress-slugs-CnporCYH.mjs → wordpress-slugs-C4EhE6fo.mjs} +1 -1
- package/dist/{zod-generator-DBVP8D0P.mjs → zod-generator-BKhtHT3e.mjs} +3 -3
- package/package.json +5 -5
- package/dist/menus-DS3_5nWY.mjs +0 -312
- package/dist/taxonomies-D2aZGuns.mjs +0 -270
- package/dist/taxonomies-z6Lz91BC.mjs +0 -355
- package/dist/taxonomy-D5cbhc8u.mjs +0 -165
- package/dist/version-DzWaHle7.mjs +0 -6
- /package/dist/{adapters-DuLQZhRY.d.mts → adapters-BPzUiHHm.d.mts} +0 -0
- /package/dist/{api-tokens-CPjC3zf8.mjs → api-tokens-B7fvbHM2.mjs} +0 -0
- /package/dist/{base64-Cz-aU0X1.mjs → base64-C1Q9yr0B.mjs} +0 -0
- /package/dist/{challenge-store-DDTbisbf.mjs → challenge-store-anhwVER0.mjs} +0 -0
- /package/dist/{components-BPknylYg.mjs → components-BQiBW_Ji.mjs} +0 -0
- /package/dist/{config-CAMFxGaV.mjs → config-XW5tMrH8.mjs} +0 -0
- /package/dist/{context-types-C-LwdAxx.mjs → context-types-DuiyY6xF.mjs} +0 -0
- /package/dist/{cron-CKxvBrRT.mjs → cron-fV9baRVc.mjs} +0 -0
- /package/dist/{db-errors-DyZkswzF.mjs → db-errors-BnUbfGsK.mjs} +0 -0
- /package/dist/{default-D4ngTpW8.mjs → default-2JDm1rj_.mjs} +0 -0
- /package/dist/{email-console-CuefUXfX.mjs → email-console-_pTim1bU.mjs} +0 -0
- /package/dist/{entity-aliases-C0v-yNET.mjs → entity-aliases-PJV8IxDq.mjs} +0 -0
- /package/dist/{error-BMUPwxgx.mjs → error-Dyf9fGZE.mjs} +0 -0
- /package/dist/{escape-BRVaw1Ai.mjs → escape-Bn168-uP.mjs} +0 -0
- /package/dist/{experimental-workflows-C9X7yblQ.mjs → experimental-workflows-CSRjuEwS.mjs} +0 -0
- /package/dist/{hash-CDX7M0ze.mjs → hash-V8oZo1W2.mjs} +0 -0
- /package/dist/{load-B2XtDw__.mjs → load-BvyvS_76.mjs} +0 -0
- /package/dist/{manifest-schema-CgFJAp0H.mjs → manifest-schema-CU0XL_ZK.mjs} +0 -0
- /package/dist/{mode-DUhxwUhv.mjs → mode-DWw2di1I.mjs} +0 -0
- /package/dist/{normalize-C49G_o1k.mjs → normalize-9GU-bv_T.mjs} +0 -0
- /package/dist/{oauth-state-store-C5UFhzwD.mjs → oauth-state-store-DhifLitQ.mjs} +0 -0
- /package/dist/{oauth-user-lookup-Bi0ek9eM.mjs → oauth-user-lookup-nyXQ2_6Q.mjs} +0 -0
- /package/dist/{options-z8VVg1Ll.mjs → options-BF11H_FD.mjs} +0 -0
- /package/dist/{passkey-config-BRSZx4pW.mjs → passkey-config-DZOjt0Hd.mjs} +0 -0
- /package/dist/{patterns-K0DLqWir.mjs → patterns-CW4n2PQs.mjs} +0 -0
- /package/dist/{placeholder-C2P5fKa4.mjs → placeholder-BJPmhjHP.mjs} +0 -0
- /package/dist/{provider-loader-C21b9OpH.mjs → provider-loader-Decn0Ktc.mjs} +0 -0
- /package/dist/{public-url-Cun8N3NU.mjs → public-url-5fFLJhjh.mjs} +0 -0
- /package/dist/{redirect-COZy-3iY.mjs → redirect-C077gVTf.mjs} +0 -0
- /package/dist/{seo-C007Luwn.mjs → seo-DJoop90w.mjs} +0 -0
- /package/dist/{seo-contributions-B1fWCnqY.mjs → seo-contributions-CQzUjJKY.mjs} +0 -0
- /package/dist/{setup-nonce-BpmLXAuu.mjs → setup-nonce-DN6BHIlP.mjs} +0 -0
- /package/dist/{sidecar-client-B1C6Cf80.mjs → sidecar-client-Dta0AELf.mjs} +0 -0
- /package/dist/{slugify-PDTDtMXp.mjs → slugify-BzGxlOFx.mjs} +0 -0
- /package/dist/{ssrf-DDwRxF6B.mjs → ssrf-BOSGjXxb.mjs} +0 -0
- /package/dist/{transaction-x2tJQ-A1.mjs → transaction-qfqpPVpu.mjs} +0 -0
- /package/dist/{transport-D3i4yWRE.mjs → transport-B3jxvfio.mjs} +0 -0
- /package/dist/{transport-BXe1AM79.d.mts → transport-CyOHECBA.d.mts} +0 -0
- /package/dist/{trusted-proxy-BbaZfkT9.mjs → trusted-proxy-8N8sX1D1.mjs} +0 -0
- /package/dist/{types-DJlpx5Ay.d.mts → types-6N-00csp.d.mts} +0 -0
- /package/dist/{types-BFmjniC2.d.mts → types-B45uSz1j.d.mts} +0 -0
- /package/dist/{types-B7kpsMJ3.d.mts → types-BDm7Ipoq.d.mts} +0 -0
- /package/dist/{types-0Vr68fc2.d.mts → types-BeYn-Yf0.d.mts} +0 -0
- /package/dist/{types-OPs5Q_sX.d.mts → types-D_wGrwiY.d.mts} +0 -0
- /package/dist/{types-DL7Y8D_t.mjs → types-Dz2EKzsX.mjs} +0 -0
- /package/dist/{types-fAInWQDO.mjs → types-iNqHe2-V.mjs} +0 -0
- /package/dist/{url-DNjT2abR.mjs → url-DOS4RGym.mjs} +0 -0
package/dist/astro/types.d.mts
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { r as ContentItem } from "../types-
|
|
2
|
-
import { Kn as MediaItem, en as SandboxRunner, mn as MediaResponse, nt as HookPipeline, or as ContentListResponse, pn as MediaListResponse, sr as ContentResponse, t as DinewayConfig, tt as EmailPipeline } from "../runtime-
|
|
3
|
-
import { t as Database } from "../types-
|
|
4
|
-
import { A as PageMetadataContribution, D as PageFragmentContribution, X as ResolvedPlugin, ct as Element, q as PublicPageContext } from "../types-
|
|
5
|
-
import "../types-
|
|
6
|
-
import { l as MediaProvider, u as MediaProviderCapabilities } from "../types-
|
|
7
|
-
import "../runner-
|
|
8
|
-
import "../index-
|
|
9
|
-
import "../index-
|
|
10
|
-
import { d as Storage } from "../types-
|
|
11
|
-
import "../bylines
|
|
12
|
-
import "../types-
|
|
13
|
-
import "../validate-
|
|
1
|
+
import { r as ContentItem } from "../types-6N-00csp.mjs";
|
|
2
|
+
import { Kn as MediaItem, en as SandboxRunner, mn as MediaResponse, nt as HookPipeline, or as ContentListResponse, pn as MediaListResponse, sr as ContentResponse, t as DinewayConfig, tt as EmailPipeline } from "../runtime-B5hJAnKF.mjs";
|
|
3
|
+
import { t as Database } from "../types-CYBaBvtm.mjs";
|
|
4
|
+
import { A as PageMetadataContribution, D as PageFragmentContribution, X as ResolvedPlugin, ct as Element, q as PublicPageContext } from "../types-DS5PYew4.mjs";
|
|
5
|
+
import "../types-B45uSz1j.mjs";
|
|
6
|
+
import { l as MediaProvider, u as MediaProviderCapabilities } from "../types-D_wGrwiY.mjs";
|
|
7
|
+
import "../runner-CHR_W79l.mjs";
|
|
8
|
+
import "../index-JzJUzE4o.mjs";
|
|
9
|
+
import "../index-DpMWSamU.mjs";
|
|
10
|
+
import { d as Storage } from "../types-BDm7Ipoq.mjs";
|
|
11
|
+
import "../bylines--KurdDQK.mjs";
|
|
12
|
+
import "../types-BeYn-Yf0.mjs";
|
|
13
|
+
import "../validate-BQ24E8rK.mjs";
|
|
14
14
|
import "../index.mjs";
|
|
15
15
|
import { Kysely } from "kysely";
|
|
16
16
|
|
|
@@ -26,9 +26,11 @@ interface ManifestCollection {
|
|
|
26
26
|
urlPattern?: string;
|
|
27
27
|
fields: Record<string, {
|
|
28
28
|
kind: string;
|
|
29
|
+
id?: string;
|
|
29
30
|
label?: string;
|
|
30
31
|
required?: boolean;
|
|
31
|
-
widget?: string;
|
|
32
|
+
widget?: string; /** Validation config for the field, such as allowedMimeTypes or repeater subFields. */
|
|
33
|
+
validation?: Record<string, unknown>;
|
|
32
34
|
/**
|
|
33
35
|
* Field options. Two shapes:
|
|
34
36
|
* - Legacy enum: `Array<{ value, label }>` for select / multiSelect widgets
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { n as decodeCursor, r as encodeCursor } from "./types-
|
|
2
|
-
import { t as SiteActivityRepository } from "./site-activity-
|
|
3
|
-
import { t as ReviewRequestRepository } from "./review-requests-
|
|
4
|
-
import { t as withTransaction } from "./transaction-
|
|
5
|
-
import { n as isSiteContextType, t as SITE_CONTEXT_TYPES } from "./context-types-
|
|
6
|
-
import { n as SchemaRegistry } from "./registry-
|
|
7
|
-
import { a as getSiteSettingsWithDb } from "./settings-
|
|
1
|
+
import { n as decodeCursor, r as encodeCursor } from "./types-D1DjBFA9.mjs";
|
|
2
|
+
import { t as SiteActivityRepository } from "./site-activity-lsCX_cqp.mjs";
|
|
3
|
+
import { t as ReviewRequestRepository } from "./review-requests-BYuoyse0.mjs";
|
|
4
|
+
import { t as withTransaction } from "./transaction-qfqpPVpu.mjs";
|
|
5
|
+
import { n as isSiteContextType, t as SITE_CONTEXT_TYPES } from "./context-types-DuiyY6xF.mjs";
|
|
6
|
+
import { n as SchemaRegistry } from "./registry-DumDzFDn.mjs";
|
|
7
|
+
import { a as getSiteSettingsWithDb } from "./settings-qPzY2KIF.mjs";
|
|
8
8
|
import { sql } from "kysely";
|
|
9
9
|
import { ulid } from "ulidx";
|
|
10
10
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { t as validateIdentifier } from "./validate-VPnKoIzW.mjs";
|
|
2
|
-
import {
|
|
3
|
-
import { n as decodeCursor, r as encodeCursor } from "./types-
|
|
4
|
-
import {
|
|
5
|
-
import { t as
|
|
2
|
+
import { c as listTablesLike } from "./dialect-helpers-TkdbkFad.mjs";
|
|
3
|
+
import { n as decodeCursor, r as encodeCursor } from "./types-D1DjBFA9.mjs";
|
|
4
|
+
import { t as withTransaction } from "./transaction-qfqpPVpu.mjs";
|
|
5
|
+
import { n as chunks, t as SQL_BATCH_SIZE } from "./chunks-vkrCT4Ta.mjs";
|
|
6
6
|
import { sql } from "kysely";
|
|
7
7
|
import { ulid } from "ulidx";
|
|
8
8
|
|
|
@@ -21,6 +21,10 @@ declare const slugPattern: RegExp;
|
|
|
21
21
|
declare const httpUrl: z.ZodString;
|
|
22
22
|
/** BCP 47 locale code — language with optional script/region subtags (e.g. en, en-US, pt-BR, es-419, zh-Hant) */
|
|
23
23
|
declare const localeCode: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
|
|
24
|
+
/** Shared `?locale=xx` query shape for endpoints that filter by locale. */
|
|
25
|
+
declare const localeFilterQuery: z.ZodObject<{
|
|
26
|
+
locale: z.ZodOptional<z.ZodString>;
|
|
27
|
+
}, z.core.$strip>;
|
|
24
28
|
/** Standard API error response */
|
|
25
29
|
declare const apiErrorSchema: z.ZodObject<{
|
|
26
30
|
error: z.ZodObject<{
|
|
@@ -371,7 +375,7 @@ declare const contentTranslationsResponseSchema: z.ZodObject<{
|
|
|
371
375
|
declare const mediaListQuery: z.ZodObject<{
|
|
372
376
|
cursor: z.ZodOptional<z.ZodString>;
|
|
373
377
|
limit: z.ZodDefault<z.ZodOptional<z.ZodCoercedNumber<unknown>>>;
|
|
374
|
-
mimeType: z.ZodOptional<z.ZodString
|
|
378
|
+
mimeType: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>, z.ZodTransform<string[], string | string[]>>>;
|
|
375
379
|
}, z.core.$strip>;
|
|
376
380
|
declare const mediaUpdateBody: z.ZodObject<{
|
|
377
381
|
alt: z.ZodOptional<z.ZodString>;
|
|
@@ -387,6 +391,7 @@ declare function mediaUploadUrlBody(maxSize: number): z.ZodObject<{
|
|
|
387
391
|
contentType: z.ZodString;
|
|
388
392
|
size: z.ZodNumber;
|
|
389
393
|
contentHash: z.ZodOptional<z.ZodString>;
|
|
394
|
+
fieldId: z.ZodOptional<z.ZodString>;
|
|
390
395
|
}, z.core.$strip>;
|
|
391
396
|
declare const mediaConfirmBody: z.ZodObject<{
|
|
392
397
|
size: z.ZodOptional<z.ZodNumber>;
|
|
@@ -397,7 +402,7 @@ declare const mediaProviderListQuery: z.ZodObject<{
|
|
|
397
402
|
cursor: z.ZodOptional<z.ZodString>;
|
|
398
403
|
limit: z.ZodDefault<z.ZodOptional<z.ZodCoercedNumber<unknown>>>;
|
|
399
404
|
query: z.ZodOptional<z.ZodString>;
|
|
400
|
-
mimeType: z.ZodOptional<z.ZodString
|
|
405
|
+
mimeType: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>, z.ZodTransform<string[], string | string[]>>>;
|
|
401
406
|
}, z.core.$strip>;
|
|
402
407
|
declare const mediaItemSchema: z.ZodObject<{
|
|
403
408
|
id: z.ZodString;
|
|
@@ -555,15 +560,15 @@ declare const createFieldBody: z.ZodObject<{
|
|
|
555
560
|
number: "number";
|
|
556
561
|
boolean: "boolean";
|
|
557
562
|
file: "file";
|
|
558
|
-
url: "url";
|
|
559
|
-
image: "image";
|
|
560
563
|
slug: "slug";
|
|
561
|
-
datetime: "datetime";
|
|
562
564
|
text: "text";
|
|
565
|
+
url: "url";
|
|
563
566
|
integer: "integer";
|
|
567
|
+
datetime: "datetime";
|
|
564
568
|
select: "select";
|
|
565
569
|
multiSelect: "multiSelect";
|
|
566
570
|
portableText: "portableText";
|
|
571
|
+
image: "image";
|
|
567
572
|
reference: "reference";
|
|
568
573
|
json: "json";
|
|
569
574
|
repeater: "repeater";
|
|
@@ -585,10 +590,10 @@ declare const createFieldBody: z.ZodObject<{
|
|
|
585
590
|
string: "string";
|
|
586
591
|
number: "number";
|
|
587
592
|
boolean: "boolean";
|
|
588
|
-
url: "url";
|
|
589
|
-
datetime: "datetime";
|
|
590
593
|
text: "text";
|
|
594
|
+
url: "url";
|
|
591
595
|
integer: "integer";
|
|
596
|
+
datetime: "datetime";
|
|
592
597
|
select: "select";
|
|
593
598
|
}>;
|
|
594
599
|
label: z.ZodString;
|
|
@@ -597,6 +602,7 @@ declare const createFieldBody: z.ZodObject<{
|
|
|
597
602
|
}, z.core.$strip>>>;
|
|
598
603
|
minItems: z.ZodOptional<z.ZodNumber>;
|
|
599
604
|
maxItems: z.ZodOptional<z.ZodNumber>;
|
|
605
|
+
allowedMimeTypes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
600
606
|
}, z.core.$strip>>;
|
|
601
607
|
widget: z.ZodOptional<z.ZodString>;
|
|
602
608
|
options: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
@@ -623,10 +629,10 @@ declare const updateFieldBody: z.ZodObject<{
|
|
|
623
629
|
string: "string";
|
|
624
630
|
number: "number";
|
|
625
631
|
boolean: "boolean";
|
|
626
|
-
url: "url";
|
|
627
|
-
datetime: "datetime";
|
|
628
632
|
text: "text";
|
|
633
|
+
url: "url";
|
|
629
634
|
integer: "integer";
|
|
635
|
+
datetime: "datetime";
|
|
630
636
|
select: "select";
|
|
631
637
|
}>;
|
|
632
638
|
label: z.ZodString;
|
|
@@ -635,6 +641,7 @@ declare const updateFieldBody: z.ZodObject<{
|
|
|
635
641
|
}, z.core.$strip>>>;
|
|
636
642
|
minItems: z.ZodOptional<z.ZodNumber>;
|
|
637
643
|
maxItems: z.ZodOptional<z.ZodNumber>;
|
|
644
|
+
allowedMimeTypes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
638
645
|
}, z.core.$strip>>;
|
|
639
646
|
widget: z.ZodOptional<z.ZodString>;
|
|
640
647
|
options: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
@@ -680,15 +687,15 @@ declare const fieldSchema: z.ZodObject<{
|
|
|
680
687
|
number: "number";
|
|
681
688
|
boolean: "boolean";
|
|
682
689
|
file: "file";
|
|
683
|
-
url: "url";
|
|
684
|
-
image: "image";
|
|
685
690
|
slug: "slug";
|
|
686
|
-
datetime: "datetime";
|
|
687
691
|
text: "text";
|
|
692
|
+
url: "url";
|
|
688
693
|
integer: "integer";
|
|
694
|
+
datetime: "datetime";
|
|
689
695
|
select: "select";
|
|
690
696
|
multiSelect: "multiSelect";
|
|
691
697
|
portableText: "portableText";
|
|
698
|
+
image: "image";
|
|
692
699
|
reference: "reference";
|
|
693
700
|
json: "json";
|
|
694
701
|
repeater: "repeater";
|
|
@@ -745,15 +752,15 @@ declare const collectionWithFieldsResponseSchema: z.ZodObject<{
|
|
|
745
752
|
number: "number";
|
|
746
753
|
boolean: "boolean";
|
|
747
754
|
file: "file";
|
|
748
|
-
url: "url";
|
|
749
|
-
image: "image";
|
|
750
755
|
slug: "slug";
|
|
751
|
-
datetime: "datetime";
|
|
752
756
|
text: "text";
|
|
757
|
+
url: "url";
|
|
753
758
|
integer: "integer";
|
|
759
|
+
datetime: "datetime";
|
|
754
760
|
select: "select";
|
|
755
761
|
multiSelect: "multiSelect";
|
|
756
762
|
portableText: "portableText";
|
|
763
|
+
image: "image";
|
|
757
764
|
reference: "reference";
|
|
758
765
|
json: "json";
|
|
759
766
|
repeater: "repeater";
|
|
@@ -799,15 +806,15 @@ declare const fieldResponseSchema: z.ZodObject<{
|
|
|
799
806
|
number: "number";
|
|
800
807
|
boolean: "boolean";
|
|
801
808
|
file: "file";
|
|
802
|
-
url: "url";
|
|
803
|
-
image: "image";
|
|
804
809
|
slug: "slug";
|
|
805
|
-
datetime: "datetime";
|
|
806
810
|
text: "text";
|
|
811
|
+
url: "url";
|
|
807
812
|
integer: "integer";
|
|
813
|
+
datetime: "datetime";
|
|
808
814
|
select: "select";
|
|
809
815
|
multiSelect: "multiSelect";
|
|
810
816
|
portableText: "portableText";
|
|
817
|
+
image: "image";
|
|
811
818
|
reference: "reference";
|
|
812
819
|
json: "json";
|
|
813
820
|
repeater: "repeater";
|
|
@@ -836,15 +843,15 @@ declare const fieldListResponseSchema: z.ZodObject<{
|
|
|
836
843
|
number: "number";
|
|
837
844
|
boolean: "boolean";
|
|
838
845
|
file: "file";
|
|
839
|
-
url: "url";
|
|
840
|
-
image: "image";
|
|
841
846
|
slug: "slug";
|
|
842
|
-
datetime: "datetime";
|
|
843
847
|
text: "text";
|
|
848
|
+
url: "url";
|
|
844
849
|
integer: "integer";
|
|
850
|
+
datetime: "datetime";
|
|
845
851
|
select: "select";
|
|
846
852
|
multiSelect: "multiSelect";
|
|
847
853
|
portableText: "portableText";
|
|
854
|
+
image: "image";
|
|
848
855
|
reference: "reference";
|
|
849
856
|
json: "json";
|
|
850
857
|
repeater: "repeater";
|
|
@@ -1277,6 +1284,8 @@ declare const authMeActionBody: z.ZodObject<{
|
|
|
1277
1284
|
declare const createMenuBody: z.ZodObject<{
|
|
1278
1285
|
name: z.ZodString;
|
|
1279
1286
|
label: z.ZodString;
|
|
1287
|
+
locale: z.ZodOptional<z.ZodString>;
|
|
1288
|
+
translationOf: z.ZodOptional<z.ZodString>;
|
|
1280
1289
|
}, z.core.$strip>;
|
|
1281
1290
|
declare const updateMenuBody: z.ZodObject<{
|
|
1282
1291
|
label: z.ZodOptional<z.ZodString>;
|
|
@@ -1321,6 +1330,8 @@ declare const menuSchema: z.ZodObject<{
|
|
|
1321
1330
|
label: z.ZodString;
|
|
1322
1331
|
created_at: z.ZodString;
|
|
1323
1332
|
updated_at: z.ZodString;
|
|
1333
|
+
locale: z.ZodString;
|
|
1334
|
+
translation_group: z.ZodNullable<z.ZodString>;
|
|
1324
1335
|
}, z.core.$strip>;
|
|
1325
1336
|
declare const menuItemSchema: z.ZodObject<{
|
|
1326
1337
|
id: z.ZodString;
|
|
@@ -1336,6 +1347,18 @@ declare const menuItemSchema: z.ZodObject<{
|
|
|
1336
1347
|
target: z.ZodNullable<z.ZodString>;
|
|
1337
1348
|
css_classes: z.ZodNullable<z.ZodString>;
|
|
1338
1349
|
created_at: z.ZodString;
|
|
1350
|
+
locale: z.ZodString;
|
|
1351
|
+
translation_group: z.ZodNullable<z.ZodString>;
|
|
1352
|
+
}, z.core.$strip>;
|
|
1353
|
+
declare const menuTranslationsSchema: z.ZodObject<{
|
|
1354
|
+
translationGroup: z.ZodNullable<z.ZodString>;
|
|
1355
|
+
translations: z.ZodArray<z.ZodObject<{
|
|
1356
|
+
id: z.ZodString;
|
|
1357
|
+
name: z.ZodString;
|
|
1358
|
+
label: z.ZodString;
|
|
1359
|
+
locale: z.ZodString;
|
|
1360
|
+
updatedAt: z.ZodString;
|
|
1361
|
+
}, z.core.$strip>>;
|
|
1339
1362
|
}, z.core.$strip>;
|
|
1340
1363
|
declare const menuListItemSchema: z.ZodObject<{
|
|
1341
1364
|
id: z.ZodString;
|
|
@@ -1343,6 +1366,8 @@ declare const menuListItemSchema: z.ZodObject<{
|
|
|
1343
1366
|
label: z.ZodString;
|
|
1344
1367
|
created_at: z.ZodString;
|
|
1345
1368
|
updated_at: z.ZodString;
|
|
1369
|
+
locale: z.ZodString;
|
|
1370
|
+
translation_group: z.ZodNullable<z.ZodString>;
|
|
1346
1371
|
itemCount: z.ZodNumber;
|
|
1347
1372
|
}, z.core.$strip>;
|
|
1348
1373
|
declare const menuWithItemsSchema: z.ZodObject<{
|
|
@@ -1351,6 +1376,8 @@ declare const menuWithItemsSchema: z.ZodObject<{
|
|
|
1351
1376
|
label: z.ZodString;
|
|
1352
1377
|
created_at: z.ZodString;
|
|
1353
1378
|
updated_at: z.ZodString;
|
|
1379
|
+
locale: z.ZodString;
|
|
1380
|
+
translation_group: z.ZodNullable<z.ZodString>;
|
|
1354
1381
|
items: z.ZodArray<z.ZodObject<{
|
|
1355
1382
|
id: z.ZodString;
|
|
1356
1383
|
menu_id: z.ZodString;
|
|
@@ -1365,6 +1392,8 @@ declare const menuWithItemsSchema: z.ZodObject<{
|
|
|
1365
1392
|
target: z.ZodNullable<z.ZodString>;
|
|
1366
1393
|
css_classes: z.ZodNullable<z.ZodString>;
|
|
1367
1394
|
created_at: z.ZodString;
|
|
1395
|
+
locale: z.ZodString;
|
|
1396
|
+
translation_group: z.ZodNullable<z.ZodString>;
|
|
1368
1397
|
}, z.core.$strip>>;
|
|
1369
1398
|
}, z.core.$strip>;
|
|
1370
1399
|
//#endregion
|
|
@@ -1372,14 +1401,19 @@ declare const menuWithItemsSchema: z.ZodObject<{
|
|
|
1372
1401
|
declare const createTaxonomyDefBody: z.ZodObject<{
|
|
1373
1402
|
name: z.ZodString;
|
|
1374
1403
|
label: z.ZodString;
|
|
1404
|
+
labelSingular: z.ZodOptional<z.ZodString>;
|
|
1375
1405
|
hierarchical: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
1376
1406
|
collections: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
1407
|
+
locale: z.ZodOptional<z.ZodString>;
|
|
1408
|
+
translationOf: z.ZodOptional<z.ZodString>;
|
|
1377
1409
|
}, z.core.$strip>;
|
|
1378
1410
|
declare const createTermBody: z.ZodObject<{
|
|
1379
1411
|
slug: z.ZodString;
|
|
1380
1412
|
label: z.ZodString;
|
|
1381
1413
|
parentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1382
1414
|
description: z.ZodOptional<z.ZodString>;
|
|
1415
|
+
locale: z.ZodOptional<z.ZodString>;
|
|
1416
|
+
translationOf: z.ZodOptional<z.ZodString>;
|
|
1383
1417
|
}, z.core.$strip>;
|
|
1384
1418
|
declare const updateTermBody: z.ZodObject<{
|
|
1385
1419
|
slug: z.ZodOptional<z.ZodString>;
|
|
@@ -1394,6 +1428,17 @@ declare const taxonomyDefSchema: z.ZodObject<{
|
|
|
1394
1428
|
labelSingular: z.ZodOptional<z.ZodString>;
|
|
1395
1429
|
hierarchical: z.ZodBoolean;
|
|
1396
1430
|
collections: z.ZodArray<z.ZodString>;
|
|
1431
|
+
locale: z.ZodString;
|
|
1432
|
+
translationGroup: z.ZodNullable<z.ZodString>;
|
|
1433
|
+
}, z.core.$strip>;
|
|
1434
|
+
declare const taxonomyDefTranslationsSchema: z.ZodObject<{
|
|
1435
|
+
translationGroup: z.ZodNullable<z.ZodString>;
|
|
1436
|
+
translations: z.ZodArray<z.ZodObject<{
|
|
1437
|
+
id: z.ZodString;
|
|
1438
|
+
name: z.ZodString;
|
|
1439
|
+
label: z.ZodString;
|
|
1440
|
+
locale: z.ZodString;
|
|
1441
|
+
}, z.core.$strip>>;
|
|
1397
1442
|
}, z.core.$strip>;
|
|
1398
1443
|
declare const taxonomyListResponseSchema: z.ZodObject<{
|
|
1399
1444
|
taxonomies: z.ZodArray<z.ZodObject<{
|
|
@@ -1403,6 +1448,8 @@ declare const taxonomyListResponseSchema: z.ZodObject<{
|
|
|
1403
1448
|
labelSingular: z.ZodOptional<z.ZodString>;
|
|
1404
1449
|
hierarchical: z.ZodBoolean;
|
|
1405
1450
|
collections: z.ZodArray<z.ZodString>;
|
|
1451
|
+
locale: z.ZodString;
|
|
1452
|
+
translationGroup: z.ZodNullable<z.ZodString>;
|
|
1406
1453
|
}, z.core.$strip>>;
|
|
1407
1454
|
}, z.core.$strip>;
|
|
1408
1455
|
declare const termSchema: z.ZodObject<{
|
|
@@ -1412,6 +1459,17 @@ declare const termSchema: z.ZodObject<{
|
|
|
1412
1459
|
label: z.ZodString;
|
|
1413
1460
|
parentId: z.ZodNullable<z.ZodString>;
|
|
1414
1461
|
description: z.ZodOptional<z.ZodString>;
|
|
1462
|
+
locale: z.ZodString;
|
|
1463
|
+
translationGroup: z.ZodNullable<z.ZodString>;
|
|
1464
|
+
}, z.core.$strip>;
|
|
1465
|
+
declare const termTranslationsSchema: z.ZodObject<{
|
|
1466
|
+
translationGroup: z.ZodNullable<z.ZodString>;
|
|
1467
|
+
translations: z.ZodArray<z.ZodObject<{
|
|
1468
|
+
id: z.ZodString;
|
|
1469
|
+
slug: z.ZodString;
|
|
1470
|
+
label: z.ZodString;
|
|
1471
|
+
locale: z.ZodString;
|
|
1472
|
+
}, z.core.$strip>>;
|
|
1415
1473
|
}, z.core.$strip>;
|
|
1416
1474
|
declare const termWithCountSchema: z.ZodType;
|
|
1417
1475
|
declare const termListResponseSchema: z.ZodObject<{
|
|
@@ -1425,6 +1483,8 @@ declare const termResponseSchema: z.ZodObject<{
|
|
|
1425
1483
|
label: z.ZodString;
|
|
1426
1484
|
parentId: z.ZodNullable<z.ZodString>;
|
|
1427
1485
|
description: z.ZodOptional<z.ZodString>;
|
|
1486
|
+
locale: z.ZodString;
|
|
1487
|
+
translationGroup: z.ZodNullable<z.ZodString>;
|
|
1428
1488
|
}, z.core.$strip>;
|
|
1429
1489
|
}, z.core.$strip>;
|
|
1430
1490
|
declare const termGetResponseSchema: z.ZodObject<{
|
|
@@ -1435,6 +1495,8 @@ declare const termGetResponseSchema: z.ZodObject<{
|
|
|
1435
1495
|
label: z.ZodString;
|
|
1436
1496
|
parentId: z.ZodNullable<z.ZodString>;
|
|
1437
1497
|
description: z.ZodOptional<z.ZodString>;
|
|
1498
|
+
locale: z.ZodString;
|
|
1499
|
+
translationGroup: z.ZodNullable<z.ZodString>;
|
|
1438
1500
|
count: z.ZodNumber;
|
|
1439
1501
|
children: z.ZodArray<z.ZodObject<{
|
|
1440
1502
|
id: z.ZodString;
|
|
@@ -2020,4 +2082,4 @@ declare const bylineListResponseSchema: z.ZodObject<{
|
|
|
2020
2082
|
nextCursor: z.ZodOptional<z.ZodString>;
|
|
2021
2083
|
}, z.core.$strip>;
|
|
2022
2084
|
//#endregion
|
|
2023
|
-
export { updateSectionBody as $,
|
|
2085
|
+
export { updateSectionBody as $, countResponseSchema as $n, commentStatusBody as $t, userDetailSchema as A, mediaUpdateBody as An, passkeyRegisterOptionsBody as At, wpRewriteUrlsBody as B, contentResponseSchema as Bn, siteBriefingQuery as Bt, updateWidgetBody as C, mediaConfirmResponseSchema as Cn, updateMenuItemBody as Ct, widgetSchema as D, mediaListResponseSchema as Dn, inviteRegisterOptionsBody as Dt, widgetAreaWithWidgetsSchema as E, mediaListQuery as En, inviteCreateBody as Et, importProbeBody as F, contentItemSchema as Fn, signupRequestBody as Ft, searchResultSchema as G, contentTranslationSchema as Gn, contextEntryStaleQuery as Gt, searchQuery as H, contentSeoInput as Hn, contextEntryDiffQuery as Ht, wpMediaImportBody as I, contentListQuery as In, reviewRequestListQuery as It, siteSettingsSchema as J, contentUpdateBody as Jn, commentBulkBody as Jt, searchSuggestQuery as K, contentTranslationsResponseSchema as Kn, contextEntrySupersedeBody as Kt, wpPluginAnalyzeBody as L, contentListResponseSchema as Ln, reviewRequestResolveBody as Lt, userSchema as M, mediaUploadUrlResponseSchema as Mn, passkeyRenameBody as Mt, userUpdateBody as N, contentCompareResponseSchema as Nn, passkeyVerifyBody as Nt, allowedDomainCreateBody as O, mediaProviderListQuery as On, magicLinkSendBody as Ot, usersListQuery as P, contentCreateBody as Pn, signupCompleteBody as Pt, sectionsListQuery as Q, apiErrorSchema as Qn, commentSchema as Qt, wpPluginExecuteBody as R, contentPreviewUrlBody as Rn, hitlRequestListQuery as Rt, reorderWidgetsBody as S, mediaConfirmBody as Sn, updateMenuBody as St, widgetAreaWithWidgetsAndCountSchema as T, mediaItemSchema as Tn, inviteCompleteBody as Tt, searchRebuildBody as U, contentSeoSchema as Un, contextEntryListQuery as Ut, searchEnableBody as V, contentScheduleBody as Vn, contextEntryCreateBody as Vt, searchResponseSchema as W, contentTermsBody as Wn, contextEntryReviewBody as Wt, sectionListResponseSchema as X, trashedContentListResponseSchema as Xn, commentCountsResponseSchema as Xt, createSectionBody as Y, trashedContentItemSchema as Yn, commentBulkResponseSchema as Yt, sectionSchema as Z, VALID_ROLE_LEVELS as Zn, commentListQuery as Zt, redirectSchema as _, schemaExportQuery as _n, menuListItemSchema as _t, bylineUpdateBody as a, collectionResponseSchema as an, offsetPaginationQuery as ar, termGetResponseSchema as at, createWidgetAreaBody as b, DEFAULT_MAX_UPLOAD_SIZE as bn, menuWithItemsSchema as bt, createRedirectBody as c, createCollectionBody as cn, successEnvelope as cr, termSchema as ct, notFoundListResponseSchema as d, fieldReorderBody as dn, updateTermBody as dt, createCommentBody as en, cursorPaginationQuery as er, createTaxonomyDefBody as et, notFoundPruneBody as f, fieldResponseSchema as fn, createMenuBody as ft, redirectListResponseSchema as g, orphanedTableSchema as gn, menuItemUpdateQuery as gt, notFoundSummarySchema as h, orphanedTableListResponseSchema as hn, menuItemSchema as ht, bylineSummarySchema as i, collectionListResponseSchema as in, localeFilterQuery as ir, taxonomyListResponseSchema as it, userListResponseSchema as j, mediaUploadUrlBody as jn, passkeyRegisterVerifyBody as jt, allowedDomainUpdateBody as k, mediaResponseSchema as kn, passkeyOptionsBody as kt, notFoundEntrySchema as l, createFieldBody as ln, termTranslationsSchema as lt, notFoundSummaryResponseSchema as m, orphanRegisterBody as mn, menuItemDeleteQuery as mt, bylineCreditSchema as n, publicCommentSchema as nn, httpUrl as nr, taxonomyDefSchema as nt, bylinesListQuery as o, collectionSchema as on, roleLevel as or, termListResponseSchema as ot, notFoundSummaryQuery as p, fieldSchema as pn, createMenuItemBody as pt, settingsUpdateBody as q, contentTrashQuery as qn, adminCommentListResponseSchema as qt, bylineListResponseSchema as r, collectionGetQuery as rn, localeCode as rr, taxonomyDefTranslationsSchema as rt, contentBylineInputSchema as s, collectionWithFieldsResponseSchema as sn, slugPattern as sr, termResponseSchema as st, bylineCreateBody as t, publicCommentListResponseSchema as tn, deleteResponseSchema as tr, createTermBody as tt, notFoundListQuery as u, fieldListResponseSchema as un, termWithCountSchema as ut, redirectsListQuery as v, updateCollectionBody as vn, menuSchema as vt, widgetAreaSchema as w, mediaExistingResponseSchema as wn, authMeActionBody as wt, createWidgetBody as x, formatFileSize as xn, reorderMenuItemsBody as xt, updateRedirectBody as y, updateFieldBody as yn, menuTranslationsSchema as yt, wpPrepareBody as z, contentPublishBody as zn, hitlRequestResolveBody as zt };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { t as __exportAll } from "./chunk-ClPoSABd.mjs";
|
|
2
2
|
import { t as validateIdentifier } from "./validate-VPnKoIzW.mjs";
|
|
3
|
-
import { t as BylineRepository } from "./byline-
|
|
4
|
-
import { r as getDb } from "./loader-
|
|
5
|
-
import { t as isMissingTableError } from "./db-errors-
|
|
3
|
+
import { t as BylineRepository } from "./byline-BxAf79s1.mjs";
|
|
4
|
+
import { r as getDb } from "./loader-CQFxFOt1.mjs";
|
|
5
|
+
import { t as isMissingTableError } from "./db-errors-BnUbfGsK.mjs";
|
|
6
6
|
import { sql } from "kysely";
|
|
7
7
|
|
|
8
8
|
//#region src/bylines/index.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as __exportAll } from "./chunk-ClPoSABd.mjs";
|
|
2
|
-
import { i as matchPattern, n as interpolateDestination, t as compilePattern } from "./patterns-
|
|
2
|
+
import { i as matchPattern, n as interpolateDestination, t as compilePattern } from "./patterns-CW4n2PQs.mjs";
|
|
3
3
|
|
|
4
4
|
//#region src/redirects/cache.ts
|
|
5
5
|
var cache_exports = /* @__PURE__ */ __exportAll({
|
|
@@ -1,4 +1,10 @@
|
|
|
1
|
+
import { t as __exportAll } from "./chunk-ClPoSABd.mjs";
|
|
2
|
+
|
|
1
3
|
//#region src/utils/chunks.ts
|
|
4
|
+
var chunks_exports = /* @__PURE__ */ __exportAll({
|
|
5
|
+
SQL_BATCH_SIZE: () => SQL_BATCH_SIZE,
|
|
6
|
+
chunks: () => chunks
|
|
7
|
+
});
|
|
2
8
|
/**
|
|
3
9
|
* Split an array into chunks of at most `size` elements.
|
|
4
10
|
*
|
|
@@ -15,4 +21,4 @@ function chunks(arr, size) {
|
|
|
15
21
|
const SQL_BATCH_SIZE = 50;
|
|
16
22
|
|
|
17
23
|
//#endregion
|
|
18
|
-
export { chunks as n, SQL_BATCH_SIZE as t };
|
|
24
|
+
export { chunks as n, chunks_exports as r, SQL_BATCH_SIZE as t };
|