@nmshd/content 2.0.0-alpha.30 → 2.0.0-alpha.31

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,23 +1,23 @@
1
1
  import { CoreAddress, ICoreAddress } from "@nmshd/transport";
2
2
  import { AbstractAttributeQuery, AbstractAttributeQueryJSON, IAbstractAttributeQuery } from "./AbstractAttributeQuery";
3
- import { IRelationshipAttributeHints, RelationshipAttributeHints, RelationshipAttributeHintsJSON } from "./hints/RelationshipAttributeHints";
3
+ import { IRelationshipAttributeCreationHints, RelationshipAttributeCreationHints, RelationshipAttributeCreationHintsJSON } from "./hints/RelationshipAttributeHints";
4
4
  export interface RelationshipAttributeQueryJSON extends AbstractAttributeQueryJSON {
5
5
  key: string;
6
6
  owner: string;
7
- attributeHints: RelationshipAttributeHintsJSON;
8
7
  thirdParty?: string;
8
+ attributeCreationHints: RelationshipAttributeCreationHintsJSON;
9
9
  }
10
10
  export interface IRelationshipAttributeQuery extends IAbstractAttributeQuery {
11
11
  key: string;
12
12
  owner: ICoreAddress;
13
- attributeHints: IRelationshipAttributeHints;
14
13
  thirdParty?: ICoreAddress;
14
+ attributeCreationHints: IRelationshipAttributeCreationHints;
15
15
  }
16
16
  export declare class RelationshipAttributeQuery extends AbstractAttributeQuery implements IRelationshipAttributeQuery {
17
17
  key: string;
18
18
  owner: CoreAddress;
19
- attributeHints: RelationshipAttributeHints;
20
19
  thirdParty?: CoreAddress;
20
+ attributeCreationHints: RelationshipAttributeCreationHints;
21
21
  static from(value: IRelationshipAttributeQuery | RelationshipAttributeQueryJSON): RelationshipAttributeQuery;
22
22
  toJSON(): RelationshipAttributeQueryJSON;
23
23
  }
@@ -32,16 +32,16 @@ __decorate([
32
32
  (0, ts_serval_1.validate)(),
33
33
  __metadata("design:type", transport_1.CoreAddress)
34
34
  ], RelationshipAttributeQuery.prototype, "owner", void 0);
35
- __decorate([
36
- (0, ts_serval_1.serialize)(),
37
- (0, ts_serval_1.validate)(),
38
- __metadata("design:type", RelationshipAttributeHints_1.RelationshipAttributeHints)
39
- ], RelationshipAttributeQuery.prototype, "attributeHints", void 0);
40
35
  __decorate([
41
36
  (0, ts_serval_1.serialize)(),
42
37
  (0, ts_serval_1.validate)({ nullable: true }),
43
38
  __metadata("design:type", transport_1.CoreAddress)
44
39
  ], RelationshipAttributeQuery.prototype, "thirdParty", void 0);
