rategame-shared 1.0.87 → 1.0.89

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.
@@ -248,7 +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
+ following: import("zod").ZodOptional<import("zod").ZodString>;
252
252
  }, "strip", import("zod").ZodTypeAny, {
253
253
  league: "nba" | "ncaa";
254
254
  offset?: string | undefined;
@@ -262,7 +262,7 @@ export declare const searchRatingSchema: import("zod").ZodObject<{
262
262
  comment?: string | undefined;
263
263
  gameId?: string | undefined;
264
264
  showEmptyRatings?: string | undefined;
265
- followedUsers?: string[] | undefined;
265
+ following?: string | undefined;
266
266
  }, {
267
267
  league: "nba" | "ncaa";
268
268
  offset?: string | undefined;
@@ -276,7 +276,7 @@ export declare const searchRatingSchema: import("zod").ZodObject<{
276
276
  comment?: string | undefined;
277
277
  gameId?: string | undefined;
278
278
  showEmptyRatings?: string | undefined;
279
- followedUsers?: string[] | undefined;
279
+ following?: string | undefined;
280
280
  }>;
281
281
  export declare const ratingLikeSchema: import("zod").ZodObject<{
282
282
  ratingId: import("zod").ZodString;
@@ -49,7 +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
+ following: (0, zod_1.string)().optional(),
53
53
  });
54
54
  exports.ratingLikeSchema = (0, zod_1.object)({
55
55
  ratingId: (0, zod_1.string)(),
@@ -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;
@@ -120,7 +120,7 @@ export declare const userSchema: import("zod").ZodObject<{
120
120
  }>;
121
121
  askedForPushNotifications: boolean;
122
122
  acceptedPushNotifications: boolean;
123
- platform?: "ios" | "android" | undefined;
123
+ platform?: "ios" | "android" | "macos" | "windows" | "web" | undefined;
124
124
  totalRatedGames?: number | undefined;
125
125
  commentsLeft?: number | undefined;
126
126
  avgRating?: number | undefined;
@@ -162,7 +162,7 @@ export declare const userSchema: import("zod").ZodObject<{
162
162
  }>;
163
163
  askedForPushNotifications: boolean;
164
164
  acceptedPushNotifications: boolean;
165
- platform?: "ios" | "android" | undefined;
165
+ platform?: "ios" | "android" | "macos" | "windows" | "web" | undefined;
166
166
  totalRatedGames?: number | undefined;
167
167
  commentsLeft?: number | undefined;
168
168
  avgRating?: number | undefined;
@@ -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: {
@@ -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)([(0, zod_1.literal)("ios"), (0, zod_1.literal)("android")]).optional(),
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,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rategame-shared",
3
- "version": "1.0.87",
3
+ "version": "1.0.89",
4
4
  "description": "This package contains shared resources for the Rate Game project.",
5
5
  "types": "./dist/index.d.ts",
6
6
  "main": "./dist/index.js",