Type fixes

feat/CAL-770-improve-stripe-integrations
zomars 2021-12-22 13:13:38 -07:00
parent 2546c90e3a
commit 474a4624d5
1 changed files with 4 additions and 1 deletions

View File

@ -297,7 +297,10 @@ const loggedInViewerRouter = createProtectedRouter()
},
],
};
const bookingListingOrderby: Record<typeof bookingListingByStatus, Prisma.BookingOrderByInput> = {
const bookingListingOrderby: Record<
typeof bookingListingByStatus,
Prisma.BookingOrderByWithAggregationInput
> = {
upcoming: { startTime: "desc" },
past: { startTime: "desc" },
cancelled: { startTime: "desc" },