@citec-spbu/common 1.1.0 → 1.1.1
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,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
readonly package: "AuthService";
|
|
4
|
-
readonly protoPath: string;
|
|
5
|
-
};
|
|
6
|
-
};
|
|
1
|
+
import { GrpcOptions } from "@nestjs/microservices";
|
|
2
|
+
export declare const GRPC_CLIENTS: Record<string, Omit<GrpcOptions["options"], "url">>;
|
|
@@ -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.
|
|
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
|
};
|