rategame-shared 1.1.135 → 1.1.136

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.
@@ -1,5 +1,5 @@
1
1
  import { z } from "zod";
2
- import { basketballGameSchema, cfbGameSchema, creatorPickSchema, eplGameSchema, gameRatingAggregateSchema, gameSchema, gameTeamSchema, mlbGameSchema, nflGameSchema, nhlGameSchema, searchGameSchema, unionGameSchema, weightedRatingAggregateOptionsSchema, weightedRatingAggregateSchema } from "../schemas/game";
2
+ import { basketballGameSchema, cfbGameSchema, creatorPickSchema, footballGameSchema, gameRatingAggregateSchema, gameSchema, gameTeamSchema, mlbGameSchema, nflGameSchema, nhlGameSchema, searchGameSchema, unionGameSchema, weightedRatingAggregateOptionsSchema, weightedRatingAggregateSchema } from "../schemas/game";
3
3
  export type Game = z.infer<typeof gameSchema>;
4
4
  export type BasketballGame = z.infer<typeof basketballGameSchema>;
5
5
  export type MLBGame = z.infer<typeof mlbGameSchema>;
@@ -7,7 +7,7 @@ export type GameRatingAggregate = z.infer<typeof gameRatingAggregateSchema>;
7
7
  export type GameTeam = z.infer<typeof gameTeamSchema>;
8
8
  export type SearchGame = z.infer<typeof searchGameSchema>;
9
9
  export type UnionGame = z.infer<typeof unionGameSchema>;
10
- export type EPLGame = z.infer<typeof eplGameSchema>;
10
+ export type FootballGame = z.infer<typeof footballGameSchema>;
11
11
  export type NFLGame = z.infer<typeof nflGameSchema>;
12
12
  export type CFBGame = z.infer<typeof cfbGameSchema>;
13
13
  export type NHLGame = z.infer<typeof nhlGameSchema>;
@@ -7767,7 +7767,7 @@ export declare const mlbGameSchema: z.ZodObject<z.objectUtil.extendShape<{
7767
7767
  runnerOnSecond?: boolean | undefined;
7768
7768
  runnerOnThird?: boolean | undefined;
7769
7769
  }>;
7770
- export declare const eplGameSchema: z.ZodObject<z.objectUtil.extendShape<{
7770
+ export declare const footballGameSchema: z.ZodObject<z.objectUtil.extendShape<{
7771
7771
  id: z.ZodOptional<z.ZodString>;
7772
7772
  status: z.ZodUnion<[z.ZodLiteral<"scheduled">, z.ZodLiteral<"live">, z.ZodLiteral<"final">, z.ZodLiteral<"postponed">, z.ZodLiteral<"canceled">]>;
7773
7773
  isClosed: z.ZodOptional<z.ZodBoolean>;
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.creatorPickSchema = exports.searchGameSchema = exports.unionGameSchema = exports.nhlGameSchema = exports.cfbGameSchema = exports.nflGameSchema = exports.eplGameSchema = exports.mlbGameSchema = exports.inningSchema = exports.basketballGameSchema = exports.commonGameSchema = exports.gameSchema = exports.seriesInfoSchema = exports.weightedRatingAggregateSchema = exports.weightedRatingAggregateOptionsSchema = exports.gameRatingAggregateSchema = exports.gameTeamSchema = void 0;
3
+ exports.creatorPickSchema = exports.searchGameSchema = exports.unionGameSchema = exports.nhlGameSchema = exports.cfbGameSchema = exports.nflGameSchema = exports.footballGameSchema = exports.mlbGameSchema = exports.inningSchema = exports.basketballGameSchema = exports.commonGameSchema = exports.gameSchema = exports.seriesInfoSchema = exports.weightedRatingAggregateSchema = exports.weightedRatingAggregateOptionsSchema = exports.gameRatingAggregateSchema = exports.gameTeamSchema = void 0;
4
4
  const zod_1 = require("zod");
5
5
  const sharedTypes_1 = require("./sharedTypes");
6
6
  const user_1 = require("./user");
@@ -175,7 +175,7 @@ exports.mlbGameSchema = exports.commonGameSchema.extend({
175
175
  runnerOnSecond: zod_1.z.boolean().optional(),
176
176
  runnerOnThird: zod_1.z.boolean().optional(),
177
177
  });
178
- exports.eplGameSchema = exports.commonGameSchema.extend({
178
+ exports.footballGameSchema = exports.commonGameSchema.extend({
179
179
  league: zod_1.z.literal("epl"),
180
180
  week: zod_1.z.number(),
181
181
  period: zod_1.z.string(),
@@ -274,7 +274,7 @@ exports.nhlGameSchema = exports.commonGameSchema.extend({
274
274
  exports.unionGameSchema = zod_1.z.union([
275
275
  exports.basketballGameSchema,
276
276
  exports.mlbGameSchema,
277
- exports.eplGameSchema,
277
+ exports.footballGameSchema,
278
278
  exports.nflGameSchema,
279
279
  exports.cfbGameSchema,
280
280
  exports.nhlGameSchema,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rategame-shared",
3
- "version": "1.1.135",
3
+ "version": "1.1.136",
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",