fantasyyyyy :pppp

This commit is contained in:
2025-09-06 20:36:45 -04:00
parent 9522a93e38
commit dfef5740f7
6 changed files with 178 additions and 3 deletions
+36 -1
View File
@@ -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,
};