aboutsummaryrefslogtreecommitdiff
path: root/src/lib/models/ActivePunishment.ts
AgeCommit message (Collapse)Author
2021-11-01convert to esmIRONM00N
2021-10-31upgrade typescript, improve workflow, bunch of bug fixes and some other thingsIRONM00N
2021-10-27use declaration merging for models and clean them upIRONM00N
2021-09-09fix rolesIRONM00N
2021-09-05modlogid uuid -> nanoidIRONM00N
2021-08-30some fixes + some more error stuffIRONM00N
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