@nmshd/content 2.0.0-beta.19 → 2.0.0-beta.21
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/RelationshipAttributeQuery.d.ts +0 -3
- package/dist/attributes/RelationshipAttributeQuery.js +0 -5
- 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/hints/RelationshipAttributeCreationHints.d.ts +3 -0
- package/dist/attributes/hints/RelationshipAttributeCreationHints.js +5 -0
- package/dist/attributes/hints/RelationshipAttributeCreationHints.js.map +1 -1
- package/dist/attributes/index.d.ts +1 -0
- package/dist/attributes/index.js +1 -0
- package/dist/attributes/index.js.map +1 -1
- package/dist/buildInformation.js +4 -4
- package/dist/requests/items/readAttribute/ReadAttributeRequestItem.d.ts +4 -3
- package/dist/requests/items/readAttribute/ReadAttributeRequestItem.js +5 -1
- package/dist/requests/items/readAttribute/ReadAttributeRequestItem.js.map +1 -1
- package/lib-web/nmshd.content.js +67 -10
- package/lib-web/nmshd.content.min.js +1 -1
- package/package.json +1 -1
|
@@ -5,19 +5,16 @@ export interface RelationshipAttributeQueryJSON extends AbstractAttributeQueryJS
|
|
|
5
5
|
"@type": "RelationshipAttributeQuery";
|
|
6
6
|
key: string;
|
|
7
7
|
owner: string;
|
|
8
|
-
thirdParty?: string;
|
|
9
8
|
attributeCreationHints: RelationshipAttributeCreationHintsJSON;
|
|
10
9
|
}
|
|
11
10
|
export interface IRelationshipAttributeQuery extends IAbstractAttributeQuery {
|
|
12
11
|
key: string;
|
|
13
12
|
owner: ICoreAddress;
|
|
14
|
-
thirdParty?: ICoreAddress;
|
|
15
13
|
attributeCreationHints: IRelationshipAttributeCreationHints;
|
|
16
14
|
}
|
|
17
15
|
export declare class RelationshipAttributeQuery extends AbstractAttributeQuery implements IRelationshipAttributeQuery {
|
|
18
16
|
key: string;
|
|
19
17
|
owner: CoreAddress;
|
|
20
|
-
thirdParty?: CoreAddress;
|
|
21
18
|
attributeCreationHints: RelationshipAttributeCreationHints;
|
|
22
19
|
static from(value: IRelationshipAttributeQuery | RelationshipAttributeQueryJSON): RelationshipAttributeQuery;
|
|
23
20
|
toJSON(): RelationshipAttributeQueryJSON;
|
|
@@ -32,11 +32,6 @@ __decorate([
|
|
|
32
32
|
(0, ts_serval_1.validate)(),
|
|
33
33
|
__metadata("design:type", transport_1.CoreAddress)
|
|
34
34
|
], 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
35
|
__decorate([
|
|
41
36
|
(0, ts_serval_1.serialize)(),
|
|
42
37
|
(0, ts_serval_1.validate)(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RelationshipAttributeQuery.js","sourceRoot":"","sources":["../../src/attributes/RelationshipAttributeQuery.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAA8D;AAC9D,gDAA4D;AAC5D,qEAAsH;AACtH,mGAImD;
|
|
1
|
+
{"version":3,"file":"RelationshipAttributeQuery.js","sourceRoot":"","sources":["../../src/attributes/RelationshipAttributeQuery.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAA8D;AAC9D,gDAA4D;AAC5D,qEAAsH;AACtH,mGAImD;AAgBnD,IAAa,0BAA0B,GAAvC,MAAa,0BAA2B,SAAQ,+CAAsB;IAa3D,MAAM,CAAC,IAAI,CACd,KAAmE;QAEnE,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAA;IAC9B,CAAC;IAEe,MAAM;QAClB,OAAO,KAAK,CAAC,MAAM,EAAoC,CAAA;IAC3D,CAAC;CACJ,CAAA;AAnBG;IAFC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,GAAE;;uDACO;AAIlB;IAFC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,GAAE;8BACG,uBAAW;yDAAA;AAIzB;IAFC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,GAAE;8BACoB,uEAAkC;0EAAA;AAXxD,0BAA0B;IADtC,IAAA,gBAAI,EAAC,4BAA4B,CAAC;GACtB,0BAA0B,CAsBtC;AAtBY,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(): 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() {
|
|
21
|
+
return super.toJSON();
|
|
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;AAgBtH,IAAa,oCAAoC,GAAjD,MAAa,oCACT,SAAQ,+CAAsB;IAevB,MAAM,CAAC,IAAI,CACd,KAAuF;QAEvF,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAA;IAC9B,CAAC;IAEe,MAAM;QAClB,OAAO,KAAK,CAAC,MAAM,EAA8C,CAAA;IACrE,CAAC;CACJ,CAAA;AAnBG;IAFC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,GAAE;;iEACO;AAIlB;IAFC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,GAAE;8BACG,uBAAW;mEAAA;AAIzB;IAFC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,GAAE;8BACQ,uBAAW;wEAAA;AAdrB,oCAAoC;IADhD,IAAA,gBAAI,EAAC,sCAAsC,CAAC;GAChC,oCAAoC,CAyBhD;AAzBY,oFAAoC"}
|
|
@@ -3,6 +3,7 @@ import { RelationshipAttributeConfidentiality } from "../RelationshipAttribute";
|
|
|
3
3
|
import { IValueHints, ValueHints, ValueHintsJSON } from "./ValueHints";
|
|
4
4
|
export interface RelationshipAttributeCreationHintsJSON {
|
|
5
5
|
title: string;
|
|
6
|
+
valueType: string;
|
|
6
7
|
description?: string;
|
|
7
8
|
valueHints?: ValueHintsJSON;
|
|
8
9
|
isTechnical?: boolean;
|
|
@@ -10,6 +11,7 @@ export interface RelationshipAttributeCreationHintsJSON {
|
|
|
10
11
|
}
|
|
11
12
|
export interface IRelationshipAttributeCreationHints extends ISerializable {
|
|
12
13
|
title: string;
|
|
14
|
+
valueType: string;
|
|
13
15
|
description?: string;
|
|
14
16
|
valueHints?: IValueHints;
|
|
15
17
|
isTechnical?: boolean;
|
|
@@ -22,6 +24,7 @@ export interface IRelationshipAttributeCreationHints extends ISerializable {
|
|
|
22
24
|
*/
|
|
23
25
|
export declare class RelationshipAttributeCreationHints extends Serializable implements IRelationshipAttributeCreationHints {
|
|
24
26
|
title: string;
|
|
27
|
+
valueType: string;
|
|
25
28
|
description?: string;
|
|
26
29
|
valueHints?: ValueHints;
|
|
27
30
|
isTechnical: boolean;
|
|
@@ -33,6 +33,11 @@ __decorate([
|
|
|
33
33
|
(0, ts_serval_1.validate)(),
|
|
34
34
|
__metadata("design:type", String)
|
|
35
35
|
], RelationshipAttributeCreationHints.prototype, "title", void 0);
|
|
36
|
+
__decorate([
|
|
37
|
+
(0, ts_serval_1.serialize)(),
|
|
38
|
+
(0, ts_serval_1.validate)(),
|
|
39
|
+
__metadata("design:type", String)
|
|
40
|
+
], RelationshipAttributeCreationHints.prototype, "valueType", void 0);
|
|
36
41
|
__decorate([
|
|
37
42
|
(0, ts_serval_1.serialize)(),
|
|
38
43
|
(0, ts_serval_1.validate)({ nullable: true }),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RelationshipAttributeCreationHints.js","sourceRoot":"","sources":["../../../src/attributes/hints/RelationshipAttributeCreationHints.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAA2F;AAC3F,oEAA+E;AAC/E,6CAAsE;
|
|
1
|
+
{"version":3,"file":"RelationshipAttributeCreationHints.js","sourceRoot":"","sources":["../../../src/attributes/hints/RelationshipAttributeCreationHints.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAA2F;AAC3F,oEAA+E;AAC/E,6CAAsE;AAoBtE;;;;GAIG;AAEH,IAAa,kCAAkC,GAA/C,MAAa,kCAAmC,SAAQ,wBAAY;IA8BtD,MAAM,CAAU,OAAO,CAAC,KAAU;QACxC,IAAI,OAAO,KAAK,CAAC,WAAW,KAAK,WAAW;YAAE,KAAK,CAAC,WAAW,GAAG,KAAK,CAAA;QAEvE,OAAO,KAAK,CAAA;IAChB,CAAC;IAEM,MAAM,CAAC,IAAI,CACd,KAAmF;QAEnF,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAA;IAC9B,CAAC;CACJ,CAAA;AAtCG;IAFC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,GAAE;;iEACS;AAIpB;IAFC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,GAAE;;qEACa;AAIxB;IAFC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;uEACF;AAI3B;IAFC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;8BACT,uBAAU;sEAAA;AAI9B;IAFC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;uEACF;AAS3B;IAPC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC;QACN,eAAe,EAAE,CAAC,CAAC,EAAE,EAAE,CACnB,CAAC,MAAM,CAAC,MAAM,CAAC,4DAAoC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC;YAC5D,CAAC,CAAC,mBAAmB,MAAM,CAAC,MAAM,CAAC,4DAAoC,CAAC,EAAE;YAC1E,CAAC,CAAC,SAAS;KACtB,CAAC;;2EAC0D;AA5BnD,kCAAkC;IAD9C,IAAA,gBAAI,EAAC,oCAAoC,CAAC;GAC9B,kCAAkC,CAyC9C;AAzCY,gFAAkC"}
|
package/dist/attributes/index.js
CHANGED
|
@@ -25,5 +25,6 @@ __exportStar(require("./IdentityAttribute"), exports);
|
|
|
25
25
|
__exportStar(require("./IdentityAttributeQuery"), exports);
|
|
26
26
|
__exportStar(require("./RelationshipAttribute"), exports);
|
|
27
27
|
__exportStar(require("./RelationshipAttributeQuery"), exports);
|
|
28
|
+
__exportStar(require("./ThirdPartyRelationshipAttributeQuery"), exports);
|
|
28
29
|
__exportStar(require("./types"), exports);
|
|
29
30
|
//# 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,8CAA2B;AAC3B,0CAAuB;AACvB,sDAAmC;AACnC,2DAAwC;AACxC,0DAAuC;AACvC,+DAA4C;AAC5C,yEAAsD;AACtD,0CAAuB"}
|
package/dist/buildInformation.js
CHANGED
|
@@ -5,10 +5,10 @@ const ts_serval_1 = require("@js-soft/ts-serval");
|
|
|
5
5
|
const crypto_1 = require("@nmshd/crypto");
|
|
6
6
|
const transport_1 = require("@nmshd/transport");
|
|
7
7
|
exports.buildInformation = {
|
|
8
|
-
version: "2.0.0-beta.
|
|
9
|
-
build: "
|
|
10
|
-
date: "2022-09-
|
|
11
|
-
commit: "
|
|
8
|
+
version: "2.0.0-beta.21",
|
|
9
|
+
build: "98",
|
|
10
|
+
date: "2022-09-08T12:57:02+00:00",
|
|
11
|
+
commit: "8d970692f36ca4750b50c550427b6f4b3b306f60",
|
|
12
12
|
dependencies: {"@js-soft/logging-abstractions":"^1.0.0","easy-tsnameof":"^3.0.6"},
|
|
13
13
|
libraries: {
|
|
14
14
|
serval: ts_serval_1.buildInformation,
|
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
import { IdentityAttributeQuery, IdentityAttributeQueryJSON, IIdentityAttributeQuery, IRelationshipAttributeQuery, RelationshipAttributeQuery, RelationshipAttributeQueryJSON } from "../../../attributes";
|
|
2
|
+
import { IThirdPartyRelationshipAttributeQuery, ThirdPartyRelationshipAttributeQuery, ThirdPartyRelationshipAttributeQueryJSON } from "../../../attributes/ThirdPartyRelationshipAttributeQuery";
|
|
2
3
|
import { IRequestItem, RequestItem, RequestItemJSON } from "../../RequestItem";
|
|
3
4
|
export interface ReadAttributeRequestItemJSON extends RequestItemJSON {
|
|
4
5
|
"@type": "ReadAttributeRequestItem";
|
|
5
|
-
query: IdentityAttributeQueryJSON | RelationshipAttributeQueryJSON;
|
|
6
|
+
query: IdentityAttributeQueryJSON | RelationshipAttributeQueryJSON | ThirdPartyRelationshipAttributeQueryJSON;
|
|
6
7
|
}
|
|
7
8
|
export interface IReadAttributeRequestItem extends IRequestItem {
|
|
8
|
-
query: IIdentityAttributeQuery | IRelationshipAttributeQuery;
|
|
9
|
+
query: IIdentityAttributeQuery | IRelationshipAttributeQuery | IThirdPartyRelationshipAttributeQuery;
|
|
9
10
|
}
|
|
10
11
|
export declare class ReadAttributeRequestItem extends RequestItem implements IReadAttributeRequestItem {
|
|
11
|
-
query: IdentityAttributeQuery | RelationshipAttributeQuery;
|
|
12
|
+
query: IdentityAttributeQuery | RelationshipAttributeQuery | ThirdPartyRelationshipAttributeQuery;
|
|
12
13
|
static from(value: IReadAttributeRequestItem | ReadAttributeRequestItemJSON): ReadAttributeRequestItem;
|
|
13
14
|
}
|
|
@@ -11,6 +11,8 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
12
|
exports.ReadAttributeRequestItem = void 0;
|
|
13
13
|
const ts_serval_1 = require("@js-soft/ts-serval");
|
|
14
|
+
const attributes_1 = require("../../../attributes");
|
|
15
|
+
const ThirdPartyRelationshipAttributeQuery_1 = require("../../../attributes/ThirdPartyRelationshipAttributeQuery");
|
|
14
16
|
const RequestItem_1 = require("../../RequestItem");
|
|
15
17
|
let ReadAttributeRequestItem = class ReadAttributeRequestItem extends RequestItem_1.RequestItem {
|
|
16
18
|
static from(value) {
|
|
@@ -18,7 +20,9 @@ let ReadAttributeRequestItem = class ReadAttributeRequestItem extends RequestIte
|
|
|
18
20
|
}
|
|
19
21
|
};
|
|
20
22
|
__decorate([
|
|
21
|
-
(0, ts_serval_1.serialize)(
|
|
23
|
+
(0, ts_serval_1.serialize)({
|
|
24
|
+
unionTypes: [attributes_1.IdentityAttributeQuery, attributes_1.RelationshipAttributeQuery, ThirdPartyRelationshipAttributeQuery_1.ThirdPartyRelationshipAttributeQuery]
|
|
25
|
+
}),
|
|
22
26
|
(0, ts_serval_1.validate)(),
|
|
23
27
|
__metadata("design:type", Object)
|
|
24
28
|
], ReadAttributeRequestItem.prototype, "query", void 0);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ReadAttributeRequestItem.js","sourceRoot":"","sources":["../../../../src/requests/items/readAttribute/ReadAttributeRequestItem.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAA8D;
|
|
1
|
+
{"version":3,"file":"ReadAttributeRequestItem.js","sourceRoot":"","sources":["../../../../src/requests/items/readAttribute/ReadAttributeRequestItem.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAA8D;AAC9D,oDAO4B;AAC5B,mHAIiE;AACjE,mDAA8E;AAY9E,IAAa,wBAAwB,GAArC,MAAa,wBAAyB,SAAQ,yBAAW;IAO9C,MAAM,CAAC,IAAI,CAAC,KAA+D;QAC9E,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAA;IAC9B,CAAC;CACJ,CAAA;AALG;IAJC,IAAA,qBAAS,EAAC;QACP,UAAU,EAAE,CAAC,mCAAsB,EAAE,uCAA0B,EAAE,2EAAoC,CAAC;KACzG,CAAC;IACD,IAAA,oBAAQ,GAAE;;uDAC6F;AAL/F,wBAAwB;IADpC,IAAA,gBAAI,EAAC,0BAA0B,CAAC;GACpB,wBAAwB,CAUpC;AAVY,4DAAwB"}
|
package/lib-web/nmshd.content.js
CHANGED
|
@@ -454,11 +454,6 @@ __decorate([
|
|
|
454
454
|
(0, ts_serval_1.validate)(),
|
|
455
455
|
__metadata("design:type", transport_1.CoreAddress)
|
|
456
456
|
], RelationshipAttributeQuery.prototype, "owner", void 0);
|
|
457
|
-
__decorate([
|
|
458
|
-
(0, ts_serval_1.serialize)(),
|
|
459
|
-
(0, ts_serval_1.validate)({ nullable: true }),
|
|
460
|
-
__metadata("design:type", transport_1.CoreAddress)
|
|
461
|
-
], RelationshipAttributeQuery.prototype, "thirdParty", void 0);
|
|
462
457
|
__decorate([
|
|
463
458
|
(0, ts_serval_1.serialize)(),
|
|
464
459
|
(0, ts_serval_1.validate)(),
|
|
@@ -472,6 +467,58 @@ exports.RelationshipAttributeQuery = RelationshipAttributeQuery;
|
|
|
472
467
|
|
|
473
468
|
/***/ }),
|
|
474
469
|
|
|
470
|
+
/***/ "./dist/attributes/ThirdPartyRelationshipAttributeQuery.js":
|
|
471
|
+
/*!*****************************************************************!*\
|
|
472
|
+
!*** ./dist/attributes/ThirdPartyRelationshipAttributeQuery.js ***!
|
|
473
|
+
\*****************************************************************/
|
|
474
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
475
|
+
|
|
476
|
+
|
|
477
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
478
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
479
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
480
|
+
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;
|
|
481
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
482
|
+
};
|
|
483
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
484
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
485
|
+
};
|
|
486
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
487
|
+
exports.ThirdPartyRelationshipAttributeQuery = void 0;
|
|
488
|
+
const ts_serval_1 = __webpack_require__(/*! @js-soft/ts-serval */ "@js-soft/ts-serval");
|
|
489
|
+
const transport_1 = __webpack_require__(/*! @nmshd/transport */ "@nmshd/transport");
|
|
490
|
+
const AbstractAttributeQuery_1 = __webpack_require__(/*! ./AbstractAttributeQuery */ "./dist/attributes/AbstractAttributeQuery.js");
|
|
491
|
+
let ThirdPartyRelationshipAttributeQuery = class ThirdPartyRelationshipAttributeQuery extends AbstractAttributeQuery_1.AbstractAttributeQuery {
|
|
492
|
+
static from(value) {
|
|
493
|
+
return this.fromAny(value);
|
|
494
|
+
}
|
|
495
|
+
toJSON() {
|
|
496
|
+
return super.toJSON();
|
|
497
|
+
}
|
|
498
|
+
};
|
|
499
|
+
__decorate([
|
|
500
|
+
(0, ts_serval_1.serialize)(),
|
|
501
|
+
(0, ts_serval_1.validate)(),
|
|
502
|
+
__metadata("design:type", String)
|
|
503
|
+
], ThirdPartyRelationshipAttributeQuery.prototype, "key", void 0);
|
|
504
|
+
__decorate([
|
|
505
|
+
(0, ts_serval_1.serialize)(),
|
|
506
|
+
(0, ts_serval_1.validate)(),
|
|
507
|
+
__metadata("design:type", transport_1.CoreAddress)
|
|
508
|
+
], ThirdPartyRelationshipAttributeQuery.prototype, "owner", void 0);
|
|
509
|
+
__decorate([
|
|
510
|
+
(0, ts_serval_1.serialize)(),
|
|
511
|
+
(0, ts_serval_1.validate)(),
|
|
512
|
+
__metadata("design:type", transport_1.CoreAddress)
|
|
513
|
+
], ThirdPartyRelationshipAttributeQuery.prototype, "thirdParty", void 0);
|
|
514
|
+
ThirdPartyRelationshipAttributeQuery = __decorate([
|
|
515
|
+
(0, ts_serval_1.type)("ThirdPartyRelationshipAttributeQuery")
|
|
516
|
+
], ThirdPartyRelationshipAttributeQuery);
|
|
517
|
+
exports.ThirdPartyRelationshipAttributeQuery = ThirdPartyRelationshipAttributeQuery;
|
|
518
|
+
//# sourceMappingURL=ThirdPartyRelationshipAttributeQuery.js.map
|
|
519
|
+
|
|
520
|
+
/***/ }),
|
|
521
|
+
|
|
475
522
|
/***/ "./dist/attributes/constants/CountriesAlpha2.js":
|
|
476
523
|
/*!******************************************************!*\
|
|
477
524
|
!*** ./dist/attributes/constants/CountriesAlpha2.js ***!
|
|
@@ -1443,6 +1490,11 @@ __decorate([
|
|
|
1443
1490
|
(0, ts_serval_1.validate)(),
|
|
1444
1491
|
__metadata("design:type", String)
|
|
1445
1492
|
], RelationshipAttributeCreationHints.prototype, "title", void 0);
|
|
1493
|
+
__decorate([
|
|
1494
|
+
(0, ts_serval_1.serialize)(),
|
|
1495
|
+
(0, ts_serval_1.validate)(),
|
|
1496
|
+
__metadata("design:type", String)
|
|
1497
|
+
], RelationshipAttributeCreationHints.prototype, "valueType", void 0);
|
|
1446
1498
|
__decorate([
|
|
1447
1499
|
(0, ts_serval_1.serialize)(),
|
|
1448
1500
|
(0, ts_serval_1.validate)({ nullable: true }),
|
|
@@ -1948,6 +2000,7 @@ __exportStar(__webpack_require__(/*! ./IdentityAttribute */ "./dist/attributes/I
|
|
|
1948
2000
|
__exportStar(__webpack_require__(/*! ./IdentityAttributeQuery */ "./dist/attributes/IdentityAttributeQuery.js"), exports);
|
|
1949
2001
|
__exportStar(__webpack_require__(/*! ./RelationshipAttribute */ "./dist/attributes/RelationshipAttribute.js"), exports);
|
|
1950
2002
|
__exportStar(__webpack_require__(/*! ./RelationshipAttributeQuery */ "./dist/attributes/RelationshipAttributeQuery.js"), exports);
|
|
2003
|
+
__exportStar(__webpack_require__(/*! ./ThirdPartyRelationshipAttributeQuery */ "./dist/attributes/ThirdPartyRelationshipAttributeQuery.js"), exports);
|
|
1951
2004
|
__exportStar(__webpack_require__(/*! ./types */ "./dist/attributes/types/index.js"), exports);
|
|
1952
2005
|
//# sourceMappingURL=index.js.map
|
|
1953
2006
|
|
|
@@ -5487,10 +5540,10 @@ const ts_serval_1 = __webpack_require__(/*! @js-soft/ts-serval */ "@js-soft/ts-s
|
|
|
5487
5540
|
const crypto_1 = __webpack_require__(/*! @nmshd/crypto */ "@nmshd/crypto");
|
|
5488
5541
|
const transport_1 = __webpack_require__(/*! @nmshd/transport */ "@nmshd/transport");
|
|
5489
5542
|
exports.buildInformation = {
|
|
5490
|
-
version: "2.0.0-beta.
|
|
5491
|
-
build: "
|
|
5492
|
-
date: "2022-09-
|
|
5493
|
-
commit: "
|
|
5543
|
+
version: "2.0.0-beta.21",
|
|
5544
|
+
build: "98",
|
|
5545
|
+
date: "2022-09-08T12:57:02+00:00",
|
|
5546
|
+
commit: "8d970692f36ca4750b50c550427b6f4b3b306f60",
|
|
5494
5547
|
dependencies: {"@js-soft/logging-abstractions":"^1.0.0","easy-tsnameof":"^3.0.6"},
|
|
5495
5548
|
libraries: {
|
|
5496
5549
|
serval: ts_serval_1.buildInformation,
|
|
@@ -6802,6 +6855,8 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
6802
6855
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
6803
6856
|
exports.ReadAttributeRequestItem = void 0;
|
|
6804
6857
|
const ts_serval_1 = __webpack_require__(/*! @js-soft/ts-serval */ "@js-soft/ts-serval");
|
|
6858
|
+
const attributes_1 = __webpack_require__(/*! ../../../attributes */ "./dist/attributes/index.js");
|
|
6859
|
+
const ThirdPartyRelationshipAttributeQuery_1 = __webpack_require__(/*! ../../../attributes/ThirdPartyRelationshipAttributeQuery */ "./dist/attributes/ThirdPartyRelationshipAttributeQuery.js");
|
|
6805
6860
|
const RequestItem_1 = __webpack_require__(/*! ../../RequestItem */ "./dist/requests/RequestItem.js");
|
|
6806
6861
|
let ReadAttributeRequestItem = class ReadAttributeRequestItem extends RequestItem_1.RequestItem {
|
|
6807
6862
|
static from(value) {
|
|
@@ -6809,7 +6864,9 @@ let ReadAttributeRequestItem = class ReadAttributeRequestItem extends RequestIte
|
|
|
6809
6864
|
}
|
|
6810
6865
|
};
|
|
6811
6866
|
__decorate([
|
|
6812
|
-
(0, ts_serval_1.serialize)(
|
|
6867
|
+
(0, ts_serval_1.serialize)({
|
|
6868
|
+
unionTypes: [attributes_1.IdentityAttributeQuery, attributes_1.RelationshipAttributeQuery, ThirdPartyRelationshipAttributeQuery_1.ThirdPartyRelationshipAttributeQuery]
|
|
6869
|
+
}),
|
|
6813
6870
|
(0, ts_serval_1.validate)(),
|
|
6814
6871
|
__metadata("design:type", Object)
|
|
6815
6872
|
], ReadAttributeRequestItem.prototype, "query", void 0);
|