Second go at removing Zod generated classes from our repo (#1946)
* Second go at removing Zod generated classes from our repo * Directly reference the _EventTypeModel
This commit is contained in:
1 parent
ecbdfea818
commit
652c2e342f
25 files changed
+22
-611
No files matched your search
@@ -6,7 +6,7 @@ import React, { useEffect } from "react";
|
||||
import { useForm } from "react-hook-form";
|
||||
import type { z } from "zod";
|
||||
|
||||
import { createEventTypeInput } from "@calcom/prisma/zod/eventtypeCustom";
|
||||
import { createEventTypeInput } from "@calcom/prisma/zod/custom/eventtype";
|
||||
|
||||
import { HttpError } from "@lib/core/http/error";
|
||||
import { useLocale } from "@lib/hooks/useLocale";
|
||||
|
||||
@@ -8,7 +8,7 @@ import {
|
||||
_EventTypeModel,
|
||||
} from "@calcom/prisma/zod";
|
||||
import { stringOrNumber } from "@calcom/prisma/zod-utils";
|
||||
import { createEventTypeInput } from "@calcom/prisma/zod/eventtypeCustom";
|
||||
import { createEventTypeInput } from "@calcom/prisma/zod/custom/eventtype";
|
||||
|
||||
import { createProtectedRouter } from "@server/createRouter";
|
||||
import { viewerRouter } from "@server/routers/viewer";
|
||||
|
||||
Reference in new issue
Block a user