website refactor

This commit is contained in:
2026-01-12 16:12:01 +01:00
parent a735a51a11
commit 1f0c4f7fa6
7 changed files with 168 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
/**
* ViewData for Profile Leagues page
* Pure, JSON-serializable data structure for Template rendering
*/
export interface ProfileLeaguesLeagueViewData {
leagueId: string;
name: string;
description: string;
membershipRole: 'owner' | 'admin' | 'steward' | 'member';
}
export interface ProfileLeaguesViewData {
ownedLeagues: ProfileLeaguesLeagueViewData[];
memberLeagues: ProfileLeaguesLeagueViewData[];
}