dineway 0.1.18 → 0.1.20
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-46RONHY3.mjs → allowed-origins-CIP5fh83.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-KH2L2uKb.mjs → api-CetVENIv.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-BK9FyU4A.d.mts → bylines-BSzNLT0N.d.mts} +18 -18
- package/dist/cli/index.mjs +801 -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-93X6MFTb.mjs → context-CUJ2Qwb4.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-urJvDoBx.mjs → device-flow-Pab2PQTA.mjs} +4 -4
- package/dist/{hitl-requests-DBcruTcs.mjs → hitl-requests-D5CLRMGC.mjs} +2 -2
- package/dist/{hitl-route-helpers-Dwo_LjhN.mjs → hitl-route-helpers-SRAfZqf9.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-BZSOekHq.mjs → oauth-authorization-CFcMq7NJ.mjs} +4 -4
- package/dist/{oauth-clients-CqAi-6Y4.mjs → oauth-clients-CS1nQbC3.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-Rwm9auhW.mjs → site-context-CDnyARws.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 +11 -8
- package/dist/ui/server-runtime.mjs +48 -7
- package/dist/{validate-BQ24E8rK.d.mts → validate-BikB29gc.d.mts} +3 -3
- package/dist/version-BSPT181S.mjs +6 -0
- package/dist/{widgets-D7UK-2hW.mjs → widgets-BFh1UZN5.mjs} +1 -1
- package/package.json +8 -5
- package/src/components/DinewayHead.astro +1 -1
- package/dist/version-qhU-AiPQ.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-B9odzfeh.mjs → challenge-store-cJam-E5R.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-C7o_9V7S.mjs → experimental-workflows-BbZbIEZp.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-BI1kRvlT.mjs → mode-Bd55iLcP.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-BIrqds5c.mjs → secrets-DfeNNoLa.mjs} +0 -0
- /package/dist/{seo-contributions-BG4TtU7H.mjs → seo-contributions-D_CLIsxJ.mjs} +0 -0
- /package/dist/{setup-complete-DzOSuHUM.mjs → setup-complete-DgsQYTC2.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,8 +1,8 @@
|
|
|
1
1
|
import "../../../../dialect-helpers-TkdbkFad.mjs";
|
|
2
2
|
import { r as runMigrations } from "../../../../runner-lqEiJbO-.mjs";
|
|
3
3
|
import { n as apiSuccess, r as handleError, t as apiError } from "../../../../error-Dyf9fGZE.mjs";
|
|
4
|
-
import { t as escapeHtml } from "../../../../escape-
|
|
5
|
-
import { t as isSafeRedirect } from "../../../../redirect-
|
|
4
|
+
import { t as escapeHtml } from "../../../../escape-DA8zlB7z.mjs";
|
|
5
|
+
import { t as isSafeRedirect } from "../../../../redirect-CbEyClKc.mjs";
|
|
6
6
|
import { ulid } from "ulidx";
|
|
7
7
|
|
|
8
8
|
//#region src/astro/routes/api/auth/dev-bypass.ts
|
|
@@ -5,10 +5,10 @@ import { n as parseBody, t as isParseError } from "../../../../../parse-BBfZRZYb
|
|
|
5
5
|
import "../../../../../redirects-BO0fI750.mjs";
|
|
6
6
|
import { c as inviteCompleteBody } from "../../../../../import-BO_gy5vZ.mjs";
|
|
7
7
|
import "../../../../../api/schemas/index.mjs";
|
|
8
|
-
import { n as getPublicOrigin } from "../../../../../public-url-
|
|
9
|
-
import { n as validateAllowedOrigins, t as getConfiguredAllowedOrigins } from "../../../../../allowed-origins-
|
|
10
|
-
import { n as createChallengeStore } from "../../../../../challenge-store-
|
|
11
|
-
import { t as getPasskeyConfig } from "../../../../../passkey-config-
|
|
8
|
+
import { n as getPublicOrigin } from "../../../../../public-url-DuRGs0uF.mjs";
|
|
9
|
+
import { n as validateAllowedOrigins, t as getConfiguredAllowedOrigins } from "../../../../../allowed-origins-CIP5fh83.mjs";
|
|
10
|
+
import { n as createChallengeStore } from "../../../../../challenge-store-cJam-E5R.mjs";
|
|
11
|
+
import { t as getPasskeyConfig } from "../../../../../passkey-config-CDew7KVU.mjs";
|
|
12
12
|
import { createKyselyAdapter } from "@dineway-ai/auth/adapters/kysely";
|
|
13
13
|
import { InviteError, completeInvite } from "@dineway-ai/auth";
|
|
14
14
|
import { registerPasskey, verifyRegistrationResponse } from "@dineway-ai/auth/passkey";
|
|
@@ -5,7 +5,7 @@ import { n as parseBody, t as isParseError } from "../../../../../parse-BBfZRZYb
|
|
|
5
5
|
import "../../../../../redirects-BO0fI750.mjs";
|
|
6
6
|
import { l as inviteCreateBody } from "../../../../../import-BO_gy5vZ.mjs";
|
|
7
7
|
import "../../../../../api/schemas/index.mjs";
|
|
8
|
-
import { t as getSiteBaseUrl } from "../../../../../site-url-
|
|
8
|
+
import { t as getSiteBaseUrl } from "../../../../../site-url-BketXXft.mjs";
|
|
9
9
|
import { createKyselyAdapter } from "@dineway-ai/auth/adapters/kysely";
|
|
10
10
|
import { InviteError, Role, createInvite } from "@dineway-ai/auth";
|
|
11
11
|
|
|
@@ -5,9 +5,9 @@ import { n as parseBody, t as isParseError } from "../../../../../parse-BBfZRZYb
|
|
|
5
5
|
import "../../../../../redirects-BO0fI750.mjs";
|
|
6
6
|
import { u as inviteRegisterOptionsBody } from "../../../../../import-BO_gy5vZ.mjs";
|
|
7
7
|
import "../../../../../api/schemas/index.mjs";
|
|
8
|
-
import { n as getPublicOrigin } from "../../../../../public-url-
|
|
9
|
-
import { n as createChallengeStore } from "../../../../../challenge-store-
|
|
10
|
-
import { t as getPasskeyConfig } from "../../../../../passkey-config-
|
|
8
|
+
import { n as getPublicOrigin } from "../../../../../public-url-DuRGs0uF.mjs";
|
|
9
|
+
import { n as createChallengeStore } from "../../../../../challenge-store-cJam-E5R.mjs";
|
|
10
|
+
import { t as getPasskeyConfig } from "../../../../../passkey-config-CDew7KVU.mjs";
|
|
11
11
|
import { ulid } from "ulidx";
|
|
12
12
|
import { createKyselyAdapter } from "@dineway-ai/auth/adapters/kysely";
|
|
13
13
|
import { InviteError, validateInvite } from "@dineway-ai/auth";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as apiSuccess, r as handleError } from "../../../../error-Dyf9fGZE.mjs";
|
|
2
|
-
import { t as isSafeRedirect } from "../../../../redirect-
|
|
2
|
+
import { t as isSafeRedirect } from "../../../../redirect-CbEyClKc.mjs";
|
|
3
3
|
|
|
4
4
|
//#region src/astro/routes/api/auth/logout.ts
|
|
5
5
|
const prerender = false;
|
|
@@ -6,8 +6,8 @@ import "../../../../../redirects-BO0fI750.mjs";
|
|
|
6
6
|
import { d as magicLinkSendBody } from "../../../../../import-BO_gy5vZ.mjs";
|
|
7
7
|
import "../../../../../api/schemas/index.mjs";
|
|
8
8
|
import { t as getTrustedProxyHeaders } from "../../../../../trusted-proxy-8N8sX1D1.mjs";
|
|
9
|
-
import { t as getSiteBaseUrl } from "../../../../../site-url-
|
|
10
|
-
import { n as getClientIp, t as checkRateLimit } from "../../../../../rate-limit-
|
|
9
|
+
import { t as getSiteBaseUrl } from "../../../../../site-url-BketXXft.mjs";
|
|
10
|
+
import { n as getClientIp, t as checkRateLimit } from "../../../../../rate-limit-5ZeKz7oo.mjs";
|
|
11
11
|
import { createKyselyAdapter } from "@dineway-ai/auth/adapters/kysely";
|
|
12
12
|
import { sendMagicLink } from "@dineway-ai/auth";
|
|
13
13
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as apiError } from "../../../../../error-Dyf9fGZE.mjs";
|
|
2
|
-
import { t as isSafeRedirect } from "../../../../../redirect-
|
|
2
|
+
import { t as isSafeRedirect } from "../../../../../redirect-CbEyClKc.mjs";
|
|
3
3
|
import { createKyselyAdapter } from "@dineway-ai/auth/adapters/kysely";
|
|
4
4
|
import { MagicLinkError, verifyMagicLink } from "@dineway-ai/auth";
|
|
5
5
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as getPublicOrigin } from "../../../../../../public-url-
|
|
2
|
-
import { t as createOAuthStateStore } from "../../../../../../oauth-state-store-
|
|
1
|
+
import { n as getPublicOrigin } from "../../../../../../public-url-DuRGs0uF.mjs";
|
|
2
|
+
import { t as createOAuthStateStore } from "../../../../../../oauth-state-store-DZs1UZwT.mjs";
|
|
3
3
|
import { createKyselyAdapter } from "@dineway-ai/auth/adapters/kysely";
|
|
4
4
|
import { OAuthError, Role, handleOAuthCallback } from "@dineway-ai/auth";
|
|
5
5
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as getPublicOrigin } from "../../../../../public-url-
|
|
2
|
-
import { t as createOAuthStateStore } from "../../../../../oauth-state-store-
|
|
1
|
+
import { n as getPublicOrigin } from "../../../../../public-url-DuRGs0uF.mjs";
|
|
2
|
+
import { t as createOAuthStateStore } from "../../../../../oauth-state-store-DZs1UZwT.mjs";
|
|
3
3
|
import { createAuthorizationUrl } from "@dineway-ai/auth";
|
|
4
4
|
|
|
5
5
|
//#region src/astro/routes/api/auth/oauth/[provider].ts
|
|
@@ -6,10 +6,10 @@ import "../../../../../redirects-BO0fI750.mjs";
|
|
|
6
6
|
import { f as passkeyOptionsBody } from "../../../../../import-BO_gy5vZ.mjs";
|
|
7
7
|
import "../../../../../api/schemas/index.mjs";
|
|
8
8
|
import { t as getTrustedProxyHeaders } from "../../../../../trusted-proxy-8N8sX1D1.mjs";
|
|
9
|
-
import { n as getPublicOrigin } from "../../../../../public-url-
|
|
10
|
-
import { n as createChallengeStore, t as cleanupExpiredChallenges } from "../../../../../challenge-store-
|
|
11
|
-
import { t as getPasskeyConfig } from "../../../../../passkey-config-
|
|
12
|
-
import { n as getClientIp, r as rateLimitResponse, t as checkRateLimit } from "../../../../../rate-limit-
|
|
9
|
+
import { n as getPublicOrigin } from "../../../../../public-url-DuRGs0uF.mjs";
|
|
10
|
+
import { n as createChallengeStore, t as cleanupExpiredChallenges } from "../../../../../challenge-store-cJam-E5R.mjs";
|
|
11
|
+
import { t as getPasskeyConfig } from "../../../../../passkey-config-CDew7KVU.mjs";
|
|
12
|
+
import { n as getClientIp, r as rateLimitResponse, t as checkRateLimit } from "../../../../../rate-limit-5ZeKz7oo.mjs";
|
|
13
13
|
import { createKyselyAdapter } from "@dineway-ai/auth/adapters/kysely";
|
|
14
14
|
import { generateAuthenticationOptions } from "@dineway-ai/auth/passkey";
|
|
15
15
|
|
|
@@ -5,9 +5,9 @@ import { r as parseOptionalBody, t as isParseError } from "../../../../../../par
|
|
|
5
5
|
import "../../../../../../redirects-BO0fI750.mjs";
|
|
6
6
|
import { p as passkeyRegisterOptionsBody } from "../../../../../../import-BO_gy5vZ.mjs";
|
|
7
7
|
import "../../../../../../api/schemas/index.mjs";
|
|
8
|
-
import { n as getPublicOrigin } from "../../../../../../public-url-
|
|
9
|
-
import { n as createChallengeStore } from "../../../../../../challenge-store-
|
|
10
|
-
import { t as getPasskeyConfig } from "../../../../../../passkey-config-
|
|
8
|
+
import { n as getPublicOrigin } from "../../../../../../public-url-DuRGs0uF.mjs";
|
|
9
|
+
import { n as createChallengeStore } from "../../../../../../challenge-store-cJam-E5R.mjs";
|
|
10
|
+
import { t as getPasskeyConfig } from "../../../../../../passkey-config-CDew7KVU.mjs";
|
|
11
11
|
import { createKyselyAdapter } from "@dineway-ai/auth/adapters/kysely";
|
|
12
12
|
import { generateRegistrationOptions } from "@dineway-ai/auth/passkey";
|
|
13
13
|
|
|
@@ -5,10 +5,10 @@ import { n as parseBody, t as isParseError } from "../../../../../../parse-BBfZR
|
|
|
5
5
|
import "../../../../../../redirects-BO0fI750.mjs";
|
|
6
6
|
import { m as passkeyRegisterVerifyBody } from "../../../../../../import-BO_gy5vZ.mjs";
|
|
7
7
|
import "../../../../../../api/schemas/index.mjs";
|
|
8
|
-
import { n as getPublicOrigin } from "../../../../../../public-url-
|
|
9
|
-
import { n as validateAllowedOrigins, t as getConfiguredAllowedOrigins } from "../../../../../../allowed-origins-
|
|
10
|
-
import { n as createChallengeStore } from "../../../../../../challenge-store-
|
|
11
|
-
import { t as getPasskeyConfig } from "../../../../../../passkey-config-
|
|
8
|
+
import { n as getPublicOrigin } from "../../../../../../public-url-DuRGs0uF.mjs";
|
|
9
|
+
import { n as validateAllowedOrigins, t as getConfiguredAllowedOrigins } from "../../../../../../allowed-origins-CIP5fh83.mjs";
|
|
10
|
+
import { n as createChallengeStore } from "../../../../../../challenge-store-cJam-E5R.mjs";
|
|
11
|
+
import { t as getPasskeyConfig } from "../../../../../../passkey-config-CDew7KVU.mjs";
|
|
12
12
|
import { createKyselyAdapter } from "@dineway-ai/auth/adapters/kysely";
|
|
13
13
|
import { registerPasskey, verifyRegistrationResponse } from "@dineway-ai/auth/passkey";
|
|
14
14
|
|
|
@@ -5,10 +5,10 @@ import { n as parseBody, t as isParseError } from "../../../../../parse-BBfZRZYb
|
|
|
5
5
|
import "../../../../../redirects-BO0fI750.mjs";
|
|
6
6
|
import { g as passkeyVerifyBody } from "../../../../../import-BO_gy5vZ.mjs";
|
|
7
7
|
import "../../../../../api/schemas/index.mjs";
|
|
8
|
-
import { n as getPublicOrigin } from "../../../../../public-url-
|
|
9
|
-
import { n as validateAllowedOrigins, t as getConfiguredAllowedOrigins } from "../../../../../allowed-origins-
|
|
10
|
-
import { n as createChallengeStore } from "../../../../../challenge-store-
|
|
11
|
-
import { t as getPasskeyConfig } from "../../../../../passkey-config-
|
|
8
|
+
import { n as getPublicOrigin } from "../../../../../public-url-DuRGs0uF.mjs";
|
|
9
|
+
import { n as validateAllowedOrigins, t as getConfiguredAllowedOrigins } from "../../../../../allowed-origins-CIP5fh83.mjs";
|
|
10
|
+
import { n as createChallengeStore } from "../../../../../challenge-store-cJam-E5R.mjs";
|
|
11
|
+
import { t as getPasskeyConfig } from "../../../../../passkey-config-CDew7KVU.mjs";
|
|
12
12
|
import { createKyselyAdapter } from "@dineway-ai/auth/adapters/kysely";
|
|
13
13
|
import { PasskeyAuthenticationError, authenticateWithPasskey } from "@dineway-ai/auth/passkey";
|
|
14
14
|
|
|
@@ -5,10 +5,10 @@ import { n as parseBody, t as isParseError } from "../../../../../parse-BBfZRZYb
|
|
|
5
5
|
import "../../../../../redirects-BO0fI750.mjs";
|
|
6
6
|
import { _ as signupCompleteBody } from "../../../../../import-BO_gy5vZ.mjs";
|
|
7
7
|
import "../../../../../api/schemas/index.mjs";
|
|
8
|
-
import { n as getPublicOrigin } from "../../../../../public-url-
|
|
9
|
-
import { n as validateAllowedOrigins, t as getConfiguredAllowedOrigins } from "../../../../../allowed-origins-
|
|
10
|
-
import { n as createChallengeStore } from "../../../../../challenge-store-
|
|
11
|
-
import { t as getPasskeyConfig } from "../../../../../passkey-config-
|
|
8
|
+
import { n as getPublicOrigin } from "../../../../../public-url-DuRGs0uF.mjs";
|
|
9
|
+
import { n as validateAllowedOrigins, t as getConfiguredAllowedOrigins } from "../../../../../allowed-origins-CIP5fh83.mjs";
|
|
10
|
+
import { n as createChallengeStore } from "../../../../../challenge-store-cJam-E5R.mjs";
|
|
11
|
+
import { t as getPasskeyConfig } from "../../../../../passkey-config-CDew7KVU.mjs";
|
|
12
12
|
import { createKyselyAdapter } from "@dineway-ai/auth/adapters/kysely";
|
|
13
13
|
import { SignupError, completeSignup } from "@dineway-ai/auth";
|
|
14
14
|
import { registerPasskey, verifyRegistrationResponse } from "@dineway-ai/auth/passkey";
|
|
@@ -6,8 +6,8 @@ import "../../../../../redirects-BO0fI750.mjs";
|
|
|
6
6
|
import { v as signupRequestBody } from "../../../../../import-BO_gy5vZ.mjs";
|
|
7
7
|
import "../../../../../api/schemas/index.mjs";
|
|
8
8
|
import { t as getTrustedProxyHeaders } from "../../../../../trusted-proxy-8N8sX1D1.mjs";
|
|
9
|
-
import { t as getSiteBaseUrl } from "../../../../../site-url-
|
|
10
|
-
import { n as getClientIp, t as checkRateLimit } from "../../../../../rate-limit-
|
|
9
|
+
import { t as getSiteBaseUrl } from "../../../../../site-url-BketXXft.mjs";
|
|
10
|
+
import { n as getClientIp, t as checkRateLimit } from "../../../../../rate-limit-5ZeKz7oo.mjs";
|
|
11
11
|
import { createKyselyAdapter } from "@dineway-ai/auth/adapters/kysely";
|
|
12
12
|
import { requestSignup } from "@dineway-ai/auth";
|
|
13
13
|
|
|
@@ -10,10 +10,10 @@ import { _t as createCommentBody } from "../../../../../../redirects-BO0fI750.mj
|
|
|
10
10
|
import "../../../../../../import-BO_gy5vZ.mjs";
|
|
11
11
|
import "../../../../../../api/schemas/index.mjs";
|
|
12
12
|
import { t as extractRequestMeta } from "../../../../../../request-meta-BVx9KkL-.mjs";
|
|
13
|
-
import { i as resolveSecretsCached } from "../../../../../../secrets-
|
|
14
|
-
import { c as hashIp, s as handleCommentList, t as checkRateLimit } from "../../../../../../comments-
|
|
15
|
-
import { t as getSiteBaseUrl } from "../../../../../../site-url-
|
|
16
|
-
import { i as sendCommentNotification, t as createComment } from "../../../../../../service-
|
|
13
|
+
import { i as resolveSecretsCached } from "../../../../../../secrets-DfeNNoLa.mjs";
|
|
14
|
+
import { c as hashIp, s as handleCommentList, t as checkRateLimit } from "../../../../../../comments-85tbgZQN.mjs";
|
|
15
|
+
import { t as getSiteBaseUrl } from "../../../../../../site-url-BketXXft.mjs";
|
|
16
|
+
import { i as sendCommentNotification, t as createComment } from "../../../../../../service-Dada1k5R.mjs";
|
|
17
17
|
|
|
18
18
|
//#region src/astro/routes/api/comments/[collection]/[contentId]/index.ts
|
|
19
19
|
const prerender = false;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { a as unwrapResult, t as apiError } from "../../../../../../error-Dyf9fGZE.mjs";
|
|
2
|
-
import { n as requirePerm } from "../../../../../../authorize-
|
|
2
|
+
import { n as requirePerm } from "../../../../../../authorize-BgIG3yfN.mjs";
|
|
3
3
|
|
|
4
4
|
//#region src/astro/routes/api/content/[collection]/[id]/compare.ts
|
|
5
5
|
const prerender = false;
|
|
@@ -2,8 +2,8 @@ import "../../../../../../base64-C1Q9yr0B.mjs";
|
|
|
2
2
|
import "../../../../../../types-D1DjBFA9.mjs";
|
|
3
3
|
import "../../../../../../site-activity-lsCX_cqp.mjs";
|
|
4
4
|
import { a as unwrapResult, o as mapErrorStatus, t as apiError } from "../../../../../../error-Dyf9fGZE.mjs";
|
|
5
|
-
import { t as requireOwnerPerm } from "../../../../../../authorize-
|
|
6
|
-
import { a as extractActivityItemId, n as contentApiRouteSource, o as logContentActivity } from "../../../../../../activity-events-
|
|
5
|
+
import { t as requireOwnerPerm } from "../../../../../../authorize-BgIG3yfN.mjs";
|
|
6
|
+
import { a as extractActivityItemId, n as contentApiRouteSource, o as logContentActivity } from "../../../../../../activity-events-CjOgr0Uv.mjs";
|
|
7
7
|
|
|
8
8
|
//#region src/astro/routes/api/content/[collection]/[id]/discard-draft.ts
|
|
9
9
|
const prerender = false;
|
|
@@ -2,8 +2,8 @@ import "../../../../../../base64-C1Q9yr0B.mjs";
|
|
|
2
2
|
import "../../../../../../types-D1DjBFA9.mjs";
|
|
3
3
|
import "../../../../../../site-activity-lsCX_cqp.mjs";
|
|
4
4
|
import { a as unwrapResult, o as mapErrorStatus, t as apiError } from "../../../../../../error-Dyf9fGZE.mjs";
|
|
5
|
-
import { n as requirePerm, t as requireOwnerPerm } from "../../../../../../authorize-
|
|
6
|
-
import { a as extractActivityItemId, n as contentApiRouteSource, o as logContentActivity } from "../../../../../../activity-events-
|
|
5
|
+
import { n as requirePerm, t as requireOwnerPerm } from "../../../../../../authorize-BgIG3yfN.mjs";
|
|
6
|
+
import { a as extractActivityItemId, n as contentApiRouteSource, o as logContentActivity } from "../../../../../../activity-events-CjOgr0Uv.mjs";
|
|
7
7
|
|
|
8
8
|
//#region src/astro/routes/api/content/[collection]/[id]/duplicate.ts
|
|
9
9
|
const prerender = false;
|
|
@@ -2,8 +2,8 @@ import "../../../../../../base64-C1Q9yr0B.mjs";
|
|
|
2
2
|
import "../../../../../../types-D1DjBFA9.mjs";
|
|
3
3
|
import "../../../../../../site-activity-lsCX_cqp.mjs";
|
|
4
4
|
import { a as unwrapResult, t as apiError } from "../../../../../../error-Dyf9fGZE.mjs";
|
|
5
|
-
import { n as requirePerm } from "../../../../../../authorize-
|
|
6
|
-
import { n as contentApiRouteSource, o as logContentActivity } from "../../../../../../activity-events-
|
|
5
|
+
import { n as requirePerm } from "../../../../../../authorize-BgIG3yfN.mjs";
|
|
6
|
+
import { n as contentApiRouteSource, o as logContentActivity } from "../../../../../../activity-events-CjOgr0Uv.mjs";
|
|
7
7
|
|
|
8
8
|
//#region src/astro/routes/api/content/[collection]/[id]/permanent.ts
|
|
9
9
|
const prerender = false;
|
|
@@ -8,10 +8,10 @@ import { r as parseOptionalBody, t as isParseError } from "../../../../../../par
|
|
|
8
8
|
import { tn as contentPreviewUrlBody } from "../../../../../../redirects-BO0fI750.mjs";
|
|
9
9
|
import "../../../../../../import-BO_gy5vZ.mjs";
|
|
10
10
|
import "../../../../../../api/schemas/index.mjs";
|
|
11
|
-
import { i as getPreviewUrl } from "../../../../../../preview-
|
|
12
|
-
import "../../../../../../tokens-
|
|
13
|
-
import { i as resolveSecretsCached } from "../../../../../../secrets-
|
|
14
|
-
import { n as requirePerm } from "../../../../../../authorize-
|
|
11
|
+
import { i as getPreviewUrl } from "../../../../../../preview-B-MTC5mp.mjs";
|
|
12
|
+
import "../../../../../../tokens-BMTKHT6X.mjs";
|
|
13
|
+
import { i as resolveSecretsCached } from "../../../../../../secrets-DfeNNoLa.mjs";
|
|
14
|
+
import { n as requirePerm } from "../../../../../../authorize-BgIG3yfN.mjs";
|
|
15
15
|
|
|
16
16
|
//#region src/astro/routes/api/content/[collection]/[id]/preview-url.ts
|
|
17
17
|
const prerender = false;
|
|
@@ -22,11 +22,11 @@ import { r as parseOptionalBody, t as isParseError } from "../../../../../../par
|
|
|
22
22
|
import { nn as contentPublishBody } from "../../../../../../redirects-BO0fI750.mjs";
|
|
23
23
|
import "../../../../../../import-BO_gy5vZ.mjs";
|
|
24
24
|
import "../../../../../../api/schemas/index.mjs";
|
|
25
|
-
import "../../../../../../utils-
|
|
26
|
-
import "../../../../../../search-
|
|
27
|
-
import { t as requireOwnerPerm } from "../../../../../../authorize-
|
|
28
|
-
import { _ as RiskPolicyEvaluator } from "../../../../../../site-context-
|
|
29
|
-
import { T as resolveActorIdentity, a as extractActivityItemId, n as contentApiRouteSource, o as logContentActivity } from "../../../../../../activity-events-
|
|
25
|
+
import "../../../../../../utils-BftjFpR0.mjs";
|
|
26
|
+
import "../../../../../../search-DjaP_Dw-.mjs";
|
|
27
|
+
import { t as requireOwnerPerm } from "../../../../../../authorize-BgIG3yfN.mjs";
|
|
28
|
+
import { _ as RiskPolicyEvaluator } from "../../../../../../site-context-CDnyARws.mjs";
|
|
29
|
+
import { T as resolveActorIdentity, a as extractActivityItemId, n as contentApiRouteSource, o as logContentActivity } from "../../../../../../activity-events-CjOgr0Uv.mjs";
|
|
30
30
|
import { hasPermission } from "@dineway-ai/auth";
|
|
31
31
|
|
|
32
32
|
//#region src/astro/routes/api/content/[collection]/[id]/publish.ts
|
|
@@ -2,8 +2,8 @@ import "../../../../../../base64-C1Q9yr0B.mjs";
|
|
|
2
2
|
import "../../../../../../types-D1DjBFA9.mjs";
|
|
3
3
|
import "../../../../../../site-activity-lsCX_cqp.mjs";
|
|
4
4
|
import { a as unwrapResult, o as mapErrorStatus, t as apiError } from "../../../../../../error-Dyf9fGZE.mjs";
|
|
5
|
-
import { t as requireOwnerPerm } from "../../../../../../authorize-
|
|
6
|
-
import { n as contentApiRouteSource, o as logContentActivity } from "../../../../../../activity-events-
|
|
5
|
+
import { t as requireOwnerPerm } from "../../../../../../authorize-BgIG3yfN.mjs";
|
|
6
|
+
import { n as contentApiRouteSource, o as logContentActivity } from "../../../../../../activity-events-CjOgr0Uv.mjs";
|
|
7
7
|
|
|
8
8
|
//#region src/astro/routes/api/content/[collection]/[id]/restore.ts
|
|
9
9
|
const prerender = false;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { a as unwrapResult, t as apiError } from "../../../../../../error-Dyf9fGZE.mjs";
|
|
2
|
-
import { n as requirePerm } from "../../../../../../authorize-
|
|
2
|
+
import { n as requirePerm } from "../../../../../../authorize-BgIG3yfN.mjs";
|
|
3
3
|
|
|
4
4
|
//#region src/astro/routes/api/content/[collection]/[id]/revisions.ts
|
|
5
5
|
const prerender = false;
|
|
@@ -7,8 +7,8 @@ import { n as parseBody, t as isParseError } from "../../../../../../parse-BBfZR
|
|
|
7
7
|
import { in as contentScheduleBody } from "../../../../../../redirects-BO0fI750.mjs";
|
|
8
8
|
import "../../../../../../import-BO_gy5vZ.mjs";
|
|
9
9
|
import "../../../../../../api/schemas/index.mjs";
|
|
10
|
-
import { t as requireOwnerPerm } from "../../../../../../authorize-
|
|
11
|
-
import { a as extractActivityItemId, n as contentApiRouteSource, o as logContentActivity } from "../../../../../../activity-events-
|
|
10
|
+
import { t as requireOwnerPerm } from "../../../../../../authorize-BgIG3yfN.mjs";
|
|
11
|
+
import { a as extractActivityItemId, n as contentApiRouteSource, o as logContentActivity } from "../../../../../../activity-events-CjOgr0Uv.mjs";
|
|
12
12
|
|
|
13
13
|
//#region src/astro/routes/api/content/[collection]/[id]/schedule.ts
|
|
14
14
|
const prerender = false;
|
|
@@ -5,13 +5,13 @@ import { t as TaxonomyRepository } from "../../../../../../../taxonomy-DpXdVSSR.
|
|
|
5
5
|
import "../../../../../../../request-cache-BzuhyUXj.mjs";
|
|
6
6
|
import "../../../../../../../context-types-BWspNMDr.mjs";
|
|
7
7
|
import "../../../../../../../loader-dt5DoyI1.mjs";
|
|
8
|
-
import { c as invalidateTermCache } from "../../../../../../../taxonomies-
|
|
8
|
+
import { c as invalidateTermCache } from "../../../../../../../taxonomies-DVXCWoUF.mjs";
|
|
9
9
|
import { i as requireDb, n as apiSuccess, r as handleError, t as apiError } from "../../../../../../../error-Dyf9fGZE.mjs";
|
|
10
10
|
import { n as parseBody, t as isParseError } from "../../../../../../../parse-BBfZRZYb.mjs";
|
|
11
11
|
import { sn as contentTermsBody } from "../../../../../../../redirects-BO0fI750.mjs";
|
|
12
12
|
import "../../../../../../../import-BO_gy5vZ.mjs";
|
|
13
13
|
import "../../../../../../../api/schemas/index.mjs";
|
|
14
|
-
import { n as requirePerm, t as requireOwnerPerm } from "../../../../../../../authorize-
|
|
14
|
+
import { n as requirePerm, t as requireOwnerPerm } from "../../../../../../../authorize-BgIG3yfN.mjs";
|
|
15
15
|
|
|
16
16
|
//#region src/astro/routes/api/content/[collection]/[id]/terms/[taxonomy].ts
|
|
17
17
|
const prerender = false;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { a as unwrapResult, t as apiError } from "../../../../../../error-Dyf9fGZE.mjs";
|
|
2
|
-
import { n as requirePerm } from "../../../../../../authorize-
|
|
2
|
+
import { n as requirePerm } from "../../../../../../authorize-BgIG3yfN.mjs";
|
|
3
3
|
import { hasPermission } from "@dineway-ai/auth";
|
|
4
4
|
|
|
5
5
|
//#region src/astro/routes/api/content/[collection]/[id]/translations.ts
|
|
@@ -2,8 +2,8 @@ import "../../../../../../base64-C1Q9yr0B.mjs";
|
|
|
2
2
|
import "../../../../../../types-D1DjBFA9.mjs";
|
|
3
3
|
import "../../../../../../site-activity-lsCX_cqp.mjs";
|
|
4
4
|
import { a as unwrapResult, o as mapErrorStatus, t as apiError } from "../../../../../../error-Dyf9fGZE.mjs";
|
|
5
|
-
import { t as requireOwnerPerm } from "../../../../../../authorize-
|
|
6
|
-
import { a as extractActivityItemId, n as contentApiRouteSource, o as logContentActivity } from "../../../../../../activity-events-
|
|
5
|
+
import { t as requireOwnerPerm } from "../../../../../../authorize-BgIG3yfN.mjs";
|
|
6
|
+
import { a as extractActivityItemId, n as contentApiRouteSource, o as logContentActivity } from "../../../../../../activity-events-CjOgr0Uv.mjs";
|
|
7
7
|
|
|
8
8
|
//#region src/astro/routes/api/content/[collection]/[id]/unpublish.ts
|
|
9
9
|
const prerender = false;
|
|
@@ -7,8 +7,8 @@ import { n as parseBody, t as isParseError } from "../../../../../parse-BBfZRZYb
|
|
|
7
7
|
import { dn as contentUpdateBody } from "../../../../../redirects-BO0fI750.mjs";
|
|
8
8
|
import "../../../../../import-BO_gy5vZ.mjs";
|
|
9
9
|
import "../../../../../api/schemas/index.mjs";
|
|
10
|
-
import { n as requirePerm, t as requireOwnerPerm } from "../../../../../authorize-
|
|
11
|
-
import { a as extractActivityItemId, n as contentApiRouteSource, o as logContentActivity, t as activityChangedKeys } from "../../../../../activity-events-
|
|
10
|
+
import { n as requirePerm, t as requireOwnerPerm } from "../../../../../authorize-BgIG3yfN.mjs";
|
|
11
|
+
import { a as extractActivityItemId, n as contentApiRouteSource, o as logContentActivity, t as activityChangedKeys } from "../../../../../activity-events-CjOgr0Uv.mjs";
|
|
12
12
|
import { hasPermission } from "@dineway-ai/auth";
|
|
13
13
|
|
|
14
14
|
//#region src/astro/routes/api/content/[collection]/[id].ts
|
|
@@ -7,8 +7,8 @@ import { i as parseQuery, n as parseBody, t as isParseError } from "../../../../
|
|
|
7
7
|
import { $t as contentListQuery, Zt as contentCreateBody } from "../../../../../redirects-BO0fI750.mjs";
|
|
8
8
|
import "../../../../../import-BO_gy5vZ.mjs";
|
|
9
9
|
import "../../../../../api/schemas/index.mjs";
|
|
10
|
-
import { n as requirePerm, t as requireOwnerPerm } from "../../../../../authorize-
|
|
11
|
-
import { a as extractActivityItemId, n as contentApiRouteSource, o as logContentActivity } from "../../../../../activity-events-
|
|
10
|
+
import { n as requirePerm, t as requireOwnerPerm } from "../../../../../authorize-BgIG3yfN.mjs";
|
|
11
|
+
import { a as extractActivityItemId, n as contentApiRouteSource, o as logContentActivity } from "../../../../../activity-events-CjOgr0Uv.mjs";
|
|
12
12
|
import { hasPermission } from "@dineway-ai/auth";
|
|
13
13
|
|
|
14
14
|
//#region src/astro/routes/api/content/[collection]/index.ts
|
|
@@ -4,7 +4,7 @@ import { i as parseQuery, t as isParseError } from "../../../../../parse-BBfZRZY
|
|
|
4
4
|
import { un as contentTrashQuery } from "../../../../../redirects-BO0fI750.mjs";
|
|
5
5
|
import "../../../../../import-BO_gy5vZ.mjs";
|
|
6
6
|
import "../../../../../api/schemas/index.mjs";
|
|
7
|
-
import { n as requirePerm } from "../../../../../authorize-
|
|
7
|
+
import { n as requirePerm } from "../../../../../authorize-BgIG3yfN.mjs";
|
|
8
8
|
|
|
9
9
|
//#region src/astro/routes/api/content/[collection]/trash.ts
|
|
10
10
|
const prerender = false;
|
|
@@ -6,7 +6,7 @@ import "../../../user-2aI21yV1.mjs";
|
|
|
6
6
|
import "../../../review-requests-BYuoyse0.mjs";
|
|
7
7
|
import { t as handleDashboardStats } from "../../../dashboard-DdqRifyu.mjs";
|
|
8
8
|
import { a as unwrapResult, r as handleError, t as apiError } from "../../../error-Dyf9fGZE.mjs";
|
|
9
|
-
import { n as requirePerm } from "../../../authorize-
|
|
9
|
+
import { n as requirePerm } from "../../../authorize-BgIG3yfN.mjs";
|
|
10
10
|
|
|
11
11
|
//#region src/astro/routes/api/dashboard.ts
|
|
12
12
|
const prerender = false;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import "../../../../types-
|
|
2
|
-
import "../../../../index-
|
|
3
|
-
import { g as ProbeResult } from "../../../../types-
|
|
1
|
+
import "../../../../types-DwIXYH8s.mjs";
|
|
2
|
+
import "../../../../index-DUurmpun.mjs";
|
|
3
|
+
import { g as ProbeResult } from "../../../../types-DbtpYtHx.mjs";
|
|
4
4
|
import { APIRoute } from "astro";
|
|
5
5
|
|
|
6
6
|
//#region src/astro/routes/api/import/probe.d.ts
|
|
@@ -5,10 +5,11 @@ import { n as parseBody, t as isParseError } from "../../../../parse-BBfZRZYb.mj
|
|
|
5
5
|
import "../../../../redirects-BO0fI750.mjs";
|
|
6
6
|
import { t as importProbeBody } from "../../../../import-BO_gy5vZ.mjs";
|
|
7
7
|
import "../../../../api/schemas/index.mjs";
|
|
8
|
-
import
|
|
8
|
+
import "../../../../parser-wEX7xttr.mjs";
|
|
9
9
|
import { t as SsrfError } from "../../../../ssrf-z3oH8wjK.mjs";
|
|
10
|
-
import "../../../../
|
|
11
|
-
import
|
|
10
|
+
import { l as probeUrl } from "../../../../import-CzZYGhnG.mjs";
|
|
11
|
+
import "../../../../utils-BftjFpR0.mjs";
|
|
12
|
+
import { n as requirePerm } from "../../../../authorize-BgIG3yfN.mjs";
|
|
12
13
|
|
|
13
14
|
//#region src/astro/routes/api/import/probe.ts
|
|
14
15
|
const prerender = false;
|
|
@@ -1,8 +1,11 @@
|
|
|
1
|
+
import "../../../../../dialect-helpers-TkdbkFad.mjs";
|
|
2
|
+
import "../../../../../fts-manager-DYRy6HVi.mjs";
|
|
3
|
+
import { n as SchemaRegistry } from "../../../../../registry-CYO6XQ-4.mjs";
|
|
1
4
|
import { n as apiSuccess, r as handleError, t as apiError } from "../../../../../error-Dyf9fGZE.mjs";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
5
|
+
import { n as parseWxrString } from "../../../../../parser-wEX7xttr.mjs";
|
|
6
|
+
import { t as sanitizeWordPressImportSlug } from "../../../../../wordpress-slugs-BzMv9U-N.mjs";
|
|
7
|
+
import { n as requirePerm } from "../../../../../authorize-BgIG3yfN.mjs";
|
|
4
8
|
import mime from "mime/lite";
|
|
5
|
-
import { SchemaRegistry, parseWxrString } from "dineway";
|
|
6
9
|
|
|
7
10
|
//#region src/astro/routes/api/import/wordpress/analyze.ts
|
|
8
11
|
const prerender = false;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "../../../../../dialect-helpers-TkdbkFad.mjs";
|
|
2
2
|
import { n as slugify } from "../../../../../slugify-BzGxlOFx.mjs";
|
|
3
|
-
import "../../../../../content-DvpMad_N.mjs";
|
|
3
|
+
import { t as ContentRepository } from "../../../../../content-DvpMad_N.mjs";
|
|
4
4
|
import "../../../../../base64-C1Q9yr0B.mjs";
|
|
5
5
|
import "../../../../../types-D1DjBFA9.mjs";
|
|
6
6
|
import "../../../../../media-Cg4zc9fq.mjs";
|
|
@@ -20,15 +20,17 @@ import "../../../../../query-CH1GaJmt.mjs";
|
|
|
20
20
|
import "../../../../../zod-generator-vOxhed6n.mjs";
|
|
21
21
|
import "../../../../../schema-mjeMcn_6.mjs";
|
|
22
22
|
import { n as apiSuccess, r as handleError, t as apiError } from "../../../../../error-Dyf9fGZE.mjs";
|
|
23
|
-
import {
|
|
24
|
-
import
|
|
25
|
-
import "../../../../../
|
|
26
|
-
import {
|
|
27
|
-
import {
|
|
28
|
-
import "../../../../../
|
|
29
|
-
import {
|
|
23
|
+
import { n as parseWxrString } from "../../../../../parser-wEX7xttr.mjs";
|
|
24
|
+
import "../../../../../ssrf-z3oH8wjK.mjs";
|
|
25
|
+
import { d as importReusableBlocksAsSections, n as parseWxrDate } from "../../../../../import-CzZYGhnG.mjs";
|
|
26
|
+
import { m as resolveImportByline } from "../../../../../utils-BftjFpR0.mjs";
|
|
27
|
+
import { t as sanitizeWordPressImportSlug } from "../../../../../wordpress-slugs-BzMv9U-N.mjs";
|
|
28
|
+
import "../../../../../search-DjaP_Dw-.mjs";
|
|
29
|
+
import { n as requirePerm } from "../../../../../authorize-BgIG3yfN.mjs";
|
|
30
|
+
import { _ as RiskPolicyEvaluator, p as WordPressImportHitlPayloadBuilder } from "../../../../../site-context-CDnyARws.mjs";
|
|
31
|
+
import "../../../../../activity-events-CjOgr0Uv.mjs";
|
|
32
|
+
import { i as resolveHitlRouteActor, n as hitlRequiredRouteError, t as ensureWorkflowHitlRouteRequest } from "../../../../../hitl-route-helpers-SRAfZqf9.mjs";
|
|
30
33
|
import { gutenbergToPortableText } from "@dineway-ai/gutenberg-to-portable-text";
|
|
31
|
-
import { ContentRepository, importReusableBlocksAsSections, parseWxrDate, parseWxrString } from "dineway";
|
|
32
34
|
|
|
33
35
|
//#region src/astro/routes/api/import/wordpress/execute.ts
|
|
34
36
|
/**
|
|
@@ -1,15 +1,18 @@
|
|
|
1
|
+
import "../../../../../base64-C1Q9yr0B.mjs";
|
|
2
|
+
import "../../../../../types-D1DjBFA9.mjs";
|
|
3
|
+
import { t as MediaRepository } from "../../../../../media-Cg4zc9fq.mjs";
|
|
1
4
|
import "../../../../../context-types-BWspNMDr.mjs";
|
|
5
|
+
import { t as computeContentHash } from "../../../../../hash-DHSsP6_G.mjs";
|
|
2
6
|
import { n as apiSuccess, r as handleError, t as apiError } from "../../../../../error-Dyf9fGZE.mjs";
|
|
3
7
|
import { n as parseBody, t as isParseError } from "../../../../../parse-BBfZRZYb.mjs";
|
|
4
8
|
import "../../../../../redirects-BO0fI750.mjs";
|
|
5
9
|
import { n as wpMediaImportBody } from "../../../../../import-BO_gy5vZ.mjs";
|
|
6
10
|
import "../../../../../api/schemas/index.mjs";
|
|
7
11
|
import { a as validateExternalUrl, r as ssrfSafeFetch, t as SsrfError } from "../../../../../ssrf-z3oH8wjK.mjs";
|
|
8
|
-
import { n as requirePerm } from "../../../../../authorize-
|
|
12
|
+
import { n as requirePerm } from "../../../../../authorize-BgIG3yfN.mjs";
|
|
9
13
|
import { ulid } from "ulidx";
|
|
10
14
|
import * as path from "node:path";
|
|
11
15
|
import mime from "mime/lite";
|
|
12
|
-
import { MediaRepository, computeContentHash } from "dineway";
|
|
13
16
|
|
|
14
17
|
//#region src/astro/routes/api/import/wordpress/media.ts
|
|
15
18
|
/**
|
|
@@ -23,13 +23,14 @@ import { n as parseBody, t as isParseError } from "../../../../../parse-BBfZRZYb
|
|
|
23
23
|
import "../../../../../redirects-BO0fI750.mjs";
|
|
24
24
|
import { a as wpPrepareBody } from "../../../../../import-BO_gy5vZ.mjs";
|
|
25
25
|
import "../../../../../api/schemas/index.mjs";
|
|
26
|
-
import "../../../../../
|
|
27
|
-
import
|
|
28
|
-
import "../../../../../
|
|
29
|
-
import
|
|
30
|
-
import {
|
|
31
|
-
import "../../../../../
|
|
32
|
-
import
|
|
26
|
+
import "../../../../../parser-wEX7xttr.mjs";
|
|
27
|
+
import "../../../../../utils-BftjFpR0.mjs";
|
|
28
|
+
import { t as sanitizeWordPressImportSlug } from "../../../../../wordpress-slugs-BzMv9U-N.mjs";
|
|
29
|
+
import "../../../../../search-DjaP_Dw-.mjs";
|
|
30
|
+
import { n as requirePerm } from "../../../../../authorize-BgIG3yfN.mjs";
|
|
31
|
+
import { _ as RiskPolicyEvaluator, p as WordPressImportHitlPayloadBuilder } from "../../../../../site-context-CDnyARws.mjs";
|
|
32
|
+
import "../../../../../activity-events-CjOgr0Uv.mjs";
|
|
33
|
+
import { i as resolveHitlRouteActor, n as hitlRequiredRouteError, t as ensureWorkflowHitlRouteRequest } from "../../../../../hitl-route-helpers-SRAfZqf9.mjs";
|
|
33
34
|
import { capitalize, singularize } from "./analyze.mjs";
|
|
34
35
|
import { z } from "zod";
|
|
35
36
|
|
|
@@ -24,12 +24,12 @@ import { n as parseBody, t as isParseError } from "../../../../../parse-BBfZRZYb
|
|
|
24
24
|
import "../../../../../redirects-BO0fI750.mjs";
|
|
25
25
|
import { o as wpRewriteUrlsBody } from "../../../../../import-BO_gy5vZ.mjs";
|
|
26
26
|
import "../../../../../api/schemas/index.mjs";
|
|
27
|
-
import "../../../../../utils-
|
|
28
|
-
import "../../../../../search-
|
|
29
|
-
import { n as requirePerm } from "../../../../../authorize-
|
|
30
|
-
import { _ as RiskPolicyEvaluator, p as WordPressImportHitlPayloadBuilder } from "../../../../../site-context-
|
|
31
|
-
import "../../../../../activity-events-
|
|
32
|
-
import { i as resolveHitlRouteActor, n as hitlRequiredRouteError, t as ensureWorkflowHitlRouteRequest } from "../../../../../hitl-route-helpers-
|
|
27
|
+
import "../../../../../utils-BftjFpR0.mjs";
|
|
28
|
+
import "../../../../../search-DjaP_Dw-.mjs";
|
|
29
|
+
import { n as requirePerm } from "../../../../../authorize-BgIG3yfN.mjs";
|
|
30
|
+
import { _ as RiskPolicyEvaluator, p as WordPressImportHitlPayloadBuilder } from "../../../../../site-context-CDnyARws.mjs";
|
|
31
|
+
import "../../../../../activity-events-CjOgr0Uv.mjs";
|
|
32
|
+
import { i as resolveHitlRouteActor, n as hitlRequiredRouteError, t as ensureWorkflowHitlRouteRequest } from "../../../../../hitl-route-helpers-SRAfZqf9.mjs";
|
|
33
33
|
import { buildBaseUrlMap, findMatchingUrl, rewritePortableTextUrls, rewriteStringUrls } from "./rewrite-url-helpers.mjs";
|
|
34
34
|
import { sql } from "kysely";
|
|
35
35
|
import { z } from "zod";
|