rategame-shared 1.1.192 → 1.1.194
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/models/list.d.ts +3 -1
- package/dist/schemas/game.d.ts +20 -0
- package/dist/schemas/list.d.ts +2374 -0
- package/dist/schemas/list.js +20 -1
- package/dist/schemas/rating.d.ts +3 -0
- package/dist/schemas/user.d.ts +7 -0
- package/dist/schemas/user.js +1 -0
- package/package.json +1 -1
package/dist/models/list.d.ts
CHANGED
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
|
-
import { listCreateSchema, listSchema } from "../schemas/list";
|
|
2
|
+
import { listCreateSchema, listSchema, listCommentSchema, listCommentLikeSchema } from "../schemas/list";
|
|
3
3
|
export type List = z.infer<typeof listSchema>;
|
|
4
4
|
export type ListCreate = z.infer<typeof listCreateSchema>;
|
|
5
|
+
export type ListComment = z.infer<typeof listCommentSchema>;
|
|
6
|
+
export type ListCommentLike = z.infer<typeof listCommentLikeSchema>;
|
package/dist/schemas/game.d.ts
CHANGED
|
@@ -4020,6 +4020,7 @@ export declare const commonGameSchema: z.ZodObject<{
|
|
|
4020
4020
|
league?: "global" | "nba" | "ncaa" | "nfl" | "nhl" | "mlb" | "cbb" | "cfb" | "epl" | "mls" | undefined;
|
|
4021
4021
|
}>>>;
|
|
4022
4022
|
repliesLeft: z.ZodOptional<z.ZodNumber>;
|
|
4023
|
+
listRepliesLeft: z.ZodOptional<z.ZodNumber>;
|
|
4023
4024
|
}, "id" | "email" | "username" | "avatarUrl" | "badge">, "strip", z.ZodTypeAny, {
|
|
4024
4025
|
id: string;
|
|
4025
4026
|
email: string;
|
|
@@ -6230,6 +6231,7 @@ export declare const basketballGameSchema: z.ZodObject<z.objectUtil.extendShape<
|
|
|
6230
6231
|
league?: "global" | "nba" | "ncaa" | "nfl" | "nhl" | "mlb" | "cbb" | "cfb" | "epl" | "mls" | undefined;
|
|
6231
6232
|
}>>>;
|
|
6232
6233
|
repliesLeft: z.ZodOptional<z.ZodNumber>;
|
|
6234
|
+
listRepliesLeft: z.ZodOptional<z.ZodNumber>;
|
|
6233
6235
|
}, "id" | "email" | "username" | "avatarUrl" | "badge">, "strip", z.ZodTypeAny, {
|
|
6234
6236
|
id: string;
|
|
6235
6237
|
email: string;
|
|
@@ -8501,6 +8503,7 @@ export declare const mlbGameSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
8501
8503
|
league?: "global" | "nba" | "ncaa" | "nfl" | "nhl" | "mlb" | "cbb" | "cfb" | "epl" | "mls" | undefined;
|
|
8502
8504
|
}>>>;
|
|
8503
8505
|
repliesLeft: z.ZodOptional<z.ZodNumber>;
|
|
8506
|
+
listRepliesLeft: z.ZodOptional<z.ZodNumber>;
|
|
8504
8507
|
}, "id" | "email" | "username" | "avatarUrl" | "badge">, "strip", z.ZodTypeAny, {
|
|
8505
8508
|
id: string;
|
|
8506
8509
|
email: string;
|
|
@@ -10780,6 +10783,7 @@ export declare const footballGameSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
10780
10783
|
league?: "global" | "nba" | "ncaa" | "nfl" | "nhl" | "mlb" | "cbb" | "cfb" | "epl" | "mls" | undefined;
|
|
10781
10784
|
}>>>;
|
|
10782
10785
|
repliesLeft: z.ZodOptional<z.ZodNumber>;
|
|
10786
|
+
listRepliesLeft: z.ZodOptional<z.ZodNumber>;
|
|
10783
10787
|
}, "id" | "email" | "username" | "avatarUrl" | "badge">, "strip", z.ZodTypeAny, {
|
|
10784
10788
|
id: string;
|
|
10785
10789
|
email: string;
|
|
@@ -13141,6 +13145,7 @@ export declare const nflGameSchema: z.ZodObject<z.objectUtil.extendShape<z.objec
|
|
|
13141
13145
|
league?: "global" | "nba" | "ncaa" | "nfl" | "nhl" | "mlb" | "cbb" | "cfb" | "epl" | "mls" | undefined;
|
|
13142
13146
|
}>>>;
|
|
13143
13147
|
repliesLeft: z.ZodOptional<z.ZodNumber>;
|
|
13148
|
+
listRepliesLeft: z.ZodOptional<z.ZodNumber>;
|
|
13144
13149
|
}, "id" | "email" | "username" | "avatarUrl" | "badge">, "strip", z.ZodTypeAny, {
|
|
13145
13150
|
id: string;
|
|
13146
13151
|
email: string;
|
|
@@ -15476,6 +15481,7 @@ export declare const cfbGameSchema: z.ZodObject<z.objectUtil.extendShape<z.objec
|
|
|
15476
15481
|
league?: "global" | "nba" | "ncaa" | "nfl" | "nhl" | "mlb" | "cbb" | "cfb" | "epl" | "mls" | undefined;
|
|
15477
15482
|
}>>>;
|
|
15478
15483
|
repliesLeft: z.ZodOptional<z.ZodNumber>;
|
|
15484
|
+
listRepliesLeft: z.ZodOptional<z.ZodNumber>;
|
|
15479
15485
|
}, "id" | "email" | "username" | "avatarUrl" | "badge">, "strip", z.ZodTypeAny, {
|
|
15480
15486
|
id: string;
|
|
15481
15487
|
email: string;
|
|
@@ -17793,6 +17799,7 @@ export declare const nhlGameSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
17793
17799
|
league?: "global" | "nba" | "ncaa" | "nfl" | "nhl" | "mlb" | "cbb" | "cfb" | "epl" | "mls" | undefined;
|
|
17794
17800
|
}>>>;
|
|
17795
17801
|
repliesLeft: z.ZodOptional<z.ZodNumber>;
|
|
17802
|
+
listRepliesLeft: z.ZodOptional<z.ZodNumber>;
|
|
17796
17803
|
}, "id" | "email" | "username" | "avatarUrl" | "badge">, "strip", z.ZodTypeAny, {
|
|
17797
17804
|
id: string;
|
|
17798
17805
|
email: string;
|
|
@@ -20023,6 +20030,7 @@ export declare const unionGameSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.exten
|
|
|
20023
20030
|
league?: "global" | "nba" | "ncaa" | "nfl" | "nhl" | "mlb" | "cbb" | "cfb" | "epl" | "mls" | undefined;
|
|
20024
20031
|
}>>>;
|
|
20025
20032
|
repliesLeft: z.ZodOptional<z.ZodNumber>;
|
|
20033
|
+
listRepliesLeft: z.ZodOptional<z.ZodNumber>;
|
|
20026
20034
|
}, "id" | "email" | "username" | "avatarUrl" | "badge">, "strip", z.ZodTypeAny, {
|
|
20027
20035
|
id: string;
|
|
20028
20036
|
email: string;
|
|
@@ -22280,6 +22288,7 @@ export declare const unionGameSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.exten
|
|
|
22280
22288
|
league?: "global" | "nba" | "ncaa" | "nfl" | "nhl" | "mlb" | "cbb" | "cfb" | "epl" | "mls" | undefined;
|
|
22281
22289
|
}>>>;
|
|
22282
22290
|
repliesLeft: z.ZodOptional<z.ZodNumber>;
|
|
22291
|
+
listRepliesLeft: z.ZodOptional<z.ZodNumber>;
|
|
22283
22292
|
}, "id" | "email" | "username" | "avatarUrl" | "badge">, "strip", z.ZodTypeAny, {
|
|
22284
22293
|
id: string;
|
|
22285
22294
|
email: string;
|
|
@@ -24558,6 +24567,7 @@ export declare const unionGameSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.exten
|
|
|
24558
24567
|
league?: "global" | "nba" | "ncaa" | "nfl" | "nhl" | "mlb" | "cbb" | "cfb" | "epl" | "mls" | undefined;
|
|
24559
24568
|
}>>>;
|
|
24560
24569
|
repliesLeft: z.ZodOptional<z.ZodNumber>;
|
|
24570
|
+
listRepliesLeft: z.ZodOptional<z.ZodNumber>;
|
|
24561
24571
|
}, "id" | "email" | "username" | "avatarUrl" | "badge">, "strip", z.ZodTypeAny, {
|
|
24562
24572
|
id: string;
|
|
24563
24573
|
email: string;
|
|
@@ -26918,6 +26928,7 @@ export declare const unionGameSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.exten
|
|
|
26918
26928
|
league?: "global" | "nba" | "ncaa" | "nfl" | "nhl" | "mlb" | "cbb" | "cfb" | "epl" | "mls" | undefined;
|
|
26919
26929
|
}>>>;
|
|
26920
26930
|
repliesLeft: z.ZodOptional<z.ZodNumber>;
|
|
26931
|
+
listRepliesLeft: z.ZodOptional<z.ZodNumber>;
|
|
26921
26932
|
}, "id" | "email" | "username" | "avatarUrl" | "badge">, "strip", z.ZodTypeAny, {
|
|
26922
26933
|
id: string;
|
|
26923
26934
|
email: string;
|
|
@@ -29252,6 +29263,7 @@ export declare const unionGameSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.exten
|
|
|
29252
29263
|
league?: "global" | "nba" | "ncaa" | "nfl" | "nhl" | "mlb" | "cbb" | "cfb" | "epl" | "mls" | undefined;
|
|
29253
29264
|
}>>>;
|
|
29254
29265
|
repliesLeft: z.ZodOptional<z.ZodNumber>;
|
|
29266
|
+
listRepliesLeft: z.ZodOptional<z.ZodNumber>;
|
|
29255
29267
|
}, "id" | "email" | "username" | "avatarUrl" | "badge">, "strip", z.ZodTypeAny, {
|
|
29256
29268
|
id: string;
|
|
29257
29269
|
email: string;
|
|
@@ -31568,6 +31580,7 @@ export declare const unionGameSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.exten
|
|
|
31568
31580
|
league?: "global" | "nba" | "ncaa" | "nfl" | "nhl" | "mlb" | "cbb" | "cfb" | "epl" | "mls" | undefined;
|
|
31569
31581
|
}>>>;
|
|
31570
31582
|
repliesLeft: z.ZodOptional<z.ZodNumber>;
|
|
31583
|
+
listRepliesLeft: z.ZodOptional<z.ZodNumber>;
|
|
31571
31584
|
}, "id" | "email" | "username" | "avatarUrl" | "badge">, "strip", z.ZodTypeAny, {
|
|
31572
31585
|
id: string;
|
|
31573
31586
|
email: string;
|
|
@@ -33842,6 +33855,7 @@ export declare const creatorPickSchema: z.ZodObject<{
|
|
|
33842
33855
|
league?: "global" | "nba" | "ncaa" | "nfl" | "nhl" | "mlb" | "cbb" | "cfb" | "epl" | "mls" | undefined;
|
|
33843
33856
|
}>>>;
|
|
33844
33857
|
repliesLeft: z.ZodOptional<z.ZodNumber>;
|
|
33858
|
+
listRepliesLeft: z.ZodOptional<z.ZodNumber>;
|
|
33845
33859
|
}, "id" | "email" | "username" | "avatarUrl" | "badge">, "strip", z.ZodTypeAny, {
|
|
33846
33860
|
id: string;
|
|
33847
33861
|
email: string;
|
|
@@ -36099,6 +36113,7 @@ export declare const creatorPickSchema: z.ZodObject<{
|
|
|
36099
36113
|
league?: "global" | "nba" | "ncaa" | "nfl" | "nhl" | "mlb" | "cbb" | "cfb" | "epl" | "mls" | undefined;
|
|
36100
36114
|
}>>>;
|
|
36101
36115
|
repliesLeft: z.ZodOptional<z.ZodNumber>;
|
|
36116
|
+
listRepliesLeft: z.ZodOptional<z.ZodNumber>;
|
|
36102
36117
|
}, "id" | "email" | "username" | "avatarUrl" | "badge">, "strip", z.ZodTypeAny, {
|
|
36103
36118
|
id: string;
|
|
36104
36119
|
email: string;
|
|
@@ -38377,6 +38392,7 @@ export declare const creatorPickSchema: z.ZodObject<{
|
|
|
38377
38392
|
league?: "global" | "nba" | "ncaa" | "nfl" | "nhl" | "mlb" | "cbb" | "cfb" | "epl" | "mls" | undefined;
|
|
38378
38393
|
}>>>;
|
|
38379
38394
|
repliesLeft: z.ZodOptional<z.ZodNumber>;
|
|
38395
|
+
listRepliesLeft: z.ZodOptional<z.ZodNumber>;
|
|
38380
38396
|
}, "id" | "email" | "username" | "avatarUrl" | "badge">, "strip", z.ZodTypeAny, {
|
|
38381
38397
|
id: string;
|
|
38382
38398
|
email: string;
|
|
@@ -40737,6 +40753,7 @@ export declare const creatorPickSchema: z.ZodObject<{
|
|
|
40737
40753
|
league?: "global" | "nba" | "ncaa" | "nfl" | "nhl" | "mlb" | "cbb" | "cfb" | "epl" | "mls" | undefined;
|
|
40738
40754
|
}>>>;
|
|
40739
40755
|
repliesLeft: z.ZodOptional<z.ZodNumber>;
|
|
40756
|
+
listRepliesLeft: z.ZodOptional<z.ZodNumber>;
|
|
40740
40757
|
}, "id" | "email" | "username" | "avatarUrl" | "badge">, "strip", z.ZodTypeAny, {
|
|
40741
40758
|
id: string;
|
|
40742
40759
|
email: string;
|
|
@@ -43071,6 +43088,7 @@ export declare const creatorPickSchema: z.ZodObject<{
|
|
|
43071
43088
|
league?: "global" | "nba" | "ncaa" | "nfl" | "nhl" | "mlb" | "cbb" | "cfb" | "epl" | "mls" | undefined;
|
|
43072
43089
|
}>>>;
|
|
43073
43090
|
repliesLeft: z.ZodOptional<z.ZodNumber>;
|
|
43091
|
+
listRepliesLeft: z.ZodOptional<z.ZodNumber>;
|
|
43074
43092
|
}, "id" | "email" | "username" | "avatarUrl" | "badge">, "strip", z.ZodTypeAny, {
|
|
43075
43093
|
id: string;
|
|
43076
43094
|
email: string;
|
|
@@ -45387,6 +45405,7 @@ export declare const creatorPickSchema: z.ZodObject<{
|
|
|
45387
45405
|
league?: "global" | "nba" | "ncaa" | "nfl" | "nhl" | "mlb" | "cbb" | "cfb" | "epl" | "mls" | undefined;
|
|
45388
45406
|
}>>>;
|
|
45389
45407
|
repliesLeft: z.ZodOptional<z.ZodNumber>;
|
|
45408
|
+
listRepliesLeft: z.ZodOptional<z.ZodNumber>;
|
|
45390
45409
|
}, "id" | "email" | "username" | "avatarUrl" | "badge">, "strip", z.ZodTypeAny, {
|
|
45391
45410
|
id: string;
|
|
45392
45411
|
email: string;
|
|
@@ -46548,6 +46567,7 @@ export declare const creatorPickSchema: z.ZodObject<{
|
|
|
46548
46567
|
league?: "global" | "nba" | "ncaa" | "nfl" | "nhl" | "mlb" | "cbb" | "cfb" | "epl" | "mls" | undefined;
|
|
46549
46568
|
}>>>;
|
|
46550
46569
|
repliesLeft: z.ZodOptional<z.ZodNumber>;
|
|
46570
|
+
listRepliesLeft: z.ZodOptional<z.ZodNumber>;
|
|
46551
46571
|
}, "id" | "email" | "username" | "avatarUrl" | "badge">, "strip", z.ZodTypeAny, {
|
|
46552
46572
|
id: string;
|
|
46553
46573
|
email: string;
|