Commit Graph

10 Commits

Author SHA1 Message Date
c8e84c909e
style(*): cleanup unused imports 2023-12-29 20:11:07 -05:00
1447960b1a
refactor(db/models): update populatedDoc types
- remove `& Document` qualifier
- cast `T | number` to T with the `as` keyword
2023-12-29 19:06:55 -05:00
922807ba6a
refactor(server/utils): make paths and imports more concise and correct 2023-12-29 16:34:00 -05:00
3e5af47107
refactor(*): refactor tsconfig paths
looks/feels nicer
2023-12-20 17:23:31 -05:00
088232f750
refactor(api & server/utils): refactor imports of db helpers
create an index file which exports the functions we need in one accessible place
2023-12-11 21:29:46 -05:00
61c57e4161
refactor(api): pass chapter index to chapterTransformer in individual chaper get route 2023-12-01 17:54:30 -05:00
6b5b01fdd6
refactor(api): change error messages to imported constant values 2023-10-03 01:17:21 -04:00
356cb5ea6b
feat(api): create review endpoints
create endpoints for adding+getting a single chapter's reviews
2023-10-02 21:43:24 -04:00
d056dac72b
refactor(api): update function calls 2023-10-02 15:46:56 -04:00
ff4b94d913
feat(api): ✏️ add story api endpoints
(update/create/delete)
2023-10-02 15:44:55 -04:00