Skip to content

feat(api): call WolfStar bot API via $api (legacy-style)#303

Draft
RedStar071 wants to merge 36 commits into
mainfrom
cursor/backport-structure-api-88be
Draft

feat(api): call WolfStar bot API via $api (legacy-style)#303
RedStar071 wants to merge 36 commits into
mainfrom
cursor/backport-structure-api-88be

fix(auth): force Discord consent prompt on Better Auth login

17e6d59
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Jul 22, 2026 in 1s

No report found to compare against

View this Pull Request on Codecov

No report found to compare against

Details

Codecov Report

❌ Patch coverage is 37.43842% with 127 lines in your changes missing coverage. Please review.
⚠️ Please upload report for BASE (main@6194ef0). Learn more about missing BASE report.

Files with missing lines Patch % Lines
server/utils/botApi.ts 23.72% 27 Missing and 18 partials ⚠️
app/utils/bot-oauth.ts 0.00% 20 Missing and 5 partials ⚠️
shared/utils/fetch-cache-config.ts 64.00% 8 Missing and 10 partials ⚠️
server/utils/discord/index.ts 23.52% 10 Missing and 3 partials ⚠️
app/plugins/api.ts 30.00% 5 Missing and 2 partials ⚠️
shared/utils/bot-oauth.ts 64.70% 3 Missing and 3 partials ⚠️
app/composables/useUser.ts 60.00% 0 Missing and 2 partials ⚠️
app/plugins/payload-cache.client.ts 50.00% 2 Missing ⚠️
app/components/app/HeaderAuth.vue 0.00% 1 Missing ⚠️
app/components/guild/settings/filter/Capitals.vue 0.00% 0 Missing and 1 partial ⚠️
... and 7 more
Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##             main     #303   +/-   ##
=======================================
  Coverage        ?   69.56%           
=======================================
  Files           ?      168           
  Lines           ?     3433           
  Branches        ?      759           
=======================================
  Hits            ?     2388           
  Misses          ?      504           
  Partials        ?      541           
Files with missing lines Coverage Δ
app/components/guild/settings/DisabledCommands.vue 56.57% <ø> (ø)
app/components/guild/settings/Events.vue 86.04% <ø> (ø)
app/components/guild/settings/Form.vue 75.80% <ø> (ø)
app/components/guild/settings/General.vue 73.13% <ø> (ø)
app/components/guild/settings/Moderation.vue 85.18% <ø> (ø)
app/composables/useGuildSettings.ts 12.50% <ø> (ø)
app/composables/useGuildSettingsChanges.ts 80.00% <ø> (ø)
app/composables/useModerationLog.ts 87.50% <100.00%> (ø)
package.json 100.00% <ø> (ø)
server/plugins/evlog-drain.ts 86.36% <100.00%> (ø)
... and 23 more
🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.