dineway 0.2.41 → 0.2.43
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-events-DkHsy7Y0.mjs → activity-events-D4JfWJFI.mjs} +1 -1
- package/dist/{allowed-origins-Clitkhiv.mjs → allowed-origins-SQbPK6WG.mjs} +1 -1
- package/dist/api/route-utils.d.mts +15 -15
- package/dist/api/route-utils.mjs +16 -16
- package/dist/api/schemas/index.d.mts +1 -1
- package/dist/api/schemas/index.mjs +6 -6
- package/dist/{api-CMbsIQ46.mjs → api-V-xnLN6S.mjs} +12 -12
- package/dist/{api-tokens-ciHNTdN2.mjs → api-tokens-yyJPh_qs.mjs} +1 -1
- package/dist/{apply-B5qoX19G.mjs → apply-DRFEUVGB.mjs} +17 -17
- package/dist/astro/index.d.mts +16 -16
- package/dist/astro/index.mjs +4 -4
- package/dist/astro/middleware/auth.d.mts +14 -14
- 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.d.mts +2 -2
- package/dist/astro/middleware.mjs +92 -93
- package/dist/astro/routes/api/admin/allowed-domains/_domain_.mjs +8 -8
- package/dist/astro/routes/api/admin/allowed-domains/index.mjs +8 -8
- 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 +26 -26
- package/dist/astro/routes/api/admin/byline-fields/_slug_/usage.mjs +3 -3
- package/dist/astro/routes/api/admin/byline-fields/_slug_.mjs +10 -10
- package/dist/astro/routes/api/admin/byline-fields/index.mjs +10 -10
- package/dist/astro/routes/api/admin/byline-fields/reorder.mjs +10 -10
- package/dist/astro/routes/api/admin/bylines/_id_/index.mjs +18 -18
- package/dist/astro/routes/api/admin/bylines/_id_/translations.mjs +18 -18
- package/dist/astro/routes/api/admin/bylines/index.mjs +18 -18
- package/dist/astro/routes/api/admin/comments/_id_/status.mjs +16 -16
- package/dist/astro/routes/api/admin/comments/_id_.mjs +7 -7
- package/dist/astro/routes/api/admin/comments/bulk.mjs +14 -14
- package/dist/astro/routes/api/admin/comments/counts.mjs +7 -7
- package/dist/astro/routes/api/admin/comments/index.mjs +14 -14
- package/dist/astro/routes/api/admin/context/_id_/history.mjs +34 -35
- package/dist/astro/routes/api/admin/context/_id_/index.mjs +34 -35
- package/dist/astro/routes/api/admin/context/_id_/review.mjs +40 -41
- package/dist/astro/routes/api/admin/context/_id_/supersede.mjs +40 -41
- package/dist/astro/routes/api/admin/context/diff.mjs +39 -40
- package/dist/astro/routes/api/admin/context/index.mjs +40 -41
- package/dist/astro/routes/api/admin/context/stale.mjs +39 -40
- package/dist/astro/routes/api/admin/hitl-requests/_id_/index.mjs +34 -35
- package/dist/astro/routes/api/admin/hitl-requests/_id_/resolve.mjs +39 -40
- package/dist/astro/routes/api/admin/hitl-requests/index.mjs +39 -40
- package/dist/astro/routes/api/admin/hooks/exclusive/_hookName_.mjs +35 -36
- 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 +61 -62
- package/dist/astro/routes/api/admin/plugins/_id_/enable.mjs +61 -62
- package/dist/astro/routes/api/admin/plugins/_id_/index.mjs +54 -55
- package/dist/astro/routes/api/admin/plugins/_id_/uninstall.mjs +61 -62
- package/dist/astro/routes/api/admin/plugins/_id_/update.mjs +61 -62
- package/dist/astro/routes/api/admin/plugins/index.mjs +54 -55
- package/dist/astro/routes/api/admin/plugins/marketplace/_id_/icon.mjs +2 -2
- package/dist/astro/routes/api/admin/plugins/marketplace/_id_/index.mjs +54 -55
- package/dist/astro/routes/api/admin/plugins/marketplace/_id_/install.mjs +61 -62
- package/dist/astro/routes/api/admin/plugins/marketplace/index.mjs +54 -55
- package/dist/astro/routes/api/admin/plugins/updates.mjs +54 -55
- package/dist/astro/routes/api/admin/review-requests/_id_/image.mjs +24 -24
- package/dist/astro/routes/api/admin/review-requests/_id_/index.mjs +29 -30
- package/dist/astro/routes/api/admin/review-requests/_id_/resolve.mjs +45 -46
- package/dist/astro/routes/api/admin/review-requests/_id_/revoke.mjs +4 -4
- package/dist/astro/routes/api/admin/review-requests/index.mjs +44 -45
- package/dist/astro/routes/api/admin/themes/marketplace/_id_/index.mjs +54 -55
- package/dist/astro/routes/api/admin/themes/marketplace/_id_/thumbnail.mjs +2 -2
- package/dist/astro/routes/api/admin/themes/marketplace/index.mjs +54 -55
- 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 +8 -8
- package/dist/astro/routes/api/admin/users/_id_/send-recovery.mjs +2 -2
- package/dist/astro/routes/api/admin/users/index.mjs +8 -8
- package/dist/astro/routes/api/auth/dev-bypass.mjs +3 -3
- package/dist/astro/routes/api/auth/invite/accept.mjs +1 -1
- package/dist/astro/routes/api/auth/invite/complete.mjs +11 -11
- package/dist/astro/routes/api/auth/invite/index.mjs +9 -9
- package/dist/astro/routes/api/auth/invite/register-options.mjs +10 -10
- package/dist/astro/routes/api/auth/logout.mjs +2 -2
- package/dist/astro/routes/api/auth/magic-link/send.mjs +11 -11
- package/dist/astro/routes/api/auth/magic-link/verify.mjs +2 -2
- package/dist/astro/routes/api/auth/me.mjs +8 -8
- 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 +8 -8
- package/dist/astro/routes/api/auth/passkey/index.mjs +1 -1
- package/dist/astro/routes/api/auth/passkey/options.mjs +12 -12
- package/dist/astro/routes/api/auth/passkey/register/options.mjs +10 -10
- package/dist/astro/routes/api/auth/passkey/register/verify.mjs +11 -11
- package/dist/astro/routes/api/auth/passkey/verify.mjs +11 -11
- package/dist/astro/routes/api/auth/setup-token/index.mjs +3 -3
- package/dist/astro/routes/api/auth/setup-token/verify.mjs +2 -2
- package/dist/astro/routes/api/auth/signup/complete.mjs +11 -11
- package/dist/astro/routes/api/auth/signup/request.mjs +11 -11
- package/dist/astro/routes/api/auth/signup/verify.mjs +1 -1
- package/dist/astro/routes/api/comments/_collection_/_contentId_/index.d.mts +14 -14
- package/dist/astro/routes/api/comments/_collection_/_contentId_/index.mjs +18 -18
- package/dist/astro/routes/api/comments/_collection_/_contentId_/reactions.mjs +17 -17
- package/dist/astro/routes/api/content/_collection_/_id_/compare.mjs +2 -2
- package/dist/astro/routes/api/content/_collection_/_id_/discard-draft.mjs +4 -4
- package/dist/astro/routes/api/content/_collection_/_id_/duplicate.mjs +4 -4
- package/dist/astro/routes/api/content/_collection_/_id_/permanent.mjs +4 -4
- package/dist/astro/routes/api/content/_collection_/_id_/preview-url.mjs +20 -20
- package/dist/astro/routes/api/content/_collection_/_id_/publish.mjs +25 -26
- package/dist/astro/routes/api/content/_collection_/_id_/release-readiness.mjs +9 -9
- package/dist/astro/routes/api/content/_collection_/_id_/restore.mjs +4 -4
- package/dist/astro/routes/api/content/_collection_/_id_/revisions.mjs +2 -2
- package/dist/astro/routes/api/content/_collection_/_id_/schedule.mjs +25 -26
- package/dist/astro/routes/api/content/_collection_/_id_/terms/_taxonomy_.mjs +21 -21
- package/dist/astro/routes/api/content/_collection_/_id_/translations.mjs +2 -2
- package/dist/astro/routes/api/content/_collection_/_id_/unpublish.mjs +4 -4
- package/dist/astro/routes/api/content/_collection_/_id_.mjs +15 -15
- package/dist/astro/routes/api/content/_collection_/authors.mjs +2 -2
- package/dist/astro/routes/api/content/_collection_/index.mjs +15 -15
- package/dist/astro/routes/api/content/_collection_/trash.mjs +9 -9
- package/dist/astro/routes/api/dashboard.mjs +11 -11
- 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 +22 -22
- package/dist/astro/routes/api/import/wordpress/analyze.mjs +11 -11
- package/dist/astro/routes/api/import/wordpress/execute.d.mts +14 -14
- package/dist/astro/routes/api/import/wordpress/execute.mjs +40 -41
- package/dist/astro/routes/api/import/wordpress/media.d.mts +14 -14
- package/dist/astro/routes/api/import/wordpress/media.mjs +11 -11
- package/dist/astro/routes/api/import/wordpress/prepare.mjs +43 -44
- package/dist/astro/routes/api/import/wordpress/rewrite-urls.d.mts +15 -15
- package/dist/astro/routes/api/import/wordpress/rewrite-urls.mjs +40 -41
- package/dist/astro/routes/api/import/wordpress-plugin/analyze.d.mts +1 -1
- package/dist/astro/routes/api/import/wordpress-plugin/analyze.mjs +25 -25
- package/dist/astro/routes/api/import/wordpress-plugin/execute.d.mts +14 -14
- package/dist/astro/routes/api/import/wordpress-plugin/execute.mjs +45 -46
- package/dist/astro/routes/api/integration/artifact.mjs +4 -4
- package/dist/astro/routes/api/integration/dispatch.mjs +8 -8
- 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 +81 -82
- package/dist/astro/routes/api/media/_id_/confirm.mjs +9 -9
- package/dist/astro/routes/api/media/_id_.mjs +10 -10
- 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 -10
- package/dist/astro/routes/api/media.mjs +12 -12
- package/dist/astro/routes/api/menus/_name_/items/_id_.mjs +40 -41
- package/dist/astro/routes/api/menus/_name_/items.mjs +40 -41
- package/dist/astro/routes/api/menus/_name_/reorder.mjs +40 -41
- package/dist/astro/routes/api/menus/_name_/translations.mjs +40 -41
- package/dist/astro/routes/api/menus/_name_.mjs +40 -41
- package/dist/astro/routes/api/menus/index.mjs +40 -41
- package/dist/astro/routes/api/oauth/authorize.mjs +7 -7
- package/dist/astro/routes/api/oauth/device/authorize.mjs +5 -5
- package/dist/astro/routes/api/oauth/device/code.mjs +8 -8
- package/dist/astro/routes/api/oauth/device/token.mjs +7 -7
- package/dist/astro/routes/api/oauth/register.mjs +4 -4
- package/dist/astro/routes/api/oauth/token/refresh.mjs +5 -5
- package/dist/astro/routes/api/oauth/token/revoke.mjs +5 -5
- package/dist/astro/routes/api/oauth/token.mjs +6 -6
- package/dist/astro/routes/api/openapi.json.mjs +6 -6
- package/dist/astro/routes/api/plugins/_pluginId_/_...path_.mjs +3 -3
- package/dist/astro/routes/api/redirects/404s/index.mjs +10 -10
- package/dist/astro/routes/api/redirects/404s/summary.mjs +10 -10
- package/dist/astro/routes/api/redirects/_id_.mjs +40 -41
- package/dist/astro/routes/api/redirects/index.mjs +40 -41
- 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 +56 -57
- package/dist/astro/routes/api/schema/collections/_slug_/fields/index.mjs +56 -57
- package/dist/astro/routes/api/schema/collections/_slug_/fields/reorder.mjs +56 -57
- package/dist/astro/routes/api/schema/collections/_slug_/index.mjs +56 -57
- package/dist/astro/routes/api/schema/collections/index.mjs +56 -57
- package/dist/astro/routes/api/schema/index.mjs +11 -11
- package/dist/astro/routes/api/schema/orphans/_slug_.mjs +54 -55
- package/dist/astro/routes/api/schema/orphans/index.mjs +54 -55
- package/dist/astro/routes/api/search/enable.mjs +15 -16
- package/dist/astro/routes/api/search/index.mjs +14 -15
- package/dist/astro/routes/api/search/rebuild.mjs +15 -16
- package/dist/astro/routes/api/search/stats.mjs +8 -9
- package/dist/astro/routes/api/search/suggest.mjs +14 -15
- package/dist/astro/routes/api/sections/_slug_.mjs +40 -41
- package/dist/astro/routes/api/sections/index.mjs +40 -41
- package/dist/astro/routes/api/settings/email.mjs +3 -3
- package/dist/astro/routes/api/settings/reviews.mjs +5 -5
- package/dist/astro/routes/api/settings.mjs +40 -41
- package/dist/astro/routes/api/setup/admin-verify.mjs +13 -13
- package/dist/astro/routes/api/setup/admin.mjs +11 -11
- package/dist/astro/routes/api/setup/dev-bypass.mjs +29 -30
- package/dist/astro/routes/api/setup/dev-reset.mjs +1 -1
- package/dist/astro/routes/api/setup/index.mjs +31 -32
- package/dist/astro/routes/api/setup/status.mjs +2 -2
- package/dist/astro/routes/api/snapshot.mjs +5 -5
- package/dist/astro/routes/api/system/heartbeat.mjs +2 -2
- package/dist/astro/routes/api/taxonomies/_name_/terms/_slug_/translations.mjs +43 -44
- package/dist/astro/routes/api/taxonomies/_name_/terms/_slug_.mjs +43 -44
- package/dist/astro/routes/api/taxonomies/_name_/terms/index.mjs +43 -44
- package/dist/astro/routes/api/taxonomies/index.mjs +43 -44
- 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 +39 -40
- package/dist/astro/routes/api/widget-areas/_name_/widgets/_id_.mjs +40 -41
- package/dist/astro/routes/api/widget-areas/_name_/widgets.mjs +40 -41
- package/dist/astro/routes/api/widget-areas/_name_.mjs +36 -37
- package/dist/astro/routes/api/widget-areas/index.mjs +40 -41
- package/dist/astro/routes/api/widget-components.mjs +2 -2
- package/dist/astro/routes/robots.txt.mjs +7 -7
- package/dist/astro/routes/sitemap-_collection_.xml.mjs +14 -14
- package/dist/astro/routes/sitemap.xml.mjs +13 -13
- package/dist/astro/session-driver.d.mts +1 -1
- package/dist/astro/session-driver.mjs +4 -4
- package/dist/astro/types.d.mts +17 -17
- package/dist/auth/providers/github.d.mts +1 -1
- package/dist/auth/providers/google.d.mts +1 -1
- package/dist/{auth-control-guard-DpUP6Fs_.mjs → auth-control-guard-D9oiZPtN.mjs} +1 -1
- package/dist/{authorize-DWNOqMKq.mjs → authorize-Cg8wByla.mjs} +1 -1
- package/dist/{briefing-DYiV93rg.mjs → briefing-BwDkIHys.mjs} +6 -6
- package/dist/{briefing-BzvBeIJh.mjs → briefing-xEDJ0OcA.mjs} +1 -1
- package/dist/{bundle-DWn5eFKz.mjs → bundle-CnJWXvur.mjs} +1 -1
- package/dist/{byline-3qjp1-oa.mjs → byline-Dznig_jr.mjs} +5 -5
- package/dist/{byline-fields-Bne2v0ti.d.mts → byline-fields-Bdq5wStT.d.mts} +19 -19
- package/dist/{byline-fields-wWu2Cb3l.mjs → byline-fields-Bnw5NflJ.mjs} +2 -2
- package/dist/{bylines-CGuJi-zu.mjs → bylines-BQMt9Kby.mjs} +4 -4
- package/dist/{bylines-BSn9O1Wx.mjs → bylines-umBrRU5P.mjs} +1 -1
- package/dist/cli/index.mjs +43 -41
- package/dist/cli/plugin-kit.d.mts +14 -14
- package/dist/cli/plugin-kit.mjs +2 -2
- package/dist/client/external-auth-headers.d.mts +1 -1
- package/dist/client/index.d.mts +16 -16
- package/dist/client/index.mjs +2 -2
- package/dist/{comment-BWDG1nQm.mjs → comment-CbGlRPPS.mjs} +1 -1
- package/dist/{comments-xkten8nV.mjs → comments-CaCApohz.mjs} +1 -1
- package/dist/{config-6R0bchVE.mjs → config---A7Bg68.mjs} +2 -0
- package/dist/{content-BigS8BAv.mjs → content-DbdiQEl7.mjs} +5 -5
- package/dist/{content-refresh-DJuFIqQ4.mjs → content-refresh-COi0WfKw.mjs} +3 -3
- package/dist/content-storage/index.d.mts +19 -6
- package/dist/content-storage/index.mjs +15 -16
- package/dist/content-storage/store.d.mts +2 -2
- package/dist/content-storage/store.mjs +2 -2
- package/dist/{content-write-DAZCNKWl.mjs → content-write-BJkjOdiq.mjs} +13 -50
- package/dist/{context-CCsI5nTK.mjs → context-DTj7OFVh.mjs} +2 -2
- package/dist/{context-route-helpers-TP3EqxRQ.mjs → context-route-helpers-CUrRB8qt.mjs} +1 -1
- package/dist/{context-0806nV9h.mjs → context-suF2JGdX.mjs} +5 -5
- package/dist/{dashboard-CSrnhBO6.mjs → dashboard-DNwOpH8d.mjs} +1 -1
- package/dist/database/batch.d.mts +1 -1
- package/dist/database/d1/index.d.mts +14 -14
- package/dist/database/d1/index.mjs +2 -2
- package/dist/db/index.d.mts +3 -3
- 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-SoZh-HvN.mjs → device-flow-C8gMXe3u.mjs} +3 -3
- package/dist/{discovery-49qXmdwv.mjs → discovery-CIgViNk9.mjs} +3 -3
- package/dist/{evidence-B3O9_VKm.mjs → evidence-0WP8WrwT.mjs} +4 -4
- package/dist/{hitl-requests-B5vOPseK.mjs → hitl-requests-BRrufqcM.mjs} +2 -2
- package/dist/{hitl-route-helpers-C3icmGdj.mjs → hitl-route-helpers-TzM35SHx.mjs} +4 -4
- package/dist/{import-CKnKQj3f.mjs → import-DSf-FzGX.mjs} +7 -7
- package/dist/{index-CLj17kW9.d.mts → index-_fCUsJx9.d.mts} +3 -3
- package/dist/index.d.mts +19 -19
- package/dist/index.mjs +85 -86
- package/dist/{integration-credentials-DpuRw1kx.mjs → integration-credentials-B23h97Ip.mjs} +2 -2
- package/dist/{jsonld-CN91qtDw.d.mts → jsonld-D1llK8pQ.d.mts} +2 -2
- package/dist/{loader-CCwWFQSh.mjs → loader-C9hvIKEW.mjs} +2 -2
- package/dist/{manifest-schema-DaQpgyTB.mjs → manifest-schema-B_rWNZn5.mjs} +1 -1
- package/dist/{mcp-reviewed-executor-DA6Q9sDc.mjs → mcp-reviewed-executor-B_ztrZgH.mjs} +5 -5
- package/dist/media/index.d.mts +1 -1
- package/dist/media/local-runtime.d.mts +16 -16
- package/dist/{menus-CbBi7Ad7.mjs → menus-BfQjG9Wc.mjs} +1 -1
- package/dist/{menus-D0c8CeVg.mjs → menus-DL-BYzwG.mjs} +6 -6
- package/dist/{migration-DJuj7ZwN.mjs → migration-zOMc0bo0.mjs} +12 -11
- package/dist/{oauth-authorization-CSSRMOKn.mjs → oauth-authorization-D5_WocOq.mjs} +4 -4
- package/dist/{oauth-clients-DX5HIJJv.mjs → oauth-clients-Bx5PjpT3.mjs} +2 -2
- package/dist/object-cache/memory.d.mts +1 -1
- package/dist/{object-cache-DyI1SOBK.mjs → object-cache-qP60KjUp.mjs} +1 -1
- package/dist/{owned-metadata-BPmUjZqI.mjs → owned-metadata-DhyklTd6.mjs} +1 -1
- package/dist/page/index.d.mts +15 -15
- package/dist/page/index.mjs +1 -1
- package/dist/{parse-C6kCR1OT.mjs → parse-N4PAJGQr.mjs} +1 -1
- package/dist/plugin-utils.d.mts +14 -14
- package/dist/plugins/adapt-sandbox-entry.d.mts +14 -14
- package/dist/plugins/adapt-sandbox-entry.mjs +1 -1
- package/dist/{plugins-V0W65r3v.mjs → plugins-B6B7DbdT.mjs} +4 -4
- package/dist/{preview-CWiIjMDi.mjs → preview-DC1K_aSd.mjs} +2 -2
- package/dist/{provider-loader-oLKm1AU8.d.mts → provider-loader-Dl8SscrT.d.mts} +1 -1
- package/dist/{public-url-CKrUov8D.d.mts → public-url-C9ZgIcbF.d.mts} +1 -1
- package/dist/{public-url-CEC1vj02.d.mts → public-url-CvNSyMJJ.d.mts} +2 -2
- package/dist/{publication-authorization-wMR-tEQ_.mjs → publication-authorization-BciTXOB3.mjs} +6 -6
- package/dist/{query-DLnnpEuf.mjs → query-D0qnvePL.mjs} +3 -3
- package/dist/{query-DDi367tF.mjs → query-Dx_cCV3x.mjs} +10 -10
- package/dist/{rate-limit-DeVLLe4z.mjs → rate-limit-BzNkH-vQ.mjs} +2 -2
- package/dist/{redirects-BKi6mek4.mjs → redirects-Bhk-eoQ8.mjs} +1 -1
- package/dist/{redirects-I78-ZYLV.mjs → redirects-BwnvcNyN.mjs} +4 -4
- package/dist/{registry-zXXZezu-.mjs → registry-3xWpSYNI.mjs} +3 -3
- package/dist/{release-Cpi0-Bzq.mjs → release-CIYyinzY.mjs} +1 -1
- package/dist/request-context.d.mts +1 -1
- package/dist/{request-meta-DZYuLXx_.mjs → request-meta-DOBXMRX0.mjs} +1 -1
- package/dist/{review-requests-C-ScxD9n.mjs → review-requests-CIfXkXvt.mjs} +1 -1
- package/dist/{review-route-helpers-DXNDyx_q.mjs → review-route-helpers-CyTRL7Rm.mjs} +1 -1
- package/dist/{revision-B_HYO2AE.mjs → revision-BhnVYOMz.mjs} +2 -2
- package/dist/{revisions-CQ7rMP5d.mjs → revisions-C-T9CdGo.mjs} +7 -5
- package/dist/{runner-DXQkyPeX.d.mts → runner-DlkOiguI.d.mts} +1 -1
- package/dist/{runs-BjgLfqCn.mjs → runs-BGqkkqhp.mjs} +2 -2
- package/dist/{runtime-Bs2JMbb2.d.mts → runtime-Dx9QpCL5.d.mts} +2 -2
- package/dist/{runtime-Ch5G-tnG.mjs → runtime-Dz7vZRPU.mjs} +141 -2
- package/dist/runtime.d.mts +15 -15
- package/dist/runtime.mjs +5 -5
- package/dist/{schema-BA05k0TN.mjs → schema-2x9K4t9t.mjs} +1 -1
- package/dist/{search-DMrzhfx_.mjs → search--Qmm2s6n.mjs} +2 -2
- package/dist/{sections-BTrSEhqB.mjs → sections-0cg9Dhp6.mjs} +1 -1
- package/dist/seed/index.d.mts +2 -2
- package/dist/seed/index.mjs +24 -25
- package/dist/seo/index.d.mts +3 -3
- package/dist/seo/index.mjs +10 -10
- package/dist/{seo-DkjtBh-y.mjs → seo-BYBqbsZk.mjs} +1 -1
- package/dist/{seo-Cv7ud_m2.mjs → seo-DDKu_9zj.mjs} +5 -5
- package/dist/{service-BBJM08uD.mjs → service-CcUWmln9.mjs} +2 -2
- package/dist/{service-CkMuD5AE.mjs → service-Y-ZEhFVM.mjs} +3 -3
- package/dist/{settings-BUONaNnG.mjs → settings-D0SBKo-W.mjs} +3 -3
- package/dist/{settings-CI-NtWEc.mjs → settings-DM4P-jVe.mjs} +1 -1
- package/dist/{site-context-BW3GRCJH.mjs → site-context-DtmMzKtp.mjs} +11 -11
- 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-BzaAtszy.mjs → store-rYMso0t7.mjs} +1 -1
- package/dist/{submission-DLgjQ_Ew.mjs → submission-In_0Igp6.mjs} +6 -6
- package/dist/{taxonomies-C02-Vuh3.mjs → taxonomies-B-UkXVx-.mjs} +2 -2
- package/dist/{taxonomies-D5wO9zmB.mjs → taxonomies-D9cNfBL7.mjs} +4 -4
- package/dist/{taxonomy-BK7JmHlo.mjs → taxonomy-CtnjHXCZ.mjs} +3 -3
- package/dist/{types-ex-UrNlz.d.mts → types--vDpt_aS.d.mts} +1 -1
- package/dist/{types-qOEot0UQ.d.mts → types-CeFGasN8.d.mts} +2 -0
- package/dist/{types-C3jUu4Bc.d.mts → types-Dkj3EodZ.d.mts} +16 -16
- package/dist/ui/server-runtime.d.mts +18 -18
- package/dist/ui/server-runtime.mjs +23 -23
- package/dist/{validate-DUscf6VG.d.mts → validate-CleBZbkv.d.mts} +3 -3
- package/dist/{validate-C-yk7mmX.mjs → validate-WOW5vZz_.mjs} +1 -1
- package/dist/version-CCgLyHqU.mjs +6 -0
- package/dist/{version-store-B_THJCc0.d.mts → version-store-B6i81L9W.d.mts} +8 -2
- package/dist/{version-store-BXv2D0de.mjs → version-store-DH_PMO8_.mjs} +10 -2
- package/dist/{widgets-9xHBhL_L.mjs → widgets-P1hMbKIT.mjs} +2 -2
- package/dist/{worker-CC_Rt1pB.mjs → worker-DUtMI6XU.mjs} +6 -6
- package/dist/{write-intent-DuHVqks9.mjs → write-intent-BkgfwPO9.mjs} +3 -3
- package/dist/{zod-generator-B5Pt8fv0.mjs → zod-generator-DBu-v5Zy.mjs} +1 -1
- package/package.json +3 -3
- package/dist/text-extraction-CdqMGYQK.mjs +0 -96
- package/dist/version-BlE1LEPb.mjs +0 -6
- /package/dist/{activity-BuhkMdv8.mjs → activity-lyE6xCrf.mjs} +0 -0
- /package/dist/{adapter-symbols-B9mi-BUh.d.mts → adapter-symbols-Ce35rDR9.d.mts} +0 -0
- /package/dist/{adapters-lDnJjNDz.d.mts → adapters-cL325h6c.d.mts} +0 -0
- /package/dist/{api-tokens-CdfsE9PL.mjs → api-tokens-CK0aCsS2.mjs} +0 -0
- /package/dist/{byline-fields-DRMCc0V_.mjs → byline-fields-BAezRNxz.mjs} +0 -0
- /package/dist/{client-factory-BLbm250o.mjs → client-factory-8GnB8iz5.mjs} +0 -0
- /package/dist/{comment-reaction-B7pLTlQ7.mjs → comment-reaction-CFkwluRq.mjs} +0 -0
- /package/dist/{components-JA6tFHmE.mjs → components-DwWhSNHs.mjs} +0 -0
- /package/dist/{content-Dr22fzA_.mjs → content-C8i4DyTt.mjs} +0 -0
- /package/dist/{context-types-DDIJhGLs.mjs → context-types-B9ShQ_6c.mjs} +0 -0
- /package/dist/{default-C2azCFSB.mjs → default-BxRRjN_x.mjs} +0 -0
- /package/dist/{email-console-BYQp_5Qr.mjs → email-console-Bf9hXqbW.mjs} +0 -0
- /package/dist/{error-sL4aemcW.mjs → error-HuAkl_6r.mjs} +0 -0
- /package/dist/{escape-4_NNa6GR.mjs → escape-BfbDyuQ-.mjs} +0 -0
- /package/dist/{experimental-workflows-CPNiI2EL.mjs → experimental-workflows-BtKXzyIH.mjs} +0 -0
- /package/dist/{forgeway-account-YzraapbX.mjs → forgeway-account-B-z2_ZOQ.mjs} +0 -0
- /package/dist/{fts-manager-Zu5ITic0.mjs → fts-manager-BHwhq1lC.mjs} +0 -0
- /package/dist/{hash-qSYPMJ8w.mjs → hash-BinU5FKm.mjs} +0 -0
- /package/dist/{hook-events-BQw73jc7.d.mts → hook-events-lN-kz-4_.d.mts} +0 -0
- /package/dist/{load-CiRTddkJ.mjs → load-XTcFS1Dp.mjs} +0 -0
- /package/dist/{media-allowlist-C8HJ2O61.mjs → media-allowlist-DWz7rPit.mjs} +0 -0
- /package/dist/{media-url-D5E1a47B.mjs → media-url-VHHHoHGL.mjs} +0 -0
- /package/dist/{migrations-BAjF60cl.mjs → migrations-DTCIQJ2_.mjs} +0 -0
- /package/dist/{oauth-authority-DVlLFhsZ.mjs → oauth-authority-DgHy9_HI.mjs} +0 -0
- /package/dist/{oauth-state-store-nf-78RbK.mjs → oauth-state-store-DfH1iKMh.mjs} +0 -0
- /package/dist/{output-ljHaxIHX.mjs → output-4F_wq70p.mjs} +0 -0
- /package/dist/{parser-CTlxybRo.mjs → parser-CoH5-854.mjs} +0 -0
- /package/dist/{passkey-config-BLon3ct9.mjs → passkey-config-DDhmGNuM.mjs} +0 -0
- /package/dist/{placeholder-DdZV3I8x.d.mts → placeholder-CjKwIO3g.d.mts} +0 -0
- /package/dist/{portable-text-HNmwL-7L.d.mts → portable-text-BZYFFIgm.d.mts} +0 -0
- /package/dist/{portable-text-CSbRjM-T.mjs → portable-text-DeJeHr_T.mjs} +0 -0
- /package/dist/{provider-loader-DlaT1usE.mjs → provider-loader-BWu5kGxR.mjs} +0 -0
- /package/dist/{public-discovery-BnqYofSK.mjs → public-discovery-CGRirTJH.mjs} +0 -0
- /package/dist/{public-url-GQygrYmg.mjs → public-url-GzeLD6Ae.mjs} +0 -0
- /package/dist/{public-url-BHjYWuaN.mjs → public-url-NCefkiXz.mjs} +0 -0
- /package/dist/{redirect-CokmLN5o.mjs → redirect-BfI8s4uK.mjs} +0 -0
- /package/dist/{resolve-BxFGSKYu.mjs → resolve-BdDNBmaU.mjs} +0 -0
- /package/dist/{review-payload-Bhi52CbI.mjs → review-payload-mDJIgcFy.mjs} +0 -0
- /package/dist/{revocation-4we8kfBg.mjs → revocation-ibEJ8ZqU.mjs} +0 -0
- /package/dist/{scheduled-publish-eCNGpvNm.d.mts → scheduled-publish-7kZkKw7t.d.mts} +0 -0
- /package/dist/{secrets-CIYcw9T9.mjs → secrets-D52WNV_c.mjs} +0 -0
- /package/dist/{seo-contributions-ZKqrqsdT.mjs → seo-contributions-CusuPWzY.mjs} +0 -0
- /package/dist/{service-DeX1PRNt.mjs → service-DL1j3E4P.mjs} +0 -0
- /package/dist/{setup-complete-DoVbVrHx.mjs → setup-complete-eTV6C0-E.mjs} +0 -0
- /package/dist/{setup-nonce-B9IO7PbK.mjs → setup-nonce-CHug-ugA.mjs} +0 -0
- /package/dist/{sidecar-client-2hx5G46s.mjs → sidecar-client-D69s90P-.mjs} +0 -0
- /package/dist/{site-url-CYatfe3q.mjs → site-url-5O6ra5VE.mjs} +0 -0
- /package/dist/{ssrf-DcD8vn3E.mjs → ssrf-C7tTSD1r.mjs} +0 -0
- /package/dist/{status-B2xUokyJ.mjs → status-CDqWWt6i.mjs} +0 -0
- /package/dist/{tokens-D8HEH277.mjs → tokens-B6bMUhBx.mjs} +0 -0
- /package/dist/{transport-CVU5rp7W.d.mts → transport-Cm1beMRX.d.mts} +0 -0
- /package/dist/{transport-BHYE4pox.mjs → transport-DHTeMsJG.mjs} +0 -0
- /package/dist/{trusted-proxy-Dg3U9Lrv.mjs → trusted-proxy-Dmi1gZXh.mjs} +0 -0
- /package/dist/{types-C0heD9oI.d.mts → types-B2rEY0ik.d.mts} +0 -0
- /package/dist/{types-PxxPTFSl.d.mts → types-BSCBDV_V.d.mts} +0 -0
- /package/dist/{types-I5LHzk_M.d.mts → types-BjWhF4eO.d.mts} +0 -0
- /package/dist/{types-BJztoTbF.d.mts → types-BuplUVZ4.d.mts} +0 -0
- /package/dist/{types-Dpv_MvwZ.d.mts → types-CG9uGPBL.d.mts} +0 -0
- /package/dist/{types-DheoByey.d.mts → types-DLwh1QkC.d.mts} +0 -0
- /package/dist/{types-B3Uq7Czg.mjs → types-MCEx6w1B.mjs} +0 -0
- /package/dist/{types-Nm0cMxEh.mjs → types-PX2c4KA4.mjs} +0 -0
- /package/dist/{url-Coamqvs4.mjs → url--_ukDIsN.mjs} +0 -0
- /package/dist/{url-dn4mFfCI.mjs → url-RhtABurq.mjs} +0 -0
- /package/dist/{utils-CklSLz9F.mjs → utils-WY63JOPB.mjs} +0 -0
- /package/dist/{wordpress-slugs-yaeD7cxn.mjs → wordpress-slugs-qNcYNJGj.mjs} +0 -0
|
@@ -1,74 +1,73 @@
|
|
|
1
1
|
import "../../../d1-binding-DrLMBUxu.mjs";
|
|
2
2
|
import "../../../dialect-helpers-C6xtO-Ui.mjs";
|
|
3
|
-
import "../../../config
|
|
4
|
-
import { r as getContentStorage } from "../../../runtime-
|
|
5
|
-
import "../../../revisions-
|
|
3
|
+
import "../../../config---A7Bg68.mjs";
|
|
4
|
+
import { r as getContentStorage } from "../../../runtime-Dz7vZRPU.mjs";
|
|
5
|
+
import "../../../revisions-C-T9CdGo.mjs";
|
|
6
6
|
import { t as readRuntimeEnv } from "../../../runtime-env-DpYGy4pT.mjs";
|
|
7
7
|
import "../../../base64-qvSs0Gxy.mjs";
|
|
8
8
|
import "../../../types-BI3ULB3A.mjs";
|
|
9
|
-
import "../../../loader-
|
|
9
|
+
import "../../../loader-C9hvIKEW.mjs";
|
|
10
10
|
import { i as resolveActorIdentity } from "../../../actor-D0AW80ld.mjs";
|
|
11
11
|
import "../../../atomic-authority-Bf5QZboB.mjs";
|
|
12
|
-
import "../../../content-
|
|
12
|
+
import "../../../content-DbdiQEl7.mjs";
|
|
13
13
|
import "../../../request-cache-CizvDoxV.mjs";
|
|
14
14
|
import "../../../byline-registry-Caj0_gbU.mjs";
|
|
15
15
|
import "../../../field-defs-cache-dn5Tw79A.mjs";
|
|
16
|
-
import "../../../object-cache-
|
|
17
|
-
import "../../../byline-
|
|
18
|
-
import "../../../owned-metadata-
|
|
19
|
-
import "../../../revision-
|
|
16
|
+
import "../../../object-cache-qP60KjUp.mjs";
|
|
17
|
+
import "../../../byline-Dznig_jr.mjs";
|
|
18
|
+
import "../../../owned-metadata-DhyklTd6.mjs";
|
|
19
|
+
import "../../../revision-BhnVYOMz.mjs";
|
|
20
20
|
import "../../../media-BjH5OD-A.mjs";
|
|
21
21
|
import "../../../user-Bl2_8rhJ.mjs";
|
|
22
22
|
import { t as contentTermChangesSchema } from "../../../terms-EskuqbKE.mjs";
|
|
23
23
|
import "../../../options-yFkLUuTw.mjs";
|
|
24
24
|
import "../../../site-activity-hpfJkmxQ.mjs";
|
|
25
25
|
import { r as ReviewRequestRepository } from "../../../review-requests-DZYM51yI.mjs";
|
|
26
|
-
import { a as HITL_REQUEST_STATUSES, i as HITL_REQUEST_PRIORITIES, o as HitlRequestRepository, t as PublicationAuthorizationError } from "../../../publication-authorization-
|
|
27
|
-
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-
|
|
28
|
-
import "../../../context-
|
|
26
|
+
import { a as HITL_REQUEST_STATUSES, i as HITL_REQUEST_PRIORITIES, o as HitlRequestRepository, t as PublicationAuthorizationError } from "../../../publication-authorization-BciTXOB3.mjs";
|
|
27
|
+
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-DtmMzKtp.mjs";
|
|
28
|
+
import "../../../context-suF2JGdX.mjs";
|
|
29
29
|
import "../../../redirect-CJ-FAbNK.mjs";
|
|
30
30
|
import "../../../enrich-CAMsD1aT.mjs";
|
|
31
|
-
import "../../../content-write-
|
|
32
|
-
import "../../../
|
|
33
|
-
import "../../../
|
|
34
|
-
import
|
|
35
|
-
import "../../../
|
|
36
|
-
import { t as
|
|
37
|
-
import {
|
|
38
|
-
import
|
|
39
|
-
import "../../../
|
|
40
|
-
import
|
|
41
|
-
import "../../../
|
|
42
|
-
import "../../../
|
|
43
|
-
import "../../../
|
|
44
|
-
import "../../../
|
|
45
|
-
import "../../../
|
|
46
|
-
import "../../../
|
|
47
|
-
import "../../../
|
|
48
|
-
import {
|
|
49
|
-
import
|
|
50
|
-
import "../../../
|
|
51
|
-
import "../../../
|
|
52
|
-
import "../../../
|
|
53
|
-
import { t as
|
|
54
|
-
import {
|
|
55
|
-
import {
|
|
56
|
-
import
|
|
57
|
-
import "../../../
|
|
58
|
-
import "../../../status-B2xUokyJ.mjs";
|
|
31
|
+
import "../../../content-write-BJkjOdiq.mjs";
|
|
32
|
+
import "../../../version-store-DH_PMO8_.mjs";
|
|
33
|
+
import { n as isContentWriteReplay } from "../../../write-intent-BkgfwPO9.mjs";
|
|
34
|
+
import "../../../seo-DDKu_9zj.mjs";
|
|
35
|
+
import { t as SITE_CONTEXT_TYPES } from "../../../context-types-B9ShQ_6c.mjs";
|
|
36
|
+
import { i as parseSiteBriefingScope, m as ContextRepository, r as formatSiteBriefingText, t as SiteBriefingAssembler } from "../../../briefing-BwDkIHys.mjs";
|
|
37
|
+
import { n as DinewayToolsService, t as DinewayToolsError } from "../../../service-DL1j3E4P.mjs";
|
|
38
|
+
import "../../../runs-BGqkkqhp.mjs";
|
|
39
|
+
import { t as DinewaySecretsError } from "../../../secrets-D52WNV_c.mjs";
|
|
40
|
+
import "../../../content-refresh-COi0WfKw.mjs";
|
|
41
|
+
import "../../../ssrf-C7tTSD1r.mjs";
|
|
42
|
+
import "../../../fts-manager-BHwhq1lC.mjs";
|
|
43
|
+
import "../../../public-discovery-CGRirTJH.mjs";
|
|
44
|
+
import "../../../registry-3xWpSYNI.mjs";
|
|
45
|
+
import "../../../settings-D0SBKo-W.mjs";
|
|
46
|
+
import "../../../evidence-0WP8WrwT.mjs";
|
|
47
|
+
import { r as submitAutomatedReview } from "../../../submission-In_0Igp6.mjs";
|
|
48
|
+
import { n as VERSION } from "../../../version-CCgLyHqU.mjs";
|
|
49
|
+
import "../../../query-D0qnvePL.mjs";
|
|
50
|
+
import "../../../zod-generator-DBu-v5Zy.mjs";
|
|
51
|
+
import "../../../schema-2x9K4t9t.mjs";
|
|
52
|
+
import { t as IntegrationCredentialStore } from "../../../store-rYMso0t7.mjs";
|
|
53
|
+
import { t as apiError } from "../../../error-HuAkl_6r.mjs";
|
|
54
|
+
import { T as bylineCreateBody, g as contentSeoInput, j as contentBylineInputSchema, k as bylineUpdateBody } from "../../../content-C8i4DyTt.mjs";
|
|
55
|
+
import { P as settingsUpdateBody } from "../../../redirects-BwnvcNyN.mjs";
|
|
56
|
+
import "../../../byline-fields-Bnw5NflJ.mjs";
|
|
57
|
+
import "../../../status-CDqWWt6i.mjs";
|
|
59
58
|
import "../../../api/schemas/index.mjs";
|
|
60
|
-
import { i as hasScope$1 } from "../../../api-tokens-
|
|
61
|
-
import { r as registerPluginMcpRegistry, t as createReviewedPluginMcpCommandExecutor } from "../../../mcp-reviewed-executor-
|
|
62
|
-
import "../../../activity-
|
|
63
|
-
import { d as logSchemaActivity, o as logContentActivity, p as logSiteActivitySafely, r as contentMcpToolSource, t as activityChangedKeys, x as schemaMcpToolSource } from "../../../activity-events-
|
|
64
|
-
import "../../../utils-
|
|
65
|
-
import "../../../search
|
|
66
|
-
import { n as prepareReviewerApproval } from "../../../worker-
|
|
59
|
+
import { i as hasScope$1 } from "../../../api-tokens-CK0aCsS2.mjs";
|
|
60
|
+
import { r as registerPluginMcpRegistry, t as createReviewedPluginMcpCommandExecutor } from "../../../mcp-reviewed-executor-B_ztrZgH.mjs";
|
|
61
|
+
import "../../../activity-lyE6xCrf.mjs";
|
|
62
|
+
import { d as logSchemaActivity, o as logContentActivity, p as logSiteActivitySafely, r as contentMcpToolSource, t as activityChangedKeys, x as schemaMcpToolSource } from "../../../activity-events-D4JfWJFI.mjs";
|
|
63
|
+
import "../../../utils-WY63JOPB.mjs";
|
|
64
|
+
import "../../../search--Qmm2s6n.mjs";
|
|
65
|
+
import { n as prepareReviewerApproval } from "../../../worker-DUtMI6XU.mjs";
|
|
67
66
|
import "../../../policy-DbceGc4P.mjs";
|
|
68
|
-
import {
|
|
69
|
-
import {
|
|
70
|
-
import { t as createSiteIntegrationService } from "../../../service-
|
|
71
|
-
import { t as revokeReview } from "../../../revocation-
|
|
67
|
+
import { n as convertDataForWrite, t as convertDataForRead } from "../../../portable-text-DeJeHr_T.mjs";
|
|
68
|
+
import { a as createForgewayAccountClient, c as normalizeForgewayApiUrl, d as refreshForgewayAccountCredentials, u as readStoredForgewayAccount } from "../../../forgeway-account-B-z2_ZOQ.mjs";
|
|
69
|
+
import { t as createSiteIntegrationService } from "../../../service-CcUWmln9.mjs";
|
|
70
|
+
import { t as revokeReview } from "../../../revocation-ibEJ8ZqU.mjs";
|
|
72
71
|
import { z } from "zod";
|
|
73
72
|
import { Role, canActOnOwn, hasPermission } from "@dineway-ai/auth";
|
|
74
73
|
import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js";
|
|
@@ -374,7 +373,7 @@ function getDineway(extra) {
|
|
|
374
373
|
}
|
|
375
374
|
async function getCollectionFields(dineway, collection) {
|
|
376
375
|
try {
|
|
377
|
-
const { SchemaRegistry } = await import("../../../schema-
|
|
376
|
+
const { SchemaRegistry } = await import("../../../schema-2x9K4t9t.mjs").then((n) => n.t);
|
|
378
377
|
return (await new SchemaRegistry(dineway.db).getCollectionWithFields(collection))?.fields ?? null;
|
|
379
378
|
} catch {
|
|
380
379
|
return null;
|
|
@@ -391,7 +390,7 @@ async function applyReadMarkdown(dineway, collection, items) {
|
|
|
391
390
|
for (const item of items) if (item.data && typeof item.data === "object") item.data = convertDataForRead(item.data, fields, false);
|
|
392
391
|
}
|
|
393
392
|
async function invalidateBylines() {
|
|
394
|
-
const { invalidateBylineCache } = await import("../../../bylines-
|
|
393
|
+
const { invalidateBylineCache } = await import("../../../bylines-BQMt9Kby.mjs").then((n) => n.t);
|
|
395
394
|
invalidateBylineCache();
|
|
396
395
|
}
|
|
397
396
|
function canReadDrafts(extra) {
|
|
@@ -2482,7 +2481,7 @@ function createMcpServer(options = {}) {
|
|
|
2482
2481
|
requireRole(extra, Role.EDITOR);
|
|
2483
2482
|
const ec = getDineway(extra);
|
|
2484
2483
|
try {
|
|
2485
|
-
const { SchemaRegistry } = await import("../../../schema-
|
|
2484
|
+
const { SchemaRegistry } = await import("../../../schema-2x9K4t9t.mjs").then((n) => n.t);
|
|
2486
2485
|
return jsonResult({ items: await new SchemaRegistry(ec.db).listCollections() });
|
|
2487
2486
|
} catch (error) {
|
|
2488
2487
|
return errorResult(error);
|
|
@@ -2498,7 +2497,7 @@ function createMcpServer(options = {}) {
|
|
|
2498
2497
|
requireRole(extra, Role.EDITOR);
|
|
2499
2498
|
const ec = getDineway(extra);
|
|
2500
2499
|
try {
|
|
2501
|
-
const { SchemaRegistry } = await import("../../../schema-
|
|
2500
|
+
const { SchemaRegistry } = await import("../../../schema-2x9K4t9t.mjs").then((n) => n.t);
|
|
2502
2501
|
const collection = await new SchemaRegistry(ec.db).getCollectionWithFields(args.slug);
|
|
2503
2502
|
if (!collection) return errorResult(`Collection '${args.slug}' not found`);
|
|
2504
2503
|
return jsonResult(collection);
|
|
@@ -2528,7 +2527,7 @@ function createMcpServer(options = {}) {
|
|
|
2528
2527
|
requireRole(extra, Role.ADMIN);
|
|
2529
2528
|
const ec = getDineway(extra);
|
|
2530
2529
|
try {
|
|
2531
|
-
const { SchemaRegistry } = await import("../../../schema-
|
|
2530
|
+
const { SchemaRegistry } = await import("../../../schema-2x9K4t9t.mjs").then((n) => n.t);
|
|
2532
2531
|
const collection = await new SchemaRegistry(ec.db).createCollection({
|
|
2533
2532
|
slug: args.slug,
|
|
2534
2533
|
label: args.label,
|
|
@@ -2592,7 +2591,7 @@ function createMcpServer(options = {}) {
|
|
|
2592
2591
|
request
|
|
2593
2592
|
});
|
|
2594
2593
|
}
|
|
2595
|
-
const { SchemaRegistry } = await import("../../../schema-
|
|
2594
|
+
const { SchemaRegistry } = await import("../../../schema-2x9K4t9t.mjs").then((n) => n.t);
|
|
2596
2595
|
await new SchemaRegistry(ec.db).deleteCollection(args.slug, { force: args.force });
|
|
2597
2596
|
ec.invalidateManifest();
|
|
2598
2597
|
await logSchemaActivity(ec.db, locals, {
|
|
@@ -2656,7 +2655,7 @@ function createMcpServer(options = {}) {
|
|
|
2656
2655
|
requireRole(extra, Role.ADMIN);
|
|
2657
2656
|
const ec = getDineway(extra);
|
|
2658
2657
|
try {
|
|
2659
|
-
const { SchemaRegistry } = await import("../../../schema-
|
|
2658
|
+
const { SchemaRegistry } = await import("../../../schema-2x9K4t9t.mjs").then((n) => n.t);
|
|
2660
2659
|
const field = await new SchemaRegistry(ec.db).createField(args.collection, {
|
|
2661
2660
|
slug: args.slug,
|
|
2662
2661
|
label: args.label,
|
|
@@ -2725,7 +2724,7 @@ function createMcpServer(options = {}) {
|
|
|
2725
2724
|
request
|
|
2726
2725
|
});
|
|
2727
2726
|
}
|
|
2728
|
-
const { SchemaRegistry } = await import("../../../schema-
|
|
2727
|
+
const { SchemaRegistry } = await import("../../../schema-2x9K4t9t.mjs").then((n) => n.t);
|
|
2729
2728
|
await new SchemaRegistry(ec.db).deleteField(args.collection, args.fieldSlug);
|
|
2730
2729
|
ec.invalidateManifest();
|
|
2731
2730
|
await logSchemaActivity(ec.db, locals, {
|
|
@@ -2858,7 +2857,7 @@ function createMcpServer(options = {}) {
|
|
|
2858
2857
|
requireScope(extra, "content:read");
|
|
2859
2858
|
const ec = getDineway(extra);
|
|
2860
2859
|
try {
|
|
2861
|
-
const { searchWithDb } = await import("../../../search
|
|
2860
|
+
const { searchWithDb } = await import("../../../search--Qmm2s6n.mjs").then((n) => n.t);
|
|
2862
2861
|
return jsonResult(await searchWithDb(ec.db, args.query, {
|
|
2863
2862
|
collections: args.collections,
|
|
2864
2863
|
locale: args.locale,
|
|
@@ -2884,7 +2883,7 @@ function createMcpServer(options = {}) {
|
|
|
2884
2883
|
requireScope(extra, "content:read");
|
|
2885
2884
|
const ec = getDineway(extra);
|
|
2886
2885
|
try {
|
|
2887
|
-
const { BylineRepository } = await import("../../../byline-
|
|
2886
|
+
const { BylineRepository } = await import("../../../byline-Dznig_jr.mjs").then((n) => n.n);
|
|
2888
2887
|
return jsonResult(await new BylineRepository(ec.db).findMany({
|
|
2889
2888
|
search: args.search,
|
|
2890
2889
|
isGuest: args.isGuest,
|
|
@@ -2906,7 +2905,7 @@ function createMcpServer(options = {}) {
|
|
|
2906
2905
|
requireScope(extra, "content:read");
|
|
2907
2906
|
const ec = getDineway(extra);
|
|
2908
2907
|
try {
|
|
2909
|
-
const { BylineRepository } = await import("../../../byline-
|
|
2908
|
+
const { BylineRepository } = await import("../../../byline-Dznig_jr.mjs").then((n) => n.n);
|
|
2910
2909
|
const byline = await new BylineRepository(ec.db).findById(args.id);
|
|
2911
2910
|
if (!byline) return errorResult(`Byline '${args.id}' not found`);
|
|
2912
2911
|
return jsonResult(byline);
|
|
@@ -2924,7 +2923,7 @@ function createMcpServer(options = {}) {
|
|
|
2924
2923
|
requireRole(extra, Role.EDITOR);
|
|
2925
2924
|
const ec = getDineway(extra);
|
|
2926
2925
|
try {
|
|
2927
|
-
const { handleBylineCreate } = await import("../../../bylines-
|
|
2926
|
+
const { handleBylineCreate } = await import("../../../bylines-umBrRU5P.mjs").then((n) => n.t);
|
|
2928
2927
|
const result = await handleBylineCreate(ec.db, args);
|
|
2929
2928
|
if (result.success) await invalidateBylines();
|
|
2930
2929
|
return unwrap(result);
|
|
@@ -2944,7 +2943,7 @@ function createMcpServer(options = {}) {
|
|
|
2944
2943
|
requireRole(extra, Role.EDITOR);
|
|
2945
2944
|
const ec = getDineway(extra);
|
|
2946
2945
|
try {
|
|
2947
|
-
const { handleBylineUpdate } = await import("../../../bylines-
|
|
2946
|
+
const { handleBylineUpdate } = await import("../../../bylines-umBrRU5P.mjs").then((n) => n.t);
|
|
2948
2947
|
const { id, ...input } = args;
|
|
2949
2948
|
const result = await handleBylineUpdate(ec.db, id, input);
|
|
2950
2949
|
if (result.success) await invalidateBylines();
|
|
@@ -2963,7 +2962,7 @@ function createMcpServer(options = {}) {
|
|
|
2963
2962
|
requireRole(extra, Role.EDITOR);
|
|
2964
2963
|
const ec = getDineway(extra);
|
|
2965
2964
|
try {
|
|
2966
|
-
const { BylineRepository } = await import("../../../byline-
|
|
2965
|
+
const { BylineRepository } = await import("../../../byline-Dznig_jr.mjs").then((n) => n.n);
|
|
2967
2966
|
if (!await new BylineRepository(ec.db).delete(args.id)) return errorResult(`Byline '${args.id}' not found`);
|
|
2968
2967
|
await invalidateBylines();
|
|
2969
2968
|
return jsonResult({ deleted: args.id });
|
|
@@ -2980,7 +2979,7 @@ function createMcpServer(options = {}) {
|
|
|
2980
2979
|
requireScope(extra, "content:read");
|
|
2981
2980
|
const ec = getDineway(extra);
|
|
2982
2981
|
try {
|
|
2983
|
-
const { handleBylineTranslations } = await import("../../../bylines-
|
|
2982
|
+
const { handleBylineTranslations } = await import("../../../bylines-umBrRU5P.mjs").then((n) => n.t);
|
|
2984
2983
|
return unwrap(await handleBylineTranslations(ec.db, args.id));
|
|
2985
2984
|
} catch (error) {
|
|
2986
2985
|
return errorResult(error);
|
|
@@ -2995,7 +2994,7 @@ function createMcpServer(options = {}) {
|
|
|
2995
2994
|
requireScope(extra, "content:read");
|
|
2996
2995
|
const ec = getDineway(extra);
|
|
2997
2996
|
try {
|
|
2998
|
-
const { handleTaxonomyList } = await import("../../../taxonomies-
|
|
2997
|
+
const { handleTaxonomyList } = await import("../../../taxonomies-B-UkXVx-.mjs").then((n) => n.l);
|
|
2999
2998
|
return unwrap(await handleTaxonomyList(ec.db, { locale: args.locale }));
|
|
3000
2999
|
} catch (error) {
|
|
3001
3000
|
return errorResult(error);
|
|
@@ -3015,11 +3014,11 @@ function createMcpServer(options = {}) {
|
|
|
3015
3014
|
requireScope(extra, "content:read");
|
|
3016
3015
|
const ec = getDineway(extra);
|
|
3017
3016
|
try {
|
|
3018
|
-
const { handleTaxonomyList } = await import("../../../taxonomies-
|
|
3017
|
+
const { handleTaxonomyList } = await import("../../../taxonomies-B-UkXVx-.mjs").then((n) => n.l);
|
|
3019
3018
|
const listResult = await handleTaxonomyList(ec.db, { locale: args.locale });
|
|
3020
3019
|
if (!listResult.success) return unwrap(listResult);
|
|
3021
3020
|
if (!listResult.data.taxonomies.find((t) => t.name === args.taxonomy)) return errorResult(`Taxonomy '${args.taxonomy}' not found`);
|
|
3022
|
-
const { TaxonomyRepository } = await import("../../../taxonomy-
|
|
3021
|
+
const { TaxonomyRepository } = await import("../../../taxonomy-CtnjHXCZ.mjs").then((n) => n.n);
|
|
3023
3022
|
const { decodeCursor, encodeCursor } = await import("../../../types-BI3ULB3A.mjs").then((n) => n.a);
|
|
3024
3023
|
const repo = new TaxonomyRepository(ec.db);
|
|
3025
3024
|
const limit = Math.min(args.limit ?? 50, 100);
|
|
@@ -3069,7 +3068,7 @@ function createMcpServer(options = {}) {
|
|
|
3069
3068
|
requireRole(extra, Role.EDITOR);
|
|
3070
3069
|
const ec = getDineway(extra);
|
|
3071
3070
|
try {
|
|
3072
|
-
const { handleTermCreate } = await import("../../../taxonomies-
|
|
3071
|
+
const { handleTermCreate } = await import("../../../taxonomies-B-UkXVx-.mjs").then((n) => n.l);
|
|
3073
3072
|
return unwrap(await handleTermCreate(ec.db, args.taxonomy, {
|
|
3074
3073
|
slug: args.slug,
|
|
3075
3074
|
label: args.label,
|
|
@@ -3099,7 +3098,7 @@ function createMcpServer(options = {}) {
|
|
|
3099
3098
|
requireRole(extra, Role.EDITOR);
|
|
3100
3099
|
const ec = getDineway(extra);
|
|
3101
3100
|
try {
|
|
3102
|
-
const { handleTermUpdate } = await import("../../../taxonomies-
|
|
3101
|
+
const { handleTermUpdate } = await import("../../../taxonomies-B-UkXVx-.mjs").then((n) => n.l);
|
|
3103
3102
|
return unwrap(await handleTermUpdate(ec.db, args.taxonomy, args.termSlug, {
|
|
3104
3103
|
slug: args.slug,
|
|
3105
3104
|
label: args.label,
|
|
@@ -3124,7 +3123,7 @@ function createMcpServer(options = {}) {
|
|
|
3124
3123
|
requireRole(extra, Role.EDITOR);
|
|
3125
3124
|
const ec = getDineway(extra);
|
|
3126
3125
|
try {
|
|
3127
|
-
const { handleTermDelete } = await import("../../../taxonomies-
|
|
3126
|
+
const { handleTermDelete } = await import("../../../taxonomies-B-UkXVx-.mjs").then((n) => n.l);
|
|
3128
3127
|
return unwrap(await handleTermDelete(ec.db, args.taxonomy, args.termSlug, { locale: args.locale }));
|
|
3129
3128
|
} catch (error) {
|
|
3130
3129
|
return errorResult(error);
|
|
@@ -3139,7 +3138,7 @@ function createMcpServer(options = {}) {
|
|
|
3139
3138
|
requireScope(extra, "content:read");
|
|
3140
3139
|
const ec = getDineway(extra);
|
|
3141
3140
|
try {
|
|
3142
|
-
const { handleTermTranslations } = await import("../../../taxonomies-
|
|
3141
|
+
const { handleTermTranslations } = await import("../../../taxonomies-B-UkXVx-.mjs").then((n) => n.l);
|
|
3143
3142
|
return unwrap(await handleTermTranslations(ec.db, args.id));
|
|
3144
3143
|
} catch (error) {
|
|
3145
3144
|
return errorResult(error);
|
|
@@ -3154,7 +3153,7 @@ function createMcpServer(options = {}) {
|
|
|
3154
3153
|
requireScope(extra, "content:read");
|
|
3155
3154
|
const ec = getDineway(extra);
|
|
3156
3155
|
try {
|
|
3157
|
-
const { handleMenuList } = await import("../../../menus-
|
|
3156
|
+
const { handleMenuList } = await import("../../../menus-BfQjG9Wc.mjs").then((n) => n.d);
|
|
3158
3157
|
return unwrap(await handleMenuList(ec.db, { locale: args.locale }));
|
|
3159
3158
|
} catch (error) {
|
|
3160
3159
|
return errorResult(error);
|
|
@@ -3172,7 +3171,7 @@ function createMcpServer(options = {}) {
|
|
|
3172
3171
|
requireScope(extra, "content:read");
|
|
3173
3172
|
const ec = getDineway(extra);
|
|
3174
3173
|
try {
|
|
3175
|
-
const { handleMenuGet } = await import("../../../menus-
|
|
3174
|
+
const { handleMenuGet } = await import("../../../menus-BfQjG9Wc.mjs").then((n) => n.d);
|
|
3176
3175
|
return unwrap(await handleMenuGet(ec.db, args.name, { locale: args.locale }));
|
|
3177
3176
|
} catch (error) {
|
|
3178
3177
|
return errorResult(error);
|
|
@@ -3187,7 +3186,7 @@ function createMcpServer(options = {}) {
|
|
|
3187
3186
|
requireScope(extra, "content:read");
|
|
3188
3187
|
const ec = getDineway(extra);
|
|
3189
3188
|
try {
|
|
3190
|
-
const { handleMenuTranslations } = await import("../../../menus-
|
|
3189
|
+
const { handleMenuTranslations } = await import("../../../menus-BfQjG9Wc.mjs").then((n) => n.d);
|
|
3191
3190
|
return unwrap(await handleMenuTranslations(ec.db, args.id));
|
|
3192
3191
|
} catch (error) {
|
|
3193
3192
|
return errorResult(error);
|
|
@@ -3207,7 +3206,7 @@ function createMcpServer(options = {}) {
|
|
|
3207
3206
|
requireRole(extra, Role.EDITOR);
|
|
3208
3207
|
const ec = getDineway(extra);
|
|
3209
3208
|
try {
|
|
3210
|
-
const { handleMenuCreate } = await import("../../../menus-
|
|
3209
|
+
const { handleMenuCreate } = await import("../../../menus-BfQjG9Wc.mjs").then((n) => n.d);
|
|
3211
3210
|
return unwrap(await handleMenuCreate(ec.db, {
|
|
3212
3211
|
name: args.name,
|
|
3213
3212
|
label: args.label,
|
|
@@ -3231,7 +3230,7 @@ function createMcpServer(options = {}) {
|
|
|
3231
3230
|
requireRole(extra, Role.EDITOR);
|
|
3232
3231
|
const ec = getDineway(extra);
|
|
3233
3232
|
try {
|
|
3234
|
-
const { handleMenuUpdate } = await import("../../../menus-
|
|
3233
|
+
const { handleMenuUpdate } = await import("../../../menus-BfQjG9Wc.mjs").then((n) => n.d);
|
|
3235
3234
|
return unwrap(await handleMenuUpdate(ec.db, args.name, {
|
|
3236
3235
|
label: args.label,
|
|
3237
3236
|
locale: args.locale
|
|
@@ -3253,7 +3252,7 @@ function createMcpServer(options = {}) {
|
|
|
3253
3252
|
requireRole(extra, Role.EDITOR);
|
|
3254
3253
|
const ec = getDineway(extra);
|
|
3255
3254
|
try {
|
|
3256
|
-
const { handleMenuDelete } = await import("../../../menus-
|
|
3255
|
+
const { handleMenuDelete } = await import("../../../menus-BfQjG9Wc.mjs").then((n) => n.d);
|
|
3257
3256
|
return unwrap(await handleMenuDelete(ec.db, args.name, { locale: args.locale }));
|
|
3258
3257
|
} catch (error) {
|
|
3259
3258
|
return errorResult(error);
|
|
@@ -3288,7 +3287,7 @@ function createMcpServer(options = {}) {
|
|
|
3288
3287
|
requireRole(extra, Role.EDITOR);
|
|
3289
3288
|
const ec = getDineway(extra);
|
|
3290
3289
|
try {
|
|
3291
|
-
const { handleMenuSetItems } = await import("../../../menus-
|
|
3290
|
+
const { handleMenuSetItems } = await import("../../../menus-BfQjG9Wc.mjs").then((n) => n.d);
|
|
3292
3291
|
return unwrap(await handleMenuSetItems(ec.db, args.name, args.items, { locale: args.locale }));
|
|
3293
3292
|
} catch (error) {
|
|
3294
3293
|
return errorResult(error);
|
|
@@ -3335,7 +3334,7 @@ function createMcpServer(options = {}) {
|
|
|
3335
3334
|
requireRole(extra, Role.ADMIN);
|
|
3336
3335
|
const ec = getDineway(extra);
|
|
3337
3336
|
try {
|
|
3338
|
-
const { handleSettingsGet } = await import("../../../settings-
|
|
3337
|
+
const { handleSettingsGet } = await import("../../../settings-DM4P-jVe.mjs").then((n) => n.r);
|
|
3339
3338
|
return unwrap(await handleSettingsGet(ec.db, ec.storage));
|
|
3340
3339
|
} catch (error) {
|
|
3341
3340
|
return errorResult(error);
|
|
@@ -3372,7 +3371,7 @@ function createMcpServer(options = {}) {
|
|
|
3372
3371
|
request
|
|
3373
3372
|
});
|
|
3374
3373
|
}
|
|
3375
|
-
const { handleSettingsUpdate } = await import("../../../settings-
|
|
3374
|
+
const { handleSettingsUpdate } = await import("../../../settings-DM4P-jVe.mjs").then((n) => n.r);
|
|
3376
3375
|
const result = await handleSettingsUpdate(ec.db, ec.storage, settingsInput);
|
|
3377
3376
|
if (!result.success) return unwrap(result);
|
|
3378
3377
|
await logSiteActivitySafely(ec.db, locals, {
|
|
@@ -4,16 +4,16 @@ import "../../../../../types-BI3ULB3A.mjs";
|
|
|
4
4
|
import { t as MediaRepository } from "../../../../../media-BjH5OD-A.mjs";
|
|
5
5
|
import "../../../../../terms-EskuqbKE.mjs";
|
|
6
6
|
import { t as enrichImageMetadata } from "../../../../../enrich-CAMsD1aT.mjs";
|
|
7
|
-
import "../../../../../context-types-
|
|
8
|
-
import "../../../../../public-discovery-
|
|
9
|
-
import { n as apiSuccess, r as handleError, t as apiError } from "../../../../../error-
|
|
10
|
-
import { r as parseOptionalBody, t as isParseError } from "../../../../../parse-
|
|
11
|
-
import "../../../../../content-
|
|
12
|
-
import { Bt as mediaConfirmBody } from "../../../../../redirects-
|
|
13
|
-
import "../../../../../byline-fields-
|
|
14
|
-
import "../../../../../status-
|
|
7
|
+
import "../../../../../context-types-B9ShQ_6c.mjs";
|
|
8
|
+
import "../../../../../public-discovery-CGRirTJH.mjs";
|
|
9
|
+
import { n as apiSuccess, r as handleError, t as apiError } from "../../../../../error-HuAkl_6r.mjs";
|
|
10
|
+
import { r as parseOptionalBody, t as isParseError } from "../../../../../parse-N4PAJGQr.mjs";
|
|
11
|
+
import "../../../../../content-C8i4DyTt.mjs";
|
|
12
|
+
import { Bt as mediaConfirmBody } from "../../../../../redirects-BwnvcNyN.mjs";
|
|
13
|
+
import "../../../../../byline-fields-Bnw5NflJ.mjs";
|
|
14
|
+
import "../../../../../status-CDqWWt6i.mjs";
|
|
15
15
|
import "../../../../../api/schemas/index.mjs";
|
|
16
|
-
import { n as requirePerm, t as requireOwnerPerm } from "../../../../../authorize-
|
|
16
|
+
import { n as requirePerm, t as requireOwnerPerm } from "../../../../../authorize-Cg8wByla.mjs";
|
|
17
17
|
|
|
18
18
|
//#region src/astro/routes/api/media/[id]/confirm.ts
|
|
19
19
|
const prerender = false;
|
|
@@ -2,17 +2,17 @@ import "../../../../d1-binding-DrLMBUxu.mjs";
|
|
|
2
2
|
import "../../../../base64-qvSs0Gxy.mjs";
|
|
3
3
|
import "../../../../types-BI3ULB3A.mjs";
|
|
4
4
|
import "../../../../terms-EskuqbKE.mjs";
|
|
5
|
-
import "../../../../context-types-
|
|
6
|
-
import "../../../../public-discovery-
|
|
7
|
-
import { t as addInternalMediaUrl } from "../../../../url-
|
|
8
|
-
import { a as unwrapResult, n as apiSuccess, r as handleError, t as apiError } from "../../../../error-
|
|
9
|
-
import { n as parseBody, t as isParseError } from "../../../../parse-
|
|
10
|
-
import "../../../../content-
|
|
11
|
-
import { Jt as mediaUpdateBody } from "../../../../redirects-
|
|
12
|
-
import "../../../../byline-fields-
|
|
13
|
-
import "../../../../status-
|
|
5
|
+
import "../../../../context-types-B9ShQ_6c.mjs";
|
|
6
|
+
import "../../../../public-discovery-CGRirTJH.mjs";
|
|
7
|
+
import { t as addInternalMediaUrl } from "../../../../url-RhtABurq.mjs";
|
|
8
|
+
import { a as unwrapResult, n as apiSuccess, r as handleError, t as apiError } from "../../../../error-HuAkl_6r.mjs";
|
|
9
|
+
import { n as parseBody, t as isParseError } from "../../../../parse-N4PAJGQr.mjs";
|
|
10
|
+
import "../../../../content-C8i4DyTt.mjs";
|
|
11
|
+
import { Jt as mediaUpdateBody } from "../../../../redirects-BwnvcNyN.mjs";
|
|
12
|
+
import "../../../../byline-fields-Bnw5NflJ.mjs";
|
|
13
|
+
import "../../../../status-CDqWWt6i.mjs";
|
|
14
14
|
import "../../../../api/schemas/index.mjs";
|
|
15
|
-
import { n as requirePerm, t as requireOwnerPerm } from "../../../../authorize-
|
|
15
|
+
import { n as requirePerm, t as requireOwnerPerm } from "../../../../authorize-Cg8wByla.mjs";
|
|
16
16
|
|
|
17
17
|
//#region src/astro/routes/api/media/[id].ts
|
|
18
18
|
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-HuAkl_6r.mjs";
|
|
2
|
+
import { n as requirePerm } from "../../../../../../authorize-Cg8wByla.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-HuAkl_6r.mjs";
|
|
2
|
+
import { n as requirePerm } from "../../../../../../authorize-Cg8wByla.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-HuAkl_6r.mjs";
|
|
2
|
+
import { n as requirePerm } from "../../../../../authorize-Cg8wByla.mjs";
|
|
3
3
|
|
|
4
4
|
//#region src/astro/routes/api/media/providers/index.ts
|
|
5
5
|
const prerender = false;
|
|
@@ -4,17 +4,17 @@ import "../../../../types-BI3ULB3A.mjs";
|
|
|
4
4
|
import { t as MediaRepository } from "../../../../media-BjH5OD-A.mjs";
|
|
5
5
|
import "../../../../terms-EskuqbKE.mjs";
|
|
6
6
|
import { n as normalizeMime, t as matchesMimeAllowlist } from "../../../../mime-FkfazULS.mjs";
|
|
7
|
-
import "../../../../context-types-
|
|
8
|
-
import "../../../../public-discovery-
|
|
9
|
-
import { n as apiSuccess, r as handleError, t as apiError } from "../../../../error-
|
|
10
|
-
import { n as parseBody, t as isParseError } from "../../../../parse-
|
|
11
|
-
import "../../../../content-
|
|
12
|
-
import { Rt as DEFAULT_MAX_UPLOAD_SIZE, Yt as mediaUploadUrlBody } from "../../../../redirects-
|
|
13
|
-
import "../../../../byline-fields-
|
|
14
|
-
import "../../../../status-
|
|
7
|
+
import "../../../../context-types-B9ShQ_6c.mjs";
|
|
8
|
+
import "../../../../public-discovery-CGRirTJH.mjs";
|
|
9
|
+
import { n as apiSuccess, r as handleError, t as apiError } from "../../../../error-HuAkl_6r.mjs";
|
|
10
|
+
import { n as parseBody, t as isParseError } from "../../../../parse-N4PAJGQr.mjs";
|
|
11
|
+
import "../../../../content-C8i4DyTt.mjs";
|
|
12
|
+
import { Rt as DEFAULT_MAX_UPLOAD_SIZE, Yt as mediaUploadUrlBody } from "../../../../redirects-BwnvcNyN.mjs";
|
|
13
|
+
import "../../../../byline-fields-Bnw5NflJ.mjs";
|
|
14
|
+
import "../../../../status-CDqWWt6i.mjs";
|
|
15
15
|
import "../../../../api/schemas/index.mjs";
|
|
16
|
-
import { n as requirePerm } from "../../../../authorize-
|
|
17
|
-
import { n as resolveFieldAllowlist, t as GLOBAL_UPLOAD_ALLOWLIST } from "../../../../media-allowlist-
|
|
16
|
+
import { n as requirePerm } from "../../../../authorize-Cg8wByla.mjs";
|
|
17
|
+
import { n as resolveFieldAllowlist, t as GLOBAL_UPLOAD_ALLOWLIST } from "../../../../media-allowlist-DWz7rPit.mjs";
|
|
18
18
|
import { ulid } from "ulidx";
|
|
19
19
|
import * as path from "node:path";
|
|
20
20
|
|
|
@@ -5,19 +5,19 @@ import { t as MediaRepository } from "../../../media-BjH5OD-A.mjs";
|
|
|
5
5
|
import "../../../terms-EskuqbKE.mjs";
|
|
6
6
|
import { n as normalizeMime, t as matchesMimeAllowlist } from "../../../mime-FkfazULS.mjs";
|
|
7
7
|
import { t as enrichImageMetadata } from "../../../enrich-CAMsD1aT.mjs";
|
|
8
|
-
import "../../../context-types-
|
|
9
|
-
import { t as computeContentHash } from "../../../hash-
|
|
10
|
-
import "../../../public-discovery-
|
|
11
|
-
import { t as addInternalMediaUrl } from "../../../url-
|
|
12
|
-
import { a as unwrapResult, n as apiSuccess, r as handleError, t as apiError } from "../../../error-
|
|
13
|
-
import { i as parseQuery, t as isParseError } from "../../../parse-
|
|
14
|
-
import "../../../content-
|
|
15
|
-
import { Rt as DEFAULT_MAX_UPLOAD_SIZE, Wt as mediaListQuery, zt as formatFileSize } from "../../../redirects-
|
|
16
|
-
import "../../../byline-fields-
|
|
17
|
-
import "../../../status-
|
|
8
|
+
import "../../../context-types-B9ShQ_6c.mjs";
|
|
9
|
+
import { t as computeContentHash } from "../../../hash-BinU5FKm.mjs";
|
|
10
|
+
import "../../../public-discovery-CGRirTJH.mjs";
|
|
11
|
+
import { t as addInternalMediaUrl } from "../../../url-RhtABurq.mjs";
|
|
12
|
+
import { a as unwrapResult, n as apiSuccess, r as handleError, t as apiError } from "../../../error-HuAkl_6r.mjs";
|
|
13
|
+
import { i as parseQuery, t as isParseError } from "../../../parse-N4PAJGQr.mjs";
|
|
14
|
+
import "../../../content-C8i4DyTt.mjs";
|
|
15
|
+
import { Rt as DEFAULT_MAX_UPLOAD_SIZE, Wt as mediaListQuery, zt as formatFileSize } from "../../../redirects-BwnvcNyN.mjs";
|
|
16
|
+
import "../../../byline-fields-Bnw5NflJ.mjs";
|
|
17
|
+
import "../../../status-CDqWWt6i.mjs";
|
|
18
18
|
import "../../../api/schemas/index.mjs";
|
|
19
|
-
import { n as requirePerm } from "../../../authorize-
|
|
20
|
-
import { n as resolveFieldAllowlist, t as GLOBAL_UPLOAD_ALLOWLIST } from "../../../media-allowlist-
|
|
19
|
+
import { n as requirePerm } from "../../../authorize-Cg8wByla.mjs";
|
|
20
|
+
import { n as resolveFieldAllowlist, t as GLOBAL_UPLOAD_ALLOWLIST } from "../../../media-allowlist-DWz7rPit.mjs";
|
|
21
21
|
import { ulid } from "ulidx";
|
|
22
22
|
import * as path from "node:path";
|
|
23
23
|
|