@shmidko61/cinema-contracts 1.2.0 → 1.3.0
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 +1,15 @@
|
|
|
1
1
|
export declare const GRPC_CLIENT_PREFIX = "GRPC_CLIENT";
|
|
2
|
+
export declare const SERVICES_DATA: {
|
|
3
|
+
readonly AUTH: {
|
|
4
|
+
readonly NAME: "AuthService";
|
|
5
|
+
readonly PACKAGE: "auth.v1";
|
|
6
|
+
};
|
|
7
|
+
readonly ACCOUNT: {
|
|
8
|
+
readonly NAME: "AccountService";
|
|
9
|
+
readonly PACKAGE: "account.v1";
|
|
10
|
+
};
|
|
11
|
+
readonly USERS: {
|
|
12
|
+
readonly NAME: "UserService";
|
|
13
|
+
readonly PACKAGE: "users.v1";
|
|
14
|
+
};
|
|
15
|
+
};
|
|
@@ -1,4 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.GRPC_CLIENT_PREFIX = void 0;
|
|
3
|
+
exports.SERVICES_DATA = exports.GRPC_CLIENT_PREFIX = void 0;
|
|
4
4
|
exports.GRPC_CLIENT_PREFIX = "GRPC_CLIENT";
|
|
5
|
+
exports.SERVICES_DATA = {
|
|
6
|
+
AUTH: { NAME: "AuthService", PACKAGE: "auth.v1" },
|
|
7
|
+
ACCOUNT: { NAME: "AccountService", PACKAGE: "account.v1" },
|
|
8
|
+
USERS: { NAME: "UserService", PACKAGE: "users.v1" },
|
|
9
|
+
};
|
|
@@ -1,3 +1,8 @@
|
|
|
1
|
+
export declare const GRPC_CLIENT_KEYS: {
|
|
2
|
+
readonly AUTH_PACKAGE: "AUTH_PACKAGE";
|
|
3
|
+
readonly ACCOUNT_PACKAGE: "ACCOUNT_PACKAGE";
|
|
4
|
+
readonly USERS_PACKAGE: "USERS_PACKAGE";
|
|
5
|
+
};
|
|
1
6
|
export declare const GRPC_CLIENTS: {
|
|
2
7
|
readonly AUTH_PACKAGE: {
|
|
3
8
|
readonly package: "auth.v1";
|
|
@@ -1,20 +1,26 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.GRPC_CLIENTS = void 0;
|
|
3
|
+
exports.GRPC_CLIENTS = exports.GRPC_CLIENT_KEYS = void 0;
|
|
4
4
|
const proto_1 = require("../../proto");
|
|
5
|
+
const grpc_constants_1 = require("../constants/grpc-constants");
|
|
6
|
+
exports.GRPC_CLIENT_KEYS = {
|
|
7
|
+
AUTH_PACKAGE: "AUTH_PACKAGE",
|
|
8
|
+
ACCOUNT_PACKAGE: "ACCOUNT_PACKAGE",
|
|
9
|
+
USERS_PACKAGE: "USERS_PACKAGE",
|
|
10
|
+
};
|
|
5
11
|
exports.GRPC_CLIENTS = {
|
|
6
|
-
AUTH_PACKAGE: {
|
|
7
|
-
package:
|
|
12
|
+
[exports.GRPC_CLIENT_KEYS.AUTH_PACKAGE]: {
|
|
13
|
+
package: grpc_constants_1.SERVICES_DATA.AUTH.PACKAGE,
|
|
8
14
|
protoPath: proto_1.PROTO_PATHS.AUTH,
|
|
9
15
|
env: "AUTH_GRPC_URL",
|
|
10
16
|
},
|
|
11
|
-
ACCOUNT_PACKAGE: {
|
|
12
|
-
package:
|
|
17
|
+
[exports.GRPC_CLIENT_KEYS.ACCOUNT_PACKAGE]: {
|
|
18
|
+
package: grpc_constants_1.SERVICES_DATA.ACCOUNT.PACKAGE,
|
|
13
19
|
protoPath: proto_1.PROTO_PATHS.ACCOUNT,
|
|
14
20
|
env: "ACCOUNT_GRPC_URL",
|
|
15
21
|
},
|
|
16
|
-
USERS_PACKAGE: {
|
|
17
|
-
package:
|
|
22
|
+
[exports.GRPC_CLIENT_KEYS.USERS_PACKAGE]: {
|
|
23
|
+
package: grpc_constants_1.SERVICES_DATA.USERS.PACKAGE,
|
|
18
24
|
protoPath: proto_1.PROTO_PATHS.USERS,
|
|
19
25
|
env: "USERS_GRPC_URL",
|
|
20
26
|
},
|