@vsniksnet/contracts 1.2.12 → 1.2.14
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/users.ts
CHANGED
|
@@ -25,11 +25,13 @@ export interface GetUserRequest {
|
|
|
25
25
|
}
|
|
26
26
|
|
|
27
27
|
export interface GetUserResponse {
|
|
28
|
-
user:
|
|
28
|
+
user: Profile | undefined;
|
|
29
29
|
}
|
|
30
30
|
|
|
31
31
|
export interface ListUsersRequest {
|
|
32
32
|
search?: string | undefined;
|
|
33
|
+
gender?: string | undefined;
|
|
34
|
+
status?: string | undefined;
|
|
33
35
|
page: number;
|
|
34
36
|
limit: number;
|
|
35
37
|
}
|
package/package.json
CHANGED
package/proto/users.proto
CHANGED
|
@@ -31,13 +31,15 @@ message GetUserRequest {
|
|
|
31
31
|
}
|
|
32
32
|
|
|
33
33
|
message GetUserResponse {
|
|
34
|
-
|
|
34
|
+
Profile user = 1;
|
|
35
35
|
}
|
|
36
36
|
|
|
37
37
|
message ListUsersRequest {
|
|
38
38
|
optional string search = 1;
|
|
39
|
-
|
|
40
|
-
|
|
39
|
+
optional string gender = 2;
|
|
40
|
+
optional string status = 3;
|
|
41
|
+
int32 page = 4;
|
|
42
|
+
int32 limit = 5;
|
|
41
43
|
}
|
|
42
44
|
|
|
43
45
|
message ListUsersResponse {
|