@nmshd/content 2.0.0-beta.3 → 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/AbstractAttribute.js.map +1 -1
- package/dist/attributes/AbstractAttributeQuery.d.ts +0 -3
- package/dist/attributes/AbstractAttributeQuery.js +0 -7
- package/dist/attributes/AbstractAttributeQuery.js.map +1 -1
- package/dist/attributes/Attribute.d.ts +2 -2
- package/dist/attributes/Attribute.js +0 -8
- package/dist/attributes/Attribute.js.map +1 -1
- package/dist/attributes/AttributeValueTypes.d.ts +47 -0
- package/dist/attributes/AttributeValueTypes.js +145 -0
- package/dist/attributes/AttributeValueTypes.js.map +1 -0
- package/dist/attributes/IdentityAttribute.d.ts +7 -6
- package/dist/attributes/IdentityAttribute.js +4 -4
- package/dist/attributes/IdentityAttribute.js.map +1 -1
- package/dist/attributes/IdentityAttributeQuery.d.ts +6 -1
- package/dist/attributes/IdentityAttributeQuery.js +12 -2
- package/dist/attributes/IdentityAttributeQuery.js.map +1 -1
- package/dist/attributes/RelationshipAttribute.d.ts +8 -36
- package/dist/attributes/RelationshipAttribute.js +8 -38
- package/dist/attributes/RelationshipAttribute.js.map +1 -1
- package/dist/attributes/RelationshipAttributeConfidentiality.d.ts +30 -0
- package/dist/attributes/RelationshipAttributeConfidentiality.js +35 -0
- package/dist/attributes/RelationshipAttributeConfidentiality.js.map +1 -0
- package/dist/attributes/RelationshipAttributeQuery.d.ts +37 -5
- package/dist/attributes/RelationshipAttributeQuery.js +64 -10
- package/dist/attributes/RelationshipAttributeQuery.js.map +1 -1
- package/dist/attributes/ThirdPartyRelationshipAttributeQuery.d.ts +20 -0
- package/dist/attributes/ThirdPartyRelationshipAttributeQuery.js +43 -0
- package/dist/attributes/ThirdPartyRelationshipAttributeQuery.js.map +1 -0
- package/dist/attributes/constants/AttributeValueTypeQueryMapping.d.ts +1 -0
- package/dist/attributes/constants/AttributeValueTypeQueryMapping.js +7 -0
- package/dist/attributes/constants/AttributeValueTypeQueryMapping.js.map +1 -0
- package/dist/attributes/constants/index.d.ts +1 -0
- package/dist/attributes/constants/index.js +1 -0
- package/dist/attributes/constants/index.js.map +1 -1
- package/dist/attributes/hints/RenderHints.d.ts +2 -1
- package/dist/attributes/hints/RenderHints.js.map +1 -1
- package/dist/attributes/hints/ValueHints.d.ts +1 -0
- package/dist/attributes/hints/ValueHints.js.map +1 -1
- package/dist/attributes/hints/ValueHintsValue.js.map +1 -1
- package/dist/attributes/hints/index.d.ts +0 -1
- package/dist/attributes/hints/index.js +0 -1
- package/dist/attributes/hints/index.js.map +1 -1
- package/dist/attributes/index.d.ts +3 -0
- package/dist/attributes/index.js +3 -0
- package/dist/attributes/index.js.map +1 -1
- package/dist/attributes/types/AbstractBoolean.js.map +1 -1
- package/dist/attributes/types/AbstractFloat.js.map +1 -1
- package/dist/attributes/types/AbstractInteger.d.ts +0 -1
- package/dist/attributes/types/AbstractInteger.js +0 -3
- package/dist/attributes/types/AbstractInteger.js.map +1 -1
- package/dist/attributes/types/AbstractString.js +2 -2
- package/dist/attributes/types/AbstractString.js.map +1 -1
- package/dist/attributes/types/address/AbstractAddress.js.map +1 -1
- package/dist/attributes/types/address/City.d.ts +8 -2
- package/dist/attributes/types/address/City.js +3 -0
- package/dist/attributes/types/address/City.js.map +1 -1
- package/dist/attributes/types/address/Country.d.ts +9 -2
- package/dist/attributes/types/address/Country.js +5 -2
- package/dist/attributes/types/address/Country.js.map +1 -1
- package/dist/attributes/types/address/DeliveryBoxAddress.d.ts +15 -14
- package/dist/attributes/types/address/DeliveryBoxAddress.js.map +1 -1
- package/dist/attributes/types/address/HouseNumber.d.ts +9 -2
- package/dist/attributes/types/address/HouseNumber.js +6 -0
- package/dist/attributes/types/address/HouseNumber.js.map +1 -1
- package/dist/attributes/types/address/PostOfficeBoxAddress.d.ts +8 -7
- package/dist/attributes/types/address/PostOfficeBoxAddress.js.map +1 -1
- package/dist/attributes/types/address/State.d.ts +8 -2
- package/dist/attributes/types/address/State.js +3 -0
- package/dist/attributes/types/address/State.js.map +1 -1
- package/dist/attributes/types/address/Street.d.ts +9 -2
- package/dist/attributes/types/address/Street.js +6 -0
- package/dist/attributes/types/address/Street.js.map +1 -1
- package/dist/attributes/types/address/StreetAddress.d.ts +22 -21
- package/dist/attributes/types/address/StreetAddress.js.map +1 -1
- package/dist/attributes/types/address/ZipCode.d.ts +9 -2
- package/dist/attributes/types/address/ZipCode.js +6 -0
- package/dist/attributes/types/address/ZipCode.js.map +1 -1
- package/dist/attributes/types/{name/LegalNameDE.d.ts → affiliation/Affiliation.d.ts} +35 -604
- package/dist/attributes/types/affiliation/Affiliation.js +77 -0
- package/dist/attributes/types/affiliation/Affiliation.js.map +1 -0
- package/dist/attributes/types/affiliation/AffiliationOrganization.d.ts +10 -0
- package/dist/attributes/types/affiliation/AffiliationOrganization.js +24 -0
- package/dist/attributes/types/affiliation/AffiliationOrganization.js.map +1 -0
- package/dist/attributes/types/affiliation/AffiliationRole.d.ts +10 -0
- package/dist/attributes/types/affiliation/AffiliationRole.js +24 -0
- package/dist/attributes/types/affiliation/AffiliationRole.js.map +1 -0
- package/dist/attributes/types/affiliation/AffiliationUnit.d.ts +10 -0
- package/dist/attributes/types/affiliation/AffiliationUnit.js +24 -0
- package/dist/attributes/types/affiliation/AffiliationUnit.js.map +1 -0
- package/dist/attributes/types/affiliation/index.d.ts +4 -0
- package/dist/attributes/types/affiliation/index.js +21 -0
- package/dist/attributes/types/affiliation/index.js.map +1 -0
- package/dist/attributes/types/birth/BirthCity.d.ts +9 -2
- package/dist/attributes/types/birth/BirthCity.js +8 -2
- package/dist/attributes/types/birth/BirthCity.js.map +1 -1
- package/dist/attributes/types/birth/BirthCountry.d.ts +9 -2
- package/dist/attributes/types/birth/BirthCountry.js +8 -2
- package/dist/attributes/types/birth/BirthCountry.js.map +1 -1
- package/dist/attributes/types/birth/BirthDate.d.ts +22 -21
- package/dist/attributes/types/birth/BirthDate.js.map +1 -1
- package/dist/attributes/types/birth/BirthDay.d.ts +9 -2
- package/dist/attributes/types/birth/BirthDay.js +8 -2
- package/dist/attributes/types/birth/BirthDay.js.map +1 -1
- package/dist/attributes/types/birth/BirthMonth.d.ts +9 -2
- package/dist/attributes/types/birth/BirthMonth.js +6 -0
- package/dist/attributes/types/birth/BirthMonth.js.map +1 -1
- package/dist/attributes/types/birth/BirthPlace.d.ts +22 -21
- package/dist/attributes/types/birth/BirthPlace.js.map +1 -1
- package/dist/attributes/types/birth/BirthState.d.ts +9 -2
- package/dist/attributes/types/birth/BirthState.js +8 -2
- package/dist/attributes/types/birth/BirthState.js.map +1 -1
- package/dist/attributes/types/birth/BirthYear.d.ts +10 -2
- package/dist/attributes/types/birth/BirthYear.js +8 -2
- package/dist/attributes/types/birth/BirthYear.js.map +1 -1
- package/dist/attributes/types/communication/CommunicationLanguage.d.ts +9 -1
- package/dist/attributes/types/communication/CommunicationLanguage.js +6 -0
- package/dist/attributes/types/communication/CommunicationLanguage.js.map +1 -1
- package/dist/attributes/types/communication/EMailAddress.d.ts +9 -1
- package/dist/attributes/types/communication/EMailAddress.js +6 -0
- package/dist/attributes/types/communication/EMailAddress.js.map +1 -1
- package/dist/attributes/types/communication/Fax.d.ts +10 -2
- package/dist/attributes/types/communication/Fax.js +8 -2
- package/dist/attributes/types/communication/Fax.js.map +1 -1
- package/dist/attributes/types/communication/Phone.d.ts +10 -2
- package/dist/attributes/types/communication/Phone.js +8 -2
- package/dist/attributes/types/communication/Phone.js.map +1 -1
- package/dist/attributes/types/communication/Website.d.ts +9 -1
- package/dist/attributes/types/communication/Website.js +6 -0
- package/dist/attributes/types/communication/Website.js.map +1 -1
- package/dist/attributes/types/dates/AbstractDateString.js.map +1 -1
- package/dist/attributes/types/dates/AbstractDay.d.ts +8 -1
- package/dist/attributes/types/dates/AbstractDay.js.map +1 -1
- package/dist/attributes/types/dates/AbstractMonth.d.ts +8 -1
- package/dist/attributes/types/dates/AbstractMonth.js.map +1 -1
- package/dist/attributes/types/dates/AbstractYear.js.map +1 -1
- package/dist/attributes/types/identity/DisplayName.d.ts +10 -0
- package/dist/attributes/types/{name → identity}/DisplayName.js +6 -0
- package/dist/attributes/types/identity/DisplayName.js.map +1 -0
- package/dist/attributes/types/identity/FileReference.d.ts +11 -0
- package/dist/attributes/types/{files → identity}/FileReference.js +6 -0
- package/dist/attributes/types/identity/FileReference.js.map +1 -0
- package/dist/attributes/types/{files → identity}/index.d.ts +1 -0
- package/dist/attributes/types/{files → identity}/index.js +1 -0
- package/dist/attributes/types/identity/index.js.map +1 -0
- package/dist/attributes/types/index.d.ts +2 -3
- package/dist/attributes/types/index.js +2 -3
- package/dist/attributes/types/index.js.map +1 -1
- package/dist/attributes/types/measurements/AbstractLengthMeasurement.js.map +1 -1
- package/dist/attributes/types/measurements/AbstractMeasurement.js.map +1 -1
- package/dist/attributes/types/name/BirthName.d.ts +9 -2
- package/dist/attributes/types/name/BirthName.js +6 -0
- package/dist/attributes/types/name/BirthName.js.map +1 -1
- package/dist/attributes/types/name/GivenName.d.ts +9 -2
- package/dist/attributes/types/name/GivenName.js +6 -0
- package/dist/attributes/types/name/GivenName.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 +10 -0
- package/dist/attributes/types/name/MiddleName.js +24 -0
- package/dist/attributes/types/name/MiddleName.js.map +1 -0
- package/dist/attributes/types/name/{Salutation.d.ts → PersonName.d.ts} +52 -57
- package/dist/attributes/types/name/{Salutation.js → PersonName.js} +32 -23
- package/dist/attributes/types/name/PersonName.js.map +1 -0
- package/dist/attributes/types/name/Pseudonym.d.ts +9 -2
- package/dist/attributes/types/name/Pseudonym.js +6 -0
- package/dist/attributes/types/name/Pseudonym.js.map +1 -1
- 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/attributes/types/name/index.d.ts +2 -4
- package/dist/attributes/types/name/index.js +2 -4
- package/dist/attributes/types/name/index.js.map +1 -1
- package/dist/attributes/types/person/Citizenship.d.ts +10 -2
- package/dist/attributes/types/person/Citizenship.js +8 -2
- package/dist/attributes/types/person/Citizenship.js.map +1 -1
- package/dist/attributes/types/person/JobTitle.d.ts +10 -0
- package/dist/attributes/types/person/{Picture.js → JobTitle.js} +14 -8
- package/dist/attributes/types/person/JobTitle.js.map +1 -0
- package/dist/attributes/types/person/Nationality.d.ts +10 -2
- package/dist/attributes/types/person/Nationality.js +8 -2
- package/dist/attributes/types/person/Nationality.js.map +1 -1
- package/dist/attributes/types/person/Sex.d.ts +10 -3
- package/dist/attributes/types/person/Sex.js +8 -2
- package/dist/attributes/types/person/Sex.js.map +1 -1
- package/dist/attributes/types/person/index.d.ts +1 -2
- package/dist/attributes/types/person/index.js +1 -2
- package/dist/attributes/types/person/index.js.map +1 -1
- package/dist/attributes/types/proprietary/ProprietaryBoolean.d.ts +4 -1
- package/dist/attributes/types/proprietary/ProprietaryBoolean.js +6 -0
- package/dist/attributes/types/proprietary/ProprietaryBoolean.js.map +1 -1
- package/dist/attributes/types/proprietary/ProprietaryCountry.d.ts +3 -0
- package/dist/attributes/types/proprietary/ProprietaryCountry.js +6 -0
- package/dist/attributes/types/proprietary/ProprietaryCountry.js.map +1 -1
- package/dist/attributes/types/proprietary/ProprietaryEMailAddress.d.ts +3 -0
- package/dist/attributes/types/proprietary/ProprietaryEMailAddress.js +6 -0
- package/dist/attributes/types/proprietary/ProprietaryEMailAddress.js.map +1 -1
- package/dist/attributes/types/proprietary/ProprietaryFileReference.d.ts +3 -0
- package/dist/attributes/types/proprietary/ProprietaryFileReference.js +6 -0
- package/dist/attributes/types/proprietary/ProprietaryFileReference.js.map +1 -1
- package/dist/attributes/types/proprietary/ProprietaryFloat.d.ts +3 -0
- package/dist/attributes/types/proprietary/ProprietaryFloat.js +6 -0
- package/dist/attributes/types/proprietary/ProprietaryFloat.js.map +1 -1
- package/dist/attributes/types/proprietary/ProprietaryHEXColor.d.ts +3 -0
- package/dist/attributes/types/proprietary/ProprietaryHEXColor.js +6 -0
- package/dist/attributes/types/proprietary/ProprietaryHEXColor.js.map +1 -1
- package/dist/attributes/types/proprietary/ProprietaryInteger.d.ts +3 -1
- package/dist/attributes/types/proprietary/ProprietaryInteger.js +3 -0
- package/dist/attributes/types/proprietary/ProprietaryInteger.js.map +1 -1
- package/dist/attributes/types/proprietary/ProprietaryLanguage.d.ts +3 -0
- package/dist/attributes/types/proprietary/ProprietaryLanguage.js +6 -0
- package/dist/attributes/types/proprietary/ProprietaryLanguage.js.map +1 -1
- package/dist/attributes/types/proprietary/ProprietaryPhoneNumber.d.ts +3 -0
- package/dist/attributes/types/proprietary/ProprietaryPhoneNumber.js +6 -0
- package/dist/attributes/types/proprietary/ProprietaryPhoneNumber.js.map +1 -1
- package/dist/attributes/types/proprietary/ProprietaryString.d.ts +3 -0
- package/dist/attributes/types/proprietary/ProprietaryString.js +6 -0
- package/dist/attributes/types/proprietary/ProprietaryString.js.map +1 -1
- package/dist/attributes/types/proprietary/ProprietaryURL.d.ts +3 -0
- package/dist/attributes/types/proprietary/ProprietaryURL.js +6 -0
- package/dist/attributes/types/proprietary/ProprietaryURL.js.map +1 -1
- package/dist/attributes/types/proprietary/index.d.ts +0 -1
- package/dist/attributes/types/proprietary/index.js +0 -1
- package/dist/attributes/types/proprietary/index.js.map +1 -1
- package/dist/attributes/types/strings/AbstractCountry.js.map +1 -1
- package/dist/attributes/types/strings/AbstractEMailAddress.js +2 -2
- package/dist/attributes/types/strings/AbstractEMailAddress.js.map +1 -1
- package/dist/attributes/types/strings/AbstractFileReference.js.map +1 -1
- package/dist/attributes/types/strings/AbstractHEXColor.js.map +1 -1
- package/dist/attributes/types/strings/AbstractLanguage.js.map +1 -1
- package/dist/attributes/types/strings/AbstractPhoneNumber.js.map +1 -1
- package/dist/attributes/types/strings/AbstractURL.js.map +1 -1
- package/dist/attributes/types/strings/index.d.ts +0 -1
- package/dist/attributes/types/strings/index.js +0 -1
- package/dist/attributes/types/strings/index.js.map +1 -1
- package/dist/buildInformation.js +5 -5
- package/dist/forms/Form.d.ts +1 -0
- package/dist/forms/Form.js.map +1 -1
- package/dist/forms/FormItem.js.map +1 -1
- package/dist/forms/items/FormItemBoolean.d.ts +1 -0
- package/dist/forms/items/FormItemBoolean.js.map +1 -1
- package/dist/forms/items/FormItemDate.d.ts +1 -0
- package/dist/forms/items/FormItemDate.js.map +1 -1
- package/dist/forms/items/FormItemInvisible.js.map +1 -1
- package/dist/forms/items/FormItemMultipleChoice.d.ts +1 -0
- package/dist/forms/items/FormItemMultipleChoice.js.map +1 -1
- package/dist/forms/items/FormItemMultipleChoiceItem.d.ts +1 -0
- package/dist/forms/items/FormItemMultipleChoiceItem.js.map +1 -1
- package/dist/forms/items/FormItemSelect.d.ts +1 -0
- package/dist/forms/items/FormItemSelect.js.map +1 -1
- package/dist/forms/items/FormItemSelectItem.d.ts +1 -0
- package/dist/forms/items/FormItemSelectItem.js.map +1 -1
- package/dist/forms/items/FormItemString.d.ts +1 -0
- package/dist/forms/items/FormItemString.js.map +1 -1
- package/dist/forms/items/FormItemText.d.ts +1 -0
- package/dist/forms/items/FormItemText.js.map +1 -1
- package/dist/messages/Mail.d.ts +3 -2
- package/dist/messages/Mail.js +2 -8
- package/dist/messages/Mail.js.map +1 -1
- package/dist/messages/RequestMail.d.ts +21 -6
- package/dist/messages/RequestMail.js +24 -21
- package/dist/messages/RequestMail.js.map +1 -1
- package/dist/relationships/RelationshipCreationChangeRequestContent.d.ts +18 -0
- package/dist/relationships/{RelationshipCreationChangeRequestBody.js → RelationshipCreationChangeRequestContent.js} +12 -9
- package/dist/relationships/RelationshipCreationChangeRequestContent.js.map +1 -0
- package/dist/relationships/{RelationshipTemplateBody.d.ts → RelationshipTemplateContent.d.ts} +6 -4
- package/dist/relationships/{RelationshipTemplateBody.js → RelationshipTemplateContent.js} +14 -11
- package/dist/relationships/RelationshipTemplateContent.js.map +1 -0
- package/dist/relationships/index.d.ts +2 -2
- package/dist/relationships/index.js +2 -2
- package/dist/relationships/index.js.map +1 -1
- package/dist/requests/Request.d.ts +2 -1
- package/dist/requests/Request.js +2 -2
- package/dist/requests/Request.js.map +1 -1
- package/dist/requests/RequestItem.d.ts +18 -5
- package/dist/requests/RequestItem.js +7 -2
- package/dist/requests/RequestItem.js.map +1 -1
- package/dist/requests/RequestItemGroup.d.ts +4 -3
- package/dist/requests/RequestItemGroup.js +2 -2
- package/dist/requests/RequestItemGroup.js.map +1 -1
- package/dist/requests/items/authentication/AuthenticationRequestItem.d.ts +10 -0
- package/dist/requests/items/authentication/AuthenticationRequestItem.js +24 -0
- package/dist/requests/items/authentication/AuthenticationRequestItem.js.map +1 -0
- package/dist/requests/items/consent/ConsentRequestItem.d.ts +3 -4
- package/dist/requests/items/consent/ConsentRequestItem.js +8 -7
- package/dist/requests/items/consent/ConsentRequestItem.js.map +1 -1
- package/dist/requests/items/{createAttribute → createRelationshipAttribute}/CreateAttributeAcceptResponseItem.d.ts +2 -0
- package/dist/requests/items/{createAttribute → createRelationshipAttribute}/CreateAttributeAcceptResponseItem.js +3 -0
- package/dist/requests/items/createRelationshipAttribute/CreateAttributeAcceptResponseItem.js.map +1 -0
- package/dist/requests/items/{createAttribute → createRelationshipAttribute}/CreateAttributeRequestItem.d.ts +5 -7
- package/dist/requests/items/{createAttribute → createRelationshipAttribute}/CreateAttributeRequestItem.js +4 -7
- package/dist/requests/items/createRelationshipAttribute/CreateAttributeRequestItem.js.map +1 -0
- package/dist/requests/items/index.d.ts +6 -2
- package/dist/requests/items/index.js +6 -2
- package/dist/requests/items/index.js.map +1 -1
- package/dist/requests/items/proposeAttribute/ProposeAttributeAcceptResponseItem.d.ts +2 -0
- package/dist/requests/items/proposeAttribute/ProposeAttributeAcceptResponseItem.js +3 -0
- package/dist/requests/items/proposeAttribute/ProposeAttributeAcceptResponseItem.js.map +1 -1
- package/dist/requests/items/proposeAttribute/ProposeAttributeRequestItem.d.ts +3 -1
- package/dist/requests/items/proposeAttribute/ProposeAttributeRequestItem.js +9 -4
- package/dist/requests/items/proposeAttribute/ProposeAttributeRequestItem.js.map +1 -1
- package/dist/requests/items/readAttribute/ReadAttributeAcceptResponseItem.d.ts +2 -0
- package/dist/requests/items/readAttribute/ReadAttributeAcceptResponseItem.js +3 -0
- package/dist/requests/items/readAttribute/ReadAttributeAcceptResponseItem.js.map +1 -1
- package/dist/requests/items/readAttribute/ReadAttributeRequestItem.d.ts +5 -4
- package/dist/requests/items/readAttribute/ReadAttributeRequestItem.js +5 -3
- package/dist/requests/items/readAttribute/ReadAttributeRequestItem.js.map +1 -1
- package/dist/requests/items/registerAttributeListener/RegisterAttributeListenerAcceptResponseItem.d.ts +13 -0
- package/dist/{attributes/types/proprietary/ProprietaryDataURL.js → requests/items/registerAttributeListener/RegisterAttributeListenerAcceptResponseItem.js} +15 -14
- package/dist/requests/items/registerAttributeListener/RegisterAttributeListenerAcceptResponseItem.js.map +1 -0
- package/dist/requests/items/registerAttributeListener/RegisterAttributeListenerRequestItem.d.ts +14 -0
- package/dist/requests/items/registerAttributeListener/RegisterAttributeListenerRequestItem.js +35 -0
- package/dist/requests/items/registerAttributeListener/RegisterAttributeListenerRequestItem.js.map +1 -0
- package/dist/requests/items/shareAttribute/ShareAttributeAcceptResponseItem.d.ts +14 -0
- package/dist/requests/items/shareAttribute/ShareAttributeAcceptResponseItem.js +33 -0
- package/dist/requests/items/shareAttribute/ShareAttributeAcceptResponseItem.js.map +1 -0
- package/dist/requests/items/shareAttribute/ShareAttributeRequestItem.d.ts +12 -8
- package/dist/requests/items/shareAttribute/ShareAttributeRequestItem.js +9 -5
- package/dist/requests/items/shareAttribute/ShareAttributeRequestItem.js.map +1 -1
- package/dist/requests/old/AttributesChangeRequest.d.ts +2 -2
- package/dist/requests/old/AttributesChangeRequest.js +0 -11
- package/dist/requests/old/AttributesChangeRequest.js.map +1 -1
- package/dist/requests/old/AttributesRequest.d.ts +2 -2
- package/dist/requests/old/AttributesRequest.js +0 -10
- package/dist/requests/old/AttributesRequest.js.map +1 -1
- package/dist/requests/old/AttributesShareRequest.d.ts +2 -1
- package/dist/requests/old/AttributesShareRequest.js.map +1 -1
- package/dist/requests/response/AcceptResponseItem.d.ts +5 -5
- package/dist/requests/response/AcceptResponseItem.js +2 -2
- package/dist/requests/response/AcceptResponseItem.js.map +1 -1
- package/dist/requests/response/ErrorResponseItem.d.ts +2 -1
- package/dist/requests/response/ErrorResponseItem.js +2 -2
- package/dist/requests/response/ErrorResponseItem.js.map +1 -1
- package/dist/requests/response/RejectResponseItem.d.ts +2 -1
- package/dist/requests/response/RejectResponseItem.js +2 -2
- package/dist/requests/response/RejectResponseItem.js.map +1 -1
- package/dist/requests/response/Response.d.ts +2 -1
- package/dist/requests/response/Response.js +2 -2
- package/dist/requests/response/Response.js.map +1 -1
- package/dist/requests/response/ResponseItem.d.ts +1 -1
- package/dist/requests/response/ResponseItem.js +2 -2
- package/dist/requests/response/ResponseItem.js.map +1 -1
- package/dist/requests/response/ResponseItemGroup.d.ts +2 -1
- package/dist/requests/response/ResponseItemGroup.js +2 -2
- package/dist/requests/response/ResponseItemGroup.js.map +1 -1
- package/lib-web/nmshd.content.js +4182 -4583
- package/lib-web/nmshd.content.min.js +1 -1
- package/package.json +17 -16
- package/dist/attributes/hints/RelationshipAttributeCreationHints.d.ts +0 -31
- package/dist/attributes/hints/RelationshipAttributeCreationHints.js +0 -64
- package/dist/attributes/hints/RelationshipAttributeCreationHints.js.map +0 -1
- package/dist/attributes/types/AttributeList.d.ts +0 -1
- package/dist/attributes/types/AttributeList.js +0 -37
- package/dist/attributes/types/AttributeList.js.map +0 -1
- package/dist/attributes/types/AttributeTypeMapping.d.ts +0 -1
- package/dist/attributes/types/AttributeTypeMapping.js +0 -9
- package/dist/attributes/types/AttributeTypeMapping.js.map +0 -1
- package/dist/attributes/types/files/FileReference.d.ts +0 -3
- package/dist/attributes/types/files/FileReference.js.map +0 -1
- package/dist/attributes/types/files/index.js.map +0 -1
- package/dist/attributes/types/name/AbstractLegalName.d.ts +0 -3
- package/dist/attributes/types/name/AbstractLegalName.js +0 -8
- package/dist/attributes/types/name/AbstractLegalName.js.map +0 -1
- package/dist/attributes/types/name/DisplayName.d.ts +0 -3
- package/dist/attributes/types/name/DisplayName.js.map +0 -1
- package/dist/attributes/types/name/LegalNameDE.js +0 -92
- package/dist/attributes/types/name/LegalNameDE.js.map +0 -1
- package/dist/attributes/types/name/Salutation.js.map +0 -1
- package/dist/attributes/types/person/Age.d.ts +0 -6
- package/dist/attributes/types/person/Age.js +0 -34
- package/dist/attributes/types/person/Age.js.map +0 -1
- package/dist/attributes/types/person/Picture.d.ts +0 -3
- package/dist/attributes/types/person/Picture.js.map +0 -1
- package/dist/attributes/types/proprietary/ProprietaryDataURL.d.ts +0 -14
- package/dist/attributes/types/proprietary/ProprietaryDataURL.js.map +0 -1
- package/dist/attributes/types/strings/AbstractDataURL.d.ts +0 -7
- package/dist/attributes/types/strings/AbstractDataURL.js +0 -40
- package/dist/attributes/types/strings/AbstractDataURL.js.map +0 -1
- package/dist/relationships/RelationshipCreationChangeRequestBody.d.ts +0 -16
- package/dist/relationships/RelationshipCreationChangeRequestBody.js.map +0 -1
- package/dist/relationships/RelationshipTemplateBody.js.map +0 -1
- package/dist/requests/items/createAttribute/CreateAttributeAcceptResponseItem.js.map +0 -1
- package/dist/requests/items/createAttribute/CreateAttributeRequestItem.js.map +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RelationshipAttributeConfidentiality.js","sourceRoot":"","sources":["../../src/attributes/RelationshipAttributeConfidentiality.ts"],"names":[],"mappings":";;;AAAA,IAAY,oCA6BX;AA7BD,WAAY,oCAAoC;IAC5C;;;;;;;;;OASG;IACH,yDAAiB,CAAA;IACjB;;;;;;OAMG;IACH,2DAAmB,CAAA;IACnB;;;;;;;OAOG;IACH,+DAAuB,CAAA;AAC3B,CAAC,EA7BW,oCAAoC,GAApC,4CAAoC,KAApC,4CAAoC,QA6B/C"}
|
|
@@ -1,23 +1,55 @@
|
|
|
1
|
+
import { ISerializable, Serializable } from "@js-soft/ts-serval";
|
|
1
2
|
import { CoreAddress, ICoreAddress } from "@nmshd/transport";
|
|
2
3
|
import { AbstractAttributeQuery, AbstractAttributeQueryJSON, IAbstractAttributeQuery } from "./AbstractAttributeQuery";
|
|
3
|
-
import {
|
|
4
|
+
import { AttributeValues } from "./AttributeValueTypes";
|
|
5
|
+
import { IValueHints, ValueHints, ValueHintsJSON } from "./hints";
|
|
6
|
+
import { RelationshipAttributeConfidentiality } from "./RelationshipAttributeConfidentiality";
|
|
7
|
+
export interface RelationshipAttributeCreationHintsJSON {
|
|
8
|
+
title: string;
|
|
9
|
+
valueType: AttributeValues.Relationship.TypeName;
|
|
10
|
+
description?: string;
|
|
11
|
+
valueHints?: ValueHintsJSON;
|
|
12
|
+
isTechnical?: boolean;
|
|
13
|
+
confidentiality: RelationshipAttributeConfidentiality;
|
|
14
|
+
}
|
|
15
|
+
export interface IRelationshipAttributeCreationHints extends ISerializable {
|
|
16
|
+
title: string;
|
|
17
|
+
valueType: AttributeValues.Relationship.TypeName;
|
|
18
|
+
description?: string;
|
|
19
|
+
valueHints?: IValueHints;
|
|
20
|
+
isTechnical?: boolean;
|
|
21
|
+
confidentiality: RelationshipAttributeConfidentiality;
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* AttributeHints are rendering hints with a `title` and a possible `description` set.
|
|
25
|
+
* They are primarily used within `RelationshipAttributeQuery` to define the metadata of
|
|
26
|
+
* a proprietary Attribute, even without such an Attribute existent.
|
|
27
|
+
*/
|
|
28
|
+
export declare class RelationshipAttributeCreationHints extends Serializable implements IRelationshipAttributeCreationHints {
|
|
29
|
+
title: string;
|
|
30
|
+
valueType: AttributeValues.Relationship.TypeName;
|
|
31
|
+
description?: string;
|
|
32
|
+
valueHints?: ValueHints;
|
|
33
|
+
isTechnical: boolean;
|
|
34
|
+
confidentiality: RelationshipAttributeConfidentiality;
|
|
35
|
+
protected static preFrom(value: any): any;
|
|
36
|
+
static from(value: IRelationshipAttributeCreationHints | RelationshipAttributeCreationHintsJSON): RelationshipAttributeCreationHints;
|
|
37
|
+
}
|
|
4
38
|
export interface RelationshipAttributeQueryJSON extends AbstractAttributeQueryJSON {
|
|
39
|
+
"@type": "RelationshipAttributeQuery";
|
|
5
40
|
key: string;
|
|
6
41
|
owner: string;
|
|
7
|
-
thirdParty?: string;
|
|
8
42
|
attributeCreationHints: RelationshipAttributeCreationHintsJSON;
|
|
9
43
|
}
|
|
10
44
|
export interface IRelationshipAttributeQuery extends IAbstractAttributeQuery {
|
|
11
45
|
key: string;
|
|
12
46
|
owner: ICoreAddress;
|
|
13
|
-
thirdParty?: ICoreAddress;
|
|
14
47
|
attributeCreationHints: IRelationshipAttributeCreationHints;
|
|
15
48
|
}
|
|
16
49
|
export declare class RelationshipAttributeQuery extends AbstractAttributeQuery implements IRelationshipAttributeQuery {
|
|
17
50
|
key: string;
|
|
18
51
|
owner: CoreAddress;
|
|
19
|
-
thirdParty?: CoreAddress;
|
|
20
52
|
attributeCreationHints: RelationshipAttributeCreationHints;
|
|
21
53
|
static from(value: IRelationshipAttributeQuery | RelationshipAttributeQueryJSON): RelationshipAttributeQuery;
|
|
22
|
-
toJSON(): RelationshipAttributeQueryJSON;
|
|
54
|
+
toJSON(verbose?: boolean | undefined, serializeAsString?: boolean | undefined): RelationshipAttributeQueryJSON;
|
|
23
55
|
}
|
|
@@ -9,17 +9,76 @@ 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.RelationshipAttributeQuery = void 0;
|
|
12
|
+
exports.RelationshipAttributeQuery = exports.RelationshipAttributeCreationHints = 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
|
|
16
|
+
const AttributeValueTypes_1 = require("./AttributeValueTypes");
|
|
17
|
+
const hints_1 = require("./hints");
|
|
18
|
+
const RelationshipAttributeConfidentiality_1 = require("./RelationshipAttributeConfidentiality");
|
|
19
|
+
/**
|
|
20
|
+
* AttributeHints are rendering hints with a `title` and a possible `description` set.
|
|
21
|
+
* They are primarily used within `RelationshipAttributeQuery` to define the metadata of
|
|
22
|
+
* a proprietary Attribute, even without such an Attribute existent.
|
|
23
|
+
*/
|
|
24
|
+
let RelationshipAttributeCreationHints = class RelationshipAttributeCreationHints extends ts_serval_1.Serializable {
|
|
25
|
+
static preFrom(value) {
|
|
26
|
+
if (typeof value.isTechnical === "undefined")
|
|
27
|
+
value.isTechnical = false;
|
|
28
|
+
return value;
|
|
29
|
+
}
|
|
30
|
+
static from(value) {
|
|
31
|
+
return this.fromAny(value);
|
|
32
|
+
}
|
|
33
|
+
};
|
|
34
|
+
__decorate([
|
|
35
|
+
(0, ts_serval_1.serialize)(),
|
|
36
|
+
(0, ts_serval_1.validate)(),
|
|
37
|
+
__metadata("design:type", String)
|
|
38
|
+
], RelationshipAttributeCreationHints.prototype, "title", void 0);
|
|
39
|
+
__decorate([
|
|
40
|
+
(0, ts_serval_1.serialize)(),
|
|
41
|
+
(0, ts_serval_1.validate)({
|
|
42
|
+
customValidator: (v) => !AttributeValueTypes_1.AttributeValues.Relationship.TYPE_NAMES.includes(v)
|
|
43
|
+
? `must be one of: ${AttributeValueTypes_1.AttributeValues.Relationship.TYPE_NAMES_STRINGIFIED}`
|
|
44
|
+
: undefined
|
|
45
|
+
}),
|
|
46
|
+
__metadata("design:type", String)
|
|
47
|
+
], RelationshipAttributeCreationHints.prototype, "valueType", void 0);
|
|
48
|
+
__decorate([
|
|
49
|
+
(0, ts_serval_1.serialize)(),
|
|
50
|
+
(0, ts_serval_1.validate)({ nullable: true }),
|
|
51
|
+
__metadata("design:type", String)
|
|
52
|
+
], RelationshipAttributeCreationHints.prototype, "description", void 0);
|
|
53
|
+
__decorate([
|
|
54
|
+
(0, ts_serval_1.serialize)(),
|
|
55
|
+
(0, ts_serval_1.validate)({ nullable: true }),
|
|
56
|
+
__metadata("design:type", hints_1.ValueHints)
|
|
57
|
+
], RelationshipAttributeCreationHints.prototype, "valueHints", void 0);
|
|
58
|
+
__decorate([
|
|
59
|
+
(0, ts_serval_1.serialize)(),
|
|
60
|
+
(0, ts_serval_1.validate)({ nullable: true }),
|
|
61
|
+
__metadata("design:type", Boolean)
|
|
62
|
+
], RelationshipAttributeCreationHints.prototype, "isTechnical", void 0);
|
|
63
|
+
__decorate([
|
|
64
|
+
(0, ts_serval_1.serialize)(),
|
|
65
|
+
(0, ts_serval_1.validate)({
|
|
66
|
+
customValidator: (v) => !Object.values(RelationshipAttributeConfidentiality_1.RelationshipAttributeConfidentiality).includes(v)
|
|
67
|
+
? `must be one of: ${Object.values(RelationshipAttributeConfidentiality_1.RelationshipAttributeConfidentiality)}`
|
|
68
|
+
: undefined
|
|
69
|
+
}),
|
|
70
|
+
__metadata("design:type", String)
|
|
71
|
+
], RelationshipAttributeCreationHints.prototype, "confidentiality", void 0);
|
|
72
|
+
RelationshipAttributeCreationHints = __decorate([
|
|
73
|
+
(0, ts_serval_1.type)("RelationshipAttributeCreationHints")
|
|
74
|
+
], RelationshipAttributeCreationHints);
|
|
75
|
+
exports.RelationshipAttributeCreationHints = RelationshipAttributeCreationHints;
|
|
17
76
|
let RelationshipAttributeQuery = class RelationshipAttributeQuery extends AbstractAttributeQuery_1.AbstractAttributeQuery {
|
|
18
77
|
static from(value) {
|
|
19
78
|
return this.fromAny(value);
|
|
20
79
|
}
|
|
21
|
-
toJSON() {
|
|
22
|
-
return super.toJSON();
|
|
80
|
+
toJSON(verbose, serializeAsString) {
|
|
81
|
+
return super.toJSON(verbose, serializeAsString);
|
|
23
82
|
}
|
|
24
83
|
};
|
|
25
84
|
__decorate([
|
|
@@ -32,15 +91,10 @@ __decorate([
|
|
|
32
91
|
(0, ts_serval_1.validate)(),
|
|
33
92
|
__metadata("design:type", transport_1.CoreAddress)
|
|
34
93
|
], RelationshipAttributeQuery.prototype, "owner", void 0);
|
|
35
|
-
__decorate([
|
|
36
|
-
(0, ts_serval_1.serialize)(),
|
|
37
|
-
(0, ts_serval_1.validate)({ nullable: true }),
|
|
38
|
-
__metadata("design:type", transport_1.CoreAddress)
|
|
39
|
-
], RelationshipAttributeQuery.prototype, "thirdParty", void 0);
|
|
40
94
|
__decorate([
|
|
41
95
|
(0, ts_serval_1.serialize)(),
|
|
42
96
|
(0, ts_serval_1.validate)(),
|
|
43
|
-
__metadata("design:type",
|
|
97
|
+
__metadata("design:type", RelationshipAttributeCreationHints)
|
|
44
98
|
], RelationshipAttributeQuery.prototype, "attributeCreationHints", void 0);
|
|
45
99
|
RelationshipAttributeQuery = __decorate([
|
|
46
100
|
(0, ts_serval_1.type)("RelationshipAttributeQuery")
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RelationshipAttributeQuery.js","sourceRoot":"","sources":["../../src/attributes/RelationshipAttributeQuery.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,
|
|
1
|
+
{"version":3,"file":"RelationshipAttributeQuery.js","sourceRoot":"","sources":["../../src/attributes/RelationshipAttributeQuery.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAA2F;AAC3F,gDAA4D;AAC5D,qEAAsH;AACtH,+DAAuD;AACvD,mCAAiE;AACjE,iGAA6F;AAoB7F;;;;GAIG;AAEI,IAAM,kCAAkC,GAAxC,MAAM,kCAA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AAC,CAAC,SAAS;KACtB,CAAC;;2EAC0D;AAjCnD,kCAAkC;IAD9C,IAAA,gBAAI,EAAC,oCAAoC,CAAC;GAC9B,kCAAkC,CA8C9C;AA9CY,gFAAkC;AA8DxC,IAAM,0BAA0B,GAAhC,MAAM,0BAA2B,SAAQ,+CAAsB;IAa3D,MAAM,CAAC,IAAI,CACd,KAAmE;QAEnE,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,CAAmC,CAAA;IACrF,CAAC;CACJ,CAAA;AAxBG;IAAC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,GAAE;;uDACO;AAElB;IAAC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,GAAE;8BACG,uBAAW;yDAAA;AAEzB;IAAC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,GAAE;8BACoB,kCAAkC;0EAAA;AAXxD,0BAA0B;IADtC,IAAA,gBAAI,EAAC,4BAA4B,CAAC;GACtB,0BAA0B,CAyBtC;AAzBY,gEAA0B"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { CoreAddress, ICoreAddress } from "@nmshd/transport";
|
|
2
|
+
import { AbstractAttributeQuery, AbstractAttributeQueryJSON, IAbstractAttributeQuery } from "./AbstractAttributeQuery";
|
|
3
|
+
export interface ThirdPartyRelationshipAttributeQueryJSON extends AbstractAttributeQueryJSON {
|
|
4
|
+
"@type": "ThirdPartyRelationshipAttributeQuery";
|
|
5
|
+
key: string;
|
|
6
|
+
owner: string;
|
|
7
|
+
thirdParty: string;
|
|
8
|
+
}
|
|
9
|
+
export interface IThirdPartyRelationshipAttributeQuery extends IAbstractAttributeQuery {
|
|
10
|
+
key: string;
|
|
11
|
+
owner: ICoreAddress;
|
|
12
|
+
thirdParty: ICoreAddress;
|
|
13
|
+
}
|
|
14
|
+
export declare class ThirdPartyRelationshipAttributeQuery extends AbstractAttributeQuery implements IThirdPartyRelationshipAttributeQuery {
|
|
15
|
+
key: string;
|
|
16
|
+
owner: CoreAddress;
|
|
17
|
+
thirdParty: CoreAddress;
|
|
18
|
+
static from(value: IThirdPartyRelationshipAttributeQuery | ThirdPartyRelationshipAttributeQueryJSON): ThirdPartyRelationshipAttributeQuery;
|
|
19
|
+
toJSON(verbose?: boolean | undefined, serializeAsString?: boolean | undefined): ThirdPartyRelationshipAttributeQueryJSON;
|
|
20
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
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.ThirdPartyRelationshipAttributeQuery = void 0;
|
|
13
|
+
const ts_serval_1 = require("@js-soft/ts-serval");
|
|
14
|
+
const transport_1 = require("@nmshd/transport");
|
|
15
|
+
const AbstractAttributeQuery_1 = require("./AbstractAttributeQuery");
|
|
16
|
+
let ThirdPartyRelationshipAttributeQuery = class ThirdPartyRelationshipAttributeQuery extends AbstractAttributeQuery_1.AbstractAttributeQuery {
|
|
17
|
+
static from(value) {
|
|
18
|
+
return this.fromAny(value);
|
|
19
|
+
}
|
|
20
|
+
toJSON(verbose, serializeAsString) {
|
|
21
|
+
return super.toJSON(verbose, serializeAsString);
|
|
22
|
+
}
|
|
23
|
+
};
|
|
24
|
+
__decorate([
|
|
25
|
+
(0, ts_serval_1.serialize)(),
|
|
26
|
+
(0, ts_serval_1.validate)(),
|
|
27
|
+
__metadata("design:type", String)
|
|
28
|
+
], ThirdPartyRelationshipAttributeQuery.prototype, "key", void 0);
|
|
29
|
+
__decorate([
|
|
30
|
+
(0, ts_serval_1.serialize)(),
|
|
31
|
+
(0, ts_serval_1.validate)(),
|
|
32
|
+
__metadata("design:type", transport_1.CoreAddress)
|
|
33
|
+
], ThirdPartyRelationshipAttributeQuery.prototype, "owner", void 0);
|
|
34
|
+
__decorate([
|
|
35
|
+
(0, ts_serval_1.serialize)(),
|
|
36
|
+
(0, ts_serval_1.validate)(),
|
|
37
|
+
__metadata("design:type", transport_1.CoreAddress)
|
|
38
|
+
], ThirdPartyRelationshipAttributeQuery.prototype, "thirdParty", void 0);
|
|
39
|
+
ThirdPartyRelationshipAttributeQuery = __decorate([
|
|
40
|
+
(0, ts_serval_1.type)("ThirdPartyRelationshipAttributeQuery")
|
|
41
|
+
], ThirdPartyRelationshipAttributeQuery);
|
|
42
|
+
exports.ThirdPartyRelationshipAttributeQuery = ThirdPartyRelationshipAttributeQuery;
|
|
43
|
+
//# sourceMappingURL=ThirdPartyRelationshipAttributeQuery.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ThirdPartyRelationshipAttributeQuery.js","sourceRoot":"","sources":["../../src/attributes/ThirdPartyRelationshipAttributeQuery.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAA8D;AAC9D,gDAA4D;AAC5D,qEAAsH;AAgB/G,IAAM,oCAAoC,GAA1C,MAAM,oCACT,SAAQ,+CAAsB;IAevB,MAAM,CAAC,IAAI,CACd,KAAuF;QAEvF,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,CAA6C,CAAA;IAC/F,CAAC;CACJ,CAAA;AAxBG;IAAC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,GAAE;;iEACO;AAElB;IAAC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,GAAE;8BACG,uBAAW;mEAAA;AAEzB;IAAC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,GAAE;8BACQ,uBAAW;wEAAA;AAdrB,oCAAoC;IADhD,IAAA,gBAAI,EAAC,sCAAsC,CAAC;GAChC,oCAAoC,CA4BhD;AA5BY,oFAAoC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const ATTRIBUTE_VALUE_TYPE_QUERY_MAPPING: Map<string, string[]>;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ATTRIBUTE_VALUE_TYPE_QUERY_MAPPING = void 0;
|
|
4
|
+
exports.ATTRIBUTE_VALUE_TYPE_QUERY_MAPPING = new Map([
|
|
5
|
+
["Address", ["StreetAddress", "DeliveryBoxAddress", "PostOfficeBoxAddress"]]
|
|
6
|
+
]);
|
|
7
|
+
//# sourceMappingURL=AttributeValueTypeQueryMapping.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AttributeValueTypeQueryMapping.js","sourceRoot":"","sources":["../../../src/attributes/constants/AttributeValueTypeQueryMapping.ts"],"names":[],"mappings":";;;AAAa,QAAA,kCAAkC,GAAG,IAAI,GAAG,CAAmB;IACxE,CAAC,SAAS,EAAE,CAAC,eAAe,EAAE,oBAAoB,EAAE,sBAAsB,CAAC,CAAC;CAC/E,CAAC,CAAA"}
|
|
@@ -14,6 +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("./AttributeValueTypeQueryMapping"), exports);
|
|
17
18
|
__exportStar(require("./CountriesAlpha2"), exports);
|
|
18
19
|
__exportStar(require("./LanguagesISO639"), exports);
|
|
19
20
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/attributes/constants/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,oDAAiC;AACjC,oDAAiC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/attributes/constants/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,mEAAgD;AAChD,oDAAiC;AACjC,oDAAiC"}
|
|
@@ -4,6 +4,7 @@ import { RenderHintsDataType } from "./RenderHintsDataType";
|
|
|
4
4
|
import { RenderHintsEditType } from "./RenderHintsEditType";
|
|
5
5
|
import { RenderHintsTechnicalType } from "./RenderHintsTechnicalType";
|
|
6
6
|
export interface RenderHintsJSON extends ContentJSON {
|
|
7
|
+
"@type": "RenderHints";
|
|
7
8
|
technicalType: RenderHintsTechnicalType;
|
|
8
9
|
editType: RenderHintsEditType;
|
|
9
10
|
dataType?: RenderHintsDataType;
|
|
@@ -24,7 +25,7 @@ export declare class RenderHints extends Serializable implements IRenderHints {
|
|
|
24
25
|
editType: RenderHintsEditType;
|
|
25
26
|
dataType?: RenderHintsDataType;
|
|
26
27
|
propertyHints: Record<string, RenderHints>;
|
|
27
|
-
static from(value: IRenderHints): RenderHints;
|
|
28
|
+
static from(value: IRenderHints | RenderHintsJSON): RenderHints;
|
|
28
29
|
static postFrom<T extends Serializable>(value: T): T;
|
|
29
30
|
toJSON(): RenderHintsJSON;
|
|
30
31
|
copyWith(override?: Partial<IRenderHintsOverride | RenderHintsOverrideJSON | RenderHintsOverride>): RenderHints;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RenderHints.js","sourceRoot":"","sources":["../../../src/attributes/hints/RenderHints.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,kDAA2F;AAE3F,+DAA2D;AAC3D,+DAA2D;AAC3D,yEAAqE;
|
|
1
|
+
{"version":3,"file":"RenderHints.js","sourceRoot":"","sources":["../../../src/attributes/hints/RenderHints.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,kDAA2F;AAE3F,+DAA2D;AAC3D,+DAA2D;AAC3D,yEAAqE;AAqBrE,SAAS,wBAAwB,CAAC,KAAwC;IACtE,IAAI,OAAO,KAAK,CAAC,aAAa,KAAK,WAAW;QAAE,OAAM;IAEtD,KAAK,CAAC,aAAa,GAAG,MAAM,CAAC,OAAO,CAAC,KAAK,CAAC,aAAa,CAAC;SACpD,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE;QACP,OAAO,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,WAAW,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,CAAA;IAChD,CAAC,CAAC;SACD,MAAM,CAAC,CAAC,GAAG,EAAE,IAAI,EAAE,EAAE,CAAC,MAAM,CAAC,MAAM,CAAC,GAAG,EAAE,EAAE,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,CAAA;AAC1G,CAAC;AAED,SAAS,sBAAsB,CAC3B,KAAwC,EACxC,IAA+C;IAE/C,IAAI,CAAC,aAAa,GAAG,MAAM,CAAC,OAAO,CAAC,KAAK,CAAC,aAAa,IAAI,EAAE,CAAC;SACzD,GAAG,CAAC,CAAC,C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AAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;qDACQ;AAErC;IAAC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;0DACqB;AAfzC,mBAAmB;IAD/B,IAAA,gBAAI,EAAC,qBAAqB,CAAC;GACf,mBAAmB,CAgC/B;AAhCY,kDAAmB"}
|
|
@@ -2,6 +2,7 @@ import { ISerializable, Serializable } from "@js-soft/ts-serval";
|
|
|
2
2
|
import { ContentJSON } from "../../ContentJSON";
|
|
3
3
|
import { IValueHintsValue, ValueHintsValue, ValueHintsValueJSON } from "./ValueHintsValue";
|
|
4
4
|
export interface ValueHintsJSON extends ContentJSON {
|
|
5
|
+
"@type": "ValueHints";
|
|
5
6
|
editHelp?: string;
|
|
6
7
|
min?: number;
|
|
7
8
|
max?: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ValueHints.js","sourceRoot":"","sources":["../../../src/attributes/hints/ValueHints.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,kDAA0G;AAE1G,uDAA0F;
|
|
1
|
+
{"version":3,"file":"ValueHints.js","sourceRoot":"","sources":["../../../src/attributes/hints/ValueHints.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,kDAA0G;AAE1G,uDAA0F;AA2B1F,SAAS,wBAAwB,CAAC,KAAsC;IACpE,IAAI,OAAO,KAAK,CAAC,aAAa,KAAK,WAAW;QAAE,OAAM;IAEtD,KAAK,CAAC,aAAa,GAAG,MAAM,CAAC,OAAO,CAAC,KAAK,CAAC,aAAa,CAAC;SACpD,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE;QACP,OAAO,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,UAAU,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,CAAA;IAC/C,CAAC,CAAC;SACD,MAAM,CAAC,CAAC,GAAG,EAAE,IAAI,EAAE,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AAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;kDACI;AAEjC;IAAC,IAAA,qBAAS,EAAC,EAAE,UAAU,EAAE,CAAC,OAAO,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,CAAC;IACpD,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;wDACkB;AAE/C;IAAC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;yDACoB;AA3BxC,kBAAkB;IAD9B,IAAA,gBAAI,EAAC,oBAAoB,CAAC;GACd,kBAAkB,CA4C9B;AA5CY,gDAAkB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ValueHintsValue.js","sourceRoot":"","sources":["../../../src/attributes/hints/ValueHintsValue.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAA0G;
|
|
1
|
+
{"version":3,"file":"ValueHintsValue.js","sourceRoot":"","sources":["../../../src/attributes/hints/ValueHintsValue.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAA0G;AAanG,IAAM,eAAe,GAArB,MAAM,eAAgB,SAAQ,wBAAY;IAStC,MAAM,CAAC,IAAI,CAAC,KAA6C;QAC5D,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAA;IAC9B,CAAC;CACJ,CAAA;AAXG;IAAC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,GAAE;;oDACe;AAE1B;IAAC,IAAA,oBAAQ,EAAC,EAAE,YAAY,EAAE,CAAC,yBAAa,CAAC,MAAM,EAAE,yBAAa,CAAC,MAAM,EAAE,yBAAa,CAAC,OAAO,CAAC,EAAE,CAAC;IAC/F,IAAA,qBAAS,GAAE;;4CACyB;AAP5B,eAAe;IAD3B,IAAA,gBAAI,EAAC,iBAAiB,CAAC;GACX,eAAe,CAY3B;AAZY,0CAAe"}
|
|
@@ -14,7 +14,6 @@ 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("./RelationshipAttributeCreationHints"), exports);
|
|
18
17
|
__exportStar(require("./RenderHints"), exports);
|
|
19
18
|
__exportStar(require("./RenderHintsDataType"), exports);
|
|
20
19
|
__exportStar(require("./RenderHintsEditType"), exports);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/attributes/hints/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/attributes/hints/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,gDAA6B;AAC7B,wDAAqC;AACrC,wDAAqC;AACrC,6DAA0C;AAC1C,+CAA4B;AAC5B,oDAAiC"}
|
|
@@ -3,10 +3,13 @@ export * from "./AbstractAttributeQuery";
|
|
|
3
3
|
export * from "./AbstractAttributeValue";
|
|
4
4
|
export * from "./AbstractComplexValue";
|
|
5
5
|
export * from "./Attribute";
|
|
6
|
+
export * from "./AttributeValueTypes";
|
|
6
7
|
export * from "./constants";
|
|
7
8
|
export * from "./hints";
|
|
8
9
|
export * from "./IdentityAttribute";
|
|
9
10
|
export * from "./IdentityAttributeQuery";
|
|
10
11
|
export * from "./RelationshipAttribute";
|
|
12
|
+
export * from "./RelationshipAttributeConfidentiality";
|
|
11
13
|
export * from "./RelationshipAttributeQuery";
|
|
14
|
+
export * from "./ThirdPartyRelationshipAttributeQuery";
|
|
12
15
|
export * from "./types";
|
package/dist/attributes/index.js
CHANGED
|
@@ -19,11 +19,14 @@ __exportStar(require("./AbstractAttributeQuery"), exports);
|
|
|
19
19
|
__exportStar(require("./AbstractAttributeValue"), exports);
|
|
20
20
|
__exportStar(require("./AbstractComplexValue"), exports);
|
|
21
21
|
__exportStar(require("./Attribute"), exports);
|
|
22
|
+
__exportStar(require("./AttributeValueTypes"), exports);
|
|
22
23
|
__exportStar(require("./constants"), exports);
|
|
23
24
|
__exportStar(require("./hints"), exports);
|
|
24
25
|
__exportStar(require("./IdentityAttribute"), exports);
|
|
25
26
|
__exportStar(require("./IdentityAttributeQuery"), exports);
|
|
26
27
|
__exportStar(require("./RelationshipAttribute"), exports);
|
|
28
|
+
__exportStar(require("./RelationshipAttributeConfidentiality"), exports);
|
|
27
29
|
__exportStar(require("./RelationshipAttributeQuery"), exports);
|
|
30
|
+
__exportStar(require("./ThirdPartyRelationshipAttributeQuery"), exports);
|
|
28
31
|
__exportStar(require("./types"), exports);
|
|
29
32
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/attributes/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,sDAAmC;AACnC,2DAAwC;AACxC,2DAAwC;AACxC,yDAAsC;AACtC,8CAA2B;AAC3B,8CAA2B;AAC3B,0CAAuB;AACvB,sDAAmC;AACnC,2DAAwC;AACxC,0DAAuC;AACvC,+DAA4C;AAC5C,0CAAuB"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/attributes/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,sDAAmC;AACnC,2DAAwC;AACxC,2DAAwC;AACxC,yDAAsC;AACtC,8CAA2B;AAC3B,wDAAqC;AACrC,8CAA2B;AAC3B,0CAAuB;AACvB,sDAAmC;AACnC,2DAAwC;AACxC,0DAAuC;AACvC,yEAAsD;AACtD,+DAA4C;AAC5C,yEAAsD;AACtD,0CAAuB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AbstractBoolean.js","sourceRoot":"","sources":["../../../src/attributes/types/AbstractBoolean.ts"],"names":[],"mapp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AAO;SAClD,CAAC,CAAA;IACN,CAAC;CACJ;AAvBG;IAAC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,GAAE;;8CACU;AAHzB,0CAwBC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AbstractFloat.js","sourceRoot":"","sources":["../../../src/attributes/types/AbstractFloat.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAAwD;AACxD,sEAAuH;AACvH,oCAAiG;AAYjG,MAAa,aAAc,SAAQ,+CAAsB;IAK9C,MAAM,CAAU,OAAO,CAAC,KAAU;QACrC,IAAI,OAAO,KAAK,KAAK,QAAQ;YAAE,KAAK,GAAG,EAAE,KAAK,EAAE,CAAA;QAChD,OAAO,KAAK,CAAA;IAChB,CAAC;IAEe,QAAQ;QACpB,OAAO,GAAG,IAAI,CAAC,KAAK,EAAE,CAAA;IAC1B,CAAC;IAEM,MAAM,KAAK,UAAU;QACxB,OAAO,kBAAU,CAAC,IAAI,CAAC,EAAE,CAAC,CAAA;IAC9B,CAAC;IAEM,MAAM,KAAK,WAAW;QACzB,OAAO,mBAAW,CAAC,IAAI,CAAC;YACpB,QAAQ,EAAE,2BAAmB,CAAC,UAAU;YACxC,aAAa,EAAE,gCAAwB,CAAC,KAAK;SAChD,CAAC,CAAA;IACN,CAAC;CACJ;
|
|
1
|
+
{"version":3,"file":"AbstractFloat.js","sourceRoot":"","sources":["../../../src/attributes/types/AbstractFloat.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAAwD;AACxD,sEAAuH;AACvH,oCAAiG;AAYjG,MAAa,aAAc,SAAQ,+CAAsB;IAK9C,MAAM,CAAU,OAAO,CAAC,KAAU;QACrC,IAAI,OAAO,KAAK,KAAK,QAAQ;YAAE,KAAK,GAAG,EAAE,KAAK,EAAE,CAAA;QAChD,OAAO,KAAK,CAAA;IAChB,CAAC;IAEe,QAAQ;QACpB,OAAO,GAAG,IAAI,CAAC,KAAK,EAAE,CAAA;IAC1B,CAAC;IAEM,MAAM,KAAK,UAAU;QACxB,OAAO,kBAAU,CAAC,IAAI,CAAC,EAAE,CAAC,CAAA;IAC9B,CAAC;IAEM,MAAM,KAAK,WAAW;QACzB,OAAO,mBAAW,CAAC,IAAI,CAAC;YACpB,QAAQ,EAAE,2BAAmB,CAAC,UAAU;YACxC,aAAa,EAAE,gCAAwB,CAAC,KAAK;SAChD,CAAC,CAAA;IACN,CAAC;CACJ;AAvBG;IAAC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,GAAE;;4CACS;AAHxB,sCAwBC"}
|
|
@@ -31,9 +31,6 @@ class AbstractInteger extends AbstractAttributeValue_1.AbstractAttributeValue {
|
|
|
31
31
|
technicalType: hints_1.RenderHintsTechnicalType.Integer
|
|
32
32
|
});
|
|
33
33
|
}
|
|
34
|
-
static from(value) {
|
|
35
|
-
return this.fromAny(value);
|
|
36
|
-
}
|
|
37
34
|
}
|
|
38
35
|
__decorate([
|
|
39
36
|
(0, ts_serval_1.serialize)(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AbstractInteger.js","sourceRoot":"","sources":["../../../src/attributes/types/AbstractInteger.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAAwD;AACxD,sEAAuH;AACvH,oCAAiG;AAYjG,MAAa,eAAgB,SAAQ,+CAAsB;IAKhD,MAAM,CAAU,OAAO,CAAC,KAAU;QACrC,IAAI,OAAO,KAAK,KAAK,QAAQ;YAAE,KAAK,GAAG,EAAE,KAAK,EAAE,CAAA;QAChD,OAAO,KAAK,CAAA;IAChB,CAAC;IAEe,QAAQ;QACpB,OAAO,GAAG,IAAI,CAAC,KAAK,EAAE,CAAA;IAC1B,CAAC;IAEM,MAAM,KAAK,UAAU;QACxB,OAAO,kBAAU,CAAC,IAAI,CAAC,EAAE,CAAC,CAAA;IAC9B,CAAC;IAEM,MAAM,KAAK,WAAW;QACzB,OAAO,mBAAW,CAAC,IAAI,CAAC;YACpB,QAAQ,EAAE,2BAAmB,CAAC,UAAU;YACxC,aAAa,EAAE,gCAAwB,CAAC,OAAO;SAClD,CAAC,CAAA;IACN,CAAC;
|
|
1
|
+
{"version":3,"file":"AbstractInteger.js","sourceRoot":"","sources":["../../../src/attributes/types/AbstractInteger.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAAwD;AACxD,sEAAuH;AACvH,oCAAiG;AAYjG,MAAa,eAAgB,SAAQ,+CAAsB;IAKhD,MAAM,CAAU,OAAO,CAAC,KAAU;QACrC,IAAI,OAAO,KAAK,KAAK,QAAQ;YAAE,KAAK,GAAG,EAAE,KAAK,EAAE,CAAA;QAChD,OAAO,KAAK,CAAA;IAChB,CAAC;IAEe,QAAQ;QACpB,OAAO,GAAG,IAAI,CAAC,KAAK,EAAE,CAAA;IAC1B,CAAC;IAEM,MAAM,KAAK,UAAU;QACxB,OAAO,kBAAU,CAAC,IAAI,CAAC,EAAE,CAAC,CAAA;IAC9B,CAAC;IAEM,MAAM,KAAK,WAAW;QACzB,OAAO,mBAAW,CAAC,IAAI,CAAC;YACpB,QAAQ,EAAE,2BAAmB,CAAC,UAAU;YACxC,aAAa,EAAE,gCAAwB,CAAC,OAAO;SAClD,CAAC,CAAA;IACN,CAAC;CACJ;AAvBG;IAAC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC,EAAE,eAAe,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,MAAM,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,oBAAoB,CAAC,CAAC,CAAC,SAAS,CAAC,EAAE,CAAC;;8CAC5E;AAHxB,0CAwBC"}
|
|
@@ -24,7 +24,7 @@ class AbstractString extends AbstractAttributeValue_1.AbstractAttributeValue {
|
|
|
24
24
|
}
|
|
25
25
|
static get valueHints() {
|
|
26
26
|
return hints_1.ValueHints.from({
|
|
27
|
-
max:
|
|
27
|
+
max: 100
|
|
28
28
|
});
|
|
29
29
|
}
|
|
30
30
|
static get renderHints() {
|
|
@@ -36,7 +36,7 @@ class AbstractString extends AbstractAttributeValue_1.AbstractAttributeValue {
|
|
|
36
36
|
}
|
|
37
37
|
__decorate([
|
|
38
38
|
(0, ts_serval_1.serialize)(),
|
|
39
|
-
(0, ts_serval_1.validate)({ max:
|
|
39
|
+
(0, ts_serval_1.validate)({ max: 100 }),
|
|
40
40
|
__metadata("design:type", String)
|
|
41
41
|
], AbstractString.prototype, "value", void 0);
|
|
42
42
|
exports.AbstractString = AbstractString;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AbstractString.js","sourceRoot":"","sources":["../../../src/attributes/types/AbstractString.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAAwD;AACxD,sEAAuH;AACvH,oCAAiG;AAYjG,MAAa,cAAe,SAAQ,+CAAsB;IAK/C,MAAM,CAAU,OAAO,CAAC,KAAU;QACrC,IAAI,OAAO,KAAK,KAAK,QAAQ;YAAE,KAAK,GAAG,EAAE,KAAK,EAAE,CAAA;QAChD,OAAO,KAAK,CAAA;IAChB,CAAC;IAEe,QAAQ;QACpB,OAAO,IAAI,CAAC,KAAK,CAAA;IACrB,CAAC;IAEM,MAAM,KAAK,UAAU;QACxB,OAAO,kBAAU,CAAC,IAAI,CAAC;YACnB,GAAG,EAAE,GAAG;SACX,CAAC,CAAA;IACN,CAAC;IAEM,MAAM,KAAK,WAAW;QACzB,OAAO,mBAAW,CAAC,IAAI,CAAC;YACpB,QAAQ,EAAE,2BAAmB,CAAC,SAAS;YACvC,aAAa,EAAE,gCAAwB,CAAC,MAAM;SACjD,CAAC,CAAA;IACN,CAAC;CACJ;
|
|
1
|
+
{"version":3,"file":"AbstractString.js","sourceRoot":"","sources":["../../../src/attributes/types/AbstractString.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAAwD;AACxD,sEAAuH;AACvH,oCAAiG;AAYjG,MAAa,cAAe,SAAQ,+CAAsB;IAK/C,MAAM,CAAU,OAAO,CAAC,KAAU;QACrC,IAAI,OAAO,KAAK,KAAK,QAAQ;YAAE,KAAK,GAAG,EAAE,KAAK,EAAE,CAAA;QAChD,OAAO,KAAK,CAAA;IAChB,CAAC;IAEe,QAAQ;QACpB,OAAO,IAAI,CAAC,KAAK,CAAA;IACrB,CAAC;IAEM,MAAM,KAAK,UAAU;QACxB,OAAO,kBAAU,CAAC,IAAI,CAAC;YACnB,GAAG,EAAE,GAAG;SACX,CAAC,CAAA;IACN,CAAC;IAEM,MAAM,KAAK,WAAW;QACzB,OAAO,mBAAW,CAAC,IAAI,CAAC;YACpB,QAAQ,EAAE,2BAAmB,CAAC,SAAS;YACvC,aAAa,EAAE,gCAAwB,CAAC,MAAM;SACjD,CAAC,CAAA;IACN,CAAC;CACJ;AAzBG;IAAC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC,EAAE,GAAG,EAAE,GAAG,EAAE,CAAC;;6CACH;AAHxB,wCA0BC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AbstractAddress.js","sourceRoot":"","sources":["../../../../src/attributes/types/address/AbstractAddress.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,kDAAwD;AACxD,kEAAkC;AAClC,qEAAkH;AAClH,uCAAoG;AAUpG,MAAsB,eAAgB,SAAQ,2CAAoB;IAOvD,MAAM,KAAK,UAAU;QACxB,OAAO,kBAAU,CAAC,IAAI,CAAC;YACnB,aAAa,EAAE;gBACX,CAAC,IAAI,CAAC,aAAa,CAAC,SAAS,CAAC,KAAK,CAAC,EAAE,kBAAU,CAAC,IAAI,CAAC,EAAE,CAAC;aAC5D;SACJ,CAAC,CAAA;IACN,CAAC;IAEM,MAAM,KAAc,WAAW;QAClC,OAAO,KAAK,CAAC,WAAW,CAAC,QAAQ,CAAC;YAC9B,aAAa,EAAE;gBACX,CAAC,IAAI,CAAC,aAAa,CAAC,SAAS,CAAC,KAAK,CAAC,EAAE,mBAAW,CAAC,IAAI,CAAC;oBACnD,QAAQ,EAAE,2BAAmB,CAAC,SAAS;oBACvC,aAAa,EAAE,gCAAwB,CAAC,MAAM;iBACjD,CAAC;aACL;SACJ,CAAC,CAAA;IACN,CAAC;;AAvBsB,6BAAa,GAAG,IAAA,uBAAM,GAA0B,CAAA;
|
|
1
|
+
{"version":3,"file":"AbstractAddress.js","sourceRoot":"","sources":["../../../../src/attributes/types/address/AbstractAddress.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,kDAAwD;AACxD,kEAAkC;AAClC,qEAAkH;AAClH,uCAAoG;AAUpG,MAAsB,eAAgB,SAAQ,2CAAoB;IAOvD,MAAM,KAAK,UAAU;QACxB,OAAO,kBAAU,CAAC,IAAI,CAAC;YACnB,aAAa,EAAE;gBACX,CAAC,IAAI,CAAC,aAAa,CAAC,SAAS,CAAC,KAAK,CAAC,EAAE,kBAAU,CAAC,IAAI,CAAC,EAAE,CAAC;aAC5D;SACJ,CAAC,CAAA;IACN,CAAC;IAEM,MAAM,KAAc,WAAW;QAClC,OAAO,KAAK,CAAC,WAAW,CAAC,QAAQ,CAAC;YAC9B,aAAa,EAAE;gBACX,CAAC,IAAI,CAAC,aAAa,CAAC,SAAS,CAAC,KAAK,CAAC,EAAE,mBAAW,CAAC,IAAI,CAAC;oBACnD,QAAQ,EAAE,2BAAmB,CAAC,SAAS;oBACvC,aAAa,EAAE,gCAAwB,CAAC,MAAM;iBACjD,CAAC;aACL;SACJ,CAAC,CAAA;IACN,CAAC;;AAvBsB,6BAAa,GAAG,IAAA,uBAAM,GAA0B,CAAA;AAEvE;IAAC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,GAAE;;kDACa;AAL5B,0CAyBC"}
|
|
@@ -1,3 +1,9 @@
|
|
|
1
|
-
import { AbstractString } from "../AbstractString";
|
|
2
|
-
export
|
|
1
|
+
import { AbstractString, IAbstractString, IAbstractStringJSON } from "../AbstractString";
|
|
2
|
+
export interface CityJSON extends IAbstractStringJSON {
|
|
3
|
+
"@type": "City";
|
|
4
|
+
}
|
|
5
|
+
export interface ICity extends IAbstractString {
|
|
6
|
+
}
|
|
7
|
+
export declare class City extends AbstractString implements ICity {
|
|
8
|
+
static from(value: ICity | CityJSON | string): City;
|
|
3
9
|
}
|
|
@@ -10,6 +10,9 @@ exports.City = void 0;
|
|
|
10
10
|
const ts_serval_1 = require("@js-soft/ts-serval");
|
|
11
11
|
const AbstractString_1 = require("../AbstractString");
|
|
12
12
|
let City = class City extends AbstractString_1.AbstractString {
|
|
13
|
+
static from(value) {
|
|
14
|
+
return this.fromAny(value);
|
|
15
|
+
}
|
|
13
16
|
};
|
|
14
17
|
City = __decorate([
|
|
15
18
|
(0, ts_serval_1.type)("City")
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"City.js","sourceRoot":"","sources":["../../../../src/attributes/types/address/City.ts"],"names":[],"mappings":";;;;;;;;;AAAA,kDAAyC;AACzC,
|
|
1
|
+
{"version":3,"file":"City.js","sourceRoot":"","sources":["../../../../src/attributes/types/address/City.ts"],"names":[],"mappings":";;;;;;;;;AAAA,kDAAyC;AACzC,sDAAwF;AASjF,IAAM,IAAI,GAAV,MAAM,IAAK,SAAQ,+BAAc;IAC7B,MAAM,CAAC,IAAI,CAAC,KAAgC;QAC/C,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAA;IAC9B,CAAC;CACJ,CAAA;AAJY,IAAI;IADhB,IAAA,gBAAI,EAAC,MAAM,CAAC;GACA,IAAI,CAIhB;AAJY,oBAAI"}
|
|
@@ -1,3 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import { IAbstractString, IAbstractStringJSON } from "../AbstractString";
|
|
2
|
+
import { AbstractCountry } from "../strings";
|
|
3
|
+
export interface CountryJSON extends IAbstractStringJSON {
|
|
4
|
+
"@type": "Country";
|
|
5
|
+
}
|
|
6
|
+
export interface ICountry extends IAbstractString {
|
|
7
|
+
}
|
|
8
|
+
export declare class Country extends AbstractCountry implements ICountry {
|
|
9
|
+
static from(value: ICountry | CountryJSON | string): Country;
|
|
3
10
|
}
|
|
@@ -8,8 +8,11 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
8
8
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
9
|
exports.Country = void 0;
|
|
10
10
|
const ts_serval_1 = require("@js-soft/ts-serval");
|
|
11
|
-
const
|
|
12
|
-
let Country = class Country extends
|
|
11
|
+
const strings_1 = require("../strings");
|
|
12
|
+
let Country = class Country extends strings_1.AbstractCountry {
|
|
13
|
+
static from(value) {
|
|
14
|
+
return this.fromAny(value);
|
|
15
|
+
}
|
|
13
16
|
};
|
|
14
17
|
Country = __decorate([
|
|
15
18
|
(0, ts_serval_1.type)("Country")
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Country.js","sourceRoot":"","sources":["../../../../src/attributes/types/address/Country.ts"],"names":[],"mappings":";;;;;;;;;AAAA,kDAAyC;
|
|
1
|
+
{"version":3,"file":"Country.js","sourceRoot":"","sources":["../../../../src/attributes/types/address/Country.ts"],"names":[],"mappings":";;;;;;;;;AAAA,kDAAyC;AAEzC,wCAA4C;AASrC,IAAM,OAAO,GAAb,MAAM,OAAQ,SAAQ,yBAAe;IACjC,MAAM,CAAC,IAAI,CAAC,KAAsC;QACrD,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAA;IAC9B,CAAC;CACJ,CAAA;AAJY,OAAO;IADnB,IAAA,gBAAI,EAAC,SAAS,CAAC;GACH,OAAO,CAInB;AAJY,0BAAO"}
|