@nmshd/content 2.0.0-beta.30 → 2.0.0-beta.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.
- package/dist/attributes/AttributeValueTypes.d.ts +11 -11
- package/dist/attributes/AttributeValueTypes.js +46 -40
- package/dist/attributes/AttributeValueTypes.js.map +1 -1
- package/dist/attributes/types/name/HonorificPrefix.d.ts +9 -2
- package/dist/attributes/types/name/HonorificPrefix.js +6 -0
- package/dist/attributes/types/name/HonorificPrefix.js.map +1 -1
- package/dist/attributes/types/name/HonorificSuffix.d.ts +9 -2
- package/dist/attributes/types/name/HonorificSuffix.js +6 -0
- package/dist/attributes/types/name/HonorificSuffix.js.map +1 -1
- package/dist/attributes/types/name/MiddleName.d.ts +9 -2
- package/dist/attributes/types/name/MiddleName.js +6 -0
- package/dist/attributes/types/name/MiddleName.js.map +1 -1
- package/dist/attributes/types/name/PersonName.d.ts +28 -28
- package/dist/attributes/types/name/Surname.d.ts +9 -2
- package/dist/attributes/types/name/Surname.js +6 -0
- package/dist/attributes/types/name/Surname.js.map +1 -1
- package/dist/buildInformation.js +4 -4
- package/lib-web/nmshd.content.js +74 -44
- package/lib-web/nmshd.content.min.js +1 -1
- package/package.json +1 -1
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import { FileReference, IFileReference } from "@nmshd/transport";
|
|
2
|
-
import { Affiliation, AffiliationJSON, AffiliationOrganization, AffiliationOrganizationJSON, AffiliationRole, AffiliationRoleJSON, AffiliationUnit, AffiliationUnitJSON, BirthCity, BirthCityJSON, BirthCountry, BirthCountryJSON, BirthDate, BirthDateJSON, BirthDay, BirthDayJSON, BirthMonth, BirthMonthJSON, BirthName, BirthNameJSON, BirthPlace, BirthPlaceJSON, BirthState, BirthStateJSON, BirthYear, BirthYearJSON, Citizenship, CitizenshipJSON, City, CityJSON, CommunicationLanguage, CommunicationLanguageJSON, Country, CountryJSON, DeliveryBoxAddress, DeliveryBoxAddressJSON, DisplayName, DisplayNameJSON, EMailAddress, EMailAddressJSON, Fax, FaxJSON, FileReferenceJSON, GivenName, GivenNameJSON, HouseNumber, HouseNumberJSON, IAffiliation, IAffiliationOrganization, IAffiliationRole, IAffiliationUnit, IBirthCity, IBirthCountry, IBirthDate, IBirthDay, IBirthMonth, IBirthName, IBirthPlace, IBirthState, IBirthYear, ICitizenship, ICity, ICommunicationLanguage, ICountry, IDeliveryBoxAddress, IDisplayName, IEMailAddress, IFax, IGivenName, IHouseNumber, IJobTitle, INationality, IPersonName, IPhone, IPostOfficeBoxAddress, IProprietaryBoolean, IProprietaryCountry, IProprietaryEMailAddress, IProprietaryFileReference, IProprietaryFloat, IProprietaryHEXColor, IProprietaryInteger, IProprietaryLanguage, IProprietaryPhoneNumber, IProprietaryString, IProprietaryURL, IPseudonym, ISex, IState, IStreet, IStreetAddress, IWebsite, IZipCode, JobTitle, JobTitleJSON, Nationality, NationalityJSON, PersonName, PersonNameJSON, Phone, PhoneJSON, PostOfficeBoxAddress, PostOfficeBoxAddressJSON, ProprietaryBoolean, ProprietaryBooleanJSON, ProprietaryCountry, ProprietaryCountryJSON, ProprietaryEMailAddress, ProprietaryEMailAddressJSON, ProprietaryFileReference, ProprietaryFileReferenceJSON, ProprietaryFloat, ProprietaryFloatJSON, ProprietaryHEXColor, ProprietaryHEXColorJSON, ProprietaryInteger, ProprietaryIntegerJSON, ProprietaryLanguage, ProprietaryLanguageJSON, ProprietaryPhoneNumber, ProprietaryPhoneNumberJSON, ProprietaryString, ProprietaryStringJSON, ProprietaryURL, ProprietaryURLJSON, Pseudonym, PseudonymJSON, Sex, SexJSON, State, StateJSON, Street, StreetAddress, StreetAddressJSON, StreetJSON, Website, WebsiteJSON, ZipCode, ZipCodeJSON } from "./types";
|
|
2
|
+
import { Affiliation, AffiliationJSON, AffiliationOrganization, AffiliationOrganizationJSON, AffiliationRole, AffiliationRoleJSON, AffiliationUnit, AffiliationUnitJSON, BirthCity, BirthCityJSON, BirthCountry, BirthCountryJSON, BirthDate, BirthDateJSON, BirthDay, BirthDayJSON, BirthMonth, BirthMonthJSON, BirthName, BirthNameJSON, BirthPlace, BirthPlaceJSON, BirthState, BirthStateJSON, BirthYear, BirthYearJSON, Citizenship, CitizenshipJSON, City, CityJSON, CommunicationLanguage, CommunicationLanguageJSON, Country, CountryJSON, DeliveryBoxAddress, DeliveryBoxAddressJSON, DisplayName, DisplayNameJSON, EMailAddress, EMailAddressJSON, Fax, FaxJSON, FileReferenceJSON, GivenName, GivenNameJSON, HonorificPrefix, HonorificPrefixJSON, HonorificSuffix, HonorificSuffixJSON, HouseNumber, HouseNumberJSON, IAffiliation, IAffiliationOrganization, IAffiliationRole, IAffiliationUnit, IBirthCity, IBirthCountry, IBirthDate, IBirthDay, IBirthMonth, IBirthName, IBirthPlace, IBirthState, IBirthYear, ICitizenship, ICity, ICommunicationLanguage, ICountry, IDeliveryBoxAddress, IDisplayName, IEMailAddress, IFax, IGivenName, IHonorificPrefix, IHonorificSuffix, IHouseNumber, IJobTitle, IMiddleName, INationality, IPersonName, IPhone, IPostOfficeBoxAddress, IProprietaryBoolean, IProprietaryCountry, IProprietaryEMailAddress, IProprietaryFileReference, IProprietaryFloat, IProprietaryHEXColor, IProprietaryInteger, IProprietaryLanguage, IProprietaryPhoneNumber, IProprietaryString, IProprietaryURL, IPseudonym, ISex, IState, IStreet, IStreetAddress, ISurname, IWebsite, IZipCode, JobTitle, JobTitleJSON, MiddleName, MiddleNameJSON, Nationality, NationalityJSON, PersonName, PersonNameJSON, Phone, PhoneJSON, PostOfficeBoxAddress, PostOfficeBoxAddressJSON, ProprietaryBoolean, ProprietaryBooleanJSON, ProprietaryCountry, ProprietaryCountryJSON, ProprietaryEMailAddress, ProprietaryEMailAddressJSON, ProprietaryFileReference, ProprietaryFileReferenceJSON, ProprietaryFloat, ProprietaryFloatJSON, ProprietaryHEXColor, ProprietaryHEXColorJSON, ProprietaryInteger, ProprietaryIntegerJSON, ProprietaryLanguage, ProprietaryLanguageJSON, ProprietaryPhoneNumber, ProprietaryPhoneNumberJSON, ProprietaryString, ProprietaryStringJSON, ProprietaryURL, ProprietaryURLJSON, Pseudonym, PseudonymJSON, Sex, SexJSON, State, StateJSON, Street, StreetAddress, StreetAddressJSON, StreetJSON, Surname, SurnameJSON, Website, WebsiteJSON, ZipCode, ZipCodeJSON } from "./types";
|
|
3
3
|
export declare module AttributeValues {
|
|
4
4
|
module Identity {
|
|
5
5
|
module Editable {
|
|
6
|
-
type Json =
|
|
7
|
-
type Interface =
|
|
8
|
-
type Class =
|
|
6
|
+
type Json = AffiliationJSON | BirthDateJSON | BirthNameJSON | BirthPlaceJSON | CitizenshipJSON | CommunicationLanguageJSON | DeliveryBoxAddressJSON | DisplayNameJSON | EMailAddressJSON | FaxJSON | FileReferenceJSON | JobTitleJSON | NationalityJSON | PersonNameJSON | PhoneJSON | PostOfficeBoxAddressJSON | PseudonymJSON | SexJSON | StreetAddressJSON | WebsiteJSON;
|
|
7
|
+
type Interface = IAffiliation | IBirthDate | IBirthName | IBirthPlace | ICitizenship | ICommunicationLanguage | IDeliveryBoxAddress | IDisplayName | IEMailAddress | IFax | IFileReference | IJobTitle | INationality | IPersonName | IPhone | IPostOfficeBoxAddress | IPseudonym | ISex | IStreetAddress | IWebsite;
|
|
8
|
+
type Class = Affiliation | BirthDate | BirthName | BirthPlace | Citizenship | CommunicationLanguage | DeliveryBoxAddress | DisplayName | EMailAddress | Fax | FileReference | JobTitle | Nationality | PersonName | Phone | PostOfficeBoxAddress | Pseudonym | Sex | StreetAddress | Website;
|
|
9
9
|
const CLASSES: (typeof FileReference | typeof CommunicationLanguage | typeof EMailAddress | typeof Fax | typeof Phone | typeof Website | typeof DeliveryBoxAddress | typeof PostOfficeBoxAddress | typeof StreetAddress | typeof Affiliation | typeof BirthDate | typeof BirthPlace | typeof DisplayName | typeof BirthName | typeof PersonName | typeof Pseudonym | typeof Citizenship | typeof JobTitle | typeof Nationality | typeof Sex)[];
|
|
10
|
-
const TYPE_NAMES: readonly ["
|
|
10
|
+
const TYPE_NAMES: readonly ["Affiliation", "BirthDate", "BirthName", "BirthPlace", "Citizenship", "CommunicationLanguage", "DeliveryBoxAddress", "DisplayName", "EMailAddress", "Fax", "FileReference", "JobTitle", "Nationality", "PersonName", "Phone", "PostOfficeBoxAddress", "Pseudonym", "Sex", "StreetAddress", "Website"];
|
|
11
11
|
const TYPE_NAMES_STRINGIFIED: string;
|
|
12
12
|
type TypeName = typeof TYPE_NAMES[number];
|
|
13
13
|
}
|
|
14
14
|
module Uneditable {
|
|
15
|
-
type Json =
|
|
16
|
-
type Interface =
|
|
17
|
-
type Class =
|
|
15
|
+
type Json = AffiliationOrganizationJSON | AffiliationRoleJSON | AffiliationUnitJSON | BirthCityJSON | BirthCountryJSON | BirthDayJSON | BirthMonthJSON | BirthStateJSON | BirthYearJSON | CityJSON | CountryJSON | GivenNameJSON | HonorificPrefixJSON | HonorificSuffixJSON | HouseNumberJSON | MiddleNameJSON | StateJSON | StreetJSON | SurnameJSON | ZipCodeJSON;
|
|
16
|
+
type Interface = IAffiliationOrganization | IAffiliationRole | IAffiliationUnit | IBirthCity | IBirthCountry | IBirthDay | IBirthMonth | IBirthState | IBirthYear | ICity | ICountry | IGivenName | IHonorificPrefix | IHonorificSuffix | IHouseNumber | IMiddleName | IState | IStreet | ISurname | IZipCode;
|
|
17
|
+
type Class = AffiliationOrganization | AffiliationRole | AffiliationUnit | BirthCity | BirthCountry | BirthDay | BirthMonth | BirthState | BirthYear | City | Country | GivenName | HonorificPrefix | HonorificSuffix | HouseNumber | MiddleName | State | Street | Surname | ZipCode;
|
|
18
18
|
const CLASSES: (typeof City | typeof BirthDay | typeof BirthMonth | typeof BirthYear)[];
|
|
19
|
-
const TYPE_NAMES: readonly ["
|
|
19
|
+
const TYPE_NAMES: readonly ["AffiliationOrganization", "AffiliationRole", "AffiliationUnit", "BirthCity", "BirthCountry", "BirthDay", "BirthMonth", "BirthState", "BirthYear", "City", "Country", "GivenName", "HonorificPrefix", "HonorificSuffix", "HouseNumber", "MiddleName", "State", "Street", "Surname", "ZipCode"];
|
|
20
20
|
const TYPE_NAMES_STRINGIFIED: string;
|
|
21
21
|
type TypeName = typeof TYPE_NAMES[number];
|
|
22
22
|
}
|
|
@@ -25,7 +25,7 @@ export declare module AttributeValues {
|
|
|
25
25
|
type Class = Editable.Class | Uneditable.Class;
|
|
26
26
|
const CLASSES: (typeof FileReference | typeof City | typeof DeliveryBoxAddress | typeof PostOfficeBoxAddress | typeof StreetAddress | typeof Affiliation | typeof BirthDay | typeof BirthMonth | typeof BirthYear | typeof BirthDate | typeof BirthPlace | typeof PersonName)[];
|
|
27
27
|
type TypeName = Editable.TypeName | Uneditable.TypeName;
|
|
28
|
-
const TYPE_NAMES: ("City" | "Country" | "StreetAddress" | "DeliveryBoxAddress" | "PostOfficeBoxAddress" | "CommunicationLanguage" | "EMailAddress" | "Fax" | "Phone" | "Website" | "State" | "ZipCode" | "HouseNumber" | "Street" | "AffiliationOrganization" | "AffiliationRole" | "AffiliationUnit" | "Affiliation" | "BirthCity" | "BirthCountry" | "BirthDay" | "BirthMonth" | "BirthYear" | "BirthDate" | "BirthState" | "BirthPlace" | "DisplayName" | "FileReference" | "BirthName" | "GivenName" | "PersonName" | "Pseudonym" | "Citizenship" | "JobTitle" | "Nationality" | "Sex")[];
|
|
28
|
+
const TYPE_NAMES: ("City" | "Country" | "StreetAddress" | "DeliveryBoxAddress" | "PostOfficeBoxAddress" | "CommunicationLanguage" | "EMailAddress" | "Fax" | "Phone" | "Website" | "State" | "ZipCode" | "HouseNumber" | "Street" | "AffiliationOrganization" | "AffiliationRole" | "AffiliationUnit" | "Affiliation" | "BirthCity" | "BirthCountry" | "BirthDay" | "BirthMonth" | "BirthYear" | "BirthDate" | "BirthState" | "BirthPlace" | "DisplayName" | "FileReference" | "BirthName" | "GivenName" | "HonorificPrefix" | "HonorificSuffix" | "MiddleName" | "Surname" | "PersonName" | "Pseudonym" | "Citizenship" | "JobTitle" | "Nationality" | "Sex")[];
|
|
29
29
|
const TYPE_NAMES_STRINGIFIED: string;
|
|
30
30
|
}
|
|
31
31
|
module Relationship {
|
|
@@ -42,6 +42,6 @@ export declare module AttributeValues {
|
|
|
42
42
|
type Class = Identity.Class | Relationship.Class;
|
|
43
43
|
const CLASSES: (typeof FileReference | typeof City | typeof DeliveryBoxAddress | typeof PostOfficeBoxAddress | typeof StreetAddress | typeof Affiliation | typeof BirthDay | typeof BirthMonth | typeof BirthYear | typeof BirthDate | typeof BirthPlace | typeof PersonName | typeof ProprietaryBoolean | typeof ProprietaryFloat | typeof ProprietaryInteger)[];
|
|
44
44
|
type TypeName = Identity.TypeName | Relationship.TypeName;
|
|
45
|
-
const TYPE_NAMES: ("City" | "Country" | "StreetAddress" | "DeliveryBoxAddress" | "PostOfficeBoxAddress" | "CommunicationLanguage" | "EMailAddress" | "Fax" | "Phone" | "Website" | "State" | "ZipCode" | "HouseNumber" | "Street" | "AffiliationOrganization" | "AffiliationRole" | "AffiliationUnit" | "Affiliation" | "BirthCity" | "BirthCountry" | "BirthDay" | "BirthMonth" | "BirthYear" | "BirthDate" | "BirthState" | "BirthPlace" | "DisplayName" | "FileReference" | "BirthName" | "GivenName" | "PersonName" | "Pseudonym" | "Citizenship" | "JobTitle" | "Nationality" | "Sex" | "ProprietaryBoolean" | "ProprietaryCountry" | "ProprietaryEMailAddress" | "ProprietaryFileReference" | "ProprietaryFloat" | "ProprietaryHEXColor" | "ProprietaryInteger" | "ProprietaryLanguage" | "ProprietaryPhoneNumber" | "ProprietaryString" | "ProprietaryURL")[];
|
|
45
|
+
const TYPE_NAMES: ("City" | "Country" | "StreetAddress" | "DeliveryBoxAddress" | "PostOfficeBoxAddress" | "CommunicationLanguage" | "EMailAddress" | "Fax" | "Phone" | "Website" | "State" | "ZipCode" | "HouseNumber" | "Street" | "AffiliationOrganization" | "AffiliationRole" | "AffiliationUnit" | "Affiliation" | "BirthCity" | "BirthCountry" | "BirthDay" | "BirthMonth" | "BirthYear" | "BirthDate" | "BirthState" | "BirthPlace" | "DisplayName" | "FileReference" | "BirthName" | "GivenName" | "HonorificPrefix" | "HonorificSuffix" | "MiddleName" | "Surname" | "PersonName" | "Pseudonym" | "Citizenship" | "JobTitle" | "Nationality" | "Sex" | "ProprietaryBoolean" | "ProprietaryCountry" | "ProprietaryEMailAddress" | "ProprietaryFileReference" | "ProprietaryFloat" | "ProprietaryHEXColor" | "ProprietaryInteger" | "ProprietaryLanguage" | "ProprietaryPhoneNumber" | "ProprietaryString" | "ProprietaryURL")[];
|
|
46
46
|
const TYPE_NAMES_STRINGIFIED: string;
|
|
47
47
|
}
|
|
@@ -4,8 +4,6 @@ exports.AttributeValues = void 0;
|
|
|
4
4
|
const transport_1 = require("@nmshd/transport");
|
|
5
5
|
const types_1 = require("./types");
|
|
6
6
|
// ################################################ Editable Identity Attribute Value Types ###################################################################
|
|
7
|
-
// mögliche Verbesserungen:
|
|
8
|
-
// - implementierte Interfaces rausziehen?
|
|
9
7
|
var AttributeValues;
|
|
10
8
|
(function (AttributeValues) {
|
|
11
9
|
let Identity;
|
|
@@ -13,60 +11,54 @@ var AttributeValues;
|
|
|
13
11
|
let Editable;
|
|
14
12
|
(function (Editable) {
|
|
15
13
|
Editable.CLASSES = [
|
|
16
|
-
types_1.DeliveryBoxAddress,
|
|
17
|
-
types_1.PostOfficeBoxAddress,
|
|
18
|
-
types_1.StreetAddress,
|
|
19
14
|
types_1.Affiliation,
|
|
20
|
-
types_1.BirthPlace,
|
|
21
15
|
types_1.BirthDate,
|
|
16
|
+
types_1.BirthName,
|
|
17
|
+
types_1.BirthPlace,
|
|
18
|
+
types_1.Citizenship,
|
|
22
19
|
types_1.CommunicationLanguage,
|
|
20
|
+
types_1.DeliveryBoxAddress,
|
|
21
|
+
types_1.DisplayName,
|
|
23
22
|
types_1.EMailAddress,
|
|
24
23
|
types_1.Fax,
|
|
25
|
-
types_1.Phone,
|
|
26
|
-
types_1.Website,
|
|
27
|
-
types_1.DisplayName,
|
|
28
24
|
transport_1.FileReference,
|
|
29
|
-
types_1.BirthName,
|
|
30
|
-
types_1.PersonName,
|
|
31
|
-
types_1.Pseudonym,
|
|
32
|
-
types_1.Citizenship,
|
|
33
25
|
types_1.JobTitle,
|
|
34
26
|
types_1.Nationality,
|
|
35
|
-
types_1.
|
|
27
|
+
types_1.PersonName,
|
|
28
|
+
types_1.Phone,
|
|
29
|
+
types_1.PostOfficeBoxAddress,
|
|
30
|
+
types_1.Pseudonym,
|
|
31
|
+
types_1.Sex,
|
|
32
|
+
types_1.StreetAddress,
|
|
33
|
+
types_1.Website
|
|
36
34
|
];
|
|
37
35
|
Editable.TYPE_NAMES = [
|
|
38
|
-
"DeliveryBoxAddress",
|
|
39
|
-
"PostOfficeBoxAddress",
|
|
40
|
-
"StreetAddress",
|
|
41
36
|
"Affiliation",
|
|
42
|
-
"BirthPlace",
|
|
43
37
|
"BirthDate",
|
|
38
|
+
"BirthName",
|
|
39
|
+
"BirthPlace",
|
|
40
|
+
"Citizenship",
|
|
44
41
|
"CommunicationLanguage",
|
|
42
|
+
"DeliveryBoxAddress",
|
|
43
|
+
"DisplayName",
|
|
45
44
|
"EMailAddress",
|
|
46
45
|
"Fax",
|
|
47
|
-
"Phone",
|
|
48
|
-
"Website",
|
|
49
|
-
"DisplayName",
|
|
50
46
|
"FileReference",
|
|
51
|
-
"BirthName",
|
|
52
|
-
"PersonName",
|
|
53
|
-
"Pseudonym",
|
|
54
|
-
"Citizenship",
|
|
55
47
|
"JobTitle",
|
|
56
48
|
"Nationality",
|
|
57
|
-
"
|
|
49
|
+
"PersonName",
|
|
50
|
+
"Phone",
|
|
51
|
+
"PostOfficeBoxAddress",
|
|
52
|
+
"Pseudonym",
|
|
53
|
+
"Sex",
|
|
54
|
+
"StreetAddress",
|
|
55
|
+
"Website"
|
|
58
56
|
];
|
|
59
57
|
Editable.TYPE_NAMES_STRINGIFIED = JSON.stringify(Editable.TYPE_NAMES);
|
|
60
58
|
})(Editable = Identity.Editable || (Identity.Editable = {}));
|
|
61
59
|
let Uneditable;
|
|
62
60
|
(function (Uneditable) {
|
|
63
61
|
Uneditable.CLASSES = [
|
|
64
|
-
types_1.City,
|
|
65
|
-
types_1.Country,
|
|
66
|
-
types_1.HouseNumber,
|
|
67
|
-
types_1.State,
|
|
68
|
-
types_1.Street,
|
|
69
|
-
types_1.ZipCode,
|
|
70
62
|
types_1.AffiliationOrganization,
|
|
71
63
|
types_1.AffiliationRole,
|
|
72
64
|
types_1.AffiliationUnit,
|
|
@@ -76,15 +68,19 @@ var AttributeValues;
|
|
|
76
68
|
types_1.BirthMonth,
|
|
77
69
|
types_1.BirthState,
|
|
78
70
|
types_1.BirthYear,
|
|
79
|
-
types_1.
|
|
71
|
+
types_1.City,
|
|
72
|
+
types_1.Country,
|
|
73
|
+
types_1.GivenName,
|
|
74
|
+
types_1.HonorificPrefix,
|
|
75
|
+
types_1.HonorificSuffix,
|
|
76
|
+
types_1.HouseNumber,
|
|
77
|
+
types_1.MiddleName,
|
|
78
|
+
types_1.State,
|
|
79
|
+
types_1.Street,
|
|
80
|
+
types_1.Surname,
|
|
81
|
+
types_1.ZipCode
|
|
80
82
|
];
|
|
81
83
|
Uneditable.TYPE_NAMES = [
|
|
82
|
-
"City",
|
|
83
|
-
"Country",
|
|
84
|
-
"HouseNumber",
|
|
85
|
-
"State",
|
|
86
|
-
"Street",
|
|
87
|
-
"ZipCode",
|
|
88
84
|
"AffiliationOrganization",
|
|
89
85
|
"AffiliationRole",
|
|
90
86
|
"AffiliationUnit",
|
|
@@ -94,7 +90,17 @@ var AttributeValues;
|
|
|
94
90
|
"BirthMonth",
|
|
95
91
|
"BirthState",
|
|
96
92
|
"BirthYear",
|
|
97
|
-
"
|
|
93
|
+
"City",
|
|
94
|
+
"Country",
|
|
95
|
+
"GivenName",
|
|
96
|
+
"HonorificPrefix",
|
|
97
|
+
"HonorificSuffix",
|
|
98
|
+
"HouseNumber",
|
|
99
|
+
"MiddleName",
|
|
100
|
+
"State",
|
|
101
|
+
"Street",
|
|
102
|
+
"Surname",
|
|
103
|
+
"ZipCode"
|
|
98
104
|
];
|
|
99
105
|
Uneditable.TYPE_NAMES_STRINGIFIED = JSON.stringify(Uneditable.TYPE_NAMES);
|
|
100
106
|
})(Uneditable = Identity.Uneditable || (Identity.Uneditable = {}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AttributeValueTypes.js","sourceRoot":"","sources":["../../src/attributes/AttributeValueTypes.ts"],"names":[],"mappings":";;;AAAA,gDAAgE;AAChE,
|
|
1
|
+
{"version":3,"file":"AttributeValueTypes.js","sourceRoot":"","sources":["../../src/attributes/AttributeValueTypes.ts"],"names":[],"mappings":"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"}
|
|
@@ -1,3 +1,10 @@
|
|
|
1
|
-
import { AbstractString } from "../AbstractString";
|
|
2
|
-
export
|
|
1
|
+
import { AbstractString, IAbstractString, IAbstractStringJSON } from "../AbstractString";
|
|
2
|
+
export interface HonorificPrefixJSON extends IAbstractStringJSON {
|
|
3
|
+
"@type": "HonorificPrefix";
|
|
4
|
+
}
|
|
5
|
+
export interface IHonorificPrefix extends IAbstractString {
|
|
6
|
+
}
|
|
7
|
+
export declare class HonorificPrefix extends AbstractString implements HonorificPrefix {
|
|
8
|
+
static from(value: HonorificPrefix | HonorificPrefixJSON | string): HonorificPrefix;
|
|
9
|
+
toJSON(verbose?: boolean | undefined, serializeAsString?: boolean | undefined): HonorificPrefixJSON;
|
|
3
10
|
}
|
|
@@ -10,6 +10,12 @@ exports.HonorificPrefix = void 0;
|
|
|
10
10
|
const ts_serval_1 = require("@js-soft/ts-serval");
|
|
11
11
|
const AbstractString_1 = require("../AbstractString");
|
|
12
12
|
let HonorificPrefix = class HonorificPrefix extends AbstractString_1.AbstractString {
|
|
13
|
+
static from(value) {
|
|
14
|
+
return this.fromAny(value);
|
|
15
|
+
}
|
|
16
|
+
toJSON(verbose, serializeAsString) {
|
|
17
|
+
return super.toJSON(verbose, serializeAsString);
|
|
18
|
+
}
|
|
13
19
|
};
|
|
14
20
|
HonorificPrefix = __decorate([
|
|
15
21
|
(0, ts_serval_1.type)("HonorificPrefix")
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"HonorificPrefix.js","sourceRoot":"","sources":["../../../../src/attributes/types/name/HonorificPrefix.ts"],"names":[],"mappings":";;;;;;;;;AAAA,kDAAyC;AACzC,
|
|
1
|
+
{"version":3,"file":"HonorificPrefix.js","sourceRoot":"","sources":["../../../../src/attributes/types/name/HonorificPrefix.ts"],"names":[],"mappings":";;;;;;;;;AAAA,kDAAyC;AACzC,sDAAwF;AASjF,IAAM,eAAe,GAArB,MAAM,eAAgB,SAAQ,+BAAc;IACxC,MAAM,CAAC,IAAI,CAAC,KAAqD;QACpE,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAA;IAC9B,CAAC;IAEe,MAAM,CAClB,OAA6B,EAC7B,iBAAuC;QAEvC,OAAO,KAAK,CAAC,MAAM,CAAC,OAAO,EAAE,iBAAiB,CAAwB,CAAA;IAC1E,CAAC;CACJ,CAAA;AAXY,eAAe;IAD3B,IAAA,gBAAI,EAAC,iBAAiB,CAAC;GACX,eAAe,CAW3B;AAXY,0CAAe"}
|
|
@@ -1,3 +1,10 @@
|
|
|
1
|
-
import { AbstractString } from "../AbstractString";
|
|
2
|
-
export
|
|
1
|
+
import { AbstractString, IAbstractString, IAbstractStringJSON } from "../AbstractString";
|
|
2
|
+
export interface HonorificSuffixJSON extends IAbstractStringJSON {
|
|
3
|
+
"@type": "HonorificSuffix";
|
|
4
|
+
}
|
|
5
|
+
export interface IHonorificSuffix extends IAbstractString {
|
|
6
|
+
}
|
|
7
|
+
export declare class HonorificSuffix extends AbstractString implements IHonorificSuffix {
|
|
8
|
+
static from(value: IHonorificSuffix | HonorificSuffixJSON | string): HonorificSuffix;
|
|
9
|
+
toJSON(verbose?: boolean | undefined, serializeAsString?: boolean | undefined): HonorificSuffixJSON;
|
|
3
10
|
}
|
|
@@ -10,6 +10,12 @@ exports.HonorificSuffix = void 0;
|
|
|
10
10
|
const ts_serval_1 = require("@js-soft/ts-serval");
|
|
11
11
|
const AbstractString_1 = require("../AbstractString");
|
|
12
12
|
let HonorificSuffix = class HonorificSuffix extends AbstractString_1.AbstractString {
|
|
13
|
+
static from(value) {
|
|
14
|
+
return this.fromAny(value);
|
|
15
|
+
}
|
|
16
|
+
toJSON(verbose, serializeAsString) {
|
|
17
|
+
return super.toJSON(verbose, serializeAsString);
|
|
18
|
+
}
|
|
13
19
|
};
|
|
14
20
|
HonorificSuffix = __decorate([
|
|
15
21
|
(0, ts_serval_1.type)("HonorificSuffix")
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"HonorificSuffix.js","sourceRoot":"","sources":["../../../../src/attributes/types/name/HonorificSuffix.ts"],"names":[],"mappings":";;;;;;;;;AAAA,kDAAyC;AACzC,
|
|
1
|
+
{"version":3,"file":"HonorificSuffix.js","sourceRoot":"","sources":["../../../../src/attributes/types/name/HonorificSuffix.ts"],"names":[],"mappings":";;;;;;;;;AAAA,kDAAyC;AACzC,sDAAwF;AASjF,IAAM,eAAe,GAArB,MAAM,eAAgB,SAAQ,+BAAc;IACxC,MAAM,CAAC,IAAI,CAAC,KAAsD;QACrE,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAA;IAC9B,CAAC;IAEe,MAAM,CAClB,OAA6B,EAC7B,iBAAuC;QAEvC,OAAO,KAAK,CAAC,MAAM,CAAC,OAAO,EAAE,iBAAiB,CAAwB,CAAA;IAC1E,CAAC;CACJ,CAAA;AAXY,eAAe;IAD3B,IAAA,gBAAI,EAAC,iBAAiB,CAAC;GACX,eAAe,CAW3B;AAXY,0CAAe"}
|
|
@@ -1,3 +1,10 @@
|
|
|
1
|
-
import { AbstractString } from "../AbstractString";
|
|
2
|
-
export
|
|
1
|
+
import { AbstractString, IAbstractString, IAbstractStringJSON } from "../AbstractString";
|
|
2
|
+
export interface MiddleNameJSON extends IAbstractStringJSON {
|
|
3
|
+
"@type": "MiddleName";
|
|
4
|
+
}
|
|
5
|
+
export interface IMiddleName extends IAbstractString {
|
|
6
|
+
}
|
|
7
|
+
export declare class MiddleName extends AbstractString implements IMiddleName {
|
|
8
|
+
static from(value: IMiddleName | MiddleNameJSON | string): MiddleName;
|
|
9
|
+
toJSON(verbose?: boolean | undefined, serializeAsString?: boolean | undefined): MiddleNameJSON;
|
|
3
10
|
}
|
|
@@ -10,6 +10,12 @@ exports.MiddleName = void 0;
|
|
|
10
10
|
const ts_serval_1 = require("@js-soft/ts-serval");
|
|
11
11
|
const AbstractString_1 = require("../AbstractString");
|
|
12
12
|
let MiddleName = class MiddleName extends AbstractString_1.AbstractString {
|
|
13
|
+
static from(value) {
|
|
14
|
+
return this.fromAny(value);
|
|
15
|
+
}
|
|
16
|
+
toJSON(verbose, serializeAsString) {
|
|
17
|
+
return super.toJSON(verbose, serializeAsString);
|
|
18
|
+
}
|
|
13
19
|
};
|
|
14
20
|
MiddleName = __decorate([
|
|
15
21
|
(0, ts_serval_1.type)("MiddleName")
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MiddleName.js","sourceRoot":"","sources":["../../../../src/attributes/types/name/MiddleName.ts"],"names":[],"mappings":";;;;;;;;;AAAA,kDAAyC;AACzC,
|
|
1
|
+
{"version":3,"file":"MiddleName.js","sourceRoot":"","sources":["../../../../src/attributes/types/name/MiddleName.ts"],"names":[],"mappings":";;;;;;;;;AAAA,kDAAyC;AACzC,sDAAwF;AASjF,IAAM,UAAU,GAAhB,MAAM,UAAW,SAAQ,+BAAc;IACnC,MAAM,CAAC,IAAI,CAAC,KAA4C;QAC3D,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAA;IAC9B,CAAC;IAEe,MAAM,CAAC,OAA6B,EAAE,iBAAuC;QACzF,OAAO,KAAK,CAAC,MAAM,CAAC,OAAO,EAAE,iBAAiB,CAAmB,CAAA;IACrE,CAAC;CACJ,CAAA;AARY,UAAU;IADtB,IAAA,gBAAI,EAAC,YAAY,CAAC;GACN,UAAU,CAQtB;AARY,gCAAU"}
|
|
@@ -302,6 +302,13 @@ export declare class PersonName extends AbstractComplexValue implements IPersonN
|
|
|
302
302
|
[Symbol.toStringTag]: (path: import("easy-tsnameof").PathKey[]) => string;
|
|
303
303
|
}>;
|
|
304
304
|
middleName: {
|
|
305
|
+
toJSON: import("easy-tsnameof").PathHandlers<{
|
|
306
|
+
$path: (path: import("easy-tsnameof").PathKey[]) => string;
|
|
307
|
+
$rawPath: (path: import("easy-tsnameof").PathKey[]) => import("easy-tsnameof").PathKey[];
|
|
308
|
+
toString: (path: import("easy-tsnameof").PathKey[]) => () => string;
|
|
309
|
+
valueOf: (path: import("easy-tsnameof").PathKey[]) => () => string;
|
|
310
|
+
[Symbol.toStringTag]: (path: import("easy-tsnameof").PathKey[]) => string;
|
|
311
|
+
}>;
|
|
305
312
|
value: import("easy-tsnameof").PathHandlers<{
|
|
306
313
|
$path: (path: import("easy-tsnameof").PathKey[]) => string;
|
|
307
314
|
$rawPath: (path: import("easy-tsnameof").PathKey[]) => import("easy-tsnameof").PathKey[];
|
|
@@ -565,13 +572,6 @@ export declare class PersonName extends AbstractComplexValue implements IPersonN
|
|
|
565
572
|
valueOf: (path: import("easy-tsnameof").PathKey[]) => () => string;
|
|
566
573
|
[Symbol.toStringTag]: (path: import("easy-tsnameof").PathKey[]) => string;
|
|
567
574
|
}>;
|
|
568
|
-
toJSON: import("easy-tsnameof").PathHandlers<{
|
|
569
|
-
$path: (path: import("easy-tsnameof").PathKey[]) => string;
|
|
570
|
-
$rawPath: (path: import("easy-tsnameof").PathKey[]) => import("easy-tsnameof").PathKey[];
|
|
571
|
-
toString: (path: import("easy-tsnameof").PathKey[]) => () => string;
|
|
572
|
-
valueOf: (path: import("easy-tsnameof").PathKey[]) => () => string;
|
|
573
|
-
[Symbol.toStringTag]: (path: import("easy-tsnameof").PathKey[]) => string;
|
|
574
|
-
}>;
|
|
575
575
|
} & import("easy-tsnameof").PathHandlers<{
|
|
576
576
|
$path: (path: import("easy-tsnameof").PathKey[]) => string;
|
|
577
577
|
$rawPath: (path: import("easy-tsnameof").PathKey[]) => import("easy-tsnameof").PathKey[];
|
|
@@ -580,6 +580,13 @@ export declare class PersonName extends AbstractComplexValue implements IPersonN
|
|
|
580
580
|
[Symbol.toStringTag]: (path: import("easy-tsnameof").PathKey[]) => string;
|
|
581
581
|
}>;
|
|
582
582
|
surname: {
|
|
583
|
+
toJSON: import("easy-tsnameof").PathHandlers<{
|
|
584
|
+
$path: (path: import("easy-tsnameof").PathKey[]) => string;
|
|
585
|
+
$rawPath: (path: import("easy-tsnameof").PathKey[]) => import("easy-tsnameof").PathKey[];
|
|
586
|
+
toString: (path: import("easy-tsnameof").PathKey[]) => () => string;
|
|
587
|
+
valueOf: (path: import("easy-tsnameof").PathKey[]) => () => string;
|
|
588
|
+
[Symbol.toStringTag]: (path: import("easy-tsnameof").PathKey[]) => string;
|
|
589
|
+
}>;
|
|
583
590
|
value: import("easy-tsnameof").PathHandlers<{
|
|
584
591
|
$path: (path: import("easy-tsnameof").PathKey[]) => string;
|
|
585
592
|
$rawPath: (path: import("easy-tsnameof").PathKey[]) => import("easy-tsnameof").PathKey[];
|
|
@@ -843,13 +850,6 @@ export declare class PersonName extends AbstractComplexValue implements IPersonN
|
|
|
843
850
|
valueOf: (path: import("easy-tsnameof").PathKey[]) => () => string;
|
|
844
851
|
[Symbol.toStringTag]: (path: import("easy-tsnameof").PathKey[]) => string;
|
|
845
852
|
}>;
|
|
846
|
-
toJSON: import("easy-tsnameof").PathHandlers<{
|
|
847
|
-
$path: (path: import("easy-tsnameof").PathKey[]) => string;
|
|
848
|
-
$rawPath: (path: import("easy-tsnameof").PathKey[]) => import("easy-tsnameof").PathKey[];
|
|
849
|
-
toString: (path: import("easy-tsnameof").PathKey[]) => () => string;
|
|
850
|
-
valueOf: (path: import("easy-tsnameof").PathKey[]) => () => string;
|
|
851
|
-
[Symbol.toStringTag]: (path: import("easy-tsnameof").PathKey[]) => string;
|
|
852
|
-
}>;
|
|
853
853
|
} & import("easy-tsnameof").PathHandlers<{
|
|
854
854
|
$path: (path: import("easy-tsnameof").PathKey[]) => string;
|
|
855
855
|
$rawPath: (path: import("easy-tsnameof").PathKey[]) => import("easy-tsnameof").PathKey[];
|
|
@@ -858,6 +858,13 @@ export declare class PersonName extends AbstractComplexValue implements IPersonN
|
|
|
858
858
|
[Symbol.toStringTag]: (path: import("easy-tsnameof").PathKey[]) => string;
|
|
859
859
|
}>;
|
|
860
860
|
honorificSuffix: {
|
|
861
|
+
toJSON: import("easy-tsnameof").PathHandlers<{
|
|
862
|
+
$path: (path: import("easy-tsnameof").PathKey[]) => string;
|
|
863
|
+
$rawPath: (path: import("easy-tsnameof").PathKey[]) => import("easy-tsnameof").PathKey[];
|
|
864
|
+
toString: (path: import("easy-tsnameof").PathKey[]) => () => string;
|
|
865
|
+
valueOf: (path: import("easy-tsnameof").PathKey[]) => () => string;
|
|
866
|
+
[Symbol.toStringTag]: (path: import("easy-tsnameof").PathKey[]) => string;
|
|
867
|
+
}>;
|
|
861
868
|
value: import("easy-tsnameof").PathHandlers<{
|
|
862
869
|
$path: (path: import("easy-tsnameof").PathKey[]) => string;
|
|
863
870
|
$rawPath: (path: import("easy-tsnameof").PathKey[]) => import("easy-tsnameof").PathKey[];
|
|
@@ -1121,13 +1128,6 @@ export declare class PersonName extends AbstractComplexValue implements IPersonN
|
|
|
1121
1128
|
valueOf: (path: import("easy-tsnameof").PathKey[]) => () => string;
|
|
1122
1129
|
[Symbol.toStringTag]: (path: import("easy-tsnameof").PathKey[]) => string;
|
|
1123
1130
|
}>;
|
|
1124
|
-
toJSON: import("easy-tsnameof").PathHandlers<{
|
|
1125
|
-
$path: (path: import("easy-tsnameof").PathKey[]) => string;
|
|
1126
|
-
$rawPath: (path: import("easy-tsnameof").PathKey[]) => import("easy-tsnameof").PathKey[];
|
|
1127
|
-
toString: (path: import("easy-tsnameof").PathKey[]) => () => string;
|
|
1128
|
-
valueOf: (path: import("easy-tsnameof").PathKey[]) => () => string;
|
|
1129
|
-
[Symbol.toStringTag]: (path: import("easy-tsnameof").PathKey[]) => string;
|
|
1130
|
-
}>;
|
|
1131
1131
|
} & import("easy-tsnameof").PathHandlers<{
|
|
1132
1132
|
$path: (path: import("easy-tsnameof").PathKey[]) => string;
|
|
1133
1133
|
$rawPath: (path: import("easy-tsnameof").PathKey[]) => import("easy-tsnameof").PathKey[];
|
|
@@ -1136,6 +1136,13 @@ export declare class PersonName extends AbstractComplexValue implements IPersonN
|
|
|
1136
1136
|
[Symbol.toStringTag]: (path: import("easy-tsnameof").PathKey[]) => string;
|
|
1137
1137
|
}>;
|
|
1138
1138
|
honorificPrefix: {
|
|
1139
|
+
toJSON: import("easy-tsnameof").PathHandlers<{
|
|
1140
|
+
$path: (path: import("easy-tsnameof").PathKey[]) => string;
|
|
1141
|
+
$rawPath: (path: import("easy-tsnameof").PathKey[]) => import("easy-tsnameof").PathKey[];
|
|
1142
|
+
toString: (path: import("easy-tsnameof").PathKey[]) => () => string;
|
|
1143
|
+
valueOf: (path: import("easy-tsnameof").PathKey[]) => () => string;
|
|
1144
|
+
[Symbol.toStringTag]: (path: import("easy-tsnameof").PathKey[]) => string;
|
|
1145
|
+
}>;
|
|
1139
1146
|
value: import("easy-tsnameof").PathHandlers<{
|
|
1140
1147
|
$path: (path: import("easy-tsnameof").PathKey[]) => string;
|
|
1141
1148
|
$rawPath: (path: import("easy-tsnameof").PathKey[]) => import("easy-tsnameof").PathKey[];
|
|
@@ -1399,13 +1406,6 @@ export declare class PersonName extends AbstractComplexValue implements IPersonN
|
|
|
1399
1406
|
valueOf: (path: import("easy-tsnameof").PathKey[]) => () => string;
|
|
1400
1407
|
[Symbol.toStringTag]: (path: import("easy-tsnameof").PathKey[]) => string;
|
|
1401
1408
|
}>;
|
|
1402
|
-
toJSON: import("easy-tsnameof").PathHandlers<{
|
|
1403
|
-
$path: (path: import("easy-tsnameof").PathKey[]) => string;
|
|
1404
|
-
$rawPath: (path: import("easy-tsnameof").PathKey[]) => import("easy-tsnameof").PathKey[];
|
|
1405
|
-
toString: (path: import("easy-tsnameof").PathKey[]) => () => string;
|
|
1406
|
-
valueOf: (path: import("easy-tsnameof").PathKey[]) => () => string;
|
|
1407
|
-
[Symbol.toStringTag]: (path: import("easy-tsnameof").PathKey[]) => string;
|
|
1408
|
-
}>;
|
|
1409
1409
|
} & import("easy-tsnameof").PathHandlers<{
|
|
1410
1410
|
$path: (path: import("easy-tsnameof").PathKey[]) => string;
|
|
1411
1411
|
$rawPath: (path: import("easy-tsnameof").PathKey[]) => import("easy-tsnameof").PathKey[];
|
|
@@ -1,3 +1,10 @@
|
|
|
1
|
-
import { AbstractString } from "../AbstractString";
|
|
2
|
-
export
|
|
1
|
+
import { AbstractString, IAbstractString, IAbstractStringJSON } from "../AbstractString";
|
|
2
|
+
export interface SurnameJSON extends IAbstractStringJSON {
|
|
3
|
+
"@type": "Surname";
|
|
4
|
+
}
|
|
5
|
+
export interface ISurname extends IAbstractString {
|
|
6
|
+
}
|
|
7
|
+
export declare class Surname extends AbstractString implements ISurname {
|
|
8
|
+
static from(value: ISurname | SurnameJSON | string): Surname;
|
|
9
|
+
toJSON(verbose?: boolean | undefined, serializeAsString?: boolean | undefined): SurnameJSON;
|
|
3
10
|
}
|
|
@@ -10,6 +10,12 @@ exports.Surname = void 0;
|
|
|
10
10
|
const ts_serval_1 = require("@js-soft/ts-serval");
|
|
11
11
|
const AbstractString_1 = require("../AbstractString");
|
|
12
12
|
let Surname = class Surname extends AbstractString_1.AbstractString {
|
|
13
|
+
static from(value) {
|
|
14
|
+
return this.fromAny(value);
|
|
15
|
+
}
|
|
16
|
+
toJSON(verbose, serializeAsString) {
|
|
17
|
+
return super.toJSON(verbose, serializeAsString);
|
|
18
|
+
}
|
|
13
19
|
};
|
|
14
20
|
Surname = __decorate([
|
|
15
21
|
(0, ts_serval_1.type)("Surname")
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Surname.js","sourceRoot":"","sources":["../../../../src/attributes/types/name/Surname.ts"],"names":[],"mappings":";;;;;;;;;AAAA,kDAAyC;AACzC,
|
|
1
|
+
{"version":3,"file":"Surname.js","sourceRoot":"","sources":["../../../../src/attributes/types/name/Surname.ts"],"names":[],"mappings":";;;;;;;;;AAAA,kDAAyC;AACzC,sDAAwF;AASjF,IAAM,OAAO,GAAb,MAAM,OAAQ,SAAQ,+BAAc;IAChC,MAAM,CAAC,IAAI,CAAC,KAAsC;QACrD,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAA;IAC9B,CAAC;IAEe,MAAM,CAAC,OAA6B,EAAE,iBAAuC;QACzF,OAAO,KAAK,CAAC,MAAM,CAAC,OAAO,EAAE,iBAAiB,CAAgB,CAAA;IAClE,CAAC;CACJ,CAAA;AARY,OAAO;IADnB,IAAA,gBAAI,EAAC,SAAS,CAAC;GACH,OAAO,CAQnB;AARY,0BAAO"}
|
package/dist/buildInformation.js
CHANGED
|
@@ -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.
|
|
9
|
-
build: "
|
|
10
|
-
date: "2022-09-
|
|
11
|
-
commit: "
|
|
8
|
+
version: "2.0.0-beta.31",
|
|
9
|
+
build: "108",
|
|
10
|
+
date: "2022-09-28T14:10:21+00:00",
|
|
11
|
+
commit: "51f7fd590527cb46a0926da904f581e79de04845",
|
|
12
12
|
dependencies: {"@js-soft/logging-abstractions":"^1.0.0","easy-tsnameof":"^3.0.6","mocha-param":"^2.0.1"},
|
|
13
13
|
libraries: {
|
|
14
14
|
serval: ts_serval_1.buildInformation,
|