dineway 0.2.19 → 0.2.21
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-Dq9zDvAK.mjs → activity-Bm5x0dik.mjs} +2 -2
- package/dist/{activity-events-iGYnf7TK.mjs → activity-events-DpvhcjTP.mjs} +1 -1
- package/dist/{allowed-origins-oVgzR3X5.mjs → allowed-origins-M5Rcl6XL.mjs} +1 -1
- package/dist/api/route-utils.d.mts +10 -9
- package/dist/api/route-utils.mjs +13 -13
- package/dist/api/schemas/index.d.mts +1 -1
- package/dist/api/schemas/index.mjs +3 -3
- package/dist/{api-C8IpJnQ7.mjs → api-Bbtpvq2-.mjs} +15 -15
- package/dist/{api-tokens-C4K9eocv.mjs → api-tokens-BFgXg0l2.mjs} +1 -1
- package/dist/{apply-C0v5UKOI.mjs → apply-Hodkn7PL.mjs} +20 -18
- package/dist/astro/index.d.mts +11 -10
- package/dist/astro/index.mjs +3 -3
- package/dist/astro/middleware/auth.d.mts +9 -8
- package/dist/astro/middleware/auth.mjs +4 -4
- package/dist/astro/middleware/redirect.mjs +5 -5
- package/dist/astro/middleware/request-context.mjs +2 -2
- package/dist/astro/middleware/seed.d.mts +1 -1
- package/dist/astro/middleware/seed.mjs +1 -1
- package/dist/astro/middleware.mjs +108 -95
- package/dist/astro/routes/api/admin/allowed-domains/_domain_.mjs +5 -5
- package/dist/astro/routes/api/admin/allowed-domains/index.mjs +5 -5
- package/dist/astro/routes/api/admin/api-tokens/_id_.mjs +4 -4
- package/dist/astro/routes/api/admin/api-tokens/index.mjs +6 -6
- package/dist/astro/routes/api/admin/briefing.mjs +16 -16
- package/dist/astro/routes/api/admin/byline-fields/_slug_/usage.mjs +3 -3
- package/dist/astro/routes/api/admin/byline-fields/_slug_.mjs +7 -7
- package/dist/astro/routes/api/admin/byline-fields/index.mjs +7 -7
- package/dist/astro/routes/api/admin/byline-fields/reorder.mjs +7 -7
- package/dist/astro/routes/api/admin/bylines/_id_/index.mjs +13 -13
- package/dist/astro/routes/api/admin/bylines/_id_/translations.mjs +13 -13
- package/dist/astro/routes/api/admin/bylines/index.mjs +13 -13
- package/dist/astro/routes/api/admin/comments/_id_/status.mjs +11 -11
- package/dist/astro/routes/api/admin/comments/_id_.mjs +5 -5
- package/dist/astro/routes/api/admin/comments/bulk.mjs +9 -9
- package/dist/astro/routes/api/admin/comments/counts.mjs +5 -5
- package/dist/astro/routes/api/admin/comments/index.mjs +9 -9
- package/dist/astro/routes/api/admin/context/_id_/history.mjs +23 -23
- package/dist/astro/routes/api/admin/context/_id_/index.mjs +23 -23
- package/dist/astro/routes/api/admin/context/_id_/review.mjs +28 -28
- package/dist/astro/routes/api/admin/context/_id_/supersede.mjs +28 -28
- package/dist/astro/routes/api/admin/context/diff.mjs +27 -27
- package/dist/astro/routes/api/admin/context/index.mjs +28 -28
- package/dist/astro/routes/api/admin/context/stale.mjs +27 -27
- package/dist/astro/routes/api/admin/hitl-requests/_id_/index.mjs +23 -23
- package/dist/astro/routes/api/admin/hitl-requests/_id_/resolve.mjs +27 -27
- package/dist/astro/routes/api/admin/hitl-requests/index.mjs +27 -27
- package/dist/astro/routes/api/admin/hooks/exclusive/_hookName_.mjs +24 -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 +53 -52
- package/dist/astro/routes/api/admin/plugins/_id_/enable.mjs +53 -52
- package/dist/astro/routes/api/admin/plugins/_id_/index.mjs +45 -44
- package/dist/astro/routes/api/admin/plugins/_id_/uninstall.mjs +52 -51
- package/dist/astro/routes/api/admin/plugins/_id_/update.mjs +52 -51
- package/dist/astro/routes/api/admin/plugins/index.mjs +45 -44
- package/dist/astro/routes/api/admin/plugins/marketplace/_id_/icon.mjs +2 -2
- package/dist/astro/routes/api/admin/plugins/marketplace/_id_/index.mjs +45 -44
- package/dist/astro/routes/api/admin/plugins/marketplace/_id_/install.mjs +52 -51
- package/dist/astro/routes/api/admin/plugins/marketplace/index.mjs +45 -44
- package/dist/astro/routes/api/admin/plugins/updates.mjs +45 -44
- package/dist/astro/routes/api/admin/review-requests/_id_/index.mjs +5 -5
- package/dist/astro/routes/api/admin/review-requests/_id_/resolve.mjs +28 -28
- package/dist/astro/routes/api/admin/review-requests/index.mjs +28 -28
- package/dist/astro/routes/api/admin/themes/marketplace/_id_/index.mjs +45 -44
- package/dist/astro/routes/api/admin/themes/marketplace/_id_/thumbnail.mjs +2 -2
- package/dist/astro/routes/api/admin/themes/marketplace/index.mjs +45 -44
- 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 +5 -5
- package/dist/astro/routes/api/admin/users/_id_/send-recovery.mjs +2 -2
- package/dist/astro/routes/api/admin/users/index.mjs +5 -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 +8 -8
- package/dist/astro/routes/api/auth/invite/index.mjs +6 -6
- package/dist/astro/routes/api/auth/invite/register-options.mjs +7 -7
- package/dist/astro/routes/api/auth/logout.mjs +2 -2
- package/dist/astro/routes/api/auth/magic-link/send.mjs +8 -8
- package/dist/astro/routes/api/auth/magic-link/verify.mjs +2 -2
- package/dist/astro/routes/api/auth/me.mjs +7 -7
- package/dist/astro/routes/api/auth/oauth/_provider_/callback.mjs +2 -2
- package/dist/astro/routes/api/auth/oauth/_provider_.mjs +2 -2
- package/dist/astro/routes/api/auth/passkey/_id_.mjs +5 -5
- package/dist/astro/routes/api/auth/passkey/index.mjs +1 -1
- package/dist/astro/routes/api/auth/passkey/options.mjs +9 -9
- package/dist/astro/routes/api/auth/passkey/register/options.mjs +7 -7
- package/dist/astro/routes/api/auth/passkey/register/verify.mjs +8 -8
- package/dist/astro/routes/api/auth/passkey/verify.mjs +8 -8
- package/dist/astro/routes/api/auth/setup-token/index.mjs +5 -5
- package/dist/astro/routes/api/auth/setup-token/verify.mjs +2 -2
- package/dist/astro/routes/api/auth/signup/complete.mjs +8 -8
- package/dist/astro/routes/api/auth/signup/request.mjs +8 -8
- package/dist/astro/routes/api/auth/signup/verify.mjs +1 -1
- package/dist/astro/routes/api/comments/_collection_/_contentId_/index.mjs +12 -12
- package/dist/astro/routes/api/comments/_collection_/_contentId_/reactions.mjs +11 -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 +9 -9
- package/dist/astro/routes/api/content/_collection_/_id_/publish.mjs +15 -15
- package/dist/astro/routes/api/content/_collection_/_id_/release-readiness.mjs +7 -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 +15 -15
- package/dist/astro/routes/api/content/_collection_/_id_/terms/_taxonomy_.mjs +12 -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 +10 -10
- package/dist/astro/routes/api/content/_collection_/authors.mjs +2 -2
- package/dist/astro/routes/api/content/_collection_/index.mjs +10 -10
- package/dist/astro/routes/api/content/_collection_/trash.mjs +6 -6
- package/dist/astro/routes/api/dashboard.mjs +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 +17 -17
- package/dist/astro/routes/api/import/wordpress/analyze.mjs +8 -8
- package/dist/astro/routes/api/import/wordpress/execute.d.mts +9 -8
- package/dist/astro/routes/api/import/wordpress/execute.mjs +32 -32
- package/dist/astro/routes/api/import/wordpress/media.d.mts +9 -8
- package/dist/astro/routes/api/import/wordpress/media.mjs +9 -9
- package/dist/astro/routes/api/import/wordpress/prepare.mjs +31 -31
- package/dist/astro/routes/api/import/wordpress/rewrite-urls.d.mts +10 -9
- package/dist/astro/routes/api/import/wordpress/rewrite-urls.mjs +28 -28
- package/dist/astro/routes/api/import/wordpress-plugin/analyze.d.mts +1 -1
- package/dist/astro/routes/api/import/wordpress-plugin/analyze.mjs +20 -20
- package/dist/astro/routes/api/import/wordpress-plugin/execute.d.mts +9 -8
- package/dist/astro/routes/api/import/wordpress-plugin/execute.mjs +36 -36
- package/dist/astro/routes/api/integrations/_provider_.mjs +6 -6
- package/dist/astro/routes/api/integrations/index.mjs +5 -5
- package/dist/astro/routes/api/manifest.mjs +3 -3
- package/dist/astro/routes/api/mcp.mjs +64 -64
- package/dist/astro/routes/api/media/_id_/confirm.mjs +8 -8
- package/dist/astro/routes/api/media/_id_.mjs +6 -6
- package/dist/astro/routes/api/media/file/_...key_.mjs +1 -1
- package/dist/astro/routes/api/media/providers/_providerId_/_itemId_.mjs +2 -2
- package/dist/astro/routes/api/media/providers/_providerId_/index.mjs +2 -2
- package/dist/astro/routes/api/media/providers/index.mjs +2 -2
- package/dist/astro/routes/api/media/upload-url.mjs +9 -9
- package/dist/astro/routes/api/media.mjs +9 -9
- package/dist/astro/routes/api/menus/_name_/items/_id_.mjs +28 -28
- package/dist/astro/routes/api/menus/_name_/items.mjs +28 -28
- package/dist/astro/routes/api/menus/_name_/reorder.mjs +28 -28
- package/dist/astro/routes/api/menus/_name_/translations.mjs +28 -28
- package/dist/astro/routes/api/menus/_name_.mjs +28 -28
- package/dist/astro/routes/api/menus/index.mjs +28 -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 +4 -4
- package/dist/astro/routes/api/plugins/_pluginId_/_...path_.mjs +4 -4
- package/dist/astro/routes/api/redirects/404s/index.mjs +9 -9
- package/dist/astro/routes/api/redirects/404s/summary.mjs +9 -9
- package/dist/astro/routes/api/redirects/_id_.mjs +29 -29
- package/dist/astro/routes/api/redirects/index.mjs +29 -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 +47 -46
- package/dist/astro/routes/api/schema/collections/_slug_/fields/index.mjs +47 -46
- package/dist/astro/routes/api/schema/collections/_slug_/fields/reorder.mjs +47 -46
- package/dist/astro/routes/api/schema/collections/_slug_/index.mjs +47 -46
- package/dist/astro/routes/api/schema/collections/index.mjs +47 -46
- package/dist/astro/routes/api/schema/index.mjs +7 -7
- package/dist/astro/routes/api/schema/orphans/_slug_.mjs +45 -44
- package/dist/astro/routes/api/schema/orphans/index.mjs +45 -44
- 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 +6 -6
- package/dist/astro/routes/api/search/suggest.mjs +9 -9
- package/dist/astro/routes/api/sections/_slug_.mjs +28 -28
- package/dist/astro/routes/api/sections/index.mjs +28 -28
- package/dist/astro/routes/api/settings/email.mjs +3 -3
- package/dist/astro/routes/api/settings.mjs +28 -28
- package/dist/astro/routes/api/setup/admin-verify.mjs +10 -10
- package/dist/astro/routes/api/setup/admin.mjs +8 -8
- package/dist/astro/routes/api/setup/dev-bypass.mjs +23 -23
- package/dist/astro/routes/api/setup/dev-reset.mjs +1 -1
- package/dist/astro/routes/api/setup/index.mjs +23 -23
- package/dist/astro/routes/api/setup/status.mjs +2 -2
- package/dist/astro/routes/api/snapshot.mjs +5 -5
- package/dist/astro/routes/api/taxonomies/_name_/terms/_slug_/translations.mjs +31 -31
- package/dist/astro/routes/api/taxonomies/_name_/terms/_slug_.mjs +31 -31
- package/dist/astro/routes/api/taxonomies/_name_/terms/index.mjs +31 -31
- package/dist/astro/routes/api/taxonomies/index.mjs +31 -31
- package/dist/astro/routes/api/themes/preview.mjs +4 -4
- package/dist/astro/routes/api/typegen.mjs +4 -4
- package/dist/astro/routes/api/well-known/auth.mjs +1 -1
- package/dist/astro/routes/api/well-known/oauth-authorization-server.mjs +3 -3
- package/dist/astro/routes/api/well-known/oauth-protected-resource.mjs +3 -3
- package/dist/astro/routes/api/widget-areas/_name_/reorder.mjs +27 -27
- package/dist/astro/routes/api/widget-areas/_name_/widgets/_id_.mjs +28 -28
- package/dist/astro/routes/api/widget-areas/_name_/widgets.mjs +28 -28
- package/dist/astro/routes/api/widget-areas/_name_.mjs +25 -25
- package/dist/astro/routes/api/widget-areas/index.mjs +28 -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 +34 -41
- package/dist/astro/routes/sitemap.xml.mjs +29 -17
- package/dist/astro/session-driver.d.mts +1 -1
- package/dist/astro/session-driver.mjs +2 -2
- package/dist/astro/types.d.mts +14 -11
- package/dist/{audit-DeBteyL4.mjs → audit-nenmMR-2.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-B_Dx-epW.mjs → auth-control-guard-B7PdECn6.mjs} +1 -1
- package/dist/{authorize-D6MkRtPw.mjs → authorize-DTvHe9bm.mjs} +1 -1
- package/dist/{briefing-DiJir0Ev.mjs → briefing-CpU_z8qH.mjs} +5 -5
- package/dist/{briefing-5Y-NTrWG.mjs → briefing-PxagUoJJ.mjs} +1 -1
- package/dist/{bundle-C-eQG8un.mjs → bundle-dsO2-7eh.mjs} +2 -2
- package/dist/{byline-CB0OLcK1.mjs → byline-DEBDPF8R.mjs} +4 -4
- package/dist/{byline-fields-BRUB-Vla.mjs → byline-fields-BQRx17y_.mjs} +1 -1
- package/dist/{byline-fields-DEQ1wcUa.d.mts → byline-fields-BXg94LXd.d.mts} +37 -31
- package/dist/{bylines-BDp4-cpl.mjs → bylines-C7hm1-iI.mjs} +3 -3
- package/dist/{bylines-CMKhrSEg.mjs → bylines-YK6eGHvV.mjs} +5 -5
- package/dist/{cache-CtXIOJKw.mjs → cache-BuVpjvBc.mjs} +1 -1
- package/dist/{chunks-BdkWx1oD.mjs → chunks-B-1_U3oF.mjs} +1 -1
- package/dist/cli/index.mjs +28 -27
- package/dist/cli/plugin-kit.d.mts +9 -8
- 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 -10
- package/dist/client/index.mjs +2 -2
- package/dist/{client-factory-Dll61uB1.mjs → client-factory-Nyp2sznG.mjs} +1 -1
- package/dist/{comment-3JihGSh6.mjs → comment-BX6H4NF-.mjs} +1 -1
- package/dist/{comment-reaction-BNXm1YHa.mjs → comment-reaction-QSENU_3S.mjs} +1 -1
- package/dist/{comments-DJZXQi0j.mjs → comments-BHSYG53k.mjs} +1 -1
- package/dist/{content-Bturdi4b.mjs → content-Bg_hMt4Q.mjs} +2 -2
- package/dist/{content-refresh-C4YoqoNs.mjs → content-refresh-CHBBZGwf.mjs} +2 -2
- package/dist/{context-CB4PwkM_.mjs → context-BGt7zfQ-.mjs} +8 -8
- package/dist/{context-B6HQWp5l.mjs → context-BHXgPEPC.mjs} +2 -2
- package/dist/{context-route-helpers-CLoNF0pp.mjs → context-route-helpers-SwM-_GT4.mjs} +2 -2
- package/dist/{dashboard-DP4dxA1S.mjs → dashboard-DPUW4hBR.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-BWV1ZxXW.mjs → device-flow-XqdFNsv_.mjs} +4 -4
- package/dist/discovery-DvuRcbP-.mjs +178 -0
- package/dist/{field-defs-cache-BGhsaYGT.mjs → field-defs-cache-sSdDeJXP.mjs} +1 -1
- package/dist/{fts-manager-6KClQEs0.mjs → fts-manager-C7pxxk6B.mjs} +1 -1
- package/dist/{hitl-requests-BAE_3YMO.mjs → hitl-requests-D7pfIM6q.mjs} +2 -2
- package/dist/{hitl-route-helpers-BkX6pLBa.mjs → hitl-route-helpers-Br9uvIQs.mjs} +5 -5
- package/dist/{import-CJm91blH.mjs → import-CrsquhXj.mjs} +7 -7
- package/dist/{index-DybFmYtZ.d.mts → index-NdJMMO48.d.mts} +3 -3
- package/dist/index.d.mts +16 -15
- package/dist/index.mjs +75 -74
- package/dist/{integration-credentials-D3ZneN0L.mjs → integration-credentials-B7Pj6YCv.mjs} +2 -2
- package/dist/{jsonld-BS1v8xeZ.d.mts → jsonld-TsDIJx5A.d.mts} +19 -7
- package/dist/{load-CfFRVQkS.mjs → load-Bul8Tk6e.mjs} +1 -1
- package/dist/{loader-DtE00Fml.mjs → loader-BCr2VSzt.mjs} +27 -5
- package/dist/{manifest-schema-DKa3ZaJL.mjs → manifest-schema-U5qGq-iB.mjs} +1 -1
- package/dist/{mcp-reviewed-executor-DaIhmgOW.mjs → mcp-reviewed-executor-C1lIimd0.mjs} +4 -4
- package/dist/media/index.d.mts +1 -1
- package/dist/media/local-runtime.d.mts +11 -10
- package/dist/media/local-runtime.mjs +2 -2
- package/dist/{media-BXbOL8xv.mjs → media-D8pQJSug.mjs} +1 -1
- package/dist/{menus-DCjNW2e4.mjs → menus-3B-PGTX3.mjs} +1 -1
- package/dist/{menus-b1JWwI1Z.mjs → menus-DSWeEWXl.mjs} +5 -5
- package/dist/{oauth-authorization-fiXxn7FY.mjs → oauth-authorization-CMU5kREy.mjs} +4 -4
- package/dist/{oauth-clients-D9Gg0WjF.mjs → oauth-clients-CLdR0WyA.mjs} +2 -2
- package/dist/object-cache/memory.d.mts +1 -1
- package/dist/page/index.d.mts +11 -10
- package/dist/page/index.mjs +2 -2
- package/dist/{parse-B-Y84oJl.mjs → parse-DEG06jjr.mjs} +1 -1
- package/dist/plugin-utils.d.mts +9 -8
- package/dist/plugins/adapt-sandbox-entry.d.mts +9 -8
- package/dist/plugins/adapt-sandbox-entry.mjs +1 -1
- package/dist/{plugins-BVSrX4gZ.mjs → plugins-D8YxTh9q.mjs} +26 -23
- package/dist/{preview-BMIReQGc.mjs → preview-Bn59ztjn.mjs} +2 -2
- package/dist/{provider-loader-Db-pJFu3.d.mts → provider-loader-jdkZM6xZ.d.mts} +1 -1
- package/dist/public-url-DFX2c_20.d.mts +99 -0
- package/dist/{public-url-CoGGAgPW.d.mts → public-url-NkNXl8OU.d.mts} +1 -1
- package/dist/{publication-authorization-Dzr05Xx7.mjs → publication-authorization-BmazS4K0.mjs} +6 -6
- package/dist/{query-DTGsFOQu.mjs → query-CrUftarl.mjs} +17 -36
- package/dist/{query-BnxjGFfS.mjs → query-DPC5GT6e.mjs} +2 -2
- package/dist/{rate-limit-oUGexQO1.mjs → rate-limit-DvGL45wH.mjs} +2 -2
- package/dist/{redirect-3Zzd0xIN.mjs → redirect-8B-gorhg.mjs} +1 -1
- package/dist/{redirects-lCeytkeq.mjs → redirects-D2SVS1zo.mjs} +3 -3
- package/dist/{redirects-CWGZMRsj.mjs → redirects-DdPaQiWQ.mjs} +6 -2
- package/dist/{registry-c51Wf_AZ.mjs → registry-D3n4-yUl.mjs} +13 -6
- package/dist/{request-meta-DHFIzWcf.mjs → request-meta-DZTiCIQR.mjs} +1 -1
- package/dist/resolve-CThKf9_X.mjs +27 -0
- package/dist/{review-requests-eQbhj62T.mjs → review-requests-BQbmYLnz.mjs} +1 -1
- package/dist/{review-requests-B9NfBTCJ.mjs → review-requests-D5CJ4JCy.mjs} +1 -1
- package/dist/{review-route-helpers-4KBg7Hi3.mjs → review-route-helpers-DYiujAPM.mjs} +2 -2
- package/dist/{runner-Bcy5w0vj.d.mts → runner-BITx7yBF.d.mts} +1 -1
- package/dist/{runner-BE1taNgj.mjs → runner-BWZ87FK-.mjs} +482 -457
- package/dist/runtime.d.mts +10 -9
- package/dist/runtime.mjs +3 -3
- package/dist/schema-kk9-6bUd.mjs +8 -0
- package/dist/{search-BKBSn2Yf.mjs → search-B_ir6H6m.mjs} +3 -3
- package/dist/{sections-CyXQJaUl.mjs → sections-pRy07N5I.mjs} +2 -2
- package/dist/seed/index.d.mts +2 -2
- package/dist/seed/index.mjs +17 -17
- package/dist/seo/index.d.mts +4 -2
- package/dist/seo/index.mjs +10 -11
- package/dist/{seo-BasNtS3J.mjs → seo-C4nlxiaY.mjs} +1 -1
- package/dist/seo-DdNntVj-.mjs +52 -0
- package/dist/{seo-contributions-Ci8_12_r.mjs → seo-contributions-BGBehNCN.mjs} +260 -76
- package/dist/{service-BTYluCDf.mjs → service-D6fJX7D7.mjs} +2 -2
- package/dist/{settings-BAFyDIGn.mjs → settings-C4OMR0zf.mjs} +2 -2
- package/dist/{settings-DcwHL9mx.mjs → settings-D-a7uy2z.mjs} +2 -2
- package/dist/{site-activity-QPC-7Vnq.mjs → site-activity-CnrmnFRy.mjs} +1 -1
- package/dist/{site-context-BSw2bNdG.mjs → site-context-Bdsobbh9.mjs} +13 -13
- package/dist/storage/local.d.mts +1 -1
- package/dist/storage/local.mjs +1 -1
- package/dist/storage/s3.d.mts +1 -1
- package/dist/storage/s3.mjs +1 -1
- package/dist/{store-CCfMD6nw.mjs → store-DerEE3jG.mjs} +1 -1
- package/dist/{taxonomies-DkMW6kj5.mjs → taxonomies-6bWkaa_G.mjs} +3 -3
- package/dist/{taxonomies-B5jTGXEC.mjs → taxonomies-FKTevd14.mjs} +5 -5
- package/dist/{taxonomy-C-Aqi1cF.mjs → taxonomy-BU0eCfij.mjs} +2 -2
- package/dist/{types-ywmuDETA.d.mts → types-B2kbOwSj.d.mts} +6 -0
- package/dist/{types-GtwhHAg8.d.mts → types-B6r_SMeR.d.mts} +1 -1
- package/dist/{types-BFeoAIHl.d.mts → types-C8cUW9dh.d.mts} +1 -0
- package/dist/{types-al8YMHdF.mjs → types-C9F2TLQV.mjs} +1 -1
- package/dist/{types-CnuliyMS.d.mts → types-Cty2_HVR.d.mts} +92 -51
- package/dist/ui/server-runtime.d.mts +13 -12
- package/dist/ui/server-runtime.mjs +19 -60
- package/dist/{user-Ldseid1x.mjs → user-BV02bsWz.mjs} +2 -2
- package/dist/{validate-YiX3rly5.d.mts → validate-Bc9gaua6.d.mts} +5 -3
- package/dist/{validate-hHdBXn4U.mjs → validate-Drps_jbV.mjs} +9 -1
- package/dist/version-Cg-aQHxG.mjs +6 -0
- package/dist/{widgets-oRtISrJQ.mjs → widgets-BFqy7PYs.mjs} +2 -2
- package/dist/{zod-generator-BGSszwCw.mjs → zod-generator-BlY_vGgR.mjs} +1 -1
- package/package.json +4 -4
- package/src/components/DinewayHead.astro +6 -6
- package/dist/resolve-B6BpqwAR.mjs +0 -100
- package/dist/schema-dGCjdAx9.mjs +0 -8
- package/dist/seo-BLszyJxd.mjs +0 -105
- package/dist/version-wVceh475.mjs +0 -6
- /package/dist/{actor-DA7yL9Yp.mjs → actor-D3A5PNkH.mjs} +0 -0
- /package/dist/{adapters-DnMDRQ4e.d.mts → adapters-DUVI3Mpc.d.mts} +0 -0
- /package/dist/{api-tokens-D4tcY8R6.mjs → api-tokens-CbMAy6xF.mjs} +0 -0
- /package/dist/{byline-fields-sE9SQsDR.mjs → byline-fields-DPi4Ri_5.mjs} +0 -0
- /package/dist/{components-D0w9MzQe.mjs → components-DGu-rih7.mjs} +0 -0
- /package/dist/{cron-D_c3WUPN.mjs → cron-BjKHo0QD.mjs} +0 -0
- /package/dist/{default-BxoI3SoK.mjs → default-CO47mlSA.mjs} +0 -0
- /package/dist/{email-console-BEMwuxhV.mjs → email-console-CFE1ay18.mjs} +0 -0
- /package/dist/{error-BW9f_ynq.mjs → error-Jz0EtEwI.mjs} +0 -0
- /package/dist/{escape-smSUOb7u.mjs → escape-HmHTC1Is.mjs} +0 -0
- /package/dist/{experimental-workflows-CgO73K4e.mjs → experimental-workflows-EYZRNkRR.mjs} +0 -0
- /package/dist/{media-allowlist-BQyIBPzd.mjs → media-allowlist-9u_gxMG2.mjs} +0 -0
- /package/dist/{media-url-B6d-yVI6.mjs → media-url-DVoOhf4X.mjs} +0 -0
- /package/dist/{oauth-state-store-DPVzeoyY.mjs → oauth-state-store-HdGg_nSm.mjs} +0 -0
- /package/dist/{oauth-user-lookup-3E5jlXrr.mjs → oauth-user-lookup-CP16vyFW.mjs} +0 -0
- /package/dist/{output-BbqsKnS_.mjs → output-CXOC3BFr.mjs} +0 -0
- /package/dist/{parser-DX_c5iG3.mjs → parser-buoH2frr.mjs} +0 -0
- /package/dist/{passkey-config-DE_0EGEP.mjs → passkey-config-T47FwLtS.mjs} +0 -0
- /package/dist/{placeholder-C6ZjZcmJ.d.mts → placeholder-BsYSFPjY.d.mts} +0 -0
- /package/dist/{portable-text-y8QVqTzd.mjs → portable-text-DQHE3b5v.mjs} +0 -0
- /package/dist/{portable-text-BYUu-wtj.d.mts → portable-text-Dm0bgrdZ.d.mts} +0 -0
- /package/dist/{provider-loader-BeQcnPN1.mjs → provider-loader-Dxka0BDp.mjs} +0 -0
- /package/dist/{public-url-BA-7LKvQ.mjs → public-url-CIAtNGEg.mjs} +0 -0
- /package/dist/{redirect-CZFAqHLr.mjs → redirect-CzqnLxK-.mjs} +0 -0
- /package/dist/{secrets-CpGpyGcO.mjs → secrets-Dw3lXI42.mjs} +0 -0
- /package/dist/{service-DbHMAoiN.mjs → service-DOdvCW-9.mjs} +0 -0
- /package/dist/{setup-complete-DcAQzVsB.mjs → setup-complete-Blqo_adb.mjs} +0 -0
- /package/dist/{setup-nonce-DkpYROqg.mjs → setup-nonce-CGUTFWgQ.mjs} +0 -0
- /package/dist/{sidecar-client-dt5fv23q.mjs → sidecar-client-C6ylL-0S.mjs} +0 -0
- /package/dist/{site-url-DfYDZyWl.mjs → site-url-CK5vBdFu.mjs} +0 -0
- /package/dist/{ssrf-BZHvtFEv.mjs → ssrf-Dz2hqAiG.mjs} +0 -0
- /package/dist/{status-BN40hMpr.mjs → status-xz9JACSX.mjs} +0 -0
- /package/dist/{tokens-DIzhPT80.mjs → tokens-DiodRT2y.mjs} +0 -0
- /package/dist/{transport-CXkC1F2Z.d.mts → transport-DKy93p6V.d.mts} +0 -0
- /package/dist/{transport-D0dLIuDC.mjs → transport-zquJ7Bzm.mjs} +0 -0
- /package/dist/{trusted-proxy-czZuby6G.mjs → trusted-proxy-NySPw95m.mjs} +0 -0
- /package/dist/{types-BsTXSvKG.d.mts → types-BaKec6bx.d.mts} +0 -0
- /package/dist/{types-gvNBqijt.mjs → types-C1LdZbQb.mjs} +0 -0
- /package/dist/{types-S9VIopdY.d.mts → types-C2LBO0t8.d.mts} +0 -0
- /package/dist/{types-CDcuRd4z.d.mts → types-DY9lJRpo.d.mts} +0 -0
- /package/dist/{types-YxFz4lDr.d.mts → types-Gd4kXLsa.d.mts} +0 -0
- /package/dist/{types-CK0r-Xq4.mjs → types-ftxcMx5-.mjs} +0 -0
- /package/dist/{url-D282S1Zw.mjs → url-C05Zz4pW.mjs} +0 -0
- /package/dist/{utils-B7gemXz5.mjs → utils-BPzpVHqR.mjs} +0 -0
- /package/dist/{wordpress-slugs-D_LfQCan.mjs → wordpress-slugs-fMvfO22_.mjs} +0 -0
|
@@ -1,49 +1,49 @@
|
|
|
1
1
|
import "../../../../../dialect-helpers-fk43GbDb.mjs";
|
|
2
2
|
import "../../../../../base64-F8-DUraK.mjs";
|
|
3
|
-
import "../../../../../types-
|
|
4
|
-
import "../../../../../loader-
|
|
3
|
+
import "../../../../../types-C9F2TLQV.mjs";
|
|
4
|
+
import "../../../../../loader-BCr2VSzt.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-Bg_hMt4Q.mjs";
|
|
8
|
+
import "../../../../../media-D8pQJSug.mjs";
|
|
9
|
+
import "../../../../../taxonomy-BU0eCfij.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-CnrmnFRy.mjs";
|
|
12
|
+
import "../../../../../review-requests-D5CJ4JCy.mjs";
|
|
13
|
+
import "../../../../../publication-authorization-BmazS4K0.mjs";
|
|
14
|
+
import { f as WordPressImportHitlPayloadBuilder, g as RiskPolicyEvaluator } from "../../../../../site-context-Bdsobbh9.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-sSdDeJXP.mjs";
|
|
18
|
+
import { t as BylineRepository } from "../../../../../byline-DEBDPF8R.mjs";
|
|
19
19
|
import "../../../../../enrich-Ck9tfMqe.mjs";
|
|
20
|
-
import "../../../../../briefing-
|
|
20
|
+
import "../../../../../briefing-CpU_z8qH.mjs";
|
|
21
21
|
import "../../../../../context-types-eBuMDAg-.mjs";
|
|
22
|
-
import "../../../../../content-refresh-
|
|
23
|
-
import "../../../../../fts-manager-
|
|
24
|
-
import { n as SchemaRegistry } from "../../../../../registry-
|
|
25
|
-
import "../../../../../settings-
|
|
26
|
-
import "../../../../../query-
|
|
27
|
-
import "../../../../../zod-generator-
|
|
28
|
-
import "../../../../../schema-
|
|
29
|
-
import "../../../../../resolve-
|
|
30
|
-
import "../../../../../taxonomies-
|
|
31
|
-
import { t as handleTaxonomyCreate } from "../../../../../taxonomies-
|
|
32
|
-
import { n as apiSuccess, r as handleError, t as apiError } from "../../../../../error-
|
|
33
|
-
import { n as parseBody, t as isParseError } from "../../../../../parse-
|
|
34
|
-
import "../../../../../redirects-
|
|
35
|
-
import { u as wpPluginExecuteBody } from "../../../../../byline-fields-
|
|
36
|
-
import "../../../../../status-
|
|
22
|
+
import "../../../../../content-refresh-CHBBZGwf.mjs";
|
|
23
|
+
import "../../../../../fts-manager-C7pxxk6B.mjs";
|
|
24
|
+
import { n as SchemaRegistry } from "../../../../../registry-D3n4-yUl.mjs";
|
|
25
|
+
import "../../../../../settings-D-a7uy2z.mjs";
|
|
26
|
+
import "../../../../../query-DPC5GT6e.mjs";
|
|
27
|
+
import "../../../../../zod-generator-BlY_vGgR.mjs";
|
|
28
|
+
import "../../../../../schema-kk9-6bUd.mjs";
|
|
29
|
+
import "../../../../../resolve-CThKf9_X.mjs";
|
|
30
|
+
import "../../../../../taxonomies-FKTevd14.mjs";
|
|
31
|
+
import { t as handleTaxonomyCreate } from "../../../../../taxonomies-6bWkaa_G.mjs";
|
|
32
|
+
import { n as apiSuccess, r as handleError, t as apiError } from "../../../../../error-Jz0EtEwI.mjs";
|
|
33
|
+
import { n as parseBody, t as isParseError } from "../../../../../parse-DEG06jjr.mjs";
|
|
34
|
+
import "../../../../../redirects-DdPaQiWQ.mjs";
|
|
35
|
+
import { u as wpPluginExecuteBody } from "../../../../../byline-fields-BQRx17y_.mjs";
|
|
36
|
+
import "../../../../../status-xz9JACSX.mjs";
|
|
37
37
|
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-
|
|
38
|
+
import "../../../../../parser-buoH2frr.mjs";
|
|
39
|
+
import { n as resolveAndValidateExternalUrl, t as SsrfError } from "../../../../../ssrf-Dz2hqAiG.mjs";
|
|
40
|
+
import "../../../../../activity-Bm5x0dik.mjs";
|
|
41
|
+
import "../../../../../activity-events-DpvhcjTP.mjs";
|
|
42
|
+
import { _ as sanitizeFieldSlug, g as resolveImportByline } from "../../../../../utils-BPzpVHqR.mjs";
|
|
43
|
+
import "../../../../../search-B_ir6H6m.mjs";
|
|
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-CrsquhXj.mjs";
|
|
45
|
+
import { n as requirePerm } from "../../../../../authorize-DTvHe9bm.mjs";
|
|
46
|
+
import { i as resolveHitlRouteActor, n as hitlRequiredRouteError, t as ensureWorkflowHitlRouteRequest } from "../../../../../hitl-route-helpers-Br9uvIQs.mjs";
|
|
47
47
|
import { importMediaWithProgress } from "../wordpress/media.mjs";
|
|
48
48
|
import { z } from "zod";
|
|
49
49
|
|
|
@@ -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-Dw3lXI42.mjs";
|
|
4
|
+
import "../../../../store-DerEE3jG.mjs";
|
|
5
|
+
import { r as handleIntegrationCredentialSet, t as handleIntegrationCredentialDelete } from "../../../../integration-credentials-B7Pj6YCv.mjs";
|
|
6
|
+
import { a as unwrapResult, r as handleError, t as apiError } from "../../../../error-Jz0EtEwI.mjs";
|
|
7
|
+
import { n as parseBody, t as isParseError } from "../../../../parse-DEG06jjr.mjs";
|
|
8
|
+
import { n as requirePerm } from "../../../../authorize-DTvHe9bm.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-Dw3lXI42.mjs";
|
|
4
|
+
import "../../../../store-DerEE3jG.mjs";
|
|
5
|
+
import { n as handleIntegrationCredentialList } from "../../../../integration-credentials-B7Pj6YCv.mjs";
|
|
6
|
+
import { a as unwrapResult, r as handleError, t as apiError } from "../../../../error-Jz0EtEwI.mjs";
|
|
7
|
+
import { n as requirePerm } from "../../../../authorize-DTvHe9bm.mjs";
|
|
8
8
|
|
|
9
9
|
//#region src/astro/routes/api/integrations/index.ts
|
|
10
10
|
const prerender = false;
|
|
@@ -1,7 +1,7 @@
|
|
|
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-
|
|
2
|
+
import { n as VERSION, t as COMMIT } from "../../../version-Cg-aQHxG.mjs";
|
|
3
|
+
import { r as handleError } from "../../../error-Jz0EtEwI.mjs";
|
|
4
|
+
import { i as experimentalSiteContextWorkflowsEnabled } from "../../../experimental-workflows-EYZRNkRR.mjs";
|
|
5
5
|
import { t as getAuthMode } from "../../../mode-DqpBaEOy.mjs";
|
|
6
6
|
|
|
7
7
|
//#region src/astro/routes/api/manifest.ts
|
|
@@ -1,43 +1,43 @@
|
|
|
1
1
|
import "../../../dialect-helpers-fk43GbDb.mjs";
|
|
2
2
|
import "../../../base64-F8-DUraK.mjs";
|
|
3
|
-
import "../../../types-
|
|
4
|
-
import "../../../loader-
|
|
3
|
+
import "../../../types-C9F2TLQV.mjs";
|
|
4
|
+
import "../../../loader-BCr2VSzt.mjs";
|
|
5
5
|
import "../../../object-cache-D51qOseS.mjs";
|
|
6
|
-
import "../../../content-
|
|
7
|
-
import "../../../media-
|
|
6
|
+
import "../../../content-Bg_hMt4Q.mjs";
|
|
7
|
+
import "../../../media-D8pQJSug.mjs";
|
|
8
8
|
import "../../../options-DQPTH5n0.mjs";
|
|
9
|
-
import "../../../site-activity-
|
|
10
|
-
import { t as ReviewRequestRepository } from "../../../review-requests-
|
|
11
|
-
import { a as HITL_REQUEST_STATUSES, i as HITL_REQUEST_PRIORITIES, o as HitlRequestRepository, r as ReleasePayloadBuilder, t as PublicationAuthorizationError } from "../../../publication-authorization-
|
|
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-CnrmnFRy.mjs";
|
|
10
|
+
import { t as ReviewRequestRepository } from "../../../review-requests-D5CJ4JCy.mjs";
|
|
11
|
+
import { a as HITL_REQUEST_STATUSES, i as HITL_REQUEST_PRIORITIES, o as HitlRequestRepository, r as ReleasePayloadBuilder, t as PublicationAuthorizationError } from "../../../publication-authorization-BmazS4K0.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-Bdsobbh9.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-CpU_z8qH.mjs";
|
|
15
15
|
import { t as SITE_CONTEXT_TYPES } from "../../../context-types-eBuMDAg-.mjs";
|
|
16
|
-
import "../../../content-refresh-
|
|
17
|
-
import "../../../fts-manager-
|
|
18
|
-
import "../../../registry-
|
|
19
|
-
import { a as getSiteSettingsWithDb } from "../../../settings-
|
|
16
|
+
import "../../../content-refresh-CHBBZGwf.mjs";
|
|
17
|
+
import "../../../fts-manager-C7pxxk6B.mjs";
|
|
18
|
+
import "../../../registry-D3n4-yUl.mjs";
|
|
19
|
+
import { a as getSiteSettingsWithDb } from "../../../settings-D-a7uy2z.mjs";
|
|
20
20
|
import { t as ReviewPayloadBuilder } from "../../../review-payload-BysRWpxS.mjs";
|
|
21
|
-
import { n as VERSION } from "../../../version-
|
|
22
|
-
import "../../../query-
|
|
23
|
-
import "../../../zod-generator-
|
|
24
|
-
import "../../../schema-
|
|
25
|
-
import { t as DinewaySecretsError } from "../../../secrets-
|
|
26
|
-
import { t as IntegrationCredentialStore } from "../../../store-
|
|
27
|
-
import { t as apiError } from "../../../error-
|
|
28
|
-
import { Dn as contentBylineInputSchema, P as settingsUpdateBody, Tn as bylineUpdateBody, fn as contentSeoInput, xn as bylineCreateBody } from "../../../redirects-
|
|
29
|
-
import "../../../byline-fields-
|
|
30
|
-
import "../../../status-
|
|
21
|
+
import { n as VERSION } from "../../../version-Cg-aQHxG.mjs";
|
|
22
|
+
import "../../../query-DPC5GT6e.mjs";
|
|
23
|
+
import "../../../zod-generator-BlY_vGgR.mjs";
|
|
24
|
+
import "../../../schema-kk9-6bUd.mjs";
|
|
25
|
+
import { t as DinewaySecretsError } from "../../../secrets-Dw3lXI42.mjs";
|
|
26
|
+
import { t as IntegrationCredentialStore } from "../../../store-DerEE3jG.mjs";
|
|
27
|
+
import { t as apiError } from "../../../error-Jz0EtEwI.mjs";
|
|
28
|
+
import { Dn as contentBylineInputSchema, P as settingsUpdateBody, Tn as bylineUpdateBody, fn as contentSeoInput, xn as bylineCreateBody } from "../../../redirects-DdPaQiWQ.mjs";
|
|
29
|
+
import "../../../byline-fields-BQRx17y_.mjs";
|
|
30
|
+
import "../../../status-xz9JACSX.mjs";
|
|
31
31
|
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-
|
|
32
|
+
import { i as hasScope } from "../../../api-tokens-CbMAy6xF.mjs";
|
|
33
|
+
import { r as registerPluginMcpRegistry, t as createReviewedPluginMcpCommandExecutor } from "../../../mcp-reviewed-executor-C1lIimd0.mjs";
|
|
34
|
+
import { n as resolveActorIdentity } from "../../../actor-D3A5PNkH.mjs";
|
|
35
|
+
import "../../../activity-Bm5x0dik.mjs";
|
|
36
|
+
import { d as logSchemaActivity, o as logContentActivity, p as logSiteActivitySafely, r as contentMcpToolSource, t as activityChangedKeys, x as schemaMcpToolSource } from "../../../activity-events-DpvhcjTP.mjs";
|
|
37
|
+
import "../../../utils-BPzpVHqR.mjs";
|
|
38
|
+
import "../../../search-B_ir6H6m.mjs";
|
|
39
|
+
import { f as readStoredForgewayAccount, n as DinewayToolsService, p as refreshForgewayAccountCredentials, s as createForgewayAccountClient, t as DinewayToolsError, u as normalizeForgewayApiUrl } from "../../../service-DOdvCW-9.mjs";
|
|
40
|
+
import { n as convertDataForWrite, t as convertDataForRead } from "../../../portable-text-DQHE3b5v.mjs";
|
|
41
41
|
import { z } from "zod";
|
|
42
42
|
import { Role, canActOnOwn, hasPermission } from "@dineway-ai/auth";
|
|
43
43
|
import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js";
|
|
@@ -332,7 +332,7 @@ function getDineway(extra) {
|
|
|
332
332
|
}
|
|
333
333
|
async function getCollectionFields(dineway, collection) {
|
|
334
334
|
try {
|
|
335
|
-
const { SchemaRegistry } = await import("../../../schema-
|
|
335
|
+
const { SchemaRegistry } = await import("../../../schema-kk9-6bUd.mjs").then((n) => n.t);
|
|
336
336
|
return (await new SchemaRegistry(dineway.db).getCollectionWithFields(collection))?.fields ?? null;
|
|
337
337
|
} catch {
|
|
338
338
|
return null;
|
|
@@ -349,7 +349,7 @@ async function applyReadMarkdown(dineway, collection, items) {
|
|
|
349
349
|
for (const item of items) if (item.data && typeof item.data === "object") item.data = convertDataForRead(item.data, fields, false);
|
|
350
350
|
}
|
|
351
351
|
async function invalidateBylines() {
|
|
352
|
-
const { invalidateBylineCache } = await import("../../../bylines-
|
|
352
|
+
const { invalidateBylineCache } = await import("../../../bylines-YK6eGHvV.mjs").then((n) => n.t);
|
|
353
353
|
invalidateBylineCache();
|
|
354
354
|
}
|
|
355
355
|
function canReadDrafts(extra) {
|
|
@@ -2404,7 +2404,7 @@ function createMcpServer(options = {}) {
|
|
|
2404
2404
|
requireRole(extra, Role.EDITOR);
|
|
2405
2405
|
const ec = getDineway(extra);
|
|
2406
2406
|
try {
|
|
2407
|
-
const { SchemaRegistry } = await import("../../../schema-
|
|
2407
|
+
const { SchemaRegistry } = await import("../../../schema-kk9-6bUd.mjs").then((n) => n.t);
|
|
2408
2408
|
return jsonResult({ items: await new SchemaRegistry(ec.db).listCollections() });
|
|
2409
2409
|
} catch (error) {
|
|
2410
2410
|
return errorResult(error);
|
|
@@ -2420,7 +2420,7 @@ function createMcpServer(options = {}) {
|
|
|
2420
2420
|
requireRole(extra, Role.EDITOR);
|
|
2421
2421
|
const ec = getDineway(extra);
|
|
2422
2422
|
try {
|
|
2423
|
-
const { SchemaRegistry } = await import("../../../schema-
|
|
2423
|
+
const { SchemaRegistry } = await import("../../../schema-kk9-6bUd.mjs").then((n) => n.t);
|
|
2424
2424
|
const collection = await new SchemaRegistry(ec.db).getCollectionWithFields(args.slug);
|
|
2425
2425
|
if (!collection) return errorResult(`Collection '${args.slug}' not found`);
|
|
2426
2426
|
return jsonResult(collection);
|
|
@@ -2450,7 +2450,7 @@ function createMcpServer(options = {}) {
|
|
|
2450
2450
|
requireRole(extra, Role.ADMIN);
|
|
2451
2451
|
const ec = getDineway(extra);
|
|
2452
2452
|
try {
|
|
2453
|
-
const { SchemaRegistry } = await import("../../../schema-
|
|
2453
|
+
const { SchemaRegistry } = await import("../../../schema-kk9-6bUd.mjs").then((n) => n.t);
|
|
2454
2454
|
const collection = await new SchemaRegistry(ec.db).createCollection({
|
|
2455
2455
|
slug: args.slug,
|
|
2456
2456
|
label: args.label,
|
|
@@ -2514,7 +2514,7 @@ function createMcpServer(options = {}) {
|
|
|
2514
2514
|
request
|
|
2515
2515
|
});
|
|
2516
2516
|
}
|
|
2517
|
-
const { SchemaRegistry } = await import("../../../schema-
|
|
2517
|
+
const { SchemaRegistry } = await import("../../../schema-kk9-6bUd.mjs").then((n) => n.t);
|
|
2518
2518
|
await new SchemaRegistry(ec.db).deleteCollection(args.slug, { force: args.force });
|
|
2519
2519
|
ec.invalidateManifest();
|
|
2520
2520
|
await logSchemaActivity(ec.db, locals, {
|
|
@@ -2578,7 +2578,7 @@ function createMcpServer(options = {}) {
|
|
|
2578
2578
|
requireRole(extra, Role.ADMIN);
|
|
2579
2579
|
const ec = getDineway(extra);
|
|
2580
2580
|
try {
|
|
2581
|
-
const { SchemaRegistry } = await import("../../../schema-
|
|
2581
|
+
const { SchemaRegistry } = await import("../../../schema-kk9-6bUd.mjs").then((n) => n.t);
|
|
2582
2582
|
const field = await new SchemaRegistry(ec.db).createField(args.collection, {
|
|
2583
2583
|
slug: args.slug,
|
|
2584
2584
|
label: args.label,
|
|
@@ -2647,7 +2647,7 @@ function createMcpServer(options = {}) {
|
|
|
2647
2647
|
request
|
|
2648
2648
|
});
|
|
2649
2649
|
}
|
|
2650
|
-
const { SchemaRegistry } = await import("../../../schema-
|
|
2650
|
+
const { SchemaRegistry } = await import("../../../schema-kk9-6bUd.mjs").then((n) => n.t);
|
|
2651
2651
|
await new SchemaRegistry(ec.db).deleteField(args.collection, args.fieldSlug);
|
|
2652
2652
|
ec.invalidateManifest();
|
|
2653
2653
|
await logSchemaActivity(ec.db, locals, {
|
|
@@ -2780,7 +2780,7 @@ function createMcpServer(options = {}) {
|
|
|
2780
2780
|
requireScope(extra, "content:read");
|
|
2781
2781
|
const ec = getDineway(extra);
|
|
2782
2782
|
try {
|
|
2783
|
-
const { searchWithDb } = await import("../../../search-
|
|
2783
|
+
const { searchWithDb } = await import("../../../search-B_ir6H6m.mjs").then((n) => n.t);
|
|
2784
2784
|
return jsonResult(await searchWithDb(ec.db, args.query, {
|
|
2785
2785
|
collections: args.collections,
|
|
2786
2786
|
locale: args.locale,
|
|
@@ -2806,7 +2806,7 @@ function createMcpServer(options = {}) {
|
|
|
2806
2806
|
requireScope(extra, "content:read");
|
|
2807
2807
|
const ec = getDineway(extra);
|
|
2808
2808
|
try {
|
|
2809
|
-
const { BylineRepository } = await import("../../../byline-
|
|
2809
|
+
const { BylineRepository } = await import("../../../byline-DEBDPF8R.mjs").then((n) => n.n);
|
|
2810
2810
|
return jsonResult(await new BylineRepository(ec.db).findMany({
|
|
2811
2811
|
search: args.search,
|
|
2812
2812
|
isGuest: args.isGuest,
|
|
@@ -2828,7 +2828,7 @@ function createMcpServer(options = {}) {
|
|
|
2828
2828
|
requireScope(extra, "content:read");
|
|
2829
2829
|
const ec = getDineway(extra);
|
|
2830
2830
|
try {
|
|
2831
|
-
const { BylineRepository } = await import("../../../byline-
|
|
2831
|
+
const { BylineRepository } = await import("../../../byline-DEBDPF8R.mjs").then((n) => n.n);
|
|
2832
2832
|
const byline = await new BylineRepository(ec.db).findById(args.id);
|
|
2833
2833
|
if (!byline) return errorResult(`Byline '${args.id}' not found`);
|
|
2834
2834
|
return jsonResult(byline);
|
|
@@ -2846,7 +2846,7 @@ function createMcpServer(options = {}) {
|
|
|
2846
2846
|
requireRole(extra, Role.EDITOR);
|
|
2847
2847
|
const ec = getDineway(extra);
|
|
2848
2848
|
try {
|
|
2849
|
-
const { handleBylineCreate } = await import("../../../bylines-
|
|
2849
|
+
const { handleBylineCreate } = await import("../../../bylines-C7hm1-iI.mjs").then((n) => n.t);
|
|
2850
2850
|
const result = await handleBylineCreate(ec.db, args);
|
|
2851
2851
|
if (result.success) await invalidateBylines();
|
|
2852
2852
|
return unwrap(result);
|
|
@@ -2866,7 +2866,7 @@ function createMcpServer(options = {}) {
|
|
|
2866
2866
|
requireRole(extra, Role.EDITOR);
|
|
2867
2867
|
const ec = getDineway(extra);
|
|
2868
2868
|
try {
|
|
2869
|
-
const { handleBylineUpdate } = await import("../../../bylines-
|
|
2869
|
+
const { handleBylineUpdate } = await import("../../../bylines-C7hm1-iI.mjs").then((n) => n.t);
|
|
2870
2870
|
const { id, ...input } = args;
|
|
2871
2871
|
const result = await handleBylineUpdate(ec.db, id, input);
|
|
2872
2872
|
if (result.success) await invalidateBylines();
|
|
@@ -2885,7 +2885,7 @@ function createMcpServer(options = {}) {
|
|
|
2885
2885
|
requireRole(extra, Role.EDITOR);
|
|
2886
2886
|
const ec = getDineway(extra);
|
|
2887
2887
|
try {
|
|
2888
|
-
const { BylineRepository } = await import("../../../byline-
|
|
2888
|
+
const { BylineRepository } = await import("../../../byline-DEBDPF8R.mjs").then((n) => n.n);
|
|
2889
2889
|
if (!await new BylineRepository(ec.db).delete(args.id)) return errorResult(`Byline '${args.id}' not found`);
|
|
2890
2890
|
await invalidateBylines();
|
|
2891
2891
|
return jsonResult({ deleted: args.id });
|
|
@@ -2902,7 +2902,7 @@ function createMcpServer(options = {}) {
|
|
|
2902
2902
|
requireScope(extra, "content:read");
|
|
2903
2903
|
const ec = getDineway(extra);
|
|
2904
2904
|
try {
|
|
2905
|
-
const { handleBylineTranslations } = await import("../../../bylines-
|
|
2905
|
+
const { handleBylineTranslations } = await import("../../../bylines-C7hm1-iI.mjs").then((n) => n.t);
|
|
2906
2906
|
return unwrap(await handleBylineTranslations(ec.db, args.id));
|
|
2907
2907
|
} catch (error) {
|
|
2908
2908
|
return errorResult(error);
|
|
@@ -2917,7 +2917,7 @@ function createMcpServer(options = {}) {
|
|
|
2917
2917
|
requireScope(extra, "content:read");
|
|
2918
2918
|
const ec = getDineway(extra);
|
|
2919
2919
|
try {
|
|
2920
|
-
const { handleTaxonomyList } = await import("../../../taxonomies-
|
|
2920
|
+
const { handleTaxonomyList } = await import("../../../taxonomies-6bWkaa_G.mjs").then((n) => n.l);
|
|
2921
2921
|
return unwrap(await handleTaxonomyList(ec.db, { locale: args.locale }));
|
|
2922
2922
|
} catch (error) {
|
|
2923
2923
|
return errorResult(error);
|
|
@@ -2937,12 +2937,12 @@ function createMcpServer(options = {}) {
|
|
|
2937
2937
|
requireScope(extra, "content:read");
|
|
2938
2938
|
const ec = getDineway(extra);
|
|
2939
2939
|
try {
|
|
2940
|
-
const { handleTaxonomyList } = await import("../../../taxonomies-
|
|
2940
|
+
const { handleTaxonomyList } = await import("../../../taxonomies-6bWkaa_G.mjs").then((n) => n.l);
|
|
2941
2941
|
const listResult = await handleTaxonomyList(ec.db, { locale: args.locale });
|
|
2942
2942
|
if (!listResult.success) return unwrap(listResult);
|
|
2943
2943
|
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-
|
|
2944
|
+
const { TaxonomyRepository } = await import("../../../taxonomy-BU0eCfij.mjs").then((n) => n.n);
|
|
2945
|
+
const { decodeCursor, encodeCursor } = await import("../../../types-C9F2TLQV.mjs").then((n) => n.a);
|
|
2946
2946
|
const repo = new TaxonomyRepository(ec.db);
|
|
2947
2947
|
const limit = Math.min(args.limit ?? 50, 100);
|
|
2948
2948
|
const terms = await repo.findByName(args.taxonomy, { locale: args.locale });
|
|
@@ -2991,7 +2991,7 @@ function createMcpServer(options = {}) {
|
|
|
2991
2991
|
requireRole(extra, Role.EDITOR);
|
|
2992
2992
|
const ec = getDineway(extra);
|
|
2993
2993
|
try {
|
|
2994
|
-
const { handleTermCreate } = await import("../../../taxonomies-
|
|
2994
|
+
const { handleTermCreate } = await import("../../../taxonomies-6bWkaa_G.mjs").then((n) => n.l);
|
|
2995
2995
|
return unwrap(await handleTermCreate(ec.db, args.taxonomy, {
|
|
2996
2996
|
slug: args.slug,
|
|
2997
2997
|
label: args.label,
|
|
@@ -3021,7 +3021,7 @@ function createMcpServer(options = {}) {
|
|
|
3021
3021
|
requireRole(extra, Role.EDITOR);
|
|
3022
3022
|
const ec = getDineway(extra);
|
|
3023
3023
|
try {
|
|
3024
|
-
const { handleTermUpdate } = await import("../../../taxonomies-
|
|
3024
|
+
const { handleTermUpdate } = await import("../../../taxonomies-6bWkaa_G.mjs").then((n) => n.l);
|
|
3025
3025
|
return unwrap(await handleTermUpdate(ec.db, args.taxonomy, args.termSlug, {
|
|
3026
3026
|
slug: args.slug,
|
|
3027
3027
|
label: args.label,
|
|
@@ -3046,7 +3046,7 @@ function createMcpServer(options = {}) {
|
|
|
3046
3046
|
requireRole(extra, Role.EDITOR);
|
|
3047
3047
|
const ec = getDineway(extra);
|
|
3048
3048
|
try {
|
|
3049
|
-
const { handleTermDelete } = await import("../../../taxonomies-
|
|
3049
|
+
const { handleTermDelete } = await import("../../../taxonomies-6bWkaa_G.mjs").then((n) => n.l);
|
|
3050
3050
|
return unwrap(await handleTermDelete(ec.db, args.taxonomy, args.termSlug, { locale: args.locale }));
|
|
3051
3051
|
} catch (error) {
|
|
3052
3052
|
return errorResult(error);
|
|
@@ -3061,7 +3061,7 @@ function createMcpServer(options = {}) {
|
|
|
3061
3061
|
requireScope(extra, "content:read");
|
|
3062
3062
|
const ec = getDineway(extra);
|
|
3063
3063
|
try {
|
|
3064
|
-
const { handleTermTranslations } = await import("../../../taxonomies-
|
|
3064
|
+
const { handleTermTranslations } = await import("../../../taxonomies-6bWkaa_G.mjs").then((n) => n.l);
|
|
3065
3065
|
return unwrap(await handleTermTranslations(ec.db, args.id));
|
|
3066
3066
|
} catch (error) {
|
|
3067
3067
|
return errorResult(error);
|
|
@@ -3076,7 +3076,7 @@ function createMcpServer(options = {}) {
|
|
|
3076
3076
|
requireScope(extra, "content:read");
|
|
3077
3077
|
const ec = getDineway(extra);
|
|
3078
3078
|
try {
|
|
3079
|
-
const { handleMenuList } = await import("../../../menus-
|
|
3079
|
+
const { handleMenuList } = await import("../../../menus-3B-PGTX3.mjs").then((n) => n.d);
|
|
3080
3080
|
return unwrap(await handleMenuList(ec.db, { locale: args.locale }));
|
|
3081
3081
|
} catch (error) {
|
|
3082
3082
|
return errorResult(error);
|
|
@@ -3094,7 +3094,7 @@ function createMcpServer(options = {}) {
|
|
|
3094
3094
|
requireScope(extra, "content:read");
|
|
3095
3095
|
const ec = getDineway(extra);
|
|
3096
3096
|
try {
|
|
3097
|
-
const { handleMenuGet } = await import("../../../menus-
|
|
3097
|
+
const { handleMenuGet } = await import("../../../menus-3B-PGTX3.mjs").then((n) => n.d);
|
|
3098
3098
|
return unwrap(await handleMenuGet(ec.db, args.name, { locale: args.locale }));
|
|
3099
3099
|
} catch (error) {
|
|
3100
3100
|
return errorResult(error);
|
|
@@ -3109,7 +3109,7 @@ function createMcpServer(options = {}) {
|
|
|
3109
3109
|
requireScope(extra, "content:read");
|
|
3110
3110
|
const ec = getDineway(extra);
|
|
3111
3111
|
try {
|
|
3112
|
-
const { handleMenuTranslations } = await import("../../../menus-
|
|
3112
|
+
const { handleMenuTranslations } = await import("../../../menus-3B-PGTX3.mjs").then((n) => n.d);
|
|
3113
3113
|
return unwrap(await handleMenuTranslations(ec.db, args.id));
|
|
3114
3114
|
} catch (error) {
|
|
3115
3115
|
return errorResult(error);
|
|
@@ -3129,7 +3129,7 @@ function createMcpServer(options = {}) {
|
|
|
3129
3129
|
requireRole(extra, Role.EDITOR);
|
|
3130
3130
|
const ec = getDineway(extra);
|
|
3131
3131
|
try {
|
|
3132
|
-
const { handleMenuCreate } = await import("../../../menus-
|
|
3132
|
+
const { handleMenuCreate } = await import("../../../menus-3B-PGTX3.mjs").then((n) => n.d);
|
|
3133
3133
|
return unwrap(await handleMenuCreate(ec.db, {
|
|
3134
3134
|
name: args.name,
|
|
3135
3135
|
label: args.label,
|
|
@@ -3153,7 +3153,7 @@ function createMcpServer(options = {}) {
|
|
|
3153
3153
|
requireRole(extra, Role.EDITOR);
|
|
3154
3154
|
const ec = getDineway(extra);
|
|
3155
3155
|
try {
|
|
3156
|
-
const { handleMenuUpdate } = await import("../../../menus-
|
|
3156
|
+
const { handleMenuUpdate } = await import("../../../menus-3B-PGTX3.mjs").then((n) => n.d);
|
|
3157
3157
|
return unwrap(await handleMenuUpdate(ec.db, args.name, {
|
|
3158
3158
|
label: args.label,
|
|
3159
3159
|
locale: args.locale
|
|
@@ -3175,7 +3175,7 @@ function createMcpServer(options = {}) {
|
|
|
3175
3175
|
requireRole(extra, Role.EDITOR);
|
|
3176
3176
|
const ec = getDineway(extra);
|
|
3177
3177
|
try {
|
|
3178
|
-
const { handleMenuDelete } = await import("../../../menus-
|
|
3178
|
+
const { handleMenuDelete } = await import("../../../menus-3B-PGTX3.mjs").then((n) => n.d);
|
|
3179
3179
|
return unwrap(await handleMenuDelete(ec.db, args.name, { locale: args.locale }));
|
|
3180
3180
|
} catch (error) {
|
|
3181
3181
|
return errorResult(error);
|
|
@@ -3210,7 +3210,7 @@ function createMcpServer(options = {}) {
|
|
|
3210
3210
|
requireRole(extra, Role.EDITOR);
|
|
3211
3211
|
const ec = getDineway(extra);
|
|
3212
3212
|
try {
|
|
3213
|
-
const { handleMenuSetItems } = await import("../../../menus-
|
|
3213
|
+
const { handleMenuSetItems } = await import("../../../menus-3B-PGTX3.mjs").then((n) => n.d);
|
|
3214
3214
|
return unwrap(await handleMenuSetItems(ec.db, args.name, args.items, { locale: args.locale }));
|
|
3215
3215
|
} catch (error) {
|
|
3216
3216
|
return errorResult(error);
|
|
@@ -3257,7 +3257,7 @@ function createMcpServer(options = {}) {
|
|
|
3257
3257
|
requireRole(extra, Role.ADMIN);
|
|
3258
3258
|
const ec = getDineway(extra);
|
|
3259
3259
|
try {
|
|
3260
|
-
const { handleSettingsGet } = await import("../../../settings-
|
|
3260
|
+
const { handleSettingsGet } = await import("../../../settings-C4OMR0zf.mjs").then((n) => n.r);
|
|
3261
3261
|
return unwrap(await handleSettingsGet(ec.db, ec.storage));
|
|
3262
3262
|
} catch (error) {
|
|
3263
3263
|
return errorResult(error);
|
|
@@ -3294,7 +3294,7 @@ function createMcpServer(options = {}) {
|
|
|
3294
3294
|
request
|
|
3295
3295
|
});
|
|
3296
3296
|
}
|
|
3297
|
-
const { handleSettingsUpdate } = await import("../../../settings-
|
|
3297
|
+
const { handleSettingsUpdate } = await import("../../../settings-C4OMR0zf.mjs").then((n) => n.r);
|
|
3298
3298
|
const result = await handleSettingsUpdate(ec.db, ec.storage, settingsInput);
|
|
3299
3299
|
if (!result.success) return unwrap(result);
|
|
3300
3300
|
await logSiteActivitySafely(ec.db, locals, {
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import "../../../../../base64-F8-DUraK.mjs";
|
|
2
|
-
import "../../../../../types-
|
|
3
|
-
import { t as MediaRepository } from "../../../../../media-
|
|
2
|
+
import "../../../../../types-C9F2TLQV.mjs";
|
|
3
|
+
import { t as MediaRepository } from "../../../../../media-D8pQJSug.mjs";
|
|
4
4
|
import { t as enrichImageMetadata } from "../../../../../enrich-Ck9tfMqe.mjs";
|
|
5
5
|
import "../../../../../context-types-eBuMDAg-.mjs";
|
|
6
|
-
import { n as apiSuccess, r as handleError, t as apiError } from "../../../../../error-
|
|
7
|
-
import { r as parseOptionalBody, t as isParseError } from "../../../../../parse-
|
|
8
|
-
import { Bt as mediaConfirmBody } from "../../../../../redirects-
|
|
9
|
-
import "../../../../../byline-fields-
|
|
10
|
-
import "../../../../../status-
|
|
6
|
+
import { n as apiSuccess, r as handleError, t as apiError } from "../../../../../error-Jz0EtEwI.mjs";
|
|
7
|
+
import { r as parseOptionalBody, t as isParseError } from "../../../../../parse-DEG06jjr.mjs";
|
|
8
|
+
import { Bt as mediaConfirmBody } from "../../../../../redirects-DdPaQiWQ.mjs";
|
|
9
|
+
import "../../../../../byline-fields-BQRx17y_.mjs";
|
|
10
|
+
import "../../../../../status-xz9JACSX.mjs";
|
|
11
11
|
import "../../../../../api/schemas/index.mjs";
|
|
12
|
-
import { n as requirePerm, t as requireOwnerPerm } from "../../../../../authorize-
|
|
12
|
+
import { n as requirePerm, t as requireOwnerPerm } from "../../../../../authorize-DTvHe9bm.mjs";
|
|
13
13
|
|
|
14
14
|
//#region src/astro/routes/api/media/[id]/confirm.ts
|
|
15
15
|
const prerender = false;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import "../../../../context-types-eBuMDAg-.mjs";
|
|
2
2
|
import { t as addInternalMediaUrl } from "../../../../url-guoXQQcV.mjs";
|
|
3
|
-
import { a as unwrapResult, n as apiSuccess, r as handleError, t as apiError } from "../../../../error-
|
|
4
|
-
import { n as parseBody, t as isParseError } from "../../../../parse-
|
|
5
|
-
import { Jt as mediaUpdateBody } from "../../../../redirects-
|
|
6
|
-
import "../../../../byline-fields-
|
|
7
|
-
import "../../../../status-
|
|
3
|
+
import { a as unwrapResult, n as apiSuccess, r as handleError, t as apiError } from "../../../../error-Jz0EtEwI.mjs";
|
|
4
|
+
import { n as parseBody, t as isParseError } from "../../../../parse-DEG06jjr.mjs";
|
|
5
|
+
import { Jt as mediaUpdateBody } from "../../../../redirects-DdPaQiWQ.mjs";
|
|
6
|
+
import "../../../../byline-fields-BQRx17y_.mjs";
|
|
7
|
+
import "../../../../status-xz9JACSX.mjs";
|
|
8
8
|
import "../../../../api/schemas/index.mjs";
|
|
9
|
-
import { n as requirePerm, t as requireOwnerPerm } from "../../../../authorize-
|
|
9
|
+
import { n as requirePerm, t as requireOwnerPerm } from "../../../../authorize-DTvHe9bm.mjs";
|
|
10
10
|
|
|
11
11
|
//#region src/astro/routes/api/media/[id].ts
|
|
12
12
|
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-Jz0EtEwI.mjs";
|
|
2
|
+
import { n as requirePerm } from "../../../../../../authorize-DTvHe9bm.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-Jz0EtEwI.mjs";
|
|
2
|
+
import { n as requirePerm } from "../../../../../../authorize-DTvHe9bm.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-Jz0EtEwI.mjs";
|
|
2
|
+
import { n as requirePerm } from "../../../../../authorize-DTvHe9bm.mjs";
|
|
3
3
|
|
|
4
4
|
//#region src/astro/routes/api/media/providers/index.ts
|
|
5
5
|
const prerender = false;
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import "../../../../base64-F8-DUraK.mjs";
|
|
2
|
-
import "../../../../types-
|
|
3
|
-
import { t as MediaRepository } from "../../../../media-
|
|
2
|
+
import "../../../../types-C9F2TLQV.mjs";
|
|
3
|
+
import { t as MediaRepository } from "../../../../media-D8pQJSug.mjs";
|
|
4
4
|
import { n as normalizeMime, t as matchesMimeAllowlist } from "../../../../mime-C0vOHFm7.mjs";
|
|
5
5
|
import "../../../../context-types-eBuMDAg-.mjs";
|
|
6
|
-
import { n as apiSuccess, r as handleError, t as apiError } from "../../../../error-
|
|
7
|
-
import { n as parseBody, t as isParseError } from "../../../../parse-
|
|
8
|
-
import { Rt as DEFAULT_MAX_UPLOAD_SIZE, Yt as mediaUploadUrlBody } from "../../../../redirects-
|
|
9
|
-
import "../../../../byline-fields-
|
|
10
|
-
import "../../../../status-
|
|
6
|
+
import { n as apiSuccess, r as handleError, t as apiError } from "../../../../error-Jz0EtEwI.mjs";
|
|
7
|
+
import { n as parseBody, t as isParseError } from "../../../../parse-DEG06jjr.mjs";
|
|
8
|
+
import { Rt as DEFAULT_MAX_UPLOAD_SIZE, Yt as mediaUploadUrlBody } from "../../../../redirects-DdPaQiWQ.mjs";
|
|
9
|
+
import "../../../../byline-fields-BQRx17y_.mjs";
|
|
10
|
+
import "../../../../status-xz9JACSX.mjs";
|
|
11
11
|
import "../../../../api/schemas/index.mjs";
|
|
12
|
-
import { n as requirePerm } from "../../../../authorize-
|
|
13
|
-
import { n as resolveFieldAllowlist, t as GLOBAL_UPLOAD_ALLOWLIST } from "../../../../media-allowlist-
|
|
12
|
+
import { n as requirePerm } from "../../../../authorize-DTvHe9bm.mjs";
|
|
13
|
+
import { n as resolveFieldAllowlist, t as GLOBAL_UPLOAD_ALLOWLIST } from "../../../../media-allowlist-9u_gxMG2.mjs";
|
|
14
14
|
import { ulid } from "ulidx";
|
|
15
15
|
import * as path from "node:path";
|
|
16
16
|
|