32 lines
500 B
TypeScript
32 lines
500 B
TypeScript
|
|
export interface IRegisterUserDTO {
|
||
|
|
username: string;
|
||
|
|
email: string;
|
||
|
|
password: string;
|
||
|
|
}
|
||
|
|
|
||
|
|
export interface ILoginUserDTO {
|
||
|
|
email: string;
|
||
|
|
password: string;
|
||
|
|
}
|
||
|
|
|
||
|
|
export interface ISelectCompanyDTO {
|
||
|
|
companyId: string;
|
||
|
|
}
|
||
|
|
|
||
|
|
export interface IRegisterUserResponseDTO {
|
||
|
|
userId: string;
|
||
|
|
}
|
||
|
|
|
||
|
|
export interface ILoginUserResponseDTO {
|
||
|
|
token: string;
|
||
|
|
userId: string;
|
||
|
|
}
|
||
|
|
|
||
|
|
export interface ISelectCompanyResponseDTO {
|
||
|
|
message: string;
|
||
|
|
}
|
||
|
|
|
||
|
|
export interface ILogoutResponseDTO {
|
||
|
|
message: string;
|
||
|
|
}
|