mirror of
https://github.com/Steffo99/festa.git
synced 2024-12-22 14:44:21 +00:00
21 lines
393 B
TypeScript
21 lines
393 B
TypeScript
import { PrismaClient } from "@prisma/client";
|
|
|
|
|
|
export const database = new PrismaClient()
|
|
|
|
|
|
// Tentative typing of a Prisma model.
|
|
export type PrismaDelegate = {
|
|
findUnique: any,
|
|
findFirst: any,
|
|
findMany: any,
|
|
create: any,
|
|
createMany: any,
|
|
delete: any,
|
|
update: any,
|
|
deleteMany: any,
|
|
updateMany: any,
|
|
upsert: any,
|
|
count: any,
|
|
aggregate: any,
|
|
}
|