rategame-shared 1.1.305 → 1.1.306

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.
@@ -88,6 +88,7 @@ export declare const stadiumSchema: z.ZodObject<{
88
88
  }>>;
89
89
  specialEvent: z.ZodOptional<z.ZodBoolean>;
90
90
  weightedScore: z.ZodOptional<z.ZodNumber>;
91
+ sportsdataStadiumId: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>>;
91
92
  }, "strip", z.ZodTypeAny, {
92
93
  city: string;
93
94
  venueName: string;
@@ -114,6 +115,7 @@ export declare const stadiumSchema: z.ZodObject<{
114
115
  teamIds?: string[] | undefined;
115
116
  teamLeagues?: string[] | undefined;
116
117
  weightedScore?: number | undefined;
118
+ sportsdataStadiumId?: Record<string, string> | null | undefined;
117
119
  }, {
118
120
  city: string;
119
121
  venueName: string;
@@ -140,6 +142,7 @@ export declare const stadiumSchema: z.ZodObject<{
140
142
  teamIds?: string[] | undefined;
141
143
  teamLeagues?: string[] | undefined;
142
144
  weightedScore?: number | undefined;
145
+ sportsdataStadiumId?: Record<string, string> | null | undefined;
143
146
  }>;
144
147
  export declare const stadiumForRatingSchema: z.ZodObject<Omit<{
145
148
  id: z.ZodOptional<z.ZodString>;
@@ -205,6 +208,7 @@ export declare const stadiumForRatingSchema: z.ZodObject<Omit<{
205
208
  }>>;
206
209
  specialEvent: z.ZodOptional<z.ZodBoolean>;
207
210
  weightedScore: z.ZodOptional<z.ZodNumber>;
211
+ sportsdataStadiumId: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>>;
208
212
  }, "rating">, "strip", z.ZodTypeAny, {
209
213
  city: string;
210
214
  venueName: string;
@@ -224,6 +228,7 @@ export declare const stadiumForRatingSchema: z.ZodObject<Omit<{
224
228
  teamIds?: string[] | undefined;
225
229
  teamLeagues?: string[] | undefined;
226
230
  weightedScore?: number | undefined;
231
+ sportsdataStadiumId?: Record<string, string> | null | undefined;
227
232
  }, {
228
233
  city: string;
229
234
  venueName: string;
@@ -243,6 +248,7 @@ export declare const stadiumForRatingSchema: z.ZodObject<Omit<{
243
248
  teamIds?: string[] | undefined;
244
249
  teamLeagues?: string[] | undefined;
245
250
  weightedScore?: number | undefined;
251
+ sportsdataStadiumId?: Record<string, string> | null | undefined;
246
252
  }>;
247
253
  export declare const stadiumRatingSchema: z.ZodObject<{
248
254
  id: z.ZodString;
@@ -1340,6 +1346,7 @@ export declare const stadiumRatingSchema: z.ZodObject<{
1340
1346
  }>>;
1341
1347
  specialEvent: z.ZodOptional<z.ZodBoolean>;
1342
1348
  weightedScore: z.ZodOptional<z.ZodNumber>;
1349
+ sportsdataStadiumId: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>>;
1343
1350
  }, "strip", z.ZodTypeAny, {
1344
1351
  city: string;
1345
1352
  venueName: string;
@@ -1366,6 +1373,7 @@ export declare const stadiumRatingSchema: z.ZodObject<{
1366
1373
  teamIds?: string[] | undefined;
1367
1374
  teamLeagues?: string[] | undefined;
1368
1375
  weightedScore?: number | undefined;
1376
+ sportsdataStadiumId?: Record<string, string> | null | undefined;
1369
1377
  }, {
1370
1378
  city: string;
1371
1379
  venueName: string;
@@ -1392,6 +1400,7 @@ export declare const stadiumRatingSchema: z.ZodObject<{
1392
1400
  teamIds?: string[] | undefined;
1393
1401
  teamLeagues?: string[] | undefined;
1394
1402
  weightedScore?: number | undefined;
1403
+ sportsdataStadiumId?: Record<string, string> | null | undefined;
1395
1404
  }>;
1396
1405
  gamesAttended: z.ZodOptional<z.ZodNumber>;
1397
1406
  type: z.ZodUnion<[z.ZodLiteral<"stadium">, z.ZodLiteral<"game">]>;
@@ -1636,6 +1645,7 @@ export declare const stadiumRatingSchema: z.ZodObject<{
1636
1645
  teamIds?: string[] | undefined;
1637
1646
  teamLeagues?: string[] | undefined;
1638
1647
  weightedScore?: number | undefined;
1648
+ sportsdataStadiumId?: Record<string, string> | null | undefined;
1639
1649
  };
1640
1650
  updatedAt?: number | undefined;
1641
1651
  comment?: string | undefined;
@@ -1726,6 +1736,7 @@ export declare const stadiumRatingSchema: z.ZodObject<{
1726
1736
  teamIds?: string[] | undefined;
1727
1737
  teamLeagues?: string[] | undefined;
1728
1738
  weightedScore?: number | undefined;
1739
+ sportsdataStadiumId?: Record<string, string> | null | undefined;
1729
1740
  };
1730
1741
  updatedAt?: number | undefined;
1731
1742
  comment?: string | undefined;
@@ -2906,6 +2917,7 @@ export declare const createStadiumRatingSchema: z.ZodObject<z.objectUtil.extendS
2906
2917
  }>>;
2907
2918
  specialEvent: z.ZodOptional<z.ZodBoolean>;
2908
2919
  weightedScore: z.ZodOptional<z.ZodNumber>;
2920
+ sportsdataStadiumId: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>>;
2909
2921
  }, "strip", z.ZodTypeAny, {
2910
2922
  city: string;
2911
2923
  venueName: string;
@@ -2932,6 +2944,7 @@ export declare const createStadiumRatingSchema: z.ZodObject<z.objectUtil.extendS
2932
2944
  teamIds?: string[] | undefined;
2933
2945
  teamLeagues?: string[] | undefined;
2934
2946
  weightedScore?: number | undefined;
2947
+ sportsdataStadiumId?: Record<string, string> | null | undefined;
2935
2948
  }, {
2936
2949
  city: string;
2937
2950
  venueName: string;
@@ -2958,6 +2971,7 @@ export declare const createStadiumRatingSchema: z.ZodObject<z.objectUtil.extendS
2958
2971
  teamIds?: string[] | undefined;
2959
2972
  teamLeagues?: string[] | undefined;
2960
2973
  weightedScore?: number | undefined;
2974
+ sportsdataStadiumId?: Record<string, string> | null | undefined;
2961
2975
  }>;
2962
2976
  gamesAttended: z.ZodOptional<z.ZodNumber>;
2963
2977
  type: z.ZodUnion<[z.ZodLiteral<"stadium">, z.ZodLiteral<"game">]>;
@@ -3229,6 +3243,7 @@ export declare const createStadiumRatingSchema: z.ZodObject<z.objectUtil.extendS
3229
3243
  }>>;
3230
3244
  specialEvent: z.ZodOptional<z.ZodBoolean>;
3231
3245
  weightedScore: z.ZodOptional<z.ZodNumber>;
3246
+ sportsdataStadiumId: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>>;
3232
3247
  }, "rating">, "strip", z.ZodTypeAny, {
3233
3248
  city: string;
3234
3249
  venueName: string;
@@ -3248,6 +3263,7 @@ export declare const createStadiumRatingSchema: z.ZodObject<z.objectUtil.extendS
3248
3263
  teamIds?: string[] | undefined;
3249
3264
  teamLeagues?: string[] | undefined;
3250
3265
  weightedScore?: number | undefined;
3266
+ sportsdataStadiumId?: Record<string, string> | null | undefined;
3251
3267
  }, {
3252
3268
  city: string;
3253
3269
  venueName: string;
@@ -3267,6 +3283,7 @@ export declare const createStadiumRatingSchema: z.ZodObject<z.objectUtil.extendS
3267
3283
  teamIds?: string[] | undefined;
3268
3284
  teamLeagues?: string[] | undefined;
3269
3285
  weightedScore?: number | undefined;
3286
+ sportsdataStadiumId?: Record<string, string> | null | undefined;
3270
3287
  }>;
3271
3288
  }>, "strip", z.ZodTypeAny, {
3272
3289
  type: "stadium" | "game";
@@ -3298,6 +3315,7 @@ export declare const createStadiumRatingSchema: z.ZodObject<z.objectUtil.extendS
3298
3315
  teamIds?: string[] | undefined;
3299
3316
  teamLeagues?: string[] | undefined;
3300
3317
  weightedScore?: number | undefined;
3318
+ sportsdataStadiumId?: Record<string, string> | null | undefined;
3301
3319
  };
3302
3320
  updatedAt?: number | undefined;
3303
3321
  comment?: string | undefined;
@@ -3380,6 +3398,7 @@ export declare const createStadiumRatingSchema: z.ZodObject<z.objectUtil.extendS
3380
3398
  teamIds?: string[] | undefined;
3381
3399
  teamLeagues?: string[] | undefined;
3382
3400
  weightedScore?: number | undefined;
3401
+ sportsdataStadiumId?: Record<string, string> | null | undefined;
3383
3402
  };
3384
3403
  updatedAt?: number | undefined;
3385
3404
  comment?: string | undefined;
@@ -47,6 +47,7 @@ exports.stadiumSchema = zod_1.z.object({
47
47
  rating: exports.stadiumRatingAggregateSchema.optional(),
48
48
  specialEvent: zod_1.z.boolean().optional(),
49
49
  weightedScore: zod_1.z.number().optional(),
50
+ sportsdataStadiumId: zod_1.z.record(zod_1.z.string(), zod_1.z.string()).optional().nullable(),
50
51
  });
51
52
  // Simplified stadium schema for rating creation (excludes complex rating data)
52
53
  exports.stadiumForRatingSchema = exports.stadiumSchema.omit({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rategame-shared",
3
- "version": "1.1.305",
3
+ "version": "1.1.306",
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",