@nmshd/content 2.0.0-alpha.13 → 2.0.0-alpha.14
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/relationships/RelationshipTemplateBody.d.ts +6 -6
- package/dist/relationships/RelationshipTemplateBody.js +2 -2
- package/dist/relationships/RelationshipTemplateBody.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-alpha.
|
|
9
|
-
build: "
|
|
10
|
-
date: "2022-05-
|
|
11
|
-
commit: "
|
|
8
|
+
version: "2.0.0-alpha.14",
|
|
9
|
+
build: "43",
|
|
10
|
+
date: "2022-05-16T18:54:42+00:00",
|
|
11
|
+
commit: "8da41b0816c81b54b897c29fa03b0ba1dd303db6",
|
|
12
12
|
dependencies: {"@js-soft/logging-abstractions":"^1.0.0"},
|
|
13
13
|
libraries: {
|
|
14
14
|
serval: ts_serval_1.buildInformation,
|
|
@@ -4,19 +4,19 @@ import { IRequest, Request, RequestJSON } from "../requests/Request";
|
|
|
4
4
|
export interface RelationshipTemplateBodyJSON extends ContentJSON {
|
|
5
5
|
title?: string;
|
|
6
6
|
metadata?: object;
|
|
7
|
-
|
|
8
|
-
|
|
7
|
+
onNewRelationship: RequestJSON;
|
|
8
|
+
onExistingRelationship?: RequestJSON;
|
|
9
9
|
}
|
|
10
10
|
export interface IRelationshipTemplateBody extends ISerializable {
|
|
11
11
|
title?: string;
|
|
12
12
|
metadata?: object;
|
|
13
|
-
|
|
14
|
-
|
|
13
|
+
onNewRelationship: IRequest;
|
|
14
|
+
onExistingRelationship?: IRequest;
|
|
15
15
|
}
|
|
16
16
|
export declare class RelationshipTemplateBody extends Serializable implements IRelationshipTemplateBody {
|
|
17
17
|
title?: string;
|
|
18
18
|
metadata?: object;
|
|
19
|
-
|
|
20
|
-
|
|
19
|
+
onNewRelationship: Request;
|
|
20
|
+
onExistingRelationship?: Request;
|
|
21
21
|
static from(value: IRelationshipTemplateBody | RelationshipTemplateBodyJSON): RelationshipTemplateBody;
|
|
22
22
|
}
|
|
@@ -31,12 +31,12 @@ __decorate([
|
|
|
31
31
|
(0, ts_serval_1.serialize)(),
|
|
32
32
|
(0, ts_serval_1.validate)(),
|
|
33
33
|
__metadata("design:type", Request_1.Request)
|
|
34
|
-
], RelationshipTemplateBody.prototype, "
|
|
34
|
+
], RelationshipTemplateBody.prototype, "onNewRelationship", void 0);
|
|
35
35
|
__decorate([
|
|
36
36
|
(0, ts_serval_1.serialize)(),
|
|
37
37
|
(0, ts_serval_1.validate)({ nullable: true }),
|
|
38
38
|
__metadata("design:type", Request_1.Request)
|
|
39
|
-
], RelationshipTemplateBody.prototype, "
|
|
39
|
+
], RelationshipTemplateBody.prototype, "onExistingRelationship", void 0);
|
|
40
40
|
RelationshipTemplateBody = __decorate([
|
|
41
41
|
(0, ts_serval_1.type)("RelationshipTemplateBody")
|
|
42
42
|
], RelationshipTemplateBody);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RelationshipTemplateBody.js","sourceRoot":"","sources":["../../src/relationships/RelationshipTemplateBody.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAA2F;AAE3F,iDAAoE;AAiBpE,IAAa,wBAAwB,GAArC,MAAa,wBAAyB,SAAQ,wBAAY;IAiB/C,MAAM,CAAC,IAAI,CAAC,KAA+D;QAC9E,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;;uDACR;AAIrB;IAFC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;0DACL;AAIxB;IAFC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,GAAE;
|
|
1
|
+
{"version":3,"file":"RelationshipTemplateBody.js","sourceRoot":"","sources":["../../src/relationships/RelationshipTemplateBody.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAA2F;AAE3F,iDAAoE;AAiBpE,IAAa,wBAAwB,GAArC,MAAa,wBAAyB,SAAQ,wBAAY;IAiB/C,MAAM,CAAC,IAAI,CAAC,KAA+D;QAC9E,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;;uDACR;AAIrB;IAFC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;0DACL;AAIxB;IAFC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,GAAE;8BACe,iBAAO;mEAAA;AAIjC;IAFC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;8BACG,iBAAO;wEAAA;AAf9B,wBAAwB;IADpC,IAAA,gBAAI,EAAC,0BAA0B,CAAC;GACpB,wBAAwB,CAoBpC;AApBY,4DAAwB"}
|
package/lib-web/nmshd.content.js
CHANGED
|
@@ -4130,10 +4130,10 @@ const ts_serval_1 = __webpack_require__(/*! @js-soft/ts-serval */ "@js-soft/ts-s
|
|
|
4130
4130
|
const crypto_1 = __webpack_require__(/*! @nmshd/crypto */ "@nmshd/crypto");
|
|
4131
4131
|
const transport_1 = __webpack_require__(/*! @nmshd/transport */ "@nmshd/transport");
|
|
4132
4132
|
exports.buildInformation = {
|
|
4133
|
-
version: "2.0.0-alpha.
|
|
4134
|
-
build: "
|
|
4135
|
-
date: "2022-05-
|
|
4136
|
-
commit: "
|
|
4133
|
+
version: "2.0.0-alpha.14",
|
|
4134
|
+
build: "43",
|
|
4135
|
+
date: "2022-05-16T18:54:42+00:00",
|
|
4136
|
+
commit: "8da41b0816c81b54b897c29fa03b0ba1dd303db6",
|
|
4137
4137
|
dependencies: {"@js-soft/logging-abstractions":"^1.0.0"},
|
|
4138
4138
|
libraries: {
|
|
4139
4139
|
serval: ts_serval_1.buildInformation,
|
|
@@ -4814,12 +4814,12 @@ __decorate([
|
|
|
4814
4814
|
(0, ts_serval_1.serialize)(),
|
|
4815
4815
|
(0, ts_serval_1.validate)(),
|
|
4816
4816
|
__metadata("design:type", Request_1.Request)
|
|
4817
|
-
], RelationshipTemplateBody.prototype, "
|
|
4817
|
+
], RelationshipTemplateBody.prototype, "onNewRelationship", void 0);
|
|
4818
4818
|
__decorate([
|
|
4819
4819
|
(0, ts_serval_1.serialize)(),
|
|
4820
4820
|
(0, ts_serval_1.validate)({ nullable: true }),
|
|
4821
4821
|
__metadata("design:type", Request_1.Request)
|
|
4822
|
-
], RelationshipTemplateBody.prototype, "
|
|
4822
|
+
], RelationshipTemplateBody.prototype, "onExistingRelationship", void 0);
|
|
4823
4823
|
RelationshipTemplateBody = __decorate([
|
|
4824
4824
|
(0, ts_serval_1.type)("RelationshipTemplateBody")
|
|
4825
4825
|
], RelationshipTemplateBody);
|