rategame-shared 1.1.283 → 1.1.285

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.
@@ -5268,10 +5268,10 @@ export declare const searchListSchema: z.ZodObject<{
5268
5268
  limit: z.ZodOptional<z.ZodString>;
5269
5269
  userId: z.ZodOptional<z.ZodString>;
5270
5270
  showPrivate: z.ZodOptional<z.ZodBoolean>;
5271
- type: z.ZodOptional<z.ZodEnum<["game", "rating"]>>;
5271
+ type: z.ZodOptional<z.ZodEnum<["game", "rating", "stadium"]>>;
5272
5272
  profileId: z.ZodOptional<z.ZodString>;
5273
5273
  }, "strip", z.ZodTypeAny, {
5274
- type?: "rating" | "game" | undefined;
5274
+ type?: "rating" | "stadium" | "game" | undefined;
5275
5275
  offset?: string | undefined;
5276
5276
  q?: string | undefined;
5277
5277
  limit?: string | undefined;
@@ -5280,7 +5280,7 @@ export declare const searchListSchema: z.ZodObject<{
5280
5280
  showPrivate?: boolean | undefined;
5281
5281
  profileId?: string | undefined;
5282
5282
  }, {
5283
- type?: "rating" | "game" | undefined;
5283
+ type?: "rating" | "stadium" | "game" | undefined;
5284
5284
  offset?: string | undefined;
5285
5285
  q?: string | undefined;
5286
5286
  limit?: string | undefined;
@@ -48,6 +48,6 @@ exports.searchListSchema = zod_1.z.object({
48
48
  limit: zod_1.z.string().optional(),
49
49
  userId: zod_1.z.string().optional(),
50
50
  showPrivate: zod_1.z.boolean().optional(),
51
- type: zod_1.z.enum(["game", "rating"]).optional(),
51
+ type: zod_1.z.enum(["game", "rating", "stadium"]).optional(),
52
52
  profileId: zod_1.z.string().optional(),
53
53
  });
@@ -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.283",
3
+ "version": "1.1.285",
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",