rategame-shared 1.1.278 → 1.1.280

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.
@@ -87,6 +87,7 @@ export declare const stadiumSchema: z.ZodObject<{
87
87
  };
88
88
  }>>;
89
89
  specialEvent: z.ZodOptional<z.ZodBoolean>;
90
+ weightedScore: z.ZodOptional<z.ZodNumber>;
90
91
  }, "strip", z.ZodTypeAny, {
91
92
  city: string;
92
93
  venueName: string;
@@ -112,6 +113,7 @@ export declare const stadiumSchema: z.ZodObject<{
112
113
  specialEvent?: boolean | undefined;
113
114
  teamIds?: string[] | undefined;
114
115
  teamLeagues?: string[] | undefined;
116
+ weightedScore?: number | undefined;
115
117
  }, {
116
118
  city: string;
117
119
  venueName: string;
@@ -137,6 +139,7 @@ export declare const stadiumSchema: z.ZodObject<{
137
139
  specialEvent?: boolean | undefined;
138
140
  teamIds?: string[] | undefined;
139
141
  teamLeagues?: string[] | undefined;
142
+ weightedScore?: number | undefined;
140
143
  }>;
141
144
  export declare const stadiumForRatingSchema: z.ZodObject<Omit<{
142
145
  id: z.ZodOptional<z.ZodString>;
@@ -201,6 +204,7 @@ export declare const stadiumForRatingSchema: z.ZodObject<Omit<{
201
204
  };
202
205
  }>>;
203
206
  specialEvent: z.ZodOptional<z.ZodBoolean>;
207
+ weightedScore: z.ZodOptional<z.ZodNumber>;
204
208
  }, "rating">, "strip", z.ZodTypeAny, {
205
209
  city: string;
206
210
  venueName: string;
@@ -219,6 +223,7 @@ export declare const stadiumForRatingSchema: z.ZodObject<Omit<{
219
223
  specialEvent?: boolean | undefined;
220
224
  teamIds?: string[] | undefined;
221
225
  teamLeagues?: string[] | undefined;
226
+ weightedScore?: number | undefined;
222
227
  }, {
223
228
  city: string;
224
229
  venueName: string;
@@ -237,6 +242,7 @@ export declare const stadiumForRatingSchema: z.ZodObject<Omit<{
237
242
  specialEvent?: boolean | undefined;
238
243
  teamIds?: string[] | undefined;
239
244
  teamLeagues?: string[] | undefined;
245
+ weightedScore?: number | undefined;
240
246
  }>;
241
247
  export declare const stadiumRatingSchema: z.ZodObject<{
242
248
  id: z.ZodString;
@@ -1322,6 +1328,7 @@ export declare const stadiumRatingSchema: z.ZodObject<{
1322
1328
  };
1323
1329
  }>>;
1324
1330
  specialEvent: z.ZodOptional<z.ZodBoolean>;
1331
+ weightedScore: z.ZodOptional<z.ZodNumber>;
1325
1332
  }, "strip", z.ZodTypeAny, {
1326
1333
  city: string;
1327
1334
  venueName: string;
@@ -1347,6 +1354,7 @@ export declare const stadiumRatingSchema: z.ZodObject<{
1347
1354
  specialEvent?: boolean | undefined;
1348
1355
  teamIds?: string[] | undefined;
1349
1356
  teamLeagues?: string[] | undefined;
1357
+ weightedScore?: number | undefined;
1350
1358
  }, {
1351
1359
  city: string;
1352
1360
  venueName: string;
@@ -1372,6 +1380,7 @@ export declare const stadiumRatingSchema: z.ZodObject<{
1372
1380
  specialEvent?: boolean | undefined;
1373
1381
  teamIds?: string[] | undefined;
1374
1382
  teamLeagues?: string[] | undefined;
1383
+ weightedScore?: number | undefined;
1375
1384
  }>;
1376
1385
  gamesAttended: z.ZodOptional<z.ZodNumber>;
1377
1386
  type: z.ZodUnion<[z.ZodLiteral<"stadium">, z.ZodLiteral<"game">]>;
@@ -1615,6 +1624,7 @@ export declare const stadiumRatingSchema: z.ZodObject<{
1615
1624
  specialEvent?: boolean | undefined;
1616
1625
  teamIds?: string[] | undefined;
1617
1626
  teamLeagues?: string[] | undefined;
1627
+ weightedScore?: number | undefined;
1618
1628
  };
1619
1629
  updatedAt?: number | undefined;
1620
1630
  comment?: string | undefined;
@@ -1704,6 +1714,7 @@ export declare const stadiumRatingSchema: z.ZodObject<{
1704
1714
  specialEvent?: boolean | undefined;
1705
1715
  teamIds?: string[] | undefined;
1706
1716
  teamLeagues?: string[] | undefined;
1717
+ weightedScore?: number | undefined;
1707
1718
  };
1708
1719
  updatedAt?: number | undefined;
1709
1720
  comment?: string | undefined;
@@ -2866,6 +2877,7 @@ export declare const createStadiumRatingSchema: z.ZodObject<z.objectUtil.extendS
2866
2877
  };
2867
2878
  }>>;
2868
2879
  specialEvent: z.ZodOptional<z.ZodBoolean>;
2880
+ weightedScore: z.ZodOptional<z.ZodNumber>;
2869
2881
  }, "strip", z.ZodTypeAny, {
2870
2882
  city: string;
2871
2883
  venueName: string;
@@ -2891,6 +2903,7 @@ export declare const createStadiumRatingSchema: z.ZodObject<z.objectUtil.extendS
2891
2903
  specialEvent?: boolean | undefined;
2892
2904
  teamIds?: string[] | undefined;
2893
2905
  teamLeagues?: string[] | undefined;
2906
+ weightedScore?: number | undefined;
2894
2907
  }, {
2895
2908
  city: string;
2896
2909
  venueName: string;
@@ -2916,6 +2929,7 @@ export declare const createStadiumRatingSchema: z.ZodObject<z.objectUtil.extendS
2916
2929
  specialEvent?: boolean | undefined;
2917
2930
  teamIds?: string[] | undefined;
2918
2931
  teamLeagues?: string[] | undefined;
2932
+ weightedScore?: number | undefined;
2919
2933
  }>;
2920
2934
  gamesAttended: z.ZodOptional<z.ZodNumber>;
2921
2935
  type: z.ZodUnion<[z.ZodLiteral<"stadium">, z.ZodLiteral<"game">]>;
@@ -3186,6 +3200,7 @@ export declare const createStadiumRatingSchema: z.ZodObject<z.objectUtil.extendS
3186
3200
  };
