@nmshd/consumption 3.6.3 → 3.6.4
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/modules/attributes/local/AttributeSuccessorParams.d.ts +11 -9
- package/dist/modules/attributes/local/AttributeSuccessorParams.js +8 -6
- package/dist/modules/attributes/local/AttributeSuccessorParams.js.map +1 -1
- package/lib-web/nmshd.consumption.js +12 -10
- package/lib-web/nmshd.consumption.js.map +1 -1
- package/lib-web/nmshd.consumption.min.js +1 -1
- package/lib-web/nmshd.consumption.min.js.map +1 -1
- package/package.json +1 -1
package/dist/buildInformation.js
CHANGED
|
@@ -6,10 +6,10 @@ const content_1 = require("@nmshd/content");
|
|
|
6
6
|
const crypto_1 = require("@nmshd/crypto");
|
|
7
7
|
const transport_1 = require("@nmshd/transport");
|
|
8
8
|
exports.buildInformation = {
|
|
9
|
-
version: "3.6.
|
|
10
|
-
build: "
|
|
11
|
-
date: "2023-11-
|
|
12
|
-
commit: "
|
|
9
|
+
version: "3.6.4",
|
|
10
|
+
build: "118",
|
|
11
|
+
date: "2023-11-15T07:25:15+00:00",
|
|
12
|
+
commit: "cb9f401e1770fbb33b804826b93939826d831738",
|
|
13
13
|
dependencies: {"@js-soft/docdb-querytranslator":"^1.1.1","@nmshd/iql":"^0.0.4","ts-simple-nameof":"^1.3.1"},
|
|
14
14
|
libraries: {
|
|
15
15
|
transport: transport_1.buildInformation,
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import { Serializable } from "@js-soft/ts-serval";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import { IdentityAttribute, RelationshipAttribute } from "@nmshd/content";
|
|
3
|
+
import { CoreDate, CoreId, ICoreDate, ICoreId } from "@nmshd/transport";
|
|
4
|
+
import { ILocalAttribute, LocalAttributeJSON } from "./LocalAttribute";
|
|
5
|
+
import { LocalAttributeShareInfo } from "./LocalAttributeShareInfo";
|
|
4
6
|
export type IAttributeSuccessorParams = Omit<ILocalAttribute, "id" | "createdAt"> & {
|
|
5
7
|
id?: ICoreId;
|
|
6
8
|
createdAt?: ICoreDate;
|
|
@@ -10,12 +12,12 @@ export type AttributeSuccessorParamsJSON = Omit<LocalAttributeJSON, "id" | "crea
|
|
|
10
12
|
createdAt?: string;
|
|
11
13
|
};
|
|
12
14
|
export declare class AttributeSuccessorParams extends Serializable implements IAttributeSuccessorParams {
|
|
13
|
-
id?:
|
|
14
|
-
content:
|
|
15
|
-
createdAt?:
|
|
16
|
-
succeeds
|
|
17
|
-
succeededBy
|
|
18
|
-
shareInfo
|
|
19
|
-
parentId
|
|
15
|
+
id?: CoreId;
|
|
16
|
+
content: IdentityAttribute | RelationshipAttribute;
|
|
17
|
+
createdAt?: CoreDate;
|
|
18
|
+
succeeds?: CoreId;
|
|
19
|
+
succeededBy?: CoreId;
|
|
20
|
+
shareInfo?: LocalAttributeShareInfo;
|
|
21
|
+
parentId?: CoreId;
|
|
20
22
|
static from(value: IAttributeSuccessorParams | AttributeSuccessorParamsJSON): AttributeSuccessorParams;
|
|
21
23
|
}
|
|
@@ -12,6 +12,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
12
12
|
exports.AttributeSuccessorParams = void 0;
|
|
13
13
|
const ts_serval_1 = require("@js-soft/ts-serval");
|
|
14
14
|
const content_1 = require("@nmshd/content");
|
|
15
|
+
const transport_1 = require("@nmshd/transport");
|
|
16
|
+
const LocalAttributeShareInfo_1 = require("./LocalAttributeShareInfo");
|
|
15
17
|
let AttributeSuccessorParams = class AttributeSuccessorParams extends ts_serval_1.Serializable {
|
|
16
18
|
static from(value) {
|
|
17
19
|
return this.fromAny(value);
|
|
@@ -21,7 +23,7 @@ exports.AttributeSuccessorParams = AttributeSuccessorParams;
|
|
|
21
23
|
__decorate([
|
|
22
24
|
(0, ts_serval_1.validate)({ nullable: true }),
|
|
23
25
|
(0, ts_serval_1.serialize)(),
|
|
24
|
-
__metadata("design:type",
|
|
26
|
+
__metadata("design:type", transport_1.CoreId)
|
|
25
27
|
], AttributeSuccessorParams.prototype, "id", void 0);
|
|
26
28
|
__decorate([
|
|
27
29
|
(0, ts_serval_1.validate)(),
|
|
@@ -31,27 +33,27 @@ __decorate([
|
|
|
31
33
|
__decorate([
|
|
32
34
|
(0, ts_serval_1.validate)({ nullable: true }),
|
|
33
35
|
(0, ts_serval_1.serialize)(),
|
|
34
|
-
__metadata("design:type",
|
|
36
|
+
__metadata("design:type", transport_1.CoreDate)
|
|
35
37
|
], AttributeSuccessorParams.prototype, "createdAt", void 0);
|
|
36
38
|
__decorate([
|
|
37
39
|
(0, ts_serval_1.validate)({ nullable: true }),
|
|
38
40
|
(0, ts_serval_1.serialize)(),
|
|
39
|
-
__metadata("design:type",
|
|
41
|
+
__metadata("design:type", transport_1.CoreId)
|
|
40
42
|
], AttributeSuccessorParams.prototype, "succeeds", void 0);
|
|
41
43
|
__decorate([
|
|
42
44
|
(0, ts_serval_1.validate)({ nullable: true }),
|
|
43
45
|
(0, ts_serval_1.serialize)(),
|
|
44
|
-
__metadata("design:type",
|
|
46
|
+
__metadata("design:type", transport_1.CoreId)
|
|
45
47
|
], AttributeSuccessorParams.prototype, "succeededBy", void 0);
|
|
46
48
|
__decorate([
|
|
47
49
|
(0, ts_serval_1.validate)({ nullable: true }),
|
|
48
50
|
(0, ts_serval_1.serialize)(),
|
|
49
|
-
__metadata("design:type",
|
|
51
|
+
__metadata("design:type", LocalAttributeShareInfo_1.LocalAttributeShareInfo)
|
|
50
52
|
], AttributeSuccessorParams.prototype, "shareInfo", void 0);
|
|
51
53
|
__decorate([
|
|
52
54
|
(0, ts_serval_1.validate)({ nullable: true }),
|
|
53
55
|
(0, ts_serval_1.serialize)(),
|
|
54
|
-
__metadata("design:type",
|
|
56
|
+
__metadata("design:type", transport_1.CoreId)
|
|
55
57
|
], AttributeSuccessorParams.prototype, "parentId", void 0);
|
|
56
58
|
exports.AttributeSuccessorParams = AttributeSuccessorParams = __decorate([
|
|
57
59
|
(0, ts_serval_1.type)("AttributeSuccessorParams")
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AttributeSuccessorParams.js","sourceRoot":"","sources":["../../../../src/modules/attributes/local/AttributeSuccessorParams.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAA4E;AAC5E,4CAAyE;
|
|
1
|
+
{"version":3,"file":"AttributeSuccessorParams.js","sourceRoot":"","sources":["../../../../src/modules/attributes/local/AttributeSuccessorParams.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAA4E;AAC5E,4CAAyE;AACzE,gDAAuE;AAEvE,uEAAmE;AAa5D,IAAM,wBAAwB,GAA9B,MAAM,wBAAyB,SAAQ,wBAAY;IA6B/C,MAAM,CAAC,IAAI,CAAC,KAA+D;QAC9E,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAA;IAC9B,CAAC;CACJ,CAAA;AAhCY,4DAAwB;AAG1B;IAFN,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;IAC5B,IAAA,qBAAS,GAAE;8BACA,kBAAM;oDAAA;AAIX;IAFN,IAAA,oBAAQ,GAAE;IACV,IAAA,qBAAS,EAAC,EAAE,UAAU,EAAE,CAAC,2BAAiB,EAAE,+BAAqB,CAAC,EAAE,CAAC;;yDACb;AAIlD;IAFN,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;IAC5B,IAAA,qBAAS,GAAE;8BACO,oBAAQ;2DAAA;AAIpB;IAFN,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;IAC5B,IAAA,qBAAS,GAAE;8BACM,kBAAM;0DAAA;AAIjB;IAFN,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;IAC5B,IAAA,qBAAS,GAAE;8BACS,kBAAM;6DAAA;AAIpB;IAFN,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;IAC5B,IAAA,qBAAS,GAAE;8BACO,iDAAuB;2DAAA;AAInC;IAFN,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;IAC5B,IAAA,qBAAS,GAAE;8BACM,kBAAM;0DAAA;mCA3Bf,wBAAwB;IADpC,IAAA,gBAAI,EAAC,0BAA0B,CAAC;GACpB,wBAAwB,CAgCpC"}
|
|
@@ -17,10 +17,10 @@ const content_1 = __webpack_require__(/*! @nmshd/content */ "@nmshd/content");
|
|
|
17
17
|
const crypto_1 = __webpack_require__(/*! @nmshd/crypto */ "@nmshd/crypto");
|
|
18
18
|
const transport_1 = __webpack_require__(/*! @nmshd/transport */ "@nmshd/transport");
|
|
19
19
|
exports.buildInformation = {
|
|
20
|
-
version: "3.6.
|
|
21
|
-
build: "
|
|
22
|
-
date: "2023-11-
|
|
23
|
-
commit: "
|
|
20
|
+
version: "3.6.4",
|
|
21
|
+
build: "118",
|
|
22
|
+
date: "2023-11-15T07:25:15+00:00",
|
|
23
|
+
commit: "cb9f401e1770fbb33b804826b93939826d831738",
|
|
24
24
|
dependencies: {"@js-soft/docdb-querytranslator":"^1.1.1","@nmshd/iql":"^0.0.4","ts-simple-nameof":"^1.3.1"},
|
|
25
25
|
libraries: {
|
|
26
26
|
transport: transport_1.buildInformation,
|
|
@@ -1519,6 +1519,8 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
|
1519
1519
|
exports.AttributeSuccessorParams = void 0;
|
|
1520
1520
|
const ts_serval_1 = __webpack_require__(/*! @js-soft/ts-serval */ "@js-soft/ts-serval");
|
|
1521
1521
|
const content_1 = __webpack_require__(/*! @nmshd/content */ "@nmshd/content");
|
|
1522
|
+
const transport_1 = __webpack_require__(/*! @nmshd/transport */ "@nmshd/transport");
|
|
1523
|
+
const LocalAttributeShareInfo_1 = __webpack_require__(/*! ./LocalAttributeShareInfo */ "./dist/modules/attributes/local/LocalAttributeShareInfo.js");
|
|
1522
1524
|
let AttributeSuccessorParams = class AttributeSuccessorParams extends ts_serval_1.Serializable {
|
|
1523
1525
|
static from(value) {
|
|
1524
1526
|
return this.fromAny(value);
|
|
@@ -1528,7 +1530,7 @@ exports.AttributeSuccessorParams = AttributeSuccessorParams;
|
|
|
1528
1530
|
__decorate([
|
|
1529
1531
|
(0, ts_serval_1.validate)({ nullable: true }),
|
|
1530
1532
|
(0, ts_serval_1.serialize)(),
|
|
1531
|
-
__metadata("design:type",
|
|
1533
|
+
__metadata("design:type", transport_1.CoreId)
|
|
1532
1534
|
], AttributeSuccessorParams.prototype, "id", void 0);
|
|
1533
1535
|
__decorate([
|
|
1534
1536
|
(0, ts_serval_1.validate)(),
|
|
@@ -1538,27 +1540,27 @@ __decorate([
|
|
|
1538
1540
|
__decorate([
|
|
1539
1541
|
(0, ts_serval_1.validate)({ nullable: true }),
|
|
1540
1542
|
(0, ts_serval_1.serialize)(),
|
|
1541
|
-
__metadata("design:type",
|
|
1543
|
+
__metadata("design:type", transport_1.CoreDate)
|
|
1542
1544
|
], AttributeSuccessorParams.prototype, "createdAt", void 0);
|
|
1543
1545
|
__decorate([
|
|
1544
1546
|
(0, ts_serval_1.validate)({ nullable: true }),
|
|
1545
1547
|
(0, ts_serval_1.serialize)(),
|
|
1546
|
-
__metadata("design:type",
|
|
1548
|
+
__metadata("design:type", transport_1.CoreId)
|
|
1547
1549
|
], AttributeSuccessorParams.prototype, "succeeds", void 0);
|
|
1548
1550
|
__decorate([
|
|
1549
1551
|
(0, ts_serval_1.validate)({ nullable: true }),
|
|
1550
1552
|
(0, ts_serval_1.serialize)(),
|
|
1551
|
-
__metadata("design:type",
|
|
1553
|
+
__metadata("design:type", transport_1.CoreId)
|
|
1552
1554
|
], AttributeSuccessorParams.prototype, "succeededBy", void 0);
|
|
1553
1555
|
__decorate([
|
|
1554
1556
|
(0, ts_serval_1.validate)({ nullable: true }),
|
|
1555
1557
|
(0, ts_serval_1.serialize)(),
|
|
1556
|
-
__metadata("design:type",
|
|
1558
|
+
__metadata("design:type", LocalAttributeShareInfo_1.LocalAttributeShareInfo)
|
|
1557
1559
|
], AttributeSuccessorParams.prototype, "shareInfo", void 0);
|
|
1558
1560
|
__decorate([
|
|
1559
1561
|
(0, ts_serval_1.validate)({ nullable: true }),
|
|
1560
1562
|
(0, ts_serval_1.serialize)(),
|
|
1561
|
-
__metadata("design:type",
|
|
1563
|
+
__metadata("design:type", transport_1.CoreId)
|
|
1562
1564
|
], AttributeSuccessorParams.prototype, "parentId", void 0);
|
|
1563
1565
|
exports.AttributeSuccessorParams = AttributeSuccessorParams = __decorate([
|
|
1564
1566
|
(0, ts_serval_1.type)("AttributeSuccessorParams")
|