backend/types/server/server.ts
creations ca0410f7fb
All checks were successful
Code quality checks / biome (push) Successful in 9s
add guild sql, move things around for req body
2025-06-18 17:45:30 -04:00

14 lines
329 B
TypeScript

import type { UserSession } from "../config/auth";
type Query = Record<string, string>;
type Params = Record<string, string>;
interface ExtendedRequest extends Request {
startPerf: number;
query: Query;
params: Params;
requestBody: unknown;
session?: UserSession | null;
}
export type { ExtendedRequest, Query, Params };