dineway 0.1.11 → 0.1.12
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-DG86sH8U.mjs → allowed-origins-C1AKK9AT.mjs} +1 -1
- package/dist/api/route-utils.d.mts +10 -9
- package/dist/api/route-utils.mjs +7 -7
- package/dist/api/schemas/index.d.mts +1 -1
- package/dist/api/schemas/index.mjs +2 -2
- package/dist/{api-Cmy8Rjk5.mjs → api-BR7Y0GBo.mjs} +4 -4
- package/dist/{api-tokens-Bu3ez1MO.mjs → api-tokens-D7UjLbdt.mjs} +1 -1
- package/dist/{apply-Co5imxxT.mjs → apply-Bm5QgdrE.mjs} +5 -5
- package/dist/astro/index.d.mts +11 -10
- package/dist/astro/index.mjs +3 -3
- package/dist/astro/middleware/auth.d.mts +10 -9
- package/dist/astro/middleware/auth.mjs +5 -5
- package/dist/astro/middleware/request-context.mjs +2 -2
- package/dist/astro/middleware/setup.mjs +1 -1
- package/dist/astro/middleware.mjs +42 -40
- package/dist/astro/routes/api/admin/allowed-domains/_domain_.mjs +4 -4
- package/dist/astro/routes/api/admin/allowed-domains/index.mjs +4 -4
- package/dist/astro/routes/api/admin/api-tokens/_id_.mjs +4 -4
- package/dist/astro/routes/api/admin/api-tokens/index.mjs +6 -6
- package/dist/astro/routes/api/admin/briefing.mjs +7 -7
- package/dist/astro/routes/api/admin/bylines/_id_/index.mjs +6 -6
- package/dist/astro/routes/api/admin/bylines/index.mjs +6 -6
- package/dist/astro/routes/api/admin/comments/_id_/status.mjs +8 -8
- package/dist/astro/routes/api/admin/comments/_id_.mjs +3 -3
- package/dist/astro/routes/api/admin/comments/bulk.mjs +6 -6
- package/dist/astro/routes/api/admin/comments/counts.mjs +3 -3
- package/dist/astro/routes/api/admin/comments/index.mjs +6 -6
- package/dist/astro/routes/api/admin/context/_id_/history.mjs +11 -10
- package/dist/astro/routes/api/admin/context/_id_/index.mjs +11 -10
- package/dist/astro/routes/api/admin/context/_id_/review.mjs +15 -14
- package/dist/astro/routes/api/admin/context/_id_/supersede.mjs +15 -14
- package/dist/astro/routes/api/admin/context/diff.mjs +14 -13
- package/dist/astro/routes/api/admin/context/index.mjs +15 -14
- package/dist/astro/routes/api/admin/context/stale.mjs +14 -13
- package/dist/astro/routes/api/admin/hitl-requests/_id_/index.mjs +11 -10
- package/dist/astro/routes/api/admin/hitl-requests/_id_/resolve.mjs +14 -13
- package/dist/astro/routes/api/admin/hitl-requests/index.mjs +14 -13
- package/dist/astro/routes/api/admin/hooks/exclusive/_hookName_.mjs +12 -11
- package/dist/astro/routes/api/admin/hooks/exclusive/index.mjs +2 -2
- package/dist/astro/routes/api/admin/oauth-clients/_id_.mjs +6 -6
- package/dist/astro/routes/api/admin/oauth-clients/index.mjs +6 -6
- package/dist/astro/routes/api/admin/plugins/_id_/disable.mjs +24 -23
- package/dist/astro/routes/api/admin/plugins/_id_/enable.mjs +24 -23
- package/dist/astro/routes/api/admin/plugins/_id_/index.mjs +18 -17
- package/dist/astro/routes/api/admin/plugins/_id_/uninstall.mjs +23 -22
- package/dist/astro/routes/api/admin/plugins/_id_/update.mjs +23 -22
- package/dist/astro/routes/api/admin/plugins/index.mjs +18 -17
- package/dist/astro/routes/api/admin/plugins/marketplace/_id_/icon.mjs +2 -2
- package/dist/astro/routes/api/admin/plugins/marketplace/_id_/index.mjs +18 -17
- package/dist/astro/routes/api/admin/plugins/marketplace/_id_/install.mjs +23 -22
- package/dist/astro/routes/api/admin/plugins/marketplace/index.mjs +18 -17
- package/dist/astro/routes/api/admin/plugins/updates.mjs +18 -17
- package/dist/astro/routes/api/admin/review-requests/_id_/index.mjs +2 -2
- package/dist/astro/routes/api/admin/review-requests/_id_/resolve.mjs +13 -12
- package/dist/astro/routes/api/admin/review-requests/index.mjs +5 -5
- package/dist/astro/routes/api/admin/themes/marketplace/_id_/index.mjs +18 -17
- package/dist/astro/routes/api/admin/themes/marketplace/_id_/thumbnail.mjs +2 -2
- package/dist/astro/routes/api/admin/themes/marketplace/index.mjs +18 -17
- package/dist/astro/routes/api/admin/users/_id_/disable.mjs +1 -1
- package/dist/astro/routes/api/admin/users/_id_/enable.mjs +1 -1
- package/dist/astro/routes/api/admin/users/_id_/index.mjs +4 -4
- package/dist/astro/routes/api/admin/users/_id_/send-recovery.mjs +2 -2
- package/dist/astro/routes/api/admin/users/index.mjs +4 -4
- package/dist/astro/routes/api/auth/dev-bypass.mjs +3 -3
- package/dist/astro/routes/api/auth/invite/accept.mjs +1 -1
- package/dist/astro/routes/api/auth/invite/complete.mjs +8 -8
- package/dist/astro/routes/api/auth/invite/index.mjs +5 -5
- package/dist/astro/routes/api/auth/invite/register-options.mjs +7 -7
- package/dist/astro/routes/api/auth/logout.mjs +2 -2
- package/dist/astro/routes/api/auth/magic-link/send.mjs +7 -7
- package/dist/astro/routes/api/auth/magic-link/verify.mjs +2 -2
- package/dist/astro/routes/api/auth/me.mjs +4 -4
- package/dist/astro/routes/api/auth/mode.mjs +1 -1
- package/dist/astro/routes/api/auth/oauth/_provider_/callback.mjs +2 -2
- package/dist/astro/routes/api/auth/oauth/_provider_.mjs +2 -2
- package/dist/astro/routes/api/auth/passkey/_id_.mjs +4 -4
- package/dist/astro/routes/api/auth/passkey/index.mjs +1 -1
- package/dist/astro/routes/api/auth/passkey/options.mjs +9 -9
- package/dist/astro/routes/api/auth/passkey/register/options.mjs +7 -7
- package/dist/astro/routes/api/auth/passkey/register/verify.mjs +8 -8
- package/dist/astro/routes/api/auth/passkey/verify.mjs +8 -8
- package/dist/astro/routes/api/auth/signup/complete.mjs +8 -8
- package/dist/astro/routes/api/auth/signup/request.mjs +7 -7
- package/dist/astro/routes/api/auth/signup/verify.mjs +1 -1
- package/dist/astro/routes/api/comments/_collection_/_contentId_/index.mjs +9 -9
- package/dist/astro/routes/api/content/_collection_/_id_/compare.mjs +2 -2
- package/dist/astro/routes/api/content/_collection_/_id_/discard-draft.mjs +3 -3
- package/dist/astro/routes/api/content/_collection_/_id_/duplicate.mjs +3 -3
- package/dist/astro/routes/api/content/_collection_/_id_/permanent.mjs +3 -3
- package/dist/astro/routes/api/content/_collection_/_id_/preview-url.mjs +8 -8
- package/dist/astro/routes/api/content/_collection_/_id_/publish.mjs +13 -12
- package/dist/astro/routes/api/content/_collection_/_id_/restore.mjs +3 -3
- package/dist/astro/routes/api/content/_collection_/_id_/revisions.mjs +2 -2
- package/dist/astro/routes/api/content/_collection_/_id_/schedule.mjs +6 -6
- package/dist/astro/routes/api/content/_collection_/_id_/terms/_taxonomy_.mjs +6 -6
- package/dist/astro/routes/api/content/_collection_/_id_/translations.mjs +2 -2
- package/dist/astro/routes/api/content/_collection_/_id_/unpublish.mjs +3 -3
- package/dist/astro/routes/api/content/_collection_/_id_.mjs +6 -6
- package/dist/astro/routes/api/content/_collection_/index.mjs +6 -6
- package/dist/astro/routes/api/content/_collection_/trash.mjs +5 -5
- package/dist/astro/routes/api/dashboard.mjs +2 -2
- package/dist/astro/routes/api/dev/emails.mjs +2 -2
- package/dist/astro/routes/api/health.mjs +1 -1
- package/dist/astro/routes/api/import/probe.d.mts +3 -3
- package/dist/astro/routes/api/import/probe.mjs +8 -8
- package/dist/astro/routes/api/import/wordpress/analyze.mjs +3 -3
- package/dist/astro/routes/api/import/wordpress/execute.mjs +12 -11
- package/dist/astro/routes/api/import/wordpress/media.mjs +6 -6
- package/dist/astro/routes/api/import/wordpress/prepare.mjs +15 -14
- package/dist/astro/routes/api/import/wordpress/rewrite-urls.mjs +14 -13
- package/dist/astro/routes/api/import/wordpress-plugin/analyze.d.mts +1 -1
- package/dist/astro/routes/api/import/wordpress-plugin/analyze.mjs +8 -8
- package/dist/astro/routes/api/import/wordpress-plugin/execute.d.mts +1 -1
- package/dist/astro/routes/api/import/wordpress-plugin/execute.mjs +16 -15
- package/dist/astro/routes/api/manifest.mjs +4 -4
- package/dist/astro/routes/api/mcp.mjs +22 -21
- package/dist/astro/routes/api/media/_id_/confirm.mjs +5 -5
- package/dist/astro/routes/api/media/_id_.mjs +5 -5
- package/dist/astro/routes/api/media/file/_...key_.mjs +1 -1
- package/dist/astro/routes/api/media/providers/_providerId_/_itemId_.mjs +2 -2
- package/dist/astro/routes/api/media/providers/_providerId_/index.mjs +2 -2
- package/dist/astro/routes/api/media/providers/index.mjs +2 -2
- package/dist/astro/routes/api/media/upload-url.mjs +5 -5
- package/dist/astro/routes/api/media.mjs +5 -5
- package/dist/astro/routes/api/menus/_name_/items.mjs +15 -14
- package/dist/astro/routes/api/menus/_name_/reorder.mjs +15 -14
- package/dist/astro/routes/api/menus/_name_.mjs +15 -14
- package/dist/astro/routes/api/menus/index.mjs +15 -14
- package/dist/astro/routes/api/oauth/authorize.mjs +7 -7
- package/dist/astro/routes/api/oauth/device/authorize.mjs +6 -6
- package/dist/astro/routes/api/oauth/device/code.mjs +9 -9
- package/dist/astro/routes/api/oauth/device/token.mjs +8 -8
- package/dist/astro/routes/api/oauth/register.mjs +4 -4
- package/dist/astro/routes/api/oauth/token/refresh.mjs +6 -6
- package/dist/astro/routes/api/oauth/token/revoke.mjs +6 -6
- package/dist/astro/routes/api/oauth/token.mjs +6 -6
- package/dist/astro/routes/api/openapi.json.mjs +3 -3
- package/dist/astro/routes/api/plugins/_pluginId_/_...path_.mjs +3 -3
- package/dist/astro/routes/api/redirects/404s/index.mjs +6 -6
- package/dist/astro/routes/api/redirects/404s/summary.mjs +6 -6
- package/dist/astro/routes/api/redirects/_id_.mjs +15 -14
- package/dist/astro/routes/api/redirects/index.mjs +15 -14
- package/dist/astro/routes/api/revisions/_revisionId_/index.mjs +2 -2
- package/dist/astro/routes/api/revisions/_revisionId_/restore.mjs +2 -2
- package/dist/astro/routes/api/schema/collections/_slug_/fields/_fieldSlug_.mjs +19 -18
- package/dist/astro/routes/api/schema/collections/_slug_/fields/index.mjs +19 -18
- package/dist/astro/routes/api/schema/collections/_slug_/fields/reorder.mjs +19 -18
- package/dist/astro/routes/api/schema/collections/_slug_/index.mjs +19 -18
- package/dist/astro/routes/api/schema/collections/index.mjs +19 -18
- package/dist/astro/routes/api/schema/index.mjs +2 -2
- package/dist/astro/routes/api/schema/orphans/_slug_.mjs +18 -17
- package/dist/astro/routes/api/schema/orphans/index.mjs +18 -17
- package/dist/astro/routes/api/search/enable.mjs +6 -6
- package/dist/astro/routes/api/search/index.mjs +5 -5
- package/dist/astro/routes/api/search/rebuild.mjs +6 -6
- package/dist/astro/routes/api/search/stats.mjs +3 -3
- package/dist/astro/routes/api/search/suggest.mjs +5 -5
- package/dist/astro/routes/api/sections/_slug_.mjs +15 -14
- package/dist/astro/routes/api/sections/index.mjs +15 -14
- package/dist/astro/routes/api/settings/email.mjs +3 -3
- package/dist/astro/routes/api/settings.mjs +15 -14
- package/dist/astro/routes/api/setup/admin-verify.mjs +10 -10
- package/dist/astro/routes/api/setup/admin.mjs +8 -8
- package/dist/astro/routes/api/setup/dev-bypass.mjs +11 -11
- package/dist/astro/routes/api/setup/dev-reset.mjs +1 -1
- package/dist/astro/routes/api/setup/index.mjs +11 -11
- package/dist/astro/routes/api/setup/status.mjs +3 -3
- package/dist/astro/routes/api/snapshot.mjs +5 -5
- package/dist/astro/routes/api/taxonomies/_name_/terms/_slug_.mjs +16 -15
- package/dist/astro/routes/api/taxonomies/_name_/terms/index.mjs +16 -15
- package/dist/astro/routes/api/taxonomies/index.mjs +16 -15
- package/dist/astro/routes/api/themes/preview.mjs +4 -4
- package/dist/astro/routes/api/typegen.mjs +1 -1
- 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 +14 -13
- package/dist/astro/routes/api/widget-areas/_name_/widgets/_id_.mjs +15 -14
- package/dist/astro/routes/api/widget-areas/_name_/widgets.mjs +15 -14
- package/dist/astro/routes/api/widget-areas/_name_.mjs +13 -12
- package/dist/astro/routes/api/widget-areas/index.mjs +15 -14
- package/dist/astro/routes/api/widget-components.mjs +2 -2
- package/dist/astro/routes/robots.txt.mjs +2 -2
- package/dist/astro/routes/sitemap-_collection_.xml.mjs +2 -2
- package/dist/astro/routes/sitemap.xml.mjs +3 -3
- package/dist/astro/types.d.mts +13 -12
- package/dist/auth/providers/github.d.mts +1 -1
- package/dist/auth/providers/google.d.mts +1 -1
- package/dist/{auth-control-guard-DKUe_1oa.mjs → auth-control-guard-DOZ3UCsP.mjs} +1 -1
- package/dist/{authorize-BBj8C6Y8.mjs → authorize-BAdbMCwC.mjs} +1 -1
- package/dist/{briefing-BrXCuMEE.mjs → briefing-MVYe_Uyf.mjs} +1 -1
- package/dist/{briefing-ClWw4mc9.mjs → briefing-rty4O-wa.mjs} +1 -1
- package/dist/{bylines-BcOPh6Ej.mjs → bylines-C4LIBOOO.mjs} +1 -1
- package/dist/{bylines-HfUKum_j.d.mts → bylines-eVVCuOe4.d.mts} +6 -6
- package/dist/cli/index.mjs +7 -7
- 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-nxMyOe3p.mjs → context-CNIkMzot.mjs} +2 -2
- package/dist/{context-bE5Kyvcj.mjs → context-DNfcm853.mjs} +2 -2
- package/dist/{context-route-helpers-D-6uCQ0S.mjs → context-route-helpers-MurhoxWF.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-7AhWNwCK.mjs → device-flow-BGEH5jfn.mjs} +4 -4
- package/dist/{hitl-requests-Bx3Bkk9l.mjs → hitl-requests-ChT32Ilo.mjs} +2 -2
- package/dist/{hitl-route-helpers-DMmJRS7B.mjs → hitl-route-helpers-CSit54Ru.mjs} +4 -4
- package/dist/{import-DVZcYlDp.mjs → import-BHRLhXAn.mjs} +2 -2
- package/dist/{import-DD3f2jkc.mjs → import-CNcKWTbp.mjs} +1 -1
- package/dist/{index-CkljPf5F.d.mts → index-CYfhYgXd.d.mts} +2 -2
- package/dist/index-EUAWaIxW.d.mts +835 -0
- package/dist/index.d.mts +16 -14
- package/dist/index.mjs +35 -32
- package/dist/jsonld-D2gUY4kA.d.mts +141 -0
- package/dist/media/index.d.mts +2 -1
- package/dist/media/local-runtime.d.mts +12 -11
- package/dist/menus-DYW_UHjv.mjs +256 -0
- package/dist/{oauth-authorization-C1qiw4hd.mjs → oauth-authorization-DxGjiWKL.mjs} +4 -4
- package/dist/{oauth-clients-CvWatf5p.mjs → oauth-clients-DxO_NO7k.mjs} +2 -2
- package/dist/page/index.d.mts +2 -139
- package/dist/page/index.mjs +1 -427
- package/dist/{parse-BeQXIt1U.mjs → parse-C9106ehs.mjs} +1 -1
- package/dist/placeholder-Bh1dfUOd.d.mts +40 -0
- package/dist/plugins/adapt-sandbox-entry.d.mts +10 -9
- package/dist/plugins/adapt-sandbox-entry.mjs +1 -1
- package/dist/{menus-CrzHokKj.mjs → plugins-D7-ILNib.mjs} +4 -257
- package/dist/{preview-C_4DyVox.mjs → preview-DvYRU-Oy.mjs} +2 -2
- package/dist/provider-loader-BiQ6lNmf.d.mts +20 -0
- package/dist/provider-loader-C21b9OpH.mjs +36 -0
- package/dist/{query-RiobVwB5.mjs → query-B9BO5goQ.mjs} +3 -3
- package/dist/{schema-BNpI53of.mjs → query-CsbOywSY.mjs} +1 -6
- package/dist/{rate-limit-CbJoj_fT.mjs → rate-limit-DmVTHI5v.mjs} +2 -2
- package/dist/{redirects-CqaxraTO.mjs → redirects-lrlmYXVE.mjs} +2 -49
- package/dist/{request-meta-Bd0mQfiS.mjs → request-meta-DixlNKKa.mjs} +1 -1
- package/dist/{runner-9eIQXuc2.d.mts → runner-BU6Lo1ZS.d.mts} +1 -1
- package/dist/{runtime-C4-7y7xK.d.mts → runtime-Db4LbNVZ.d.mts} +104 -932
- package/dist/runtime.d.mts +11 -28
- package/dist/runtime.mjs +1 -35
- package/dist/schema-BECjUhP8.mjs +8 -0
- package/dist/seed/index.d.mts +2 -2
- package/dist/seed/index.mjs +6 -6
- package/dist/seo/index.d.mts +1 -1
- package/dist/seo-contributions-B1fWCnqY.mjs +429 -0
- package/dist/{service-CSfcQguB.mjs → service-CyOsm0R6.mjs} +1 -1
- package/dist/{settings-4XnpVMOS.mjs → settings-DGtLLSaz.mjs} +15 -1
- package/dist/{settings-Bw93cLfe.mjs → settings-Dzgswvg4.mjs} +1 -1
- package/dist/{site-context-Bpu_Paur.mjs → site-context-WBxoD99D.mjs} +6 -6
- package/dist/storage/local.d.mts +1 -1
- package/dist/storage/local.mjs +1 -1
- package/dist/storage/s3.d.mts +1 -1
- package/dist/storage/s3.mjs +1 -1
- package/dist/{taxonomies-BvBgfzn3.mjs → taxonomies-D2aZGuns.mjs} +2 -2
- package/dist/{taxonomies-CpqGcIJD.mjs → taxonomies-z6Lz91BC.mjs} +1 -1
- package/dist/{placeholder-CHkLckzK.d.mts → types-OPs5Q_sX.d.mts} +1 -38
- package/dist/{types-DgfUZqcd.d.mts → types-Q616b2Hn.d.mts} +1 -1
- package/dist/ui/client-runtime.d.mts +12 -0
- package/dist/ui/client-runtime.mjs +32 -0
- package/dist/ui/server-runtime.d.mts +33 -0
- package/dist/ui/server-runtime.mjs +80 -0
- package/dist/url-DNjT2abR.mjs +49 -0
- package/dist/{validate-JCZihRIa.d.mts → validate-BwmQEbu8.d.mts} +3 -3
- package/dist/version-D3vDb22n.mjs +6 -0
- package/dist/{widgets-B7Q_7bxN.mjs → widgets-B7DRpZvy.mjs} +1 -1
- package/package.json +15 -1
- package/src/components/Button.astro +1 -1
- package/src/components/CommentForm.astro +1 -1
- package/src/components/Comments.astro +1 -3
- package/src/components/DinewayBodyEnd.astro +5 -3
- package/src/components/DinewayBodyStart.astro +5 -3
- package/src/components/DinewayHead.astro +9 -7
- package/src/components/DinewayImage.astro +6 -4
- package/src/components/DinewayMedia.astro +7 -4
- package/src/components/Embed.astro +1 -2
- package/src/components/File.astro +1 -1
- package/src/components/Gallery.astro +1 -1
- package/src/components/HtmlBlock.astro +1 -1
- package/src/components/Image.astro +5 -3
- package/src/components/InlinePortableTextEditor.tsx +1 -1
- package/src/components/PortableText.astro +1 -1
- package/src/components/WidgetArea.astro +1 -1
- package/src/components/WidgetRenderer.astro +1 -3
- package/src/components/marks/Link.astro +1 -1
- package/src/components/widgets/Archives.astro +1 -1
- package/src/components/widgets/Categories.astro +1 -1
- package/src/components/widgets/RecentPosts.astro +1 -1
- package/src/components/widgets/Tags.astro +1 -1
- package/dist/version-DH53KCQd.mjs +0 -6
- /package/dist/{activity-events-BsMaXdJa.mjs → activity-events-B4wp7CrU.mjs} +0 -0
- /package/dist/{adapters-BLDldpJg.d.mts → adapters-DuLQZhRY.d.mts} +0 -0
- /package/dist/{api-tokens-DzloJxuh.mjs → api-tokens-CPjC3zf8.mjs} +0 -0
- /package/dist/{challenge-store-DHMgBGOq.mjs → challenge-store-DDTbisbf.mjs} +0 -0
- /package/dist/{comments-Gy3zLBaP.mjs → comments--BsZ9pqA.mjs} +0 -0
- /package/dist/{components-DND2rd3D.mjs → components-BPknylYg.mjs} +0 -0
- /package/dist/{cron-DGzVTtJp.mjs → cron-CKxvBrRT.mjs} +0 -0
- /package/dist/{db-errors-DKUg_NgF.mjs → db-errors-DyZkswzF.mjs} +0 -0
- /package/dist/{default-C3PZN-bz.mjs → default-D4ngTpW8.mjs} +0 -0
- /package/dist/{email-console-CgLVZbcn.mjs → email-console-CuefUXfX.mjs} +0 -0
- /package/dist/{error-DEGjx2Xw.mjs → error-BMUPwxgx.mjs} +0 -0
- /package/dist/{escape-mNZr4t2A.mjs → escape-BRVaw1Ai.mjs} +0 -0
- /package/dist/{experimental-workflows-DldxJlqV.mjs → experimental-workflows-C9X7yblQ.mjs} +0 -0
- /package/dist/{load-D-9NhLmF.mjs → load-B2XtDw__.mjs} +0 -0
- /package/dist/{manifest-schema-DYoCQ5np.mjs → manifest-schema-CgFJAp0H.mjs} +0 -0
- /package/dist/{menus-BacxVCCo.mjs → menus-DS3_5nWY.mjs} +0 -0
- /package/dist/{mode-C80mAZQv.mjs → mode-DUhxwUhv.mjs} +0 -0
- /package/dist/{oauth-state-store-hSdzxsEe.mjs → oauth-state-store-C5UFhzwD.mjs} +0 -0
- /package/dist/{oauth-user-lookup-B4OcmsLV.mjs → oauth-user-lookup-Bi0ek9eM.mjs} +0 -0
- /package/dist/{passkey-config-Daqs5fjq.mjs → passkey-config-BRSZx4pW.mjs} +0 -0
- /package/dist/{public-url-BB_umF5G.mjs → public-url-Cun8N3NU.mjs} +0 -0
- /package/dist/{redirect-ClSmMOtC.mjs → redirect-COZy-3iY.mjs} +0 -0
- /package/dist/{redirects-B69T59hK.mjs → redirects-Cgi_cZfN.mjs} +0 -0
- /package/dist/{search-DM6CVti3.mjs → search-DqTHQqtV.mjs} +0 -0
- /package/dist/{secrets-dI8zzTV7.mjs → secrets-CkoJ9zN0.mjs} +0 -0
- /package/dist/{sections-DZFyAQXd.mjs → sections-B61OxnfB.mjs} +0 -0
- /package/dist/{seo-BBgTCOYU.mjs → seo-C007Luwn.mjs} +0 -0
- /package/dist/{setup-complete-DidsDQ1e.mjs → setup-complete-ChilE-da.mjs} +0 -0
- /package/dist/{setup-nonce-pml1PMKo.mjs → setup-nonce-BpmLXAuu.mjs} +0 -0
- /package/dist/{sidecar-client-vzwV98K4.mjs → sidecar-client-B1C6Cf80.mjs} +0 -0
- /package/dist/{site-url-CYIcO0Tj.mjs → site-url-BP7k7OCe.mjs} +0 -0
- /package/dist/{ssrf-CmM76lLV.mjs → ssrf-DDwRxF6B.mjs} +0 -0
- /package/dist/{tokens-DLTo4dO2.mjs → tokens-BOJw-D9F.mjs} +0 -0
- /package/dist/{transport-6RefuBdV.d.mts → transport-BXe1AM79.d.mts} +0 -0
- /package/dist/{transport-C9e_h-BF.mjs → transport-D3i4yWRE.mjs} +0 -0
- /package/dist/{trusted-proxy-Bi0Cuk5n.mjs → trusted-proxy-BbaZfkT9.mjs} +0 -0
- /package/dist/{types-C982qI5I.d.mts → types-0Vr68fc2.d.mts} +0 -0
- /package/dist/{types-B9qVtiHb.d.mts → types-B7kpsMJ3.d.mts} +0 -0
- /package/dist/{types-D4XVOt01.d.mts → types-BFmjniC2.d.mts} +0 -0
- /package/dist/{types-IPACEM14.d.mts → types-C0mmVRJN.d.mts} +0 -0
- /package/dist/{types-Djdp0cZO.d.mts → types-DJlpx5Ay.d.mts} +0 -0
- /package/dist/{types-Du8jreyC.d.mts → types-DZPw8Rru.d.mts} +0 -0
- /package/dist/{types-B9gKVOHk.mjs → types-fAInWQDO.mjs} +0 -0
- /package/dist/{utils-D2in-zwy.mjs → utils-C0ONdBul.mjs} +0 -0
- /package/dist/{validate-BJgA6TW_.mjs → validate-C7TzfamJ.mjs} +0 -0
- /package/dist/{wordpress-slugs-BevajWrC.mjs → wordpress-slugs-CnporCYH.mjs} +0 -0
|
@@ -1,12 +1,13 @@
|
|
|
1
|
-
import {
|
|
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 "../
|
|
8
|
-
import "../
|
|
9
|
-
import "../
|
|
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-Db4LbNVZ.mjs";
|
|
2
|
+
import { t as Database } from "../types-DZPw8Rru.mjs";
|
|
3
|
+
import { at as StorageCollectionConfig, it as StorageCollection } from "../types-Q616b2Hn.mjs";
|
|
4
|
+
import "../types-BFmjniC2.mjs";
|
|
5
|
+
import "../runner-BU6Lo1ZS.mjs";
|
|
6
|
+
import "../index-EUAWaIxW.mjs";
|
|
7
|
+
import "../index-CYfhYgXd.mjs";
|
|
8
|
+
import "../bylines-eVVCuOe4.mjs";
|
|
9
|
+
import "../types-0Vr68fc2.mjs";
|
|
10
|
+
import "../validate-BwmQEbu8.mjs";
|
|
10
11
|
import { Kysely } from "kysely";
|
|
11
12
|
|
|
12
13
|
//#region src/api/auth-storage.d.ts
|
package/dist/api/route-utils.mjs
CHANGED
|
@@ -5,14 +5,14 @@ import "../types-Bs6lTBBW.mjs";
|
|
|
5
5
|
import "../media-_7Fxdu45.mjs";
|
|
6
6
|
import "../user-CcXq-zoL.mjs";
|
|
7
7
|
import { t as OptionsRepository } from "../options-z8VVg1Ll.mjs";
|
|
8
|
-
import { r as createStorageAccess } from "../context-
|
|
8
|
+
import { r as createStorageAccess } from "../context-CNIkMzot.mjs";
|
|
9
9
|
import "../seo-CUQctrog.mjs";
|
|
10
|
-
import { n as apiSuccess, r as handleError, t as apiError } from "../error-
|
|
11
|
-
import { i as parseQuery, n as parseBody, t as isParseError } from "../parse-
|
|
12
|
-
import "../ssrf-
|
|
13
|
-
import "../cron-
|
|
14
|
-
import { n as getPublicOrigin } from "../public-url-
|
|
15
|
-
import { t as finalizeSetup } from "../setup-complete-
|
|
10
|
+
import { n as apiSuccess, r as handleError, t as apiError } from "../error-BMUPwxgx.mjs";
|
|
11
|
+
import { i as parseQuery, n as parseBody, t as isParseError } from "../parse-C9106ehs.mjs";
|
|
12
|
+
import "../ssrf-DDwRxF6B.mjs";
|
|
13
|
+
import "../cron-CKxvBrRT.mjs";
|
|
14
|
+
import { n as getPublicOrigin } from "../public-url-Cun8N3NU.mjs";
|
|
15
|
+
import { t as finalizeSetup } from "../setup-complete-ChilE-da.mjs";
|
|
16
16
|
|
|
17
17
|
//#region src/api/auth-storage.ts
|
|
18
18
|
/**
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { $ as updateSectionBody, $n as httpUrl, $t as publicCommentSchema, A as userDetailSchema, An as contentCompareResponseSchema, At as passkeyVerifyBody, B as wpRewriteUrlsBody, Bn as contentSeoSchema, Bt as contextEntryListQuery, C as updateWidgetBody, Cn as mediaListQuery, Ct as inviteCreateBody, D as widgetSchema, Dn as mediaUpdateBody, Dt as passkeyRegisterOptionsBody, E as widgetAreaWithWidgetsSchema, En as mediaResponseSchema, Et as passkeyOptionsBody, F as importProbeBody, Fn as contentPreviewUrlBody, Ft as hitlRequestListQuery, G as searchResultSchema, Gn as contentUpdateBody, Gt as commentBulkBody, H as searchQuery, Hn as contentTranslationSchema, Ht as contextEntryStaleQuery, I as wpMediaImportBody, In as contentPublishBody, It as hitlRequestResolveBody, J as siteSettingsSchema, Jn as VALID_ROLE_LEVELS, Jt as commentListQuery, K as searchSuggestQuery, Kn as trashedContentItemSchema, Kt as commentBulkResponseSchema, L as wpPluginAnalyzeBody, Ln as contentResponseSchema, Lt as siteBriefingQuery, M as userSchema, Mn as contentItemSchema, Mt as signupRequestBody, N as userUpdateBody, Nn as contentListQuery, Nt as reviewRequestListQuery, O as allowedDomainCreateBody, On as mediaUploadUrlBody, Ot as passkeyRegisterVerifyBody, P as usersListQuery, Pn as contentListResponseSchema, Pt as reviewRequestResolveBody, Q as sectionsListQuery, Qn as deleteResponseSchema, Qt as publicCommentListResponseSchema, R as wpPluginExecuteBody, Rn as contentScheduleBody, Rt as contextEntryCreateBody, S as reorderWidgetsBody, Sn as mediaItemSchema, St as inviteCompleteBody, T as widgetAreaWithWidgetsAndCountSchema, Tn as mediaProviderListQuery, Tt as magicLinkSendBody, U as searchRebuildBody, Un as contentTranslationsResponseSchema, Ut as contextEntrySupersedeBody, V as searchEnableBody, Vn as contentTermsBody, Vt as contextEntryReviewBody, W as searchResponseSchema, Wn as contentTrashQuery, Wt as adminCommentListResponseSchema, X as sectionListResponseSchema, Xn as countResponseSchema, Xt as commentStatusBody, Y as createSectionBody, Yn as apiErrorSchema, Yt as commentSchema, Z as sectionSchema, Zn as cursorPaginationQuery, Zt as createCommentBody, _ as redirectSchema, _n as DEFAULT_MAX_UPLOAD_SIZE, _t as menuWithItemsSchema, a as bylineUpdateBody, an as createCollectionBody, at as termListResponseSchema, b as createWidgetAreaBody, bn as mediaConfirmResponseSchema, bt as updateMenuItemBody, c as createRedirectBody, cn as fieldReorderBody, ct as termWithCountSchema, d as notFoundListResponseSchema, dn as orphanRegisterBody, dt as createMenuItemBody, en as collectionGetQuery, er as localeCode, et as createTaxonomyDefBody, f as notFoundPruneBody, fn as orphanedTableListResponseSchema, ft as menuItemDeleteQuery, g as redirectListResponseSchema, gn as updateFieldBody, gt as menuSchema, h as notFoundSummarySchema, hn as updateCollectionBody, ht as menuListItemSchema, i as bylineSummarySchema, in as collectionWithFieldsResponseSchema, ir as successEnvelope, it as termGetResponseSchema, j as userListResponseSchema, jn as contentCreateBody, jt as signupCompleteBody, k as allowedDomainUpdateBody, kn as mediaUploadUrlResponseSchema, kt as passkeyRenameBody, l as notFoundEntrySchema, ln as fieldResponseSchema, lt as updateTermBody, m as notFoundSummaryResponseSchema, mn as schemaExportQuery, mt as menuItemUpdateQuery, n as bylineCreditSchema, nn as collectionResponseSchema, nr as roleLevel, nt as taxonomyDefSchema, o as bylinesListQuery, on as createFieldBody, ot as termResponseSchema, p as notFoundSummaryQuery, pn as orphanedTableSchema, pt as menuItemSchema, q as settingsUpdateBody, qn as trashedContentListResponseSchema, qt as commentCountsResponseSchema, r as bylineListResponseSchema, rn as collectionSchema, rr as slugPattern, rt as taxonomyListResponseSchema, s as contentBylineInputSchema, sn as fieldListResponseSchema, st as termSchema, t as bylineCreateBody, tn as collectionListResponseSchema, tr as offsetPaginationQuery, tt as createTermBody, u as notFoundListQuery, un as fieldSchema, ut as createMenuBody, v as redirectsListQuery, vn as formatFileSize, vt as reorderMenuItemsBody, w as widgetAreaSchema, wn as mediaListResponseSchema, wt as inviteRegisterOptionsBody, x as createWidgetBody, xn as mediaExistingResponseSchema, xt as authMeActionBody, y as updateRedirectBody, yn as mediaConfirmBody, yt as updateMenuBody, z as wpPrepareBody, zn as contentSeoInput, zt as contextEntryDiffQuery } from "../../bylines-
|
|
1
|
+
import { $ as updateSectionBody, $n as httpUrl, $t as publicCommentSchema, A as userDetailSchema, An as contentCompareResponseSchema, At as passkeyVerifyBody, B as wpRewriteUrlsBody, Bn as contentSeoSchema, Bt as contextEntryListQuery, C as updateWidgetBody, Cn as mediaListQuery, Ct as inviteCreateBody, D as widgetSchema, Dn as mediaUpdateBody, Dt as passkeyRegisterOptionsBody, E as widgetAreaWithWidgetsSchema, En as mediaResponseSchema, Et as passkeyOptionsBody, F as importProbeBody, Fn as contentPreviewUrlBody, Ft as hitlRequestListQuery, G as searchResultSchema, Gn as contentUpdateBody, Gt as commentBulkBody, H as searchQuery, Hn as contentTranslationSchema, Ht as contextEntryStaleQuery, I as wpMediaImportBody, In as contentPublishBody, It as hitlRequestResolveBody, J as siteSettingsSchema, Jn as VALID_ROLE_LEVELS, Jt as commentListQuery, K as searchSuggestQuery, Kn as trashedContentItemSchema, Kt as commentBulkResponseSchema, L as wpPluginAnalyzeBody, Ln as contentResponseSchema, Lt as siteBriefingQuery, M as userSchema, Mn as contentItemSchema, Mt as signupRequestBody, N as userUpdateBody, Nn as contentListQuery, Nt as reviewRequestListQuery, O as allowedDomainCreateBody, On as mediaUploadUrlBody, Ot as passkeyRegisterVerifyBody, P as usersListQuery, Pn as contentListResponseSchema, Pt as reviewRequestResolveBody, Q as sectionsListQuery, Qn as deleteResponseSchema, Qt as publicCommentListResponseSchema, R as wpPluginExecuteBody, Rn as contentScheduleBody, Rt as contextEntryCreateBody, S as reorderWidgetsBody, Sn as mediaItemSchema, St as inviteCompleteBody, T as widgetAreaWithWidgetsAndCountSchema, Tn as mediaProviderListQuery, Tt as magicLinkSendBody, U as searchRebuildBody, Un as contentTranslationsResponseSchema, Ut as contextEntrySupersedeBody, V as searchEnableBody, Vn as contentTermsBody, Vt as contextEntryReviewBody, W as searchResponseSchema, Wn as contentTrashQuery, Wt as adminCommentListResponseSchema, X as sectionListResponseSchema, Xn as countResponseSchema, Xt as commentStatusBody, Y as createSectionBody, Yn as apiErrorSchema, Yt as commentSchema, Z as sectionSchema, Zn as cursorPaginationQuery, Zt as createCommentBody, _ as redirectSchema, _n as DEFAULT_MAX_UPLOAD_SIZE, _t as menuWithItemsSchema, a as bylineUpdateBody, an as createCollectionBody, at as termListResponseSchema, b as createWidgetAreaBody, bn as mediaConfirmResponseSchema, bt as updateMenuItemBody, c as createRedirectBody, cn as fieldReorderBody, ct as termWithCountSchema, d as notFoundListResponseSchema, dn as orphanRegisterBody, dt as createMenuItemBody, en as collectionGetQuery, er as localeCode, et as createTaxonomyDefBody, f as notFoundPruneBody, fn as orphanedTableListResponseSchema, ft as menuItemDeleteQuery, g as redirectListResponseSchema, gn as updateFieldBody, gt as menuSchema, h as notFoundSummarySchema, hn as updateCollectionBody, ht as menuListItemSchema, i as bylineSummarySchema, in as collectionWithFieldsResponseSchema, ir as successEnvelope, it as termGetResponseSchema, j as userListResponseSchema, jn as contentCreateBody, jt as signupCompleteBody, k as allowedDomainUpdateBody, kn as mediaUploadUrlResponseSchema, kt as passkeyRenameBody, l as notFoundEntrySchema, ln as fieldResponseSchema, lt as updateTermBody, m as notFoundSummaryResponseSchema, mn as schemaExportQuery, mt as menuItemUpdateQuery, n as bylineCreditSchema, nn as collectionResponseSchema, nr as roleLevel, nt as taxonomyDefSchema, o as bylinesListQuery, on as createFieldBody, ot as termResponseSchema, p as notFoundSummaryQuery, pn as orphanedTableSchema, pt as menuItemSchema, q as settingsUpdateBody, qn as trashedContentListResponseSchema, qt as commentCountsResponseSchema, r as bylineListResponseSchema, rn as collectionSchema, rr as slugPattern, rt as taxonomyListResponseSchema, s as contentBylineInputSchema, sn as fieldListResponseSchema, st as termSchema, t as bylineCreateBody, tn as collectionListResponseSchema, tr as offsetPaginationQuery, tt as createTermBody, u as notFoundListQuery, un as fieldSchema, ut as createMenuBody, v as redirectsListQuery, vn as formatFileSize, vt as reorderMenuItemsBody, w as widgetAreaSchema, wn as mediaListResponseSchema, wt as inviteRegisterOptionsBody, x as createWidgetBody, xn as mediaExistingResponseSchema, xt as authMeActionBody, y as updateRedirectBody, yn as mediaConfirmBody, yt as updateMenuBody, z as wpPrepareBody, zn as contentSeoInput, zt as contextEntryDiffQuery } from "../../bylines-eVVCuOe4.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, magicLinkSendBody, mediaConfirmBody, mediaConfirmResponseSchema, mediaExistingResponseSchema, mediaItemSchema, mediaListQuery, mediaListResponseSchema, mediaProviderListQuery, mediaResponseSchema, mediaUpdateBody, mediaUploadUrlBody, mediaUploadUrlResponseSchema, menuItemDeleteQuery, menuItemSchema, menuItemUpdateQuery, menuListItemSchema, menuSchema, 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, taxonomyListResponseSchema, termGetResponseSchema, termListResponseSchema, termResponseSchema, termSchema, 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 };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "../../context-types-C-LwdAxx.mjs";
|
|
2
|
-
import { $ as menuItemDeleteQuery, $t as
|
|
3
|
-
import { C as siteBriefingQuery, D as contextEntryReviewBody, E as contextEntryListQuery, O as contextEntryStaleQuery, S as hitlRequestResolveBody, T as contextEntryDiffQuery, _ as signupCompleteBody, a as wpPrepareBody, b as reviewRequestResolveBody, c as inviteCompleteBody, d as magicLinkSendBody, f as passkeyOptionsBody, g as passkeyVerifyBody, h as passkeyRenameBody, i as wpPluginExecuteBody, k as contextEntrySupersedeBody, l as inviteCreateBody, m as passkeyRegisterVerifyBody, n as wpMediaImportBody, o as wpRewriteUrlsBody, p as passkeyRegisterOptionsBody, r as wpPluginAnalyzeBody, s as authMeActionBody, t as importProbeBody, u as inviteRegisterOptionsBody, v as signupRequestBody, w as contextEntryCreateBody, x as hitlRequestListQuery, y as reviewRequestListQuery } from "../../import-
|
|
2
|
+
import { $ as menuItemDeleteQuery, $t as contentPreviewUrlBody, A as searchRebuildBody, At as orphanedTableListResponseSchema, B as updateSectionBody, Bt as mediaItemSchema, C as userDetailSchema, Cn as deleteResponseSchema, Ct as createCollectionBody, D as usersListQuery, Dn as roleLevel, Dt as fieldResponseSchema, E as userUpdateBody, En as offsetPaginationQuery, Et as fieldReorderBody, F as siteSettingsSchema, Ft as DEFAULT_MAX_UPLOAD_SIZE, G as termGetResponseSchema, Gt as mediaUpdateBody, H as createTermBody, Ht as mediaListResponseSchema, I as createSectionBody, It as formatFileSize, J as termSchema, Jt as contentCompareResponseSchema, K as termListResponseSchema, Kt as mediaUploadUrlBody, L as sectionListResponseSchema, Lt as mediaConfirmBody, M as searchResultSchema, Mt as schemaExportQuery, N as searchSuggestQuery, Nt as updateCollectionBody, O as searchEnableBody, On as slugPattern, Ot as fieldSchema, P as settingsUpdateBody, Pt as updateFieldBody, Q as createMenuItemBody, Qt as contentListResponseSchema, R as sectionSchema, Rt as mediaConfirmResponseSchema, S as allowedDomainUpdateBody, Sn as cursorPaginationQuery, St as collectionWithFieldsResponseSchema, T as userSchema, Tn as localeCode, Tt as fieldListResponseSchema, U as taxonomyDefSchema, Ut as mediaProviderListQuery, V as createTaxonomyDefBody, Vt as mediaListQuery, W as taxonomyListResponseSchema, Wt as mediaResponseSchema, X as updateTermBody, Xt as contentItemSchema, Y as termWithCountSchema, Yt as contentCreateBody, Z as createMenuBody, Zt as contentListQuery, _ as widgetAreaSchema, _n as bylinesListQuery, _t as publicCommentSchema, a as notFoundPruneBody, an as contentTermsBody, at as reorderMenuItemsBody, b as widgetSchema, bn as apiErrorSchema, bt as collectionResponseSchema, c as notFoundSummarySchema, cn as contentTrashQuery, ct as adminCommentListResponseSchema, d as redirectsListQuery, dn as trashedContentListResponseSchema, dt as commentCountsResponseSchema, en as contentPublishBody, et as menuItemSchema, f as updateRedirectBody, fn as bylineCreateBody, ft as commentListQuery, g as updateWidgetBody, gn as bylineUpdateBody, gt as publicCommentListResponseSchema, h as reorderWidgetsBody, hn as bylineSummarySchema, ht as createCommentBody, i as notFoundListResponseSchema, in as contentSeoSchema, it as menuWithItemsSchema, j as searchResponseSchema, jt as orphanedTableSchema, k as searchQuery, kn as successEnvelope, kt as orphanRegisterBody, l as redirectListResponseSchema, ln as contentUpdateBody, lt as commentBulkBody, m as createWidgetBody, mn as bylineListResponseSchema, mt as commentStatusBody, n as notFoundEntrySchema, nn as contentScheduleBody, nt as menuListItemSchema, o as notFoundSummaryQuery, on as contentTranslationSchema, ot as updateMenuBody, p as createWidgetAreaBody, pn as bylineCreditSchema, pt as commentSchema, q as termResponseSchema, qt as mediaUploadUrlResponseSchema, r as notFoundListQuery, rn as contentSeoInput, rt as menuSchema, s as notFoundSummaryResponseSchema, sn as contentTranslationsResponseSchema, st as updateMenuItemBody, t as createRedirectBody, tn as contentResponseSchema, tt as menuItemUpdateQuery, u as redirectSchema, un as trashedContentItemSchema, ut as commentBulkResponseSchema, v as widgetAreaWithWidgetsAndCountSchema, vn as contentBylineInputSchema, vt as collectionGetQuery, w as userListResponseSchema, wn as httpUrl, wt as createFieldBody, x as allowedDomainCreateBody, xn as countResponseSchema, xt as collectionSchema, y as widgetAreaWithWidgetsSchema, yn as VALID_ROLE_LEVELS, yt as collectionListResponseSchema, z as sectionsListQuery, zt as mediaExistingResponseSchema } from "../../redirects-lrlmYXVE.mjs";
|
|
3
|
+
import { C as siteBriefingQuery, D as contextEntryReviewBody, E as contextEntryListQuery, O as contextEntryStaleQuery, S as hitlRequestResolveBody, T as contextEntryDiffQuery, _ as signupCompleteBody, a as wpPrepareBody, b as reviewRequestResolveBody, c as inviteCompleteBody, d as magicLinkSendBody, f as passkeyOptionsBody, g as passkeyVerifyBody, h as passkeyRenameBody, i as wpPluginExecuteBody, k as contextEntrySupersedeBody, l as inviteCreateBody, m as passkeyRegisterVerifyBody, n as wpMediaImportBody, o as wpRewriteUrlsBody, p as passkeyRegisterOptionsBody, r as wpPluginAnalyzeBody, s as authMeActionBody, t as importProbeBody, u as inviteRegisterOptionsBody, v as signupRequestBody, w as contextEntryCreateBody, x as hitlRequestListQuery, y as reviewRequestListQuery } from "../../import-CNcKWTbp.mjs";
|
|
4
4
|
import { atprotoLoginBody, setupAdminBody, setupAdminVerifyBody, setupAtprotoAdminBody, setupBody } from "./setup.mjs";
|
|
5
5
|
|
|
6
6
|
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, magicLinkSendBody, mediaConfirmBody, mediaConfirmResponseSchema, mediaExistingResponseSchema, mediaItemSchema, mediaListQuery, mediaListResponseSchema, mediaProviderListQuery, mediaResponseSchema, mediaUpdateBody, mediaUploadUrlBody, mediaUploadUrlResponseSchema, menuItemDeleteQuery, menuItemSchema, menuItemUpdateQuery, menuListItemSchema, menuSchema, 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, taxonomyListResponseSchema, termGetResponseSchema, termListResponseSchema, termResponseSchema, termSchema, 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 };
|
|
@@ -10,12 +10,12 @@ import { t as BylineRepository } from "./byline-naZxOPSa.mjs";
|
|
|
10
10
|
import { t as SeoRepository } from "./seo-CUQctrog.mjs";
|
|
11
11
|
import { r as isI18nEnabled } from "./config-CAMFxGaV.mjs";
|
|
12
12
|
import { i as invalidateRedirectCache } from "./cache-DEbQ13c9.mjs";
|
|
13
|
-
import { u as PluginStateRepository } from "./briefing-
|
|
13
|
+
import { u as PluginStateRepository } from "./briefing-MVYe_Uyf.mjs";
|
|
14
14
|
import { n as SchemaRegistry, t as SchemaError } from "./registry-C-_hxLqa.mjs";
|
|
15
15
|
import { n as hashString } from "./hash-CDX7M0ze.mjs";
|
|
16
|
-
import { n as VERSION, t as COMMIT } from "./version-
|
|
17
|
-
import { i as pluginManifestSchema, r as normalizeManifestRoute } from "./manifest-schema-
|
|
18
|
-
import { t as DinewayStorageError } from "./types-
|
|
16
|
+
import { n as VERSION, t as COMMIT } from "./version-D3vDb22n.mjs";
|
|
17
|
+
import { i as pluginManifestSchema, r as normalizeManifestRoute } from "./manifest-schema-CgFJAp0H.mjs";
|
|
18
|
+
import { t as DinewayStorageError } from "./types-fAInWQDO.mjs";
|
|
19
19
|
import { sql } from "kysely";
|
|
20
20
|
import { createGzipDecoder, unpackTar } from "modern-tar";
|
|
21
21
|
|
|
@@ -7,9 +7,9 @@ import { t as RedirectRepository } from "./redirect-CGl64yOX.mjs";
|
|
|
7
7
|
import { t as BylineRepository } from "./byline-naZxOPSa.mjs";
|
|
8
8
|
import { t as FTSManager } from "./fts-manager-B1pTNEG_.mjs";
|
|
9
9
|
import { n as SchemaRegistry } from "./registry-C-_hxLqa.mjs";
|
|
10
|
-
import { o as setSiteSettings } from "./settings-
|
|
11
|
-
import { a as validateExternalUrl, r as ssrfSafeFetch } from "./ssrf-
|
|
12
|
-
import { t as validateSeed } from "./validate-
|
|
10
|
+
import { o as setSiteSettings } from "./settings-DGtLLSaz.mjs";
|
|
11
|
+
import { a as validateExternalUrl, r as ssrfSafeFetch } from "./ssrf-DDwRxF6B.mjs";
|
|
12
|
+
import { t as validateSeed } from "./validate-C7TzfamJ.mjs";
|
|
13
13
|
import { ulid } from "ulidx";
|
|
14
14
|
import { imageSize } from "image-size";
|
|
15
15
|
import mime from "mime/lite";
|
|
@@ -446,8 +446,8 @@ async function applySeed(db, seed, options = {}) {
|
|
|
446
446
|
}
|
|
447
447
|
}
|
|
448
448
|
}
|
|
449
|
-
const { invalidateBylineCache } = await import("./bylines-
|
|
450
|
-
const { invalidateUrlPatternCache } = await import("./query-
|
|
449
|
+
const { invalidateBylineCache } = await import("./bylines-C4LIBOOO.mjs").then((n) => n.t);
|
|
450
|
+
const { invalidateUrlPatternCache } = await import("./query-B9BO5goQ.mjs").then((n) => n.o);
|
|
451
451
|
const { invalidateRedirectCache } = await import("./cache-DEbQ13c9.mjs").then((n) => n.t);
|
|
452
452
|
invalidateBylineCache();
|
|
453
453
|
invalidateUrlPatternCache();
|
package/dist/astro/index.d.mts
CHANGED
|
@@ -1,13 +1,14 @@
|
|
|
1
|
-
import { r as ContentItem } from "../types-
|
|
2
|
-
import { a as S3StorageConfig, i as LocalStorageConfig, o as StorageDescriptor,
|
|
3
|
-
import "../types-
|
|
4
|
-
import { X as ResolvedPlugin } from "../types-
|
|
5
|
-
import "../types-
|
|
6
|
-
import "../runner-
|
|
7
|
-
import "../index-
|
|
8
|
-
import "../
|
|
9
|
-
import "../
|
|
10
|
-
import "../
|
|
1
|
+
import { r as ContentItem } from "../types-DJlpx5Ay.mjs";
|
|
2
|
+
import { Kn as MediaItem, a as S3StorageConfig, i as LocalStorageConfig, o as StorageDescriptor, r as getStoredConfig, t as DinewayConfig } from "../runtime-Db4LbNVZ.mjs";
|
|
3
|
+
import "../types-DZPw8Rru.mjs";
|
|
4
|
+
import { X as ResolvedPlugin } from "../types-Q616b2Hn.mjs";
|
|
5
|
+
import "../types-BFmjniC2.mjs";
|
|
6
|
+
import "../runner-BU6Lo1ZS.mjs";
|
|
7
|
+
import "../index-EUAWaIxW.mjs";
|
|
8
|
+
import "../index-CYfhYgXd.mjs";
|
|
9
|
+
import "../bylines-eVVCuOe4.mjs";
|
|
10
|
+
import "../types-0Vr68fc2.mjs";
|
|
11
|
+
import "../validate-BwmQEbu8.mjs";
|
|
11
12
|
import { DinewayHandlers, DinewayManifest, ManifestCollection } from "./types.mjs";
|
|
12
13
|
import { AstroIntegration } from "astro";
|
|
13
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-D3vDb22n.mjs";
|
|
2
|
+
import { t as defaultSeed } from "../default-D4ngTpW8.mjs";
|
|
3
|
+
import { n as validateAllowedOrigins, r as validateOriginShape } from "../allowed-origins-C1AKK9AT.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,12 +1,13 @@
|
|
|
1
|
-
import "../../runtime-
|
|
2
|
-
import "../../types-
|
|
3
|
-
import "../../types-
|
|
4
|
-
import "../../types-
|
|
5
|
-
import "../../runner-
|
|
6
|
-
import "../../index-
|
|
7
|
-
import "../../
|
|
8
|
-
import "../../
|
|
9
|
-
import "../../
|
|
1
|
+
import "../../runtime-Db4LbNVZ.mjs";
|
|
2
|
+
import "../../types-DZPw8Rru.mjs";
|
|
3
|
+
import "../../types-Q616b2Hn.mjs";
|
|
4
|
+
import "../../types-BFmjniC2.mjs";
|
|
5
|
+
import "../../runner-BU6Lo1ZS.mjs";
|
|
6
|
+
import "../../index-EUAWaIxW.mjs";
|
|
7
|
+
import "../../index-CYfhYgXd.mjs";
|
|
8
|
+
import "../../bylines-eVVCuOe4.mjs";
|
|
9
|
+
import "../../types-0Vr68fc2.mjs";
|
|
10
|
+
import "../../validate-BwmQEbu8.mjs";
|
|
10
11
|
import { DinewayHandlers } from "../types.mjs";
|
|
11
12
|
import { Kysely } from "kysely";
|
|
12
13
|
import { User } from "@dineway-ai/auth";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { t as apiError } from "../../error-
|
|
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-
|
|
1
|
+
import { t as apiError } from "../../error-BMUPwxgx.mjs";
|
|
2
|
+
import { n as getPublicOrigin } from "../../public-url-Cun8N3NU.mjs";
|
|
3
|
+
import { t as getAuthMode } from "../../mode-DUhxwUhv.mjs";
|
|
4
|
+
import { i as hasScope } from "../../api-tokens-CPjC3zf8.mjs";
|
|
5
|
+
import { a as resolveOAuthToken, i as resolveApiToken } from "../../api-tokens-D7UjLbdt.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-Cz-aU0X1.mjs";
|
|
3
3
|
import "../../options-z8VVg1Ll.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-BOJw-D9F.mjs";
|
|
5
|
+
import { i as resolveSecretsCached } from "../../secrets-CkoJ9zN0.mjs";
|
|
6
6
|
import { defineMiddleware } from "astro:middleware";
|
|
7
7
|
|
|
8
8
|
//#region src/visual-editing/toolbar.ts
|
|
@@ -4,7 +4,7 @@ import "../connection-BCNICDWN.mjs";
|
|
|
4
4
|
import { t as validateIdentifier } from "../validate-VPnKoIzW.mjs";
|
|
5
5
|
import { a as isSqlite } from "../dialect-helpers-DhTzaUxP.mjs";
|
|
6
6
|
import { r as runMigrations } from "../runner-DWZm2KQm.mjs";
|
|
7
|
-
import {
|
|
7
|
+
import { d as EmailPipeline, g as after, h as definePlugin, m as resolveExclusiveHooks, p as createHookPipeline, u as PluginRouteRegistry } from "../plugins-D7-ILNib.mjs";
|
|
8
8
|
import { r as RevisionRepository } from "../content-CyLkb-qH.mjs";
|
|
9
9
|
import "../base64-Cz-aU0X1.mjs";
|
|
10
10
|
import "../types-Bs6lTBBW.mjs";
|
|
@@ -16,58 +16,60 @@ import { t as OptionsRepository } from "../options-z8VVg1Ll.mjs";
|
|
|
16
16
|
import "../site-activity-B8FjLIVh.mjs";
|
|
17
17
|
import "../review-requests-C2DIHwlJ.mjs";
|
|
18
18
|
import "../entity-aliases-C0v-yNET.mjs";
|
|
19
|
-
import "../context-
|
|
19
|
+
import "../context-CNIkMzot.mjs";
|
|
20
20
|
import "../redirect-CGl64yOX.mjs";
|
|
21
21
|
import "../byline-naZxOPSa.mjs";
|
|
22
22
|
import { t as normalizeMediaValue } from "../normalize-C49G_o1k.mjs";
|
|
23
23
|
import "../placeholder-C2P5fKa4.mjs";
|
|
24
24
|
import "../seo-CUQctrog.mjs";
|
|
25
25
|
import { i as setI18nConfig } from "../config-CAMFxGaV.mjs";
|
|
26
|
-
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-
|
|
26
|
+
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-BR7Y0GBo.mjs";
|
|
27
27
|
import "../dashboard-DqnYU8EU.mjs";
|
|
28
|
-
import { u as PluginStateRepository } from "../briefing-
|
|
28
|
+
import { u as PluginStateRepository } from "../briefing-MVYe_Uyf.mjs";
|
|
29
29
|
import "../context-types-C-LwdAxx.mjs";
|
|
30
30
|
import { t as FTSManager } from "../fts-manager-B1pTNEG_.mjs";
|
|
31
31
|
import { n as SchemaRegistry } from "../registry-C-_hxLqa.mjs";
|
|
32
32
|
import { r as getDb } from "../loader-PZnPxFLc.mjs";
|
|
33
|
-
import {
|
|
33
|
+
import { c as createPublicMediaUrlResolver } from "../settings-DGtLLSaz.mjs";
|
|
34
34
|
import { n as requestCached } from "../request-cache-DHMRr2Lf.mjs";
|
|
35
|
-
import "../briefing-
|
|
35
|
+
import "../briefing-rty4O-wa.mjs";
|
|
36
36
|
import "../review-requests-DIyjw-K_.mjs";
|
|
37
37
|
import { n as hashString } from "../hash-CDX7M0ze.mjs";
|
|
38
|
-
import { n as VERSION, t as COMMIT } from "../version-
|
|
39
|
-
import "../
|
|
38
|
+
import { n as VERSION, t as COMMIT } from "../version-D3vDb22n.mjs";
|
|
39
|
+
import "../query-CsbOywSY.mjs";
|
|
40
40
|
import "../zod-generator-DBVP8D0P.mjs";
|
|
41
|
-
import "../
|
|
42
|
-
import "../
|
|
43
|
-
import "../
|
|
44
|
-
import "../
|
|
45
|
-
import "../
|
|
46
|
-
import "../taxonomies-
|
|
47
|
-
import
|
|
48
|
-
import "../
|
|
49
|
-
import "../
|
|
50
|
-
import "../
|
|
51
|
-
import
|
|
52
|
-
import "../
|
|
53
|
-
import "../
|
|
54
|
-
import
|
|
55
|
-
import {
|
|
56
|
-
import "../
|
|
57
|
-
import
|
|
58
|
-
import {
|
|
59
|
-
import "../
|
|
60
|
-
import "../
|
|
61
|
-
import "../
|
|
62
|
-
import "../
|
|
63
|
-
import "../
|
|
64
|
-
import "../
|
|
65
|
-
import "../
|
|
41
|
+
import "../schema-BECjUhP8.mjs";
|
|
42
|
+
import "../seo-C007Luwn.mjs";
|
|
43
|
+
import "../menus-DS3_5nWY.mjs";
|
|
44
|
+
import "../sections-B61OxnfB.mjs";
|
|
45
|
+
import "../settings-Dzgswvg4.mjs";
|
|
46
|
+
import "../taxonomies-D2aZGuns.mjs";
|
|
47
|
+
import "../taxonomies-z6Lz91BC.mjs";
|
|
48
|
+
import { r as normalizeManifestRoute } from "../manifest-schema-CgFJAp0H.mjs";
|
|
49
|
+
import "../parse-C9106ehs.mjs";
|
|
50
|
+
import "../redirects-lrlmYXVE.mjs";
|
|
51
|
+
import "../import-CNcKWTbp.mjs";
|
|
52
|
+
import { a as invalidateUrlPatternCache } from "../query-B9BO5goQ.mjs";
|
|
53
|
+
import "../preview-DvYRU-Oy.mjs";
|
|
54
|
+
import "../import-BHRLhXAn.mjs";
|
|
55
|
+
import { t as getTrustedProxyHeaders } from "../trusted-proxy-BbaZfkT9.mjs";
|
|
56
|
+
import { n as sanitizeHeadersForSandbox, t as extractRequestMeta } from "../request-meta-DixlNKKa.mjs";
|
|
57
|
+
import "../ssrf-DDwRxF6B.mjs";
|
|
58
|
+
import { n as CronExecutor } from "../cron-CKxvBrRT.mjs";
|
|
59
|
+
import { r as devConsoleEmailDeliver, t as DEV_CONSOLE_EMAIL_PLUGIN_ID } from "../email-console-CuefUXfX.mjs";
|
|
60
|
+
import "../utils-C0ONdBul.mjs";
|
|
61
|
+
import "../tokens-BOJw-D9F.mjs";
|
|
62
|
+
import "../menus-DYW_UHjv.mjs";
|
|
63
|
+
import "../bylines-C4LIBOOO.mjs";
|
|
64
|
+
import "../widgets-B7DRpZvy.mjs";
|
|
65
|
+
import "../apply-Bm5QgdrE.mjs";
|
|
66
|
+
import "../load-B2XtDw__.mjs";
|
|
67
|
+
import "../search-DqTHQqtV.mjs";
|
|
66
68
|
import "../index.mjs";
|
|
67
|
-
import { t as getAuthMode } from "../mode-
|
|
68
|
-
import { i as experimentalSiteContextWorkflowsEnabled } from "../experimental-workflows-
|
|
69
|
-
import { t as cleanupExpiredChallenges } from "../challenge-store-
|
|
70
|
-
import { a as validateEncryptionKeyAtStartup } from "../secrets-
|
|
69
|
+
import { t as getAuthMode } from "../mode-DUhxwUhv.mjs";
|
|
70
|
+
import { i as experimentalSiteContextWorkflowsEnabled } from "../experimental-workflows-C9X7yblQ.mjs";
|
|
71
|
+
import { t as cleanupExpiredChallenges } from "../challenge-store-DDTbisbf.mjs";
|
|
72
|
+
import { a as validateEncryptionKeyAtStartup } from "../secrets-CkoJ9zN0.mjs";
|
|
71
73
|
import { Kysely, sql } from "kysely";
|
|
72
74
|
import { defineMiddleware } from "astro:middleware";
|
|
73
75
|
import virtualConfig from "virtual:dineway/config";
|
|
@@ -860,9 +862,9 @@ var DinewayRuntime = class DinewayRuntime {
|
|
|
860
862
|
}
|
|
861
863
|
})();
|
|
862
864
|
if (collectionCount.count === 0 && !setupDone) {
|
|
863
|
-
const { applySeed } = await import("../apply-
|
|
864
|
-
const { loadSeed } = await import("../load-
|
|
865
|
-
const { validateSeed } = await import("../validate-
|
|
865
|
+
const { applySeed } = await import("../apply-Bm5QgdrE.mjs").then((n) => n.n);
|
|
866
|
+
const { loadSeed } = await import("../load-B2XtDw__.mjs").then((n) => n.r);
|
|
867
|
+
const { validateSeed } = await import("../validate-C7TzfamJ.mjs").then((n) => n.n);
|
|
866
868
|
const seed = await loadSeed();
|
|
867
869
|
if (validateSeed(seed).valid) {
|
|
868
870
|
await applySeed(db, seed, { onConflict: "skip" });
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import "../../../../../context-types-C-LwdAxx.mjs";
|
|
2
|
-
import { n as apiSuccess, r as handleError, t as apiError } from "../../../../../error-
|
|
3
|
-
import { n as parseBody, t as isParseError } from "../../../../../parse-
|
|
4
|
-
import { S as allowedDomainUpdateBody } from "../../../../../redirects-
|
|
5
|
-
import "../../../../../import-
|
|
2
|
+
import { n as apiSuccess, r as handleError, t as apiError } from "../../../../../error-BMUPwxgx.mjs";
|
|
3
|
+
import { n as parseBody, t as isParseError } from "../../../../../parse-C9106ehs.mjs";
|
|
4
|
+
import { S as allowedDomainUpdateBody } from "../../../../../redirects-lrlmYXVE.mjs";
|
|
5
|
+
import "../../../../../import-CNcKWTbp.mjs";
|
|
6
6
|
import "../../../../../api/schemas/index.mjs";
|
|
7
7
|
import { createKyselyAdapter } from "@dineway-ai/auth/adapters/kysely";
|
|
8
8
|
import { Role, roleFromLevel } from "@dineway-ai/auth";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import "../../../../../context-types-C-LwdAxx.mjs";
|
|
2
|
-
import { n as apiSuccess, r as handleError, t as apiError } from "../../../../../error-
|
|
3
|
-
import { n as parseBody, t as isParseError } from "../../../../../parse-
|
|
4
|
-
import { x as allowedDomainCreateBody } from "../../../../../redirects-
|
|
5
|
-
import "../../../../../import-
|
|
2
|
+
import { n as apiSuccess, r as handleError, t as apiError } from "../../../../../error-BMUPwxgx.mjs";
|
|
3
|
+
import { n as parseBody, t as isParseError } from "../../../../../parse-C9106ehs.mjs";
|
|
4
|
+
import { x as allowedDomainCreateBody } from "../../../../../redirects-lrlmYXVE.mjs";
|
|
5
|
+
import "../../../../../import-CNcKWTbp.mjs";
|
|
6
6
|
import "../../../../../api/schemas/index.mjs";
|
|
7
7
|
import { createKyselyAdapter } from "@dineway-ai/auth/adapters/kysely";
|
|
8
8
|
import { Role, roleFromLevel } from "@dineway-ai/auth";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { a as unwrapResult, r as handleError, t as apiError } from "../../../../../error-
|
|
2
|
-
import "../../../../../api-tokens-
|
|
3
|
-
import { r as handleApiTokenRevoke } from "../../../../../api-tokens-
|
|
4
|
-
import { t as rejectApiTokenAuthControlWrite } from "../../../../../auth-control-guard-
|
|
1
|
+
import { a as unwrapResult, r as handleError, t as apiError } from "../../../../../error-BMUPwxgx.mjs";
|
|
2
|
+
import "../../../../../api-tokens-CPjC3zf8.mjs";
|
|
3
|
+
import { r as handleApiTokenRevoke } from "../../../../../api-tokens-D7UjLbdt.mjs";
|
|
4
|
+
import { t as rejectApiTokenAuthControlWrite } from "../../../../../auth-control-guard-DOZ3UCsP.mjs";
|
|
5
5
|
import { Role } from "@dineway-ai/auth";
|
|
6
6
|
|
|
7
7
|
//#region src/astro/routes/api/admin/api-tokens/[id].ts
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { a as unwrapResult, r as handleError, t as apiError } from "../../../../../error-
|
|
2
|
-
import { n as parseBody, t as isParseError } from "../../../../../parse-
|
|
3
|
-
import { 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-
|
|
1
|
+
import { a as unwrapResult, r as handleError, t as apiError } from "../../../../../error-BMUPwxgx.mjs";
|
|
2
|
+
import { n as parseBody, t as isParseError } from "../../../../../parse-C9106ehs.mjs";
|
|
3
|
+
import { c as requestedExperimentalSiteContextWorkflowScopes, i as experimentalSiteContextWorkflowsEnabled, s as getExperimentalSiteContextWorkflowsDisabledMessage } from "../../../../../experimental-workflows-C9X7yblQ.mjs";
|
|
4
|
+
import { t as ALL_VALID_SCOPES } from "../../../../../api-tokens-CPjC3zf8.mjs";
|
|
5
|
+
import { n as handleApiTokenList, t as handleApiTokenCreate } from "../../../../../api-tokens-D7UjLbdt.mjs";
|
|
6
|
+
import { t as rejectApiTokenAuthControlWrite } from "../../../../../auth-control-guard-DOZ3UCsP.mjs";
|
|
7
7
|
import { z } from "zod";
|
|
8
8
|
import { Role } from "@dineway-ai/auth";
|
|
9
9
|
|
|
@@ -5,18 +5,18 @@ import "../../../../media-_7Fxdu45.mjs";
|
|
|
5
5
|
import "../../../../options-z8VVg1Ll.mjs";
|
|
6
6
|
import "../../../../site-activity-B8FjLIVh.mjs";
|
|
7
7
|
import "../../../../review-requests-C2DIHwlJ.mjs";
|
|
8
|
-
import "../../../../briefing-
|
|
8
|
+
import "../../../../briefing-MVYe_Uyf.mjs";
|
|
9
9
|
import "../../../../context-types-C-LwdAxx.mjs";
|
|
10
10
|
import "../../../../fts-manager-B1pTNEG_.mjs";
|
|
11
11
|
import "../../../../registry-C-_hxLqa.mjs";
|
|
12
12
|
import "../../../../loader-PZnPxFLc.mjs";
|
|
13
|
-
import "../../../../settings-
|
|
13
|
+
import "../../../../settings-DGtLLSaz.mjs";
|
|
14
14
|
import "../../../../request-cache-DHMRr2Lf.mjs";
|
|
15
|
-
import { t as handleSiteBriefingGet } from "../../../../briefing-
|
|
16
|
-
import { a as unwrapResult, i as requireDb, r as handleError, t as apiError } from "../../../../error-
|
|
17
|
-
import { i as parseQuery, t as isParseError } from "../../../../parse-
|
|
18
|
-
import "../../../../redirects-
|
|
19
|
-
import { C as siteBriefingQuery } from "../../../../import-
|
|
15
|
+
import { t as handleSiteBriefingGet } from "../../../../briefing-rty4O-wa.mjs";
|
|
16
|
+
import { a as unwrapResult, i as requireDb, r as handleError, t as apiError } from "../../../../error-BMUPwxgx.mjs";
|
|
17
|
+
import { i as parseQuery, t as isParseError } from "../../../../parse-C9106ehs.mjs";
|
|
18
|
+
import "../../../../redirects-lrlmYXVE.mjs";
|
|
19
|
+
import { C as siteBriefingQuery } from "../../../../import-CNcKWTbp.mjs";
|
|
20
20
|
import "../../../../api/schemas/index.mjs";
|
|
21
21
|
import { hasPermission } from "@dineway-ai/auth";
|
|
22
22
|
|
|
@@ -4,13 +4,13 @@ import "../../../../../../types-Bs6lTBBW.mjs";
|
|
|
4
4
|
import { t as BylineRepository } from "../../../../../../byline-naZxOPSa.mjs";
|
|
5
5
|
import "../../../../../../context-types-C-LwdAxx.mjs";
|
|
6
6
|
import "../../../../../../loader-PZnPxFLc.mjs";
|
|
7
|
-
import { n as apiSuccess, r as handleError, t as apiError } from "../../../../../../error-
|
|
8
|
-
import { n as parseBody, t as isParseError } from "../../../../../../parse-
|
|
9
|
-
import {
|
|
10
|
-
import "../../../../../../import-
|
|
7
|
+
import { n as apiSuccess, r as handleError, t as apiError } from "../../../../../../error-BMUPwxgx.mjs";
|
|
8
|
+
import { n as parseBody, t as isParseError } from "../../../../../../parse-C9106ehs.mjs";
|
|
9
|
+
import { gn as bylineUpdateBody } from "../../../../../../redirects-lrlmYXVE.mjs";
|
|
10
|
+
import "../../../../../../import-CNcKWTbp.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-C4LIBOOO.mjs";
|
|
13
|
+
import { n as requirePerm } from "../../../../../../authorize-BAdbMCwC.mjs";
|
|
14
14
|
import { Role } from "@dineway-ai/auth";
|
|
15
15
|
|
|
16
16
|
//#region src/astro/routes/api/admin/bylines/[id]/index.ts
|
|
@@ -4,13 +4,13 @@ import "../../../../../types-Bs6lTBBW.mjs";
|
|
|
4
4
|
import { t as BylineRepository } from "../../../../../byline-naZxOPSa.mjs";
|
|
5
5
|
import "../../../../../context-types-C-LwdAxx.mjs";
|
|
6
6
|
import "../../../../../loader-PZnPxFLc.mjs";
|
|
7
|
-
import { n as apiSuccess, r as handleError, t as apiError } from "../../../../../error-
|
|
8
|
-
import { i as parseQuery, n as parseBody, t as isParseError } from "../../../../../parse-
|
|
9
|
-
import {
|
|
10
|
-
import "../../../../../import-
|
|
7
|
+
import { n as apiSuccess, r as handleError, t as apiError } from "../../../../../error-BMUPwxgx.mjs";
|
|
8
|
+
import { i as parseQuery, n as parseBody, t as isParseError } from "../../../../../parse-C9106ehs.mjs";
|
|
9
|
+
import { _n as bylinesListQuery, fn as bylineCreateBody } from "../../../../../redirects-lrlmYXVE.mjs";
|
|
10
|
+
import "../../../../../import-CNcKWTbp.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-C4LIBOOO.mjs";
|
|
13
|
+
import { n as requirePerm } from "../../../../../authorize-BAdbMCwC.mjs";
|
|
14
14
|
import { Role } from "@dineway-ai/auth";
|
|
15
15
|
|
|
16
16
|
//#region src/astro/routes/api/admin/bylines/index.ts
|
|
@@ -3,15 +3,15 @@ import "../../../../../../types-Bs6lTBBW.mjs";
|
|
|
3
3
|
import "../../../../../../comment-DFO-gWDH.mjs";
|
|
4
4
|
import "../../../../../../options-z8VVg1Ll.mjs";
|
|
5
5
|
import "../../../../../../context-types-C-LwdAxx.mjs";
|
|
6
|
-
import { a as unwrapResult, i as requireDb, n as apiSuccess, r as handleError, t as apiError } from "../../../../../../error-
|
|
7
|
-
import { n as parseBody, t as isParseError } from "../../../../../../parse-
|
|
8
|
-
import {
|
|
9
|
-
import "../../../../../../import-
|
|
6
|
+
import { a as unwrapResult, i as requireDb, n as apiSuccess, r as handleError, t as apiError } from "../../../../../../error-BMUPwxgx.mjs";
|
|
7
|
+
import { n as parseBody, t as isParseError } from "../../../../../../parse-C9106ehs.mjs";
|
|
8
|
+
import { mt as commentStatusBody } from "../../../../../../redirects-lrlmYXVE.mjs";
|
|
9
|
+
import "../../../../../../import-CNcKWTbp.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-BAdbMCwC.mjs";
|
|
12
|
+
import { a as handleCommentGet } from "../../../../../../comments--BsZ9pqA.mjs";
|
|
13
|
+
import { t as getSiteBaseUrl } from "../../../../../../site-url-BP7k7OCe.mjs";
|
|
14
|
+
import { i as sendCommentNotification, n as moderateComment, r as lookupContentAuthor } from "../../../../../../service-CyOsm0R6.mjs";
|
|
15
15
|
|
|
16
16
|
//#region src/astro/routes/api/admin/comments/[id]/status.ts
|
|
17
17
|
const prerender = false;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import "../../../../../base64-Cz-aU0X1.mjs";
|
|
2
2
|
import "../../../../../types-Bs6lTBBW.mjs";
|
|
3
3
|
import "../../../../../comment-DFO-gWDH.mjs";
|
|
4
|
-
import { a as unwrapResult, i as requireDb, r as handleError, t as apiError } from "../../../../../error-
|
|
5
|
-
import { n as requirePerm } from "../../../../../authorize-
|
|
6
|
-
import { a as handleCommentGet, i as handleCommentDelete } from "../../../../../comments
|
|
4
|
+
import { a as unwrapResult, i as requireDb, r as handleError, t as apiError } from "../../../../../error-BMUPwxgx.mjs";
|
|
5
|
+
import { n as requirePerm } from "../../../../../authorize-BAdbMCwC.mjs";
|
|
6
|
+
import { a as handleCommentGet, i as handleCommentDelete } from "../../../../../comments--BsZ9pqA.mjs";
|
|
7
7
|
|
|
8
8
|
//#region src/astro/routes/api/admin/comments/[id].ts
|
|
9
9
|
const prerender = false;
|