t00-multiuser/server/models/home/HomeViewModel.ts

15 lines
503 B
TypeScript
Raw Normal View History

2024-10-08 11:04:46 +01:00
import Badge from "../../entities/Badge";
import FunkyArray from "funky-array";
2024-09-19 00:41:40 +01:00
import Party from "../../entities/Party";
import User from "../../entities/User";
2024-10-08 09:41:47 +01:00
import UserBadge from "../../entities/UserBadge";
2024-09-19 00:41:40 +01:00
import UserParty from "../../entities/UserParty";
export default interface HomeViewModel {
user: User,
parties: Array<Party>,
2024-10-08 09:41:47 +01:00
activeUserParty: UserParty | null,
2024-10-08 11:04:46 +01:00
unlockedBadges: Array<UserBadge>,
unlockedBadgesById: FunkyArray<number, UserBadge>,
badgeById: FunkyArray<number, Badge>
2024-09-19 00:41:40 +01:00
}