@nmshd/content 2.0.0-beta.26 → 2.0.0-beta.28

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.
Files changed (95) hide show
  1. package/dist/attributes/constants/AttributeValueTypeQueryMapping.d.ts +1 -0
  2. package/dist/attributes/constants/AttributeValueTypeQueryMapping.js +7 -0
  3. package/dist/attributes/constants/AttributeValueTypeQueryMapping.js.map +1 -0
  4. package/dist/attributes/constants/AttributeValueTypes.d.ts +4 -0
  5. package/dist/attributes/constants/AttributeValueTypes.js +58 -0
  6. package/dist/attributes/constants/AttributeValueTypes.js.map +1 -0
  7. package/dist/attributes/constants/index.d.ts +2 -0
  8. package/dist/attributes/constants/index.js +2 -0
  9. package/dist/attributes/constants/index.js.map +1 -1
  10. package/dist/attributes/types/AbstractString.js +2 -2
  11. package/dist/attributes/types/{name/LegalNameDE.d.ts → affiliation/Affiliation.d.ts} +21 -591
  12. package/dist/attributes/types/affiliation/Affiliation.js +77 -0
  13. package/dist/attributes/types/affiliation/Affiliation.js.map +1 -0
  14. package/dist/attributes/types/affiliation/AffiliationOrganization.d.ts +3 -0
  15. package/dist/attributes/types/affiliation/AffiliationOrganization.js +18 -0
  16. package/dist/attributes/types/affiliation/AffiliationOrganization.js.map +1 -0
  17. package/dist/attributes/types/affiliation/AffiliationRole.d.ts +3 -0
  18. package/dist/attributes/types/affiliation/AffiliationRole.js +18 -0
  19. package/dist/attributes/types/affiliation/AffiliationRole.js.map +1 -0
  20. package/dist/attributes/types/affiliation/AffiliationUnit.d.ts +3 -0
  21. package/dist/attributes/types/affiliation/AffiliationUnit.js +18 -0
  22. package/dist/attributes/types/affiliation/AffiliationUnit.js.map +1 -0
  23. package/dist/attributes/types/affiliation/index.d.ts +4 -0
  24. package/dist/attributes/types/affiliation/index.js +21 -0
  25. package/dist/attributes/types/affiliation/index.js.map +1 -0
  26. package/dist/attributes/types/{name → identity}/DisplayName.d.ts +0 -0
  27. package/dist/attributes/types/{name → identity}/DisplayName.js +0 -0
  28. package/dist/attributes/types/identity/DisplayName.js.map +1 -0
  29. package/dist/attributes/types/{files → identity}/FileReference.d.ts +0 -0
  30. package/dist/attributes/types/{files → identity}/FileReference.js +0 -0
  31. package/dist/attributes/types/identity/FileReference.js.map +1 -0
  32. package/dist/attributes/types/{files → identity}/index.d.ts +1 -0
  33. package/dist/attributes/types/{files → identity}/index.js +1 -0
  34. package/dist/attributes/types/identity/index.js.map +1 -0
  35. package/dist/attributes/types/index.d.ts +2 -3
  36. package/dist/attributes/types/index.js +2 -3
  37. package/dist/attributes/types/index.js.map +1 -1
  38. package/dist/attributes/types/name/MiddleName.d.ts +3 -0
  39. package/dist/attributes/types/name/MiddleName.js +18 -0
  40. package/dist/attributes/types/name/MiddleName.js.map +1 -0
  41. package/dist/attributes/types/name/{Salutation.d.ts → PersonName.d.ts} +17 -23
  42. package/dist/attributes/types/name/{Salutation.js → PersonName.js} +32 -23
  43. package/dist/attributes/types/name/PersonName.js.map +1 -0
  44. package/dist/attributes/types/name/index.d.ts +2 -4
  45. package/dist/attributes/types/name/index.js +2 -4
  46. package/dist/attributes/types/name/index.js.map +1 -1
  47. package/dist/attributes/types/person/JobTitle.d.ts +3 -0
  48. package/dist/attributes/types/person/{Picture.js → JobTitle.js} +8 -8
  49. package/dist/attributes/types/person/JobTitle.js.map +1 -0
  50. package/dist/attributes/types/person/Sex.d.ts +2 -2
  51. package/dist/attributes/types/person/Sex.js +2 -2
  52. package/dist/attributes/types/person/Sex.js.map +1 -1
  53. package/dist/attributes/types/person/index.d.ts +1 -2
  54. package/dist/attributes/types/person/index.js +1 -2
  55. package/dist/attributes/types/person/index.js.map +1 -1
  56. package/dist/attributes/types/proprietary/index.d.ts +0 -1
  57. package/dist/attributes/types/proprietary/index.js +0 -1
  58. package/dist/attributes/types/proprietary/index.js.map +1 -1
  59. package/dist/attributes/types/strings/AbstractEMailAddress.js +2 -2
  60. package/dist/attributes/types/strings/index.d.ts +0 -1
  61. package/dist/attributes/types/strings/index.js +0 -1
  62. package/dist/attributes/types/strings/index.js.map +1 -1
  63. package/dist/buildInformation.js +4 -4
  64. package/dist/requests/items/registerAttributeListener/RegisterAttributeListenerRequestItem.d.ts +4 -4
  65. package/dist/requests/items/registerAttributeListener/RegisterAttributeListenerRequestItem.js +1 -1
  66. package/dist/requests/items/registerAttributeListener/RegisterAttributeListenerRequestItem.js.map +1 -1
  67. package/lib-web/nmshd.content.js +436 -437
  68. package/lib-web/nmshd.content.min.js +1 -1
  69. package/package.json +10 -10
  70. package/dist/attributes/types/AttributeList.d.ts +0 -1
  71. package/dist/attributes/types/AttributeList.js +0 -37
  72. package/dist/attributes/types/AttributeList.js.map +0 -1
  73. package/dist/attributes/types/AttributeTypeMapping.d.ts +0 -1
  74. package/dist/attributes/types/AttributeTypeMapping.js +0 -9
  75. package/dist/attributes/types/AttributeTypeMapping.js.map +0 -1
  76. package/dist/attributes/types/files/FileReference.js.map +0 -1
  77. package/dist/attributes/types/files/index.js.map +0 -1
  78. package/dist/attributes/types/name/AbstractLegalName.d.ts +0 -3
  79. package/dist/attributes/types/name/AbstractLegalName.js +0 -8
  80. package/dist/attributes/types/name/AbstractLegalName.js.map +0 -1
  81. package/dist/attributes/types/name/DisplayName.js.map +0 -1
  82. package/dist/attributes/types/name/LegalNameDE.js +0 -92
  83. package/dist/attributes/types/name/LegalNameDE.js.map +0 -1
  84. package/dist/attributes/types/name/Salutation.js.map +0 -1
  85. package/dist/attributes/types/person/Age.d.ts +0 -6
  86. package/dist/attributes/types/person/Age.js +0 -34
  87. package/dist/attributes/types/person/Age.js.map +0 -1
  88. package/dist/attributes/types/person/Picture.d.ts +0 -3
  89. package/dist/attributes/types/person/Picture.js.map +0 -1
  90. package/dist/attributes/types/proprietary/ProprietaryDataURL.d.ts +0 -15
  91. package/dist/attributes/types/proprietary/ProprietaryDataURL.js +0 -31
  92. package/dist/attributes/types/proprietary/ProprietaryDataURL.js.map +0 -1
  93. package/dist/attributes/types/strings/AbstractDataURL.d.ts +0 -7
  94. package/dist/attributes/types/strings/AbstractDataURL.js +0 -40
  95. package/dist/attributes/types/strings/AbstractDataURL.js.map +0 -1
