@ticket_for_cinema/contracts 1.0.7 → 1.0.9

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,2 +1,3 @@
1
1
  export { SendOtpRequest, SendOtpResponse, VerifyOtpRequest, VerifyOtpResponse, RefreshTokensRequest, RefreshTokensResponse, AUTH_V1_PACKAGE_NAME, AuthServiceClient, AuthServiceController, AuthServiceControllerMethods, AUTH_SERVICE_NAME, } from "../gen/auth";
2
2
  export { Role, GetAccountRequest, GetAccountResponse, ACCOUNT_V1_PACKAGE_NAME, AccountServiceClient, AccountServiceController, AccountServiceControllerMethods, ACCOUNT_SERVICE_NAME, } from "../gen/account";
3
+ export { PROTO_PATH } from "./proto-paths";
package/dist/src/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ACCOUNT_SERVICE_NAME = exports.AccountServiceControllerMethods = exports.ACCOUNT_V1_PACKAGE_NAME = exports.Role = exports.AUTH_SERVICE_NAME = exports.AuthServiceControllerMethods = exports.AUTH_V1_PACKAGE_NAME = void 0;
3
+ exports.PROTO_PATH = exports.ACCOUNT_SERVICE_NAME = exports.AccountServiceControllerMethods = exports.ACCOUNT_V1_PACKAGE_NAME = exports.Role = exports.AUTH_SERVICE_NAME = exports.AuthServiceControllerMethods = exports.AUTH_V1_PACKAGE_NAME = void 0;
4
4
  var auth_1 = require("../gen/auth");
5
5
  Object.defineProperty(exports, "AUTH_V1_PACKAGE_NAME", { enumerable: true, get: function () { return auth_1.AUTH_V1_PACKAGE_NAME; } });
6
6
  Object.defineProperty(exports, "AuthServiceControllerMethods", { enumerable: true, get: function () { return auth_1.AuthServiceControllerMethods; } });
@@ -10,3 +10,5 @@ Object.defineProperty(exports, "Role", { enumerable: true, get: function () { re
10
10
  Object.defineProperty(exports, "ACCOUNT_V1_PACKAGE_NAME", { enumerable: true, get: function () { return account_1.ACCOUNT_V1_PACKAGE_NAME; } });
11
11
  Object.defineProperty(exports, "AccountServiceControllerMethods", { enumerable: true, get: function () { return account_1.AccountServiceControllerMethods; } });
12
12
  Object.defineProperty(exports, "ACCOUNT_SERVICE_NAME", { enumerable: true, get: function () { return account_1.ACCOUNT_SERVICE_NAME; } });
13
+ var proto_paths_1 = require("./proto-paths");
14
+ Object.defineProperty(exports, "PROTO_PATH", { enumerable: true, get: function () { return proto_paths_1.PROTO_PATH; } });
@@ -0,0 +1,4 @@
1
+ export declare const PROTO_PATH: {
2
+ AUTH: string;
3
+ ACCOUNT: string;
4
+ };
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.PROTO_PATH = void 0;
4
+ const path_1 = require("path");
5
+ exports.PROTO_PATH = {
6
+ AUTH: (0, path_1.join)(__dirname, "..", "proto", "auth.proto"),
7
+ ACCOUNT: (0, path_1.join)(__dirname, "..", "proto", "account.proto"),
8
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ticket_for_cinema/contracts",
3
- "version": "1.0.7",
3
+ "version": "1.0.9",
4
4
  "description": "Contracts for microservices",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",