3187
3201
  }>>;
3188
3202
  specialEvent: z.ZodOptional<z.ZodBoolean>;
3203
+ weightedScore: z.ZodOptional<z.ZodNumber>;
3189
3204
  }, "rating">, "strip", z.ZodTypeAny, {
3190
3205
  city: string;
3191
3206
  venueName: string;
@@ -3204,6 +3219,7 @@ export declare const createStadiumRatingSchema: z.ZodObject<z.objectUtil.extendS
3204
3219
  specialEvent?: boolean | undefined;
3205
3220
  teamIds?: string[] | undefined;
3206
3221
  teamLeagues?: string[] | undefined;
3222
+ weightedScore?: number | undefined;
3207
3223
  }, {
3208
3224
  city: string;
3209
3225
  venueName: string;
@@ -3222,6 +3238,7 @@ export declare const createStadiumRatingSchema: z.ZodObject<z.objectUtil.extendS
3222
3238
  specialEvent?: boolean | undefined;
3223
3239
  teamIds?: string[] | undefined;
3224
3240
  teamLeagues?: string[] | undefined;
3241
+ weightedScore?: number | undefined;
3225
3242
  }>;
3226
3243
  }>, "strip", z.ZodTypeAny, {
3227
3244
  type: "stadium" | "game";
@@ -3252,6 +3269,7 @@ export declare const createStadiumRatingSchema: z.ZodObject<z.objectUtil.extendS
3252
3269
  specialEvent?: boolean | undefined;
3253
3270
  teamIds?: string[] | undefined;
3254
3271
  teamLeagues?: string[] | undefined;
3272
+ weightedScore?: number | undefined;
3255
3273
  };
3256
3274
  updatedAt?: number | undefined;
3257
3275
  comment?: string | undefined;
@@ -3333,6 +3351,7 @@ export declare const createStadiumRatingSchema: z.ZodObject<z.objectUtil.extendS
3333
3351
  specialEvent?: boolean | undefined;
3334
3352
  teamIds?: string[] | undefined;
3335
3353
  teamLeagues?: string[] | undefined;
3354
+ weightedScore?: number | undefined;
3336
3355
  };
3337
3356
  updatedAt?: number | undefined;
3338
3357
  comment?: string | undefined;
@@ -46,6 +46,7 @@ exports.stadiumSchema = zod_1.z.object({
46
46
  teamLeagues: zod_1.z.array(zod_1.z.string()).optional(),
47
47
  rating: exports.stadiumRatingAggregateSchema.optional(),
48
48
  specialEvent: zod_1.z.boolean().optional(),
49
+ weightedScore: zod_1.z.number().optional(),
49
50
  });
50
51
  // Simplified stadium schema for rating creation (excludes complex rating data)
51
52
  exports.stadiumForRatingSchema = exports.stadiumSchema.omit({
@@ -16,12 +16,14 @@ export declare const teamSchema: z.ZodObject<z.objectUtil.extendShape<{
16
16
  seed: z.ZodNumber;
17
17
  conference: z.ZodOptional<z.ZodString>;
18
18
  school: z.ZodOptional<z.ZodString>;
19
+ teamCode: z.ZodOptional<z.ZodString>;
19
20
  }>, "strip", z.ZodTypeAny, {
20
21
  name: string;
21
22
  image: string;
22
23
  apiTeamId: number;
23
24
  seed: number;
24
25
  id?: string | undefined;
26
+ teamCode?: string | undefined;
25
27
  stadiumUrl?: string | undefined;
26
28
  school?: string | undefined;
27
29
  city?: string | undefined;
@@ -38,6 +40,7 @@ export declare const teamSchema: z.ZodObject<z.objectUtil.extendShape<{
38
40
  apiTeamId: number;
39
41
  seed: number;
40
42
  id?: string | undefined;
43
+ teamCode?: string | undefined;
41
44
  stadiumUrl?: string | undefined;
42
45
  school?: string | undefined;
43
46
  city?: string | undefined;
@@ -20,6 +20,7 @@ exports.teamSchema = baseTeamSchema.extend({
20
20
  seed: zod_1.z.number(),
21
21
  conference: zod_1.z.string().optional(),
22
22
  school: zod_1.z.string().optional(),
23
+ teamCode: zod_1.z.string().optional(),
23
24
  });
24
25
  exports.divisionSchema = zod_1.z.union([
25
26
  zod_1.z.literal("east"),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rategame-shared",
3
- "version": "1.1.278",
3
+ "version": "1.1.280",
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",