@@ -14,9 +14,8 @@ 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("./Age"), exports);
18
17
  __exportStar(require("./Citizenship"), exports);
18
+ __exportStar(require("./JobTitle"), exports);
19
19
  __exportStar(require("./Nationality"), exports);
20
- __exportStar(require("./Picture"), exports);
21
20
  __exportStar(require("./Sex"), exports);
22
21
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/attributes/types/person/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,wCAAqB;AACrB,gDAA6B;AAC7B,gDAA6B;AAC7B,4CAAyB;AACzB,wCAAqB"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/attributes/types/person/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,gDAA6B;AAC7B,6CAA0B;AAC1B,gDAA6B;AAC7B,wCAAqB"}
@@ -1,6 +1,5 @@
1
1
  export * from "./ProprietaryBoolean";
2
2
  export * from "./ProprietaryCountry";
3
- export * from "./ProprietaryDataURL";
4
3
  export * from "./ProprietaryEMailAddress";
5
4
  export * from "./ProprietaryFileReference";
6
5
  export * from "./ProprietaryFloat";
@@ -16,7 +16,6 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./ProprietaryBoolean"), exports);
18
18
  __exportStar(require("./ProprietaryCountry"), exports);
19
- __exportStar(require("./ProprietaryDataURL"), exports);
20
19
  __exportStar(require("./ProprietaryEMailAddress"), exports);
