Uecko_ERP/apps/server/src/contexts/auth/presentation/dto/auth.response.dto.ts

22 lines
368 B
TypeScript
Raw Normal View History

2025-02-03 18:03:23 +00:00
export interface IRegisterUserResponseDTO {
2025-02-03 21:54:51 +00:00
user_id: string;
2025-02-01 21:48:13 +00:00
username: string;
email: string;
}
2025-02-03 18:03:23 +00:00
export interface ILoginUserResponseDTO {
2025-02-04 14:58:33 +00:00
user: {
id: string;
username: string;
email: string;
2025-02-07 11:14:36 +00:00
tab_id: string;
2025-02-04 14:58:33 +00:00
};
2025-02-04 18:25:10 +00:00
tokens: {
access_token: string;
refresh_token: string;
};
//tab_id: string;
2025-02-01 21:48:13 +00:00
}
2025-02-07 11:14:36 +00:00
export interface ILogoutResponseDTO {}