mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-16 05:36:00 +02:00
Add preliminary prisma support
This commit is contained in:
Vendored
+15
@@ -0,0 +1,15 @@
|
||||
import { Prisma } from '@prisma/client';
|
||||
|
||||
type ApiSurface = {
|
||||
prisma: {
|
||||
server: {
|
||||
getServer: () => Promise<Prisma.ServerSelect>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
declare global {
|
||||
interface Window {
|
||||
electron: ApiSurface;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user