monkeytype/backend
Christian Fehmer 949e2baa48
perf: optimize friend queries (@fehmer) (#7080)
Combine two queries (first get all friend UIDs, then call leaderboard)
into one query to reduce db roundtrips.

Use the same approach for the friends list in user dal.

Note: when updating mongodb to 6+ we could use unionWith in case we
don't need the metadata (lb use-case)
2025-11-13 15:31:55 +01:00
..
__migration__ refactor: remove global type namespaces (@miodec) (#5907) 2024-09-23 15:34:16 +02:00
__tests__ perf: optimize friend queries (@fehmer) (#7080) 2025-11-13 15:31:55 +01:00
docker chore: bump node version 2025-10-31 14:18:59 +01:00
email-templates chore: replace twitter urls with x (unrealapex) (#5541) 2024-07-01 13:53:49 +02:00
private fix(docker): fix configuration endpoint, add configuration export (@fehmer) (#6317) 2025-02-27 10:48:59 +01:00
redis-scripts feat(leaderboard): add friends filter to daily/weekly leaderboard (@fehmer) (#7084) 2025-11-12 14:41:22 +01:00
scripts feat: add friend requests and list (@fehmer) (#6658) 2025-10-28 12:36:16 +01:00
src perf: optimize friend queries (@fehmer) (#7080) 2025-11-13 15:31:55 +01:00
.eslintrc.cjs refactor: restructure project to a true monorepo (#5626) 2024-07-22 15:08:11 +02:00
.gitignore
.oxlintrc.json chore: change oxlint config to jsonc 2025-09-11 22:04:48 +02:00
example.env
package.json chore: update vitest to 4.0.8 (@fehmer) (#7096) 2025-11-12 12:42:30 +01:00
redocly.yaml chore: update redocly to 2.0.5 (@fehmer) (#6874) 2025-08-14 11:14:33 +02:00
tsconfig.json build: fix openapi spec path for docs & stats endpoints on dev (@NadAlaba) (#6343) 2025-03-12 16:20:46 +01:00
vitest.config.ts chore: update vitest to 4.0.8 (@fehmer) (#7096) 2025-11-12 12:42:30 +01:00