import { Penalty } from './penalty.model';
import { PlayerTransaction } from './transaction.model';

export interface PublicAccessStatus {
  enabled: boolean;
  token: string | null;
}

export interface PublicPlayer {
  id: number;
  firstName: string;
  lastName: string;
  balance: number;
  active: boolean;
}

export interface PublicTeamOverview {
  name: string;
  balance: number;
  outstanding: number;
  players: PublicPlayer[];
  penalties: Penalty[];
}

export interface PublicPlayerHistory {
  player: PublicPlayer;
  transactions: PlayerTransaction[];
}
