dineway 0.2.20 → 0.2.22
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{activity-Dq9zDvAK.mjs → activity-Bm5x0dik.mjs} +2 -2
- package/dist/{activity-events-iGYnf7TK.mjs → activity-events-DpvhcjTP.mjs} +1 -1
- package/dist/{allowed-origins-VLgv2PL1.mjs → allowed-origins-M5Rcl6XL.mjs} +1 -1
- package/dist/api/route-utils.d.mts +10 -9
- package/dist/api/route-utils.mjs +13 -13
- package/dist/api/schemas/index.d.mts +1 -1
- package/dist/api/schemas/index.mjs +3 -3
- package/dist/{api-DIdotXfH.mjs → api-CqWeLWXX.mjs} +15 -15
- package/dist/{api-tokens-C4K9eocv.mjs → api-tokens-BFgXg0l2.mjs} +1 -1
- package/dist/{apply-CPcb8oiS.mjs → apply-Hodkn7PL.mjs} +20 -18
- package/dist/astro/index.d.mts +11 -10
- package/dist/astro/index.mjs +3 -3
- package/dist/astro/middleware/auth.d.mts +9 -8
- package/dist/astro/middleware/auth.mjs +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 +112 -98
- package/dist/astro/routes/api/admin/allowed-domains/_domain_.mjs +5 -5
- package/dist/astro/routes/api/admin/allowed-domains/index.mjs +5 -5
- package/dist/astro/routes/api/admin/api-tokens/_id_.mjs +4 -4
- package/dist/astro/routes/api/admin/api-tokens/index.mjs +6 -6
- package/dist/astro/routes/api/admin/briefing.mjs +16 -16
- package/dist/astro/routes/api/admin/byline-fields/_slug_/usage.mjs +3 -3
- package/dist/astro/routes/api/admin/byline-fields/_slug_.mjs +7 -7
- package/dist/astro/routes/api/admin/byline-fields/index.mjs +7 -7
- package/dist/astro/routes/api/admin/byline-fields/reorder.mjs +7 -7
- package/dist/astro/routes/api/admin/bylines/_id_/index.mjs +13 -13
- package/dist/astro/routes/api/admin/bylines/_id_/translations.mjs +13 -13
- package/dist/astro/routes/api/admin/bylines/index.mjs +13 -13
- package/dist/astro/routes/api/admin/comments/_id_/status.mjs +11 -11
- package/dist/astro/routes/api/admin/comments/_id_.mjs +5 -5
- package/dist/astro/routes/api/admin/comments/bulk.mjs +9 -9
- package/dist/astro/routes/api/admin/comments/counts.mjs +5 -5
- package/dist/astro/routes/api/admin/comments/index.mjs +9 -9
- package/dist/astro/routes/api/admin/context/_id_/history.mjs +23 -23
- package/dist/astro/routes/api/admin/context/_id_/index.mjs +23 -23
- package/dist/astro/routes/api/admin/context/_id_/review.mjs +28 -28
- package/dist/astro/routes/api/admin/context/_id_/supersede.mjs +28 -28
- package/dist/astro/routes/api/admin/context/diff.mjs +27 -27
- package/dist/astro/routes/api/admin/context/index.mjs +28 -28
- package/dist/astro/routes/api/admin/context/stale.mjs +27 -27
- package/dist/astro/routes/api/admin/hitl-requests/_id_/index.mjs +23 -23
- package/dist/astro/routes/api/admin/hitl-requests/_id_/resolve.mjs +27 -27
- package/dist/astro/routes/api/admin/hitl-requests/index.mjs +27 -27
- package/dist/astro/routes/api/admin/hooks/exclusive/_hookName_.mjs +24 -24
- package/dist/astro/routes/api/admin/hooks/exclusive/index.mjs +2 -2
- package/dist/astro/routes/api/admin/oauth-clients/_id_.mjs +6 -6
- package/dist/astro/routes/api/admin/oauth-clients/index.mjs +6 -6
- package/dist/astro/routes/api/admin/plugins/_id_/disable.mjs +53 -52
- package/dist/astro/routes/api/admin/plugins/_id_/enable.mjs +53 -52
- package/dist/astro/routes/api/admin/plugins/_id_/index.mjs +45 -44
- package/dist/astro/routes/api/admin/plugins/_id_/uninstall.mjs +52 -51
- package/dist/astro/routes/api/admin/plugins/_id_/update.mjs +52 -51
- package/dist/astro/routes/api/admin/plugins/index.mjs +45 -44
- package/dist/astro/routes/api/admin/plugins/marketplace/_id_/icon.mjs +2 -2
- package/dist/astro/routes/api/admin/plugins/marketplace/_id_/index.mjs +45 -44
- package/dist/astro/routes/api/admin/plugins/marketplace/_id_/install.mjs +52 -51
- package/dist/astro/routes/api/admin/plugins/marketplace/index.mjs +45 -44
- package/dist/astro/routes/api/admin/plugins/updates.mjs +45 -44
- package/dist/astro/routes/api/admin/review-requests/_id_/index.mjs +5 -5
- package/dist/astro/routes/api/admin/review-requests/_id_/resolve.mjs +28 -28
- package/dist/astro/routes/api/admin/review-requests/index.mjs +28 -28
- package/dist/astro/routes/api/admin/themes/marketplace/_id_/index.mjs +45 -44
- package/dist/astro/routes/api/admin/themes/marketplace/_id_/thumbnail.mjs +2 -2
- package/dist/astro/routes/api/admin/themes/marketplace/index.mjs +45 -44
- package/dist/astro/routes/api/admin/users/_id_/disable.mjs +1 -1
- package/dist/astro/routes/api/admin/users/_id_/enable.mjs +1 -1
- package/dist/astro/routes/api/admin/users/_id_/index.mjs +5 -5
- package/dist/astro/routes/api/admin/users/_id_/send-recovery.mjs +2 -2
- package/dist/astro/routes/api/admin/users/index.mjs +5 -5
- package/dist/astro/routes/api/auth/dev-bypass.mjs +4 -4
- package/dist/astro/routes/api/auth/invite/accept.mjs +1 -1
- package/dist/astro/routes/api/auth/invite/complete.mjs +9 -9
- package/dist/astro/routes/api/auth/invite/index.mjs +6 -6
- package/dist/astro/routes/api/auth/invite/register-options.mjs +8 -8
- package/dist/astro/routes/api/auth/logout.mjs +2 -2
- package/dist/astro/routes/api/auth/magic-link/send.mjs +8 -8
- package/dist/astro/routes/api/auth/magic-link/verify.mjs +2 -2
- package/dist/astro/routes/api/auth/me.mjs +7 -7
- package/dist/astro/routes/api/auth/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 +5 -5
- package/dist/astro/routes/api/auth/passkey/index.mjs +1 -1
- package/dist/astro/routes/api/auth/passkey/options.mjs +10 -10
- package/dist/astro/routes/api/auth/passkey/register/options.mjs +8 -8
- package/dist/astro/routes/api/auth/passkey/register/verify.mjs +9 -9
- package/dist/astro/routes/api/auth/passkey/verify.mjs +9 -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 +9 -9
- package/dist/astro/routes/api/auth/signup/request.mjs +8 -8
- package/dist/astro/routes/api/auth/signup/verify.mjs +1 -1
- package/dist/astro/routes/api/comments/_collection_/_contentId_/index.mjs +12 -12
- package/dist/astro/routes/api/comments/_collection_/_contentId_/reactions.mjs +11 -11
- package/dist/astro/routes/api/content/_collection_/_id_/compare.mjs +2 -2
- package/dist/astro/routes/api/content/_collection_/_id_/discard-draft.mjs +6 -6
- package/dist/astro/routes/api/content/_collection_/_id_/duplicate.mjs +6 -6
- package/dist/astro/routes/api/content/_collection_/_id_/permanent.mjs +6 -6
- package/dist/astro/routes/api/content/_collection_/_id_/preview-url.mjs +9 -9
- package/dist/astro/routes/api/content/_collection_/_id_/publish.mjs +15 -15
- package/dist/astro/routes/api/content/_collection_/_id_/release-readiness.mjs +7 -7
- package/dist/astro/routes/api/content/_collection_/_id_/restore.mjs +6 -6
- package/dist/astro/routes/api/content/_collection_/_id_/revisions.mjs +2 -2
- package/dist/astro/routes/api/content/_collection_/_id_/schedule.mjs +15 -15
- package/dist/astro/routes/api/content/_collection_/_id_/terms/_taxonomy_.mjs +12 -12
- package/dist/astro/routes/api/content/_collection_/_id_/translations.mjs +2 -2
- package/dist/astro/routes/api/content/_collection_/_id_/unpublish.mjs +6 -6
- package/dist/astro/routes/api/content/_collection_/_id_.mjs +10 -10
- package/dist/astro/routes/api/content/_collection_/authors.mjs +2 -2
- package/dist/astro/routes/api/content/_collection_/index.mjs +10 -10
- package/dist/astro/routes/api/content/_collection_/trash.mjs +6 -6
- package/dist/astro/routes/api/dashboard.mjs +8 -8
- package/dist/astro/routes/api/dev/emails.mjs +2 -2
- package/dist/astro/routes/api/health.mjs +1 -1
- package/dist/astro/routes/api/import/probe.d.mts +3 -3
- package/dist/astro/routes/api/import/probe.mjs +17 -17
- package/dist/astro/routes/api/import/wordpress/analyze.mjs +8 -8
- package/dist/astro/routes/api/import/wordpress/execute.d.mts +9 -8
- package/dist/astro/routes/api/import/wordpress/execute.mjs +32 -32
- package/dist/astro/routes/api/import/wordpress/media.d.mts +9 -8
- package/dist/astro/routes/api/import/wordpress/media.mjs +9 -9
- package/dist/astro/routes/api/import/wordpress/prepare.mjs +31 -31
- package/dist/astro/routes/api/import/wordpress/rewrite-urls.d.mts +10 -9
- package/dist/astro/routes/api/import/wordpress/rewrite-urls.mjs +28 -28
- package/dist/astro/routes/api/import/wordpress-plugin/analyze.d.mts +1 -1
- package/dist/astro/routes/api/import/wordpress-plugin/analyze.mjs +20 -20
- package/dist/astro/routes/api/import/wordpress-plugin/execute.d.mts +9 -8
- package/dist/astro/routes/api/import/wordpress-plugin/execute.mjs +36 -36
- package/dist/astro/routes/api/integrations/_provider_.mjs +6 -6
- package/dist/astro/routes/api/integrations/index.mjs +5 -5
- package/dist/astro/routes/api/manifest.mjs +4 -4
- package/dist/astro/routes/api/mcp.mjs +64 -64
- package/dist/astro/routes/api/media/_id_/confirm.mjs +8 -8
- package/dist/astro/routes/api/media/_id_.mjs +6 -6
- package/dist/astro/routes/api/media/file/_...key_.mjs +1 -1
- package/dist/astro/routes/api/media/providers/_providerId_/_itemId_.mjs +2 -2
- package/dist/astro/routes/api/media/providers/_providerId_/index.mjs +2 -2
- package/dist/astro/routes/api/media/providers/index.mjs +2 -2
- package/dist/astro/routes/api/media/upload-url.mjs +9 -9
- package/dist/astro/routes/api/media.mjs +9 -9
- package/dist/astro/routes/api/menus/_name_/items/_id_.mjs +28 -28
- package/dist/astro/routes/api/menus/_name_/items.mjs +28 -28
- package/dist/astro/routes/api/menus/_name_/reorder.mjs +28 -28
- package/dist/astro/routes/api/menus/_name_/translations.mjs +28 -28
- package/dist/astro/routes/api/menus/_name_.mjs +28 -28
- package/dist/astro/routes/api/menus/index.mjs +28 -28
- package/dist/astro/routes/api/oauth/authorize.mjs +7 -7
- package/dist/astro/routes/api/oauth/device/authorize.mjs +6 -6
- package/dist/astro/routes/api/oauth/device/code.mjs +9 -9
- package/dist/astro/routes/api/oauth/device/token.mjs +8 -8
- package/dist/astro/routes/api/oauth/register.mjs +4 -4
- package/dist/astro/routes/api/oauth/token/refresh.mjs +6 -6
- package/dist/astro/routes/api/oauth/token/revoke.mjs +6 -6
- package/dist/astro/routes/api/oauth/token.mjs +6 -6
- package/dist/astro/routes/api/openapi.json.mjs +4 -4
- package/dist/astro/routes/api/plugins/_pluginId_/_...path_.mjs +4 -4
- package/dist/astro/routes/api/redirects/404s/index.mjs +9 -9
- package/dist/astro/routes/api/redirects/404s/summary.mjs +9 -9
- package/dist/astro/routes/api/redirects/_id_.mjs +29 -29
- package/dist/astro/routes/api/redirects/index.mjs +29 -29
- package/dist/astro/routes/api/revisions/_revisionId_/index.mjs +2 -2
- package/dist/astro/routes/api/revisions/_revisionId_/restore.mjs +2 -2
- package/dist/astro/routes/api/schema/collections/_slug_/fields/_fieldSlug_.mjs +47 -46
- package/dist/astro/routes/api/schema/collections/_slug_/fields/index.mjs +47 -46
- package/dist/astro/routes/api/schema/collections/_slug_/fields/reorder.mjs +47 -46
- package/dist/astro/routes/api/schema/collections/_slug_/index.mjs +47 -46
- package/dist/astro/routes/api/schema/collections/index.mjs +47 -46
- package/dist/astro/routes/api/schema/index.mjs +7 -7
- package/dist/astro/routes/api/schema/orphans/_slug_.mjs +45 -44
- package/dist/astro/routes/api/schema/orphans/index.mjs +45 -44
- package/dist/astro/routes/api/search/enable.mjs +10 -10
- package/dist/astro/routes/api/search/index.mjs +9 -9
- package/dist/astro/routes/api/search/rebuild.mjs +10 -10
- package/dist/astro/routes/api/search/stats.mjs +6 -6
- package/dist/astro/routes/api/search/suggest.mjs +9 -9
- package/dist/astro/routes/api/sections/_slug_.mjs +28 -28
- package/dist/astro/routes/api/sections/index.mjs +28 -28
- package/dist/astro/routes/api/settings/email.mjs +3 -3
- package/dist/astro/routes/api/settings.mjs +28 -28
- package/dist/astro/routes/api/setup/admin-verify.mjs +11 -11
- package/dist/astro/routes/api/setup/admin.mjs +9 -9
- package/dist/astro/routes/api/setup/dev-bypass.mjs +23 -23
- package/dist/astro/routes/api/setup/dev-reset.mjs +1 -1
- package/dist/astro/routes/api/setup/index.mjs +24 -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 +31 -31
- package/dist/astro/routes/api/taxonomies/_name_/terms/_slug_.mjs +31 -31
- package/dist/astro/routes/api/taxonomies/_name_/terms/index.mjs +31 -31
- package/dist/astro/routes/api/taxonomies/index.mjs +31 -31
- package/dist/astro/routes/api/themes/preview.mjs +4 -4
- package/dist/astro/routes/api/typegen.mjs +4 -4
- package/dist/astro/routes/api/well-known/auth.mjs +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 +27 -27
- package/dist/astro/routes/api/widget-areas/_name_/widgets/_id_.mjs +28 -28
- package/dist/astro/routes/api/widget-areas/_name_/widgets.mjs +28 -28
- package/dist/astro/routes/api/widget-areas/_name_.mjs +25 -25
- package/dist/astro/routes/api/widget-areas/index.mjs +28 -28
- package/dist/astro/routes/api/widget-components.mjs +2 -2
- package/dist/astro/routes/robots.txt.mjs +5 -5
- package/dist/astro/routes/sitemap-_collection_.xml.mjs +34 -41
- package/dist/astro/routes/sitemap.xml.mjs +29 -17
- package/dist/astro/session-driver.d.mts +1 -1
- package/dist/astro/session-driver.mjs +2 -2
- package/dist/astro/types.d.mts +16 -11
- package/dist/{audit-DeBteyL4.mjs → audit-nenmMR-2.mjs} +1 -1
- package/dist/auth/providers/github.d.mts +1 -1
- package/dist/auth/providers/google.d.mts +1 -1
- package/dist/{auth-control-guard-B_Dx-epW.mjs → auth-control-guard-B7PdECn6.mjs} +1 -1
- package/dist/{authorize-D6MkRtPw.mjs → authorize-DTvHe9bm.mjs} +1 -1
- package/dist/{briefing-BTA39bRc.mjs → briefing-CpU_z8qH.mjs} +5 -5
- package/dist/{briefing-BfUOJfCy.mjs → briefing-PxagUoJJ.mjs} +1 -1
- package/dist/{bundle-C-eQG8un.mjs → bundle-dsO2-7eh.mjs} +2 -2
- package/dist/{byline-CB0OLcK1.mjs → byline-DEBDPF8R.mjs} +4 -4
- package/dist/{byline-fields-BRUB-Vla.mjs → byline-fields-BQRx17y_.mjs} +1 -1
- package/dist/{byline-fields-urVGl6bz.d.mts → byline-fields-C1E_WA7w.d.mts} +43 -37
- package/dist/{bylines-BDp4-cpl.mjs → bylines-C7hm1-iI.mjs} +3 -3
- package/dist/{bylines-CiSL5IrP.mjs → bylines-YK6eGHvV.mjs} +5 -5
- package/dist/{cache-CtXIOJKw.mjs → cache-BuVpjvBc.mjs} +1 -1
- package/dist/{chunks-BdkWx1oD.mjs → chunks-B-1_U3oF.mjs} +1 -1
- package/dist/cli/index.mjs +28 -27
- package/dist/cli/plugin-kit.d.mts +9 -8
- package/dist/cli/plugin-kit.mjs +2 -2
- package/dist/client/external-auth-headers.d.mts +1 -1
- package/dist/client/index.d.mts +11 -10
- package/dist/client/index.mjs +2 -2
- package/dist/{client-factory-Dll61uB1.mjs → client-factory-Nyp2sznG.mjs} +1 -1
- package/dist/{comment-3JihGSh6.mjs → comment-BX6H4NF-.mjs} +1 -1
- package/dist/{comment-reaction-BNXm1YHa.mjs → comment-reaction-QSENU_3S.mjs} +1 -1
- package/dist/{comments-DJZXQi0j.mjs → comments-BHSYG53k.mjs} +1 -1
- package/dist/{content-Bturdi4b.mjs → content-Bg_hMt4Q.mjs} +2 -2
- package/dist/{content-refresh-C4YoqoNs.mjs → content-refresh-CHBBZGwf.mjs} +2 -2
- package/dist/{context-DH-YFjZr.mjs → context-B3MeY9FA.mjs} +2 -2
- package/dist/{context-CB4PwkM_.mjs → context-BGt7zfQ-.mjs} +8 -8
- package/dist/{context-route-helpers-CLoNF0pp.mjs → context-route-helpers-VgsXDvp2.mjs} +2 -2
- package/dist/{dashboard-DP4dxA1S.mjs → dashboard-DPUW4hBR.mjs} +4 -4
- package/dist/db/index.d.mts +3 -3
- package/dist/db/index.mjs +1 -1
- package/dist/db/libsql.d.mts +1 -1
- package/dist/db/postgres.d.mts +1 -1
- package/dist/db/sqlite.d.mts +1 -1
- package/dist/{device-flow-BWV1ZxXW.mjs → device-flow-XqdFNsv_.mjs} +4 -4
- package/dist/discovery-DvuRcbP-.mjs +178 -0
- package/dist/{field-defs-cache-BGhsaYGT.mjs → field-defs-cache-sSdDeJXP.mjs} +1 -1
- package/dist/{fts-manager-6KClQEs0.mjs → fts-manager-C7pxxk6B.mjs} +1 -1
- package/dist/{hitl-requests-DDYRgSeH.mjs → hitl-requests-BK-EIco_.mjs} +2 -2
- package/dist/{hitl-route-helpers-BI3qTO75.mjs → hitl-route-helpers-Br9uvIQs.mjs} +5 -5
- package/dist/{import-CoaAe-mc.mjs → import-CrsquhXj.mjs} +7 -7
- package/dist/{index-DybFmYtZ.d.mts → index-NdJMMO48.d.mts} +3 -3
- package/dist/index.d.mts +16 -15
- package/dist/index.mjs +75 -74
- package/dist/{integration-credentials-D3ZneN0L.mjs → integration-credentials-B7Pj6YCv.mjs} +2 -2
- package/dist/{jsonld-DfR5LVWQ.d.mts → jsonld-lB2lp3l4.d.mts} +19 -7
- package/dist/{load-CfFRVQkS.mjs → load-Bul8Tk6e.mjs} +1 -1
- package/dist/{loader-CqKPLiKx.mjs → loader-BCr2VSzt.mjs} +2 -2
- package/dist/{manifest-schema-DKa3ZaJL.mjs → manifest-schema-U5qGq-iB.mjs} +1 -1
- package/dist/{mcp-reviewed-executor-ANVt5edE.mjs → mcp-reviewed-executor-C1lIimd0.mjs} +4 -4
- package/dist/media/index.d.mts +1 -1
- package/dist/media/local-runtime.d.mts +11 -10
- package/dist/media/local-runtime.mjs +2 -2
- package/dist/{media-BXbOL8xv.mjs → media-D8pQJSug.mjs} +1 -1
- package/dist/{menus-DCjNW2e4.mjs → menus-3B-PGTX3.mjs} +1 -1
- package/dist/{menus-Cu8lQOFw.mjs → menus-DSWeEWXl.mjs} +5 -5
- package/dist/{oauth-authorization-fiXxn7FY.mjs → oauth-authorization-CMU5kREy.mjs} +4 -4
- package/dist/{oauth-clients-D9Gg0WjF.mjs → oauth-clients-CLdR0WyA.mjs} +2 -2
- package/dist/object-cache/memory.d.mts +1 -1
- package/dist/page/index.d.mts +11 -10
- package/dist/page/index.mjs +2 -2
- package/dist/{parse-B-Y84oJl.mjs → parse-DEG06jjr.mjs} +1 -1
- package/dist/plugin-utils.d.mts +9 -8
- package/dist/plugins/adapt-sandbox-entry.d.mts +9 -8
- package/dist/plugins/adapt-sandbox-entry.mjs +1 -1
- package/dist/{plugins-BVSrX4gZ.mjs → plugins-D8YxTh9q.mjs} +26 -23
- package/dist/{preview-BMIReQGc.mjs → preview-Bn59ztjn.mjs} +2 -2
- package/dist/{provider-loader-Db-pJFu3.d.mts → provider-loader-jdkZM6xZ.d.mts} +1 -1
- package/dist/{public-url-ClXQnxy1.d.mts → public-url-BMFk_gUK.d.mts} +1 -1
- package/dist/public-url-DFX2c_20.d.mts +99 -0
- package/dist/{publication-authorization-DrqQCW3R.mjs → publication-authorization-BmazS4K0.mjs} +6 -6
- package/dist/{query-B0rPTc7J.mjs → query-CrUftarl.mjs} +12 -12
- package/dist/{query-D5Wvb06i.mjs → query-DPC5GT6e.mjs} +2 -2
- package/dist/{rate-limit-oUGexQO1.mjs → rate-limit-DvGL45wH.mjs} +2 -2
- package/dist/{redirect-3Zzd0xIN.mjs → redirect-8B-gorhg.mjs} +1 -1
- package/dist/{redirects-lCeytkeq.mjs → redirects-D2SVS1zo.mjs} +3 -3
- package/dist/{redirects-CWGZMRsj.mjs → redirects-DdPaQiWQ.mjs} +6 -2
- package/dist/{registry-c51Wf_AZ.mjs → registry-D3n4-yUl.mjs} +13 -6
- package/dist/{request-meta-DHFIzWcf.mjs → request-meta-DZTiCIQR.mjs} +1 -1
- package/dist/resolve-CThKf9_X.mjs +27 -0
- package/dist/{review-requests-eQbhj62T.mjs → review-requests-BQbmYLnz.mjs} +1 -1
- package/dist/{review-requests-B9NfBTCJ.mjs → review-requests-D5CJ4JCy.mjs} +1 -1
- package/dist/{review-route-helpers-4KBg7Hi3.mjs → review-route-helpers-DYiujAPM.mjs} +2 -2
- package/dist/{runner-Bcy5w0vj.d.mts → runner-BITx7yBF.d.mts} +1 -1
- package/dist/{runner-BE1taNgj.mjs → runner-BWZ87FK-.mjs} +482 -457
- package/dist/runtime.d.mts +10 -9
- package/dist/runtime.mjs +3 -3
- package/dist/schema-kk9-6bUd.mjs +8 -0
- package/dist/{search-NcUUIJOw.mjs → search-B_ir6H6m.mjs} +3 -3
- package/dist/{sections-D_imfMlM.mjs → sections-pRy07N5I.mjs} +2 -2
- package/dist/seed/index.d.mts +2 -2
- package/dist/seed/index.mjs +17 -17
- package/dist/seo/index.d.mts +4 -2
- package/dist/seo/index.mjs +10 -11
- package/dist/{seo-BasNtS3J.mjs → seo-C4nlxiaY.mjs} +1 -1
- package/dist/seo-DdNntVj-.mjs +52 -0
- package/dist/{seo-contributions-Ci8_12_r.mjs → seo-contributions-BGBehNCN.mjs} +260 -76
- package/dist/{service-BTYluCDf.mjs → service-D6fJX7D7.mjs} +2 -2
- package/dist/{settings-BUZ7b4Bn.mjs → settings-C4OMR0zf.mjs} +2 -2
- package/dist/{settings-Cs-ST1tU.mjs → settings-D-a7uy2z.mjs} +2 -2
- package/dist/{site-activity-QPC-7Vnq.mjs → site-activity-CnrmnFRy.mjs} +1 -1
- package/dist/{site-context-BDEjOzOk.mjs → site-context-Bdsobbh9.mjs} +13 -13
- package/dist/storage/local.d.mts +1 -1
- package/dist/storage/local.mjs +1 -1
- package/dist/storage/s3.d.mts +1 -1
- package/dist/storage/s3.mjs +1 -1
- package/dist/{store-CCfMD6nw.mjs → store-DerEE3jG.mjs} +1 -1
- package/dist/{taxonomies-DoyE8B41.mjs → taxonomies-6bWkaa_G.mjs} +3 -3
- package/dist/{taxonomies-CpYwz_sN.mjs → taxonomies-FKTevd14.mjs} +5 -5
- package/dist/{taxonomy-C-Aqi1cF.mjs → taxonomy-BU0eCfij.mjs} +2 -2
- package/dist/{types-ywmuDETA.d.mts → types-B2kbOwSj.d.mts} +6 -0
- package/dist/{types-GtwhHAg8.d.mts → types-B6r_SMeR.d.mts} +1 -1
- package/dist/{types-BFeoAIHl.d.mts → types-C8cUW9dh.d.mts} +1 -0
- package/dist/{types-al8YMHdF.mjs → types-C9F2TLQV.mjs} +1 -1
- package/dist/{types-C4ZrBtdu.d.mts → types-QSLrpQZp.d.mts} +533 -54
- package/dist/ui/server-runtime.d.mts +13 -12
- package/dist/ui/server-runtime.mjs +19 -60
- package/dist/{user-Ldseid1x.mjs → user-BV02bsWz.mjs} +2 -2
- package/dist/{validate-YiX3rly5.d.mts → validate-Bc9gaua6.d.mts} +5 -3
- package/dist/{validate-hHdBXn4U.mjs → validate-Drps_jbV.mjs} +9 -1
- package/dist/version-CGXao7VG.mjs +6 -0
- package/dist/{widgets-cBtEykx0.mjs → widgets-BFqy7PYs.mjs} +2 -2
- package/dist/{zod-generator-BGSszwCw.mjs → zod-generator-BlY_vGgR.mjs} +1 -1
- package/package.json +2 -2
- package/src/components/DinewayHead.astro +6 -6
- package/dist/resolve-B6BpqwAR.mjs +0 -100
- package/dist/schema-dGCjdAx9.mjs +0 -8
- package/dist/seo-BLszyJxd.mjs +0 -105
- package/dist/version-CZX1tQmH.mjs +0 -6
- /package/dist/{actor-DA7yL9Yp.mjs → actor-D3A5PNkH.mjs} +0 -0
- /package/dist/{adapters-DnMDRQ4e.d.mts → adapters-DUVI3Mpc.d.mts} +0 -0
- /package/dist/{api-tokens-D4tcY8R6.mjs → api-tokens-CbMAy6xF.mjs} +0 -0
- /package/dist/{byline-fields-sE9SQsDR.mjs → byline-fields-DPi4Ri_5.mjs} +0 -0
- /package/dist/{challenge-store-BMkL2kmt.mjs → challenge-store-DtdQHXf5.mjs} +0 -0
- /package/dist/{components-D0w9MzQe.mjs → components-DGu-rih7.mjs} +0 -0
- /package/dist/{cron-D_c3WUPN.mjs → cron-BjKHo0QD.mjs} +0 -0
- /package/dist/{default-BxoI3SoK.mjs → default-CO47mlSA.mjs} +0 -0
- /package/dist/{email-console-BEMwuxhV.mjs → email-console-CFE1ay18.mjs} +0 -0
- /package/dist/{error-BW9f_ynq.mjs → error-Jz0EtEwI.mjs} +0 -0
- /package/dist/{escape-smSUOb7u.mjs → escape-HmHTC1Is.mjs} +0 -0
- /package/dist/{experimental-workflows-CgO73K4e.mjs → experimental-workflows-EYZRNkRR.mjs} +0 -0
- /package/dist/{media-allowlist-BQyIBPzd.mjs → media-allowlist-9u_gxMG2.mjs} +0 -0
- /package/dist/{media-url-B6d-yVI6.mjs → media-url-DVoOhf4X.mjs} +0 -0
- /package/dist/{mode-DPC7segX.mjs → mode-DqpBaEOy.mjs} +0 -0
- /package/dist/{oauth-state-store-DPVzeoyY.mjs → oauth-state-store-HdGg_nSm.mjs} +0 -0
- /package/dist/{oauth-user-lookup-3E5jlXrr.mjs → oauth-user-lookup-CP16vyFW.mjs} +0 -0
- /package/dist/{output-13u4dvu-.mjs → output-CXOC3BFr.mjs} +0 -0
- /package/dist/{parser-DX_c5iG3.mjs → parser-buoH2frr.mjs} +0 -0
- /package/dist/{passkey-config-DE_0EGEP.mjs → passkey-config-T47FwLtS.mjs} +0 -0
- /package/dist/{placeholder-C6ZjZcmJ.d.mts → placeholder-BsYSFPjY.d.mts} +0 -0
- /package/dist/{portable-text-BASHceim.mjs → portable-text-DQHE3b5v.mjs} +0 -0
- /package/dist/{portable-text-BYUu-wtj.d.mts → portable-text-Dm0bgrdZ.d.mts} +0 -0
- /package/dist/{provider-loader-BeQcnPN1.mjs → provider-loader-Dxka0BDp.mjs} +0 -0
- /package/dist/{public-url-BA-7LKvQ.mjs → public-url-CIAtNGEg.mjs} +0 -0
- /package/dist/{redirect-CZFAqHLr.mjs → redirect-CzqnLxK-.mjs} +0 -0
- /package/dist/{secrets-CpGpyGcO.mjs → secrets-Dw3lXI42.mjs} +0 -0
- /package/dist/{service-CY0aH6eI.mjs → service-DOdvCW-9.mjs} +0 -0
- /package/dist/{session-user-BwliEFp0.mjs → session-user-CYjNeJoD.mjs} +0 -0
- /package/dist/{setup-complete-PvF8I7Oh.mjs → setup-complete-Blqo_adb.mjs} +0 -0
- /package/dist/{setup-nonce-DkpYROqg.mjs → setup-nonce-CGUTFWgQ.mjs} +0 -0
- /package/dist/{sidecar-client-dt5fv23q.mjs → sidecar-client-C6ylL-0S.mjs} +0 -0
- /package/dist/{site-url-DfYDZyWl.mjs → site-url-CK5vBdFu.mjs} +0 -0
- /package/dist/{ssrf-BZHvtFEv.mjs → ssrf-Dz2hqAiG.mjs} +0 -0
- /package/dist/{status-BN40hMpr.mjs → status-xz9JACSX.mjs} +0 -0
- /package/dist/{tokens-DIzhPT80.mjs → tokens-DiodRT2y.mjs} +0 -0
- /package/dist/{transport-CXkC1F2Z.d.mts → transport-DKy93p6V.d.mts} +0 -0
- /package/dist/{transport-C46KHLMP.mjs → transport-zquJ7Bzm.mjs} +0 -0
- /package/dist/{trusted-proxy-czZuby6G.mjs → trusted-proxy-NySPw95m.mjs} +0 -0
- /package/dist/{types-BsTXSvKG.d.mts → types-BaKec6bx.d.mts} +0 -0
- /package/dist/{types-gvNBqijt.mjs → types-C1LdZbQb.mjs} +0 -0
- /package/dist/{types-S9VIopdY.d.mts → types-C2LBO0t8.d.mts} +0 -0
- /package/dist/{types-CDcuRd4z.d.mts → types-DY9lJRpo.d.mts} +0 -0
- /package/dist/{types-YxFz4lDr.d.mts → types-Gd4kXLsa.d.mts} +0 -0
- /package/dist/{types-CK0r-Xq4.mjs → types-ftxcMx5-.mjs} +0 -0
- /package/dist/{url-D282S1Zw.mjs → url-C05Zz4pW.mjs} +0 -0
- /package/dist/{utils-B7gemXz5.mjs → utils-BPzpVHqR.mjs} +0 -0
- /package/dist/{wordpress-slugs-D_LfQCan.mjs → wordpress-slugs-fMvfO22_.mjs} +0 -0
|
@@ -1,98 +1,99 @@
|
|
|
1
|
-
import { i as runMigrations } from "../runner-
|
|
1
|
+
import { i as runMigrations } from "../runner-BWZ87FK-.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-D8YxTh9q.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-C9F2TLQV.mjs";
|
|
11
|
+
import { o as isMissingTableError, r as getDb } from "../loader-BCr2VSzt.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-Bg_hMt4Q.mjs";
|
|
15
|
+
import { t as MediaRepository } from "../media-D8pQJSug.mjs";
|
|
16
|
+
import "../user-BV02bsWz.mjs";
|
|
17
|
+
import "../taxonomy-BU0eCfij.mjs";
|
|
18
|
+
import "../comment-BX6H4NF-.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-nenmMR-2.mjs";
|
|
21
|
+
import "../site-activity-CnrmnFRy.mjs";
|
|
22
|
+
import "../review-requests-D5CJ4JCy.mjs";
|
|
23
|
+
import { n as PublicationAuthorizationService, t as PublicationAuthorizationError } from "../publication-authorization-BmazS4K0.mjs";
|
|
24
|
+
import "../site-context-Bdsobbh9.mjs";
|
|
25
|
+
import { t as PluginContextFactory } from "../context-BGt7zfQ-.mjs";
|
|
26
|
+
import "../menus-3B-PGTX3.mjs";
|
|
27
|
+
import "../redirect-8B-gorhg.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-sSdDeJXP.mjs";
|
|
32
|
+
import "../byline-DEBDPF8R.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 validateRev, j as handleRevisionList, k as handleMediaUpdate, q as handleContentPublish, z as handleContentDelete } from "../api-
|
|
37
|
-
import "../dashboard-
|
|
38
|
-
import { u as PluginStateRepository } from "../briefing-
|
|
35
|
+
import "../seo-C4nlxiaY.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 validateRev, j as handleRevisionList, k as handleMediaUpdate, q as handleContentPublish, z as handleContentDelete } from "../api-CqWeLWXX.mjs";
|
|
37
|
+
import "../dashboard-DPUW4hBR.mjs";
|
|
38
|
+
import { u as PluginStateRepository } from "../briefing-CpU_z8qH.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-CHBBZGwf.mjs";
|
|
41
41
|
import { n as hashString } from "../hash-mxxx2oPW.mjs";
|
|
42
|
-
import { t as FTSManager } from "../fts-manager-
|
|
43
|
-
import { n as SchemaRegistry } from "../registry-
|
|
42
|
+
import { t as FTSManager } from "../fts-manager-C7pxxk6B.mjs";
|
|
43
|
+
import { n as SchemaRegistry } from "../registry-D3n4-yUl.mjs";
|
|
44
44
|
import { r as createPublicMediaUrlResolver } from "../url-guoXQQcV.mjs";
|
|
45
|
-
import "../settings-
|
|
46
|
-
import "../briefing-
|
|
47
|
-
import "../review-requests-
|
|
48
|
-
import { n as VERSION, t as COMMIT } from "../version-
|
|
49
|
-
import "../query-
|
|
50
|
-
import "../zod-generator-
|
|
51
|
-
import "../schema-
|
|
52
|
-
import "../
|
|
53
|
-
import "../
|
|
54
|
-
import "../
|
|
55
|
-
import "../
|
|
56
|
-
import "../
|
|
57
|
-
import
|
|
58
|
-
import "../
|
|
59
|
-
import "../
|
|
60
|
-
import "../
|
|
61
|
-
import "../
|
|
62
|
-
import "../taxonomies-
|
|
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 {
|
|
77
|
-
import "../
|
|
78
|
-
import
|
|
79
|
-
import "../
|
|
80
|
-
import "../activity-
|
|
81
|
-
import
|
|
82
|
-
import "../
|
|
83
|
-
import "../
|
|
84
|
-
import "../
|
|
85
|
-
import "../
|
|
86
|
-
import "../
|
|
87
|
-
import "../
|
|
88
|
-
import "../
|
|
89
|
-
import "../
|
|
90
|
-
import "../
|
|
91
|
-
import "../
|
|
45
|
+
import "../settings-D-a7uy2z.mjs";
|
|
46
|
+
import "../briefing-PxagUoJJ.mjs";
|
|
47
|
+
import "../review-requests-BQbmYLnz.mjs";
|
|
48
|
+
import { n as VERSION, t as COMMIT } from "../version-CGXao7VG.mjs";
|
|
49
|
+
import "../query-DPC5GT6e.mjs";
|
|
50
|
+
import "../zod-generator-BlY_vGgR.mjs";
|
|
51
|
+
import "../schema-kk9-6bUd.mjs";
|
|
52
|
+
import "../discovery-DvuRcbP-.mjs";
|
|
53
|
+
import "../seo-DdNntVj-.mjs";
|
|
54
|
+
import "../bylines-C7hm1-iI.mjs";
|
|
55
|
+
import "../byline-fields-DPi4Ri_5.mjs";
|
|
56
|
+
import "../sections-pRy07N5I.mjs";
|
|
57
|
+
import "../settings-C4OMR0zf.mjs";
|
|
58
|
+
import { o as validateEncryptionKeyAtStartup } from "../secrets-Dw3lXI42.mjs";
|
|
59
|
+
import "../store-DerEE3jG.mjs";
|
|
60
|
+
import "../integration-credentials-B7Pj6YCv.mjs";
|
|
61
|
+
import "../resolve-CThKf9_X.mjs";
|
|
62
|
+
import "../taxonomies-FKTevd14.mjs";
|
|
63
|
+
import "../taxonomies-6bWkaa_G.mjs";
|
|
64
|
+
import { r as normalizeManifestRoute } from "../manifest-schema-U5qGq-iB.mjs";
|
|
65
|
+
import "../parse-DEG06jjr.mjs";
|
|
66
|
+
import "../redirects-DdPaQiWQ.mjs";
|
|
67
|
+
import "../byline-fields-BQRx17y_.mjs";
|
|
68
|
+
import "../status-xz9JACSX.mjs";
|
|
69
|
+
import { t as getTrustedProxyHeaders } from "../trusted-proxy-NySPw95m.mjs";
|
|
70
|
+
import "../rate-limit-DvGL45wH.mjs";
|
|
71
|
+
import { a as invalidateUrlPatternCache } from "../query-CrUftarl.mjs";
|
|
72
|
+
import "../preview-Bn59ztjn.mjs";
|
|
73
|
+
import "../parser-buoH2frr.mjs";
|
|
74
|
+
import { n as sanitizeHeadersForSandbox, t as extractRequestMeta } from "../request-meta-DZTiCIQR.mjs";
|
|
75
|
+
import "../ssrf-Dz2hqAiG.mjs";
|
|
76
|
+
import { n as CronExecutor } from "../cron-BjKHo0QD.mjs";
|
|
77
|
+
import { r as devConsoleEmailDeliver, t as DEV_CONSOLE_EMAIL_PLUGIN_ID } from "../email-console-CFE1ay18.mjs";
|
|
78
|
+
import "../api-tokens-CbMAy6xF.mjs";
|
|
79
|
+
import { n as createActivePluginMcpRegistry } from "../mcp-reviewed-executor-C1lIimd0.mjs";
|
|
80
|
+
import "../activity-Bm5x0dik.mjs";
|
|
81
|
+
import "../activity-events-DpvhcjTP.mjs";
|
|
82
|
+
import { i as experimentalSiteContextWorkflowsEnabled } from "../experimental-workflows-EYZRNkRR.mjs";
|
|
83
|
+
import "../utils-BPzpVHqR.mjs";
|
|
84
|
+
import "../search-B_ir6H6m.mjs";
|
|
85
|
+
import "../import-CrsquhXj.mjs";
|
|
86
|
+
import "../tokens-DiodRT2y.mjs";
|
|
87
|
+
import "../comment-reaction-QSENU_3S.mjs";
|
|
88
|
+
import "../menus-DSWeEWXl.mjs";
|
|
89
|
+
import "../bylines-YK6eGHvV.mjs";
|
|
90
|
+
import "../widgets-BFqy7PYs.mjs";
|
|
91
|
+
import "../apply-Hodkn7PL.mjs";
|
|
92
|
+
import "../load-Bul8Tk6e.mjs";
|
|
92
93
|
import "../index.mjs";
|
|
93
|
-
import { t as getAuthMode } from "../mode-
|
|
94
|
-
import { t as cleanupExpiredChallenges } from "../challenge-store-
|
|
95
|
-
import { t as resolveSessionUser } from "../session-user-
|
|
94
|
+
import { t as getAuthMode } from "../mode-DqpBaEOy.mjs";
|
|
95
|
+
import { t as cleanupExpiredChallenges } from "../challenge-store-DtdQHXf5.mjs";
|
|
96
|
+
import { t as resolveSessionUser } from "../session-user-CYjNeJoD.mjs";
|
|
96
97
|
import { Kysely, sql } from "kysely";
|
|
97
98
|
import { defineMiddleware } from "astro:middleware";
|
|
98
99
|
import virtualConfig from "virtual:dineway/config";
|
|
@@ -1068,9 +1069,9 @@ var DinewayRuntime = class DinewayRuntime {
|
|
|
1068
1069
|
}
|
|
1069
1070
|
})();
|
|
1070
1071
|
if (collectionCount.count === 0 && !setupDone) {
|
|
1071
|
-
const { applySeed } = await import("../apply-
|
|
1072
|
-
const { loadSeed } = await import("../load-
|
|
1073
|
-
const { validateSeed } = await import("../validate-
|
|
1072
|
+
const { applySeed } = await import("../apply-Hodkn7PL.mjs").then((n) => n.n);
|
|
1073
|
+
const { loadSeed } = await import("../load-Bul8Tk6e.mjs").then((n) => n.r);
|
|
1074
|
+
const { validateSeed } = await import("../validate-Drps_jbV.mjs").then((n) => n.n);
|
|
1074
1075
|
const seed = await loadSeed();
|
|
1075
1076
|
if (validateSeed(seed).valid) {
|
|
1076
1077
|
await applySeed(db, seed, { onConflict: "skip" });
|
|
@@ -1242,6 +1243,7 @@ var DinewayRuntime = class DinewayRuntime {
|
|
|
1242
1243
|
supports: collection.supports || [],
|
|
1243
1244
|
hasSeo: collection.hasSeo,
|
|
1244
1245
|
urlPattern: collection.urlPattern,
|
|
1246
|
+
urlField: collection.urlField,
|
|
1245
1247
|
fields
|
|
1246
1248
|
};
|
|
1247
1249
|
}
|
|
@@ -1388,6 +1390,7 @@ var DinewayRuntime = class DinewayRuntime {
|
|
|
1388
1390
|
}
|
|
1389
1391
|
};
|
|
1390
1392
|
}
|
|
1393
|
+
const previousContent = await this.previousContentForNotification(collection, resolvedId);
|
|
1391
1394
|
const { _rev: _discardedRev, ...bodyWithoutRev } = body;
|
|
1392
1395
|
let processedData = bodyWithoutRev.data;
|
|
1393
1396
|
if (bodyWithoutRev.data) {
|
|
@@ -1451,7 +1454,7 @@ var DinewayRuntime = class DinewayRuntime {
|
|
|
1451
1454
|
}
|
|
1452
1455
|
}
|
|
1453
1456
|
await this.refreshContentUsageAfterSuccessfulWrite(collection, contentIdsToRefresh);
|
|
1454
|
-
this.runAfterSaveHooks(contentItemToRecord(result.data.item), collection, false);
|
|
1457
|
+
this.runAfterSaveHooks(contentItemToRecord(result.data.item), collection, false, previousContent);
|
|
1455
1458
|
}
|
|
1456
1459
|
return result;
|
|
1457
1460
|
}
|
|
@@ -1474,10 +1477,11 @@ var DinewayRuntime = class DinewayRuntime {
|
|
|
1474
1477
|
}
|
|
1475
1478
|
};
|
|
1476
1479
|
const contentId = await this.resolveContentId(collection, id, false);
|
|
1480
|
+
const previousContent = await this.previousContentForNotification(collection, id);
|
|
1477
1481
|
const result = await handleContentDelete(this.db, collection, id);
|
|
1478
1482
|
if (result.success) {
|
|
1479
1483
|
if (contentId) await this.refreshContentUsageAfterSuccessfulWrite(collection, [contentId]);
|
|
1480
|
-
this.runAfterDeleteHooks(id, collection, false);
|
|
1484
|
+
this.runAfterDeleteHooks(id, collection, false, previousContent);
|
|
1481
1485
|
}
|
|
1482
1486
|
return result;
|
|
1483
1487
|
}
|
|
@@ -1524,18 +1528,20 @@ var DinewayRuntime = class DinewayRuntime {
|
|
|
1524
1528
|
});
|
|
1525
1529
|
}
|
|
1526
1530
|
async handleContentPublish(collection, id, options = {}) {
|
|
1531
|
+
const previousContent = await this.previousContentForNotification(collection, id);
|
|
1527
1532
|
const result = await handleContentPublish(this.db, collection, id, options);
|
|
1528
1533
|
if (result.success && result.data) {
|
|
1529
1534
|
await this.refreshContentUsageAfterSuccessfulWrite(collection, [result.data.item.id]);
|
|
1530
|
-
this.runAfterPublishHooks(contentItemToRecord(result.data.item), collection);
|
|
1535
|
+
this.runAfterPublishHooks(contentItemToRecord(result.data.item), collection, previousContent);
|
|
1531
1536
|
}
|
|
1532
1537
|
return result;
|
|
1533
1538
|
}
|
|
1534
1539
|
async handleContentUnpublish(collection, id) {
|
|
1540
|
+
const previousContent = await this.previousContentForNotification(collection, id);
|
|
1535
1541
|
const result = await handleContentUnpublish(this.db, collection, id);
|
|
1536
1542
|
if (result.success && result.data) {
|
|
1537
1543
|
await this.refreshContentUsageAfterSuccessfulWrite(collection, [result.data.item.id]);
|
|
1538
|
-
this.runAfterUnpublishHooks(contentItemToRecord(result.data.item), collection);
|
|
1544
|
+
this.runAfterUnpublishHooks(contentItemToRecord(result.data.item), collection, previousContent);
|
|
1539
1545
|
}
|
|
1540
1546
|
return result;
|
|
1541
1547
|
}
|
|
@@ -1805,10 +1811,14 @@ var DinewayRuntime = class DinewayRuntime {
|
|
|
1805
1811
|
}
|
|
1806
1812
|
return true;
|
|
1807
1813
|
}
|
|
1808
|
-
|
|
1814
|
+
async previousContentForNotification(collection, id) {
|
|
1815
|
+
const result = await handleContentGet(this.db, collection, id);
|
|
1816
|
+
return result.success ? contentItemToRecord(result.data.item) : void 0;
|
|
1817
|
+
}
|
|
1818
|
+
runAfterSaveHooks(content, collection, isNew, previousContent) {
|
|
1809
1819
|
after(async () => {
|
|
1810
1820
|
if (this.hooks.hasHooks("content:afterSave")) try {
|
|
1811
|
-
await this.hooks.runContentAfterSave(content, collection, isNew);
|
|
1821
|
+
await this.hooks.runContentAfterSave(content, collection, isNew, previousContent);
|
|
1812
1822
|
} catch (err) {
|
|
1813
1823
|
console.error("Dineway afterSave hook error:", err);
|
|
1814
1824
|
}
|
|
@@ -1821,7 +1831,8 @@ var DinewayRuntime = class DinewayRuntime {
|
|
|
1821
1831
|
await plugin.invokeHook("content:afterSave", {
|
|
1822
1832
|
content,
|
|
1823
1833
|
collection,
|
|
1824
|
-
isNew
|
|
1834
|
+
isNew,
|
|
1835
|
+
...previousContent ? { previousContent } : {}
|
|
1825
1836
|
});
|
|
1826
1837
|
} catch (err) {
|
|
1827
1838
|
console.error(`Dineway: Sandboxed plugin ${id} afterSave error:`, err);
|
|
@@ -1831,23 +1842,24 @@ var DinewayRuntime = class DinewayRuntime {
|
|
|
1831
1842
|
await Promise.allSettled(tasks);
|
|
1832
1843
|
});
|
|
1833
1844
|
}
|
|
1834
|
-
runAfterDeleteHooks(id, collection, permanent) {
|
|
1835
|
-
if (this.hooks.hasHooks("content:afterDelete")) this.hooks.runContentAfterDelete(id, collection, permanent).catch((err) => console.error("Dineway afterDelete hook error:", err));
|
|
1845
|
+
runAfterDeleteHooks(id, collection, permanent, previousContent) {
|
|
1846
|
+
if (this.hooks.hasHooks("content:afterDelete")) this.hooks.runContentAfterDelete(id, collection, permanent, previousContent).catch((err) => console.error("Dineway afterDelete hook error:", err));
|
|
1836
1847
|
for (const [pluginKey, plugin] of this.sandboxedPlugins) {
|
|
1837
1848
|
const [pluginId] = pluginKey.split(":");
|
|
1838
1849
|
if (!pluginId || !this.isPluginEnabled(pluginId)) continue;
|
|
1839
1850
|
plugin.invokeHook("content:afterDelete", {
|
|
1840
1851
|
id,
|
|
1841
1852
|
collection,
|
|
1842
|
-
permanent
|
|
1853
|
+
permanent,
|
|
1854
|
+
...previousContent ? { previousContent } : {}
|
|
1843
1855
|
}).catch((err) => console.error(`Dineway: Sandboxed plugin ${pluginId} afterDelete error:`, err));
|
|
1844
1856
|
}
|
|
1845
1857
|
}
|
|
1846
|
-
runAfterPublishHooks(content, collection) {
|
|
1847
|
-
this.runDeferredContentHook("content:afterPublish", content, collection);
|
|
1858
|
+
runAfterPublishHooks(content, collection, previousContent) {
|
|
1859
|
+
this.runDeferredContentHook("content:afterPublish", content, collection, previousContent);
|
|
1848
1860
|
}
|
|
1849
|
-
runAfterUnpublishHooks(content, collection) {
|
|
1850
|
-
this.runDeferredContentHook("content:afterUnpublish", content, collection);
|
|
1861
|
+
runAfterUnpublishHooks(content, collection, previousContent) {
|
|
1862
|
+
this.runDeferredContentHook("content:afterUnpublish", content, collection, previousContent);
|
|
1851
1863
|
}
|
|
1852
1864
|
runAfterRestoreHooks(content, collection) {
|
|
1853
1865
|
this.runDeferredContentHook("content:afterRestore", content, collection);
|
|
@@ -1858,15 +1870,15 @@ var DinewayRuntime = class DinewayRuntime {
|
|
|
1858
1870
|
runAfterUnscheduleHooks(content, collection) {
|
|
1859
1871
|
this.runDeferredContentHook("content:afterUnschedule", content, collection);
|
|
1860
1872
|
}
|
|
1861
|
-
runDeferredContentHook(name, content, collection) {
|
|
1873
|
+
runDeferredContentHook(name, content, collection, previousContent) {
|
|
1862
1874
|
after(async () => {
|
|
1863
1875
|
if (this.hooks.hasHooks(name)) try {
|
|
1864
1876
|
switch (name) {
|
|
1865
1877
|
case "content:afterPublish":
|
|
1866
|
-
await this.hooks.runContentAfterPublish(content, collection);
|
|
1878
|
+
await this.hooks.runContentAfterPublish(content, collection, previousContent);
|
|
1867
1879
|
break;
|
|
1868
1880
|
case "content:afterUnpublish":
|
|
1869
|
-
await this.hooks.runContentAfterUnpublish(content, collection);
|
|
1881
|
+
await this.hooks.runContentAfterUnpublish(content, collection, previousContent);
|
|
1870
1882
|
break;
|
|
1871
1883
|
case "content:afterRestore":
|
|
1872
1884
|
await this.hooks.runContentAfterRestore(content, collection);
|
|
@@ -1889,7 +1901,8 @@ var DinewayRuntime = class DinewayRuntime {
|
|
|
1889
1901
|
try {
|
|
1890
1902
|
await plugin.invokeHook(name, {
|
|
1891
1903
|
content,
|
|
1892
|
-
collection
|
|
1904
|
+
collection,
|
|
1905
|
+
...previousContent ? { previousContent } : {}
|
|
1893
1906
|
});
|
|
1894
1907
|
} catch (err) {
|
|
1895
1908
|
console.error(`Dineway: Sandboxed plugin ${pluginId} ${name} error:`, err);
|
|
@@ -2244,7 +2257,7 @@ const onRequest = defineMiddleware(async (context, next) => {
|
|
|
2244
2257
|
if (!isSetupVerified() && !context.isPrerendered) {
|
|
2245
2258
|
const setupStart = startServerTiming(serverTimings);
|
|
2246
2259
|
try {
|
|
2247
|
-
const { getDb } = await import("../loader-
|
|
2260
|
+
const { getDb } = await import("../loader-BCr2VSzt.mjs").then((n) => n.i);
|
|
2248
2261
|
await (await getDb()).selectFrom("_dineway_migrations").selectAll().limit(1).execute();
|
|
2249
2262
|
markSetupVerified();
|
|
2250
2263
|
} catch (error) {
|
|
@@ -2334,6 +2347,7 @@ const onRequest = defineMiddleware(async (context, next) => {
|
|
|
2334
2347
|
collectPageMetadata: runtime.collectPageMetadata.bind(runtime),
|
|
2335
2348
|
collectPageFragments: runtime.collectPageFragments.bind(runtime),
|
|
2336
2349
|
ensureSearchHealthy: runtime.ensureSearchHealthy.bind(runtime),
|
|
2350
|
+
runScheduledTasks: runtime.runScheduledTasks.bind(runtime),
|
|
2337
2351
|
storage: runtime.storage,
|
|
2338
2352
|
db: runtime.db,
|
|
2339
2353
|
getPublicMediaUrl: createPublicMediaUrlResolver(runtime.storage),
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import "../../../../../context-types-eBuMDAg-.mjs";
|
|
2
|
-
import { n as apiSuccess, r as handleError, t as apiError } from "../../../../../error-
|
|
3
|
-
import { n as parseBody, t as isParseError } from "../../../../../parse-
|
|
4
|
-
import { S as allowedDomainUpdateBody } from "../../../../../redirects-
|
|
5
|
-
import "../../../../../byline-fields-
|
|
6
|
-
import "../../../../../status-
|
|
2
|
+
import { n as apiSuccess, r as handleError, t as apiError } from "../../../../../error-Jz0EtEwI.mjs";
|
|
3
|
+
import { n as parseBody, t as isParseError } from "../../../../../parse-DEG06jjr.mjs";
|
|
4
|
+
import { S as allowedDomainUpdateBody } from "../../../../../redirects-DdPaQiWQ.mjs";
|
|
5
|
+
import "../../../../../byline-fields-BQRx17y_.mjs";
|
|
6
|
+
import "../../../../../status-xz9JACSX.mjs";
|
|
7
7
|
import "../../../../../api/schemas/index.mjs";
|
|
8
8
|
import { Role, roleFromLevel } from "@dineway-ai/auth";
|
|
9
9
|
import { createKyselyAdapter } from "@dineway-ai/auth/adapters/kysely";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import "../../../../../context-types-eBuMDAg-.mjs";
|
|
2
|
-
import { n as apiSuccess, r as handleError, t as apiError } from "../../../../../error-
|
|
3
|
-
import { n as parseBody, t as isParseError } from "../../../../../parse-
|
|
4
|
-
import { x as allowedDomainCreateBody } from "../../../../../redirects-
|
|
5
|
-
import "../../../../../byline-fields-
|
|
6
|
-
import "../../../../../status-
|
|
2
|
+
import { n as apiSuccess, r as handleError, t as apiError } from "../../../../../error-Jz0EtEwI.mjs";
|
|
3
|
+
import { n as parseBody, t as isParseError } from "../../../../../parse-DEG06jjr.mjs";
|
|
4
|
+
import { x as allowedDomainCreateBody } from "../../../../../redirects-DdPaQiWQ.mjs";
|
|
5
|
+
import "../../../../../byline-fields-BQRx17y_.mjs";
|
|
6
|
+
import "../../../../../status-xz9JACSX.mjs";
|
|
7
7
|
import "../../../../../api/schemas/index.mjs";
|
|
8
8
|
import { Role, roleFromLevel } from "@dineway-ai/auth";
|
|
9
9
|
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-Jz0EtEwI.mjs";
|
|
2
|
+
import "../../../../../api-tokens-CbMAy6xF.mjs";
|
|
3
|
+
import { i as handleApiTokenRevoke } from "../../../../../api-tokens-BFgXg0l2.mjs";
|
|
4
|
+
import { t as rejectApiTokenAuthControlWrite } from "../../../../../auth-control-guard-B7PdECn6.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-Jz0EtEwI.mjs";
|
|
2
|
+
import { n as parseBody, t as isParseError } from "../../../../../parse-DEG06jjr.mjs";
|
|
3
|
+
import { t as ALL_VALID_SCOPES } from "../../../../../api-tokens-CbMAy6xF.mjs";
|
|
4
|
+
import { c as requestedExperimentalSiteContextWorkflowScopes, i as experimentalSiteContextWorkflowsEnabled, s as getExperimentalSiteContextWorkflowsDisabledMessage } from "../../../../../experimental-workflows-EYZRNkRR.mjs";
|
|
5
|
+
import { n as handleApiTokenCreate, r as handleApiTokenList } from "../../../../../api-tokens-BFgXg0l2.mjs";
|
|
6
|
+
import { t as rejectApiTokenAuthControlWrite } from "../../../../../auth-control-guard-B7PdECn6.mjs";
|
|
7
7
|
import { z } from "zod";
|
|
8
8
|
import { Role } from "@dineway-ai/auth";
|
|
9
9
|
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import "../../../../dialect-helpers-fk43GbDb.mjs";
|
|
2
2
|
import "../../../../base64-F8-DUraK.mjs";
|
|
3
|
-
import "../../../../types-
|
|
4
|
-
import "../../../../loader-
|
|
3
|
+
import "../../../../types-C9F2TLQV.mjs";
|
|
4
|
+
import "../../../../loader-BCr2VSzt.mjs";
|
|
5
5
|
import "../../../../object-cache-D51qOseS.mjs";
|
|
6
|
-
import "../../../../media-
|
|
6
|
+
import "../../../../media-D8pQJSug.mjs";
|
|
7
7
|
import "../../../../options-DQPTH5n0.mjs";
|
|
8
|
-
import "../../../../site-activity-
|
|
9
|
-
import "../../../../review-requests-
|
|
8
|
+
import "../../../../site-activity-CnrmnFRy.mjs";
|
|
9
|
+
import "../../../../review-requests-D5CJ4JCy.mjs";
|
|
10
10
|
import "../../../../request-cache-CBFjCwSt.mjs";
|
|
11
|
-
import "../../../../briefing-
|
|
11
|
+
import "../../../../briefing-CpU_z8qH.mjs";
|
|
12
12
|
import "../../../../context-types-eBuMDAg-.mjs";
|
|
13
|
-
import "../../../../content-refresh-
|
|
14
|
-
import "../../../../fts-manager-
|
|
15
|
-
import "../../../../registry-
|
|
16
|
-
import "../../../../settings-
|
|
17
|
-
import { t as handleSiteBriefingGet } from "../../../../briefing-
|
|
18
|
-
import { a as unwrapResult, i as requireDb, r as handleError, t as apiError } from "../../../../error-
|
|
19
|
-
import { i as parseQuery, t as isParseError } from "../../../../parse-
|
|
20
|
-
import "../../../../redirects-
|
|
21
|
-
import { A as siteBriefingQuery } from "../../../../byline-fields-
|
|
22
|
-
import "../../../../status-
|
|
13
|
+
import "../../../../content-refresh-CHBBZGwf.mjs";
|
|
14
|
+
import "../../../../fts-manager-C7pxxk6B.mjs";
|
|
15
|
+
import "../../../../registry-D3n4-yUl.mjs";
|
|
16
|
+
import "../../../../settings-D-a7uy2z.mjs";
|
|
17
|
+
import { t as handleSiteBriefingGet } from "../../../../briefing-PxagUoJJ.mjs";
|
|
18
|
+
import { a as unwrapResult, i as requireDb, r as handleError, t as apiError } from "../../../../error-Jz0EtEwI.mjs";
|
|
19
|
+
import { i as parseQuery, t as isParseError } from "../../../../parse-DEG06jjr.mjs";
|
|
20
|
+
import "../../../../redirects-DdPaQiWQ.mjs";
|
|
21
|
+
import { A as siteBriefingQuery } from "../../../../byline-fields-BQRx17y_.mjs";
|
|
22
|
+
import "../../../../status-xz9JACSX.mjs";
|
|
23
23
|
import "../../../../api/schemas/index.mjs";
|
|
24
24
|
import { hasPermission } from "@dineway-ai/auth";
|
|
25
25
|
|
|
@@ -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-DPi4Ri_5.mjs";
|
|
3
|
+
import { a as unwrapResult, t as apiError } from "../../../../../../error-Jz0EtEwI.mjs";
|
|
4
|
+
import { n as requirePerm } from "../../../../../../authorize-DTvHe9bm.mjs";
|
|
5
5
|
|
|
6
6
|
//#region src/astro/routes/api/admin/byline-fields/[slug]/usage.ts
|
|
7
7
|
const prerender = false;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import "../../../../../byline-registry-BLgrU3dA.mjs";
|
|
2
2
|
import "../../../../../context-types-eBuMDAg-.mjs";
|
|
3
|
-
import { n as handleBylineFieldDelete, o as handleBylineFieldUpdate, r as handleBylineFieldGet } from "../../../../../byline-fields-
|
|
4
|
-
import { a as unwrapResult, t as apiError } from "../../../../../error-
|
|
5
|
-
import { n as parseBody, t as isParseError } from "../../../../../parse-
|
|
6
|
-
import "../../../../../redirects-
|
|
7
|
-
import { a as bylineFieldUpdateBody } from "../../../../../byline-fields-
|
|
8
|
-
import "../../../../../status-
|
|
3
|
+
import { n as handleBylineFieldDelete, o as handleBylineFieldUpdate, r as handleBylineFieldGet } from "../../../../../byline-fields-DPi4Ri_5.mjs";
|
|
4
|
+
import { a as unwrapResult, t as apiError } from "../../../../../error-Jz0EtEwI.mjs";
|
|
5
|
+
import { n as parseBody, t as isParseError } from "../../../../../parse-DEG06jjr.mjs";
|
|
6
|
+
import "../../../../../redirects-DdPaQiWQ.mjs";
|
|
7
|
+
import { a as bylineFieldUpdateBody } from "../../../../../byline-fields-BQRx17y_.mjs";
|
|
8
|
+
import "../../../../../status-xz9JACSX.mjs";
|
|
9
9
|
import "../../../../../api/schemas/index.mjs";
|
|
10
|
-
import { n as requirePerm } from "../../../../../authorize-
|
|
10
|
+
import { n as requirePerm } from "../../../../../authorize-DTvHe9bm.mjs";
|
|
11
11
|
|
|
12
12
|
//#region src/astro/routes/api/admin/byline-fields/[slug].ts
|
|
13
13
|
const prerender = false;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import "../../../../../byline-registry-BLgrU3dA.mjs";
|
|
2
2
|
import "../../../../../context-types-eBuMDAg-.mjs";
|
|
3
|
-
import { i as handleBylineFieldList, t as handleBylineFieldCreate } from "../../../../../byline-fields-
|
|
4
|
-
import { a as unwrapResult, t as apiError } from "../../../../../error-
|
|
5
|
-
import { n as parseBody, t as isParseError } from "../../../../../parse-
|
|
6
|
-
import "../../../../../redirects-
|
|
7
|
-
import { t as bylineFieldCreateBody } from "../../../../../byline-fields-
|
|
8
|
-
import "../../../../../status-
|
|
3
|
+
import { i as handleBylineFieldList, t as handleBylineFieldCreate } from "../../../../../byline-fields-DPi4Ri_5.mjs";
|
|
4
|
+
import { a as unwrapResult, t as apiError } from "../../../../../error-Jz0EtEwI.mjs";
|
|
5
|
+
import { n as parseBody, t as isParseError } from "../../../../../parse-DEG06jjr.mjs";
|
|
6
|
+
import "../../../../../redirects-DdPaQiWQ.mjs";
|
|
7
|
+
import { t as bylineFieldCreateBody } from "../../../../../byline-fields-BQRx17y_.mjs";
|
|
8
|
+
import "../../../../../status-xz9JACSX.mjs";
|
|
9
9
|
import "../../../../../api/schemas/index.mjs";
|
|
10
|
-
import { n as requirePerm } from "../../../../../authorize-
|
|
10
|
+
import { n as requirePerm } from "../../../../../authorize-DTvHe9bm.mjs";
|
|
11
11
|
|
|
12
12
|
//#region src/astro/routes/api/admin/byline-fields/index.ts
|
|
13
13
|
const prerender = false;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import "../../../../../byline-registry-BLgrU3dA.mjs";
|
|
2
2
|
import "../../../../../context-types-eBuMDAg-.mjs";
|
|
3
|
-
import { a as handleBylineFieldReorder } from "../../../../../byline-fields-
|
|
4
|
-
import { a as unwrapResult, t as apiError } from "../../../../../error-
|
|
5
|
-
import { n as parseBody, t as isParseError } from "../../../../../parse-
|
|
6
|
-
import "../../../../../redirects-
|
|
7
|
-
import { i as bylineFieldReorderBody } from "../../../../../byline-fields-
|
|
8
|
-
import "../../../../../status-
|
|
3
|
+
import { a as handleBylineFieldReorder } from "../../../../../byline-fields-DPi4Ri_5.mjs";
|
|
4
|
+
import { a as unwrapResult, t as apiError } from "../../../../../error-Jz0EtEwI.mjs";
|
|
5
|
+
import { n as parseBody, t as isParseError } from "../../../../../parse-DEG06jjr.mjs";
|
|
6
|
+
import "../../../../../redirects-DdPaQiWQ.mjs";
|
|
7
|
+
import { i as bylineFieldReorderBody } from "../../../../../byline-fields-BQRx17y_.mjs";
|
|
8
|
+
import "../../../../../status-xz9JACSX.mjs";
|
|
9
9
|
import "../../../../../api/schemas/index.mjs";
|
|
10
|
-
import { n as requirePerm } from "../../../../../authorize-
|
|
10
|
+
import { n as requirePerm } from "../../../../../authorize-DTvHe9bm.mjs";
|
|
11
11
|
|
|
12
12
|
//#region src/astro/routes/api/admin/byline-fields/reorder.ts
|
|
13
13
|
const prerender = false;
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import "../../../../../../dialect-helpers-fk43GbDb.mjs";
|
|
2
2
|
import "../../../../../../base64-F8-DUraK.mjs";
|
|
3
|
-
import "../../../../../../types-
|
|
4
|
-
import "../../../../../../loader-
|
|
3
|
+
import "../../../../../../types-C9F2TLQV.mjs";
|
|
4
|
+
import "../../../../../../loader-BCr2VSzt.mjs";
|
|
5
5
|
import "../../../../../../object-cache-D51qOseS.mjs";
|
|
6
6
|
import "../../../../../../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-sSdDeJXP.mjs";
|
|
9
|
+
import { t as BylineRepository } from "../../../../../../byline-DEBDPF8R.mjs";
|
|
10
10
|
import "../../../../../../context-types-eBuMDAg-.mjs";
|
|
11
|
-
import { i as handleBylineUpdate } from "../../../../../../bylines-
|
|
12
|
-
import "../../../../../../resolve-
|
|
13
|
-
import { a as unwrapResult, n as apiSuccess, r as handleError, t as apiError } from "../../../../../../error-
|
|
14
|
-
import { n as parseBody, t as isParseError } from "../../../../../../parse-
|
|
15
|
-
import { Tn as bylineUpdateBody } from "../../../../../../redirects-
|
|
16
|
-
import "../../../../../../byline-fields-
|
|
17
|
-
import "../../../../../../status-
|
|
11
|
+
import { i as handleBylineUpdate } from "../../../../../../bylines-C7hm1-iI.mjs";
|
|
12
|
+
import "../../../../../../resolve-CThKf9_X.mjs";
|
|
13
|
+
import { a as unwrapResult, n as apiSuccess, r as handleError, t as apiError } from "../../../../../../error-Jz0EtEwI.mjs";
|
|
14
|
+
import { n as parseBody, t as isParseError } from "../../../../../../parse-DEG06jjr.mjs";
|
|
15
|
+
import { Tn as bylineUpdateBody } from "../../../../../../redirects-DdPaQiWQ.mjs";
|
|
16
|
+
import "../../../../../../byline-fields-BQRx17y_.mjs";
|
|
17
|
+
import "../../../../../../status-xz9JACSX.mjs";
|
|
18
18
|
import "../../../../../../api/schemas/index.mjs";
|
|
19
|
-
import { a as invalidateBylineCache } from "../../../../../../bylines-
|
|
20
|
-
import { n as requirePerm } from "../../../../../../authorize-
|
|
19
|
+
import { a as invalidateBylineCache } from "../../../../../../bylines-YK6eGHvV.mjs";
|
|
20
|
+
import { n as requirePerm } from "../../../../../../authorize-DTvHe9bm.mjs";
|
|
21
21
|
import { Role } from "@dineway-ai/auth";
|
|
22
22
|
|
|
23
23
|
//#region src/astro/routes/api/admin/bylines/[id]/index.ts
|