27 lines
600 B
TypeScript
27 lines
600 B
TypeScript
import { ViewData } from '../contracts/view-data/ViewData';
|
|
|
|
/**
|
|
* TeamsViewData - Pure ViewData for TeamsTemplate
|
|
* Contains only raw serializable data, no methods or computed properties
|
|
*/
|
|
|
|
export interface TeamSummaryData {
|
|
teamId: string;
|
|
teamName: string;
|
|
leagueName: string;
|
|
memberCount: number;
|
|
logoUrl?: string;
|
|
ratingLabel: string;
|
|
winsLabel: string;
|
|
racesLabel: string;
|
|
region?: string;
|
|
isRecruiting: boolean;
|
|
category?: string;
|
|
performanceLevel?: string;
|
|
description?: string;
|
|
}
|
|
|
|
export interface TeamsViewData extends ViewData {
|
|
teams: TeamSummaryData[];
|
|
}
|