rategame-shared 1.1.539 → 1.1.540
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 +2 -0
- package/dist/index.js +2 -0
- package/dist/models/series.d.ts +4 -0
- package/dist/models/series.js +2 -0
- package/dist/schemas/communityGame.d.ts +4 -4
- package/dist/schemas/game.d.ts +219 -0
- package/dist/schemas/game.js +6 -0
- package/dist/schemas/pick.d.ts +558 -0
- package/dist/schemas/player.d.ts +10 -10
- package/dist/schemas/playerStats.d.ts +4 -4
- package/dist/schemas/poll.d.ts +20 -14
- package/dist/schemas/scorePrediction.d.ts +432 -0
- package/dist/schemas/series.d.ts +268 -0
- package/dist/schemas/series.js +48 -0
- package/dist/schemas/stadium.d.ts +32 -0
- package/dist/schemas/stadium.js +2 -0
- package/dist/schemas/voting.d.ts +178 -88
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export * from "./schemas/user";
|
|
2
2
|
export * from "./schemas/rating";
|
|
3
3
|
export * from "./schemas/game";
|
|
4
|
+
export * from "./schemas/series";
|
|
4
5
|
export * from "./schemas/team";
|
|
5
6
|
export * from "./schemas/notification";
|
|
6
7
|
export * from "./schemas/chat";
|
|
@@ -33,6 +34,7 @@ export * from "./schemas/pollPrediction";
|
|
|
33
34
|
export * from "./models/user";
|
|
34
35
|
export * from "./models/rating";
|
|
35
36
|
export * from "./models/game";
|
|
37
|
+
export * from "./models/series";
|
|
36
38
|
export * from "./models/team";
|
|
37
39
|
export * from "./models/notification";
|
|
38
40
|
export * from "./models/chat";
|
package/dist/index.js
CHANGED
|
@@ -17,6 +17,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
17
17
|
__exportStar(require("./schemas/user"), exports);
|
|
18
18
|
__exportStar(require("./schemas/rating"), exports);
|
|
19
19
|
__exportStar(require("./schemas/game"), exports);
|
|
20
|
+
__exportStar(require("./schemas/series"), exports);
|
|
20
21
|
__exportStar(require("./schemas/team"), exports);
|
|
21
22
|
__exportStar(require("./schemas/notification"), exports);
|
|
22
23
|
__exportStar(require("./schemas/chat"), exports);
|
|
@@ -49,6 +50,7 @@ __exportStar(require("./schemas/pollPrediction"), exports);
|
|
|
49
50
|
__exportStar(require("./models/user"), exports);
|
|
50
51
|
__exportStar(require("./models/rating"), exports);
|
|
51
52
|
__exportStar(require("./models/game"), exports);
|
|
53
|
+
__exportStar(require("./models/series"), exports);
|
|
52
54
|
__exportStar(require("./models/team"), exports);
|
|
53
55
|
__exportStar(require("./models/notification"), exports);
|
|
54
56
|
__exportStar(require("./models/chat"), exports);
|
|
@@ -1180,7 +1180,7 @@ export declare const createCommunityGameSchema: z.ZodObject<{
|
|
|
1180
1180
|
}>, "many">;
|
|
1181
1181
|
saveToTeamRoster: z.ZodOptional<z.ZodBoolean>;
|
|
1182
1182
|
}, "strip", z.ZodTypeAny, {
|
|
1183
|
-
teamSide: "
|
|
1183
|
+
teamSide: "away" | "home";
|
|
1184
1184
|
players: {
|
|
1185
1185
|
position: string;
|
|
1186
1186
|
firstName: string;
|
|
@@ -1192,7 +1192,7 @@ export declare const createCommunityGameSchema: z.ZodObject<{
|
|
|
1192
1192
|
}[];
|
|
1193
1193
|
saveToTeamRoster?: boolean | undefined;
|
|
1194
1194
|
}, {
|
|
1195
|
-
teamSide: "
|
|
1195
|
+
teamSide: "away" | "home";
|
|
1196
1196
|
players: {
|
|
1197
1197
|
position: string;
|
|
1198
1198
|
firstName: string;
|
|
@@ -1346,7 +1346,7 @@ export declare const createCommunityGameSchema: z.ZodObject<{
|
|
|
1346
1346
|
roundName?: string | undefined;
|
|
1347
1347
|
classicGame?: boolean | undefined;
|
|
1348
1348
|
rosters?: {
|
|
1349
|
-
teamSide: "
|
|
1349
|
+
teamSide: "away" | "home";
|
|
1350
1350
|
players: {
|
|
1351
1351
|
position: string;
|
|
1352
1352
|
firstName: string;
|
|
@@ -1500,7 +1500,7 @@ export declare const createCommunityGameSchema: z.ZodObject<{
|
|
|
1500
1500
|
roundName?: string | undefined;
|
|
1501
1501
|
classicGame?: boolean | undefined;
|
|
1502
1502
|
rosters?: {
|
|
1503
|
-
teamSide: "
|
|
1503
|
+
teamSide: "away" | "home";
|
|
1504
1504
|
players: {
|
|
1505
1505
|
position: string;
|
|
1506
1506
|
firstName: string;
|