SillyTavern/index.d.ts

26 lines
502 B
TypeScript
Raw Permalink Normal View History

import { UserDirectoryList, User } from "./src/users";
declare global {
namespace Express {
export interface Request {
user: {
profile: User;
directories: UserDirectoryList;
};
}
}
/**
* The root directory for user data.
*/
var DATA_ROOT: string;
}
2024-04-07 18:12:22 +02:00
declare module 'express-session' {
export interface SessionData {
handle: string;
touch: number;
2024-04-07 18:12:22 +02:00
// other properties...
}
}