rategame-shared 1.0.58 → 1.0.59
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/nba/game.d.ts +16 -16
- package/dist/schemas/nba/game.js +1 -1
- package/package.json +1 -1
|
@@ -112,7 +112,7 @@ export declare const nbaGameSchema: z.ZodObject<{
|
|
|
112
112
|
awayTeamWins: number;
|
|
113
113
|
gameNumber: number;
|
|
114
114
|
}>;
|
|
115
|
-
rating: z.ZodObject<{
|
|
115
|
+
rating: z.ZodOptional<z.ZodObject<{
|
|
116
116
|
avg: z.ZodNumber;
|
|
117
117
|
votes: z.ZodObject<{
|
|
118
118
|
options: z.ZodRecord<z.ZodNumber, z.ZodNumber>;
|
|
@@ -136,7 +136,7 @@ export declare const nbaGameSchema: z.ZodObject<{
|
|
|
136
136
|
total: number;
|
|
137
137
|
options: Record<number, number>;
|
|
138
138
|
};
|
|
139
|
-
}
|
|
139
|
+
}>>;
|
|
140
140
|
userIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
141
141
|
}, "strip", z.ZodTypeAny, {
|
|
142
142
|
round: "quarters" | "conference" | "semis" | "finals";
|
|
@@ -169,13 +169,6 @@ export declare const nbaGameSchema: z.ZodObject<{
|
|
|
169
169
|
};
|
|
170
170
|
timeRemainingMinutes: number;
|
|
171
171
|
timeRemainingSeconds: number;
|
|
172
|
-
rating: {
|
|
173
|
-
avg: number;
|
|
174
|
-
votes: {
|
|
175
|
-
total: number;
|
|
176
|
-
options: Record<number, number>;
|
|
177
|
-
};
|
|
178
|
-
};
|
|
179
172
|
seriesInfo: {
|
|
180
173
|
maxLength: number;
|
|
181
174
|
homeTeamWins: number;
|
|
@@ -183,6 +176,13 @@ export declare const nbaGameSchema: z.ZodObject<{
|
|
|
183
176
|
gameNumber: number;
|
|
184
177
|
};
|
|
185
178
|
id?: string | undefined;
|
|
179
|
+
rating?: {
|
|
180
|
+
avg: number;
|
|
181
|
+
votes: {
|
|
182
|
+
total: number;
|
|
183
|
+
options: Record<number, number>;
|
|
184
|
+
};
|
|
185
|
+
} | undefined;
|
|
186
186
|
userIds?: string[] | undefined;
|
|
187
187
|
}, {
|
|
188
188
|
round: "quarters" | "conference" | "semis" | "finals";
|
|
@@ -215,13 +215,6 @@ export declare const nbaGameSchema: z.ZodObject<{
|
|
|
215
215
|
};
|
|
216
216
|
timeRemainingMinutes: number;
|
|
217
217
|
timeRemainingSeconds: number;
|
|
218
|
-
rating: {
|
|
219
|
-
avg: number;
|
|
220
|
-
votes: {
|
|
221
|
-
total: number;
|
|
222
|
-
options: Record<number, number>;
|
|
223
|
-
};
|
|
224
|
-
};
|
|
225
218
|
seriesInfo: {
|
|
226
219
|
maxLength: number;
|
|
227
220
|
homeTeamWins: number;
|
|
@@ -229,5 +222,12 @@ export declare const nbaGameSchema: z.ZodObject<{
|
|
|
229
222
|
gameNumber: number;
|
|
230
223
|
};
|
|
231
224
|
id?: string | undefined;
|
|
225
|
+
rating?: {
|
|
226
|
+
avg: number;
|
|
227
|
+
votes: {
|
|
228
|
+
total: number;
|
|
229
|
+
options: Record<number, number>;
|
|
230
|
+
};
|
|
231
|
+
} | undefined;
|
|
232
232
|
userIds?: string[] | undefined;
|
|
233
233
|
}>;
|
package/dist/schemas/nba/game.js
CHANGED
|
@@ -39,6 +39,6 @@ exports.nbaGameSchema = zod_1.z.object({
|
|
|
39
39
|
]),
|
|
40
40
|
quarters: exports.quartersSchema,
|
|
41
41
|
seriesInfo: exports.seriesInfoSchema,
|
|
42
|
-
rating: game_1.gameRatingAggregateSchema,
|
|
42
|
+
rating: game_1.gameRatingAggregateSchema.optional(),
|
|
43
43
|
userIds: zod_1.z.array(zod_1.z.string()).optional(),
|
|
44
44
|
});
|