* frontend dialog * handler + fe calling handler * reafctors + start work on fix hosts tests * restore rr * update tests + fixing types * use a getRRHostsToReasign handler + error handle + i18n * typefixes * assert type * fix: adds missing translation * Update roundRobinManualReassignment.ts * Update roundRobinManualReassignment.ts * Update apps/web/components/dialog/ReassignDialog.tsx Co-authored-by: Carina Wollendorfer <30310907+CarinaWolli@users.noreply.github.com> * Update roundRobinManualReassignment.ts --------- Co-authored-by: Udit Takkar <53316345+Udit-takkar@users.noreply.github.com> Co-authored-by: zomars <zomars@me.com> Co-authored-by: Carina Wollendorfer <30310907+CarinaWolli@users.noreply.github.com>
27 lines
505 B
TypeScript
27 lines
505 B
TypeScript
import type { Prisma } from "@calcom/prisma/client";
|
|
|
|
export const bookingSelect = {
|
|
uid: true,
|
|
title: true,
|
|
startTime: true,
|
|
endTime: true,
|
|
userId: true,
|
|
customInputs: true,
|
|
responses: true,
|
|
description: true,
|
|
location: true,
|
|
eventTypeId: true,
|
|
destinationCalendar: true,
|
|
user: {
|
|
include: {
|
|
destinationCalendar: true,
|
|
},
|
|
},
|
|
attendees: true,
|
|
references: true,
|
|
};
|
|
|
|
export type BookingSelectResult = Prisma.BookingGetPayload<{
|
|
select: typeof bookingSelect;
|
|
}>;
|