* 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 <53316345+Udit-takkar@users.noreply.github.com> * Display URL location exclusively, omitting addresses --------- Co-authored-by: Udit Takkar <53316345+Udit-takkar@users.noreply.github.com> Co-authored-by: Peer Richelsen <peeroke@gmail.com>
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,
|
|
});
|