dineway 0.2.33 → 0.2.34
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-CfryM8jO.mjs → activity-CZnq5YlZ.mjs} +2 -2
- package/dist/{activity-events-BVo9rMUz.mjs → activity-events-D-yGV7cW.mjs} +1 -1
- package/dist/{actor-DrJJsvy6.mjs → actor-DxUAJgQX.mjs} +20 -6
- package/dist/{adapters-DHt3f2lu.d.mts → adapters-BQ8CQbBm.d.mts} +5 -7
- package/dist/after-BVaUn7bK.mjs +24 -0
- package/dist/{allowed-origins-DGSyhRCz.mjs → allowed-origins-DV3LWuWW.mjs} +1 -1
- package/dist/api/route-utils.d.mts +10 -10
- package/dist/api/route-utils.mjs +23 -19
- package/dist/api/schemas/index.d.mts +1 -1
- package/dist/api/schemas/index.mjs +5 -5
- package/dist/{api-CTf1SLmg.mjs → api-CL4pG2zf.mjs} +55 -1215
- package/dist/api-tokens-D5K_Csub.mjs +3 -0
- package/dist/{api-tokens-CSomx-l3.mjs → api-tokens-_6tMD1W4.mjs} +1 -1
- package/dist/{apply-Bs2jXsms.mjs → apply-CYLUMiZg.mjs} +109 -93
- package/dist/astro/index.d.mts +16 -12
- package/dist/astro/index.mjs +50 -9
- package/dist/astro/middleware/auth.d.mts +9 -9
- package/dist/astro/middleware/auth.mjs +29 -8
- package/dist/astro/middleware/redirect.mjs +8 -7
- package/dist/astro/middleware/request-context.mjs +17 -10
- package/dist/astro/middleware/seed.d.mts +1 -1
- package/dist/astro/middleware/seed.mjs +93 -71
- package/dist/astro/middleware/setup.mjs +1 -1
- package/dist/astro/middleware/workers.d.mts +6 -0
- package/dist/astro/middleware/workers.mjs +8 -0
- package/dist/astro/middleware.mjs +288 -159
- 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 +7 -7
- package/dist/astro/routes/api/admin/briefing.mjs +25 -23
- package/dist/astro/routes/api/admin/byline-fields/_slug_/usage.mjs +5 -4
- package/dist/astro/routes/api/admin/byline-fields/_slug_.mjs +11 -10
- package/dist/astro/routes/api/admin/byline-fields/index.mjs +11 -10
- package/dist/astro/routes/api/admin/byline-fields/reorder.mjs +11 -10
- package/dist/astro/routes/api/admin/bylines/_id_/index.mjs +22 -20
- package/dist/astro/routes/api/admin/bylines/_id_/translations.mjs +22 -20
- package/dist/astro/routes/api/admin/bylines/index.mjs +22 -20
- package/dist/astro/routes/api/admin/comments/_id_/status.mjs +17 -16
- package/dist/astro/routes/api/admin/comments/_id_.mjs +8 -7
- package/dist/astro/routes/api/admin/comments/bulk.mjs +14 -13
- package/dist/astro/routes/api/admin/comments/counts.mjs +8 -7
- package/dist/astro/routes/api/admin/comments/index.mjs +14 -13
- package/dist/astro/routes/api/admin/context/_id_/history.mjs +43 -31
- package/dist/astro/routes/api/admin/context/_id_/index.mjs +43 -31
- package/dist/astro/routes/api/admin/context/_id_/review.mjs +48 -36
- package/dist/astro/routes/api/admin/context/_id_/supersede.mjs +48 -36
- package/dist/astro/routes/api/admin/context/diff.mjs +47 -35
- package/dist/astro/routes/api/admin/context/index.mjs +48 -36
- package/dist/astro/routes/api/admin/context/stale.mjs +47 -35
- package/dist/astro/routes/api/admin/hitl-requests/_id_/index.mjs +43 -31
- package/dist/astro/routes/api/admin/hitl-requests/_id_/resolve.mjs +47 -35
- package/dist/astro/routes/api/admin/hitl-requests/index.mjs +47 -35
- package/dist/astro/routes/api/admin/hooks/exclusive/_hookName_.mjs +44 -32
- package/dist/astro/routes/api/admin/hooks/exclusive/index.mjs +3 -3
- package/dist/astro/routes/api/admin/oauth-clients/_id_.mjs +7 -7
- package/dist/astro/routes/api/admin/oauth-clients/index.mjs +7 -7
- package/dist/astro/routes/api/admin/plugins/_id_/disable.mjs +72 -66
- package/dist/astro/routes/api/admin/plugins/_id_/enable.mjs +72 -66
- package/dist/astro/routes/api/admin/plugins/_id_/index.mjs +64 -58
- package/dist/astro/routes/api/admin/plugins/_id_/uninstall.mjs +71 -65
- package/dist/astro/routes/api/admin/plugins/_id_/update.mjs +71 -65
- package/dist/astro/routes/api/admin/plugins/index.mjs +64 -58
- package/dist/astro/routes/api/admin/plugins/marketplace/_id_/icon.mjs +2 -2
- package/dist/astro/routes/api/admin/plugins/marketplace/_id_/index.mjs +64 -58
- package/dist/astro/routes/api/admin/plugins/marketplace/_id_/install.mjs +71 -65
- package/dist/astro/routes/api/admin/plugins/marketplace/index.mjs +64 -58
- package/dist/astro/routes/api/admin/plugins/updates.mjs +64 -58
- package/dist/astro/routes/api/admin/review-requests/_id_/image.mjs +26 -23
- package/dist/astro/routes/api/admin/review-requests/_id_/index.mjs +33 -25
- package/dist/astro/routes/api/admin/review-requests/_id_/resolve.mjs +56 -43
- package/dist/astro/routes/api/admin/review-requests/_id_/revoke.mjs +10 -9
- package/dist/astro/routes/api/admin/review-requests/index.mjs +54 -41
- package/dist/astro/routes/api/admin/themes/marketplace/_id_/index.mjs +64 -58
- package/dist/astro/routes/api/admin/themes/marketplace/_id_/thumbnail.mjs +2 -2
- package/dist/astro/routes/api/admin/themes/marketplace/index.mjs +64 -58
- package/dist/astro/routes/api/admin/users/_id_/disable.mjs +20 -12
- package/dist/astro/routes/api/admin/users/_id_/enable.mjs +1 -1
- package/dist/astro/routes/api/admin/users/_id_/index.mjs +40 -32
- 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 +6 -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 -11
- package/dist/astro/routes/api/auth/magic-link/verify.mjs +2 -2
- package/dist/astro/routes/api/auth/me.mjs +11 -11
- package/dist/astro/routes/api/auth/mode.mjs +1 -1
- package/dist/astro/routes/api/auth/oauth/_provider_/callback.mjs +5 -4
- package/dist/astro/routes/api/auth/oauth/_provider_.mjs +5 -4
- 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 -13
- package/dist/astro/routes/api/auth/passkey/register/options.mjs +11 -11
- package/dist/astro/routes/api/auth/passkey/register/verify.mjs +12 -12
- package/dist/astro/routes/api/auth/passkey/verify.mjs +12 -12
- package/dist/astro/routes/api/auth/setup-token/index.mjs +32 -23
- package/dist/astro/routes/api/auth/setup-token/verify.mjs +32 -26
- package/dist/astro/routes/api/auth/signup/complete.mjs +12 -12
- package/dist/astro/routes/api/auth/signup/request.mjs +12 -11
- package/dist/astro/routes/api/auth/signup/verify.mjs +1 -1
- package/dist/astro/routes/api/comments/_collection_/_contentId_/index.mjs +21 -18
- package/dist/astro/routes/api/comments/_collection_/_contentId_/reactions.mjs +19 -16
- package/dist/astro/routes/api/content/_collection_/_id_/compare.mjs +2 -2
- package/dist/astro/routes/api/content/_collection_/_id_/discard-draft.mjs +8 -7
- package/dist/astro/routes/api/content/_collection_/_id_/duplicate.mjs +8 -7
- package/dist/astro/routes/api/content/_collection_/_id_/permanent.mjs +8 -7
- package/dist/astro/routes/api/content/_collection_/_id_/preview-url.mjs +24 -21
- package/dist/astro/routes/api/content/_collection_/_id_/publish.mjs +35 -22
- package/dist/astro/routes/api/content/_collection_/_id_/release-readiness.mjs +9 -9
- package/dist/astro/routes/api/content/_collection_/_id_/restore.mjs +8 -7
- package/dist/astro/routes/api/content/_collection_/_id_/revisions.mjs +2 -2
- package/dist/astro/routes/api/content/_collection_/_id_/schedule.mjs +35 -22
- package/dist/astro/routes/api/content/_collection_/_id_/terms/_taxonomy_.mjs +23 -19
- package/dist/astro/routes/api/content/_collection_/_id_/translations.mjs +2 -2
- package/dist/astro/routes/api/content/_collection_/_id_/unpublish.mjs +8 -7
- package/dist/astro/routes/api/content/_collection_/_id_.mjs +14 -13
- package/dist/astro/routes/api/content/_collection_/authors.mjs +2 -2
- package/dist/astro/routes/api/content/_collection_/index.mjs +14 -13
- package/dist/astro/routes/api/content/_collection_/trash.mjs +8 -8
- package/dist/astro/routes/api/dashboard.mjs +16 -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 +25 -24
- package/dist/astro/routes/api/import/wordpress/analyze.mjs +12 -11
- package/dist/astro/routes/api/import/wordpress/execute.d.mts +9 -9
- package/dist/astro/routes/api/import/wordpress/execute.mjs +51 -42
- package/dist/astro/routes/api/import/wordpress/media.d.mts +9 -9
- package/dist/astro/routes/api/import/wordpress/media.mjs +14 -14
- package/dist/astro/routes/api/import/wordpress/prepare.mjs +52 -40
- package/dist/astro/routes/api/import/wordpress/rewrite-urls.d.mts +10 -10
- package/dist/astro/routes/api/import/wordpress/rewrite-urls.mjs +50 -38
- package/dist/astro/routes/api/import/wordpress-plugin/analyze.d.mts +1 -1
- package/dist/astro/routes/api/import/wordpress-plugin/analyze.mjs +29 -27
- package/dist/astro/routes/api/import/wordpress-plugin/callback.mjs +1 -1
- package/dist/astro/routes/api/import/wordpress-plugin/execute.d.mts +9 -9
- package/dist/astro/routes/api/import/wordpress-plugin/execute.mjs +56 -47
- package/dist/astro/routes/api/integration/artifact.mjs +11 -8
- package/dist/astro/routes/api/integration/dispatch.mjs +17 -14
- package/dist/astro/routes/api/integrations/_provider_.mjs +11 -8
- package/dist/astro/routes/api/integrations/index.mjs +10 -7
- package/dist/astro/routes/api/manifest.mjs +5 -5
- package/dist/astro/routes/api/mcp.mjs +98 -88
- package/dist/astro/routes/api/media/_id_/confirm.mjs +12 -12
- 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 +13 -13
- package/dist/astro/routes/api/media.mjs +16 -16
- package/dist/astro/routes/api/menus/_name_/items/_id_.mjs +48 -36
- package/dist/astro/routes/api/menus/_name_/items.mjs +48 -36
- package/dist/astro/routes/api/menus/_name_/reorder.mjs +48 -36
- package/dist/astro/routes/api/menus/_name_/translations.mjs +48 -36
- package/dist/astro/routes/api/menus/_name_.mjs +48 -36
- package/dist/astro/routes/api/menus/index.mjs +48 -36
- package/dist/astro/routes/api/oauth/authorize.mjs +9 -7
- package/dist/astro/routes/api/oauth/device/authorize.mjs +7 -6
- package/dist/astro/routes/api/oauth/device/code.mjs +11 -9
- package/dist/astro/routes/api/oauth/device/token.mjs +10 -8
- package/dist/astro/routes/api/oauth/register.mjs +4 -4
- package/dist/astro/routes/api/oauth/token/refresh.mjs +7 -6
- package/dist/astro/routes/api/oauth/token/revoke.mjs +7 -6
- package/dist/astro/routes/api/oauth/token.mjs +8 -6
- package/dist/astro/routes/api/openapi.json.mjs +5 -5
- package/dist/astro/routes/api/plugins/_pluginId_/_...path_.mjs +4 -4
- package/dist/astro/routes/api/redirects/404s/index.mjs +15 -14
- package/dist/astro/routes/api/redirects/404s/summary.mjs +15 -14
- package/dist/astro/routes/api/redirects/_id_.mjs +48 -37
- package/dist/astro/routes/api/redirects/index.mjs +48 -37
- 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 +66 -60
- package/dist/astro/routes/api/schema/collections/_slug_/fields/index.mjs +66 -60
- package/dist/astro/routes/api/schema/collections/_slug_/fields/reorder.mjs +66 -60
- package/dist/astro/routes/api/schema/collections/_slug_/index.mjs +66 -60
- package/dist/astro/routes/api/schema/collections/index.mjs +66 -60
- package/dist/astro/routes/api/schema/index.mjs +12 -11
- package/dist/astro/routes/api/schema/orphans/_slug_.mjs +64 -58
- package/dist/astro/routes/api/schema/orphans/index.mjs +64 -58
- package/dist/astro/routes/api/search/enable.mjs +15 -14
- package/dist/astro/routes/api/search/index.mjs +14 -13
- package/dist/astro/routes/api/search/rebuild.mjs +15 -14
- package/dist/astro/routes/api/search/stats.mjs +9 -8
- package/dist/astro/routes/api/search/suggest.mjs +14 -13
- package/dist/astro/routes/api/sections/_slug_.mjs +48 -36
- package/dist/astro/routes/api/sections/index.mjs +48 -36
- package/dist/astro/routes/api/settings/email.mjs +5 -5
- package/dist/astro/routes/api/settings/reviews.mjs +11 -10
- package/dist/astro/routes/api/settings.mjs +48 -36
- 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 +35 -31
- package/dist/astro/routes/api/setup/dev-reset.mjs +2 -2
- package/dist/astro/routes/api/setup/index.mjs +37 -33
- package/dist/astro/routes/api/setup/status.mjs +3 -3
- package/dist/astro/routes/api/snapshot.mjs +11 -9
- package/dist/astro/routes/api/system/heartbeat.mjs +2 -2
- package/dist/astro/routes/api/taxonomies/_name_/terms/_slug_/translations.mjs +51 -39
- package/dist/astro/routes/api/taxonomies/_name_/terms/_slug_.mjs +51 -39
- package/dist/astro/routes/api/taxonomies/_name_/terms/index.mjs +51 -39
- package/dist/astro/routes/api/taxonomies/index.mjs +51 -39
- package/dist/astro/routes/api/themes/preview.mjs +8 -6
- 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 +47 -35
- package/dist/astro/routes/api/widget-areas/_name_/widgets/_id_.mjs +48 -36
- package/dist/astro/routes/api/widget-areas/_name_/widgets.mjs +48 -36
- package/dist/astro/routes/api/widget-areas/_name_.mjs +45 -33
- package/dist/astro/routes/api/widget-areas/index.mjs +48 -36
- package/dist/astro/routes/api/widget-components.mjs +2 -2
- package/dist/astro/routes/robots.txt.mjs +11 -10
- package/dist/astro/routes/sitemap-_collection_.xml.mjs +20 -18
- package/dist/astro/routes/sitemap.xml.mjs +19 -17
- package/dist/astro/session-driver.d.mts +1 -1
- package/dist/astro/session-driver.mjs +4 -4
- package/dist/astro/types.d.mts +13 -13
- package/dist/atomic-authority-CnBQJ14T.mjs +33 -0
- package/dist/{audit-CYjfxG9i.mjs → audit-F5iWkbcJ.mjs} +11 -4
- package/dist/auth/providers/github.d.mts +1 -1
- package/dist/auth/providers/google.d.mts +1 -1
- package/dist/{auth-control-guard-CITT8ZA_.mjs → auth-control-guard-D4WW-wFF.mjs} +1 -1
- package/dist/{authorize-KcI0pAfN.mjs → authorize-EnP57AQl.mjs} +1 -1
- package/dist/{briefing-r3hXCDQC.mjs → briefing-BXsVwd4P.mjs} +1 -1
- package/dist/{briefing-BgQTljQt.mjs → briefing-CkCi6S-W.mjs} +445 -447
- package/dist/{bundle-S6zx-V4D.mjs → bundle-Cgak1zGE.mjs} +3 -3
- package/dist/{byline-Ctil4rij.mjs → byline-DEZKlzD9.mjs} +107 -113
- package/dist/{byline-fields-QpmruT5r.mjs → byline-fields-BGEIA9dZ.mjs} +3 -3
- package/dist/{byline-fields-51ja6JDa.d.mts → byline-fields-BmkhEDFF.d.mts} +10 -10
- package/dist/{byline-fields-DiCyW6eQ.mjs → byline-fields-Qg8TesxL.mjs} +1 -1
- package/dist/{byline-registry-rkr73qSE.mjs → byline-registry-CkuVVeJJ.mjs} +46 -76
- package/dist/{bylines-BcuBpzVi.mjs → bylines-7BQxRGyG.mjs} +4 -4
- package/dist/{bylines-v_ZUQnR-.mjs → bylines-LqNRjma2.mjs} +6 -6
- package/dist/{cache-V2BCplaY.mjs → cache-CSTy-R-K.mjs} +2 -2
- package/dist/{chunks-CnuL55JE.mjs → chunks-BnG3LPMN.mjs} +1 -1
- package/dist/cli/index.mjs +452 -263
- package/dist/cli/plugin-kit.d.mts +9 -9
- package/dist/cli/plugin-kit.mjs +2 -2
- package/dist/client/external-auth-headers.d.mts +1 -1
- package/dist/client/index.d.mts +11 -11
- package/dist/client/index.mjs +2 -2
- package/dist/{client-factory-C-y9VZDX.mjs → client-factory-BLSkgsTg.mjs} +1 -1
- package/dist/{comment-_nvJSS-A.mjs → comment-Bi7cJ9SS.mjs} +2 -2
- package/dist/{comment-reaction-DhVgJ17S.mjs → comment-reaction-BLqIj5mx.mjs} +1 -1
- package/dist/{comments-D4mIDjvA.mjs → comments-Dg_gWBEB.mjs} +1 -1
- package/dist/content-De_XeXy_.mjs +1230 -0
- package/dist/{content-CVCrcuvD.mjs → content-NobcQti0.mjs} +240 -161
- package/dist/{content-refresh-QvBIyb_g.mjs → content-refresh-l4mPoGeX.mjs} +170 -193
- package/dist/{context-MftkHbWx.mjs → context-6uqzU-M9.mjs} +95 -77
- package/dist/{context-JjKucxBm.mjs → context-B0SG9Xkc.mjs} +2 -2
- package/dist/{context-route-helpers-e1APrqSm.mjs → context-route-helpers-C8s26uDT.mjs} +2 -2
- package/dist/{cron-mGVPQ5e6.mjs → cron-D7zB6m8i.mjs} +36 -32
- package/dist/d1-binding-D6HZa3ks.mjs +8 -0
- package/dist/d1-dialect-B1b8cmxX.mjs +48 -0
- package/dist/{dashboard-ZJ7sMcBI.mjs → dashboard-B-OybCMw.mjs} +5 -5
- package/dist/database/batch.d.mts +20 -0
- package/dist/database/batch.mjs +69 -0
- package/dist/database/d1/index.d.mts +18 -0
- package/dist/database/d1/index.mjs +8 -0
- package/dist/db/d1.d.mts +7 -0
- package/dist/db/d1.mjs +13 -0
- package/dist/db/index.d.mts +4 -4
- package/dist/db/index.mjs +10 -7
- package/dist/db/libsql.d.mts +1 -1
- package/dist/db/libsql.mjs +46 -3
- package/dist/db/postgres.d.mts +1 -1
- package/dist/db/sqlite.d.mts +1 -1
- package/dist/{device-flow-eOcL5m0Q.mjs → device-flow-DhpCzMo0.mjs} +130 -94
- package/dist/{dialect-helpers-fk43GbDb.mjs → dialect-helpers-C6xtO-Ui.mjs} +1 -1
- package/dist/{discovery-CJkuHGhZ.mjs → discovery-CqXbN0WZ.mjs} +5 -5
- package/dist/{enrich-KErvJOuI.mjs → enrich-BjF-J4sF.mjs} +1 -1
- package/dist/{evidence-6IUv9ML3.mjs → evidence-xJf8hQgH.mjs} +7 -7
- package/dist/{field-defs-cache-CwrIyZFT.mjs → field-defs-cache-BKKFFf_V.mjs} +5 -5
- package/dist/{forgeway-account-lYJ8iX3G.mjs → forgeway-account-BeKJlKh1.mjs} +1 -1
- package/dist/{fts-manager-DX7ZkrCa.mjs → fts-manager-BeWtB7ZD.mjs} +72 -57
- package/dist/{hitl-requests-CmYVunm-.mjs → hitl-requests-evSsel48.mjs} +2 -2
- package/dist/{hitl-route-helpers-CRm537zS.mjs → hitl-route-helpers-D2kJSOFX.mjs} +5 -5
- package/dist/{import-DqRAgsKr.mjs → import-Jpta-CYE.mjs} +9 -9
- package/dist/{index-Co7xtjkd.d.mts → index-CSUSBfdD.d.mts} +7 -4
- package/dist/index.d.mts +16 -16
- package/dist/index.mjs +104 -96
- package/dist/{integration-credentials-qudN6yRr.mjs → integration-credentials-BrQr0fb_.mjs} +2 -2
- package/dist/{jsonld-BpvnSp2m.d.mts → jsonld-CqIVIeZK.d.mts} +2 -2
- package/dist/{load-fCOciq0Q.mjs → load-Dc5ttyg4.mjs} +1 -1
- package/dist/{loader-BDje8ME2.mjs → loader-Cgsx23wU.mjs} +4 -4
- package/dist/{manifest-schema-CfKD0thC.mjs → manifest-schema-DG29meRy.mjs} +1 -1
- package/dist/{mcp-reviewed-executor-DmhM3Cy6.mjs → mcp-reviewed-executor-DAZL3Ckt.mjs} +7 -7
- package/dist/media/image-endpoint.mjs +1 -1
- package/dist/media/index.d.mts +1 -1
- package/dist/media/index.mjs +2 -2
- package/dist/media/local-runtime.d.mts +11 -11
- package/dist/media/local-runtime.mjs +3 -3
- package/dist/{media-dvRjj4po.mjs → media-3fK0u-bo.mjs} +1 -1
- package/dist/{media-allowlist-DaG6lNoy.mjs → media-allowlist-rN4qIF6W.mjs} +1 -1
- package/dist/{menus-CpuR4Qkm.mjs → menus-5liJusbp.mjs} +138 -90
- package/dist/{menus-CZbz5L_V.mjs → menus-CbR_J8cJ.mjs} +8 -8
- package/dist/migrations-CMdxWKx-.mjs +76 -0
- package/dist/oauth-authority-CCqo4eBm.mjs +43 -0
- package/dist/{oauth-authorization-Jf5e3azH.mjs → oauth-authorization--0UtTZpv.mjs} +89 -98
- package/dist/{oauth-clients-tovQ4D4h.mjs → oauth-clients-D4WBYaYW.mjs} +2 -2
- package/dist/object-cache/memory.d.mts +1 -1
- package/dist/{object-cache-D51qOseS.mjs → object-cache-BGjIlY9s.mjs} +1 -1
- package/dist/page/index.d.mts +10 -10
- package/dist/page/index.mjs +1 -1
- package/dist/{parse-IsGn-5lt.mjs → parse--7nG62_h.mjs} +1 -1
- package/dist/plugin-utils.d.mts +9 -9
- package/dist/plugins/adapt-sandbox-entry.d.mts +9 -9
- package/dist/plugins/adapt-sandbox-entry.mjs +1 -1
- package/dist/{plugins-DXyLI3Hb.mjs → plugins-DK1wLuao.mjs} +35 -84
- package/dist/{policy-DKdNMv8y.mjs → policy-Dej7NJFD.mjs} +2 -2
- package/dist/{preview-BXmS1SXL.mjs → preview-q0pkibNO.mjs} +2 -2
- package/dist/{provider-loader-DDq7R_RN.d.mts → provider-loader-C0GaLwKB.d.mts} +1 -1
- package/dist/{public-url-Ci7UbC0W.d.mts → public-url-B9zEdO8p.d.mts} +1 -1
- package/dist/{public-url-BQ9vf0AS.d.mts → public-url-BV-YQ_LF.d.mts} +2 -2
- package/dist/{publication-authorization-C-vYPGD8.mjs → publication-authorization-BrEZ2TsE.mjs} +459 -33
- package/dist/{query-CrW2yI6G.mjs → query-CEn9HXnf.mjs} +15 -15
- package/dist/{query-DcB9uGTW.mjs → query-DAS6VbMS.mjs} +4 -4
- package/dist/{rate-limit-DEkoxTsP.mjs → rate-limit-Dd1TnzZP.mjs} +2 -2
- package/dist/{redirect-DG-o0CKV.mjs → redirect-HLI3wT5Y.mjs} +26 -14
- package/dist/{redirects-Bjp4iKJU.mjs → redirects-DmOdfRjI.mjs} +5 -5
- package/dist/{redirects-N8gmWhVM.mjs → redirects-UCXyL0lP.mjs} +3 -3
- package/dist/{registry-D-IV_h50.mjs → registry-RD9qTnYL.mjs} +183 -186
- package/dist/release-BR08Slqf.mjs +5148 -0
- package/dist/request-context.d.mts +8 -0
- package/dist/{request-meta-BW0the1R.mjs → request-meta-BOcuHAXD.mjs} +1 -1
- package/dist/{resolve-pZ4NQM-X.mjs → resolve-C80Pm2DW.mjs} +1 -1
- package/dist/{review-payload-f1L4lzQg.mjs → review-payload-DEylbssM.mjs} +52 -4
- package/dist/{review-requests-DICrYH2-.mjs → review-requests-BF2eEKr8.mjs} +93 -37
- package/dist/{review-requests-BTKfeWlS.mjs → review-requests-CyfWbJ6W.mjs} +2 -2
- package/dist/{review-route-helpers-DaZBBps8.mjs → review-route-helpers-lKA-CXms.mjs} +2 -2
- package/dist/{revision-De7OmYVD.mjs → revision-090sZyGc.mjs} +28 -22
- package/dist/revocation-B7GL5fMl.mjs +53 -0
- package/dist/{runner-DJiRFyLI.mjs → runner-CVeq0266.mjs} +594 -491
- package/dist/{runner-Dye73myO.d.mts → runner-JnJSGXEB.d.mts} +1 -1
- package/dist/{runs-DEujUDOj.mjs → runs-B5BExdKO.mjs} +5 -5
- package/dist/runtime-env-CQVAWHzH.mjs +19 -0
- package/dist/runtime.d.mts +10 -10
- package/dist/runtime.mjs +5 -5
- package/dist/schema-DLMkODQc.mjs +8 -0
- package/dist/{search-DxUKN9Zz.mjs → search-CRzWNfxX.mjs} +4 -4
- package/dist/{secrets-AdCrGg1c.mjs → secrets-Cg0D2gQW.mjs} +10 -11
- package/dist/{sections-BPFOEMK6.mjs → sections-BwUjOGqn.mjs} +2 -2
- package/dist/seed/index.d.mts +2 -2
- package/dist/seed/index.mjs +29 -25
- package/dist/seo/index.d.mts +3 -3
- package/dist/seo/index.mjs +11 -10
- package/dist/{seo-DWHdo5aW.mjs → seo-BOTuCeh-.mjs} +25 -15
- package/dist/{seo-GfovzqpU.mjs → seo-B_tBFyud.mjs} +1 -1
- package/dist/{service-DbgjHWyW.mjs → service--bQht6oN.mjs} +2 -2
- package/dist/{service-BrNKVCjC.mjs → service-DilVsWGD.mjs} +3 -3
- package/dist/{session-user-D8WwGEPH.mjs → session-user-DeqTcAmR.mjs} +1 -1
- package/dist/{settings-CAsQLi0N.mjs → settings-DFzevIrU.mjs} +8 -8
- package/dist/{settings-BKEHw6Bu.mjs → settings-Deqx3Upy.mjs} +2 -2
- package/dist/{setup-complete-CHCYS5KV.mjs → setup-complete-BFqudwbW.mjs} +1 -1
- package/dist/{site-activity-7oezuHXK.mjs → site-activity-BrN2NviL.mjs} +11 -4
- package/dist/{site-context-CA7rbxux.mjs → site-context-vCiDRr4H.mjs} +50 -37
- package/dist/{site-url-DoZf_jVj.mjs → site-url-wXFqbm9c.mjs} +1 -1
- package/dist/state-jyNZ6-7L.mjs +30 -0
- 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 +3 -3
- package/dist/{store-c4qx3gVh.mjs → store-C1yDxxfv.mjs} +37 -12
- package/dist/submission-BsHNfHc7.mjs +155 -0
- package/dist/{taxonomies-ALDiRQ84.mjs → taxonomies-4cnTcbD6.mjs} +3 -3
- package/dist/{taxonomies-93DV-1QT.mjs → taxonomies-CllxqaH0.mjs} +7 -7
- package/dist/{taxonomy-BOBTJ_aE.mjs → taxonomy-DWxxLpp5.mjs} +3 -3
- package/dist/{tokens-c-qxNqzC.mjs → tokens-Bjuf1HID.mjs} +1 -1
- package/dist/{trusted-proxy-CdEl6g6B.mjs → trusted-proxy-CAW9o4Dw.mjs} +4 -12
- package/dist/{types-BRCUO8NR.d.mts → types-7Th6Mwz3.d.mts} +1 -0
- package/dist/{types-BpSTdH1H.mjs → types-BqxIv8Il.mjs} +2 -2
- package/dist/{types-6KmeXInJ.d.mts → types-CFgTpfPk.d.mts} +1 -1
- package/dist/{types-CfpX1og5.d.mts → types-QjOcidFc.d.mts} +301 -173
- package/dist/ui/server-runtime.d.mts +13 -13
- package/dist/ui/server-runtime.mjs +28 -26
- package/dist/{user-D0NJ7gYf.mjs → user-1-YV30lf.mjs} +2 -2
- package/dist/{utils-BK2efsHv.mjs → utils-Cglcqpm2.mjs} +2 -2
- package/dist/{validate-CDWVODvc.d.mts → validate-A27peRc4.d.mts} +3 -3
- package/dist/{validate-C9g9iX3q.mjs → validate-Wl4MSf3V.mjs} +3 -3
- package/dist/version-BWxyC5s4.mjs +6 -0
- package/dist/{widgets-Cm5Qx2Np.mjs → widgets-Di-6yDH7.mjs} +3 -3
- package/dist/{wordpress-slugs-WdPZaVXf.mjs → wordpress-slugs-vOx7R1dM.mjs} +1 -1
- package/dist/{worker-Bhuu7eqS.mjs → worker-RpaMP71d.mjs} +76 -47
- package/dist/workers-build-BaQCrSmf.mjs +36 -0
- package/dist/{zod-generator-DS5oZNaL.mjs → zod-generator-Cylvl_SM.mjs} +2 -2
- package/package.json +35 -9
- package/dist/after-BfniwgIf.mjs +0 -9
- package/dist/api-tokens-CmT83Bgj.mjs +0 -3
- package/dist/db/libsql-http.d.mts +0 -27
- package/dist/db/libsql-http.mjs +0 -29
- package/dist/libsql-dialect-CANq6UNI.mjs +0 -47
- package/dist/oauth-user-lookup-B451pZmd.mjs +0 -25
- package/dist/revocation-CkTOhdlw.mjs +0 -42
- package/dist/schema-IjuRxkqq.mjs +0 -8
- package/dist/submission-C47cHBIg.mjs +0 -67
- package/dist/transaction-BGQgnwUi.mjs +0 -28
- package/dist/version-CJqc1mwj.mjs +0 -6
- /package/dist/{base64-F8-DUraK.mjs → base64-Cz-aU0X1.mjs} +0 -0
- /package/dist/{challenge-store-CDKfye2r.mjs → challenge-store-D-_-VavY.mjs} +0 -0
- /package/dist/{components-DAq_4iPX.mjs → components-BWQUCJEr.mjs} +0 -0
- /package/dist/{config-CVssduLe.mjs → config-XW5tMrH8.mjs} +0 -0
- /package/dist/{content-index-names-Bbu1FY1r.mjs → content-index-names-CDc2IQIx.mjs} +0 -0
- /package/dist/{context-types-CPWAJRs5.mjs → context-types-DqTo6C79.mjs} +0 -0
- /package/dist/{default-BeIzUa1e.mjs → default-D9zxuUU7.mjs} +0 -0
- /package/dist/{email-console-Bfi_exVg.mjs → email-console-BONByQiC.mjs} +0 -0
- /package/dist/{error-DLg1H2LT.mjs → error-Dd8LtpG5.mjs} +0 -0
- /package/dist/{escape-C6lkys0j.mjs → escape-BWC4s5bV.mjs} +0 -0
- /package/dist/{experimental-workflows-B9x8delL.mjs → experimental-workflows-M5D3RTFo.mjs} +0 -0
- /package/dist/{hash-jhbF98tT.mjs → hash-lNx3KJis.mjs} +0 -0
- /package/dist/{media-url-CL3NzgLh.mjs → media-url-B4YtTY6c.mjs} +0 -0
- /package/dist/{mime-CDTtL7jE.mjs → mime-D_ae-u_U.mjs} +0 -0
- /package/dist/{mode-DJeacFCZ.mjs → mode-CPf_KZ37.mjs} +0 -0
- /package/dist/{normalize-Ev3FiBMx.mjs → normalize-5rct_U0I.mjs} +0 -0
- /package/dist/{oauth-state-store-Do1a_o3H.mjs → oauth-state-store-CMgcimzA.mjs} +0 -0
- /package/dist/{options-1dBRkoCl.mjs → options-BcqHWpc-.mjs} +0 -0
- /package/dist/{output-8j9oltTf.mjs → output-BYpiVUBf.mjs} +0 -0
- /package/dist/{parser-C9rzPuSZ.mjs → parser-BV0wzQHo.mjs} +0 -0
- /package/dist/{passkey-config-CRN44T04.mjs → passkey-config-BG4GO4OO.mjs} +0 -0
- /package/dist/{patterns-3XE9bU4r.mjs → patterns-CZ7D4y_R.mjs} +0 -0
- /package/dist/{placeholder-D03pGvqM.d.mts → placeholder-BHTaoCYx.d.mts} +0 -0
- /package/dist/{portable-text-tIk9_uz_.mjs → portable-text-B9YuySom.mjs} +0 -0
- /package/dist/{portable-text-BdRm4uZq.d.mts → portable-text-FKf3IrPz.d.mts} +0 -0
- /package/dist/{process-cache-B-L-A9zg.mjs → process-cache-MHM4Sqzs.mjs} +0 -0
- /package/dist/{provider-loader-C4i82ll1.mjs → provider-loader-3MY1SjzA.mjs} +0 -0
- /package/dist/{public-discovery-CyDzK1-S.mjs → public-discovery-BAbOvKiR.mjs} +0 -0
- /package/dist/{public-url-oudwI7K0.mjs → public-url-C7pbmS_7.mjs} +0 -0
- /package/dist/{public-url-BVIjzMo3.mjs → public-url-D5Wjq0sy.mjs} +0 -0
- /package/dist/{redirect-Dp5u-8dH.mjs → redirect-Bx96u2nS.mjs} +0 -0
- /package/dist/{request-cache-BruBnFAR.mjs → request-cache-DPmV5nk4.mjs} +0 -0
- /package/dist/{seo-contributions-BAtRDXEQ.mjs → seo-contributions-Dt57p6Sq.mjs} +0 -0
- /package/dist/{service-DeX1PRNt.mjs → service-wYQ_ePZ4.mjs} +0 -0
- /package/dist/{setup-nonce-D-CEYlw7.mjs → setup-nonce-CAqDUxxU.mjs} +0 -0
- /package/dist/{sidecar-client-Bw2C0XTf.mjs → sidecar-client-CnpGTvYq.mjs} +0 -0
- /package/dist/{slugify-KSsVD_D3.mjs → slugify-Di8Q_MFq.mjs} +0 -0
- /package/dist/{ssrf-C7tTSD1r.mjs → ssrf-LN16WMip.mjs} +0 -0
- /package/dist/{stable-hash-DF7R5eN8.mjs → stable-hash-DEtJgcp7.mjs} +0 -0
- /package/dist/{status-Bba6RbkS.mjs → status-Bwkeuz8g.mjs} +0 -0
- /package/dist/{transport-BddGhTAI.mjs → transport-472KVGBe.mjs} +0 -0
- /package/dist/{transport-ktLL9r2O.d.mts → transport-C0jj-Nc8.d.mts} +0 -0
- /package/dist/{types-BQZFeZjd.mjs → types-BDq9t5lG.mjs} +0 -0
- /package/dist/{types-CKIt_jmM.d.mts → types-Bs-7Geuh.d.mts} +0 -0
- /package/dist/{types-CLMOusxP.d.mts → types-CwkJp6zr.d.mts} +0 -0
- /package/dist/{types-C0DPvhR5.mjs → types-CyBH89BS.mjs} +0 -0
- /package/dist/{types-BbkkkAb6.mjs → types-D17dJRht.mjs} +0 -0
- /package/dist/{types--3oJQ0hs.d.mts → types-DTjrkhKU.d.mts} +0 -0
- /package/dist/{types-CPaVj_GC.d.mts → types-DkXuBo8k.d.mts} +0 -0
- /package/dist/{types-CU3Wn2HC.d.mts → types-b2sq7ZDk.d.mts} +0 -0
- /package/dist/{url-C_pLSrGZ.mjs → url-D375-6LM.mjs} +0 -0
- /package/dist/{url-Dumsft7G.mjs → url-bv5i4JN0.mjs} +0 -0
- /package/dist/{validate-VPnKoIzW.mjs → validate-Co3j6T_K.mjs} +0 -0
|
@@ -1,55 +1,67 @@
|
|
|
1
|
-
import "../../../
|
|
2
|
-
import "../../../
|
|
3
|
-
import "../../../
|
|
4
|
-
import "../../../
|
|
5
|
-
import "../../../
|
|
6
|
-
import "../../../
|
|
7
|
-
import "../../../
|
|
8
|
-
import "../../../
|
|
9
|
-
import "../../../
|
|
10
|
-
import "../../../
|
|
11
|
-
import
|
|
12
|
-
import
|
|
13
|
-
import
|
|
14
|
-
import "../../../
|
|
15
|
-
import
|
|
16
|
-
import {
|
|
17
|
-
import "../../../
|
|
18
|
-
import "../../../
|
|
19
|
-
import "../../../
|
|
20
|
-
import "../../../
|
|
21
|
-
import "../../../
|
|
22
|
-
import
|
|
23
|
-
import "../../../
|
|
24
|
-
import
|
|
25
|
-
import "../../../
|
|
26
|
-
import "../../../
|
|
27
|
-
import { n as
|
|
28
|
-
import
|
|
29
|
-
import "../../../
|
|
30
|
-
import "../../../
|
|
31
|
-
import "../../../
|
|
32
|
-
import
|
|
33
|
-
import
|
|
34
|
-
import
|
|
35
|
-
import "../../../
|
|
36
|
-
import "../../../
|
|
1
|
+
import "../../../d1-binding-D6HZa3ks.mjs";
|
|
2
|
+
import "../../../dialect-helpers-C6xtO-Ui.mjs";
|
|
3
|
+
import "../../../base64-Cz-aU0X1.mjs";
|
|
4
|
+
import "../../../types-BqxIv8Il.mjs";
|
|
5
|
+
import "../../../loader-Cgsx23wU.mjs";
|
|
6
|
+
import { i as resolveActorIdentity } from "../../../actor-DxUAJgQX.mjs";
|
|
7
|
+
import "../../../atomic-authority-CnBQJ14T.mjs";
|
|
8
|
+
import "../../../after-BVaUn7bK.mjs";
|
|
9
|
+
import "../../../object-cache-BGjIlY9s.mjs";
|
|
10
|
+
import "../../../revision-090sZyGc.mjs";
|
|
11
|
+
import "../../../content-NobcQti0.mjs";
|
|
12
|
+
import "../../../media-3fK0u-bo.mjs";
|
|
13
|
+
import "../../../user-1-YV30lf.mjs";
|
|
14
|
+
import "../../../options-BcqHWpc-.mjs";
|
|
15
|
+
import "../../../site-activity-BrN2NviL.mjs";
|
|
16
|
+
import { r as ReviewRequestRepository } from "../../../review-requests-BF2eEKr8.mjs";
|
|
17
|
+
import { a as HITL_REQUEST_STATUSES, i as HITL_REQUEST_PRIORITIES, o as HitlRequestRepository, t as PublicationAuthorizationError } from "../../../publication-authorization-BrEZ2TsE.mjs";
|
|
18
|
+
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-vCiDRr4H.mjs";
|
|
19
|
+
import "../../../redirect-HLI3wT5Y.mjs";
|
|
20
|
+
import "../../../request-cache-DPmV5nk4.mjs";
|
|
21
|
+
import "../../../byline-registry-CkuVVeJJ.mjs";
|
|
22
|
+
import "../../../field-defs-cache-BKKFFf_V.mjs";
|
|
23
|
+
import "../../../byline-DEZKlzD9.mjs";
|
|
24
|
+
import "../../../review-payload-DEylbssM.mjs";
|
|
25
|
+
import { t as SITE_CONTEXT_TYPES } from "../../../context-types-DqTo6C79.mjs";
|
|
26
|
+
import { d as ContextRepository, i as parseSiteBriefingScope, r as formatSiteBriefingText, t as SiteBriefingAssembler } from "../../../briefing-CkCi6S-W.mjs";
|
|
27
|
+
import { n as DinewayToolsService, t as DinewayToolsError } from "../../../service-wYQ_ePZ4.mjs";
|
|
28
|
+
import "../../../runs-B5BExdKO.mjs";
|
|
29
|
+
import { t as readRuntimeEnv } from "../../../runtime-env-CQVAWHzH.mjs";
|
|
30
|
+
import { t as DinewaySecretsError } from "../../../secrets-Cg0D2gQW.mjs";
|
|
31
|
+
import "../../../content-refresh-l4mPoGeX.mjs";
|
|
32
|
+
import "../../../ssrf-LN16WMip.mjs";
|
|
33
|
+
import "../../../fts-manager-BeWtB7ZD.mjs";
|
|
34
|
+
import "../../../public-discovery-BAbOvKiR.mjs";
|
|
35
|
+
import "../../../registry-RD9qTnYL.mjs";
|
|
36
|
+
import "../../../settings-DFzevIrU.mjs";
|
|
37
|
+
import "../../../evidence-xJf8hQgH.mjs";
|
|
38
|
+
import { n as submitAutomatedReview } from "../../../submission-BsHNfHc7.mjs";
|
|
39
|
+
import "../../../seo-BOTuCeh-.mjs";
|
|
40
|
+
import "../../../content-De_XeXy_.mjs";
|
|
41
|
+
import { n as VERSION } from "../../../version-BWxyC5s4.mjs";
|
|
42
|
+
import "../../../query-DAS6VbMS.mjs";
|
|
43
|
+
import "../../../zod-generator-Cylvl_SM.mjs";
|
|
44
|
+
import "../../../schema-DLMkODQc.mjs";
|
|
45
|
+
import { t as IntegrationCredentialStore } from "../../../store-C1yDxxfv.mjs";
|
|
46
|
+
import { t as apiError } from "../../../error-Dd8LtpG5.mjs";
|
|
47
|
+
import { Dn as contentBylineInputSchema, P as settingsUpdateBody, Tn as bylineUpdateBody, fn as contentSeoInput, xn as bylineCreateBody } from "../../../redirects-UCXyL0lP.mjs";
|
|
48
|
+
import "../../../byline-fields-BGEIA9dZ.mjs";
|
|
49
|
+
import "../../../status-Bwkeuz8g.mjs";
|
|
37
50
|
import "../../../api/schemas/index.mjs";
|
|
38
|
-
import { i as hasScope } from "../../../api-tokens-
|
|
39
|
-
import { r as registerPluginMcpRegistry, t as createReviewedPluginMcpCommandExecutor } from "../../../mcp-reviewed-executor-
|
|
40
|
-
import
|
|
41
|
-
import "../../../activity-
|
|
42
|
-
import
|
|
43
|
-
import "../../../
|
|
44
|
-
import "../../../
|
|
45
|
-
import
|
|
46
|
-
import "../../../
|
|
47
|
-
import {
|
|
48
|
-
import {
|
|
49
|
-
import { t as
|
|
50
|
-
import { t as revokeReview } from "../../../revocation-CkTOhdlw.mjs";
|
|
51
|
-
import { z } from "zod";
|
|
51
|
+
import { i as hasScope$1 } from "../../../api-tokens-D5K_Csub.mjs";
|
|
52
|
+
import { r as registerPluginMcpRegistry, t as createReviewedPluginMcpCommandExecutor } from "../../../mcp-reviewed-executor-DAZL3Ckt.mjs";
|
|
53
|
+
import "../../../activity-CZnq5YlZ.mjs";
|
|
54
|
+
import { d as logSchemaActivity, o as logContentActivity, p as logSiteActivitySafely, r as contentMcpToolSource, t as activityChangedKeys, x as schemaMcpToolSource } from "../../../activity-events-D-yGV7cW.mjs";
|
|
55
|
+
import "../../../utils-Cglcqpm2.mjs";
|
|
56
|
+
import "../../../search-CRzWNfxX.mjs";
|
|
57
|
+
import { n as prepareReviewerApproval } from "../../../worker-RpaMP71d.mjs";
|
|
58
|
+
import "../../../policy-Dej7NJFD.mjs";
|
|
59
|
+
import { a as createForgewayAccountClient, c as normalizeForgewayApiUrl, d as refreshForgewayAccountCredentials, u as readStoredForgewayAccount } from "../../../forgeway-account-BeKJlKh1.mjs";
|
|
60
|
+
import { n as convertDataForWrite, t as convertDataForRead } from "../../../portable-text-B9YuySom.mjs";
|
|
61
|
+
import { t as createSiteIntegrationService } from "../../../service--bQht6oN.mjs";
|
|
62
|
+
import { t as revokeReview } from "../../../revocation-B7GL5fMl.mjs";
|
|
52
63
|
import { Role, canActOnOwn, hasPermission } from "@dineway-ai/auth";
|
|
64
|
+
import { z } from "zod";
|
|
53
65
|
import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js";
|
|
54
66
|
import { ErrorCode, McpError } from "@modelcontextprotocol/sdk/types.js";
|
|
55
67
|
import { ForgewayClient } from "@forgeway/sdk";
|
|
@@ -73,10 +85,8 @@ async function createDinewayToolsRuntimeService(options = {}) {
|
|
|
73
85
|
return new DinewayToolsService(createForgewayAccountClient(refreshed.platformApiUrl, refreshed.accessToken).integration);
|
|
74
86
|
}
|
|
75
87
|
function readEnv(...names) {
|
|
76
|
-
const meta = import.meta.env ?? {};
|
|
77
|
-
const proc = typeof process !== "undefined" && process.env ? process.env : {};
|
|
78
88
|
for (const name of names) {
|
|
79
|
-
const value =
|
|
89
|
+
const value = readRuntimeEnv(name);
|
|
80
90
|
if (value) return value;
|
|
81
91
|
}
|
|
82
92
|
}
|
|
@@ -345,7 +355,7 @@ function getDineway(extra) {
|
|
|
345
355
|
}
|
|
346
356
|
async function getCollectionFields(dineway, collection) {
|
|
347
357
|
try {
|
|
348
|
-
const { SchemaRegistry } = await import("../../../schema-
|
|
358
|
+
const { SchemaRegistry } = await import("../../../schema-DLMkODQc.mjs").then((n) => n.t);
|
|
349
359
|
return (await new SchemaRegistry(dineway.db).getCollectionWithFields(collection))?.fields ?? null;
|
|
350
360
|
} catch {
|
|
351
361
|
return null;
|
|
@@ -362,7 +372,7 @@ async function applyReadMarkdown(dineway, collection, items) {
|
|
|
362
372
|
for (const item of items) if (item.data && typeof item.data === "object") item.data = convertDataForRead(item.data, fields, false);
|
|
363
373
|
}
|
|
364
374
|
async function invalidateBylines() {
|
|
365
|
-
const { invalidateBylineCache } = await import("../../../bylines-
|
|
375
|
+
const { invalidateBylineCache } = await import("../../../bylines-LqNRjma2.mjs").then((n) => n.t);
|
|
366
376
|
invalidateBylineCache();
|
|
367
377
|
}
|
|
368
378
|
function canReadDrafts(extra) {
|
|
@@ -383,16 +393,16 @@ function isPublishedRecord(value) {
|
|
|
383
393
|
*/
|
|
384
394
|
function requireScope(extra, scope) {
|
|
385
395
|
const payload = getExtra(extra);
|
|
386
|
-
if (payload.tokenScopes && !hasScope(payload.tokenScopes, scope)) throw new McpError(ErrorCode.InvalidRequest, `Insufficient scope: requires ${scope}`);
|
|
396
|
+
if (payload.tokenScopes && !hasScope$1(payload.tokenScopes, scope)) throw new McpError(ErrorCode.InvalidRequest, `Insufficient scope: requires ${scope}`);
|
|
387
397
|
}
|
|
388
398
|
function requireAnyScope(extra, scopes) {
|
|
389
399
|
const tokenScopes = getExtra(extra).tokenScopes;
|
|
390
400
|
if (!tokenScopes) return;
|
|
391
|
-
if (scopes.some((scope) => hasScope(tokenScopes, scope))) return;
|
|
401
|
+
if (scopes.some((scope) => hasScope$1(tokenScopes, scope))) return;
|
|
392
402
|
throw new McpError(ErrorCode.InvalidRequest, `Insufficient scope: requires one of ${scopes.join(", ")}`);
|
|
393
403
|
}
|
|
394
404
|
function tokenAllows(payload, scope) {
|
|
395
|
-
return !payload.tokenScopes || hasScope(payload.tokenScopes, scope);
|
|
405
|
+
return !payload.tokenScopes || hasScope$1(payload.tokenScopes, scope);
|
|
396
406
|
}
|
|
397
407
|
function briefingPermissions(payload) {
|
|
398
408
|
const user = { role: payload.userRole };
|
|
@@ -2426,7 +2436,7 @@ function createMcpServer(options = {}) {
|
|
|
2426
2436
|
requireRole(extra, Role.EDITOR);
|
|
2427
2437
|
const ec = getDineway(extra);
|
|
2428
2438
|
try {
|
|
2429
|
-
const { SchemaRegistry } = await import("../../../schema-
|
|
2439
|
+
const { SchemaRegistry } = await import("../../../schema-DLMkODQc.mjs").then((n) => n.t);
|
|
2430
2440
|
return jsonResult({ items: await new SchemaRegistry(ec.db).listCollections() });
|
|
2431
2441
|
} catch (error) {
|
|
2432
2442
|
return errorResult(error);
|
|
@@ -2442,7 +2452,7 @@ function createMcpServer(options = {}) {
|
|
|
2442
2452
|
requireRole(extra, Role.EDITOR);
|
|
2443
2453
|
const ec = getDineway(extra);
|
|
2444
2454
|
try {
|
|
2445
|
-
const { SchemaRegistry } = await import("../../../schema-
|
|
2455
|
+
const { SchemaRegistry } = await import("../../../schema-DLMkODQc.mjs").then((n) => n.t);
|
|
2446
2456
|
const collection = await new SchemaRegistry(ec.db).getCollectionWithFields(args.slug);
|
|
2447
2457
|
if (!collection) return errorResult(`Collection '${args.slug}' not found`);
|
|
2448
2458
|
return jsonResult(collection);
|
|
@@ -2472,7 +2482,7 @@ function createMcpServer(options = {}) {
|
|
|
2472
2482
|
requireRole(extra, Role.ADMIN);
|
|
2473
2483
|
const ec = getDineway(extra);
|
|
2474
2484
|
try {
|
|
2475
|
-
const { SchemaRegistry } = await import("../../../schema-
|
|
2485
|
+
const { SchemaRegistry } = await import("../../../schema-DLMkODQc.mjs").then((n) => n.t);
|
|
2476
2486
|
const collection = await new SchemaRegistry(ec.db).createCollection({
|
|
2477
2487
|
slug: args.slug,
|
|
2478
2488
|
label: args.label,
|
|
@@ -2536,7 +2546,7 @@ function createMcpServer(options = {}) {
|
|
|
2536
2546
|
request
|
|
2537
2547
|
});
|
|
2538
2548
|
}
|
|
2539
|
-
const { SchemaRegistry } = await import("../../../schema-
|
|
2549
|
+
const { SchemaRegistry } = await import("../../../schema-DLMkODQc.mjs").then((n) => n.t);
|
|
2540
2550
|
await new SchemaRegistry(ec.db).deleteCollection(args.slug, { force: args.force });
|
|
2541
2551
|
ec.invalidateManifest();
|
|
2542
2552
|
await logSchemaActivity(ec.db, locals, {
|
|
@@ -2600,7 +2610,7 @@ function createMcpServer(options = {}) {
|
|
|
2600
2610
|
requireRole(extra, Role.ADMIN);
|
|
2601
2611
|
const ec = getDineway(extra);
|
|
2602
2612
|
try {
|
|
2603
|
-
const { SchemaRegistry } = await import("../../../schema-
|
|
2613
|
+
const { SchemaRegistry } = await import("../../../schema-DLMkODQc.mjs").then((n) => n.t);
|
|
2604
2614
|
const field = await new SchemaRegistry(ec.db).createField(args.collection, {
|
|
2605
2615
|
slug: args.slug,
|
|
2606
2616
|
label: args.label,
|
|
@@ -2669,7 +2679,7 @@ function createMcpServer(options = {}) {
|
|
|
2669
2679
|
request
|
|
2670
2680
|
});
|
|
2671
2681
|
}
|
|
2672
|
-
const { SchemaRegistry } = await import("../../../schema-
|
|
2682
|
+
const { SchemaRegistry } = await import("../../../schema-DLMkODQc.mjs").then((n) => n.t);
|
|
2673
2683
|
await new SchemaRegistry(ec.db).deleteField(args.collection, args.fieldSlug);
|
|
2674
2684
|
ec.invalidateManifest();
|
|
2675
2685
|
await logSchemaActivity(ec.db, locals, {
|
|
@@ -2802,7 +2812,7 @@ function createMcpServer(options = {}) {
|
|
|
2802
2812
|
requireScope(extra, "content:read");
|
|
2803
2813
|
const ec = getDineway(extra);
|
|
2804
2814
|
try {
|
|
2805
|
-
const { searchWithDb } = await import("../../../search-
|
|
2815
|
+
const { searchWithDb } = await import("../../../search-CRzWNfxX.mjs").then((n) => n.t);
|
|
2806
2816
|
return jsonResult(await searchWithDb(ec.db, args.query, {
|
|
2807
2817
|
collections: args.collections,
|
|
2808
2818
|
locale: args.locale,
|
|
@@ -2828,7 +2838,7 @@ function createMcpServer(options = {}) {
|
|
|
2828
2838
|
requireScope(extra, "content:read");
|
|
2829
2839
|
const ec = getDineway(extra);
|
|
2830
2840
|
try {
|
|
2831
|
-
const { BylineRepository } = await import("../../../byline-
|
|
2841
|
+
const { BylineRepository } = await import("../../../byline-DEZKlzD9.mjs").then((n) => n.n);
|
|
2832
2842
|
return jsonResult(await new BylineRepository(ec.db).findMany({
|
|
2833
2843
|
search: args.search,
|
|
2834
2844
|
isGuest: args.isGuest,
|
|
@@ -2850,7 +2860,7 @@ function createMcpServer(options = {}) {
|
|
|
2850
2860
|
requireScope(extra, "content:read");
|
|
2851
2861
|
const ec = getDineway(extra);
|
|
2852
2862
|
try {
|
|
2853
|
-
const { BylineRepository } = await import("../../../byline-
|
|
2863
|
+
const { BylineRepository } = await import("../../../byline-DEZKlzD9.mjs").then((n) => n.n);
|
|
2854
2864
|
const byline = await new BylineRepository(ec.db).findById(args.id);
|
|
2855
2865
|
if (!byline) return errorResult(`Byline '${args.id}' not found`);
|
|
2856
2866
|
return jsonResult(byline);
|
|
@@ -2868,7 +2878,7 @@ function createMcpServer(options = {}) {
|
|
|
2868
2878
|
requireRole(extra, Role.EDITOR);
|
|
2869
2879
|
const ec = getDineway(extra);
|
|
2870
2880
|
try {
|
|
2871
|
-
const { handleBylineCreate } = await import("../../../bylines-
|
|
2881
|
+
const { handleBylineCreate } = await import("../../../bylines-7BQxRGyG.mjs").then((n) => n.t);
|
|
2872
2882
|
const result = await handleBylineCreate(ec.db, args);
|
|
2873
2883
|
if (result.success) await invalidateBylines();
|
|
2874
2884
|
return unwrap(result);
|
|
@@ -2888,7 +2898,7 @@ function createMcpServer(options = {}) {
|
|
|
2888
2898
|
requireRole(extra, Role.EDITOR);
|
|
2889
2899
|
const ec = getDineway(extra);
|
|
2890
2900
|
try {
|
|
2891
|
-
const { handleBylineUpdate } = await import("../../../bylines-
|
|
2901
|
+
const { handleBylineUpdate } = await import("../../../bylines-7BQxRGyG.mjs").then((n) => n.t);
|
|
2892
2902
|
const { id, ...input } = args;
|
|
2893
2903
|
const result = await handleBylineUpdate(ec.db, id, input);
|
|
2894
2904
|
if (result.success) await invalidateBylines();
|
|
@@ -2907,7 +2917,7 @@ function createMcpServer(options = {}) {
|
|
|
2907
2917
|
requireRole(extra, Role.EDITOR);
|
|
2908
2918
|
const ec = getDineway(extra);
|
|
2909
2919
|
try {
|
|
2910
|
-
const { BylineRepository } = await import("../../../byline-
|
|
2920
|
+
const { BylineRepository } = await import("../../../byline-DEZKlzD9.mjs").then((n) => n.n);
|
|
2911
2921
|
if (!await new BylineRepository(ec.db).delete(args.id)) return errorResult(`Byline '${args.id}' not found`);
|
|
2912
2922
|
await invalidateBylines();
|
|
2913
2923
|
return jsonResult({ deleted: args.id });
|
|
@@ -2924,7 +2934,7 @@ function createMcpServer(options = {}) {
|
|
|
2924
2934
|
requireScope(extra, "content:read");
|
|
2925
2935
|
const ec = getDineway(extra);
|
|
2926
2936
|
try {
|
|
2927
|
-
const { handleBylineTranslations } = await import("../../../bylines-
|
|
2937
|
+
const { handleBylineTranslations } = await import("../../../bylines-7BQxRGyG.mjs").then((n) => n.t);
|
|
2928
2938
|
return unwrap(await handleBylineTranslations(ec.db, args.id));
|
|
2929
2939
|
} catch (error) {
|
|
2930
2940
|
return errorResult(error);
|
|
@@ -2939,7 +2949,7 @@ function createMcpServer(options = {}) {
|
|
|
2939
2949
|
requireScope(extra, "content:read");
|
|
2940
2950
|
const ec = getDineway(extra);
|
|
2941
2951
|
try {
|
|
2942
|
-
const { handleTaxonomyList } = await import("../../../taxonomies-
|
|
2952
|
+
const { handleTaxonomyList } = await import("../../../taxonomies-4cnTcbD6.mjs").then((n) => n.l);
|
|
2943
2953
|
return unwrap(await handleTaxonomyList(ec.db, { locale: args.locale }));
|
|
2944
2954
|
} catch (error) {
|
|
2945
2955
|
return errorResult(error);
|
|
@@ -2959,12 +2969,12 @@ function createMcpServer(options = {}) {
|
|
|
2959
2969
|
requireScope(extra, "content:read");
|
|
2960
2970
|
const ec = getDineway(extra);
|
|
2961
2971
|
try {
|
|
2962
|
-
const { handleTaxonomyList } = await import("../../../taxonomies-
|
|
2972
|
+
const { handleTaxonomyList } = await import("../../../taxonomies-4cnTcbD6.mjs").then((n) => n.l);
|
|
2963
2973
|
const listResult = await handleTaxonomyList(ec.db, { locale: args.locale });
|
|
2964
2974
|
if (!listResult.success) return unwrap(listResult);
|
|
2965
2975
|
if (!listResult.data.taxonomies.find((t) => t.name === args.taxonomy)) return errorResult(`Taxonomy '${args.taxonomy}' not found`);
|
|
2966
|
-
const { TaxonomyRepository } = await import("../../../taxonomy-
|
|
2967
|
-
const { decodeCursor, encodeCursor } = await import("../../../types-
|
|
2976
|
+
const { TaxonomyRepository } = await import("../../../taxonomy-DWxxLpp5.mjs").then((n) => n.n);
|
|
2977
|
+
const { decodeCursor, encodeCursor } = await import("../../../types-BqxIv8Il.mjs").then((n) => n.a);
|
|
2968
2978
|
const repo = new TaxonomyRepository(ec.db);
|
|
2969
2979
|
const limit = Math.min(args.limit ?? 50, 100);
|
|
2970
2980
|
const terms = await repo.findByName(args.taxonomy, { locale: args.locale });
|
|
@@ -3013,7 +3023,7 @@ function createMcpServer(options = {}) {
|
|
|
3013
3023
|
requireRole(extra, Role.EDITOR);
|
|
3014
3024
|
const ec = getDineway(extra);
|
|
3015
3025
|
try {
|
|
3016
|
-
const { handleTermCreate } = await import("../../../taxonomies-
|
|
3026
|
+
const { handleTermCreate } = await import("../../../taxonomies-4cnTcbD6.mjs").then((n) => n.l);
|
|
3017
3027
|
return unwrap(await handleTermCreate(ec.db, args.taxonomy, {
|
|
3018
3028
|
slug: args.slug,
|
|
3019
3029
|
label: args.label,
|
|
@@ -3043,7 +3053,7 @@ function createMcpServer(options = {}) {
|
|
|
3043
3053
|
requireRole(extra, Role.EDITOR);
|
|
3044
3054
|
const ec = getDineway(extra);
|
|
3045
3055
|
try {
|
|
3046
|
-
const { handleTermUpdate } = await import("../../../taxonomies-
|
|
3056
|
+
const { handleTermUpdate } = await import("../../../taxonomies-4cnTcbD6.mjs").then((n) => n.l);
|
|
3047
3057
|
return unwrap(await handleTermUpdate(ec.db, args.taxonomy, args.termSlug, {
|
|
3048
3058
|
slug: args.slug,
|
|
3049
3059
|
label: args.label,
|
|
@@ -3068,7 +3078,7 @@ function createMcpServer(options = {}) {
|
|
|
3068
3078
|
requireRole(extra, Role.EDITOR);
|
|
3069
3079
|
const ec = getDineway(extra);
|
|
3070
3080
|
try {
|
|
3071
|
-
const { handleTermDelete } = await import("../../../taxonomies-
|
|
3081
|
+
const { handleTermDelete } = await import("../../../taxonomies-4cnTcbD6.mjs").then((n) => n.l);
|
|
3072
3082
|
return unwrap(await handleTermDelete(ec.db, args.taxonomy, args.termSlug, { locale: args.locale }));
|
|
3073
3083
|
} catch (error) {
|
|
3074
3084
|
return errorResult(error);
|
|
@@ -3083,7 +3093,7 @@ function createMcpServer(options = {}) {
|
|
|
3083
3093
|
requireScope(extra, "content:read");
|
|
3084
3094
|
const ec = getDineway(extra);
|
|
3085
3095
|
try {
|
|
3086
|
-
const { handleTermTranslations } = await import("../../../taxonomies-
|
|
3096
|
+
const { handleTermTranslations } = await import("../../../taxonomies-4cnTcbD6.mjs").then((n) => n.l);
|
|
3087
3097
|
return unwrap(await handleTermTranslations(ec.db, args.id));
|
|
3088
3098
|
} catch (error) {
|
|
3089
3099
|
return errorResult(error);
|
|
@@ -3098,7 +3108,7 @@ function createMcpServer(options = {}) {
|
|
|
3098
3108
|
requireScope(extra, "content:read");
|
|
3099
3109
|
const ec = getDineway(extra);
|
|
3100
3110
|
try {
|
|
3101
|
-
const { handleMenuList } = await import("../../../menus-
|
|
3111
|
+
const { handleMenuList } = await import("../../../menus-5liJusbp.mjs").then((n) => n.d);
|
|
3102
3112
|
return unwrap(await handleMenuList(ec.db, { locale: args.locale }));
|
|
3103
3113
|
} catch (error) {
|
|
3104
3114
|
return errorResult(error);
|
|
@@ -3116,7 +3126,7 @@ function createMcpServer(options = {}) {
|
|
|
3116
3126
|
requireScope(extra, "content:read");
|
|
3117
3127
|
const ec = getDineway(extra);
|
|
3118
3128
|
try {
|
|
3119
|
-
const { handleMenuGet } = await import("../../../menus-
|
|
3129
|
+
const { handleMenuGet } = await import("../../../menus-5liJusbp.mjs").then((n) => n.d);
|
|
3120
3130
|
return unwrap(await handleMenuGet(ec.db, args.name, { locale: args.locale }));
|
|
3121
3131
|
} catch (error) {
|
|
3122
3132
|
return errorResult(error);
|
|
@@ -3131,7 +3141,7 @@ function createMcpServer(options = {}) {
|
|
|
3131
3141
|
requireScope(extra, "content:read");
|
|
3132
3142
|
const ec = getDineway(extra);
|
|
3133
3143
|
try {
|
|
3134
|
-
const { handleMenuTranslations } = await import("../../../menus-
|
|
3144
|
+
const { handleMenuTranslations } = await import("../../../menus-5liJusbp.mjs").then((n) => n.d);
|
|
3135
3145
|
return unwrap(await handleMenuTranslations(ec.db, args.id));
|
|
3136
3146
|
} catch (error) {
|
|
3137
3147
|
return errorResult(error);
|
|
@@ -3151,7 +3161,7 @@ function createMcpServer(options = {}) {
|
|
|
3151
3161
|
requireRole(extra, Role.EDITOR);
|
|
3152
3162
|
const ec = getDineway(extra);
|
|
3153
3163
|
try {
|
|
3154
|
-
const { handleMenuCreate } = await import("../../../menus-
|
|
3164
|
+
const { handleMenuCreate } = await import("../../../menus-5liJusbp.mjs").then((n) => n.d);
|
|
3155
3165
|
return unwrap(await handleMenuCreate(ec.db, {
|
|
3156
3166
|
name: args.name,
|
|
3157
3167
|
label: args.label,
|
|
@@ -3175,7 +3185,7 @@ function createMcpServer(options = {}) {
|
|
|
3175
3185
|
requireRole(extra, Role.EDITOR);
|
|
3176
3186
|
const ec = getDineway(extra);
|
|
3177
3187
|
try {
|
|
3178
|
-
const { handleMenuUpdate } = await import("../../../menus-
|
|
3188
|
+
const { handleMenuUpdate } = await import("../../../menus-5liJusbp.mjs").then((n) => n.d);
|
|
3179
3189
|
return unwrap(await handleMenuUpdate(ec.db, args.name, {
|
|
3180
3190
|
label: args.label,
|
|
3181
3191
|
locale: args.locale
|
|
@@ -3197,7 +3207,7 @@ function createMcpServer(options = {}) {
|
|
|
3197
3207
|
requireRole(extra, Role.EDITOR);
|
|
3198
3208
|
const ec = getDineway(extra);
|
|
3199
3209
|
try {
|
|
3200
|
-
const { handleMenuDelete } = await import("../../../menus-
|
|
3210
|
+
const { handleMenuDelete } = await import("../../../menus-5liJusbp.mjs").then((n) => n.d);
|
|
3201
3211
|
return unwrap(await handleMenuDelete(ec.db, args.name, { locale: args.locale }));
|
|
3202
3212
|
} catch (error) {
|
|
3203
3213
|
return errorResult(error);
|
|
@@ -3232,7 +3242,7 @@ function createMcpServer(options = {}) {
|
|
|
3232
3242
|
requireRole(extra, Role.EDITOR);
|
|
3233
3243
|
const ec = getDineway(extra);
|
|
3234
3244
|
try {
|
|
3235
|
-
const { handleMenuSetItems } = await import("../../../menus-
|
|
3245
|
+
const { handleMenuSetItems } = await import("../../../menus-5liJusbp.mjs").then((n) => n.d);
|
|
3236
3246
|
return unwrap(await handleMenuSetItems(ec.db, args.name, args.items, { locale: args.locale }));
|
|
3237
3247
|
} catch (error) {
|
|
3238
3248
|
return errorResult(error);
|
|
@@ -3279,7 +3289,7 @@ function createMcpServer(options = {}) {
|
|
|
3279
3289
|
requireRole(extra, Role.ADMIN);
|
|
3280
3290
|
const ec = getDineway(extra);
|
|
3281
3291
|
try {
|
|
3282
|
-
const { handleSettingsGet } = await import("../../../settings-
|
|
3292
|
+
const { handleSettingsGet } = await import("../../../settings-Deqx3Upy.mjs").then((n) => n.r);
|
|
3283
3293
|
return unwrap(await handleSettingsGet(ec.db, ec.storage));
|
|
3284
3294
|
} catch (error) {
|
|
3285
3295
|
return errorResult(error);
|
|
@@ -3316,7 +3326,7 @@ function createMcpServer(options = {}) {
|
|
|
3316
3326
|
request
|
|
3317
3327
|
});
|
|
3318
3328
|
}
|
|
3319
|
-
const { handleSettingsUpdate } = await import("../../../settings-
|
|
3329
|
+
const { handleSettingsUpdate } = await import("../../../settings-Deqx3Upy.mjs").then((n) => n.r);
|
|
3320
3330
|
const result = await handleSettingsUpdate(ec.db, ec.storage, settingsInput);
|
|
3321
3331
|
if (!result.success) return unwrap(result);
|
|
3322
3332
|
await logSiteActivitySafely(ec.db, locals, {
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import "../../../../../base64-
|
|
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-
|
|
1
|
+
import "../../../../../base64-Cz-aU0X1.mjs";
|
|
2
|
+
import "../../../../../types-BqxIv8Il.mjs";
|
|
3
|
+
import { t as MediaRepository } from "../../../../../media-3fK0u-bo.mjs";
|
|
4
|
+
import { t as enrichImageMetadata } from "../../../../../enrich-BjF-J4sF.mjs";
|
|
5
|
+
import "../../../../../context-types-DqTo6C79.mjs";
|
|
6
|
+
import "../../../../../public-discovery-BAbOvKiR.mjs";
|
|
7
|
+
import { n as apiSuccess, r as handleError, t as apiError } from "../../../../../error-Dd8LtpG5.mjs";
|
|
8
|
+
import { r as parseOptionalBody, t as isParseError } from "../../../../../parse--7nG62_h.mjs";
|
|
9
|
+
import { Bt as mediaConfirmBody } from "../../../../../redirects-UCXyL0lP.mjs";
|
|
10
|
+
import "../../../../../byline-fields-BGEIA9dZ.mjs";
|
|
11
|
+
import "../../../../../status-Bwkeuz8g.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-EnP57AQl.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-DqTo6C79.mjs";
|
|
2
|
+
import "../../../../public-discovery-BAbOvKiR.mjs";
|
|
3
|
+
import { t as addInternalMediaUrl } from "../../../../url-D375-6LM.mjs";
|
|
4
|
+
import { a as unwrapResult, n as apiSuccess, r as handleError, t as apiError } from "../../../../error-Dd8LtpG5.mjs";
|
|
5
|
+
import { n as parseBody, t as isParseError } from "../../../../parse--7nG62_h.mjs";
|
|
6
|
+
import { Jt as mediaUpdateBody } from "../../../../redirects-UCXyL0lP.mjs";
|
|
7
|
+
import "../../../../byline-fields-BGEIA9dZ.mjs";
|
|
8
|
+
import "../../../../status-Bwkeuz8g.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-EnP57AQl.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-Dd8LtpG5.mjs";
|
|
2
|
+
import { n as requirePerm } from "../../../../../../authorize-EnP57AQl.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-Dd8LtpG5.mjs";
|
|
2
|
+
import { n as requirePerm } from "../../../../../../authorize-EnP57AQl.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-Dd8LtpG5.mjs";
|
|
2
|
+
import { n as requirePerm } from "../../../../../authorize-EnP57AQl.mjs";
|
|
3
3
|
|
|
4
4
|
//#region src/astro/routes/api/media/providers/index.ts
|
|
5
5
|
const prerender = false;
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import "../../../../base64-
|
|
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-
|
|
1
|
+
import "../../../../base64-Cz-aU0X1.mjs";
|
|
2
|
+
import "../../../../types-BqxIv8Il.mjs";
|
|
3
|
+
import { t as MediaRepository } from "../../../../media-3fK0u-bo.mjs";
|
|
4
|
+
import { n as normalizeMime, t as matchesMimeAllowlist } from "../../../../mime-D_ae-u_U.mjs";
|
|
5
|
+
import "../../../../context-types-DqTo6C79.mjs";
|
|
6
|
+
import "../../../../public-discovery-BAbOvKiR.mjs";
|
|
7
|
+
import { n as apiSuccess, r as handleError, t as apiError } from "../../../../error-Dd8LtpG5.mjs";
|
|
8
|
+
import { n as parseBody, t as isParseError } from "../../../../parse--7nG62_h.mjs";
|
|
9
|
+
import { Rt as DEFAULT_MAX_UPLOAD_SIZE, Yt as mediaUploadUrlBody } from "../../../../redirects-UCXyL0lP.mjs";
|
|
10
|
+
import "../../../../byline-fields-BGEIA9dZ.mjs";
|
|
11
|
+
import "../../../../status-Bwkeuz8g.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-EnP57AQl.mjs";
|
|
14
|
+
import { n as resolveFieldAllowlist, t as GLOBAL_UPLOAD_ALLOWLIST } from "../../../../media-allowlist-rN4qIF6W.mjs";
|
|
15
15
|
import { ulid } from "ulidx";
|
|
16
16
|
import * as path from "node:path";
|
|
17
17
|
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import "../../../base64-
|
|
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-
|
|
1
|
+
import "../../../base64-Cz-aU0X1.mjs";
|
|
2
|
+
import "../../../types-BqxIv8Il.mjs";
|
|
3
|
+
import { t as MediaRepository } from "../../../media-3fK0u-bo.mjs";
|
|
4
|
+
import { n as normalizeMime, t as matchesMimeAllowlist } from "../../../mime-D_ae-u_U.mjs";
|
|
5
|
+
import { t as enrichImageMetadata } from "../../../enrich-BjF-J4sF.mjs";
|
|
6
|
+
import "../../../context-types-DqTo6C79.mjs";
|
|
7
|
+
import { t as computeContentHash } from "../../../hash-lNx3KJis.mjs";
|
|
8
|
+
import "../../../public-discovery-BAbOvKiR.mjs";
|
|
9
|
+
import { t as addInternalMediaUrl } from "../../../url-D375-6LM.mjs";
|
|
10
|
+
import { a as unwrapResult, n as apiSuccess, r as handleError, t as apiError } from "../../../error-Dd8LtpG5.mjs";
|
|
11
|
+
import { i as parseQuery, t as isParseError } from "../../../parse--7nG62_h.mjs";
|
|
12
|
+
import { Rt as DEFAULT_MAX_UPLOAD_SIZE, Wt as mediaListQuery, zt as formatFileSize } from "../../../redirects-UCXyL0lP.mjs";
|
|
13
|
+
import "../../../byline-fields-BGEIA9dZ.mjs";
|
|
14
|
+
import "../../../status-Bwkeuz8g.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-EnP57AQl.mjs";
|
|
17
|
+
import { n as resolveFieldAllowlist, t as GLOBAL_UPLOAD_ALLOWLIST } from "../../../media-allowlist-rN4qIF6W.mjs";
|
|
18
18
|
import { ulid } from "ulidx";
|
|
19
19
|
import * as path from "node:path";
|
|
20
20
|
|