12 lines
242 B
TypeScript
12 lines
242 B
TypeScript
import { Express } from "express-serve-static-core";
|
|
import { Key } from "../key-management/key-pool";
|
|
|
|
declare global {
|
|
namespace Express {
|
|
interface Request {
|
|
key?: Key;
|
|
api: "kobold" | "openai" | "anthropic";
|
|
}
|
|
}
|
|
}
|