mirror of
https://github.com/xuthus83/pigallery2.git
synced 2024-11-03 21:04:03 +08:00
29 lines
464 B
TypeScript
29 lines
464 B
TypeScript
import {LoginCredential} from '../../../common/entities/LoginCredential';
|
|
import {UserEntity} from '../../model/sql/enitites/UserEntity';
|
|
|
|
|
|
|
|
|
|
declare global {
|
|
namespace Express {
|
|
interface Request {
|
|
|
|
resultPipe?: any;
|
|
body?: {
|
|
loginCredential: LoginCredential
|
|
};
|
|
locale?: string;
|
|
}
|
|
|
|
interface Response {
|
|
tpl?: any;
|
|
}
|
|
interface Session {
|
|
user?: UserEntity;
|
|
rememberMe?: boolean;
|
|
}
|
|
}
|
|
}
|
|
|
|
|