Commit Graph

5 Commits

Author SHA1 Message Date
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
8cea9303e1
refactor(db/models): change chapter schema creation call
`new mongoose.Schema` -> `new Schema`
2023-12-28 20:01:49 -05:00
3e5af47107
refactor(*): refactor tsconfig paths
looks/feels nicer
2023-12-20 17:23:31 -05:00
e23faf84d4
refactor(db/models): remove reviews field from chapter type
kinda redundant since there's also `IStory.reviews` :/
2023-10-03 01:14:20 -04:00
1db9bdec9c
refactor(db/models): add new story models 2023-09-25 19:19:32 -04:00