Add preliminary prisma support

This commit is contained in:
Jeffrey Li
2022-10-06 21:04:36 -07:00
committed by jeffvli
parent 95c52d8a11
commit 06914b3af4
24 changed files with 19120 additions and 98 deletions
+15
View File
@@ -0,0 +1,15 @@
import { Prisma } from '@prisma/client';
type ApiSurface = {
prisma: {
server: {
getServer: () => Promise<Prisma.ServerSelect>;
};
};
};
declare global {
interface Window {
electron: ApiSurface;
}
}