monkeytype/backend
Christian Fehmer e5e03b603f
feat: Allow more results for premium users (fehmer) (#4767)
* wip: More results and filters for premium users

* use offset+limit instead of beforeTimestamp, add configuration for max results for regular/premium users

* add isPremium to /users response

* cleanup

* review comments

* review comments

* update base config

* update premium data type

* add undefined check

* interface name

* add start timestamp

* refactor

* move function to util, rename params, use isFinite

* merge fix

* fixed tests

---------

Co-authored-by: Miodec <jack@monkeytype.com>
2023-11-10 13:55:35 +00:00
..
__tests__ feat: Allow more results for premium users (fehmer) (#4767) 2023-11-10 13:55:35 +00:00
email-templates Custom email (#3964) 2023-02-13 13:24:43 +01:00
private fix: use appropriate fallback fonts (SethFalco) (#4620) 2023-09-11 16:09:34 +01:00
redis-scripts Add weekly xp leaderboards backend (#3511) Bruception 2022-11-28 14:10:02 +01:00
src feat: Allow more results for premium users (fehmer) (#4767) 2023-11-10 13:55:35 +00:00
.gitignore
docker-compose.yml chore: update tsconfig and docker compose (#4530) 2023-08-12 16:41:36 +02:00
example.env Custom email (#3964) 2023-02-13 13:24:43 +01:00
jest-mongodb-config.js
jest.config.ts test: lowering this because build is failing at 37.99 😠 2023-10-27 15:47:08 +01:00
knip.json added knip to find unused exports 2023-08-10 18:32:33 +02:00
package-lock.json chore: bump nodemon 2023-10-17 12:56:11 +01:00
package.json chore: bump nodemon 2023-10-17 12:56:11 +01:00
tsconfig.json chore: update tsconfig and docker compose (#4530) 2023-08-12 16:41:36 +02:00