t00-multiuser/server/models/home/HomeViewModel.ts
2024-10-08 11:04:46 +01:00

15 lines
No EOL
503 B
TypeScript

import Badge from "../../entities/Badge";
import FunkyArray from "funky-array";
import Party from "../../entities/Party";
import User from "../../entities/User";
import UserBadge from "../../entities/UserBadge";
import UserParty from "../../entities/UserParty";
export default interface HomeViewModel {
user: User,
parties: Array<Party>,
activeUserParty: UserParty | null,
unlockedBadges: Array<UserBadge>,
unlockedBadgesById: FunkyArray<number, UserBadge>,
badgeById: FunkyArray<number, Badge>
}