monkeytype/packages/contracts/src
Christian Fehmer f6d9b7c3ef
impr: lazy load chartData on results (@fehmer) (#6428)
Optimize results endpoint by removing heavy or unused data. 

We load the whole result chart data for up to 1000 results each time,
but it is very unlikely the user will view the charts for all old
results. By removing the size in my tests went down from 1152kb to
276kb.

---------

Co-authored-by: Miodec <jack@monkeytype.com>
2025-04-08 13:46:40 +02:00
..
rate-limit impr: lazy load chartData on results (@fehmer) (#6428) 2025-04-08 13:46:40 +02:00
require-configuration impr: move configuration checks to contracts (@fehmer) (#5851) 2024-09-11 11:26:12 +02:00
schemas impr: lazy load chartData on results (@fehmer) (#6428) 2025-04-08 13:46:40 +02:00
validation impr: use tsrest for user endpoints (@fehmer) (#5815) 2024-09-05 17:28:19 +02:00
admin.ts impr: move configuration checks to contracts (@fehmer) (#5851) 2024-09-11 11:26:12 +02:00
ape-keys.ts impr: move configuration checks to contracts (@fehmer) (#5851) 2024-09-11 11:26:12 +02:00
configs.ts refactor: rework rate limiting (@fehmer) (#5845) 2024-09-09 10:39:08 +02:00
configuration.ts impr: move permission checks to contracts (@fehmer, @miodec) (#5848) 2024-09-10 11:35:57 +02:00
dev.ts refactor: rework rate limiting (@fehmer) (#5845) 2024-09-09 10:39:08 +02:00
index.ts feat: leaderboards remake, weekly xp leaderboards (@miodec) (#6250) 2025-02-12 16:34:03 +01:00
leaderboards.ts impr(result page): clicking on daily leaderboard rank opens the leaderboards page the user is on (@fehmer) (#6380) 2025-03-18 13:18:12 +01:00
presets.ts feat(settings): allow partial presets (@amarnathsama, @miodec, @fehmer) (#5813) 2024-09-12 21:42:29 +02:00
psas.ts refactor: rework rate limiting (@fehmer) (#5845) 2024-09-09 10:39:08 +02:00
public.ts refactor: rework rate limiting (@fehmer) (#5845) 2024-09-09 10:39:08 +02:00
quotes.ts impr: move configuration checks to contracts (@fehmer) (#5851) 2024-09-11 11:26:12 +02:00
results.ts impr: lazy load chartData on results (@fehmer) (#6428) 2025-04-08 13:46:40 +02:00
users.ts refactor: use validation on email update modal (@fehmer) (#6272) 2025-02-19 16:27:20 +01:00
webhooks.ts impr: use ts-rest for webhook endpoints (@fehmer, @miodec) (#5871) 2024-09-11 14:16:34 +02:00