dineway 0.2.26 → 0.2.27
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{activity-C6JLcUzM.mjs → activity-DWlF3FUa.mjs} +2 -2
- package/dist/{activity-events-u9wIH8CQ.mjs → activity-events-BYksOnTL.mjs} +1 -1
- package/dist/{adapters-BZWb3OVu.d.mts → adapters-C-iHnQYy.d.mts} +8 -1
- package/dist/{allowed-origins-CjTNO3cD.mjs → allowed-origins-DeknDs56.mjs} +1 -1
- package/dist/api/route-utils.d.mts +10 -10
- package/dist/api/route-utils.mjs +15 -14
- package/dist/api/schemas/index.d.mts +1 -1
- package/dist/api/schemas/index.mjs +5 -5
- package/dist/{api-COtLcrtJ.mjs → api-BTrQ7bjs.mjs} +19 -18
- package/dist/{api-tokens-CI5sgE1g.mjs → api-tokens-d43xs7C1.mjs} +1 -1
- package/dist/{apply-DNy1dp8W.mjs → apply-CS_138du.mjs} +19 -18
- package/dist/astro/index.d.mts +11 -11
- package/dist/astro/index.mjs +29 -7
- package/dist/astro/middleware/auth.d.mts +9 -9
- package/dist/astro/middleware/auth.mjs +6 -6
- package/dist/astro/middleware/redirect.mjs +3 -3
- package/dist/astro/middleware/request-context.mjs +3 -3
- 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 +91 -90
- package/dist/astro/routes/api/admin/allowed-domains/_domain_.mjs +7 -7
- package/dist/astro/routes/api/admin/allowed-domains/index.mjs +7 -7
- 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 +10 -10
- package/dist/astro/routes/api/admin/byline-fields/index.mjs +10 -10
- package/dist/astro/routes/api/admin/byline-fields/reorder.mjs +10 -10
- package/dist/astro/routes/api/admin/bylines/_id_/index.mjs +15 -15
- package/dist/astro/routes/api/admin/bylines/_id_/translations.mjs +15 -15
- package/dist/astro/routes/api/admin/bylines/index.mjs +15 -15
- package/dist/astro/routes/api/admin/comments/_id_/status.mjs +13 -13
- package/dist/astro/routes/api/admin/comments/_id_.mjs +4 -4
- package/dist/astro/routes/api/admin/comments/bulk.mjs +10 -10
- package/dist/astro/routes/api/admin/comments/counts.mjs +4 -4
- package/dist/astro/routes/api/admin/comments/index.mjs +10 -10
- package/dist/astro/routes/api/admin/context/_id_/history.mjs +26 -25
- package/dist/astro/routes/api/admin/context/_id_/index.mjs +26 -25
- package/dist/astro/routes/api/admin/context/_id_/review.mjs +31 -30
- package/dist/astro/routes/api/admin/context/_id_/supersede.mjs +31 -30
- package/dist/astro/routes/api/admin/context/diff.mjs +30 -29
- package/dist/astro/routes/api/admin/context/index.mjs +31 -30
- package/dist/astro/routes/api/admin/context/stale.mjs +30 -29
- package/dist/astro/routes/api/admin/hitl-requests/_id_/index.mjs +26 -25
- package/dist/astro/routes/api/admin/hitl-requests/_id_/resolve.mjs +30 -29
- package/dist/astro/routes/api/admin/hitl-requests/index.mjs +30 -29
- package/dist/astro/routes/api/admin/hooks/exclusive/_hookName_.mjs +27 -26
- 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 +57 -56
- package/dist/astro/routes/api/admin/plugins/_id_/enable.mjs +57 -56
- package/dist/astro/routes/api/admin/plugins/_id_/index.mjs +49 -48
- package/dist/astro/routes/api/admin/plugins/_id_/uninstall.mjs +56 -55
- package/dist/astro/routes/api/admin/plugins/_id_/update.mjs +56 -55
- package/dist/astro/routes/api/admin/plugins/index.mjs +49 -48
- package/dist/astro/routes/api/admin/plugins/marketplace/_id_/icon.mjs +2 -2
- package/dist/astro/routes/api/admin/plugins/marketplace/_id_/index.mjs +49 -48
- package/dist/astro/routes/api/admin/plugins/marketplace/_id_/install.mjs +56 -55
- package/dist/astro/routes/api/admin/plugins/marketplace/index.mjs +49 -48
- package/dist/astro/routes/api/admin/plugins/updates.mjs +49 -48
- package/dist/astro/routes/api/admin/review-requests/_id_/index.mjs +4 -4
- package/dist/astro/routes/api/admin/review-requests/_id_/resolve.mjs +31 -30
- package/dist/astro/routes/api/admin/review-requests/index.mjs +31 -30
- package/dist/astro/routes/api/admin/themes/marketplace/_id_/index.mjs +49 -48
- package/dist/astro/routes/api/admin/themes/marketplace/_id_/thumbnail.mjs +2 -2
- package/dist/astro/routes/api/admin/themes/marketplace/index.mjs +49 -48
- 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 +8 -8
- package/dist/astro/routes/api/admin/users/_id_/send-recovery.mjs +3 -3
- package/dist/astro/routes/api/admin/users/index.mjs +7 -7
- package/dist/astro/routes/api/auth/dev-bypass.mjs +3 -3
- package/dist/astro/routes/api/auth/invite/accept.mjs +1 -1
- package/dist/astro/routes/api/auth/invite/complete.mjs +12 -12
- package/dist/astro/routes/api/auth/invite/index.mjs +9 -9
- package/dist/astro/routes/api/auth/invite/register-options.mjs +11 -11
- package/dist/astro/routes/api/auth/logout.mjs +2 -2
- package/dist/astro/routes/api/auth/magic-link/send.mjs +11 -11
- package/dist/astro/routes/api/auth/magic-link/verify.mjs +2 -2
- package/dist/astro/routes/api/auth/me.mjs +9 -9
- 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 +7 -7
- package/dist/astro/routes/api/auth/passkey/index.mjs +1 -1
- package/dist/astro/routes/api/auth/passkey/options.mjs +13 -13
- package/dist/astro/routes/api/auth/passkey/register/options.mjs +11 -11
- package/dist/astro/routes/api/auth/passkey/register/verify.mjs +12 -12
- package/dist/astro/routes/api/auth/passkey/verify.mjs +12 -12
- package/dist/astro/routes/api/auth/setup-token/index.mjs +4 -4
- package/dist/astro/routes/api/auth/setup-token/verify.mjs +2 -2
- package/dist/astro/routes/api/auth/signup/complete.mjs +12 -12
- package/dist/astro/routes/api/auth/signup/request.mjs +11 -11
- package/dist/astro/routes/api/auth/signup/verify.mjs +1 -1
- package/dist/astro/routes/api/comments/_collection_/_contentId_/index.mjs +14 -14
- package/dist/astro/routes/api/comments/_collection_/_contentId_/reactions.mjs +13 -13
- package/dist/astro/routes/api/content/_collection_/_id_/compare.mjs +2 -2
- package/dist/astro/routes/api/content/_collection_/_id_/discard-draft.mjs +5 -5
- package/dist/astro/routes/api/content/_collection_/_id_/duplicate.mjs +5 -5
- package/dist/astro/routes/api/content/_collection_/_id_/permanent.mjs +5 -5
- package/dist/astro/routes/api/content/_collection_/_id_/preview-url.mjs +54 -16
- package/dist/astro/routes/api/content/_collection_/_id_/publish.mjs +17 -17
- package/dist/astro/routes/api/content/_collection_/_id_/release-readiness.mjs +9 -9
- package/dist/astro/routes/api/content/_collection_/_id_/restore.mjs +5 -5
- package/dist/astro/routes/api/content/_collection_/_id_/revisions.mjs +2 -2
- package/dist/astro/routes/api/content/_collection_/_id_/schedule.mjs +17 -17
- package/dist/astro/routes/api/content/_collection_/_id_/terms/_taxonomy_.mjs +14 -13
- package/dist/astro/routes/api/content/_collection_/_id_/translations.mjs +2 -2
- package/dist/astro/routes/api/content/_collection_/_id_/unpublish.mjs +5 -5
- package/dist/astro/routes/api/content/_collection_/_id_.mjs +11 -11
- package/dist/astro/routes/api/content/_collection_/authors.mjs +2 -2
- package/dist/astro/routes/api/content/_collection_/index.mjs +11 -11
- package/dist/astro/routes/api/content/_collection_/trash.mjs +8 -8
- package/dist/astro/routes/api/dashboard.mjs +8 -7
- 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 +9 -9
- package/dist/astro/routes/api/import/wordpress/execute.mjs +36 -35
- package/dist/astro/routes/api/import/wordpress/media.d.mts +9 -9
- package/dist/astro/routes/api/import/wordpress/media.mjs +12 -12
- package/dist/astro/routes/api/import/wordpress/prepare.mjs +35 -34
- package/dist/astro/routes/api/import/wordpress/rewrite-urls.d.mts +10 -10
- package/dist/astro/routes/api/import/wordpress/rewrite-urls.mjs +32 -31
- 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 +9 -9
- package/dist/astro/routes/api/import/wordpress-plugin/execute.mjs +41 -40
- package/dist/astro/routes/api/integrations/_provider_.mjs +7 -7
- package/dist/astro/routes/api/integrations/index.mjs +6 -6
- package/dist/astro/routes/api/manifest.mjs +5 -5
- package/dist/astro/routes/api/mcp.mjs +67 -66
- package/dist/astro/routes/api/media/_id_/confirm.mjs +10 -10
- package/dist/astro/routes/api/media/_id_.mjs +9 -9
- package/dist/astro/routes/api/media/file/_...key_.mjs +1 -1
- package/dist/astro/routes/api/media/providers/_providerId_/_itemId_.mjs +2 -2
- package/dist/astro/routes/api/media/providers/_providerId_/index.mjs +2 -2
- package/dist/astro/routes/api/media/providers/index.mjs +2 -2
- package/dist/astro/routes/api/media/upload-url.mjs +11 -11
- package/dist/astro/routes/api/media.mjs +14 -14
- package/dist/astro/routes/api/menus/_name_/items/_id_.mjs +31 -30
- package/dist/astro/routes/api/menus/_name_/items.mjs +31 -30
- package/dist/astro/routes/api/menus/_name_/reorder.mjs +31 -30
- package/dist/astro/routes/api/menus/_name_/translations.mjs +31 -30
- package/dist/astro/routes/api/menus/_name_.mjs +31 -30
- package/dist/astro/routes/api/menus/index.mjs +31 -30
- package/dist/astro/routes/api/oauth/authorize.mjs +7 -7
- package/dist/astro/routes/api/oauth/device/authorize.mjs +6 -6
- package/dist/astro/routes/api/oauth/device/code.mjs +9 -9
- package/dist/astro/routes/api/oauth/device/token.mjs +8 -8
- package/dist/astro/routes/api/oauth/register.mjs +4 -4
- package/dist/astro/routes/api/oauth/token/refresh.mjs +6 -6
- package/dist/astro/routes/api/oauth/token/revoke.mjs +6 -6
- package/dist/astro/routes/api/oauth/token.mjs +6 -6
- package/dist/astro/routes/api/openapi.json.mjs +5 -5
- package/dist/astro/routes/api/plugins/_pluginId_/_...path_.mjs +4 -4
- package/dist/astro/routes/api/redirects/404s/index.mjs +11 -11
- package/dist/astro/routes/api/redirects/404s/summary.mjs +11 -11
- package/dist/astro/routes/api/redirects/_id_.mjs +32 -31
- package/dist/astro/routes/api/redirects/index.mjs +32 -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 +51 -50
- package/dist/astro/routes/api/schema/collections/_slug_/fields/index.mjs +51 -50
- package/dist/astro/routes/api/schema/collections/_slug_/fields/reorder.mjs +51 -50
- package/dist/astro/routes/api/schema/collections/_slug_/index.mjs +51 -50
- package/dist/astro/routes/api/schema/collections/index.mjs +51 -50
- package/dist/astro/routes/api/schema/index.mjs +8 -8
- package/dist/astro/routes/api/schema/orphans/_slug_.mjs +49 -48
- package/dist/astro/routes/api/schema/orphans/index.mjs +49 -48
- package/dist/astro/routes/api/search/enable.mjs +10 -10
- package/dist/astro/routes/api/search/index.mjs +9 -9
- package/dist/astro/routes/api/search/rebuild.mjs +10 -10
- package/dist/astro/routes/api/search/stats.mjs +4 -4
- package/dist/astro/routes/api/search/suggest.mjs +9 -9
- package/dist/astro/routes/api/sections/_slug_.mjs +31 -30
- package/dist/astro/routes/api/sections/index.mjs +31 -30
- package/dist/astro/routes/api/settings/email.mjs +4 -4
- package/dist/astro/routes/api/settings.mjs +31 -30
- package/dist/astro/routes/api/setup/admin-verify.mjs +14 -14
- package/dist/astro/routes/api/setup/admin.mjs +12 -12
- package/dist/astro/routes/api/setup/dev-bypass.mjs +25 -24
- package/dist/astro/routes/api/setup/dev-reset.mjs +2 -2
- package/dist/astro/routes/api/setup/index.mjs +27 -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.mjs +34 -33
- package/dist/astro/routes/api/taxonomies/_name_/terms/_slug_.mjs +34 -33
- package/dist/astro/routes/api/taxonomies/_name_/terms/index.mjs +34 -33
- package/dist/astro/routes/api/taxonomies/index.mjs +34 -33
- package/dist/astro/routes/api/themes/preview.mjs +5 -5
- 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 +30 -29
- package/dist/astro/routes/api/widget-areas/_name_/widgets/_id_.mjs +31 -30
- package/dist/astro/routes/api/widget-areas/_name_/widgets.mjs +31 -30
- package/dist/astro/routes/api/widget-areas/_name_.mjs +28 -27
- package/dist/astro/routes/api/widget-areas/index.mjs +31 -30
- package/dist/astro/routes/api/widget-components.mjs +2 -2
- package/dist/astro/routes/robots.txt.mjs +5 -5
- package/dist/astro/routes/sitemap-_collection_.xml.mjs +12 -12
- package/dist/astro/routes/sitemap.xml.mjs +11 -11
- package/dist/astro/session-driver.d.mts +1 -1
- package/dist/astro/types.d.mts +12 -12
- package/dist/auth/providers/github.d.mts +1 -1
- package/dist/auth/providers/google.d.mts +1 -1
- package/dist/{auth-control-guard-BQLSUQd7.mjs → auth-control-guard-Bg93z3D6.mjs} +1 -1
- package/dist/{authorize-D8etr-1g.mjs → authorize-Dg75h4BN.mjs} +1 -1
- package/dist/{briefing-Yao75K3z.mjs → briefing-BoIXsh3Y.mjs} +1 -1
- package/dist/{briefing-DcDVI-0v.mjs → briefing-Cd2HhhHi.mjs} +6 -6
- package/dist/{bundle-MGZ2MLSb.mjs → bundle-DicQY2p2.mjs} +1 -1
- package/dist/{byline-CbFno1Kd.mjs → byline-MGIfM2Is.mjs} +4 -4
- package/dist/{byline-fields-CjCCA-Wn.d.mts → byline-fields-BJ5_tYj8.d.mts} +14 -14
- package/dist/{byline-fields-C0IOddTf.mjs → byline-fields-C4OeOttq.mjs} +3 -3
- package/dist/{byline-fields-CS1Hi2N4.mjs → byline-fields-GoUVaGw4.mjs} +1 -1
- package/dist/{byline-registry-BLgrU3dA.mjs → byline-registry-CF9nobxT.mjs} +2 -2
- package/dist/{bylines-DXXMlc1A.mjs → bylines-CL8Z6AxI.mjs} +3 -3
- package/dist/{bylines-BotyuTdY.mjs → bylines-t_uHsP44.mjs} +1 -1
- package/dist/{cache-Cf5yPNNw.mjs → cache-DrNKKDn0.mjs} +1 -1
- package/dist/cli/index.d.mts +1 -1
- package/dist/cli/index.mjs +395 -133
- package/dist/cli/plugin-kit.d.mts +9 -9
- package/dist/cli/plugin-kit.mjs +2 -2
- package/dist/client/external-auth-headers.d.mts +1 -1
- package/dist/client/index.d.mts +11 -11
- package/dist/client/index.mjs +2 -2
- package/dist/{client-factory-BDDerNBz.mjs → client-factory-DXfeovxp.mjs} +2 -1
- package/dist/{comment-reaction-mHuRHspq.mjs → comment-reaction-NZjadbiB.mjs} +1 -1
- package/dist/{comments-BFbF0xaG.mjs → comments-Csi3B9JI.mjs} +1 -1
- package/dist/{connection-CiJWiWya.mjs → connection-DJ3GzHVH.mjs} +2 -3
- package/dist/{content-C0qGd2Nt.mjs → content-CzUrmMC3.mjs} +3 -115
- package/dist/{content-refresh-BkGWtwUN.mjs → content-refresh-C_jcjzOr.mjs} +4 -4
- package/dist/{context-BEgiPeP-.mjs → context-BET1jeas.mjs} +10 -10
- package/dist/{context-CnCdZ2xZ.mjs → context-D1WiuHGe.mjs} +2 -2
- package/dist/{context-route-helpers-CXxj6-jq.mjs → context-route-helpers-CgVXswZ_.mjs} +2 -2
- package/dist/{dashboard-B8Sk45s8.mjs → dashboard-CKAH1KwM.mjs} +4 -4
- package/dist/db/index.d.mts +4 -4
- package/dist/db/index.mjs +9 -1
- package/dist/db/libsql-http.d.mts +27 -0
- package/dist/db/libsql-http.mjs +29 -0
- package/dist/db/libsql.d.mts +1 -1
- package/dist/db/libsql.mjs +3 -43
- package/dist/db/postgres.d.mts +1 -1
- package/dist/db/sqlite.d.mts +1 -1
- package/dist/{device-flow-DCbF6FAE.mjs → device-flow-BED7L-O7.mjs} +5 -5
- package/dist/{discovery-CUX99M46.mjs → discovery-SVnRaAxj.mjs} +4 -48
- package/dist/{enrich-Ck9tfMqe.mjs → enrich-Uw_OA9Ve.mjs} +1 -1
- package/dist/{field-defs-cache-7Ka899yA.mjs → field-defs-cache-BIHTU5Yj.mjs} +3 -3
- package/dist/{hitl-requests-DU4wJSml.mjs → hitl-requests-D117gyhv.mjs} +2 -2
- package/dist/{hitl-route-helpers-CkRqaLaJ.mjs → hitl-route-helpers-BasbaWwG.mjs} +5 -5
- package/dist/{import-BcSW07F1.mjs → import-BCY1k1zB.mjs} +8 -8
- package/dist/{index-C7X4h_27.d.mts → index-DNNw5fp0.d.mts} +3 -3
- package/dist/index.d.mts +15 -15
- package/dist/index.mjs +84 -82
- package/dist/{integration-credentials-ylo0bguS.mjs → integration-credentials-CTrvXgEc.mjs} +2 -2
- package/dist/{jsonld-thSA4Rua.d.mts → jsonld-CxMRDv02.d.mts} +2 -2
- package/dist/libsql-dialect-DMqpBfJI.mjs +47 -0
- package/dist/{manifest-schema-VGSvatoU.mjs → manifest-schema-owbEUmv1.mjs} +1 -1
- package/dist/{mcp-reviewed-executor-lqfDtcFo.mjs → mcp-reviewed-executor-BwI0ylf3.mjs} +6 -6
- package/dist/media/image-endpoint.mjs +1 -1
- package/dist/media/index.d.mts +1 -1
- package/dist/media/index.mjs +2 -2
- package/dist/media/local-runtime.d.mts +11 -11
- package/dist/media/local-runtime.mjs +1 -1
- package/dist/{media-allowlist-D3AHS_q3.mjs → media-allowlist-BdbIzYO3.mjs} +1 -1
- package/dist/{menus-oIJaGGUU.mjs → menus-CRmcWAM5.mjs} +1 -1
- package/dist/{menus-D_pqSYJ3.mjs → menus-Cu3TUXyl.mjs} +5 -5
- package/dist/{oauth-authorization-DHeVHdGr.mjs → oauth-authorization-TG2Kxgur.mjs} +5 -5
- package/dist/{oauth-clients-8cVhd-8W.mjs → oauth-clients-DLJMG4h7.mjs} +2 -2
- package/dist/object-cache/memory.d.mts +1 -1
- package/dist/page/index.d.mts +10 -10
- package/dist/page/index.mjs +1 -1
- package/dist/{parse-RN_EgAxL.mjs → parse-CJC9DGe9.mjs} +1 -1
- package/dist/plugin-utils.d.mts +9 -9
- package/dist/plugins/adapt-sandbox-entry.d.mts +9 -9
- package/dist/plugins/adapt-sandbox-entry.mjs +1 -1
- package/dist/{plugins-DMImBiT9.mjs → plugins-BC9Rb6PJ.mjs} +6 -6
- package/dist/{preview-DDtW5YuZ.mjs → preview-CjL_29aE.mjs} +3 -3
- package/dist/{provider-loader-DZ9uy48J.d.mts → provider-loader-CGoW_-Bs.d.mts} +1 -1
- package/dist/{public-url-Binfty0i.d.mts → public-url-BPnL5sTj.d.mts} +1 -1
- package/dist/public-url-DjWfilkD.mjs +46 -0
- package/dist/{public-url-BuERxOoY.d.mts → public-url-UpDevWVD.d.mts} +2 -2
- package/dist/{publication-authorization-DYAGeWto.mjs → publication-authorization-Bq4B0KIL.mjs} +6 -6
- package/dist/{query-DzsPhsZk.mjs → query-BAfn0Uxp.mjs} +7 -7
- package/dist/{query-qvv6Rar8.mjs → query-MvFwA1uK.mjs} +2 -2
- package/dist/{rate-limit-BIuuIxP3.mjs → rate-limit-JhnJUEno.mjs} +2 -2
- package/dist/{redirect-B_9GwIZd.mjs → redirect-CnG6nJ4H.mjs} +1 -1
- package/dist/{redirects-Cj4lrY_X.mjs → redirects-C9pg6Dcg.mjs} +3 -3
- package/dist/{redirects-DvsWZIiC.mjs → redirects-lCwNKPUn.mjs} +5 -5
- package/dist/{registry-BwcF6gAj.mjs → registry-QxrUJAWY.mjs} +7 -7
- package/dist/{request-meta-C0druWvK.mjs → request-meta-DnZm9Kbu.mjs} +1 -1
- package/dist/{review-payload-Cg9dtFgV.mjs → review-payload-BuLgXTY6.mjs} +1 -1
- package/dist/{review-requests-B2tCLjdA.mjs → review-requests-uI-yUXcr.mjs} +2 -2
- package/dist/{review-route-helpers-CeYzVpNa.mjs → review-route-helpers-BvX04ahf.mjs} +2 -2
- package/dist/revision-De7OmYVD.mjs +118 -0
- package/dist/{runner-DnswPQIl.d.mts → runner-o39FihbH.d.mts} +1 -1
- package/dist/runtime.d.mts +10 -10
- package/dist/runtime.mjs +1 -1
- package/dist/{schema-86uC3yVE.mjs → schema-CD3EA3nN.mjs} +1 -1
- package/dist/{search-CeXUu1KD.mjs → search-BtCHwx_Z.mjs} +1 -1
- package/dist/{secrets-re9BzPUD.mjs → secrets-MqvM60s_.mjs} +2 -2
- package/dist/seed/index.d.mts +2 -2
- package/dist/seed/index.mjs +20 -19
- package/dist/seo/index.d.mts +3 -3
- package/dist/seo/index.mjs +7 -6
- package/dist/{seo-BpuKUrBs.mjs → seo-BhMH6i2e.mjs} +1 -1
- package/dist/{seo-BVmdKP7v.mjs → seo-CTXMR4YD.mjs} +1 -1
- package/dist/{service-CSeV_04p.mjs → service-evnf21UO.mjs} +2 -2
- package/dist/{settings-DXp6vRdV.mjs → settings-CCqefqC9.mjs} +5 -5
- package/dist/{settings-ClnGCe1a.mjs → settings-COtVNdOx.mjs} +1 -1
- package/dist/{setup-complete-BcjodOdW.mjs → setup-complete-C8LTo8cO.mjs} +1 -1
- package/dist/{site-context-DRSrU7hX.mjs → site-context-D2DmqFnD.mjs} +14 -14
- package/dist/{site-url-C1PUhgWO.mjs → site-url-AGgA46Lw.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/{store-C6bydUdt.mjs → store-BtCoeap4.mjs} +1 -1
- package/dist/{taxonomies-CHHgZFzB.mjs → taxonomies-DxtqEjcj.mjs} +2 -2
- package/dist/{taxonomies-Dfmkapin.mjs → taxonomies-xvaQ7gVM.mjs} +4 -4
- package/dist/{taxonomy-BUo9B6qp.mjs → taxonomy--vcXXfwc.mjs} +1 -1
- package/dist/{types-ZDyMKdrZ.d.mts → types-BcpWwh4c.d.mts} +10 -10
- package/dist/{types-DCkWipbM.d.mts → types-m37xNtUj.d.mts} +1 -1
- package/dist/ui/server-runtime.d.mts +13 -13
- package/dist/ui/server-runtime.mjs +21 -21
- package/dist/{user-BprdjWGE.mjs → user-Dn3wV227.mjs} +1 -1
- package/dist/{utils-D_bwAtcb.mjs → utils-iGiCys50.mjs} +1 -1
- package/dist/{validate-Cdvc9APD.mjs → validate-BHVQSpUy.mjs} +2 -2
- package/dist/{validate-SXACKtqW.d.mts → validate-BiPYhXNZ.d.mts} +3 -3
- package/dist/version-BbuynKOY.mjs +6 -0
- package/dist/{widgets-DMzBMhsO.mjs → widgets-CBCHUg_u.mjs} +2 -2
- package/dist/{wordpress-slugs-CuizIp_V.mjs → wordpress-slugs-BYW2B_5x.mjs} +1 -1
- package/dist/{zod-generator-C0nwBbg8.mjs → zod-generator-DMlY4cI3.mjs} +1 -1
- package/package.json +9 -2
- package/src/components/DinewayImage.astro +4 -0
- package/dist/version-BjNGau7O.mjs +0 -6
- /package/dist/{actor-Bu9whHez.mjs → actor-BraTCiOp.mjs} +0 -0
- /package/dist/{api-tokens-BkXlt3V6.mjs → api-tokens-CZ472rzA.mjs} +0 -0
- /package/dist/{audit-BGHS3IuK.mjs → audit-CmiNnrbj.mjs} +0 -0
- /package/dist/{challenge-store-DvRxUsXv.mjs → challenge-store-ugPhBaVf.mjs} +0 -0
- /package/dist/{chunks-Dh8yqZt3.mjs → chunks-Bw3_BuVW.mjs} +0 -0
- /package/dist/{comment-eqM9KHbj.mjs → comment-DuDtCn-f.mjs} +0 -0
- /package/dist/{components-D5HxUv7y.mjs → components-CINP4h-l.mjs} +0 -0
- /package/dist/{context-types-eBuMDAg-.mjs → context-types-fEeyXC1D.mjs} +0 -0
- /package/dist/{cron-fQf7oVvf.mjs → cron-DIsnItPn.mjs} +0 -0
- /package/dist/{default-CnbyLh9W.mjs → default-D8jeKsT3.mjs} +0 -0
- /package/dist/{email-console-vFj2FFuJ.mjs → email-console-DRb6jkoC.mjs} +0 -0
- /package/dist/{error-DWL9Pwyt.mjs → error-BPA9T0AW.mjs} +0 -0
- /package/dist/{escape-DBggE3jq.mjs → escape-DgNqnHuj.mjs} +0 -0
- /package/dist/{experimental-workflows-Dvn_xgew.mjs → experimental-workflows-DOo7QDRn.mjs} +0 -0
- /package/dist/{fts-manager-D4K5mA0j.mjs → fts-manager-BB44uXMm.mjs} +0 -0
- /package/dist/{hash-mxxx2oPW.mjs → hash-CEky-IDp.mjs} +0 -0
- /package/dist/{load-B1cm00WU.mjs → load-C-cMlsPv.mjs} +0 -0
- /package/dist/{media-DNde5-Am.mjs → media-4xtXwq7L.mjs} +0 -0
- /package/dist/{media-url-LSeVcoln.mjs → media-url-BhbJfG3Y.mjs} +0 -0
- /package/dist/{mime-C0vOHFm7.mjs → mime-Bg7yUeHW.mjs} +0 -0
- /package/dist/{mode-DYsXVFoY.mjs → mode-CgD_xAEJ.mjs} +0 -0
- /package/dist/{normalize-Cyt7JdF7.mjs → normalize-BY2gOygP.mjs} +0 -0
- /package/dist/{oauth-state-store-CUU4azTF.mjs → oauth-state-store-Dbj-J0K5.mjs} +0 -0
- /package/dist/{oauth-user-lookup-CRFHKN_W.mjs → oauth-user-lookup-D2NAYPjU.mjs} +0 -0
- /package/dist/{options-DQPTH5n0.mjs → options-1dBRkoCl.mjs} +0 -0
- /package/dist/{output-13u4dvu-.mjs → output-A4ZfzzA0.mjs} +0 -0
- /package/dist/{parser-Co69H1x-.mjs → parser-C3ux7a3Y.mjs} +0 -0
- /package/dist/{passkey-config-e-0KLl2R.mjs → passkey-config-DUc1iP_-.mjs} +0 -0
- /package/dist/{patterns-CoqlXUvk.mjs → patterns-CP9gkiCE.mjs} +0 -0
- /package/dist/{placeholder-DeJydgkj.d.mts → placeholder-0cGpMonY.d.mts} +0 -0
- /package/dist/{portable-text-B7E-ali_.d.mts → portable-text-Cu4n_8zI.d.mts} +0 -0
- /package/dist/{portable-text-C8Tvp4_g.mjs → portable-text-U85hOafW.mjs} +0 -0
- /package/dist/{process-cache-CCDgti7j.mjs → process-cache-DsMwJ3LM.mjs} +0 -0
- /package/dist/{provider-loader-BIxppPHS.mjs → provider-loader-BPHG3BR5.mjs} +0 -0
- /package/dist/{public-discovery-BlJ80Hoh.mjs → public-discovery-CyDzK1-S.mjs} +0 -0
- /package/dist/{public-url-jFEiiLag.mjs → public-url-CmBKcpsJ.mjs} +0 -0
- /package/dist/{redirect-C2bJtYhP.mjs → redirect-D_bb_Cc3.mjs} +0 -0
- /package/dist/{request-cache-CBFjCwSt.mjs → request-cache-DoT2mKBT.mjs} +0 -0
- /package/dist/{resolve-Doh2USIE.mjs → resolve-BDWXnk_V.mjs} +0 -0
- /package/dist/{review-requests-Bo4jcxtU.mjs → review-requests-DaYnr3XR.mjs} +0 -0
- /package/dist/{sections-BQdtDQUw.mjs → sections-BM88PvRO.mjs} +0 -0
- /package/dist/{seo-contributions-CPDwm9MH.mjs → seo-contributions-DzusM9lG.mjs} +0 -0
- /package/dist/{service-CY0aH6eI.mjs → service-BB1n90wh.mjs} +0 -0
- /package/dist/{session-user-DTopk3zO.mjs → session-user-BQZHuGOS.mjs} +0 -0
- /package/dist/{setup-nonce-C76FNEst.mjs → setup-nonce-220YhE1R.mjs} +0 -0
- /package/dist/{sidecar-client-CQF4fcO7.mjs → sidecar-client-SDgPreXV.mjs} +0 -0
- /package/dist/{site-activity-By0wWO0g.mjs → site-activity-kfZ9X0no.mjs} +0 -0
- /package/dist/{ssrf-CxOWiF0p.mjs → ssrf-D00lPvtF.mjs} +0 -0
- /package/dist/{stable-hash-DshcXvRE.mjs → stable-hash-_A3p1ln2.mjs} +0 -0
- /package/dist/{status-DvSRKIiF.mjs → status-BdZSXIP_.mjs} +0 -0
- /package/dist/{tokens-COJxRo8q.mjs → tokens-ShJZm_QS.mjs} +0 -0
- /package/dist/{transaction-Chz7SBGr.mjs → transaction-L0tzAOfM.mjs} +0 -0
- /package/dist/{transport-BDQ73F0l.mjs → transport-DtrY0-hI.mjs} +0 -0
- /package/dist/{transport-BfF60P73.d.mts → transport-SoRbXDM4.d.mts} +0 -0
- /package/dist/{trusted-proxy-j2KYPN4r.mjs → trusted-proxy-9b2fSXK2.mjs} +0 -0
- /package/dist/{types-B0P-ECRI.d.mts → types-B-KSspMO.d.mts} +0 -0
- /package/dist/{types-DA4L0OLk.mjs → types-B-nDjnzA.mjs} +0 -0
- /package/dist/{types-gG3syKwc.d.mts → types-B2W3CeZN.d.mts} +0 -0
- /package/dist/{types-C0hcZkqG.d.mts → types-BdsNqnHA.d.mts} +0 -0
- /package/dist/{types-VkWKA-R2.d.mts → types-Cd_2Jeqp.d.mts} +0 -0
- /package/dist/{types-B7TDDFMG.mjs → types-D1l9cCKM.mjs} +0 -0
- /package/dist/{types-DN82MbYv.d.mts → types-D8iukuuI.d.mts} +0 -0
- /package/dist/{types-Cnz2EIEp.d.mts → types-ZdWRfUsC.d.mts} +0 -0
- /package/dist/{types-gnLXQcvx.mjs → types-dgGPmsl_.mjs} +0 -0
- /package/dist/{url-Bm__30we.mjs → url-C_pLSrGZ.mjs} +0 -0
- /package/dist/{url-BG-3f-Vy.mjs → url-CmjWycVK.mjs} +0 -0
|
@@ -3,42 +3,43 @@ import "../../../base64-F8-DUraK.mjs";
|
|
|
3
3
|
import "../../../types-CFvpEEOl.mjs";
|
|
4
4
|
import "../../../loader-CsX5pTud.mjs";
|
|
5
5
|
import "../../../object-cache-D51qOseS.mjs";
|
|
6
|
-
import "../../../
|
|
7
|
-
import "../../../
|
|
8
|
-
import "../../../
|
|
9
|
-
import "../../../
|
|
10
|
-
import
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import "../../../
|
|
14
|
-
import
|
|
15
|
-
import { t as
|
|
16
|
-
import "../../../
|
|
17
|
-
import "../../../
|
|
18
|
-
import "../../../
|
|
19
|
-
import "../../../
|
|
20
|
-
import
|
|
21
|
-
import {
|
|
22
|
-
import {
|
|
23
|
-
import "../../../
|
|
24
|
-
import "../../../
|
|
25
|
-
import "../../../
|
|
26
|
-
import
|
|
27
|
-
import { t as
|
|
28
|
-
import { t as
|
|
29
|
-
import {
|
|
30
|
-
import "../../../
|
|
31
|
-
import "../../../
|
|
6
|
+
import "../../../revision-De7OmYVD.mjs";
|
|
7
|
+
import "../../../content-CzUrmMC3.mjs";
|
|
8
|
+
import "../../../media-4xtXwq7L.mjs";
|
|
9
|
+
import "../../../options-1dBRkoCl.mjs";
|
|
10
|
+
import "../../../site-activity-kfZ9X0no.mjs";
|
|
11
|
+
import { t as ReviewRequestRepository } from "../../../review-requests-DaYnr3XR.mjs";
|
|
12
|
+
import { a as HITL_REQUEST_PRIORITIES, i as ReleasePayloadBuilder, o as HITL_REQUEST_STATUSES, s as HitlRequestRepository, t as PublicationAuthorizationError } from "../../../publication-authorization-Bq4B0KIL.mjs";
|
|
13
|
+
import { C as ASSIGNMENT_STATUSES, S as ASSIGNMENT_PRIORITIES, _ as toPublicContextDiff, a as EntityResolver, b as HitlRequestService, d as SettingsHitlPayloadBuilder, g as RiskPolicyEvaluator, h as SchemaHitlPayloadBuilder, i as ActorExpertiseService, n as AssignmentService, r as HandoffSnapshotStore, t as WorkflowHitlCoordinator, v as toPublicContextEntry, x as ASSIGNMENT_ACTOR_TYPES, y as toPublicContextEntryPage } from "../../../site-context-D2DmqFnD.mjs";
|
|
14
|
+
import "../../../request-cache-DoT2mKBT.mjs";
|
|
15
|
+
import { a as ContextRepository, i as parseSiteBriefingScope, r as formatSiteBriefingText, t as SiteBriefingAssembler } from "../../../briefing-Cd2HhhHi.mjs";
|
|
16
|
+
import { t as SITE_CONTEXT_TYPES } from "../../../context-types-fEeyXC1D.mjs";
|
|
17
|
+
import "../../../content-refresh-C_jcjzOr.mjs";
|
|
18
|
+
import "../../../fts-manager-BB44uXMm.mjs";
|
|
19
|
+
import "../../../public-discovery-CyDzK1-S.mjs";
|
|
20
|
+
import "../../../registry-QxrUJAWY.mjs";
|
|
21
|
+
import { a as getSiteSettingsWithDb } from "../../../settings-CCqefqC9.mjs";
|
|
22
|
+
import { t as ReviewPayloadBuilder } from "../../../review-payload-BuLgXTY6.mjs";
|
|
23
|
+
import { n as VERSION } from "../../../version-BbuynKOY.mjs";
|
|
24
|
+
import "../../../query-MvFwA1uK.mjs";
|
|
25
|
+
import "../../../zod-generator-DMlY4cI3.mjs";
|
|
26
|
+
import "../../../schema-CD3EA3nN.mjs";
|
|
27
|
+
import { t as DinewaySecretsError } from "../../../secrets-MqvM60s_.mjs";
|
|
28
|
+
import { t as IntegrationCredentialStore } from "../../../store-BtCoeap4.mjs";
|
|
29
|
+
import { t as apiError } from "../../../error-BPA9T0AW.mjs";
|
|
30
|
+
import { Dn as contentBylineInputSchema, P as settingsUpdateBody, Tn as bylineUpdateBody, fn as contentSeoInput, xn as bylineCreateBody } from "../../../redirects-C9pg6Dcg.mjs";
|
|
31
|
+
import "../../../byline-fields-C4OeOttq.mjs";
|
|
32
|
+
import "../../../status-BdZSXIP_.mjs";
|
|
32
33
|
import "../../../api/schemas/index.mjs";
|
|
33
|
-
import { i as hasScope } from "../../../api-tokens-
|
|
34
|
-
import { r as registerPluginMcpRegistry, t as createReviewedPluginMcpCommandExecutor } from "../../../mcp-reviewed-executor-
|
|
35
|
-
import { n as resolveActorIdentity } from "../../../actor-
|
|
36
|
-
import "../../../activity-
|
|
37
|
-
import { d as logSchemaActivity, o as logContentActivity, p as logSiteActivitySafely, r as contentMcpToolSource, t as activityChangedKeys, x as schemaMcpToolSource } from "../../../activity-events-
|
|
38
|
-
import "../../../utils-
|
|
39
|
-
import "../../../search-
|
|
40
|
-
import { f as readStoredForgewayAccount, n as DinewayToolsService, p as refreshForgewayAccountCredentials, s as createForgewayAccountClient, t as DinewayToolsError, u as normalizeForgewayApiUrl } from "../../../service-
|
|
41
|
-
import { n as convertDataForWrite, t as convertDataForRead } from "../../../portable-text-
|
|
34
|
+
import { i as hasScope } from "../../../api-tokens-CZ472rzA.mjs";
|
|
35
|
+
import { r as registerPluginMcpRegistry, t as createReviewedPluginMcpCommandExecutor } from "../../../mcp-reviewed-executor-BwI0ylf3.mjs";
|
|
36
|
+
import { n as resolveActorIdentity } from "../../../actor-BraTCiOp.mjs";
|
|
37
|
+
import "../../../activity-DWlF3FUa.mjs";
|
|
38
|
+
import { d as logSchemaActivity, o as logContentActivity, p as logSiteActivitySafely, r as contentMcpToolSource, t as activityChangedKeys, x as schemaMcpToolSource } from "../../../activity-events-BYksOnTL.mjs";
|
|
39
|
+
import "../../../utils-iGiCys50.mjs";
|
|
40
|
+
import "../../../search-BtCHwx_Z.mjs";
|
|
41
|
+
import { f as readStoredForgewayAccount, n as DinewayToolsService, p as refreshForgewayAccountCredentials, s as createForgewayAccountClient, t as DinewayToolsError, u as normalizeForgewayApiUrl } from "../../../service-BB1n90wh.mjs";
|
|
42
|
+
import { n as convertDataForWrite, t as convertDataForRead } from "../../../portable-text-U85hOafW.mjs";
|
|
42
43
|
import { z } from "zod";
|
|
43
44
|
import { Role, canActOnOwn, hasPermission } from "@dineway-ai/auth";
|
|
44
45
|
import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js";
|
|
@@ -333,7 +334,7 @@ function getDineway(extra) {
|
|
|
333
334
|
}
|
|
334
335
|
async function getCollectionFields(dineway, collection) {
|
|
335
336
|
try {
|
|
336
|
-
const { SchemaRegistry } = await import("../../../schema-
|
|
337
|
+
const { SchemaRegistry } = await import("../../../schema-CD3EA3nN.mjs").then((n) => n.t);
|
|
337
338
|
return (await new SchemaRegistry(dineway.db).getCollectionWithFields(collection))?.fields ?? null;
|
|
338
339
|
} catch {
|
|
339
340
|
return null;
|
|
@@ -350,7 +351,7 @@ async function applyReadMarkdown(dineway, collection, items) {
|
|
|
350
351
|
for (const item of items) if (item.data && typeof item.data === "object") item.data = convertDataForRead(item.data, fields, false);
|
|
351
352
|
}
|
|
352
353
|
async function invalidateBylines() {
|
|
353
|
-
const { invalidateBylineCache } = await import("../../../bylines-
|
|
354
|
+
const { invalidateBylineCache } = await import("../../../bylines-CL8Z6AxI.mjs").then((n) => n.t);
|
|
354
355
|
invalidateBylineCache();
|
|
355
356
|
}
|
|
356
357
|
function canReadDrafts(extra) {
|
|
@@ -2405,7 +2406,7 @@ function createMcpServer(options = {}) {
|
|
|
2405
2406
|
requireRole(extra, Role.EDITOR);
|
|
2406
2407
|
const ec = getDineway(extra);
|
|
2407
2408
|
try {
|
|
2408
|
-
const { SchemaRegistry } = await import("../../../schema-
|
|
2409
|
+
const { SchemaRegistry } = await import("../../../schema-CD3EA3nN.mjs").then((n) => n.t);
|
|
2409
2410
|
return jsonResult({ items: await new SchemaRegistry(ec.db).listCollections() });
|
|
2410
2411
|
} catch (error) {
|
|
2411
2412
|
return errorResult(error);
|
|
@@ -2421,7 +2422,7 @@ function createMcpServer(options = {}) {
|
|
|
2421
2422
|
requireRole(extra, Role.EDITOR);
|
|
2422
2423
|
const ec = getDineway(extra);
|
|
2423
2424
|
try {
|
|
2424
|
-
const { SchemaRegistry } = await import("../../../schema-
|
|
2425
|
+
const { SchemaRegistry } = await import("../../../schema-CD3EA3nN.mjs").then((n) => n.t);
|
|
2425
2426
|
const collection = await new SchemaRegistry(ec.db).getCollectionWithFields(args.slug);
|
|
2426
2427
|
if (!collection) return errorResult(`Collection '${args.slug}' not found`);
|
|
2427
2428
|
return jsonResult(collection);
|
|
@@ -2451,7 +2452,7 @@ function createMcpServer(options = {}) {
|
|
|
2451
2452
|
requireRole(extra, Role.ADMIN);
|
|
2452
2453
|
const ec = getDineway(extra);
|
|
2453
2454
|
try {
|
|
2454
|
-
const { SchemaRegistry } = await import("../../../schema-
|
|
2455
|
+
const { SchemaRegistry } = await import("../../../schema-CD3EA3nN.mjs").then((n) => n.t);
|
|
2455
2456
|
const collection = await new SchemaRegistry(ec.db).createCollection({
|
|
2456
2457
|
slug: args.slug,
|
|
2457
2458
|
label: args.label,
|
|
@@ -2515,7 +2516,7 @@ function createMcpServer(options = {}) {
|
|
|
2515
2516
|
request
|
|
2516
2517
|
});
|
|
2517
2518
|
}
|
|
2518
|
-
const { SchemaRegistry } = await import("../../../schema-
|
|
2519
|
+
const { SchemaRegistry } = await import("../../../schema-CD3EA3nN.mjs").then((n) => n.t);
|
|
2519
2520
|
await new SchemaRegistry(ec.db).deleteCollection(args.slug, { force: args.force });
|
|
2520
2521
|
ec.invalidateManifest();
|
|
2521
2522
|
await logSchemaActivity(ec.db, locals, {
|
|
@@ -2579,7 +2580,7 @@ function createMcpServer(options = {}) {
|
|
|
2579
2580
|
requireRole(extra, Role.ADMIN);
|
|
2580
2581
|
const ec = getDineway(extra);
|
|
2581
2582
|
try {
|
|
2582
|
-
const { SchemaRegistry } = await import("../../../schema-
|
|
2583
|
+
const { SchemaRegistry } = await import("../../../schema-CD3EA3nN.mjs").then((n) => n.t);
|
|
2583
2584
|
const field = await new SchemaRegistry(ec.db).createField(args.collection, {
|
|
2584
2585
|
slug: args.slug,
|
|
2585
2586
|
label: args.label,
|
|
@@ -2648,7 +2649,7 @@ function createMcpServer(options = {}) {
|
|
|
2648
2649
|
request
|
|
2649
2650
|
});
|
|
2650
2651
|
}
|
|
2651
|
-
const { SchemaRegistry } = await import("../../../schema-
|
|
2652
|
+
const { SchemaRegistry } = await import("../../../schema-CD3EA3nN.mjs").then((n) => n.t);
|
|
2652
2653
|
await new SchemaRegistry(ec.db).deleteField(args.collection, args.fieldSlug);
|
|
2653
2654
|
ec.invalidateManifest();
|
|
2654
2655
|
await logSchemaActivity(ec.db, locals, {
|
|
@@ -2781,7 +2782,7 @@ function createMcpServer(options = {}) {
|
|
|
2781
2782
|
requireScope(extra, "content:read");
|
|
2782
2783
|
const ec = getDineway(extra);
|
|
2783
2784
|
try {
|
|
2784
|
-
const { searchWithDb } = await import("../../../search-
|
|
2785
|
+
const { searchWithDb } = await import("../../../search-BtCHwx_Z.mjs").then((n) => n.t);
|
|
2785
2786
|
return jsonResult(await searchWithDb(ec.db, args.query, {
|
|
2786
2787
|
collections: args.collections,
|
|
2787
2788
|
locale: args.locale,
|
|
@@ -2807,7 +2808,7 @@ function createMcpServer(options = {}) {
|
|
|
2807
2808
|
requireScope(extra, "content:read");
|
|
2808
2809
|
const ec = getDineway(extra);
|
|
2809
2810
|
try {
|
|
2810
|
-
const { BylineRepository } = await import("../../../byline-
|
|
2811
|
+
const { BylineRepository } = await import("../../../byline-MGIfM2Is.mjs").then((n) => n.n);
|
|
2811
2812
|
return jsonResult(await new BylineRepository(ec.db).findMany({
|
|
2812
2813
|
search: args.search,
|
|
2813
2814
|
isGuest: args.isGuest,
|
|
@@ -2829,7 +2830,7 @@ function createMcpServer(options = {}) {
|
|
|
2829
2830
|
requireScope(extra, "content:read");
|
|
2830
2831
|
const ec = getDineway(extra);
|
|
2831
2832
|
try {
|
|
2832
|
-
const { BylineRepository } = await import("../../../byline-
|
|
2833
|
+
const { BylineRepository } = await import("../../../byline-MGIfM2Is.mjs").then((n) => n.n);
|
|
2833
2834
|
const byline = await new BylineRepository(ec.db).findById(args.id);
|
|
2834
2835
|
if (!byline) return errorResult(`Byline '${args.id}' not found`);
|
|
2835
2836
|
return jsonResult(byline);
|
|
@@ -2847,7 +2848,7 @@ function createMcpServer(options = {}) {
|
|
|
2847
2848
|
requireRole(extra, Role.EDITOR);
|
|
2848
2849
|
const ec = getDineway(extra);
|
|
2849
2850
|
try {
|
|
2850
|
-
const { handleBylineCreate } = await import("../../../bylines-
|
|
2851
|
+
const { handleBylineCreate } = await import("../../../bylines-t_uHsP44.mjs").then((n) => n.t);
|
|
2851
2852
|
const result = await handleBylineCreate(ec.db, args);
|
|
2852
2853
|
if (result.success) await invalidateBylines();
|
|
2853
2854
|
return unwrap(result);
|
|
@@ -2867,7 +2868,7 @@ function createMcpServer(options = {}) {
|
|
|
2867
2868
|
requireRole(extra, Role.EDITOR);
|
|
2868
2869
|
const ec = getDineway(extra);
|
|
2869
2870
|
try {
|
|
2870
|
-
const { handleBylineUpdate } = await import("../../../bylines-
|
|
2871
|
+
const { handleBylineUpdate } = await import("../../../bylines-t_uHsP44.mjs").then((n) => n.t);
|
|
2871
2872
|
const { id, ...input } = args;
|
|
2872
2873
|
const result = await handleBylineUpdate(ec.db, id, input);
|
|
2873
2874
|
if (result.success) await invalidateBylines();
|
|
@@ -2886,7 +2887,7 @@ function createMcpServer(options = {}) {
|
|
|
2886
2887
|
requireRole(extra, Role.EDITOR);
|
|
2887
2888
|
const ec = getDineway(extra);
|
|
2888
2889
|
try {
|
|
2889
|
-
const { BylineRepository } = await import("../../../byline-
|
|
2890
|
+
const { BylineRepository } = await import("../../../byline-MGIfM2Is.mjs").then((n) => n.n);
|
|
2890
2891
|
if (!await new BylineRepository(ec.db).delete(args.id)) return errorResult(`Byline '${args.id}' not found`);
|
|
2891
2892
|
await invalidateBylines();
|
|
2892
2893
|
return jsonResult({ deleted: args.id });
|
|
@@ -2903,7 +2904,7 @@ function createMcpServer(options = {}) {
|
|
|
2903
2904
|
requireScope(extra, "content:read");
|
|
2904
2905
|
const ec = getDineway(extra);
|
|
2905
2906
|
try {
|
|
2906
|
-
const { handleBylineTranslations } = await import("../../../bylines-
|
|
2907
|
+
const { handleBylineTranslations } = await import("../../../bylines-t_uHsP44.mjs").then((n) => n.t);
|
|
2907
2908
|
return unwrap(await handleBylineTranslations(ec.db, args.id));
|
|
2908
2909
|
} catch (error) {
|
|
2909
2910
|
return errorResult(error);
|
|
@@ -2918,7 +2919,7 @@ function createMcpServer(options = {}) {
|
|
|
2918
2919
|
requireScope(extra, "content:read");
|
|
2919
2920
|
const ec = getDineway(extra);
|
|
2920
2921
|
try {
|
|
2921
|
-
const { handleTaxonomyList } = await import("../../../taxonomies-
|
|
2922
|
+
const { handleTaxonomyList } = await import("../../../taxonomies-DxtqEjcj.mjs").then((n) => n.l);
|
|
2922
2923
|
return unwrap(await handleTaxonomyList(ec.db, { locale: args.locale }));
|
|
2923
2924
|
} catch (error) {
|
|
2924
2925
|
return errorResult(error);
|
|
@@ -2938,11 +2939,11 @@ function createMcpServer(options = {}) {
|
|
|
2938
2939
|
requireScope(extra, "content:read");
|
|
2939
2940
|
const ec = getDineway(extra);
|
|
2940
2941
|
try {
|
|
2941
|
-
const { handleTaxonomyList } = await import("../../../taxonomies-
|
|
2942
|
+
const { handleTaxonomyList } = await import("../../../taxonomies-DxtqEjcj.mjs").then((n) => n.l);
|
|
2942
2943
|
const listResult = await handleTaxonomyList(ec.db, { locale: args.locale });
|
|
2943
2944
|
if (!listResult.success) return unwrap(listResult);
|
|
2944
2945
|
if (!listResult.data.taxonomies.find((t) => t.name === args.taxonomy)) return errorResult(`Taxonomy '${args.taxonomy}' not found`);
|
|
2945
|
-
const { TaxonomyRepository } = await import("../../../taxonomy
|
|
2946
|
+
const { TaxonomyRepository } = await import("../../../taxonomy--vcXXfwc.mjs").then((n) => n.n);
|
|
2946
2947
|
const { decodeCursor, encodeCursor } = await import("../../../types-CFvpEEOl.mjs").then((n) => n.a);
|
|
2947
2948
|
const repo = new TaxonomyRepository(ec.db);
|
|
2948
2949
|
const limit = Math.min(args.limit ?? 50, 100);
|
|
@@ -2992,7 +2993,7 @@ function createMcpServer(options = {}) {
|
|
|
2992
2993
|
requireRole(extra, Role.EDITOR);
|
|
2993
2994
|
const ec = getDineway(extra);
|
|
2994
2995
|
try {
|
|
2995
|
-
const { handleTermCreate } = await import("../../../taxonomies-
|
|
2996
|
+
const { handleTermCreate } = await import("../../../taxonomies-DxtqEjcj.mjs").then((n) => n.l);
|
|
2996
2997
|
return unwrap(await handleTermCreate(ec.db, args.taxonomy, {
|
|
2997
2998
|
slug: args.slug,
|
|
2998
2999
|
label: args.label,
|
|
@@ -3022,7 +3023,7 @@ function createMcpServer(options = {}) {
|
|
|
3022
3023
|
requireRole(extra, Role.EDITOR);
|
|
3023
3024
|
const ec = getDineway(extra);
|
|
3024
3025
|
try {
|
|
3025
|
-
const { handleTermUpdate } = await import("../../../taxonomies-
|
|
3026
|
+
const { handleTermUpdate } = await import("../../../taxonomies-DxtqEjcj.mjs").then((n) => n.l);
|
|
3026
3027
|
return unwrap(await handleTermUpdate(ec.db, args.taxonomy, args.termSlug, {
|
|
3027
3028
|
slug: args.slug,
|
|
3028
3029
|
label: args.label,
|
|
@@ -3047,7 +3048,7 @@ function createMcpServer(options = {}) {
|
|
|
3047
3048
|
requireRole(extra, Role.EDITOR);
|
|
3048
3049
|
const ec = getDineway(extra);
|
|
3049
3050
|
try {
|
|
3050
|
-
const { handleTermDelete } = await import("../../../taxonomies-
|
|
3051
|
+
const { handleTermDelete } = await import("../../../taxonomies-DxtqEjcj.mjs").then((n) => n.l);
|
|
3051
3052
|
return unwrap(await handleTermDelete(ec.db, args.taxonomy, args.termSlug, { locale: args.locale }));
|
|
3052
3053
|
} catch (error) {
|
|
3053
3054
|
return errorResult(error);
|
|
@@ -3062,7 +3063,7 @@ function createMcpServer(options = {}) {
|
|
|
3062
3063
|
requireScope(extra, "content:read");
|
|
3063
3064
|
const ec = getDineway(extra);
|
|
3064
3065
|
try {
|
|
3065
|
-
const { handleTermTranslations } = await import("../../../taxonomies-
|
|
3066
|
+
const { handleTermTranslations } = await import("../../../taxonomies-DxtqEjcj.mjs").then((n) => n.l);
|
|
3066
3067
|
return unwrap(await handleTermTranslations(ec.db, args.id));
|
|
3067
3068
|
} catch (error) {
|
|
3068
3069
|
return errorResult(error);
|
|
@@ -3077,7 +3078,7 @@ function createMcpServer(options = {}) {
|
|
|
3077
3078
|
requireScope(extra, "content:read");
|
|
3078
3079
|
const ec = getDineway(extra);
|
|
3079
3080
|
try {
|
|
3080
|
-
const { handleMenuList } = await import("../../../menus-
|
|
3081
|
+
const { handleMenuList } = await import("../../../menus-CRmcWAM5.mjs").then((n) => n.d);
|
|
3081
3082
|
return unwrap(await handleMenuList(ec.db, { locale: args.locale }));
|
|
3082
3083
|
} catch (error) {
|
|
3083
3084
|
return errorResult(error);
|
|
@@ -3095,7 +3096,7 @@ function createMcpServer(options = {}) {
|
|
|
3095
3096
|
requireScope(extra, "content:read");
|
|
3096
3097
|
const ec = getDineway(extra);
|
|
3097
3098
|
try {
|
|
3098
|
-
const { handleMenuGet } = await import("../../../menus-
|
|
3099
|
+
const { handleMenuGet } = await import("../../../menus-CRmcWAM5.mjs").then((n) => n.d);
|
|
3099
3100
|
return unwrap(await handleMenuGet(ec.db, args.name, { locale: args.locale }));
|
|
3100
3101
|
} catch (error) {
|
|
3101
3102
|
return errorResult(error);
|
|
@@ -3110,7 +3111,7 @@ function createMcpServer(options = {}) {
|
|
|
3110
3111
|
requireScope(extra, "content:read");
|
|
3111
3112
|
const ec = getDineway(extra);
|
|
3112
3113
|
try {
|
|
3113
|
-
const { handleMenuTranslations } = await import("../../../menus-
|
|
3114
|
+
const { handleMenuTranslations } = await import("../../../menus-CRmcWAM5.mjs").then((n) => n.d);
|
|
3114
3115
|
return unwrap(await handleMenuTranslations(ec.db, args.id));
|
|
3115
3116
|
} catch (error) {
|
|
3116
3117
|
return errorResult(error);
|
|
@@ -3130,7 +3131,7 @@ function createMcpServer(options = {}) {
|
|
|
3130
3131
|
requireRole(extra, Role.EDITOR);
|
|
3131
3132
|
const ec = getDineway(extra);
|
|
3132
3133
|
try {
|
|
3133
|
-
const { handleMenuCreate } = await import("../../../menus-
|
|
3134
|
+
const { handleMenuCreate } = await import("../../../menus-CRmcWAM5.mjs").then((n) => n.d);
|
|
3134
3135
|
return unwrap(await handleMenuCreate(ec.db, {
|
|
3135
3136
|
name: args.name,
|
|
3136
3137
|
label: args.label,
|
|
@@ -3154,7 +3155,7 @@ function createMcpServer(options = {}) {
|
|
|
3154
3155
|
requireRole(extra, Role.EDITOR);
|
|
3155
3156
|
const ec = getDineway(extra);
|
|
3156
3157
|
try {
|
|
3157
|
-
const { handleMenuUpdate } = await import("../../../menus-
|
|
3158
|
+
const { handleMenuUpdate } = await import("../../../menus-CRmcWAM5.mjs").then((n) => n.d);
|
|
3158
3159
|
return unwrap(await handleMenuUpdate(ec.db, args.name, {
|
|
3159
3160
|
label: args.label,
|
|
3160
3161
|
locale: args.locale
|
|
@@ -3176,7 +3177,7 @@ function createMcpServer(options = {}) {
|
|
|
3176
3177
|
requireRole(extra, Role.EDITOR);
|
|
3177
3178
|
const ec = getDineway(extra);
|
|
3178
3179
|
try {
|
|
3179
|
-
const { handleMenuDelete } = await import("../../../menus-
|
|
3180
|
+
const { handleMenuDelete } = await import("../../../menus-CRmcWAM5.mjs").then((n) => n.d);
|
|
3180
3181
|
return unwrap(await handleMenuDelete(ec.db, args.name, { locale: args.locale }));
|
|
3181
3182
|
} catch (error) {
|
|
3182
3183
|
return errorResult(error);
|
|
@@ -3211,7 +3212,7 @@ function createMcpServer(options = {}) {
|
|
|
3211
3212
|
requireRole(extra, Role.EDITOR);
|
|
3212
3213
|
const ec = getDineway(extra);
|
|
3213
3214
|
try {
|
|
3214
|
-
const { handleMenuSetItems } = await import("../../../menus-
|
|
3215
|
+
const { handleMenuSetItems } = await import("../../../menus-CRmcWAM5.mjs").then((n) => n.d);
|
|
3215
3216
|
return unwrap(await handleMenuSetItems(ec.db, args.name, args.items, { locale: args.locale }));
|
|
3216
3217
|
} catch (error) {
|
|
3217
3218
|
return errorResult(error);
|
|
@@ -3258,7 +3259,7 @@ function createMcpServer(options = {}) {
|
|
|
3258
3259
|
requireRole(extra, Role.ADMIN);
|
|
3259
3260
|
const ec = getDineway(extra);
|
|
3260
3261
|
try {
|
|
3261
|
-
const { handleSettingsGet } = await import("../../../settings-
|
|
3262
|
+
const { handleSettingsGet } = await import("../../../settings-COtVNdOx.mjs").then((n) => n.r);
|
|
3262
3263
|
return unwrap(await handleSettingsGet(ec.db, ec.storage));
|
|
3263
3264
|
} catch (error) {
|
|
3264
3265
|
return errorResult(error);
|
|
@@ -3295,7 +3296,7 @@ function createMcpServer(options = {}) {
|
|
|
3295
3296
|
request
|
|
3296
3297
|
});
|
|
3297
3298
|
}
|
|
3298
|
-
const { handleSettingsUpdate } = await import("../../../settings-
|
|
3299
|
+
const { handleSettingsUpdate } = await import("../../../settings-COtVNdOx.mjs").then((n) => n.r);
|
|
3299
3300
|
const result = await handleSettingsUpdate(ec.db, ec.storage, settingsInput);
|
|
3300
3301
|
if (!result.success) return unwrap(result);
|
|
3301
3302
|
await logSiteActivitySafely(ec.db, locals, {
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import "../../../../../base64-F8-DUraK.mjs";
|
|
2
2
|
import "../../../../../types-CFvpEEOl.mjs";
|
|
3
|
-
import { t as MediaRepository } from "../../../../../media-
|
|
4
|
-
import { t as enrichImageMetadata } from "../../../../../enrich-
|
|
5
|
-
import "../../../../../context-types-
|
|
6
|
-
import "../../../../../public-discovery-
|
|
7
|
-
import { n as apiSuccess, r as handleError, t as apiError } from "../../../../../error-
|
|
8
|
-
import { r as parseOptionalBody, t as isParseError } from "../../../../../parse-
|
|
9
|
-
import { Bt as mediaConfirmBody } from "../../../../../redirects-
|
|
10
|
-
import "../../../../../byline-fields-
|
|
11
|
-
import "../../../../../status-
|
|
3
|
+
import { t as MediaRepository } from "../../../../../media-4xtXwq7L.mjs";
|
|
4
|
+
import { t as enrichImageMetadata } from "../../../../../enrich-Uw_OA9Ve.mjs";
|
|
5
|
+
import "../../../../../context-types-fEeyXC1D.mjs";
|
|
6
|
+
import "../../../../../public-discovery-CyDzK1-S.mjs";
|
|
7
|
+
import { n as apiSuccess, r as handleError, t as apiError } from "../../../../../error-BPA9T0AW.mjs";
|
|
8
|
+
import { r as parseOptionalBody, t as isParseError } from "../../../../../parse-CJC9DGe9.mjs";
|
|
9
|
+
import { Bt as mediaConfirmBody } from "../../../../../redirects-C9pg6Dcg.mjs";
|
|
10
|
+
import "../../../../../byline-fields-C4OeOttq.mjs";
|
|
11
|
+
import "../../../../../status-BdZSXIP_.mjs";
|
|
12
12
|
import "../../../../../api/schemas/index.mjs";
|
|
13
|
-
import { n as requirePerm, t as requireOwnerPerm } from "../../../../../authorize-
|
|
13
|
+
import { n as requirePerm, t as requireOwnerPerm } from "../../../../../authorize-Dg75h4BN.mjs";
|
|
14
14
|
|
|
15
15
|
//#region src/astro/routes/api/media/[id]/confirm.ts
|
|
16
16
|
const prerender = false;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import "../../../../context-types-
|
|
2
|
-
import "../../../../public-discovery-
|
|
3
|
-
import { t as addInternalMediaUrl } from "../../../../url-
|
|
4
|
-
import { a as unwrapResult, n as apiSuccess, r as handleError, t as apiError } from "../../../../error-
|
|
5
|
-
import { n as parseBody, t as isParseError } from "../../../../parse-
|
|
6
|
-
import { Jt as mediaUpdateBody } from "../../../../redirects-
|
|
7
|
-
import "../../../../byline-fields-
|
|
8
|
-
import "../../../../status-
|
|
1
|
+
import "../../../../context-types-fEeyXC1D.mjs";
|
|
2
|
+
import "../../../../public-discovery-CyDzK1-S.mjs";
|
|
3
|
+
import { t as addInternalMediaUrl } from "../../../../url-C_pLSrGZ.mjs";
|
|
4
|
+
import { a as unwrapResult, n as apiSuccess, r as handleError, t as apiError } from "../../../../error-BPA9T0AW.mjs";
|
|
5
|
+
import { n as parseBody, t as isParseError } from "../../../../parse-CJC9DGe9.mjs";
|
|
6
|
+
import { Jt as mediaUpdateBody } from "../../../../redirects-C9pg6Dcg.mjs";
|
|
7
|
+
import "../../../../byline-fields-C4OeOttq.mjs";
|
|
8
|
+
import "../../../../status-BdZSXIP_.mjs";
|
|
9
9
|
import "../../../../api/schemas/index.mjs";
|
|
10
|
-
import { n as requirePerm, t as requireOwnerPerm } from "../../../../authorize-
|
|
10
|
+
import { n as requirePerm, t as requireOwnerPerm } from "../../../../authorize-Dg75h4BN.mjs";
|
|
11
11
|
|
|
12
12
|
//#region src/astro/routes/api/media/[id].ts
|
|
13
13
|
const prerender = false;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as apiSuccess, r as handleError, t as apiError } from "../../../../../../error-
|
|
2
|
-
import { n as requirePerm } from "../../../../../../authorize-
|
|
1
|
+
import { n as apiSuccess, r as handleError, t as apiError } from "../../../../../../error-BPA9T0AW.mjs";
|
|
2
|
+
import { n as requirePerm } from "../../../../../../authorize-Dg75h4BN.mjs";
|
|
3
3
|
|
|
4
4
|
//#region src/astro/routes/api/media/providers/[providerId]/[itemId].ts
|
|
5
5
|
const prerender = false;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as apiSuccess, r as handleError, t as apiError } from "../../../../../../error-
|
|
2
|
-
import { n as requirePerm } from "../../../../../../authorize-
|
|
1
|
+
import { n as apiSuccess, r as handleError, t as apiError } from "../../../../../../error-BPA9T0AW.mjs";
|
|
2
|
+
import { n as requirePerm } from "../../../../../../authorize-Dg75h4BN.mjs";
|
|
3
3
|
|
|
4
4
|
//#region src/astro/routes/api/media/providers/[providerId]/index.ts
|
|
5
5
|
const prerender = false;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as apiSuccess, t as apiError } from "../../../../../error-
|
|
2
|
-
import { n as requirePerm } from "../../../../../authorize-
|
|
1
|
+
import { n as apiSuccess, t as apiError } from "../../../../../error-BPA9T0AW.mjs";
|
|
2
|
+
import { n as requirePerm } from "../../../../../authorize-Dg75h4BN.mjs";
|
|
3
3
|
|
|
4
4
|
//#region src/astro/routes/api/media/providers/index.ts
|
|
5
5
|
const prerender = false;
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import "../../../../base64-F8-DUraK.mjs";
|
|
2
2
|
import "../../../../types-CFvpEEOl.mjs";
|
|
3
|
-
import { t as MediaRepository } from "../../../../media-
|
|
4
|
-
import { n as normalizeMime, t as matchesMimeAllowlist } from "../../../../mime-
|
|
5
|
-
import "../../../../context-types-
|
|
6
|
-
import "../../../../public-discovery-
|
|
7
|
-
import { n as apiSuccess, r as handleError, t as apiError } from "../../../../error-
|
|
8
|
-
import { n as parseBody, t as isParseError } from "../../../../parse-
|
|
9
|
-
import { Rt as DEFAULT_MAX_UPLOAD_SIZE, Yt as mediaUploadUrlBody } from "../../../../redirects-
|
|
10
|
-
import "../../../../byline-fields-
|
|
11
|
-
import "../../../../status-
|
|
3
|
+
import { t as MediaRepository } from "../../../../media-4xtXwq7L.mjs";
|
|
4
|
+
import { n as normalizeMime, t as matchesMimeAllowlist } from "../../../../mime-Bg7yUeHW.mjs";
|
|
5
|
+
import "../../../../context-types-fEeyXC1D.mjs";
|
|
6
|
+
import "../../../../public-discovery-CyDzK1-S.mjs";
|
|
7
|
+
import { n as apiSuccess, r as handleError, t as apiError } from "../../../../error-BPA9T0AW.mjs";
|
|
8
|
+
import { n as parseBody, t as isParseError } from "../../../../parse-CJC9DGe9.mjs";
|
|
9
|
+
import { Rt as DEFAULT_MAX_UPLOAD_SIZE, Yt as mediaUploadUrlBody } from "../../../../redirects-C9pg6Dcg.mjs";
|
|
10
|
+
import "../../../../byline-fields-C4OeOttq.mjs";
|
|
11
|
+
import "../../../../status-BdZSXIP_.mjs";
|
|
12
12
|
import "../../../../api/schemas/index.mjs";
|
|
13
|
-
import { n as requirePerm } from "../../../../authorize-
|
|
14
|
-
import { n as resolveFieldAllowlist, t as GLOBAL_UPLOAD_ALLOWLIST } from "../../../../media-allowlist-
|
|
13
|
+
import { n as requirePerm } from "../../../../authorize-Dg75h4BN.mjs";
|
|
14
|
+
import { n as resolveFieldAllowlist, t as GLOBAL_UPLOAD_ALLOWLIST } from "../../../../media-allowlist-BdbIzYO3.mjs";
|
|
15
15
|
import { ulid } from "ulidx";
|
|
16
16
|
import * as path from "node:path";
|
|
17
17
|
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import "../../../base64-F8-DUraK.mjs";
|
|
2
2
|
import "../../../types-CFvpEEOl.mjs";
|
|
3
|
-
import { t as MediaRepository } from "../../../media-
|
|
4
|
-
import { n as normalizeMime, t as matchesMimeAllowlist } from "../../../mime-
|
|
5
|
-
import { t as enrichImageMetadata } from "../../../enrich-
|
|
6
|
-
import "../../../context-types-
|
|
7
|
-
import { t as computeContentHash } from "../../../hash-
|
|
8
|
-
import "../../../public-discovery-
|
|
9
|
-
import { t as addInternalMediaUrl } from "../../../url-
|
|
10
|
-
import { a as unwrapResult, n as apiSuccess, r as handleError, t as apiError } from "../../../error-
|
|
11
|
-
import { i as parseQuery, t as isParseError } from "../../../parse-
|
|
12
|
-
import { Rt as DEFAULT_MAX_UPLOAD_SIZE, Wt as mediaListQuery, zt as formatFileSize } from "../../../redirects-
|
|
13
|
-
import "../../../byline-fields-
|
|
14
|
-
import "../../../status-
|
|
3
|
+
import { t as MediaRepository } from "../../../media-4xtXwq7L.mjs";
|
|
4
|
+
import { n as normalizeMime, t as matchesMimeAllowlist } from "../../../mime-Bg7yUeHW.mjs";
|
|
5
|
+
import { t as enrichImageMetadata } from "../../../enrich-Uw_OA9Ve.mjs";
|
|
6
|
+
import "../../../context-types-fEeyXC1D.mjs";
|
|
7
|
+
import { t as computeContentHash } from "../../../hash-CEky-IDp.mjs";
|
|
8
|
+
import "../../../public-discovery-CyDzK1-S.mjs";
|
|
9
|
+
import { t as addInternalMediaUrl } from "../../../url-C_pLSrGZ.mjs";
|
|
10
|
+
import { a as unwrapResult, n as apiSuccess, r as handleError, t as apiError } from "../../../error-BPA9T0AW.mjs";
|
|
11
|
+
import { i as parseQuery, t as isParseError } from "../../../parse-CJC9DGe9.mjs";
|
|
12
|
+
import { Rt as DEFAULT_MAX_UPLOAD_SIZE, Wt as mediaListQuery, zt as formatFileSize } from "../../../redirects-C9pg6Dcg.mjs";
|
|
13
|
+
import "../../../byline-fields-C4OeOttq.mjs";
|
|
14
|
+
import "../../../status-BdZSXIP_.mjs";
|
|
15
15
|
import "../../../api/schemas/index.mjs";
|
|
16
|
-
import { n as requirePerm } from "../../../authorize-
|
|
17
|
-
import { n as resolveFieldAllowlist, t as GLOBAL_UPLOAD_ALLOWLIST } from "../../../media-allowlist-
|
|
16
|
+
import { n as requirePerm } from "../../../authorize-Dg75h4BN.mjs";
|
|
17
|
+
import { n as resolveFieldAllowlist, t as GLOBAL_UPLOAD_ALLOWLIST } from "../../../media-allowlist-BdbIzYO3.mjs";
|
|
18
18
|
import { ulid } from "ulidx";
|
|
19
19
|
import * as path from "node:path";
|
|
20
20
|
|
|
@@ -3,37 +3,38 @@ import "../../../../../../base64-F8-DUraK.mjs";
|
|
|
3
3
|
import "../../../../../../types-CFvpEEOl.mjs";
|
|
4
4
|
import "../../../../../../loader-CsX5pTud.mjs";
|
|
5
5
|
import "../../../../../../object-cache-D51qOseS.mjs";
|
|
6
|
-
import "../../../../../../
|
|
7
|
-
import "../../../../../../
|
|
8
|
-
import "../../../../../../
|
|
9
|
-
import "../../../../../../
|
|
10
|
-
import "../../../../../../
|
|
11
|
-
import "../../../../../../
|
|
12
|
-
import
|
|
13
|
-
import {
|
|
14
|
-
import "../../../../../../
|
|
15
|
-
import "../../../../../../
|
|
16
|
-
import "../../../../../../
|
|
17
|
-
import "../../../../../../
|
|
18
|
-
import "../../../../../../
|
|
19
|
-
import "../../../../../../
|
|
20
|
-
import "../../../../../../
|
|
21
|
-
import "../../../../../../
|
|
22
|
-
import "../../../../../../
|
|
23
|
-
import "../../../../../../
|
|
24
|
-
import "../../../../../../
|
|
25
|
-
import
|
|
26
|
-
import {
|
|
27
|
-
import {
|
|
28
|
-
import "../../../../../../
|
|
29
|
-
import "../../../../../../
|
|
6
|
+
import "../../../../../../revision-De7OmYVD.mjs";
|
|
7
|
+
import "../../../../../../content-CzUrmMC3.mjs";
|
|
8
|
+
import "../../../../../../media-4xtXwq7L.mjs";
|
|
9
|
+
import "../../../../../../options-1dBRkoCl.mjs";
|
|
10
|
+
import "../../../../../../site-activity-kfZ9X0no.mjs";
|
|
11
|
+
import "../../../../../../review-requests-DaYnr3XR.mjs";
|
|
12
|
+
import "../../../../../../publication-authorization-Bq4B0KIL.mjs";
|
|
13
|
+
import { g as RiskPolicyEvaluator, l as MenuHitlPayloadBuilder } from "../../../../../../site-context-D2DmqFnD.mjs";
|
|
14
|
+
import { a as handleMenuItemDelete, s as handleMenuItemUpdate } from "../../../../../../menus-CRmcWAM5.mjs";
|
|
15
|
+
import "../../../../../../request-cache-DoT2mKBT.mjs";
|
|
16
|
+
import "../../../../../../briefing-Cd2HhhHi.mjs";
|
|
17
|
+
import "../../../../../../context-types-fEeyXC1D.mjs";
|
|
18
|
+
import "../../../../../../content-refresh-C_jcjzOr.mjs";
|
|
19
|
+
import "../../../../../../fts-manager-BB44uXMm.mjs";
|
|
20
|
+
import "../../../../../../public-discovery-CyDzK1-S.mjs";
|
|
21
|
+
import "../../../../../../registry-QxrUJAWY.mjs";
|
|
22
|
+
import "../../../../../../settings-CCqefqC9.mjs";
|
|
23
|
+
import "../../../../../../query-MvFwA1uK.mjs";
|
|
24
|
+
import "../../../../../../zod-generator-DMlY4cI3.mjs";
|
|
25
|
+
import "../../../../../../schema-CD3EA3nN.mjs";
|
|
26
|
+
import { a as unwrapResult, r as handleError, t as apiError } from "../../../../../../error-BPA9T0AW.mjs";
|
|
27
|
+
import { i as parseQuery, n as parseBody, t as isParseError } from "../../../../../../parse-CJC9DGe9.mjs";
|
|
28
|
+
import { Fn as localeFilterQuery, lt as updateMenuItemBody } from "../../../../../../redirects-C9pg6Dcg.mjs";
|
|
29
|
+
import "../../../../../../byline-fields-C4OeOttq.mjs";
|
|
30
|
+
import "../../../../../../status-BdZSXIP_.mjs";
|
|
30
31
|
import "../../../../../../api/schemas/index.mjs";
|
|
31
|
-
import "../../../../../../activity-
|
|
32
|
-
import { _ as menuApiRouteSource, c as logMenuActivity } from "../../../../../../activity-events-
|
|
33
|
-
import "../../../../../../utils-
|
|
34
|
-
import "../../../../../../search-
|
|
35
|
-
import { n as requirePerm } from "../../../../../../authorize-
|
|
36
|
-
import { i as resolveHitlRouteActor, n as hitlRequiredRouteError, t as ensureWorkflowHitlRouteRequest } from "../../../../../../hitl-route-helpers-
|
|
32
|
+
import "../../../../../../activity-DWlF3FUa.mjs";
|
|
33
|
+
import { _ as menuApiRouteSource, c as logMenuActivity } from "../../../../../../activity-events-BYksOnTL.mjs";
|
|
34
|
+
import "../../../../../../utils-iGiCys50.mjs";
|
|
35
|
+
import "../../../../../../search-BtCHwx_Z.mjs";
|
|
36
|
+
import { n as requirePerm } from "../../../../../../authorize-Dg75h4BN.mjs";
|
|
37
|
+
import { i as resolveHitlRouteActor, n as hitlRequiredRouteError, t as ensureWorkflowHitlRouteRequest } from "../../../../../../hitl-route-helpers-BasbaWwG.mjs";
|
|
37
38
|
import { z } from "zod";
|
|
38
39
|
|
|
39
40
|
//#region src/astro/routes/api/menus/[name]/items/[id].ts
|