rategame-shared 1.1.167 → 1.1.168
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 +0 -82
- package/dist/models/player.d.ts +3 -0
- package/dist/models/player.js +2 -0
- package/dist/schemas/game.d.ts +52 -232
- package/dist/schemas/player.d.ts +32 -0
- package/dist/schemas/player.js +15 -0
- package/dist/schemas/rating.d.ts +3 -30
- package/dist/schemas/rating.js +1 -1
- package/dist/schemas/team.d.ts +2 -65
- package/dist/schemas/user.d.ts +0 -48
- package/dist/schemas/user.js +0 -13
- package/package.json +1 -1
package/dist/helpers/index.js
CHANGED
|
@@ -32,7 +32,6 @@ exports.achievementsMap = {
|
|
|
32
32
|
silver: { threshold: 10 },
|
|
33
33
|
gold: { threshold: 50 },
|
|
34
34
|
},
|
|
35
|
-
type: "global",
|
|
36
35
|
},
|
|
37
36
|
take_this: {
|
|
38
37
|
id: "take_this",
|
|
@@ -43,7 +42,6 @@ exports.achievementsMap = {
|
|
|
43
42
|
silver: { threshold: 25 },
|
|
44
43
|
gold: { threshold: 50 },
|
|
45
44
|
},
|
|
46
|
-
type: "global",
|
|
47
45
|
},
|
|
48
46
|
front_runner: {
|
|
49
47
|
id: "front_runner",
|
|
@@ -54,7 +52,6 @@ exports.achievementsMap = {
|
|
|
54
52
|
silver: { threshold: 25 },
|
|
55
53
|
gold: { threshold: 50 },
|
|
56
54
|
},
|
|
57
|
-
type: "global",
|
|
58
55
|
},
|
|
59
56
|
loyal_till_the_end: {
|
|
60
57
|
id: "loyal_till_the_end",
|
|
@@ -65,7 +62,6 @@ exports.achievementsMap = {
|
|
|
65
62
|
silver: { threshold: 25 },
|
|
66
63
|
gold: { threshold: 50 },
|
|
67
64
|
},
|
|
68
|
-
type: "global",
|
|
69
65
|
},
|
|
70
66
|
around_the_world: {
|
|
71
67
|
id: "around_the_world",
|
|
@@ -76,19 +72,16 @@ exports.achievementsMap = {
|
|
|
76
72
|
silver: { threshold: 5 },
|
|
77
73
|
gold: { threshold: 8 },
|
|
78
74
|
},
|
|
79
|
-
type: "global",
|
|
80
75
|
},
|
|
81
76
|
superfan: {
|
|
82
77
|
id: "superfan",
|
|
83
78
|
name: "Superfan",
|
|
84
79
|
description: "Rate every game played by your favorite team in a season.",
|
|
85
|
-
type: "global",
|
|
86
80
|
},
|
|
87
81
|
"fan-tastic": {
|
|
88
82
|
id: "fan-tastic",
|
|
89
83
|
name: "Fan-Tastic",
|
|
90
84
|
description: "Select your favorite teams in the app(at least 3).",
|
|
91
|
-
type: "global",
|
|
92
85
|
},
|
|
93
86
|
marathon_fan: {
|
|
94
87
|
id: "marathon_fan",
|
|
@@ -99,7 +92,6 @@ exports.achievementsMap = {
|
|
|
99
92
|
silver: { threshold: 10 },
|
|
100
93
|
gold: { threshold: 20 },
|
|
101
94
|
},
|
|
102
|
-
type: "global",
|
|
103
95
|
},
|
|
104
96
|
new_years_resolution: {
|
|
105
97
|
id: "new_years_resolution",
|
|
@@ -110,7 +102,6 @@ exports.achievementsMap = {
|
|
|
110
102
|
silver: { threshold: 5 },
|
|
111
103
|
gold: { threshold: 10 },
|
|
112
104
|
},
|
|
113
|
-
type: "global",
|
|
114
105
|
},
|
|
115
106
|
dog_days_of_summer: {
|
|
116
107
|
id: "dog_days_of_summer",
|
|
@@ -121,13 +112,11 @@ exports.achievementsMap = {
|
|
|
121
112
|
silver: { threshold: 50 },
|
|
122
113
|
gold: { threshold: 100 },
|
|
123
114
|
},
|
|
124
|
-
type: "global",
|
|
125
115
|
},
|
|
126
116
|
"50_50_club": {
|
|
127
117
|
id: "50_50_club",
|
|
128
118
|
name: "50/50 Club",
|
|
129
119
|
description: "Rate at least 50% of all games in a single season for one league.",
|
|
130
|
-
type: "global",
|
|
131
120
|
},
|
|
132
121
|
take_off: {
|
|
133
122
|
id: "take_off",
|
|
@@ -138,7 +127,6 @@ exports.achievementsMap = {
|
|
|
138
127
|
silver: { threshold: 5 },
|
|
139
128
|
gold: { threshold: 8 },
|
|
140
129
|
},
|
|
141
|
-
type: "global",
|
|
142
130
|
},
|
|
143
131
|
embrace_debate: {
|
|
144
132
|
id: "embrace_debate",
|
|
@@ -149,7 +137,6 @@ exports.achievementsMap = {
|
|
|
149
137
|
silver: { threshold: 50 },
|
|
150
138
|
gold: { threshold: 100 },
|
|
151
139
|
},
|
|
152
|
-
type: "global",
|
|
153
140
|
},
|
|
154
141
|
fan_of_the_people: {
|
|
155
142
|
id: "fan_of_the_people",
|
|
@@ -160,7 +147,6 @@ exports.achievementsMap = {
|
|
|
160
147
|
silver: { threshold: 50 },
|
|
161
148
|
gold: { threshold: 100 },
|
|
162
149
|
},
|
|
163
|
-
type: "global",
|
|
164
150
|
},
|
|
165
151
|
the_peoples_fan: {
|
|
166
152
|
id: "the_peoples_fan",
|
|
@@ -171,7 +157,6 @@ exports.achievementsMap = {
|
|
|
171
157
|
silver: { threshold: 50 },
|
|
172
158
|
gold: { threshold: 100 },
|
|
173
159
|
},
|
|
174
|
-
type: "global",
|
|
175
160
|
},
|
|
176
161
|
take_titan: {
|
|
177
162
|
id: "take_titan",
|
|
@@ -182,7 +167,6 @@ exports.achievementsMap = {
|
|
|
182
167
|
silver: { threshold: 500 },
|
|
183
168
|
gold: { threshold: 1000 },
|
|
184
169
|
},
|
|
185
|
-
type: "global",
|
|
186
170
|
},
|
|
187
171
|
take_first: {
|
|
188
172
|
id: "take_first",
|
|
@@ -193,7 +177,6 @@ exports.achievementsMap = {
|
|
|
193
177
|
silver: { threshold: 50 },
|
|
194
178
|
gold: { threshold: 100 },
|
|
195
179
|
},
|
|
196
|
-
type: "global",
|
|
197
180
|
},
|
|
198
181
|
hall_of_takes: {
|
|
199
182
|
id: "hall_of_takes",
|
|
@@ -204,147 +187,106 @@ exports.achievementsMap = {
|
|
|
204
187
|
silver: { threshold: 500 },
|
|
205
188
|
gold: { threshold: 1000 },
|
|
206
189
|
},
|
|
207
|
-
type: "global",
|
|
208
190
|
},
|
|
209
191
|
ball_knower: {
|
|
210
192
|
id: "ball_knower",
|
|
211
193
|
name: "Ball Knower",
|
|
212
194
|
description: "Rate 50 Basketball games.",
|
|
213
|
-
type: "sport",
|
|
214
|
-
sport: "basketball",
|
|
215
195
|
},
|
|
216
196
|
heating_up: {
|
|
217
197
|
id: "heating_up",
|
|
218
198
|
name: "Heating Up",
|
|
219
199
|
description: "Rate 10 Basketball games in 24 hours.",
|
|
220
|
-
type: "sport",
|
|
221
|
-
sport: "basketball",
|
|
222
200
|
},
|
|
223
201
|
full_court_press: {
|
|
224
202
|
id: "full_court_press",
|
|
225
203
|
name: "Full Court Press",
|
|
226
204
|
description: "Rate a game from every single NBA team.",
|
|
227
|
-
type: "sport",
|
|
228
|
-
sport: "basketball",
|
|
229
205
|
},
|
|
230
206
|
grid_iron_guru: {
|
|
231
207
|
id: "grid_iron_guru",
|
|
232
208
|
name: "Grid Iron Guru",
|
|
233
209
|
description: "Rate 50 Football games.",
|
|
234
|
-
type: "sport",
|
|
235
|
-
sport: "football",
|
|
236
210
|
},
|
|
237
211
|
across_the_yard: {
|
|
238
212
|
id: "across_the_yard",
|
|
239
213
|
name: "Across the Yard",
|
|
240
214
|
description: "Rate a Football game from every division & conference.",
|
|
241
|
-
type: "sport",
|
|
242
|
-
sport: "football",
|
|
243
215
|
},
|
|
244
216
|
pigskin_power: {
|
|
245
217
|
id: "pigskin_power",
|
|
246
218
|
name: "Pigskin Power",
|
|
247
219
|
description: "Rate an entire season of Football.",
|
|
248
|
-
type: "sport",
|
|
249
|
-
sport: "football",
|
|
250
220
|
},
|
|
251
221
|
goal_getter: {
|
|
252
222
|
id: "goal_getter",
|
|
253
223
|
name: "Goal Getter",
|
|
254
224
|
description: "Rate 50 Soccer games.",
|
|
255
|
-
type: "sport",
|
|
256
|
-
sport: "soccer",
|
|
257
225
|
},
|
|
258
226
|
footie_fanatic: {
|
|
259
227
|
id: "footie_fanatic",
|
|
260
228
|
name: "Footie Fanatic",
|
|
261
229
|
description: "Rate 100 Soccer games.",
|
|
262
|
-
type: "sport",
|
|
263
|
-
sport: "soccer",
|
|
264
230
|
},
|
|
265
231
|
campaign_conqueror: {
|
|
266
232
|
id: "campaign_conqueror",
|
|
267
233
|
name: "Campaign Conqueror",
|
|
268
234
|
description: "Rate an entire season of Soccer.",
|
|
269
|
-
type: "sport",
|
|
270
|
-
sport: "soccer",
|
|
271
235
|
},
|
|
272
236
|
diamond_hands: {
|
|
273
237
|
id: "diamond_hands",
|
|
274
238
|
name: "Diamond Hands",
|
|
275
239
|
description: "Rate 50 Baseball games.",
|
|
276
|
-
type: "sport",
|
|
277
|
-
sport: "baseball",
|
|
278
240
|
},
|
|
279
241
|
field_of_dreams: {
|
|
280
242
|
id: "field_of_dreams",
|
|
281
243
|
name: "Field of Dreams",
|
|
282
244
|
description: "Rate 100 Baseball games.",
|
|
283
|
-
type: "sport",
|
|
284
|
-
sport: "baseball",
|
|
285
245
|
},
|
|
286
246
|
charlie_hustle: {
|
|
287
247
|
id: "charlie_hustle",
|
|
288
248
|
name: "Charlie Hustle",
|
|
289
249
|
description: "Rate an entire season of MLB.",
|
|
290
|
-
type: "sport",
|
|
291
|
-
sport: "baseball",
|
|
292
250
|
},
|
|
293
251
|
power_play: {
|
|
294
252
|
id: "power_play",
|
|
295
253
|
name: "Power Play",
|
|
296
254
|
description: "Rate 50 Hockey games.",
|
|
297
|
-
type: "sport",
|
|
298
|
-
sport: "hockey",
|
|
299
255
|
},
|
|
300
256
|
ice_king: {
|
|
301
257
|
id: "ice_king",
|
|
302
258
|
name: "Ice King",
|
|
303
259
|
description: "Rate 100 Hockey games.",
|
|
304
|
-
type: "sport",
|
|
305
|
-
sport: "hockey",
|
|
306
260
|
},
|
|
307
261
|
marleau_master: {
|
|
308
262
|
id: "marleau_master",
|
|
309
263
|
name: "Marleau Master",
|
|
310
264
|
description: "Rate an entire season of NHL.",
|
|
311
|
-
type: "sport",
|
|
312
|
-
sport: "hockey",
|
|
313
265
|
},
|
|
314
266
|
the_admiral: {
|
|
315
267
|
id: "the_admiral",
|
|
316
268
|
name: "The Admiral",
|
|
317
269
|
description: "Rate 50 College Basketball games.",
|
|
318
|
-
type: "league",
|
|
319
|
-
league: "ncaa",
|
|
320
270
|
},
|
|
321
271
|
the_grateful_red: {
|
|
322
272
|
id: "the_grateful_red",
|
|
323
273
|
name: "The Grateful Red",
|
|
324
274
|
description: "Rate 101 College Basketball games.",
|
|
325
|
-
type: "league",
|
|
326
|
-
league: "ncaa",
|
|
327
275
|
},
|
|
328
276
|
mad_march: {
|
|
329
277
|
id: "mad_march",
|
|
330
278
|
name: "Mad March",
|
|
331
279
|
description: "Rate every March Madness game.",
|
|
332
|
-
type: "league",
|
|
333
|
-
league: "ncaa",
|
|
334
280
|
},
|
|
335
281
|
the_logo: {
|
|
336
282
|
id: "the_logo",
|
|
337
283
|
name: "The Logo",
|
|
338
284
|
description: "Rate 44 NBA games.",
|
|
339
|
-
type: "league",
|
|
340
|
-
league: "nba",
|
|
341
285
|
},
|
|
342
286
|
the_big_dipper: {
|
|
343
287
|
id: "the_big_dipper",
|
|
344
288
|
name: "The Big Dipper",
|
|
345
289
|
description: "Rate 100 NBA games.",
|
|
346
|
-
type: "league",
|
|
347
|
-
league: "nba",
|
|
348
290
|
},
|
|
349
291
|
// the_big_o: {
|
|
350
292
|
// id: "the_big_o",
|
|
@@ -355,84 +297,60 @@ exports.achievementsMap = {
|
|
|
355
297
|
id: "mid_table",
|
|
356
298
|
name: "Mid Table",
|
|
357
299
|
description: "Rate 50 EPL games.",
|
|
358
|
-
type: "league",
|
|
359
|
-
league: "epl",
|
|
360
300
|
},
|
|
361
301
|
fan_of_the_match: {
|
|
362
302
|
id: "fan_of_the_match",
|
|
363
303
|
name: "Fan of the Match",
|
|
364
304
|
description: "Rate 100 EPL games.",
|
|
365
|
-
type: "league",
|
|
366
|
-
league: "epl",
|
|
367
305
|
},
|
|
368
306
|
super_ai: {
|
|
369
307
|
id: "super_ai",
|
|
370
308
|
name: "Super AI",
|
|
371
309
|
description: "Rate 260 EPL games.",
|
|
372
|
-
type: "league",
|
|
373
|
-
league: "epl",
|
|
374
310
|
},
|
|
375
311
|
dick_butkus: {
|
|
376
312
|
id: "dick_butkus",
|
|
377
313
|
name: "Dick Butkus",
|
|
378
314
|
description: "Rate 50 CFB games.",
|
|
379
|
-
type: "league",
|
|
380
|
-
league: "cfb",
|
|
381
315
|
},
|
|
382
316
|
the_kick_six: {
|
|
383
317
|
id: "the_kick_six",
|
|
384
318
|
name: "The Kick Six",
|
|
385
319
|
description: "Rate 100 CFB games.",
|
|
386
|
-
type: "league",
|
|
387
|
-
league: "cfb",
|
|
388
320
|
},
|
|
389
321
|
hit_the_heismann: {
|
|
390
322
|
id: "hit_the_heismann",
|
|
391
323
|
name: "Hit the Heismann",
|
|
392
324
|
description: "Rate an entire season of CFB.",
|
|
393
|
-
type: "league",
|
|
394
|
-
league: "cfb",
|
|
395
325
|
},
|
|
396
326
|
coin_toss: {
|
|
397
327
|
id: "coin_toss",
|
|
398
328
|
name: "Coin Toss",
|
|
399
329
|
description: "Rate 50 NFL games.",
|
|
400
|
-
type: "league",
|
|
401
|
-
league: "nfl",
|
|
402
330
|
},
|
|
403
331
|
golden_jacket: {
|
|
404
332
|
id: "golden_jacket",
|
|
405
333
|
name: "Golden Jacket",
|
|
406
334
|
description: "Rate 100 NFL games.",
|
|
407
|
-
type: "league",
|
|
408
|
-
league: "nfl",
|
|
409
335
|
},
|
|
410
336
|
pop_the_champagne: {
|
|
411
337
|
id: "pop_the_champagne",
|
|
412
338
|
name: "Pop the Champagne",
|
|
413
339
|
description: "Rate an entire season of NFL.",
|
|
414
|
-
type: "league",
|
|
415
|
-
league: "nfl",
|
|
416
340
|
},
|
|
417
341
|
game_grower: {
|
|
418
342
|
id: "game_grower",
|
|
419
343
|
name: "Game Grower",
|
|
420
344
|
description: "Rate 50 MLS games.",
|
|
421
|
-
type: "league",
|
|
422
|
-
league: "mls",
|
|
423
345
|
},
|
|
424
346
|
fandon_donovan: {
|
|
425
347
|
id: "fandon_donovan",
|
|
426
348
|
name: "Fandon Donovan",
|
|
427
349
|
description: "Rate 100 MLS games.",
|
|
428
|
-
type: "league",
|
|
429
|
-
league: "mls",
|
|
430
350
|
},
|
|
431
351
|
soccer_stud: {
|
|
432
352
|
id: "soccer_stud",
|
|
433
353
|
name: "Soccer Stud",
|
|
434
354
|
description: "Rate an entire season of MLS.",
|
|
435
|
-
type: "league",
|
|
436
|
-
league: "mls",
|
|
437
355
|
},
|
|
438
356
|
};
|