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

25 lines
417 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;
};
2025-02-01 21:48:13 +00:00
}
2025-05-04 20:06:57 +00:00
export type ILogoutResponseDTO = {}
2025-02-07 17:46:41 +00:00
export interface IRefreshTokenResponseDTO {
refresh_token: string;
}