Newer
Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
import { City, Component, Media, QuestionAnswer, QuestionType } from './ApiModels'
export interface RichCompetition {
name: string
id: number
year: number
city: City
slides: RichSlide[]
teams: RichTeam[]
}
export interface RichSlide {
id: number
order: number
timer: number
title: string
competition_id: number
question: RichQuestion[]
components: Component[]
medias: Media[]
}
export interface RichTeam {
id: number
name: string
question_answers: QuestionAnswer[]
competition_id: number
}
export interface RichQuestion {
id: number
slide_id: number
name: string
title: string
total_score: number
question_type: QuestionType
}