* Add metadata to bookingMinimalSelect * add: Show link location in /bookings * Refactor: Update variable declaration and conditional rendering in booking metadata - Remove explicit type declaration in locationVideoCallUrl assignment - Use conditional rendering for provider icon based on iconUrl existence Co-authored-by: Udit Takkar <[email protected]> * Display URL location exclusively, omitting addresses --------- Co-authored-by: Udit Takkar <[email protected]> Co-authored-by: Peer Richelsen <[email protected]>
13 lines
268 B
TypeScript
13 lines
268 B
TypeScript
import { Prisma } from "@prisma/client";
|
|
|
|
export const bookingMinimalSelect = Prisma.validator<Prisma.BookingSelect>()({
|
|
id: true,
|
|
title: true,
|
|
description: true,
|
|
customInputs: true,
|
|
startTime: true,
|
|
endTime: true,
|
|
attendees: true,
|
|
metadata: true,
|
|
});
|