view data fixes
This commit is contained in:
@@ -3,14 +3,18 @@
|
||||
* Pure, JSON-serializable data structure for Template rendering
|
||||
*/
|
||||
|
||||
export interface ProfileLeaguesLeagueViewData {
|
||||
import { ViewData } from "../contracts/view-data/ViewData";
|
||||
|
||||
|
||||
export interface ProfileLeaguesLeagueViewData extends ViewData {
|
||||
leagueId: string;
|
||||
name: string;
|
||||
description: string;
|
||||
membershipRole: 'owner' | 'admin' | 'steward' | 'member';
|
||||
}
|
||||
|
||||
export interface ProfileLeaguesViewData {
|
||||
|
||||
export interface ProfileLeaguesViewData extends ViewData {
|
||||
ownedLeagues: ProfileLeaguesLeagueViewData[];
|
||||
memberLeagues: ProfileLeaguesLeagueViewData[];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user