rategame-shared 1.1.262 → 1.1.263
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.
|
@@ -1274,6 +1274,9 @@ export declare const stadiumRatingSchema: z.ZodObject<{
|
|
|
1274
1274
|
roundName?: string | undefined;
|
|
1275
1275
|
}>>;
|
|
1276
1276
|
userLikes: z.ZodOptional<z.ZodNumber>;
|
|
1277
|
+
updatedAt: z.ZodOptional<z.ZodNumber>;
|
|
1278
|
+
edited: z.ZodOptional<z.ZodBoolean>;
|
|
1279
|
+
userLocation: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1277
1280
|
}, "strip", z.ZodTypeAny, {
|
|
1278
1281
|
type: "stadium" | "game";
|
|
1279
1282
|
id: string;
|
|
@@ -1303,6 +1306,7 @@ export declare const stadiumRatingSchema: z.ZodObject<{
|
|
|
1303
1306
|
teamIds?: string[] | undefined;
|
|
1304
1307
|
teamLeagues?: string[] | undefined;
|
|
1305
1308
|
};
|
|
1309
|
+
updatedAt?: number | undefined;
|
|
1306
1310
|
comment?: string | undefined;
|
|
1307
1311
|
game?: {
|
|
1308
1312
|
league: "global" | "nba" | "ncaa" | "nfl" | "nhl" | "mlb" | "cbb" | "cfb" | "epl" | "mls" | "wnba" | "cwc";
|
|
@@ -1350,6 +1354,8 @@ export declare const stadiumRatingSchema: z.ZodObject<{
|
|
|
1350
1354
|
roundName?: string | undefined;
|
|
1351
1355
|
} | undefined;
|
|
1352
1356
|
userLikes?: number | undefined;
|
|
1357
|
+
edited?: boolean | undefined;
|
|
1358
|
+
userLocation?: string | null | undefined;
|
|
1353
1359
|
gamesAttended?: number | undefined;
|
|
1354
1360
|
}, {
|
|
1355
1361
|
type: "stadium" | "game";
|
|
@@ -1380,6 +1386,7 @@ export declare const stadiumRatingSchema: z.ZodObject<{
|
|
|
1380
1386
|
teamIds?: string[] | undefined;
|
|
1381
1387
|
teamLeagues?: string[] | undefined;
|
|
1382
1388
|
};
|
|
1389
|
+
updatedAt?: number | undefined;
|
|
1383
1390
|
comment?: string | undefined;
|
|
1384
1391
|
game?: {
|
|
1385
1392
|
league: "global" | "nba" | "ncaa" | "nfl" | "nhl" | "mlb" | "cbb" | "cfb" | "epl" | "mls" | "wnba" | "cwc";
|
|
@@ -1427,6 +1434,8 @@ export declare const stadiumRatingSchema: z.ZodObject<{
|
|
|
1427
1434
|
roundName?: string | undefined;
|
|
1428
1435
|
} | undefined;
|
|
1429
1436
|
userLikes?: number | undefined;
|
|
1437
|
+
edited?: boolean | undefined;
|
|
1438
|
+
userLocation?: string | null | undefined;
|
|
1430
1439
|
gamesAttended?: number | undefined;
|
|
1431
1440
|
}>;
|
|
1432
1441
|
export declare const searchStadiumRatingSchema: z.ZodObject<{
|
package/dist/schemas/stadium.js
CHANGED
|
@@ -47,6 +47,9 @@ exports.stadiumRatingSchema = zod_1.z.object({
|
|
|
47
47
|
type: zod_1.z.union([zod_1.z.literal("stadium"), zod_1.z.literal("game")]),
|
|
48
48
|
game: reducedGameSchema.optional(),
|
|
49
49
|
userLikes: zod_1.z.number().optional(),
|
|
50
|
+
updatedAt: zod_1.z.number().optional(),
|
|
51
|
+
edited: zod_1.z.boolean().optional(),
|
|
52
|
+
userLocation: zod_1.z.string().optional().nullable(),
|
|
50
53
|
});
|
|
51
54
|
exports.searchStadiumRatingSchema = zod_1.z.object({
|
|
52
55
|
sortBy: sharedTypes_1.ratingSortSchema.optional(),
|