@requ1emz/contracts 1.0.10 → 1.0.11

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/gen/auth.ts CHANGED
@@ -16,7 +16,7 @@ export interface SendRegistrationRequest {
16
16
  }
17
17
 
18
18
  export interface SendRegistationResponse {
19
- accountId: string;
19
+ userId: string;
20
20
  }
21
21
 
22
22
  export interface SendLoginRequest {
package/gen/user.ts CHANGED
@@ -16,32 +16,32 @@ export interface SendCreateUserRequest {
16
16
  }
17
17
 
18
18
  export interface SendCreateUserResponse {
19
- accountId: string;
19
+ userId: string;
20
20
  }
21
21
 
22
22
  export interface SendGetUserRequest {
23
- accountId?: string | undefined;
23
+ userId?: string | undefined;
24
24
  email?: string | undefined;
25
25
  }
26
26
 
27
27
  export interface SendGetUserResponse {
28
- accountId: string;
28
+ userId: string;
29
29
  email: string;
30
30
  }
31
31
 
32
32
  export interface SendUpdateUserRequest {
33
- accountId: string;
33
+ userId: string;
34
34
  email: string;
35
35
  password: string;
36
36
  }
37
37
 
38
38
  export interface SendUpdateUserResponse {
39
- accountId: string;
39
+ userId: string;
40
40
  email: string;
41
41
  }
42
42
 
43
43
  export interface SendDeleteUserRequest {
44
- accountId: string;
44
+ userId: string;
45
45
  }
46
46
 
47
47
  export interface SendDeleteUserResponse {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@requ1emz/contracts",
3
- "version": "1.0.10",
3
+ "version": "1.0.11",
4
4
  "description": "Protobuf definitions and generated TypeScript types",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",
package/proto/auth.proto CHANGED
@@ -14,7 +14,7 @@ message SendRegistrationRequest {
14
14
  }
15
15
 
16
16
  message SendRegistationResponse {
17
- string account_id = 1;
17
+ string user_id = 1;
18
18
  }
19
19
 
20
20
  message SendLoginRequest {
package/proto/user.proto CHANGED
@@ -15,34 +15,34 @@ message SendCreateUserRequest {
15
15
  }
16
16
 
17
17
  message SendCreateUserResponse {
18
- string account_id = 1;
18
+ string user_id = 1;
19
19
  }
20
20
 
21
21
  message SendGetUserRequest {
22
22
  oneof identifier {
23
- string account_id = 1;
23
+ string user_id = 1;
24
24
  string email = 2;
25
25
  }
26
26
  }
27
27
 
28
28
  message SendGetUserResponse {
29
- string account_id = 1;
29
+ string user_id = 1;
30
30
  string email = 2;
31
31
  }
32
32
 
33
33
  message SendUpdateUserRequest {
34
- string account_id = 1;
34
+ string user_id = 1;
35
35
  string email = 2;
36
36
  string password = 3;
37
37
  }
38
38
 
39
39
  message SendUpdateUserResponse {
40
- string account_id = 1;
40
+ string user_id = 1;
41
41
  string email = 2;
42
42
  }
43
43
 
44
44
  message SendDeleteUserRequest {
45
- string account_id = 1;
45
+ string user_id = 1;
46
46
  }
47
47
 
48
48
  message SendDeleteUserResponse {