Added API private submodule (#1958)

This commit is contained in:
Omar López 2022-02-23 18:14:37 -07:00 committed by GitHub
parent f8aa274b07
commit cefd0cfb16
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 999 additions and 623 deletions

3
.gitignore vendored
View File

@ -65,3 +65,6 @@ tsconfig.tsbuildinfo
# Prisma-Zod
packages/prisma/zod/*.ts
# Builds
dist

3
.gitmodules vendored
View File

@ -1,3 +1,6 @@
[submodule "apps/api"]
path = apps/api
url = git@github.com:calcom/api.git
[submodule "apps/website"]
path = apps/website
url = git@github.com:calcom/website.git

1
apps/api Submodule

@ -0,0 +1 @@
Subproject commit 378cbf8f3a67ea7877296f1da02edb2b6e3efbce

View File

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

1611
yarn.lock

File diff suppressed because it is too large Load Diff