mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-08 04:50:12 +02:00
16 lines
227 B
TypeScript
16 lines
227 B
TypeScript
import { Prisma } from '@prisma/client';
|
|
|
|
type ApiSurface = {
|
|
prisma: {
|
|
server: {
|
|
getServer: () => Promise<Prisma.ServerSelect>;
|
|
};
|
|
};
|
|
};
|
|
|
|
declare global {
|
|
interface Window {
|
|
electron: ApiSurface;
|
|
}
|
|
}
|