rategame-shared 1.1.285 → 1.1.286
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 +10 -0
- package/dist/schemas/game.d.ts +40 -0
- package/dist/schemas/list.d.ts +10 -0
- package/dist/schemas/moderation.d.ts +8 -0
- package/dist/schemas/rating.d.ts +6 -0
- package/dist/schemas/stadium.d.ts +8 -0
- package/dist/schemas/user.d.ts +14 -0
- package/dist/schemas/user.js +2 -0
- package/dist/schemas/userEvent.d.ts +6 -0
- package/dist/schemas/voting.d.ts +6 -0
- package/package.json +1 -1
package/dist/schemas/chat.d.ts
CHANGED
|
@@ -1008,6 +1008,8 @@ export declare const chatMessageSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1008
1008
|
favoriteGames: boolean;
|
|
1009
1009
|
gradientColor: boolean;
|
|
1010
1010
|
}>>;
|
|
1011
|
+
phoneNumber: z.ZodOptional<z.ZodString>;
|
|
1012
|
+
phoneNumberVerified: z.ZodOptional<z.ZodBoolean>;
|
|
1011
1013
|
}, "id" | "email" | "username" | "avatarUrl" | "badge">, "strip", z.ZodTypeAny, {
|
|
1012
1014
|
id: string;
|
|
1013
1015
|
email: string;
|
|
@@ -2030,6 +2032,8 @@ export declare const chatMessageSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
2030
2032
|
favoriteGames: boolean;
|
|
2031
2033
|
gradientColor: boolean;
|
|
2032
2034
|
}>>;
|
|
2035
|
+
phoneNumber: z.ZodOptional<z.ZodString>;
|
|
2036
|
+
phoneNumberVerified: z.ZodOptional<z.ZodBoolean>;
|
|
2033
2037
|
}, "id" | "email" | "username" | "avatarUrl" | "badge">, "strip", z.ZodTypeAny, {
|
|
2034
2038
|
id: string;
|
|
2035
2039
|
email: string;
|
|
@@ -3108,6 +3112,8 @@ export declare const communityChatMessageSchema: z.ZodObject<z.objectUtil.extend
|
|
|
3108
3112
|
favoriteGames: boolean;
|
|
3109
3113
|
gradientColor: boolean;
|
|
3110
3114
|
}>>;
|
|
3115
|
+
phoneNumber: z.ZodOptional<z.ZodString>;
|
|
3116
|
+
phoneNumberVerified: z.ZodOptional<z.ZodBoolean>;
|
|
3111
3117
|
}, "id" | "email" | "username" | "avatarUrl" | "badge">, "strip", z.ZodTypeAny, {
|
|
3112
3118
|
id: string;
|
|
3113
3119
|
email: string;
|
|
@@ -4129,6 +4135,8 @@ export declare const communityChatMessageSchema: z.ZodObject<z.objectUtil.extend
|
|
|
4129
4135
|
favoriteGames: boolean;
|
|
4130
4136
|
gradientColor: boolean;
|
|
4131
4137
|
}>>;
|
|
4138
|
+
phoneNumber: z.ZodOptional<z.ZodString>;
|
|
4139
|
+
phoneNumberVerified: z.ZodOptional<z.ZodBoolean>;
|
|
4132
4140
|
}, "id" | "email" | "username" | "avatarUrl" | "badge">, "strip", z.ZodTypeAny, {
|
|
4133
4141
|
id: string;
|
|
4134
4142
|
email: string;
|
|
@@ -5202,6 +5210,8 @@ export declare const messageReactionSchema: z.ZodObject<{
|
|
|
5202
5210
|
favoriteGames: boolean;
|
|
5203
5211
|
gradientColor: boolean;
|
|
5204
5212
|
}>>;
|
|
5213
|
+
phoneNumber: z.ZodOptional<z.ZodString>;
|
|
5214
|
+
phoneNumberVerified: z.ZodOptional<z.ZodBoolean>;
|
|
5205
5215
|
}, "id" | "email" | "username" | "avatarUrl" | "badge">, "strip", z.ZodTypeAny, {
|
|
5206
5216
|
id: string;
|
|
5207
5217
|
email: string;
|
package/dist/schemas/game.d.ts
CHANGED
|
@@ -4275,6 +4275,8 @@ export declare const commonGameSchema: z.ZodObject<{
|
|
|
4275
4275
|
favoriteGames: boolean;
|
|
4276
4276
|
gradientColor: boolean;
|
|
4277
4277
|
}>>;
|
|
4278
|
+
phoneNumber: z.ZodOptional<z.ZodString>;
|
|
4279
|
+
phoneNumberVerified: z.ZodOptional<z.ZodBoolean>;
|
|
4278
4280
|
}, "id" | "email" | "username" | "avatarUrl" | "badge">, "strip", z.ZodTypeAny, {
|
|
4279
4281
|
id: string;
|
|
4280
4282
|
email: string;
|
|
@@ -6749,6 +6751,8 @@ export declare const basketballGameSchema: z.ZodObject<z.objectUtil.extendShape<
|
|
|
6749
6751
|
favoriteGames: boolean;
|
|
6750
6752
|
gradientColor: boolean;
|
|
6751
6753
|
}>>;
|
|
6754
|
+
phoneNumber: z.ZodOptional<z.ZodString>;
|
|
6755
|
+
phoneNumberVerified: z.ZodOptional<z.ZodBoolean>;
|
|
6752
6756
|
}, "id" | "email" | "username" | "avatarUrl" | "badge">, "strip", z.ZodTypeAny, {
|
|
6753
6757
|
id: string;
|
|
6754
6758
|
email: string;
|
|
@@ -9284,6 +9288,8 @@ export declare const mlbGameSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
9284
9288
|
favoriteGames: boolean;
|
|
9285
9289
|
gradientColor: boolean;
|
|
9286
9290
|
}>>;
|
|
9291
|
+
phoneNumber: z.ZodOptional<z.ZodString>;
|
|
9292
|
+
phoneNumberVerified: z.ZodOptional<z.ZodBoolean>;
|
|
9287
9293
|
}, "id" | "email" | "username" | "avatarUrl" | "badge">, "strip", z.ZodTypeAny, {
|
|
9288
9294
|
id: string;
|
|
9289
9295
|
email: string;
|
|
@@ -11827,6 +11833,8 @@ export declare const footballGameSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
11827
11833
|
favoriteGames: boolean;
|
|
11828
11834
|
gradientColor: boolean;
|
|
11829
11835
|
}>>;
|
|
11836
|
+
phoneNumber: z.ZodOptional<z.ZodString>;
|
|
11837
|
+
phoneNumberVerified: z.ZodOptional<z.ZodBoolean>;
|
|
11830
11838
|
}, "id" | "email" | "username" | "avatarUrl" | "badge">, "strip", z.ZodTypeAny, {
|
|
11831
11839
|
id: string;
|
|
11832
11840
|
email: string;
|
|
@@ -14455,6 +14463,8 @@ export declare const nflGameSchema: z.ZodObject<z.objectUtil.extendShape<z.objec
|
|
|
14455
14463
|
favoriteGames: boolean;
|
|
14456
14464
|
gradientColor: boolean;
|
|
14457
14465
|
}>>;
|
|
14466
|
+
phoneNumber: z.ZodOptional<z.ZodString>;
|
|
14467
|
+
phoneNumberVerified: z.ZodOptional<z.ZodBoolean>;
|
|
14458
14468
|
}, "id" | "email" | "username" | "avatarUrl" | "badge">, "strip", z.ZodTypeAny, {
|
|
14459
14469
|
id: string;
|
|
14460
14470
|
email: string;
|
|
@@ -17054,6 +17064,8 @@ export declare const cfbGameSchema: z.ZodObject<z.objectUtil.extendShape<z.objec
|
|
|
17054
17064
|
favoriteGames: boolean;
|
|
17055
17065
|
gradientColor: boolean;
|
|
17056
17066
|
}>>;
|
|
17067
|
+
phoneNumber: z.ZodOptional<z.ZodString>;
|
|
17068
|
+
phoneNumberVerified: z.ZodOptional<z.ZodBoolean>;
|
|
17057
17069
|
}, "id" | "email" | "username" | "avatarUrl" | "badge">, "strip", z.ZodTypeAny, {
|
|
17058
17070
|
id: string;
|
|
17059
17071
|
email: string;
|
|
@@ -19635,6 +19647,8 @@ export declare const nhlGameSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
19635
19647
|
favoriteGames: boolean;
|
|
19636
19648
|
gradientColor: boolean;
|
|
19637
19649
|
}>>;
|
|
19650
|
+
phoneNumber: z.ZodOptional<z.ZodString>;
|
|
19651
|
+
phoneNumberVerified: z.ZodOptional<z.ZodBoolean>;
|
|
19638
19652
|
}, "id" | "email" | "username" | "avatarUrl" | "badge">, "strip", z.ZodTypeAny, {
|
|
19639
19653
|
id: string;
|
|
19640
19654
|
email: string;
|
|
@@ -22129,6 +22143,8 @@ export declare const unionGameSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.exten
|
|
|
22129
22143
|
favoriteGames: boolean;
|
|
22130
22144
|
gradientColor: boolean;
|
|
22131
22145
|
}>>;
|
|
22146
|
+
phoneNumber: z.ZodOptional<z.ZodString>;
|
|
22147
|
+
phoneNumberVerified: z.ZodOptional<z.ZodBoolean>;
|
|
22132
22148
|
}, "id" | "email" | "username" | "avatarUrl" | "badge">, "strip", z.ZodTypeAny, {
|
|
22133
22149
|
id: string;
|
|
22134
22150
|
email: string;
|
|
@@ -24650,6 +24666,8 @@ export declare const unionGameSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.exten
|
|
|
24650
24666
|
favoriteGames: boolean;
|
|
24651
24667
|
gradientColor: boolean;
|
|
24652
24668
|
}>>;
|
|
24669
|
+
phoneNumber: z.ZodOptional<z.ZodString>;
|
|
24670
|
+
phoneNumberVerified: z.ZodOptional<z.ZodBoolean>;
|
|
24653
24671
|
}, "id" | "email" | "username" | "avatarUrl" | "badge">, "strip", z.ZodTypeAny, {
|
|
24654
24672
|
id: string;
|
|
24655
24673
|
email: string;
|
|
@@ -27192,6 +27210,8 @@ export declare const unionGameSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.exten
|
|
|
27192
27210
|
favoriteGames: boolean;
|
|
27193
27211
|
gradientColor: boolean;
|
|
27194
27212
|
}>>;
|
|
27213
|
+
phoneNumber: z.ZodOptional<z.ZodString>;
|
|
27214
|
+
phoneNumberVerified: z.ZodOptional<z.ZodBoolean>;
|
|
27195
27215
|
}, "id" | "email" | "username" | "avatarUrl" | "badge">, "strip", z.ZodTypeAny, {
|
|
27196
27216
|
id: string;
|
|
27197
27217
|
email: string;
|
|
@@ -29819,6 +29839,8 @@ export declare const unionGameSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.exten
|
|
|
29819
29839
|
favoriteGames: boolean;
|
|
29820
29840
|
gradientColor: boolean;
|
|
29821
29841
|
}>>;
|
|
29842
|
+
phoneNumber: z.ZodOptional<z.ZodString>;
|
|
29843
|
+
phoneNumberVerified: z.ZodOptional<z.ZodBoolean>;
|
|
29822
29844
|
}, "id" | "email" | "username" | "avatarUrl" | "badge">, "strip", z.ZodTypeAny, {
|
|
29823
29845
|
id: string;
|
|
29824
29846
|
email: string;
|
|
@@ -32417,6 +32439,8 @@ export declare const unionGameSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.exten
|
|
|
32417
32439
|
favoriteGames: boolean;
|
|
32418
32440
|
gradientColor: boolean;
|
|
32419
32441
|
}>>;
|
|
32442
|
+
phoneNumber: z.ZodOptional<z.ZodString>;
|
|
32443
|
+
phoneNumberVerified: z.ZodOptional<z.ZodBoolean>;
|
|
32420
32444
|
}, "id" | "email" | "username" | "avatarUrl" | "badge">, "strip", z.ZodTypeAny, {
|
|
32421
32445
|
id: string;
|
|
32422
32446
|
email: string;
|
|
@@ -34997,6 +35021,8 @@ export declare const unionGameSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.exten
|
|
|
34997
35021
|
favoriteGames: boolean;
|
|
34998
35022
|
gradientColor: boolean;
|
|
34999
35023
|
}>>;
|
|
35024
|
+
phoneNumber: z.ZodOptional<z.ZodString>;
|
|
35025
|
+
phoneNumberVerified: z.ZodOptional<z.ZodBoolean>;
|
|
35000
35026
|
}, "id" | "email" | "username" | "avatarUrl" | "badge">, "strip", z.ZodTypeAny, {
|
|
35001
35027
|
id: string;
|
|
35002
35028
|
email: string;
|
|
@@ -37541,6 +37567,8 @@ export declare const creatorPickSchema: z.ZodObject<{
|
|
|
37541
37567
|
favoriteGames: boolean;
|
|
37542
37568
|
gradientColor: boolean;
|
|
37543
37569
|
}>>;
|
|
37570
|
+
phoneNumber: z.ZodOptional<z.ZodString>;
|
|
37571
|
+
phoneNumberVerified: z.ZodOptional<z.ZodBoolean>;
|
|
37544
37572
|
}, "id" | "email" | "username" | "avatarUrl" | "badge">, "strip", z.ZodTypeAny, {
|
|
37545
37573
|
id: string;
|
|
37546
37574
|
email: string;
|
|
@@ -40062,6 +40090,8 @@ export declare const creatorPickSchema: z.ZodObject<{
|
|
|
40062
40090
|
favoriteGames: boolean;
|
|
40063
40091
|
gradientColor: boolean;
|
|
40064
40092
|
}>>;
|
|
40093
|
+
phoneNumber: z.ZodOptional<z.ZodString>;
|
|
40094
|
+
phoneNumberVerified: z.ZodOptional<z.ZodBoolean>;
|
|
40065
40095
|
}, "id" | "email" | "username" | "avatarUrl" | "badge">, "strip", z.ZodTypeAny, {
|
|
40066
40096
|
id: string;
|
|
40067
40097
|
email: string;
|
|
@@ -42604,6 +42634,8 @@ export declare const creatorPickSchema: z.ZodObject<{
|
|
|
42604
42634
|
favoriteGames: boolean;
|
|
42605
42635
|
gradientColor: boolean;
|
|
42606
42636
|
}>>;
|
|
42637
|
+
phoneNumber: z.ZodOptional<z.ZodString>;
|
|
42638
|
+
phoneNumberVerified: z.ZodOptional<z.ZodBoolean>;
|
|
42607
42639
|
}, "id" | "email" | "username" | "avatarUrl" | "badge">, "strip", z.ZodTypeAny, {
|
|
42608
42640
|
id: string;
|
|
42609
42641
|
email: string;
|
|
@@ -45231,6 +45263,8 @@ export declare const creatorPickSchema: z.ZodObject<{
|
|
|
45231
45263
|
favoriteGames: boolean;
|
|
45232
45264
|
gradientColor: boolean;
|
|
45233
45265
|
}>>;
|
|
45266
|
+
phoneNumber: z.ZodOptional<z.ZodString>;
|
|
45267
|
+
phoneNumberVerified: z.ZodOptional<z.ZodBoolean>;
|
|
45234
45268
|
}, "id" | "email" | "username" | "avatarUrl" | "badge">, "strip", z.ZodTypeAny, {
|
|
45235
45269
|
id: string;
|
|
45236
45270
|
email: string;
|
|
@@ -47829,6 +47863,8 @@ export declare const creatorPickSchema: z.ZodObject<{
|
|
|
47829
47863
|
favoriteGames: boolean;
|
|
47830
47864
|
gradientColor: boolean;
|
|
47831
47865
|
}>>;
|
|
47866
|
+
phoneNumber: z.ZodOptional<z.ZodString>;
|
|
47867
|
+
phoneNumberVerified: z.ZodOptional<z.ZodBoolean>;
|
|
47832
47868
|
}, "id" | "email" | "username" | "avatarUrl" | "badge">, "strip", z.ZodTypeAny, {
|
|
47833
47869
|
id: string;
|
|
47834
47870
|
email: string;
|
|
@@ -50409,6 +50445,8 @@ export declare const creatorPickSchema: z.ZodObject<{
|
|
|
50409
50445
|
favoriteGames: boolean;
|
|
50410
50446
|
gradientColor: boolean;
|
|
50411
50447
|
}>>;
|
|
50448
|
+
phoneNumber: z.ZodOptional<z.ZodString>;
|
|
50449
|
+
phoneNumberVerified: z.ZodOptional<z.ZodBoolean>;
|
|
50412
50450
|
}, "id" | "email" | "username" | "avatarUrl" | "badge">, "strip", z.ZodTypeAny, {
|
|
50413
50451
|
id: string;
|
|
50414
50452
|
email: string;
|
|
@@ -51834,6 +51872,8 @@ export declare const creatorPickSchema: z.ZodObject<{
|
|
|
51834
51872
|
favoriteGames: boolean;
|
|
51835
51873
|
gradientColor: boolean;
|
|
51836
51874
|
}>>;
|
|
51875
|
+
phoneNumber: z.ZodOptional<z.ZodString>;
|
|
51876
|
+
phoneNumberVerified: z.ZodOptional<z.ZodBoolean>;
|
|
51837
51877
|
}, "id" | "email" | "username" | "avatarUrl" | "badge">, "strip", z.ZodTypeAny, {
|
|
51838
51878
|
id: string;
|
|
51839
51879
|
email: string;
|
package/dist/schemas/list.d.ts
CHANGED
|
@@ -1008,6 +1008,8 @@ export declare const listSchema: z.ZodObject<{
|
|
|
1008
1008
|
favoriteGames: boolean;
|
|
1009
1009
|
gradientColor: boolean;
|
|
1010
1010
|
}>>;
|
|
1011
|
+
phoneNumber: z.ZodOptional<z.ZodString>;
|
|
1012
|
+
phoneNumberVerified: z.ZodOptional<z.ZodBoolean>;
|
|
1011
1013
|
}, "id" | "email" | "username" | "avatarUrl" | "badge">, "strip", z.ZodTypeAny, {
|
|
1012
1014
|
id: string;
|
|
1013
1015
|
email: string;
|
|
@@ -2075,6 +2077,8 @@ export declare const listCreateSchema: z.ZodObject<Omit<{
|
|
|
2075
2077
|
favoriteGames: boolean;
|
|
2076
2078
|
gradientColor: boolean;
|
|
2077
2079
|
}>>;
|
|
2080
|
+
phoneNumber: z.ZodOptional<z.ZodString>;
|
|
2081
|
+
phoneNumberVerified: z.ZodOptional<z.ZodBoolean>;
|
|
2078
2082
|
}, "id" | "email" | "username" | "avatarUrl" | "badge">, "strip", z.ZodTypeAny, {
|
|
2079
2083
|
id: string;
|
|
2080
2084
|
email: string;
|
|
@@ -3134,6 +3138,8 @@ export declare const listCommentSchema: z.ZodObject<{
|
|
|
3134
3138
|
favoriteGames: boolean;
|
|
3135
3139
|
gradientColor: boolean;
|
|
3136
3140
|
}>>;
|
|
3141
|
+
phoneNumber: z.ZodOptional<z.ZodString>;
|
|
3142
|
+
phoneNumberVerified: z.ZodOptional<z.ZodBoolean>;
|
|
3137
3143
|
}, "id" | "email" | "username" | "avatarUrl" | "badge">, "strip", z.ZodTypeAny, {
|
|
3138
3144
|
id: string;
|
|
3139
3145
|
email: string;
|
|
@@ -4153,6 +4159,8 @@ export declare const listCommentSchema: z.ZodObject<{
|
|
|
4153
4159
|
favoriteGames: boolean;
|
|
4154
4160
|
gradientColor: boolean;
|
|
4155
4161
|
}>>;
|
|
4162
|
+
phoneNumber: z.ZodOptional<z.ZodString>;
|
|
4163
|
+
phoneNumberVerified: z.ZodOptional<z.ZodBoolean>;
|
|
4156
4164
|
}, "id" | "email" | "username" | "avatarUrl" | "badge">, "strip", z.ZodTypeAny, {
|
|
4157
4165
|
id: string;
|
|
4158
4166
|
email: string;
|
|
@@ -5217,6 +5225,8 @@ export declare const listCommentLikeSchema: z.ZodObject<{
|
|
|
5217
5225
|
favoriteGames: boolean;
|
|
5218
5226
|
gradientColor: boolean;
|
|
5219
5227
|
}>>;
|
|
5228
|
+
phoneNumber: z.ZodOptional<z.ZodString>;
|
|
5229
|
+
phoneNumberVerified: z.ZodOptional<z.ZodBoolean>;
|
|
5220
5230
|
}, "id" | "email" | "username" | "avatarUrl" | "badge">, "strip", z.ZodTypeAny, {
|
|
5221
5231
|
id: string;
|
|
5222
5232
|
email: string;
|
|
@@ -1021,6 +1021,8 @@ export declare const banInfoSchema: z.ZodObject<{
|
|
|
1021
1021
|
favoriteGames: boolean;
|
|
1022
1022
|
gradientColor: boolean;
|
|
1023
1023
|
}>>;
|
|
1024
|
+
phoneNumber: z.ZodOptional<z.ZodString>;
|
|
1025
|
+
phoneNumberVerified: z.ZodOptional<z.ZodBoolean>;
|
|
1024
1026
|
}, "id" | "email" | "username" | "avatarUrl" | "badge">, "strip", z.ZodTypeAny, {
|
|
1025
1027
|
id: string;
|
|
1026
1028
|
email: string;
|
|
@@ -2067,6 +2069,8 @@ export declare const bannedUserSchema: z.ZodObject<{
|
|
|
2067
2069
|
favoriteGames: boolean;
|
|
2068
2070
|
gradientColor: boolean;
|
|
2069
2071
|
}>>;
|
|
2072
|
+
phoneNumber: z.ZodOptional<z.ZodString>;
|
|
2073
|
+
phoneNumberVerified: z.ZodOptional<z.ZodBoolean>;
|
|
2070
2074
|
}, "id" | "email" | "username" | "avatarUrl" | "badge">, "strip", z.ZodTypeAny, {
|
|
2071
2075
|
id: string;
|
|
2072
2076
|
email: string;
|
|
@@ -3149,6 +3153,8 @@ export declare const bannedUsersResponseSchema: z.ZodObject<{
|
|
|
3149
3153
|
favoriteGames: boolean;
|
|
3150
3154
|
gradientColor: boolean;
|
|
3151
3155
|
}>>;
|
|
3156
|
+
phoneNumber: z.ZodOptional<z.ZodString>;
|
|
3157
|
+
phoneNumberVerified: z.ZodOptional<z.ZodBoolean>;
|
|
3152
3158
|
}, "id" | "email" | "username" | "avatarUrl" | "badge">, "strip", z.ZodTypeAny, {
|
|
3153
3159
|
id: string;
|
|
3154
3160
|
email: string;
|
|
@@ -4275,6 +4281,8 @@ export declare const banStatusResponseSchema: z.ZodObject<{
|
|
|
4275
4281
|
favoriteGames: boolean;
|
|
4276
4282
|
gradientColor: boolean;
|
|
4277
4283
|
}>>;
|
|
4284
|
+
phoneNumber: z.ZodOptional<z.ZodString>;
|
|
4285
|
+
phoneNumberVerified: z.ZodOptional<z.ZodBoolean>;
|
|
4278
4286
|
}, "id" | "email" | "username" | "avatarUrl" | "badge">, "strip", z.ZodTypeAny, {
|
|
4279
4287
|
id: string;
|
|
4280
4288
|
email: string;
|
package/dist/schemas/rating.d.ts
CHANGED
|
@@ -1937,6 +1937,8 @@ export declare const threadCommentSchema: import("zod").ZodObject<{
|
|
|
1937
1937
|
favoriteGames: boolean;
|
|
1938
1938
|
gradientColor: boolean;
|
|
1939
1939
|
}>>;
|
|
1940
|
+
phoneNumber: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1941
|
+
phoneNumberVerified: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
1940
1942
|
}, "id" | "email" | "username" | "avatarUrl" | "badge">, "strip", import("zod").ZodTypeAny, {
|
|
1941
1943
|
id: string;
|
|
1942
1944
|
email: string;
|
|
@@ -2956,6 +2958,8 @@ export declare const threadCommentSchema: import("zod").ZodObject<{
|
|
|
2956
2958
|
favoriteGames: boolean;
|
|
2957
2959
|
gradientColor: boolean;
|
|
2958
2960
|
}>>;
|
|
2961
|
+
phoneNumber: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2962
|
+
phoneNumberVerified: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
2959
2963
|
}, "id" | "email" | "username" | "avatarUrl" | "badge">, "strip", import("zod").ZodTypeAny, {
|
|
2960
2964
|
id: string;
|
|
2961
2965
|
email: string;
|
|
@@ -4046,6 +4050,8 @@ export declare const threadCommentLikeSchema: import("zod").ZodObject<{
|
|
|
4046
4050
|
favoriteGames: boolean;
|
|
4047
4051
|
gradientColor: boolean;
|
|
4048
4052
|
}>>;
|
|
4053
|
+
phoneNumber: import("zod").ZodOptional<import("zod").ZodString>;
|
|
4054
|
+
phoneNumberVerified: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
4049
4055
|
}, "id" | "email" | "username" | "avatarUrl" | "badge">, "strip", import("zod").ZodTypeAny, {
|
|
4050
4056
|
id: string;
|
|
4051
4057
|
email: string;
|
|
@@ -1252,6 +1252,8 @@ export declare const stadiumRatingSchema: z.ZodObject<{
|
|
|
1252
1252
|
favoriteGames: boolean;
|
|
1253
1253
|
gradientColor: boolean;
|
|
1254
1254
|
}>>;
|
|
1255
|
+
phoneNumber: z.ZodOptional<z.ZodString>;
|
|
1256
|
+
phoneNumberVerified: z.ZodOptional<z.ZodBoolean>;
|
|
1255
1257
|
}, "id" | "email" | "username" | "avatarUrl" | "badge">, "strip", z.ZodTypeAny, {
|
|
1256
1258
|
id: string;
|
|
1257
1259
|
email: string;
|
|
@@ -2801,6 +2803,8 @@ export declare const createStadiumRatingSchema: z.ZodObject<z.objectUtil.extendS
|
|
|
2801
2803
|
favoriteGames: boolean;
|
|
2802
2804
|
gradientColor: boolean;
|
|
2803
2805
|
}>>;
|
|
2806
|
+
phoneNumber: z.ZodOptional<z.ZodString>;
|
|
2807
|
+
phoneNumberVerified: z.ZodOptional<z.ZodBoolean>;
|
|
2804
2808
|
}, "id" | "email" | "username" | "avatarUrl" | "badge">, "strip", z.ZodTypeAny, {
|
|
2805
2809
|
id: string;
|
|
2806
2810
|
email: string;
|
|
@@ -4412,6 +4416,8 @@ export declare const stadiumThreadCommentSchema: z.ZodObject<{
|
|
|
4412
4416
|
favoriteGames: boolean;
|
|
4413
4417
|
gradientColor: boolean;
|
|
4414
4418
|
}>>;
|
|
4419
|
+
phoneNumber: z.ZodOptional<z.ZodString>;
|
|
4420
|
+
phoneNumberVerified: z.ZodOptional<z.ZodBoolean>;
|
|
4415
4421
|
}, "id" | "email" | "username" | "avatarUrl" | "badge">, "strip", z.ZodTypeAny, {
|
|
4416
4422
|
id: string;
|
|
4417
4423
|
email: string;
|
|
@@ -5431,6 +5437,8 @@ export declare const stadiumThreadCommentSchema: z.ZodObject<{
|
|
|
5431
5437
|
favoriteGames: boolean;
|
|
5432
5438
|
gradientColor: boolean;
|
|
5433
5439
|
}>>;
|
|
5440
|
+
phoneNumber: z.ZodOptional<z.ZodString>;
|
|
5441
|
+
phoneNumberVerified: z.ZodOptional<z.ZodBoolean>;
|
|
5434
5442
|
}, "id" | "email" | "username" | "avatarUrl" | "badge">, "strip", z.ZodTypeAny, {
|
|
5435
5443
|
id: string;
|
|
5436
5444
|
email: string;
|
package/dist/schemas/user.d.ts
CHANGED
|
@@ -1200,6 +1200,8 @@ export declare const userSchema: z.ZodObject<{
|
|
|
1200
1200
|
favoriteGames: boolean;
|
|
1201
1201
|
gradientColor: boolean;
|
|
1202
1202
|
}>>;
|
|
1203
|
+
phoneNumber: z.ZodOptional<z.ZodString>;
|
|
1204
|
+
phoneNumberVerified: z.ZodOptional<z.ZodBoolean>;
|
|
1203
1205
|
}, "strip", z.ZodTypeAny, {
|
|
1204
1206
|
id: string;
|
|
1205
1207
|
email: string;
|
|
@@ -1445,6 +1447,8 @@ export declare const userSchema: z.ZodObject<{
|
|
|
1445
1447
|
favoriteGames: boolean;
|
|
1446
1448
|
gradientColor: boolean;
|
|
1447
1449
|
} | undefined;
|
|
1450
|
+
phoneNumber?: string | undefined;
|
|
1451
|
+
phoneNumberVerified?: boolean | undefined;
|
|
1448
1452
|
}, {
|
|
1449
1453
|
id: string;
|
|
1450
1454
|
email: string;
|
|
@@ -1690,6 +1694,8 @@ export declare const userSchema: z.ZodObject<{
|
|
|
1690
1694
|
favoriteGames: boolean;
|
|
1691
1695
|
gradientColor: boolean;
|
|
1692
1696
|
} | undefined;
|
|
1697
|
+
phoneNumber?: string | undefined;
|
|
1698
|
+
phoneNumberVerified?: boolean | undefined;
|
|
1693
1699
|
}>;
|
|
1694
1700
|
export declare const createUserSchema: z.ZodObject<Omit<{
|
|
1695
1701
|
id: z.ZodString;
|
|
@@ -2694,6 +2700,8 @@ export declare const createUserSchema: z.ZodObject<Omit<{
|
|
|
2694
2700
|
favoriteGames: boolean;
|
|
2695
2701
|
gradientColor: boolean;
|
|
2696
2702
|
}>>;
|
|
2703
|
+
phoneNumber: z.ZodOptional<z.ZodString>;
|
|
2704
|
+
phoneNumberVerified: z.ZodOptional<z.ZodBoolean>;
|
|
2697
2705
|
}, "id" | "totalRatedGames" | "avgRating" | "createdAt" | "updatedAt" | "deviceTokens" | "askedForPushNotifications" | "acceptedPushNotifications">, "strip", z.ZodTypeAny, {
|
|
2698
2706
|
email: string;
|
|
2699
2707
|
username: string;
|
|
@@ -2928,6 +2936,8 @@ export declare const createUserSchema: z.ZodObject<Omit<{
|
|
|
2928
2936
|
favoriteGames: boolean;
|
|
2929
2937
|
gradientColor: boolean;
|
|
2930
2938
|
} | undefined;
|
|
2939
|
+
phoneNumber?: string | undefined;
|
|
2940
|
+
phoneNumberVerified?: boolean | undefined;
|
|
2931
2941
|
}, {
|
|
2932
2942
|
email: string;
|
|
2933
2943
|
username: string;
|
|
@@ -3162,6 +3172,8 @@ export declare const createUserSchema: z.ZodObject<Omit<{
|
|
|
3162
3172
|
favoriteGames: boolean;
|
|
3163
3173
|
gradientColor: boolean;
|
|
3164
3174
|
} | undefined;
|
|
3175
|
+
phoneNumber?: string | undefined;
|
|
3176
|
+
phoneNumberVerified?: boolean | undefined;
|
|
3165
3177
|
}>;
|
|
3166
3178
|
export declare const reducedUserSchema: z.ZodObject<Pick<{
|
|
3167
3179
|
id: z.ZodString;
|
|
@@ -4166,6 +4178,8 @@ export declare const reducedUserSchema: z.ZodObject<Pick<{
|
|
|
4166
4178
|
favoriteGames: boolean;
|
|
4167
4179
|
gradientColor: boolean;
|
|
4168
4180
|
}>>;
|
|
4181
|
+
phoneNumber: z.ZodOptional<z.ZodString>;
|
|
4182
|
+
phoneNumberVerified: z.ZodOptional<z.ZodBoolean>;
|
|
4169
4183
|
}, "id" | "email" | "username" | "avatarUrl" | "badge">, "strip", z.ZodTypeAny, {
|
|
4170
4184
|
id: string;
|
|
4171
4185
|
email: string;
|
package/dist/schemas/user.js
CHANGED
|
@@ -249,6 +249,8 @@ exports.userSchema = (0, zod_1.object)({
|
|
|
249
249
|
favoriteGames: (0, zod_1.boolean)(),
|
|
250
250
|
gradientColor: (0, zod_1.boolean)(),
|
|
251
251
|
}).optional(),
|
|
252
|
+
phoneNumber: (0, zod_1.string)().optional(),
|
|
253
|
+
phoneNumberVerified: (0, zod_1.boolean)().optional(),
|
|
252
254
|
});
|
|
253
255
|
exports.createUserSchema = exports.userSchema.omit({
|
|
254
256
|
id: true,
|
|
@@ -1117,6 +1117,8 @@ export declare const userEventCommentSchema: z.ZodObject<{
|
|
|
1117
1117
|
favoriteGames: boolean;
|
|
1118
1118
|
gradientColor: boolean;
|
|
1119
1119
|
}>>;
|
|
1120
|
+
phoneNumber: z.ZodOptional<z.ZodString>;
|
|
1121
|
+
phoneNumberVerified: z.ZodOptional<z.ZodBoolean>;
|
|
1120
1122
|
}, "id" | "email" | "username" | "avatarUrl" | "badge">, "strip", z.ZodTypeAny, {
|
|
1121
1123
|
id: string;
|
|
1122
1124
|
email: string;
|
|
@@ -2136,6 +2138,8 @@ export declare const userEventCommentSchema: z.ZodObject<{
|
|
|
2136
2138
|
favoriteGames: boolean;
|
|
2137
2139
|
gradientColor: boolean;
|
|
2138
2140
|
}>>;
|
|
2141
|
+
phoneNumber: z.ZodOptional<z.ZodString>;
|
|
2142
|
+
phoneNumberVerified: z.ZodOptional<z.ZodBoolean>;
|
|
2139
2143
|
}, "id" | "email" | "username" | "avatarUrl" | "badge">, "strip", z.ZodTypeAny, {
|
|
2140
2144
|
id: string;
|
|
2141
2145
|
email: string;
|
|
@@ -3208,6 +3212,8 @@ export declare const userEventCommentLikeSchema: z.ZodObject<{
|
|
|
3208
3212
|
favoriteGames: boolean;
|
|
3209
3213
|
gradientColor: boolean;
|
|
3210
3214
|
}>>;
|
|
3215
|
+
phoneNumber: z.ZodOptional<z.ZodString>;
|
|
3216
|
+
phoneNumberVerified: z.ZodOptional<z.ZodBoolean>;
|
|
3211
3217
|
}, "id" | "email" | "username" | "avatarUrl" | "badge">, "strip", z.ZodTypeAny, {
|
|
3212
3218
|
id: string;
|
|
3213
3219
|
email: string;
|
package/dist/schemas/voting.d.ts
CHANGED
|
@@ -1004,6 +1004,8 @@ export declare const playerVoteSchema: z.ZodObject<{
|
|
|
1004
1004
|
favoriteGames: boolean;
|
|
1005
1005
|
gradientColor: boolean;
|
|
1006
1006
|
}>>;
|
|
1007
|
+
phoneNumber: z.ZodOptional<z.ZodString>;
|
|
1008
|
+
phoneNumberVerified: z.ZodOptional<z.ZodBoolean>;
|
|
1007
1009
|
}, "id" | "email" | "username" | "avatarUrl" | "badge">, "strip", z.ZodTypeAny, {
|
|
1008
1010
|
id: string;
|
|
1009
1011
|
email: string;
|
|
@@ -2141,6 +2143,8 @@ export declare const voteSubmissionDtoSchema: z.ZodObject<{
|
|
|
2141
2143
|
favoriteGames: boolean;
|
|
2142
2144
|
gradientColor: boolean;
|
|
2143
2145
|
}>>;
|
|
2146
|
+
phoneNumber: z.ZodOptional<z.ZodString>;
|
|
2147
|
+
phoneNumberVerified: z.ZodOptional<z.ZodBoolean>;
|
|
2144
2148
|
}, "id" | "email" | "username" | "avatarUrl" | "badge">, "strip", z.ZodTypeAny, {
|
|
2145
2149
|
id: string;
|
|
2146
2150
|
email: string;
|
|
@@ -3762,6 +3766,8 @@ export declare const userVoteResponseDtoSchema: z.ZodObject<{
|
|
|
3762
3766
|
favoriteGames: boolean;
|
|
3763
3767
|
gradientColor: boolean;
|
|
3764
3768
|
}>>;
|
|
3769
|
+
phoneNumber: z.ZodOptional<z.ZodString>;
|
|
3770
|
+
phoneNumberVerified: z.ZodOptional<z.ZodBoolean>;
|
|
3765
3771
|
}, "id" | "email" | "username" | "avatarUrl" | "badge">, "strip", z.ZodTypeAny, {
|
|
3766
3772
|
id: string;
|
|
3767
3773
|
email: string;
|