@citec-spbu/common 1.1.0 → 1.1.2

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,6 +1,14 @@
1
1
  export declare const GRPC_CLIENTS: {
2
2
  readonly AUTH_PACKAGE: {
3
- readonly package: "AuthService";
3
+ readonly package: "auth.v1";
4
+ readonly protoPath: string;
5
+ };
6
+ readonly ACCOUNT_PACKAGE: {
7
+ readonly package: "account.v1";
8
+ readonly protoPath: string;
9
+ };
10
+ readonly USERS_PACKAGE: {
11
+ readonly package: "users.v1";
4
12
  readonly protoPath: string;
5
13
  };
6
14
  };
@@ -2,10 +2,20 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.GRPC_CLIENTS = void 0;
4
4
  const contracts_1 = require("@citec-spbu/contracts");
5
+ const account_1 = require("@citec-spbu/contracts/gen/ts/account");
5
6
  const auth_1 = require("@citec-spbu/contracts/gen/ts/auth");
7
+ const users_1 = require("@citec-spbu/contracts/gen/ts/users");
6
8
  exports.GRPC_CLIENTS = {
7
9
  AUTH_PACKAGE: {
8
- package: auth_1.AUTH_SERVICE_NAME,
10
+ package: auth_1.AUTH_V1_PACKAGE_NAME,
9
11
  protoPath: contracts_1.PROTO_PATHS.AUTH
12
+ },
13
+ ACCOUNT_PACKAGE: {
14
+ package: account_1.ACCOUNT_V1_PACKAGE_NAME,
15
+ protoPath: contracts_1.PROTO_PATHS.ACCOUNT
16
+ },
17
+ USERS_PACKAGE: {
18
+ package: users_1.USERS_V1_PACKAGE_NAME,
19
+ protoPath: contracts_1.PROTO_PATHS.USERS
10
20
  }
11
21
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@citec-spbu/common",
3
- "version": "1.1.0",
3
+ "version": "1.1.2",
4
4
  "description": "Core shared components for microservices",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",