Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Replace
primsa.$queryRaw()
with calls to prisma models (#19)
* feat: Replace primsa. with calls to prisma models * feat: Get count and avg from Prisma for pricesPaid, remove pricesPaid object * fix: Rebase issues * chore: Tidy up * feat: Correctly desctructure prisma queries and catch errors to type narrow * fix: Better type narrowing in calculationSchema
- Loading branch information