export interface ApiError {
    code: string;
    description: string;
}

// eslint-disable-next-line @typescript-eslint/no-explicit-any
export interface ResultDto<T = any> {
    success: boolean;
    status: number;
    message: string|null;
    data: T|null;
    errors: ApiError[]|null;
}

export interface TokenData {
	id: string;
	email: string;
	name: string|null;
}