rategame-shared 1.0.97 → 1.0.98

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.
@@ -104,10 +104,12 @@ export declare const gameSchema: z.ZodObject<{
104
104
  score: z.ZodNumber;
105
105
  isWinner: z.ZodOptional<z.ZodBoolean>;
106
106
  image: z.ZodString;
107
+ seed: z.ZodNumber;
107
108
  }, "strip", z.ZodTypeAny, {
108
109
  name: string;
109
110
  image: string;
110
111
  apiTeamId: number;
112
+ seed: number;
111
113
  score: number;
112
114
  id?: string | undefined;
113
115
  isWinner?: boolean | undefined;
@@ -115,6 +117,7 @@ export declare const gameSchema: z.ZodObject<{
115
117
  name: string;
116
118
  image: string;
117
119
  apiTeamId: number;
120
+ seed: number;
118
121
  score: number;
119
122
  id?: string | undefined;
120
123
  isWinner?: boolean | undefined;
@@ -126,10 +129,12 @@ export declare const gameSchema: z.ZodObject<{
126
129
  score: z.ZodNumber;
127
130
  isWinner: z.ZodOptional<z.ZodBoolean>;
128
131
  image: z.ZodString;
132
+ seed: z.ZodNumber;
129
133
  }, "strip", z.ZodTypeAny, {
130
134
  name: string;
131
135
  image: string;
132
136
  apiTeamId: number;
137
+ seed: number;
133
138
  score: number;
134
139
  id?: string | undefined;
135
140
  isWinner?: boolean | undefined;
@@ -137,6 +142,7 @@ export declare const gameSchema: z.ZodObject<{
137
142
  name: string;
138
143
  image: string;
139
144
  apiTeamId: number;
145
+ seed: number;
140
146
  score: number;
141
147
  id?: string | undefined;
142
148
  isWinner?: boolean | undefined;
@@ -210,6 +216,7 @@ export declare const gameSchema: z.ZodObject<{
210
216
  name: string;
211
217
  image: string;
212
218
  apiTeamId: number;
219
+ seed: number;
213
220
  score: number;
214
221
  id?: string | undefined;
215
222
  isWinner?: boolean | undefined;
@@ -218,6 +225,7 @@ export declare const gameSchema: z.ZodObject<{
218
225
  name: string;
219
226
  image: string;
220
227
  apiTeamId: number;
228
+ seed: number;
221
229
  score: number;
222
230
  id?: string | undefined;
223
231
  isWinner?: boolean | undefined;
@@ -258,6 +266,7 @@ export declare const gameSchema: z.ZodObject<{
258
266
  name: string;
259
267
  image: string;
260
268
  apiTeamId: number;
269
+ seed: number;
261
270
  score: number;
262
271
  id?: string | undefined;
263
272
  isWinner?: boolean | undefined;
@@ -266,6 +275,7 @@ export declare const gameSchema: z.ZodObject<{
266
275
  name: string;
267
276
  image: string;
268
277
  apiTeamId: number;
278
+ seed: number;
269
279
  score: number;
270
280
  id?: string | undefined;
271
281
  isWinner?: boolean | undefined;
@@ -326,12 +336,10 @@ export declare const mlbGameSchema: z.ZodObject<{
326
336
  score: z.ZodNumber;
327
337
  isWinner: z.ZodOptional<z.ZodBoolean>;
328
338
  image: z.ZodString;
329
- seed: z.ZodNumber;
330
339
  }, "strip", z.ZodTypeAny, {
331
340
  name: string;
332
341
  image: string;
333
342
  apiTeamId: number;
334
- seed: number;
335
343
  score: number;
336
344
  id?: string | undefined;
337
345
  isWinner?: boolean | undefined;
@@ -339,7 +347,6 @@ export declare const mlbGameSchema: z.ZodObject<{
339
347
  name: string;
340
348
  image: string;
341
349
  apiTeamId: number;
342
- seed: number;
343
350
  score: number;
344
351
  id?: string | undefined;
345
352
  isWinner?: boolean | undefined;
@@ -351,12 +358,10 @@ export declare const mlbGameSchema: z.ZodObject<{
351
358
  score: z.ZodNumber;
352
359
  isWinner: z.ZodOptional<z.ZodBoolean>;
353
360
  image: z.ZodString;
354
- seed: z.ZodNumber;
355
361
  }, "strip", z.ZodTypeAny, {
356
362
  name: string;
357
363
  image: string;
358
364
  apiTeamId: number;
359
- seed: number;
360
365
  score: number;
361
366
  id?: string | undefined;
362
367
  isWinner?: boolean | undefined;
@@ -364,7 +369,6 @@ export declare const mlbGameSchema: z.ZodObject<{
364
369
  name: string;
365
370
  image: string;
366
371
  apiTeamId: number;
367
- seed: number;
368
372
  score: number;
369
373
  id?: string | undefined;
370
374
  isWinner?: boolean | undefined;
@@ -531,7 +535,6 @@ export declare const mlbGameSchema: z.ZodObject<{
531
535
  name: string;
532
536
  image: string;
533
537
  apiTeamId: number;
534
- seed: number;
535
538
  score: number;
536
539
  id?: string | undefined;
537
540
  isWinner?: boolean | undefined;
@@ -540,7 +543,6 @@ export declare const mlbGameSchema: z.ZodObject<{
540
543
  name: string;
541
544
  image: string;
542
545
  apiTeamId: number;
543
- seed: number;
544
546
  score: number;
545
547
  id?: string | undefined;
546
548
  isWinner?: boolean | undefined;
@@ -615,7 +617,6 @@ export declare const mlbGameSchema: z.ZodObject<{
615
617
  name: string;
616
618
  image: string;
617
619
  apiTeamId: number;
618
- seed: number;
619
620
  score: number;
620
621
  id?: string | undefined;
621
622
  isWinner?: boolean | undefined;
@@ -624,7 +625,6 @@ export declare const mlbGameSchema: z.ZodObject<{
624
625
  name: string;
625
626
  image: string;
626
627
  apiTeamId: number;
627
- seed: number;
628
628
  score: number;
629
629
  id?: string | undefined;
630
630
  isWinner?: boolean | undefined;
@@ -47,8 +47,8 @@ exports.gameSchema = zod_1.z.object({
47
47
  round: zod_1.z.number(),
48
48
  apiGameId: zod_1.z.number(),
49
49
  league: zod_1.z.union([zod_1.z.literal("ncaa"), zod_1.z.literal("nba"), zod_1.z.literal("mlb")]),
50
- homeTeam: exports.mlbGameTeamSchema,
51
- awayTeam: exports.mlbGameTeamSchema,
50
+ homeTeam: exports.gameTeamSchema,
51
+ awayTeam: exports.gameTeamSchema,
52
52
  timeRemainingMinutes: zod_1.z.number(),
53
53
  timeRemainingSeconds: zod_1.z.number(),
54
54
  periods: zod_1.z.array(zod_1.z.object({
@@ -80,8 +80,8 @@ exports.mlbGameSchema = zod_1.z.object({
80
80
  ratingWindowClosedAt: zod_1.z.number().optional(),
81
81
  round: zod_1.z.number().optional(),
82
82
  apiGameId: zod_1.z.number(),
83
- homeTeam: exports.gameTeamSchema,
84
- awayTeam: exports.gameTeamSchema,
83
+ homeTeam: exports.mlbGameTeamSchema,
84
+ awayTeam: exports.mlbGameTeamSchema,
85
85
  totalInningsRemaining: zod_1.z.number(),
86
86
  innings: zod_1.z.array(exports.inningSchema),
87
87
  inningHalf: zod_1.z.union([zod_1.z.literal("T"), zod_1.z.literal("B")]).optional(),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rategame-shared",
3
- "version": "1.0.97",
3
+ "version": "1.0.98",
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",