@nmshd/content 2.0.2 → 2.1.1
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/ThirdPartyRelationshipAttributeQuery.d.ts +4 -3
- package/dist/attributes/ThirdPartyRelationshipAttributeQuery.js +9 -3
- package/dist/attributes/ThirdPartyRelationshipAttributeQuery.js.map +1 -1
- package/dist/attributes/types/proprietary/ProprietaryAttributeValue.d.ts +12 -0
- package/dist/attributes/types/proprietary/ProprietaryAttributeValue.js +3 -0
- package/dist/attributes/types/proprietary/ProprietaryAttributeValue.js.map +1 -0
- package/dist/attributes/types/proprietary/ProprietaryBoolean.d.ts +6 -6
- package/dist/attributes/types/proprietary/ProprietaryBoolean.js +9 -0
- package/dist/attributes/types/proprietary/ProprietaryBoolean.js.map +1 -1
- package/dist/attributes/types/proprietary/ProprietaryCountry.d.ts +6 -6
- package/dist/attributes/types/proprietary/ProprietaryCountry.js +9 -0
- package/dist/attributes/types/proprietary/ProprietaryCountry.js.map +1 -1
- package/dist/attributes/types/proprietary/ProprietaryEMailAddress.d.ts +6 -6
- package/dist/attributes/types/proprietary/ProprietaryEMailAddress.js +9 -0
- package/dist/attributes/types/proprietary/ProprietaryEMailAddress.js.map +1 -1
- package/dist/attributes/types/proprietary/ProprietaryFileReference.d.ts +6 -6
- package/dist/attributes/types/proprietary/ProprietaryFileReference.js +9 -0
- package/dist/attributes/types/proprietary/ProprietaryFileReference.js.map +1 -1
- package/dist/attributes/types/proprietary/ProprietaryFloat.d.ts +6 -6
- package/dist/attributes/types/proprietary/ProprietaryFloat.js +9 -0
- package/dist/attributes/types/proprietary/ProprietaryFloat.js.map +1 -1
- package/dist/attributes/types/proprietary/ProprietaryHEXColor.d.ts +6 -6
- package/dist/attributes/types/proprietary/ProprietaryHEXColor.js +9 -0
- package/dist/attributes/types/proprietary/ProprietaryHEXColor.js.map +1 -1
- package/dist/attributes/types/proprietary/ProprietaryInteger.d.ts +5 -11
- package/dist/attributes/types/proprietary/ProprietaryInteger.js +0 -8
- package/dist/attributes/types/proprietary/ProprietaryInteger.js.map +1 -1
- package/dist/attributes/types/proprietary/ProprietaryLanguage.d.ts +6 -6
- package/dist/attributes/types/proprietary/ProprietaryLanguage.js +9 -0
- package/dist/attributes/types/proprietary/ProprietaryLanguage.js.map +1 -1
- package/dist/attributes/types/proprietary/ProprietaryPhoneNumber.d.ts +6 -6
- package/dist/attributes/types/proprietary/ProprietaryPhoneNumber.js +9 -0
- package/dist/attributes/types/proprietary/ProprietaryPhoneNumber.js.map +1 -1
- package/dist/attributes/types/proprietary/ProprietaryString.d.ts +6 -6
- package/dist/attributes/types/proprietary/ProprietaryString.js +9 -0
- package/dist/attributes/types/proprietary/ProprietaryString.js.map +1 -1
- package/dist/attributes/types/proprietary/ProprietaryURL.d.ts +6 -6
- package/dist/attributes/types/proprietary/ProprietaryURL.js +9 -0
- package/dist/attributes/types/proprietary/ProprietaryURL.js.map +1 -1
- package/dist/buildInformation.js +4 -4
- package/dist/requests/RequestItem.d.ts +3 -3
- package/dist/requests/response/AcceptResponseItem.d.ts +3 -3
- package/dist/requests/response/ErrorResponseItem.d.ts +3 -3
- package/dist/requests/response/RejectResponseItem.d.ts +3 -3
- package/dist/requests/response/ResponseItem.d.ts +3 -3
- package/lib-web/nmshd.content.js +103 -15
- package/lib-web/nmshd.content.min.js +1 -1
- package/package.json +3 -3
|
@@ -11,6 +11,7 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
12
|
exports.ProprietaryPhoneNumber = void 0;
|
|
13
13
|
const ts_serval_1 = require("@js-soft/ts-serval");
|
|
14
|
+
const hints_1 = require("../../hints");
|
|
14
15
|
const AbstractPhoneNumber_1 = require("../strings/AbstractPhoneNumber");
|
|
15
16
|
let ProprietaryPhoneNumber = class ProprietaryPhoneNumber extends AbstractPhoneNumber_1.AbstractPhoneNumber {
|
|
16
17
|
static from(value) {
|
|
@@ -19,6 +20,9 @@ let ProprietaryPhoneNumber = class ProprietaryPhoneNumber extends AbstractPhoneN
|
|
|
19
20
|
toJSON(verbose, serializeAsString) {
|
|
20
21
|
return super.toJSON(verbose, serializeAsString);
|
|
21
22
|
}
|
|
23
|
+
get valueHints() {
|
|
24
|
+
return super.valueHints.copyWith(this.valueHintsOverride?.toJSON());
|
|
25
|
+
}
|
|
22
26
|
};
|
|
23
27
|
__decorate([
|
|
24
28
|
(0, ts_serval_1.serialize)(),
|
|
@@ -30,6 +34,11 @@ __decorate([
|
|
|
30
34
|
(0, ts_serval_1.validate)({ nullable: true }),
|
|
31
35
|
__metadata("design:type", String)
|
|
32
36
|
], ProprietaryPhoneNumber.prototype, "description", void 0);
|
|
37
|
+
__decorate([
|
|
38
|
+
(0, ts_serval_1.serialize)(),
|
|
39
|
+
(0, ts_serval_1.validate)({ nullable: true }),
|
|
40
|
+
__metadata("design:type", hints_1.ValueHintsOverride)
|
|
41
|
+
], ProprietaryPhoneNumber.prototype, "valueHintsOverride", void 0);
|
|
33
42
|
ProprietaryPhoneNumber = __decorate([
|
|
34
43
|
(0, ts_serval_1.type)("ProprietaryPhoneNumber")
|
|
35
44
|
], ProprietaryPhoneNumber);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ProprietaryPhoneNumber.js","sourceRoot":"","sources":["../../../../src/attributes/types/proprietary/ProprietaryPhoneNumber.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAA8D;
|
|
1
|
+
{"version":3,"file":"ProprietaryPhoneNumber.js","sourceRoot":"","sources":["../../../../src/attributes/types/proprietary/ProprietaryPhoneNumber.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAA8D;AAC9D,uCAA4D;AAE5D,wEAAoE;AAU7D,IAAM,sBAAsB,GAA5B,MAAM,sBAAuB,SAAQ,yCAAmB;IAapD,MAAM,CAAC,IAAI,CACd,KAA0E;QAE1E,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,CAA+B,CAAA;IACjF,CAAC;IAED,IAAoB,UAAU;QAC1B,OAAO,KAAK,CAAC,UAAU,CAAC,QAAQ,CAAC,IAAI,CAAC,kBAAkB,EAAE,MAAM,EAAE,CAAC,CAAA;IACvE,CAAC;CACJ,CAAA;AA5BG;IAAC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,GAAE;;qDACS;AAEpB;IAAC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;2DACH;AAE1B;IAAC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;8BACD,0BAAkB;kEAAA;AAXrC,sBAAsB;IADlC,IAAA,gBAAI,EAAC,wBAAwB,CAAC;GAClB,sBAAsB,CA6BlC;AA7BY,wDAAsB"}
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
+
import { ValueHints, ValueHintsOverride } from "../../hints";
|
|
1
2
|
import { AbstractString, AbstractStringJSON, IAbstractString } from "../AbstractString";
|
|
2
|
-
|
|
3
|
+
import { IProprietaryAttributeValue, ProprietaryAttributeValueJSON } from "./ProprietaryAttributeValue";
|
|
4
|
+
export interface ProprietaryStringJSON extends ProprietaryAttributeValueJSON, AbstractStringJSON {
|
|
3
5
|
"@type": "ProprietaryString";
|
|
4
|
-
title: string;
|
|
5
|
-
description?: string;
|
|
6
6
|
}
|
|
7
|
-
export interface IProprietaryString extends IAbstractString {
|
|
8
|
-
title: string;
|
|
9
|
-
description?: string;
|
|
7
|
+
export interface IProprietaryString extends IProprietaryAttributeValue, IAbstractString {
|
|
10
8
|
}
|
|
11
9
|
export declare class ProprietaryString extends AbstractString {
|
|
12
10
|
title: string;
|
|
13
11
|
description?: string;
|
|
12
|
+
valueHintsOverride?: ValueHintsOverride;
|
|
14
13
|
static from(value: IProprietaryString | Omit<ProprietaryStringJSON, "@type">): ProprietaryString;
|
|
15
14
|
toJSON(verbose?: boolean | undefined, serializeAsString?: boolean | undefined): ProprietaryStringJSON;
|
|
15
|
+
get valueHints(): ValueHints;
|
|
16
16
|
}
|
|
@@ -11,6 +11,7 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
12
|
exports.ProprietaryString = void 0;
|
|
13
13
|
const ts_serval_1 = require("@js-soft/ts-serval");
|
|
14
|
+
const hints_1 = require("../../hints");
|
|
14
15
|
const AbstractString_1 = require("../AbstractString");
|
|
15
16
|
let ProprietaryString = class ProprietaryString extends AbstractString_1.AbstractString {
|
|
16
17
|
static from(value) {
|
|
@@ -19,6 +20,9 @@ let ProprietaryString = class ProprietaryString extends AbstractString_1.Abstrac
|
|
|
19
20
|
toJSON(verbose, serializeAsString) {
|
|
20
21
|
return super.toJSON(verbose, serializeAsString);
|
|
21
22
|
}
|
|
23
|
+
get valueHints() {
|
|
24
|
+
return super.valueHints.copyWith(this.valueHintsOverride?.toJSON());
|
|
25
|
+
}
|
|
22
26
|
};
|
|
23
27
|
__decorate([
|
|
24
28
|
(0, ts_serval_1.serialize)(),
|
|
@@ -30,6 +34,11 @@ __decorate([
|
|
|
30
34
|
(0, ts_serval_1.validate)({ nullable: true }),
|
|
31
35
|
__metadata("design:type", String)
|
|
32
36
|
], ProprietaryString.prototype, "description", void 0);
|
|
37
|
+
__decorate([
|
|
38
|
+
(0, ts_serval_1.serialize)(),
|
|
39
|
+
(0, ts_serval_1.validate)({ nullable: true }),
|
|
40
|
+
__metadata("design:type", hints_1.ValueHintsOverride)
|
|
41
|
+
], ProprietaryString.prototype, "valueHintsOverride", void 0);
|
|
33
42
|
ProprietaryString = __decorate([
|
|
34
43
|
(0, ts_serval_1.type)("ProprietaryString")
|
|
35
44
|
], ProprietaryString);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ProprietaryString.js","sourceRoot":"","sources":["../../../../src/attributes/types/proprietary/ProprietaryString.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAA8D;AAC9D,sDAAuF;
|
|
1
|
+
{"version":3,"file":"ProprietaryString.js","sourceRoot":"","sources":["../../../../src/attributes/types/proprietary/ProprietaryString.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAA8D;AAC9D,uCAA4D;AAC5D,sDAAuF;AAUhF,IAAM,iBAAiB,GAAvB,MAAM,iBAAkB,SAAQ,+BAAc;IAa1C,MAAM,CAAC,IAAI,CAAC,KAAgE;QAC/E,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,CAA0B,CAAA;IAC5E,CAAC;IAED,IAAoB,UAAU;QAC1B,OAAO,KAAK,CAAC,UAAU,CAAC,QAAQ,CAAC,IAAI,CAAC,kBAAkB,EAAE,MAAM,EAAE,CAAC,CAAA;IACvE,CAAC;CACJ,CAAA;AA1BG;IAAC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,GAAE;;gDACS;AAEpB;IAAC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;sDACF;AAE3B;IAAC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;8BACD,0BAAkB;6DAAA;AAXrC,iBAAiB;IAD7B,IAAA,gBAAI,EAAC,mBAAmB,CAAC;GACb,iBAAiB,CA2B7B;AA3BY,8CAAiB"}
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
+
import { ValueHints, ValueHintsOverride } from "../../hints";
|
|
1
2
|
import { AbstractStringJSON, IAbstractString } from "../AbstractString";
|
|
2
3
|
import { AbstractURL } from "../strings/AbstractURL";
|
|
3
|
-
|
|
4
|
+
import { IProprietaryAttributeValue, ProprietaryAttributeValueJSON } from "./ProprietaryAttributeValue";
|
|
5
|
+
export interface ProprietaryURLJSON extends ProprietaryAttributeValueJSON, AbstractStringJSON {
|
|
4
6
|
"@type": "ProprietaryURL";
|
|
5
|
-
title: string;
|
|
6
|
-
description?: string;
|
|
7
7
|
}
|
|
8
|
-
export interface IProprietaryURL extends IAbstractString {
|
|
9
|
-
title: string;
|
|
10
|
-
description?: string;
|
|
8
|
+
export interface IProprietaryURL extends IProprietaryAttributeValue, IAbstractString {
|
|
11
9
|
}
|
|
12
10
|
export declare class ProprietaryURL extends AbstractURL {
|
|
13
11
|
title: string;
|
|
14
12
|
description?: string;
|
|
13
|
+
valueHintsOverride?: ValueHintsOverride;
|
|
15
14
|
static from(value: IProprietaryURL | Omit<ProprietaryURLJSON, "@type">): ProprietaryURL;
|
|
16
15
|
toJSON(verbose?: boolean | undefined, serializeAsString?: boolean | undefined): ProprietaryURLJSON;
|
|
16
|
+
get valueHints(): ValueHints;
|
|
17
17
|
}
|
|
@@ -11,6 +11,7 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
12
|
exports.ProprietaryURL = void 0;
|
|
13
13
|
const ts_serval_1 = require("@js-soft/ts-serval");
|
|
14
|
+
const hints_1 = require("../../hints");
|
|
14
15
|
const AbstractURL_1 = require("../strings/AbstractURL");
|
|
15
16
|
let ProprietaryURL = class ProprietaryURL extends AbstractURL_1.AbstractURL {
|
|
16
17
|
static from(value) {
|
|
@@ -19,6 +20,9 @@ let ProprietaryURL = class ProprietaryURL extends AbstractURL_1.AbstractURL {
|
|
|
19
20
|
toJSON(verbose, serializeAsString) {
|
|
20
21
|
return super.toJSON(verbose, serializeAsString);
|
|
21
22
|
}
|
|
23
|
+
get valueHints() {
|
|
24
|
+
return super.valueHints.copyWith(this.valueHintsOverride?.toJSON());
|
|
25
|
+
}
|
|
22
26
|
};
|
|
23
27
|
__decorate([
|
|
24
28
|
(0, ts_serval_1.serialize)(),
|
|
@@ -30,6 +34,11 @@ __decorate([
|
|
|
30
34
|
(0, ts_serval_1.validate)({ nullable: true }),
|
|
31
35
|
__metadata("design:type", String)
|
|
32
36
|
], ProprietaryURL.prototype, "description", void 0);
|
|
37
|
+
__decorate([
|
|
38
|
+
(0, ts_serval_1.serialize)(),
|
|
39
|
+
(0, ts_serval_1.validate)({ nullable: true }),
|
|
40
|
+
__metadata("design:type", hints_1.ValueHintsOverride)
|
|
41
|
+
], ProprietaryURL.prototype, "valueHintsOverride", void 0);
|
|
33
42
|
ProprietaryURL = __decorate([
|
|
34
43
|
(0, ts_serval_1.type)("ProprietaryURL")
|
|
35
44
|
], ProprietaryURL);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ProprietaryURL.js","sourceRoot":"","sources":["../../../../src/attributes/types/proprietary/ProprietaryURL.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAA8D;
|
|
1
|
+
{"version":3,"file":"ProprietaryURL.js","sourceRoot":"","sources":["../../../../src/attributes/types/proprietary/ProprietaryURL.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAA8D;AAC9D,uCAA4D;AAE5D,wDAAoD;AAU7C,IAAM,cAAc,GAApB,MAAM,cAAe,SAAQ,yBAAW;IAapC,MAAM,CAAC,IAAI,CAAC,KAA0D;QACzE,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,CAAuB,CAAA;IACzE,CAAC;IAED,IAAoB,UAAU;QAC1B,OAAO,KAAK,CAAC,UAAU,CAAC,QAAQ,CAAC,IAAI,CAAC,kBAAkB,EAAE,MAAM,EAAE,CAAC,CAAA;IACvE,CAAC;CACJ,CAAA;AAvBG;IAAC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,GAAE;;6CACS;AAEpB;IAAC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;mDACF;AAE3B;IAAC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;8BACD,0BAAkB;0DAAA;AAXrC,cAAc;IAD1B,IAAA,gBAAI,EAAC,gBAAgB,CAAC;GACV,cAAc,CAwB1B;AAxBY,wCAAc"}
|
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.
|
|
9
|
-
build: "
|
|
10
|
-
date: "2022-11-
|
|
11
|
-
commit: "
|
|
8
|
+
version: "2.1.1",
|
|
9
|
+
build: "125",
|
|
10
|
+
date: "2022-11-16T07:38:06+00:00",
|
|
11
|
+
commit: "ee6671830c47ca3630b1d4a64a8998741f04faad",
|
|
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,
|
|
@@ -35,7 +35,7 @@ export interface RequestItemJSON extends ContentJSON {
|
|
|
35
35
|
*/
|
|
36
36
|
requireManualDecision?: boolean;
|
|
37
37
|
}
|
|
38
|
-
export
|
|
38
|
+
export type RequestItemJSONDerivations = RequestItemJSON | CreateAttributeRequestItemJSON | ShareAttributeRequestItemJSON | ProposeAttributeRequestItemJSON | ReadAttributeRequestItemJSON | ConsentRequestItemJSON | AuthenticationRequestItemJSON | RegisterAttributeListenerRequestItemJSON;
|
|
39
39
|
export interface IRequestItem extends ISerializable {
|
|
40
40
|
/**
|
|
41
41
|
* The human-readable title of this item.
|
|
@@ -68,7 +68,7 @@ export interface IRequestItem extends ISerializable {
|
|
|
68
68
|
*/
|
|
69
69
|
requireManualDecision?: boolean;
|
|
70
70
|
}
|
|
71
|
-
export
|
|
71
|
+
export type IRequestItemDerivations = IRequestItem | ICreateAttributeRequestItem | IShareAttributeRequestItem | IProposeAttributeRequestItem | IReadAttributeRequestItem | IConsentRequestItem | IAuthenticationRequestItem | IRegisterAttributeListenerRequestItem;
|
|
72
72
|
export declare abstract class RequestItem extends Serializable {
|
|
73
73
|
title?: string;
|
|
74
74
|
description?: string;
|
|
@@ -77,4 +77,4 @@ export declare abstract class RequestItem extends Serializable {
|
|
|
77
77
|
requireManualDecision?: boolean;
|
|
78
78
|
toJSON(verbose?: boolean | undefined, serializeAsString?: boolean | undefined): RequestItemJSON;
|
|
79
79
|
}
|
|
80
|
-
export
|
|
80
|
+
export type RequestItemDerivations = RequestItem | CreateAttributeRequestItem | ShareAttributeRequestItem | ProposeAttributeRequestItem | ReadAttributeRequestItem | ConsentRequestItem | AuthenticationRequestItem | RegisterAttributeListenerRequestItem;
|
|
@@ -4,14 +4,14 @@ import { ResponseItemResult } from "./ResponseItemResult";
|
|
|
4
4
|
export interface AcceptResponseItemJSON extends ResponseItemJSON {
|
|
5
5
|
result: ResponseItemResult.Accepted;
|
|
6
6
|
}
|
|
7
|
-
export
|
|
7
|
+
export type AcceptResponseItemJSONDerivations = AcceptResponseItemJSON | CreateAttributeAcceptResponseItemJSON | ShareAttributeAcceptResponseItemJSON | ProposeAttributeAcceptResponseItemJSON | ReadAttributeAcceptResponseItemJSON | RegisterAttributeListenerAcceptResponseItemJSON;
|
|
8
8
|
export interface IAcceptResponseItem extends IResponseItem {
|
|
9
9
|
result: ResponseItemResult.Accepted;
|
|
10
10
|
}
|
|
11
|
-
export
|
|
11
|
+
export type IAcceptResponseItemDerivations = IAcceptResponseItem | ICreateAttributeAcceptResponseItem | IShareAttributeAcceptResponseItem | IProposeAttributeAcceptResponseItem | IReadAttributeAcceptResponseItem | IRegisterAttributeListenerAcceptResponseItem;
|
|
12
12
|
export declare class AcceptResponseItem extends ResponseItem implements IAcceptResponseItem {
|
|
13
13
|
result: ResponseItemResult.Accepted;
|
|
14
14
|
static from(value: IAcceptResponseItem | Omit<AcceptResponseItemJSON, "@type">): AcceptResponseItem;
|
|
15
15
|
toJSON(verbose?: boolean | undefined, serializeAsString?: boolean | undefined): AcceptResponseItemJSON;
|
|
16
16
|
}
|
|
17
|
-
export
|
|
17
|
+
export type AcceptResponseItemDerivations = AcceptResponseItem | CreateAttributeAcceptResponseItem | ShareAttributeAcceptResponseItem | ProposeAttributeAcceptResponseItem | ReadAttributeAcceptResponseItem | RegisterAttributeListenerAcceptResponseItem;
|
|
@@ -6,13 +6,13 @@ export interface ErrorResponseItemJSON extends ResponseItemJSON {
|
|
|
6
6
|
code: string;
|
|
7
7
|
message: string;
|
|
8
8
|
}
|
|
9
|
-
export
|
|
9
|
+
export type ErrorResponseItemJSONDerivations = ErrorResponseItemJSON;
|
|
10
10
|
export interface IErrorResponseItem extends IResponseItem {
|
|
11
11
|
result: ResponseItemResult.Failed;
|
|
12
12
|
code: string;
|
|
13
13
|
message: string;
|
|
14
14
|
}
|
|
15
|
-
export
|
|
15
|
+
export type IErrorResponseItemDerivations = IErrorResponseItem;
|
|
16
16
|
export declare class ErrorResponseItem extends ResponseItem implements IErrorResponseItem {
|
|
17
17
|
result: ResponseItemResult.Failed;
|
|
18
18
|
code: string;
|
|
@@ -20,4 +20,4 @@ export declare class ErrorResponseItem extends ResponseItem implements IErrorRes
|
|
|
20
20
|
static from(value: IErrorResponseItem | Omit<ErrorResponseItemJSON, "@type">): ErrorResponseItem;
|
|
21
21
|
toJSON(verbose?: boolean | undefined, serializeAsString?: boolean | undefined): ErrorResponseItemJSON;
|
|
22
22
|
}
|
|
23
|
-
export
|
|
23
|
+
export type ErrorResponseItemDerivations = ErrorResponseItem;
|
|
@@ -6,13 +6,13 @@ export interface RejectResponseItemJSON extends ResponseItemJSON {
|
|
|
6
6
|
code?: string;
|
|
7
7
|
message?: string;
|
|
8
8
|
}
|
|
9
|
-
export
|
|
9
|
+
export type RejectResponseItemJSONDerivations = RejectResponseItemJSON;
|
|
10
10
|
export interface IRejectResponseItem extends IResponseItem {
|
|
11
11
|
result: ResponseItemResult.Rejected;
|
|
12
12
|
code?: string;
|
|
13
13
|
message?: string;
|
|
14
14
|
}
|
|
15
|
-
export
|
|
15
|
+
export type IRejectResponseItemDerivations = IRejectResponseItem;
|
|
16
16
|
export declare class RejectResponseItem extends ResponseItem implements IRejectResponseItem {
|
|
17
17
|
result: ResponseItemResult.Rejected;
|
|
18
18
|
code?: string;
|
|
@@ -20,4 +20,4 @@ export declare class RejectResponseItem extends ResponseItem implements IRejectR
|
|
|
20
20
|
static from(value: IRejectResponseItem | Omit<RejectResponseItemJSON, "@type">): RejectResponseItem;
|
|
21
21
|
toJSON(verbose?: boolean | undefined, serializeAsString?: boolean | undefined): RejectResponseItemJSON;
|
|
22
22
|
}
|
|
23
|
-
export
|
|
23
|
+
export type RejectResponseItemDerivations = RejectResponseItem;
|
|
@@ -7,13 +7,13 @@ import { ResponseItemResult } from "./ResponseItemResult";
|
|
|
7
7
|
export interface ResponseItemJSON extends ContentJSON {
|
|
8
8
|
result: ResponseItemResult;
|
|
9
9
|
}
|
|
10
|
-
export
|
|
10
|
+
export type ResponseItemJSONDerivations = AcceptResponseItemJSONDerivations | RejectResponseItemJSONDerivations | ErrorResponseItemJSONDerivations;
|
|
11
11
|
export interface IResponseItem extends ISerializable {
|
|
12
12
|
result: ResponseItemResult;
|
|
13
13
|
}
|
|
14
|
-
export
|
|
14
|
+
export type IResponseItemDerivations = IAcceptResponseItemDerivations | IRejectResponseItemDerivations | IErrorResponseItemDerivations;
|
|
15
15
|
export declare abstract class ResponseItem extends Serializable {
|
|
16
16
|
result: ResponseItemResult;
|
|
17
17
|
toJSON(verbose?: boolean | undefined, serializeAsString?: boolean | undefined): ResponseItemJSON;
|
|
18
18
|
}
|
|
19
|
-
export
|
|
19
|
+
export type ResponseItemDerivations = AcceptResponseItemDerivations | RejectResponseItemDerivations | ErrorResponseItemDerivations;
|
package/lib-web/nmshd.content.js
CHANGED
|
@@ -639,6 +639,12 @@ const ts_serval_1 = __webpack_require__(/*! @js-soft/ts-serval */ "@js-soft/ts-s
|
|
|
639
639
|
const transport_1 = __webpack_require__(/*! @nmshd/transport */ "@nmshd/transport");
|
|
640
640
|
const AbstractAttributeQuery_1 = __webpack_require__(/*! ./AbstractAttributeQuery */ "./dist/attributes/AbstractAttributeQuery.js");
|
|
641
641
|
let ThirdPartyRelationshipAttributeQuery = class ThirdPartyRelationshipAttributeQuery extends AbstractAttributeQuery_1.AbstractAttributeQuery {
|
|
642
|
+
static preFrom(value) {
|
|
643
|
+
if (typeof value.thirdParty === "string" || "address" in value.thirdParty) {
|
|
644
|
+
value.thirdParty = [transport_1.CoreAddress.from(value.thirdParty)];
|
|
645
|
+
}
|
|
646
|
+
return value;
|
|
647
|
+
}
|
|
642
648
|
static from(value) {
|
|
643
649
|
return this.fromAny(value);
|
|
644
650
|
}
|
|
@@ -657,9 +663,9 @@ __decorate([
|
|
|
657
663
|
__metadata("design:type", transport_1.CoreAddress)
|
|
658
664
|
], ThirdPartyRelationshipAttributeQuery.prototype, "owner", void 0);
|
|
659
665
|
__decorate([
|
|
660
|
-
(0, ts_serval_1.serialize)(),
|
|
661
|
-
(0, ts_serval_1.validate)(),
|
|
662
|
-
__metadata("design:type",
|
|
666
|
+
(0, ts_serval_1.serialize)({ type: transport_1.CoreAddress }),
|
|
667
|
+
(0, ts_serval_1.validate)({ customValidator: (v) => (v.length < 1 ? "may not be empty" : undefined) }),
|
|
668
|
+
__metadata("design:type", Array)
|
|
663
669
|
], ThirdPartyRelationshipAttributeQuery.prototype, "thirdParty", void 0);
|
|
664
670
|
ThirdPartyRelationshipAttributeQuery = __decorate([
|
|
665
671
|
(0, ts_serval_1.type)("ThirdPartyRelationshipAttributeQuery")
|
|
@@ -4887,6 +4893,7 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
4887
4893
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
4888
4894
|
exports.ProprietaryBoolean = void 0;
|
|
4889
4895
|
const ts_serval_1 = __webpack_require__(/*! @js-soft/ts-serval */ "@js-soft/ts-serval");
|
|
4896
|
+
const hints_1 = __webpack_require__(/*! ../../hints */ "./dist/attributes/hints/index.js");
|
|
4890
4897
|
const AbstractBoolean_1 = __webpack_require__(/*! ../AbstractBoolean */ "./dist/attributes/types/AbstractBoolean.js");
|
|
4891
4898
|
let ProprietaryBoolean = class ProprietaryBoolean extends AbstractBoolean_1.AbstractBoolean {
|
|
4892
4899
|
static from(value) {
|
|
@@ -4895,6 +4902,9 @@ let ProprietaryBoolean = class ProprietaryBoolean extends AbstractBoolean_1.Abst
|
|
|
4895
4902
|
toJSON(verbose, serializeAsString) {
|
|
4896
4903
|
return super.toJSON(verbose, serializeAsString);
|
|
4897
4904
|
}
|
|
4905
|
+
get valueHints() {
|
|
4906
|
+
return super.valueHints.copyWith(this.valueHintsOverride?.toJSON());
|
|
4907
|
+
}
|
|
4898
4908
|
};
|
|
4899
4909
|
__decorate([
|
|
4900
4910
|
(0, ts_serval_1.serialize)(),
|
|
@@ -4906,6 +4916,11 @@ __decorate([
|
|
|
4906
4916
|
(0, ts_serval_1.validate)({ nullable: true }),
|
|
4907
4917
|
__metadata("design:type", String)
|
|
4908
4918
|
], ProprietaryBoolean.prototype, "description", void 0);
|
|
4919
|
+
__decorate([
|
|
4920
|
+
(0, ts_serval_1.serialize)(),
|
|
4921
|
+
(0, ts_serval_1.validate)({ nullable: true }),
|
|
4922
|
+
__metadata("design:type", hints_1.ValueHintsOverride)
|
|
4923
|
+
], ProprietaryBoolean.prototype, "valueHintsOverride", void 0);
|
|
4909
4924
|
ProprietaryBoolean = __decorate([
|
|
4910
4925
|
(0, ts_serval_1.type)("ProprietaryBoolean")
|
|
4911
4926
|
], ProprietaryBoolean);
|
|
@@ -4933,6 +4948,7 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
4933
4948
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
4934
4949
|
exports.ProprietaryCountry = void 0;
|
|
4935
4950
|
const ts_serval_1 = __webpack_require__(/*! @js-soft/ts-serval */ "@js-soft/ts-serval");
|
|
4951
|
+
const hints_1 = __webpack_require__(/*! ../../hints */ "./dist/attributes/hints/index.js");
|
|
4936
4952
|
const AbstractCountry_1 = __webpack_require__(/*! ../strings/AbstractCountry */ "./dist/attributes/types/strings/AbstractCountry.js");
|
|
4937
4953
|
let ProprietaryCountry = class ProprietaryCountry extends AbstractCountry_1.AbstractCountry {
|
|
4938
4954
|
static from(value) {
|
|
@@ -4941,6 +4957,9 @@ let ProprietaryCountry = class ProprietaryCountry extends AbstractCountry_1.Abst
|
|
|
4941
4957
|
toJSON(verbose, serializeAsString) {
|
|
4942
4958
|
return super.toJSON(verbose, serializeAsString);
|
|
4943
4959
|
}
|
|
4960
|
+
get valueHints() {
|
|
4961
|
+
return super.valueHints.copyWith(this.valueHintsOverride?.toJSON());
|
|
4962
|
+
}
|
|
4944
4963
|
};
|
|
4945
4964
|
__decorate([
|
|
4946
4965
|
(0, ts_serval_1.serialize)(),
|
|
@@ -4952,6 +4971,11 @@ __decorate([
|
|
|
4952
4971
|
(0, ts_serval_1.validate)({ nullable: true }),
|
|
4953
4972
|
__metadata("design:type", String)
|
|
4954
4973
|
], ProprietaryCountry.prototype, "description", void 0);
|
|
4974
|
+
__decorate([
|
|
4975
|
+
(0, ts_serval_1.serialize)(),
|
|
4976
|
+
(0, ts_serval_1.validate)({ nullable: true }),
|
|
4977
|
+
__metadata("design:type", hints_1.ValueHintsOverride)
|
|
4978
|
+
], ProprietaryCountry.prototype, "valueHintsOverride", void 0);
|
|
4955
4979
|
ProprietaryCountry = __decorate([
|
|
4956
4980
|
(0, ts_serval_1.type)("ProprietaryCountry")
|
|
4957
4981
|
], ProprietaryCountry);
|
|
@@ -4979,6 +5003,7 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
4979
5003
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
4980
5004
|
exports.ProprietaryEMailAddress = void 0;
|
|
4981
5005
|
const ts_serval_1 = __webpack_require__(/*! @js-soft/ts-serval */ "@js-soft/ts-serval");
|
|
5006
|
+
const hints_1 = __webpack_require__(/*! ../../hints */ "./dist/attributes/hints/index.js");
|
|
4982
5007
|
const AbstractEMailAddress_1 = __webpack_require__(/*! ../strings/AbstractEMailAddress */ "./dist/attributes/types/strings/AbstractEMailAddress.js");
|
|
4983
5008
|
let ProprietaryEMailAddress = class ProprietaryEMailAddress extends AbstractEMailAddress_1.AbstractEMailAddress {
|
|
4984
5009
|
static from(value) {
|
|
@@ -4987,6 +5012,9 @@ let ProprietaryEMailAddress = class ProprietaryEMailAddress extends AbstractEMai
|
|
|
4987
5012
|
toJSON(verbose, serializeAsString) {
|
|
4988
5013
|
return super.toJSON(verbose, serializeAsString);
|
|
4989
5014
|
}
|
|
5015
|
+
get valueHints() {
|
|
5016
|
+
return super.valueHints.copyWith(this.valueHintsOverride?.toJSON());
|
|
5017
|
+
}
|
|
4990
5018
|
};
|
|
4991
5019
|
__decorate([
|
|
4992
5020
|
(0, ts_serval_1.serialize)(),
|
|
@@ -4998,6 +5026,11 @@ __decorate([
|
|
|
4998
5026
|
(0, ts_serval_1.validate)({ nullable: true }),
|
|
4999
5027
|
__metadata("design:type", String)
|
|
5000
5028
|
], ProprietaryEMailAddress.prototype, "description", void 0);
|
|
5029
|
+
__decorate([
|
|
5030
|
+
(0, ts_serval_1.serialize)(),
|
|
5031
|
+
(0, ts_serval_1.validate)({ nullable: true }),
|
|
5032
|
+
__metadata("design:type", hints_1.ValueHintsOverride)
|
|
5033
|
+
], ProprietaryEMailAddress.prototype, "valueHintsOverride", void 0);
|
|
5001
5034
|
ProprietaryEMailAddress = __decorate([
|
|
5002
5035
|
(0, ts_serval_1.type)("ProprietaryEMailAddress")
|
|
5003
5036
|
], ProprietaryEMailAddress);
|
|
@@ -5025,6 +5058,7 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
5025
5058
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
5026
5059
|
exports.ProprietaryFileReference = void 0;
|
|
5027
5060
|
const ts_serval_1 = __webpack_require__(/*! @js-soft/ts-serval */ "@js-soft/ts-serval");
|
|
5061
|
+
const hints_1 = __webpack_require__(/*! ../../hints */ "./dist/attributes/hints/index.js");
|
|
5028
5062
|
const strings_1 = __webpack_require__(/*! ../strings */ "./dist/attributes/types/strings/index.js");
|
|
5029
5063
|
let ProprietaryFileReference = class ProprietaryFileReference extends strings_1.AbstractFileReference {
|
|
5030
5064
|
static from(value) {
|
|
@@ -5033,6 +5067,9 @@ let ProprietaryFileReference = class ProprietaryFileReference extends strings_1.
|
|
|
5033
5067
|
toJSON(verbose, serializeAsString) {
|
|
5034
5068
|
return super.toJSON(verbose, serializeAsString);
|
|
5035
5069
|
}
|
|
5070
|
+
get valueHints() {
|
|
5071
|
+
return super.valueHints.copyWith(this.valueHintsOverride?.toJSON());
|
|
5072
|
+
}
|
|
5036
5073
|
};
|
|
5037
5074
|
__decorate([
|
|
5038
5075
|
(0, ts_serval_1.serialize)(),
|
|
@@ -5044,6 +5081,11 @@ __decorate([
|
|
|
5044
5081
|
(0, ts_serval_1.validate)({ nullable: true }),
|
|
5045
5082
|
__metadata("design:type", String)
|
|
5046
5083
|
], ProprietaryFileReference.prototype, "description", void 0);
|
|
5084
|
+
__decorate([
|
|
5085
|
+
(0, ts_serval_1.serialize)(),
|
|
5086
|
+
(0, ts_serval_1.validate)({ nullable: true }),
|
|
5087
|
+
__metadata("design:type", hints_1.ValueHintsOverride)
|
|
5088
|
+
], ProprietaryFileReference.prototype, "valueHintsOverride", void 0);
|
|
5047
5089
|
ProprietaryFileReference = __decorate([
|
|
5048
5090
|
(0, ts_serval_1.type)("ProprietaryFileReference")
|
|
5049
5091
|
], ProprietaryFileReference);
|
|
@@ -5071,6 +5113,7 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
5071
5113
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
5072
5114
|
exports.ProprietaryFloat = void 0;
|
|
5073
5115
|
const ts_serval_1 = __webpack_require__(/*! @js-soft/ts-serval */ "@js-soft/ts-serval");
|
|
5116
|
+
const hints_1 = __webpack_require__(/*! ../../hints */ "./dist/attributes/hints/index.js");
|
|
5074
5117
|
const AbstractFloat_1 = __webpack_require__(/*! ../AbstractFloat */ "./dist/attributes/types/AbstractFloat.js");
|
|
5075
5118
|
let ProprietaryFloat = class ProprietaryFloat extends AbstractFloat_1.AbstractFloat {
|
|
5076
5119
|
static from(value) {
|
|
@@ -5079,6 +5122,9 @@ let ProprietaryFloat = class ProprietaryFloat extends AbstractFloat_1.AbstractFl
|
|
|
5079
5122
|
toJSON(verbose, serializeAsString) {
|
|
5080
5123
|
return super.toJSON(verbose, serializeAsString);
|
|
5081
5124
|
}
|
|
5125
|
+
get valueHints() {
|
|
5126
|
+
return super.valueHints.copyWith(this.valueHintsOverride?.toJSON());
|
|
5127
|
+
}
|
|
5082
5128
|
};
|
|
5083
5129
|
__decorate([
|
|
5084
5130
|
(0, ts_serval_1.serialize)(),
|
|
@@ -5090,6 +5136,11 @@ __decorate([
|
|
|
5090
5136
|
(0, ts_serval_1.validate)({ nullable: true }),
|
|
5091
5137
|
__metadata("design:type", String)
|
|
5092
5138
|
], ProprietaryFloat.prototype, "description", void 0);
|
|
5139
|
+
__decorate([
|
|
5140
|
+
(0, ts_serval_1.serialize)(),
|
|
5141
|
+
(0, ts_serval_1.validate)({ nullable: true }),
|
|
5142
|
+
__metadata("design:type", hints_1.ValueHintsOverride)
|
|
5143
|
+
], ProprietaryFloat.prototype, "valueHintsOverride", void 0);
|
|
5093
5144
|
ProprietaryFloat = __decorate([
|
|
5094
5145
|
(0, ts_serval_1.type)("ProprietaryFloat")
|
|
5095
5146
|
], ProprietaryFloat);
|
|
@@ -5117,6 +5168,7 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
5117
5168
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
5118
5169
|
exports.ProprietaryHEXColor = void 0;
|
|
5119
5170
|
const ts_serval_1 = __webpack_require__(/*! @js-soft/ts-serval */ "@js-soft/ts-serval");
|
|
5171
|
+
const hints_1 = __webpack_require__(/*! ../../hints */ "./dist/attributes/hints/index.js");
|
|
5120
5172
|
const AbstractHEXColor_1 = __webpack_require__(/*! ../strings/AbstractHEXColor */ "./dist/attributes/types/strings/AbstractHEXColor.js");
|
|
5121
5173
|
let ProprietaryHEXColor = class ProprietaryHEXColor extends AbstractHEXColor_1.AbstractHEXColor {
|
|
5122
5174
|
static from(value) {
|
|
@@ -5125,6 +5177,9 @@ let ProprietaryHEXColor = class ProprietaryHEXColor extends AbstractHEXColor_1.A
|
|
|
5125
5177
|
toJSON(verbose, serializeAsString) {
|
|
5126
5178
|
return super.toJSON(verbose, serializeAsString);
|
|
5127
5179
|
}
|
|
5180
|
+
get valueHints() {
|
|
5181
|
+
return super.valueHints.copyWith(this.valueHintsOverride?.toJSON());
|
|
5182
|
+
}
|
|
5128
5183
|
};
|
|
5129
5184
|
__decorate([
|
|
5130
5185
|
(0, ts_serval_1.serialize)(),
|
|
@@ -5136,6 +5191,11 @@ __decorate([
|
|
|
5136
5191
|
(0, ts_serval_1.validate)({ nullable: true }),
|
|
5137
5192
|
__metadata("design:type", String)
|
|
5138
5193
|
], ProprietaryHEXColor.prototype, "description", void 0);
|
|
5194
|
+
__decorate([
|
|
5195
|
+
(0, ts_serval_1.serialize)(),
|
|
5196
|
+
(0, ts_serval_1.validate)({ nullable: true }),
|
|
5197
|
+
__metadata("design:type", hints_1.ValueHintsOverride)
|
|
5198
|
+
], ProprietaryHEXColor.prototype, "valueHintsOverride", void 0);
|
|
5139
5199
|
ProprietaryHEXColor = __decorate([
|
|
5140
5200
|
(0, ts_serval_1.type)("ProprietaryHEXColor")
|
|
5141
5201
|
], ProprietaryHEXColor);
|
|
@@ -5175,9 +5235,6 @@ let ProprietaryInteger = class ProprietaryInteger extends AbstractInteger_1.Abst
|
|
|
5175
5235
|
get valueHints() {
|
|
5176
5236
|
return super.valueHints.copyWith(this.valueHintsOverride?.toJSON());
|
|
5177
5237
|
}
|
|
5178
|
-
get renderHints() {
|
|
5179
|
-
return super.renderHints.copyWith(this.renderHintsOverride?.toJSON());
|
|
5180
|
-
}
|
|
5181
5238
|
};
|
|
5182
5239
|
__decorate([
|
|
5183
5240
|
(0, ts_serval_1.serialize)(),
|
|
@@ -5194,11 +5251,6 @@ __decorate([
|
|
|
5194
5251
|
(0, ts_serval_1.validate)({ nullable: true }),
|
|
5195
5252
|
__metadata("design:type", hints_1.ValueHintsOverride)
|
|
5196
5253
|
], ProprietaryInteger.prototype, "valueHintsOverride", void 0);
|
|
5197
|
-
__decorate([
|
|
5198
|
-
(0, ts_serval_1.serialize)(),
|
|
5199
|
-
(0, ts_serval_1.validate)({ nullable: true }),
|
|
5200
|
-
__metadata("design:type", hints_1.RenderHintsOverride)
|
|
5201
|
-
], ProprietaryInteger.prototype, "renderHintsOverride", void 0);
|
|
5202
5254
|
ProprietaryInteger = __decorate([
|
|
5203
5255
|
(0, ts_serval_1.type)("ProprietaryInteger")
|
|
5204
5256
|
], ProprietaryInteger);
|
|
@@ -5302,6 +5354,7 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
5302
5354
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
5303
5355
|
exports.ProprietaryLanguage = void 0;
|
|
5304
5356
|
const ts_serval_1 = __webpack_require__(/*! @js-soft/ts-serval */ "@js-soft/ts-serval");
|
|
5357
|
+
const hints_1 = __webpack_require__(/*! ../../hints */ "./dist/attributes/hints/index.js");
|
|
5305
5358
|
const AbstractLanguage_1 = __webpack_require__(/*! ../strings/AbstractLanguage */ "./dist/attributes/types/strings/AbstractLanguage.js");
|
|
5306
5359
|
let ProprietaryLanguage = class ProprietaryLanguage extends AbstractLanguage_1.AbstractLanguage {
|
|
5307
5360
|
static from(value) {
|
|
@@ -5310,6 +5363,9 @@ let ProprietaryLanguage = class ProprietaryLanguage extends AbstractLanguage_1.A
|
|
|
5310
5363
|
toJSON(verbose, serializeAsString) {
|
|
5311
5364
|
return super.toJSON(verbose, serializeAsString);
|
|
5312
5365
|
}
|
|
5366
|
+
get valueHints() {
|
|
5367
|
+
return super.valueHints.copyWith(this.valueHintsOverride?.toJSON());
|
|
5368
|
+
}
|
|
5313
5369
|
};
|
|
5314
5370
|
__decorate([
|
|
5315
5371
|
(0, ts_serval_1.serialize)(),
|
|
@@ -5321,6 +5377,11 @@ __decorate([
|
|
|
5321
5377
|
(0, ts_serval_1.validate)({ nullable: true }),
|
|
5322
5378
|
__metadata("design:type", String)
|
|
5323
5379
|
], ProprietaryLanguage.prototype, "description", void 0);
|
|
5380
|
+
__decorate([
|
|
5381
|
+
(0, ts_serval_1.serialize)(),
|
|
5382
|
+
(0, ts_serval_1.validate)({ nullable: true }),
|
|
5383
|
+
__metadata("design:type", hints_1.ValueHintsOverride)
|
|
5384
|
+
], ProprietaryLanguage.prototype, "valueHintsOverride", void 0);
|
|
5324
5385
|
ProprietaryLanguage = __decorate([
|
|
5325
5386
|
(0, ts_serval_1.type)("ProprietaryLanguage")
|
|
5326
5387
|
], ProprietaryLanguage);
|
|
@@ -5348,6 +5409,7 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
5348
5409
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
5349
5410
|
exports.ProprietaryPhoneNumber = void 0;
|
|
5350
5411
|
const ts_serval_1 = __webpack_require__(/*! @js-soft/ts-serval */ "@js-soft/ts-serval");
|
|
5412
|
+
const hints_1 = __webpack_require__(/*! ../../hints */ "./dist/attributes/hints/index.js");
|
|
5351
5413
|
const AbstractPhoneNumber_1 = __webpack_require__(/*! ../strings/AbstractPhoneNumber */ "./dist/attributes/types/strings/AbstractPhoneNumber.js");
|
|
5352
5414
|
let ProprietaryPhoneNumber = class ProprietaryPhoneNumber extends AbstractPhoneNumber_1.AbstractPhoneNumber {
|
|
5353
5415
|
static from(value) {
|
|
@@ -5356,6 +5418,9 @@ let ProprietaryPhoneNumber = class ProprietaryPhoneNumber extends AbstractPhoneN
|
|
|
5356
5418
|
toJSON(verbose, serializeAsString) {
|
|
5357
5419
|
return super.toJSON(verbose, serializeAsString);
|
|
5358
5420
|
}
|
|
5421
|
+
get valueHints() {
|
|
5422
|
+
return super.valueHints.copyWith(this.valueHintsOverride?.toJSON());
|
|
5423
|
+
}
|
|
5359
5424
|
};
|
|
5360
5425
|
__decorate([
|
|
5361
5426
|
(0, ts_serval_1.serialize)(),
|
|
@@ -5367,6 +5432,11 @@ __decorate([
|
|
|
5367
5432
|
(0, ts_serval_1.validate)({ nullable: true }),
|
|
5368
5433
|
__metadata("design:type", String)
|
|
5369
5434
|
], ProprietaryPhoneNumber.prototype, "description", void 0);
|
|
5435
|
+
__decorate([
|
|
5436
|
+
(0, ts_serval_1.serialize)(),
|
|
5437
|
+
(0, ts_serval_1.validate)({ nullable: true }),
|
|
5438
|
+
__metadata("design:type", hints_1.ValueHintsOverride)
|
|
5439
|
+
], ProprietaryPhoneNumber.prototype, "valueHintsOverride", void 0);
|
|
5370
5440
|
ProprietaryPhoneNumber = __decorate([
|
|
5371
5441
|
(0, ts_serval_1.type)("ProprietaryPhoneNumber")
|
|
5372
5442
|
], ProprietaryPhoneNumber);
|
|
@@ -5394,6 +5464,7 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
5394
5464
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
5395
5465
|
exports.ProprietaryString = void 0;
|
|
5396
5466
|
const ts_serval_1 = __webpack_require__(/*! @js-soft/ts-serval */ "@js-soft/ts-serval");
|
|
5467
|
+
const hints_1 = __webpack_require__(/*! ../../hints */ "./dist/attributes/hints/index.js");
|
|
5397
5468
|
const AbstractString_1 = __webpack_require__(/*! ../AbstractString */ "./dist/attributes/types/AbstractString.js");
|
|
5398
5469
|
let ProprietaryString = class ProprietaryString extends AbstractString_1.AbstractString {
|
|
5399
5470
|
static from(value) {
|
|
@@ -5402,6 +5473,9 @@ let ProprietaryString = class ProprietaryString extends AbstractString_1.Abstrac
|
|
|
5402
5473
|
toJSON(verbose, serializeAsString) {
|
|
5403
5474
|
return super.toJSON(verbose, serializeAsString);
|
|
5404
5475
|
}
|
|
5476
|
+
get valueHints() {
|
|
5477
|
+
return super.valueHints.copyWith(this.valueHintsOverride?.toJSON());
|
|
5478
|
+
}
|
|
5405
5479
|
};
|
|
5406
5480
|
__decorate([
|
|
5407
5481
|
(0, ts_serval_1.serialize)(),
|
|
@@ -5413,6 +5487,11 @@ __decorate([
|
|
|
5413
5487
|
(0, ts_serval_1.validate)({ nullable: true }),
|
|
5414
5488
|
__metadata("design:type", String)
|
|
5415
5489
|
], ProprietaryString.prototype, "description", void 0);
|
|
5490
|
+
__decorate([
|
|
5491
|
+
(0, ts_serval_1.serialize)(),
|
|
5492
|
+
(0, ts_serval_1.validate)({ nullable: true }),
|
|
5493
|
+
__metadata("design:type", hints_1.ValueHintsOverride)
|
|
5494
|
+
], ProprietaryString.prototype, "valueHintsOverride", void 0);
|
|
5416
5495
|
ProprietaryString = __decorate([
|
|
5417
5496
|
(0, ts_serval_1.type)("ProprietaryString")
|
|
5418
5497
|
], ProprietaryString);
|
|
@@ -5440,6 +5519,7 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
5440
5519
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
5441
5520
|
exports.ProprietaryURL = void 0;
|
|
5442
5521
|
const ts_serval_1 = __webpack_require__(/*! @js-soft/ts-serval */ "@js-soft/ts-serval");
|
|
5522
|
+
const hints_1 = __webpack_require__(/*! ../../hints */ "./dist/attributes/hints/index.js");
|
|
5443
5523
|
const AbstractURL_1 = __webpack_require__(/*! ../strings/AbstractURL */ "./dist/attributes/types/strings/AbstractURL.js");
|
|
5444
5524
|
let ProprietaryURL = class ProprietaryURL extends AbstractURL_1.AbstractURL {
|
|
5445
5525
|
static from(value) {
|
|
@@ -5448,6 +5528,9 @@ let ProprietaryURL = class ProprietaryURL extends AbstractURL_1.AbstractURL {
|
|
|
5448
5528
|
toJSON(verbose, serializeAsString) {
|
|
5449
5529
|
return super.toJSON(verbose, serializeAsString);
|
|
5450
5530
|
}
|
|
5531
|
+
get valueHints() {
|
|
5532
|
+
return super.valueHints.copyWith(this.valueHintsOverride?.toJSON());
|
|
5533
|
+
}
|
|
5451
5534
|
};
|
|
5452
5535
|
__decorate([
|
|
5453
5536
|
(0, ts_serval_1.serialize)(),
|
|
@@ -5459,6 +5542,11 @@ __decorate([
|
|
|
5459
5542
|
(0, ts_serval_1.validate)({ nullable: true }),
|
|
5460
5543
|
__metadata("design:type", String)
|
|
5461
5544
|
], ProprietaryURL.prototype, "description", void 0);
|
|
5545
|
+
__decorate([
|
|
5546
|
+
(0, ts_serval_1.serialize)(),
|
|
5547
|
+
(0, ts_serval_1.validate)({ nullable: true }),
|
|
5548
|
+
__metadata("design:type", hints_1.ValueHintsOverride)
|
|
5549
|
+
], ProprietaryURL.prototype, "valueHintsOverride", void 0);
|
|
5462
5550
|
ProprietaryURL = __decorate([
|
|
5463
5551
|
(0, ts_serval_1.type)("ProprietaryURL")
|
|
5464
5552
|
], ProprietaryURL);
|
|
@@ -6001,10 +6089,10 @@ const ts_serval_1 = __webpack_require__(/*! @js-soft/ts-serval */ "@js-soft/ts-s
|
|
|
6001
6089
|
const crypto_1 = __webpack_require__(/*! @nmshd/crypto */ "@nmshd/crypto");
|
|
6002
6090
|
const transport_1 = __webpack_require__(/*! @nmshd/transport */ "@nmshd/transport");
|
|
6003
6091
|
exports.buildInformation = {
|
|
6004
|
-
version: "2.
|
|
6005
|
-
build: "
|
|
6006
|
-
date: "2022-11-
|
|
6007
|
-
commit: "
|
|
6092
|
+
version: "2.1.1",
|
|
6093
|
+
build: "125",
|
|
6094
|
+
date: "2022-11-16T07:38:06+00:00",
|
|
6095
|
+
commit: "ee6671830c47ca3630b1d4a64a8998741f04faad",
|
|
6008
6096
|
dependencies: {"@js-soft/logging-abstractions":"^1.0.0","easy-tsnameof":"^3.0.6","mocha-param":"^2.0.1"},
|
|
6009
6097
|
libraries: {
|
|
6010
6098
|
serval: ts_serval_1.buildInformation,
|