@nmshd/content 2.7.3 → 2.8.0
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/notifications/Notification.d.ts +2 -2
- package/dist/notifications/Notification.js.map +1 -1
- package/dist/notifications/items/PeerSharedAttributeSucceededNotificationItem.d.ts +20 -0
- package/dist/notifications/items/{AttributeSucceededNotificationItem.js → PeerSharedAttributeSucceededNotificationItem.js} +10 -10
- package/dist/notifications/items/PeerSharedAttributeSucceededNotificationItem.js.map +1 -0
- package/dist/notifications/items/index.d.ts +1 -1
- package/dist/notifications/items/index.js +1 -1
- package/dist/notifications/items/index.js.map +1 -1
- package/lib-web/nmshd.content.js +19 -19
- package/lib-web/nmshd.content.min.js +1 -1
- package/package.json +11 -10
- package/dist/notifications/items/AttributeSucceededNotificationItem.d.ts +0 -20
- package/dist/notifications/items/AttributeSucceededNotificationItem.js.map +0 -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.
|
|
9
|
-
build: "
|
|
10
|
-
date: "2023-
|
|
11
|
-
commit: "
|
|
8
|
+
version: "2.8.0",
|
|
9
|
+
build: "150",
|
|
10
|
+
date: "2023-11-06T14:43:22+00:00",
|
|
11
|
+
commit: "2d1c8421cb6e0aa36fabf231800817342886f9c1",
|
|
12
12
|
dependencies: {"@js-soft/logging-abstractions":"^1.0.0","@nmshd/iql":"^0.0.4","easy-tsnameof":"^3.0.6","mocha-param":"^2.0.1"},
|
|
13
13
|
libraries: {
|
|
14
14
|
serval: ts_serval_1.buildInformation,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ISerializable, Serializable } from "@js-soft/ts-serval";
|
|
2
|
-
import { CoreId } from "@nmshd/transport";
|
|
2
|
+
import { CoreId, ICoreId } from "@nmshd/transport";
|
|
3
3
|
import { INotificationItem, NotificationItem, NotificationItemJSON } from "./NotificationItem";
|
|
4
4
|
export interface NotificationJSON {
|
|
5
5
|
"@type": "Notification";
|
|
@@ -10,7 +10,7 @@ export interface NotificationJSON {
|
|
|
10
10
|
items: NotificationItemJSON[];
|
|
11
11
|
}
|
|
12
12
|
export interface INotification extends ISerializable {
|
|
13
|
-
id:
|
|
13
|
+
id: ICoreId;
|
|
14
14
|
/**
|
|
15
15
|
* The items of the Notification.
|
|
16
16
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Notification.js","sourceRoot":"","sources":["../../src/notifications/Notification.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAA2F;AAC3F,
|
|
1
|
+
{"version":3,"file":"Notification.js","sourceRoot":"","sources":["../../src/notifications/Notification.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAA2F;AAC3F,gDAAkD;AAClD,yDAA8F;AAuBvF,IAAM,YAAY,GAAlB,MAAM,YAAa,SAAQ,wBAAY;IASnC,MAAM,CAAC,IAAI,CAAC,KAAoB;QACnC,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAA;IAC9B,CAAC;CACJ,CAAA;AAZY,oCAAY;AAGd;IAFN,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,GAAE;8BACA,kBAAM;wCAAA;AAIV;IAFN,IAAA,qBAAS,EAAC,EAAE,IAAI,EAAE,mCAAgB,EAAE,CAAC;IACrC,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;;2CACtD;uBAPvB,YAAY;IADxB,IAAA,gBAAI,EAAC,cAAc,CAAC;GACR,YAAY,CAYxB"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { CoreId, ICoreId } from "@nmshd/transport";
|
|
2
|
+
import { IIdentityAttribute, IRelationshipAttribute, IdentityAttribute, IdentityAttributeJSON, RelationshipAttribute, RelationshipAttributeJSON } from "../../attributes";
|
|
3
|
+
import { INotificationItem, NotificationItem, NotificationItemJSON } from "../NotificationItem";
|
|
4
|
+
export interface PeerSharedAttributeSucceededNotificationItemJSON extends NotificationItemJSON {
|
|
5
|
+
"@type": "PeerSharedAttributeSucceededNotificationItem";
|
|
6
|
+
predecessorId: string;
|
|
7
|
+
successorId: string;
|
|
8
|
+
successorContent: IdentityAttributeJSON | RelationshipAttributeJSON;
|
|
9
|
+
}
|
|
10
|
+
export interface IPeerSharedAttributeSucceededNotificationItem extends INotificationItem {
|
|
11
|
+
predecessorId: ICoreId;
|
|
12
|
+
successorId: ICoreId;
|
|
13
|
+
successorContent: IIdentityAttribute | IRelationshipAttribute;
|
|
14
|
+
}
|
|
15
|
+
export declare class PeerSharedAttributeSucceededNotificationItem extends NotificationItem implements IPeerSharedAttributeSucceededNotificationItem {
|
|
16
|
+
predecessorId: CoreId;
|
|
17
|
+
successorId: CoreId;
|
|
18
|
+
successorContent: IdentityAttribute | RelationshipAttribute;
|
|
19
|
+
static from(value: IPeerSharedAttributeSucceededNotificationItem): PeerSharedAttributeSucceededNotificationItem;
|
|
20
|
+
}
|
|
@@ -9,33 +9,33 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
9
9
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
10
|
};
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
exports.
|
|
12
|
+
exports.PeerSharedAttributeSucceededNotificationItem = void 0;
|
|
13
13
|
const ts_serval_1 = require("@js-soft/ts-serval");
|
|
14
14
|
const transport_1 = require("@nmshd/transport");
|
|
15
15
|
const attributes_1 = require("../../attributes");
|
|
16
16
|
const NotificationItem_1 = require("../NotificationItem");
|
|
17
|
-
let
|
|
17
|
+
let PeerSharedAttributeSucceededNotificationItem = class PeerSharedAttributeSucceededNotificationItem extends NotificationItem_1.NotificationItem {
|
|
18
18
|
static from(value) {
|
|
19
19
|
return this.fromAny(value);
|
|
20
20
|
}
|
|
21
21
|
};
|
|
22
|
-
exports.
|
|
22
|
+
exports.PeerSharedAttributeSucceededNotificationItem = PeerSharedAttributeSucceededNotificationItem;
|
|
23
23
|
__decorate([
|
|
24
24
|
(0, ts_serval_1.validate)(),
|
|
25
25
|
(0, ts_serval_1.serialize)(),
|
|
26
26
|
__metadata("design:type", transport_1.CoreId)
|
|
27
|
-
],
|
|
27
|
+
], PeerSharedAttributeSucceededNotificationItem.prototype, "predecessorId", void 0);
|
|
28
28
|
__decorate([
|
|
29
29
|
(0, ts_serval_1.validate)(),
|
|
30
30
|
(0, ts_serval_1.serialize)(),
|
|
31
31
|
__metadata("design:type", transport_1.CoreId)
|
|
32
|
-
],
|
|
32
|
+
], PeerSharedAttributeSucceededNotificationItem.prototype, "successorId", void 0);
|
|
33
33
|
__decorate([
|
|
34
34
|
(0, ts_serval_1.validate)(),
|
|
35
35
|
(0, ts_serval_1.serialize)({ unionTypes: [attributes_1.IdentityAttribute, attributes_1.RelationshipAttribute] }),
|
|
36
36
|
__metadata("design:type", Object)
|
|
37
|
-
],
|
|
38
|
-
exports.
|
|
39
|
-
(0, ts_serval_1.type)("
|
|
40
|
-
],
|
|
41
|
-
//# sourceMappingURL=
|
|
37
|
+
], PeerSharedAttributeSucceededNotificationItem.prototype, "successorContent", void 0);
|
|
38
|
+
exports.PeerSharedAttributeSucceededNotificationItem = PeerSharedAttributeSucceededNotificationItem = __decorate([
|
|
39
|
+
(0, ts_serval_1.type)("PeerSharedAttributeSucceededNotificationItem")
|
|
40
|
+
], PeerSharedAttributeSucceededNotificationItem);
|
|
41
|
+
//# sourceMappingURL=PeerSharedAttributeSucceededNotificationItem.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PeerSharedAttributeSucceededNotificationItem.js","sourceRoot":"","sources":["../../../src/notifications/items/PeerSharedAttributeSucceededNotificationItem.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAA8D;AAC9D,gDAAkD;AAClD,iDAOyB;AACzB,0DAA+F;AAgBxF,IAAM,4CAA4C,GAAlD,MAAM,4CACT,SAAQ,mCAAgB;IAejB,MAAM,CAAC,IAAI,CACd,KAAoD;QAEpD,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAA;IAC9B,CAAC;CACJ,CAAA;AArBY,oGAA4C;AAM9C;IAFN,IAAA,oBAAQ,GAAE;IACV,IAAA,qBAAS,GAAE;8BACU,kBAAM;mFAAA;AAIrB;IAFN,IAAA,oBAAQ,GAAE;IACV,IAAA,qBAAS,GAAE;8BACQ,kBAAM;iFAAA;AAInB;IAFN,IAAA,oBAAQ,GAAE;IACV,IAAA,qBAAS,EAAC,EAAE,UAAU,EAAE,CAAC,8BAAiB,EAAE,kCAAqB,CAAC,EAAE,CAAC;;sFACJ;uDAdzD,4CAA4C;IADxD,IAAA,gBAAI,EAAC,8CAA8C,CAAC;GACxC,4CAA4C,CAqBxD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from "./
|
|
1
|
+
export * from "./PeerSharedAttributeSucceededNotificationItem";
|
|
@@ -14,5 +14,5 @@ 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("./PeerSharedAttributeSucceededNotificationItem"), exports);
|
|
18
18
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/notifications/items/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/notifications/items/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,iFAA8D"}
|
package/lib-web/nmshd.content.js
CHANGED
|
@@ -7157,10 +7157,10 @@ const ts_serval_1 = __webpack_require__(/*! @js-soft/ts-serval */ "@js-soft/ts-s
|
|
|
7157
7157
|
const crypto_1 = __webpack_require__(/*! @nmshd/crypto */ "@nmshd/crypto");
|
|
7158
7158
|
const transport_1 = __webpack_require__(/*! @nmshd/transport */ "@nmshd/transport");
|
|
7159
7159
|
exports.buildInformation = {
|
|
7160
|
-
version: "2.
|
|
7161
|
-
build: "
|
|
7162
|
-
date: "2023-
|
|
7163
|
-
commit: "
|
|
7160
|
+
version: "2.8.0",
|
|
7161
|
+
build: "150",
|
|
7162
|
+
date: "2023-11-06T14:43:22+00:00",
|
|
7163
|
+
commit: "2d1c8421cb6e0aa36fabf231800817342886f9c1",
|
|
7164
7164
|
dependencies: {"@js-soft/logging-abstractions":"^1.0.0","@nmshd/iql":"^0.0.4","easy-tsnameof":"^3.0.6","mocha-param":"^2.0.1"},
|
|
7165
7165
|
libraries: {
|
|
7166
7166
|
serval: ts_serval_1.buildInformation,
|
|
@@ -7361,10 +7361,10 @@ __exportStar(__webpack_require__(/*! ./items */ "./dist/notifications/items/inde
|
|
|
7361
7361
|
|
|
7362
7362
|
/***/ }),
|
|
7363
7363
|
|
|
7364
|
-
/***/ "./dist/notifications/items/
|
|
7365
|
-
|
|
7366
|
-
!*** ./dist/notifications/items/
|
|
7367
|
-
|
|
7364
|
+
/***/ "./dist/notifications/items/PeerSharedAttributeSucceededNotificationItem.js":
|
|
7365
|
+
/*!**********************************************************************************!*\
|
|
7366
|
+
!*** ./dist/notifications/items/PeerSharedAttributeSucceededNotificationItem.js ***!
|
|
7367
|
+
\**********************************************************************************/
|
|
7368
7368
|
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
7369
7369
|
|
|
7370
7370
|
|
|
@@ -7378,36 +7378,36 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
7378
7378
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
7379
7379
|
};
|
|
7380
7380
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
7381
|
-
exports.
|
|
7381
|
+
exports.PeerSharedAttributeSucceededNotificationItem = void 0;
|
|
7382
7382
|
const ts_serval_1 = __webpack_require__(/*! @js-soft/ts-serval */ "@js-soft/ts-serval");
|
|
7383
7383
|
const transport_1 = __webpack_require__(/*! @nmshd/transport */ "@nmshd/transport");
|
|
7384
7384
|
const attributes_1 = __webpack_require__(/*! ../../attributes */ "./dist/attributes/index.js");
|
|
7385
7385
|
const NotificationItem_1 = __webpack_require__(/*! ../NotificationItem */ "./dist/notifications/NotificationItem.js");
|
|
7386
|
-
let
|
|
7386
|
+
let PeerSharedAttributeSucceededNotificationItem = class PeerSharedAttributeSucceededNotificationItem extends NotificationItem_1.NotificationItem {
|
|
7387
7387
|
static from(value) {
|
|
7388
7388
|
return this.fromAny(value);
|
|
7389
7389
|
}
|
|
7390
7390
|
};
|
|
7391
|
-
exports.
|
|
7391
|
+
exports.PeerSharedAttributeSucceededNotificationItem = PeerSharedAttributeSucceededNotificationItem;
|
|
7392
7392
|
__decorate([
|
|
7393
7393
|
(0, ts_serval_1.validate)(),
|
|
7394
7394
|
(0, ts_serval_1.serialize)(),
|
|
7395
7395
|
__metadata("design:type", transport_1.CoreId)
|
|
7396
|
-
],
|
|
7396
|
+
], PeerSharedAttributeSucceededNotificationItem.prototype, "predecessorId", void 0);
|
|
7397
7397
|
__decorate([
|
|
7398
7398
|
(0, ts_serval_1.validate)(),
|
|
7399
7399
|
(0, ts_serval_1.serialize)(),
|
|
7400
7400
|
__metadata("design:type", transport_1.CoreId)
|
|
7401
|
-
],
|
|
7401
|
+
], PeerSharedAttributeSucceededNotificationItem.prototype, "successorId", void 0);
|
|
7402
7402
|
__decorate([
|
|
7403
7403
|
(0, ts_serval_1.validate)(),
|
|
7404
7404
|
(0, ts_serval_1.serialize)({ unionTypes: [attributes_1.IdentityAttribute, attributes_1.RelationshipAttribute] }),
|
|
7405
7405
|
__metadata("design:type", Object)
|
|
7406
|
-
],
|
|
7407
|
-
exports.
|
|
7408
|
-
(0, ts_serval_1.type)("
|
|
7409
|
-
],
|
|
7410
|
-
//# sourceMappingURL=
|
|
7406
|
+
], PeerSharedAttributeSucceededNotificationItem.prototype, "successorContent", void 0);
|
|
7407
|
+
exports.PeerSharedAttributeSucceededNotificationItem = PeerSharedAttributeSucceededNotificationItem = __decorate([
|
|
7408
|
+
(0, ts_serval_1.type)("PeerSharedAttributeSucceededNotificationItem")
|
|
7409
|
+
], PeerSharedAttributeSucceededNotificationItem);
|
|
7410
|
+
//# sourceMappingURL=PeerSharedAttributeSucceededNotificationItem.js.map
|
|
7411
7411
|
|
|
7412
7412
|
/***/ }),
|
|
7413
7413
|
|
|
@@ -7433,7 +7433,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
7433
7433
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
7434
7434
|
};
|
|
7435
7435
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
7436
|
-
__exportStar(__webpack_require__(/*! ./
|
|
7436
|
+
__exportStar(__webpack_require__(/*! ./PeerSharedAttributeSucceededNotificationItem */ "./dist/notifications/items/PeerSharedAttributeSucceededNotificationItem.js"), exports);
|
|
7437
7437
|
//# sourceMappingURL=index.js.map
|
|
7438
7438
|
|
|
7439
7439
|
/***/ }),
|