@nmshd/content 2.0.0-alpha.34 → 2.0.0-alpha.37

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,6 +1,6 @@
1
1
  import { CoreAddress, ICoreAddress } from "@nmshd/transport";
2
2
  import { AbstractAttributeQuery, AbstractAttributeQueryJSON, IAbstractAttributeQuery } from "./AbstractAttributeQuery";
3
- import { IRelationshipAttributeCreationHints, RelationshipAttributeCreationHints, RelationshipAttributeCreationHintsJSON } from "./hints/RelationshipAttributeHints";
3
+ import { IRelationshipAttributeCreationHints, RelationshipAttributeCreationHints, RelationshipAttributeCreationHintsJSON } from "./hints/RelationshipAttributeCreationHints";
4
4
  export interface RelationshipAttributeQueryJSON extends AbstractAttributeQueryJSON {
5
5
  key: string;
6
6
  owner: string;
@@ -13,7 +13,7 @@ exports.RelationshipAttributeQuery = void 0;
13
13
  const ts_serval_1 = require("@js-soft/ts-serval");
14
14
  const transport_1 = require("@nmshd/transport");
15
15
  const AbstractAttributeQuery_1 = require("./AbstractAttributeQuery");
16
- const RelationshipAttributeHints_1 = require("./hints/RelationshipAttributeHints");
16
+ const RelationshipAttributeCreationHints_1 = require("./hints/RelationshipAttributeCreationHints");
17
17
  let RelationshipAttributeQuery = class RelationshipAttributeQuery extends AbstractAttributeQuery_1.AbstractAttributeQuery {
18
18
  static from(value) {
19
19
  return this.fromAny(value);
@@ -40,7 +40,7 @@ __decorate([
40
40
  __decorate([
41
41
  (0, ts_serval_1.serialize)(),
42
42
  (0, ts_serval_1.validate)(),
43
- __metadata("design:type", RelationshipAttributeHints_1.RelationshipAttributeCreationHints)
43
+ __metadata("design:type", RelationshipAttributeCreationHints_1.RelationshipAttributeCreationHints)
44
44
  ], RelationshipAttributeQuery.prototype, "attributeCreationHints", void 0);
45
45
  RelationshipAttributeQuery = __decorate([
46
46
  (0, ts_serval_1.type)("RelationshipAttributeQuery")
@@ -1 +1 @@
1
- {"version":3,"file":"RelationshipAttributeQuery.js","sourceRoot":"","sources":["../../src/attributes/RelationshipAttributeQuery.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAA8D;AAC9D,gDAA4D;AAC5D,qEAAsH;AACtH,mFAI2C;AAiB3C,IAAa,0BAA0B,GAAvC,MAAa,0BAA2B,SAAQ,+CAAsB;IAiB3D,MAAM,CAAC,IAAI,CACd,KAAmE;QAEnE,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAA;IAC9B,CAAC;IAEe,MAAM;QAClB,OAAO,KAAK,CAAC,MAAM,EAAoC,CAAA;IAC3D,CAAC;CACJ,CAAA;AAvBG;IAFC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,GAAE;;uDACO;AAIlB;IAFC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,GAAE;8BACG,uBAAW;yDAAA;AAIzB;IAFC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;8BACT,uBAAW;8DAAA;AAI/B;IAFC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,GAAE;8BACoB,+DAAkC;0EAAA;AAfxD,0BAA0B;IADtC,IAAA,gBAAI,EAAC,4BAA4B,CAAC;GACtB,0BAA0B,CA0BtC;AA1BY,gEAA0B"}
1
+ {"version":3,"file":"RelationshipAttributeQuery.js","sourceRoot":"","sources":["../../src/attributes/RelationshipAttributeQuery.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAA8D;AAC9D,gDAA4D;AAC5D,qEAAsH;AACtH,mGAImD;AAiBnD,IAAa,0BAA0B,GAAvC,MAAa,0BAA2B,SAAQ,+CAAsB;IAiB3D,MAAM,CAAC,IAAI,CACd,KAAmE;QAEnE,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAA;IAC9B,CAAC;IAEe,MAAM;QAClB,OAAO,KAAK,CAAC,MAAM,EAAoC,CAAA;IAC3D,CAAC;CACJ,CAAA;AAvBG;IAFC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,GAAE;;uDACO;AAIlB;IAFC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,GAAE;8BACG,uBAAW;yDAAA;AAIzB;IAFC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;8BACT,uBAAW;8DAAA;AAI/B;IAFC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,GAAE;8BACoB,uEAAkC;0EAAA;AAfxD,0BAA0B;IADtC,IAAA,gBAAI,EAAC,4BAA4B,CAAC;GACtB,0BAA0B,CA0BtC;AA1BY,gEAA0B"}
@@ -24,7 +24,8 @@ export declare class RelationshipAttributeCreationHints extends Serializable imp
24
24
  title: string;
25
25
  description?: string;
26
26
  valueHints?: ValueHints;
27
- isTechnical?: boolean;
27
+ isTechnical: boolean;
28
28
  confidentiality: RelationshipAttributeConfidentiality;
29
+ protected static preFrom(value: any): any;
29
30
  static from(value: IRelationshipAttributeCreationHints | RelationshipAttributeCreationHintsJSON): RelationshipAttributeCreationHints;
30
31
  }
@@ -19,9 +19,10 @@ const ValueHints_1 = require("./ValueHints");
19
19
  * a proprietary Attribute, even without such an Attribute existent.
20
20
  */
21
21
  let RelationshipAttributeCreationHints = class RelationshipAttributeCreationHints extends ts_serval_1.Serializable {
22
- constructor() {
23
- super(...arguments);
24
- this.isTechnical = false;
22
+ static preFrom(value) {
23
+ if (typeof value.isTechnical === "undefined")
24
+ value.isTechnical = false;
25
+ return value;
25
26
  }
26
27
  static from(value) {
27
28
  return this.fromAny(value);
@@ -57,7 +58,7 @@ __decorate([
57
58
  __metadata("design:type", String)
58
59
  ], RelationshipAttributeCreationHints.prototype, "confidentiality", void 0);
59
60
  RelationshipAttributeCreationHints = __decorate([
60
- (0, ts_serval_1.type)("RelationshipAttributeHints")
61
+ (0, ts_serval_1.type)("RelationshipAttributeCreationHints")
61
62
  ], RelationshipAttributeCreationHints);
62
63
  exports.RelationshipAttributeCreationHints = RelationshipAttributeCreationHints;
63
- //# sourceMappingURL=RelationshipAttributeHints.js.map
64
+ //# sourceMappingURL=RelationshipAttributeCreationHints.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RelationshipAttributeCreationHints.js","sourceRoot":"","sources":["../../../src/attributes/hints/RelationshipAttributeCreationHints.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAA2F;AAC3F,oEAA+E;AAC/E,6CAAsE;AAkBtE;;;;GAIG;AAEH,IAAa,kCAAkC,GAA/C,MAAa,kCAAmC,SAAQ,wBAAY;IA0BtD,MAAM,CAAU,OAAO,CAAC,KAAU;QACxC,IAAI,OAAO,KAAK,CAAC,WAAW,KAAK,WAAW;YAAE,KAAK,CAAC,WAAW,GAAG,KAAK,CAAA;QAEvE,OAAO,KAAK,CAAA;IAChB,CAAC;IAEM,MAAM,CAAC,IAAI,CACd,KAAmF;QAEnF,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAA;IAC9B,CAAC;CACJ,CAAA;AAlCG;IAFC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,GAAE;;iEACS;AAIpB;IAFC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;uEACF;AAI3B;IAFC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;8BACT,uBAAU;sEAAA;AAI9B;IAFC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;uEACF;AAS3B;IAPC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC;QACN,eAAe,EAAE,CAAC,CAAC,EAAE,EAAE,CACnB,CAAC,MAAM,CAAC,MAAM,CAAC,4DAAoC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC;YAC5D,CAAC,CAAC,mBAAmB,MAAM,CAAC,MAAM,CAAC,4DAAoC,CAAC,EAAE;YAC1E,CAAC,CAAC,SAAS;KACtB,CAAC;;2EAC0D;AAxBnD,kCAAkC;IAD9C,IAAA,gBAAI,EAAC,oCAAoC,CAAC;GAC9B,kCAAkC,CAqC9C;AArCY,gFAAkC"}
@@ -1,4 +1,4 @@
1
- export * from "./RelationshipAttributeHints";
1
+ export * from "./RelationshipAttributeCreationHints";
2
2
  export * from "./RenderHints";
3
3
  export * from "./ValueHints";
4
4
  export * from "./ValueHintsValue";
@@ -14,7 +14,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./RelationshipAttributeHints"), exports);
17
+ __exportStar(require("./RelationshipAttributeCreationHints"), exports);
18
18
  __exportStar(require("./RenderHints"), exports);
19
19
  __exportStar(require("./ValueHints"), exports);
20
20
  __exportStar(require("./ValueHintsValue"), exports);
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/attributes/hints/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,+DAA4C;AAC5C,gDAA6B;AAC7B,+CAA4B;AAC5B,oDAAiC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/attributes/hints/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,uEAAoD;AACpD,gDAA6B;AAC7B,+CAA4B;AAC5B,oDAAiC"}
@@ -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-alpha.34",
9
- build: "64",
10
- date: "2022-06-10T13:31:36+00:00",
11
- commit: "9b6c65f0648fc110c4b010147ad54f59d972436d",
8
+ version: "2.0.0-alpha.37",
9
+ build: "67",
10
+ date: "2022-06-20T09:50:20+00:00",
11
+ commit: "f7a48b932fa36c8bf217e23f58ba36758243de89",
12
12
  dependencies: {"@js-soft/logging-abstractions":"^1.0.0"},
13
13
  libraries: {
14
14
  serval: ts_serval_1.buildInformation,
@@ -4,3 +4,4 @@ export * from "./proposeAttribute/ProposeAttributeAcceptResponseItem";
4
4
  export * from "./proposeAttribute/ProposeAttributeRequestItem";
5
5
  export * from "./readAttribute/ReadAttributeAcceptResponseItem";
6
6
  export * from "./readAttribute/ReadAttributeRequestItem";
7
+ export * from "./shareAttribute/ShareAttributeRequestItem";
@@ -20,4 +20,5 @@ __exportStar(require("./proposeAttribute/ProposeAttributeAcceptResponseItem"), e
20
20
  __exportStar(require("./proposeAttribute/ProposeAttributeRequestItem"), exports);
21
21
  __exportStar(require("./readAttribute/ReadAttributeAcceptResponseItem"), exports);
22
22
  __exportStar(require("./readAttribute/ReadAttributeRequestItem"), exports);
23
+ __exportStar(require("./shareAttribute/ShareAttributeRequestItem"), exports);
23
24
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/requests/items/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,sFAAmE;AACnE,+EAA4D;AAC5D,wFAAqE;AACrE,iFAA8D;AAC9D,kFAA+D;AAC/D,2EAAwD"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/requests/items/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,sFAAmE;AACnE,+EAA4D;AAC5D,wFAAqE;AACrE,iFAA8D;AAC9D,kFAA+D;AAC/D,2EAAwD;AACxD,6EAA0D"}
@@ -0,0 +1,15 @@
1
+ import { CoreAddress, CoreId, ICoreAddress, ICoreId } from "@nmshd/transport";
2
+ import { IRequestItem, RequestItem, RequestItemJSON } from "../../RequestItem";
3
+ export interface ShareAttributeRequestItemJSON extends RequestItemJSON {
4
+ attributeId: string;
5
+ shareWith: string;
6
+ }
7
+ export interface IShareAttributeRequestItem extends IRequestItem {
8
+ attributeId: ICoreId;
9
+ shareWith: ICoreAddress;
10
+ }
11
+ export declare class ShareAttributeRequestItem extends RequestItem implements IShareAttributeRequestItem {
12
+ attributeId: CoreId;
13
+ shareWith: CoreAddress;
14
+ static from(value: IShareAttributeRequestItem | ShareAttributeRequestItemJSON): ShareAttributeRequestItem;
15
+ }
@@ -0,0 +1,35 @@
1
+ "use strict";
2
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
6
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
7
+ };
8
+ var __metadata = (this && this.__metadata) || function (k, v) {
9
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
+ };
11
+ Object.defineProperty(exports, "__esModule", { value: true });
12
+ exports.ShareAttributeRequestItem = void 0;
13
+ const ts_serval_1 = require("@js-soft/ts-serval");
14
+ const transport_1 = require("@nmshd/transport");
15
+ const RequestItem_1 = require("../../RequestItem");
16
+ let ShareAttributeRequestItem = class ShareAttributeRequestItem extends RequestItem_1.RequestItem {
17
+ static from(value) {
18
+ return this.fromAny(value);
19
+ }
20
+ };
21
+ __decorate([
22
+ (0, ts_serval_1.serialize)(),
23
+ (0, ts_serval_1.validate)(),
24
+ __metadata("design:type", transport_1.CoreId)
25
+ ], ShareAttributeRequestItem.prototype, "attributeId", void 0);
26
+ __decorate([
27
+ (0, ts_serval_1.serialize)(),
28
+ (0, ts_serval_1.validate)(),
29
+ __metadata("design:type", transport_1.CoreAddress)
30
+ ], ShareAttributeRequestItem.prototype, "shareWith", void 0);
31
+ ShareAttributeRequestItem = __decorate([
32
+ (0, ts_serval_1.type)("ShareAttributeRequestItem")
33
+ ], ShareAttributeRequestItem);
34
+ exports.ShareAttributeRequestItem = ShareAttributeRequestItem;
35
+ //# sourceMappingURL=ShareAttributeRequestItem.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ShareAttributeRequestItem.js","sourceRoot":"","sources":["../../../../src/requests/items/shareAttribute/ShareAttributeRequestItem.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAA8D;AAC9D,gDAA6E;AAC7E,mDAA8E;AAa9E,IAAa,yBAAyB,GAAtC,MAAa,yBAA0B,SAAQ,yBAAW;IAS/C,MAAM,CAAC,IAAI,CAAC,KAAiE;QAChF,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAA;IAC9B,CAAC;CACJ,CAAA;AATG;IAFC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,GAAE;8BACS,kBAAM;8DAAA;AAI1B;IAFC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,GAAE;8BACO,uBAAW;4DAAA;AAPpB,yBAAyB;IADrC,IAAA,gBAAI,EAAC,2BAA2B,CAAC;GACrB,yBAAyB,CAYrC;AAZY,8DAAyB"}
@@ -428,7 +428,7 @@ exports.RelationshipAttributeQuery = void 0;
428
428
  const ts_serval_1 = __webpack_require__(/*! @js-soft/ts-serval */ "@js-soft/ts-serval");
429
429
  const transport_1 = __webpack_require__(/*! @nmshd/transport */ "@nmshd/transport");
430
430
  const AbstractAttributeQuery_1 = __webpack_require__(/*! ./AbstractAttributeQuery */ "./dist/attributes/AbstractAttributeQuery.js");
431
- const RelationshipAttributeHints_1 = __webpack_require__(/*! ./hints/RelationshipAttributeHints */ "./dist/attributes/hints/RelationshipAttributeHints.js");
431
+ const RelationshipAttributeCreationHints_1 = __webpack_require__(/*! ./hints/RelationshipAttributeCreationHints */ "./dist/attributes/hints/RelationshipAttributeCreationHints.js");
432
432
  let RelationshipAttributeQuery = class RelationshipAttributeQuery extends AbstractAttributeQuery_1.AbstractAttributeQuery {
433
433
  static from(value) {
434
434
  return this.fromAny(value);
@@ -455,7 +455,7 @@ __decorate([
455
455
  __decorate([
456
456
  (0, ts_serval_1.serialize)(),
457
457
  (0, ts_serval_1.validate)(),
458
- __metadata("design:type", RelationshipAttributeHints_1.RelationshipAttributeCreationHints)
458
+ __metadata("design:type", RelationshipAttributeCreationHints_1.RelationshipAttributeCreationHints)
459
459
  ], RelationshipAttributeQuery.prototype, "attributeCreationHints", void 0);
460
460
  RelationshipAttributeQuery = __decorate([
461
461
  (0, ts_serval_1.type)("RelationshipAttributeQuery")
@@ -1395,10 +1395,10 @@ __exportStar(__webpack_require__(/*! ./LanguagesISO639 */ "./dist/attributes/con
1395
1395
 
1396
1396
  /***/ }),
1397
1397
 
1398
- /***/ "./dist/attributes/hints/RelationshipAttributeHints.js":
1399
- /*!*************************************************************!*\
1400
- !*** ./dist/attributes/hints/RelationshipAttributeHints.js ***!
1401
- \*************************************************************/
1398
+ /***/ "./dist/attributes/hints/RelationshipAttributeCreationHints.js":
1399
+ /*!*********************************************************************!*\
1400
+ !*** ./dist/attributes/hints/RelationshipAttributeCreationHints.js ***!
1401
+ \*********************************************************************/
1402
1402
  /***/ (function(__unused_webpack_module, exports, __webpack_require__) {
1403
1403
 
1404
1404
 
@@ -1422,9 +1422,10 @@ const ValueHints_1 = __webpack_require__(/*! ./ValueHints */ "./dist/attributes/
1422
1422
  * a proprietary Attribute, even without such an Attribute existent.
1423
1423
  */
1424
1424
  let RelationshipAttributeCreationHints = class RelationshipAttributeCreationHints extends ts_serval_1.Serializable {
1425
- constructor() {
1426
- super(...arguments);
1427
- this.isTechnical = false;
1425
+ static preFrom(value) {
1426
+ if (typeof value.isTechnical === "undefined")
1427
+ value.isTechnical = false;
1428
+ return value;
1428
1429
  }
1429
1430
  static from(value) {
1430
1431
  return this.fromAny(value);
@@ -1460,10 +1461,10 @@ __decorate([
1460
1461
  __metadata("design:type", String)
1461
1462
  ], RelationshipAttributeCreationHints.prototype, "confidentiality", void 0);
1462
1463
  RelationshipAttributeCreationHints = __decorate([
1463
- (0, ts_serval_1.type)("RelationshipAttributeHints")
1464
+ (0, ts_serval_1.type)("RelationshipAttributeCreationHints")
1464
1465
  ], RelationshipAttributeCreationHints);
1465
1466
  exports.RelationshipAttributeCreationHints = RelationshipAttributeCreationHints;
1466
- //# sourceMappingURL=RelationshipAttributeHints.js.map
1467
+ //# sourceMappingURL=RelationshipAttributeCreationHints.js.map
1467
1468
 
1468
1469
  /***/ }),
1469
1470
 
@@ -1765,7 +1766,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
1765
1766
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
1766
1767
  };
1767
1768
  Object.defineProperty(exports, "__esModule", ({ value: true }));
1768
- __exportStar(__webpack_require__(/*! ./RelationshipAttributeHints */ "./dist/attributes/hints/RelationshipAttributeHints.js"), exports);
1769
+ __exportStar(__webpack_require__(/*! ./RelationshipAttributeCreationHints */ "./dist/attributes/hints/RelationshipAttributeCreationHints.js"), exports);
1769
1770
  __exportStar(__webpack_require__(/*! ./RenderHints */ "./dist/attributes/hints/RenderHints.js"), exports);
1770
1771
  __exportStar(__webpack_require__(/*! ./ValueHints */ "./dist/attributes/hints/ValueHints.js"), exports);
1771
1772
  __exportStar(__webpack_require__(/*! ./ValueHintsValue */ "./dist/attributes/hints/ValueHintsValue.js"), exports);
@@ -4929,10 +4930,10 @@ const ts_serval_1 = __webpack_require__(/*! @js-soft/ts-serval */ "@js-soft/ts-s
4929
4930
  const crypto_1 = __webpack_require__(/*! @nmshd/crypto */ "@nmshd/crypto");
4930
4931
  const transport_1 = __webpack_require__(/*! @nmshd/transport */ "@nmshd/transport");
4931
4932
  exports.buildInformation = {
4932
- version: "2.0.0-alpha.34",
4933
- build: "64",
4934
- date: "2022-06-10T13:31:36+00:00",
4935
- commit: "9b6c65f0648fc110c4b010147ad54f59d972436d",
4933
+ version: "2.0.0-alpha.37",
4934
+ build: "67",
4935
+ date: "2022-06-20T09:50:20+00:00",
4936
+ commit: "f7a48b932fa36c8bf217e23f58ba36758243de89",
4936
4937
  dependencies: {"@js-soft/logging-abstractions":"^1.0.0"},
4937
4938
  libraries: {
4938
4939
  serval: ts_serval_1.buildInformation,
@@ -5960,6 +5961,7 @@ __exportStar(__webpack_require__(/*! ./proposeAttribute/ProposeAttributeAcceptRe
5960
5961
  __exportStar(__webpack_require__(/*! ./proposeAttribute/ProposeAttributeRequestItem */ "./dist/requests/items/proposeAttribute/ProposeAttributeRequestItem.js"), exports);
5961
5962
  __exportStar(__webpack_require__(/*! ./readAttribute/ReadAttributeAcceptResponseItem */ "./dist/requests/items/readAttribute/ReadAttributeAcceptResponseItem.js"), exports);
5962
5963
  __exportStar(__webpack_require__(/*! ./readAttribute/ReadAttributeRequestItem */ "./dist/requests/items/readAttribute/ReadAttributeRequestItem.js"), exports);
5964
+ __exportStar(__webpack_require__(/*! ./shareAttribute/ShareAttributeRequestItem */ "./dist/requests/items/shareAttribute/ShareAttributeRequestItem.js"), exports);
5963
5965
  //# sourceMappingURL=index.js.map
5964
5966
 
5965
5967
  /***/ }),
@@ -6155,6 +6157,50 @@ exports.ReadAttributeRequestItem = ReadAttributeRequestItem;
6155
6157
 
6156
6158
  /***/ }),
6157
6159
 
6160
+ /***/ "./dist/requests/items/shareAttribute/ShareAttributeRequestItem.js":
6161
+ /*!*************************************************************************!*\
6162
+ !*** ./dist/requests/items/shareAttribute/ShareAttributeRequestItem.js ***!
6163
+ \*************************************************************************/
6164
+ /***/ (function(__unused_webpack_module, exports, __webpack_require__) {
6165
+
6166
+
6167
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
6168
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
6169
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
6170
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
6171
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
6172
+ };
6173
+ var __metadata = (this && this.__metadata) || function (k, v) {
6174
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
6175
+ };
6176
+ Object.defineProperty(exports, "__esModule", ({ value: true }));
6177
+ exports.ShareAttributeRequestItem = void 0;
6178
+ const ts_serval_1 = __webpack_require__(/*! @js-soft/ts-serval */ "@js-soft/ts-serval");
6179
+ const transport_1 = __webpack_require__(/*! @nmshd/transport */ "@nmshd/transport");
6180
+ const RequestItem_1 = __webpack_require__(/*! ../../RequestItem */ "./dist/requests/RequestItem.js");
6181
+ let ShareAttributeRequestItem = class ShareAttributeRequestItem extends RequestItem_1.RequestItem {
6182
+ static from(value) {
6183
+ return this.fromAny(value);
6184
+ }
6185
+ };
6186
+ __decorate([
6187
+ (0, ts_serval_1.serialize)(),
6188
+ (0, ts_serval_1.validate)(),
6189
+ __metadata("design:type", transport_1.CoreId)
6190
+ ], ShareAttributeRequestItem.prototype, "attributeId", void 0);
6191
+ __decorate([
6192
+ (0, ts_serval_1.serialize)(),
6193
+ (0, ts_serval_1.validate)(),
6194
+ __metadata("design:type", transport_1.CoreAddress)
6195
+ ], ShareAttributeRequestItem.prototype, "shareWith", void 0);
6196
+ ShareAttributeRequestItem = __decorate([
6197
+ (0, ts_serval_1.type)("ShareAttributeRequestItem")
6198
+ ], ShareAttributeRequestItem);
6199
+ exports.ShareAttributeRequestItem = ShareAttributeRequestItem;
6200
+ //# sourceMappingURL=ShareAttributeRequestItem.js.map
6201
+
6202
+ /***/ }),
6203
+
6158
6204
  /***/ "./dist/requests/old/AttributesChangeRequest.js":
6159
6205
  /*!******************************************************!*\
6160
6206
  !*** ./dist/requests/old/AttributesChangeRequest.js ***!