chore: Removes all traces of ".prisma/client"

This commit is contained in:
zomars
2023-08-14 17:28:43 -07:00
parent bb9a039931
commit e148ee7823
6 changed files with 10 additions and 9 deletions
@@ -1,3 +1,4 @@
import type { EventType, Prisma } from "@prisma/client";
import type z from "zod";
import { SystemField } from "@calcom/features/bookings/lib/SystemField";
@@ -6,8 +7,6 @@ import { getBookingWithResponses } from "@calcom/lib/getBooking";
import { eventTypeBookingFields } from "@calcom/prisma/zod-utils";
import type { CalendarEvent } from "@calcom/types/Calendar";
import type { EventType, Prisma } from ".prisma/client";
export const getCalEventResponses = ({
bookingFields,
booking,
@@ -1,6 +1,6 @@
import { ALLOWED_HOSTNAMES, RESERVED_SUBDOMAINS, WEBAPP_URL } from "@calcom/lib/constants";
import type { Prisma } from "@prisma/client";
import type { Prisma } from ".prisma/client";
import { ALLOWED_HOSTNAMES, RESERVED_SUBDOMAINS, WEBAPP_URL } from "@calcom/lib/constants";
/**
* return the org slug
@@ -1,4 +1,5 @@
import type { Payment } from "@prisma/client";
import type { EventType } from "@prisma/client";
import { Elements, PaymentElement, useElements, useStripe } from "@stripe/react-stripe-js";
import type stripejs from "@stripe/stripe-js";
import type { StripeElementLocale } from "@stripe/stripe-js";
@@ -12,8 +13,6 @@ import { CAL_URL } from "@calcom/lib/constants";
import { useLocale } from "@calcom/lib/hooks/useLocale";
import { Button, CheckboxField } from "@calcom/ui";
import type { EventType } from ".prisma/client";
type Props = {
payment: Omit<Payment, "id" | "fee" | "success" | "refunded" | "externalId" | "data"> & {
data: Record<string, unknown>;
@@ -1,10 +1,11 @@
import type { Prisma } from "@prisma/client";
import { prisma } from "@calcom/prisma";
import { TRPCError } from "@trpc/server";
import type { TrpcSessionUser } from "../../../../trpc";
import type { TScheduleDuplicateSchema } from "./duplicate.schema";
import type { Prisma } from ".prisma/client";
type DuplicateScheduleOptions = {
ctx: {
@@ -1,8 +1,9 @@
import type { PrismaClient } from "@prisma/client";
import getEventTypeById from "@calcom/lib/getEventTypeById";
import type { TrpcSessionUser } from "../../../trpc";
import type { TGetInputSchema } from "./get.schema";
import type { PrismaClient } from ".prisma/client";
type GetOptions = {
ctx: {
@@ -1,7 +1,8 @@
import type { PrismaClient } from "@prisma/client";
import type { TrpcSessionUser } from "@calcom/trpc/server/trpc";
import type { TListMembersInputSchema } from "./listMembers.schema";
import type { PrismaClient } from ".prisma/client";
type ListMembersOptions = {
ctx: {