dineway 0.2.25 → 0.2.26
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{activity-Bm5x0dik.mjs → activity-C6JLcUzM.mjs} +2 -2
- package/dist/{activity-events-DpvhcjTP.mjs → activity-events-u9wIH8CQ.mjs} +1 -1
- package/dist/{allowed-origins-M5Rcl6XL.mjs → allowed-origins-CjTNO3cD.mjs} +1 -1
- package/dist/api/route-utils.d.mts +10 -10
- package/dist/api/route-utils.mjs +13 -13
- package/dist/api/schemas/index.d.mts +1 -1
- package/dist/api/schemas/index.mjs +4 -3
- package/dist/{api-Cod3v4JU.mjs → api-COtLcrtJ.mjs} +16 -16
- package/dist/{api-tokens-BFgXg0l2.mjs → api-tokens-CI5sgE1g.mjs} +1 -1
- package/dist/{apply-Hodkn7PL.mjs → apply-DNy1dp8W.mjs} +20 -18
- package/dist/astro/index.d.mts +11 -11
- package/dist/astro/index.mjs +3 -3
- package/dist/astro/middleware/auth.d.mts +9 -9
- package/dist/astro/middleware/auth.mjs +6 -6
- package/dist/astro/middleware/redirect.mjs +5 -5
- package/dist/astro/middleware/request-context.mjs +2 -2
- package/dist/astro/middleware/seed.d.mts +1 -1
- package/dist/astro/middleware/seed.mjs +1 -1
- package/dist/astro/middleware/setup.mjs +1 -1
- package/dist/astro/middleware.mjs +193 -82
- package/dist/astro/routes/api/admin/allowed-domains/_domain_.mjs +6 -5
- package/dist/astro/routes/api/admin/allowed-domains/index.mjs +6 -5
- package/dist/astro/routes/api/admin/api-tokens/_id_.mjs +4 -4
- package/dist/astro/routes/api/admin/api-tokens/index.mjs +6 -6
- package/dist/astro/routes/api/admin/briefing.mjs +17 -16
- package/dist/astro/routes/api/admin/byline-fields/_slug_/usage.mjs +3 -3
- package/dist/astro/routes/api/admin/byline-fields/_slug_.mjs +8 -7
- package/dist/astro/routes/api/admin/byline-fields/index.mjs +8 -7
- package/dist/astro/routes/api/admin/byline-fields/reorder.mjs +8 -7
- package/dist/astro/routes/api/admin/bylines/_id_/index.mjs +14 -13
- package/dist/astro/routes/api/admin/bylines/_id_/translations.mjs +14 -13
- package/dist/astro/routes/api/admin/bylines/index.mjs +14 -13
- package/dist/astro/routes/api/admin/comments/_id_/status.mjs +12 -11
- package/dist/astro/routes/api/admin/comments/_id_.mjs +5 -5
- package/dist/astro/routes/api/admin/comments/bulk.mjs +10 -9
- package/dist/astro/routes/api/admin/comments/counts.mjs +5 -5
- package/dist/astro/routes/api/admin/comments/index.mjs +10 -9
- package/dist/astro/routes/api/admin/context/_id_/history.mjs +24 -23
- package/dist/astro/routes/api/admin/context/_id_/index.mjs +24 -23
- package/dist/astro/routes/api/admin/context/_id_/review.mjs +29 -28
- package/dist/astro/routes/api/admin/context/_id_/supersede.mjs +29 -28
- package/dist/astro/routes/api/admin/context/diff.mjs +28 -27
- package/dist/astro/routes/api/admin/context/index.mjs +29 -28
- package/dist/astro/routes/api/admin/context/stale.mjs +28 -27
- package/dist/astro/routes/api/admin/hitl-requests/_id_/index.mjs +24 -23
- package/dist/astro/routes/api/admin/hitl-requests/_id_/resolve.mjs +28 -27
- package/dist/astro/routes/api/admin/hitl-requests/index.mjs +28 -27
- package/dist/astro/routes/api/admin/hooks/exclusive/_hookName_.mjs +25 -24
- package/dist/astro/routes/api/admin/hooks/exclusive/index.mjs +2 -2
- package/dist/astro/routes/api/admin/oauth-clients/_id_.mjs +6 -6
- package/dist/astro/routes/api/admin/oauth-clients/index.mjs +6 -6
- package/dist/astro/routes/api/admin/plugins/_id_/disable.mjs +54 -53
- package/dist/astro/routes/api/admin/plugins/_id_/enable.mjs +54 -53
- package/dist/astro/routes/api/admin/plugins/_id_/index.mjs +46 -45
- package/dist/astro/routes/api/admin/plugins/_id_/uninstall.mjs +53 -52
- package/dist/astro/routes/api/admin/plugins/_id_/update.mjs +53 -52
- package/dist/astro/routes/api/admin/plugins/index.mjs +46 -45
- package/dist/astro/routes/api/admin/plugins/marketplace/_id_/icon.mjs +2 -2
- package/dist/astro/routes/api/admin/plugins/marketplace/_id_/index.mjs +46 -45
- package/dist/astro/routes/api/admin/plugins/marketplace/_id_/install.mjs +53 -52
- package/dist/astro/routes/api/admin/plugins/marketplace/index.mjs +46 -45
- package/dist/astro/routes/api/admin/plugins/updates.mjs +46 -45
- package/dist/astro/routes/api/admin/review-requests/_id_/index.mjs +5 -5
- package/dist/astro/routes/api/admin/review-requests/_id_/resolve.mjs +29 -28
- package/dist/astro/routes/api/admin/review-requests/index.mjs +29 -28
- package/dist/astro/routes/api/admin/themes/marketplace/_id_/index.mjs +46 -45
- package/dist/astro/routes/api/admin/themes/marketplace/_id_/thumbnail.mjs +2 -2
- package/dist/astro/routes/api/admin/themes/marketplace/index.mjs +46 -45
- package/dist/astro/routes/api/admin/users/_id_/disable.mjs +1 -1
- package/dist/astro/routes/api/admin/users/_id_/enable.mjs +1 -1
- package/dist/astro/routes/api/admin/users/_id_/index.mjs +6 -5
- package/dist/astro/routes/api/admin/users/_id_/send-recovery.mjs +2 -2
- package/dist/astro/routes/api/admin/users/index.mjs +6 -5
- package/dist/astro/routes/api/auth/dev-bypass.mjs +4 -4
- package/dist/astro/routes/api/auth/invite/accept.mjs +1 -1
- package/dist/astro/routes/api/auth/invite/complete.mjs +10 -9
- package/dist/astro/routes/api/auth/invite/index.mjs +7 -6
- package/dist/astro/routes/api/auth/invite/register-options.mjs +9 -8
- package/dist/astro/routes/api/auth/logout.mjs +2 -2
- package/dist/astro/routes/api/auth/magic-link/send.mjs +9 -8
- package/dist/astro/routes/api/auth/magic-link/verify.mjs +2 -2
- package/dist/astro/routes/api/auth/me.mjs +8 -7
- package/dist/astro/routes/api/auth/mode.mjs +1 -1
- package/dist/astro/routes/api/auth/oauth/_provider_/callback.mjs +2 -2
- package/dist/astro/routes/api/auth/oauth/_provider_.mjs +2 -2
- package/dist/astro/routes/api/auth/passkey/_id_.mjs +6 -5
- package/dist/astro/routes/api/auth/passkey/index.mjs +1 -1
- package/dist/astro/routes/api/auth/passkey/options.mjs +11 -10
- package/dist/astro/routes/api/auth/passkey/register/options.mjs +9 -8
- package/dist/astro/routes/api/auth/passkey/register/verify.mjs +10 -9
- package/dist/astro/routes/api/auth/passkey/verify.mjs +10 -9
- package/dist/astro/routes/api/auth/setup-token/index.mjs +5 -5
- package/dist/astro/routes/api/auth/setup-token/verify.mjs +2 -2
- package/dist/astro/routes/api/auth/signup/complete.mjs +10 -9
- package/dist/astro/routes/api/auth/signup/request.mjs +9 -8
- package/dist/astro/routes/api/auth/signup/verify.mjs +1 -1
- package/dist/astro/routes/api/comments/_collection_/_contentId_/index.mjs +13 -12
- package/dist/astro/routes/api/comments/_collection_/_contentId_/reactions.mjs +12 -11
- package/dist/astro/routes/api/content/_collection_/_id_/compare.mjs +2 -2
- package/dist/astro/routes/api/content/_collection_/_id_/discard-draft.mjs +6 -6
- package/dist/astro/routes/api/content/_collection_/_id_/duplicate.mjs +6 -6
- package/dist/astro/routes/api/content/_collection_/_id_/permanent.mjs +6 -6
- package/dist/astro/routes/api/content/_collection_/_id_/preview-url.mjs +10 -9
- package/dist/astro/routes/api/content/_collection_/_id_/publish.mjs +16 -15
- package/dist/astro/routes/api/content/_collection_/_id_/release-readiness.mjs +8 -7
- package/dist/astro/routes/api/content/_collection_/_id_/restore.mjs +6 -6
- package/dist/astro/routes/api/content/_collection_/_id_/revisions.mjs +2 -2
- package/dist/astro/routes/api/content/_collection_/_id_/schedule.mjs +16 -15
- package/dist/astro/routes/api/content/_collection_/_id_/terms/_taxonomy_.mjs +13 -12
- package/dist/astro/routes/api/content/_collection_/_id_/translations.mjs +2 -2
- package/dist/astro/routes/api/content/_collection_/_id_/unpublish.mjs +6 -6
- package/dist/astro/routes/api/content/_collection_/_id_.mjs +11 -10
- package/dist/astro/routes/api/content/_collection_/authors.mjs +2 -2
- package/dist/astro/routes/api/content/_collection_/index.mjs +11 -10
- package/dist/astro/routes/api/content/_collection_/trash.mjs +7 -6
- package/dist/astro/routes/api/dashboard.mjs +8 -8
- package/dist/astro/routes/api/dev/emails.mjs +2 -2
- package/dist/astro/routes/api/health.mjs +1 -1
- package/dist/astro/routes/api/import/probe.d.mts +3 -3
- package/dist/astro/routes/api/import/probe.mjs +18 -17
- package/dist/astro/routes/api/import/wordpress/analyze.mjs +9 -8
- package/dist/astro/routes/api/import/wordpress/execute.d.mts +9 -9
- package/dist/astro/routes/api/import/wordpress/execute.mjs +33 -32
- package/dist/astro/routes/api/import/wordpress/media.d.mts +9 -9
- package/dist/astro/routes/api/import/wordpress/media.mjs +10 -9
- package/dist/astro/routes/api/import/wordpress/prepare.mjs +32 -31
- package/dist/astro/routes/api/import/wordpress/rewrite-urls.d.mts +10 -10
- package/dist/astro/routes/api/import/wordpress/rewrite-urls.mjs +29 -28
- package/dist/astro/routes/api/import/wordpress-plugin/analyze.d.mts +1 -1
- package/dist/astro/routes/api/import/wordpress-plugin/analyze.mjs +21 -20
- package/dist/astro/routes/api/import/wordpress-plugin/execute.d.mts +9 -9
- package/dist/astro/routes/api/import/wordpress-plugin/execute.mjs +37 -36
- package/dist/astro/routes/api/integrations/_provider_.mjs +6 -6
- package/dist/astro/routes/api/integrations/index.mjs +5 -5
- package/dist/astro/routes/api/manifest.mjs +4 -4
- package/dist/astro/routes/api/mcp.mjs +66 -65
- package/dist/astro/routes/api/media/_id_/confirm.mjs +9 -8
- package/dist/astro/routes/api/media/_id_.mjs +8 -7
- package/dist/astro/routes/api/media/file/_...key_.mjs +1 -1
- package/dist/astro/routes/api/media/providers/_providerId_/_itemId_.mjs +2 -2
- package/dist/astro/routes/api/media/providers/_providerId_/index.mjs +2 -2
- package/dist/astro/routes/api/media/providers/index.mjs +2 -2
- package/dist/astro/routes/api/media/upload-url.mjs +10 -9
- package/dist/astro/routes/api/media.mjs +11 -10
- package/dist/astro/routes/api/menus/_name_/items/_id_.mjs +29 -28
- package/dist/astro/routes/api/menus/_name_/items.mjs +29 -28
- package/dist/astro/routes/api/menus/_name_/reorder.mjs +29 -28
- package/dist/astro/routes/api/menus/_name_/translations.mjs +29 -28
- package/dist/astro/routes/api/menus/_name_.mjs +29 -28
- package/dist/astro/routes/api/menus/index.mjs +29 -28
- package/dist/astro/routes/api/oauth/authorize.mjs +7 -7
- package/dist/astro/routes/api/oauth/device/authorize.mjs +6 -6
- package/dist/astro/routes/api/oauth/device/code.mjs +9 -9
- package/dist/astro/routes/api/oauth/device/token.mjs +8 -8
- package/dist/astro/routes/api/oauth/register.mjs +4 -4
- package/dist/astro/routes/api/oauth/token/refresh.mjs +6 -6
- package/dist/astro/routes/api/oauth/token/revoke.mjs +6 -6
- package/dist/astro/routes/api/oauth/token.mjs +6 -6
- package/dist/astro/routes/api/openapi.json.mjs +5 -4
- package/dist/astro/routes/api/plugins/_pluginId_/_...path_.mjs +4 -4
- package/dist/astro/routes/api/redirects/404s/index.mjs +10 -9
- package/dist/astro/routes/api/redirects/404s/summary.mjs +10 -9
- package/dist/astro/routes/api/redirects/_id_.mjs +30 -29
- package/dist/astro/routes/api/redirects/index.mjs +30 -29
- package/dist/astro/routes/api/revisions/_revisionId_/index.mjs +2 -2
- package/dist/astro/routes/api/revisions/_revisionId_/restore.mjs +2 -2
- package/dist/astro/routes/api/schema/collections/_slug_/fields/_fieldSlug_.mjs +48 -47
- package/dist/astro/routes/api/schema/collections/_slug_/fields/index.mjs +48 -47
- package/dist/astro/routes/api/schema/collections/_slug_/fields/reorder.mjs +48 -47
- package/dist/astro/routes/api/schema/collections/_slug_/index.mjs +48 -47
- package/dist/astro/routes/api/schema/collections/index.mjs +48 -47
- package/dist/astro/routes/api/schema/index.mjs +8 -7
- package/dist/astro/routes/api/schema/orphans/_slug_.mjs +46 -45
- package/dist/astro/routes/api/schema/orphans/index.mjs +46 -45
- package/dist/astro/routes/api/search/enable.mjs +11 -10
- package/dist/astro/routes/api/search/index.mjs +10 -9
- package/dist/astro/routes/api/search/rebuild.mjs +11 -10
- package/dist/astro/routes/api/search/stats.mjs +6 -6
- package/dist/astro/routes/api/search/suggest.mjs +10 -9
- package/dist/astro/routes/api/sections/_slug_.mjs +29 -28
- package/dist/astro/routes/api/sections/index.mjs +29 -28
- package/dist/astro/routes/api/settings/email.mjs +3 -3
- package/dist/astro/routes/api/settings.mjs +29 -28
- package/dist/astro/routes/api/setup/admin-verify.mjs +12 -11
- package/dist/astro/routes/api/setup/admin.mjs +10 -9
- package/dist/astro/routes/api/setup/dev-bypass.mjs +24 -23
- package/dist/astro/routes/api/setup/dev-reset.mjs +1 -1
- package/dist/astro/routes/api/setup/index.mjs +25 -24
- package/dist/astro/routes/api/setup/status.mjs +3 -3
- package/dist/astro/routes/api/snapshot.mjs +6 -6
- package/dist/astro/routes/api/taxonomies/_name_/terms/_slug_/translations.mjs +32 -31
- package/dist/astro/routes/api/taxonomies/_name_/terms/_slug_.mjs +32 -31
- package/dist/astro/routes/api/taxonomies/_name_/terms/index.mjs +32 -31
- package/dist/astro/routes/api/taxonomies/index.mjs +32 -31
- package/dist/astro/routes/api/themes/preview.mjs +4 -4
- package/dist/astro/routes/api/typegen.mjs +4 -4
- package/dist/astro/routes/api/well-known/auth.mjs +2 -2
- package/dist/astro/routes/api/well-known/oauth-authorization-server.mjs +3 -3
- package/dist/astro/routes/api/well-known/oauth-protected-resource.mjs +3 -3
- package/dist/astro/routes/api/widget-areas/_name_/reorder.mjs +28 -27
- package/dist/astro/routes/api/widget-areas/_name_/widgets/_id_.mjs +29 -28
- package/dist/astro/routes/api/widget-areas/_name_/widgets.mjs +29 -28
- package/dist/astro/routes/api/widget-areas/_name_.mjs +26 -25
- package/dist/astro/routes/api/widget-areas/index.mjs +29 -28
- package/dist/astro/routes/api/widget-components.mjs +2 -2
- package/dist/astro/routes/robots.txt.mjs +5 -5
- package/dist/astro/routes/sitemap-_collection_.xml.mjs +12 -11
- package/dist/astro/routes/sitemap.xml.mjs +11 -10
- package/dist/astro/session-driver.d.mts +1 -1
- package/dist/astro/session-driver.mjs +2 -2
- package/dist/astro/types.d.mts +13 -12
- package/dist/{audit-nenmMR-2.mjs → audit-BGHS3IuK.mjs} +1 -1
- package/dist/auth/providers/github.d.mts +1 -1
- package/dist/auth/providers/google.d.mts +1 -1
- package/dist/{auth-control-guard-B7PdECn6.mjs → auth-control-guard-BQLSUQd7.mjs} +1 -1
- package/dist/{authorize-DTvHe9bm.mjs → authorize-D8etr-1g.mjs} +1 -1
- package/dist/{briefing-CpU_z8qH.mjs → briefing-DcDVI-0v.mjs} +5 -5
- package/dist/{briefing-PxagUoJJ.mjs → briefing-Yao75K3z.mjs} +1 -1
- package/dist/{bundle-dsO2-7eh.mjs → bundle-MGZ2MLSb.mjs} +2 -2
- package/dist/{byline-DEBDPF8R.mjs → byline-CbFno1Kd.mjs} +4 -4
- package/dist/{byline-fields-BQRx17y_.mjs → byline-fields-C0IOddTf.mjs} +1 -1
- package/dist/{byline-fields-HoyRUnBy.d.mts → byline-fields-CjCCA-Wn.d.mts} +36 -12
- package/dist/{bylines-C7hm1-iI.mjs → bylines-BotyuTdY.mjs} +3 -3
- package/dist/{bylines-YK6eGHvV.mjs → bylines-DXXMlc1A.mjs} +5 -5
- package/dist/{cache-BuVpjvBc.mjs → cache-Cf5yPNNw.mjs} +1 -1
- package/dist/{chunks-B-1_U3oF.mjs → chunks-Dh8yqZt3.mjs} +1 -1
- package/dist/cli/index.mjs +29 -27
- package/dist/cli/plugin-kit.d.mts +9 -9
- package/dist/cli/plugin-kit.mjs +2 -2
- package/dist/client/external-auth-headers.d.mts +1 -1
- package/dist/client/index.d.mts +11 -11
- package/dist/client/index.mjs +2 -2
- package/dist/{client-factory-Nyp2sznG.mjs → client-factory-BDDerNBz.mjs} +1 -1
- package/dist/{comment-BX6H4NF-.mjs → comment-eqM9KHbj.mjs} +1 -1
- package/dist/{comment-reaction-QSENU_3S.mjs → comment-reaction-mHuRHspq.mjs} +1 -1
- package/dist/{comments-BHSYG53k.mjs → comments-BFbF0xaG.mjs} +1 -1
- package/dist/{content-Bg_hMt4Q.mjs → content-C0qGd2Nt.mjs} +2 -2
- package/dist/{content-refresh-CHBBZGwf.mjs → content-refresh-BkGWtwUN.mjs} +2 -2
- package/dist/{context-BGt7zfQ-.mjs → context-BEgiPeP-.mjs} +8 -8
- package/dist/{context-BHXgPEPC.mjs → context-CnCdZ2xZ.mjs} +2 -2
- package/dist/{context-route-helpers-SwM-_GT4.mjs → context-route-helpers-CXxj6-jq.mjs} +2 -2
- package/dist/{dashboard-ByLUL4c3.mjs → dashboard-B8Sk45s8.mjs} +4 -4
- package/dist/db/index.d.mts +3 -3
- package/dist/db/index.mjs +1 -1
- package/dist/db/libsql.d.mts +1 -1
- package/dist/db/postgres.d.mts +1 -1
- package/dist/db/sqlite.d.mts +1 -1
- package/dist/{device-flow-XqdFNsv_.mjs → device-flow-DCbF6FAE.mjs} +4 -4
- package/dist/{discovery-DvuRcbP-.mjs → discovery-CUX99M46.mjs} +7 -3
- package/dist/{field-defs-cache-sSdDeJXP.mjs → field-defs-cache-7Ka899yA.mjs} +1 -1
- package/dist/{fts-manager-C7pxxk6B.mjs → fts-manager-D4K5mA0j.mjs} +1 -1
- package/dist/{hitl-requests-D7pfIM6q.mjs → hitl-requests-DU4wJSml.mjs} +2 -2
- package/dist/{hitl-route-helpers-Br9uvIQs.mjs → hitl-route-helpers-CkRqaLaJ.mjs} +5 -5
- package/dist/{import-CrsquhXj.mjs → import-BcSW07F1.mjs} +7 -7
- package/dist/{index-NdJMMO48.d.mts → index-C7X4h_27.d.mts} +3 -3
- package/dist/index.d.mts +16 -16
- package/dist/index.mjs +76 -75
- package/dist/{integration-credentials-B7Pj6YCv.mjs → integration-credentials-ylo0bguS.mjs} +2 -2
- package/dist/{jsonld-CfUj_enm.d.mts → jsonld-thSA4Rua.d.mts} +2 -2
- package/dist/{load-Bul8Tk6e.mjs → load-B1cm00WU.mjs} +1 -1
- package/dist/{loader-BCr2VSzt.mjs → loader-CsX5pTud.mjs} +2 -2
- package/dist/{manifest-schema-U5qGq-iB.mjs → manifest-schema-VGSvatoU.mjs} +1 -1
- package/dist/{mcp-reviewed-executor-C1lIimd0.mjs → mcp-reviewed-executor-lqfDtcFo.mjs} +5 -5
- package/dist/media/index.d.mts +1 -1
- package/dist/media/local-runtime.d.mts +11 -11
- package/dist/media/local-runtime.mjs +2 -2
- package/dist/{media-D8pQJSug.mjs → media-DNde5-Am.mjs} +1 -1
- package/dist/{menus-DSWeEWXl.mjs → menus-D_pqSYJ3.mjs} +5 -5
- package/dist/{menus-3B-PGTX3.mjs → menus-oIJaGGUU.mjs} +1 -1
- package/dist/{oauth-authorization-CMU5kREy.mjs → oauth-authorization-DHeVHdGr.mjs} +4 -4
- package/dist/{oauth-clients-CLdR0WyA.mjs → oauth-clients-8cVhd-8W.mjs} +2 -2
- package/dist/object-cache/memory.d.mts +1 -1
- package/dist/page/index.d.mts +10 -10
- package/dist/page/index.mjs +1 -1
- package/dist/{parse-DEG06jjr.mjs → parse-RN_EgAxL.mjs} +1 -1
- package/dist/plugin-utils.d.mts +9 -9
- package/dist/plugins/adapt-sandbox-entry.d.mts +9 -9
- package/dist/plugins/adapt-sandbox-entry.mjs +1 -1
- package/dist/{plugins-D8YxTh9q.mjs → plugins-DMImBiT9.mjs} +5 -5
- package/dist/{preview-Bn59ztjn.mjs → preview-DDtW5YuZ.mjs} +2 -2
- package/dist/{provider-loader-jdkZM6xZ.d.mts → provider-loader-DZ9uy48J.d.mts} +1 -1
- package/dist/public-discovery-BlJ80Hoh.mjs +30 -0
- package/dist/{public-url-DifBmsDt.d.mts → public-url-Binfty0i.d.mts} +1 -1
- package/dist/{public-url-DFX2c_20.d.mts → public-url-BuERxOoY.d.mts} +17 -2
- package/dist/{publication-authorization-BmazS4K0.mjs → publication-authorization-DYAGeWto.mjs} +15 -10
- package/dist/{query-CrUftarl.mjs → query-DzsPhsZk.mjs} +12 -12
- package/dist/{query-DPC5GT6e.mjs → query-qvv6Rar8.mjs} +2 -2
- package/dist/{rate-limit-DvGL45wH.mjs → rate-limit-BIuuIxP3.mjs} +2 -2
- package/dist/{redirect-8B-gorhg.mjs → redirect-B_9GwIZd.mjs} +1 -1
- package/dist/{redirects-DdPaQiWQ.mjs → redirects-Cj4lrY_X.mjs} +6 -2
- package/dist/{redirects-D2SVS1zo.mjs → redirects-DvsWZIiC.mjs} +3 -3
- package/dist/{registry-D3n4-yUl.mjs → registry-BwcF6gAj.mjs} +11 -5
- package/dist/{request-meta-DZTiCIQR.mjs → request-meta-C0druWvK.mjs} +1 -1
- package/dist/{review-requests-BQbmYLnz.mjs → review-requests-B2tCLjdA.mjs} +2 -2
- package/dist/{review-requests-D5CJ4JCy.mjs → review-requests-Bo4jcxtU.mjs} +1 -1
- package/dist/{review-route-helpers-DYiujAPM.mjs → review-route-helpers-CeYzVpNa.mjs} +2 -2
- package/dist/{runner-BWZ87FK-.mjs → runner-CQnzfBpD.mjs} +475 -461
- package/dist/{runner-BITx7yBF.d.mts → runner-DnswPQIl.d.mts} +1 -1
- package/dist/runtime.d.mts +10 -10
- package/dist/runtime.mjs +3 -3
- package/dist/schema-86uC3yVE.mjs +8 -0
- package/dist/{search-B_ir6H6m.mjs → search-CeXUu1KD.mjs} +3 -3
- package/dist/{sections-pRy07N5I.mjs → sections-BQdtDQUw.mjs} +2 -2
- package/dist/seed/index.d.mts +2 -2
- package/dist/seed/index.mjs +18 -17
- package/dist/seo/index.d.mts +4 -4
- package/dist/seo/index.mjs +8 -7
- package/dist/{seo-DdNntVj-.mjs → seo-BVmdKP7v.mjs} +1 -1
- package/dist/{seo-C4nlxiaY.mjs → seo-BpuKUrBs.mjs} +1 -1
- package/dist/{service-D6fJX7D7.mjs → service-CSeV_04p.mjs} +2 -2
- package/dist/{settings-C4OMR0zf.mjs → settings-ClnGCe1a.mjs} +2 -2
- package/dist/{settings-D-a7uy2z.mjs → settings-DXp6vRdV.mjs} +3 -3
- package/dist/{site-activity-CnrmnFRy.mjs → site-activity-By0wWO0g.mjs} +1 -1
- package/dist/{site-context-Bdsobbh9.mjs → site-context-DRSrU7hX.mjs} +14 -14
- package/dist/storage/local.d.mts +1 -1
- package/dist/storage/local.mjs +1 -1
- package/dist/storage/s3.d.mts +1 -1
- package/dist/storage/s3.mjs +1 -1
- package/dist/{store-DerEE3jG.mjs → store-C6bydUdt.mjs} +1 -1
- package/dist/{taxonomies-6bWkaa_G.mjs → taxonomies-CHHgZFzB.mjs} +3 -3
- package/dist/{taxonomies-FKTevd14.mjs → taxonomies-Dfmkapin.mjs} +5 -5
- package/dist/{taxonomy-BU0eCfij.mjs → taxonomy-BUo9B6qp.mjs} +2 -2
- package/dist/{types-C9F2TLQV.mjs → types-CFvpEEOl.mjs} +1 -1
- package/dist/{types-B6r_SMeR.d.mts → types-DCkWipbM.d.mts} +1 -1
- package/dist/{types-B2kbOwSj.d.mts → types-VkWKA-R2.d.mts} +12 -1
- package/dist/{types-BkQ-l1Y5.d.mts → types-ZDyMKdrZ.d.mts} +51 -24
- package/dist/{types-C8cUW9dh.d.mts → types-gG3syKwc.d.mts} +1 -0
- package/dist/ui/server-runtime.d.mts +13 -13
- package/dist/ui/server-runtime.mjs +21 -20
- package/dist/{user-BV02bsWz.mjs → user-BprdjWGE.mjs} +2 -2
- package/dist/{validate-Drps_jbV.mjs → validate-Cdvc9APD.mjs} +7 -1
- package/dist/{validate-Bc9gaua6.d.mts → validate-SXACKtqW.d.mts} +4 -3
- package/dist/version-BjNGau7O.mjs +6 -0
- package/dist/{widgets-BFqy7PYs.mjs → widgets-DMzBMhsO.mjs} +2 -2
- package/dist/{zod-generator-BlY_vGgR.mjs → zod-generator-C0nwBbg8.mjs} +1 -1
- package/package.json +3 -3
- package/dist/schema-kk9-6bUd.mjs +0 -8
- package/dist/version-BohmuXyf.mjs +0 -6
- /package/dist/{actor-D3A5PNkH.mjs → actor-Bu9whHez.mjs} +0 -0
- /package/dist/{adapters-DUVI3Mpc.d.mts → adapters-BZWb3OVu.d.mts} +0 -0
- /package/dist/{api-tokens-CbMAy6xF.mjs → api-tokens-BkXlt3V6.mjs} +0 -0
- /package/dist/{byline-fields-DPi4Ri_5.mjs → byline-fields-CS1Hi2N4.mjs} +0 -0
- /package/dist/{challenge-store-DtdQHXf5.mjs → challenge-store-DvRxUsXv.mjs} +0 -0
- /package/dist/{components-DGu-rih7.mjs → components-D5HxUv7y.mjs} +0 -0
- /package/dist/{cron-BjKHo0QD.mjs → cron-fQf7oVvf.mjs} +0 -0
- /package/dist/{default-CO47mlSA.mjs → default-CnbyLh9W.mjs} +0 -0
- /package/dist/{email-console-CFE1ay18.mjs → email-console-vFj2FFuJ.mjs} +0 -0
- /package/dist/{error-Jz0EtEwI.mjs → error-DWL9Pwyt.mjs} +0 -0
- /package/dist/{escape-HmHTC1Is.mjs → escape-DBggE3jq.mjs} +0 -0
- /package/dist/{experimental-workflows-EYZRNkRR.mjs → experimental-workflows-Dvn_xgew.mjs} +0 -0
- /package/dist/{media-allowlist-9u_gxMG2.mjs → media-allowlist-D3AHS_q3.mjs} +0 -0
- /package/dist/{media-url-DVoOhf4X.mjs → media-url-LSeVcoln.mjs} +0 -0
- /package/dist/{mode-DqpBaEOy.mjs → mode-DYsXVFoY.mjs} +0 -0
- /package/dist/{oauth-state-store-HdGg_nSm.mjs → oauth-state-store-CUU4azTF.mjs} +0 -0
- /package/dist/{oauth-user-lookup-CP16vyFW.mjs → oauth-user-lookup-CRFHKN_W.mjs} +0 -0
- /package/dist/{output-CXOC3BFr.mjs → output-13u4dvu-.mjs} +0 -0
- /package/dist/{parser-buoH2frr.mjs → parser-Co69H1x-.mjs} +0 -0
- /package/dist/{passkey-config-T47FwLtS.mjs → passkey-config-e-0KLl2R.mjs} +0 -0
- /package/dist/{placeholder-BsYSFPjY.d.mts → placeholder-DeJydgkj.d.mts} +0 -0
- /package/dist/{portable-text-Dm0bgrdZ.d.mts → portable-text-B7E-ali_.d.mts} +0 -0
- /package/dist/{portable-text-DQHE3b5v.mjs → portable-text-C8Tvp4_g.mjs} +0 -0
- /package/dist/{provider-loader-Dxka0BDp.mjs → provider-loader-BIxppPHS.mjs} +0 -0
- /package/dist/{public-url-CIAtNGEg.mjs → public-url-jFEiiLag.mjs} +0 -0
- /package/dist/{redirect-CzqnLxK-.mjs → redirect-C2bJtYhP.mjs} +0 -0
- /package/dist/{resolve-CThKf9_X.mjs → resolve-Doh2USIE.mjs} +0 -0
- /package/dist/{review-payload-BysRWpxS.mjs → review-payload-Cg9dtFgV.mjs} +0 -0
- /package/dist/{secrets-Dw3lXI42.mjs → secrets-re9BzPUD.mjs} +0 -0
- /package/dist/{seo-contributions-BGBehNCN.mjs → seo-contributions-CPDwm9MH.mjs} +0 -0
- /package/dist/{service-DOdvCW-9.mjs → service-CY0aH6eI.mjs} +0 -0
- /package/dist/{session-user-CYjNeJoD.mjs → session-user-DTopk3zO.mjs} +0 -0
- /package/dist/{setup-complete-Blqo_adb.mjs → setup-complete-BcjodOdW.mjs} +0 -0
- /package/dist/{setup-nonce-CGUTFWgQ.mjs → setup-nonce-C76FNEst.mjs} +0 -0
- /package/dist/{sidecar-client-C6ylL-0S.mjs → sidecar-client-CQF4fcO7.mjs} +0 -0
- /package/dist/{site-url-CK5vBdFu.mjs → site-url-C1PUhgWO.mjs} +0 -0
- /package/dist/{ssrf-Dz2hqAiG.mjs → ssrf-CxOWiF0p.mjs} +0 -0
- /package/dist/{status-xz9JACSX.mjs → status-DvSRKIiF.mjs} +0 -0
- /package/dist/{tokens-DiodRT2y.mjs → tokens-COJxRo8q.mjs} +0 -0
- /package/dist/{transport-zquJ7Bzm.mjs → transport-BDQ73F0l.mjs} +0 -0
- /package/dist/{transport-DKy93p6V.d.mts → transport-BfF60P73.d.mts} +0 -0
- /package/dist/{trusted-proxy-NySPw95m.mjs → trusted-proxy-j2KYPN4r.mjs} +0 -0
- /package/dist/{types-DY9lJRpo.d.mts → types-B0P-ECRI.d.mts} +0 -0
- /package/dist/{types-C2LBO0t8.d.mts → types-C0hcZkqG.d.mts} +0 -0
- /package/dist/{types-BaKec6bx.d.mts → types-Cnz2EIEp.d.mts} +0 -0
- /package/dist/{types-ftxcMx5-.mjs → types-DA4L0OLk.mjs} +0 -0
- /package/dist/{types-Gd4kXLsa.d.mts → types-DN82MbYv.d.mts} +0 -0
- /package/dist/{types-C1LdZbQb.mjs → types-gnLXQcvx.mjs} +0 -0
- /package/dist/{url-C05Zz4pW.mjs → url-BG-3f-Vy.mjs} +0 -0
- /package/dist/{url-guoXQQcV.mjs → url-Bm__30we.mjs} +0 -0
- /package/dist/{utils-BPzpVHqR.mjs → utils-D_bwAtcb.mjs} +0 -0
- /package/dist/{wordpress-slugs-fMvfO22_.mjs → wordpress-slugs-CuizIp_V.mjs} +0 -0
|
@@ -1,99 +1,102 @@
|
|
|
1
|
-
import { i as runMigrations } from "../runner-
|
|
1
|
+
import { i as runMigrations } from "../runner-CQnzfBpD.mjs";
|
|
2
2
|
import "../connection-CiJWiWya.mjs";
|
|
3
3
|
import { t as validateIdentifier } from "../validate-VPnKoIzW.mjs";
|
|
4
4
|
import { s as isSqlite } from "../dialect-helpers-fk43GbDb.mjs";
|
|
5
5
|
import { i as setI18nConfig } from "../config-CVssduLe.mjs";
|
|
6
|
-
import { _ as DEFAULT_PLUGIN_RAW_BODY_LIMIT_BYTES, d as EmailPipeline, g as definePlugin, h as runPluginMigrations, m as resolveExclusiveHooks, p as createHookPipeline, u as PluginRouteRegistry, v as readBoundedPluginRouteBody } from "../plugins-
|
|
6
|
+
import { _ as DEFAULT_PLUGIN_RAW_BODY_LIMIT_BYTES, d as EmailPipeline, g as definePlugin, h as runPluginMigrations, m as resolveExclusiveHooks, p as createHookPipeline, u as PluginRouteRegistry, v as readBoundedPluginRouteBody } from "../plugins-DMImBiT9.mjs";
|
|
7
7
|
import { createRequestMetrics, getRequestContext, runWithContext } from "../request-context.mjs";
|
|
8
8
|
import { createRecorder, flushRecorder, formatServerTimingHeader, isInstrumentationEnabled, isServerTimingEnabled, kyselyLogOption } from "../database/instrumentation.mjs";
|
|
9
9
|
import "../base64-F8-DUraK.mjs";
|
|
10
|
-
import "../types-
|
|
11
|
-
import { o as isMissingTableError, r as getDb } from "../loader-
|
|
10
|
+
import "../types-CFvpEEOl.mjs";
|
|
11
|
+
import { o as isMissingTableError, r as getDb } from "../loader-CsX5pTud.mjs";
|
|
12
12
|
import { t as after } from "../after-BfniwgIf.mjs";
|
|
13
13
|
import "../object-cache-D51qOseS.mjs";
|
|
14
|
-
import { r as RevisionRepository, t as ContentRepository } from "../content-
|
|
15
|
-
import { t as MediaRepository } from "../media-
|
|
16
|
-
import "../user-
|
|
17
|
-
import "../taxonomy-
|
|
18
|
-
import "../comment-
|
|
14
|
+
import { r as RevisionRepository, t as ContentRepository } from "../content-C0qGd2Nt.mjs";
|
|
15
|
+
import { t as MediaRepository } from "../media-DNde5-Am.mjs";
|
|
16
|
+
import "../user-BprdjWGE.mjs";
|
|
17
|
+
import "../taxonomy-BUo9B6qp.mjs";
|
|
18
|
+
import "../comment-eqM9KHbj.mjs";
|
|
19
19
|
import { t as OptionsRepository } from "../options-DQPTH5n0.mjs";
|
|
20
|
-
import "../audit-
|
|
21
|
-
import "../site-activity-
|
|
22
|
-
import "../review-requests-
|
|
23
|
-
import { n as PublicationAuthorizationService, t as PublicationAuthorizationError } from "../publication-authorization-
|
|
24
|
-
import "../site-context-
|
|
25
|
-
import { t as PluginContextFactory } from "../context-
|
|
26
|
-
import "../menus-
|
|
27
|
-
import "../redirect-
|
|
20
|
+
import "../audit-BGHS3IuK.mjs";
|
|
21
|
+
import "../site-activity-By0wWO0g.mjs";
|
|
22
|
+
import { t as ReviewRequestRepository } from "../review-requests-Bo4jcxtU.mjs";
|
|
23
|
+
import { c as ContentReleaseGrantRepository, n as PublicationAuthorizationService, r as publicationReceipt, t as PublicationAuthorizationError } from "../publication-authorization-DYAGeWto.mjs";
|
|
24
|
+
import "../site-context-DRSrU7hX.mjs";
|
|
25
|
+
import { t as PluginContextFactory } from "../context-BEgiPeP-.mjs";
|
|
26
|
+
import "../menus-oIJaGGUU.mjs";
|
|
27
|
+
import "../redirect-B_9GwIZd.mjs";
|
|
28
28
|
import { r as requestCached } from "../request-cache-CBFjCwSt.mjs";
|
|
29
29
|
import "../byline-registry-BLgrU3dA.mjs";
|
|
30
30
|
import { a as initWithLock, i as createInitLock, r as processCachedAsync, t as createProcessCache } from "../process-cache-CCDgti7j.mjs";
|
|
31
|
-
import "../field-defs-cache-
|
|
32
|
-
import "../byline-
|
|
31
|
+
import "../field-defs-cache-7Ka899yA.mjs";
|
|
32
|
+
import "../byline-CbFno1Kd.mjs";
|
|
33
33
|
import { n as normalizeMediaValue } from "../normalize-Cyt7JdF7.mjs";
|
|
34
34
|
import "../enrich-Ck9tfMqe.mjs";
|
|
35
|
-
import "../seo-
|
|
36
|
-
import { $ as handleContentUpdate, A as handleRevisionGet, B as handleContentDiscardDraft, D as handleMediaGet, E as handleMediaDelete, F as handleContentCompare, G as handleContentListTrashed, H as handleContentGet, I as handleContentCountScheduled, J as handleContentRestore, K as handleContentPermanentDelete, L as handleContentCountTrashed, M as handleRevisionRestore, O as handleMediaList, P as handleContentAuthors, Q as handleContentUnschedule, R as handleContentCreate, T as handleMediaCreate, U as handleContentGetIncludingTrashed, V as handleContentDuplicate, W as handleContentList, X as handleContentTranslations, Y as handleContentSchedule, Z as handleContentUnpublish, d as createPluginBundleStore, et as
|
|
37
|
-
import "../dashboard-
|
|
38
|
-
import { u as PluginStateRepository } from "../briefing-
|
|
35
|
+
import "../seo-BpuKUrBs.mjs";
|
|
36
|
+
import { $ as handleContentUpdate, A as handleRevisionGet, B as handleContentDiscardDraft, D as handleMediaGet, E as handleMediaDelete, F as handleContentCompare, G as handleContentListTrashed, H as handleContentGet, I as handleContentCountScheduled, J as handleContentRestore, K as handleContentPermanentDelete, L as handleContentCountTrashed, M as handleRevisionRestore, O as handleMediaList, P as handleContentAuthors, Q as handleContentUnschedule, R as handleContentCreate, T as handleMediaCreate, U as handleContentGetIncludingTrashed, V as handleContentDuplicate, W as handleContentList, X as handleContentTranslations, Y as handleContentSchedule, Z as handleContentUnpublish, d as createPluginBundleStore, et as decodeRev, j as handleRevisionList, k as handleMediaUpdate, q as handleContentPublish, tt as validateRev, z as handleContentDelete } from "../api-COtLcrtJ.mjs";
|
|
37
|
+
import "../dashboard-B8Sk45s8.mjs";
|
|
38
|
+
import { u as PluginStateRepository } from "../briefing-DcDVI-0v.mjs";
|
|
39
39
|
import "../context-types-eBuMDAg-.mjs";
|
|
40
|
-
import { i as markContentMediaUsageCollectionStale, o as refreshContentMediaUsageAfterWrite, r as findNonTranslatableSiblingContentIds, t as deleteContentMediaUsage } from "../content-refresh-
|
|
40
|
+
import { i as markContentMediaUsageCollectionStale, o as refreshContentMediaUsageAfterWrite, r as findNonTranslatableSiblingContentIds, t as deleteContentMediaUsage } from "../content-refresh-BkGWtwUN.mjs";
|
|
41
41
|
import { n as hashString } from "../hash-mxxx2oPW.mjs";
|
|
42
|
-
import { t as FTSManager } from "../fts-manager-
|
|
43
|
-
import
|
|
44
|
-
import {
|
|
45
|
-
import "../
|
|
46
|
-
import "../
|
|
47
|
-
import "../
|
|
48
|
-
import {
|
|
49
|
-
import "../
|
|
50
|
-
import "../
|
|
51
|
-
import "../
|
|
52
|
-
import "../
|
|
53
|
-
import "../
|
|
54
|
-
import "../
|
|
55
|
-
import "../
|
|
56
|
-
import "../
|
|
57
|
-
import "../
|
|
58
|
-
import
|
|
59
|
-
import "../
|
|
60
|
-
import "../
|
|
61
|
-
import "../
|
|
62
|
-
import "../
|
|
63
|
-
import "../
|
|
64
|
-
import
|
|
65
|
-
import "../
|
|
66
|
-
import "../
|
|
67
|
-
import "../
|
|
68
|
-
import "../
|
|
69
|
-
import
|
|
70
|
-
import "../
|
|
71
|
-
import {
|
|
72
|
-
import "../
|
|
73
|
-
import "../
|
|
74
|
-
import
|
|
75
|
-
import "../
|
|
76
|
-
import { n as
|
|
77
|
-
import
|
|
78
|
-
import "../
|
|
79
|
-
import {
|
|
80
|
-
import "../
|
|
81
|
-
import "../
|
|
82
|
-
import {
|
|
83
|
-
import "../
|
|
84
|
-
import "../
|
|
85
|
-
import "../
|
|
86
|
-
import "../
|
|
87
|
-
import "../
|
|
88
|
-
import "../
|
|
89
|
-
import "../
|
|
90
|
-
import "../
|
|
91
|
-
import "../
|
|
92
|
-
import "../
|
|
42
|
+
import { t as FTSManager } from "../fts-manager-D4K5mA0j.mjs";
|
|
43
|
+
import "../public-discovery-BlJ80Hoh.mjs";
|
|
44
|
+
import { n as SchemaRegistry } from "../registry-BwcF6gAj.mjs";
|
|
45
|
+
import { r as createPublicMediaUrlResolver } from "../url-Bm__30we.mjs";
|
|
46
|
+
import "../settings-DXp6vRdV.mjs";
|
|
47
|
+
import "../briefing-Yao75K3z.mjs";
|
|
48
|
+
import { t as ReviewPayloadBuilder } from "../review-payload-Cg9dtFgV.mjs";
|
|
49
|
+
import "../review-requests-B2tCLjdA.mjs";
|
|
50
|
+
import { n as VERSION, t as COMMIT } from "../version-BjNGau7O.mjs";
|
|
51
|
+
import "../query-qvv6Rar8.mjs";
|
|
52
|
+
import "../zod-generator-C0nwBbg8.mjs";
|
|
53
|
+
import "../schema-86uC3yVE.mjs";
|
|
54
|
+
import "../discovery-CUX99M46.mjs";
|
|
55
|
+
import "../seo-BVmdKP7v.mjs";
|
|
56
|
+
import "../bylines-BotyuTdY.mjs";
|
|
57
|
+
import "../byline-fields-CS1Hi2N4.mjs";
|
|
58
|
+
import "../sections-BQdtDQUw.mjs";
|
|
59
|
+
import "../settings-ClnGCe1a.mjs";
|
|
60
|
+
import { o as validateEncryptionKeyAtStartup } from "../secrets-re9BzPUD.mjs";
|
|
61
|
+
import "../store-C6bydUdt.mjs";
|
|
62
|
+
import "../integration-credentials-ylo0bguS.mjs";
|
|
63
|
+
import "../resolve-Doh2USIE.mjs";
|
|
64
|
+
import "../taxonomies-Dfmkapin.mjs";
|
|
65
|
+
import "../taxonomies-CHHgZFzB.mjs";
|
|
66
|
+
import { r as normalizeManifestRoute } from "../manifest-schema-VGSvatoU.mjs";
|
|
67
|
+
import "../parse-RN_EgAxL.mjs";
|
|
68
|
+
import "../redirects-Cj4lrY_X.mjs";
|
|
69
|
+
import "../byline-fields-C0IOddTf.mjs";
|
|
70
|
+
import "../status-DvSRKIiF.mjs";
|
|
71
|
+
import { t as getTrustedProxyHeaders } from "../trusted-proxy-j2KYPN4r.mjs";
|
|
72
|
+
import "../rate-limit-BIuuIxP3.mjs";
|
|
73
|
+
import { a as invalidateUrlPatternCache } from "../query-DzsPhsZk.mjs";
|
|
74
|
+
import "../preview-DDtW5YuZ.mjs";
|
|
75
|
+
import "../parser-Co69H1x-.mjs";
|
|
76
|
+
import { n as sanitizeHeadersForSandbox, t as extractRequestMeta } from "../request-meta-C0druWvK.mjs";
|
|
77
|
+
import "../ssrf-CxOWiF0p.mjs";
|
|
78
|
+
import { n as CronExecutor } from "../cron-fQf7oVvf.mjs";
|
|
79
|
+
import { r as devConsoleEmailDeliver, t as DEV_CONSOLE_EMAIL_PLUGIN_ID } from "../email-console-vFj2FFuJ.mjs";
|
|
80
|
+
import "../api-tokens-BkXlt3V6.mjs";
|
|
81
|
+
import { n as createActivePluginMcpRegistry } from "../mcp-reviewed-executor-lqfDtcFo.mjs";
|
|
82
|
+
import { n as redactActivityRecord } from "../activity-C6JLcUzM.mjs";
|
|
83
|
+
import "../activity-events-u9wIH8CQ.mjs";
|
|
84
|
+
import { i as experimentalSiteContextWorkflowsEnabled } from "../experimental-workflows-Dvn_xgew.mjs";
|
|
85
|
+
import "../utils-D_bwAtcb.mjs";
|
|
86
|
+
import "../search-CeXUu1KD.mjs";
|
|
87
|
+
import "../import-BcSW07F1.mjs";
|
|
88
|
+
import "../tokens-COJxRo8q.mjs";
|
|
89
|
+
import "../comment-reaction-mHuRHspq.mjs";
|
|
90
|
+
import "../menus-D_pqSYJ3.mjs";
|
|
91
|
+
import "../bylines-DXXMlc1A.mjs";
|
|
92
|
+
import "../widgets-DMzBMhsO.mjs";
|
|
93
|
+
import "../validate-Cdvc9APD.mjs";
|
|
94
|
+
import "../apply-DNy1dp8W.mjs";
|
|
95
|
+
import "../load-B1cm00WU.mjs";
|
|
93
96
|
import "../index.mjs";
|
|
94
|
-
import { t as getAuthMode } from "../mode-
|
|
95
|
-
import { t as cleanupExpiredChallenges } from "../challenge-store-
|
|
96
|
-
import { t as resolveSessionUser } from "../session-user-
|
|
97
|
+
import { t as getAuthMode } from "../mode-DYsXVFoY.mjs";
|
|
98
|
+
import { t as cleanupExpiredChallenges } from "../challenge-store-DvRxUsXv.mjs";
|
|
99
|
+
import { t as resolveSessionUser } from "../session-user-DTopk3zO.mjs";
|
|
97
100
|
import { Kysely, sql } from "kysely";
|
|
98
101
|
import { defineMiddleware } from "astro:middleware";
|
|
99
102
|
import virtualConfig from "virtual:dineway/config";
|
|
@@ -414,6 +417,102 @@ async function publishDueContent(db, options = {}) {
|
|
|
414
417
|
return published;
|
|
415
418
|
}
|
|
416
419
|
|
|
420
|
+
//#endregion
|
|
421
|
+
//#region src/site-context/confirmed-publication.ts
|
|
422
|
+
/** Internal runtime boundary. Native review, policy state, release and content commit
|
|
423
|
+
* together; notification hooks and media-usage refresh belong after its commit.
|
|
424
|
+
* Requires actual transactions, with no unsupported-adapter or retry fallback. */
|
|
425
|
+
async function publishConfirmedContent(db, input, authorize, policies) {
|
|
426
|
+
if (input.actor.actorType !== "user" || input.actor.authMetadata.auth_method !== "session" || !input.actor.actorId.trim()) throw new PublicationAuthorizationError("ACTOR_NOT_ALLOWED", "Explicit publication confirmation requires a human session");
|
|
427
|
+
if (!input.expectedRev.trim() || !input.expectedDraftRevisionId?.trim() || !(input.expectedLiveRevisionId === null || typeof input.expectedLiveRevisionId === "string" && input.expectedLiveRevisionId.trim()) || typeof authorize !== "function") throw new PublicationAuthorizationError("CONFIRMATION_REQUIRED", "An exact preview and host authorization are required");
|
|
428
|
+
if (db.isTransaction) throw new PublicationAuthorizationError("PUBLICATION_TRANSACTION_REQUIRED", "Confirmed publication must own its commit boundary");
|
|
429
|
+
return db.transaction().setIsolationLevel("serializable").execute((transaction) => runWithContext({
|
|
430
|
+
editMode: false,
|
|
431
|
+
...getRequestContext(),
|
|
432
|
+
db: transaction
|
|
433
|
+
}, async () => {
|
|
434
|
+
await authorize(transaction, input);
|
|
435
|
+
const current = await handleContentGet(transaction, input.collection, input.id);
|
|
436
|
+
if (!current.success) throw new PublicationAuthorizationError(current.error.code, current.error.message);
|
|
437
|
+
const previousContent = current.data.item;
|
|
438
|
+
if (previousContent.id !== input.id) throw new PublicationAuthorizationError("CONTENT_TARGET_INVALID", "Confirmation requires the native content ID");
|
|
439
|
+
const prior = await new ContentReleaseGrantRepository(transaction).findConfirmedPublication({
|
|
440
|
+
collection: input.collection,
|
|
441
|
+
entryId: input.id,
|
|
442
|
+
reviewedRev: input.expectedRev,
|
|
443
|
+
draftRevisionId: input.expectedDraftRevisionId,
|
|
444
|
+
liveRevisionId: input.expectedLiveRevisionId,
|
|
445
|
+
actorId: input.actor.actorId
|
|
446
|
+
});
|
|
447
|
+
if (prior && previousContent.status === "published" && previousContent.liveRevisionId === prior.draftRevisionId && previousContent.version === decodeRev(prior.reviewedRev)?.version && prior.authorizedAuthMetadata?.realm === input.actor.authMetadata.realm && (!previousContent.draftRevisionId || previousContent.draftRevisionId === previousContent.liveRevisionId)) return {
|
|
448
|
+
publication: {
|
|
449
|
+
...current.data,
|
|
450
|
+
receipt: publicationReceipt(prior, "published"),
|
|
451
|
+
replayed: true
|
|
452
|
+
},
|
|
453
|
+
previousContent
|
|
454
|
+
};
|
|
455
|
+
if (current.data._rev !== input.expectedRev || previousContent.draftRevisionId !== input.expectedDraftRevisionId || previousContent.liveRevisionId !== input.expectedLiveRevisionId) throw new PublicationAuthorizationError("CONTENT_CHANGED", "The Draft changed. Review the latest preview before publishing");
|
|
456
|
+
const handlers = {
|
|
457
|
+
handleContentGet: (collection, id) => handleContentGet(transaction, collection, id),
|
|
458
|
+
handleContentCompare: (collection, id) => handleContentCompare(transaction, collection, id)
|
|
459
|
+
};
|
|
460
|
+
const builder = new ReviewPayloadBuilder(handlers);
|
|
461
|
+
const reviewed = await builder.buildContentReviewPayload({
|
|
462
|
+
collection: input.collection,
|
|
463
|
+
id: input.id,
|
|
464
|
+
summary: input.summary
|
|
465
|
+
});
|
|
466
|
+
const reviews = new ReviewRequestRepository(transaction);
|
|
467
|
+
const review = await reviews.create({
|
|
468
|
+
...reviewed,
|
|
469
|
+
requestedByActorType: "user",
|
|
470
|
+
requestedByActorId: input.actor.actorId,
|
|
471
|
+
requestedAuthMetadata: redactActivityRecord(input.actor.authMetadata)
|
|
472
|
+
});
|
|
473
|
+
await reviews.resolve(review.id, {
|
|
474
|
+
decision: "approved",
|
|
475
|
+
resolvedByActorType: "user",
|
|
476
|
+
resolvedByActorId: input.actor.actorId,
|
|
477
|
+
resolvedAuthMetadata: redactActivityRecord(input.actor.authMetadata)
|
|
478
|
+
});
|
|
479
|
+
const result = await new PublicationAuthorizationService({
|
|
480
|
+
db: transaction,
|
|
481
|
+
policies,
|
|
482
|
+
handlers: {
|
|
483
|
+
...handlers,
|
|
484
|
+
handleContentPublish: async (collection, id, options) => {
|
|
485
|
+
await authorize(transaction, input);
|
|
486
|
+
if ((await builder.buildContentReviewPayload({
|
|
487
|
+
collection,
|
|
488
|
+
id
|
|
489
|
+
})).actionHash !== reviewed.actionHash) throw new PublicationAuthorizationError("CONTENT_CHANGED", "The confirmed Draft changed before publication");
|
|
490
|
+
return handleContentPublish(transaction, collection, id, options);
|
|
491
|
+
},
|
|
492
|
+
handleContentSchedule: (collection, id, at) => handleContentSchedule(transaction, collection, id, at),
|
|
493
|
+
handleContentUnschedule: (collection, id) => handleContentUnschedule(transaction, collection, id)
|
|
494
|
+
}
|
|
495
|
+
}).publishAuthorizedContent({
|
|
496
|
+
actor: input.actor,
|
|
497
|
+
collection: input.collection,
|
|
498
|
+
id: input.id,
|
|
499
|
+
editorialReviewRequestId: review.id,
|
|
500
|
+
sourceType: "api_route",
|
|
501
|
+
sourceName: input.sourceName ?? "host_confirmed_publication"
|
|
502
|
+
});
|
|
503
|
+
const saved = await handleContentGet(transaction, input.collection, input.id);
|
|
504
|
+
if (!saved.success) throw new PublicationAuthorizationError(saved.error.code, saved.error.message);
|
|
505
|
+
return {
|
|
506
|
+
publication: {
|
|
507
|
+
...saved.data,
|
|
508
|
+
receipt: result.receipt,
|
|
509
|
+
replayed: false
|
|
510
|
+
},
|
|
511
|
+
previousContent
|
|
512
|
+
};
|
|
513
|
+
}));
|
|
514
|
+
}
|
|
515
|
+
|
|
417
516
|
//#endregion
|
|
418
517
|
//#region src/dineway-runtime.ts
|
|
419
518
|
const LEADING_SLASH_PATTERN = /^\//;
|
|
@@ -1069,9 +1168,9 @@ var DinewayRuntime = class DinewayRuntime {
|
|
|
1069
1168
|
}
|
|
1070
1169
|
})();
|
|
1071
1170
|
if (collectionCount.count === 0 && !setupDone) {
|
|
1072
|
-
const { applySeed } = await import("../apply-
|
|
1073
|
-
const { loadSeed } = await import("../load-
|
|
1074
|
-
const { validateSeed } = await import("../validate-
|
|
1171
|
+
const { applySeed } = await import("../apply-DNy1dp8W.mjs").then((n) => n.n);
|
|
1172
|
+
const { loadSeed } = await import("../load-B1cm00WU.mjs").then((n) => n.r);
|
|
1173
|
+
const { validateSeed } = await import("../validate-Cdvc9APD.mjs").then((n) => n.n);
|
|
1075
1174
|
const seed = await loadSeed();
|
|
1076
1175
|
if (validateSeed(seed).valid) {
|
|
1077
1176
|
await applySeed(db, seed, { onConflict: "skip" });
|
|
@@ -1527,6 +1626,17 @@ var DinewayRuntime = class DinewayRuntime {
|
|
|
1527
1626
|
}
|
|
1528
1627
|
});
|
|
1529
1628
|
}
|
|
1629
|
+
/** Server-only integration for a host's own authenticated human publishing flow.
|
|
1630
|
+
* The host must check editorial and release authority inside authorize's transaction. */
|
|
1631
|
+
async publishConfirmedContent(input, authorize) {
|
|
1632
|
+
const policies = this.configuredPlugins.filter((plugin) => this.enabledPlugins.has(plugin.id)).flatMap((plugin) => plugin.publicationReleasePolicies ?? []);
|
|
1633
|
+
const { publication, previousContent } = await publishConfirmedContent(this.db, input, authorize, policies);
|
|
1634
|
+
if (!publication.replayed) {
|
|
1635
|
+
await this.refreshContentUsageAfterSuccessfulWrite(input.collection, [publication.item.id]);
|
|
1636
|
+
this.runAfterPublishHooks(contentItemToRecord(publication.item), input.collection, contentItemToRecord(previousContent));
|
|
1637
|
+
}
|
|
1638
|
+
return publication;
|
|
1639
|
+
}
|
|
1530
1640
|
async handleContentPublish(collection, id, options = {}) {
|
|
1531
1641
|
const previousContent = await this.previousContentForNotification(collection, id);
|
|
1532
1642
|
const result = await handleContentPublish(this.db, collection, id, options);
|
|
@@ -2258,7 +2368,7 @@ const onRequest = defineMiddleware(async (context, next) => {
|
|
|
2258
2368
|
if (!isSetupVerified() && !context.isPrerendered) {
|
|
2259
2369
|
const setupStart = startServerTiming(serverTimings);
|
|
2260
2370
|
try {
|
|
2261
|
-
const { getDb } = await import("../loader-
|
|
2371
|
+
const { getDb } = await import("../loader-CsX5pTud.mjs").then((n) => n.i);
|
|
2262
2372
|
await (await getDb()).selectFrom("_dineway_migrations").selectAll().limit(1).execute();
|
|
2263
2373
|
markSetupVerified();
|
|
2264
2374
|
} catch (error) {
|
|
@@ -2324,6 +2434,7 @@ const onRequest = defineMiddleware(async (context, next) => {
|
|
|
2324
2434
|
handleContentDuplicate: runtime.handleContentDuplicate.bind(runtime),
|
|
2325
2435
|
handleContentPublish: runtime.handleContentPublish.bind(runtime),
|
|
2326
2436
|
createPublicationAuthorizationService: runtime.createPublicationAuthorizationService.bind(runtime),
|
|
2437
|
+
publishConfirmedContent: runtime.publishConfirmedContent.bind(runtime),
|
|
2327
2438
|
handleContentUnpublish: runtime.handleContentUnpublish.bind(runtime),
|
|
2328
2439
|
handleContentSchedule: runtime.handleContentSchedule.bind(runtime),
|
|
2329
2440
|
handleContentUnschedule: runtime.handleContentUnschedule.bind(runtime),
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import "../../../../../context-types-eBuMDAg-.mjs";
|
|
2
|
-
import
|
|
3
|
-
import { n as
|
|
4
|
-
import {
|
|
5
|
-
import "../../../../../
|
|
6
|
-
import "../../../../../
|
|
2
|
+
import "../../../../../public-discovery-BlJ80Hoh.mjs";
|
|
3
|
+
import { n as apiSuccess, r as handleError, t as apiError } from "../../../../../error-DWL9Pwyt.mjs";
|
|
4
|
+
import { n as parseBody, t as isParseError } from "../../../../../parse-RN_EgAxL.mjs";
|
|
5
|
+
import { S as allowedDomainUpdateBody } from "../../../../../redirects-Cj4lrY_X.mjs";
|
|
6
|
+
import "../../../../../byline-fields-C0IOddTf.mjs";
|
|
7
|
+
import "../../../../../status-DvSRKIiF.mjs";
|
|
7
8
|
import "../../../../../api/schemas/index.mjs";
|
|
8
9
|
import { Role, roleFromLevel } from "@dineway-ai/auth";
|
|
9
10
|
import { createKyselyAdapter } from "@dineway-ai/auth/adapters/kysely";
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import "../../../../../context-types-eBuMDAg-.mjs";
|
|
2
|
-
import
|
|
3
|
-
import { n as
|
|
4
|
-
import {
|
|
5
|
-
import "../../../../../
|
|
6
|
-
import "../../../../../
|
|
2
|
+
import "../../../../../public-discovery-BlJ80Hoh.mjs";
|
|
3
|
+
import { n as apiSuccess, r as handleError, t as apiError } from "../../../../../error-DWL9Pwyt.mjs";
|
|
4
|
+
import { n as parseBody, t as isParseError } from "../../../../../parse-RN_EgAxL.mjs";
|
|
5
|
+
import { x as allowedDomainCreateBody } from "../../../../../redirects-Cj4lrY_X.mjs";
|
|
6
|
+
import "../../../../../byline-fields-C0IOddTf.mjs";
|
|
7
|
+
import "../../../../../status-DvSRKIiF.mjs";
|
|
7
8
|
import "../../../../../api/schemas/index.mjs";
|
|
8
9
|
import { Role, roleFromLevel } from "@dineway-ai/auth";
|
|
9
10
|
import { createKyselyAdapter } from "@dineway-ai/auth/adapters/kysely";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { a as unwrapResult, r as handleError, t as apiError } from "../../../../../error-
|
|
2
|
-
import "../../../../../api-tokens-
|
|
3
|
-
import { i as handleApiTokenRevoke } from "../../../../../api-tokens-
|
|
4
|
-
import { t as rejectApiTokenAuthControlWrite } from "../../../../../auth-control-guard-
|
|
1
|
+
import { a as unwrapResult, r as handleError, t as apiError } from "../../../../../error-DWL9Pwyt.mjs";
|
|
2
|
+
import "../../../../../api-tokens-BkXlt3V6.mjs";
|
|
3
|
+
import { i as handleApiTokenRevoke } from "../../../../../api-tokens-CI5sgE1g.mjs";
|
|
4
|
+
import { t as rejectApiTokenAuthControlWrite } from "../../../../../auth-control-guard-BQLSUQd7.mjs";
|
|
5
5
|
import { Role } from "@dineway-ai/auth";
|
|
6
6
|
|
|
7
7
|
//#region src/astro/routes/api/admin/api-tokens/[id].ts
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { a as unwrapResult, r as handleError, t as apiError } from "../../../../../error-
|
|
2
|
-
import { n as parseBody, t as isParseError } from "../../../../../parse-
|
|
3
|
-
import { t as ALL_VALID_SCOPES } from "../../../../../api-tokens-
|
|
4
|
-
import { c as requestedExperimentalSiteContextWorkflowScopes, i as experimentalSiteContextWorkflowsEnabled, s as getExperimentalSiteContextWorkflowsDisabledMessage } from "../../../../../experimental-workflows-
|
|
5
|
-
import { n as handleApiTokenCreate, r as handleApiTokenList } from "../../../../../api-tokens-
|
|
6
|
-
import { t as rejectApiTokenAuthControlWrite } from "../../../../../auth-control-guard-
|
|
1
|
+
import { a as unwrapResult, r as handleError, t as apiError } from "../../../../../error-DWL9Pwyt.mjs";
|
|
2
|
+
import { n as parseBody, t as isParseError } from "../../../../../parse-RN_EgAxL.mjs";
|
|
3
|
+
import { t as ALL_VALID_SCOPES } from "../../../../../api-tokens-BkXlt3V6.mjs";
|
|
4
|
+
import { c as requestedExperimentalSiteContextWorkflowScopes, i as experimentalSiteContextWorkflowsEnabled, s as getExperimentalSiteContextWorkflowsDisabledMessage } from "../../../../../experimental-workflows-Dvn_xgew.mjs";
|
|
5
|
+
import { n as handleApiTokenCreate, r as handleApiTokenList } from "../../../../../api-tokens-CI5sgE1g.mjs";
|
|
6
|
+
import { t as rejectApiTokenAuthControlWrite } from "../../../../../auth-control-guard-BQLSUQd7.mjs";
|
|
7
7
|
import { z } from "zod";
|
|
8
8
|
import { Role } from "@dineway-ai/auth";
|
|
9
9
|
|
|
@@ -1,25 +1,26 @@
|
|
|
1
1
|
import "../../../../dialect-helpers-fk43GbDb.mjs";
|
|
2
2
|
import "../../../../base64-F8-DUraK.mjs";
|
|
3
|
-
import "../../../../types-
|
|
4
|
-
import "../../../../loader-
|
|
3
|
+
import "../../../../types-CFvpEEOl.mjs";
|
|
4
|
+
import "../../../../loader-CsX5pTud.mjs";
|
|
5
5
|
import "../../../../object-cache-D51qOseS.mjs";
|
|
6
|
-
import "../../../../media-
|
|
6
|
+
import "../../../../media-DNde5-Am.mjs";
|
|
7
7
|
import "../../../../options-DQPTH5n0.mjs";
|
|
8
|
-
import "../../../../site-activity-
|
|
9
|
-
import "../../../../review-requests-
|
|
8
|
+
import "../../../../site-activity-By0wWO0g.mjs";
|
|
9
|
+
import "../../../../review-requests-Bo4jcxtU.mjs";
|
|
10
10
|
import "../../../../request-cache-CBFjCwSt.mjs";
|
|
11
|
-
import "../../../../briefing-
|
|
11
|
+
import "../../../../briefing-DcDVI-0v.mjs";
|
|
12
12
|
import "../../../../context-types-eBuMDAg-.mjs";
|
|
13
|
-
import "../../../../content-refresh-
|
|
14
|
-
import "../../../../fts-manager-
|
|
15
|
-
import "../../../../
|
|
16
|
-
import "../../../../
|
|
17
|
-
import
|
|
18
|
-
import {
|
|
19
|
-
import { i as
|
|
20
|
-
import "../../../../
|
|
21
|
-
import
|
|
22
|
-
import "../../../../
|
|
13
|
+
import "../../../../content-refresh-BkGWtwUN.mjs";
|
|
14
|
+
import "../../../../fts-manager-D4K5mA0j.mjs";
|
|
15
|
+
import "../../../../public-discovery-BlJ80Hoh.mjs";
|
|
16
|
+
import "../../../../registry-BwcF6gAj.mjs";
|
|
17
|
+
import "../../../../settings-DXp6vRdV.mjs";
|
|
18
|
+
import { t as handleSiteBriefingGet } from "../../../../briefing-Yao75K3z.mjs";
|
|
19
|
+
import { a as unwrapResult, i as requireDb, r as handleError, t as apiError } from "../../../../error-DWL9Pwyt.mjs";
|
|
20
|
+
import { i as parseQuery, t as isParseError } from "../../../../parse-RN_EgAxL.mjs";
|
|
21
|
+
import "../../../../redirects-Cj4lrY_X.mjs";
|
|
22
|
+
import { A as siteBriefingQuery } from "../../../../byline-fields-C0IOddTf.mjs";
|
|
23
|
+
import "../../../../status-DvSRKIiF.mjs";
|
|
23
24
|
import "../../../../api/schemas/index.mjs";
|
|
24
25
|
import { hasPermission } from "@dineway-ai/auth";
|
|
25
26
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "../../../../../../byline-registry-BLgrU3dA.mjs";
|
|
2
|
-
import { s as handleBylineFieldUsage } from "../../../../../../byline-fields-
|
|
3
|
-
import { a as unwrapResult, t as apiError } from "../../../../../../error-
|
|
4
|
-
import { n as requirePerm } from "../../../../../../authorize-
|
|
2
|
+
import { s as handleBylineFieldUsage } from "../../../../../../byline-fields-CS1Hi2N4.mjs";
|
|
3
|
+
import { a as unwrapResult, t as apiError } from "../../../../../../error-DWL9Pwyt.mjs";
|
|
4
|
+
import { n as requirePerm } from "../../../../../../authorize-D8etr-1g.mjs";
|
|
5
5
|
|
|
6
6
|
//#region src/astro/routes/api/admin/byline-fields/[slug]/usage.ts
|
|
7
7
|
const prerender = false;
|
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
import "../../../../../byline-registry-BLgrU3dA.mjs";
|
|
2
2
|
import "../../../../../context-types-eBuMDAg-.mjs";
|
|
3
|
-
import
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import "../../../../../
|
|
7
|
-
import
|
|
8
|
-
import "../../../../../
|
|
3
|
+
import "../../../../../public-discovery-BlJ80Hoh.mjs";
|
|
4
|
+
import { n as handleBylineFieldDelete, o as handleBylineFieldUpdate, r as handleBylineFieldGet } from "../../../../../byline-fields-CS1Hi2N4.mjs";
|
|
5
|
+
import { a as unwrapResult, t as apiError } from "../../../../../error-DWL9Pwyt.mjs";
|
|
6
|
+
import { n as parseBody, t as isParseError } from "../../../../../parse-RN_EgAxL.mjs";
|
|
7
|
+
import "../../../../../redirects-Cj4lrY_X.mjs";
|
|
8
|
+
import { a as bylineFieldUpdateBody } from "../../../../../byline-fields-C0IOddTf.mjs";
|
|
9
|
+
import "../../../../../status-DvSRKIiF.mjs";
|
|
9
10
|
import "../../../../../api/schemas/index.mjs";
|
|
10
|
-
import { n as requirePerm } from "../../../../../authorize-
|
|
11
|
+
import { n as requirePerm } from "../../../../../authorize-D8etr-1g.mjs";
|
|
11
12
|
|
|
12
13
|
//#region src/astro/routes/api/admin/byline-fields/[slug].ts
|
|
13
14
|
const prerender = false;
|
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
import "../../../../../byline-registry-BLgrU3dA.mjs";
|
|
2
2
|
import "../../../../../context-types-eBuMDAg-.mjs";
|
|
3
|
-
import
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import "../../../../../
|
|
7
|
-
import
|
|
8
|
-
import "../../../../../
|
|
3
|
+
import "../../../../../public-discovery-BlJ80Hoh.mjs";
|
|
4
|
+
import { i as handleBylineFieldList, t as handleBylineFieldCreate } from "../../../../../byline-fields-CS1Hi2N4.mjs";
|
|
5
|
+
import { a as unwrapResult, t as apiError } from "../../../../../error-DWL9Pwyt.mjs";
|
|
6
|
+
import { n as parseBody, t as isParseError } from "../../../../../parse-RN_EgAxL.mjs";
|
|
7
|
+
import "../../../../../redirects-Cj4lrY_X.mjs";
|
|
8
|
+
import { t as bylineFieldCreateBody } from "../../../../../byline-fields-C0IOddTf.mjs";
|
|
9
|
+
import "../../../../../status-DvSRKIiF.mjs";
|
|
9
10
|
import "../../../../../api/schemas/index.mjs";
|
|
10
|
-
import { n as requirePerm } from "../../../../../authorize-
|
|
11
|
+
import { n as requirePerm } from "../../../../../authorize-D8etr-1g.mjs";
|
|
11
12
|
|
|
12
13
|
//#region src/astro/routes/api/admin/byline-fields/index.ts
|
|
13
14
|
const prerender = false;
|
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
import "../../../../../byline-registry-BLgrU3dA.mjs";
|
|
2
2
|
import "../../../../../context-types-eBuMDAg-.mjs";
|
|
3
|
-
import
|
|
4
|
-
import { a as
|
|
5
|
-
import {
|
|
6
|
-
import "../../../../../
|
|
7
|
-
import
|
|
8
|
-
import "../../../../../
|
|
3
|
+
import "../../../../../public-discovery-BlJ80Hoh.mjs";
|
|
4
|
+
import { a as handleBylineFieldReorder } from "../../../../../byline-fields-CS1Hi2N4.mjs";
|
|
5
|
+
import { a as unwrapResult, t as apiError } from "../../../../../error-DWL9Pwyt.mjs";
|
|
6
|
+
import { n as parseBody, t as isParseError } from "../../../../../parse-RN_EgAxL.mjs";
|
|
7
|
+
import "../../../../../redirects-Cj4lrY_X.mjs";
|
|
8
|
+
import { i as bylineFieldReorderBody } from "../../../../../byline-fields-C0IOddTf.mjs";
|
|
9
|
+
import "../../../../../status-DvSRKIiF.mjs";
|
|
9
10
|
import "../../../../../api/schemas/index.mjs";
|
|
10
|
-
import { n as requirePerm } from "../../../../../authorize-
|
|
11
|
+
import { n as requirePerm } from "../../../../../authorize-D8etr-1g.mjs";
|
|
11
12
|
|
|
12
13
|
//#region src/astro/routes/api/admin/byline-fields/reorder.ts
|
|
13
14
|
const prerender = false;
|
|
@@ -1,23 +1,24 @@
|
|
|
1
1
|
import "../../../../../../dialect-helpers-fk43GbDb.mjs";
|
|
2
2
|
import "../../../../../../base64-F8-DUraK.mjs";
|
|
3
|
-
import "../../../../../../types-
|
|
4
|
-
import "../../../../../../loader-
|
|
3
|
+
import "../../../../../../types-CFvpEEOl.mjs";
|
|
4
|
+
import "../../../../../../loader-CsX5pTud.mjs";
|
|
5
5
|
import "../../../../../../object-cache-D51qOseS.mjs";
|
|
6
6
|
import "../../../../../../request-cache-CBFjCwSt.mjs";
|
|
7
7
|
import "../../../../../../byline-registry-BLgrU3dA.mjs";
|
|
8
|
-
import "../../../../../../field-defs-cache-
|
|
9
|
-
import { t as BylineRepository } from "../../../../../../byline-
|
|
8
|
+
import "../../../../../../field-defs-cache-7Ka899yA.mjs";
|
|
9
|
+
import { t as BylineRepository } from "../../../../../../byline-CbFno1Kd.mjs";
|
|
10
10
|
import "../../../../../../context-types-eBuMDAg-.mjs";
|
|
11
|
-
import
|
|
12
|
-
import "../../../../../../
|
|
13
|
-
import
|
|
14
|
-
import { n as
|
|
15
|
-
import {
|
|
16
|
-
import "../../../../../../
|
|
17
|
-
import "../../../../../../
|
|
11
|
+
import "../../../../../../public-discovery-BlJ80Hoh.mjs";
|
|
12
|
+
import { i as handleBylineUpdate } from "../../../../../../bylines-BotyuTdY.mjs";
|
|
13
|
+
import "../../../../../../resolve-Doh2USIE.mjs";
|
|
14
|
+
import { a as unwrapResult, n as apiSuccess, r as handleError, t as apiError } from "../../../../../../error-DWL9Pwyt.mjs";
|
|
15
|
+
import { n as parseBody, t as isParseError } from "../../../../../../parse-RN_EgAxL.mjs";
|
|
16
|
+
import { Tn as bylineUpdateBody } from "../../../../../../redirects-Cj4lrY_X.mjs";
|
|
17
|
+
import "../../../../../../byline-fields-C0IOddTf.mjs";
|
|
18
|
+
import "../../../../../../status-DvSRKIiF.mjs";
|
|
18
19
|
import "../../../../../../api/schemas/index.mjs";
|
|
19
|
-
import { a as invalidateBylineCache } from "../../../../../../bylines-
|
|
20
|
-
import { n as requirePerm } from "../../../../../../authorize-
|
|
20
|
+
import { a as invalidateBylineCache } from "../../../../../../bylines-DXXMlc1A.mjs";
|
|
21
|
+
import { n as requirePerm } from "../../../../../../authorize-D8etr-1g.mjs";
|
|
21
22
|
import { Role } from "@dineway-ai/auth";
|
|
22
23
|
|
|
23
24
|
//#region src/astro/routes/api/admin/bylines/[id]/index.ts
|