Commit Graph

7 Commits

Author SHA1 Message Date
242ad9ce09
refactor(server/utils): split stringifyStream function into two reusable functions
- bufferizeStream
  this concatenates stream data into a buffer
- stringifyStream
  this invokes `bufferizeStream` and converts the return value to a string
2023-12-30 17:01:43 -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
3e5af47107
refactor(*): refactor tsconfig paths
looks/feels nicer
2023-12-20 17:23:31 -05:00
fd4de6489f
refactor(server/utils): move html normalizer into its own importable function 2023-12-11 21:13:22 -05:00
faaf385bde
refactor(server/utils): strengthen typing
mongoose middleware helper functions are now properly typed
2023-12-06 21:30:22 -05:00
983a7e3bdd
refactor: add utility functions 2023-10-02 15:55:38 -04:00