@hy-capital/api-habit-tracker-types 1.0.48 → 1.0.49

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/user.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  export interface DbUser {
2
2
  id: number;
3
3
  name: string | null;
4
- email: string;
4
+ email: string | null;
5
5
  is_onboarding_done: boolean;
6
6
  timezone: string;
7
7
  expo_push_token: string;
@@ -9,10 +9,9 @@ export interface DbUser {
9
9
  created_at: string;
10
10
  updated_at: string;
11
11
  }
12
- export type InputUser = Omit<DbUser, 'id' | 'name' | 'is_onboarding_done' | 'expo_push_token' | 'created_at' | 'updated_at'>;
12
+ export type InputUser = Omit<DbUser, 'id' | 'name' | 'email' | 'is_onboarding_done' | 'expo_push_token' | 'created_at' | 'updated_at'>;
13
13
  export interface CreateUserRequest {
14
14
  identityToken: string;
15
- email: string;
16
15
  timezone: string;
17
16
  }
18
17
  export interface UpdateUserRequest {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hy-capital/api-habit-tracker-types",
3
- "version": "1.0.48",
3
+ "version": "1.0.49",
4
4
  "main": "dist/index.js",
5
5
  "license": "MIT",
6
6
  "types": "dist/index.d.ts",
package/src/user.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  export interface DbUser {
2
2
  id: number;
3
3
  name: string | null;
4
- email: string;
4
+ email: string | null;
5
5
  is_onboarding_done: boolean;
6
6
  timezone: string;
7
7
  expo_push_token: string;
@@ -10,11 +10,10 @@ export interface DbUser {
10
10
  updated_at: string;
11
11
  }
12
12
 
13
- export type InputUser = Omit<DbUser, 'id' | 'name' | 'is_onboarding_done' | 'expo_push_token' | 'created_at' | 'updated_at'>;
13
+ export type InputUser = Omit<DbUser, 'id' | 'name' | 'email' | 'is_onboarding_done' | 'expo_push_token' | 'created_at' | 'updated_at'>;
14
14
 
15
15
  export interface CreateUserRequest {
16
16
  identityToken: string;
17
- email: string;
18
17
  timezone: string;
19
18
  }
20
19