rategame-shared 1.1.545 → 1.1.546
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.
|
@@ -8,6 +8,7 @@ export declare const experienceSchema: z.ZodObject<{
|
|
|
8
8
|
name: z.ZodString;
|
|
9
9
|
description: z.ZodString;
|
|
10
10
|
thumbnailUrl: z.ZodString;
|
|
11
|
+
category: z.ZodOptional<z.ZodEnum<["halftime", "draft", "allstar", "golf", "tennis", "combat", "racing", "other"]>>;
|
|
11
12
|
gameId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
12
13
|
stadiumId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
13
14
|
stadiumVenueName: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
@@ -1406,6 +1407,7 @@ export declare const experienceSchema: z.ZodObject<{
|
|
|
1406
1407
|
options: Record<number, number>;
|
|
1407
1408
|
};
|
|
1408
1409
|
} | undefined;
|
|
1410
|
+
category?: "other" | "golf" | "tennis" | "draft" | "halftime" | "allstar" | "combat" | "racing" | undefined;
|
|
1409
1411
|
gameId?: string | null | undefined;
|
|
1410
1412
|
stadiumUrl?: string | null | undefined;
|
|
1411
1413
|
ratingTagCounts?: Record<string, {
|
|
@@ -1878,6 +1880,7 @@ export declare const experienceSchema: z.ZodObject<{
|
|
|
1878
1880
|
options: Record<number, number>;
|
|
1879
1881
|
};
|
|
1880
1882
|
} | undefined;
|
|
1883
|
+
category?: "other" | "golf" | "tennis" | "draft" | "halftime" | "allstar" | "combat" | "racing" | undefined;
|
|
1881
1884
|
gameId?: string | null | undefined;
|
|
1882
1885
|
stadiumUrl?: string | null | undefined;
|
|
1883
1886
|
ratingTagCounts?: Record<string, {
|
|
@@ -2353,6 +2356,7 @@ export declare const experienceForRatingSchema: z.ZodObject<Omit<{
|
|
|
2353
2356
|
name: z.ZodString;
|
|
2354
2357
|
description: z.ZodString;
|
|
2355
2358
|
thumbnailUrl: z.ZodString;
|
|
2359
|
+
category: z.ZodOptional<z.ZodEnum<["halftime", "draft", "allstar", "golf", "tennis", "combat", "racing", "other"]>>;
|
|
2356
2360
|
gameId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
2357
2361
|
stadiumId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
2358
2362
|
stadiumVenueName: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
@@ -3744,6 +3748,7 @@ export declare const experienceForRatingSchema: z.ZodObject<Omit<{
|
|
|
3744
3748
|
description: string;
|
|
3745
3749
|
createdAt: number;
|
|
3746
3750
|
thumbnailUrl: string;
|
|
3751
|
+
category?: "other" | "golf" | "tennis" | "draft" | "halftime" | "allstar" | "combat" | "racing" | undefined;
|
|
3747
3752
|
gameId?: string | null | undefined;
|
|
3748
3753
|
stadiumUrl?: string | null | undefined;
|
|
3749
3754
|
stadiumId?: string | null | undefined;
|
|
@@ -3755,6 +3760,7 @@ export declare const experienceForRatingSchema: z.ZodObject<Omit<{
|
|
|
3755
3760
|
description: string;
|
|
3756
3761
|
createdAt: number;
|
|
3757
3762
|
thumbnailUrl: string;
|
|
3763
|
+
category?: "other" | "golf" | "tennis" | "draft" | "halftime" | "allstar" | "combat" | "racing" | undefined;
|
|
3758
3764
|
gameId?: string | null | undefined;
|
|
3759
3765
|
stadiumUrl?: string | null | undefined;
|
|
3760
3766
|
stadiumId?: string | null | undefined;
|
|
@@ -5434,6 +5440,7 @@ export declare const experienceRatingSchema: z.ZodObject<{
|
|
|
5434
5440
|
name: z.ZodString;
|
|
5435
5441
|
description: z.ZodString;
|
|
5436
5442
|
thumbnailUrl: z.ZodString;
|
|
5443
|
+
category: z.ZodOptional<z.ZodEnum<["halftime", "draft", "allstar", "golf", "tennis", "combat", "racing", "other"]>>;
|
|
5437
5444
|
gameId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
5438
5445
|
stadiumId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
5439
5446
|
stadiumVenueName: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
@@ -6832,6 +6839,7 @@ export declare const experienceRatingSchema: z.ZodObject<{
|
|
|
6832
6839
|
options: Record<number, number>;
|
|
6833
6840
|
};
|
|
6834
6841
|
} | undefined;
|
|
6842
|
+
category?: "other" | "golf" | "tennis" | "draft" | "halftime" | "allstar" | "combat" | "racing" | undefined;
|
|
6835
6843
|
gameId?: string | null | undefined;
|
|
6836
6844
|
stadiumUrl?: string | null | undefined;
|
|
6837
6845
|
ratingTagCounts?: Record<string, {
|
|
@@ -7304,6 +7312,7 @@ export declare const experienceRatingSchema: z.ZodObject<{
|
|
|
7304
7312
|
options: Record<number, number>;
|
|
7305
7313
|
};
|
|
7306
7314
|
} | undefined;
|
|
7315
|
+
category?: "other" | "golf" | "tennis" | "draft" | "halftime" | "allstar" | "combat" | "racing" | undefined;
|
|
7307
7316
|
gameId?: string | null | undefined;
|
|
7308
7317
|
stadiumUrl?: string | null | undefined;
|
|
7309
7318
|
ratingTagCounts?: Record<string, {
|
|
@@ -7836,6 +7845,7 @@ export declare const experienceRatingSchema: z.ZodObject<{
|
|
|
7836
7845
|
options: Record<number, number>;
|
|
7837
7846
|
};
|
|
7838
7847
|
} | undefined;
|
|
7848
|
+
category?: "other" | "golf" | "tennis" | "draft" | "halftime" | "allstar" | "combat" | "racing" | undefined;
|
|
7839
7849
|
gameId?: string | null | undefined;
|
|
7840
7850
|
stadiumUrl?: string | null | undefined;
|
|
7841
7851
|
ratingTagCounts?: Record<string, {
|
|
@@ -8338,6 +8348,7 @@ export declare const experienceRatingSchema: z.ZodObject<{
|
|
|
8338
8348
|
options: Record<number, number>;
|
|
8339
8349
|
};
|
|
8340
8350
|
} | undefined;
|
|
8351
|
+
category?: "other" | "golf" | "tennis" | "draft" | "halftime" | "allstar" | "combat" | "racing" | undefined;
|
|
8341
8352
|
gameId?: string | null | undefined;
|
|
8342
8353
|
stadiumUrl?: string | null | undefined;
|
|
8343
8354
|
ratingTagCounts?: Record<string, {
|
|
@@ -10582,6 +10593,7 @@ export declare const createExperienceRatingSchema: z.ZodObject<{
|
|
|
10582
10593
|
name: z.ZodString;
|
|
10583
10594
|
description: z.ZodString;
|
|
10584
10595
|
thumbnailUrl: z.ZodString;
|
|
10596
|
+
category: z.ZodOptional<z.ZodEnum<["halftime", "draft", "allstar", "golf", "tennis", "combat", "racing", "other"]>>;
|
|
10585
10597
|
gameId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
10586
10598
|
stadiumId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
10587
10599
|
stadiumVenueName: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
@@ -11973,6 +11985,7 @@ export declare const createExperienceRatingSchema: z.ZodObject<{
|
|
|
11973
11985
|
description: string;
|
|
11974
11986
|
createdAt: number;
|
|
11975
11987
|
thumbnailUrl: string;
|
|
11988
|
+
category?: "other" | "golf" | "tennis" | "draft" | "halftime" | "allstar" | "combat" | "racing" | undefined;
|
|
11976
11989
|
gameId?: string | null | undefined;
|
|
11977
11990
|
stadiumUrl?: string | null | undefined;
|
|
11978
11991
|
stadiumId?: string | null | undefined;
|
|
@@ -11984,6 +11997,7 @@ export declare const createExperienceRatingSchema: z.ZodObject<{
|
|
|
11984
11997
|
description: string;
|
|
11985
11998
|
createdAt: number;
|
|
11986
11999
|
thumbnailUrl: string;
|
|
12000
|
+
category?: "other" | "golf" | "tennis" | "draft" | "halftime" | "allstar" | "combat" | "racing" | undefined;
|
|
11987
12001
|
gameId?: string | null | undefined;
|
|
11988
12002
|
stadiumUrl?: string | null | undefined;
|
|
11989
12003
|
stadiumId?: string | null | undefined;
|
|
@@ -12006,6 +12020,7 @@ export declare const createExperienceRatingSchema: z.ZodObject<{
|
|
|
12006
12020
|
description: string;
|
|
12007
12021
|
createdAt: number;
|
|
12008
12022
|
thumbnailUrl: string;
|
|
12023
|
+
category?: "other" | "golf" | "tennis" | "draft" | "halftime" | "allstar" | "combat" | "racing" | undefined;
|
|
12009
12024
|
gameId?: string | null | undefined;
|
|
12010
12025
|
stadiumUrl?: string | null | undefined;
|
|
12011
12026
|
stadiumId?: string | null | undefined;
|
|
@@ -12045,6 +12060,7 @@ export declare const createExperienceRatingSchema: z.ZodObject<{
|
|
|
12045
12060
|
description: string;
|
|
12046
12061
|
createdAt: number;
|
|
12047
12062
|
thumbnailUrl: string;
|
|
12063
|
+
category?: "other" | "golf" | "tennis" | "draft" | "halftime" | "allstar" | "combat" | "racing" | undefined;
|
|
12048
12064
|
gameId?: string | null | undefined;
|
|
12049
12065
|
stadiumUrl?: string | null | undefined;
|
|
12050
12066
|
stadiumId?: string | null | undefined;
|
|
@@ -17,6 +17,19 @@ exports.experienceSchema = zod_1.z.object({
|
|
|
17
17
|
name: zod_1.z.string(),
|
|
18
18
|
description: zod_1.z.string(),
|
|
19
19
|
thumbnailUrl: zod_1.z.string(),
|
|
20
|
+
// Historical experience snapshots embedded in ratings may not have a category.
|
|
21
|
+
category: zod_1.z
|
|
22
|
+
.enum([
|
|
23
|
+
"halftime",
|
|
24
|
+
"draft",
|
|
25
|
+
"allstar",
|
|
26
|
+
"golf",
|
|
27
|
+
"tennis",
|
|
28
|
+
"combat",
|
|
29
|
+
"racing",
|
|
30
|
+
"other",
|
|
31
|
+
])
|
|
32
|
+
.optional(),
|
|
20
33
|
gameId: zod_1.z.string().optional().nullable(),
|
|
21
34
|
// Stadium fields - can be auto-populated from game or manually set
|
|
22
35
|
stadiumId: zod_1.z.string().optional().nullable(),
|