refactor: removes deprecated customPrisma for API (#14069)
This commit is contained in:
1 parent
802fbdf491
commit
a7405db0d4
96 files changed
+199
-189
No files matched your search
Vendored
-4
@@ -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 };
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user