40
+ __decorate([
41
+ (0, ts_serval_1.serialize)(),
42
+ (0, ts_serval_1.validate)(),
43
+ __metadata("design:type", RelationshipAttributeHints_1.RelationshipAttributeCreationHints)
44
+ ], RelationshipAttributeQuery.prototype, "attributeCreationHints", void 0);
45
45
  RelationshipAttributeQuery = __decorate([
46
46
  (0, ts_serval_1.type)("RelationshipAttributeQuery")
47
47
  ], 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,GAAE;8BACY,uDAA0B;kEAAA;AAIjD;IAFC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;8BACT,uBAAW;8DAAA;AAftB,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,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,14 +1,14 @@
1
1
  import { ISerializable, Serializable } from "@js-soft/ts-serval";
2
2
  import { RelationshipAttributeConfidentiality } from "../RelationshipAttribute";
3
3
  import { IValueHints, ValueHints, ValueHintsJSON } from "./ValueHints";
4
- export interface RelationshipAttributeHintsJSON {
4
+ export interface RelationshipAttributeCreationHintsJSON {
5
5
  title: string;
6
6
  description?: string;
7
7
  valueHints?: ValueHintsJSON;
8
8
  isTechnical?: boolean;
9
9
  confidentiality: RelationshipAttributeConfidentiality;
10
10
  }
11
- export interface IRelationshipAttributeHints extends ISerializable {
11
+ export interface IRelationshipAttributeCreationHints extends ISerializable {
12
12
  title: string;
13
13
  description?: string;
14
14
  valueHints?: IValueHints;
@@ -20,11 +20,11 @@ export interface IRelationshipAttributeHints extends ISerializable {
20
20
  * They are primarily used within `RelationshipAttributeQuery` to define the metadata of
21
21
  * a proprietary Attribute, even without such an Attribute existent.
22
22
  */
23
- export declare class RelationshipAttributeHints extends Serializable implements IRelationshipAttributeHints {
23
+ export declare class RelationshipAttributeCreationHints extends Serializable implements IRelationshipAttributeCreationHints {
24
24
  title: string;
25
25
  description?: string;
26
26
  valueHints?: ValueHints;
27
27
  isTechnical: boolean;
28
28
  confidentiality: RelationshipAttributeConfidentiality;
29
- static from(value: IRelationshipAttributeHints | RelationshipAttributeHintsJSON): RelationshipAttributeHints;
29
+ static from(value: IRelationshipAttributeCreationHints | RelationshipAttributeCreationHintsJSON): RelationshipAttributeCreationHints;
30
30
  }
@@ -9,7 +9,7 @@ var __metadata = (this && this.__metadata) || function (k, v) {
9
9
  if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
10
  };
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
- exports.RelationshipAttributeHints = void 0;
12
+ exports.RelationshipAttributeCreationHints = void 0;
13
13
  const ts_serval_1 = require("@js-soft/ts-serval");
14
14
  const RelationshipAttribute_1 = require("../RelationshipAttribute");
15
15
  const ValueHints_1 = require("./ValueHints");
@@ -18,7 +18,7 @@ const ValueHints_1 = require("./ValueHints");
18
18
  * They are primarily used within `RelationshipAttributeQuery` to define the metadata of
19
19
  * a proprietary Attribute, even without such an Attribute existent.
20
20
  */
21
- let RelationshipAttributeHints = class RelationshipAttributeHints extends ts_serval_1.Serializable {
21
+ let RelationshipAttributeCreationHints = class RelationshipAttributeCreationHints extends ts_serval_1.Serializable {
22
22
  constructor() {
23
23
  super(...arguments);
24
24
  this.isTechnical = false;
@@ -31,22 +31,22 @@ __decorate([
31
31
  (0, ts_serval_1.serialize)(),
32
32
  (0, ts_serval_1.validate)(),
33
33
  __metadata("design:type", String)
34
- ], RelationshipAttributeHints.prototype, "title", void 0);
34
+ ], RelationshipAttributeCreationHints.prototype, "title", void 0);
35
35
  __decorate([
36
36
  (0, ts_serval_1.serialize)(),
37
37
  (0, ts_serval_1.validate)({ nullable: true }),
38
38
  __metadata("design:type", String)
39
- ], RelationshipAttributeHints.prototype, "description", void 0);
39
+ ], RelationshipAttributeCreationHints.prototype, "description", void 0);
40
40
  __decorate([
41
41
  (0, ts_serval_1.serialize)(),
42
42
  (0, ts_serval_1.validate)({ nullable: true }),
43
43
  __metadata("design:type", ValueHints_1.ValueHints)
44
- ], RelationshipAttributeHints.prototype, "valueHints", void 0);
44
+ ], RelationshipAttributeCreationHints.prototype, "valueHints", void 0);
45
45
  __decorate([
46
46
  (0, ts_serval_1.serialize)(),
47
- (0, ts_serval_1.validate)(),
47
+ (0, ts_serval_1.validate)({ nullable: true }),
48
48
  __metadata("design:type", Object)
49
- ], RelationshipAttributeHints.prototype, "isTechnical", void 0);
49
+ ], RelationshipAttributeCreationHints.prototype, "isTechnical", void 0);
50
50
  __decorate([
51
51
  (0, ts_serval_1.serialize)(),
52
52
  (0, ts_serval_1.validate)({
@@ -55,9 +55,9 @@ __decorate([
55
55
  : undefined
56
56
  }),
57
57
  __metadata("design:type", String)
58
- ], RelationshipAttributeHints.prototype, "confidentiality", void 0);
59
- RelationshipAttributeHints = __decorate([
58
+ ], RelationshipAttributeCreationHints.prototype, "confidentiality", void 0);
59
+ RelationshipAttributeCreationHints = __decorate([
60
60
  (0, ts_serval_1.type)("RelationshipAttributeHints")
61
- ], RelationshipAttributeHints);
62
- exports.RelationshipAttributeHints = RelationshipAttributeHints;
61
+ ], RelationshipAttributeCreationHints);
62
+ exports.RelationshipAttributeCreationHints = RelationshipAttributeCreationHints;
63
63
  //# sourceMappingURL=RelationshipAttributeHints.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"RelationshipAttributeHints.js","sourceRoot":"","sources":["../../../src/attributes/hints/RelationshipAttributeHints.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAA2F;AAC3F,oEAA+E;AAC/E,6CAAsE;AAkBtE;;;;GAIG;AAEH,IAAa,0BAA0B,GAAvC,MAAa,0BAA2B,SAAQ,wBAAY;IAA5D;;QAeW,gBAAW,GAAG,KAAK,CAAA;IAe9B,CAAC;IALU,MAAM,CAAC,IAAI,CACd,KAAmE;QAEnE,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAA;IAC9B,CAAC;CACJ,CAAA;AA3BG;IAFC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,GAAE;;yDACS;AAIpB;IAFC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;+DACF;AAI3B;IAFC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;8BACT,uBAAU;8DAAA;AAI9B;IAFC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,GAAE;;+DACe;AAQ1B;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;;mEAC0D;AAvBnD,0BAA0B;IADtC,IAAA,gBAAI,EAAC,4BAA4B,CAAC;GACtB,0BAA0B,CA8BtC;AA9BY,gEAA0B"}
1
+ {"version":3,"file":"RelationshipAttributeHints.js","sourceRoot":"","sources":["../../../src/attributes/hints/RelationshipAttributeHints.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAA2F;AAC3F,oEAA+E;AAC/E,6CAAsE;AAkBtE;;;;GAIG;AAEH,IAAa,kCAAkC,GAA/C,MAAa,kCAAmC,SAAQ,wBAAY;IAApE;;QAeW,gBAAW,GAAG,KAAK,CAAA;IAgB9B,CAAC;IALU,MAAM,CAAC,IAAI,CACd,KAAmF;QAEnF,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAA;IAC9B,CAAC;CACJ,CAAA;AA5BG;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;;uEACH;AAS1B;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,4BAA4B,CAAC;GACtB,kCAAkC,CA+B9C;AA/BY,gFAAkC"}
@@ -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.30",
9
- build: "60",
10
- date: "2022-06-03T12:03:09+00:00",
11
- commit: "93eca1b77baf59ee01a93bac84f5e2bd769fe5df",
8
+ version: "2.0.0-alpha.31",
9
+ build: "61",
10
+ date: "2022-06-03T12:27:33+00:00",
11
+ commit: "071ea400f2450675aee0e1d399f83111380b3cda",
12
12
  dependencies: {"@js-soft/logging-abstractions":"^1.0.0"},
13
13
  libraries: {
14
14
  serval: ts_serval_1.buildInformation,
@@ -447,16 +447,16 @@ __decorate([
447
447
  (0, ts_serval_1.validate)(),
448
448
  __metadata("design:type", transport_1.CoreAddress)
449
449
  ], RelationshipAttributeQuery.prototype, "owner", void 0);
450
- __decorate([
451
- (0, ts_serval_1.serialize)(),
452
- (0, ts_serval_1.validate)(),
453
- __metadata("design:type", RelationshipAttributeHints_1.RelationshipAttributeHints)
454
- ], RelationshipAttributeQuery.prototype, "attributeHints", void 0);
455
450
  __decorate([
456
451
  (0, ts_serval_1.serialize)(),
457
452
  (0, ts_serval_1.validate)({ nullable: true }),
458
453
  __metadata("design:type", transport_1.CoreAddress)
459
454
  ], RelationshipAttributeQuery.prototype, "thirdParty", void 0);
455
+ __decorate([
456
+ (0, ts_serval_1.serialize)(),
457
+ (0, ts_serval_1.validate)(),
458
+ __metadata("design:type", RelationshipAttributeHints_1.RelationshipAttributeCreationHints)
459
+ ], RelationshipAttributeQuery.prototype, "attributeCreationHints", void 0);
460
460
  RelationshipAttributeQuery = __decorate([
461
461
  (0, ts_serval_1.type)("RelationshipAttributeQuery")
462
462
  ], RelationshipAttributeQuery);
@@ -1412,7 +1412,7 @@ var __metadata = (this && this.__metadata) || function (k, v) {
1412
1412
  if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
1413
1413
  };
1414
1414
  Object.defineProperty(exports, "__esModule", ({ value: true }));
1415
- exports.RelationshipAttributeHints = void 0;
1415
+ exports.RelationshipAttributeCreationHints = void 0;
1416
1416
  const ts_serval_1 = __webpack_require__(/*! @js-soft/ts-serval */ "@js-soft/ts-serval");
1417
1417
  const RelationshipAttribute_1 = __webpack_require__(/*! ../RelationshipAttribute */ "./dist/attributes/RelationshipAttribute.js");
1418
1418
  const ValueHints_1 = __webpack_require__(/*! ./ValueHints */ "./dist/attributes/hints/ValueHints.js");
@@ -1421,7 +1421,7 @@ const ValueHints_1 = __webpack_require__(/*! ./ValueHints */ "./dist/attributes/
1421
1421
  * They are primarily used within `RelationshipAttributeQuery` to define the metadata of
1422
1422
  * a proprietary Attribute, even without such an Attribute existent.
1423
1423
  */
1424
- let RelationshipAttributeHints = class RelationshipAttributeHints extends ts_serval_1.Serializable {
1424
+ let RelationshipAttributeCreationHints = class RelationshipAttributeCreationHints extends ts_serval_1.Serializable {
1425
1425
  constructor() {
1426
1426
  super(...arguments);
1427
1427
  this.isTechnical = false;
@@ -1434,22 +1434,22 @@ __decorate([
1434
1434
  (0, ts_serval_1.serialize)(),
1435
1435
  (0, ts_serval_1.validate)(),
1436
1436
  __metadata("design:type", String)
1437
- ], RelationshipAttributeHints.prototype, "title", void 0);
1437
+ ], RelationshipAttributeCreationHints.prototype, "title", void 0);
1438
1438
  __decorate([
1439
1439
  (0, ts_serval_1.serialize)(),
1440
1440
  (0, ts_serval_1.validate)({ nullable: true }),
1441
1441
  __metadata("design:type", String)
1442
- ], RelationshipAttributeHints.prototype, "description", void 0);
1442
+ ], RelationshipAttributeCreationHints.prototype, "description", void 0);
1443
1443
  __decorate([
1444
1444
  (0, ts_serval_1.serialize)(),
1445
1445
  (0, ts_serval_1.validate)({ nullable: true }),
1446
1446
  __metadata("design:type", ValueHints_1.ValueHints)
1447
- ], RelationshipAttributeHints.prototype, "valueHints", void 0);
1447
+ ], RelationshipAttributeCreationHints.prototype, "valueHints", void 0);
1448
1448
  __decorate([
1449
1449
  (0, ts_serval_1.serialize)(),
1450
- (0, ts_serval_1.validate)(),
1450
+ (0, ts_serval_1.validate)({ nullable: true }),
1451
1451
  __metadata("design:type", Object)
1452
- ], RelationshipAttributeHints.prototype, "isTechnical", void 0);
1452
+ ], RelationshipAttributeCreationHints.prototype, "isTechnical", void 0);
1453
1453
  __decorate([
1454
1454
  (0, ts_serval_1.serialize)(),
1455
1455
  (0, ts_serval_1.validate)({
@@ -1458,11 +1458,11 @@ __decorate([
1458
1458
  : undefined
1459
1459
  }),
1460
1460
  __metadata("design:type", String)
1461
- ], RelationshipAttributeHints.prototype, "confidentiality", void 0);
1462
- RelationshipAttributeHints = __decorate([
1461
+ ], RelationshipAttributeCreationHints.prototype, "confidentiality", void 0);
1462
+ RelationshipAttributeCreationHints = __decorate([
1463
1463
  (0, ts_serval_1.type)("RelationshipAttributeHints")
1464
- ], RelationshipAttributeHints);
1465
- exports.RelationshipAttributeHints = RelationshipAttributeHints;
1464
+ ], RelationshipAttributeCreationHints);
1465
+ exports.RelationshipAttributeCreationHints = RelationshipAttributeCreationHints;
1466
1466
  //# sourceMappingURL=RelationshipAttributeHints.js.map
1467
1467
 
1468
1468
  /***/ }),
@@ -4929,10 +4929,10 @@ const ts_serval_1 = __webpack_require__(/*! @js-soft/ts-serval */ "@js-soft/ts-s
4929
4929
  const crypto_1 = __webpack_require__(/*! @nmshd/crypto */ "@nmshd/crypto");
4930
4930
  const transport_1 = __webpack_require__(/*! @nmshd/transport */ "@nmshd/transport");
4931
4931
  exports.buildInformation = {
4932
- version: "2.0.0-alpha.30",
4933
- build: "60",
4934
- date: "2022-06-03T12:03:09+00:00",
4935
- commit: "93eca1b77baf59ee01a93bac84f5e2bd769fe5df",
4932
+ version: "2.0.0-alpha.31",
4933
+ build: "61",
4934
+ date: "2022-06-03T12:27:33+00:00",
4935
+ commit: "071ea400f2450675aee0e1d399f83111380b3cda",
4936
4936
  dependencies: {"@js-soft/logging-abstractions":"^1.0.0"},
4937
4937
  libraries: {
4938
4938
  serval: ts_serval_1.buildInformation,