rategame-shared 1.1.554 → 1.1.556

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.
@@ -883,6 +883,8 @@ export declare const searchRatingSchema: import("zod").ZodObject<{
883
883
  sortBy: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"rating:asc">, import("zod").ZodLiteral<"rating:desc">, import("zod").ZodLiteral<"createdAt:asc">, import("zod").ZodLiteral<"createdAt:desc">, import("zod").ZodLiteral<"userLikes:asc">, import("zod").ZodLiteral<"userLikes:desc">, import("zod").ZodLiteral<"game.startedAt:desc">]>>;
884
884
  limit: import("zod").ZodOptional<import("zod").ZodString>;
885
885
  offset: import("zod").ZodOptional<import("zod").ZodString>;
886
+ skipConsecutiveUserRatings: import("zod").ZodOptional<import("zod").ZodString>;
887
+ userIdToIgnore: import("zod").ZodOptional<import("zod").ZodString>;
886
888
  gameId: import("zod").ZodOptional<import("zod").ZodString>;
887
889
  showEmptyRatings: import("zod").ZodOptional<import("zod").ZodString>;
888
890
  comment: import("zod").ZodOptional<import("zod").ZodString>;
@@ -928,6 +930,8 @@ export declare const searchRatingSchema: import("zod").ZodObject<{
928
930
  ratingMax?: string | undefined;
929
931
  fanCategory?: "homeTeam" | "awayTeam" | "winningTeam" | "losingTeam" | "neutral" | undefined;
930
932
  userLocation?: string | null | undefined;
933
+ skipConsecutiveUserRatings?: string | undefined;
934
+ userIdToIgnore?: string | undefined;
931
935
  showEmptyRatings?: string | undefined;
932
936
  mlbTeamLeague?: string | undefined;
933
937
  division?: string | undefined;
@@ -959,6 +963,8 @@ export declare const searchRatingSchema: import("zod").ZodObject<{
959
963
  ratingMax?: string | undefined;
960
964
  fanCategory?: "homeTeam" | "awayTeam" | "winningTeam" | "losingTeam" | "neutral" | undefined;
961
965
  userLocation?: string | null | undefined;
966
+ skipConsecutiveUserRatings?: string | undefined;
967
+ userIdToIgnore?: string | undefined;
962
968
  showEmptyRatings?: string | undefined;
963
969
  mlbTeamLeague?: string | undefined;
964
970
  division?: string | undefined;
@@ -114,6 +114,8 @@ exports.searchRatingSchema = (0, zod_1.object)({
114
114
  sortBy: sharedTypes_1.ratingSortSchema.optional(),
115
115
  limit: (0, zod_1.string)().optional(),
116
116
  offset: (0, zod_1.string)().optional(),
117
+ skipConsecutiveUserRatings: (0, zod_1.string)().optional(),
118
+ userIdToIgnore: (0, zod_1.string)().optional(),
117
119
  gameId: (0, zod_1.string)().optional(),
118
120
  showEmptyRatings: (0, zod_1.string)().optional(),
119
121
  comment: (0, zod_1.string)().optional(),
@@ -4,6 +4,7 @@ export declare const teamSchema: z.ZodObject<{
4
4
  apiTeamId: z.ZodNumber;
5
5
  /** BallDontLie team id when the Firestore doc id is a separate canonical id (e.g. UCL). */
6
6
  bdlTeamId: z.ZodOptional<z.ZodNumber>;
7
+ bdlConferenceId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
7
8
  name: z.ZodString;
8
9
  image: z.ZodString;
9
10
  city: z.ZodOptional<z.ZodString>;
@@ -39,6 +40,7 @@ export declare const teamSchema: z.ZodObject<{
39
40
  primaryColor?: string | undefined;
40
41
  aliases?: string[] | undefined;
41
42
  conference?: string | undefined;
43
+ bdlConferenceId?: number | null | undefined;
42
44
  fans?: number | undefined;
43
45
  totalFans?: number | undefined;
44
46
  heroImage?: string | undefined;
@@ -62,6 +64,7 @@ export declare const teamSchema: z.ZodObject<{
62
64
  primaryColor?: string | undefined;
63
65
  aliases?: string[] | undefined;
64
66
  conference?: string | undefined;
67
+ bdlConferenceId?: number | null | undefined;
65
68
  fans?: number | undefined;
66
69
  totalFans?: number | undefined;
67
70
  heroImage?: string | undefined;
@@ -78,6 +81,7 @@ export declare const mlbTeamSchema: z.ZodObject<{
78
81
  apiTeamId: z.ZodNumber;
79
82
  /** BallDontLie team id when the Firestore doc id is a separate canonical id (e.g. UCL). */
80
83
  bdlTeamId: z.ZodOptional<z.ZodNumber>;
84
+ bdlConferenceId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
81
85
  name: z.ZodString;
82
86
  image: z.ZodString;
83
87
  city: z.ZodOptional<z.ZodString>;
@@ -111,6 +115,7 @@ export declare const mlbTeamSchema: z.ZodObject<{
111
115
  venueName?: string | undefined;
112
116
  primaryColor?: string | undefined;
113
117
  aliases?: string[] | undefined;
118
+ bdlConferenceId?: number | null | undefined;
114
119
  fans?: number | undefined;
115
120
  totalFans?: number | undefined;
116
121
  heroImage?: string | undefined;
@@ -133,6 +138,7 @@ export declare const mlbTeamSchema: z.ZodObject<{
133
138
  venueName?: string | undefined;
134
139
  primaryColor?: string | undefined;
135
140
  aliases?: string[] | undefined;
141
+ bdlConferenceId?: number | null | undefined;
136
142
  fans?: number | undefined;
137
143
  totalFans?: number | undefined;
138
144
  heroImage?: string | undefined;
@@ -146,6 +152,7 @@ export declare const footballTeamSchema: z.ZodObject<{
146
152
  id: z.ZodOptional<z.ZodString>;
147
153
  apiTeamId: z.ZodNumber;
148
154
  bdlTeamId: z.ZodOptional<z.ZodNumber>;
155
+ bdlConferenceId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
149
156
  name: z.ZodString;
150
157
  image: z.ZodString;
151
158
  city: z.ZodOptional<z.ZodString>;
@@ -175,6 +182,7 @@ export declare const footballTeamSchema: z.ZodObject<{
175
182
  venueName?: string | undefined;
176
183
  primaryColor?: string | undefined;
177
184
  aliases?: string[] | undefined;
185
+ bdlConferenceId?: number | null | undefined;
178
186
  fans?: number | undefined;
179
187
  totalFans?: number | undefined;
180
188
  heroImage?: string | undefined;
@@ -195,6 +203,7 @@ export declare const footballTeamSchema: z.ZodObject<{
195
203
  venueName?: string | undefined;
196
204
  primaryColor?: string | undefined;
197
205
  aliases?: string[] | undefined;
206
+ bdlConferenceId?: number | null | undefined;
198
207
  fans?: number | undefined;
199
208
  totalFans?: number | undefined;
200
209
  heroImage?: string | undefined;
@@ -209,6 +218,7 @@ export declare const nflTeamSchema: z.ZodObject<{
209
218
  apiTeamId: z.ZodNumber;
210
219
  /** BallDontLie team id when the Firestore doc id is a separate canonical id (e.g. UCL). */
211
220
  bdlTeamId: z.ZodOptional<z.ZodNumber>;
221
+ bdlConferenceId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
212
222
  name: z.ZodString;
213
223
  image: z.ZodString;
214
224
  city: z.ZodOptional<z.ZodString>;
@@ -242,6 +252,7 @@ export declare const nflTeamSchema: z.ZodObject<{
242
252
  aliases?: string[] | undefined;
243
253
  conference?: string | undefined;
244
254
  division?: string | undefined;
255
+ bdlConferenceId?: number | null | undefined;
245
256
  fans?: number | undefined;
246
257
  totalFans?: number | undefined;
247
258
  heroImage?: string | undefined;
@@ -264,6 +275,7 @@ export declare const nflTeamSchema: z.ZodObject<{
264
275
  aliases?: string[] | undefined;
265
276
  conference?: string | undefined;
266
277
  division?: string | undefined;
278
+ bdlConferenceId?: number | null | undefined;
267
279
  fans?: number | undefined;
268
280
  totalFans?: number | undefined;
269
281
  heroImage?: string | undefined;
@@ -278,6 +290,7 @@ export declare const cfbTeamSchema: z.ZodObject<{
278
290
  apiTeamId: z.ZodNumber;
279
291
  /** BallDontLie team id when the Firestore doc id is a separate canonical id (e.g. UCL). */
280
292
  bdlTeamId: z.ZodOptional<z.ZodNumber>;
293
+ bdlConferenceId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
281
294
  name: z.ZodString;
282
295
  image: z.ZodString;
283
296
  city: z.ZodOptional<z.ZodString>;
@@ -314,6 +327,7 @@ export declare const cfbTeamSchema: z.ZodObject<{
314
327
  primaryColor?: string | undefined;
315
328
  aliases?: string[] | undefined;
316
329
  conference?: string | undefined;
330
+ bdlConferenceId?: number | null | undefined;
317
331
  fans?: number | undefined;
318
332
  totalFans?: number | undefined;
319
333
  heroImage?: string | undefined;
@@ -339,6 +353,7 @@ export declare const cfbTeamSchema: z.ZodObject<{
339
353
  primaryColor?: string | undefined;
340
354
  aliases?: string[] | undefined;
341
355
  conference?: string | undefined;
356
+ bdlConferenceId?: number | null | undefined;
342
357
  fans?: number | undefined;
343
358
  totalFans?: number | undefined;
344
359
  heroImage?: string | undefined;
@@ -356,6 +371,7 @@ export declare const cbbTeamSchema: z.ZodObject<{
356
371
  apiTeamId: z.ZodNumber;
357
372
  /** BallDontLie team id when the Firestore doc id is a separate canonical id (e.g. UCL). */
358
373
  bdlTeamId: z.ZodOptional<z.ZodNumber>;
374
+ bdlConferenceId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
359
375
  name: z.ZodString;
360
376
  image: z.ZodString;
361
377
  city: z.ZodOptional<z.ZodString>;
@@ -391,6 +407,7 @@ export declare const cbbTeamSchema: z.ZodObject<{
391
407
  primaryColor?: string | undefined;
392
408
  aliases?: string[] | undefined;
393
409
  conference?: string | undefined;
410
+ bdlConferenceId?: number | null | undefined;
394
411
  fans?: number | undefined;
395
412
  totalFans?: number | undefined;
396
413
  heroImage?: string | undefined;
@@ -415,6 +432,7 @@ export declare const cbbTeamSchema: z.ZodObject<{
415
432
  primaryColor?: string | undefined;
416
433
  aliases?: string[] | undefined;
417
434
  conference?: string | undefined;
435
+ bdlConferenceId?: number | null | undefined;
418
436
  fans?: number | undefined;
419
437
  totalFans?: number | undefined;
420
438
  heroImage?: string | undefined;
@@ -431,6 +449,7 @@ export declare const nhlTeamSchema: z.ZodObject<{
431
449
  apiTeamId: z.ZodNumber;
432
450
  /** BallDontLie team id when the Firestore doc id is a separate canonical id (e.g. UCL). */
433
451
  bdlTeamId: z.ZodOptional<z.ZodNumber>;
452
+ bdlConferenceId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
434
453
  name: z.ZodString;
435
454
  image: z.ZodString;
436
455
  city: z.ZodOptional<z.ZodString>;
@@ -464,6 +483,7 @@ export declare const nhlTeamSchema: z.ZodObject<{
464
483
  aliases?: string[] | undefined;
465
484
  conference?: string | undefined;
466
485
  division?: string | undefined;
486
+ bdlConferenceId?: number | null | undefined;
467
487
  fans?: number | undefined;
468
488
  totalFans?: number | undefined;
469
489
  heroImage?: string | undefined;
@@ -486,6 +506,7 @@ export declare const nhlTeamSchema: z.ZodObject<{
486
506
  aliases?: string[] | undefined;
487
507
  conference?: string | undefined;
488
508
  division?: string | undefined;
509
+ bdlConferenceId?: number | null | undefined;
489
510
  fans?: number | undefined;
490
511
  totalFans?: number | undefined;
491
512
  heroImage?: string | undefined;
@@ -7,6 +7,7 @@ const baseTeamSchema = zod_1.z.object({
7
7
  apiTeamId: zod_1.z.number(),
8
8
  /** BallDontLie team id when the Firestore doc id is a separate canonical id (e.g. UCL). */
9
9
  bdlTeamId: zod_1.z.number().optional(),
10
+ bdlConferenceId: zod_1.z.number().nullable().optional(),
10
11
  name: zod_1.z.string(),
11
12
  image: zod_1.z.string(),
12
13
  city: zod_1.z.string().optional(),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rategame-shared",
3
- "version": "1.1.554",
3
+ "version": "1.1.556",
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",