aboutsummaryrefslogtreecommitdiff
path: root/src/lib/models/ActivePunishment.ts
AgeCommit message (Collapse)Author
2021-08-26finished feature command and did some refactoringIRONM00N
2021-08-17turned on ts strict optionIRONM00N
2021-08-04miscIRONM00N
2021-07-31throw error objects instead of stringsIRONM00N
2021-07-31upgraded to typescript 4.3.5IRONM00N
The reason I had to use getters and setters for the db models is because in the newer version of typescript the properties would be defined at runtime and override the getter and setters that sequalize uses later, causing all the values to be undefined and not being able to save any information.
2021-07-23feat: some shitIRONM00N
- fix breaking changes - refactored active punishments into one table - made listeners args have stricter types