rategame-shared 1.1.464 → 1.1.465
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
|
@@ -14,6 +14,7 @@ export declare const teamSchema: z.ZodObject<{
|
|
|
14
14
|
venueName: z.ZodOptional<z.ZodString>;
|
|
15
15
|
primaryColor: z.ZodOptional<z.ZodString>;
|
|
16
16
|
countryId: z.ZodOptional<z.ZodString>;
|
|
17
|
+
specialEvent: z.ZodOptional<z.ZodBoolean>;
|
|
17
18
|
aliases: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
18
19
|
} & {
|
|
19
20
|
seed: z.ZodNumber;
|
|
@@ -39,6 +40,7 @@ export declare const teamSchema: z.ZodObject<{
|
|
|
39
40
|
regularSeasonImage?: Record<string, string> | undefined;
|
|
40
41
|
playoffImage?: Record<string, string> | undefined;
|
|
41
42
|
countryId?: string | undefined;
|
|
43
|
+
specialEvent?: boolean | undefined;
|
|
42
44
|
conference?: string | undefined;
|
|
43
45
|
}, {
|
|
44
46
|
name: string;
|
|
@@ -59,6 +61,7 @@ export declare const teamSchema: z.ZodObject<{
|
|
|
59
61
|
regularSeasonImage?: Record<string, string> | undefined;
|
|
60
62
|
playoffImage?: Record<string, string> | undefined;
|
|
61
63
|
countryId?: string | undefined;
|
|
64
|
+
specialEvent?: boolean | undefined;
|
|
62
65
|
conference?: string | undefined;
|
|
63
66
|
}>;
|
|
64
67
|
export declare const divisionSchema: z.ZodUnion<[z.ZodLiteral<"east">, z.ZodLiteral<"central">, z.ZodLiteral<"west">]>;
|
|
@@ -78,6 +81,7 @@ export declare const mlbTeamSchema: z.ZodObject<{
|
|
|
78
81
|
venueName: z.ZodOptional<z.ZodString>;
|
|
79
82
|
primaryColor: z.ZodOptional<z.ZodString>;
|
|
80
83
|
countryId: z.ZodOptional<z.ZodString>;
|
|
84
|
+
specialEvent: z.ZodOptional<z.ZodBoolean>;
|
|
81
85
|
aliases: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
82
86
|
} & {
|
|
83
87
|
division: z.ZodUnion<[z.ZodLiteral<"east">, z.ZodLiteral<"central">, z.ZodLiteral<"west">]>;
|
|
@@ -102,6 +106,7 @@ export declare const mlbTeamSchema: z.ZodObject<{
|
|
|
102
106
|
regularSeasonImage?: Record<string, string> | undefined;
|
|
103
107
|
playoffImage?: Record<string, string> | undefined;
|
|
104
108
|
countryId?: string | undefined;
|
|
109
|
+
specialEvent?: boolean | undefined;
|
|
105
110
|
}, {
|
|
106
111
|
name: string;
|
|
107
112
|
image: string;
|
|
@@ -121,6 +126,7 @@ export declare const mlbTeamSchema: z.ZodObject<{
|
|
|
121
126
|
regularSeasonImage?: Record<string, string> | undefined;
|
|
122
127
|
playoffImage?: Record<string, string> | undefined;
|
|
123
128
|
countryId?: string | undefined;
|
|
129
|
+
specialEvent?: boolean | undefined;
|
|
124
130
|
}>;
|
|
125
131
|
export declare const footballTeamSchema: z.ZodObject<{
|
|
126
132
|
id: z.ZodOptional<z.ZodString>;
|
|
@@ -136,6 +142,7 @@ export declare const footballTeamSchema: z.ZodObject<{
|
|
|
136
142
|
playoffImage: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
137
143
|
primaryColor: z.ZodOptional<z.ZodString>;
|
|
138
144
|
countryId: z.ZodOptional<z.ZodString>;
|
|
145
|
+
specialEvent: z.ZodOptional<z.ZodBoolean>;
|
|
139
146
|
aliases: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
140
147
|
} & {
|
|
141
148
|
teamCode: z.ZodOptional<z.ZodString>;
|
|
@@ -157,6 +164,7 @@ export declare const footballTeamSchema: z.ZodObject<{
|
|
|
157
164
|
regularSeasonImage?: Record<string, string> | undefined;
|
|
158
165
|
playoffImage?: Record<string, string> | undefined;
|
|
159
166
|
countryId?: string | undefined;
|
|
167
|
+
specialEvent?: boolean | undefined;
|
|
160
168
|
}, {
|
|
161
169
|
name: string;
|
|
162
170
|
image: string;
|
|
@@ -174,6 +182,7 @@ export declare const footballTeamSchema: z.ZodObject<{
|
|
|
174
182
|
regularSeasonImage?: Record<string, string> | undefined;
|
|
175
183
|
playoffImage?: Record<string, string> | undefined;
|
|
176
184
|
countryId?: string | undefined;
|
|
185
|
+
specialEvent?: boolean | undefined;
|
|
177
186
|
}>;
|
|
178
187
|
export declare const nflTeamSchema: z.ZodObject<{
|
|
179
188
|
id: z.ZodOptional<z.ZodString>;
|
|
@@ -190,6 +199,7 @@ export declare const nflTeamSchema: z.ZodObject<{
|
|
|
190
199
|
venueName: z.ZodOptional<z.ZodString>;
|
|
191
200
|
primaryColor: z.ZodOptional<z.ZodString>;
|
|
192
201
|
countryId: z.ZodOptional<z.ZodString>;
|
|
202
|
+
specialEvent: z.ZodOptional<z.ZodBoolean>;
|
|
193
203
|
aliases: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
194
204
|
} & {
|
|
195
205
|
conference: z.ZodOptional<z.ZodString>;
|
|
@@ -213,6 +223,7 @@ export declare const nflTeamSchema: z.ZodObject<{
|
|
|
213
223
|
regularSeasonImage?: Record<string, string> | undefined;
|
|
214
224
|
playoffImage?: Record<string, string> | undefined;
|
|
215
225
|
countryId?: string | undefined;
|
|
226
|
+
specialEvent?: boolean | undefined;
|
|
216
227
|
conference?: string | undefined;
|
|
217
228
|
}, {
|
|
218
229
|
name: string;
|
|
@@ -232,6 +243,7 @@ export declare const nflTeamSchema: z.ZodObject<{
|
|
|
232
243
|
regularSeasonImage?: Record<string, string> | undefined;
|
|
233
244
|
playoffImage?: Record<string, string> | undefined;
|
|
234
245
|
countryId?: string | undefined;
|
|
246
|
+
specialEvent?: boolean | undefined;
|
|
235
247
|
conference?: string | undefined;
|
|
236
248
|
}>;
|
|
237
249
|
export declare const cfbTeamSchema: z.ZodObject<{
|
|
@@ -249,6 +261,7 @@ export declare const cfbTeamSchema: z.ZodObject<{
|
|
|
249
261
|
venueName: z.ZodOptional<z.ZodString>;
|
|
250
262
|
primaryColor: z.ZodOptional<z.ZodString>;
|
|
251
263
|
countryId: z.ZodOptional<z.ZodString>;
|
|
264
|
+
specialEvent: z.ZodOptional<z.ZodBoolean>;
|
|
252
265
|
aliases: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
253
266
|
} & {
|
|
254
267
|
teamCode: z.ZodOptional<z.ZodString>;
|
|
@@ -273,6 +286,7 @@ export declare const cfbTeamSchema: z.ZodObject<{
|
|
|
273
286
|
regularSeasonImage?: Record<string, string> | undefined;
|
|
274
287
|
playoffImage?: Record<string, string> | undefined;
|
|
275
288
|
countryId?: string | undefined;
|
|
289
|
+
specialEvent?: boolean | undefined;
|
|
276
290
|
conference?: string | undefined;
|
|
277
291
|
APRank?: number | undefined;
|
|
278
292
|
}, {
|
|
@@ -293,6 +307,7 @@ export declare const cfbTeamSchema: z.ZodObject<{
|
|
|
293
307
|
regularSeasonImage?: Record<string, string> | undefined;
|
|
294
308
|
playoffImage?: Record<string, string> | undefined;
|
|
295
309
|
countryId?: string | undefined;
|
|
310
|
+
specialEvent?: boolean | undefined;
|
|
296
311
|
conference?: string | undefined;
|
|
297
312
|
APRank?: number | undefined;
|
|
298
313
|
}>;
|
|
@@ -311,6 +326,7 @@ export declare const cbbTeamSchema: z.ZodObject<{
|
|
|
311
326
|
venueName: z.ZodOptional<z.ZodString>;
|
|
312
327
|
primaryColor: z.ZodOptional<z.ZodString>;
|
|
313
328
|
countryId: z.ZodOptional<z.ZodString>;
|
|
329
|
+
specialEvent: z.ZodOptional<z.ZodBoolean>;
|
|
314
330
|
aliases: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
315
331
|
} & {
|
|
316
332
|
teamCode: z.ZodOptional<z.ZodString>;
|
|
@@ -335,6 +351,7 @@ export declare const cbbTeamSchema: z.ZodObject<{
|
|
|
335
351
|
regularSeasonImage?: Record<string, string> | undefined;
|
|
336
352
|
playoffImage?: Record<string, string> | undefined;
|
|
337
353
|
countryId?: string | undefined;
|
|
354
|
+
specialEvent?: boolean | undefined;
|
|
338
355
|
conference?: string | undefined;
|
|
339
356
|
APRank?: number | undefined;
|
|
340
357
|
}, {
|
|
@@ -355,6 +372,7 @@ export declare const cbbTeamSchema: z.ZodObject<{
|
|
|
355
372
|
regularSeasonImage?: Record<string, string> | undefined;
|
|
356
373
|
playoffImage?: Record<string, string> | undefined;
|
|
357
374
|
countryId?: string | undefined;
|
|
375
|
+
specialEvent?: boolean | undefined;
|
|
358
376
|
conference?: string | undefined;
|
|
359
377
|
APRank?: number | undefined;
|
|
360
378
|
}>;
|
|
@@ -373,6 +391,7 @@ export declare const nhlTeamSchema: z.ZodObject<{
|
|
|
373
391
|
venueName: z.ZodOptional<z.ZodString>;
|
|
374
392
|
primaryColor: z.ZodOptional<z.ZodString>;
|
|
375
393
|
countryId: z.ZodOptional<z.ZodString>;
|
|
394
|
+
specialEvent: z.ZodOptional<z.ZodBoolean>;
|
|
376
395
|
aliases: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
377
396
|
} & {
|
|
378
397
|
teamCode: z.ZodOptional<z.ZodString>;
|
|
@@ -396,6 +415,7 @@ export declare const nhlTeamSchema: z.ZodObject<{
|
|
|
396
415
|
regularSeasonImage?: Record<string, string> | undefined;
|
|
397
416
|
playoffImage?: Record<string, string> | undefined;
|
|
398
417
|
countryId?: string | undefined;
|
|
418
|
+
specialEvent?: boolean | undefined;
|
|
399
419
|
conference?: string | undefined;
|
|
400
420
|
}, {
|
|
401
421
|
name: string;
|
|
@@ -415,5 +435,6 @@ export declare const nhlTeamSchema: z.ZodObject<{
|
|
|
415
435
|
regularSeasonImage?: Record<string, string> | undefined;
|
|
416
436
|
playoffImage?: Record<string, string> | undefined;
|
|
417
437
|
countryId?: string | undefined;
|
|
438
|
+
specialEvent?: boolean | undefined;
|
|
418
439
|
conference?: string | undefined;
|
|
419
440
|
}>;
|
package/dist/schemas/team.js
CHANGED
|
@@ -17,6 +17,7 @@ const baseTeamSchema = zod_1.z.object({
|
|
|
17
17
|
venueName: zod_1.z.string().optional(),
|
|
18
18
|
primaryColor: zod_1.z.string().optional(),
|
|
19
19
|
countryId: zod_1.z.string().optional(),
|
|
20
|
+
specialEvent: zod_1.z.boolean().optional(),
|
|
20
21
|
aliases: zod_1.z.array(zod_1.z.string()).optional(),
|
|
21
22
|
});
|
|
22
23
|
exports.teamSchema = baseTeamSchema.extend({
|