rategame-shared 1.0.60 → 1.0.61

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.
@@ -22,6 +22,9 @@ export declare const userSchema: import("zod").ZodObject<{
22
22
  askedForPushNotifications: import("zod").ZodBoolean;
23
23
  acceptedPushNotifications: import("zod").ZodBoolean;
24
24
  badge: import("zod").ZodOptional<import("zod").ZodString>;
25
+ registrationStep: import("zod").ZodOptional<import("zod").ZodNumber>;
26
+ selectedLeagues: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
27
+ selectedTeams: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
25
28
  }, "strip", import("zod").ZodTypeAny, {
26
29
  id: string;
27
30
  email: string;
@@ -40,6 +43,9 @@ export declare const userSchema: import("zod").ZodObject<{
40
43
  avgRating?: number | undefined;
41
44
  isRegistrationComplete?: boolean | undefined;
42
45
  badge?: string | undefined;
46
+ registrationStep?: number | undefined;
47
+ selectedLeagues?: string[] | undefined;
48
+ selectedTeams?: string[] | undefined;
43
49
  }, {
44
50
  id: string;
45
51
  email: string;
@@ -58,6 +64,9 @@ export declare const userSchema: import("zod").ZodObject<{
58
64
  avgRating?: number | undefined;
59
65
  isRegistrationComplete?: boolean | undefined;
60
66
  badge?: string | undefined;
67
+ registrationStep?: number | undefined;
68
+ selectedLeagues?: string[] | undefined;
69
+ selectedTeams?: string[] | undefined;
61
70
  }>;
62
71
  export declare const createUserSchema: import("zod").ZodObject<Omit<{
63
72
  id: import("zod").ZodString;
@@ -83,6 +92,9 @@ export declare const createUserSchema: import("zod").ZodObject<Omit<{
83
92
  askedForPushNotifications: import("zod").ZodBoolean;
84
93
  acceptedPushNotifications: import("zod").ZodBoolean;
85
94
  badge: import("zod").ZodOptional<import("zod").ZodString>;
95
+ registrationStep: import("zod").ZodOptional<import("zod").ZodNumber>;
96
+ selectedLeagues: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
97
+ selectedTeams: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
86
98
  }, "id" | "createdAt" | "updatedAt" | "totalRatedGames" | "avgRating" | "deviceTokens" | "askedForPushNotifications" | "acceptedPushNotifications">, "strip", import("zod").ZodTypeAny, {
87
99
  email: string;
88
100
  username: string;
@@ -90,6 +102,9 @@ export declare const createUserSchema: import("zod").ZodObject<Omit<{
90
102
  commentsLeft?: number | undefined;
91
103
  isRegistrationComplete?: boolean | undefined;
92
104
  badge?: string | undefined;
105
+ registrationStep?: number | undefined;
106
+ selectedLeagues?: string[] | undefined;
107
+ selectedTeams?: string[] | undefined;
93
108
  }, {
94
109
  email: string;
95
110
  username: string;
@@ -97,4 +112,7 @@ export declare const createUserSchema: import("zod").ZodObject<Omit<{
97
112
  commentsLeft?: number | undefined;
98
113
  isRegistrationComplete?: boolean | undefined;
99
114
  badge?: string | undefined;
115
+ registrationStep?: number | undefined;
116
+ selectedLeagues?: string[] | undefined;
117
+ selectedTeams?: string[] | undefined;
100
118
  }>;
@@ -20,6 +20,9 @@ exports.userSchema = (0, zod_1.object)({
20
20
  askedForPushNotifications: (0, zod_1.boolean)(),
21
21
  acceptedPushNotifications: (0, zod_1.boolean)(),
22
22
  badge: (0, zod_1.string)().optional(),
23
+ registrationStep: (0, zod_1.number)().optional(),
24
+ selectedLeagues: (0, zod_1.array)((0, zod_1.string)()).optional(),
25
+ selectedTeams: (0, zod_1.array)((0, zod_1.string)()).optional(),
23
26
  });
24
27
  exports.createUserSchema = exports.userSchema.omit({
25
28
  id: true,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rategame-shared",
3
- "version": "1.0.60",
3
+ "version": "1.0.61",
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",