monkeytype/packages/contracts
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
..
__test__ fix: protect against stored xss in custom background url (@fehmer) (#6355) 2025-03-12 16:52:57 +01:00
src impr: lazy load chartData on results (@fehmer) (#6428) 2025-04-08 13:46:40 +02:00
.eslintrc.cjs
package.json build: use tsup instead of esbuild for packages (@fehmer) (#6309) 2025-03-03 13:48:50 +01:00
tsconfig.json impr: use tsrest for user endpoints (@fehmer) (#5815) 2024-09-05 17:28:19 +02:00
tsup.config.js build: use tsup instead of esbuild for packages (@fehmer) (#6309) 2025-03-03 13:48:50 +01:00
vitest.config.js impr: use tsrest for user endpoints (@fehmer) (#5815) 2024-09-05 17:28:19 +02:00