diff --git a/package.json b/package.json index 7027c96977..794d98612c 100644 --- a/package.json +++ b/package.json @@ -150,7 +150,7 @@ "ts-jest": "^26.0.0", "ts-node": "^10.2.1", "typescript": "^4.5.2", - "zod-prisma": "^0.5.2" + "zod-prisma": "^0.5.4" }, "lint-staged": { "./{*,{ee,pages,components,lib}/**/*}.{js,ts,jsx,tsx}": [ diff --git a/prisma/zod/booking.ts b/prisma/zod/booking.ts index c656a54e9e..96e9c98389 100644 --- a/prisma/zod/booking.ts +++ b/prisma/zod/booking.ts @@ -1,6 +1,6 @@ +import { BookingStatus } from "@prisma/client"; import * as z from "zod"; -import { BookingStatus } from "../../node_modules/@prisma/client"; import * as imports from "../zod-utils"; import { CompleteUser, diff --git a/prisma/zod/eventtype.ts b/prisma/zod/eventtype.ts index 95e1c7f57a..c94895d2ab 100644 --- a/prisma/zod/eventtype.ts +++ b/prisma/zod/eventtype.ts @@ -1,6 +1,6 @@ +import { PeriodType, SchedulingType } from "@prisma/client"; import * as z from "zod"; -import { PeriodType, SchedulingType } from "../../node_modules/@prisma/client"; import * as imports from "../zod-utils"; import { CompleteUser, diff --git a/prisma/zod/eventtypecustominput.ts b/prisma/zod/eventtypecustominput.ts index 41a3b3451c..78c6b16862 100644 --- a/prisma/zod/eventtypecustominput.ts +++ b/prisma/zod/eventtypecustominput.ts @@ -1,6 +1,6 @@ +import { EventTypeCustomInputType } from "@prisma/client"; import * as z from "zod"; -import { EventTypeCustomInputType } from "../../node_modules/@prisma/client"; import * as imports from "../zod-utils"; import { CompleteEventType, EventTypeModel } from "./index"; diff --git a/prisma/zod/membership.ts b/prisma/zod/membership.ts index 177ccad4ef..55802cb96a 100644 --- a/prisma/zod/membership.ts +++ b/prisma/zod/membership.ts @@ -1,6 +1,6 @@ +import { MembershipRole } from "@prisma/client"; import * as z from "zod"; -import { MembershipRole } from "../../node_modules/@prisma/client"; import * as imports from "../zod-utils"; import { CompleteTeam, TeamModel, CompleteUser, UserModel } from "./index"; diff --git a/prisma/zod/payment.ts b/prisma/zod/payment.ts index f49fc148a0..4e014e99ac 100644 --- a/prisma/zod/payment.ts +++ b/prisma/zod/payment.ts @@ -1,6 +1,6 @@ +import { PaymentType } from "@prisma/client"; import * as z from "zod"; -import { PaymentType } from "../../node_modules/@prisma/client"; import * as imports from "../zod-utils"; import { CompleteBooking, BookingModel } from "./index"; diff --git a/prisma/zod/remindermail.ts b/prisma/zod/remindermail.ts index c705e96573..1cceafd388 100644 --- a/prisma/zod/remindermail.ts +++ b/prisma/zod/remindermail.ts @@ -1,6 +1,6 @@ +import { ReminderType } from "@prisma/client"; import * as z from "zod"; -import { ReminderType } from "../../node_modules/@prisma/client"; import * as imports from "../zod-utils"; export const _ReminderMailModel = z.object({ diff --git a/prisma/zod/user.ts b/prisma/zod/user.ts index ca050096d3..3ef144e960 100644 --- a/prisma/zod/user.ts +++ b/prisma/zod/user.ts @@ -1,6 +1,6 @@ +import { IdentityProvider, UserPlan } from "@prisma/client"; import * as z from "zod"; -import { IdentityProvider, UserPlan } from "../../node_modules/@prisma/client"; import * as imports from "../zod-utils"; import { CompleteEventType, diff --git a/prisma/zod/webhook.ts b/prisma/zod/webhook.ts index 4077ca1a56..475c8594ae 100644 --- a/prisma/zod/webhook.ts +++ b/prisma/zod/webhook.ts @@ -1,6 +1,6 @@ +import { WebhookTriggerEvents } from "@prisma/client"; import * as z from "zod"; -import { WebhookTriggerEvents } from "../../node_modules/@prisma/client"; import * as imports from "../zod-utils"; import { CompleteUser, UserModel } from "./index"; diff --git a/yarn.lock b/yarn.lock index f185c3ee6e..5e93c69683 100644 --- a/yarn.lock +++ b/yarn.lock @@ -11270,10 +11270,10 @@ zen-observable@0.8.15: resolved "https://registry.yarnpkg.com/zen-observable/-/zen-observable-0.8.15.tgz#96415c512d8e3ffd920afd3889604e30b9eaac15" integrity sha512-PQ2PC7R9rslx84ndNBZB/Dkv8V8fZEpk83RLgXtYd0fwUgEjseMn1Dgajh2x6S8QbZAFa9p2qVCEuYZNgve0dQ== -zod-prisma@^0.5.2: - version "0.5.2" - resolved "https://registry.yarnpkg.com/zod-prisma/-/zod-prisma-0.5.2.tgz#b089e531756073333f986db98190c55c44078db8" - integrity sha512-uL7LDCum1LsJbxq4SrrQYkYG7cnAYJCWkLQWVW+e0AJo6UJRjjKb2tmRmU55BLAI6rBT72SWDyHrV28o/7O2pQ== +zod-prisma@^0.5.4: + version "0.5.4" + resolved "https://registry.yarnpkg.com/zod-prisma/-/zod-prisma-0.5.4.tgz#f1c4d107cb9e4c666e2432017e6dcc390ef23700" + integrity sha512-5Ca4Qd1a1jy1T/NqCEpbr0c+EsbjJfJ/7euEHob3zDvtUK2rTuD1Rc/vfzH8q8PtaR2TZbysD88NHmrLwpv3Xg== dependencies: "@prisma/generator-helper" "~3.8.1" parenthesis "^3.1.8"