export interface LoginPayload {
  readonly username: string;
  readonly password: string;
}

export interface RegisterPayload extends LoginPayload {
  readonly fullName?: string | null;
}

export interface AuthenticatedUser {
  readonly username: string;
  readonly fullName?: string | null;
}

export interface AuthResponse {
  readonly accessToken: string;
  readonly tokenType: string;
  readonly user: AuthenticatedUser;
}