21
20
  __exportStar(require("./ProprietaryFileReference"), exports);
22
21
  __exportStar(require("./ProprietaryFloat"), exports);
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/attributes/types/proprietary/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,uDAAoC;AACpC,uDAAoC;AACpC,uDAAoC;AACpC,4DAAyC;AACzC,6DAA0C;AAC1C,qDAAkC;AAClC,wDAAqC;AACrC,uDAAoC;AACpC,wDAAqC;AACrC,2DAAwC;AACxC,sDAAmC;AACnC,mDAAgC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/attributes/types/proprietary/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,uDAAoC;AACpC,uDAAoC;AACpC,4DAAyC;AACzC,6DAA0C;AAC1C,qDAAkC;AAClC,wDAAqC;AACrC,uDAAoC;AACpC,wDAAqC;AACrC,2DAAwC;AACxC,sDAAmC;AACnC,mDAAgC"}
@@ -17,7 +17,7 @@ class AbstractEMailAddress extends AbstractString_1.AbstractString {
17
17
  static get valueHints() {
18
18
  return super.valueHints.copyWith({
19
19
  min: 3,
20
- max: 200,
20
+ max: 100,
21
21
  pattern: "/^[A-Z0-9._%+-]+@[A-Z0-9.-]+.[A-Z]{2,}$/i"
22
22
  });
23
23
  }
@@ -32,7 +32,7 @@ __decorate([
32
32
  (0, ts_serval_1.serialize)(),
33
33
  (0, ts_serval_1.validate)({
34
34
  min: 3,
35
- max: 200,
35
+ max: 100,
36
36
  regExp: new RegExp("^[A-Z0-9._%+-]+@[A-Z0-9.-]+.[A-Z]{2,}$", "i")
37
37
  }),
38
38
  __metadata("design:type", String)
@@ -1,5 +1,4 @@
1
1
  export * from "./AbstractCountry";
2
- export * from "./AbstractDataURL";
3
2
  export * from "./AbstractEMailAddress";
4
3
  export * from "./AbstractFileReference";
5
4
  export * from "./AbstractHEXColor";
@@ -15,7 +15,6 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./AbstractCountry"), exports);
18
- __exportStar(require("./AbstractDataURL"), exports);
19
18
  __exportStar(require("./AbstractEMailAddress"), exports);
20
19
  __exportStar(require("./AbstractFileReference"), exports);
21
20
  __exportStar(require("./AbstractHEXColor"), exports);
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/attributes/types/strings/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,oDAAiC;AACjC,oDAAiC;AACjC,yDAAsC;AACtC,0DAAuC;AACvC,qDAAkC;AAClC,qDAAkC;AAClC,wDAAqC;AACrC,gDAA6B"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/attributes/types/strings/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,oDAAiC;AACjC,yDAAsC;AACtC,0DAAuC;AACvC,qDAAkC;AAClC,qDAAkC;AAClC,wDAAqC;AACrC,gDAA6B"}
@@ -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.26",
9
- build: "103",
10
- date: "2022-09-14T13:25:36+00:00",
11
- commit: "9e1d3778b0f694d0768768e36ab15d8c3b7cbc41",
8
+ version: "2.0.0-beta.28",
9
+ build: "105",
10
+ date: "2022-09-20T16:20:39+00:00",
11
+ commit: "7375ced5576fada798bac89a62f91a80eb899319",
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,13 +1,13 @@
1
- import { IdentityAttributeQuery, IdentityAttributeQueryJSON, IIdentityAttributeQuery, IRelationshipAttributeQuery, IThirdPartyRelationshipAttributeQuery, RelationshipAttributeQuery, RelationshipAttributeQueryJSON, ThirdPartyRelationshipAttributeQuery, ThirdPartyRelationshipAttributeQueryJSON } from "../../../attributes";
1
+ import { IdentityAttributeQuery, IdentityAttributeQueryJSON, IIdentityAttributeQuery, IThirdPartyRelationshipAttributeQuery, ThirdPartyRelationshipAttributeQuery, ThirdPartyRelationshipAttributeQueryJSON } from "../../../attributes";
2
2
  import { IRequestItem, RequestItem, RequestItemJSON } from "../../RequestItem";
3
3
  export interface RegisterAttributeListenerRequestItemJSON extends RequestItemJSON {
4
4
  "@type": "RegisterAttributeListenerRequestItem";
5
- query: IdentityAttributeQueryJSON | RelationshipAttributeQueryJSON | ThirdPartyRelationshipAttributeQueryJSON;
5
+ query: IdentityAttributeQueryJSON | ThirdPartyRelationshipAttributeQueryJSON;
6
6
  }
7
7
  export interface IRegisterAttributeListenerRequestItem extends IRequestItem {
8
- query: IIdentityAttributeQuery | IRelationshipAttributeQuery | IThirdPartyRelationshipAttributeQuery;
8
+ query: IIdentityAttributeQuery | IThirdPartyRelationshipAttributeQuery;
9
9
  }
10
10
  export declare class RegisterAttributeListenerRequestItem extends RequestItem implements IRegisterAttributeListenerRequestItem {
11
- query: IdentityAttributeQuery | RelationshipAttributeQuery | ThirdPartyRelationshipAttributeQuery;
11
+ query: IdentityAttributeQuery | ThirdPartyRelationshipAttributeQuery;
12
12
  static from(value: IRegisterAttributeListenerRequestItem | RegisterAttributeListenerRequestItemJSON): RegisterAttributeListenerRequestItem;
13
13
  }
@@ -20,7 +20,7 @@ let RegisterAttributeListenerRequestItem = class RegisterAttributeListenerReques
20
20
  };
21
21
  __decorate([
22
22
  (0, ts_serval_1.serialize)({
23
- unionTypes: [attributes_1.IdentityAttributeQuery, attributes_1.RelationshipAttributeQuery, attributes_1.ThirdPartyRelationshipAttributeQuery]
23
+ unionTypes: [attributes_1.IdentityAttributeQuery, attributes_1.ThirdPartyRelationshipAttributeQuery]
24
24
  }),
25
25
  (0, ts_serval_1.validate)(),
26
26
  __metadata("design:type", Object)
@@ -1 +1 @@
1
- {"version":3,"file":"RegisterAttributeListenerRequestItem.js","sourceRoot":"","sources":["../../../../src/requests/items/registerAttributeListener/RegisterAttributeListenerRequestItem.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAA8D;AAC9D,oDAU4B;AAC5B,mDAA8E;AAY9E,IAAa,oCAAoC,GAAjD,MAAa,oCAAqC,SAAQ,yBAAW;IAO1D,MAAM,CAAC,IAAI,CACd,KAAuF;QAEvF,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAA;IAC9B,CAAC;CACJ,CAAA;AAPG;IAJC,IAAA,qBAAS,EAAC;QACP,UAAU,EAAE,CAAC,mCAAsB,EAAE,uCAA0B,EAAE,iDAAoC,CAAC;KACzG,CAAC;IACD,IAAA,oBAAQ,GAAE;;mEAC6F;AAL/F,oCAAoC;IADhD,IAAA,gBAAI,EAAC,sCAAsC,CAAC;GAChC,oCAAoC,CAYhD;AAZY,oFAAoC"}
1
+ {"version":3,"file":"RegisterAttributeListenerRequestItem.js","sourceRoot":"","sources":["../../../../src/requests/items/registerAttributeListener/RegisterAttributeListenerRequestItem.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAA8D;AAC9D,oDAO4B;AAC5B,mDAA8E;AAY9E,IAAa,oCAAoC,GAAjD,MAAa,oCAAqC,SAAQ,yBAAW;IAO1D,MAAM,CAAC,IAAI,CACd,KAAuF;QAEvF,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAA;IAC9B,CAAC;CACJ,CAAA;AAPG;IAJC,IAAA,qBAAS,EAAC;QACP,UAAU,EAAE,CAAC,mCAAsB,EAAE,iDAAoC,CAAC;KAC7E,CAAC;IACD,IAAA,oBAAQ,GAAE;;mEACgE;AALlE,oCAAoC;IADhD,IAAA,gBAAI,EAAC,sCAAsC,CAAC;GAChC,oCAAoC,CAYhD;AAZY,oFAAoC"}