rategame-shared 1.1.152 → 1.1.154
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/helpers/index.js +98 -30
- package/dist/schemas/game.d.ts +620 -620
- package/dist/schemas/rating.d.ts +93 -93
- package/dist/schemas/team.d.ts +217 -217
- package/dist/schemas/user.d.ts +152 -152
- package/dist/schemas/user.js +18 -12
- package/package.json +1 -1
package/dist/helpers/index.js
CHANGED
|
@@ -26,9 +26,9 @@ exports.achievementsMap = {
|
|
|
26
26
|
gold: { threshold: 50 },
|
|
27
27
|
},
|
|
28
28
|
},
|
|
29
|
-
|
|
30
|
-
id: "
|
|
31
|
-
name: "
|
|
29
|
+
take_this: {
|
|
30
|
+
id: "take_this",
|
|
31
|
+
name: "Take This",
|
|
32
32
|
description: "Get likes on a single rating.",
|
|
33
33
|
tiers: {
|
|
34
34
|
bronze: { threshold: 10 },
|
|
@@ -36,9 +36,9 @@ exports.achievementsMap = {
|
|
|
36
36
|
gold: { threshold: 50 },
|
|
37
37
|
},
|
|
38
38
|
},
|
|
39
|
-
|
|
40
|
-
id: "
|
|
41
|
-
name: "
|
|
39
|
+
front_runner: {
|
|
40
|
+
id: "front_runner",
|
|
41
|
+
name: "Front Runner",
|
|
42
42
|
description: "Rate games where your favorite team wins.",
|
|
43
43
|
tiers: {
|
|
44
44
|
bronze: { threshold: 10 },
|
|
@@ -46,19 +46,19 @@ exports.achievementsMap = {
|
|
|
46
46
|
gold: { threshold: 50 },
|
|
47
47
|
},
|
|
48
48
|
},
|
|
49
|
-
|
|
50
|
-
id: "
|
|
51
|
-
name: "Loyal
|
|
52
|
-
description: "Rate games where your favorite team
|
|
49
|
+
loyal_till_the_end: {
|
|
50
|
+
id: "loyal_till_the_end",
|
|
51
|
+
name: "Loyal Till the End",
|
|
52
|
+
description: "Rate games where your favorite team losses.",
|
|
53
53
|
tiers: {
|
|
54
54
|
bronze: { threshold: 10 },
|
|
55
55
|
silver: { threshold: 25 },
|
|
56
56
|
gold: { threshold: 50 },
|
|
57
57
|
},
|
|
58
58
|
},
|
|
59
|
-
|
|
60
|
-
id: "
|
|
61
|
-
name: "
|
|
59
|
+
around_the_world: {
|
|
60
|
+
id: "around_the_world",
|
|
61
|
+
name: "Around the World",
|
|
62
62
|
description: "Rate at least one game from all leagues.",
|
|
63
63
|
tiers: {
|
|
64
64
|
bronze: { threshold: 3 },
|
|
@@ -71,14 +71,17 @@ exports.achievementsMap = {
|
|
|
71
71
|
name: "Superfan",
|
|
72
72
|
description: "Rate every game played by your favorite team in a season.",
|
|
73
73
|
},
|
|
74
|
-
|
|
75
|
-
id: "
|
|
76
|
-
name: "
|
|
74
|
+
"fan-tastic": {
|
|
75
|
+
id: "fan_tastic",
|
|
76
|
+
name: "Fan-Tastic",
|
|
77
77
|
description: "Select your favorite teams in the app.",
|
|
78
|
+
tiers: {
|
|
79
|
+
gold: { threshold: 3 },
|
|
80
|
+
},
|
|
78
81
|
},
|
|
79
|
-
|
|
80
|
-
id: "
|
|
81
|
-
name: "Marathon
|
|
82
|
+
marathon_fan: {
|
|
83
|
+
id: "marathon_fan",
|
|
84
|
+
name: "Marathon Fan",
|
|
82
85
|
description: "Rate games in a single day.",
|
|
83
86
|
tiers: {
|
|
84
87
|
bronze: { threshold: 5 },
|
|
@@ -96,14 +99,9 @@ exports.achievementsMap = {
|
|
|
96
99
|
gold: { threshold: 10 },
|
|
97
100
|
},
|
|
98
101
|
},
|
|
99
|
-
|
|
100
|
-
id: "
|
|
101
|
-
name: "
|
|
102
|
-
description: "Rate every game of a championship series.",
|
|
103
|
-
},
|
|
104
|
-
summer_sports_fan: {
|
|
105
|
-
id: "summer_sports_fan",
|
|
106
|
-
name: "Summer Sports Fan",
|
|
102
|
+
dog_days_of_summer: {
|
|
103
|
+
id: "dog_days_of_summer",
|
|
104
|
+
name: "Dog Days of Summer",
|
|
107
105
|
description: "Rate games during the off-season of most leagues.",
|
|
108
106
|
tiers: {
|
|
109
107
|
bronze: { threshold: 20 },
|
|
@@ -111,9 +109,79 @@ exports.achievementsMap = {
|
|
|
111
109
|
gold: { threshold: 100 },
|
|
112
110
|
},
|
|
113
111
|
},
|
|
114
|
-
|
|
115
|
-
id: "
|
|
116
|
-
name: "
|
|
112
|
+
"50_50_club": {
|
|
113
|
+
id: "50_50_club",
|
|
114
|
+
name: "50/50 Club",
|
|
117
115
|
description: "Rate at least 50% of all games in a single season for one league.",
|
|
118
116
|
},
|
|
117
|
+
take_off: {
|
|
118
|
+
id: "take_off",
|
|
119
|
+
name: "Take Off",
|
|
120
|
+
description: "Rate games from every league with a take.",
|
|
121
|
+
tiers: {
|
|
122
|
+
bronze: { threshold: 3 },
|
|
123
|
+
silver: { threshold: 5 },
|
|
124
|
+
gold: { threshold: 8 },
|
|
125
|
+
},
|
|
126
|
+
},
|
|
127
|
+
embrace_debate: {
|
|
128
|
+
id: "embrace_debate",
|
|
129
|
+
name: "Embrace Debate",
|
|
130
|
+
description: "Reply to takes.",
|
|
131
|
+
tiers: {
|
|
132
|
+
bronze: { threshold: 10 },
|
|
133
|
+
silver: { threshold: 50 },
|
|
134
|
+
gold: { threshold: 100 },
|
|
135
|
+
},
|
|
136
|
+
},
|
|
137
|
+
fan_of_the_people: {
|
|
138
|
+
id: "fan_of_the_people",
|
|
139
|
+
name: "Fan of the People",
|
|
140
|
+
description: "Get Followers.",
|
|
141
|
+
tiers: {
|
|
142
|
+
bronze: { threshold: 10 },
|
|
143
|
+
silver: { threshold: 50 },
|
|
144
|
+
gold: { threshold: 100 },
|
|
145
|
+
},
|
|
146
|
+
},
|
|
147
|
+
the_peoples_fan: {
|
|
148
|
+
id: "the_peoples_fan",
|
|
149
|
+
name: "The People's Fan",
|
|
150
|
+
description: "Follow other fans.",
|
|
151
|
+
tiers: {
|
|
152
|
+
bronze: { threshold: 10 },
|
|
153
|
+
silver: { threshold: 50 },
|
|
154
|
+
gold: { threshold: 100 },
|
|
155
|
+
},
|
|
156
|
+
},
|
|
157
|
+
take_titan: {
|
|
158
|
+
id: "take_titan",
|
|
159
|
+
name: "Take Titan",
|
|
160
|
+
description: "Rate games with a takes across all leagues.",
|
|
161
|
+
tiers: {
|
|
162
|
+
bronze: { threshold: 100 },
|
|
163
|
+
silver: { threshold: 500 },
|
|
164
|
+
gold: { threshold: 1000 },
|
|
165
|
+
},
|
|
166
|
+
},
|
|
167
|
+
take_first: {
|
|
168
|
+
id: "take_first",
|
|
169
|
+
name: "Take First",
|
|
170
|
+
description: "Be the first to rate a game with a take.",
|
|
171
|
+
tiers: {
|
|
172
|
+
bronze: { threshold: 10 },
|
|
173
|
+
silver: { threshold: 50 },
|
|
174
|
+
gold: { threshold: 100 },
|
|
175
|
+
},
|
|
176
|
+
},
|
|
177
|
+
hall_of_takes: {
|
|
178
|
+
id: "hall_of_takes",
|
|
179
|
+
name: "Hall of Takes",
|
|
180
|
+
description: "Accumulate agrees across all takes.",
|
|
181
|
+
tiers: {
|
|
182
|
+
bronze: { threshold: 100 },
|
|
183
|
+
silver: { threshold: 500 },
|
|
184
|
+
gold: { threshold: 1000 },
|
|
185
|
+
},
|
|
186
|
+
},
|
|
119
187
|
};
|