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
2019-12-07 20:21:23 +01:00

29 lines
465 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;
}
}
}