@sergmit/contracts 1.1.3 → 1.1.5

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,5 @@
1
1
  export declare const PROTO_PATHS: {
2
2
  readonly AUTH: string;
3
3
  readonly ACCOUNT: string;
4
+ readonly USERS: string;
4
5
  };
@@ -4,5 +4,6 @@ exports.PROTO_PATHS = void 0;
4
4
  const path_1 = require("path");
5
5
  exports.PROTO_PATHS = {
6
6
  AUTH: (0, path_1.join)(__dirname, '../../proto/auth.proto'),
7
- ACCOUNT: (0, path_1.join)(__dirname, '../../proto/account.proto')
7
+ ACCOUNT: (0, path_1.join)(__dirname, '../../proto/account.proto'),
8
+ USERS: (0, path_1.join)(__dirname, '../../proto/users.proto'),
8
9
  };
package/gen/users.ts CHANGED
@@ -19,7 +19,7 @@ export interface GetMeResponse {
19
19
  }
20
20
 
21
21
  export interface CreateUserRequest {
22
- id: boolean;
22
+ id: string;
23
23
  }
24
24
 
25
25
  export interface CreateUserResponse {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sergmit/contracts",
3
- "version": "1.1.3",
3
+ "version": "1.1.5",
4
4
  "description": "",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",
package/proto/users.proto CHANGED
@@ -16,7 +16,7 @@ message GetMeResponse {
16
16
  }
17
17
 
18
18
  message CreateUserRequest {
19
- bool id = 1;
19
+ string id = 1;
20
20
  }
21
21
 
22
22
  message CreateUserResponse {