rategame-shared 1.1.171 → 1.1.173
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 +3 -3
- package/dist/models/game.d.ts +2 -1
- package/dist/schemas/game.d.ts +669 -90
- package/dist/schemas/game.js +9 -10
- package/dist/schemas/rating.d.ts +3 -3
- package/dist/schemas/team.d.ts +7 -7
- package/dist/schemas/user.d.ts +8 -8
- package/dist/schemas/user.js +1 -1
- package/package.json +1 -1
package/dist/helpers/index.js
CHANGED
|
@@ -367,9 +367,9 @@ exports.achievementsMap = {
|
|
|
367
367
|
type: "league",
|
|
368
368
|
league: "epl",
|
|
369
369
|
},
|
|
370
|
-
|
|
371
|
-
id: "
|
|
372
|
-
name: "Super
|
|
370
|
+
super_mario: {
|
|
371
|
+
id: "super_mario",
|
|
372
|
+
name: "Super Mario",
|
|
373
373
|
description: "Rate 260 EPL games.",
|
|
374
374
|
type: "league",
|
|
375
375
|
league: "epl",
|
package/dist/models/game.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
|
-
import { basketballGameSchema, cfbGameSchema, creatorPickSchema, footballGameSchema, gameRatingAggregateSchema, gameSchema, gameTeamSchema, mlbGameSchema, nflGameSchema, nhlGameSchema, searchGameSchema, unionGameSchema, weightedRatingAggregateOptionsSchema, weightedRatingAggregateSchema } from "../schemas/game";
|
|
2
|
+
import { basketballGameSchema, cfbGameSchema, creatorPickSchema, footballGameSchema, gameRatingAggregateSchema, gameSchema, gameTeamSchema, groupedRatingAggregateSchema, mlbGameSchema, nflGameSchema, nhlGameSchema, searchGameSchema, unionGameSchema, weightedRatingAggregateOptionsSchema, weightedRatingAggregateSchema } from "../schemas/game";
|
|
3
3
|
export type Game = z.infer<typeof gameSchema>;
|
|
4
4
|
export type BasketballGame = z.infer<typeof basketballGameSchema>;
|
|
5
5
|
export type MLBGame = z.infer<typeof mlbGameSchema>;
|
|
@@ -14,3 +14,4 @@ export type NHLGame = z.infer<typeof nhlGameSchema>;
|
|
|
14
14
|
export type CreatorPick = z.infer<typeof creatorPickSchema>;
|
|
15
15
|
export type WeightedRatingAggregate = z.infer<typeof weightedRatingAggregateSchema>;
|
|
16
16
|
export type WeightedRatingAggregateOptions = z.infer<typeof weightedRatingAggregateOptionsSchema>;
|
|
17
|
+
export type GroupedRatingsAggregate = z.infer<typeof groupedRatingAggregateSchema>;
|