@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.
@@ -1,4 +1,4 @@
1
- export interface UsernameChanged {
1
+ export interface UsernameChangedEvent {
2
2
  userId: string;
3
3
  username: string;
4
4
  }
package/gen/users.ts CHANGED
@@ -25,11 +25,13 @@ export interface GetUserRequest {
25
25
  }
26
26
 
27
27
  export interface GetUserResponse {
28
- user: User | undefined;
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vsniksnet/contracts",
3
- "version": "1.2.12",
3
+ "version": "1.2.14",
4
4
  "description": "Protobuf definitions and generated typescript types",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",
package/proto/users.proto CHANGED
@@ -31,13 +31,15 @@ message GetUserRequest {
31
31
  }
32
32
 
33
33
  message GetUserResponse {
34
- User user = 1;
34
+ Profile user = 1;
35
35
  }
36
36
 
37
37
  message ListUsersRequest {
38
38
  optional string search = 1;
39
- int32 page = 2;
40
- int32 limit = 3;
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 {