import { Server } from "bun"; import { site, user } from "dbgen"; import { ExecaChildProcess } from "execa"; import { g } from "utils/global"; export const glb = global as unknown as { lastUpdate: Record; prasiSrv: { status: Record< string, | "unavailable" | "installing" | "starting" | "started" | "stopped" | "destroying" >; running: Record; }; server_hook?: typeof g.server_hook; ws_hook?: typeof g.ws_hook; npm: { page: Record; site: Record; }; }; export type Session = { user: user & { site: site[] }; };