fantasyyyyy :pppp
This commit is contained in:
+36
-1
@@ -12,4 +12,39 @@ type LastFMImageObject = {
|
||||
"#text": string;
|
||||
};
|
||||
|
||||
export type { LastFMMusicObject, LastFMImageObject };
|
||||
// nfl stuff
|
||||
interface NFLState {
|
||||
week: number;
|
||||
season_type: "pre" | "post" | "regular";
|
||||
display_week: number;
|
||||
}
|
||||
interface NFLRosterState {
|
||||
league_id: string;
|
||||
owner_id: string;
|
||||
players: string[];
|
||||
starters: string[];
|
||||
}
|
||||
interface NFLMatchupState {
|
||||
points: number;
|
||||
players: string[];
|
||||
starters: string[];
|
||||
starters_points: number[];
|
||||
players_points: object;
|
||||
}
|
||||
interface NFLPlayer {
|
||||
last_name: string;
|
||||
injury_status: string | null;
|
||||
position: string;
|
||||
full_name: string;
|
||||
team: string;
|
||||
player_id: string;
|
||||
}
|
||||
|
||||
export type {
|
||||
LastFMMusicObject,
|
||||
LastFMImageObject,
|
||||
NFLState,
|
||||
NFLRosterState,
|
||||
NFLPlayer,
|
||||
NFLMatchupState,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user