Added API private submodule (#1958)

This commit is contained in:
Omar López authored and GitHub committed 2022-02-24 01:14:37 +00:00
1 parent f8aa274b07
commit cefd0cfb16
5 files changed
+999 -623

No files matched your search

+4
View File
@@ -1,5 +1,9 @@
import { PrismaClient } from "@prisma/client";
declare global {
var prisma: PrismaClient;
}
export const prisma =
globalThis.prisma ||
new PrismaClient({