rategame-shared 1.0.86 → 1.0.88
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/rating.d.ts
CHANGED
|
@@ -248,6 +248,7 @@ export declare const searchRatingSchema: import("zod").ZodObject<{
|
|
|
248
248
|
showEmptyRatings: import("zod").ZodOptional<import("zod").ZodString>;
|
|
249
249
|
comment: import("zod").ZodOptional<import("zod").ZodString>;
|
|
250
250
|
username: import("zod").ZodOptional<import("zod").ZodString>;
|
|
251
|
+
followedUsers: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
|
|
251
252
|
}, "strip", import("zod").ZodTypeAny, {
|
|
252
253
|
league: "nba" | "ncaa";
|
|
253
254
|
q?: string | undefined;
|
|
@@ -261,6 +262,7 @@ export declare const searchRatingSchema: import("zod").ZodObject<{
|
|
|
261
262
|
showEmptyRatings?: string | undefined;
|
|
262
263
|
comment?: string | undefined;
|
|
263
264
|
username?: string | undefined;
|
|
265
|
+
followedUsers?: string[] | undefined;
|
|
264
266
|
}, {
|
|
265
267
|
league: "nba" | "ncaa";
|
|
266
268
|
q?: string | undefined;
|
|
@@ -274,6 +276,7 @@ export declare const searchRatingSchema: import("zod").ZodObject<{
|
|
|
274
276
|
showEmptyRatings?: string | undefined;
|
|
275
277
|
comment?: string | undefined;
|
|
276
278
|
username?: string | undefined;
|
|
279
|
+
followedUsers?: string[] | undefined;
|
|
277
280
|
}>;
|
|
278
281
|
export declare const ratingLikeSchema: import("zod").ZodObject<{
|
|
279
282
|
ratingId: import("zod").ZodString;
|
package/dist/schemas/rating.js
CHANGED
|
@@ -49,6 +49,7 @@ exports.searchRatingSchema = (0, zod_1.object)({
|
|
|
49
49
|
showEmptyRatings: (0, zod_1.string)().optional(),
|
|
50
50
|
comment: (0, zod_1.string)().optional(),
|
|
51
51
|
username: (0, zod_1.string)().optional(),
|
|
52
|
+
followedUsers: (0, zod_1.string)().array().optional(),
|
|
52
53
|
});
|
|
53
54
|
exports.ratingLikeSchema = (0, zod_1.object)({
|
|
54
55
|
ratingId: (0, zod_1.string)(),
|
package/dist/schemas/user.d.ts
CHANGED
|
@@ -106,7 +106,7 @@ export declare const userSchema: import("zod").ZodObject<{
|
|
|
106
106
|
youtube?: string | undefined;
|
|
107
107
|
tiktok?: string | undefined;
|
|
108
108
|
}>>;
|
|
109
|
-
platform: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"ios">, import("zod").ZodLiteral<"android">]>>;
|
|
109
|
+
platform: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"ios">, import("zod").ZodLiteral<"android">, import("zod").ZodLiteral<"macos">, import("zod").ZodLiteral<"windows">, import("zod").ZodLiteral<"web">]>>;
|
|
110
110
|
}, "strip", import("zod").ZodTypeAny, {
|
|
111
111
|
id: string;
|
|
112
112
|
email: string;
|
|
@@ -148,7 +148,7 @@ export declare const userSchema: import("zod").ZodObject<{
|
|
|
148
148
|
youtube?: string | undefined;
|
|
149
149
|
tiktok?: string | undefined;
|
|
150
150
|
} | undefined;
|
|
151
|
-
platform?: "ios" | "android" | undefined;
|
|
151
|
+
platform?: "ios" | "android" | "macos" | "windows" | "web" | undefined;
|
|
152
152
|
}, {
|
|
153
153
|
id: string;
|
|
154
154
|
email: string;
|
|
@@ -190,7 +190,7 @@ export declare const userSchema: import("zod").ZodObject<{
|
|
|
190
190
|
youtube?: string | undefined;
|
|
191
191
|
tiktok?: string | undefined;
|
|
192
192
|
} | undefined;
|
|
193
|
-
platform?: "ios" | "android" | undefined;
|
|
193
|
+
platform?: "ios" | "android" | "macos" | "windows" | "web" | undefined;
|
|
194
194
|
}>;
|
|
195
195
|
export declare const createUserSchema: import("zod").ZodObject<Omit<{
|
|
196
196
|
id: import("zod").ZodString;
|
|
@@ -287,12 +287,12 @@ export declare const createUserSchema: import("zod").ZodObject<Omit<{
|
|
|
287
287
|
youtube?: string | undefined;
|
|
288
288
|
tiktok?: string | undefined;
|
|
289
289
|
}>>;
|
|
290
|
-
platform: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"ios">, import("zod").ZodLiteral<"android">]>>;
|
|
290
|
+
platform: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"ios">, import("zod").ZodLiteral<"android">, import("zod").ZodLiteral<"macos">, import("zod").ZodLiteral<"windows">, import("zod").ZodLiteral<"web">]>>;
|
|
291
291
|
}, "id" | "totalRatedGames" | "avgRating" | "createdAt" | "updatedAt" | "deviceTokens" | "askedForPushNotifications" | "acceptedPushNotifications">, "strip", import("zod").ZodTypeAny, {
|
|
292
292
|
email: string;
|
|
293
293
|
username: string;
|
|
294
294
|
avatarUrl: string;
|
|
295
|
-
platform?: "ios" | "android" | undefined;
|
|
295
|
+
platform?: "ios" | "android" | "macos" | "windows" | "web" | undefined;
|
|
296
296
|
commentsLeft?: number | undefined;
|
|
297
297
|
leagues?: {
|
|
298
298
|
nba: {
|
|
@@ -323,7 +323,7 @@ export declare const createUserSchema: import("zod").ZodObject<Omit<{
|
|
|
323
323
|
email: string;
|
|
324
324
|
username: string;
|
|
325
325
|
avatarUrl: string;
|
|
326
|
-
platform?: "ios" | "android" | undefined;
|
|
326
|
+
platform?: "ios" | "android" | "macos" | "windows" | "web" | undefined;
|
|
327
327
|
commentsLeft?: number | undefined;
|
|
328
328
|
leagues?: {
|
|
329
329
|
nba: {
|
package/dist/schemas/user.js
CHANGED
|
@@ -40,7 +40,13 @@ exports.userSchema = (0, zod_1.object)({
|
|
|
40
40
|
youtube: (0, zod_1.string)().optional(),
|
|
41
41
|
tiktok: (0, zod_1.string)().optional(),
|
|
42
42
|
}).optional(),
|
|
43
|
-
platform: (0, zod_1.union)([
|
|
43
|
+
platform: (0, zod_1.union)([
|
|
44
|
+
(0, zod_1.literal)("ios"),
|
|
45
|
+
(0, zod_1.literal)("android"),
|
|
46
|
+
(0, zod_1.literal)("macos"),
|
|
47
|
+
(0, zod_1.literal)("windows"),
|
|
48
|
+
(0, zod_1.literal)("web"),
|
|
49
|
+
]).optional(),
|
|
44
50
|
});
|
|
45
51
|
exports.createUserSchema = exports.userSchema.omit({
|
|
46
52
|
id: true,
|