mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2024-12-11 00:46:38 +01:00
21 lines
417 B
TypeScript
21 lines
417 B
TypeScript
import { UserDirectoryList, User } from "./src/users";
|
|
|
|
declare global {
|
|
namespace Express {
|
|
export interface Request {
|
|
user: {
|
|
profile: User;
|
|
directories: UserDirectoryList;
|
|
};
|
|
}
|
|
}
|
|
}
|
|
|
|
declare module 'express-session' {
|
|
export interface SessionData {
|
|
handle: string;
|
|
touch: number;
|
|
// other properties...
|
|
}
|
|
}
|