2018-11-29 06:49:33 +08:00
|
|
|
import {LoginCredential} from '../../../common/entities/LoginCredential';
|
|
|
|
import {UserEntity} from '../../model/sql/enitites/UserEntity';
|
|
|
|
|
|
|
|
|
2016-05-09 23:04:56 +08:00
|
|
|
|
2016-04-10 00:06:29 +08:00
|
|
|
|
2018-11-29 06:49:33 +08:00
|
|
|
declare global {
|
|
|
|
namespace Express {
|
|
|
|
interface Request {
|
|
|
|
|
|
|
|
resultPipe?: any;
|
|
|
|
body?: {
|
2019-12-08 03:21:23 +08:00
|
|
|
loginCredential?: LoginCredential
|
2018-11-29 06:49:33 +08:00
|
|
|
};
|
|
|
|
locale?: string;
|
|
|
|
}
|
|
|
|
|
|
|
|
interface Response {
|
|
|
|
tpl?: any;
|
|
|
|
}
|
|
|
|
interface Session {
|
|
|
|
user?: UserEntity;
|
|
|
|
rememberMe?: boolean;
|
|
|
|
}
|
2017-07-15 23:48:29 +08:00
|
|
|
}
|
2016-03-26 18:19:10 +08:00
|
|
|
}
|
|
|
|
|
2018-11-29 06:49:33 +08:00
|
|
|
|