@nmshd/content 2.0.0-beta.7 → 2.0.0-beta.8
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/buildInformation.js +4 -4
- package/dist/requests/items/shareAttribute/ShareAttributeRequestItem.d.ts +4 -4
- package/dist/requests/items/shareAttribute/ShareAttributeRequestItem.js +2 -2
- package/dist/requests/items/shareAttribute/ShareAttributeRequestItem.js.map +1 -1
- package/lib-web/nmshd.content.js +6 -6
- package/lib-web/nmshd.content.min.js +1 -1
- package/package.json +1 -1
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-08-
|
|
11
|
-
commit: "
|
|
8
|
+
version: "2.0.0-beta.8",
|
|
9
|
+
build: "85",
|
|
10
|
+
date: "2022-08-05T08:33:21+00:00",
|
|
11
|
+
commit: "1b86a9190b9cd07be27b4213834b574164620960",
|
|
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,17 +1,17 @@
|
|
|
1
1
|
import { CoreId, ICoreId } from "@nmshd/transport";
|
|
2
2
|
import { RequestItemJSON } from "../..";
|
|
3
|
-
import { IdentityAttribute, IdentityAttributeJSON, IIdentityAttribute } from "../../../attributes";
|
|
3
|
+
import { IdentityAttribute, IdentityAttributeJSON, IIdentityAttribute, IRelationshipAttribute, RelationshipAttribute, RelationshipAttributeJSON } from "../../../attributes";
|
|
4
4
|
import { IRequestItem, RequestItem } from "../../RequestItem";
|
|
5
5
|
export interface ShareAttributeRequestItemJSON extends RequestItemJSON {
|
|
6
|
-
attribute: IdentityAttributeJSON;
|
|
6
|
+
attribute: IdentityAttributeJSON | RelationshipAttributeJSON;
|
|
7
7
|
sourceAttributeId: string;
|
|
8
8
|
}
|
|
9
9
|
export interface IShareAttributeRequestItem extends IRequestItem {
|
|
10
|
-
attribute: IIdentityAttribute;
|
|
10
|
+
attribute: IIdentityAttribute | IRelationshipAttribute;
|
|
11
11
|
sourceAttributeId: ICoreId;
|
|
12
12
|
}
|
|
13
13
|
export declare class ShareAttributeRequestItem extends RequestItem implements IShareAttributeRequestItem {
|
|
14
|
-
attribute: IdentityAttribute;
|
|
14
|
+
attribute: IdentityAttribute | RelationshipAttribute;
|
|
15
15
|
sourceAttributeId: CoreId;
|
|
16
16
|
static from(value: IShareAttributeRequestItem | ShareAttributeRequestItemJSON): ShareAttributeRequestItem;
|
|
17
17
|
}
|
|
@@ -20,9 +20,9 @@ let ShareAttributeRequestItem = class ShareAttributeRequestItem extends RequestI
|
|
|
20
20
|
}
|
|
21
21
|
};
|
|
22
22
|
__decorate([
|
|
23
|
-
(0, ts_serval_1.serialize)(),
|
|
23
|
+
(0, ts_serval_1.serialize)({ unionTypes: [attributes_1.IdentityAttribute, attributes_1.RelationshipAttribute] }),
|
|
24
24
|
(0, ts_serval_1.validate)(),
|
|
25
|
-
__metadata("design:type",
|
|
25
|
+
__metadata("design:type", Object)
|
|
26
26
|
], ShareAttributeRequestItem.prototype, "attribute", void 0);
|
|
27
27
|
__decorate([
|
|
28
28
|
(0, ts_serval_1.serialize)(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ShareAttributeRequestItem.js","sourceRoot":"","sources":["../../../../src/requests/items/shareAttribute/ShareAttributeRequestItem.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAA8D;AAC9D,gDAAkD;AAElD,
|
|
1
|
+
{"version":3,"file":"ShareAttributeRequestItem.js","sourceRoot":"","sources":["../../../../src/requests/items/shareAttribute/ShareAttributeRequestItem.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAA8D;AAC9D,gDAAkD;AAElD,oDAO4B;AAC5B,mDAA6D;AAa7D,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,EAAC,EAAE,UAAU,EAAE,CAAC,8BAAiB,EAAE,kCAAqB,CAAC,EAAE,CAAC;IACrE,IAAA,oBAAQ,GAAE;;4DACgD;AAI3D;IAFC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,GAAE;8BACe,kBAAM;oEAAA;AAPvB,yBAAyB;IADrC,IAAA,gBAAI,EAAC,2BAA2B,CAAC;GACrB,yBAAyB,CAYrC;AAZY,8DAAyB"}
|
package/lib-web/nmshd.content.js
CHANGED
|
@@ -5487,10 +5487,10 @@ const ts_serval_1 = __webpack_require__(/*! @js-soft/ts-serval */ "@js-soft/ts-s
|
|
|
5487
5487
|
const crypto_1 = __webpack_require__(/*! @nmshd/crypto */ "@nmshd/crypto");
|
|
5488
5488
|
const transport_1 = __webpack_require__(/*! @nmshd/transport */ "@nmshd/transport");
|
|
5489
5489
|
exports.buildInformation = {
|
|
5490
|
-
version: "2.0.0-beta.
|
|
5491
|
-
build: "
|
|
5492
|
-
date: "2022-08-
|
|
5493
|
-
commit: "
|
|
5490
|
+
version: "2.0.0-beta.8",
|
|
5491
|
+
build: "85",
|
|
5492
|
+
date: "2022-08-05T08:33:21+00:00",
|
|
5493
|
+
commit: "1b86a9190b9cd07be27b4213834b574164620960",
|
|
5494
5494
|
dependencies: {"@js-soft/logging-abstractions":"^1.0.0","easy-tsnameof":"^3.0.6"},
|
|
5495
5495
|
libraries: {
|
|
5496
5496
|
serval: ts_serval_1.buildInformation,
|
|
@@ -6847,9 +6847,9 @@ let ShareAttributeRequestItem = class ShareAttributeRequestItem extends RequestI
|
|
|
6847
6847
|
}
|
|
6848
6848
|
};
|
|
6849
6849
|
__decorate([
|
|
6850
|
-
(0, ts_serval_1.serialize)(),
|
|
6850
|
+
(0, ts_serval_1.serialize)({ unionTypes: [attributes_1.IdentityAttribute, attributes_1.RelationshipAttribute] }),
|
|
6851
6851
|
(0, ts_serval_1.validate)(),
|
|
6852
|
-
__metadata("design:type",
|
|
6852
|
+
__metadata("design:type", Object)
|
|
6853
6853
|
], ShareAttributeRequestItem.prototype, "attribute", void 0);
|
|
6854
6854
|
__decorate([
|
|
6855
6855
|
(0, ts_serval_1.serialize)(),
|