website refactor
This commit is contained in:
16
apps/website/templates/view-data/TeamsViewData.ts
Normal file
16
apps/website/templates/view-data/TeamsViewData.ts
Normal file
@@ -0,0 +1,16 @@
|
||||
/**
|
||||
* 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;
|
||||
}
|
||||
|
||||
export interface TeamsViewData {
|
||||
teams: TeamSummaryData[];
|
||||
}
|
||||
Reference in New Issue
Block a user