70 lines
1.2 KiB
TypeScript
70 lines
1.2 KiB
TypeScript
export interface Game {
|
|
id: number
|
|
title: string
|
|
gamemaster: string
|
|
payoutEB: number
|
|
payoutIP: number
|
|
payoutLoot: string
|
|
status: string
|
|
postdate: number
|
|
pickedCharacter?: Character[]
|
|
appliedCharacter?: Character[]
|
|
}
|
|
|
|
export interface Character {
|
|
id: number
|
|
characterName: string
|
|
playerName: string
|
|
role: string
|
|
status: string
|
|
lastGame: number
|
|
creationDate: number
|
|
}
|
|
|
|
export interface DmStats {
|
|
name: string
|
|
gameCount: string
|
|
lastGame: number
|
|
games: Game
|
|
}
|
|
|
|
export interface GameStats {
|
|
Complete: number
|
|
Postponed: number
|
|
Pending: number
|
|
Fixes: number
|
|
Events: number
|
|
AverageIP: number
|
|
AverageEB: number
|
|
TotalIP: number
|
|
TotalEB: number
|
|
}
|
|
|
|
export interface GameCounts {
|
|
apps: number
|
|
picks: number
|
|
active: number
|
|
}
|
|
|
|
export interface GameCharacter {
|
|
characterId: number
|
|
characterName: string
|
|
gameId: number
|
|
gameTite: string
|
|
pickedCharacter?: Character
|
|
appliedCharacter?: Character
|
|
}
|
|
|
|
export interface RoleStats {
|
|
Fixer: GameCounts
|
|
Tech: GameCounts
|
|
Medtech: GameCounts
|
|
Media: GameCounts
|
|
Netrunner: GameCounts
|
|
Solo: GameCounts
|
|
Nomad: GameCounts
|
|
Exec: GameCounts
|
|
Lawman: GameCounts
|
|
Rocker: GameCounts
|
|
}
|