rategame-shared 1.1.425 → 1.1.427
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.
|
@@ -1,12 +1,8 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
export declare const fifaStandingsTeamSchema: z.ZodObject<{
|
|
3
|
-
teamId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4
3
|
apiTeamId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
5
4
|
name: z.ZodString;
|
|
6
5
|
shortName: z.ZodOptional<z.ZodString>;
|
|
7
|
-
image: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8
|
-
teamCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9
|
-
countryId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10
6
|
order: z.ZodNumber;
|
|
11
7
|
games: z.ZodNumber;
|
|
12
8
|
wins: z.ZodNumber;
|
|
@@ -27,11 +23,7 @@ export declare const fifaStandingsTeamSchema: z.ZodObject<{
|
|
|
27
23
|
goalsAgainst: number;
|
|
28
24
|
goalsDifferential: number;
|
|
29
25
|
points: number;
|
|
30
|
-
image?: string | null | undefined;
|
|
31
26
|
apiTeamId?: number | null | undefined;
|
|
32
|
-
teamCode?: string | null | undefined;
|
|
33
|
-
teamId?: string | null | undefined;
|
|
34
|
-
countryId?: string | null | undefined;
|
|
35
27
|
shortName?: string | undefined;
|
|
36
28
|
}, {
|
|
37
29
|
name: string;
|
|
@@ -44,24 +36,15 @@ export declare const fifaStandingsTeamSchema: z.ZodObject<{
|
|
|
44
36
|
goalsAgainst: number;
|
|
45
37
|
goalsDifferential: number;
|
|
46
38
|
points: number;
|
|
47
|
-
image?: string | null | undefined;
|
|
48
39
|
apiTeamId?: number | null | undefined;
|
|
49
|
-
teamCode?: string | null | undefined;
|
|
50
|
-
teamId?: string | null | undefined;
|
|
51
|
-
countryId?: string | null | undefined;
|
|
52
40
|
shortName?: string | undefined;
|
|
53
41
|
}>;
|
|
54
42
|
export declare const fifaStandingsGroupSchema: z.ZodObject<{
|
|
55
43
|
groupKey: z.ZodString;
|
|
56
|
-
groupName: z.ZodString;
|
|
57
44
|
teams: z.ZodArray<z.ZodObject<{
|
|
58
|
-
teamId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
59
45
|
apiTeamId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
60
46
|
name: z.ZodString;
|
|
61
47
|
shortName: z.ZodOptional<z.ZodString>;
|
|
62
|
-
image: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
63
|
-
teamCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
64
|
-
countryId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
65
48
|
order: z.ZodNumber;
|
|
66
49
|
games: z.ZodNumber;
|
|
67
50
|
wins: z.ZodNumber;
|
|
@@ -82,11 +65,7 @@ export declare const fifaStandingsGroupSchema: z.ZodObject<{
|
|
|
82
65
|
goalsAgainst: number;
|
|
83
66
|
goalsDifferential: number;
|
|
84
67
|
points: number;
|
|
85
|
-
image?: string | null | undefined;
|
|
86
68
|
apiTeamId?: number | null | undefined;
|
|
87
|
-
teamCode?: string | null | undefined;
|
|
88
|
-
teamId?: string | null | undefined;
|
|
89
|
-
countryId?: string | null | undefined;
|
|
90
69
|
shortName?: string | undefined;
|
|
91
70
|
}, {
|
|
92
71
|
name: string;
|
|
@@ -99,11 +78,7 @@ export declare const fifaStandingsGroupSchema: z.ZodObject<{
|
|
|
99
78
|
goalsAgainst: number;
|
|
100
79
|
goalsDifferential: number;
|
|
101
80
|
points: number;
|
|
102
|
-
image?: string | null | undefined;
|
|
103
81
|
apiTeamId?: number | null | undefined;
|
|
104
|
-
teamCode?: string | null | undefined;
|
|
105
|
-
teamId?: string | null | undefined;
|
|
106
|
-
countryId?: string | null | undefined;
|
|
107
82
|
shortName?: string | undefined;
|
|
108
83
|
}>, "many">;
|
|
109
84
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -118,15 +93,10 @@ export declare const fifaStandingsGroupSchema: z.ZodObject<{
|
|
|
118
93
|
goalsAgainst: number;
|
|
119
94
|
goalsDifferential: number;
|
|
120
95
|
points: number;
|
|
121
|
-
image?: string | null | undefined;
|
|
122
96
|
apiTeamId?: number | null | undefined;
|
|
123
|
-
teamCode?: string | null | undefined;
|
|
124
|
-
teamId?: string | null | undefined;
|
|
125
|
-
countryId?: string | null | undefined;
|
|
126
97
|
shortName?: string | undefined;
|
|
127
98
|
}[];
|
|
128
99
|
groupKey: string;
|
|
129
|
-
groupName: string;
|
|
130
100
|
}, {
|
|
131
101
|
teams: {
|
|
132
102
|
name: string;
|
|
@@ -139,30 +109,18 @@ export declare const fifaStandingsGroupSchema: z.ZodObject<{
|
|
|
139
109
|
goalsAgainst: number;
|
|
140
110
|
goalsDifferential: number;
|
|
141
111
|
points: number;
|
|
142
|
-
image?: string | null | undefined;
|
|
143
112
|
apiTeamId?: number | null | undefined;
|
|
144
|
-
teamCode?: string | null | undefined;
|
|
145
|
-
teamId?: string | null | undefined;
|
|
146
|
-
countryId?: string | null | undefined;
|
|
147
113
|
shortName?: string | undefined;
|
|
148
114
|
}[];
|
|
149
115
|
groupKey: string;
|
|
150
|
-
groupName: string;
|
|
151
116
|
}>;
|
|
152
117
|
export declare const fifaStandingsResponseDtoSchema: z.ZodObject<{
|
|
153
|
-
league: z.ZodUnion<[z.ZodLiteral<"nba">, z.ZodLiteral<"ncaa">, z.ZodLiteral<"nfl">, z.ZodLiteral<"nhl">, z.ZodLiteral<"mlb">, z.ZodLiteral<"cbb">, z.ZodLiteral<"cfb">, z.ZodLiteral<"epl">, z.ZodLiteral<"mls">, z.ZodLiteral<"wnba">, z.ZodLiteral<"cwc">, z.ZodLiteral<"fifa">, z.ZodUnion<[z.ZodLiteral<"global">, z.ZodString]>]>;
|
|
154
|
-
season: z.ZodNumber;
|
|
155
118
|
groups: z.ZodArray<z.ZodObject<{
|
|
156
119
|
groupKey: z.ZodString;
|
|
157
|
-
groupName: z.ZodString;
|
|
158
120
|
teams: z.ZodArray<z.ZodObject<{
|
|
159
|
-
teamId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
160
121
|
apiTeamId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
161
122
|
name: z.ZodString;
|
|
162
123
|
shortName: z.ZodOptional<z.ZodString>;
|
|
163
|
-
image: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
164
|
-
teamCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
165
|
-
countryId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
166
124
|
order: z.ZodNumber;
|
|
167
125
|
games: z.ZodNumber;
|
|
168
126
|
wins: z.ZodNumber;
|
|
@@ -183,11 +141,7 @@ export declare const fifaStandingsResponseDtoSchema: z.ZodObject<{
|
|
|
183
141
|
goalsAgainst: number;
|
|
184
142
|
goalsDifferential: number;
|
|
185
143
|
points: number;
|
|
186
|
-
image?: string | null | undefined;
|
|
187
144
|
apiTeamId?: number | null | undefined;
|
|
188
|
-
teamCode?: string | null | undefined;
|
|
189
|
-
teamId?: string | null | undefined;
|
|
190
|
-
countryId?: string | null | undefined;
|
|
191
145
|
shortName?: string | undefined;
|
|
192
146
|
}, {
|
|
193
147
|
name: string;
|
|
@@ -200,11 +154,7 @@ export declare const fifaStandingsResponseDtoSchema: z.ZodObject<{
|
|
|
200
154
|
goalsAgainst: number;
|
|
201
155
|
goalsDifferential: number;
|
|
202
156
|
points: number;
|
|
203
|
-
image?: string | null | undefined;
|
|
204
157
|
apiTeamId?: number | null | undefined;
|
|
205
|
-
teamCode?: string | null | undefined;
|
|
206
|
-
teamId?: string | null | undefined;
|
|
207
|
-
countryId?: string | null | undefined;
|
|
208
158
|
shortName?: string | undefined;
|
|
209
159
|
}>, "many">;
|
|
210
160
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -219,15 +169,10 @@ export declare const fifaStandingsResponseDtoSchema: z.ZodObject<{
|
|
|
219
169
|
goalsAgainst: number;
|
|
220
170
|
goalsDifferential: number;
|
|
221
171
|
points: number;
|
|
222
|
-
image?: string | null | undefined;
|
|
223
172
|
apiTeamId?: number | null | undefined;
|
|
224
|
-
teamCode?: string | null | undefined;
|
|
225
|
-
teamId?: string | null | undefined;
|
|
226
|
-
countryId?: string | null | undefined;
|
|
227
173
|
shortName?: string | undefined;
|
|
228
174
|
}[];
|
|
229
175
|
groupKey: string;
|
|
230
|
-
groupName: string;
|
|
231
176
|
}, {
|
|
232
177
|
teams: {
|
|
233
178
|
name: string;
|
|
@@ -240,17 +185,11 @@ export declare const fifaStandingsResponseDtoSchema: z.ZodObject<{
|
|
|
240
185
|
goalsAgainst: number;
|
|
241
186
|
goalsDifferential: number;
|
|
242
187
|
points: number;
|
|
243
|
-
image?: string | null | undefined;
|
|
244
188
|
apiTeamId?: number | null | undefined;
|
|
245
|
-
teamCode?: string | null | undefined;
|
|
246
|
-
teamId?: string | null | undefined;
|
|
247
|
-
countryId?: string | null | undefined;
|
|
248
189
|
shortName?: string | undefined;
|
|
249
190
|
}[];
|
|
250
191
|
groupKey: string;
|
|
251
|
-
groupName: string;
|
|
252
192
|
}>, "many">;
|
|
253
|
-
updatedAt: z.ZodNumber;
|
|
254
193
|
}, "strip", z.ZodTypeAny, {
|
|
255
194
|
groups: {
|
|
256
195
|
teams: {
|
|
@@ -264,19 +203,11 @@ export declare const fifaStandingsResponseDtoSchema: z.ZodObject<{
|
|
|
264
203
|
goalsAgainst: number;
|
|
265
204
|
goalsDifferential: number;
|
|
266
205
|
points: number;
|
|
267
|
-
image?: string | null | undefined;
|
|
268
206
|
apiTeamId?: number | null | undefined;
|
|
269
|
-
teamCode?: string | null | undefined;
|
|
270
|
-
teamId?: string | null | undefined;
|
|
271
|
-
countryId?: string | null | undefined;
|
|
272
207
|
shortName?: string | undefined;
|
|
273
208
|
}[];
|
|
274
209
|
groupKey: string;
|
|
275
|
-
groupName: string;
|
|
276
210
|
}[];
|
|
277
|
-
league: string;
|
|
278
|
-
updatedAt: number;
|
|
279
|
-
season: number;
|
|
280
211
|
}, {
|
|
281
212
|
groups: {
|
|
282
213
|
teams: {
|
|
@@ -290,17 +221,9 @@ export declare const fifaStandingsResponseDtoSchema: z.ZodObject<{
|
|
|
290
221
|
goalsAgainst: number;
|
|
291
222
|
goalsDifferential: number;
|
|
292
223
|
points: number;
|
|
293
|
-
image?: string | null | undefined;
|
|
294
224
|
apiTeamId?: number | null | undefined;
|
|
295
|
-
teamCode?: string | null | undefined;
|
|
296
|
-
teamId?: string | null | undefined;
|
|
297
|
-
countryId?: string | null | undefined;
|
|
298
225
|
shortName?: string | undefined;
|
|
299
226
|
}[];
|
|
300
227
|
groupKey: string;
|
|
301
|
-
groupName: string;
|
|
302
228
|
}[];
|
|
303
|
-
league: string;
|
|
304
|
-
updatedAt: number;
|
|
305
|
-
season: number;
|
|
306
229
|
}>;
|
|
@@ -2,16 +2,11 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.fifaStandingsResponseDtoSchema = exports.fifaStandingsGroupSchema = exports.fifaStandingsTeamSchema = void 0;
|
|
4
4
|
const zod_1 = require("zod");
|
|
5
|
-
const sharedTypes_1 = require("./sharedTypes");
|
|
6
5
|
// One team's row inside a group standings table
|
|
7
6
|
exports.fifaStandingsTeamSchema = zod_1.z.object({
|
|
8
|
-
teamId: zod_1.z.string().nullable().optional(),
|
|
9
7
|
apiTeamId: zod_1.z.number().nullable().optional(),
|
|
10
8
|
name: zod_1.z.string(),
|
|
11
9
|
shortName: zod_1.z.string().optional(),
|
|
12
|
-
image: zod_1.z.string().nullable().optional(),
|
|
13
|
-
teamCode: zod_1.z.string().nullable().optional(),
|
|
14
|
-
countryId: zod_1.z.string().nullable().optional(),
|
|
15
10
|
order: zod_1.z.number(),
|
|
16
11
|
games: zod_1.z.number(),
|
|
17
12
|
wins: zod_1.z.number(),
|
|
@@ -24,12 +19,8 @@ exports.fifaStandingsTeamSchema = zod_1.z.object({
|
|
|
24
19
|
});
|
|
25
20
|
exports.fifaStandingsGroupSchema = zod_1.z.object({
|
|
26
21
|
groupKey: zod_1.z.string(),
|
|
27
|
-
groupName: zod_1.z.string(),
|
|
28
22
|
teams: zod_1.z.array(exports.fifaStandingsTeamSchema),
|
|
29
23
|
});
|
|
30
24
|
exports.fifaStandingsResponseDtoSchema = zod_1.z.object({
|
|
31
|
-
league: sharedTypes_1.leagueSlug,
|
|
32
|
-
season: zod_1.z.number(),
|
|
33
25
|
groups: zod_1.z.array(exports.fifaStandingsGroupSchema),
|
|
34
|
-
updatedAt: zod_1.z.number(),
|
|
35
26
|
});
|