Uecko_ERP/apps/server/archive/contexts/auth/presentation/dto/auth.response.dto.ts
2025-05-04 22:06:57 +02:00

25 lines
417 B
TypeScript

export interface IRegisterUserResponseDTO {
user_id: string;
username: string;
email: string;
}
export interface ILoginUserResponseDTO {
user: {
id: string;
username: string;
email: string;
tab_id: string;
};
tokens: {
access_token: string;
refresh_token: string;
};
}
export type ILogoutResponseDTO = {}
export interface IRefreshTokenResponseDTO {
refresh_token: string;
}