13 lines
303 B
TypeScript
13 lines
303 B
TypeScript
import type { Auth } from "../auth";
|
|
import type { Clock } from "../clock";
|
|
import type { Db } from "../db/client";
|
|
import type { RouteOptions } from "../http/route";
|
|
|
|
/** What every route module needs. */
|
|
export interface AppContext {
|
|
db: Db;
|
|
auth: Auth;
|
|
clock: Clock;
|
|
options: RouteOptions;
|
|
}
|