dineway 0.2.37 → 0.2.39
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-BbtYp_4V.mjs → activity-LXZdjKwI.mjs} +1 -1
- package/dist/{activity-events-CiFN61xq.mjs → activity-events-DoqeOM8x.mjs} +1 -1
- package/dist/adapter-symbols-Bq3JsWGM.d.mts +5 -0
- package/dist/{adapters-Rol-inz6.d.mts → adapters-C8nRpUuj.d.mts} +22 -6
- package/dist/after.d.mts +10 -0
- package/dist/{after-BVaUn7bK.mjs → after.mjs} +3 -2
- package/dist/{allowed-origins-Cp7BI3L9.mjs → allowed-origins-DiVrMLxh.mjs} +1 -1
- package/dist/api/route-utils.d.mts +12 -10
- package/dist/api/route-utils.mjs +18 -19
- package/dist/api/schemas/index.d.mts +1 -1
- package/dist/api/schemas/index.mjs +5 -5
- package/dist/{api-kJUT0VCn.mjs → api-COSxvdOi.mjs} +11 -11
- package/dist/{api-tokens-OAgvq4xg.mjs → api-tokens-CNHnKO57.mjs} +1 -1
- package/dist/{apply--6MFJ5h9.mjs → apply-D4rZHDyg.mjs} +18 -18
- package/dist/astro/index.d.mts +13 -11
- package/dist/astro/index.mjs +20 -14
- package/dist/astro/middleware/auth.d.mts +11 -9
- package/dist/astro/middleware/auth.mjs +7 -8
- package/dist/astro/middleware/redirect.mjs +7 -7
- package/dist/astro/middleware/request-context.mjs +4 -5
- package/dist/astro/middleware/seed.d.mts +1 -1
- package/dist/astro/middleware/seed.mjs +3 -3
- package/dist/astro/middleware/setup.mjs +1 -1
- package/dist/astro/middleware.d.mts +9 -1
- package/dist/astro/middleware.mjs +301 -132
- package/dist/astro/routes/api/admin/allowed-domains/_domain_.mjs +7 -7
- package/dist/astro/routes/api/admin/allowed-domains/index.mjs +7 -7
- package/dist/astro/routes/api/admin/api-tokens/_id_.mjs +4 -4
- package/dist/astro/routes/api/admin/api-tokens/index.mjs +6 -6
- package/dist/astro/routes/api/admin/briefing.mjs +22 -23
- package/dist/astro/routes/api/admin/byline-fields/_slug_/usage.mjs +5 -5
- package/dist/astro/routes/api/admin/byline-fields/_slug_.mjs +11 -11
- package/dist/astro/routes/api/admin/byline-fields/index.mjs +11 -11
- package/dist/astro/routes/api/admin/byline-fields/reorder.mjs +11 -11
- package/dist/astro/routes/api/admin/bylines/_id_/index.mjs +19 -20
- package/dist/astro/routes/api/admin/bylines/_id_/translations.mjs +19 -20
- package/dist/astro/routes/api/admin/bylines/index.mjs +19 -20
- package/dist/astro/routes/api/admin/comments/_id_/status.mjs +16 -17
- package/dist/astro/routes/api/admin/comments/_id_.mjs +6 -7
- package/dist/astro/routes/api/admin/comments/bulk.mjs +12 -13
- package/dist/astro/routes/api/admin/comments/counts.mjs +6 -7
- package/dist/astro/routes/api/admin/comments/index.mjs +12 -13
- package/dist/astro/routes/api/admin/context/_id_/history.mjs +37 -38
- package/dist/astro/routes/api/admin/context/_id_/index.mjs +37 -38
- package/dist/astro/routes/api/admin/context/_id_/review.mjs +42 -43
- package/dist/astro/routes/api/admin/context/_id_/supersede.mjs +42 -43
- package/dist/astro/routes/api/admin/context/diff.mjs +41 -42
- package/dist/astro/routes/api/admin/context/index.mjs +42 -43
- package/dist/astro/routes/api/admin/context/stale.mjs +41 -42
- package/dist/astro/routes/api/admin/hitl-requests/_id_/index.mjs +37 -38
- package/dist/astro/routes/api/admin/hitl-requests/_id_/resolve.mjs +41 -42
- package/dist/astro/routes/api/admin/hitl-requests/index.mjs +41 -42
- package/dist/astro/routes/api/admin/hooks/exclusive/_hookName_.mjs +38 -39
- package/dist/astro/routes/api/admin/hooks/exclusive/index.mjs +3 -3
- package/dist/astro/routes/api/admin/oauth-clients/_id_.mjs +6 -6
- package/dist/astro/routes/api/admin/oauth-clients/index.mjs +6 -6
- package/dist/astro/routes/api/admin/plugins/_id_/disable.mjs +66 -67
- package/dist/astro/routes/api/admin/plugins/_id_/enable.mjs +66 -67
- package/dist/astro/routes/api/admin/plugins/_id_/index.mjs +58 -59
- package/dist/astro/routes/api/admin/plugins/_id_/uninstall.mjs +65 -66
- package/dist/astro/routes/api/admin/plugins/_id_/update.mjs +65 -66
- package/dist/astro/routes/api/admin/plugins/index.mjs +58 -59
- package/dist/astro/routes/api/admin/plugins/marketplace/_id_/icon.mjs +2 -2
- package/dist/astro/routes/api/admin/plugins/marketplace/_id_/index.mjs +58 -59
- package/dist/astro/routes/api/admin/plugins/marketplace/_id_/install.mjs +65 -66
- package/dist/astro/routes/api/admin/plugins/marketplace/index.mjs +58 -59
- package/dist/astro/routes/api/admin/plugins/updates.mjs +58 -59
- package/dist/astro/routes/api/admin/review-requests/_id_/image.mjs +23 -24
- package/dist/astro/routes/api/admin/review-requests/_id_/index.mjs +34 -35
- package/dist/astro/routes/api/admin/review-requests/_id_/resolve.mjs +50 -51
- package/dist/astro/routes/api/admin/review-requests/_id_/revoke.mjs +8 -8
- package/dist/astro/routes/api/admin/review-requests/index.mjs +48 -49
- package/dist/astro/routes/api/admin/themes/marketplace/_id_/index.mjs +58 -59
- package/dist/astro/routes/api/admin/themes/marketplace/_id_/thumbnail.mjs +2 -2
- package/dist/astro/routes/api/admin/themes/marketplace/index.mjs +58 -59
- package/dist/astro/routes/api/admin/users/_id_/disable.mjs +2 -2
- package/dist/astro/routes/api/admin/users/_id_/enable.mjs +1 -1
- package/dist/astro/routes/api/admin/users/_id_/index.mjs +8 -8
- package/dist/astro/routes/api/admin/users/_id_/send-recovery.mjs +3 -3
- package/dist/astro/routes/api/admin/users/index.mjs +7 -7
- package/dist/astro/routes/api/auth/dev-bypass.mjs +5 -5
- package/dist/astro/routes/api/auth/invite/accept.mjs +1 -1
- package/dist/astro/routes/api/auth/invite/complete.mjs +12 -12
- package/dist/astro/routes/api/auth/invite/index.mjs +9 -9
- package/dist/astro/routes/api/auth/invite/register-options.mjs +11 -11
- package/dist/astro/routes/api/auth/logout.mjs +2 -2
- package/dist/astro/routes/api/auth/magic-link/send.mjs +12 -12
- package/dist/astro/routes/api/auth/magic-link/verify.mjs +2 -2
- package/dist/astro/routes/api/auth/me.mjs +10 -10
- package/dist/astro/routes/api/auth/mode.mjs +1 -1
- package/dist/astro/routes/api/auth/oauth/_provider_/callback.mjs +3 -3
- package/dist/astro/routes/api/auth/oauth/_provider_.mjs +3 -3
- package/dist/astro/routes/api/auth/passkey/_id_.mjs +7 -7
- package/dist/astro/routes/api/auth/passkey/index.mjs +1 -1
- package/dist/astro/routes/api/auth/passkey/options.mjs +14 -14
- package/dist/astro/routes/api/auth/passkey/register/options.mjs +11 -11
- package/dist/astro/routes/api/auth/passkey/register/verify.mjs +12 -12
- package/dist/astro/routes/api/auth/passkey/verify.mjs +12 -12
- package/dist/astro/routes/api/auth/setup-token/index.mjs +6 -6
- package/dist/astro/routes/api/auth/setup-token/verify.mjs +3 -3
- package/dist/astro/routes/api/auth/signup/complete.mjs +12 -12
- package/dist/astro/routes/api/auth/signup/request.mjs +12 -12
- package/dist/astro/routes/api/auth/signup/verify.mjs +1 -1
- package/dist/astro/routes/api/comments/_collection_/_contentId_/index.d.mts +11 -9
- package/dist/astro/routes/api/comments/_collection_/_contentId_/index.mjs +19 -20
- package/dist/astro/routes/api/comments/_collection_/_contentId_/reactions.mjs +17 -18
- 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 +20 -21
- package/dist/astro/routes/api/content/_collection_/_id_/publish.mjs +29 -30
- package/dist/astro/routes/api/content/_collection_/_id_/release-readiness.mjs +8 -8
- 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 +29 -30
- package/dist/astro/routes/api/content/_collection_/_id_/terms/_taxonomy_.mjs +18 -19
- 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 +12 -12
- package/dist/astro/routes/api/content/_collection_/authors.mjs +2 -2
- package/dist/astro/routes/api/content/_collection_/index.mjs +12 -12
- package/dist/astro/routes/api/content/_collection_/trash.mjs +8 -8
- package/dist/astro/routes/api/dashboard.mjs +11 -12
- 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 -23
- package/dist/astro/routes/api/import/wordpress/analyze.mjs +10 -10
- package/dist/astro/routes/api/import/wordpress/execute.d.mts +11 -9
- package/dist/astro/routes/api/import/wordpress/execute.mjs +45 -46
- package/dist/astro/routes/api/import/wordpress/media.d.mts +11 -9
- package/dist/astro/routes/api/import/wordpress/media.mjs +13 -13
- package/dist/astro/routes/api/import/wordpress/prepare.mjs +46 -47
- package/dist/astro/routes/api/import/wordpress/rewrite-urls.d.mts +12 -10
- package/dist/astro/routes/api/import/wordpress/rewrite-urls.mjs +43 -44
- package/dist/astro/routes/api/import/wordpress-plugin/analyze.d.mts +1 -1
- package/dist/astro/routes/api/import/wordpress-plugin/analyze.mjs +26 -27
- package/dist/astro/routes/api/import/wordpress-plugin/execute.d.mts +11 -9
- package/dist/astro/routes/api/import/wordpress-plugin/execute.mjs +50 -51
- package/dist/astro/routes/api/integration/artifact.mjs +8 -9
- package/dist/astro/routes/api/integration/dispatch.mjs +12 -13
- package/dist/astro/routes/api/integrations/_provider_.mjs +9 -10
- package/dist/astro/routes/api/integrations/index.mjs +8 -9
- package/dist/astro/routes/api/manifest.mjs +5 -5
- package/dist/astro/routes/api/mcp.mjs +87 -88
- package/dist/astro/routes/api/media/_id_/confirm.mjs +11 -11
- package/dist/astro/routes/api/media/_id_.mjs +9 -9
- package/dist/astro/routes/api/media/file/_...key_.mjs +1 -1
- package/dist/astro/routes/api/media/providers/_providerId_/_itemId_.mjs +2 -2
- package/dist/astro/routes/api/media/providers/_providerId_/index.mjs +2 -2
- package/dist/astro/routes/api/media/providers/index.mjs +2 -2
- package/dist/astro/routes/api/media/upload-url.mjs +12 -12
- package/dist/astro/routes/api/media.mjs +15 -15
- package/dist/astro/routes/api/menus/_name_/items/_id_.mjs +42 -43
- package/dist/astro/routes/api/menus/_name_/items.mjs +42 -43
- package/dist/astro/routes/api/menus/_name_/reorder.mjs +42 -43
- package/dist/astro/routes/api/menus/_name_/translations.mjs +42 -43
- package/dist/astro/routes/api/menus/_name_.mjs +42 -43
- package/dist/astro/routes/api/menus/index.mjs +42 -43
- package/dist/astro/routes/api/oauth/authorize.mjs +8 -8
- package/dist/astro/routes/api/oauth/device/authorize.mjs +6 -6
- package/dist/astro/routes/api/oauth/device/code.mjs +10 -10
- package/dist/astro/routes/api/oauth/device/token.mjs +9 -9
- 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 +7 -7
- package/dist/astro/routes/api/openapi.json.mjs +5 -5
- package/dist/astro/routes/api/plugins/_pluginId_/_...path_.mjs +3 -3
- package/dist/astro/routes/api/redirects/404s/index.mjs +13 -13
- package/dist/astro/routes/api/redirects/404s/summary.mjs +13 -13
- package/dist/astro/routes/api/redirects/_id_.mjs +42 -43
- package/dist/astro/routes/api/redirects/index.mjs +42 -43
- 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 +60 -61
- package/dist/astro/routes/api/schema/collections/_slug_/fields/index.mjs +60 -61
- package/dist/astro/routes/api/schema/collections/_slug_/fields/reorder.mjs +60 -61
- package/dist/astro/routes/api/schema/collections/_slug_/index.mjs +60 -61
- package/dist/astro/routes/api/schema/collections/index.mjs +60 -61
- package/dist/astro/routes/api/schema/index.mjs +10 -10
- package/dist/astro/routes/api/schema/orphans/_slug_.mjs +58 -59
- package/dist/astro/routes/api/schema/orphans/index.mjs +58 -59
- package/dist/astro/routes/api/search/enable.mjs +13 -13
- package/dist/astro/routes/api/search/index.mjs +12 -12
- package/dist/astro/routes/api/search/rebuild.mjs +13 -13
- package/dist/astro/routes/api/search/stats.mjs +7 -7
- package/dist/astro/routes/api/search/suggest.mjs +12 -12
- package/dist/astro/routes/api/sections/_slug_.mjs +42 -43
- package/dist/astro/routes/api/sections/index.mjs +42 -43
- package/dist/astro/routes/api/settings/email.mjs +4 -4
- package/dist/astro/routes/api/settings/reviews.mjs +9 -9
- package/dist/astro/routes/api/settings.mjs +42 -43
- package/dist/astro/routes/api/setup/admin-verify.mjs +14 -14
- package/dist/astro/routes/api/setup/admin.mjs +12 -12
- package/dist/astro/routes/api/setup/dev-bypass.mjs +30 -31
- package/dist/astro/routes/api/setup/dev-reset.mjs +2 -2
- package/dist/astro/routes/api/setup/index.mjs +32 -33
- package/dist/astro/routes/api/setup/status.mjs +3 -3
- package/dist/astro/routes/api/snapshot.mjs +8 -9
- package/dist/astro/routes/api/system/heartbeat.mjs +2 -2
- package/dist/astro/routes/api/taxonomies/_name_/terms/_slug_/translations.mjs +45 -46
- package/dist/astro/routes/api/taxonomies/_name_/terms/_slug_.mjs +45 -46
- package/dist/astro/routes/api/taxonomies/_name_/terms/index.mjs +45 -46
- package/dist/astro/routes/api/taxonomies/index.mjs +45 -46
- package/dist/astro/routes/api/themes/preview.mjs +6 -7
- package/dist/astro/routes/api/typegen.mjs +4 -4
- package/dist/astro/routes/api/well-known/auth.mjs +3 -3
- package/dist/astro/routes/api/well-known/oauth-authorization-server.mjs +3 -3
- package/dist/astro/routes/api/well-known/oauth-protected-resource.mjs +3 -3
- package/dist/astro/routes/api/widget-areas/_name_/reorder.mjs +41 -42
- package/dist/astro/routes/api/widget-areas/_name_/widgets/_id_.mjs +42 -43
- package/dist/astro/routes/api/widget-areas/_name_/widgets.mjs +42 -43
- package/dist/astro/routes/api/widget-areas/_name_.mjs +39 -40
- package/dist/astro/routes/api/widget-areas/index.mjs +42 -43
- package/dist/astro/routes/api/widget-components.mjs +2 -2
- package/dist/astro/routes/robots.txt.mjs +8 -9
- package/dist/astro/routes/sitemap-_collection_.xml.mjs +16 -17
- package/dist/astro/routes/sitemap.xml.mjs +15 -16
- package/dist/astro/session-driver.d.mts +1 -1
- package/dist/astro/session-driver.mjs +2 -2
- package/dist/astro/types.d.mts +14 -12
- package/dist/{audit-F5iWkbcJ.mjs → audit-Cl495Ze3.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-DPOSBNFI.mjs → auth-control-guard-DbjgJdlo.mjs} +1 -1
- package/dist/{authorize-CXIjxIfC.mjs → authorize-DDmgmnW-.mjs} +1 -1
- package/dist/{briefing-BiBHuHqK.mjs → briefing-COw-WcYz.mjs} +6 -6
- package/dist/{briefing-DQYj9x6H.mjs → briefing-DsD-Ouwc.mjs} +1 -1
- package/dist/{bundle-DImnxo71.mjs → bundle-bhiszAui.mjs} +2 -2
- package/dist/{byline-BCPYEtzy.mjs → byline-TYk2kad6.mjs} +6 -6
- package/dist/{byline-fields-CY6V0ew1.mjs → byline-fields-BKj5f3Ub.mjs} +1 -1
- package/dist/{byline-fields-Cr3vqtmy.d.mts → byline-fields-CKhPED5o.d.mts} +31 -31
- package/dist/{byline-fields-DGNKitg3.mjs → byline-fields-DZ46DF10.mjs} +3 -3
- package/dist/{byline-registry-CkuVVeJJ.mjs → byline-registry-CJihchD1.mjs} +1 -1
- package/dist/{bylines-BkRyEw1m.mjs → bylines-6T9iVC9j.mjs} +3 -3
- package/dist/{bylines-ulHYkoqw.mjs → bylines-CvTSCAw9.mjs} +5 -5
- package/dist/{cache-DZDOBJv3.mjs → cache-B5NSHhxG.mjs} +2 -2
- package/dist/{chunks-BnG3LPMN.mjs → chunks-C8vSD_5L.mjs} +1 -1
- package/dist/cli/index.mjs +50 -46
- package/dist/cli/plugin-kit.d.mts +11 -9
- package/dist/cli/plugin-kit.mjs +2 -2
- package/dist/client/index.d.mts +11 -9
- package/dist/client/index.mjs +2 -2
- package/dist/{client-factory-6vLLT06O.mjs → client-factory-C1ZQCMog.mjs} +1 -1
- package/dist/{comment-DX7gSK1w.mjs → comment-DAQfUjqt.mjs} +2 -2
- package/dist/{comment-reaction-Cun5eIXL.mjs → comment-reaction-Dp3G7UZc.mjs} +1 -1
- package/dist/{comments-CFswogn0.mjs → comments-BrvIaRAx.mjs} +1 -1
- package/dist/{content-D_Q7BEGo.mjs → content-CIKsrvU9.mjs} +12 -11
- package/dist/{content-refresh-9M9cc55-.mjs → content-refresh-BilzqcLt.mjs} +4 -4
- package/dist/{context-jRMnVU99.mjs → context-DAs_MZjJ.mjs} +11 -11
- package/dist/{context-CDZsqodm.mjs → context-DVTvucNb.mjs} +2 -2
- package/dist/{context-route-helpers-CWAHJFl3.mjs → context-route-helpers-BP-UJ4u8.mjs} +1 -1
- package/dist/{d1-binding-D6HZa3ks.mjs → d1-binding-DrLMBUxu.mjs} +6 -2
- package/dist/{dashboard-C7K-qmQw.mjs → dashboard-BAjWCGCP.mjs} +4 -4
- package/dist/database/batch.d.mts +2 -1
- package/dist/database/batch.mjs +5 -3
- package/dist/database/d1/index.d.mts +11 -9
- package/dist/database/d1/index.mjs +5 -5
- package/dist/db/index.d.mts +4 -4
- package/dist/db/index.mjs +3 -13
- 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-Prqg6ycD.mjs → device-flow-Dh0rNlh1.mjs} +3 -3
- package/dist/{discovery-CYcZJ1o3.mjs → discovery-V0e0Gg8j.mjs} +4 -4
- package/dist/{enrich-BjF-J4sF.mjs → enrich-B7PIJ8Iy.mjs} +1 -1
- package/dist/{evidence-CoLCtvqq.mjs → evidence-Vnp_fQbC.mjs} +6 -6
- package/dist/{field-defs-cache-BKKFFf_V.mjs → field-defs-cache-aXUeXJdC.mjs} +6 -6
- package/dist/{fts-manager-DA74x_uP.mjs → fts-manager-BrPpYtK0.mjs} +1 -1
- package/dist/{hitl-requests-CMlepQbW.mjs → hitl-requests-BxMMON3s.mjs} +2 -2
- package/dist/{hitl-route-helpers-DnNP_wMa.mjs → hitl-route-helpers-sdnjpx2k.mjs} +4 -4
- package/dist/{import-CJiI0o15.mjs → import-C2-v4FCs.mjs} +9 -9
- package/dist/{index-mlJSqFkG.d.mts → index-BVGe04wF.d.mts} +3 -3
- package/dist/index.d.mts +17 -15
- package/dist/index.mjs +98 -98
- package/dist/{integration-credentials-Br16M1VE.mjs → integration-credentials-DMEXZU2J.mjs} +2 -2
- package/dist/{jsonld-B2e_FWju.d.mts → jsonld-XWmmAoVo.d.mts} +2 -2
- package/dist/{load-B2oitobd.mjs → load-DvCVppOF.mjs} +1 -1
- package/dist/{loader-Cgsx23wU.mjs → loader-Dp6zLmQm.mjs} +3 -3
- package/dist/{manifest-schema-DBXM_g8l.mjs → manifest-schema-CCvogfrP.mjs} +1 -1
- package/dist/{mcp-reviewed-executor-XBjd6qYu.mjs → mcp-reviewed-executor-B8Gbin3T.mjs} +6 -6
- package/dist/media/image-endpoint.mjs +1 -1
- package/dist/media/index.d.mts +1 -1
- package/dist/media/index.mjs +2 -2
- package/dist/media/local-runtime.d.mts +13 -11
- package/dist/media/local-runtime.mjs +2 -2
- package/dist/{media-BZqwtRTZ.mjs → media-C5ba8fvI.mjs} +1 -1
- package/dist/{media-allowlist-CyByjUXh.mjs → media-allowlist-DQvscVkS.mjs} +1 -1
- package/dist/{menus-BJvvB0n9.mjs → menus-CyNpBQrX.mjs} +2 -2
- package/dist/{menus-DNcY6Do7.mjs → menus-w5xwT-f5.mjs} +7 -7
- package/dist/{migrations-C7YXse7V.mjs → migrations-CLlX25HO.mjs} +2 -2
- package/dist/{oauth-authorization-B_mmz7O2.mjs → oauth-authorization-CdqJZUMf.mjs} +4 -4
- package/dist/{oauth-clients-Cr4pdIAE.mjs → oauth-clients-CHNb9MAZ.mjs} +2 -2
- package/dist/object-cache/memory.d.mts +1 -1
- package/dist/{object-cache-DYGlsI-R.mjs → object-cache-mxCW-Rpt.mjs} +1 -1
- package/dist/page/index.d.mts +12 -10
- package/dist/page/index.mjs +1 -1
- package/dist/{parse-BscLr3p2.mjs → parse-THHCpJLB.mjs} +1 -1
- package/dist/plugin-utils.d.mts +11 -9
- package/dist/plugins/adapt-sandbox-entry.d.mts +11 -9
- package/dist/plugins/adapt-sandbox-entry.mjs +1 -1
- package/dist/{plugins-D6zhTwNX.mjs → plugins-pfraURNp.mjs} +8 -8
- package/dist/{policy-CrK1vl8l.mjs → policy-B6mVa7ib.mjs} +2 -2
- package/dist/{preview-E1xKZGsX.mjs → preview-Bh7D7F27.mjs} +3 -3
- package/dist/{provider-loader-H2wdGD0o.d.mts → provider-loader-DT7vQ5FI.d.mts} +1 -1
- package/dist/{public-url-Dj1vD21t.d.mts → public-url-BvnTaacI.d.mts} +1 -1
- package/dist/{public-url-zoO-QbN6.d.mts → public-url-Ccv0Xmue.d.mts} +2 -2
- package/dist/{publication-authorization-D4Cq5dn5.mjs → publication-authorization-B_HJSnzR.mjs} +10 -10
- package/dist/{query-DnK6LJdA.mjs → query-DLeahg3x.mjs} +4 -4
- package/dist/{query-BTxYlpUS.mjs → query-xspvw7Ui.mjs} +15 -15
- package/dist/{rate-limit-RaBJEgyt.mjs → rate-limit-BsBr_U9g.mjs} +2 -2
- package/dist/{redirect-HLI3wT5Y.mjs → redirect-BQFa1THe.mjs} +2 -2
- package/dist/{redirects-DpRiuRWn.mjs → redirects-CVfxefrz.mjs} +3 -3
- package/dist/{redirects-D16GFaOa.mjs → redirects-DJcsgz_X.mjs} +5 -5
- package/dist/{registry-DcV93OL_.mjs → registry-Dclv9iHv.mjs} +7 -7
- package/dist/{release-CZfAeyXm.mjs → release-B3Q-9B7N.mjs} +3 -3
- package/dist/request-context.d.mts +5 -1
- package/dist/request-context.mjs +12 -1
- package/dist/{request-meta-C6yGqnGD.mjs → request-meta-CjORiJQ_.mjs} +1 -1
- package/dist/{review-payload-BPwisxjF.mjs → review-payload-Bap86e75.mjs} +13 -13
- package/dist/{review-requests-BF2eEKr8.mjs → review-requests-CUVn0RBl.mjs} +2 -2
- package/dist/{review-requests-CP3Nfqhy.mjs → review-requests-CcSUTm_l.mjs} +2 -2
- package/dist/{review-route-helpers-BYx3Px90.mjs → review-route-helpers-CKBfGKCi.mjs} +1 -1
- package/dist/{revocation-DZ8e4JCS.mjs → revocation-C_ZQvGRT.mjs} +2 -2
- package/dist/{runner-CVeq0266.mjs → runner-CRU7BXjr.mjs} +1 -1
- package/dist/{runner-Cxl-vyk2.d.mts → runner-SoP1rphP.d.mts} +1 -1
- package/dist/{runs-B8kCirJ6.mjs → runs-BtaAiLTw.mjs} +4 -4
- package/dist/runtime.d.mts +14 -11
- package/dist/runtime.mjs +5 -4
- package/dist/scheduled-publish-BxdShRGs.d.mts +9 -0
- package/dist/schema-CosVhHJt.mjs +8 -0
- package/dist/{search-C9qOBgvo.mjs → search-BI9uKr7U.mjs} +3 -3
- package/dist/{secrets-BP2YTPWn.mjs → secrets-D_pergcD.mjs} +4 -4
- package/dist/{sections-CkoQY7Z9.mjs → sections-BqqYq9RW.mjs} +2 -2
- 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 +9 -9
- package/dist/{seo-Bypxm1iD.mjs → seo-B-5PsaJO.mjs} +1 -1
- package/dist/{seo-B3cQl1r2.mjs → seo-Bs_DUxJf.mjs} +2 -2
- package/dist/{service-CMR5_eSN.mjs → service-B65aJsN7.mjs} +3 -3
- package/dist/{service-mJBl4ZP4.mjs → service-W2xuGLgw.mjs} +2 -2
- package/dist/{session-user-DacoiKrJ.mjs → session-user-eweCNKzW.mjs} +1 -1
- package/dist/{settings-DiAKrrP4.mjs → settings-CyJ2-MKx.mjs} +2 -2
- package/dist/{settings-dNtUakSt.mjs → settings-DsBzKeUQ.mjs} +8 -8
- package/dist/{setup-complete-CWMnrNFN.mjs → setup-complete-DeivSVJi.mjs} +1 -1
- package/dist/{site-activity-BrN2NviL.mjs → site-activity-DU0UPDji.mjs} +1 -1
- package/dist/{site-context-Bll8ehSX.mjs → site-context-Dic2jHuw.mjs} +15 -15
- package/dist/{site-url-DoTPKRND.mjs → site-url-Tw6CfBB2.mjs} +1 -1
- package/dist/{state-D8AogXCV.mjs → state-DM7blWfT.mjs} +1 -1
- package/dist/storage/local.d.mts +1 -1
- package/dist/storage/local.mjs +1 -1
- package/dist/storage/s3.d.mts +1 -1
- package/dist/storage/s3.mjs +2 -2
- package/dist/{store-CjmmGlVw.mjs → store-32e6dfD-.mjs} +2 -2
- package/dist/{submission-CdXVheI1.mjs → submission-DJmRejGR.mjs} +10 -10
- package/dist/{taxonomies-rJBePDW_.mjs → taxonomies-BFsUR7kc.mjs} +3 -3
- package/dist/{taxonomies-9lXML1QX.mjs → taxonomies-lWGNLKgn.mjs} +7 -7
- package/dist/{taxonomy-CAd9SL-L.mjs → taxonomy-DN6i1upz.mjs} +3 -3
- package/dist/{trusted-proxy-CvDP0g0F.mjs → trusted-proxy-hYufGFPK.mjs} +1 -1
- package/dist/{types-5xfwCI4m.d.mts → types-CJynaYg1.d.mts} +15 -24
- package/dist/{types-BFoQ5a1v.d.mts → types-CgcOeaiQ.d.mts} +1 -1
- package/dist/{types-BqxIv8Il.mjs → types-RFzE_V1M.mjs} +1 -1
- package/dist/ui/server-runtime.d.mts +15 -13
- package/dist/ui/server-runtime.mjs +25 -26
- package/dist/{user-1-YV30lf.mjs → user-Btai9rl3.mjs} +2 -2
- package/dist/{utils-BoWkoty8.mjs → utils-CYxGuO_P.mjs} +2 -2
- package/dist/{validate-CupwWNWL.mjs → validate-C05z0m7M.mjs} +3 -3
- package/dist/{validate-CCOsvPg2.d.mts → validate-kmN2lS8H.d.mts} +3 -3
- package/dist/version-BnLdwIT1.mjs +6 -0
- package/dist/{widgets-DbOctkXv.mjs → widgets-BOrDZdQ3.mjs} +3 -3
- package/dist/{wordpress-slugs-pQlLXbKn.mjs → wordpress-slugs-ROzITIBK.mjs} +1 -1
- package/dist/{worker-0TNlZuCU.mjs → worker-Bg35R37I.mjs} +10 -10
- package/dist/workers-build-5UQ4j69Q.mjs +70 -0
- package/dist/{zod-generator-BzACAoR5.mjs → zod-generator-DkrWuID7.mjs} +2 -2
- package/package.json +10 -18
- package/dist/astro/middleware/workers.d.mts +0 -6
- package/dist/astro/middleware/workers.mjs +0 -8
- package/dist/d1-dialect-BBxPg6Om.mjs +0 -48
- package/dist/db/d1.d.mts +0 -7
- package/dist/db/d1.mjs +0 -13
- package/dist/schema-DFeC5axi.mjs +0 -8
- package/dist/version-cCcZvW0B.mjs +0 -6
- package/dist/workers-build-QVrquLLe.mjs +0 -36
- /package/dist/{api-tokens-DA18zxza.mjs → api-tokens-0N3nafqZ.mjs} +0 -0
- /package/dist/{challenge-store-DFGsDtCj.mjs → challenge-store-BPn3goP9.mjs} +0 -0
- /package/dist/{components-gMTtJqHg.mjs → components-rFN8NH3N.mjs} +0 -0
- /package/dist/{context-types-DLD_HnKT.mjs → context-types-CPWAJRs5.mjs} +0 -0
- /package/dist/{cron-BVYo08mi.mjs → cron-C7HCJPPl.mjs} +0 -0
- /package/dist/{default-w3MwLng7.mjs → default-BS6VQRkB.mjs} +0 -0
- /package/dist/{email-console-CpvgEN1w.mjs → email-console-GqK6hgMJ.mjs} +0 -0
- /package/dist/{error-B-44r5TD.mjs → error-B5a45Tfb.mjs} +0 -0
- /package/dist/{escape-B1GM0yJU.mjs → escape-CE7xOWzJ.mjs} +0 -0
- /package/dist/{experimental-workflows-fzJHB3ZI.mjs → experimental-workflows-BbxpWwBy.mjs} +0 -0
- /package/dist/{forgeway-account-CnWOIusE.mjs → forgeway-account-DcTxh3Gw.mjs} +0 -0
- /package/dist/{hash-DvMZXj2L.mjs → hash-D2Rqd2J2.mjs} +0 -0
- /package/dist/{media-url-D-elxQjL.mjs → media-url-D9kdpoLS.mjs} +0 -0
- /package/dist/{mime-D_ae-u_U.mjs → mime-BnVhH671.mjs} +0 -0
- /package/dist/{mode-BJwb_MgK.mjs → mode-D0gePRtf.mjs} +0 -0
- /package/dist/{normalize-5rct_U0I.mjs → normalize-aTwryvvi.mjs} +0 -0
- /package/dist/{oauth-authority-DOjME4Hh.mjs → oauth-authority-P5YMSk2z.mjs} +0 -0
- /package/dist/{oauth-state-store-D2H9hKcN.mjs → oauth-state-store-CMqLdo4I.mjs} +0 -0
- /package/dist/{options-BcqHWpc-.mjs → options-JiLWB6Bt.mjs} +0 -0
- /package/dist/{output-CdmbQioY.mjs → output-7HDrYTSQ.mjs} +0 -0
- /package/dist/{parser-ehIlj32k.mjs → parser-kettsjWc.mjs} +0 -0
- /package/dist/{passkey-config-sUQoLEj_.mjs → passkey-config-DVzQ3dv3.mjs} +0 -0
- /package/dist/{patterns-CZ7D4y_R.mjs → patterns-Ay-4KImK.mjs} +0 -0
- /package/dist/{placeholder-CQKI6vLd.d.mts → placeholder-DJLP_HY7.d.mts} +0 -0
- /package/dist/{portable-text-DH3Om_2D.mjs → portable-text-tQhvPLf1.mjs} +0 -0
- /package/dist/{process-cache-MHM4Sqzs.mjs → process-cache-C19OA3am.mjs} +0 -0
- /package/dist/{provider-loader-Dnv2neOu.mjs → provider-loader-DERzBMUz.mjs} +0 -0
- /package/dist/{public-discovery-CTql6jdZ.mjs → public-discovery-BGyhuD5U.mjs} +0 -0
- /package/dist/{public-url-DNt9A1yS.mjs → public-url-DFXUU6Wp.mjs} +0 -0
- /package/dist/{public-url-4sMO36Gw.mjs → public-url-sR8SVmTt.mjs} +0 -0
- /package/dist/{redirect-Cjjb5VYr.mjs → redirect-BxacnBYL.mjs} +0 -0
- /package/dist/{request-cache-DPmV5nk4.mjs → request-cache-8_ifFzVw.mjs} +0 -0
- /package/dist/{resolve-CpOV2jt_.mjs → resolve-DEKC4qVa.mjs} +0 -0
- /package/dist/{revision-090sZyGc.mjs → revision-W6FDfDqx.mjs} +0 -0
- /package/dist/{runtime-env-v-1UXPAH.mjs → runtime-env-CPTzh0mZ.mjs} +0 -0
- /package/dist/{seo-contributions-atY3jZEV.mjs → seo-contributions-LEFs1d7w.mjs} +0 -0
- /package/dist/{service-CeEi6nax.mjs → service-kQ5ljRzX.mjs} +0 -0
- /package/dist/{setup-nonce-BUmfCiY1.mjs → setup-nonce-B6A5Y1ea.mjs} +0 -0
- /package/dist/{sidecar-client-CbrX8nuw.mjs → sidecar-client-BwPhhz-F.mjs} +0 -0
- /package/dist/{slugify-Di8Q_MFq.mjs → slugify-kD31VIv2.mjs} +0 -0
- /package/dist/{ssrf-COxLChKv.mjs → ssrf-C9dyjU8O.mjs} +0 -0
- /package/dist/{stable-hash-DEtJgcp7.mjs → stable-hash-B9Tbb2f_.mjs} +0 -0
- /package/dist/{status-DBSB6tdS.mjs → status-Bjf_uSrW.mjs} +0 -0
- /package/dist/{tokens-I3tSjoFI.mjs → tokens-D-StaTAQ.mjs} +0 -0
- /package/dist/{transport-aPKvM53n.mjs → transport-BrU1aDY5.mjs} +0 -0
- /package/dist/{types-CVRNRAA5.d.mts → types-B--VyN3n.d.mts} +0 -0
- /package/dist/{types-SddyDti7.d.mts → types-B03h5jt_.d.mts} +0 -0
- /package/dist/{types-CyBH89BS.mjs → types-COvyXIp7.mjs} +0 -0
- /package/dist/{types-DNPP-eu4.d.mts → types-CtGSEKEJ.d.mts} +0 -0
- /package/dist/{types-ChSk0dmw.mjs → types-DNBL-4Sn.mjs} +0 -0
- /package/dist/{types-CAD4OvmF.d.mts → types-DsJTXStN.d.mts} +0 -0
- /package/dist/{types-BWsEjujW.d.mts → types-KFzuijKE.d.mts} +0 -0
- /package/dist/{types-BKsk4nnM.mjs → types-PLJ9hlhh.mjs} +0 -0
- /package/dist/{types-1qU0-N1P.d.mts → types-SlLXjRpg.d.mts} +0 -0
- /package/dist/{url-DfqolpO2.mjs → url-DGG3hw_h.mjs} +0 -0
- /package/dist/{url-Ce0qtSdB.mjs → url-DUz3LbCs.mjs} +0 -0
|
@@ -1,13 +1,12 @@
|
|
|
1
|
-
import "../../../../d1-binding-
|
|
1
|
+
import "../../../../d1-binding-DrLMBUxu.mjs";
|
|
2
2
|
import "../../../../base64-Cz-aU0X1.mjs";
|
|
3
|
-
import "../../../../
|
|
4
|
-
import "../../../../
|
|
5
|
-
import "../../../../
|
|
6
|
-
import "../../../../
|
|
7
|
-
import "../../../../
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import { n as requirePerm } from "../../../../authorize-CXIjxIfC.mjs";
|
|
3
|
+
import "../../../../options-JiLWB6Bt.mjs";
|
|
4
|
+
import "../../../../runtime-env-CPTzh0mZ.mjs";
|
|
5
|
+
import "../../../../secrets-D_pergcD.mjs";
|
|
6
|
+
import "../../../../store-32e6dfD-.mjs";
|
|
7
|
+
import { n as handleIntegrationCredentialList } from "../../../../integration-credentials-DMEXZU2J.mjs";
|
|
8
|
+
import { a as unwrapResult, r as handleError, t as apiError } from "../../../../error-B5a45Tfb.mjs";
|
|
9
|
+
import { n as requirePerm } from "../../../../authorize-DDmgmnW-.mjs";
|
|
11
10
|
|
|
12
11
|
//#region src/astro/routes/api/integrations/index.ts
|
|
13
12
|
const prerender = false;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { t as OptionsRepository } from "../../../options-
|
|
2
|
-
import { n as VERSION, t as COMMIT } from "../../../version-
|
|
3
|
-
import { r as handleError } from "../../../error-
|
|
4
|
-
import { i as experimentalSiteContextWorkflowsEnabled } from "../../../experimental-workflows-
|
|
5
|
-
import { t as getAuthMode } from "../../../mode-
|
|
1
|
+
import { t as OptionsRepository } from "../../../options-JiLWB6Bt.mjs";
|
|
2
|
+
import { n as VERSION, t as COMMIT } from "../../../version-BnLdwIT1.mjs";
|
|
3
|
+
import { r as handleError } from "../../../error-B5a45Tfb.mjs";
|
|
4
|
+
import { i as experimentalSiteContextWorkflowsEnabled } from "../../../experimental-workflows-BbxpWwBy.mjs";
|
|
5
|
+
import { t as getAuthMode } from "../../../mode-D0gePRtf.mjs";
|
|
6
6
|
|
|
7
7
|
//#region src/astro/routes/api/manifest.ts
|
|
8
8
|
const prerender = false;
|
|
@@ -1,64 +1,63 @@
|
|
|
1
|
-
import "../../../d1-binding-
|
|
1
|
+
import "../../../d1-binding-DrLMBUxu.mjs";
|
|
2
2
|
import "../../../dialect-helpers-C6xtO-Ui.mjs";
|
|
3
3
|
import "../../../base64-Cz-aU0X1.mjs";
|
|
4
|
-
import "../../../types-
|
|
5
|
-
import "../../../loader-
|
|
4
|
+
import "../../../types-RFzE_V1M.mjs";
|
|
5
|
+
import "../../../loader-Dp6zLmQm.mjs";
|
|
6
6
|
import { i as resolveActorIdentity } from "../../../actor-DxUAJgQX.mjs";
|
|
7
7
|
import "../../../atomic-authority-CnBQJ14T.mjs";
|
|
8
|
-
import "../../../
|
|
9
|
-
import "../../../
|
|
10
|
-
import "../../../
|
|
11
|
-
import "../../../
|
|
12
|
-
import "../../../
|
|
13
|
-
import "../../../
|
|
14
|
-
import "../../../
|
|
15
|
-
import "../../../
|
|
16
|
-
import {
|
|
17
|
-
import { a as
|
|
18
|
-
import
|
|
19
|
-
import "../../../
|
|
20
|
-
import "../../../
|
|
21
|
-
import "../../../
|
|
22
|
-
import "../../../
|
|
23
|
-
import "../../../
|
|
24
|
-
import "../../../
|
|
25
|
-
import "../../../
|
|
26
|
-
import {
|
|
27
|
-
import { t as
|
|
28
|
-
import {
|
|
29
|
-
import
|
|
30
|
-
import "../../../
|
|
31
|
-
import { t as
|
|
32
|
-
import
|
|
33
|
-
import "../../../
|
|
34
|
-
import "../../../
|
|
35
|
-
import "../../../
|
|
36
|
-
import "../../../
|
|
37
|
-
import "../../../
|
|
38
|
-
import "../../../
|
|
39
|
-
import "../../../
|
|
40
|
-
import
|
|
41
|
-
import "../../../
|
|
42
|
-
import "../../../
|
|
43
|
-
import "../../../
|
|
44
|
-
import { t as
|
|
45
|
-
import {
|
|
46
|
-
import
|
|
47
|
-
import "../../../
|
|
48
|
-
import "../../../status-DBSB6tdS.mjs";
|
|
8
|
+
import "../../../object-cache-mxCW-Rpt.mjs";
|
|
9
|
+
import "../../../revision-W6FDfDqx.mjs";
|
|
10
|
+
import "../../../content-CIKsrvU9.mjs";
|
|
11
|
+
import "../../../media-C5ba8fvI.mjs";
|
|
12
|
+
import "../../../user-Btai9rl3.mjs";
|
|
13
|
+
import "../../../options-JiLWB6Bt.mjs";
|
|
14
|
+
import "../../../site-activity-DU0UPDji.mjs";
|
|
15
|
+
import { r as ReviewRequestRepository } from "../../../review-requests-CUVn0RBl.mjs";
|
|
16
|
+
import { a as HITL_REQUEST_STATUSES, i as HITL_REQUEST_PRIORITIES, o as HitlRequestRepository, t as PublicationAuthorizationError } from "../../../publication-authorization-B_HJSnzR.mjs";
|
|
17
|
+
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-Dic2jHuw.mjs";
|
|
18
|
+
import "../../../redirect-BQFa1THe.mjs";
|
|
19
|
+
import "../../../request-cache-8_ifFzVw.mjs";
|
|
20
|
+
import "../../../byline-registry-CJihchD1.mjs";
|
|
21
|
+
import "../../../field-defs-cache-aXUeXJdC.mjs";
|
|
22
|
+
import "../../../byline-TYk2kad6.mjs";
|
|
23
|
+
import "../../../review-payload-Bap86e75.mjs";
|
|
24
|
+
import "../../../seo-Bs_DUxJf.mjs";
|
|
25
|
+
import { r as submitAutomatedReview } from "../../../submission-DJmRejGR.mjs";
|
|
26
|
+
import { t as SITE_CONTEXT_TYPES } from "../../../context-types-CPWAJRs5.mjs";
|
|
27
|
+
import { d as ContextRepository, i as parseSiteBriefingScope, r as formatSiteBriefingText, t as SiteBriefingAssembler } from "../../../briefing-COw-WcYz.mjs";
|
|
28
|
+
import { n as DinewayToolsService, t as DinewayToolsError } from "../../../service-kQ5ljRzX.mjs";
|
|
29
|
+
import "../../../runs-BtaAiLTw.mjs";
|
|
30
|
+
import { t as readRuntimeEnv } from "../../../runtime-env-CPTzh0mZ.mjs";
|
|
31
|
+
import { t as DinewaySecretsError } from "../../../secrets-D_pergcD.mjs";
|
|
32
|
+
import "../../../content-refresh-BilzqcLt.mjs";
|
|
33
|
+
import "../../../ssrf-C9dyjU8O.mjs";
|
|
34
|
+
import "../../../fts-manager-BrPpYtK0.mjs";
|
|
35
|
+
import "../../../public-discovery-BGyhuD5U.mjs";
|
|
36
|
+
import "../../../registry-Dclv9iHv.mjs";
|
|
37
|
+
import "../../../settings-DsBzKeUQ.mjs";
|
|
38
|
+
import "../../../evidence-Vnp_fQbC.mjs";
|
|
39
|
+
import { n as VERSION } from "../../../version-BnLdwIT1.mjs";
|
|
40
|
+
import "../../../query-DLeahg3x.mjs";
|
|
41
|
+
import "../../../zod-generator-DkrWuID7.mjs";
|
|
42
|
+
import "../../../schema-CosVhHJt.mjs";
|
|
43
|
+
import { t as IntegrationCredentialStore } from "../../../store-32e6dfD-.mjs";
|
|
44
|
+
import { t as apiError } from "../../../error-B5a45Tfb.mjs";
|
|
45
|
+
import { Dn as contentBylineInputSchema, P as settingsUpdateBody, Tn as bylineUpdateBody, fn as contentSeoInput, xn as bylineCreateBody } from "../../../redirects-CVfxefrz.mjs";
|
|
46
|
+
import "../../../byline-fields-DZ46DF10.mjs";
|
|
47
|
+
import "../../../status-Bjf_uSrW.mjs";
|
|
49
48
|
import "../../../api/schemas/index.mjs";
|
|
50
|
-
import { i as hasScope$1 } from "../../../api-tokens-
|
|
51
|
-
import { r as registerPluginMcpRegistry, t as createReviewedPluginMcpCommandExecutor } from "../../../mcp-reviewed-executor-
|
|
52
|
-
import "../../../activity-
|
|
53
|
-
import { d as logSchemaActivity, o as logContentActivity, p as logSiteActivitySafely, r as contentMcpToolSource, t as activityChangedKeys, x as schemaMcpToolSource } from "../../../activity-events-
|
|
54
|
-
import "../../../utils-
|
|
55
|
-
import "../../../search-
|
|
56
|
-
import { n as prepareReviewerApproval } from "../../../worker-
|
|
57
|
-
import "../../../policy-
|
|
58
|
-
import { a as createForgewayAccountClient, c as normalizeForgewayApiUrl, d as refreshForgewayAccountCredentials, u as readStoredForgewayAccount } from "../../../forgeway-account-
|
|
59
|
-
import { n as convertDataForWrite, t as convertDataForRead } from "../../../portable-text-
|
|
60
|
-
import { t as createSiteIntegrationService } from "../../../service-
|
|
61
|
-
import { t as revokeReview } from "../../../revocation-
|
|
49
|
+
import { i as hasScope$1 } from "../../../api-tokens-0N3nafqZ.mjs";
|
|
50
|
+
import { r as registerPluginMcpRegistry, t as createReviewedPluginMcpCommandExecutor } from "../../../mcp-reviewed-executor-B8Gbin3T.mjs";
|
|
51
|
+
import "../../../activity-LXZdjKwI.mjs";
|
|
52
|
+
import { d as logSchemaActivity, o as logContentActivity, p as logSiteActivitySafely, r as contentMcpToolSource, t as activityChangedKeys, x as schemaMcpToolSource } from "../../../activity-events-DoqeOM8x.mjs";
|
|
53
|
+
import "../../../utils-CYxGuO_P.mjs";
|
|
54
|
+
import "../../../search-BI9uKr7U.mjs";
|
|
55
|
+
import { n as prepareReviewerApproval } from "../../../worker-Bg35R37I.mjs";
|
|
56
|
+
import "../../../policy-B6mVa7ib.mjs";
|
|
57
|
+
import { a as createForgewayAccountClient, c as normalizeForgewayApiUrl, d as refreshForgewayAccountCredentials, u as readStoredForgewayAccount } from "../../../forgeway-account-DcTxh3Gw.mjs";
|
|
58
|
+
import { n as convertDataForWrite, t as convertDataForRead } from "../../../portable-text-tQhvPLf1.mjs";
|
|
59
|
+
import { t as createSiteIntegrationService } from "../../../service-W2xuGLgw.mjs";
|
|
60
|
+
import { t as revokeReview } from "../../../revocation-C_ZQvGRT.mjs";
|
|
62
61
|
import { Role, canActOnOwn, hasPermission } from "@dineway-ai/auth";
|
|
63
62
|
import { z } from "zod";
|
|
64
63
|
import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js";
|
|
@@ -354,7 +353,7 @@ function getDineway(extra) {
|
|
|
354
353
|
}
|
|
355
354
|
async function getCollectionFields(dineway, collection) {
|
|
356
355
|
try {
|
|
357
|
-
const { SchemaRegistry } = await import("../../../schema-
|
|
356
|
+
const { SchemaRegistry } = await import("../../../schema-CosVhHJt.mjs").then((n) => n.t);
|
|
358
357
|
return (await new SchemaRegistry(dineway.db).getCollectionWithFields(collection))?.fields ?? null;
|
|
359
358
|
} catch {
|
|
360
359
|
return null;
|
|
@@ -371,7 +370,7 @@ async function applyReadMarkdown(dineway, collection, items) {
|
|
|
371
370
|
for (const item of items) if (item.data && typeof item.data === "object") item.data = convertDataForRead(item.data, fields, false);
|
|
372
371
|
}
|
|
373
372
|
async function invalidateBylines() {
|
|
374
|
-
const { invalidateBylineCache } = await import("../../../bylines-
|
|
373
|
+
const { invalidateBylineCache } = await import("../../../bylines-CvTSCAw9.mjs").then((n) => n.t);
|
|
375
374
|
invalidateBylineCache();
|
|
376
375
|
}
|
|
377
376
|
function canReadDrafts(extra) {
|
|
@@ -2435,7 +2434,7 @@ function createMcpServer(options = {}) {
|
|
|
2435
2434
|
requireRole(extra, Role.EDITOR);
|
|
2436
2435
|
const ec = getDineway(extra);
|
|
2437
2436
|
try {
|
|
2438
|
-
const { SchemaRegistry } = await import("../../../schema-
|
|
2437
|
+
const { SchemaRegistry } = await import("../../../schema-CosVhHJt.mjs").then((n) => n.t);
|
|
2439
2438
|
return jsonResult({ items: await new SchemaRegistry(ec.db).listCollections() });
|
|
2440
2439
|
} catch (error) {
|
|
2441
2440
|
return errorResult(error);
|
|
@@ -2451,7 +2450,7 @@ function createMcpServer(options = {}) {
|
|
|
2451
2450
|
requireRole(extra, Role.EDITOR);
|
|
2452
2451
|
const ec = getDineway(extra);
|
|
2453
2452
|
try {
|
|
2454
|
-
const { SchemaRegistry } = await import("../../../schema-
|
|
2453
|
+
const { SchemaRegistry } = await import("../../../schema-CosVhHJt.mjs").then((n) => n.t);
|
|
2455
2454
|
const collection = await new SchemaRegistry(ec.db).getCollectionWithFields(args.slug);
|
|
2456
2455
|
if (!collection) return errorResult(`Collection '${args.slug}' not found`);
|
|
2457
2456
|
return jsonResult(collection);
|
|
@@ -2481,7 +2480,7 @@ function createMcpServer(options = {}) {
|
|
|
2481
2480
|
requireRole(extra, Role.ADMIN);
|
|
2482
2481
|
const ec = getDineway(extra);
|
|
2483
2482
|
try {
|
|
2484
|
-
const { SchemaRegistry } = await import("../../../schema-
|
|
2483
|
+
const { SchemaRegistry } = await import("../../../schema-CosVhHJt.mjs").then((n) => n.t);
|
|
2485
2484
|
const collection = await new SchemaRegistry(ec.db).createCollection({
|
|
2486
2485
|
slug: args.slug,
|
|
2487
2486
|
label: args.label,
|
|
@@ -2545,7 +2544,7 @@ function createMcpServer(options = {}) {
|
|
|
2545
2544
|
request
|
|
2546
2545
|
});
|
|
2547
2546
|
}
|
|
2548
|
-
const { SchemaRegistry } = await import("../../../schema-
|
|
2547
|
+
const { SchemaRegistry } = await import("../../../schema-CosVhHJt.mjs").then((n) => n.t);
|
|
2549
2548
|
await new SchemaRegistry(ec.db).deleteCollection(args.slug, { force: args.force });
|
|
2550
2549
|
ec.invalidateManifest();
|
|
2551
2550
|
await logSchemaActivity(ec.db, locals, {
|
|
@@ -2609,7 +2608,7 @@ function createMcpServer(options = {}) {
|
|
|
2609
2608
|
requireRole(extra, Role.ADMIN);
|
|
2610
2609
|
const ec = getDineway(extra);
|
|
2611
2610
|
try {
|
|
2612
|
-
const { SchemaRegistry } = await import("../../../schema-
|
|
2611
|
+
const { SchemaRegistry } = await import("../../../schema-CosVhHJt.mjs").then((n) => n.t);
|
|
2613
2612
|
const field = await new SchemaRegistry(ec.db).createField(args.collection, {
|
|
2614
2613
|
slug: args.slug,
|
|
2615
2614
|
label: args.label,
|
|
@@ -2678,7 +2677,7 @@ function createMcpServer(options = {}) {
|
|
|
2678
2677
|
request
|
|
2679
2678
|
});
|
|
2680
2679
|
}
|
|
2681
|
-
const { SchemaRegistry } = await import("../../../schema-
|
|
2680
|
+
const { SchemaRegistry } = await import("../../../schema-CosVhHJt.mjs").then((n) => n.t);
|
|
2682
2681
|
await new SchemaRegistry(ec.db).deleteField(args.collection, args.fieldSlug);
|
|
2683
2682
|
ec.invalidateManifest();
|
|
2684
2683
|
await logSchemaActivity(ec.db, locals, {
|
|
@@ -2811,7 +2810,7 @@ function createMcpServer(options = {}) {
|
|
|
2811
2810
|
requireScope(extra, "content:read");
|
|
2812
2811
|
const ec = getDineway(extra);
|
|
2813
2812
|
try {
|
|
2814
|
-
const { searchWithDb } = await import("../../../search-
|
|
2813
|
+
const { searchWithDb } = await import("../../../search-BI9uKr7U.mjs").then((n) => n.t);
|
|
2815
2814
|
return jsonResult(await searchWithDb(ec.db, args.query, {
|
|
2816
2815
|
collections: args.collections,
|
|
2817
2816
|
locale: args.locale,
|
|
@@ -2837,7 +2836,7 @@ function createMcpServer(options = {}) {
|
|
|
2837
2836
|
requireScope(extra, "content:read");
|
|
2838
2837
|
const ec = getDineway(extra);
|
|
2839
2838
|
try {
|
|
2840
|
-
const { BylineRepository } = await import("../../../byline-
|
|
2839
|
+
const { BylineRepository } = await import("../../../byline-TYk2kad6.mjs").then((n) => n.n);
|
|
2841
2840
|
return jsonResult(await new BylineRepository(ec.db).findMany({
|
|
2842
2841
|
search: args.search,
|
|
2843
2842
|
isGuest: args.isGuest,
|
|
@@ -2859,7 +2858,7 @@ function createMcpServer(options = {}) {
|
|
|
2859
2858
|
requireScope(extra, "content:read");
|
|
2860
2859
|
const ec = getDineway(extra);
|
|
2861
2860
|
try {
|
|
2862
|
-
const { BylineRepository } = await import("../../../byline-
|
|
2861
|
+
const { BylineRepository } = await import("../../../byline-TYk2kad6.mjs").then((n) => n.n);
|
|
2863
2862
|
const byline = await new BylineRepository(ec.db).findById(args.id);
|
|
2864
2863
|
if (!byline) return errorResult(`Byline '${args.id}' not found`);
|
|
2865
2864
|
return jsonResult(byline);
|
|
@@ -2877,7 +2876,7 @@ function createMcpServer(options = {}) {
|
|
|
2877
2876
|
requireRole(extra, Role.EDITOR);
|
|
2878
2877
|
const ec = getDineway(extra);
|
|
2879
2878
|
try {
|
|
2880
|
-
const { handleBylineCreate } = await import("../../../bylines-
|
|
2879
|
+
const { handleBylineCreate } = await import("../../../bylines-6T9iVC9j.mjs").then((n) => n.t);
|
|
2881
2880
|
const result = await handleBylineCreate(ec.db, args);
|
|
2882
2881
|
if (result.success) await invalidateBylines();
|
|
2883
2882
|
return unwrap(result);
|
|
@@ -2897,7 +2896,7 @@ function createMcpServer(options = {}) {
|
|
|
2897
2896
|
requireRole(extra, Role.EDITOR);
|
|
2898
2897
|
const ec = getDineway(extra);
|
|
2899
2898
|
try {
|
|
2900
|
-
const { handleBylineUpdate } = await import("../../../bylines-
|
|
2899
|
+
const { handleBylineUpdate } = await import("../../../bylines-6T9iVC9j.mjs").then((n) => n.t);
|
|
2901
2900
|
const { id, ...input } = args;
|
|
2902
2901
|
const result = await handleBylineUpdate(ec.db, id, input);
|
|
2903
2902
|
if (result.success) await invalidateBylines();
|
|
@@ -2916,7 +2915,7 @@ function createMcpServer(options = {}) {
|
|
|
2916
2915
|
requireRole(extra, Role.EDITOR);
|
|
2917
2916
|
const ec = getDineway(extra);
|
|
2918
2917
|
try {
|
|
2919
|
-
const { BylineRepository } = await import("../../../byline-
|
|
2918
|
+
const { BylineRepository } = await import("../../../byline-TYk2kad6.mjs").then((n) => n.n);
|
|
2920
2919
|
if (!await new BylineRepository(ec.db).delete(args.id)) return errorResult(`Byline '${args.id}' not found`);
|
|
2921
2920
|
await invalidateBylines();
|
|
2922
2921
|
return jsonResult({ deleted: args.id });
|
|
@@ -2933,7 +2932,7 @@ function createMcpServer(options = {}) {
|
|
|
2933
2932
|
requireScope(extra, "content:read");
|
|
2934
2933
|
const ec = getDineway(extra);
|
|
2935
2934
|
try {
|
|
2936
|
-
const { handleBylineTranslations } = await import("../../../bylines-
|
|
2935
|
+
const { handleBylineTranslations } = await import("../../../bylines-6T9iVC9j.mjs").then((n) => n.t);
|
|
2937
2936
|
return unwrap(await handleBylineTranslations(ec.db, args.id));
|
|
2938
2937
|
} catch (error) {
|
|
2939
2938
|
return errorResult(error);
|
|
@@ -2948,7 +2947,7 @@ function createMcpServer(options = {}) {
|
|
|
2948
2947
|
requireScope(extra, "content:read");
|
|
2949
2948
|
const ec = getDineway(extra);
|
|
2950
2949
|
try {
|
|
2951
|
-
const { handleTaxonomyList } = await import("../../../taxonomies-
|
|
2950
|
+
const { handleTaxonomyList } = await import("../../../taxonomies-BFsUR7kc.mjs").then((n) => n.l);
|
|
2952
2951
|
return unwrap(await handleTaxonomyList(ec.db, { locale: args.locale }));
|
|
2953
2952
|
} catch (error) {
|
|
2954
2953
|
return errorResult(error);
|
|
@@ -2968,12 +2967,12 @@ function createMcpServer(options = {}) {
|
|
|
2968
2967
|
requireScope(extra, "content:read");
|
|
2969
2968
|
const ec = getDineway(extra);
|
|
2970
2969
|
try {
|
|
2971
|
-
const { handleTaxonomyList } = await import("../../../taxonomies-
|
|
2970
|
+
const { handleTaxonomyList } = await import("../../../taxonomies-BFsUR7kc.mjs").then((n) => n.l);
|
|
2972
2971
|
const listResult = await handleTaxonomyList(ec.db, { locale: args.locale });
|
|
2973
2972
|
if (!listResult.success) return unwrap(listResult);
|
|
2974
2973
|
if (!listResult.data.taxonomies.find((t) => t.name === args.taxonomy)) return errorResult(`Taxonomy '${args.taxonomy}' not found`);
|
|
2975
|
-
const { TaxonomyRepository } = await import("../../../taxonomy-
|
|
2976
|
-
const { decodeCursor, encodeCursor } = await import("../../../types-
|
|
2974
|
+
const { TaxonomyRepository } = await import("../../../taxonomy-DN6i1upz.mjs").then((n) => n.n);
|
|
2975
|
+
const { decodeCursor, encodeCursor } = await import("../../../types-RFzE_V1M.mjs").then((n) => n.a);
|
|
2977
2976
|
const repo = new TaxonomyRepository(ec.db);
|
|
2978
2977
|
const limit = Math.min(args.limit ?? 50, 100);
|
|
2979
2978
|
const terms = await repo.findByName(args.taxonomy, { locale: args.locale });
|
|
@@ -3022,7 +3021,7 @@ function createMcpServer(options = {}) {
|
|
|
3022
3021
|
requireRole(extra, Role.EDITOR);
|
|
3023
3022
|
const ec = getDineway(extra);
|
|
3024
3023
|
try {
|
|
3025
|
-
const { handleTermCreate } = await import("../../../taxonomies-
|
|
3024
|
+
const { handleTermCreate } = await import("../../../taxonomies-BFsUR7kc.mjs").then((n) => n.l);
|
|
3026
3025
|
return unwrap(await handleTermCreate(ec.db, args.taxonomy, {
|
|
3027
3026
|
slug: args.slug,
|
|
3028
3027
|
label: args.label,
|
|
@@ -3052,7 +3051,7 @@ function createMcpServer(options = {}) {
|
|
|
3052
3051
|
requireRole(extra, Role.EDITOR);
|
|
3053
3052
|
const ec = getDineway(extra);
|
|
3054
3053
|
try {
|
|
3055
|
-
const { handleTermUpdate } = await import("../../../taxonomies-
|
|
3054
|
+
const { handleTermUpdate } = await import("../../../taxonomies-BFsUR7kc.mjs").then((n) => n.l);
|
|
3056
3055
|
return unwrap(await handleTermUpdate(ec.db, args.taxonomy, args.termSlug, {
|
|
3057
3056
|
slug: args.slug,
|
|
3058
3057
|
label: args.label,
|
|
@@ -3077,7 +3076,7 @@ function createMcpServer(options = {}) {
|
|
|
3077
3076
|
requireRole(extra, Role.EDITOR);
|
|
3078
3077
|
const ec = getDineway(extra);
|
|
3079
3078
|
try {
|
|
3080
|
-
const { handleTermDelete } = await import("../../../taxonomies-
|
|
3079
|
+
const { handleTermDelete } = await import("../../../taxonomies-BFsUR7kc.mjs").then((n) => n.l);
|
|
3081
3080
|
return unwrap(await handleTermDelete(ec.db, args.taxonomy, args.termSlug, { locale: args.locale }));
|
|
3082
3081
|
} catch (error) {
|
|
3083
3082
|
return errorResult(error);
|
|
@@ -3092,7 +3091,7 @@ function createMcpServer(options = {}) {
|
|
|
3092
3091
|
requireScope(extra, "content:read");
|
|
3093
3092
|
const ec = getDineway(extra);
|
|
3094
3093
|
try {
|
|
3095
|
-
const { handleTermTranslations } = await import("../../../taxonomies-
|
|
3094
|
+
const { handleTermTranslations } = await import("../../../taxonomies-BFsUR7kc.mjs").then((n) => n.l);
|
|
3096
3095
|
return unwrap(await handleTermTranslations(ec.db, args.id));
|
|
3097
3096
|
} catch (error) {
|
|
3098
3097
|
return errorResult(error);
|
|
@@ -3107,7 +3106,7 @@ function createMcpServer(options = {}) {
|
|
|
3107
3106
|
requireScope(extra, "content:read");
|
|
3108
3107
|
const ec = getDineway(extra);
|
|
3109
3108
|
try {
|
|
3110
|
-
const { handleMenuList } = await import("../../../menus-
|
|
3109
|
+
const { handleMenuList } = await import("../../../menus-CyNpBQrX.mjs").then((n) => n.d);
|
|
3111
3110
|
return unwrap(await handleMenuList(ec.db, { locale: args.locale }));
|
|
3112
3111
|
} catch (error) {
|
|
3113
3112
|
return errorResult(error);
|
|
@@ -3125,7 +3124,7 @@ function createMcpServer(options = {}) {
|
|
|
3125
3124
|
requireScope(extra, "content:read");
|
|
3126
3125
|
const ec = getDineway(extra);
|
|
3127
3126
|
try {
|
|
3128
|
-
const { handleMenuGet } = await import("../../../menus-
|
|
3127
|
+
const { handleMenuGet } = await import("../../../menus-CyNpBQrX.mjs").then((n) => n.d);
|
|
3129
3128
|
return unwrap(await handleMenuGet(ec.db, args.name, { locale: args.locale }));
|
|
3130
3129
|
} catch (error) {
|
|
3131
3130
|
return errorResult(error);
|
|
@@ -3140,7 +3139,7 @@ function createMcpServer(options = {}) {
|
|
|
3140
3139
|
requireScope(extra, "content:read");
|
|
3141
3140
|
const ec = getDineway(extra);
|
|
3142
3141
|
try {
|
|
3143
|
-
const { handleMenuTranslations } = await import("../../../menus-
|
|
3142
|
+
const { handleMenuTranslations } = await import("../../../menus-CyNpBQrX.mjs").then((n) => n.d);
|
|
3144
3143
|
return unwrap(await handleMenuTranslations(ec.db, args.id));
|
|
3145
3144
|
} catch (error) {
|
|
3146
3145
|
return errorResult(error);
|
|
@@ -3160,7 +3159,7 @@ function createMcpServer(options = {}) {
|
|
|
3160
3159
|
requireRole(extra, Role.EDITOR);
|
|
3161
3160
|
const ec = getDineway(extra);
|
|
3162
3161
|
try {
|
|
3163
|
-
const { handleMenuCreate } = await import("../../../menus-
|
|
3162
|
+
const { handleMenuCreate } = await import("../../../menus-CyNpBQrX.mjs").then((n) => n.d);
|
|
3164
3163
|
return unwrap(await handleMenuCreate(ec.db, {
|
|
3165
3164
|
name: args.name,
|
|
3166
3165
|
label: args.label,
|
|
@@ -3184,7 +3183,7 @@ function createMcpServer(options = {}) {
|
|
|
3184
3183
|
requireRole(extra, Role.EDITOR);
|
|
3185
3184
|
const ec = getDineway(extra);
|
|
3186
3185
|
try {
|
|
3187
|
-
const { handleMenuUpdate } = await import("../../../menus-
|
|
3186
|
+
const { handleMenuUpdate } = await import("../../../menus-CyNpBQrX.mjs").then((n) => n.d);
|
|
3188
3187
|
return unwrap(await handleMenuUpdate(ec.db, args.name, {
|
|
3189
3188
|
label: args.label,
|
|
3190
3189
|
locale: args.locale
|
|
@@ -3206,7 +3205,7 @@ function createMcpServer(options = {}) {
|
|
|
3206
3205
|
requireRole(extra, Role.EDITOR);
|
|
3207
3206
|
const ec = getDineway(extra);
|
|
3208
3207
|
try {
|
|
3209
|
-
const { handleMenuDelete } = await import("../../../menus-
|
|
3208
|
+
const { handleMenuDelete } = await import("../../../menus-CyNpBQrX.mjs").then((n) => n.d);
|
|
3210
3209
|
return unwrap(await handleMenuDelete(ec.db, args.name, { locale: args.locale }));
|
|
3211
3210
|
} catch (error) {
|
|
3212
3211
|
return errorResult(error);
|
|
@@ -3241,7 +3240,7 @@ function createMcpServer(options = {}) {
|
|
|
3241
3240
|
requireRole(extra, Role.EDITOR);
|
|
3242
3241
|
const ec = getDineway(extra);
|
|
3243
3242
|
try {
|
|
3244
|
-
const { handleMenuSetItems } = await import("../../../menus-
|
|
3243
|
+
const { handleMenuSetItems } = await import("../../../menus-CyNpBQrX.mjs").then((n) => n.d);
|
|
3245
3244
|
return unwrap(await handleMenuSetItems(ec.db, args.name, args.items, { locale: args.locale }));
|
|
3246
3245
|
} catch (error) {
|
|
3247
3246
|
return errorResult(error);
|
|
@@ -3288,7 +3287,7 @@ function createMcpServer(options = {}) {
|
|
|
3288
3287
|
requireRole(extra, Role.ADMIN);
|
|
3289
3288
|
const ec = getDineway(extra);
|
|
3290
3289
|
try {
|
|
3291
|
-
const { handleSettingsGet } = await import("../../../settings-
|
|
3290
|
+
const { handleSettingsGet } = await import("../../../settings-CyJ2-MKx.mjs").then((n) => n.r);
|
|
3292
3291
|
return unwrap(await handleSettingsGet(ec.db, ec.storage));
|
|
3293
3292
|
} catch (error) {
|
|
3294
3293
|
return errorResult(error);
|
|
@@ -3325,7 +3324,7 @@ function createMcpServer(options = {}) {
|
|
|
3325
3324
|
request
|
|
3326
3325
|
});
|
|
3327
3326
|
}
|
|
3328
|
-
const { handleSettingsUpdate } = await import("../../../settings-
|
|
3327
|
+
const { handleSettingsUpdate } = await import("../../../settings-CyJ2-MKx.mjs").then((n) => n.r);
|
|
3329
3328
|
const result = await handleSettingsUpdate(ec.db, ec.storage, settingsInput);
|
|
3330
3329
|
if (!result.success) return unwrap(result);
|
|
3331
3330
|
await logSiteActivitySafely(ec.db, locals, {
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import "../../../../../base64-Cz-aU0X1.mjs";
|
|
2
|
-
import "../../../../../types-
|
|
3
|
-
import { t as MediaRepository } from "../../../../../media-
|
|
4
|
-
import { t as enrichImageMetadata } from "../../../../../enrich-
|
|
5
|
-
import "../../../../../context-types-
|
|
6
|
-
import "../../../../../public-discovery-
|
|
7
|
-
import { n as apiSuccess, r as handleError, t as apiError } from "../../../../../error-
|
|
8
|
-
import { r as parseOptionalBody, t as isParseError } from "../../../../../parse-
|
|
9
|
-
import { Bt as mediaConfirmBody } from "../../../../../redirects-
|
|
10
|
-
import "../../../../../byline-fields-
|
|
11
|
-
import "../../../../../status-
|
|
2
|
+
import "../../../../../types-RFzE_V1M.mjs";
|
|
3
|
+
import { t as MediaRepository } from "../../../../../media-C5ba8fvI.mjs";
|
|
4
|
+
import { t as enrichImageMetadata } from "../../../../../enrich-B7PIJ8Iy.mjs";
|
|
5
|
+
import "../../../../../context-types-CPWAJRs5.mjs";
|
|
6
|
+
import "../../../../../public-discovery-BGyhuD5U.mjs";
|
|
7
|
+
import { n as apiSuccess, r as handleError, t as apiError } from "../../../../../error-B5a45Tfb.mjs";
|
|
8
|
+
import { r as parseOptionalBody, t as isParseError } from "../../../../../parse-THHCpJLB.mjs";
|
|
9
|
+
import { Bt as mediaConfirmBody } from "../../../../../redirects-CVfxefrz.mjs";
|
|
10
|
+
import "../../../../../byline-fields-DZ46DF10.mjs";
|
|
11
|
+
import "../../../../../status-Bjf_uSrW.mjs";
|
|
12
12
|
import "../../../../../api/schemas/index.mjs";
|
|
13
|
-
import { n as requirePerm, t as requireOwnerPerm } from "../../../../../authorize-
|
|
13
|
+
import { n as requirePerm, t as requireOwnerPerm } from "../../../../../authorize-DDmgmnW-.mjs";
|
|
14
14
|
|
|
15
15
|
//#region src/astro/routes/api/media/[id]/confirm.ts
|
|
16
16
|
const prerender = false;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import "../../../../context-types-
|
|
2
|
-
import "../../../../public-discovery-
|
|
3
|
-
import { t as addInternalMediaUrl } from "../../../../url-
|
|
4
|
-
import { a as unwrapResult, n as apiSuccess, r as handleError, t as apiError } from "../../../../error-
|
|
5
|
-
import { n as parseBody, t as isParseError } from "../../../../parse-
|
|
6
|
-
import { Jt as mediaUpdateBody } from "../../../../redirects-
|
|
7
|
-
import "../../../../byline-fields-
|
|
8
|
-
import "../../../../status-
|
|
1
|
+
import "../../../../context-types-CPWAJRs5.mjs";
|
|
2
|
+
import "../../../../public-discovery-BGyhuD5U.mjs";
|
|
3
|
+
import { t as addInternalMediaUrl } from "../../../../url-DUz3LbCs.mjs";
|
|
4
|
+
import { a as unwrapResult, n as apiSuccess, r as handleError, t as apiError } from "../../../../error-B5a45Tfb.mjs";
|
|
5
|
+
import { n as parseBody, t as isParseError } from "../../../../parse-THHCpJLB.mjs";
|
|
6
|
+
import { Jt as mediaUpdateBody } from "../../../../redirects-CVfxefrz.mjs";
|
|
7
|
+
import "../../../../byline-fields-DZ46DF10.mjs";
|
|
8
|
+
import "../../../../status-Bjf_uSrW.mjs";
|
|
9
9
|
import "../../../../api/schemas/index.mjs";
|
|
10
|
-
import { n as requirePerm, t as requireOwnerPerm } from "../../../../authorize-
|
|
10
|
+
import { n as requirePerm, t as requireOwnerPerm } from "../../../../authorize-DDmgmnW-.mjs";
|
|
11
11
|
|
|
12
12
|
//#region src/astro/routes/api/media/[id].ts
|
|
13
13
|
const prerender = false;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as apiSuccess, r as handleError, t as apiError } from "../../../../../../error-
|
|
2
|
-
import { n as requirePerm } from "../../../../../../authorize-
|
|
1
|
+
import { n as apiSuccess, r as handleError, t as apiError } from "../../../../../../error-B5a45Tfb.mjs";
|
|
2
|
+
import { n as requirePerm } from "../../../../../../authorize-DDmgmnW-.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-B5a45Tfb.mjs";
|
|
2
|
+
import { n as requirePerm } from "../../../../../../authorize-DDmgmnW-.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-B5a45Tfb.mjs";
|
|
2
|
+
import { n as requirePerm } from "../../../../../authorize-DDmgmnW-.mjs";
|
|
3
3
|
|
|
4
4
|
//#region src/astro/routes/api/media/providers/index.ts
|
|
5
5
|
const prerender = false;
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import "../../../../base64-Cz-aU0X1.mjs";
|
|
2
|
-
import "../../../../types-
|
|
3
|
-
import { t as MediaRepository } from "../../../../media-
|
|
4
|
-
import { n as normalizeMime, t as matchesMimeAllowlist } from "../../../../mime-
|
|
5
|
-
import "../../../../context-types-
|
|
6
|
-
import "../../../../public-discovery-
|
|
7
|
-
import { n as apiSuccess, r as handleError, t as apiError } from "../../../../error-
|
|
8
|
-
import { n as parseBody, t as isParseError } from "../../../../parse-
|
|
9
|
-
import { Rt as DEFAULT_MAX_UPLOAD_SIZE, Yt as mediaUploadUrlBody } from "../../../../redirects-
|
|
10
|
-
import "../../../../byline-fields-
|
|
11
|
-
import "../../../../status-
|
|
2
|
+
import "../../../../types-RFzE_V1M.mjs";
|
|
3
|
+
import { t as MediaRepository } from "../../../../media-C5ba8fvI.mjs";
|
|
4
|
+
import { n as normalizeMime, t as matchesMimeAllowlist } from "../../../../mime-BnVhH671.mjs";
|
|
5
|
+
import "../../../../context-types-CPWAJRs5.mjs";
|
|
6
|
+
import "../../../../public-discovery-BGyhuD5U.mjs";
|
|
7
|
+
import { n as apiSuccess, r as handleError, t as apiError } from "../../../../error-B5a45Tfb.mjs";
|
|
8
|
+
import { n as parseBody, t as isParseError } from "../../../../parse-THHCpJLB.mjs";
|
|
9
|
+
import { Rt as DEFAULT_MAX_UPLOAD_SIZE, Yt as mediaUploadUrlBody } from "../../../../redirects-CVfxefrz.mjs";
|
|
10
|
+
import "../../../../byline-fields-DZ46DF10.mjs";
|
|
11
|
+
import "../../../../status-Bjf_uSrW.mjs";
|
|
12
12
|
import "../../../../api/schemas/index.mjs";
|
|
13
|
-
import { n as requirePerm } from "../../../../authorize-
|
|
14
|
-
import { n as resolveFieldAllowlist, t as GLOBAL_UPLOAD_ALLOWLIST } from "../../../../media-allowlist-
|
|
13
|
+
import { n as requirePerm } from "../../../../authorize-DDmgmnW-.mjs";
|
|
14
|
+
import { n as resolveFieldAllowlist, t as GLOBAL_UPLOAD_ALLOWLIST } from "../../../../media-allowlist-DQvscVkS.mjs";
|
|
15
15
|
import { ulid } from "ulidx";
|
|
16
16
|
import * as path from "node:path";
|
|
17
17
|
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import "../../../base64-Cz-aU0X1.mjs";
|
|
2
|
-
import "../../../types-
|
|
3
|
-
import { t as MediaRepository } from "../../../media-
|
|
4
|
-
import { n as normalizeMime, t as matchesMimeAllowlist } from "../../../mime-
|
|
5
|
-
import { t as enrichImageMetadata } from "../../../enrich-
|
|
6
|
-
import "../../../context-types-
|
|
7
|
-
import { t as computeContentHash } from "../../../hash-
|
|
8
|
-
import "../../../public-discovery-
|
|
9
|
-
import { t as addInternalMediaUrl } from "../../../url-
|
|
10
|
-
import { a as unwrapResult, n as apiSuccess, r as handleError, t as apiError } from "../../../error-
|
|
11
|
-
import { i as parseQuery, t as isParseError } from "../../../parse-
|
|
12
|
-
import { Rt as DEFAULT_MAX_UPLOAD_SIZE, Wt as mediaListQuery, zt as formatFileSize } from "../../../redirects-
|
|
13
|
-
import "../../../byline-fields-
|
|
14
|
-
import "../../../status-
|
|
2
|
+
import "../../../types-RFzE_V1M.mjs";
|
|
3
|
+
import { t as MediaRepository } from "../../../media-C5ba8fvI.mjs";
|
|
4
|
+
import { n as normalizeMime, t as matchesMimeAllowlist } from "../../../mime-BnVhH671.mjs";
|
|
5
|
+
import { t as enrichImageMetadata } from "../../../enrich-B7PIJ8Iy.mjs";
|
|
6
|
+
import "../../../context-types-CPWAJRs5.mjs";
|
|
7
|
+
import { t as computeContentHash } from "../../../hash-D2Rqd2J2.mjs";
|
|
8
|
+
import "../../../public-discovery-BGyhuD5U.mjs";
|
|
9
|
+
import { t as addInternalMediaUrl } from "../../../url-DUz3LbCs.mjs";
|
|
10
|
+
import { a as unwrapResult, n as apiSuccess, r as handleError, t as apiError } from "../../../error-B5a45Tfb.mjs";
|
|
11
|
+
import { i as parseQuery, t as isParseError } from "../../../parse-THHCpJLB.mjs";
|
|
12
|
+
import { Rt as DEFAULT_MAX_UPLOAD_SIZE, Wt as mediaListQuery, zt as formatFileSize } from "../../../redirects-CVfxefrz.mjs";
|
|
13
|
+
import "../../../byline-fields-DZ46DF10.mjs";
|
|
14
|
+
import "../../../status-Bjf_uSrW.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-DDmgmnW-.mjs";
|
|
17
|
+
import { n as resolveFieldAllowlist, t as GLOBAL_UPLOAD_ALLOWLIST } from "../../../media-allowlist-DQvscVkS.mjs";
|
|
18
18
|
import { ulid } from "ulidx";
|
|
19
19
|
import * as path from "node:path";
|
|
20
20
|
|