rategame-shared 1.1.207 → 1.1.209
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/chat.d.ts +5 -0
- package/dist/schemas/game.d.ts +20 -0
- package/dist/schemas/list.d.ts +5 -0
- package/dist/schemas/notification.d.ts +5 -0
- package/dist/schemas/rating.d.ts +9 -0
- package/dist/schemas/rating.js +1 -0
- package/dist/schemas/user.d.ts +7 -0
- package/dist/schemas/user.js +1 -0
- package/package.json +1 -1
package/dist/schemas/chat.d.ts
CHANGED
|
@@ -810,6 +810,7 @@ export declare const chatMessageSchema: z.ZodObject<{
|
|
|
810
810
|
}>>>;
|
|
811
811
|
repliesLeft: z.ZodOptional<z.ZodNumber>;
|
|
812
812
|
listRepliesLeft: z.ZodOptional<z.ZodNumber>;
|
|
813
|
+
viewedToS: z.ZodOptional<z.ZodBoolean>;
|
|
813
814
|
}, "id" | "email" | "username" | "avatarUrl" | "badge">, "strip", z.ZodTypeAny, {
|
|
814
815
|
id: string;
|
|
815
816
|
email: string;
|
|
@@ -1634,6 +1635,7 @@ export declare const chatMessageSchema: z.ZodObject<{
|
|
|
1634
1635
|
}>>>;
|
|
1635
1636
|
repliesLeft: z.ZodOptional<z.ZodNumber>;
|
|
1636
1637
|
listRepliesLeft: z.ZodOptional<z.ZodNumber>;
|
|
1638
|
+
viewedToS: z.ZodOptional<z.ZodBoolean>;
|
|
1637
1639
|
}, "id" | "email" | "username" | "avatarUrl" | "badge">, "strip", z.ZodTypeAny, {
|
|
1638
1640
|
id: string;
|
|
1639
1641
|
email: string;
|
|
@@ -2510,6 +2512,7 @@ export declare const communityChatMessageSchema: z.ZodObject<{
|
|
|
2510
2512
|
}>>>;
|
|
2511
2513
|
repliesLeft: z.ZodOptional<z.ZodNumber>;
|
|
2512
2514
|
listRepliesLeft: z.ZodOptional<z.ZodNumber>;
|
|
2515
|
+
viewedToS: z.ZodOptional<z.ZodBoolean>;
|
|
2513
2516
|
}, "id" | "email" | "username" | "avatarUrl" | "badge">, "strip", z.ZodTypeAny, {
|
|
2514
2517
|
id: string;
|
|
2515
2518
|
email: string;
|
|
@@ -3333,6 +3336,7 @@ export declare const communityChatMessageSchema: z.ZodObject<{
|
|
|
3333
3336
|
}>>>;
|
|
3334
3337
|
repliesLeft: z.ZodOptional<z.ZodNumber>;
|
|
3335
3338
|
listRepliesLeft: z.ZodOptional<z.ZodNumber>;
|
|
3339
|
+
viewedToS: z.ZodOptional<z.ZodBoolean>;
|
|
3336
3340
|
}, "id" | "email" | "username" | "avatarUrl" | "badge">, "strip", z.ZodTypeAny, {
|
|
3337
3341
|
id: string;
|
|
3338
3342
|
email: string;
|
|
@@ -4204,6 +4208,7 @@ export declare const messageReactionSchema: z.ZodObject<{
|
|
|
4204
4208
|
}>>>;
|
|
4205
4209
|
repliesLeft: z.ZodOptional<z.ZodNumber>;
|
|
4206
4210
|
listRepliesLeft: z.ZodOptional<z.ZodNumber>;
|
|
4211
|
+
viewedToS: z.ZodOptional<z.ZodBoolean>;
|
|
4207
4212
|
}, "id" | "email" | "username" | "avatarUrl" | "badge">, "strip", z.ZodTypeAny, {
|
|
4208
4213
|
id: string;
|
|
4209
4214
|
email: string;
|
package/dist/schemas/game.d.ts
CHANGED
|
@@ -4077,6 +4077,7 @@ export declare const commonGameSchema: z.ZodObject<{
|
|
|
4077
4077
|
}>>>;
|
|
4078
4078
|
repliesLeft: z.ZodOptional<z.ZodNumber>;
|
|
4079
4079
|
listRepliesLeft: z.ZodOptional<z.ZodNumber>;
|
|
4080
|
+
viewedToS: z.ZodOptional<z.ZodBoolean>;
|
|
4080
4081
|
}, "id" | "email" | "username" | "avatarUrl" | "badge">, "strip", z.ZodTypeAny, {
|
|
4081
4082
|
id: string;
|
|
4082
4083
|
email: string;
|
|
@@ -6347,6 +6348,7 @@ export declare const basketballGameSchema: z.ZodObject<z.objectUtil.extendShape<
|
|
|
6347
6348
|
}>>>;
|
|
6348
6349
|
repliesLeft: z.ZodOptional<z.ZodNumber>;
|
|
6349
6350
|
listRepliesLeft: z.ZodOptional<z.ZodNumber>;
|
|
6351
|
+
viewedToS: z.ZodOptional<z.ZodBoolean>;
|
|
6350
6352
|
}, "id" | "email" | "username" | "avatarUrl" | "badge">, "strip", z.ZodTypeAny, {
|
|
6351
6353
|
id: string;
|
|
6352
6354
|
email: string;
|
|
@@ -8678,6 +8680,7 @@ export declare const mlbGameSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
8678
8680
|
}>>>;
|
|
8679
8681
|
repliesLeft: z.ZodOptional<z.ZodNumber>;
|
|
8680
8682
|
listRepliesLeft: z.ZodOptional<z.ZodNumber>;
|
|
8683
|
+
viewedToS: z.ZodOptional<z.ZodBoolean>;
|
|
8681
8684
|
}, "id" | "email" | "username" | "avatarUrl" | "badge">, "strip", z.ZodTypeAny, {
|
|
8682
8685
|
id: string;
|
|
8683
8686
|
email: string;
|
|
@@ -11017,6 +11020,7 @@ export declare const footballGameSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
11017
11020
|
}>>>;
|
|
11018
11021
|
repliesLeft: z.ZodOptional<z.ZodNumber>;
|
|
11019
11022
|
listRepliesLeft: z.ZodOptional<z.ZodNumber>;
|
|
11023
|
+
viewedToS: z.ZodOptional<z.ZodBoolean>;
|
|
11020
11024
|
}, "id" | "email" | "username" | "avatarUrl" | "badge">, "strip", z.ZodTypeAny, {
|
|
11021
11025
|
id: string;
|
|
11022
11026
|
email: string;
|
|
@@ -13438,6 +13442,7 @@ export declare const nflGameSchema: z.ZodObject<z.objectUtil.extendShape<z.objec
|
|
|
13438
13442
|
}>>>;
|
|
13439
13443
|
repliesLeft: z.ZodOptional<z.ZodNumber>;
|
|
13440
13444
|
listRepliesLeft: z.ZodOptional<z.ZodNumber>;
|
|
13445
|
+
viewedToS: z.ZodOptional<z.ZodBoolean>;
|
|
13441
13446
|
}, "id" | "email" | "username" | "avatarUrl" | "badge">, "strip", z.ZodTypeAny, {
|
|
13442
13447
|
id: string;
|
|
13443
13448
|
email: string;
|
|
@@ -15833,6 +15838,7 @@ export declare const cfbGameSchema: z.ZodObject<z.objectUtil.extendShape<z.objec
|
|
|
15833
15838
|
}>>>;
|
|
15834
15839
|
repliesLeft: z.ZodOptional<z.ZodNumber>;
|
|
15835
15840
|
listRepliesLeft: z.ZodOptional<z.ZodNumber>;
|
|
15841
|
+
viewedToS: z.ZodOptional<z.ZodBoolean>;
|
|
15836
15842
|
}, "id" | "email" | "username" | "avatarUrl" | "badge">, "strip", z.ZodTypeAny, {
|
|
15837
15843
|
id: string;
|
|
15838
15844
|
email: string;
|
|
@@ -18210,6 +18216,7 @@ export declare const nhlGameSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
18210
18216
|
}>>>;
|
|
18211
18217
|
repliesLeft: z.ZodOptional<z.ZodNumber>;
|
|
18212
18218
|
listRepliesLeft: z.ZodOptional<z.ZodNumber>;
|
|
18219
|
+
viewedToS: z.ZodOptional<z.ZodBoolean>;
|
|
18213
18220
|
}, "id" | "email" | "username" | "avatarUrl" | "badge">, "strip", z.ZodTypeAny, {
|
|
18214
18221
|
id: string;
|
|
18215
18222
|
email: string;
|
|
@@ -20500,6 +20507,7 @@ export declare const unionGameSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.exten
|
|
|
20500
20507
|
}>>>;
|
|
20501
20508
|
repliesLeft: z.ZodOptional<z.ZodNumber>;
|
|
20502
20509
|
listRepliesLeft: z.ZodOptional<z.ZodNumber>;
|
|
20510
|
+
viewedToS: z.ZodOptional<z.ZodBoolean>;
|
|
20503
20511
|
}, "id" | "email" | "username" | "avatarUrl" | "badge">, "strip", z.ZodTypeAny, {
|
|
20504
20512
|
id: string;
|
|
20505
20513
|
email: string;
|
|
@@ -22817,6 +22825,7 @@ export declare const unionGameSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.exten
|
|
|
22817
22825
|
}>>>;
|
|
22818
22826
|
repliesLeft: z.ZodOptional<z.ZodNumber>;
|
|
22819
22827
|
listRepliesLeft: z.ZodOptional<z.ZodNumber>;
|
|
22828
|
+
viewedToS: z.ZodOptional<z.ZodBoolean>;
|
|
22820
22829
|
}, "id" | "email" | "username" | "avatarUrl" | "badge">, "strip", z.ZodTypeAny, {
|
|
22821
22830
|
id: string;
|
|
22822
22831
|
email: string;
|
|
@@ -25155,6 +25164,7 @@ export declare const unionGameSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.exten
|
|
|
25155
25164
|
}>>>;
|
|
25156
25165
|
repliesLeft: z.ZodOptional<z.ZodNumber>;
|
|
25157
25166
|
listRepliesLeft: z.ZodOptional<z.ZodNumber>;
|
|
25167
|
+
viewedToS: z.ZodOptional<z.ZodBoolean>;
|
|
25158
25168
|
}, "id" | "email" | "username" | "avatarUrl" | "badge">, "strip", z.ZodTypeAny, {
|
|
25159
25169
|
id: string;
|
|
25160
25170
|
email: string;
|
|
@@ -27575,6 +27585,7 @@ export declare const unionGameSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.exten
|
|
|
27575
27585
|
}>>>;
|
|
27576
27586
|
repliesLeft: z.ZodOptional<z.ZodNumber>;
|
|
27577
27587
|
listRepliesLeft: z.ZodOptional<z.ZodNumber>;
|
|
27588
|
+
viewedToS: z.ZodOptional<z.ZodBoolean>;
|
|
27578
27589
|
}, "id" | "email" | "username" | "avatarUrl" | "badge">, "strip", z.ZodTypeAny, {
|
|
27579
27590
|
id: string;
|
|
27580
27591
|
email: string;
|
|
@@ -29969,6 +29980,7 @@ export declare const unionGameSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.exten
|
|
|
29969
29980
|
}>>>;
|
|
29970
29981
|
repliesLeft: z.ZodOptional<z.ZodNumber>;
|
|
29971
29982
|
listRepliesLeft: z.ZodOptional<z.ZodNumber>;
|
|
29983
|
+
viewedToS: z.ZodOptional<z.ZodBoolean>;
|
|
29972
29984
|
}, "id" | "email" | "username" | "avatarUrl" | "badge">, "strip", z.ZodTypeAny, {
|
|
29973
29985
|
id: string;
|
|
29974
29986
|
email: string;
|
|
@@ -32345,6 +32357,7 @@ export declare const unionGameSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.exten
|
|
|
32345
32357
|
}>>>;
|
|
32346
32358
|
repliesLeft: z.ZodOptional<z.ZodNumber>;
|
|
32347
32359
|
listRepliesLeft: z.ZodOptional<z.ZodNumber>;
|
|
32360
|
+
viewedToS: z.ZodOptional<z.ZodBoolean>;
|
|
32348
32361
|
}, "id" | "email" | "username" | "avatarUrl" | "badge">, "strip", z.ZodTypeAny, {
|
|
32349
32362
|
id: string;
|
|
32350
32363
|
email: string;
|
|
@@ -34679,6 +34692,7 @@ export declare const creatorPickSchema: z.ZodObject<{
|
|
|
34679
34692
|
}>>>;
|
|
34680
34693
|
repliesLeft: z.ZodOptional<z.ZodNumber>;
|
|
34681
34694
|
listRepliesLeft: z.ZodOptional<z.ZodNumber>;
|
|
34695
|
+
viewedToS: z.ZodOptional<z.ZodBoolean>;
|
|
34682
34696
|
}, "id" | "email" | "username" | "avatarUrl" | "badge">, "strip", z.ZodTypeAny, {
|
|
34683
34697
|
id: string;
|
|
34684
34698
|
email: string;
|
|
@@ -36996,6 +37010,7 @@ export declare const creatorPickSchema: z.ZodObject<{
|
|
|
36996
37010
|
}>>>;
|
|
36997
37011
|
repliesLeft: z.ZodOptional<z.ZodNumber>;
|
|
36998
37012
|
listRepliesLeft: z.ZodOptional<z.ZodNumber>;
|
|
37013
|
+
viewedToS: z.ZodOptional<z.ZodBoolean>;
|
|
36999
37014
|
}, "id" | "email" | "username" | "avatarUrl" | "badge">, "strip", z.ZodTypeAny, {
|
|
37000
37015
|
id: string;
|
|
37001
37016
|
email: string;
|
|
@@ -39334,6 +39349,7 @@ export declare const creatorPickSchema: z.ZodObject<{
|
|
|
39334
39349
|
}>>>;
|
|
39335
39350
|
repliesLeft: z.ZodOptional<z.ZodNumber>;
|
|
39336
39351
|
listRepliesLeft: z.ZodOptional<z.ZodNumber>;
|
|
39352
|
+
viewedToS: z.ZodOptional<z.ZodBoolean>;
|
|
39337
39353
|
}, "id" | "email" | "username" | "avatarUrl" | "badge">, "strip", z.ZodTypeAny, {
|
|
39338
39354
|
id: string;
|
|
39339
39355
|
email: string;
|
|
@@ -41754,6 +41770,7 @@ export declare const creatorPickSchema: z.ZodObject<{
|
|
|
41754
41770
|
}>>>;
|
|
41755
41771
|
repliesLeft: z.ZodOptional<z.ZodNumber>;
|
|
41756
41772
|
listRepliesLeft: z.ZodOptional<z.ZodNumber>;
|
|
41773
|
+
viewedToS: z.ZodOptional<z.ZodBoolean>;
|
|
41757
41774
|
}, "id" | "email" | "username" | "avatarUrl" | "badge">, "strip", z.ZodTypeAny, {
|
|
41758
41775
|
id: string;
|
|
41759
41776
|
email: string;
|
|
@@ -44148,6 +44165,7 @@ export declare const creatorPickSchema: z.ZodObject<{
|
|
|
44148
44165
|
}>>>;
|
|
44149
44166
|
repliesLeft: z.ZodOptional<z.ZodNumber>;
|
|
44150
44167
|
listRepliesLeft: z.ZodOptional<z.ZodNumber>;
|
|
44168
|
+
viewedToS: z.ZodOptional<z.ZodBoolean>;
|
|
44151
44169
|
}, "id" | "email" | "username" | "avatarUrl" | "badge">, "strip", z.ZodTypeAny, {
|
|
44152
44170
|
id: string;
|
|
44153
44171
|
email: string;
|
|
@@ -46524,6 +46542,7 @@ export declare const creatorPickSchema: z.ZodObject<{
|
|
|
46524
46542
|
}>>>;
|
|
46525
46543
|
repliesLeft: z.ZodOptional<z.ZodNumber>;
|
|
46526
46544
|
listRepliesLeft: z.ZodOptional<z.ZodNumber>;
|
|
46545
|
+
viewedToS: z.ZodOptional<z.ZodBoolean>;
|
|
46527
46546
|
}, "id" | "email" | "username" | "avatarUrl" | "badge">, "strip", z.ZodTypeAny, {
|
|
46528
46547
|
id: string;
|
|
46529
46548
|
email: string;
|
|
@@ -47745,6 +47764,7 @@ export declare const creatorPickSchema: z.ZodObject<{
|
|
|
47745
47764
|
}>>>;
|
|
47746
47765
|
repliesLeft: z.ZodOptional<z.ZodNumber>;
|
|
47747
47766
|
listRepliesLeft: z.ZodOptional<z.ZodNumber>;
|
|
47767
|
+
viewedToS: z.ZodOptional<z.ZodBoolean>;
|
|
47748
47768
|
}, "id" | "email" | "username" | "avatarUrl" | "badge">, "strip", z.ZodTypeAny, {
|
|
47749
47769
|
id: string;
|
|
47750
47770
|
email: string;
|
package/dist/schemas/list.d.ts
CHANGED
|
@@ -810,6 +810,7 @@ export declare const listSchema: z.ZodObject<{
|
|
|
810
810
|
}>>>;
|
|
811
811
|
repliesLeft: z.ZodOptional<z.ZodNumber>;
|
|
812
812
|
listRepliesLeft: z.ZodOptional<z.ZodNumber>;
|
|
813
|
+
viewedToS: z.ZodOptional<z.ZodBoolean>;
|
|
813
814
|
}, "id" | "email" | "username" | "avatarUrl" | "badge">, "strip", z.ZodTypeAny, {
|
|
814
815
|
id: string;
|
|
815
816
|
email: string;
|
|
@@ -1679,6 +1680,7 @@ export declare const listCreateSchema: z.ZodObject<Omit<{
|
|
|
1679
1680
|
}>>>;
|
|
1680
1681
|
repliesLeft: z.ZodOptional<z.ZodNumber>;
|
|
1681
1682
|
listRepliesLeft: z.ZodOptional<z.ZodNumber>;
|
|
1683
|
+
viewedToS: z.ZodOptional<z.ZodBoolean>;
|
|
1682
1684
|
}, "id" | "email" | "username" | "avatarUrl" | "badge">, "strip", z.ZodTypeAny, {
|
|
1683
1685
|
id: string;
|
|
1684
1686
|
email: string;
|
|
@@ -2540,6 +2542,7 @@ export declare const listCommentSchema: z.ZodObject<{
|
|
|
2540
2542
|
}>>>;
|
|
2541
2543
|
repliesLeft: z.ZodOptional<z.ZodNumber>;
|
|
2542
2544
|
listRepliesLeft: z.ZodOptional<z.ZodNumber>;
|
|
2545
|
+
viewedToS: z.ZodOptional<z.ZodBoolean>;
|
|
2543
2546
|
}, "id" | "email" | "username" | "avatarUrl" | "badge">, "strip", z.ZodTypeAny, {
|
|
2544
2547
|
id: string;
|
|
2545
2548
|
email: string;
|
|
@@ -3361,6 +3364,7 @@ export declare const listCommentSchema: z.ZodObject<{
|
|
|
3361
3364
|
}>>>;
|
|
3362
3365
|
repliesLeft: z.ZodOptional<z.ZodNumber>;
|
|
3363
3366
|
listRepliesLeft: z.ZodOptional<z.ZodNumber>;
|
|
3367
|
+
viewedToS: z.ZodOptional<z.ZodBoolean>;
|
|
3364
3368
|
}, "id" | "email" | "username" | "avatarUrl" | "badge">, "strip", z.ZodTypeAny, {
|
|
3365
3369
|
id: string;
|
|
3366
3370
|
email: string;
|
|
@@ -4227,6 +4231,7 @@ export declare const listCommentLikeSchema: z.ZodObject<{
|
|
|
4227
4231
|
}>>>;
|
|
4228
4232
|
repliesLeft: z.ZodOptional<z.ZodNumber>;
|
|
4229
4233
|
listRepliesLeft: z.ZodOptional<z.ZodNumber>;
|
|
4234
|
+
viewedToS: z.ZodOptional<z.ZodBoolean>;
|
|
4230
4235
|
}, "id" | "email" | "username" | "avatarUrl" | "badge">, "strip", z.ZodTypeAny, {
|
|
4231
4236
|
id: string;
|
|
4232
4237
|
email: string;
|
|
@@ -257,6 +257,7 @@ export declare const internalNotification: z.ZodObject<{
|
|
|
257
257
|
weight: z.ZodOptional<z.ZodNumber>;
|
|
258
258
|
fanCategory: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"winningTeam">, z.ZodLiteral<"losingTeam">, z.ZodLiteral<"neutral">, z.ZodLiteral<"homeTeam">, z.ZodLiteral<"awayTeam">]>>;
|
|
259
259
|
listCount: z.ZodOptional<z.ZodNumber>;
|
|
260
|
+
updatedAt: z.ZodOptional<z.ZodNumber>;
|
|
260
261
|
}, "strip", z.ZodTypeAny, {
|
|
261
262
|
id: string;
|
|
262
263
|
user: {
|
|
@@ -314,6 +315,7 @@ export declare const internalNotification: z.ZodObject<{
|
|
|
314
315
|
roundName?: string | undefined;
|
|
315
316
|
};
|
|
316
317
|
weightedRating?: number | undefined;
|
|
318
|
+
updatedAt?: number | undefined;
|
|
317
319
|
comment?: string | undefined;
|
|
318
320
|
listCount?: number | undefined;
|
|
319
321
|
userLikes?: number | undefined;
|
|
@@ -377,6 +379,7 @@ export declare const internalNotification: z.ZodObject<{
|
|
|
377
379
|
roundName?: string | undefined;
|
|
378
380
|
};
|
|
379
381
|
weightedRating?: number | undefined;
|
|
382
|
+
updatedAt?: number | undefined;
|
|
380
383
|
comment?: string | undefined;
|
|
381
384
|
listCount?: number | undefined;
|
|
382
385
|
userLikes?: number | undefined;
|
|
@@ -457,6 +460,7 @@ export declare const internalNotification: z.ZodObject<{
|
|
|
457
460
|
roundName?: string | undefined;
|
|
458
461
|
};
|
|
459
462
|
weightedRating?: number | undefined;
|
|
463
|
+
updatedAt?: number | undefined;
|
|
460
464
|
comment?: string | undefined;
|
|
461
465
|
listCount?: number | undefined;
|
|
462
466
|
userLikes?: number | undefined;
|
|
@@ -538,6 +542,7 @@ export declare const internalNotification: z.ZodObject<{
|
|
|
538
542
|
roundName?: string | undefined;
|
|
539
543
|
};
|
|
540
544
|
weightedRating?: number | undefined;
|
|
545
|
+
updatedAt?: number | undefined;
|
|
541
546
|
comment?: string | undefined;
|
|
542
547
|
listCount?: number | undefined;
|
|
543
548
|
userLikes?: number | undefined;
|
package/dist/schemas/rating.d.ts
CHANGED
|
@@ -227,6 +227,7 @@ export declare const ratingSchema: import("zod").ZodObject<{
|
|
|
227
227
|
weight: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
228
228
|
fanCategory: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"winningTeam">, import("zod").ZodLiteral<"losingTeam">, import("zod").ZodLiteral<"neutral">, import("zod").ZodLiteral<"homeTeam">, import("zod").ZodLiteral<"awayTeam">]>>;
|
|
229
229
|
listCount: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
230
|
+
updatedAt: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
230
231
|
}, "strip", import("zod").ZodTypeAny, {
|
|
231
232
|
id: string;
|
|
232
233
|
user: {
|
|
@@ -284,6 +285,7 @@ export declare const ratingSchema: import("zod").ZodObject<{
|
|
|
284
285
|
roundName?: string | undefined;
|
|
285
286
|
};
|
|
286
287
|
weightedRating?: number | undefined;
|
|
288
|
+
updatedAt?: number | undefined;
|
|
287
289
|
comment?: string | undefined;
|
|
288
290
|
listCount?: number | undefined;
|
|
289
291
|
userLikes?: number | undefined;
|
|
@@ -347,6 +349,7 @@ export declare const ratingSchema: import("zod").ZodObject<{
|
|
|
347
349
|
roundName?: string | undefined;
|
|
348
350
|
};
|
|
349
351
|
weightedRating?: number | undefined;
|
|
352
|
+
updatedAt?: number | undefined;
|
|
350
353
|
comment?: string | undefined;
|
|
351
354
|
listCount?: number | undefined;
|
|
352
355
|
userLikes?: number | undefined;
|
|
@@ -704,6 +707,7 @@ export declare const createRatingSchema: import("zod").ZodObject<import("zod").o
|
|
|
704
707
|
weight: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
705
708
|
fanCategory: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"winningTeam">, import("zod").ZodLiteral<"losingTeam">, import("zod").ZodLiteral<"neutral">, import("zod").ZodLiteral<"homeTeam">, import("zod").ZodLiteral<"awayTeam">]>>;
|
|
706
709
|
listCount: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
710
|
+
updatedAt: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
707
711
|
}, "id" | "user" | "createdAt">, {
|
|
708
712
|
game: import("zod").ZodObject<Omit<{
|
|
709
713
|
id: import("zod").ZodString;
|
|
@@ -855,6 +859,7 @@ export declare const createRatingSchema: import("zod").ZodObject<import("zod").o
|
|
|
855
859
|
};
|
|
856
860
|
id?: string | undefined;
|
|
857
861
|
weightedRating?: number | undefined;
|
|
862
|
+
updatedAt?: number | undefined;
|
|
858
863
|
comment?: string | undefined;
|
|
859
864
|
listCount?: number | undefined;
|
|
860
865
|
userLikes?: number | undefined;
|
|
@@ -877,6 +882,7 @@ export declare const createRatingSchema: import("zod").ZodObject<import("zod").o
|
|
|
877
882
|
};
|
|
878
883
|
id?: string | undefined;
|
|
879
884
|
weightedRating?: number | undefined;
|
|
885
|
+
updatedAt?: number | undefined;
|
|
880
886
|
comment?: string | undefined;
|
|
881
887
|
listCount?: number | undefined;
|
|
882
888
|
userLikes?: number | undefined;
|
|
@@ -1693,6 +1699,7 @@ export declare const threadCommentSchema: import("zod").ZodObject<{
|
|
|
1693
1699
|
}>>>;
|
|
1694
1700
|
repliesLeft: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1695
1701
|
listRepliesLeft: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1702
|
+
viewedToS: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
1696
1703
|
}, "id" | "email" | "username" | "avatarUrl" | "badge">, "strip", import("zod").ZodTypeAny, {
|
|
1697
1704
|
id: string;
|
|
1698
1705
|
email: string;
|
|
@@ -2514,6 +2521,7 @@ export declare const threadCommentSchema: import("zod").ZodObject<{
|
|
|
2514
2521
|
}>>>;
|
|
2515
2522
|
repliesLeft: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
2516
2523
|
listRepliesLeft: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
2524
|
+
viewedToS: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
2517
2525
|
}, "id" | "email" | "username" | "avatarUrl" | "badge">, "strip", import("zod").ZodTypeAny, {
|
|
2518
2526
|
id: string;
|
|
2519
2527
|
email: string;
|
|
@@ -3401,6 +3409,7 @@ export declare const threadCommentLikeSchema: import("zod").ZodObject<{
|
|
|
3401
3409
|
}>>>;
|
|
3402
3410
|
repliesLeft: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
3403
3411
|
listRepliesLeft: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
3412
|
+
viewedToS: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
3404
3413
|
}, "id" | "email" | "username" | "avatarUrl" | "badge">, "strip", import("zod").ZodTypeAny, {
|
|
3405
3414
|
id: string;
|
|
3406
3415
|
email: string;
|
package/dist/schemas/rating.js
CHANGED
|
@@ -41,6 +41,7 @@ exports.ratingSchema = (0, zod_1.object)({
|
|
|
41
41
|
(0, zod_1.literal)("awayTeam"),
|
|
42
42
|
]).optional(),
|
|
43
43
|
listCount: (0, zod_1.number)().optional(),
|
|
44
|
+
updatedAt: (0, zod_1.number)().optional(),
|
|
44
45
|
});
|
|
45
46
|
exports.searchRatingSchema = (0, zod_1.object)({
|
|
46
47
|
q: (0, zod_1.string)().optional(),
|
package/dist/schemas/user.d.ts
CHANGED
|
@@ -954,6 +954,7 @@ export declare const userSchema: import("zod").ZodObject<{
|
|
|
954
954
|
}>>>;
|
|
955
955
|
repliesLeft: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
956
956
|
listRepliesLeft: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
957
|
+
viewedToS: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
957
958
|
}, "strip", import("zod").ZodTypeAny, {
|
|
958
959
|
id: string;
|
|
959
960
|
email: string;
|
|
@@ -1145,6 +1146,7 @@ export declare const userSchema: import("zod").ZodObject<{
|
|
|
1145
1146
|
}>> | undefined;
|
|
1146
1147
|
repliesLeft?: number | undefined;
|
|
1147
1148
|
listRepliesLeft?: number | undefined;
|
|
1149
|
+
viewedToS?: boolean | undefined;
|
|
1148
1150
|
}, {
|
|
1149
1151
|
id: string;
|
|
1150
1152
|
email: string;
|
|
@@ -1336,6 +1338,7 @@ export declare const userSchema: import("zod").ZodObject<{
|
|
|
1336
1338
|
}>> | undefined;
|
|
1337
1339
|
repliesLeft?: number | undefined;
|
|
1338
1340
|
listRepliesLeft?: number | undefined;
|
|
1341
|
+
viewedToS?: boolean | undefined;
|
|
1339
1342
|
}>;
|
|
1340
1343
|
export declare const createUserSchema: import("zod").ZodObject<Omit<{
|
|
1341
1344
|
id: import("zod").ZodString;
|
|
@@ -2142,6 +2145,7 @@ export declare const createUserSchema: import("zod").ZodObject<Omit<{
|
|
|
2142
2145
|
}>>>;
|
|
2143
2146
|
repliesLeft: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
2144
2147
|
listRepliesLeft: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
2148
|
+
viewedToS: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
2145
2149
|
}, "id" | "totalRatedGames" | "avgRating" | "createdAt" | "updatedAt" | "deviceTokens" | "askedForPushNotifications" | "acceptedPushNotifications">, "strip", import("zod").ZodTypeAny, {
|
|
2146
2150
|
email: string;
|
|
2147
2151
|
username: string;
|
|
@@ -2322,6 +2326,7 @@ export declare const createUserSchema: import("zod").ZodObject<Omit<{
|
|
|
2322
2326
|
}>> | undefined;
|
|
2323
2327
|
repliesLeft?: number | undefined;
|
|
2324
2328
|
listRepliesLeft?: number | undefined;
|
|
2329
|
+
viewedToS?: boolean | undefined;
|
|
2325
2330
|
}, {
|
|
2326
2331
|
email: string;
|
|
2327
2332
|
username: string;
|
|
@@ -2502,6 +2507,7 @@ export declare const createUserSchema: import("zod").ZodObject<Omit<{
|
|
|
2502
2507
|
}>> | undefined;
|
|
2503
2508
|
repliesLeft?: number | undefined;
|
|
2504
2509
|
listRepliesLeft?: number | undefined;
|
|
2510
|
+
viewedToS?: boolean | undefined;
|
|
2505
2511
|
}>;
|
|
2506
2512
|
export declare const reducedUserSchema: import("zod").ZodObject<Pick<{
|
|
2507
2513
|
id: import("zod").ZodString;
|
|
@@ -3308,6 +3314,7 @@ export declare const reducedUserSchema: import("zod").ZodObject<Pick<{
|
|
|
3308
3314
|
}>>>;
|
|
3309
3315
|
repliesLeft: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
3310
3316
|
listRepliesLeft: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
3317
|
+
viewedToS: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
3311
3318
|
}, "id" | "email" | "username" | "avatarUrl" | "badge">, "strip", import("zod").ZodTypeAny, {
|
|
3312
3319
|
id: string;
|
|
3313
3320
|
email: string;
|
package/dist/schemas/user.js
CHANGED
|
@@ -187,6 +187,7 @@ exports.userSchema = (0, zod_1.object)({
|
|
|
187
187
|
achievements: (0, zod_1.record)(exports.achievementId, exports.achievementSchema).optional(),
|
|
188
188
|
repliesLeft: (0, zod_1.number)().optional(),
|
|
189
189
|
listRepliesLeft: (0, zod_1.number)().optional(),
|
|
190
|
+
viewedToS: (0, zod_1.boolean)().optional(),
|
|
190
191
|
});
|
|
191
192
|
exports.createUserSchema = exports.userSchema.omit({
|
|
192
193
|
id: true,
|