rategame-shared 1.1.339 → 1.1.341
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/index.d.ts +3 -0
- package/dist/index.js +3 -0
- package/dist/models/communityGame.d.ts +15 -0
- package/dist/models/communityGame.js +2 -0
- package/dist/models/game.d.ts +4 -1
- package/dist/schemas/communityGame.d.ts +1501 -0
- package/dist/schemas/communityGame.js +140 -0
- package/dist/schemas/game.d.ts +260 -122
- package/dist/schemas/game.js +6 -2
- package/dist/schemas/notification.d.ts +21 -7
- package/dist/schemas/pick.d.ts +536 -248
- package/dist/schemas/rating.d.ts +39 -13
- package/dist/schemas/rating.js +4 -1
- package/dist/schemas/sharedTypes.d.ts +1 -0
- package/dist/schemas/sharedTypes.js +9 -1
- package/dist/schemas/voting.d.ts +112 -52
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -15,6 +15,8 @@ export * from "./schemas/stadium";
|
|
|
15
15
|
export * from "./schemas/experience";
|
|
16
16
|
export * from "./schemas/content";
|
|
17
17
|
export * from "./schemas/pick";
|
|
18
|
+
export * from "./schemas/communityGame";
|
|
19
|
+
export * from "./schemas/sharedTypes";
|
|
18
20
|
export * from "./models/user";
|
|
19
21
|
export * from "./models/rating";
|
|
20
22
|
export * from "./models/game";
|
|
@@ -33,4 +35,5 @@ export * from "./models/voting";
|
|
|
33
35
|
export * from "./models/stadium";
|
|
34
36
|
export * from "./models/experience";
|
|
35
37
|
export * from "./models/pick";
|
|
38
|
+
export * from "./models/communityGame";
|
|
36
39
|
export * from "./constants";
|
package/dist/index.js
CHANGED
|
@@ -31,6 +31,8 @@ __exportStar(require("./schemas/stadium"), exports);
|
|
|
31
31
|
__exportStar(require("./schemas/experience"), exports);
|
|
32
32
|
__exportStar(require("./schemas/content"), exports);
|
|
33
33
|
__exportStar(require("./schemas/pick"), exports);
|
|
34
|
+
__exportStar(require("./schemas/communityGame"), exports);
|
|
35
|
+
__exportStar(require("./schemas/sharedTypes"), exports);
|
|
34
36
|
__exportStar(require("./models/user"), exports);
|
|
35
37
|
__exportStar(require("./models/rating"), exports);
|
|
36
38
|
__exportStar(require("./models/game"), exports);
|
|
@@ -49,4 +51,5 @@ __exportStar(require("./models/voting"), exports);
|
|
|
49
51
|
__exportStar(require("./models/stadium"), exports);
|
|
50
52
|
__exportStar(require("./models/experience"), exports);
|
|
51
53
|
__exportStar(require("./models/pick"), exports);
|
|
54
|
+
__exportStar(require("./models/communityGame"), exports);
|
|
52
55
|
__exportStar(require("./constants"), exports);
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
import { basketballBoxScoreSchema, baseballBoxScoreSchema, boxScoreSchema, communityGameResponseSchema, communityGameStadiumSchema, communityGameTeamSchema, communityLeagueSchema, createCommunityGameSchema, createCommunityStadiumSchema, createCommunityTeamSchema, footballBoxScoreSchema, hockeyBoxScoreSchema, soccerBoxScoreSchema } from "../schemas/communityGame";
|
|
3
|
+
export type CreateCommunityTeam = z.infer<typeof createCommunityTeamSchema>;
|
|
4
|
+
export type CreateCommunityStadium = z.infer<typeof createCommunityStadiumSchema>;
|
|
5
|
+
export type BasketballBoxScore = z.infer<typeof basketballBoxScoreSchema>;
|
|
6
|
+
export type BaseballBoxScore = z.infer<typeof baseballBoxScoreSchema>;
|
|
7
|
+
export type HockeyBoxScore = z.infer<typeof hockeyBoxScoreSchema>;
|
|
8
|
+
export type SoccerBoxScore = z.infer<typeof soccerBoxScoreSchema>;
|
|
9
|
+
export type FootballBoxScore = z.infer<typeof footballBoxScoreSchema>;
|
|
10
|
+
export type BoxScore = z.infer<typeof boxScoreSchema>;
|
|
11
|
+
export type CommunityGameTeam = z.infer<typeof communityGameTeamSchema>;
|
|
12
|
+
export type CommunityGameStadium = z.infer<typeof communityGameStadiumSchema>;
|
|
13
|
+
export type CreateCommunityGame = z.infer<typeof createCommunityGameSchema>;
|
|
14
|
+
export type CommunityGameResponse = z.infer<typeof communityGameResponseSchema>;
|
|
15
|
+
export type CommunityLeague = z.infer<typeof communityLeagueSchema>;
|
package/dist/models/game.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
|
-
import { basketballGameSchema, cfbGameSchema, creatorPickSchema, footballGameSchema, gameRatingAggregateSchema, gameSchema, gameTeamSchema, groupedRatingAggregateSchema, mlbGameSchema, nflGameSchema, nhlGameSchema, overviewSchema, searchGameSchema, unionGameSchema, weightedRatingAggregateOptionsSchema, weightedRatingAggregateSchema } from "../schemas/game";
|
|
2
|
+
import { basketballGameSchema, cfbGameSchema, commonGameSchema, creatorPickSchema, footballGameSchema, gameRatingAggregateSchema, gameSchema, gameTeamSchema, groupedRatingAggregateSchema, mlbGameSchema, nflGameSchema, nhlGameSchema, overviewSchema, searchGameSchema, unionGameSchema, weightedRatingAggregateOptionsSchema, weightedRatingAggregateSchema } from "../schemas/game";
|
|
3
|
+
import { sportType } from "../schemas/sharedTypes";
|
|
3
4
|
export type Game = z.infer<typeof gameSchema>;
|
|
4
5
|
export type BasketballGame = z.infer<typeof basketballGameSchema>;
|
|
5
6
|
export type MLBGame = z.infer<typeof mlbGameSchema>;
|
|
@@ -16,3 +17,5 @@ export type WeightedRatingAggregate = z.infer<typeof weightedRatingAggregateSche
|
|
|
16
17
|
export type WeightedRatingAggregateOptions = z.infer<typeof weightedRatingAggregateOptionsSchema>;
|
|
17
18
|
export type GroupedRatingsAggregate = z.infer<typeof groupedRatingAggregateSchema>;
|
|
18
19
|
export type OverviewStats = z.infer<typeof overviewSchema>;
|
|
20
|
+
export type SportType = z.infer<typeof sportType>;
|
|
21
|
+
export type CommonGame = z.infer<typeof commonGameSchema>;
|