-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathtypedef.js
58 lines (54 loc) · 1.44 KB
/
typedef.js
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
/**
* @typedef StatsDto
* @type {Object}
* @property {number} CHALLENGER
* @property {number} BRONZE
* @property {number} GOLD
* @property {number} MASTER
* @property {number} GRANDMASTER
* @property {number} SILVER
* @property {number} DIAMOND
* @property {number} PLATINUM
* @property {number} IRON
*/
/**
* @typedef TranslationDto
* @type {Object}
* @property {string} description
* @property {string} name
* @property {string} shortDescription
*/
/**
* @typedef TagsDto
* @type {Object}
* @property {string} isCapstone
* @property {string} source
*/
/**
* @typedef ChallengeDto
* @type {Object}
* @property {number} id
* @property {string} state
* @property {boolean} leaderboard
* @property {Array.<StatsDto>} thresholds
* @property {TranslationDto} translation
* @property {boolean} reversed
* @property {Array.<number>} queueIds
* @property {TagsDto} tags
* @property {string} parent
* @property {string} parentCategory
* @property {Array.<StatsDto>} percentiles
* @property {Array.<number>} leaderboardThresholds
*/
/**
* @typedef TitleDto
* @type {Object}
* @property {string} type
* @property {string} title
* @property {number} percentile
* @property {number} icon
* @property {string} challenge
* @property {string} description
* @property {number} threshold
* @property {string} cid
*/