switch to prisma

This commit is contained in:
Thomas Ruoff
2022-10-11 11:43:32 +02:00
parent 41342475ba
commit 1ef9b14e95
28 changed files with 764 additions and 780 deletions

View File

@@ -17,6 +17,6 @@ export function getNextBigger<T>(array: T[], pivot: T): T {
return array.sort().find((day) => day > pivot)
}
export function uniqueFilter(value, index, self) {
export function uniqueFilter<T>(value: T, index: number, self: T[]) {
return self.indexOf(value) === index
}