rategame-shared 1.1.48 → 1.1.50

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.
@@ -1121,6 +1121,7 @@ export declare const eplGameSchema: z.ZodObject<z.objectUtil.extendShape<{
1121
1121
  scorePeriod2: z.ZodNumber;
1122
1122
  scoreExtraTime: z.ZodNumber;
1123
1123
  scorePenalty: z.ZodNumber;
1124
+ venueName: z.ZodOptional<z.ZodString>;
1124
1125
  }>, "strip", z.ZodTypeAny, {
1125
1126
  name: string;
1126
1127
  image: string;
@@ -1134,6 +1135,7 @@ export declare const eplGameSchema: z.ZodObject<z.objectUtil.extendShape<{
1134
1135
  isWinner?: boolean | undefined;
1135
1136
  seed?: number | undefined;
1136
1137
  teamCode?: string | undefined;
1138
+ venueName?: string | undefined;
1137
1139
  }, {
1138
1140
  name: string;
1139
1141
  image: string;
@@ -1147,6 +1149,7 @@ export declare const eplGameSchema: z.ZodObject<z.objectUtil.extendShape<{
1147
1149
  isWinner?: boolean | undefined;
1148
1150
  seed?: number | undefined;
1149
1151
  teamCode?: string | undefined;
1152
+ venueName?: string | undefined;
1150
1153
  }>;
1151
1154
  awayTeam: z.ZodObject<z.objectUtil.extendShape<{
1152
1155
  id: z.ZodOptional<z.ZodString>;
@@ -1162,6 +1165,7 @@ export declare const eplGameSchema: z.ZodObject<z.objectUtil.extendShape<{
1162
1165
  scorePeriod2: z.ZodNumber;
1163
1166
  scoreExtraTime: z.ZodNumber;
1164
1167
  scorePenalty: z.ZodNumber;
1168
+ venueName: z.ZodOptional<z.ZodString>;
1165
1169
  }>, "strip", z.ZodTypeAny, {
1166
1170
  name: string;
1167
1171
  image: string;
@@ -1175,6 +1179,7 @@ export declare const eplGameSchema: z.ZodObject<z.objectUtil.extendShape<{
1175
1179
  isWinner?: boolean | undefined;
1176
1180
  seed?: number | undefined;
1177
1181
  teamCode?: string | undefined;
1182
+ venueName?: string | undefined;
1178
1183
  }, {
1179
1184
  name: string;
1180
1185
  image: string;
@@ -1188,6 +1193,7 @@ export declare const eplGameSchema: z.ZodObject<z.objectUtil.extendShape<{
1188
1193
  isWinner?: boolean | undefined;
1189
1194
  seed?: number | undefined;
1190
1195
  teamCode?: string | undefined;
1196
+ venueName?: string | undefined;
1191
1197
  }>;
1192
1198
  }>, "strip", z.ZodTypeAny, {
1193
1199
  status: "live" | "scheduled" | "final";
@@ -1209,6 +1215,7 @@ export declare const eplGameSchema: z.ZodObject<z.objectUtil.extendShape<{
1209
1215
  isWinner?: boolean | undefined;
1210
1216
  seed?: number | undefined;
1211
1217
  teamCode?: string | undefined;
1218
+ venueName?: string | undefined;
1212
1219
  };
1213
1220
  awayTeam: {
1214
1221
  name: string;
@@ -1223,6 +1230,7 @@ export declare const eplGameSchema: z.ZodObject<z.objectUtil.extendShape<{
1223
1230
  isWinner?: boolean | undefined;
1224
1231
  seed?: number | undefined;
1225
1232
  teamCode?: string | undefined;
1233
+ venueName?: string | undefined;
1226
1234
  };
1227
1235
  period: string;
1228
1236
  clock: string;
@@ -1267,6 +1275,7 @@ export declare const eplGameSchema: z.ZodObject<z.objectUtil.extendShape<{
1267
1275
  isWinner?: boolean | undefined;
1268
1276
  seed?: number | undefined;
1269
1277
  teamCode?: string | undefined;
1278
+ venueName?: string | undefined;
1270
1279
  };
1271
1280
  awayTeam: {
1272
1281
  name: string;
@@ -1281,6 +1290,7 @@ export declare const eplGameSchema: z.ZodObject<z.objectUtil.extendShape<{
1281
1290
  isWinner?: boolean | undefined;
1282
1291
  seed?: number | undefined;
1283
1292
  teamCode?: string | undefined;
1293
+ venueName?: string | undefined;
1284
1294
  };
1285
1295
  period: string;
1286
1296
  clock: string;
@@ -1924,6 +1934,7 @@ export declare const unionGameSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.exten
1924
1934
  scorePeriod2: z.ZodNumber;
1925
1935
  scoreExtraTime: z.ZodNumber;
1926
1936
  scorePenalty: z.ZodNumber;
1937
+ venueName: z.ZodOptional<z.ZodString>;
1927
1938
  }>, "strip", z.ZodTypeAny, {
1928
1939
  name: string;
1929
1940
  image: string;
@@ -1937,6 +1948,7 @@ export declare const unionGameSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.exten
1937
1948
  isWinner?: boolean | undefined;
1938
1949
  seed?: number | undefined;
1939
1950
  teamCode?: string | undefined;
1951
+ venueName?: string | undefined;
1940
1952
  }, {
1941
1953
  name: string;
1942
1954
  image: string;
@@ -1950,6 +1962,7 @@ export declare const unionGameSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.exten
1950
1962
  isWinner?: boolean | undefined;
1951
1963
  seed?: number | undefined;
1952
1964
  teamCode?: string | undefined;
1965
+ venueName?: string | undefined;
1953
1966
  }>;
1954
1967
  awayTeam: z.ZodObject<z.objectUtil.extendShape<{
1955
1968
  id: z.ZodOptional<z.ZodString>;
@@ -1965,6 +1978,7 @@ export declare const unionGameSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.exten
1965
1978
  scorePeriod2: z.ZodNumber;
1966
1979
  scoreExtraTime: z.ZodNumber;
1967
1980
  scorePenalty: z.ZodNumber;
1981
+ venueName: z.ZodOptional<z.ZodString>;
1968
1982
  }>, "strip", z.ZodTypeAny, {
1969
1983
  name: string;
1970
1984
  image: string;
@@ -1978,6 +1992,7 @@ export declare const unionGameSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.exten
1978
1992
  isWinner?: boolean | undefined;
1979
1993
  seed?: number | undefined;
1980
1994
  teamCode?: string | undefined;
1995
+ venueName?: string | undefined;
1981
1996
  }, {
1982
1997
  name: string;
1983
1998
  image: string;
@@ -1991,6 +2006,7 @@ export declare const unionGameSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.exten
1991
2006
  isWinner?: boolean | undefined;
1992
2007
  seed?: number | undefined;
1993
2008
  teamCode?: string | undefined;
2009
+ venueName?: string | undefined;
1994
2010
  }>;
1995
2011
  }>, "strip", z.ZodTypeAny, {
1996
2012
  status: "live" | "scheduled" | "final";
@@ -2012,6 +2028,7 @@ export declare const unionGameSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.exten
2012
2028
  isWinner?: boolean | undefined;
2013
2029
  seed?: number | undefined;
2014
2030
  teamCode?: string | undefined;
2031
+ venueName?: string | undefined;
2015
2032
  };
2016
2033
  awayTeam: {
2017
2034
  name: string;
@@ -2026,6 +2043,7 @@ export declare const unionGameSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.exten
2026
2043
  isWinner?: boolean | undefined;
2027
2044
  seed?: number | undefined;
2028
2045
  teamCode?: string | undefined;
2046
+ venueName?: string | undefined;
2029
2047
  };
2030
2048
  period: string;
2031
2049
  clock: string;
@@ -2070,6 +2088,7 @@ export declare const unionGameSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.exten
2070
2088
  isWinner?: boolean | undefined;
2071
2089
  seed?: number | undefined;
2072
2090
  teamCode?: string | undefined;
2091
+ venueName?: string | undefined;
2073
2092
  };
2074
2093
  awayTeam: {
2075
2094
  name: string;
@@ -2084,6 +2103,7 @@ export declare const unionGameSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.exten
2084
2103
  isWinner?: boolean | undefined;
2085
2104
  seed?: number | undefined;
2086
2105
  teamCode?: string | undefined;
2106
+ venueName?: string | undefined;
2087
2107
  };
2088
2108
  period: string;
2089
2109
  clock: string;
@@ -138,12 +138,14 @@ exports.eplGameSchema = exports.commonGameSchema.extend({
138
138
  scorePeriod2: zod_1.z.number(),
139
139
  scoreExtraTime: zod_1.z.number(),
140
140
  scorePenalty: zod_1.z.number(),
141
+ venueName: zod_1.z.string().optional(),
141
142
  }),
142
143
  awayTeam: exports.gameTeamSchema.extend({
143
144
  scorePeriod1: zod_1.z.number(),
144
145
  scorePeriod2: zod_1.z.number(),
145
146
  scoreExtraTime: zod_1.z.number(),
146
147
  scorePenalty: zod_1.z.number(),
148
+ venueName: zod_1.z.string().optional(),
147
149
  }),
148
150
  });
149
151
  exports.unionGameSchema = zod_1.z.union([
@@ -128,6 +128,7 @@ export declare const internalNotification: z.ZodObject<{
128
128
  awayTeamWins: number;
129
129
  gameNumber: number;
130
130
  }>>;
131
+ week: z.ZodOptional<z.ZodNumber>;
131
132
  }, "strip", z.ZodTypeAny, {
132
133
  id: string;
133
134
  league: "nba" | "ncaa" | "mlb" | "nfl" | "nhl" | "mls" | "cfb" | "cbb" | "epl";
@@ -152,6 +153,7 @@ export declare const internalNotification: z.ZodObject<{
152
153
  teamCode?: string | undefined;
153
154
  };
154
155
  round?: number | undefined;
156
+ week?: number | undefined;
155
157
  seriesInfo?: {
156
158
  maxLength: number;
157
159
  homeTeamWins: number;
@@ -182,6 +184,7 @@ export declare const internalNotification: z.ZodObject<{
182
184
  teamCode?: string | undefined;
183
185
  };
184
186
  round?: number | undefined;
187
+ week?: number | undefined;
185
188
  seriesInfo?: {
186
189
  maxLength: number;
187
190
  homeTeamWins: number;
@@ -225,6 +228,7 @@ export declare const internalNotification: z.ZodObject<{
225
228
  teamCode?: string | undefined;
226
229
  };
227
230
  round?: number | undefined;
231
+ week?: number | undefined;
228
232
  seriesInfo?: {
229
233
  maxLength: number;
230
234
  homeTeamWins: number;
@@ -269,6 +273,7 @@ export declare const internalNotification: z.ZodObject<{
269
273
  teamCode?: string | undefined;
270
274
  };
271
275
  round?: number | undefined;
276
+ week?: number | undefined;
272
277
  seriesInfo?: {
273
278
  maxLength: number;
274
279
  homeTeamWins: number;
@@ -330,6 +335,7 @@ export declare const internalNotification: z.ZodObject<{
330
335
  teamCode?: string | undefined;
331
336
  };
332
337
  round?: number | undefined;
338
+ week?: number | undefined;
333
339
  seriesInfo?: {
334
340
  maxLength: number;
335
341
  homeTeamWins: number;
@@ -392,6 +398,7 @@ export declare const internalNotification: z.ZodObject<{
392
398
  teamCode?: string | undefined;
393
399
  };
394
400
  round?: number | undefined;
401
+ week?: number | undefined;
395
402
  seriesInfo?: {
396
403
  maxLength: number;
397
404
  homeTeamWins: number;
@@ -98,6 +98,7 @@ export declare const ratingSchema: import("zod").ZodObject<{
98
98
  awayTeamWins: number;
99
99
  gameNumber: number;
100
100
  }>>;
101
+ week: import("zod").ZodOptional<import("zod").ZodNumber>;
101
102
  }, "strip", import("zod").ZodTypeAny, {
102
103
  id: string;
103
104
  league: "nba" | "ncaa" | "mlb" | "nfl" | "nhl" | "mls" | "cfb" | "cbb" | "epl";
@@ -122,6 +123,7 @@ export declare const ratingSchema: import("zod").ZodObject<{
122
123
  teamCode?: string | undefined;
123
124
  };
124
125
  round?: number | undefined;
126
+ week?: number | undefined;
125
127
  seriesInfo?: {
126
128
  maxLength: number;
127
129
  homeTeamWins: number;
@@ -152,6 +154,7 @@ export declare const ratingSchema: import("zod").ZodObject<{
152
154
  teamCode?: string | undefined;
153
155
  };
154
156
  round?: number | undefined;
157
+ week?: number | undefined;
155
158
  seriesInfo?: {
156
159
  maxLength: number;
157
160
  homeTeamWins: number;
@@ -195,6 +198,7 @@ export declare const ratingSchema: import("zod").ZodObject<{
195
198
  teamCode?: string | undefined;
196
199
  };
197
200
  round?: number | undefined;
201
+ week?: number | undefined;
198
202
  seriesInfo?: {
199
203
  maxLength: number;
200
204
  homeTeamWins: number;
@@ -239,6 +243,7 @@ export declare const ratingSchema: import("zod").ZodObject<{
239
243
  teamCode?: string | undefined;
240
244
  };
241
245
  round?: number | undefined;
246
+ week?: number | undefined;
242
247
  seriesInfo?: {
243
248
  maxLength: number;
244
249
  homeTeamWins: number;
@@ -467,6 +472,7 @@ export declare const createRatingSchema: import("zod").ZodObject<import("zod").o
467
472
  awayTeamWins: number;
468
473
  gameNumber: number;
469
474
  }>>;
475
+ week: import("zod").ZodOptional<import("zod").ZodNumber>;
470
476
  }, "strip", import("zod").ZodTypeAny, {
471
477
  id: string;
472
478
  league: "nba" | "ncaa" | "mlb" | "nfl" | "nhl" | "mls" | "cfb" | "cbb" | "epl";
@@ -491,6 +497,7 @@ export declare const createRatingSchema: import("zod").ZodObject<import("zod").o
491
497
  teamCode?: string | undefined;
492
498
  };
493
499
  round?: number | undefined;
500
+ week?: number | undefined;
494
501
  seriesInfo?: {
495
502
  maxLength: number;
496
503
  homeTeamWins: number;
@@ -521,6 +528,7 @@ export declare const createRatingSchema: import("zod").ZodObject<import("zod").o
521
528
  teamCode?: string | undefined;
522
529
  };
523
530
  round?: number | undefined;
531
+ week?: number | undefined;
524
532
  seriesInfo?: {
525
533
  maxLength: number;
526
534
  homeTeamWins: number;
@@ -606,9 +614,11 @@ export declare const createRatingSchema: import("zod").ZodObject<import("zod").o
606
614
  awayTeamWins: number;
607
615
  gameNumber: number;
608
616
  }>>;
617
+ week: import("zod").ZodOptional<import("zod").ZodNumber>;
609
618
  }, "round" | "homeTeam" | "awayTeam">, "strip", import("zod").ZodTypeAny, {
610
619
  id: string;
611
620
  league: "nba" | "ncaa" | "mlb" | "nfl" | "nhl" | "mls" | "cfb" | "cbb" | "epl";
621
+ week?: number | undefined;
612
622
  seriesInfo?: {
613
623
  maxLength: number;
614
624
  homeTeamWins: number;
@@ -618,6 +628,7 @@ export declare const createRatingSchema: import("zod").ZodObject<import("zod").o
618
628
  }, {
619
629
  id: string;
620
630
  league: "nba" | "ncaa" | "mlb" | "nfl" | "nhl" | "mls" | "cfb" | "cbb" | "epl";
631
+ week?: number | undefined;
621
632
  seriesInfo?: {
622
633
  maxLength: number;
623
634
  homeTeamWins: number;
@@ -631,6 +642,7 @@ export declare const createRatingSchema: import("zod").ZodObject<import("zod").o
631
642
  game: {
632
643
  id: string;
633
644
  league: "nba" | "ncaa" | "mlb" | "nfl" | "nhl" | "mls" | "cfb" | "cbb" | "epl";
645
+ week?: number | undefined;
634
646
  seriesInfo?: {
635
647
  maxLength: number;
636
648
  homeTeamWins: number;
@@ -646,6 +658,7 @@ export declare const createRatingSchema: import("zod").ZodObject<import("zod").o
646
658
  game: {
647
659
  id: string;
648
660
  league: "nba" | "ncaa" | "mlb" | "nfl" | "nhl" | "mls" | "cfb" | "cbb" | "epl";
661
+ week?: number | undefined;
649
662
  seriesInfo?: {
650
663
  maxLength: number;
651
664
  homeTeamWins: number;
@@ -33,6 +33,7 @@ exports.ratingSchema = (0, zod_1.object)({
33
33
  homeTeam: game_1.gameTeamSchema,
34
34
  awayTeam: game_1.gameTeamSchema,
35
35
  seriesInfo: game_1.seriesInfoSchema.optional(),
36
+ week: (0, zod_1.number)().optional(),
36
37
  }),
37
38
  userLikes: (0, zod_1.number)().optional(),
38
39
  });
@@ -74,14 +74,14 @@ export declare const eplTeamSchema: z.ZodObject<z.objectUtil.extendShape<{
74
74
  apiTeamId: number;
75
75
  id?: string | undefined;
76
76
  teamCode?: string | undefined;
77
- city?: string | undefined;
78
77
  venueName?: string | undefined;
78
+ city?: string | undefined;
79
79
  }, {
80
80
  name: string;
81
81
  image: string;
82
82
  apiTeamId: number;
83
83
  id?: string | undefined;
84
84
  teamCode?: string | undefined;
85
- city?: string | undefined;
86
85
  venueName?: string | undefined;
86
+ city?: string | undefined;
87
87
  }>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rategame-shared",
3
- "version": "1.1.48",
3
+ "version": "1.1.50",
4
4
  "description": "This package contains shared resources for the Rate Game project.",
5
5
  "types": "./dist/index.d.ts",
6
6
  "main": "./dist/index.js",