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

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.
@@ -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);
@@ -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,kCAAkC,GAA/C,MAAa,kCAAmC,SAAQ,wBAAY;IAApE;;QAeW,gBAAW,GAAa,KAAK,CAAA;IAgBxC,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,EAA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;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,4BAA4B,CAAC;GACtB,kCAAkC,CAqC9C;AArCY,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.34",
9
- build: "64",
10
- date: "2022-06-10T13:31:36+00:00",
11
- commit: "9b6c65f0648fc110c4b010147ad54f59d972436d",
8
+ version: "2.0.0-alpha.35",
9
+ build: "65",
10
+ date: "2022-06-13T06:45:21+00:00",
11
+ commit: "d8bf251a9fae809a7dcf94dc85832036ceb97864",
12
12
  dependencies: {"@js-soft/logging-abstractions":"^1.0.0"},
13
13
  libraries: {
14
14
  serval: ts_serval_1.buildInformation,
@@ -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);
@@ -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.35",
4934
+ build: "65",
4935
+ date: "2022-06-13T06:45:21+00:00",
4936
+ commit: "d8bf251a9fae809a7dcf94dc85832036ceb97864",
4936
4937
  dependencies: {"@js-soft/logging-abstractions":"^1.0.0"},
4937
4938
  libraries: {
4938
4939
  serval: ts_serval_1.buildInformation,