rategame-shared 1.1.182 → 1.1.184
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/helpers/index.js +1 -1
- package/dist/schemas/team.d.ts +19 -0
- package/dist/schemas/team.js +1 -0
- package/package.json +1 -1
package/dist/helpers/index.js
CHANGED
package/dist/schemas/team.d.ts
CHANGED
|
@@ -11,6 +11,7 @@ export declare const teamSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
11
11
|
heroImage: z.ZodOptional<z.ZodString>;
|
|
12
12
|
regularSeasonImage: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
13
13
|
playoffImage: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
14
|
+
venueName: z.ZodOptional<z.ZodString>;
|
|
14
15
|
}, {
|
|
15
16
|
seed: z.ZodNumber;
|
|
16
17
|
conference: z.ZodOptional<z.ZodString>;
|
|
@@ -24,6 +25,7 @@ export declare const teamSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
24
25
|
stadiumUrl?: string | undefined;
|
|
25
26
|
school?: string | undefined;
|
|
26
27
|
city?: string | undefined;
|
|
28
|
+
venueName?: string | undefined;
|
|
27
29
|
fans?: number | undefined;
|
|
28
30
|
totalFans?: number | undefined;
|
|
29
31
|
heroImage?: string | undefined;
|
|
@@ -39,6 +41,7 @@ export declare const teamSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
39
41
|
stadiumUrl?: string | undefined;
|
|
40
42
|
school?: string | undefined;
|
|
41
43
|
city?: string | undefined;
|
|
44
|
+
venueName?: string | undefined;
|
|
42
45
|
fans?: number | undefined;
|
|
43
46
|
totalFans?: number | undefined;
|
|
44
47
|
heroImage?: string | undefined;
|
|
@@ -60,6 +63,7 @@ export declare const mlbTeamSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
60
63
|
heroImage: z.ZodOptional<z.ZodString>;
|
|
61
64
|
regularSeasonImage: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
62
65
|
playoffImage: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
66
|
+
venueName: z.ZodOptional<z.ZodString>;
|
|
63
67
|
}, {
|
|
64
68
|
division: z.ZodUnion<[z.ZodLiteral<"east">, z.ZodLiteral<"central">, z.ZodLiteral<"west">]>;
|
|
65
69
|
league: z.ZodUnion<[z.ZodLiteral<"national">, z.ZodLiteral<"american">]>;
|
|
@@ -74,6 +78,7 @@ export declare const mlbTeamSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
74
78
|
teamCode?: string | undefined;
|
|
75
79
|
stadiumUrl?: string | undefined;
|
|
76
80
|
city?: string | undefined;
|
|
81
|
+
venueName?: string | undefined;
|
|
77
82
|
fans?: number | undefined;
|
|
78
83
|
totalFans?: number | undefined;
|
|
79
84
|
heroImage?: string | undefined;
|
|
@@ -89,6 +94,7 @@ export declare const mlbTeamSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
89
94
|
teamCode?: string | undefined;
|
|
90
95
|
stadiumUrl?: string | undefined;
|
|
91
96
|
city?: string | undefined;
|
|
97
|
+
venueName?: string | undefined;
|
|
92
98
|
fans?: number | undefined;
|
|
93
99
|
totalFans?: number | undefined;
|
|
94
100
|
heroImage?: string | undefined;
|
|
@@ -107,6 +113,7 @@ export declare const footballTeamSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
107
113
|
heroImage: z.ZodOptional<z.ZodString>;
|
|
108
114
|
regularSeasonImage: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
109
115
|
playoffImage: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
116
|
+
venueName: z.ZodOptional<z.ZodString>;
|
|
110
117
|
}, {
|
|
111
118
|
teamCode: z.ZodOptional<z.ZodString>;
|
|
112
119
|
venueName: z.ZodOptional<z.ZodString>;
|
|
@@ -151,6 +158,7 @@ export declare const nflTeamSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
151
158
|
heroImage: z.ZodOptional<z.ZodString>;
|
|
152
159
|
regularSeasonImage: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
153
160
|
playoffImage: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
161
|
+
venueName: z.ZodOptional<z.ZodString>;
|
|
154
162
|
}, {
|
|
155
163
|
conference: z.ZodOptional<z.ZodString>;
|
|
156
164
|
division: z.ZodOptional<z.ZodString>;
|
|
@@ -163,6 +171,7 @@ export declare const nflTeamSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
163
171
|
teamCode?: string | undefined;
|
|
164
172
|
stadiumUrl?: string | undefined;
|
|
165
173
|
city?: string | undefined;
|
|
174
|
+
venueName?: string | undefined;
|
|
166
175
|
division?: string | undefined;
|
|
167
176
|
fans?: number | undefined;
|
|
168
177
|
totalFans?: number | undefined;
|
|
@@ -178,6 +187,7 @@ export declare const nflTeamSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
178
187
|
teamCode?: string | undefined;
|
|
179
188
|
stadiumUrl?: string | undefined;
|
|
180
189
|
city?: string | undefined;
|
|
190
|
+
venueName?: string | undefined;
|
|
181
191
|
division?: string | undefined;
|
|
182
192
|
fans?: number | undefined;
|
|
183
193
|
totalFans?: number | undefined;
|
|
@@ -198,6 +208,7 @@ export declare const cfbTeamSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
198
208
|
heroImage: z.ZodOptional<z.ZodString>;
|
|
199
209
|
regularSeasonImage: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
200
210
|
playoffImage: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
211
|
+
venueName: z.ZodOptional<z.ZodString>;
|
|
201
212
|
}, {
|
|
202
213
|
teamCode: z.ZodOptional<z.ZodString>;
|
|
203
214
|
APRank: z.ZodOptional<z.ZodNumber>;
|
|
@@ -212,6 +223,7 @@ export declare const cfbTeamSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
212
223
|
teamCode?: string | undefined;
|
|
213
224
|
stadiumUrl?: string | undefined;
|
|
214
225
|
city?: string | undefined;
|
|
226
|
+
venueName?: string | undefined;
|
|
215
227
|
fans?: number | undefined;
|
|
216
228
|
totalFans?: number | undefined;
|
|
217
229
|
heroImage?: string | undefined;
|
|
@@ -228,6 +240,7 @@ export declare const cfbTeamSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
228
240
|
teamCode?: string | undefined;
|
|
229
241
|
stadiumUrl?: string | undefined;
|
|
230
242
|
city?: string | undefined;
|
|
243
|
+
venueName?: string | undefined;
|
|
231
244
|
fans?: number | undefined;
|
|
232
245
|
totalFans?: number | undefined;
|
|
233
246
|
heroImage?: string | undefined;
|
|
@@ -248,6 +261,7 @@ export declare const cbbTeamSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
248
261
|
heroImage: z.ZodOptional<z.ZodString>;
|
|
249
262
|
regularSeasonImage: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
250
263
|
playoffImage: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
264
|
+
venueName: z.ZodOptional<z.ZodString>;
|
|
251
265
|
}, {
|
|
252
266
|
teamCode: z.ZodOptional<z.ZodString>;
|
|
253
267
|
APRank: z.ZodOptional<z.ZodNumber>;
|
|
@@ -262,6 +276,7 @@ export declare const cbbTeamSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
262
276
|
teamCode?: string | undefined;
|
|
263
277
|
stadiumUrl?: string | undefined;
|
|
264
278
|
city?: string | undefined;
|
|
279
|
+
venueName?: string | undefined;
|
|
265
280
|
fans?: number | undefined;
|
|
266
281
|
totalFans?: number | undefined;
|
|
267
282
|
heroImage?: string | undefined;
|
|
@@ -278,6 +293,7 @@ export declare const cbbTeamSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
278
293
|
teamCode?: string | undefined;
|
|
279
294
|
stadiumUrl?: string | undefined;
|
|
280
295
|
city?: string | undefined;
|
|
296
|
+
venueName?: string | undefined;
|
|
281
297
|
fans?: number | undefined;
|
|
282
298
|
totalFans?: number | undefined;
|
|
283
299
|
heroImage?: string | undefined;
|
|
@@ -298,6 +314,7 @@ export declare const nhlTeamSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
298
314
|
heroImage: z.ZodOptional<z.ZodString>;
|
|
299
315
|
regularSeasonImage: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
300
316
|
playoffImage: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
317
|
+
venueName: z.ZodOptional<z.ZodString>;
|
|
301
318
|
}, {
|
|
302
319
|
teamCode: z.ZodOptional<z.ZodString>;
|
|
303
320
|
conference: z.ZodOptional<z.ZodString>;
|
|
@@ -310,6 +327,7 @@ export declare const nhlTeamSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
310
327
|
teamCode?: string | undefined;
|
|
311
328
|
stadiumUrl?: string | undefined;
|
|
312
329
|
city?: string | undefined;
|
|
330
|
+
venueName?: string | undefined;
|
|
313
331
|
division?: string | undefined;
|
|
314
332
|
fans?: number | undefined;
|
|
315
333
|
totalFans?: number | undefined;
|
|
@@ -325,6 +343,7 @@ export declare const nhlTeamSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
325
343
|
teamCode?: string | undefined;
|
|
326
344
|
stadiumUrl?: string | undefined;
|
|
327
345
|
city?: string | undefined;
|
|
346
|
+
venueName?: string | undefined;
|
|
328
347
|
division?: string | undefined;
|
|
329
348
|
fans?: number | undefined;
|
|
330
349
|
totalFans?: number | undefined;
|
package/dist/schemas/team.js
CHANGED
|
@@ -14,6 +14,7 @@ const baseTeamSchema = zod_1.z.object({
|
|
|
14
14
|
heroImage: zod_1.z.string().optional(),
|
|
15
15
|
regularSeasonImage: zod_1.z.record(zod_1.z.string()).optional(),
|
|
16
16
|
playoffImage: zod_1.z.record(zod_1.z.string()).optional(),
|
|
17
|
+
venueName: zod_1.z.string().optional(),
|
|
17
18
|
});
|
|
18
19
|
exports.teamSchema = baseTeamSchema.extend({
|
|
19
20
|
seed: zod_1.z.number(),
|