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