new api structure

This commit is contained in:
2025-09-09 16:48:34 -04:00
parent 8a38d0ecc1
commit f35e213963
3 changed files with 13 additions and 47 deletions
+4 -4
View File
@@ -16,11 +16,9 @@ interface NFLAPIData {
users: SleeperUser[];
}
interface NFLMatchupState {
owner: SleeperUser;
points: number;
players: string[];
playerInfo: NFLPlayer[];
starters: string[];
owner: SleeperUser;
starters: NFLPlayer[];
starters_points: number[];
players_points: object;
}
@@ -32,10 +30,12 @@ interface NFLState {
interface NFLPlayer {
last_name: string;
injury_status: string | null;
abv_name: string;
position: string;
full_name: string;
team: string;
player_id: string;
points: number;
}
interface SleeperUser {
avatar: string;