@nmshd/content 2.0.0-beta.4 → 2.0.0-beta.5

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.
@@ -5,10 +5,10 @@ const ts_serval_1 = require("@js-soft/ts-serval");
5
5
  const crypto_1 = require("@nmshd/crypto");
6
6
  const transport_1 = require("@nmshd/transport");
7
7
  exports.buildInformation = {
8
- version: "2.0.0-beta.4",
9
- build: "81",
10
- date: "2022-08-04T09:44:27+00:00",
11
- commit: "d7097e5fe0f3a63603575109f6bc47a7103acb83",
8
+ version: "2.0.0-beta.5",
9
+ build: "82",
10
+ date: "2022-08-04T10:02:54+00:00",
11
+ commit: "d1e9702c0f0d02eb66df6f64875b27226e1be145",
12
12
  dependencies: {"@js-soft/logging-abstractions":"^1.0.0","easy-tsnameof":"^3.0.6"},
13
13
  libraries: {
14
14
  serval: ts_serval_1.buildInformation,
@@ -1,17 +1,17 @@
1
1
  import { CoreId, ICoreId } from "@nmshd/transport";
2
2
  import { RequestItemJSON } from "../..";
3
- import { IdentityAttribute, IdentityAttributeJSON, IIdentityAttribute, IRelationshipAttribute, RelationshipAttribute, RelationshipAttributeJSON } from "../../../attributes";
3
+ import { IdentityAttribute, IdentityAttributeJSON, IIdentityAttribute } from "../../../attributes";
4
4
  import { IRequestItem, RequestItem } from "../../RequestItem";
5
5
  export interface ShareOwnIdentityAttributeRequestItemJSON extends RequestItemJSON {
6
- attribute: IdentityAttributeJSON | RelationshipAttributeJSON;
6
+ attribute: IdentityAttributeJSON;
7
7
  sourceAttributeId: string;
8
8
  }
9
9
  export interface IShareOwnIdentityAttributeRequestItem extends IRequestItem {
10
- attribute: IIdentityAttribute | IRelationshipAttribute;
10
+ attribute: IIdentityAttribute;
11
11
  sourceAttributeId: ICoreId;
12
12
  }
13
13
  export declare class ShareOwnIdentityAttributeRequestItem extends RequestItem implements IShareOwnIdentityAttributeRequestItem {
14
- attribute: IdentityAttribute | RelationshipAttribute;
14
+ attribute: IdentityAttribute;
15
15
  sourceAttributeId: CoreId;
16
16
  static from(value: IShareOwnIdentityAttributeRequestItem | ShareOwnIdentityAttributeRequestItemJSON): ShareOwnIdentityAttributeRequestItem;
17
17
  }
@@ -20,9 +20,9 @@ let ShareOwnIdentityAttributeRequestItem = class ShareOwnIdentityAttributeReques
20
20
  }
21
21
  };
22
22
  __decorate([
23
- (0, ts_serval_1.serialize)({ unionTypes: [attributes_1.IdentityAttribute, attributes_1.RelationshipAttribute] }),
23
+ (0, ts_serval_1.serialize)(),
24
24
  (0, ts_serval_1.validate)(),
25
- __metadata("design:type", Object)
25
+ __metadata("design:type", attributes_1.IdentityAttribute)
26
26
  ], ShareOwnIdentityAttributeRequestItem.prototype, "attribute", void 0);
27
27
  __decorate([
28
28
  (0, ts_serval_1.serialize)(),
@@ -1 +1 @@
1
- {"version":3,"file":"ShareOwnIdentityAttributeRequestItem.js","sourceRoot":"","sources":["../../../../src/requests/items/shareOwnIdentityAttribute/ShareOwnIdentityAttributeRequestItem.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAA8D;AAC9D,gDAAkD;AAElD,oDAO4B;AAC5B,mDAA6D;AAa7D,IAAa,oCAAoC,GAAjD,MAAa,oCAAqC,SAAQ,yBAAW;IAS1D,MAAM,CAAC,IAAI,CACd,KAAuF;QAEvF,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAA;IAC9B,CAAC;CACJ,CAAA;AAXG;IAFC,IAAA,qBAAS,EAAC,EAAE,UAAU,EAAE,CAAC,8BAAiB,EAAE,kCAAqB,CAAC,EAAE,CAAC;IACrE,IAAA,oBAAQ,GAAE;;uEACgD;AAI3D;IAFC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,GAAE;8BACe,kBAAM;+EAAA;AAPvB,oCAAoC;IADhD,IAAA,gBAAI,EAAC,sCAAsC,CAAC;GAChC,oCAAoC,CAchD;AAdY,oFAAoC"}
1
+ {"version":3,"file":"ShareOwnIdentityAttributeRequestItem.js","sourceRoot":"","sources":["../../../../src/requests/items/shareOwnIdentityAttribute/ShareOwnIdentityAttributeRequestItem.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAA8D;AAC9D,gDAAkD;AAElD,oDAAkG;AAClG,mDAA6D;AAa7D,IAAa,oCAAoC,GAAjD,MAAa,oCAAqC,SAAQ,yBAAW;IAS1D,MAAM,CAAC,IAAI,CACd,KAAuF;QAEvF,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAA;IAC9B,CAAC;CACJ,CAAA;AAXG;IAFC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,GAAE;8BACO,8BAAiB;uEAAA;AAInC;IAFC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,GAAE;8BACe,kBAAM;+EAAA;AAPvB,oCAAoC;IADhD,IAAA,gBAAI,EAAC,sCAAsC,CAAC;GAChC,oCAAoC,CAchD;AAdY,oFAAoC"}
@@ -5487,10 +5487,10 @@ const ts_serval_1 = __webpack_require__(/*! @js-soft/ts-serval */ "@js-soft/ts-s
5487
5487
  const crypto_1 = __webpack_require__(/*! @nmshd/crypto */ "@nmshd/crypto");
5488
5488
  const transport_1 = __webpack_require__(/*! @nmshd/transport */ "@nmshd/transport");
5489
5489
  exports.buildInformation = {
5490
- version: "2.0.0-beta.4",
5491
- build: "81",
5492
- date: "2022-08-04T09:44:27+00:00",
5493
- commit: "d7097e5fe0f3a63603575109f6bc47a7103acb83",
5490
+ version: "2.0.0-beta.5",
5491
+ build: "82",
5492
+ date: "2022-08-04T10:02:54+00:00",
5493
+ commit: "d1e9702c0f0d02eb66df6f64875b27226e1be145",
5494
5494
  dependencies: {"@js-soft/logging-abstractions":"^1.0.0","easy-tsnameof":"^3.0.6"},
5495
5495
  libraries: {
5496
5496
  serval: ts_serval_1.buildInformation,
@@ -6892,9 +6892,9 @@ let ShareOwnIdentityAttributeRequestItem = class ShareOwnIdentityAttributeReques
6892
6892
  }
6893
6893
  };
6894
6894
  __decorate([
6895
- (0, ts_serval_1.serialize)({ unionTypes: [attributes_1.IdentityAttribute, attributes_1.RelationshipAttribute] }),
6895
+ (0, ts_serval_1.serialize)(),
6896
6896
  (0, ts_serval_1.validate)(),
6897
- __metadata("design:type", Object)
6897
+ __metadata("design:type", attributes_1.IdentityAttribute)
6898
6898
  ], ShareOwnIdentityAttributeRequestItem.prototype, "attribute", void 0);
6899
6899
  __decorate([
6900
6900
  (0, ts_serval_1.serialize)(),