forked from atums.world/atums.world
15 lines
301 B
TypeScript
15 lines
301 B
TypeScript
import type { Server } from "bun";
|
|
|
|
type Query = Record<string, string>;
|
|
type Params = Record<string, string>;
|
|
|
|
declare global {
|
|
type BunServer = Server;
|
|
|
|
type ExtendedRequest = Request & {
|
|
startPerf: number;
|
|
query: Query;
|
|
params: Params;
|
|
session: UserSession | ApiUserSession | null;
|
|
};
|
|
}
|