1
0
mirror of https://github.com/xuthus83/pigallery2.git synced 2024-11-03 21:04:03 +08:00
pigallery2/backend/middlewares/customtypings/ExtendedRequest.d.ts
2018-11-28 23:49:33 +01:00

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;
}
}
}