/**
 * LeagueRosterAdminViewData - Pure ViewData for RosterAdminPage
 * Contains only raw serializable data, no methods or computed properties
 */

export interface RosterMemberData {
  driverId: string;
  driver: {
    id: string;
    name: string;
  };
  role: string;
  joinedAt: string;
  formattedJoinedAt: string;
}

export interface JoinRequestData {
  id: string;
  driver: {
    id: string;
    name: string;
  };
  requestedAt: string;
  formattedRequestedAt: string;
  message?: string;
}

export interface LeagueRosterAdminViewData {
  leagueId: string;
  members: RosterMemberData[];
  joinRequests: JoinRequestData[];
}