Commit Graph

10 Commits

Author SHA1 Message Date
8cdfb6abfe
revert(db/models): re-add & Document to PopulatedDoc type parameters 2023-12-30 00:46:11 -05:00
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
1412d39240
revert(db/models): revert guard removal
we need it after all lmao
2023-12-29 18:05:18 -05:00
a8e113e969
refactor(db/models): remove model existence guards
this way, plugins are registered if `hasMigrated` is true. we've already enabled automatically overwriting models, therefore, the guard's condition will always be false
2023-12-29 16:36:26 -05:00
3e5af47107
refactor(*): refactor tsconfig paths
looks/feels nicer
2023-12-20 17:23:31 -05:00
b21aab4940
refactor(db/models): remove existence guard/check from models 2023-12-06 21:39:59 -05:00
2085131d5a
fix(db/models): only register counter plugin if model doesn't already exist 2023-10-12 22:28:37 -04:00
08c49e4bdd
style(db/models): format 2023-10-03 01:22:43 -04:00
1db9bdec9c
refactor(db/models): add new story models 2023-09-25 19:19:32 -04:00