import { IStatusResponse } from "../../Base/response/status.response"; import { IUserModelAttributes } from "../entity/user.entity"; export type ILoginResponse = { type: "2FA"; secret: string; } | { type: "login"; user: IUserModelAttributes; accessToken: string; refreshToken: string; }; export interface IRefreshTokenResponse { accessToken: string; refreshToken: string; } export interface ILogoutResponse extends IStatusResponse { }