@requ1emz/contracts 1.0.9 → 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 +1 -1
- package/gen/user.ts +7 -6
- package/package.json +1 -1
- package/proto/auth.proto +1 -1
- package/proto/user.proto +9 -6
package/gen/auth.ts
CHANGED
package/gen/user.ts
CHANGED
|
@@ -16,31 +16,32 @@ export interface SendCreateUserRequest {
|
|
|
16
16
|
}
|
|
17
17
|
|
|
18
18
|
export interface SendCreateUserResponse {
|
|
19
|
-
|
|
19
|
+
userId: string;
|
|
20
20
|
}
|
|
21
21
|
|
|
22
22
|
export interface SendGetUserRequest {
|
|
23
|
-
|
|
23
|
+
userId?: string | undefined;
|
|
24
|
+
email?: string | undefined;
|
|
24
25
|
}
|
|
25
26
|
|
|
26
27
|
export interface SendGetUserResponse {
|
|
27
|
-
|
|
28
|
+
userId: string;
|
|
28
29
|
email: string;
|
|
29
30
|
}
|
|
30
31
|
|
|
31
32
|
export interface SendUpdateUserRequest {
|
|
32
|
-
|
|
33
|
+
userId: string;
|
|
33
34
|
email: string;
|
|
34
35
|
password: string;
|
|
35
36
|
}
|
|
36
37
|
|
|
37
38
|
export interface SendUpdateUserResponse {
|
|
38
|
-
|
|
39
|
+
userId: string;
|
|
39
40
|
email: string;
|
|
40
41
|
}
|
|
41
42
|
|
|
42
43
|
export interface SendDeleteUserRequest {
|
|
43
|
-
|
|
44
|
+
userId: string;
|
|
44
45
|
}
|
|
45
46
|
|
|
46
47
|
export interface SendDeleteUserResponse {
|
package/package.json
CHANGED
package/proto/auth.proto
CHANGED
package/proto/user.proto
CHANGED
|
@@ -15,31 +15,34 @@ message SendCreateUserRequest {
|
|
|
15
15
|
}
|
|
16
16
|
|
|
17
17
|
message SendCreateUserResponse {
|
|
18
|
-
string
|
|
18
|
+
string user_id = 1;
|
|
19
19
|
}
|
|
20
20
|
|
|
21
21
|
message SendGetUserRequest {
|
|
22
|
-
|
|
22
|
+
oneof identifier {
|
|
23
|
+
string user_id = 1;
|
|
24
|
+
string email = 2;
|
|
25
|
+
}
|
|
23
26
|
}
|
|
24
27
|
|
|
25
28
|
message SendGetUserResponse {
|
|
26
|
-
string
|
|
29
|
+
string user_id = 1;
|
|
27
30
|
string email = 2;
|
|
28
31
|
}
|
|
29
32
|
|
|
30
33
|
message SendUpdateUserRequest {
|
|
31
|
-
string
|
|
34
|
+
string user_id = 1;
|
|
32
35
|
string email = 2;
|
|
33
36
|
string password = 3;
|
|
34
37
|
}
|
|
35
38
|
|
|
36
39
|
message SendUpdateUserResponse {
|
|
37
|
-
string
|
|
40
|
+
string user_id = 1;
|
|
38
41
|
string email = 2;
|
|
39
42
|
}
|
|
40
43
|
|
|
41
44
|
message SendDeleteUserRequest {
|
|
42
|
-
string
|
|
45
|
+
string user_id = 1;
|
|
43
46
|
}
|
|
44
47
|
|
|
45
48
|
message SendDeleteUserResponse {
|