@mondocinema/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,2 +1,3 @@
1
- export declare const InjectGrpcClient: (name: string) => PropertyDecorator & ParameterDecorator;
1
+ import { GRPC_CLIENTS } from "../registry/grpc.registry";
2
+ export declare const InjectGrpcClient: (name: keyof typeof GRPC_CLIENTS) => PropertyDecorator & ParameterDecorator;
2
3
  //# sourceMappingURL=inject-grpc-client.decorator.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"inject-grpc-client.decorator.d.ts","sourceRoot":"","sources":["../../../lib/grpc/decorators/inject-grpc-client.decorator.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,gBAAgB,GAAI,MAAM,MAAM,2CACL,CAAC"}
1
+ {"version":3,"file":"inject-grpc-client.decorator.d.ts","sourceRoot":"","sources":["../../../lib/grpc/decorators/inject-grpc-client.decorator.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AAEzD,eAAO,MAAM,gBAAgB,GAAI,MAAM,MAAM,OAAO,YAAY,2CACxB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"inject-grpc-client.decorator.js","sourceRoot":"","sources":["../../../lib/grpc/decorators/inject-grpc-client.decorator.ts"],"names":[],"mappings":";;;AAAA,2CAAwC;AAExC,gEAAiE;AAE1D,MAAM,gBAAgB,GAAG,CAAC,IAAY,EAAE,EAAE,CAChD,IAAA,eAAM,EAAC,GAAG,mCAAkB,IAAI,IAAI,EAAE,CAAC,CAAC;AAD5B,QAAA,gBAAgB,oBACY"}
1
+ {"version":3,"file":"inject-grpc-client.decorator.js","sourceRoot":"","sources":["../../../lib/grpc/decorators/inject-grpc-client.decorator.ts"],"names":[],"mappings":";;;AAAA,2CAAwC;AAExC,gEAAiE;AAG1D,MAAM,gBAAgB,GAAG,CAAC,IAA+B,EAAE,EAAE,CACnE,IAAA,eAAM,EAAC,GAAG,mCAAkB,IAAI,IAAI,EAAE,CAAC,CAAC;AAD5B,QAAA,gBAAgB,oBACY"}
@@ -4,7 +4,7 @@ export declare const GRPC_CLIENTS: {
4
4
  readonly protoPath: string;
5
5
  readonly env: "AUTH_GRPC_URL";
6
6
  };
7
- readonly ACCOUNT_PACKAGE: {
7
+ readonly ACCOUNTS_PACKAGE: {
8
8
  readonly package: "accounts.v1";
9
9
  readonly protoPath: string;
10
10
  readonly env: "AUTH_GRPC_URL";
@@ -8,7 +8,7 @@ exports.GRPC_CLIENTS = {
8
8
  protoPath: contracts_1.PROTO_PATHS.AUTH,
9
9
  env: "AUTH_GRPC_URL",
10
10
  },
11
- ACCOUNT_PACKAGE: {
11
+ ACCOUNTS_PACKAGE: {
12
12
  package: "accounts.v1",
13
13
  protoPath: contracts_1.PROTO_PATHS.ACCOUNTS,
14
14
  env: "AUTH_GRPC_URL",
@@ -1 +1 @@
1
- {"version":3,"file":"grpc.registry.js","sourceRoot":"","sources":["../../../lib/grpc/registry/grpc.registry.ts"],"names":[],"mappings":";;;AAAA,sDAAqD;AAExC,QAAA,YAAY,GAAG;IAC3B,YAAY,EAAE;QACb,OAAO,EAAE,SAAS;QAClB,SAAS,EAAE,uBAAW,CAAC,IAAI;QAC3B,GAAG,EAAE,eAAe;KACpB;IACD,eAAe,EAAE;QAChB,OAAO,EAAE,aAAa;QACtB,SAAS,EAAE,uBAAW,CAAC,QAAQ;QAC/B,GAAG,EAAE,eAAe;KACpB;IACD,aAAa,EAAE;QACd,OAAO,EAAE,UAAU;QACnB,SAAS,EAAE,uBAAW,CAAC,KAAK;QAC5B,GAAG,EAAE,gBAAgB;KACrB;CACQ,CAAC"}
1
+ {"version":3,"file":"grpc.registry.js","sourceRoot":"","sources":["../../../lib/grpc/registry/grpc.registry.ts"],"names":[],"mappings":";;;AAAA,sDAAqD;AAExC,QAAA,YAAY,GAAG;IAC3B,YAAY,EAAE;QACb,OAAO,EAAE,SAAS;QAClB,SAAS,EAAE,uBAAW,CAAC,IAAI;QAC3B,GAAG,EAAE,eAAe;KACpB;IACD,gBAAgB,EAAE;QACjB,OAAO,EAAE,aAAa;QACtB,SAAS,EAAE,uBAAW,CAAC,QAAQ;QAC/B,GAAG,EAAE,eAAe;KACpB;IACD,aAAa,EAAE;QACd,OAAO,EAAE,UAAU;QACnB,SAAS,EAAE,uBAAW,CAAC,KAAK;QAC5B,GAAG,EAAE,gBAAgB;KACrB;CACQ,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mondocinema/common",
3
- "version": "1.1.0",
3
+ "version": "1.1.1",
4
4
  "description": "Core shared components for MondoCinema microservices ecosystem",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",