dineway 0.2.25 → 0.2.26
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{activity-Bm5x0dik.mjs → activity-C6JLcUzM.mjs} +2 -2
- package/dist/{activity-events-DpvhcjTP.mjs → activity-events-u9wIH8CQ.mjs} +1 -1
- package/dist/{allowed-origins-M5Rcl6XL.mjs → allowed-origins-CjTNO3cD.mjs} +1 -1
- package/dist/api/route-utils.d.mts +10 -10
- package/dist/api/route-utils.mjs +13 -13
- package/dist/api/schemas/index.d.mts +1 -1
- package/dist/api/schemas/index.mjs +4 -3
- package/dist/{api-Cod3v4JU.mjs → api-COtLcrtJ.mjs} +16 -16
- package/dist/{api-tokens-BFgXg0l2.mjs → api-tokens-CI5sgE1g.mjs} +1 -1
- package/dist/{apply-Hodkn7PL.mjs → apply-DNy1dp8W.mjs} +20 -18
- package/dist/astro/index.d.mts +11 -11
- package/dist/astro/index.mjs +3 -3
- package/dist/astro/middleware/auth.d.mts +9 -9
- package/dist/astro/middleware/auth.mjs +6 -6
- package/dist/astro/middleware/redirect.mjs +5 -5
- package/dist/astro/middleware/request-context.mjs +2 -2
- package/dist/astro/middleware/seed.d.mts +1 -1
- package/dist/astro/middleware/seed.mjs +1 -1
- package/dist/astro/middleware/setup.mjs +1 -1
- package/dist/astro/middleware.mjs +193 -82
- package/dist/astro/routes/api/admin/allowed-domains/_domain_.mjs +6 -5
- package/dist/astro/routes/api/admin/allowed-domains/index.mjs +6 -5
- package/dist/astro/routes/api/admin/api-tokens/_id_.mjs +4 -4
- package/dist/astro/routes/api/admin/api-tokens/index.mjs +6 -6
- package/dist/astro/routes/api/admin/briefing.mjs +17 -16
- package/dist/astro/routes/api/admin/byline-fields/_slug_/usage.mjs +3 -3
- package/dist/astro/routes/api/admin/byline-fields/_slug_.mjs +8 -7
- package/dist/astro/routes/api/admin/byline-fields/index.mjs +8 -7
- package/dist/astro/routes/api/admin/byline-fields/reorder.mjs +8 -7
- package/dist/astro/routes/api/admin/bylines/_id_/index.mjs +14 -13
- package/dist/astro/routes/api/admin/bylines/_id_/translations.mjs +14 -13
- package/dist/astro/routes/api/admin/bylines/index.mjs +14 -13
- package/dist/astro/routes/api/admin/comments/_id_/status.mjs +12 -11
- package/dist/astro/routes/api/admin/comments/_id_.mjs +5 -5
- package/dist/astro/routes/api/admin/comments/bulk.mjs +10 -9
- package/dist/astro/routes/api/admin/comments/counts.mjs +5 -5
- package/dist/astro/routes/api/admin/comments/index.mjs +10 -9
- package/dist/astro/routes/api/admin/context/_id_/history.mjs +24 -23
- package/dist/astro/routes/api/admin/context/_id_/index.mjs +24 -23
- package/dist/astro/routes/api/admin/context/_id_/review.mjs +29 -28
- package/dist/astro/routes/api/admin/context/_id_/supersede.mjs +29 -28
- package/dist/astro/routes/api/admin/context/diff.mjs +28 -27
- package/dist/astro/routes/api/admin/context/index.mjs +29 -28
- package/dist/astro/routes/api/admin/context/stale.mjs +28 -27
- package/dist/astro/routes/api/admin/hitl-requests/_id_/index.mjs +24 -23
- package/dist/astro/routes/api/admin/hitl-requests/_id_/resolve.mjs +28 -27
- package/dist/astro/routes/api/admin/hitl-requests/index.mjs +28 -27
- package/dist/astro/routes/api/admin/hooks/exclusive/_hookName_.mjs +25 -24
- package/dist/astro/routes/api/admin/hooks/exclusive/index.mjs +2 -2
- package/dist/astro/routes/api/admin/oauth-clients/_id_.mjs +6 -6
- package/dist/astro/routes/api/admin/oauth-clients/index.mjs +6 -6
- package/dist/astro/routes/api/admin/plugins/_id_/disable.mjs +54 -53
- package/dist/astro/routes/api/admin/plugins/_id_/enable.mjs +54 -53
- package/dist/astro/routes/api/admin/plugins/_id_/index.mjs +46 -45
- package/dist/astro/routes/api/admin/plugins/_id_/uninstall.mjs +53 -52
- package/dist/astro/routes/api/admin/plugins/_id_/update.mjs +53 -52
- package/dist/astro/routes/api/admin/plugins/index.mjs +46 -45
- package/dist/astro/routes/api/admin/plugins/marketplace/_id_/icon.mjs +2 -2
- package/dist/astro/routes/api/admin/plugins/marketplace/_id_/index.mjs +46 -45
- package/dist/astro/routes/api/admin/plugins/marketplace/_id_/install.mjs +53 -52
- package/dist/astro/routes/api/admin/plugins/marketplace/index.mjs +46 -45
- package/dist/astro/routes/api/admin/plugins/updates.mjs +46 -45
- package/dist/astro/routes/api/admin/review-requests/_id_/index.mjs +5 -5
- package/dist/astro/routes/api/admin/review-requests/_id_/resolve.mjs +29 -28
- package/dist/astro/routes/api/admin/review-requests/index.mjs +29 -28
- package/dist/astro/routes/api/admin/themes/marketplace/_id_/index.mjs +46 -45
- package/dist/astro/routes/api/admin/themes/marketplace/_id_/thumbnail.mjs +2 -2
- package/dist/astro/routes/api/admin/themes/marketplace/index.mjs +46 -45
- package/dist/astro/routes/api/admin/users/_id_/disable.mjs +1 -1
- package/dist/astro/routes/api/admin/users/_id_/enable.mjs +1 -1
- package/dist/astro/routes/api/admin/users/_id_/index.mjs +6 -5
- package/dist/astro/routes/api/admin/users/_id_/send-recovery.mjs +2 -2
- package/dist/astro/routes/api/admin/users/index.mjs +6 -5
- package/dist/astro/routes/api/auth/dev-bypass.mjs +4 -4
- package/dist/astro/routes/api/auth/invite/accept.mjs +1 -1
- package/dist/astro/routes/api/auth/invite/complete.mjs +10 -9
- package/dist/astro/routes/api/auth/invite/index.mjs +7 -6
- package/dist/astro/routes/api/auth/invite/register-options.mjs +9 -8
- package/dist/astro/routes/api/auth/logout.mjs +2 -2
- package/dist/astro/routes/api/auth/magic-link/send.mjs +9 -8
- package/dist/astro/routes/api/auth/magic-link/verify.mjs +2 -2
- package/dist/astro/routes/api/auth/me.mjs +8 -7
- package/dist/astro/routes/api/auth/mode.mjs +1 -1
- package/dist/astro/routes/api/auth/oauth/_provider_/callback.mjs +2 -2
- package/dist/astro/routes/api/auth/oauth/_provider_.mjs +2 -2
- package/dist/astro/routes/api/auth/passkey/_id_.mjs +6 -5
- package/dist/astro/routes/api/auth/passkey/index.mjs +1 -1
- package/dist/astro/routes/api/auth/passkey/options.mjs +11 -10
- package/dist/astro/routes/api/auth/passkey/register/options.mjs +9 -8
- package/dist/astro/routes/api/auth/passkey/register/verify.mjs +10 -9
- package/dist/astro/routes/api/auth/passkey/verify.mjs +10 -9
- package/dist/astro/routes/api/auth/setup-token/index.mjs +5 -5
- package/dist/astro/routes/api/auth/setup-token/verify.mjs +2 -2
- package/dist/astro/routes/api/auth/signup/complete.mjs +10 -9
- package/dist/astro/routes/api/auth/signup/request.mjs +9 -8
- package/dist/astro/routes/api/auth/signup/verify.mjs +1 -1
- package/dist/astro/routes/api/comments/_collection_/_contentId_/index.mjs +13 -12
- package/dist/astro/routes/api/comments/_collection_/_contentId_/reactions.mjs +12 -11
- package/dist/astro/routes/api/content/_collection_/_id_/compare.mjs +2 -2
- package/dist/astro/routes/api/content/_collection_/_id_/discard-draft.mjs +6 -6
- package/dist/astro/routes/api/content/_collection_/_id_/duplicate.mjs +6 -6
- package/dist/astro/routes/api/content/_collection_/_id_/permanent.mjs +6 -6
- package/dist/astro/routes/api/content/_collection_/_id_/preview-url.mjs +10 -9
- package/dist/astro/routes/api/content/_collection_/_id_/publish.mjs +16 -15
- package/dist/astro/routes/api/content/_collection_/_id_/release-readiness.mjs +8 -7
- package/dist/astro/routes/api/content/_collection_/_id_/restore.mjs +6 -6
- package/dist/astro/routes/api/content/_collection_/_id_/revisions.mjs +2 -2
- package/dist/astro/routes/api/content/_collection_/_id_/schedule.mjs +16 -15
- package/dist/astro/routes/api/content/_collection_/_id_/terms/_taxonomy_.mjs +13 -12
- package/dist/astro/routes/api/content/_collection_/_id_/translations.mjs +2 -2
- package/dist/astro/routes/api/content/_collection_/_id_/unpublish.mjs +6 -6
- package/dist/astro/routes/api/content/_collection_/_id_.mjs +11 -10
- package/dist/astro/routes/api/content/_collection_/authors.mjs +2 -2
- package/dist/astro/routes/api/content/_collection_/index.mjs +11 -10
- package/dist/astro/routes/api/content/_collection_/trash.mjs +7 -6
- package/dist/astro/routes/api/dashboard.mjs +8 -8
- package/dist/astro/routes/api/dev/emails.mjs +2 -2
- package/dist/astro/routes/api/health.mjs +1 -1
- package/dist/astro/routes/api/import/probe.d.mts +3 -3
- package/dist/astro/routes/api/import/probe.mjs +18 -17
- package/dist/astro/routes/api/import/wordpress/analyze.mjs +9 -8
- package/dist/astro/routes/api/import/wordpress/execute.d.mts +9 -9
- package/dist/astro/routes/api/import/wordpress/execute.mjs +33 -32
- package/dist/astro/routes/api/import/wordpress/media.d.mts +9 -9
- package/dist/astro/routes/api/import/wordpress/media.mjs +10 -9
- package/dist/astro/routes/api/import/wordpress/prepare.mjs +32 -31
- package/dist/astro/routes/api/import/wordpress/rewrite-urls.d.mts +10 -10
- package/dist/astro/routes/api/import/wordpress/rewrite-urls.mjs +29 -28
- package/dist/astro/routes/api/import/wordpress-plugin/analyze.d.mts +1 -1
- package/dist/astro/routes/api/import/wordpress-plugin/analyze.mjs +21 -20
- package/dist/astro/routes/api/import/wordpress-plugin/execute.d.mts +9 -9
- package/dist/astro/routes/api/import/wordpress-plugin/execute.mjs +37 -36
- package/dist/astro/routes/api/integrations/_provider_.mjs +6 -6
- package/dist/astro/routes/api/integrations/index.mjs +5 -5
- package/dist/astro/routes/api/manifest.mjs +4 -4
- package/dist/astro/routes/api/mcp.mjs +66 -65
- package/dist/astro/routes/api/media/_id_/confirm.mjs +9 -8
- package/dist/astro/routes/api/media/_id_.mjs +8 -7
- package/dist/astro/routes/api/media/file/_...key_.mjs +1 -1
- package/dist/astro/routes/api/media/providers/_providerId_/_itemId_.mjs +2 -2
- package/dist/astro/routes/api/media/providers/_providerId_/index.mjs +2 -2
- package/dist/astro/routes/api/media/providers/index.mjs +2 -2
- package/dist/astro/routes/api/media/upload-url.mjs +10 -9
- package/dist/astro/routes/api/media.mjs +11 -10
- package/dist/astro/routes/api/menus/_name_/items/_id_.mjs +29 -28
- package/dist/astro/routes/api/menus/_name_/items.mjs +29 -28
- package/dist/astro/routes/api/menus/_name_/reorder.mjs +29 -28
- package/dist/astro/routes/api/menus/_name_/translations.mjs +29 -28
- package/dist/astro/routes/api/menus/_name_.mjs +29 -28
- package/dist/astro/routes/api/menus/index.mjs +29 -28
- package/dist/astro/routes/api/oauth/authorize.mjs +7 -7
- package/dist/astro/routes/api/oauth/device/authorize.mjs +6 -6
- package/dist/astro/routes/api/oauth/device/code.mjs +9 -9
- package/dist/astro/routes/api/oauth/device/token.mjs +8 -8
- package/dist/astro/routes/api/oauth/register.mjs +4 -4
- package/dist/astro/routes/api/oauth/token/refresh.mjs +6 -6
- package/dist/astro/routes/api/oauth/token/revoke.mjs +6 -6
- package/dist/astro/routes/api/oauth/token.mjs +6 -6
- package/dist/astro/routes/api/openapi.json.mjs +5 -4
- package/dist/astro/routes/api/plugins/_pluginId_/_...path_.mjs +4 -4
- package/dist/astro/routes/api/redirects/404s/index.mjs +10 -9
- package/dist/astro/routes/api/redirects/404s/summary.mjs +10 -9
- package/dist/astro/routes/api/redirects/_id_.mjs +30 -29
- package/dist/astro/routes/api/redirects/index.mjs +30 -29
- package/dist/astro/routes/api/revisions/_revisionId_/index.mjs +2 -2
- package/dist/astro/routes/api/revisions/_revisionId_/restore.mjs +2 -2
- package/dist/astro/routes/api/schema/collections/_slug_/fields/_fieldSlug_.mjs +48 -47
- package/dist/astro/routes/api/schema/collections/_slug_/fields/index.mjs +48 -47
- package/dist/astro/routes/api/schema/collections/_slug_/fields/reorder.mjs +48 -47
- package/dist/astro/routes/api/schema/collections/_slug_/index.mjs +48 -47
- package/dist/astro/routes/api/schema/collections/index.mjs +48 -47
- package/dist/astro/routes/api/schema/index.mjs +8 -7
- package/dist/astro/routes/api/schema/orphans/_slug_.mjs +46 -45
- package/dist/astro/routes/api/schema/orphans/index.mjs +46 -45
- package/dist/astro/routes/api/search/enable.mjs +11 -10
- package/dist/astro/routes/api/search/index.mjs +10 -9
- package/dist/astro/routes/api/search/rebuild.mjs +11 -10
- package/dist/astro/routes/api/search/stats.mjs +6 -6
- package/dist/astro/routes/api/search/suggest.mjs +10 -9
- package/dist/astro/routes/api/sections/_slug_.mjs +29 -28
- package/dist/astro/routes/api/sections/index.mjs +29 -28
- package/dist/astro/routes/api/settings/email.mjs +3 -3
- package/dist/astro/routes/api/settings.mjs +29 -28
- package/dist/astro/routes/api/setup/admin-verify.mjs +12 -11
- package/dist/astro/routes/api/setup/admin.mjs +10 -9
- package/dist/astro/routes/api/setup/dev-bypass.mjs +24 -23
- package/dist/astro/routes/api/setup/dev-reset.mjs +1 -1
- package/dist/astro/routes/api/setup/index.mjs +25 -24
- package/dist/astro/routes/api/setup/status.mjs +3 -3
- package/dist/astro/routes/api/snapshot.mjs +6 -6
- package/dist/astro/routes/api/taxonomies/_name_/terms/_slug_/translations.mjs +32 -31
- package/dist/astro/routes/api/taxonomies/_name_/terms/_slug_.mjs +32 -31
- package/dist/astro/routes/api/taxonomies/_name_/terms/index.mjs +32 -31
- package/dist/astro/routes/api/taxonomies/index.mjs +32 -31
- package/dist/astro/routes/api/themes/preview.mjs +4 -4
- package/dist/astro/routes/api/typegen.mjs +4 -4
- package/dist/astro/routes/api/well-known/auth.mjs +2 -2
- package/dist/astro/routes/api/well-known/oauth-authorization-server.mjs +3 -3
- package/dist/astro/routes/api/well-known/oauth-protected-resource.mjs +3 -3
- package/dist/astro/routes/api/widget-areas/_name_/reorder.mjs +28 -27
- package/dist/astro/routes/api/widget-areas/_name_/widgets/_id_.mjs +29 -28
- package/dist/astro/routes/api/widget-areas/_name_/widgets.mjs +29 -28
- package/dist/astro/routes/api/widget-areas/_name_.mjs +26 -25
- package/dist/astro/routes/api/widget-areas/index.mjs +29 -28
- package/dist/astro/routes/api/widget-components.mjs +2 -2
- package/dist/astro/routes/robots.txt.mjs +5 -5
- package/dist/astro/routes/sitemap-_collection_.xml.mjs +12 -11
- package/dist/astro/routes/sitemap.xml.mjs +11 -10
- package/dist/astro/session-driver.d.mts +1 -1
- package/dist/astro/session-driver.mjs +2 -2
- package/dist/astro/types.d.mts +13 -12
- package/dist/{audit-nenmMR-2.mjs → audit-BGHS3IuK.mjs} +1 -1
- package/dist/auth/providers/github.d.mts +1 -1
- package/dist/auth/providers/google.d.mts +1 -1
- package/dist/{auth-control-guard-B7PdECn6.mjs → auth-control-guard-BQLSUQd7.mjs} +1 -1
- package/dist/{authorize-DTvHe9bm.mjs → authorize-D8etr-1g.mjs} +1 -1
- package/dist/{briefing-CpU_z8qH.mjs → briefing-DcDVI-0v.mjs} +5 -5
- package/dist/{briefing-PxagUoJJ.mjs → briefing-Yao75K3z.mjs} +1 -1
- package/dist/{bundle-dsO2-7eh.mjs → bundle-MGZ2MLSb.mjs} +2 -2
- package/dist/{byline-DEBDPF8R.mjs → byline-CbFno1Kd.mjs} +4 -4
- package/dist/{byline-fields-BQRx17y_.mjs → byline-fields-C0IOddTf.mjs} +1 -1
- package/dist/{byline-fields-HoyRUnBy.d.mts → byline-fields-CjCCA-Wn.d.mts} +36 -12
- package/dist/{bylines-C7hm1-iI.mjs → bylines-BotyuTdY.mjs} +3 -3
- package/dist/{bylines-YK6eGHvV.mjs → bylines-DXXMlc1A.mjs} +5 -5
- package/dist/{cache-BuVpjvBc.mjs → cache-Cf5yPNNw.mjs} +1 -1
- package/dist/{chunks-B-1_U3oF.mjs → chunks-Dh8yqZt3.mjs} +1 -1
- package/dist/cli/index.mjs +29 -27
- package/dist/cli/plugin-kit.d.mts +9 -9
- package/dist/cli/plugin-kit.mjs +2 -2
- package/dist/client/external-auth-headers.d.mts +1 -1
- package/dist/client/index.d.mts +11 -11
- package/dist/client/index.mjs +2 -2
- package/dist/{client-factory-Nyp2sznG.mjs → client-factory-BDDerNBz.mjs} +1 -1
- package/dist/{comment-BX6H4NF-.mjs → comment-eqM9KHbj.mjs} +1 -1
- package/dist/{comment-reaction-QSENU_3S.mjs → comment-reaction-mHuRHspq.mjs} +1 -1
- package/dist/{comments-BHSYG53k.mjs → comments-BFbF0xaG.mjs} +1 -1
- package/dist/{content-Bg_hMt4Q.mjs → content-C0qGd2Nt.mjs} +2 -2
- package/dist/{content-refresh-CHBBZGwf.mjs → content-refresh-BkGWtwUN.mjs} +2 -2
- package/dist/{context-BGt7zfQ-.mjs → context-BEgiPeP-.mjs} +8 -8
- package/dist/{context-BHXgPEPC.mjs → context-CnCdZ2xZ.mjs} +2 -2
- package/dist/{context-route-helpers-SwM-_GT4.mjs → context-route-helpers-CXxj6-jq.mjs} +2 -2
- package/dist/{dashboard-ByLUL4c3.mjs → dashboard-B8Sk45s8.mjs} +4 -4
- package/dist/db/index.d.mts +3 -3
- package/dist/db/index.mjs +1 -1
- package/dist/db/libsql.d.mts +1 -1
- package/dist/db/postgres.d.mts +1 -1
- package/dist/db/sqlite.d.mts +1 -1
- package/dist/{device-flow-XqdFNsv_.mjs → device-flow-DCbF6FAE.mjs} +4 -4
- package/dist/{discovery-DvuRcbP-.mjs → discovery-CUX99M46.mjs} +7 -3
- package/dist/{field-defs-cache-sSdDeJXP.mjs → field-defs-cache-7Ka899yA.mjs} +1 -1
- package/dist/{fts-manager-C7pxxk6B.mjs → fts-manager-D4K5mA0j.mjs} +1 -1
- package/dist/{hitl-requests-D7pfIM6q.mjs → hitl-requests-DU4wJSml.mjs} +2 -2
- package/dist/{hitl-route-helpers-Br9uvIQs.mjs → hitl-route-helpers-CkRqaLaJ.mjs} +5 -5
- package/dist/{import-CrsquhXj.mjs → import-BcSW07F1.mjs} +7 -7
- package/dist/{index-NdJMMO48.d.mts → index-C7X4h_27.d.mts} +3 -3
- package/dist/index.d.mts +16 -16
- package/dist/index.mjs +76 -75
- package/dist/{integration-credentials-B7Pj6YCv.mjs → integration-credentials-ylo0bguS.mjs} +2 -2
- package/dist/{jsonld-CfUj_enm.d.mts → jsonld-thSA4Rua.d.mts} +2 -2
- package/dist/{load-Bul8Tk6e.mjs → load-B1cm00WU.mjs} +1 -1
- package/dist/{loader-BCr2VSzt.mjs → loader-CsX5pTud.mjs} +2 -2
- package/dist/{manifest-schema-U5qGq-iB.mjs → manifest-schema-VGSvatoU.mjs} +1 -1
- package/dist/{mcp-reviewed-executor-C1lIimd0.mjs → mcp-reviewed-executor-lqfDtcFo.mjs} +5 -5
- package/dist/media/index.d.mts +1 -1
- package/dist/media/local-runtime.d.mts +11 -11
- package/dist/media/local-runtime.mjs +2 -2
- package/dist/{media-D8pQJSug.mjs → media-DNde5-Am.mjs} +1 -1
- package/dist/{menus-DSWeEWXl.mjs → menus-D_pqSYJ3.mjs} +5 -5
- package/dist/{menus-3B-PGTX3.mjs → menus-oIJaGGUU.mjs} +1 -1
- package/dist/{oauth-authorization-CMU5kREy.mjs → oauth-authorization-DHeVHdGr.mjs} +4 -4
- package/dist/{oauth-clients-CLdR0WyA.mjs → oauth-clients-8cVhd-8W.mjs} +2 -2
- package/dist/object-cache/memory.d.mts +1 -1
- package/dist/page/index.d.mts +10 -10
- package/dist/page/index.mjs +1 -1
- package/dist/{parse-DEG06jjr.mjs → parse-RN_EgAxL.mjs} +1 -1
- package/dist/plugin-utils.d.mts +9 -9
- package/dist/plugins/adapt-sandbox-entry.d.mts +9 -9
- package/dist/plugins/adapt-sandbox-entry.mjs +1 -1
- package/dist/{plugins-D8YxTh9q.mjs → plugins-DMImBiT9.mjs} +5 -5
- package/dist/{preview-Bn59ztjn.mjs → preview-DDtW5YuZ.mjs} +2 -2
- package/dist/{provider-loader-jdkZM6xZ.d.mts → provider-loader-DZ9uy48J.d.mts} +1 -1
- package/dist/public-discovery-BlJ80Hoh.mjs +30 -0
- package/dist/{public-url-DifBmsDt.d.mts → public-url-Binfty0i.d.mts} +1 -1
- package/dist/{public-url-DFX2c_20.d.mts → public-url-BuERxOoY.d.mts} +17 -2
- package/dist/{publication-authorization-BmazS4K0.mjs → publication-authorization-DYAGeWto.mjs} +15 -10
- package/dist/{query-CrUftarl.mjs → query-DzsPhsZk.mjs} +12 -12
- package/dist/{query-DPC5GT6e.mjs → query-qvv6Rar8.mjs} +2 -2
- package/dist/{rate-limit-DvGL45wH.mjs → rate-limit-BIuuIxP3.mjs} +2 -2
- package/dist/{redirect-8B-gorhg.mjs → redirect-B_9GwIZd.mjs} +1 -1
- package/dist/{redirects-DdPaQiWQ.mjs → redirects-Cj4lrY_X.mjs} +6 -2
- package/dist/{redirects-D2SVS1zo.mjs → redirects-DvsWZIiC.mjs} +3 -3
- package/dist/{registry-D3n4-yUl.mjs → registry-BwcF6gAj.mjs} +11 -5
- package/dist/{request-meta-DZTiCIQR.mjs → request-meta-C0druWvK.mjs} +1 -1
- package/dist/{review-requests-BQbmYLnz.mjs → review-requests-B2tCLjdA.mjs} +2 -2
- package/dist/{review-requests-D5CJ4JCy.mjs → review-requests-Bo4jcxtU.mjs} +1 -1
- package/dist/{review-route-helpers-DYiujAPM.mjs → review-route-helpers-CeYzVpNa.mjs} +2 -2
- package/dist/{runner-BWZ87FK-.mjs → runner-CQnzfBpD.mjs} +475 -461
- package/dist/{runner-BITx7yBF.d.mts → runner-DnswPQIl.d.mts} +1 -1
- package/dist/runtime.d.mts +10 -10
- package/dist/runtime.mjs +3 -3
- package/dist/schema-86uC3yVE.mjs +8 -0
- package/dist/{search-B_ir6H6m.mjs → search-CeXUu1KD.mjs} +3 -3
- package/dist/{sections-pRy07N5I.mjs → sections-BQdtDQUw.mjs} +2 -2
- package/dist/seed/index.d.mts +2 -2
- package/dist/seed/index.mjs +18 -17
- package/dist/seo/index.d.mts +4 -4
- package/dist/seo/index.mjs +8 -7
- package/dist/{seo-DdNntVj-.mjs → seo-BVmdKP7v.mjs} +1 -1
- package/dist/{seo-C4nlxiaY.mjs → seo-BpuKUrBs.mjs} +1 -1
- package/dist/{service-D6fJX7D7.mjs → service-CSeV_04p.mjs} +2 -2
- package/dist/{settings-C4OMR0zf.mjs → settings-ClnGCe1a.mjs} +2 -2
- package/dist/{settings-D-a7uy2z.mjs → settings-DXp6vRdV.mjs} +3 -3
- package/dist/{site-activity-CnrmnFRy.mjs → site-activity-By0wWO0g.mjs} +1 -1
- package/dist/{site-context-Bdsobbh9.mjs → site-context-DRSrU7hX.mjs} +14 -14
- package/dist/storage/local.d.mts +1 -1
- package/dist/storage/local.mjs +1 -1
- package/dist/storage/s3.d.mts +1 -1
- package/dist/storage/s3.mjs +1 -1
- package/dist/{store-DerEE3jG.mjs → store-C6bydUdt.mjs} +1 -1
- package/dist/{taxonomies-6bWkaa_G.mjs → taxonomies-CHHgZFzB.mjs} +3 -3
- package/dist/{taxonomies-FKTevd14.mjs → taxonomies-Dfmkapin.mjs} +5 -5
- package/dist/{taxonomy-BU0eCfij.mjs → taxonomy-BUo9B6qp.mjs} +2 -2
- package/dist/{types-C9F2TLQV.mjs → types-CFvpEEOl.mjs} +1 -1
- package/dist/{types-B6r_SMeR.d.mts → types-DCkWipbM.d.mts} +1 -1
- package/dist/{types-B2kbOwSj.d.mts → types-VkWKA-R2.d.mts} +12 -1
- package/dist/{types-BkQ-l1Y5.d.mts → types-ZDyMKdrZ.d.mts} +51 -24
- package/dist/{types-C8cUW9dh.d.mts → types-gG3syKwc.d.mts} +1 -0
- package/dist/ui/server-runtime.d.mts +13 -13
- package/dist/ui/server-runtime.mjs +21 -20
- package/dist/{user-BV02bsWz.mjs → user-BprdjWGE.mjs} +2 -2
- package/dist/{validate-Drps_jbV.mjs → validate-Cdvc9APD.mjs} +7 -1
- package/dist/{validate-Bc9gaua6.d.mts → validate-SXACKtqW.d.mts} +4 -3
- package/dist/version-BjNGau7O.mjs +6 -0
- package/dist/{widgets-BFqy7PYs.mjs → widgets-DMzBMhsO.mjs} +2 -2
- package/dist/{zod-generator-BlY_vGgR.mjs → zod-generator-C0nwBbg8.mjs} +1 -1
- package/package.json +3 -3
- package/dist/schema-kk9-6bUd.mjs +0 -8
- package/dist/version-BohmuXyf.mjs +0 -6
- /package/dist/{actor-D3A5PNkH.mjs → actor-Bu9whHez.mjs} +0 -0
- /package/dist/{adapters-DUVI3Mpc.d.mts → adapters-BZWb3OVu.d.mts} +0 -0
- /package/dist/{api-tokens-CbMAy6xF.mjs → api-tokens-BkXlt3V6.mjs} +0 -0
- /package/dist/{byline-fields-DPi4Ri_5.mjs → byline-fields-CS1Hi2N4.mjs} +0 -0
- /package/dist/{challenge-store-DtdQHXf5.mjs → challenge-store-DvRxUsXv.mjs} +0 -0
- /package/dist/{components-DGu-rih7.mjs → components-D5HxUv7y.mjs} +0 -0
- /package/dist/{cron-BjKHo0QD.mjs → cron-fQf7oVvf.mjs} +0 -0
- /package/dist/{default-CO47mlSA.mjs → default-CnbyLh9W.mjs} +0 -0
- /package/dist/{email-console-CFE1ay18.mjs → email-console-vFj2FFuJ.mjs} +0 -0
- /package/dist/{error-Jz0EtEwI.mjs → error-DWL9Pwyt.mjs} +0 -0
- /package/dist/{escape-HmHTC1Is.mjs → escape-DBggE3jq.mjs} +0 -0
- /package/dist/{experimental-workflows-EYZRNkRR.mjs → experimental-workflows-Dvn_xgew.mjs} +0 -0
- /package/dist/{media-allowlist-9u_gxMG2.mjs → media-allowlist-D3AHS_q3.mjs} +0 -0
- /package/dist/{media-url-DVoOhf4X.mjs → media-url-LSeVcoln.mjs} +0 -0
- /package/dist/{mode-DqpBaEOy.mjs → mode-DYsXVFoY.mjs} +0 -0
- /package/dist/{oauth-state-store-HdGg_nSm.mjs → oauth-state-store-CUU4azTF.mjs} +0 -0
- /package/dist/{oauth-user-lookup-CP16vyFW.mjs → oauth-user-lookup-CRFHKN_W.mjs} +0 -0
- /package/dist/{output-CXOC3BFr.mjs → output-13u4dvu-.mjs} +0 -0
- /package/dist/{parser-buoH2frr.mjs → parser-Co69H1x-.mjs} +0 -0
- /package/dist/{passkey-config-T47FwLtS.mjs → passkey-config-e-0KLl2R.mjs} +0 -0
- /package/dist/{placeholder-BsYSFPjY.d.mts → placeholder-DeJydgkj.d.mts} +0 -0
- /package/dist/{portable-text-Dm0bgrdZ.d.mts → portable-text-B7E-ali_.d.mts} +0 -0
- /package/dist/{portable-text-DQHE3b5v.mjs → portable-text-C8Tvp4_g.mjs} +0 -0
- /package/dist/{provider-loader-Dxka0BDp.mjs → provider-loader-BIxppPHS.mjs} +0 -0
- /package/dist/{public-url-CIAtNGEg.mjs → public-url-jFEiiLag.mjs} +0 -0
- /package/dist/{redirect-CzqnLxK-.mjs → redirect-C2bJtYhP.mjs} +0 -0
- /package/dist/{resolve-CThKf9_X.mjs → resolve-Doh2USIE.mjs} +0 -0
- /package/dist/{review-payload-BysRWpxS.mjs → review-payload-Cg9dtFgV.mjs} +0 -0
- /package/dist/{secrets-Dw3lXI42.mjs → secrets-re9BzPUD.mjs} +0 -0
- /package/dist/{seo-contributions-BGBehNCN.mjs → seo-contributions-CPDwm9MH.mjs} +0 -0
- /package/dist/{service-DOdvCW-9.mjs → service-CY0aH6eI.mjs} +0 -0
- /package/dist/{session-user-CYjNeJoD.mjs → session-user-DTopk3zO.mjs} +0 -0
- /package/dist/{setup-complete-Blqo_adb.mjs → setup-complete-BcjodOdW.mjs} +0 -0
- /package/dist/{setup-nonce-CGUTFWgQ.mjs → setup-nonce-C76FNEst.mjs} +0 -0
- /package/dist/{sidecar-client-C6ylL-0S.mjs → sidecar-client-CQF4fcO7.mjs} +0 -0
- /package/dist/{site-url-CK5vBdFu.mjs → site-url-C1PUhgWO.mjs} +0 -0
- /package/dist/{ssrf-Dz2hqAiG.mjs → ssrf-CxOWiF0p.mjs} +0 -0
- /package/dist/{status-xz9JACSX.mjs → status-DvSRKIiF.mjs} +0 -0
- /package/dist/{tokens-DiodRT2y.mjs → tokens-COJxRo8q.mjs} +0 -0
- /package/dist/{transport-zquJ7Bzm.mjs → transport-BDQ73F0l.mjs} +0 -0
- /package/dist/{transport-DKy93p6V.d.mts → transport-BfF60P73.d.mts} +0 -0
- /package/dist/{trusted-proxy-NySPw95m.mjs → trusted-proxy-j2KYPN4r.mjs} +0 -0
- /package/dist/{types-DY9lJRpo.d.mts → types-B0P-ECRI.d.mts} +0 -0
- /package/dist/{types-C2LBO0t8.d.mts → types-C0hcZkqG.d.mts} +0 -0
- /package/dist/{types-BaKec6bx.d.mts → types-Cnz2EIEp.d.mts} +0 -0
- /package/dist/{types-ftxcMx5-.mjs → types-DA4L0OLk.mjs} +0 -0
- /package/dist/{types-Gd4kXLsa.d.mts → types-DN82MbYv.d.mts} +0 -0
- /package/dist/{types-C1LdZbQb.mjs → types-gnLXQcvx.mjs} +0 -0
- /package/dist/{url-C05Zz4pW.mjs → url-BG-3f-Vy.mjs} +0 -0
- /package/dist/{url-guoXQQcV.mjs → url-Bm__30we.mjs} +0 -0
- /package/dist/{utils-BPzpVHqR.mjs → utils-D_bwAtcb.mjs} +0 -0
- /package/dist/{wordpress-slugs-fMvfO22_.mjs → wordpress-slugs-CuizIp_V.mjs} +0 -0
|
@@ -1,30 +1,31 @@
|
|
|
1
1
|
import "../../../../../dialect-helpers-fk43GbDb.mjs";
|
|
2
2
|
import "../../../../../base64-F8-DUraK.mjs";
|
|
3
|
-
import "../../../../../types-
|
|
4
|
-
import "../../../../../loader-
|
|
3
|
+
import "../../../../../types-CFvpEEOl.mjs";
|
|
4
|
+
import "../../../../../loader-CsX5pTud.mjs";
|
|
5
5
|
import "../../../../../object-cache-D51qOseS.mjs";
|
|
6
|
-
import "../../../../../media-
|
|
7
|
-
import "../../../../../taxonomy-
|
|
6
|
+
import "../../../../../media-DNde5-Am.mjs";
|
|
7
|
+
import "../../../../../taxonomy-BUo9B6qp.mjs";
|
|
8
8
|
import "../../../../../options-DQPTH5n0.mjs";
|
|
9
9
|
import "../../../../../request-cache-CBFjCwSt.mjs";
|
|
10
10
|
import "../../../../../context-types-eBuMDAg-.mjs";
|
|
11
|
-
import "../../../../../content-refresh-
|
|
12
|
-
import "../../../../../fts-manager-
|
|
13
|
-
import
|
|
14
|
-
import "../../../../../
|
|
15
|
-
import "../../../../../
|
|
16
|
-
import "../../../../../
|
|
17
|
-
import
|
|
18
|
-
import { n as
|
|
19
|
-
import "../../../../../
|
|
20
|
-
import
|
|
21
|
-
import "../../../../../
|
|
11
|
+
import "../../../../../content-refresh-BkGWtwUN.mjs";
|
|
12
|
+
import "../../../../../fts-manager-D4K5mA0j.mjs";
|
|
13
|
+
import "../../../../../public-discovery-BlJ80Hoh.mjs";
|
|
14
|
+
import { n as SchemaRegistry } from "../../../../../registry-BwcF6gAj.mjs";
|
|
15
|
+
import "../../../../../settings-DXp6vRdV.mjs";
|
|
16
|
+
import "../../../../../resolve-Doh2USIE.mjs";
|
|
17
|
+
import "../../../../../taxonomies-Dfmkapin.mjs";
|
|
18
|
+
import { n as apiSuccess, r as handleError, t as apiError } from "../../../../../error-DWL9Pwyt.mjs";
|
|
19
|
+
import { n as parseBody, t as isParseError } from "../../../../../parse-RN_EgAxL.mjs";
|
|
20
|
+
import "../../../../../redirects-Cj4lrY_X.mjs";
|
|
21
|
+
import { l as wpPluginAnalyzeBody } from "../../../../../byline-fields-C0IOddTf.mjs";
|
|
22
|
+
import "../../../../../status-DvSRKIiF.mjs";
|
|
22
23
|
import "../../../../../api/schemas/index.mjs";
|
|
23
|
-
import "../../../../../parser-
|
|
24
|
-
import { n as resolveAndValidateExternalUrl, t as SsrfError } from "../../../../../ssrf-
|
|
25
|
-
import "../../../../../utils-
|
|
26
|
-
import { h as getSource } from "../../../../../import-
|
|
27
|
-
import { n as requirePerm } from "../../../../../authorize-
|
|
24
|
+
import "../../../../../parser-Co69H1x-.mjs";
|
|
25
|
+
import { n as resolveAndValidateExternalUrl, t as SsrfError } from "../../../../../ssrf-CxOWiF0p.mjs";
|
|
26
|
+
import "../../../../../utils-D_bwAtcb.mjs";
|
|
27
|
+
import { h as getSource } from "../../../../../import-BcSW07F1.mjs";
|
|
28
|
+
import { n as requirePerm } from "../../../../../authorize-D8etr-1g.mjs";
|
|
28
29
|
|
|
29
30
|
//#region src/astro/routes/api/import/wordpress-plugin/analyze.ts
|
|
30
31
|
const prerender = false;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import "../../../../../types-
|
|
2
|
-
import "../../../../../types-
|
|
3
|
-
import "../../../../../runner-
|
|
4
|
-
import { h as PluginMenu, m as PluginComment, t as fetchPluginOptions } from "../../../../../index-
|
|
5
|
-
import "../../../../../types-
|
|
6
|
-
import "../../../../../public-url-
|
|
7
|
-
import "../../../../../validate-
|
|
8
|
-
import "../../../../../byline-fields-
|
|
9
|
-
import { f as NormalizedItem, s as ImportConfig, u as ImportResult } from "../../../../../types-
|
|
1
|
+
import "../../../../../types-ZDyMKdrZ.mjs";
|
|
2
|
+
import "../../../../../types-gG3syKwc.mjs";
|
|
3
|
+
import "../../../../../runner-DnswPQIl.mjs";
|
|
4
|
+
import { h as PluginMenu, m as PluginComment, t as fetchPluginOptions } from "../../../../../index-C7X4h_27.mjs";
|
|
5
|
+
import "../../../../../types-C0hcZkqG.mjs";
|
|
6
|
+
import "../../../../../public-url-BuERxOoY.mjs";
|
|
7
|
+
import "../../../../../validate-SXACKtqW.mjs";
|
|
8
|
+
import "../../../../../byline-fields-CjCCA-Wn.mjs";
|
|
9
|
+
import { f as NormalizedItem, s as ImportConfig, u as ImportResult } from "../../../../../types-Cnz2EIEp.mjs";
|
|
10
10
|
import { DinewayHandlers, DinewayManifest } from "../../../../types.mjs";
|
|
11
11
|
import { APIRoute } from "astro";
|
|
12
12
|
|
|
@@ -1,49 +1,50 @@
|
|
|
1
1
|
import "../../../../../dialect-helpers-fk43GbDb.mjs";
|
|
2
2
|
import "../../../../../base64-F8-DUraK.mjs";
|
|
3
|
-
import "../../../../../types-
|
|
4
|
-
import "../../../../../loader-
|
|
3
|
+
import "../../../../../types-CFvpEEOl.mjs";
|
|
4
|
+
import "../../../../../loader-CsX5pTud.mjs";
|
|
5
5
|
import "../../../../../object-cache-D51qOseS.mjs";
|
|
6
6
|
import { n as slugify } from "../../../../../slugify-KSsVD_D3.mjs";
|
|
7
|
-
import { t as ContentRepository } from "../../../../../content-
|
|
8
|
-
import "../../../../../media-
|
|
9
|
-
import "../../../../../taxonomy-
|
|
7
|
+
import { t as ContentRepository } from "../../../../../content-C0qGd2Nt.mjs";
|
|
8
|
+
import "../../../../../media-DNde5-Am.mjs";
|
|
9
|
+
import "../../../../../taxonomy-BUo9B6qp.mjs";
|
|
10
10
|
import "../../../../../options-DQPTH5n0.mjs";
|
|
11
|
-
import "../../../../../site-activity-
|
|
12
|
-
import "../../../../../review-requests-
|
|
13
|
-
import "../../../../../publication-authorization-
|
|
14
|
-
import { f as WordPressImportHitlPayloadBuilder, g as RiskPolicyEvaluator } from "../../../../../site-context-
|
|
11
|
+
import "../../../../../site-activity-By0wWO0g.mjs";
|
|
12
|
+
import "../../../../../review-requests-Bo4jcxtU.mjs";
|
|
13
|
+
import "../../../../../publication-authorization-DYAGeWto.mjs";
|
|
14
|
+
import { f as WordPressImportHitlPayloadBuilder, g as RiskPolicyEvaluator } from "../../../../../site-context-DRSrU7hX.mjs";
|
|
15
15
|
import "../../../../../request-cache-CBFjCwSt.mjs";
|
|
16
16
|
import "../../../../../byline-registry-BLgrU3dA.mjs";
|
|
17
|
-
import "../../../../../field-defs-cache-
|
|
18
|
-
import { t as BylineRepository } from "../../../../../byline-
|
|
17
|
+
import "../../../../../field-defs-cache-7Ka899yA.mjs";
|
|
18
|
+
import { t as BylineRepository } from "../../../../../byline-CbFno1Kd.mjs";
|
|
19
19
|
import "../../../../../enrich-Ck9tfMqe.mjs";
|
|
20
|
-
import "../../../../../briefing-
|
|
20
|
+
import "../../../../../briefing-DcDVI-0v.mjs";
|
|
21
21
|
import "../../../../../context-types-eBuMDAg-.mjs";
|
|
22
|
-
import "../../../../../content-refresh-
|
|
23
|
-
import "../../../../../fts-manager-
|
|
24
|
-
import
|
|
25
|
-
import "../../../../../
|
|
26
|
-
import "../../../../../
|
|
27
|
-
import "../../../../../
|
|
28
|
-
import "../../../../../
|
|
29
|
-
import "../../../../../
|
|
30
|
-
import "../../../../../
|
|
31
|
-
import
|
|
32
|
-
import {
|
|
33
|
-
import { n as
|
|
34
|
-
import "../../../../../
|
|
35
|
-
import
|
|
36
|
-
import "../../../../../
|
|
22
|
+
import "../../../../../content-refresh-BkGWtwUN.mjs";
|
|
23
|
+
import "../../../../../fts-manager-D4K5mA0j.mjs";
|
|
24
|
+
import "../../../../../public-discovery-BlJ80Hoh.mjs";
|
|
25
|
+
import { n as SchemaRegistry } from "../../../../../registry-BwcF6gAj.mjs";
|
|
26
|
+
import "../../../../../settings-DXp6vRdV.mjs";
|
|
27
|
+
import "../../../../../query-qvv6Rar8.mjs";
|
|
28
|
+
import "../../../../../zod-generator-C0nwBbg8.mjs";
|
|
29
|
+
import "../../../../../schema-86uC3yVE.mjs";
|
|
30
|
+
import "../../../../../resolve-Doh2USIE.mjs";
|
|
31
|
+
import "../../../../../taxonomies-Dfmkapin.mjs";
|
|
32
|
+
import { t as handleTaxonomyCreate } from "../../../../../taxonomies-CHHgZFzB.mjs";
|
|
33
|
+
import { n as apiSuccess, r as handleError, t as apiError } from "../../../../../error-DWL9Pwyt.mjs";
|
|
34
|
+
import { n as parseBody, t as isParseError } from "../../../../../parse-RN_EgAxL.mjs";
|
|
35
|
+
import "../../../../../redirects-Cj4lrY_X.mjs";
|
|
36
|
+
import { u as wpPluginExecuteBody } from "../../../../../byline-fields-C0IOddTf.mjs";
|
|
37
|
+
import "../../../../../status-DvSRKIiF.mjs";
|
|
37
38
|
import "../../../../../api/schemas/index.mjs";
|
|
38
|
-
import "../../../../../parser-
|
|
39
|
-
import { n as resolveAndValidateExternalUrl, t as SsrfError } from "../../../../../ssrf-
|
|
40
|
-
import "../../../../../activity-
|
|
41
|
-
import "../../../../../activity-events-
|
|
42
|
-
import { _ as sanitizeFieldSlug, g as resolveImportByline } from "../../../../../utils-
|
|
43
|
-
import "../../../../../search-
|
|
44
|
-
import { C as importMenusFromPlugin, S as importCommentsFromPlugin, b as parseSiteSettingsFromPlugin, h as getSource, n as fetchPluginMenus, r as fetchPluginOptions, t as fetchPluginComments, y as importSiteSettings } from "../../../../../import-
|
|
45
|
-
import { n as requirePerm } from "../../../../../authorize-
|
|
46
|
-
import { i as resolveHitlRouteActor, n as hitlRequiredRouteError, t as ensureWorkflowHitlRouteRequest } from "../../../../../hitl-route-helpers-
|
|
39
|
+
import "../../../../../parser-Co69H1x-.mjs";
|
|
40
|
+
import { n as resolveAndValidateExternalUrl, t as SsrfError } from "../../../../../ssrf-CxOWiF0p.mjs";
|
|
41
|
+
import "../../../../../activity-C6JLcUzM.mjs";
|
|
42
|
+
import "../../../../../activity-events-u9wIH8CQ.mjs";
|
|
43
|
+
import { _ as sanitizeFieldSlug, g as resolveImportByline } from "../../../../../utils-D_bwAtcb.mjs";
|
|
44
|
+
import "../../../../../search-CeXUu1KD.mjs";
|
|
45
|
+
import { C as importMenusFromPlugin, S as importCommentsFromPlugin, b as parseSiteSettingsFromPlugin, h as getSource, n as fetchPluginMenus, r as fetchPluginOptions, t as fetchPluginComments, y as importSiteSettings } from "../../../../../import-BcSW07F1.mjs";
|
|
46
|
+
import { n as requirePerm } from "../../../../../authorize-D8etr-1g.mjs";
|
|
47
|
+
import { i as resolveHitlRouteActor, n as hitlRequiredRouteError, t as ensureWorkflowHitlRouteRequest } from "../../../../../hitl-route-helpers-CkRqaLaJ.mjs";
|
|
47
48
|
import { importMediaWithProgress } from "../wordpress/media.mjs";
|
|
48
49
|
import { z } from "zod";
|
|
49
50
|
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import "../../../../base64-F8-DUraK.mjs";
|
|
2
2
|
import "../../../../options-DQPTH5n0.mjs";
|
|
3
|
-
import "../../../../secrets-
|
|
4
|
-
import "../../../../store-
|
|
5
|
-
import { r as handleIntegrationCredentialSet, t as handleIntegrationCredentialDelete } from "../../../../integration-credentials-
|
|
6
|
-
import { a as unwrapResult, r as handleError, t as apiError } from "../../../../error-
|
|
7
|
-
import { n as parseBody, t as isParseError } from "../../../../parse-
|
|
8
|
-
import { n as requirePerm } from "../../../../authorize-
|
|
3
|
+
import "../../../../secrets-re9BzPUD.mjs";
|
|
4
|
+
import "../../../../store-C6bydUdt.mjs";
|
|
5
|
+
import { r as handleIntegrationCredentialSet, t as handleIntegrationCredentialDelete } from "../../../../integration-credentials-ylo0bguS.mjs";
|
|
6
|
+
import { a as unwrapResult, r as handleError, t as apiError } from "../../../../error-DWL9Pwyt.mjs";
|
|
7
|
+
import { n as parseBody, t as isParseError } from "../../../../parse-RN_EgAxL.mjs";
|
|
8
|
+
import { n as requirePerm } from "../../../../authorize-D8etr-1g.mjs";
|
|
9
9
|
import { z } from "zod";
|
|
10
10
|
|
|
11
11
|
//#region src/astro/routes/api/integrations/[provider].ts
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import "../../../../base64-F8-DUraK.mjs";
|
|
2
2
|
import "../../../../options-DQPTH5n0.mjs";
|
|
3
|
-
import "../../../../secrets-
|
|
4
|
-
import "../../../../store-
|
|
5
|
-
import { n as handleIntegrationCredentialList } from "../../../../integration-credentials-
|
|
6
|
-
import { a as unwrapResult, r as handleError, t as apiError } from "../../../../error-
|
|
7
|
-
import { n as requirePerm } from "../../../../authorize-
|
|
3
|
+
import "../../../../secrets-re9BzPUD.mjs";
|
|
4
|
+
import "../../../../store-C6bydUdt.mjs";
|
|
5
|
+
import { n as handleIntegrationCredentialList } from "../../../../integration-credentials-ylo0bguS.mjs";
|
|
6
|
+
import { a as unwrapResult, r as handleError, t as apiError } from "../../../../error-DWL9Pwyt.mjs";
|
|
7
|
+
import { n as requirePerm } from "../../../../authorize-D8etr-1g.mjs";
|
|
8
8
|
|
|
9
9
|
//#region src/astro/routes/api/integrations/index.ts
|
|
10
10
|
const prerender = false;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { t as OptionsRepository } from "../../../options-DQPTH5n0.mjs";
|
|
2
|
-
import { n as VERSION, t as COMMIT } from "../../../version-
|
|
3
|
-
import { r as handleError } from "../../../error-
|
|
4
|
-
import { i as experimentalSiteContextWorkflowsEnabled } from "../../../experimental-workflows-
|
|
5
|
-
import { t as getAuthMode } from "../../../mode-
|
|
2
|
+
import { n as VERSION, t as COMMIT } from "../../../version-BjNGau7O.mjs";
|
|
3
|
+
import { r as handleError } from "../../../error-DWL9Pwyt.mjs";
|
|
4
|
+
import { i as experimentalSiteContextWorkflowsEnabled } from "../../../experimental-workflows-Dvn_xgew.mjs";
|
|
5
|
+
import { t as getAuthMode } from "../../../mode-DYsXVFoY.mjs";
|
|
6
6
|
|
|
7
7
|
//#region src/astro/routes/api/manifest.ts
|
|
8
8
|
const prerender = false;
|
|
@@ -1,43 +1,44 @@
|
|
|
1
1
|
import "../../../dialect-helpers-fk43GbDb.mjs";
|
|
2
2
|
import "../../../base64-F8-DUraK.mjs";
|
|
3
|
-
import "../../../types-
|
|
4
|
-
import "../../../loader-
|
|
3
|
+
import "../../../types-CFvpEEOl.mjs";
|
|
4
|
+
import "../../../loader-CsX5pTud.mjs";
|
|
5
5
|
import "../../../object-cache-D51qOseS.mjs";
|
|
6
|
-
import "../../../content-
|
|
7
|
-
import "../../../media-
|
|
6
|
+
import "../../../content-C0qGd2Nt.mjs";
|
|
7
|
+
import "../../../media-DNde5-Am.mjs";
|
|
8
8
|
import "../../../options-DQPTH5n0.mjs";
|
|
9
|
-
import "../../../site-activity-
|
|
10
|
-
import { t as ReviewRequestRepository } from "../../../review-requests-
|
|
11
|
-
import { a as
|
|
12
|
-
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-
|
|
9
|
+
import "../../../site-activity-By0wWO0g.mjs";
|
|
10
|
+
import { t as ReviewRequestRepository } from "../../../review-requests-Bo4jcxtU.mjs";
|
|
11
|
+
import { a as HITL_REQUEST_PRIORITIES, i as ReleasePayloadBuilder, o as HITL_REQUEST_STATUSES, s as HitlRequestRepository, t as PublicationAuthorizationError } from "../../../publication-authorization-DYAGeWto.mjs";
|
|
12
|
+
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-DRSrU7hX.mjs";
|
|
13
13
|
import "../../../request-cache-CBFjCwSt.mjs";
|
|
14
|
-
import { a as ContextRepository, i as parseSiteBriefingScope, r as formatSiteBriefingText, t as SiteBriefingAssembler } from "../../../briefing-
|
|
14
|
+
import { a as ContextRepository, i as parseSiteBriefingScope, r as formatSiteBriefingText, t as SiteBriefingAssembler } from "../../../briefing-DcDVI-0v.mjs";
|
|
15
15
|
import { t as SITE_CONTEXT_TYPES } from "../../../context-types-eBuMDAg-.mjs";
|
|
16
|
-
import "../../../content-refresh-
|
|
17
|
-
import "../../../fts-manager-
|
|
18
|
-
import "../../../
|
|
19
|
-
import
|
|
20
|
-
import {
|
|
21
|
-
import {
|
|
22
|
-
import "../../../
|
|
23
|
-
import "../../../
|
|
24
|
-
import "../../../
|
|
25
|
-
import
|
|
26
|
-
import { t as
|
|
27
|
-
import { t as
|
|
28
|
-
import {
|
|
29
|
-
import "../../../
|
|
30
|
-
import "../../../
|
|
16
|
+
import "../../../content-refresh-BkGWtwUN.mjs";
|
|
17
|
+
import "../../../fts-manager-D4K5mA0j.mjs";
|
|
18
|
+
import "../../../public-discovery-BlJ80Hoh.mjs";
|
|
19
|
+
import "../../../registry-BwcF6gAj.mjs";
|
|
20
|
+
import { a as getSiteSettingsWithDb } from "../../../settings-DXp6vRdV.mjs";
|
|
21
|
+
import { t as ReviewPayloadBuilder } from "../../../review-payload-Cg9dtFgV.mjs";
|
|
22
|
+
import { n as VERSION } from "../../../version-BjNGau7O.mjs";
|
|
23
|
+
import "../../../query-qvv6Rar8.mjs";
|
|
24
|
+
import "../../../zod-generator-C0nwBbg8.mjs";
|
|
25
|
+
import "../../../schema-86uC3yVE.mjs";
|
|
26
|
+
import { t as DinewaySecretsError } from "../../../secrets-re9BzPUD.mjs";
|
|
27
|
+
import { t as IntegrationCredentialStore } from "../../../store-C6bydUdt.mjs";
|
|
28
|
+
import { t as apiError } from "../../../error-DWL9Pwyt.mjs";
|
|
29
|
+
import { Dn as contentBylineInputSchema, P as settingsUpdateBody, Tn as bylineUpdateBody, fn as contentSeoInput, xn as bylineCreateBody } from "../../../redirects-Cj4lrY_X.mjs";
|
|
30
|
+
import "../../../byline-fields-C0IOddTf.mjs";
|
|
31
|
+
import "../../../status-DvSRKIiF.mjs";
|
|
31
32
|
import "../../../api/schemas/index.mjs";
|
|
32
|
-
import { i as hasScope } from "../../../api-tokens-
|
|
33
|
-
import { r as registerPluginMcpRegistry, t as createReviewedPluginMcpCommandExecutor } from "../../../mcp-reviewed-executor-
|
|
34
|
-
import { n as resolveActorIdentity } from "../../../actor-
|
|
35
|
-
import "../../../activity-
|
|
36
|
-
import { d as logSchemaActivity, o as logContentActivity, p as logSiteActivitySafely, r as contentMcpToolSource, t as activityChangedKeys, x as schemaMcpToolSource } from "../../../activity-events-
|
|
37
|
-
import "../../../utils-
|
|
38
|
-
import "../../../search-
|
|
39
|
-
import { f as readStoredForgewayAccount, n as DinewayToolsService, p as refreshForgewayAccountCredentials, s as createForgewayAccountClient, t as DinewayToolsError, u as normalizeForgewayApiUrl } from "../../../service-
|
|
40
|
-
import { n as convertDataForWrite, t as convertDataForRead } from "../../../portable-text-
|
|
33
|
+
import { i as hasScope } from "../../../api-tokens-BkXlt3V6.mjs";
|
|
34
|
+
import { r as registerPluginMcpRegistry, t as createReviewedPluginMcpCommandExecutor } from "../../../mcp-reviewed-executor-lqfDtcFo.mjs";
|
|
35
|
+
import { n as resolveActorIdentity } from "../../../actor-Bu9whHez.mjs";
|
|
36
|
+
import "../../../activity-C6JLcUzM.mjs";
|
|
37
|
+
import { d as logSchemaActivity, o as logContentActivity, p as logSiteActivitySafely, r as contentMcpToolSource, t as activityChangedKeys, x as schemaMcpToolSource } from "../../../activity-events-u9wIH8CQ.mjs";
|
|
38
|
+
import "../../../utils-D_bwAtcb.mjs";
|
|
39
|
+
import "../../../search-CeXUu1KD.mjs";
|
|
40
|
+
import { f as readStoredForgewayAccount, n as DinewayToolsService, p as refreshForgewayAccountCredentials, s as createForgewayAccountClient, t as DinewayToolsError, u as normalizeForgewayApiUrl } from "../../../service-CY0aH6eI.mjs";
|
|
41
|
+
import { n as convertDataForWrite, t as convertDataForRead } from "../../../portable-text-C8Tvp4_g.mjs";
|
|
41
42
|
import { z } from "zod";
|
|
42
43
|
import { Role, canActOnOwn, hasPermission } from "@dineway-ai/auth";
|
|
43
44
|
import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js";
|
|
@@ -332,7 +333,7 @@ function getDineway(extra) {
|
|
|
332
333
|
}
|
|
333
334
|
async function getCollectionFields(dineway, collection) {
|
|
334
335
|
try {
|
|
335
|
-
const { SchemaRegistry } = await import("../../../schema-
|
|
336
|
+
const { SchemaRegistry } = await import("../../../schema-86uC3yVE.mjs").then((n) => n.t);
|
|
336
337
|
return (await new SchemaRegistry(dineway.db).getCollectionWithFields(collection))?.fields ?? null;
|
|
337
338
|
} catch {
|
|
338
339
|
return null;
|
|
@@ -349,7 +350,7 @@ async function applyReadMarkdown(dineway, collection, items) {
|
|
|
349
350
|
for (const item of items) if (item.data && typeof item.data === "object") item.data = convertDataForRead(item.data, fields, false);
|
|
350
351
|
}
|
|
351
352
|
async function invalidateBylines() {
|
|
352
|
-
const { invalidateBylineCache } = await import("../../../bylines-
|
|
353
|
+
const { invalidateBylineCache } = await import("../../../bylines-DXXMlc1A.mjs").then((n) => n.t);
|
|
353
354
|
invalidateBylineCache();
|
|
354
355
|
}
|
|
355
356
|
function canReadDrafts(extra) {
|
|
@@ -2404,7 +2405,7 @@ function createMcpServer(options = {}) {
|
|
|
2404
2405
|
requireRole(extra, Role.EDITOR);
|
|
2405
2406
|
const ec = getDineway(extra);
|
|
2406
2407
|
try {
|
|
2407
|
-
const { SchemaRegistry } = await import("../../../schema-
|
|
2408
|
+
const { SchemaRegistry } = await import("../../../schema-86uC3yVE.mjs").then((n) => n.t);
|
|
2408
2409
|
return jsonResult({ items: await new SchemaRegistry(ec.db).listCollections() });
|
|
2409
2410
|
} catch (error) {
|
|
2410
2411
|
return errorResult(error);
|
|
@@ -2420,7 +2421,7 @@ function createMcpServer(options = {}) {
|
|
|
2420
2421
|
requireRole(extra, Role.EDITOR);
|
|
2421
2422
|
const ec = getDineway(extra);
|
|
2422
2423
|
try {
|
|
2423
|
-
const { SchemaRegistry } = await import("../../../schema-
|
|
2424
|
+
const { SchemaRegistry } = await import("../../../schema-86uC3yVE.mjs").then((n) => n.t);
|
|
2424
2425
|
const collection = await new SchemaRegistry(ec.db).getCollectionWithFields(args.slug);
|
|
2425
2426
|
if (!collection) return errorResult(`Collection '${args.slug}' not found`);
|
|
2426
2427
|
return jsonResult(collection);
|
|
@@ -2450,7 +2451,7 @@ function createMcpServer(options = {}) {
|
|
|
2450
2451
|
requireRole(extra, Role.ADMIN);
|
|
2451
2452
|
const ec = getDineway(extra);
|
|
2452
2453
|
try {
|
|
2453
|
-
const { SchemaRegistry } = await import("../../../schema-
|
|
2454
|
+
const { SchemaRegistry } = await import("../../../schema-86uC3yVE.mjs").then((n) => n.t);
|
|
2454
2455
|
const collection = await new SchemaRegistry(ec.db).createCollection({
|
|
2455
2456
|
slug: args.slug,
|
|
2456
2457
|
label: args.label,
|
|
@@ -2514,7 +2515,7 @@ function createMcpServer(options = {}) {
|
|
|
2514
2515
|
request
|
|
2515
2516
|
});
|
|
2516
2517
|
}
|
|
2517
|
-
const { SchemaRegistry } = await import("../../../schema-
|
|
2518
|
+
const { SchemaRegistry } = await import("../../../schema-86uC3yVE.mjs").then((n) => n.t);
|
|
2518
2519
|
await new SchemaRegistry(ec.db).deleteCollection(args.slug, { force: args.force });
|
|
2519
2520
|
ec.invalidateManifest();
|
|
2520
2521
|
await logSchemaActivity(ec.db, locals, {
|
|
@@ -2578,7 +2579,7 @@ function createMcpServer(options = {}) {
|
|
|
2578
2579
|
requireRole(extra, Role.ADMIN);
|
|
2579
2580
|
const ec = getDineway(extra);
|
|
2580
2581
|
try {
|
|
2581
|
-
const { SchemaRegistry } = await import("../../../schema-
|
|
2582
|
+
const { SchemaRegistry } = await import("../../../schema-86uC3yVE.mjs").then((n) => n.t);
|
|
2582
2583
|
const field = await new SchemaRegistry(ec.db).createField(args.collection, {
|
|
2583
2584
|
slug: args.slug,
|
|
2584
2585
|
label: args.label,
|
|
@@ -2647,7 +2648,7 @@ function createMcpServer(options = {}) {
|
|
|
2647
2648
|
request
|
|
2648
2649
|
});
|
|
2649
2650
|
}
|
|
2650
|
-
const { SchemaRegistry } = await import("../../../schema-
|
|
2651
|
+
const { SchemaRegistry } = await import("../../../schema-86uC3yVE.mjs").then((n) => n.t);
|
|
2651
2652
|
await new SchemaRegistry(ec.db).deleteField(args.collection, args.fieldSlug);
|
|
2652
2653
|
ec.invalidateManifest();
|
|
2653
2654
|
await logSchemaActivity(ec.db, locals, {
|
|
@@ -2780,7 +2781,7 @@ function createMcpServer(options = {}) {
|
|
|
2780
2781
|
requireScope(extra, "content:read");
|
|
2781
2782
|
const ec = getDineway(extra);
|
|
2782
2783
|
try {
|
|
2783
|
-
const { searchWithDb } = await import("../../../search-
|
|
2784
|
+
const { searchWithDb } = await import("../../../search-CeXUu1KD.mjs").then((n) => n.t);
|
|
2784
2785
|
return jsonResult(await searchWithDb(ec.db, args.query, {
|
|
2785
2786
|
collections: args.collections,
|
|
2786
2787
|
locale: args.locale,
|
|
@@ -2806,7 +2807,7 @@ function createMcpServer(options = {}) {
|
|
|
2806
2807
|
requireScope(extra, "content:read");
|
|
2807
2808
|
const ec = getDineway(extra);
|
|
2808
2809
|
try {
|
|
2809
|
-
const { BylineRepository } = await import("../../../byline-
|
|
2810
|
+
const { BylineRepository } = await import("../../../byline-CbFno1Kd.mjs").then((n) => n.n);
|
|
2810
2811
|
return jsonResult(await new BylineRepository(ec.db).findMany({
|
|
2811
2812
|
search: args.search,
|
|
2812
2813
|
isGuest: args.isGuest,
|
|
@@ -2828,7 +2829,7 @@ function createMcpServer(options = {}) {
|
|
|
2828
2829
|
requireScope(extra, "content:read");
|
|
2829
2830
|
const ec = getDineway(extra);
|
|
2830
2831
|
try {
|
|
2831
|
-
const { BylineRepository } = await import("../../../byline-
|
|
2832
|
+
const { BylineRepository } = await import("../../../byline-CbFno1Kd.mjs").then((n) => n.n);
|
|
2832
2833
|
const byline = await new BylineRepository(ec.db).findById(args.id);
|
|
2833
2834
|
if (!byline) return errorResult(`Byline '${args.id}' not found`);
|
|
2834
2835
|
return jsonResult(byline);
|
|
@@ -2846,7 +2847,7 @@ function createMcpServer(options = {}) {
|
|
|
2846
2847
|
requireRole(extra, Role.EDITOR);
|
|
2847
2848
|
const ec = getDineway(extra);
|
|
2848
2849
|
try {
|
|
2849
|
-
const { handleBylineCreate } = await import("../../../bylines-
|
|
2850
|
+
const { handleBylineCreate } = await import("../../../bylines-BotyuTdY.mjs").then((n) => n.t);
|
|
2850
2851
|
const result = await handleBylineCreate(ec.db, args);
|
|
2851
2852
|
if (result.success) await invalidateBylines();
|
|
2852
2853
|
return unwrap(result);
|
|
@@ -2866,7 +2867,7 @@ function createMcpServer(options = {}) {
|
|
|
2866
2867
|
requireRole(extra, Role.EDITOR);
|
|
2867
2868
|
const ec = getDineway(extra);
|
|
2868
2869
|
try {
|
|
2869
|
-
const { handleBylineUpdate } = await import("../../../bylines-
|
|
2870
|
+
const { handleBylineUpdate } = await import("../../../bylines-BotyuTdY.mjs").then((n) => n.t);
|
|
2870
2871
|
const { id, ...input } = args;
|
|
2871
2872
|
const result = await handleBylineUpdate(ec.db, id, input);
|
|
2872
2873
|
if (result.success) await invalidateBylines();
|
|
@@ -2885,7 +2886,7 @@ function createMcpServer(options = {}) {
|
|
|
2885
2886
|
requireRole(extra, Role.EDITOR);
|
|
2886
2887
|
const ec = getDineway(extra);
|
|
2887
2888
|
try {
|
|
2888
|
-
const { BylineRepository } = await import("../../../byline-
|
|
2889
|
+
const { BylineRepository } = await import("../../../byline-CbFno1Kd.mjs").then((n) => n.n);
|
|
2889
2890
|
if (!await new BylineRepository(ec.db).delete(args.id)) return errorResult(`Byline '${args.id}' not found`);
|
|
2890
2891
|
await invalidateBylines();
|
|
2891
2892
|
return jsonResult({ deleted: args.id });
|
|
@@ -2902,7 +2903,7 @@ function createMcpServer(options = {}) {
|
|
|
2902
2903
|
requireScope(extra, "content:read");
|
|
2903
2904
|
const ec = getDineway(extra);
|
|
2904
2905
|
try {
|
|
2905
|
-
const { handleBylineTranslations } = await import("../../../bylines-
|
|
2906
|
+
const { handleBylineTranslations } = await import("../../../bylines-BotyuTdY.mjs").then((n) => n.t);
|
|
2906
2907
|
return unwrap(await handleBylineTranslations(ec.db, args.id));
|
|
2907
2908
|
} catch (error) {
|
|
2908
2909
|
return errorResult(error);
|
|
@@ -2917,7 +2918,7 @@ function createMcpServer(options = {}) {
|
|
|
2917
2918
|
requireScope(extra, "content:read");
|
|
2918
2919
|
const ec = getDineway(extra);
|
|
2919
2920
|
try {
|
|
2920
|
-
const { handleTaxonomyList } = await import("../../../taxonomies-
|
|
2921
|
+
const { handleTaxonomyList } = await import("../../../taxonomies-CHHgZFzB.mjs").then((n) => n.l);
|
|
2921
2922
|
return unwrap(await handleTaxonomyList(ec.db, { locale: args.locale }));
|
|
2922
2923
|
} catch (error) {
|
|
2923
2924
|
return errorResult(error);
|
|
@@ -2937,12 +2938,12 @@ function createMcpServer(options = {}) {
|
|
|
2937
2938
|
requireScope(extra, "content:read");
|
|
2938
2939
|
const ec = getDineway(extra);
|
|
2939
2940
|
try {
|
|
2940
|
-
const { handleTaxonomyList } = await import("../../../taxonomies-
|
|
2941
|
+
const { handleTaxonomyList } = await import("../../../taxonomies-CHHgZFzB.mjs").then((n) => n.l);
|
|
2941
2942
|
const listResult = await handleTaxonomyList(ec.db, { locale: args.locale });
|
|
2942
2943
|
if (!listResult.success) return unwrap(listResult);
|
|
2943
2944
|
if (!listResult.data.taxonomies.find((t) => t.name === args.taxonomy)) return errorResult(`Taxonomy '${args.taxonomy}' not found`);
|
|
2944
|
-
const { TaxonomyRepository } = await import("../../../taxonomy-
|
|
2945
|
-
const { decodeCursor, encodeCursor } = await import("../../../types-
|
|
2945
|
+
const { TaxonomyRepository } = await import("../../../taxonomy-BUo9B6qp.mjs").then((n) => n.n);
|
|
2946
|
+
const { decodeCursor, encodeCursor } = await import("../../../types-CFvpEEOl.mjs").then((n) => n.a);
|
|
2946
2947
|
const repo = new TaxonomyRepository(ec.db);
|
|
2947
2948
|
const limit = Math.min(args.limit ?? 50, 100);
|
|
2948
2949
|
const terms = await repo.findByName(args.taxonomy, { locale: args.locale });
|
|
@@ -2991,7 +2992,7 @@ function createMcpServer(options = {}) {
|
|
|
2991
2992
|
requireRole(extra, Role.EDITOR);
|
|
2992
2993
|
const ec = getDineway(extra);
|
|
2993
2994
|
try {
|
|
2994
|
-
const { handleTermCreate } = await import("../../../taxonomies-
|
|
2995
|
+
const { handleTermCreate } = await import("../../../taxonomies-CHHgZFzB.mjs").then((n) => n.l);
|
|
2995
2996
|
return unwrap(await handleTermCreate(ec.db, args.taxonomy, {
|
|
2996
2997
|
slug: args.slug,
|
|
2997
2998
|
label: args.label,
|
|
@@ -3021,7 +3022,7 @@ function createMcpServer(options = {}) {
|
|
|
3021
3022
|
requireRole(extra, Role.EDITOR);
|
|
3022
3023
|
const ec = getDineway(extra);
|
|
3023
3024
|
try {
|
|
3024
|
-
const { handleTermUpdate } = await import("../../../taxonomies-
|
|
3025
|
+
const { handleTermUpdate } = await import("../../../taxonomies-CHHgZFzB.mjs").then((n) => n.l);
|
|
3025
3026
|
return unwrap(await handleTermUpdate(ec.db, args.taxonomy, args.termSlug, {
|
|
3026
3027
|
slug: args.slug,
|
|
3027
3028
|
label: args.label,
|
|
@@ -3046,7 +3047,7 @@ function createMcpServer(options = {}) {
|
|
|
3046
3047
|
requireRole(extra, Role.EDITOR);
|
|
3047
3048
|
const ec = getDineway(extra);
|
|
3048
3049
|
try {
|
|
3049
|
-
const { handleTermDelete } = await import("../../../taxonomies-
|
|
3050
|
+
const { handleTermDelete } = await import("../../../taxonomies-CHHgZFzB.mjs").then((n) => n.l);
|
|
3050
3051
|
return unwrap(await handleTermDelete(ec.db, args.taxonomy, args.termSlug, { locale: args.locale }));
|
|
3051
3052
|
} catch (error) {
|
|
3052
3053
|
return errorResult(error);
|
|
@@ -3061,7 +3062,7 @@ function createMcpServer(options = {}) {
|
|
|
3061
3062
|
requireScope(extra, "content:read");
|
|
3062
3063
|
const ec = getDineway(extra);
|
|
3063
3064
|
try {
|
|
3064
|
-
const { handleTermTranslations } = await import("../../../taxonomies-
|
|
3065
|
+
const { handleTermTranslations } = await import("../../../taxonomies-CHHgZFzB.mjs").then((n) => n.l);
|
|
3065
3066
|
return unwrap(await handleTermTranslations(ec.db, args.id));
|
|
3066
3067
|
} catch (error) {
|
|
3067
3068
|
return errorResult(error);
|
|
@@ -3076,7 +3077,7 @@ function createMcpServer(options = {}) {
|
|
|
3076
3077
|
requireScope(extra, "content:read");
|
|
3077
3078
|
const ec = getDineway(extra);
|
|
3078
3079
|
try {
|
|
3079
|
-
const { handleMenuList } = await import("../../../menus-
|
|
3080
|
+
const { handleMenuList } = await import("../../../menus-oIJaGGUU.mjs").then((n) => n.d);
|
|
3080
3081
|
return unwrap(await handleMenuList(ec.db, { locale: args.locale }));
|
|
3081
3082
|
} catch (error) {
|
|
3082
3083
|
return errorResult(error);
|
|
@@ -3094,7 +3095,7 @@ function createMcpServer(options = {}) {
|
|
|
3094
3095
|
requireScope(extra, "content:read");
|
|
3095
3096
|
const ec = getDineway(extra);
|
|
3096
3097
|
try {
|
|
3097
|
-
const { handleMenuGet } = await import("../../../menus-
|
|
3098
|
+
const { handleMenuGet } = await import("../../../menus-oIJaGGUU.mjs").then((n) => n.d);
|
|
3098
3099
|
return unwrap(await handleMenuGet(ec.db, args.name, { locale: args.locale }));
|
|
3099
3100
|
} catch (error) {
|
|
3100
3101
|
return errorResult(error);
|
|
@@ -3109,7 +3110,7 @@ function createMcpServer(options = {}) {
|
|
|
3109
3110
|
requireScope(extra, "content:read");
|
|
3110
3111
|
const ec = getDineway(extra);
|
|
3111
3112
|
try {
|
|
3112
|
-
const { handleMenuTranslations } = await import("../../../menus-
|
|
3113
|
+
const { handleMenuTranslations } = await import("../../../menus-oIJaGGUU.mjs").then((n) => n.d);
|
|
3113
3114
|
return unwrap(await handleMenuTranslations(ec.db, args.id));
|
|
3114
3115
|
} catch (error) {
|
|
3115
3116
|
return errorResult(error);
|
|
@@ -3129,7 +3130,7 @@ function createMcpServer(options = {}) {
|
|
|
3129
3130
|
requireRole(extra, Role.EDITOR);
|
|
3130
3131
|
const ec = getDineway(extra);
|
|
3131
3132
|
try {
|
|
3132
|
-
const { handleMenuCreate } = await import("../../../menus-
|
|
3133
|
+
const { handleMenuCreate } = await import("../../../menus-oIJaGGUU.mjs").then((n) => n.d);
|
|
3133
3134
|
return unwrap(await handleMenuCreate(ec.db, {
|
|
3134
3135
|
name: args.name,
|
|
3135
3136
|
label: args.label,
|
|
@@ -3153,7 +3154,7 @@ function createMcpServer(options = {}) {
|
|
|
3153
3154
|
requireRole(extra, Role.EDITOR);
|
|
3154
3155
|
const ec = getDineway(extra);
|
|
3155
3156
|
try {
|
|
3156
|
-
const { handleMenuUpdate } = await import("../../../menus-
|
|
3157
|
+
const { handleMenuUpdate } = await import("../../../menus-oIJaGGUU.mjs").then((n) => n.d);
|
|
3157
3158
|
return unwrap(await handleMenuUpdate(ec.db, args.name, {
|
|
3158
3159
|
label: args.label,
|
|
3159
3160
|
locale: args.locale
|
|
@@ -3175,7 +3176,7 @@ function createMcpServer(options = {}) {
|
|
|
3175
3176
|
requireRole(extra, Role.EDITOR);
|
|
3176
3177
|
const ec = getDineway(extra);
|
|
3177
3178
|
try {
|
|
3178
|
-
const { handleMenuDelete } = await import("../../../menus-
|
|
3179
|
+
const { handleMenuDelete } = await import("../../../menus-oIJaGGUU.mjs").then((n) => n.d);
|
|
3179
3180
|
return unwrap(await handleMenuDelete(ec.db, args.name, { locale: args.locale }));
|
|
3180
3181
|
} catch (error) {
|
|
3181
3182
|
return errorResult(error);
|
|
@@ -3210,7 +3211,7 @@ function createMcpServer(options = {}) {
|
|
|
3210
3211
|
requireRole(extra, Role.EDITOR);
|
|
3211
3212
|
const ec = getDineway(extra);
|
|
3212
3213
|
try {
|
|
3213
|
-
const { handleMenuSetItems } = await import("../../../menus-
|
|
3214
|
+
const { handleMenuSetItems } = await import("../../../menus-oIJaGGUU.mjs").then((n) => n.d);
|
|
3214
3215
|
return unwrap(await handleMenuSetItems(ec.db, args.name, args.items, { locale: args.locale }));
|
|
3215
3216
|
} catch (error) {
|
|
3216
3217
|
return errorResult(error);
|
|
@@ -3257,7 +3258,7 @@ function createMcpServer(options = {}) {
|
|
|
3257
3258
|
requireRole(extra, Role.ADMIN);
|
|
3258
3259
|
const ec = getDineway(extra);
|
|
3259
3260
|
try {
|
|
3260
|
-
const { handleSettingsGet } = await import("../../../settings-
|
|
3261
|
+
const { handleSettingsGet } = await import("../../../settings-ClnGCe1a.mjs").then((n) => n.r);
|
|
3261
3262
|
return unwrap(await handleSettingsGet(ec.db, ec.storage));
|
|
3262
3263
|
} catch (error) {
|
|
3263
3264
|
return errorResult(error);
|
|
@@ -3294,7 +3295,7 @@ function createMcpServer(options = {}) {
|
|
|
3294
3295
|
request
|
|
3295
3296
|
});
|
|
3296
3297
|
}
|
|
3297
|
-
const { handleSettingsUpdate } = await import("../../../settings-
|
|
3298
|
+
const { handleSettingsUpdate } = await import("../../../settings-ClnGCe1a.mjs").then((n) => n.r);
|
|
3298
3299
|
const result = await handleSettingsUpdate(ec.db, ec.storage, settingsInput);
|
|
3299
3300
|
if (!result.success) return unwrap(result);
|
|
3300
3301
|
await logSiteActivitySafely(ec.db, locals, {
|
|
@@ -1,15 +1,16 @@
|
|
|
1
1
|
import "../../../../../base64-F8-DUraK.mjs";
|
|
2
|
-
import "../../../../../types-
|
|
3
|
-
import { t as MediaRepository } from "../../../../../media-
|
|
2
|
+
import "../../../../../types-CFvpEEOl.mjs";
|
|
3
|
+
import { t as MediaRepository } from "../../../../../media-DNde5-Am.mjs";
|
|
4
4
|
import { t as enrichImageMetadata } from "../../../../../enrich-Ck9tfMqe.mjs";
|
|
5
5
|
import "../../../../../context-types-eBuMDAg-.mjs";
|
|
6
|
-
import
|
|
7
|
-
import { r as
|
|
8
|
-
import {
|
|
9
|
-
import "../../../../../
|
|
10
|
-
import "../../../../../
|
|
6
|
+
import "../../../../../public-discovery-BlJ80Hoh.mjs";
|
|
7
|
+
import { n as apiSuccess, r as handleError, t as apiError } from "../../../../../error-DWL9Pwyt.mjs";
|
|
8
|
+
import { r as parseOptionalBody, t as isParseError } from "../../../../../parse-RN_EgAxL.mjs";
|
|
9
|
+
import { Bt as mediaConfirmBody } from "../../../../../redirects-Cj4lrY_X.mjs";
|
|
10
|
+
import "../../../../../byline-fields-C0IOddTf.mjs";
|
|
11
|
+
import "../../../../../status-DvSRKIiF.mjs";
|
|
11
12
|
import "../../../../../api/schemas/index.mjs";
|
|
12
|
-
import { n as requirePerm, t as requireOwnerPerm } from "../../../../../authorize-
|
|
13
|
+
import { n as requirePerm, t as requireOwnerPerm } from "../../../../../authorize-D8etr-1g.mjs";
|
|
13
14
|
|
|
14
15
|
//#region src/astro/routes/api/media/[id]/confirm.ts
|
|
15
16
|
const prerender = false;
|