@nmshd/consumption 2.0.0-beta.19 → 2.0.0-beta.20

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.
@@ -6,10 +6,10 @@ const content_1 = require("@nmshd/content");
6
6
  const crypto_1 = require("@nmshd/crypto");
7
7
  const transport_1 = require("@nmshd/transport");
8
8
  exports.buildInformation = {
9
- version: "2.0.0-beta.19",
10
- build: "71",
11
- date: "2022-09-13T14:32:32+00:00",
12
- commit: "6317c78c9c735159d60e589bc12e8f75149afce5",
9
+ version: "2.0.0-beta.20",
10
+ build: "72",
11
+ date: "2022-09-14T14:15:16+00:00",
12
+ commit: "66e8b413537746ca0d7476ac6c73064d0c3b0c84",
13
13
  dependencies: {"@js-soft/docdb-querytranslator":"^1.1.0","ts-simple-nameof":"^1.3.1"},
14
14
  libraries: {
15
15
  transport: transport_1.buildInformation,
@@ -1,12 +1,12 @@
1
1
  import { ISerializable, Serializable } from "@js-soft/ts-serval";
2
- import { IdentityAttributeQuery, IIdentityAttributeQuery, IRelationshipAttributeQuery, IThirdPartyRelationshipAttributeQuery, RelationshipAttributeQuery, ThirdPartyRelationshipAttributeQuery } from "@nmshd/content";
2
+ import { IdentityAttributeQuery, IIdentityAttributeQuery, IThirdPartyRelationshipAttributeQuery, ThirdPartyRelationshipAttributeQuery } from "@nmshd/content";
3
3
  import { CoreAddress, ICoreAddress } from "@nmshd/transport";
4
4
  export interface ICreateLocalAttributeListenerParams extends ISerializable {
5
- query: IIdentityAttributeQuery | IRelationshipAttributeQuery | IThirdPartyRelationshipAttributeQuery;
5
+ query: IIdentityAttributeQuery | IThirdPartyRelationshipAttributeQuery;
6
6
  peer: ICoreAddress;
7
7
  }
8
8
  export declare class CreateLocalAttributeListenerParams extends Serializable implements ICreateLocalAttributeListenerParams {
9
- query: IdentityAttributeQuery | RelationshipAttributeQuery | ThirdPartyRelationshipAttributeQuery;
9
+ query: IdentityAttributeQuery | ThirdPartyRelationshipAttributeQuery;
10
10
  peer: CoreAddress;
11
11
  static from(value: ICreateLocalAttributeListenerParams): CreateLocalAttributeListenerParams;
12
12
  }
@@ -11,14 +11,15 @@ var __metadata = (this && this.__metadata) || function (k, v) {
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
12
  exports.CreateLocalAttributeListenerParams = void 0;
13
13
  const ts_serval_1 = require("@js-soft/ts-serval");
14
+ const content_1 = require("@nmshd/content");
14
15
  const transport_1 = require("@nmshd/transport");
15
- class CreateLocalAttributeListenerParams extends ts_serval_1.Serializable {
16
+ let CreateLocalAttributeListenerParams = class CreateLocalAttributeListenerParams extends ts_serval_1.Serializable {
16
17
  static from(value) {
17
18
  return this.fromAny(value);
18
19
  }
19
- }
20
+ };
20
21
  __decorate([
21
- (0, ts_serval_1.serialize)(),
22
+ (0, ts_serval_1.serialize)({ unionTypes: [content_1.IdentityAttributeQuery, content_1.ThirdPartyRelationshipAttributeQuery] }),
22
23
  (0, ts_serval_1.validate)(),
23
24
  __metadata("design:type", Object)
24
25
  ], CreateLocalAttributeListenerParams.prototype, "query", void 0);
@@ -27,5 +28,8 @@ __decorate([
27
28
  (0, ts_serval_1.validate)(),
28
29
  __metadata("design:type", transport_1.CoreAddress)
29
30
  ], CreateLocalAttributeListenerParams.prototype, "peer", void 0);
31
+ CreateLocalAttributeListenerParams = __decorate([
32
+ (0, ts_serval_1.type)("CreateLocalAttributeListenerParams")
33
+ ], CreateLocalAttributeListenerParams);
30
34
  exports.CreateLocalAttributeListenerParams = CreateLocalAttributeListenerParams;
31
35
  //# sourceMappingURL=CreateLocalAttributeListenerParams.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"CreateLocalAttributeListenerParams.js","sourceRoot":"","sources":["../../../../src/modules/attributeListeners/local/CreateLocalAttributeListenerParams.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAAqF;AASrF,gDAA4D;AAO5D,MAAa,kCAAmC,SAAQ,wBAAY;IASzD,MAAM,CAAC,IAAI,CAAC,KAA0C;QACzD,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAA;IAC9B,CAAC;CACJ;AAXG;IAAC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,GAAE;;iEAC6F;AAExG;IAAC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,GAAE;8BACE,uBAAW;gEAAA;AAP5B,gFAYC"}
1
+ {"version":3,"file":"CreateLocalAttributeListenerParams.js","sourceRoot":"","sources":["../../../../src/modules/attributeListeners/local/CreateLocalAttributeListenerParams.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAA2F;AAC3F,4CAKuB;AACvB,gDAA4D;AAQrD,IAAM,kCAAkC,GAAxC,MAAM,kCAAmC,SAAQ,wBAAY;IASzD,MAAM,CAAC,IAAI,CAAC,KAA0C;QACzD,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAA;IAC9B,CAAC;CACJ,CAAA;AAXG;IAAC,IAAA,qBAAS,EAAC,EAAE,UAAU,EAAE,CAAC,gCAAsB,EAAE,8CAAoC,CAAC,EAAE,CAAC;IACzF,IAAA,oBAAQ,GAAE;;iEACgE;AAE3E;IAAC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,GAAE;8BACE,uBAAW;gEAAA;AAPf,kCAAkC;IAD9C,IAAA,gBAAI,EAAC,oCAAoC,CAAC;GAC9B,kCAAkC,CAY9C;AAZY,gFAAkC"}
@@ -1,18 +1,18 @@
1
- import { IdentityAttributeQuery, IdentityAttributeQueryJSON, IIdentityAttributeQuery, IRelationshipAttributeQuery, IThirdPartyRelationshipAttributeQuery, RelationshipAttributeQuery, RelationshipAttributeQueryJSON, ThirdPartyRelationshipAttributeQuery, ThirdPartyRelationshipAttributeQueryJSON } from "@nmshd/content";
1
+ import { IdentityAttributeQuery, IdentityAttributeQueryJSON, IIdentityAttributeQuery, IThirdPartyRelationshipAttributeQuery, ThirdPartyRelationshipAttributeQuery, ThirdPartyRelationshipAttributeQueryJSON } from "@nmshd/content";
2
2
  import { CoreAddress, CoreSynchronizable, ICoreAddress, ICoreSynchronizable } from "@nmshd/transport";
3
3
  export interface LocalAttributeListenerJSON {
4
4
  "@type": "LocalAttributeListener";
5
5
  id: string;
6
- query: IdentityAttributeQueryJSON | RelationshipAttributeQueryJSON | ThirdPartyRelationshipAttributeQueryJSON;
6
+ query: IdentityAttributeQueryJSON | ThirdPartyRelationshipAttributeQueryJSON;
7
7
  peer: string;
8
8
  }
9
9
  export interface ILocalAttributeListener extends ICoreSynchronizable {
10
- query: IIdentityAttributeQuery | IRelationshipAttributeQuery | IThirdPartyRelationshipAttributeQuery;
10
+ query: IIdentityAttributeQuery | IThirdPartyRelationshipAttributeQuery;
11
11
  peer: ICoreAddress;
12
12
  }
13
13
  export declare class LocalAttributeListener extends CoreSynchronizable {
14
14
  readonly userdataProperties: string[];
15
- query: IdentityAttributeQuery | RelationshipAttributeQuery | ThirdPartyRelationshipAttributeQuery;
15
+ query: IdentityAttributeQuery | ThirdPartyRelationshipAttributeQuery;
16
16
  peer: CoreAddress;
17
17
  static from(value: ILocalAttributeListener | LocalAttributeListenerJSON): LocalAttributeListener;
18
18
  toJSON(): LocalAttributeListenerJSON;
@@ -30,9 +30,7 @@ let LocalAttributeListener = class LocalAttributeListener extends transport_1.Co
30
30
  }
31
31
  };
32
32
  __decorate([
33
- (0, ts_serval_1.serialize)({
34
- unionTypes: [content_1.IdentityAttributeQuery, content_1.RelationshipAttributeQuery, content_1.ThirdPartyRelationshipAttributeQuery]
35
- }),
33
+ (0, ts_serval_1.serialize)({ unionTypes: [content_1.IdentityAttributeQuery, content_1.ThirdPartyRelationshipAttributeQuery] }),
36
34
  (0, ts_serval_1.validate)(),
37
35
  __metadata("design:type", Object)
38
36
  ], LocalAttributeListener.prototype, "query", void 0);
@@ -1 +1 @@
1
- {"version":3,"file":"LocalAttributeListener.js","sourceRoot":"","sources":["../../../../src/modules/attributeListeners/local/LocalAttributeListener.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAA8D;AAC9D,4CAUuB;AACvB,gDAAqG;AACrG,uDAAyC;AAelC,IAAM,sBAAsB,GAA5B,MAAM,sBAAuB,SAAQ,8BAAkB;IAAvD;;QACsB,uBAAkB,GAAG;YAC1C,IAAA,yBAAM,EAAyB,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,KAAK,CAAC;YAC9C,IAAA,yBAAM,EAAyB,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC;SAChD,CAAA;IAmBL,CAAC;IAPU,MAAM,CAAC,IAAI,CAAC,KAA2D;QAC1E,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAA;IAC9B,CAAC;IAEe,MAAM;QAClB,OAAO,KAAK,CAAC,MAAM,EAAgC,CAAA;IACvD,CAAC;CACJ,CAAA;AAjBG;IAAC,IAAA,qBAAS,EAAC;QACP,UAAU,EAAE,CAAC,gCAAsB,EAAE,oCAA0B,EAAE,8CAAoC,CAAC;KACzG,CAAC;IACD,IAAA,oBAAQ,GAAE;;qDAC6F;AAExG;IAAC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,GAAE;8BACE,uBAAW;oDAAA;AAdf,sBAAsB;IADlC,IAAA,gBAAI,EAAC,wBAAwB,CAAC;GAClB,sBAAsB,CAuBlC;AAvBY,wDAAsB"}
1
+ {"version":3,"file":"LocalAttributeListener.js","sourceRoot":"","sources":["../../../../src/modules/attributeListeners/local/LocalAttributeListener.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAA8D;AAC9D,4CAOuB;AACvB,gDAAqG;AACrG,uDAAyC;AAelC,IAAM,sBAAsB,GAA5B,MAAM,sBAAuB,SAAQ,8BAAkB;IAAvD;;QACsB,uBAAkB,GAAG;YAC1C,IAAA,yBAAM,EAAyB,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,KAAK,CAAC;YAC9C,IAAA,yBAAM,EAAyB,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC;SAChD,CAAA;IAiBL,CAAC;IAPU,MAAM,CAAC,IAAI,CAAC,KAA2D;QAC1E,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAA;IAC9B,CAAC;IAEe,MAAM;QAClB,OAAO,KAAK,CAAC,MAAM,EAAgC,CAAA;IACvD,CAAC;CACJ,CAAA;AAfG;IAAC,IAAA,qBAAS,EAAC,EAAE,UAAU,EAAE,CAAC,gCAAsB,EAAE,8CAAoC,CAAC,EAAE,CAAC;IACzF,IAAA,oBAAQ,GAAE;;qDACgE;AAE3E;IAAC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,GAAE;8BACE,uBAAW;oDAAA;AAZf,sBAAsB;IADlC,IAAA,gBAAI,EAAC,wBAAwB,CAAC;GAClB,sBAAsB,CAqBlC;AArBY,wDAAsB"}
@@ -17,10 +17,10 @@ const content_1 = __webpack_require__(/*! @nmshd/content */ "@nmshd/content");
17
17
  const crypto_1 = __webpack_require__(/*! @nmshd/crypto */ "@nmshd/crypto");
18
18
  const transport_1 = __webpack_require__(/*! @nmshd/transport */ "@nmshd/transport");
19
19
  exports.buildInformation = {
20
- version: "2.0.0-beta.19",
21
- build: "71",
22
- date: "2022-09-13T14:32:32+00:00",
23
- commit: "6317c78c9c735159d60e589bc12e8f75149afce5",
20
+ version: "2.0.0-beta.20",
21
+ build: "72",
22
+ date: "2022-09-14T14:15:16+00:00",
23
+ commit: "66e8b413537746ca0d7476ac6c73064d0c3b0c84",
24
24
  dependencies: {"@js-soft/docdb-querytranslator":"^1.1.0","ts-simple-nameof":"^1.3.1"},
25
25
  libraries: {
26
26
  transport: transport_1.buildInformation,
@@ -480,14 +480,15 @@ var __metadata = (this && this.__metadata) || function (k, v) {
480
480
  Object.defineProperty(exports, "__esModule", ({ value: true }));
481
481
  exports.CreateLocalAttributeListenerParams = void 0;
482
482
  const ts_serval_1 = __webpack_require__(/*! @js-soft/ts-serval */ "@js-soft/ts-serval");
483
+ const content_1 = __webpack_require__(/*! @nmshd/content */ "@nmshd/content");
483
484
  const transport_1 = __webpack_require__(/*! @nmshd/transport */ "@nmshd/transport");
484
- class CreateLocalAttributeListenerParams extends ts_serval_1.Serializable {
485
+ let CreateLocalAttributeListenerParams = class CreateLocalAttributeListenerParams extends ts_serval_1.Serializable {
485
486
  static from(value) {
486
487
  return this.fromAny(value);
487
488
  }
488
- }
489
+ };
489
490
  __decorate([
490
- (0, ts_serval_1.serialize)(),
491
+ (0, ts_serval_1.serialize)({ unionTypes: [content_1.IdentityAttributeQuery, content_1.ThirdPartyRelationshipAttributeQuery] }),
491
492
  (0, ts_serval_1.validate)(),
492
493
  __metadata("design:type", Object)
493
494
  ], CreateLocalAttributeListenerParams.prototype, "query", void 0);
@@ -496,6 +497,9 @@ __decorate([
496
497
  (0, ts_serval_1.validate)(),
497
498
  __metadata("design:type", transport_1.CoreAddress)
498
499
  ], CreateLocalAttributeListenerParams.prototype, "peer", void 0);
500
+ CreateLocalAttributeListenerParams = __decorate([
501
+ (0, ts_serval_1.type)("CreateLocalAttributeListenerParams")
502
+ ], CreateLocalAttributeListenerParams);
499
503
  exports.CreateLocalAttributeListenerParams = CreateLocalAttributeListenerParams;
500
504
  //# sourceMappingURL=CreateLocalAttributeListenerParams.js.map
501
505
 
@@ -540,9 +544,7 @@ let LocalAttributeListener = class LocalAttributeListener extends transport_1.Co
540
544
  }
541
545
  };
542
546
  __decorate([
543
- (0, ts_serval_1.serialize)({
544
- unionTypes: [content_1.IdentityAttributeQuery, content_1.RelationshipAttributeQuery, content_1.ThirdPartyRelationshipAttributeQuery]
545
- }),
547
+ (0, ts_serval_1.serialize)({ unionTypes: [content_1.IdentityAttributeQuery, content_1.ThirdPartyRelationshipAttributeQuery] }),
546
548
  (0, ts_serval_1.validate)(),
547
549
  __metadata("design:type", Object)
548
550
  ], LocalAttributeListener.prototype, "query", void 0);