rategame-shared 1.1.481 → 1.1.482
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.
- package/dist/schemas/team.d.ts +21 -0
- package/dist/schemas/team.js +1 -0
- package/package.json +1 -1
package/dist/schemas/team.d.ts
CHANGED
|
@@ -16,6 +16,7 @@ export declare const teamSchema: z.ZodObject<{
|
|
|
16
16
|
venueName: z.ZodOptional<z.ZodString>;
|
|
17
17
|
primaryColor: z.ZodOptional<z.ZodString>;
|
|
18
18
|
countryId: z.ZodOptional<z.ZodString>;
|
|
19
|
+
canonicalId: z.ZodOptional<z.ZodString>;
|
|
19
20
|
specialEvent: z.ZodOptional<z.ZodBoolean>;
|
|
20
21
|
aliases: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
21
22
|
} & {
|
|
@@ -43,6 +44,7 @@ export declare const teamSchema: z.ZodObject<{
|
|
|
43
44
|
regularSeasonImage?: Record<string, string> | undefined;
|
|
44
45
|
playoffImage?: Record<string, string> | undefined;
|
|
45
46
|
countryId?: string | undefined;
|
|
47
|
+
canonicalId?: string | undefined;
|
|
46
48
|
specialEvent?: boolean | undefined;
|
|
47
49
|
conference?: string | undefined;
|
|
48
50
|
}, {
|
|
@@ -65,6 +67,7 @@ export declare const teamSchema: z.ZodObject<{
|
|
|
65
67
|
regularSeasonImage?: Record<string, string> | undefined;
|
|
66
68
|
playoffImage?: Record<string, string> | undefined;
|
|
67
69
|
countryId?: string | undefined;
|
|
70
|
+
canonicalId?: string | undefined;
|
|
68
71
|
specialEvent?: boolean | undefined;
|
|
69
72
|
conference?: string | undefined;
|
|
70
73
|
}>;
|
|
@@ -87,6 +90,7 @@ export declare const mlbTeamSchema: z.ZodObject<{
|
|
|
87
90
|
venueName: z.ZodOptional<z.ZodString>;
|
|
88
91
|
primaryColor: z.ZodOptional<z.ZodString>;
|
|
89
92
|
countryId: z.ZodOptional<z.ZodString>;
|
|
93
|
+
canonicalId: z.ZodOptional<z.ZodString>;
|
|
90
94
|
specialEvent: z.ZodOptional<z.ZodBoolean>;
|
|
91
95
|
aliases: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
92
96
|
} & {
|
|
@@ -113,6 +117,7 @@ export declare const mlbTeamSchema: z.ZodObject<{
|
|
|
113
117
|
regularSeasonImage?: Record<string, string> | undefined;
|
|
114
118
|
playoffImage?: Record<string, string> | undefined;
|
|
115
119
|
countryId?: string | undefined;
|
|
120
|
+
canonicalId?: string | undefined;
|
|
116
121
|
specialEvent?: boolean | undefined;
|
|
117
122
|
}, {
|
|
118
123
|
name: string;
|
|
@@ -134,6 +139,7 @@ export declare const mlbTeamSchema: z.ZodObject<{
|
|
|
134
139
|
regularSeasonImage?: Record<string, string> | undefined;
|
|
135
140
|
playoffImage?: Record<string, string> | undefined;
|
|
136
141
|
countryId?: string | undefined;
|
|
142
|
+
canonicalId?: string | undefined;
|
|
137
143
|
specialEvent?: boolean | undefined;
|
|
138
144
|
}>;
|
|
139
145
|
export declare const footballTeamSchema: z.ZodObject<{
|
|
@@ -151,6 +157,7 @@ export declare const footballTeamSchema: z.ZodObject<{
|
|
|
151
157
|
playoffImage: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
152
158
|
primaryColor: z.ZodOptional<z.ZodString>;
|
|
153
159
|
countryId: z.ZodOptional<z.ZodString>;
|
|
160
|
+
canonicalId: z.ZodOptional<z.ZodString>;
|
|
154
161
|
specialEvent: z.ZodOptional<z.ZodBoolean>;
|
|
155
162
|
aliases: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
156
163
|
} & {
|
|
@@ -174,6 +181,7 @@ export declare const footballTeamSchema: z.ZodObject<{
|
|
|
174
181
|
regularSeasonImage?: Record<string, string> | undefined;
|
|
175
182
|
playoffImage?: Record<string, string> | undefined;
|
|
176
183
|
countryId?: string | undefined;
|
|
184
|
+
canonicalId?: string | undefined;
|
|
177
185
|
specialEvent?: boolean | undefined;
|
|
178
186
|
}, {
|
|
179
187
|
name: string;
|
|
@@ -193,6 +201,7 @@ export declare const footballTeamSchema: z.ZodObject<{
|
|
|
193
201
|
regularSeasonImage?: Record<string, string> | undefined;
|
|
194
202
|
playoffImage?: Record<string, string> | undefined;
|
|
195
203
|
countryId?: string | undefined;
|
|
204
|
+
canonicalId?: string | undefined;
|
|
196
205
|
specialEvent?: boolean | undefined;
|
|
197
206
|
}>;
|
|
198
207
|
export declare const nflTeamSchema: z.ZodObject<{
|
|
@@ -212,6 +221,7 @@ export declare const nflTeamSchema: z.ZodObject<{
|
|
|
212
221
|
venueName: z.ZodOptional<z.ZodString>;
|
|
213
222
|
primaryColor: z.ZodOptional<z.ZodString>;
|
|
214
223
|
countryId: z.ZodOptional<z.ZodString>;
|
|
224
|
+
canonicalId: z.ZodOptional<z.ZodString>;
|
|
215
225
|
specialEvent: z.ZodOptional<z.ZodBoolean>;
|
|
216
226
|
aliases: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
217
227
|
} & {
|
|
@@ -237,6 +247,7 @@ export declare const nflTeamSchema: z.ZodObject<{
|
|
|
237
247
|
regularSeasonImage?: Record<string, string> | undefined;
|
|
238
248
|
playoffImage?: Record<string, string> | undefined;
|
|
239
249
|
countryId?: string | undefined;
|
|
250
|
+
canonicalId?: string | undefined;
|
|
240
251
|
specialEvent?: boolean | undefined;
|
|
241
252
|
conference?: string | undefined;
|
|
242
253
|
}, {
|
|
@@ -258,6 +269,7 @@ export declare const nflTeamSchema: z.ZodObject<{
|
|
|
258
269
|
regularSeasonImage?: Record<string, string> | undefined;
|
|
259
270
|
playoffImage?: Record<string, string> | undefined;
|
|
260
271
|
countryId?: string | undefined;
|
|
272
|
+
canonicalId?: string | undefined;
|
|
261
273
|
specialEvent?: boolean | undefined;
|
|
262
274
|
conference?: string | undefined;
|
|
263
275
|
}>;
|
|
@@ -278,6 +290,7 @@ export declare const cfbTeamSchema: z.ZodObject<{
|
|
|
278
290
|
venueName: z.ZodOptional<z.ZodString>;
|
|
279
291
|
primaryColor: z.ZodOptional<z.ZodString>;
|
|
280
292
|
countryId: z.ZodOptional<z.ZodString>;
|
|
293
|
+
canonicalId: z.ZodOptional<z.ZodString>;
|
|
281
294
|
specialEvent: z.ZodOptional<z.ZodBoolean>;
|
|
282
295
|
aliases: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
283
296
|
} & {
|
|
@@ -304,6 +317,7 @@ export declare const cfbTeamSchema: z.ZodObject<{
|
|
|
304
317
|
regularSeasonImage?: Record<string, string> | undefined;
|
|
305
318
|
playoffImage?: Record<string, string> | undefined;
|
|
306
319
|
countryId?: string | undefined;
|
|
320
|
+
canonicalId?: string | undefined;
|
|
307
321
|
specialEvent?: boolean | undefined;
|
|
308
322
|
conference?: string | undefined;
|
|
309
323
|
APRank?: number | undefined;
|
|
@@ -326,6 +340,7 @@ export declare const cfbTeamSchema: z.ZodObject<{
|
|
|
326
340
|
regularSeasonImage?: Record<string, string> | undefined;
|
|
327
341
|
playoffImage?: Record<string, string> | undefined;
|
|
328
342
|
countryId?: string | undefined;
|
|
343
|
+
canonicalId?: string | undefined;
|
|
329
344
|
specialEvent?: boolean | undefined;
|
|
330
345
|
conference?: string | undefined;
|
|
331
346
|
APRank?: number | undefined;
|
|
@@ -347,6 +362,7 @@ export declare const cbbTeamSchema: z.ZodObject<{
|
|
|
347
362
|
venueName: z.ZodOptional<z.ZodString>;
|
|
348
363
|
primaryColor: z.ZodOptional<z.ZodString>;
|
|
349
364
|
countryId: z.ZodOptional<z.ZodString>;
|
|
365
|
+
canonicalId: z.ZodOptional<z.ZodString>;
|
|
350
366
|
specialEvent: z.ZodOptional<z.ZodBoolean>;
|
|
351
367
|
aliases: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
352
368
|
} & {
|
|
@@ -373,6 +389,7 @@ export declare const cbbTeamSchema: z.ZodObject<{
|
|
|
373
389
|
regularSeasonImage?: Record<string, string> | undefined;
|
|
374
390
|
playoffImage?: Record<string, string> | undefined;
|
|
375
391
|
countryId?: string | undefined;
|
|
392
|
+
canonicalId?: string | undefined;
|
|
376
393
|
specialEvent?: boolean | undefined;
|
|
377
394
|
conference?: string | undefined;
|
|
378
395
|
APRank?: number | undefined;
|
|
@@ -395,6 +412,7 @@ export declare const cbbTeamSchema: z.ZodObject<{
|
|
|
395
412
|
regularSeasonImage?: Record<string, string> | undefined;
|
|
396
413
|
playoffImage?: Record<string, string> | undefined;
|
|
397
414
|
countryId?: string | undefined;
|
|
415
|
+
canonicalId?: string | undefined;
|
|
398
416
|
specialEvent?: boolean | undefined;
|
|
399
417
|
conference?: string | undefined;
|
|
400
418
|
APRank?: number | undefined;
|
|
@@ -416,6 +434,7 @@ export declare const nhlTeamSchema: z.ZodObject<{
|
|
|
416
434
|
venueName: z.ZodOptional<z.ZodString>;
|
|
417
435
|
primaryColor: z.ZodOptional<z.ZodString>;
|
|
418
436
|
countryId: z.ZodOptional<z.ZodString>;
|
|
437
|
+
canonicalId: z.ZodOptional<z.ZodString>;
|
|
419
438
|
specialEvent: z.ZodOptional<z.ZodBoolean>;
|
|
420
439
|
aliases: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
421
440
|
} & {
|
|
@@ -441,6 +460,7 @@ export declare const nhlTeamSchema: z.ZodObject<{
|
|
|
441
460
|
regularSeasonImage?: Record<string, string> | undefined;
|
|
442
461
|
playoffImage?: Record<string, string> | undefined;
|
|
443
462
|
countryId?: string | undefined;
|
|
463
|
+
canonicalId?: string | undefined;
|
|
444
464
|
specialEvent?: boolean | undefined;
|
|
445
465
|
conference?: string | undefined;
|
|
446
466
|
}, {
|
|
@@ -462,6 +482,7 @@ export declare const nhlTeamSchema: z.ZodObject<{
|
|
|
462
482
|
regularSeasonImage?: Record<string, string> | undefined;
|
|
463
483
|
playoffImage?: Record<string, string> | undefined;
|
|
464
484
|
countryId?: string | undefined;
|
|
485
|
+
canonicalId?: string | undefined;
|
|
465
486
|
specialEvent?: boolean | undefined;
|
|
466
487
|
conference?: string | undefined;
|
|
467
488
|
}>;
|
package/dist/schemas/team.js
CHANGED
|
@@ -19,6 +19,7 @@ const baseTeamSchema = zod_1.z.object({
|
|
|
19
19
|
venueName: zod_1.z.string().optional(),
|
|
20
20
|
primaryColor: zod_1.z.string().optional(),
|
|
21
21
|
countryId: zod_1.z.string().optional(),
|
|
22
|
+
canonicalId: zod_1.z.string().optional(),
|
|
22
23
|
specialEvent: zod_1.z.boolean().optional(),
|
|
23
24
|
aliases: zod_1.z.array(zod_1.z.string()).optional(),
|
|
24
25
|
});
|