monkeytype/backend
Christian Fehmer 8a41ccee97
fix: past leaderboard not fetching the users rank (@fehmer) (#6289)
Show the users ranking for the last day on the daily and for the last
week on the weekly leaderboard correctly.

- Fix request query schema for the [daily
rank](https://api.monkeytype.com/docs/internal#tag/leaderboards/operation/leaderboards.getDailyRank)
having pagination
- Fix request query schema for the [weekly
rank](https://api.monkeytype.com/docs/internal#tag/leaderboards/operation/leaderboards.getWeeklyXpRank)
missing the `weeksBefore` parameter
- Fix frontend to include the `daysBefore` or `weeksBefore` parameter on
`rank` calls

---------

Co-authored-by: Miodec <jack@monkeytype.com>
2025-02-21 16:52:20 +01:00
..
__migration__ refactor: remove global type namespaces (@miodec) (#5907) 2024-09-23 15:34:16 +02:00
__tests__ fix: past leaderboard not fetching the users rank (@fehmer) (#6289) 2025-02-21 16:52:20 +01:00
docker chore: switch from npm to pnpm (#5690) 2024-07-30 22:36:19 +02:00
email-templates chore: replace twitter urls with x (unrealapex) (#5541) 2024-07-01 13:53:49 +02:00
private
redis-scripts feat: leaderboards remake, weekly xp leaderboards (@miodec) (#6250) 2025-02-12 16:34:03 +01:00
scripts refactor: move common util functions to a package (@miodec) (#5894) 2024-09-20 11:54:14 +02:00
src fix: past leaderboard not fetching the users rank (@fehmer) (#6289) 2025-02-21 16:52:20 +01:00
.eslintrc.cjs refactor: restructure project to a true monorepo (#5626) 2024-07-22 15:08:11 +02:00
.gitignore
example.env
knip.json
package.json chore: update @redocly/cli (@fehmer) (#6255) 2025-02-11 13:52:36 +01:00
redocly.yaml chore: update @redocly/cli (@fehmer) (#6255) 2025-02-11 13:52:36 +01:00
tsconfig.json refactor: move common util functions to a package (@miodec) (#5894) 2024-09-20 11:54:14 +02:00
vitest.config.js ci: fix backend vitest.config (@fehmer) (#5780) 2024-08-14 13:07:00 +02:00