@requ1emz/contracts 1.0.10 → 1.0.12
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 +9 -8
- package/package.json +1 -1
- package/proto/auth.proto +1 -1
- package/proto/user.proto +10 -9
package/gen/auth.ts
CHANGED
package/gen/user.ts
CHANGED
|
@@ -12,36 +12,37 @@ export const protobufPackage = "user.v1";
|
|
|
12
12
|
|
|
13
13
|
export interface SendCreateUserRequest {
|
|
14
14
|
email: string;
|
|
15
|
-
|
|
15
|
+
passwordHash: string;
|
|
16
16
|
}
|
|
17
17
|
|
|
18
18
|
export interface SendCreateUserResponse {
|
|
19
|
-
|
|
19
|
+
id: string;
|
|
20
20
|
}
|
|
21
21
|
|
|
22
22
|
export interface SendGetUserRequest {
|
|
23
|
-
|
|
23
|
+
id?: string | undefined;
|
|
24
24
|
email?: string | undefined;
|
|
25
25
|
}
|
|
26
26
|
|
|
27
27
|
export interface SendGetUserResponse {
|
|
28
|
-
|
|
28
|
+
id: string;
|
|
29
29
|
email: string;
|
|
30
|
+
passwordHash: string;
|
|
30
31
|
}
|
|
31
32
|
|
|
32
33
|
export interface SendUpdateUserRequest {
|
|
33
|
-
|
|
34
|
+
id: string;
|
|
34
35
|
email: string;
|
|
35
|
-
|
|
36
|
+
passwordHash: string;
|
|
36
37
|
}
|
|
37
38
|
|
|
38
39
|
export interface SendUpdateUserResponse {
|
|
39
|
-
|
|
40
|
+
id: string;
|
|
40
41
|
email: string;
|
|
41
42
|
}
|
|
42
43
|
|
|
43
44
|
export interface SendDeleteUserRequest {
|
|
44
|
-
|
|
45
|
+
id: string;
|
|
45
46
|
}
|
|
46
47
|
|
|
47
48
|
export interface SendDeleteUserResponse {
|
package/package.json
CHANGED
package/proto/auth.proto
CHANGED
package/proto/user.proto
CHANGED
|
@@ -11,38 +11,39 @@ service UserService {
|
|
|
11
11
|
|
|
12
12
|
message SendCreateUserRequest {
|
|
13
13
|
string email = 1;
|
|
14
|
-
string
|
|
14
|
+
string password_hash = 2;
|
|
15
15
|
}
|
|
16
16
|
|
|
17
17
|
message SendCreateUserResponse {
|
|
18
|
-
string
|
|
18
|
+
string id = 1;
|
|
19
19
|
}
|
|
20
20
|
|
|
21
21
|
message SendGetUserRequest {
|
|
22
22
|
oneof identifier {
|
|
23
|
-
string
|
|
24
|
-
string email
|
|
23
|
+
string id = 1;
|
|
24
|
+
string email = 2;
|
|
25
25
|
}
|
|
26
26
|
}
|
|
27
27
|
|
|
28
28
|
message SendGetUserResponse {
|
|
29
|
-
string
|
|
29
|
+
string id = 1;
|
|
30
30
|
string email = 2;
|
|
31
|
+
string password_hash = 3;
|
|
31
32
|
}
|
|
32
33
|
|
|
33
34
|
message SendUpdateUserRequest {
|
|
34
|
-
string
|
|
35
|
+
string id = 1;
|
|
35
36
|
string email = 2;
|
|
36
|
-
string
|
|
37
|
+
string password_hash = 3;
|
|
37
38
|
}
|
|
38
39
|
|
|
39
40
|
message SendUpdateUserResponse {
|
|
40
|
-
string
|
|
41
|
+
string id = 1;
|
|
41
42
|
string email = 2;
|
|
42
43
|
}
|
|
43
44
|
|
|
44
45
|
message SendDeleteUserRequest {
|
|
45
|
-
string
|
|
46
|
+
string id = 1;
|
|
46
47
|
}
|
|
47
48
|
|
|
48
49
|
message SendDeleteUserResponse {
|