refactor: removes deprecated customPrisma for API (#14069)

This commit is contained in:
Omar López authored and GitHub committed 2024-03-13 23:57:19 +00:00
1 parent 802fbdf491
commit a7405db0d4
96 files changed
+199 -189

No files matched your search

-4
View File
@@ -1,8 +1,6 @@
import type { IncomingMessage } from "http";
import type { Session } from "next-auth";
import type { PrismaClient } from "@calcom/prisma";
import "./next-auth";
export declare module "next" {
@@ -14,11 +12,9 @@ export declare module "next" {
body: unkown;
userId: number;
method: string;
prisma: PrismaClient;
// session: { user: { id: number } };
// query: Partial<{ [key: string]: string | string[] }>;
isAdmin: boolean;
isCustomPrisma: boolean;
pagination: { take: number; skip: number };
}
}