dineway 0.1.19 → 0.1.21
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/{allowed-origins-D85wzUp6.mjs → allowed-origins-3nAx5Xeo.mjs} +1 -1
- package/dist/api/route-utils.d.mts +10 -10
- package/dist/api/route-utils.mjs +2 -2
- package/dist/api/schemas/index.d.mts +1 -1
- package/dist/{api-CUdFqNOK.mjs → api-Fu6WeyUl.mjs} +1 -1
- package/dist/{api-tokens-CMmUPFae.mjs → api-tokens-DAMwe5Kj.mjs} +1 -1
- package/dist/{apply-Wyg77UOb.mjs → apply-D7vu4aFn.mjs} +5 -5
- package/dist/astro/index.d.mts +11 -11
- package/dist/astro/index.mjs +3 -3
- package/dist/astro/middleware/auth.d.mts +10 -10
- package/dist/astro/middleware/auth.mjs +4 -4
- package/dist/astro/middleware/request-context.mjs +2 -2
- package/dist/astro/middleware/setup.mjs +1 -1
- package/dist/astro/middleware.mjs +23 -22
- package/dist/astro/routes/api/admin/api-tokens/_id_.mjs +3 -3
- package/dist/astro/routes/api/admin/api-tokens/index.mjs +4 -4
- package/dist/astro/routes/api/admin/bylines/_id_/index.mjs +2 -2
- package/dist/astro/routes/api/admin/bylines/index.mjs +2 -2
- package/dist/astro/routes/api/admin/comments/_id_/status.mjs +4 -4
- package/dist/astro/routes/api/admin/comments/_id_.mjs +2 -2
- package/dist/astro/routes/api/admin/comments/bulk.mjs +2 -2
- package/dist/astro/routes/api/admin/comments/counts.mjs +2 -2
- package/dist/astro/routes/api/admin/comments/index.mjs +2 -2
- package/dist/astro/routes/api/admin/context/_id_/history.mjs +6 -6
- package/dist/astro/routes/api/admin/context/_id_/index.mjs +6 -6
- package/dist/astro/routes/api/admin/context/_id_/review.mjs +7 -7
- package/dist/astro/routes/api/admin/context/_id_/supersede.mjs +7 -7
- package/dist/astro/routes/api/admin/context/diff.mjs +6 -6
- package/dist/astro/routes/api/admin/context/index.mjs +7 -7
- package/dist/astro/routes/api/admin/context/stale.mjs +6 -6
- package/dist/astro/routes/api/admin/hitl-requests/_id_/index.mjs +6 -6
- package/dist/astro/routes/api/admin/hitl-requests/_id_/resolve.mjs +6 -6
- package/dist/astro/routes/api/admin/hitl-requests/index.mjs +6 -6
- package/dist/astro/routes/api/admin/hooks/exclusive/_hookName_.mjs +6 -6
- package/dist/astro/routes/api/admin/hooks/exclusive/index.mjs +1 -1
- package/dist/astro/routes/api/admin/oauth-clients/_id_.mjs +4 -4
- package/dist/astro/routes/api/admin/oauth-clients/index.mjs +4 -4
- package/dist/astro/routes/api/admin/plugins/_id_/disable.mjs +9 -9
- package/dist/astro/routes/api/admin/plugins/_id_/enable.mjs +9 -9
- package/dist/astro/routes/api/admin/plugins/_id_/index.mjs +4 -4
- package/dist/astro/routes/api/admin/plugins/_id_/uninstall.mjs +9 -9
- package/dist/astro/routes/api/admin/plugins/_id_/update.mjs +9 -9
- package/dist/astro/routes/api/admin/plugins/index.mjs +4 -4
- package/dist/astro/routes/api/admin/plugins/marketplace/_id_/icon.mjs +1 -1
- package/dist/astro/routes/api/admin/plugins/marketplace/_id_/index.mjs +4 -4
- package/dist/astro/routes/api/admin/plugins/marketplace/_id_/install.mjs +9 -9
- package/dist/astro/routes/api/admin/plugins/marketplace/index.mjs +4 -4
- package/dist/astro/routes/api/admin/plugins/updates.mjs +4 -4
- package/dist/astro/routes/api/admin/review-requests/_id_/index.mjs +1 -1
- package/dist/astro/routes/api/admin/review-requests/_id_/resolve.mjs +5 -5
- package/dist/astro/routes/api/admin/review-requests/index.mjs +1 -1
- package/dist/astro/routes/api/admin/themes/marketplace/_id_/index.mjs +4 -4
- package/dist/astro/routes/api/admin/themes/marketplace/_id_/thumbnail.mjs +1 -1
- package/dist/astro/routes/api/admin/themes/marketplace/index.mjs +4 -4
- package/dist/astro/routes/api/admin/users/_id_/send-recovery.mjs +1 -1
- package/dist/astro/routes/api/auth/dev-bypass.mjs +2 -2
- package/dist/astro/routes/api/auth/invite/complete.mjs +4 -4
- package/dist/astro/routes/api/auth/invite/index.mjs +1 -1
- package/dist/astro/routes/api/auth/invite/register-options.mjs +3 -3
- package/dist/astro/routes/api/auth/logout.mjs +1 -1
- package/dist/astro/routes/api/auth/magic-link/send.mjs +2 -2
- package/dist/astro/routes/api/auth/magic-link/verify.mjs +1 -1
- 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/options.mjs +4 -4
- package/dist/astro/routes/api/auth/passkey/register/options.mjs +3 -3
- package/dist/astro/routes/api/auth/passkey/register/verify.mjs +4 -4
- package/dist/astro/routes/api/auth/passkey/verify.mjs +4 -4
- package/dist/astro/routes/api/auth/signup/complete.mjs +4 -4
- package/dist/astro/routes/api/auth/signup/request.mjs +2 -2
- package/dist/astro/routes/api/comments/_collection_/_contentId_/index.mjs +4 -4
- package/dist/astro/routes/api/content/_collection_/_id_/compare.mjs +1 -1
- package/dist/astro/routes/api/content/_collection_/_id_/discard-draft.mjs +2 -2
- package/dist/astro/routes/api/content/_collection_/_id_/duplicate.mjs +2 -2
- package/dist/astro/routes/api/content/_collection_/_id_/permanent.mjs +2 -2
- package/dist/astro/routes/api/content/_collection_/_id_/preview-url.mjs +4 -4
- package/dist/astro/routes/api/content/_collection_/_id_/publish.mjs +5 -5
- package/dist/astro/routes/api/content/_collection_/_id_/restore.mjs +2 -2
- package/dist/astro/routes/api/content/_collection_/_id_/revisions.mjs +1 -1
- package/dist/astro/routes/api/content/_collection_/_id_/schedule.mjs +2 -2
- package/dist/astro/routes/api/content/_collection_/_id_/terms/_taxonomy_.mjs +2 -2
- package/dist/astro/routes/api/content/_collection_/_id_/translations.mjs +1 -1
- package/dist/astro/routes/api/content/_collection_/_id_/unpublish.mjs +2 -2
- package/dist/astro/routes/api/content/_collection_/_id_.mjs +2 -2
- package/dist/astro/routes/api/content/_collection_/index.mjs +2 -2
- package/dist/astro/routes/api/content/_collection_/trash.mjs +1 -1
- package/dist/astro/routes/api/dashboard.mjs +1 -1
- 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 +4 -3
- package/dist/astro/routes/api/import/wordpress/analyze.mjs +6 -3
- package/dist/astro/routes/api/import/wordpress/execute.mjs +11 -9
- package/dist/astro/routes/api/import/wordpress/media.mjs +5 -2
- package/dist/astro/routes/api/import/wordpress/prepare.mjs +8 -7
- package/dist/astro/routes/api/import/wordpress/rewrite-urls.mjs +6 -6
- package/dist/astro/routes/api/import/wordpress-plugin/analyze.d.mts +1 -1
- package/dist/astro/routes/api/import/wordpress-plugin/analyze.mjs +7 -4
- package/dist/astro/routes/api/import/wordpress-plugin/execute.d.mts +1 -1
- package/dist/astro/routes/api/import/wordpress-plugin/execute.mjs +10 -10
- package/dist/astro/routes/api/manifest.mjs +3 -3
- package/dist/astro/routes/api/mcp.mjs +13 -13
- package/dist/astro/routes/api/media/_id_/confirm.mjs +4 -2
- package/dist/astro/routes/api/media/_id_.mjs +1 -1
- package/dist/astro/routes/api/media/providers/_providerId_/_itemId_.mjs +1 -1
- package/dist/astro/routes/api/media/providers/_providerId_/index.mjs +1 -1
- package/dist/astro/routes/api/media/providers/index.mjs +1 -1
- package/dist/astro/routes/api/media/upload-url.mjs +5 -3
- package/dist/astro/routes/api/media.mjs +2 -2
- package/dist/astro/routes/api/menus/_name_/items/_id_.mjs +6 -6
- package/dist/astro/routes/api/menus/_name_/items.mjs +6 -6
- package/dist/astro/routes/api/menus/_name_/reorder.mjs +6 -6
- package/dist/astro/routes/api/menus/_name_/translations.mjs +6 -6
- package/dist/astro/routes/api/menus/_name_.mjs +6 -6
- package/dist/astro/routes/api/menus/index.mjs +6 -6
- package/dist/astro/routes/api/oauth/authorize.mjs +7 -7
- package/dist/astro/routes/api/oauth/device/authorize.mjs +4 -4
- package/dist/astro/routes/api/oauth/device/code.mjs +6 -6
- package/dist/astro/routes/api/oauth/device/token.mjs +5 -5
- package/dist/astro/routes/api/oauth/register.mjs +3 -3
- package/dist/astro/routes/api/oauth/token/refresh.mjs +4 -4
- package/dist/astro/routes/api/oauth/token/revoke.mjs +4 -4
- package/dist/astro/routes/api/oauth/token.mjs +5 -5
- package/dist/astro/routes/api/openapi.json.mjs +3 -3
- package/dist/astro/routes/api/plugins/_pluginId_/_...path_.mjs +2 -2
- package/dist/astro/routes/api/redirects/404s/index.mjs +2 -2
- package/dist/astro/routes/api/redirects/404s/summary.mjs +2 -2
- package/dist/astro/routes/api/redirects/_id_.mjs +7 -7
- package/dist/astro/routes/api/redirects/index.mjs +7 -7
- package/dist/astro/routes/api/revisions/_revisionId_/index.mjs +1 -1
- package/dist/astro/routes/api/revisions/_revisionId_/restore.mjs +1 -1
- package/dist/astro/routes/api/schema/collections/_slug_/fields/_fieldSlug_.mjs +5 -5
- package/dist/astro/routes/api/schema/collections/_slug_/fields/index.mjs +5 -5
- package/dist/astro/routes/api/schema/collections/_slug_/fields/reorder.mjs +5 -5
- package/dist/astro/routes/api/schema/collections/_slug_/index.mjs +5 -5
- package/dist/astro/routes/api/schema/collections/index.mjs +5 -5
- package/dist/astro/routes/api/schema/index.mjs +4 -4
- package/dist/astro/routes/api/schema/orphans/_slug_.mjs +4 -4
- package/dist/astro/routes/api/schema/orphans/index.mjs +4 -4
- package/dist/astro/routes/api/search/enable.mjs +2 -2
- package/dist/astro/routes/api/search/index.mjs +1 -1
- package/dist/astro/routes/api/search/rebuild.mjs +2 -2
- package/dist/astro/routes/api/search/stats.mjs +2 -2
- package/dist/astro/routes/api/search/suggest.mjs +1 -1
- package/dist/astro/routes/api/sections/_slug_.mjs +6 -6
- package/dist/astro/routes/api/sections/index.mjs +6 -6
- package/dist/astro/routes/api/settings/email.mjs +1 -1
- package/dist/astro/routes/api/settings.mjs +6 -6
- package/dist/astro/routes/api/setup/admin-verify.mjs +6 -6
- package/dist/astro/routes/api/setup/admin.mjs +4 -4
- package/dist/astro/routes/api/setup/dev-bypass.mjs +8 -8
- package/dist/astro/routes/api/setup/index.mjs +5 -5
- package/dist/astro/routes/api/setup/status.mjs +2 -2
- package/dist/astro/routes/api/snapshot.mjs +3 -3
- package/dist/astro/routes/api/taxonomies/_name_/terms/_slug_/translations.mjs +8 -8
- package/dist/astro/routes/api/taxonomies/_name_/terms/_slug_.mjs +8 -8
- package/dist/astro/routes/api/taxonomies/_name_/terms/index.mjs +8 -8
- package/dist/astro/routes/api/taxonomies/index.mjs +8 -8
- package/dist/astro/routes/api/themes/preview.mjs +3 -3
- 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 +6 -6
- package/dist/astro/routes/api/widget-areas/_name_/widgets/_id_.mjs +7 -7
- package/dist/astro/routes/api/widget-areas/_name_/widgets.mjs +7 -7
- package/dist/astro/routes/api/widget-areas/_name_.mjs +7 -7
- package/dist/astro/routes/api/widget-areas/index.mjs +7 -7
- package/dist/astro/routes/api/widget-components.mjs +1 -1
- package/dist/astro/routes/robots.txt.mjs +1 -1
- package/dist/astro/routes/sitemap.xml.mjs +1 -1
- package/dist/astro/types.d.mts +13 -13
- package/dist/auth/providers/github.d.mts +1 -1
- package/dist/auth/providers/google.d.mts +1 -1
- package/dist/{bylines-CCkI7Rh3.d.mts → bylines-DVHl9JXW.d.mts} +14 -14
- package/dist/cli/index.mjs +1036 -48
- package/dist/client/external-auth-headers.d.mts +1 -1
- package/dist/client/index.d.mts +1 -1
- package/dist/client/index.mjs +1 -1
- package/dist/{context-oSCcgE1U.mjs → context-CnrsB3lh.mjs} +1 -1
- package/dist/{context-route-helpers-CcvSXJtQ.mjs → context-route-helpers-CdFWd8GK.mjs} +1 -1
- package/dist/db/index.d.mts +3 -3
- package/dist/db/libsql.d.mts +1 -1
- package/dist/db/postgres.d.mts +1 -1
- package/dist/db/sqlite.d.mts +1 -1
- package/dist/{device-flow-DaTBhALC.mjs → device-flow-AsTA1k4t.mjs} +4 -4
- package/dist/{hitl-requests-CJBs03Ep.mjs → hitl-requests-DcTPiuog.mjs} +2 -2
- package/dist/{hitl-route-helpers-kTkP1NJ7.mjs → hitl-route-helpers-CNqNbune.mjs} +3 -3
- package/dist/{import-B8lnqfnN.mjs → import-CzZYGhnG.mjs} +3 -642
- package/dist/{index-JzJUzE4o.d.mts → index-CxVXYBXq.d.mts} +3 -3
- package/dist/{index-DpMWSamU.d.mts → index-DUurmpun.d.mts} +2 -2
- package/dist/index.d.mts +16 -16
- package/dist/index.mjs +16 -15
- package/dist/{jsonld-CvXmIBls.d.mts → jsonld-C3uKF39u.d.mts} +2 -2
- package/dist/media/index.d.mts +2 -2
- package/dist/media/local-runtime.d.mts +12 -12
- package/dist/{menus-BTOa-tsI.mjs → menus-DtoRO2gt.mjs} +1 -1
- package/dist/{oauth-authorization-DcYRiDfi.mjs → oauth-authorization-CRwAJzzA.mjs} +4 -4
- package/dist/{oauth-clients-CgKFA-VH.mjs → oauth-clients-BlHrNh_u.mjs} +2 -2
- package/dist/page/index.d.mts +2 -2
- package/dist/page/index.mjs +1 -1
- package/dist/parser-wEX7xttr.mjs +642 -0
- package/dist/{placeholder-DKMMLt42.d.mts → placeholder-2N6m2_O6.d.mts} +1 -1
- package/dist/plugins/adapt-sandbox-entry.d.mts +10 -10
- package/dist/{preview-CIDYFBzd.mjs → preview-B-MTC5mp.mjs} +1 -1
- package/dist/{provider-loader-BPhii_3H.d.mts → provider-loader-DJ5sLxNP.d.mts} +1 -1
- package/dist/{query-TQqoOaxy.mjs → query-D5CIGQv4.mjs} +2 -2
- package/dist/{runner-CHR_W79l.d.mts → runner-BJm_NJr2.d.mts} +1 -1
- package/dist/{runtime-DY_XmE9Y.d.mts → runtime-CbnJMIeq.d.mts} +10 -10
- package/dist/runtime.d.mts +11 -11
- package/dist/runtime.mjs +1 -1
- package/dist/seed/index.d.mts +2 -2
- package/dist/seed/index.mjs +4 -4
- package/dist/seo/index.d.mts +1 -1
- package/dist/{service-DgiH1Yud.mjs → service-Dada1k5R.mjs} +1 -1
- package/dist/{site-context-CyBvmvQY.mjs → site-context-Dr_5pFHr.mjs} +4 -4
- package/dist/storage/local.d.mts +1 -1
- package/dist/storage/s3.d.mts +1 -1
- package/dist/{taxonomies-CagluJHp.mjs → taxonomies-CZJazF0N.mjs} +1 -1
- package/dist/{taxonomies-DPNIwTGk.mjs → taxonomies-DVXCWoUF.mjs} +1 -1
- package/dist/{types-DS5PYew4.d.mts → types-DzBAohLy.d.mts} +1 -1
- package/dist/ui/server-runtime.d.mts +7 -7
- package/dist/ui/server-runtime.mjs +6 -6
- package/dist/{validate-BQ24E8rK.d.mts → validate-BikB29gc.d.mts} +3 -3
- package/dist/version-2a3KsDX2.mjs +6 -0
- package/dist/{widgets-D7UK-2hW.mjs → widgets-BFh1UZN5.mjs} +1 -1
- package/package.json +8 -5
- package/dist/version-CGRX_5CT.mjs +0 -6
- /package/dist/{activity-events-DbqJBNaY.mjs → activity-events-CjOgr0Uv.mjs} +0 -0
- /package/dist/{adapters-BPzUiHHm.d.mts → adapters-C0EARyCK.d.mts} +0 -0
- /package/dist/{api-tokens-B7fvbHM2.mjs → api-tokens-BZ9aAeCo.mjs} +0 -0
- /package/dist/{auth-control-guard--r6LlNkX.mjs → auth-control-guard-_5V1x8U8.mjs} +0 -0
- /package/dist/{authorize-wQDmXQJ1.mjs → authorize-BgIG3yfN.mjs} +0 -0
- /package/dist/{bylines-B6QpwVAr.mjs → bylines-CaPwztlL.mjs} +0 -0
- /package/dist/{challenge-store-anhwVER0.mjs → challenge-store-B9odzfeh.mjs} +0 -0
- /package/dist/{comments-BW1qFiTa.mjs → comments-85tbgZQN.mjs} +0 -0
- /package/dist/{components-BQiBW_Ji.mjs → components-DAy-UvX7.mjs} +0 -0
- /package/dist/{default-2JDm1rj_.mjs → default-CiZ8bvSC.mjs} +0 -0
- /package/dist/{escape-Bn168-uP.mjs → escape-DA8zlB7z.mjs} +0 -0
- /package/dist/{experimental-workflows-CSRjuEwS.mjs → experimental-workflows-C7o_9V7S.mjs} +0 -0
- /package/dist/{load-BvyvS_76.mjs → load-5R4qZ4zn.mjs} +0 -0
- /package/dist/{media-allowlist-vdlqBR-8.mjs → media-allowlist-D85gK3We.mjs} +0 -0
- /package/dist/{mode-DWw2di1I.mjs → mode-BI1kRvlT.mjs} +0 -0
- /package/dist/{oauth-state-store-DhifLitQ.mjs → oauth-state-store-DZs1UZwT.mjs} +0 -0
- /package/dist/{oauth-user-lookup-nyXQ2_6Q.mjs → oauth-user-lookup-B7-6YI3R.mjs} +0 -0
- /package/dist/{passkey-config-DZOjt0Hd.mjs → passkey-config-CDew7KVU.mjs} +0 -0
- /package/dist/{provider-loader-Decn0Ktc.mjs → provider-loader-CCPAVrIg.mjs} +0 -0
- /package/dist/{public-url-5fFLJhjh.mjs → public-url-DuRGs0uF.mjs} +0 -0
- /package/dist/{rate-limit-GN64_Jaw.mjs → rate-limit-5ZeKz7oo.mjs} +0 -0
- /package/dist/{redirect-C077gVTf.mjs → redirect-CbEyClKc.mjs} +0 -0
- /package/dist/{redirects-CvIzUvek.mjs → redirects-Dk7N_YeP.mjs} +0 -0
- /package/dist/{search-vzCYAk0F.mjs → search-DjaP_Dw-.mjs} +0 -0
- /package/dist/{secrets-AFKoqUXj.mjs → secrets-BIrqds5c.mjs} +0 -0
- /package/dist/{seo-contributions-BG4TtU7H.mjs → seo-contributions-D_CLIsxJ.mjs} +0 -0
- /package/dist/{setup-complete-4EiBS1E5.mjs → setup-complete-BvSeN5Wh.mjs} +0 -0
- /package/dist/{setup-nonce-DN6BHIlP.mjs → setup-nonce-ChVabyO2.mjs} +0 -0
- /package/dist/{site-url-oyqzZtoL.mjs → site-url-BketXXft.mjs} +0 -0
- /package/dist/{tokens-DB4dASZl.mjs → tokens-BMTKHT6X.mjs} +0 -0
- /package/dist/{transport-DA3H3xB4.d.mts → transport-BZCHo8n0.d.mts} +0 -0
- /package/dist/{transport-B3jxvfio.mjs → transport-Dt7A12-i.mjs} +0 -0
- /package/dist/{types-BDm7Ipoq.d.mts → types-B7Uld4FZ.d.mts} +0 -0
- /package/dist/{types-B45uSz1j.d.mts → types-BSP1HbdT.d.mts} +0 -0
- /package/dist/{types-6N-00csp.d.mts → types-Brp7Hv9S.d.mts} +0 -0
- /package/dist/{types-CsnHvu4J.d.mts → types-CsX_6h1v.d.mts} +0 -0
- /package/dist/{types-D_wGrwiY.d.mts → types-D0UvtzG1.d.mts} +0 -0
- /package/dist/{types-BeYn-Yf0.d.mts → types-DbtpYtHx.d.mts} +0 -0
- /package/dist/{types-CYBaBvtm.d.mts → types-DwIXYH8s.d.mts} +0 -0
- /package/dist/{utils-BJF19gfk.mjs → utils-BftjFpR0.mjs} +0 -0
- /package/dist/{validate-CaKEnLed.mjs → validate-BGpmNtMe.mjs} +0 -0
- /package/dist/{wordpress-slugs-Bnf3-sf8.mjs → wordpress-slugs-BzMv9U-N.mjs} +0 -0
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { $n as isParseError, Qn as ParseResult, Zn as OptionsRepository, er as parseBody, ir as handleError, nr as apiError, rr as apiSuccess, t as DinewayConfig, tr as parseQuery } from "../runtime-
|
|
2
|
-
import { t as Database } from "../types-
|
|
3
|
-
import { at as StorageCollectionConfig, it as StorageCollection } from "../types-
|
|
4
|
-
import "../types-
|
|
5
|
-
import "../runner-
|
|
6
|
-
import "../index-
|
|
7
|
-
import "../index-
|
|
8
|
-
import "../bylines-
|
|
9
|
-
import "../types-
|
|
10
|
-
import "../validate-
|
|
1
|
+
import { $n as isParseError, Qn as ParseResult, Zn as OptionsRepository, er as parseBody, ir as handleError, nr as apiError, rr as apiSuccess, t as DinewayConfig, tr as parseQuery } from "../runtime-CbnJMIeq.mjs";
|
|
2
|
+
import { t as Database } from "../types-DwIXYH8s.mjs";
|
|
3
|
+
import { at as StorageCollectionConfig, it as StorageCollection } from "../types-DzBAohLy.mjs";
|
|
4
|
+
import "../types-BSP1HbdT.mjs";
|
|
5
|
+
import "../runner-BJm_NJr2.mjs";
|
|
6
|
+
import "../index-CxVXYBXq.mjs";
|
|
7
|
+
import "../index-DUurmpun.mjs";
|
|
8
|
+
import "../bylines-DVHl9JXW.mjs";
|
|
9
|
+
import "../types-DbtpYtHx.mjs";
|
|
10
|
+
import "../validate-BikB29gc.mjs";
|
|
11
11
|
import { Kysely } from "kysely";
|
|
12
12
|
|
|
13
13
|
//#region src/api/auth-storage.d.ts
|
package/dist/api/route-utils.mjs
CHANGED
|
@@ -11,8 +11,8 @@ import { n as apiSuccess, r as handleError, t as apiError } from "../error-Dyf9f
|
|
|
11
11
|
import { i as parseQuery, n as parseBody, t as isParseError } from "../parse-BBfZRZYb.mjs";
|
|
12
12
|
import "../ssrf-z3oH8wjK.mjs";
|
|
13
13
|
import "../cron-fV9baRVc.mjs";
|
|
14
|
-
import { n as getPublicOrigin } from "../public-url-
|
|
15
|
-
import { t as finalizeSetup } from "../setup-complete-
|
|
14
|
+
import { n as getPublicOrigin } from "../public-url-DuRGs0uF.mjs";
|
|
15
|
+
import { t as finalizeSetup } from "../setup-complete-BvSeN5Wh.mjs";
|
|
16
16
|
|
|
17
17
|
//#region src/api/auth-storage.ts
|
|
18
18
|
/**
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { $ as updateSectionBody, $n as cursorPaginationQuery, $t as createCommentBody, A as userDetailSchema, An as mediaUploadUrlBody, At as passkeyRegisterVerifyBody, B as wpRewriteUrlsBody, Bn as contentScheduleBody, Bt as contextEntryCreateBody, C as updateWidgetBody, Cn as mediaExistingResponseSchema, Ct as authMeActionBody, D as widgetSchema, Dn as mediaProviderListQuery, Dt as magicLinkSendBody, E as widgetAreaWithWidgetsSchema, En as mediaListResponseSchema, Et as inviteRegisterOptionsBody, F as importProbeBody, Fn as contentListQuery, Ft as reviewRequestListQuery, G as searchResultSchema, Gn as contentTranslationsResponseSchema, Gt as contextEntrySupersedeBody, H as searchQuery, Hn as contentSeoSchema, Ht as contextEntryListQuery, I as wpMediaImportBody, In as contentListResponseSchema, It as reviewRequestResolveBody, J as siteSettingsSchema, Jn as trashedContentItemSchema, Jt as commentBulkResponseSchema, K as searchSuggestQuery, Kn as contentTrashQuery, Kt as adminCommentListResponseSchema, L as wpPluginAnalyzeBody, Ln as contentPreviewUrlBody, Lt as hitlRequestListQuery, M as userSchema, Mn as contentCompareResponseSchema, Mt as passkeyVerifyBody, N as userUpdateBody, Nn as contentCreateBody, Nt as signupCompleteBody, O as allowedDomainCreateBody, On as mediaResponseSchema, Ot as passkeyOptionsBody, P as usersListQuery, Pn as contentItemSchema, Pt as signupRequestBody, Q as sectionsListQuery, Qn as countResponseSchema, Qt as commentStatusBody, R as wpPluginExecuteBody, Rn as contentPublishBody, Rt as hitlRequestResolveBody, S as reorderWidgetsBody, Sn as mediaConfirmResponseSchema, St as updateMenuItemBody, T as widgetAreaWithWidgetsAndCountSchema, Tn as mediaListQuery, Tt as inviteCreateBody, U as searchRebuildBody, Un as contentTermsBody, Ut as contextEntryReviewBody, V as searchEnableBody, Vn as contentSeoInput, Vt as contextEntryDiffQuery, W as searchResponseSchema, Wn as contentTranslationSchema, Wt as contextEntryStaleQuery, X as sectionListResponseSchema, Xn as VALID_ROLE_LEVELS, Xt as commentListQuery, Y as createSectionBody, Yn as trashedContentListResponseSchema, Yt as commentCountsResponseSchema, Z as sectionSchema, Zn as apiErrorSchema, Zt as commentSchema, _ as redirectSchema, _n as updateCollectionBody, _t as menuSchema, a as bylineUpdateBody, an as collectionSchema, ar as roleLevel, at as termGetResponseSchema, b as createWidgetAreaBody, bn as formatFileSize, bt as reorderMenuItemsBody, c as createRedirectBody, cn as createFieldBody, ct as termSchema, d as notFoundListResponseSchema, dn as fieldResponseSchema, dt as updateTermBody, en as publicCommentListResponseSchema, er as deleteResponseSchema, et as createTaxonomyDefBody, f as notFoundPruneBody, fn as fieldSchema, ft as createMenuBody, g as redirectListResponseSchema, gn as schemaExportQuery, gt as menuListItemSchema, h as notFoundSummarySchema, hn as orphanedTableSchema, ht as menuItemTypeEnum, i as bylineSummarySchema, in as collectionResponseSchema, ir as offsetPaginationQuery, it as taxonomyListResponseSchema, j as userListResponseSchema, jn as mediaUploadUrlResponseSchema, jt as passkeyRenameBody, k as allowedDomainUpdateBody, kn as mediaUpdateBody, kt as passkeyRegisterOptionsBody, l as notFoundEntrySchema, ln as fieldListResponseSchema, lt as termTranslationsSchema, m as notFoundSummaryResponseSchema, mn as orphanedTableListResponseSchema, mt as menuItemSchema, n as bylineCreditSchema, nn as collectionGetQuery, nr as localeCode, nt as taxonomyDefSchema, o as bylinesListQuery, on as collectionWithFieldsResponseSchema, or as slugPattern, ot as termListResponseSchema, p as notFoundSummaryQuery, pn as orphanRegisterBody, pt as createMenuItemBody, q as settingsUpdateBody, qn as contentUpdateBody, qt as commentBulkBody, r as bylineListResponseSchema, rn as collectionListResponseSchema, rr as localeFilterQuery, rt as taxonomyDefTranslationsSchema, s as contentBylineInputSchema, sn as createCollectionBody, sr as successEnvelope, st as termResponseSchema, t as bylineCreateBody, tn as publicCommentSchema, tr as httpUrl, tt as createTermBody, u as notFoundListQuery, un as fieldReorderBody, ut as termWithCountSchema, v as redirectsListQuery, vn as updateFieldBody, vt as menuTranslationsSchema, w as widgetAreaSchema, wn as mediaItemSchema, wt as inviteCompleteBody, x as createWidgetBody, xn as mediaConfirmBody, xt as updateMenuBody, y as updateRedirectBody, yn as DEFAULT_MAX_UPLOAD_SIZE, yt as menuWithItemsSchema, z as wpPrepareBody, zn as contentResponseSchema, zt as siteBriefingQuery } from "../../bylines-
|
|
1
|
+
import { $ as updateSectionBody, $n as cursorPaginationQuery, $t as createCommentBody, A as userDetailSchema, An as mediaUploadUrlBody, At as passkeyRegisterVerifyBody, B as wpRewriteUrlsBody, Bn as contentScheduleBody, Bt as contextEntryCreateBody, C as updateWidgetBody, Cn as mediaExistingResponseSchema, Ct as authMeActionBody, D as widgetSchema, Dn as mediaProviderListQuery, Dt as magicLinkSendBody, E as widgetAreaWithWidgetsSchema, En as mediaListResponseSchema, Et as inviteRegisterOptionsBody, F as importProbeBody, Fn as contentListQuery, Ft as reviewRequestListQuery, G as searchResultSchema, Gn as contentTranslationsResponseSchema, Gt as contextEntrySupersedeBody, H as searchQuery, Hn as contentSeoSchema, Ht as contextEntryListQuery, I as wpMediaImportBody, In as contentListResponseSchema, It as reviewRequestResolveBody, J as siteSettingsSchema, Jn as trashedContentItemSchema, Jt as commentBulkResponseSchema, K as searchSuggestQuery, Kn as contentTrashQuery, Kt as adminCommentListResponseSchema, L as wpPluginAnalyzeBody, Ln as contentPreviewUrlBody, Lt as hitlRequestListQuery, M as userSchema, Mn as contentCompareResponseSchema, Mt as passkeyVerifyBody, N as userUpdateBody, Nn as contentCreateBody, Nt as signupCompleteBody, O as allowedDomainCreateBody, On as mediaResponseSchema, Ot as passkeyOptionsBody, P as usersListQuery, Pn as contentItemSchema, Pt as signupRequestBody, Q as sectionsListQuery, Qn as countResponseSchema, Qt as commentStatusBody, R as wpPluginExecuteBody, Rn as contentPublishBody, Rt as hitlRequestResolveBody, S as reorderWidgetsBody, Sn as mediaConfirmResponseSchema, St as updateMenuItemBody, T as widgetAreaWithWidgetsAndCountSchema, Tn as mediaListQuery, Tt as inviteCreateBody, U as searchRebuildBody, Un as contentTermsBody, Ut as contextEntryReviewBody, V as searchEnableBody, Vn as contentSeoInput, Vt as contextEntryDiffQuery, W as searchResponseSchema, Wn as contentTranslationSchema, Wt as contextEntryStaleQuery, X as sectionListResponseSchema, Xn as VALID_ROLE_LEVELS, Xt as commentListQuery, Y as createSectionBody, Yn as trashedContentListResponseSchema, Yt as commentCountsResponseSchema, Z as sectionSchema, Zn as apiErrorSchema, Zt as commentSchema, _ as redirectSchema, _n as updateCollectionBody, _t as menuSchema, a as bylineUpdateBody, an as collectionSchema, ar as roleLevel, at as termGetResponseSchema, b as createWidgetAreaBody, bn as formatFileSize, bt as reorderMenuItemsBody, c as createRedirectBody, cn as createFieldBody, ct as termSchema, d as notFoundListResponseSchema, dn as fieldResponseSchema, dt as updateTermBody, en as publicCommentListResponseSchema, er as deleteResponseSchema, et as createTaxonomyDefBody, f as notFoundPruneBody, fn as fieldSchema, ft as createMenuBody, g as redirectListResponseSchema, gn as schemaExportQuery, gt as menuListItemSchema, h as notFoundSummarySchema, hn as orphanedTableSchema, ht as menuItemTypeEnum, i as bylineSummarySchema, in as collectionResponseSchema, ir as offsetPaginationQuery, it as taxonomyListResponseSchema, j as userListResponseSchema, jn as mediaUploadUrlResponseSchema, jt as passkeyRenameBody, k as allowedDomainUpdateBody, kn as mediaUpdateBody, kt as passkeyRegisterOptionsBody, l as notFoundEntrySchema, ln as fieldListResponseSchema, lt as termTranslationsSchema, m as notFoundSummaryResponseSchema, mn as orphanedTableListResponseSchema, mt as menuItemSchema, n as bylineCreditSchema, nn as collectionGetQuery, nr as localeCode, nt as taxonomyDefSchema, o as bylinesListQuery, on as collectionWithFieldsResponseSchema, or as slugPattern, ot as termListResponseSchema, p as notFoundSummaryQuery, pn as orphanRegisterBody, pt as createMenuItemBody, q as settingsUpdateBody, qn as contentUpdateBody, qt as commentBulkBody, r as bylineListResponseSchema, rn as collectionListResponseSchema, rr as localeFilterQuery, rt as taxonomyDefTranslationsSchema, s as contentBylineInputSchema, sn as createCollectionBody, sr as successEnvelope, st as termResponseSchema, t as bylineCreateBody, tn as publicCommentSchema, tr as httpUrl, tt as createTermBody, u as notFoundListQuery, un as fieldReorderBody, ut as termWithCountSchema, v as redirectsListQuery, vn as updateFieldBody, vt as menuTranslationsSchema, w as widgetAreaSchema, wn as mediaItemSchema, wt as inviteCompleteBody, x as createWidgetBody, xn as mediaConfirmBody, xt as updateMenuBody, y as updateRedirectBody, yn as DEFAULT_MAX_UPLOAD_SIZE, yt as menuWithItemsSchema, z as wpPrepareBody, zn as contentResponseSchema, zt as siteBriefingQuery } from "../../bylines-DVHl9JXW.mjs";
|
|
2
2
|
import { atprotoLoginBody, setupAdminBody, setupAdminVerifyBody, setupAtprotoAdminBody, setupBody } from "./setup.mjs";
|
|
3
3
|
export { DEFAULT_MAX_UPLOAD_SIZE, VALID_ROLE_LEVELS, adminCommentListResponseSchema, allowedDomainCreateBody, allowedDomainUpdateBody, apiErrorSchema, atprotoLoginBody, authMeActionBody, bylineCreateBody, bylineCreditSchema, bylineListResponseSchema, bylineSummarySchema, bylineUpdateBody, bylinesListQuery, collectionGetQuery, collectionListResponseSchema, collectionResponseSchema, collectionSchema, collectionWithFieldsResponseSchema, commentBulkBody, commentBulkResponseSchema, commentCountsResponseSchema, commentListQuery, commentSchema, commentStatusBody, contentBylineInputSchema, contentCompareResponseSchema, contentCreateBody, contentItemSchema, contentListQuery, contentListResponseSchema, contentPreviewUrlBody, contentPublishBody, contentResponseSchema, contentScheduleBody, contentSeoInput, contentSeoSchema, contentTermsBody, contentTranslationSchema, contentTranslationsResponseSchema, contentTrashQuery, contentUpdateBody, contextEntryCreateBody, contextEntryDiffQuery, contextEntryListQuery, contextEntryReviewBody, contextEntryStaleQuery, contextEntrySupersedeBody, countResponseSchema, createCollectionBody, createCommentBody, createFieldBody, createMenuBody, createMenuItemBody, createRedirectBody, createSectionBody, createTaxonomyDefBody, createTermBody, createWidgetAreaBody, createWidgetBody, cursorPaginationQuery, deleteResponseSchema, fieldListResponseSchema, fieldReorderBody, fieldResponseSchema, fieldSchema, formatFileSize, hitlRequestListQuery, hitlRequestResolveBody, httpUrl, importProbeBody, inviteCompleteBody, inviteCreateBody, inviteRegisterOptionsBody, localeCode, localeFilterQuery, magicLinkSendBody, mediaConfirmBody, mediaConfirmResponseSchema, mediaExistingResponseSchema, mediaItemSchema, mediaListQuery, mediaListResponseSchema, mediaProviderListQuery, mediaResponseSchema, mediaUpdateBody, mediaUploadUrlBody, mediaUploadUrlResponseSchema, menuItemSchema, menuItemTypeEnum, menuListItemSchema, menuSchema, menuTranslationsSchema, menuWithItemsSchema, notFoundEntrySchema, notFoundListQuery, notFoundListResponseSchema, notFoundPruneBody, notFoundSummaryQuery, notFoundSummaryResponseSchema, notFoundSummarySchema, offsetPaginationQuery, orphanRegisterBody, orphanedTableListResponseSchema, orphanedTableSchema, passkeyOptionsBody, passkeyRegisterOptionsBody, passkeyRegisterVerifyBody, passkeyRenameBody, passkeyVerifyBody, publicCommentListResponseSchema, publicCommentSchema, redirectListResponseSchema, redirectSchema, redirectsListQuery, reorderMenuItemsBody, reorderWidgetsBody, reviewRequestListQuery, reviewRequestResolveBody, roleLevel, schemaExportQuery, searchEnableBody, searchQuery, searchRebuildBody, searchResponseSchema, searchResultSchema, searchSuggestQuery, sectionListResponseSchema, sectionSchema, sectionsListQuery, settingsUpdateBody, setupAdminBody, setupAdminVerifyBody, setupAtprotoAdminBody, setupBody, signupCompleteBody, signupRequestBody, siteBriefingQuery, siteSettingsSchema, slugPattern, successEnvelope, taxonomyDefSchema, taxonomyDefTranslationsSchema, taxonomyListResponseSchema, termGetResponseSchema, termListResponseSchema, termResponseSchema, termSchema, termTranslationsSchema, termWithCountSchema, trashedContentItemSchema, trashedContentListResponseSchema, updateCollectionBody, updateFieldBody, updateMenuBody, updateMenuItemBody, updateRedirectBody, updateSectionBody, updateTermBody, updateWidgetBody, userDetailSchema, userListResponseSchema, userSchema, userUpdateBody, usersListQuery, widgetAreaSchema, widgetAreaWithWidgetsAndCountSchema, widgetAreaWithWidgetsSchema, widgetSchema, wpMediaImportBody, wpPluginAnalyzeBody, wpPluginExecuteBody, wpPrepareBody, wpRewriteUrlsBody };
|
|
@@ -16,7 +16,7 @@ import { n as requestCached } from "./request-cache-BzuhyUXj.mjs";
|
|
|
16
16
|
import { u as PluginStateRepository } from "./briefing-Dk4I4VC8.mjs";
|
|
17
17
|
import { n as SchemaRegistry, t as SchemaError } from "./registry-CYO6XQ-4.mjs";
|
|
18
18
|
import { n as hashString } from "./hash-DHSsP6_G.mjs";
|
|
19
|
-
import { n as VERSION, t as COMMIT } from "./version-
|
|
19
|
+
import { n as VERSION, t as COMMIT } from "./version-2a3KsDX2.mjs";
|
|
20
20
|
import { i as pluginManifestSchema, r as normalizeManifestRoute } from "./manifest-schema-CU0XL_ZK.mjs";
|
|
21
21
|
import { t as DinewayStorageError } from "./types-iNqHe2-V.mjs";
|
|
22
22
|
import { sql } from "kysely";
|
|
@@ -10,7 +10,7 @@ import { t as FTSManager } from "./fts-manager-DYRy6HVi.mjs";
|
|
|
10
10
|
import { n as SchemaRegistry } from "./registry-CYO6XQ-4.mjs";
|
|
11
11
|
import { o as setSiteSettings } from "./settings-D2k1JraC.mjs";
|
|
12
12
|
import { a as validateExternalUrl, r as ssrfSafeFetch } from "./ssrf-z3oH8wjK.mjs";
|
|
13
|
-
import { t as validateSeed } from "./validate-
|
|
13
|
+
import { t as validateSeed } from "./validate-BGpmNtMe.mjs";
|
|
14
14
|
import { ulid } from "ulidx";
|
|
15
15
|
import { imageSize } from "image-size";
|
|
16
16
|
import mime from "mime/lite";
|
|
@@ -496,8 +496,8 @@ async function applySeed(db, seed, options = {}) {
|
|
|
496
496
|
}
|
|
497
497
|
}
|
|
498
498
|
}
|
|
499
|
-
const { invalidateBylineCache } = await import("./bylines-
|
|
500
|
-
const { invalidateUrlPatternCache } = await import("./query-
|
|
499
|
+
const { invalidateBylineCache } = await import("./bylines-CaPwztlL.mjs").then((n) => n.t);
|
|
500
|
+
const { invalidateUrlPatternCache } = await import("./query-D5CIGQv4.mjs").then((n) => n.o);
|
|
501
501
|
const { invalidateRedirectCache } = await import("./cache-BhJYDPP8.mjs").then((n) => n.t);
|
|
502
502
|
invalidateBylineCache();
|
|
503
503
|
invalidateUrlPatternCache();
|
|
@@ -582,7 +582,7 @@ async function applyContentTaxonomies(db, collectionSlug, contentId, entry, isUp
|
|
|
582
582
|
if (isUpdate) await db.deleteFrom("content_taxonomies").where("collection", "=", collectionSlug).where("entry_id", "=", contentId).execute();
|
|
583
583
|
if (!entry.taxonomies) {
|
|
584
584
|
if (isUpdate) {
|
|
585
|
-
const { invalidateTermCache } = await import("./taxonomies-
|
|
585
|
+
const { invalidateTermCache } = await import("./taxonomies-DVXCWoUF.mjs").then((n) => n.l);
|
|
586
586
|
invalidateTermCache();
|
|
587
587
|
}
|
|
588
588
|
return;
|
|
@@ -594,7 +594,7 @@ async function applyContentTaxonomies(db, collectionSlug, contentId, entry, isUp
|
|
|
594
594
|
if (term) await termRepo.attachToEntry(collectionSlug, contentId, term.id);
|
|
595
595
|
}
|
|
596
596
|
}
|
|
597
|
-
const { invalidateTermCache } = await import("./taxonomies-
|
|
597
|
+
const { invalidateTermCache } = await import("./taxonomies-DVXCWoUF.mjs").then((n) => n.l);
|
|
598
598
|
invalidateTermCache();
|
|
599
599
|
}
|
|
600
600
|
/**
|
package/dist/astro/index.d.mts
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { r as ContentItem } from "../types-
|
|
2
|
-
import { Kn as MediaItem, a as S3StorageConfig, i as LocalStorageConfig, o as StorageDescriptor, r as getStoredConfig, t as DinewayConfig } from "../runtime-
|
|
3
|
-
import "../types-
|
|
4
|
-
import { X as ResolvedPlugin } from "../types-
|
|
5
|
-
import "../types-
|
|
6
|
-
import "../runner-
|
|
7
|
-
import "../index-
|
|
8
|
-
import "../index-
|
|
9
|
-
import "../bylines-
|
|
10
|
-
import "../types-
|
|
11
|
-
import "../validate-
|
|
1
|
+
import { r as ContentItem } from "../types-Brp7Hv9S.mjs";
|
|
2
|
+
import { Kn as MediaItem, a as S3StorageConfig, i as LocalStorageConfig, o as StorageDescriptor, r as getStoredConfig, t as DinewayConfig } from "../runtime-CbnJMIeq.mjs";
|
|
3
|
+
import "../types-DwIXYH8s.mjs";
|
|
4
|
+
import { X as ResolvedPlugin } from "../types-DzBAohLy.mjs";
|
|
5
|
+
import "../types-BSP1HbdT.mjs";
|
|
6
|
+
import "../runner-BJm_NJr2.mjs";
|
|
7
|
+
import "../index-CxVXYBXq.mjs";
|
|
8
|
+
import "../index-DUurmpun.mjs";
|
|
9
|
+
import "../bylines-DVHl9JXW.mjs";
|
|
10
|
+
import "../types-DbtpYtHx.mjs";
|
|
11
|
+
import "../validate-BikB29gc.mjs";
|
|
12
12
|
import { DinewayHandlers, DinewayManifest, ManifestCollection } from "./types.mjs";
|
|
13
13
|
import { AstroIntegration } from "astro";
|
|
14
14
|
|
package/dist/astro/index.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { n as VERSION, t as COMMIT } from "../version-
|
|
2
|
-
import { t as defaultSeed } from "../default-
|
|
3
|
-
import { n as validateAllowedOrigins, r as validateOriginShape } from "../allowed-origins-
|
|
1
|
+
import { n as VERSION, t as COMMIT } from "../version-2a3KsDX2.mjs";
|
|
2
|
+
import { t as defaultSeed } from "../default-CiZ8bvSC.mjs";
|
|
3
|
+
import { n as validateAllowedOrigins, r as validateOriginShape } from "../allowed-origins-3nAx5Xeo.mjs";
|
|
4
4
|
import { createRequire } from "node:module";
|
|
5
5
|
import { existsSync, readFileSync } from "node:fs";
|
|
6
6
|
import { dirname, isAbsolute, relative, resolve } from "node:path";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import "../../runtime-
|
|
2
|
-
import "../../types-
|
|
3
|
-
import "../../types-
|
|
4
|
-
import "../../types-
|
|
5
|
-
import "../../runner-
|
|
6
|
-
import "../../index-
|
|
7
|
-
import "../../index-
|
|
8
|
-
import "../../bylines-
|
|
9
|
-
import "../../types-
|
|
10
|
-
import "../../validate-
|
|
1
|
+
import "../../runtime-CbnJMIeq.mjs";
|
|
2
|
+
import "../../types-DwIXYH8s.mjs";
|
|
3
|
+
import "../../types-DzBAohLy.mjs";
|
|
4
|
+
import "../../types-BSP1HbdT.mjs";
|
|
5
|
+
import "../../runner-BJm_NJr2.mjs";
|
|
6
|
+
import "../../index-CxVXYBXq.mjs";
|
|
7
|
+
import "../../index-DUurmpun.mjs";
|
|
8
|
+
import "../../bylines-DVHl9JXW.mjs";
|
|
9
|
+
import "../../types-DbtpYtHx.mjs";
|
|
10
|
+
import "../../validate-BikB29gc.mjs";
|
|
11
11
|
import { DinewayHandlers } from "../types.mjs";
|
|
12
12
|
import { Kysely } from "kysely";
|
|
13
13
|
import { User } from "@dineway-ai/auth";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { t as apiError } from "../../error-Dyf9fGZE.mjs";
|
|
2
|
-
import { n as getPublicOrigin } from "../../public-url-
|
|
3
|
-
import { t as getAuthMode } from "../../mode-
|
|
4
|
-
import { i as hasScope } from "../../api-tokens-
|
|
5
|
-
import { a as resolveOAuthToken, i as resolveApiToken } from "../../api-tokens-
|
|
2
|
+
import { n as getPublicOrigin } from "../../public-url-DuRGs0uF.mjs";
|
|
3
|
+
import { t as getAuthMode } from "../../mode-BI1kRvlT.mjs";
|
|
4
|
+
import { i as hasScope } from "../../api-tokens-BZ9aAeCo.mjs";
|
|
5
|
+
import { a as resolveOAuthToken, i as resolveApiToken } from "../../api-tokens-DAMwe5Kj.mjs";
|
|
6
6
|
import { ulid } from "ulidx";
|
|
7
7
|
import { defineMiddleware } from "astro:middleware";
|
|
8
8
|
import { createKyselyAdapter } from "@dineway-ai/auth/adapters/kysely";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { runWithContext } from "../../request-context.mjs";
|
|
2
2
|
import "../../base64-C1Q9yr0B.mjs";
|
|
3
3
|
import "../../options-BF11H_FD.mjs";
|
|
4
|
-
import { n as parseContentId, r as verifyPreviewToken } from "../../tokens-
|
|
5
|
-
import { i as resolveSecretsCached } from "../../secrets-
|
|
4
|
+
import { n as parseContentId, r as verifyPreviewToken } from "../../tokens-BMTKHT6X.mjs";
|
|
5
|
+
import { i as resolveSecretsCached } from "../../secrets-BIrqds5c.mjs";
|
|
6
6
|
import { defineMiddleware } from "astro:middleware";
|
|
7
7
|
|
|
8
8
|
//#region src/visual-editing/toolbar.ts
|
|
@@ -24,7 +24,7 @@ import "../byline-9WeA8b0a.mjs";
|
|
|
24
24
|
import { t as normalizeMediaValue } from "../normalize-ba36HTxZ.mjs";
|
|
25
25
|
import "../placeholder-BAy3k441.mjs";
|
|
26
26
|
import "../seo-DASNc4gD.mjs";
|
|
27
|
-
import { $ as validateRev, A as handleRevisionGet, B as handleContentDuplicate, D as handleMediaGet, E as handleMediaDelete, F as handleContentCountScheduled, G as handleContentPermanentDelete, H as handleContentGetIncludingTrashed, I as handleContentCountTrashed, J as handleContentSchedule, K as handleContentPublish, L as handleContentCreate, M as handleRevisionRestore, O as handleMediaList, P as handleContentCompare, Q as handleContentUpdate, R as handleContentDelete, T as handleMediaCreate, U as handleContentList, V as handleContentGet, W as handleContentListTrashed, X as handleContentUnpublish, Y as handleContentTranslations, Z as handleContentUnschedule, d as createPluginBundleStore, j as handleRevisionList, k as handleMediaUpdate, q as handleContentRestore, z as handleContentDiscardDraft } from "../api-
|
|
27
|
+
import { $ as validateRev, A as handleRevisionGet, B as handleContentDuplicate, D as handleMediaGet, E as handleMediaDelete, F as handleContentCountScheduled, G as handleContentPermanentDelete, H as handleContentGetIncludingTrashed, I as handleContentCountTrashed, J as handleContentSchedule, K as handleContentPublish, L as handleContentCreate, M as handleRevisionRestore, O as handleMediaList, P as handleContentCompare, Q as handleContentUpdate, R as handleContentDelete, T as handleMediaCreate, U as handleContentList, V as handleContentGet, W as handleContentListTrashed, X as handleContentUnpublish, Y as handleContentTranslations, Z as handleContentUnschedule, d as createPluginBundleStore, j as handleRevisionList, k as handleMediaUpdate, q as handleContentRestore, z as handleContentDiscardDraft } from "../api-Fu6WeyUl.mjs";
|
|
28
28
|
import { n as requestCached } from "../request-cache-BzuhyUXj.mjs";
|
|
29
29
|
import "../dashboard-DdqRifyu.mjs";
|
|
30
30
|
import { u as PluginStateRepository } from "../briefing-Dk4I4VC8.mjs";
|
|
@@ -36,40 +36,41 @@ import { c as createPublicMediaUrlResolver } from "../settings-D2k1JraC.mjs";
|
|
|
36
36
|
import "../briefing-PFT3T6KW.mjs";
|
|
37
37
|
import "../review-requests-CO-vO0O0.mjs";
|
|
38
38
|
import { n as hashString } from "../hash-DHSsP6_G.mjs";
|
|
39
|
-
import { n as VERSION, t as COMMIT } from "../version-
|
|
39
|
+
import { n as VERSION, t as COMMIT } from "../version-2a3KsDX2.mjs";
|
|
40
40
|
import "../query-CH1GaJmt.mjs";
|
|
41
41
|
import "../zod-generator-vOxhed6n.mjs";
|
|
42
42
|
import "../schema-mjeMcn_6.mjs";
|
|
43
43
|
import "../seo-Dl4QE4El.mjs";
|
|
44
44
|
import "../sections-DA3GMhNG.mjs";
|
|
45
45
|
import "../settings-BJW_lmrM.mjs";
|
|
46
|
-
import "../taxonomies-
|
|
47
|
-
import "../taxonomies-
|
|
46
|
+
import "../taxonomies-DVXCWoUF.mjs";
|
|
47
|
+
import "../taxonomies-CZJazF0N.mjs";
|
|
48
48
|
import { r as normalizeManifestRoute } from "../manifest-schema-CU0XL_ZK.mjs";
|
|
49
49
|
import "../parse-BBfZRZYb.mjs";
|
|
50
50
|
import "../redirects-BO0fI750.mjs";
|
|
51
51
|
import "../import-BO_gy5vZ.mjs";
|
|
52
|
-
import { a as invalidateUrlPatternCache } from "../query-
|
|
53
|
-
import "../preview-
|
|
54
|
-
import "../
|
|
52
|
+
import { a as invalidateUrlPatternCache } from "../query-D5CIGQv4.mjs";
|
|
53
|
+
import "../preview-B-MTC5mp.mjs";
|
|
54
|
+
import "../parser-wEX7xttr.mjs";
|
|
55
55
|
import { t as getTrustedProxyHeaders } from "../trusted-proxy-8N8sX1D1.mjs";
|
|
56
56
|
import { n as sanitizeHeadersForSandbox, t as extractRequestMeta } from "../request-meta-BVx9KkL-.mjs";
|
|
57
57
|
import "../ssrf-z3oH8wjK.mjs";
|
|
58
58
|
import { n as CronExecutor } from "../cron-fV9baRVc.mjs";
|
|
59
59
|
import { r as devConsoleEmailDeliver, t as DEV_CONSOLE_EMAIL_PLUGIN_ID } from "../email-console-_pTim1bU.mjs";
|
|
60
|
-
import "../
|
|
61
|
-
import "../
|
|
62
|
-
import "../
|
|
63
|
-
import "../
|
|
64
|
-
import "../
|
|
65
|
-
import "../
|
|
66
|
-
import "../
|
|
67
|
-
import "../
|
|
60
|
+
import "../import-CzZYGhnG.mjs";
|
|
61
|
+
import "../utils-BftjFpR0.mjs";
|
|
62
|
+
import "../tokens-BMTKHT6X.mjs";
|
|
63
|
+
import "../menus-DtoRO2gt.mjs";
|
|
64
|
+
import "../bylines-CaPwztlL.mjs";
|
|
65
|
+
import "../widgets-BFh1UZN5.mjs";
|
|
66
|
+
import "../apply-D7vu4aFn.mjs";
|
|
67
|
+
import "../load-5R4qZ4zn.mjs";
|
|
68
|
+
import "../search-DjaP_Dw-.mjs";
|
|
68
69
|
import "../index.mjs";
|
|
69
|
-
import { t as getAuthMode } from "../mode-
|
|
70
|
-
import { i as experimentalSiteContextWorkflowsEnabled } from "../experimental-workflows-
|
|
71
|
-
import { t as cleanupExpiredChallenges } from "../challenge-store-
|
|
72
|
-
import { a as validateEncryptionKeyAtStartup } from "../secrets-
|
|
70
|
+
import { t as getAuthMode } from "../mode-BI1kRvlT.mjs";
|
|
71
|
+
import { i as experimentalSiteContextWorkflowsEnabled } from "../experimental-workflows-C7o_9V7S.mjs";
|
|
72
|
+
import { t as cleanupExpiredChallenges } from "../challenge-store-B9odzfeh.mjs";
|
|
73
|
+
import { a as validateEncryptionKeyAtStartup } from "../secrets-BIrqds5c.mjs";
|
|
73
74
|
import { Kysely, sql } from "kysely";
|
|
74
75
|
import { defineMiddleware } from "astro:middleware";
|
|
75
76
|
import virtualConfig from "virtual:dineway/config";
|
|
@@ -862,9 +863,9 @@ var DinewayRuntime = class DinewayRuntime {
|
|
|
862
863
|
}
|
|
863
864
|
})();
|
|
864
865
|
if (collectionCount.count === 0 && !setupDone) {
|
|
865
|
-
const { applySeed } = await import("../apply-
|
|
866
|
-
const { loadSeed } = await import("../load-
|
|
867
|
-
const { validateSeed } = await import("../validate-
|
|
866
|
+
const { applySeed } = await import("../apply-D7vu4aFn.mjs").then((n) => n.n);
|
|
867
|
+
const { loadSeed } = await import("../load-5R4qZ4zn.mjs").then((n) => n.r);
|
|
868
|
+
const { validateSeed } = await import("../validate-BGpmNtMe.mjs").then((n) => n.n);
|
|
868
869
|
const seed = await loadSeed();
|
|
869
870
|
if (validateSeed(seed).valid) {
|
|
870
871
|
await applySeed(db, seed, { onConflict: "skip" });
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { a as unwrapResult, r as handleError, t as apiError } from "../../../../../error-Dyf9fGZE.mjs";
|
|
2
|
-
import "../../../../../api-tokens-
|
|
3
|
-
import { r as handleApiTokenRevoke } from "../../../../../api-tokens-
|
|
4
|
-
import { t as rejectApiTokenAuthControlWrite } from "../../../../../auth-control-guard
|
|
2
|
+
import "../../../../../api-tokens-BZ9aAeCo.mjs";
|
|
3
|
+
import { r as handleApiTokenRevoke } from "../../../../../api-tokens-DAMwe5Kj.mjs";
|
|
4
|
+
import { t as rejectApiTokenAuthControlWrite } from "../../../../../auth-control-guard-_5V1x8U8.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
1
|
import { a as unwrapResult, r as handleError, t as apiError } from "../../../../../error-Dyf9fGZE.mjs";
|
|
2
2
|
import { n as parseBody, t as isParseError } from "../../../../../parse-BBfZRZYb.mjs";
|
|
3
|
-
import { c as requestedExperimentalSiteContextWorkflowScopes, i as experimentalSiteContextWorkflowsEnabled, s as getExperimentalSiteContextWorkflowsDisabledMessage } from "../../../../../experimental-workflows-
|
|
4
|
-
import { t as ALL_VALID_SCOPES } from "../../../../../api-tokens-
|
|
5
|
-
import { n as handleApiTokenList, t as handleApiTokenCreate } from "../../../../../api-tokens-
|
|
6
|
-
import { t as rejectApiTokenAuthControlWrite } from "../../../../../auth-control-guard
|
|
3
|
+
import { c as requestedExperimentalSiteContextWorkflowScopes, i as experimentalSiteContextWorkflowsEnabled, s as getExperimentalSiteContextWorkflowsDisabledMessage } from "../../../../../experimental-workflows-C7o_9V7S.mjs";
|
|
4
|
+
import { t as ALL_VALID_SCOPES } from "../../../../../api-tokens-BZ9aAeCo.mjs";
|
|
5
|
+
import { n as handleApiTokenList, t as handleApiTokenCreate } from "../../../../../api-tokens-DAMwe5Kj.mjs";
|
|
6
|
+
import { t as rejectApiTokenAuthControlWrite } from "../../../../../auth-control-guard-_5V1x8U8.mjs";
|
|
7
7
|
import { z } from "zod";
|
|
8
8
|
import { Role } from "@dineway-ai/auth";
|
|
9
9
|
|
|
@@ -9,8 +9,8 @@ import { n as parseBody, t as isParseError } from "../../../../../../parse-BBfZR
|
|
|
9
9
|
import { vn as bylineUpdateBody } from "../../../../../../redirects-BO0fI750.mjs";
|
|
10
10
|
import "../../../../../../import-BO_gy5vZ.mjs";
|
|
11
11
|
import "../../../../../../api/schemas/index.mjs";
|
|
12
|
-
import { i as invalidateBylineCache } from "../../../../../../bylines-
|
|
13
|
-
import { n as requirePerm } from "../../../../../../authorize-
|
|
12
|
+
import { i as invalidateBylineCache } from "../../../../../../bylines-CaPwztlL.mjs";
|
|
13
|
+
import { n as requirePerm } from "../../../../../../authorize-BgIG3yfN.mjs";
|
|
14
14
|
import { Role } from "@dineway-ai/auth";
|
|
15
15
|
|
|
16
16
|
//#region src/astro/routes/api/admin/bylines/[id]/index.ts
|
|
@@ -9,8 +9,8 @@ import { i as parseQuery, n as parseBody, t as isParseError } from "../../../../
|
|
|
9
9
|
import { mn as bylineCreateBody, yn as bylinesListQuery } from "../../../../../redirects-BO0fI750.mjs";
|
|
10
10
|
import "../../../../../import-BO_gy5vZ.mjs";
|
|
11
11
|
import "../../../../../api/schemas/index.mjs";
|
|
12
|
-
import { i as invalidateBylineCache } from "../../../../../bylines-
|
|
13
|
-
import { n as requirePerm } from "../../../../../authorize-
|
|
12
|
+
import { i as invalidateBylineCache } from "../../../../../bylines-CaPwztlL.mjs";
|
|
13
|
+
import { n as requirePerm } from "../../../../../authorize-BgIG3yfN.mjs";
|
|
14
14
|
import { Role } from "@dineway-ai/auth";
|
|
15
15
|
|
|
16
16
|
//#region src/astro/routes/api/admin/bylines/index.ts
|
|
@@ -8,10 +8,10 @@ import { n as parseBody, t as isParseError } from "../../../../../../parse-BBfZR
|
|
|
8
8
|
import { gt as commentStatusBody } from "../../../../../../redirects-BO0fI750.mjs";
|
|
9
9
|
import "../../../../../../import-BO_gy5vZ.mjs";
|
|
10
10
|
import "../../../../../../api/schemas/index.mjs";
|
|
11
|
-
import { n as requirePerm } from "../../../../../../authorize-
|
|
12
|
-
import { a as handleCommentGet } from "../../../../../../comments-
|
|
13
|
-
import { t as getSiteBaseUrl } from "../../../../../../site-url-
|
|
14
|
-
import { i as sendCommentNotification, n as moderateComment, r as lookupContentAuthor } from "../../../../../../service-
|
|
11
|
+
import { n as requirePerm } from "../../../../../../authorize-BgIG3yfN.mjs";
|
|
12
|
+
import { a as handleCommentGet } from "../../../../../../comments-85tbgZQN.mjs";
|
|
13
|
+
import { t as getSiteBaseUrl } from "../../../../../../site-url-BketXXft.mjs";
|
|
14
|
+
import { i as sendCommentNotification, n as moderateComment, r as lookupContentAuthor } from "../../../../../../service-Dada1k5R.mjs";
|
|
15
15
|
|
|
16
16
|
//#region src/astro/routes/api/admin/comments/[id]/status.ts
|
|
17
17
|
const prerender = false;
|
|
@@ -2,8 +2,8 @@ import "../../../../../base64-C1Q9yr0B.mjs";
|
|
|
2
2
|
import "../../../../../types-D1DjBFA9.mjs";
|
|
3
3
|
import "../../../../../comment-BmJXz3lc.mjs";
|
|
4
4
|
import { a as unwrapResult, i as requireDb, r as handleError, t as apiError } from "../../../../../error-Dyf9fGZE.mjs";
|
|
5
|
-
import { n as requirePerm } from "../../../../../authorize-
|
|
6
|
-
import { a as handleCommentGet, i as handleCommentDelete } from "../../../../../comments-
|
|
5
|
+
import { n as requirePerm } from "../../../../../authorize-BgIG3yfN.mjs";
|
|
6
|
+
import { a as handleCommentGet, i as handleCommentDelete } from "../../../../../comments-85tbgZQN.mjs";
|
|
7
7
|
|
|
8
8
|
//#region src/astro/routes/api/admin/comments/[id].ts
|
|
9
9
|
const prerender = false;
|
|
@@ -7,8 +7,8 @@ import { n as parseBody, t as isParseError } from "../../../../../parse-BBfZRZYb
|
|
|
7
7
|
import { dt as commentBulkBody } from "../../../../../redirects-BO0fI750.mjs";
|
|
8
8
|
import "../../../../../import-BO_gy5vZ.mjs";
|
|
9
9
|
import "../../../../../api/schemas/index.mjs";
|
|
10
|
-
import { n as requirePerm } from "../../../../../authorize-
|
|
11
|
-
import { n as handleCommentBulk } from "../../../../../comments-
|
|
10
|
+
import { n as requirePerm } from "../../../../../authorize-BgIG3yfN.mjs";
|
|
11
|
+
import { n as handleCommentBulk } from "../../../../../comments-85tbgZQN.mjs";
|
|
12
12
|
|
|
13
13
|
//#region src/astro/routes/api/admin/comments/bulk.ts
|
|
14
14
|
const prerender = false;
|
|
@@ -2,8 +2,8 @@ import "../../../../../base64-C1Q9yr0B.mjs";
|
|
|
2
2
|
import "../../../../../types-D1DjBFA9.mjs";
|
|
3
3
|
import "../../../../../comment-BmJXz3lc.mjs";
|
|
4
4
|
import { a as unwrapResult, i as requireDb, r as handleError } from "../../../../../error-Dyf9fGZE.mjs";
|
|
5
|
-
import { n as requirePerm } from "../../../../../authorize-
|
|
6
|
-
import { r as handleCommentCounts } from "../../../../../comments-
|
|
5
|
+
import { n as requirePerm } from "../../../../../authorize-BgIG3yfN.mjs";
|
|
6
|
+
import { r as handleCommentCounts } from "../../../../../comments-85tbgZQN.mjs";
|
|
7
7
|
|
|
8
8
|
//#region src/astro/routes/api/admin/comments/counts.ts
|
|
9
9
|
const prerender = false;
|
|
@@ -7,8 +7,8 @@ import { i as parseQuery, t as isParseError } from "../../../../../parse-BBfZRZY
|
|
|
7
7
|
import { mt as commentListQuery } from "../../../../../redirects-BO0fI750.mjs";
|
|
8
8
|
import "../../../../../import-BO_gy5vZ.mjs";
|
|
9
9
|
import "../../../../../api/schemas/index.mjs";
|
|
10
|
-
import { n as requirePerm } from "../../../../../authorize-
|
|
11
|
-
import { o as handleCommentInbox } from "../../../../../comments-
|
|
10
|
+
import { n as requirePerm } from "../../../../../authorize-BgIG3yfN.mjs";
|
|
11
|
+
import { o as handleCommentInbox } from "../../../../../comments-85tbgZQN.mjs";
|
|
12
12
|
|
|
13
13
|
//#region src/astro/routes/api/admin/comments/index.ts
|
|
14
14
|
const prerender = false;
|
|
@@ -18,12 +18,12 @@ import "../../../../../../query-CH1GaJmt.mjs";
|
|
|
18
18
|
import "../../../../../../zod-generator-vOxhed6n.mjs";
|
|
19
19
|
import "../../../../../../schema-mjeMcn_6.mjs";
|
|
20
20
|
import { a as unwrapResult, i as requireDb, r as handleError, t as apiError } from "../../../../../../error-Dyf9fGZE.mjs";
|
|
21
|
-
import "../../../../../../utils-
|
|
22
|
-
import "../../../../../../search-
|
|
23
|
-
import { n as requirePerm } from "../../../../../../authorize-
|
|
24
|
-
import "../../../../../../site-context-
|
|
25
|
-
import "../../../../../../activity-events-
|
|
26
|
-
import { i as handleContextEntryHistory } from "../../../../../../context-
|
|
21
|
+
import "../../../../../../utils-BftjFpR0.mjs";
|
|
22
|
+
import "../../../../../../search-DjaP_Dw-.mjs";
|
|
23
|
+
import { n as requirePerm } from "../../../../../../authorize-BgIG3yfN.mjs";
|
|
24
|
+
import "../../../../../../site-context-Dr_5pFHr.mjs";
|
|
25
|
+
import "../../../../../../activity-events-CjOgr0Uv.mjs";
|
|
26
|
+
import { i as handleContextEntryHistory } from "../../../../../../context-CnrsB3lh.mjs";
|
|
27
27
|
|
|
28
28
|
//#region src/astro/routes/api/admin/context/[id]/history.ts
|
|
29
29
|
const prerender = false;
|
|
@@ -18,12 +18,12 @@ import "../../../../../../query-CH1GaJmt.mjs";
|
|
|
18
18
|
import "../../../../../../zod-generator-vOxhed6n.mjs";
|
|
19
19
|
import "../../../../../../schema-mjeMcn_6.mjs";
|
|
20
20
|
import { a as unwrapResult, i as requireDb, r as handleError, t as apiError } from "../../../../../../error-Dyf9fGZE.mjs";
|
|
21
|
-
import "../../../../../../utils-
|
|
22
|
-
import "../../../../../../search-
|
|
23
|
-
import { n as requirePerm } from "../../../../../../authorize-
|
|
24
|
-
import "../../../../../../site-context-
|
|
25
|
-
import "../../../../../../activity-events-
|
|
26
|
-
import { r as handleContextEntryGet } from "../../../../../../context-
|
|
21
|
+
import "../../../../../../utils-BftjFpR0.mjs";
|
|
22
|
+
import "../../../../../../search-DjaP_Dw-.mjs";
|
|
23
|
+
import { n as requirePerm } from "../../../../../../authorize-BgIG3yfN.mjs";
|
|
24
|
+
import "../../../../../../site-context-Dr_5pFHr.mjs";
|
|
25
|
+
import "../../../../../../activity-events-CjOgr0Uv.mjs";
|
|
26
|
+
import { r as handleContextEntryGet } from "../../../../../../context-CnrsB3lh.mjs";
|
|
27
27
|
|
|
28
28
|
//#region src/astro/routes/api/admin/context/[id]/index.ts
|
|
29
29
|
const prerender = false;
|
|
@@ -22,13 +22,13 @@ import { n as parseBody, t as isParseError } from "../../../../../../parse-BBfZR
|
|
|
22
22
|
import "../../../../../../redirects-BO0fI750.mjs";
|
|
23
23
|
import { D as contextEntryReviewBody } from "../../../../../../import-BO_gy5vZ.mjs";
|
|
24
24
|
import "../../../../../../api/schemas/index.mjs";
|
|
25
|
-
import "../../../../../../utils-
|
|
26
|
-
import "../../../../../../search-
|
|
27
|
-
import { n as requirePerm } from "../../../../../../authorize-
|
|
28
|
-
import "../../../../../../site-context-
|
|
29
|
-
import "../../../../../../activity-events-
|
|
30
|
-
import { o as handleContextEntryReview } from "../../../../../../context-
|
|
31
|
-
import { n as resolveContextRouteActor, t as logContextRouteActivity } from "../../../../../../context-route-helpers-
|
|
25
|
+
import "../../../../../../utils-BftjFpR0.mjs";
|
|
26
|
+
import "../../../../../../search-DjaP_Dw-.mjs";
|
|
27
|
+
import { n as requirePerm } from "../../../../../../authorize-BgIG3yfN.mjs";
|
|
28
|
+
import "../../../../../../site-context-Dr_5pFHr.mjs";
|
|
29
|
+
import "../../../../../../activity-events-CjOgr0Uv.mjs";
|
|
30
|
+
import { o as handleContextEntryReview } from "../../../../../../context-CnrsB3lh.mjs";
|
|
31
|
+
import { n as resolveContextRouteActor, t as logContextRouteActivity } from "../../../../../../context-route-helpers-CdFWd8GK.mjs";
|
|
32
32
|
|
|
33
33
|
//#region src/astro/routes/api/admin/context/[id]/review.ts
|
|
34
34
|
const prerender = false;
|
|
@@ -22,13 +22,13 @@ import { n as parseBody, t as isParseError } from "../../../../../../parse-BBfZR
|
|
|
22
22
|
import "../../../../../../redirects-BO0fI750.mjs";
|
|
23
23
|
import { k as contextEntrySupersedeBody } from "../../../../../../import-BO_gy5vZ.mjs";
|
|
24
24
|
import "../../../../../../api/schemas/index.mjs";
|
|
25
|
-
import "../../../../../../utils-
|
|
26
|
-
import "../../../../../../search-
|
|
27
|
-
import { n as requirePerm } from "../../../../../../authorize-
|
|
28
|
-
import "../../../../../../site-context-
|
|
29
|
-
import "../../../../../../activity-events-
|
|
30
|
-
import { c as handleContextEntrySupersede } from "../../../../../../context-
|
|
31
|
-
import { n as resolveContextRouteActor, t as logContextRouteActivity } from "../../../../../../context-route-helpers-
|
|
25
|
+
import "../../../../../../utils-BftjFpR0.mjs";
|
|
26
|
+
import "../../../../../../search-DjaP_Dw-.mjs";
|
|
27
|
+
import { n as requirePerm } from "../../../../../../authorize-BgIG3yfN.mjs";
|
|
28
|
+
import "../../../../../../site-context-Dr_5pFHr.mjs";
|
|
29
|
+
import "../../../../../../activity-events-CjOgr0Uv.mjs";
|
|
30
|
+
import { c as handleContextEntrySupersede } from "../../../../../../context-CnrsB3lh.mjs";
|
|
31
|
+
import { n as resolveContextRouteActor, t as logContextRouteActivity } from "../../../../../../context-route-helpers-CdFWd8GK.mjs";
|
|
32
32
|
|
|
33
33
|
//#region src/astro/routes/api/admin/context/[id]/supersede.ts
|
|
34
34
|
const prerender = false;
|
|
@@ -22,12 +22,12 @@ import { i as parseQuery, t as isParseError } from "../../../../../parse-BBfZRZY
|
|
|
22
22
|
import "../../../../../redirects-BO0fI750.mjs";
|
|
23
23
|
import { T as contextEntryDiffQuery } from "../../../../../import-BO_gy5vZ.mjs";
|
|
24
24
|
import "../../../../../api/schemas/index.mjs";
|
|
25
|
-
import "../../../../../utils-
|
|
26
|
-
import "../../../../../search-
|
|
27
|
-
import { n as requirePerm } from "../../../../../authorize-
|
|
28
|
-
import "../../../../../site-context-
|
|
29
|
-
import "../../../../../activity-events-
|
|
30
|
-
import { n as handleContextEntryDiff } from "../../../../../context-
|
|
25
|
+
import "../../../../../utils-BftjFpR0.mjs";
|
|
26
|
+
import "../../../../../search-DjaP_Dw-.mjs";
|
|
27
|
+
import { n as requirePerm } from "../../../../../authorize-BgIG3yfN.mjs";
|
|
28
|
+
import "../../../../../site-context-Dr_5pFHr.mjs";
|
|
29
|
+
import "../../../../../activity-events-CjOgr0Uv.mjs";
|
|
30
|
+
import { n as handleContextEntryDiff } from "../../../../../context-CnrsB3lh.mjs";
|
|
31
31
|
|
|
32
32
|
//#region src/astro/routes/api/admin/context/diff.ts
|
|
33
33
|
const prerender = false;
|
|
@@ -22,13 +22,13 @@ import { i as parseQuery, n as parseBody, t as isParseError } from "../../../../
|
|
|
22
22
|
import "../../../../../redirects-BO0fI750.mjs";
|
|
23
23
|
import { E as contextEntryListQuery, w as contextEntryCreateBody } from "../../../../../import-BO_gy5vZ.mjs";
|
|
24
24
|
import "../../../../../api/schemas/index.mjs";
|
|
25
|
-
import "../../../../../utils-
|
|
26
|
-
import "../../../../../search-
|
|
27
|
-
import { n as requirePerm } from "../../../../../authorize-
|
|
28
|
-
import "../../../../../site-context-
|
|
29
|
-
import "../../../../../activity-events-
|
|
30
|
-
import { a as handleContextEntryList, t as handleContextEntryCreate } from "../../../../../context-
|
|
31
|
-
import { n as resolveContextRouteActor, t as logContextRouteActivity } from "../../../../../context-route-helpers-
|
|
25
|
+
import "../../../../../utils-BftjFpR0.mjs";
|
|
26
|
+
import "../../../../../search-DjaP_Dw-.mjs";
|
|
27
|
+
import { n as requirePerm } from "../../../../../authorize-BgIG3yfN.mjs";
|
|
28
|
+
import "../../../../../site-context-Dr_5pFHr.mjs";
|
|
29
|
+
import "../../../../../activity-events-CjOgr0Uv.mjs";
|
|
30
|
+
import { a as handleContextEntryList, t as handleContextEntryCreate } from "../../../../../context-CnrsB3lh.mjs";
|
|
31
|
+
import { n as resolveContextRouteActor, t as logContextRouteActivity } from "../../../../../context-route-helpers-CdFWd8GK.mjs";
|
|
32
32
|
|
|
33
33
|
//#region src/astro/routes/api/admin/context/index.ts
|
|
34
34
|
const prerender = false;
|
|
@@ -22,12 +22,12 @@ import { i as parseQuery, t as isParseError } from "../../../../../parse-BBfZRZY
|
|
|
22
22
|
import "../../../../../redirects-BO0fI750.mjs";
|
|
23
23
|
import { O as contextEntryStaleQuery } from "../../../../../import-BO_gy5vZ.mjs";
|
|
24
24
|
import "../../../../../api/schemas/index.mjs";
|
|
25
|
-
import "../../../../../utils-
|
|
26
|
-
import "../../../../../search-
|
|
27
|
-
import { n as requirePerm } from "../../../../../authorize-
|
|
28
|
-
import "../../../../../site-context-
|
|
29
|
-
import "../../../../../activity-events-
|
|
30
|
-
import { s as handleContextEntryStale } from "../../../../../context-
|
|
25
|
+
import "../../../../../utils-BftjFpR0.mjs";
|
|
26
|
+
import "../../../../../search-DjaP_Dw-.mjs";
|
|
27
|
+
import { n as requirePerm } from "../../../../../authorize-BgIG3yfN.mjs";
|
|
28
|
+
import "../../../../../site-context-Dr_5pFHr.mjs";
|
|
29
|
+
import "../../../../../activity-events-CjOgr0Uv.mjs";
|
|
30
|
+
import { s as handleContextEntryStale } from "../../../../../context-CnrsB3lh.mjs";
|
|
31
31
|
|
|
32
32
|
//#region src/astro/routes/api/admin/context/stale.ts
|
|
33
33
|
const prerender = false;
|