Added API private submodule (#1958)
parent
f8aa274b07
commit
cefd0cfb16
|
@ -65,3 +65,6 @@ tsconfig.tsbuildinfo
|
||||||
|
|
||||||
# Prisma-Zod
|
# Prisma-Zod
|
||||||
packages/prisma/zod/*.ts
|
packages/prisma/zod/*.ts
|
||||||
|
|
||||||
|
# Builds
|
||||||
|
dist
|
||||||
|
|
|
@ -1,3 +1,6 @@
|
||||||
|
[submodule "apps/api"]
|
||||||
|
path = apps/api
|
||||||
|
url = git@github.com:calcom/api.git
|
||||||
[submodule "apps/website"]
|
[submodule "apps/website"]
|
||||||
path = apps/website
|
path = apps/website
|
||||||
url = git@github.com:calcom/website.git
|
url = git@github.com:calcom/website.git
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
Subproject commit 378cbf8f3a67ea7877296f1da02edb2b6e3efbce
|
|
@ -1,5 +1,9 @@
|
||||||
import { PrismaClient } from "@prisma/client";
|
import { PrismaClient } from "@prisma/client";
|
||||||
|
|
||||||
|
declare global {
|
||||||
|
var prisma: PrismaClient;
|
||||||
|
}
|
||||||
|
|
||||||
export const prisma =
|
export const prisma =
|
||||||
globalThis.prisma ||
|
globalThis.prisma ||
|
||||||
new PrismaClient({
|
new PrismaClient({
|
||||||
|
|
Loading…
Reference in New Issue