rategame-shared 1.1.510 → 1.1.511

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 CHANGED
@@ -11,6 +11,7 @@ export * from "./schemas/saved";
11
11
  export * from "./schemas/moderation";
12
12
  export * from "./schemas/userEvent";
13
13
  export * from "./schemas/player";
14
+ export * from "./schemas/playerStats";
14
15
  export * from "./schemas/voting";
15
16
  export * from "./schemas/stadium";
16
17
  export * from "./schemas/experience";
package/dist/index.js CHANGED
@@ -27,6 +27,7 @@ __exportStar(require("./schemas/saved"), exports);
27
27
  __exportStar(require("./schemas/moderation"), exports);
28
28
  __exportStar(require("./schemas/userEvent"), exports);
29
29
  __exportStar(require("./schemas/player"), exports);
30
+ __exportStar(require("./schemas/playerStats"), exports);
30
31
  __exportStar(require("./schemas/voting"), exports);
31
32
  __exportStar(require("./schemas/stadium"), exports);
32
33
  __exportStar(require("./schemas/experience"), exports);
@@ -1,3 +1,14 @@
1
+ import { z } from "zod";
2
+ import { nbaPlayerSnapshotStatsSchema, wnbaPlayerSnapshotStatsSchema, collegeBasketballPlayerSnapshotStatsSchema, nflPlayerSnapshotStatsSchema, collegeFootballPlayerSnapshotStatsSchema, mlbPlayerSnapshotStatsSchema, nhlPlayerSnapshotStatsSchema, soccerPlayerSnapshotStatsSchema, playerSnapshotStatsSchema } from "../schemas/playerStats";
3
+ export type NBAPlayerSnapshotStats = z.infer<typeof nbaPlayerSnapshotStatsSchema>;
4
+ export type WNBAPlayerSnapshotStats = z.infer<typeof wnbaPlayerSnapshotStatsSchema>;
5
+ export type CollegeBasketballPlayerSnapshotStats = z.infer<typeof collegeBasketballPlayerSnapshotStatsSchema>;
6
+ export type NFLPlayerSnapshotStats = z.infer<typeof nflPlayerSnapshotStatsSchema>;
7
+ export type CollegeFootballPlayerSnapshotStats = z.infer<typeof collegeFootballPlayerSnapshotStatsSchema>;
8
+ export type MLBPlayerSnapshotStats = z.infer<typeof mlbPlayerSnapshotStatsSchema>;
9
+ export type NHLPlayerSnapshotStats = z.infer<typeof nhlPlayerSnapshotStatsSchema>;
10
+ export type SoccerPlayerSnapshotStats = z.infer<typeof soccerPlayerSnapshotStatsSchema>;
11
+ export type PlayerSnapshotStats = z.infer<typeof playerSnapshotStatsSchema>;
1
12
  export type PlayerStatValue = string | number | boolean | null;
2
13
  export interface PlayerStatsColumn {
3
14
  key: string;