rategame-shared 1.1.282 → 1.1.284

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.
@@ -53,7 +53,7 @@ export declare const teamSchema: z.ZodObject<z.objectUtil.extendShape<{
53
53
  conference?: string | undefined;
54
54
  }>;
55
55
  export declare const divisionSchema: z.ZodUnion<[z.ZodLiteral<"east">, z.ZodLiteral<"central">, z.ZodLiteral<"west">]>;
56
- export declare const leagueSchema: z.ZodUnion<[z.ZodLiteral<"national">, z.ZodLiteral<"american">]>;
56
+ export declare const leagueSchema: z.ZodUnion<[z.ZodLiteral<"NL">, z.ZodLiteral<"AL">]>;
57
57
  export declare const mlbTeamSchema: z.ZodObject<z.objectUtil.extendShape<{
58
58
  id: z.ZodOptional<z.ZodString>;
59
59
  apiTeamId: z.ZodNumber;
@@ -69,12 +69,12 @@ export declare const mlbTeamSchema: z.ZodObject<z.objectUtil.extendShape<{
69
69
  venueName: z.ZodOptional<z.ZodString>;
70
70
  }, {
71
71
  division: z.ZodUnion<[z.ZodLiteral<"east">, z.ZodLiteral<"central">, z.ZodLiteral<"west">]>;
72
- league: z.ZodUnion<[z.ZodLiteral<"national">, z.ZodLiteral<"american">]>;
72
+ league: z.ZodUnion<[z.ZodLiteral<"NL">, z.ZodLiteral<"AL">]>;
73
73
  teamCode: z.ZodOptional<z.ZodString>;
74
74
  }>, "strip", z.ZodTypeAny, {
75
75
  name: string;
76
76
  image: string;
77
- league: "national" | "american";
77
+ league: "NL" | "AL";
78
78
  apiTeamId: number;
79
79
  division: "east" | "central" | "west";
80
80
  id?: string | undefined;
@@ -90,7 +90,7 @@ export declare const mlbTeamSchema: z.ZodObject<z.objectUtil.extendShape<{
90
90
  }, {
91
91
  name: string;
92
92
  image: string;
93
- league: "national" | "american";
93
+ league: "NL" | "AL";
94
94
  apiTeamId: number;
95
95
  division: "east" | "central" | "west";
96
96
  id?: string | undefined;
@@ -27,10 +27,7 @@ exports.divisionSchema = zod_1.z.union([
27
27
  zod_1.z.literal("central"),
28
28
  zod_1.z.literal("west"),
29
29
  ]);
30
- exports.leagueSchema = zod_1.z.union([
31
- zod_1.z.literal("national"),
32
- zod_1.z.literal("american"),
33
- ]);
30
+ exports.leagueSchema = zod_1.z.union([zod_1.z.literal("NL"), zod_1.z.literal("AL")]);
34
31
  exports.mlbTeamSchema = baseTeamSchema.extend({
35
32
  division: exports.divisionSchema,
36
33
  league: exports.leagueSchema,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rategame-shared",
3
- "version": "1.1.282",
3
+ "version": "1.1.284",
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",