rategame-shared 1.1.333 → 1.1.335

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.
@@ -136,6 +136,7 @@ exports.commonGameSchema = zod_1.z.object({
136
136
  creator: (0, zod_1.object)({
137
137
  user: user_1.reducedUserSchema,
138
138
  comment: (0, zod_1.string)().optional(),
139
+ boosted: zod_1.z.boolean().optional(),
139
140
  }).optional(),
140
141
  chatEnabled: zod_1.z.boolean().optional(),
141
142
  lastPlay: zod_1.z.string().optional(),
@@ -290,32 +291,6 @@ exports.unionGameSchema = zod_1.z.union([
290
291
  exports.cfbGameSchema,
291
292
  exports.nhlGameSchema,
292
293
  ]);
293
- // export const mlbGameSchema = z.object({
294
- // id: z.string().optional(),
295
- // status: z.union([
296
- // z.literal("scheduled"),
297
- // z.literal("live"),
298
- // z.literal("final"),
299
- // ]),
300
- // league: z.string(),
301
- // isClosed: z.boolean().optional(),
302
- // startedAt: z.number(),
303
- // finishedAt: z.number(),
304
- // ratingWindowClosedAt: z.number().optional(),
305
- // round: z.number().optional(),
306
- // apiGameId: z.number(),
307
- // homeTeam: gameTeamSchema,
308
- // awayTeam: gameTeamSchema,
309
- // totalInningsRemaining: z.number(),
310
- // innings: z.array(inningSchema),
311
- // inningHalf: z.union([z.literal("T"), z.literal("B")]).optional(),
312
- // seriesInfo: seriesInfoSchema.optional(),
313
- // rating: gameRatingAggregateSchema.optional(),
314
- // losingPitcher: mlbPlayerSchema.optional(),
315
- // winningPitcher: mlbPlayerSchema.optional(),
316
- // savingPitcher: mlbPlayerSchema.optional(),
317
- // outs: z.number().optional(),
318
- // });
319
294
  exports.searchGameSchema = zod_1.z.object({
320
295
  q: zod_1.z.string().optional(),
321
296
  teamId: zod_1.z.string().optional(),
@@ -350,6 +325,7 @@ exports.creatorPickSchema = zod_1.z.object({
350
325
  user: user_1.reducedUserSchema,
351
326
  comment: zod_1.z.string().optional(),
352
327
  createdAt: zod_1.z.number().optional(),
328
+ boosted: zod_1.z.boolean().optional(),
353
329
  });
354
330
  exports.overviewSchema = zod_1.z.object({
355
331
  games: zod_1.z.number(),