import { AuthResponse, Entity } from '../../../types/api';

export type User = {
    username: string;
    role: string;
};

export type AuthUser = {
    username: string;
    role: string;
};

type RefreshTokenData = {
    token: string;
    refresh_token: string;
};

export type RefreshTokenResponse = RefreshTokenData;

export type AuthUserResponse = AuthResponse<AuthUser>;

export type UsersMeResponse = User;
