mm-share-lib 0.0.12 → 0.0.13

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.
@@ -7,3 +7,5 @@ export * from './response';
7
7
  export * from './util';
8
8
  export * from './filter';
9
9
  export * from './exception';
10
+ export * from './setup';
11
+ export * from './type';
package/dist/src/index.js CHANGED
@@ -23,4 +23,6 @@ __exportStar(require("./response"), exports);
23
23
  __exportStar(require("./util"), exports);
24
24
  __exportStar(require("./filter"), exports);
25
25
  __exportStar(require("./exception"), exports);
26
+ __exportStar(require("./setup"), exports);
27
+ __exportStar(require("./type"), exports);
26
28
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,yCAAuB;AACvB,4CAA0B;AAC1B,6CAA2B;AAC3B,wCAAsB;AACtB,wCAAsB;AACtB,6CAA2B;AAC3B,yCAAuB;AACvB,2CAAyB;AACzB,8CAA4B"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,yCAAuB;AACvB,4CAA0B;AAC1B,6CAA2B;AAC3B,wCAAsB;AACtB,wCAAsB;AACtB,6CAA2B;AAC3B,yCAAuB;AACvB,2CAAyB;AACzB,8CAA4B;AAC5B,0CAAwB;AACxB,yCAAuB"}
@@ -6,7 +6,7 @@ const microservices_1 = require("@nestjs/microservices");
6
6
  const util_1 = require("../util");
7
7
  async function microserviceSetup(app, serviceName) {
8
8
  util_1.AppUtils.killAppWithGrace(app);
9
- const protoBasePath = process.cwd() + '/libs/proto-schema/src/proto';
9
+ const protoBasePath = 'node_modules/mm-proto-share/src';
10
10
  const host = process.env['GRPC_HOST'];
11
11
  const port = process.env['GRPC_PORT'];
12
12
  const options = {
@@ -1 +1 @@
1
- {"version":3,"file":"microservice.setup.js","sourceRoot":"","sources":["../../../src/setup/microservice.setup.ts"],"names":[],"mappings":";;;AACA,2CAAwC;AACxC,yDAAkD;AAElD,kCAAmC;AAE5B,KAAK,UAAU,iBAAiB,CACrC,GAAqB,EACrB,WAAmB;IAEnB,eAAQ,CAAC,gBAAgB,CAAC,GAAG,CAAC,CAAC;IAC/B,MAAM,aAAa,GAAG,OAAO,CAAC,GAAG,EAAE,GAAG,8BAA8B,CAAC;IACrE,MAAM,IAAI,GAAG,OAAO,CAAC,GAAG,CAAC,WAAW,CAAC,CAAC;IACtC,MAAM,IAAI,GAAG,OAAO,CAAC,GAAG,CAAC,WAAW,CAAC,CAAC;IACtC,MAAM,OAAO,GAAG;QACd,SAAS,EAAE,yBAAS,CAAC,IAAI;QACzB,OAAO,EAAE;YACP,GAAG,EAAE,GAAG,IAAI,IAAI,IAAI,EAAE;YACtB,SAAS,EAAE,GAAG,aAAa,IAAI,WAAW,QAAQ;YAClD,OAAO,EAAE,GAAG,WAAW,EAAE;SAC1B;KACF,CAAC;IACF,GAAG,CAAC,mBAAmB,CAAC,OAAO,CAAC,CAAC;IACjC,MAAM,GAAG,CAAC,qBAAqB,EAAE,CAAC;IAClC,eAAM,CAAC,GAAG,CACR,QAAQ,WAAW,eAAe,OAAO,CAAC,OAAO,CAAC,GAAG,EAAE,EACvD,WAAW,CACZ,CAAC;AACJ,CAAC;AAtBD,8CAsBC"}
1
+ {"version":3,"file":"microservice.setup.js","sourceRoot":"","sources":["../../../src/setup/microservice.setup.ts"],"names":[],"mappings":";;;AACA,2CAAwC;AACxC,yDAAkD;AAElD,kCAAmC;AAE5B,KAAK,UAAU,iBAAiB,CACrC,GAAqB,EACrB,WAAmB;IAEnB,eAAQ,CAAC,gBAAgB,CAAC,GAAG,CAAC,CAAC;IAC/B,MAAM,aAAa,GAAG,iCAAiC,CAAC;IACxD,MAAM,IAAI,GAAG,OAAO,CAAC,GAAG,CAAC,WAAW,CAAC,CAAC;IACtC,MAAM,IAAI,GAAG,OAAO,CAAC,GAAG,CAAC,WAAW,CAAC,CAAC;IACtC,MAAM,OAAO,GAAG;QACd,SAAS,EAAE,yBAAS,CAAC,IAAI;QACzB,OAAO,EAAE;YACP,GAAG,EAAE,GAAG,IAAI,IAAI,IAAI,EAAE;YACtB,SAAS,EAAE,GAAG,aAAa,IAAI,WAAW,QAAQ;YAClD,OAAO,EAAE,GAAG,WAAW,EAAE;SAC1B;KACF,CAAC;IACF,GAAG,CAAC,mBAAmB,CAAC,OAAO,CAAC,CAAC;IACjC,MAAM,GAAG,CAAC,qBAAqB,EAAE,CAAC;IAClC,eAAM,CAAC,GAAG,CACR,QAAQ,WAAW,eAAe,OAAO,CAAC,OAAO,CAAC,GAAG,EAAE,EACvD,WAAW,CACZ,CAAC;AACJ,CAAC;AAtBD,8CAsBC"}
@@ -0,0 +1 @@
1
+ export * from './unknown.type';
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./unknown.type"), exports);
18
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/type/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,iDAA+B"}
@@ -0,0 +1 @@
1
+ export type Unknown = Record<string, any>;
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=unknown.type.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"unknown.type.js","sourceRoot":"","sources":["../../../src/type/unknown.type.ts"],"names":[],"mappings":""}