import {Sporthal} from "../sporthallen/types"; import {Poule} from "../poules/types"; export type Wedstrijd = { code: number datum?: Date dwf_url: string lengte: number status: string tijd?: Date wedstrijdcode: string setstanden: SetStand[] uitslag: Uitslag _embedded: { sporthal: Sporthal, speelveld: SpeelVeld, poule: Poule } } export type SpeelVeld = { aanduiding: string code: number type_centercourt: boolean type_cmv: boolean type_halfcourt: boolean type_normaal: boolean _embedded: { sporthal: Sporthal } } export type SetStand = { punten_a: number punten_b: number set: number } export type Uitslag = { punten_a: number punten_b: number sets_a: number sets_b: number }