@nmshd/content 2.0.0-alpha.35 → 2.0.0-alpha.38
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 +1 -1
- package/dist/attributes/RelationshipAttributeQuery.js +2 -2
- package/dist/attributes/RelationshipAttributeQuery.js.map +1 -1
- package/dist/attributes/hints/{RelationshipAttributeHints.d.ts → RelationshipAttributeCreationHints.d.ts} +0 -0
- package/dist/attributes/hints/{RelationshipAttributeHints.js → RelationshipAttributeCreationHints.js} +2 -2
- package/dist/attributes/hints/RelationshipAttributeCreationHints.js.map +1 -0
- package/dist/attributes/hints/index.d.ts +1 -1
- package/dist/attributes/hints/index.js +1 -1
- package/dist/attributes/hints/index.js.map +1 -1
- package/dist/buildInformation.js +4 -4
- package/dist/requests/Request.d.ts +3 -3
- package/dist/requests/Request.js +1 -1
- package/dist/requests/Request.js.map +1 -1
- package/dist/requests/RequestItem.d.ts +3 -3
- package/dist/requests/RequestItem.js +1 -1
- package/dist/requests/RequestItem.js.map +1 -1
- package/dist/requests/RequestItemGroup.d.ts +3 -3
- package/dist/requests/RequestItemGroup.js +1 -1
- package/dist/requests/RequestItemGroup.js.map +1 -1
- package/dist/requests/items/index.d.ts +1 -0
- package/dist/requests/items/index.js +1 -0
- package/dist/requests/items/index.js.map +1 -1
- package/dist/requests/items/shareAttribute/ShareAttributeRequestItem.d.ts +15 -0
- package/dist/requests/items/shareAttribute/ShareAttributeRequestItem.js +35 -0
- package/dist/requests/items/shareAttribute/ShareAttributeRequestItem.js.map +1 -0
- package/dist/requests/response/Response.d.ts +0 -3
- package/dist/requests/response/Response.js +0 -5
- package/dist/requests/response/Response.js.map +1 -1
- package/dist/requests/response/ResponseItem.d.ts +0 -3
- package/dist/requests/response/ResponseItem.js +0 -5
- package/dist/requests/response/ResponseItem.js.map +1 -1
- package/dist/requests/response/ResponseItemGroup.d.ts +0 -3
- package/dist/requests/response/ResponseItemGroup.js +0 -5
- package/dist/requests/response/ResponseItemGroup.js.map +1 -1
- package/lib-web/nmshd.content.js +61 -31
- package/lib-web/nmshd.content.min.js +1 -1
- package/package.json +1 -1
- package/dist/attributes/hints/RelationshipAttributeHints.js.map +0 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { CoreAddress, ICoreAddress } from "@nmshd/transport";
|
|
2
2
|
import { AbstractAttributeQuery, AbstractAttributeQueryJSON, IAbstractAttributeQuery } from "./AbstractAttributeQuery";
|
|
3
|
-
import { IRelationshipAttributeCreationHints, RelationshipAttributeCreationHints, RelationshipAttributeCreationHintsJSON } from "./hints/
|
|
3
|
+
import { IRelationshipAttributeCreationHints, RelationshipAttributeCreationHints, RelationshipAttributeCreationHintsJSON } from "./hints/RelationshipAttributeCreationHints";
|
|
4
4
|
export interface RelationshipAttributeQueryJSON extends AbstractAttributeQueryJSON {
|
|
5
5
|
key: string;
|
|
6
6
|
owner: string;
|
|
@@ -13,7 +13,7 @@ exports.RelationshipAttributeQuery = 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 RelationshipAttributeCreationHints_1 = require("./hints/RelationshipAttributeCreationHints");
|
|
17
17
|
let RelationshipAttributeQuery = class RelationshipAttributeQuery extends AbstractAttributeQuery_1.AbstractAttributeQuery {
|
|
18
18
|
static from(value) {
|
|
19
19
|
return this.fromAny(value);
|
|
@@ -40,7 +40,7 @@ __decorate([
|
|
|
40
40
|
__decorate([
|
|
41
41
|
(0, ts_serval_1.serialize)(),
|
|
42
42
|
(0, ts_serval_1.validate)(),
|
|
43
|
-
__metadata("design:type",
|
|
43
|
+
__metadata("design:type", RelationshipAttributeCreationHints_1.RelationshipAttributeCreationHints)
|
|
44
44
|
], RelationshipAttributeQuery.prototype, "attributeCreationHints", void 0);
|
|
45
45
|
RelationshipAttributeQuery = __decorate([
|
|
46
46
|
(0, ts_serval_1.type)("RelationshipAttributeQuery")
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RelationshipAttributeQuery.js","sourceRoot":"","sources":["../../src/attributes/RelationshipAttributeQuery.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAA8D;AAC9D,gDAA4D;AAC5D,qEAAsH;AACtH,
|
|
1
|
+
{"version":3,"file":"RelationshipAttributeQuery.js","sourceRoot":"","sources":["../../src/attributes/RelationshipAttributeQuery.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAA8D;AAC9D,gDAA4D;AAC5D,qEAAsH;AACtH,mGAImD;AAiBnD,IAAa,0BAA0B,GAAvC,MAAa,0BAA2B,SAAQ,+CAAsB;IAiB3D,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;AAvBG;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,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;8BACT,uBAAW;8DAAA;AAI/B;IAFC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,GAAE;8BACoB,uEAAkC;0EAAA;AAfxD,0BAA0B;IADtC,IAAA,gBAAI,EAAC,4BAA4B,CAAC;GACtB,0BAA0B,CA0BtC;AA1BY,gEAA0B"}
|
|
File without changes
|
|
@@ -58,7 +58,7 @@ __decorate([
|
|
|
58
58
|
__metadata("design:type", String)
|
|
59
59
|
], RelationshipAttributeCreationHints.prototype, "confidentiality", void 0);
|
|
60
60
|
RelationshipAttributeCreationHints = __decorate([
|
|
61
|
-
(0, ts_serval_1.type)("
|
|
61
|
+
(0, ts_serval_1.type)("RelationshipAttributeCreationHints")
|
|
62
62
|
], RelationshipAttributeCreationHints);
|
|
63
63
|
exports.RelationshipAttributeCreationHints = RelationshipAttributeCreationHints;
|
|
64
|
-
//# sourceMappingURL=
|
|
64
|
+
//# sourceMappingURL=RelationshipAttributeCreationHints.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RelationshipAttributeCreationHints.js","sourceRoot":"","sources":["../../../src/attributes/hints/RelationshipAttributeCreationHints.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAA2F;AAC3F,oEAA+E;AAC/E,6CAAsE;AAkBtE;;;;GAIG;AAEH,IAAa,kCAAkC,GAA/C,MAAa,kCAAmC,SAAQ,wBAAY;IA0BtD,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;AAlCG;IAFC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,GAAE;;iEACS;AAIpB;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;AAxBnD,kCAAkC;IAD9C,IAAA,gBAAI,EAAC,oCAAoC,CAAC;GAC9B,kCAAkC,CAqC9C;AArCY,gFAAkC"}
|
|
@@ -14,7 +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("./
|
|
17
|
+
__exportStar(require("./RelationshipAttributeCreationHints"), exports);
|
|
18
18
|
__exportStar(require("./RenderHints"), exports);
|
|
19
19
|
__exportStar(require("./ValueHints"), exports);
|
|
20
20
|
__exportStar(require("./ValueHintsValue"), 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,uEAAoD;AACpD,gDAA6B;AAC7B,+CAA4B;AAC5B,oDAAiC"}
|
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-alpha.
|
|
9
|
-
build: "
|
|
10
|
-
date: "2022-
|
|
11
|
-
commit: "
|
|
8
|
+
version: "2.0.0-alpha.38",
|
|
9
|
+
build: "68",
|
|
10
|
+
date: "2022-07-05T05:48:37+00:00",
|
|
11
|
+
commit: "a24202d389930d79736e88e55ec5e0a1fffd5011",
|
|
12
12
|
dependencies: {"@js-soft/logging-abstractions":"^1.0.0"},
|
|
13
13
|
libraries: {
|
|
14
14
|
serval: ts_serval_1.buildInformation,
|
|
@@ -21,7 +21,7 @@ export interface RequestJSON extends ContentJSON {
|
|
|
21
21
|
* This property can be used to add some arbitrary metadata to this request. The content
|
|
22
22
|
* of this property will be copied into the response on the side of the recipient.
|
|
23
23
|
*/
|
|
24
|
-
|
|
24
|
+
metadata?: object;
|
|
25
25
|
}
|
|
26
26
|
export interface IRequest extends ISerializable {
|
|
27
27
|
id?: CoreId;
|
|
@@ -41,12 +41,12 @@ export interface IRequest extends ISerializable {
|
|
|
41
41
|
* This property can be used to add some arbitrary metadata to this request. The content
|
|
42
42
|
* of this property will be copied into the response on the side of the recipient.
|
|
43
43
|
*/
|
|
44
|
-
|
|
44
|
+
metadata?: object;
|
|
45
45
|
}
|
|
46
46
|
export declare class Request extends Serializable implements IRequest {
|
|
47
47
|
id?: CoreId;
|
|
48
48
|
expiresAt?: CoreDate;
|
|
49
49
|
items: (RequestItemGroup | RequestItem)[];
|
|
50
|
-
|
|
50
|
+
metadata?: object;
|
|
51
51
|
static from(value: IRequest | RequestJSON): Request;
|
|
52
52
|
}
|
package/dist/requests/Request.js
CHANGED
|
@@ -36,7 +36,7 @@ __decorate([
|
|
|
36
36
|
(0, ts_serval_1.serialize)(),
|
|
37
37
|
(0, ts_serval_1.validate)({ nullable: true }),
|
|
38
38
|
__metadata("design:type", Object)
|
|
39
|
-
], Request.prototype, "
|
|
39
|
+
], Request.prototype, "metadata", void 0);
|
|
40
40
|
Request = __decorate([
|
|
41
41
|
(0, ts_serval_1.type)("Request")
|
|
42
42
|
], Request);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Request.js","sourceRoot":"","sources":["../../src/requests/Request.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAA2F;AAC3F,gDAA8D;AAsD9D,IAAa,OAAO,GAApB,MAAa,OAAQ,SAAQ,wBAAY;IAiB9B,MAAM,CAAC,IAAI,CAAC,KAA6B;QAC5C,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAA;IAC9B,CAAC;CACJ,CAAA;AAjBG;IAFC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;8BACjB,kBAAM;mCAAA;AAIlB;IAFC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;8BACV,oBAAQ;0CAAA;AAI3B;IAFC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC,EAAE,eAAe,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,kBAAkB,CAAC,CAAC,CAAC,SAAS,CAAC,EAAE,CAAC;;sCACtC;AAIhD;IAFC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;
|
|
1
|
+
{"version":3,"file":"Request.js","sourceRoot":"","sources":["../../src/requests/Request.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAA2F;AAC3F,gDAA8D;AAsD9D,IAAa,OAAO,GAApB,MAAa,OAAQ,SAAQ,wBAAY;IAiB9B,MAAM,CAAC,IAAI,CAAC,KAA6B;QAC5C,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAA;IAC9B,CAAC;CACJ,CAAA;AAjBG;IAFC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;8BACjB,kBAAM;mCAAA;AAIlB;IAFC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;8BACV,oBAAQ;0CAAA;AAI3B;IAFC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC,EAAE,eAAe,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,kBAAkB,CAAC,CAAC,CAAC,SAAS,CAAC,EAAE,CAAC;;sCACtC;AAIhD;IAFC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;yCACL;AAff,OAAO;IADnB,IAAA,gBAAI,EAAC,SAAS,CAAC;GACH,OAAO,CAoBnB;AApBY,0BAAO"}
|
|
@@ -14,7 +14,7 @@ export interface RequestItemJSON extends ContentJSON {
|
|
|
14
14
|
* of this property will be copied into the response on the side of the recipient, so
|
|
15
15
|
* the sender can use it to identify the group content as they receive the response.
|
|
16
16
|
*/
|
|
17
|
-
|
|
17
|
+
metadata?: object;
|
|
18
18
|
/**
|
|
19
19
|
* If set to `true`, the recipient has to accept this group if he wants to accept the
|
|
20
20
|
* Request.
|
|
@@ -41,7 +41,7 @@ export interface IRequestItem extends ISerializable {
|
|
|
41
41
|
* of this property will be copied into the response on the side of the recipient, so
|
|
42
42
|
* the sender can use it to identify the group content as they receive the response.
|
|
43
43
|
*/
|
|
44
|
-
|
|
44
|
+
metadata?: object;
|
|
45
45
|
/**
|
|
46
46
|
* If set to `true`, the recipient has to accept this group if he wants to accept the
|
|
47
47
|
* Request.
|
|
@@ -58,5 +58,5 @@ export declare abstract class RequestItem extends Serializable {
|
|
|
58
58
|
title?: string;
|
|
59
59
|
description?: string;
|
|
60
60
|
mustBeAccepted: boolean;
|
|
61
|
-
|
|
61
|
+
metadata?: object;
|
|
62
62
|
}
|
|
@@ -32,6 +32,6 @@ __decorate([
|
|
|
32
32
|
(0, ts_serval_1.serialize)(),
|
|
33
33
|
(0, ts_serval_1.validate)({ nullable: true }),
|
|
34
34
|
__metadata("design:type", Object)
|
|
35
|
-
], RequestItem.prototype, "
|
|
35
|
+
], RequestItem.prototype, "metadata", void 0);
|
|
36
36
|
exports.RequestItem = RequestItem;
|
|
37
37
|
//# sourceMappingURL=RequestItem.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RequestItem.js","sourceRoot":"","sources":["../../src/requests/RequestItem.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAAqF;AAiErF,MAAsB,WAAY,SAAQ,wBAAY;CAgBrD;AAbG;IAFC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;0CACR;AAIrB;IAFC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;gDACF;AAI3B;IAFC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,GAAE;;mDACmB;AAI9B;IAFC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;
|
|
1
|
+
{"version":3,"file":"RequestItem.js","sourceRoot":"","sources":["../../src/requests/RequestItem.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAAqF;AAiErF,MAAsB,WAAY,SAAQ,wBAAY;CAgBrD;AAbG;IAFC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;0CACR;AAIrB;IAFC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;gDACF;AAI3B;IAFC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,GAAE;;mDACmB;AAI9B;IAFC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;6CACL;AAf5B,kCAgBC"}
|
|
@@ -31,7 +31,7 @@ export interface RequestItemGroupJSON extends ContentJSON {
|
|
|
31
31
|
* of this property will be copied into the response on the side of the recipient, so
|
|
32
32
|
* the sender can use it to identify the group content as they receive the response.
|
|
33
33
|
*/
|
|
34
|
-
|
|
34
|
+
metadata?: object;
|
|
35
35
|
/**
|
|
36
36
|
* The items of this group.
|
|
37
37
|
*/
|
|
@@ -67,7 +67,7 @@ export interface IRequestItemGroup extends ISerializable {
|
|
|
67
67
|
* of this property will be copied into the response on the side of the recipient, so
|
|
68
68
|
* the sender can use it to identify the group content as they receive the response.
|
|
69
69
|
*/
|
|
70
|
-
|
|
70
|
+
metadata?: object;
|
|
71
71
|
/**
|
|
72
72
|
* The items of this group.
|
|
73
73
|
*/
|
|
@@ -78,7 +78,7 @@ export declare class RequestItemGroup extends Serializable {
|
|
|
78
78
|
description?: string;
|
|
79
79
|
mustBeAccepted: boolean;
|
|
80
80
|
items: RequestItem[];
|
|
81
|
-
|
|
81
|
+
metadata?: object;
|
|
82
82
|
static from(value: IRequestItemGroup | RequestItemGroupJSON): RequestItemGroup;
|
|
83
83
|
protected static postFrom<T extends Serializable>(value: T): T;
|
|
84
84
|
}
|
|
@@ -50,7 +50,7 @@ __decorate([
|
|
|
50
50
|
(0, ts_serval_1.serialize)(),
|
|
51
51
|
(0, ts_serval_1.validate)({ nullable: true }),
|
|
52
52
|
__metadata("design:type", Object)
|
|
53
|
-
], RequestItemGroup.prototype, "
|
|
53
|
+
], RequestItemGroup.prototype, "metadata", void 0);
|
|
54
54
|
RequestItemGroup = RequestItemGroup_1 = __decorate([
|
|
55
55
|
(0, ts_serval_1.type)("RequestItemGroup")
|
|
56
56
|
], RequestItemGroup);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RequestItemGroup.js","sourceRoot":"","sources":["../../src/requests/RequestItemGroup.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,kDAA4G;AAC5G,uDAAyC;AAuFzC,IAAa,gBAAgB,wBAA7B,MAAa,gBAAiB,SAAQ,wBAAY;IAqBvC,MAAM,CAAC,IAAI,CAAC,KAA+C;QAC9D,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAA;IAC9B,CAAC;IAES,MAAM,CAAU,QAAQ,CAAyB,KAAQ;QAC/D,IAAI,CAAC,CAAC,KAAK,YAAY,kBAAgB,CAAC;YAAE,MAAM,IAAI,KAAK,CAAC,0BAA0B,CAAC,CAAA;QAErF,IAAI,KAAK,CAAC,cAAc,IAAI,KAAK,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC,IAAI,CAAC,cAAc,CAAC,EAAE;YAC3E,MAAM,IAAI,2BAAe,CACrB,kBAAgB,CAAC,IAAI,EACrB,IAAA,yBAAM,EAAmB,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,cAAc,CAAC,EACjD,GAAG,IAAA,yBAAM,EACL,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,cAAc,CAC1B,wDAAwD,IAAA,yBAAM,EAC3D,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,cAAc,CAC1B,EAAE,CACN,CAAA;SACJ;QAED,OAAO,KAAK,CAAA;IAChB,CAAC;CACJ,CAAA;AAvCG;IAFC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;+CACR;AAIrB;IAFC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;qDACF;AAI3B;IAFC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,GAAE;;wDACmB;AAI9B;IAFC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC,EAAE,eAAe,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,kBAAkB,CAAC,CAAC,CAAC,SAAS,CAAC,EAAE,CAAC;;+CAC3D;AAI3B;IAFC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;
|
|
1
|
+
{"version":3,"file":"RequestItemGroup.js","sourceRoot":"","sources":["../../src/requests/RequestItemGroup.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,kDAA4G;AAC5G,uDAAyC;AAuFzC,IAAa,gBAAgB,wBAA7B,MAAa,gBAAiB,SAAQ,wBAAY;IAqBvC,MAAM,CAAC,IAAI,CAAC,KAA+C;QAC9D,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAA;IAC9B,CAAC;IAES,MAAM,CAAU,QAAQ,CAAyB,KAAQ;QAC/D,IAAI,CAAC,CAAC,KAAK,YAAY,kBAAgB,CAAC;YAAE,MAAM,IAAI,KAAK,CAAC,0BAA0B,CAAC,CAAA;QAErF,IAAI,KAAK,CAAC,cAAc,IAAI,KAAK,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC,IAAI,CAAC,cAAc,CAAC,EAAE;YAC3E,MAAM,IAAI,2BAAe,CACrB,kBAAgB,CAAC,IAAI,EACrB,IAAA,yBAAM,EAAmB,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,cAAc,CAAC,EACjD,GAAG,IAAA,yBAAM,EACL,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,cAAc,CAC1B,wDAAwD,IAAA,yBAAM,EAC3D,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,cAAc,CAC1B,EAAE,CACN,CAAA;SACJ;QAED,OAAO,KAAK,CAAA;IAChB,CAAC;CACJ,CAAA;AAvCG;IAFC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;+CACR;AAIrB;IAFC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;qDACF;AAI3B;IAFC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,GAAE;;wDACmB;AAI9B;IAFC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC,EAAE,eAAe,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,kBAAkB,CAAC,CAAC,CAAC,SAAS,CAAC,EAAE,CAAC;;+CAC3D;AAI3B;IAFC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;kDACL;AAnBf,gBAAgB;IAD5B,IAAA,gBAAI,EAAC,kBAAkB,CAAC;GACZ,gBAAgB,CA0C5B;AA1CY,4CAAgB"}
|
|
@@ -4,3 +4,4 @@ export * from "./proposeAttribute/ProposeAttributeAcceptResponseItem";
|
|
|
4
4
|
export * from "./proposeAttribute/ProposeAttributeRequestItem";
|
|
5
5
|
export * from "./readAttribute/ReadAttributeAcceptResponseItem";
|
|
6
6
|
export * from "./readAttribute/ReadAttributeRequestItem";
|
|
7
|
+
export * from "./shareAttribute/ShareAttributeRequestItem";
|
|
@@ -20,4 +20,5 @@ __exportStar(require("./proposeAttribute/ProposeAttributeAcceptResponseItem"), e
|
|
|
20
20
|
__exportStar(require("./proposeAttribute/ProposeAttributeRequestItem"), exports);
|
|
21
21
|
__exportStar(require("./readAttribute/ReadAttributeAcceptResponseItem"), exports);
|
|
22
22
|
__exportStar(require("./readAttribute/ReadAttributeRequestItem"), exports);
|
|
23
|
+
__exportStar(require("./shareAttribute/ShareAttributeRequestItem"), exports);
|
|
23
24
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/requests/items/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,sFAAmE;AACnE,+EAA4D;AAC5D,wFAAqE;AACrE,iFAA8D;AAC9D,kFAA+D;AAC/D,2EAAwD"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/requests/items/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,sFAAmE;AACnE,+EAA4D;AAC5D,wFAAqE;AACrE,iFAA8D;AAC9D,kFAA+D;AAC/D,2EAAwD;AACxD,6EAA0D"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { CoreAddress, CoreId, ICoreAddress, ICoreId } from "@nmshd/transport";
|
|
2
|
+
import { IRequestItem, RequestItem, RequestItemJSON } from "../../RequestItem";
|
|
3
|
+
export interface ShareAttributeRequestItemJSON extends RequestItemJSON {
|
|
4
|
+
attributeId: string;
|
|
5
|
+
shareWith: string;
|
|
6
|
+
}
|
|
7
|
+
export interface IShareAttributeRequestItem extends IRequestItem {
|
|
8
|
+
attributeId: ICoreId;
|
|
9
|
+
shareWith: ICoreAddress;
|
|
10
|
+
}
|
|
11
|
+
export declare class ShareAttributeRequestItem extends RequestItem implements IShareAttributeRequestItem {
|
|
12
|
+
attributeId: CoreId;
|
|
13
|
+
shareWith: CoreAddress;
|
|
14
|
+
static from(value: IShareAttributeRequestItem | ShareAttributeRequestItemJSON): ShareAttributeRequestItem;
|
|
15
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
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.ShareAttributeRequestItem = void 0;
|
|
13
|
+
const ts_serval_1 = require("@js-soft/ts-serval");
|
|
14
|
+
const transport_1 = require("@nmshd/transport");
|
|
15
|
+
const RequestItem_1 = require("../../RequestItem");
|
|
16
|
+
let ShareAttributeRequestItem = class ShareAttributeRequestItem extends RequestItem_1.RequestItem {
|
|
17
|
+
static from(value) {
|
|
18
|
+
return this.fromAny(value);
|
|
19
|
+
}
|
|
20
|
+
};
|
|
21
|
+
__decorate([
|
|
22
|
+
(0, ts_serval_1.serialize)(),
|
|
23
|
+
(0, ts_serval_1.validate)(),
|
|
24
|
+
__metadata("design:type", transport_1.CoreId)
|
|
25
|
+
], ShareAttributeRequestItem.prototype, "attributeId", void 0);
|
|
26
|
+
__decorate([
|
|
27
|
+
(0, ts_serval_1.serialize)(),
|
|
28
|
+
(0, ts_serval_1.validate)(),
|
|
29
|
+
__metadata("design:type", transport_1.CoreAddress)
|
|
30
|
+
], ShareAttributeRequestItem.prototype, "shareWith", void 0);
|
|
31
|
+
ShareAttributeRequestItem = __decorate([
|
|
32
|
+
(0, ts_serval_1.type)("ShareAttributeRequestItem")
|
|
33
|
+
], ShareAttributeRequestItem);
|
|
34
|
+
exports.ShareAttributeRequestItem = ShareAttributeRequestItem;
|
|
35
|
+
//# sourceMappingURL=ShareAttributeRequestItem.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ShareAttributeRequestItem.js","sourceRoot":"","sources":["../../../../src/requests/items/shareAttribute/ShareAttributeRequestItem.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAA8D;AAC9D,gDAA6E;AAC7E,mDAA8E;AAa9E,IAAa,yBAAyB,GAAtC,MAAa,yBAA0B,SAAQ,yBAAW;IAS/C,MAAM,CAAC,IAAI,CAAC,KAAiE;QAChF,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAA;IAC9B,CAAC;CACJ,CAAA;AATG;IAFC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,GAAE;8BACS,kBAAM;8DAAA;AAI1B;IAFC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,GAAE;8BACO,uBAAW;4DAAA;AAPpB,yBAAyB;IADrC,IAAA,gBAAI,EAAC,2BAA2B,CAAC;GACrB,yBAAyB,CAYrC;AAZY,8DAAyB"}
|
|
@@ -11,18 +11,15 @@ export interface ResponseJSON extends ContentJSON {
|
|
|
11
11
|
result: ResponseResult;
|
|
12
12
|
requestId: string;
|
|
13
13
|
items: (ResponseItemGroupJSON | ResponseItemJSON)[];
|
|
14
|
-
metadata?: object;
|
|
15
14
|
}
|
|
16
15
|
export interface IResponse extends ISerializable {
|
|
17
16
|
result: ResponseResult;
|
|
18
17
|
requestId: ICoreId;
|
|
19
18
|
items: (IResponseItemGroup | IResponseItem)[];
|
|
20
|
-
metadata?: object;
|
|
21
19
|
}
|
|
22
20
|
export declare class Response extends Serializable {
|
|
23
21
|
result: ResponseResult;
|
|
24
22
|
requestId: CoreId;
|
|
25
23
|
items: (ResponseItemGroup | ResponseItem)[];
|
|
26
|
-
metadata?: object;
|
|
27
24
|
static from(value: IResponse | ResponseJSON): Response;
|
|
28
25
|
}
|
|
@@ -37,11 +37,6 @@ __decorate([
|
|
|
37
37
|
(0, ts_serval_1.validate)({ customValidator: (v) => (v.length < 1 ? "may not be empty" : undefined) }),
|
|
38
38
|
__metadata("design:type", Array)
|
|
39
39
|
], Response.prototype, "items", void 0);
|
|
40
|
-
__decorate([
|
|
41
|
-
(0, ts_serval_1.serialize)(),
|
|
42
|
-
(0, ts_serval_1.validate)({ nullable: true }),
|
|
43
|
-
__metadata("design:type", Object)
|
|
44
|
-
], Response.prototype, "metadata", void 0);
|
|
45
40
|
Response = __decorate([
|
|
46
41
|
(0, ts_serval_1.type)("Response")
|
|
47
42
|
], Response);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Response.js","sourceRoot":"","sources":["../../../src/requests/response/Response.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAA2F;AAC3F,gDAAkD;AAKlD,IAAY,cAGX;AAHD,WAAY,cAAc;IACtB,uCAAqB,CAAA;IACrB,uCAAqB,CAAA;AACzB,CAAC,EAHW,cAAc,GAAd,sBAAc,KAAd,sBAAc,QAGzB;
|
|
1
|
+
{"version":3,"file":"Response.js","sourceRoot":"","sources":["../../../src/requests/response/Response.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAA2F;AAC3F,gDAAkD;AAKlD,IAAY,cAGX;AAHD,WAAY,cAAc;IACtB,uCAAqB,CAAA;IACrB,uCAAqB,CAAA;AACzB,CAAC,EAHW,cAAc,GAAd,sBAAc,KAAd,sBAAc,QAGzB;AAeD,IAAa,QAAQ,GAArB,MAAa,QAAS,SAAQ,wBAAY;IAa/B,MAAM,CAAC,IAAI,CAAC,KAA+B;QAC9C,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAA;IAC9B,CAAC;CACJ,CAAA;AAbG;IAFC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,GAAE;;wCACkB;AAI7B;IAFC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,GAAE;8BACO,kBAAM;2CAAA;AAIxB;IAFC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC,EAAE,eAAe,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,kBAAkB,CAAC,CAAC,CAAC,SAAS,CAAC,EAAE,CAAC;;uCACpC;AAXzC,QAAQ;IADpB,IAAA,gBAAI,EAAC,UAAU,CAAC;GACJ,QAAQ,CAgBpB;AAhBY,4BAAQ"}
|
|
@@ -3,13 +3,10 @@ import { ContentJSON } from "../../ContentJSON";
|
|
|
3
3
|
import { ResponseItemResult } from "./ResponseItemResult";
|
|
4
4
|
export interface ResponseItemJSON extends ContentJSON {
|
|
5
5
|
result: ResponseItemResult;
|
|
6
|
-
metadata?: object;
|
|
7
6
|
}
|
|
8
7
|
export interface IResponseItem extends ISerializable {
|
|
9
8
|
result: ResponseItemResult;
|
|
10
|
-
metadata?: object;
|
|
11
9
|
}
|
|
12
10
|
export declare abstract class ResponseItem extends Serializable {
|
|
13
11
|
result: ResponseItemResult;
|
|
14
|
-
metadata?: object;
|
|
15
12
|
}
|
|
@@ -19,10 +19,5 @@ __decorate([
|
|
|
19
19
|
(0, ts_serval_1.validate)(),
|
|
20
20
|
__metadata("design:type", String)
|
|
21
21
|
], ResponseItem.prototype, "result", void 0);
|
|
22
|
-
__decorate([
|
|
23
|
-
(0, ts_serval_1.serialize)(),
|
|
24
|
-
(0, ts_serval_1.validate)({ nullable: true }),
|
|
25
|
-
__metadata("design:type", Object)
|
|
26
|
-
], ResponseItem.prototype, "metadata", void 0);
|
|
27
22
|
exports.ResponseItem = ResponseItem;
|
|
28
23
|
//# sourceMappingURL=ResponseItem.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ResponseItem.js","sourceRoot":"","sources":["../../../src/requests/response/ResponseItem.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAAqF;AAErF,6DAAyD;
|
|
1
|
+
{"version":3,"file":"ResponseItem.js","sourceRoot":"","sources":["../../../src/requests/response/ResponseItem.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAAqF;AAErF,6DAAyD;AAUzD,MAAsB,YAAa,SAAQ,wBAAY;CAItD;AADG;IAFC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,GAAE;;4CACsB;AAHrC,oCAIC"}
|
|
@@ -3,14 +3,11 @@ import { ContentJSON } from "../../ContentJSON";
|
|
|
3
3
|
import { IResponseItem, ResponseItem, ResponseItemJSON } from "./ResponseItem";
|
|
4
4
|
export interface ResponseItemGroupJSON extends ContentJSON {
|
|
5
5
|
items: ResponseItemJSON[];
|
|
6
|
-
metadata?: object;
|
|
7
6
|
}
|
|
8
7
|
export interface IResponseItemGroup extends ISerializable {
|
|
9
8
|
items: IResponseItem[];
|
|
10
|
-
metadata?: object;
|
|
11
9
|
}
|
|
12
10
|
export declare class ResponseItemGroup extends Serializable {
|
|
13
11
|
items: ResponseItem[];
|
|
14
|
-
metadata?: object;
|
|
15
12
|
static from(value: IResponseItemGroup | ResponseItemGroupJSON): ResponseItemGroup;
|
|
16
13
|
}
|
|
@@ -21,11 +21,6 @@ __decorate([
|
|
|
21
21
|
(0, ts_serval_1.validate)({ customValidator: (v) => (v.length < 1 ? "may not be empty" : undefined) }),
|
|
22
22
|
__metadata("design:type", Array)
|
|
23
23
|
], ResponseItemGroup.prototype, "items", void 0);
|
|
24
|
-
__decorate([
|
|
25
|
-
(0, ts_serval_1.serialize)(),
|
|
26
|
-
(0, ts_serval_1.validate)({ nullable: true }),
|
|
27
|
-
__metadata("design:type", Object)
|
|
28
|
-
], ResponseItemGroup.prototype, "metadata", void 0);
|
|
29
24
|
ResponseItemGroup = __decorate([
|
|
30
25
|
(0, ts_serval_1.type)("ResponseItemGroup")
|
|
31
26
|
], ResponseItemGroup);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ResponseItemGroup.js","sourceRoot":"","sources":["../../../src/requests/response/ResponseItemGroup.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAA2F;
|
|
1
|
+
{"version":3,"file":"ResponseItemGroup.js","sourceRoot":"","sources":["../../../src/requests/response/ResponseItemGroup.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAA2F;AAa3F,IAAa,iBAAiB,GAA9B,MAAa,iBAAkB,SAAQ,wBAAY;IAKxC,MAAM,CAAC,IAAI,CAAC,KAAiD;QAChE,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAA;IAC9B,CAAC;CACJ,CAAA;AALG;IAFC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC,EAAE,eAAe,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,kBAAkB,CAAC,CAAC,CAAC,SAAS,CAAC,EAAE,CAAC;;gDAC1D;AAHnB,iBAAiB;IAD7B,IAAA,gBAAI,EAAC,mBAAmB,CAAC;GACb,iBAAiB,CAQ7B;AARY,8CAAiB"}
|
package/lib-web/nmshd.content.js
CHANGED
|
@@ -428,7 +428,7 @@ exports.RelationshipAttributeQuery = void 0;
|
|
|
428
428
|
const ts_serval_1 = __webpack_require__(/*! @js-soft/ts-serval */ "@js-soft/ts-serval");
|
|
429
429
|
const transport_1 = __webpack_require__(/*! @nmshd/transport */ "@nmshd/transport");
|
|
430
430
|
const AbstractAttributeQuery_1 = __webpack_require__(/*! ./AbstractAttributeQuery */ "./dist/attributes/AbstractAttributeQuery.js");
|
|
431
|
-
const
|
|
431
|
+
const RelationshipAttributeCreationHints_1 = __webpack_require__(/*! ./hints/RelationshipAttributeCreationHints */ "./dist/attributes/hints/RelationshipAttributeCreationHints.js");
|
|
432
432
|
let RelationshipAttributeQuery = class RelationshipAttributeQuery extends AbstractAttributeQuery_1.AbstractAttributeQuery {
|
|
433
433
|
static from(value) {
|
|
434
434
|
return this.fromAny(value);
|
|
@@ -455,7 +455,7 @@ __decorate([
|
|
|
455
455
|
__decorate([
|
|
456
456
|
(0, ts_serval_1.serialize)(),
|
|
457
457
|
(0, ts_serval_1.validate)(),
|
|
458
|
-
__metadata("design:type",
|
|
458
|
+
__metadata("design:type", RelationshipAttributeCreationHints_1.RelationshipAttributeCreationHints)
|
|
459
459
|
], RelationshipAttributeQuery.prototype, "attributeCreationHints", void 0);
|
|
460
460
|
RelationshipAttributeQuery = __decorate([
|
|
461
461
|
(0, ts_serval_1.type)("RelationshipAttributeQuery")
|
|
@@ -1395,10 +1395,10 @@ __exportStar(__webpack_require__(/*! ./LanguagesISO639 */ "./dist/attributes/con
|
|
|
1395
1395
|
|
|
1396
1396
|
/***/ }),
|
|
1397
1397
|
|
|
1398
|
-
/***/ "./dist/attributes/hints/
|
|
1399
|
-
|
|
1400
|
-
!*** ./dist/attributes/hints/
|
|
1401
|
-
|
|
1398
|
+
/***/ "./dist/attributes/hints/RelationshipAttributeCreationHints.js":
|
|
1399
|
+
/*!*********************************************************************!*\
|
|
1400
|
+
!*** ./dist/attributes/hints/RelationshipAttributeCreationHints.js ***!
|
|
1401
|
+
\*********************************************************************/
|
|
1402
1402
|
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
1403
1403
|
|
|
1404
1404
|
|
|
@@ -1461,10 +1461,10 @@ __decorate([
|
|
|
1461
1461
|
__metadata("design:type", String)
|
|
1462
1462
|
], RelationshipAttributeCreationHints.prototype, "confidentiality", void 0);
|
|
1463
1463
|
RelationshipAttributeCreationHints = __decorate([
|
|
1464
|
-
(0, ts_serval_1.type)("
|
|
1464
|
+
(0, ts_serval_1.type)("RelationshipAttributeCreationHints")
|
|
1465
1465
|
], RelationshipAttributeCreationHints);
|
|
1466
1466
|
exports.RelationshipAttributeCreationHints = RelationshipAttributeCreationHints;
|
|
1467
|
-
//# sourceMappingURL=
|
|
1467
|
+
//# sourceMappingURL=RelationshipAttributeCreationHints.js.map
|
|
1468
1468
|
|
|
1469
1469
|
/***/ }),
|
|
1470
1470
|
|
|
@@ -1766,7 +1766,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
1766
1766
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
1767
1767
|
};
|
|
1768
1768
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
1769
|
-
__exportStar(__webpack_require__(/*! ./
|
|
1769
|
+
__exportStar(__webpack_require__(/*! ./RelationshipAttributeCreationHints */ "./dist/attributes/hints/RelationshipAttributeCreationHints.js"), exports);
|
|
1770
1770
|
__exportStar(__webpack_require__(/*! ./RenderHints */ "./dist/attributes/hints/RenderHints.js"), exports);
|
|
1771
1771
|
__exportStar(__webpack_require__(/*! ./ValueHints */ "./dist/attributes/hints/ValueHints.js"), exports);
|
|
1772
1772
|
__exportStar(__webpack_require__(/*! ./ValueHintsValue */ "./dist/attributes/hints/ValueHintsValue.js"), exports);
|
|
@@ -4930,10 +4930,10 @@ const ts_serval_1 = __webpack_require__(/*! @js-soft/ts-serval */ "@js-soft/ts-s
|
|
|
4930
4930
|
const crypto_1 = __webpack_require__(/*! @nmshd/crypto */ "@nmshd/crypto");
|
|
4931
4931
|
const transport_1 = __webpack_require__(/*! @nmshd/transport */ "@nmshd/transport");
|
|
4932
4932
|
exports.buildInformation = {
|
|
4933
|
-
version: "2.0.0-alpha.
|
|
4934
|
-
build: "
|
|
4935
|
-
date: "2022-
|
|
4936
|
-
commit: "
|
|
4933
|
+
version: "2.0.0-alpha.38",
|
|
4934
|
+
build: "68",
|
|
4935
|
+
date: "2022-07-05T05:48:37+00:00",
|
|
4936
|
+
commit: "a24202d389930d79736e88e55ec5e0a1fffd5011",
|
|
4937
4937
|
dependencies: {"@js-soft/logging-abstractions":"^1.0.0"},
|
|
4938
4938
|
libraries: {
|
|
4939
4939
|
serval: ts_serval_1.buildInformation,
|
|
@@ -5700,7 +5700,7 @@ __decorate([
|
|
|
5700
5700
|
(0, ts_serval_1.serialize)(),
|
|
5701
5701
|
(0, ts_serval_1.validate)({ nullable: true }),
|
|
5702
5702
|
__metadata("design:type", Object)
|
|
5703
|
-
], Request.prototype, "
|
|
5703
|
+
], Request.prototype, "metadata", void 0);
|
|
5704
5704
|
Request = __decorate([
|
|
5705
5705
|
(0, ts_serval_1.type)("Request")
|
|
5706
5706
|
], Request);
|
|
@@ -5749,7 +5749,7 @@ __decorate([
|
|
|
5749
5749
|
(0, ts_serval_1.serialize)(),
|
|
5750
5750
|
(0, ts_serval_1.validate)({ nullable: true }),
|
|
5751
5751
|
__metadata("design:type", Object)
|
|
5752
|
-
], RequestItem.prototype, "
|
|
5752
|
+
], RequestItem.prototype, "metadata", void 0);
|
|
5753
5753
|
exports.RequestItem = RequestItem;
|
|
5754
5754
|
//# sourceMappingURL=RequestItem.js.map
|
|
5755
5755
|
|
|
@@ -5813,7 +5813,7 @@ __decorate([
|
|
|
5813
5813
|
(0, ts_serval_1.serialize)(),
|
|
5814
5814
|
(0, ts_serval_1.validate)({ nullable: true }),
|
|
5815
5815
|
__metadata("design:type", Object)
|
|
5816
|
-
], RequestItemGroup.prototype, "
|
|
5816
|
+
], RequestItemGroup.prototype, "metadata", void 0);
|
|
5817
5817
|
RequestItemGroup = RequestItemGroup_1 = __decorate([
|
|
5818
5818
|
(0, ts_serval_1.type)("RequestItemGroup")
|
|
5819
5819
|
], RequestItemGroup);
|
|
@@ -5961,6 +5961,7 @@ __exportStar(__webpack_require__(/*! ./proposeAttribute/ProposeAttributeAcceptRe
|
|
|
5961
5961
|
__exportStar(__webpack_require__(/*! ./proposeAttribute/ProposeAttributeRequestItem */ "./dist/requests/items/proposeAttribute/ProposeAttributeRequestItem.js"), exports);
|
|
5962
5962
|
__exportStar(__webpack_require__(/*! ./readAttribute/ReadAttributeAcceptResponseItem */ "./dist/requests/items/readAttribute/ReadAttributeAcceptResponseItem.js"), exports);
|
|
5963
5963
|
__exportStar(__webpack_require__(/*! ./readAttribute/ReadAttributeRequestItem */ "./dist/requests/items/readAttribute/ReadAttributeRequestItem.js"), exports);
|
|
5964
|
+
__exportStar(__webpack_require__(/*! ./shareAttribute/ShareAttributeRequestItem */ "./dist/requests/items/shareAttribute/ShareAttributeRequestItem.js"), exports);
|
|
5964
5965
|
//# sourceMappingURL=index.js.map
|
|
5965
5966
|
|
|
5966
5967
|
/***/ }),
|
|
@@ -6156,6 +6157,50 @@ exports.ReadAttributeRequestItem = ReadAttributeRequestItem;
|
|
|
6156
6157
|
|
|
6157
6158
|
/***/ }),
|
|
6158
6159
|
|
|
6160
|
+
/***/ "./dist/requests/items/shareAttribute/ShareAttributeRequestItem.js":
|
|
6161
|
+
/*!*************************************************************************!*\
|
|
6162
|
+
!*** ./dist/requests/items/shareAttribute/ShareAttributeRequestItem.js ***!
|
|
6163
|
+
\*************************************************************************/
|
|
6164
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
6165
|
+
|
|
6166
|
+
|
|
6167
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
6168
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
6169
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
6170
|
+
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;
|
|
6171
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6172
|
+
};
|
|
6173
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
6174
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
6175
|
+
};
|
|
6176
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
6177
|
+
exports.ShareAttributeRequestItem = void 0;
|
|
6178
|
+
const ts_serval_1 = __webpack_require__(/*! @js-soft/ts-serval */ "@js-soft/ts-serval");
|
|
6179
|
+
const transport_1 = __webpack_require__(/*! @nmshd/transport */ "@nmshd/transport");
|
|
6180
|
+
const RequestItem_1 = __webpack_require__(/*! ../../RequestItem */ "./dist/requests/RequestItem.js");
|
|
6181
|
+
let ShareAttributeRequestItem = class ShareAttributeRequestItem extends RequestItem_1.RequestItem {
|
|
6182
|
+
static from(value) {
|
|
6183
|
+
return this.fromAny(value);
|
|
6184
|
+
}
|
|
6185
|
+
};
|
|
6186
|
+
__decorate([
|
|
6187
|
+
(0, ts_serval_1.serialize)(),
|
|
6188
|
+
(0, ts_serval_1.validate)(),
|
|
6189
|
+
__metadata("design:type", transport_1.CoreId)
|
|
6190
|
+
], ShareAttributeRequestItem.prototype, "attributeId", void 0);
|
|
6191
|
+
__decorate([
|
|
6192
|
+
(0, ts_serval_1.serialize)(),
|
|
6193
|
+
(0, ts_serval_1.validate)(),
|
|
6194
|
+
__metadata("design:type", transport_1.CoreAddress)
|
|
6195
|
+
], ShareAttributeRequestItem.prototype, "shareWith", void 0);
|
|
6196
|
+
ShareAttributeRequestItem = __decorate([
|
|
6197
|
+
(0, ts_serval_1.type)("ShareAttributeRequestItem")
|
|
6198
|
+
], ShareAttributeRequestItem);
|
|
6199
|
+
exports.ShareAttributeRequestItem = ShareAttributeRequestItem;
|
|
6200
|
+
//# sourceMappingURL=ShareAttributeRequestItem.js.map
|
|
6201
|
+
|
|
6202
|
+
/***/ }),
|
|
6203
|
+
|
|
6159
6204
|
/***/ "./dist/requests/old/AttributesChangeRequest.js":
|
|
6160
6205
|
/*!******************************************************!*\
|
|
6161
6206
|
!*** ./dist/requests/old/AttributesChangeRequest.js ***!
|
|
@@ -6538,11 +6583,6 @@ __decorate([
|
|
|
6538
6583
|
(0, ts_serval_1.validate)({ customValidator: (v) => (v.length < 1 ? "may not be empty" : undefined) }),
|
|
6539
6584
|
__metadata("design:type", Array)
|
|
6540
6585
|
], Response.prototype, "items", void 0);
|
|
6541
|
-
__decorate([
|
|
6542
|
-
(0, ts_serval_1.serialize)(),
|
|
6543
|
-
(0, ts_serval_1.validate)({ nullable: true }),
|
|
6544
|
-
__metadata("design:type", Object)
|
|
6545
|
-
], Response.prototype, "metadata", void 0);
|
|
6546
6586
|
Response = __decorate([
|
|
6547
6587
|
(0, ts_serval_1.type)("Response")
|
|
6548
6588
|
], Response);
|
|
@@ -6578,11 +6618,6 @@ __decorate([
|
|
|
6578
6618
|
(0, ts_serval_1.validate)(),
|
|
6579
6619
|
__metadata("design:type", String)
|
|
6580
6620
|
], ResponseItem.prototype, "result", void 0);
|
|
6581
|
-
__decorate([
|
|
6582
|
-
(0, ts_serval_1.serialize)(),
|
|
6583
|
-
(0, ts_serval_1.validate)({ nullable: true }),
|
|
6584
|
-
__metadata("design:type", Object)
|
|
6585
|
-
], ResponseItem.prototype, "metadata", void 0);
|
|
6586
6621
|
exports.ResponseItem = ResponseItem;
|
|
6587
6622
|
//# sourceMappingURL=ResponseItem.js.map
|
|
6588
6623
|
|
|
@@ -6617,11 +6652,6 @@ __decorate([
|
|
|
6617
6652
|
(0, ts_serval_1.validate)({ customValidator: (v) => (v.length < 1 ? "may not be empty" : undefined) }),
|
|
6618
6653
|
__metadata("design:type", Array)
|
|
6619
6654
|
], ResponseItemGroup.prototype, "items", void 0);
|
|
6620
|
-
__decorate([
|
|
6621
|
-
(0, ts_serval_1.serialize)(),
|
|
6622
|
-
(0, ts_serval_1.validate)({ nullable: true }),
|
|
6623
|
-
__metadata("design:type", Object)
|
|
6624
|
-
], ResponseItemGroup.prototype, "metadata", void 0);
|
|
6625
6655
|
ResponseItemGroup = __decorate([
|
|
6626
6656
|
(0, ts_serval_1.type)("ResponseItemGroup")
|
|
6627
6657
|
], ResponseItemGroup);
|