monkeytype/packages/contracts
Seif Soliman 86383cf9ef
refactor(backend): improve redis and json.parse type safety with zod (@byseif21, @miodec) (#6481)
### Description

refactored backend files to enhance type safety and reliability using
Zod validation and Redis instead of JSON.parse , I tried to avoid the
files that isn't necessary tho so I hope I don't miss any or included
unnecessary ones!! didn't fully test only verified code compilation and
partial tests without Redis!!.


Should Close #5881 
Related to #6207

---------

Co-authored-by: Miodec <jack@monkeytype.com>
2025-04-24 16:25:43 +02:00
..
__test__ fix: protect against stored xss in custom background url (@fehmer) (#6355) 2025-03-12 16:52:57 +01:00
src refactor(backend): improve redis and json.parse type safety with zod (@byseif21, @miodec) (#6481) 2025-04-24 16:25:43 +02:00
.eslintrc.cjs
.oxlintrc.json chore: add oxlint (@miodec) (#6455) 2025-04-16 17:18:50 +02:00
package.json chore: upgrade oxlint 2025-04-23 18:54:33 +02: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