@hy-capital/api-habit-tracker-types 1.0.5 → 1.0.6

Sign up to get free protection for your applications and to get access to all the features.
package/dist/user.d.ts CHANGED
@@ -11,6 +11,10 @@ export interface CreateUserRequest {
11
11
  email: string;
12
12
  clerk_id: string;
13
13
  }
14
+ export interface UpsertUserRequest {
15
+ email: string;
16
+ clerk_id: string;
17
+ }
14
18
  export interface UpdateUserRequest {
15
19
  clerk_id: string;
16
20
  name?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hy-capital/api-habit-tracker-types",
3
- "version": "1.0.5",
3
+ "version": "1.0.6",
4
4
  "main": "dist/index.js",
5
5
  "license": "MIT",
6
6
  "types": "dist/index.d.ts",
package/src/user.ts CHANGED
@@ -8,12 +8,16 @@ export interface User {
8
8
  updated_at: string;
9
9
  }
10
10
 
11
-
12
11
  export interface CreateUserRequest {
13
12
  email: string;
14
13
  clerk_id: string;
15
14
  }
16
15
 
16
+ export interface UpsertUserRequest {
17
+ email: string;
18
+ clerk_id: string;
19
+ }
20
+
17
21
  export interface UpdateUserRequest {
18
22
  clerk_id: string;
19
23
  name?: string;