view data fixes
This commit is contained in:
21
apps/website/lib/view-data/TeamDetailsViewData.ts
Normal file
21
apps/website/lib/view-data/TeamDetailsViewData.ts
Normal file
@@ -0,0 +1,21 @@
|
||||
/**
|
||||
* ViewData for TeamDetails
|
||||
*/
|
||||
export interface TeamDetailsViewData {
|
||||
team: {
|
||||
id: string;
|
||||
name: string;
|
||||
tag: string;
|
||||
description?: string;
|
||||
ownerId: string;
|
||||
leagues: string[];
|
||||
createdAt?: string;
|
||||
specialization?: string;
|
||||
region?: string;
|
||||
languages?: string[];
|
||||
category?: string;
|
||||
};
|
||||
membership: { role: string; joinedAt: string; isActive: boolean } | null;
|
||||
canManage: boolean;
|
||||
currentUserId: string;
|
||||
}
|
||||
Reference in New Issue
Block a user