view data fixes
This commit is contained in:
@@ -1,18 +1,11 @@
|
||||
import type { StandingEntryViewData } from './StandingEntryViewData';
|
||||
|
||||
|
||||
export interface DriverData {
|
||||
id: string;
|
||||
name: string;
|
||||
avatarUrl: string | null;
|
||||
iracingId?: string;
|
||||
rating?: number;
|
||||
country?: string;
|
||||
/**
|
||||
* ViewData for LeagueStandings
|
||||
* This is the JSON-serializable input for the Template.
|
||||
*/
|
||||
export interface LeagueStandingsViewData {
|
||||
standings: StandingEntryViewData[];
|
||||
drivers: any[];
|
||||
memberships: any[];
|
||||
}
|
||||
|
||||
export interface LeagueMembershipData {
|
||||
driverId: string;
|
||||
leagueId: string;
|
||||
role: 'owner' | 'admin' | 'steward' | 'member';
|
||||
joinedAt: string;
|
||||
status: 'active' | 'pending' | 'banned';
|
||||
}
|
||||
Reference in New Issue
Block a user