@nmshd/content 2.0.0-beta.5 → 2.0.0-beta.6
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/RequestItem.d.ts +4 -4
- package/dist/requests/RequestItem.js.map +1 -1
- package/dist/requests/items/index.d.ts +0 -1
- package/dist/requests/items/index.js +0 -1
- package/dist/requests/items/index.js.map +1 -1
- package/lib-web/nmshd.content.js +4 -49
- package/lib-web/nmshd.content.min.js +1 -1
- package/package.json +1 -1
- package/dist/requests/items/shareAttribute/ShareAttributeRequestItem.d.ts +0 -15
- package/dist/requests/items/shareAttribute/ShareAttributeRequestItem.js +0 -35
- package/dist/requests/items/shareAttribute/ShareAttributeRequestItem.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.0.0-beta.
|
|
9
|
-
build: "
|
|
10
|
-
date: "2022-08-
|
|
11
|
-
commit: "
|
|
8
|
+
version: "2.0.0-beta.6",
|
|
9
|
+
build: "83",
|
|
10
|
+
date: "2022-08-05T05:36:33+00:00",
|
|
11
|
+
commit: "affabd915b7096e87557486d4a73a66ee428b8f3",
|
|
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,6 +1,6 @@
|
|
|
1
1
|
import { ISerializable, Serializable } from "@js-soft/ts-serval";
|
|
2
2
|
import { ContentJSON } from "../ContentJSON";
|
|
3
|
-
import { ConsentRequestItem, ConsentRequestItemJSON, IConsentRequestItem, IProposeAttributeRequestItem, IReadAttributeRequestItem,
|
|
3
|
+
import { ConsentRequestItem, ConsentRequestItemJSON, IConsentRequestItem, IProposeAttributeRequestItem, IReadAttributeRequestItem, ProposeAttributeRequestItem, ProposeAttributeRequestItemJSON, ReadAttributeRequestItem, ReadAttributeRequestItemJSON } from "./items";
|
|
4
4
|
import { CreateOwnRelationshipAttributeRequestItem, CreateOwnRelationshipAttributeRequestItemJSON, ICreateOwnRelationshipAttributeRequestItem } from "./items/createOwnRelationshipAttribute/CreateOwnRelationshipAttributeRequestItem";
|
|
5
5
|
import { IShareOwnIdentityAttributeRequestItem, ShareOwnIdentityAttributeRequestItem, ShareOwnIdentityAttributeRequestItemJSON } from "./items/shareOwnIdentityAttribute/ShareOwnIdentityAttributeRequestItem";
|
|
6
6
|
export interface RequestItemJSON extends ContentJSON {
|
|
@@ -30,7 +30,7 @@ export interface RequestItemJSON extends ContentJSON {
|
|
|
30
30
|
*/
|
|
31
31
|
mustBeAccepted: boolean;
|
|
32
32
|
}
|
|
33
|
-
export declare type RequestItemJSONDerivations = RequestItemJSON | CreateOwnRelationshipAttributeRequestItemJSON | ShareOwnIdentityAttributeRequestItemJSON | ProposeAttributeRequestItemJSON | ReadAttributeRequestItemJSON |
|
|
33
|
+
export declare type RequestItemJSONDerivations = RequestItemJSON | CreateOwnRelationshipAttributeRequestItemJSON | ShareOwnIdentityAttributeRequestItemJSON | ProposeAttributeRequestItemJSON | ReadAttributeRequestItemJSON | ConsentRequestItemJSON;
|
|
34
34
|
export interface IRequestItem extends ISerializable {
|
|
35
35
|
/**
|
|
36
36
|
* The human-readable title of this item.
|
|
@@ -58,7 +58,7 @@ export interface IRequestItem extends ISerializable {
|
|
|
58
58
|
*/
|
|
59
59
|
mustBeAccepted: boolean;
|
|
60
60
|
}
|
|
61
|
-
export declare type IRequestItemDerivations = IRequestItem | ICreateOwnRelationshipAttributeRequestItem | IShareOwnIdentityAttributeRequestItem | IProposeAttributeRequestItem | IReadAttributeRequestItem |
|
|
61
|
+
export declare type IRequestItemDerivations = IRequestItem | ICreateOwnRelationshipAttributeRequestItem | IShareOwnIdentityAttributeRequestItem | IProposeAttributeRequestItem | IReadAttributeRequestItem | IConsentRequestItem;
|
|
62
62
|
export declare abstract class RequestItem extends Serializable {
|
|
63
63
|
title?: string;
|
|
64
64
|
description?: string;
|
|
@@ -66,4 +66,4 @@ export declare abstract class RequestItem extends Serializable {
|
|
|
66
66
|
metadata?: object;
|
|
67
67
|
toJSON(): RequestItemJSON;
|
|
68
68
|
}
|
|
69
|
-
export declare type RequestItemDerivations = RequestItem | CreateOwnRelationshipAttributeRequestItem | ShareOwnIdentityAttributeRequestItem | ProposeAttributeRequestItem | ReadAttributeRequestItem |
|
|
69
|
+
export declare type RequestItemDerivations = RequestItem | CreateOwnRelationshipAttributeRequestItem | ShareOwnIdentityAttributeRequestItem | ProposeAttributeRequestItem | ReadAttributeRequestItem | ConsentRequestItem;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RequestItem.js","sourceRoot":"","sources":["../../src/requests/RequestItem.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAAqF;
|
|
1
|
+
{"version":3,"file":"RequestItem.js","sourceRoot":"","sources":["../../src/requests/RequestItem.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAAqF;AAsGrF,MAAsB,WAAY,SAAQ,wBAAY;IAiBlC,MAAM;QAClB,OAAO,KAAK,CAAC,MAAM,EAAqB,CAAA;IAC5C,CAAC;CACJ;AAjBG;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,kCAoBC"}
|
|
@@ -5,6 +5,5 @@ export * from "./proposeAttribute/ProposeAttributeAcceptResponseItem";
|
|
|
5
5
|
export * from "./proposeAttribute/ProposeAttributeRequestItem";
|
|
6
6
|
export * from "./readAttribute/ReadAttributeAcceptResponseItem";
|
|
7
7
|
export * from "./readAttribute/ReadAttributeRequestItem";
|
|
8
|
-
export * from "./shareAttribute/ShareAttributeRequestItem";
|
|
9
8
|
export * from "./shareOwnIdentityAttribute/ShareOwnIdentityAttributeAcceptResponseItem";
|
|
10
9
|
export * from "./shareOwnIdentityAttribute/ShareOwnIdentityAttributeRequestItem";
|
|
@@ -21,7 +21,6 @@ __exportStar(require("./proposeAttribute/ProposeAttributeAcceptResponseItem"), e
|
|
|
21
21
|
__exportStar(require("./proposeAttribute/ProposeAttributeRequestItem"), exports);
|
|
22
22
|
__exportStar(require("./readAttribute/ReadAttributeAcceptResponseItem"), exports);
|
|
23
23
|
__exportStar(require("./readAttribute/ReadAttributeRequestItem"), exports);
|
|
24
|
-
__exportStar(require("./shareAttribute/ShareAttributeRequestItem"), exports);
|
|
25
24
|
__exportStar(require("./shareOwnIdentityAttribute/ShareOwnIdentityAttributeAcceptResponseItem"), exports);
|
|
26
25
|
__exportStar(require("./shareOwnIdentityAttribute/ShareOwnIdentityAttributeRequestItem"), exports);
|
|
27
26
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/requests/items/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,+DAA4C;AAC5C,oHAAiG;AACjG,6GAA0F;AAC1F,wFAAqE;AACrE,iFAA8D;AAC9D,kFAA+D;AAC/D,2EAAwD;AACxD,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/requests/items/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,+DAA4C;AAC5C,oHAAiG;AACjG,6GAA0F;AAC1F,wFAAqE;AACrE,iFAA8D;AAC9D,kFAA+D;AAC/D,2EAAwD;AACxD,0GAAuF;AACvF,mGAAgF"}
|
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.6",
|
|
5491
|
+
build: "83",
|
|
5492
|
+
date: "2022-08-05T05:36:33+00:00",
|
|
5493
|
+
commit: "affabd915b7096e87557486d4a73a66ee428b8f3",
|
|
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,
|
|
@@ -6583,7 +6583,6 @@ __exportStar(__webpack_require__(/*! ./proposeAttribute/ProposeAttributeAcceptRe
|
|
|
6583
6583
|
__exportStar(__webpack_require__(/*! ./proposeAttribute/ProposeAttributeRequestItem */ "./dist/requests/items/proposeAttribute/ProposeAttributeRequestItem.js"), exports);
|
|
6584
6584
|
__exportStar(__webpack_require__(/*! ./readAttribute/ReadAttributeAcceptResponseItem */ "./dist/requests/items/readAttribute/ReadAttributeAcceptResponseItem.js"), exports);
|
|
6585
6585
|
__exportStar(__webpack_require__(/*! ./readAttribute/ReadAttributeRequestItem */ "./dist/requests/items/readAttribute/ReadAttributeRequestItem.js"), exports);
|
|
6586
|
-
__exportStar(__webpack_require__(/*! ./shareAttribute/ShareAttributeRequestItem */ "./dist/requests/items/shareAttribute/ShareAttributeRequestItem.js"), exports);
|
|
6587
6586
|
__exportStar(__webpack_require__(/*! ./shareOwnIdentityAttribute/ShareOwnIdentityAttributeAcceptResponseItem */ "./dist/requests/items/shareOwnIdentityAttribute/ShareOwnIdentityAttributeAcceptResponseItem.js"), exports);
|
|
6588
6587
|
__exportStar(__webpack_require__(/*! ./shareOwnIdentityAttribute/ShareOwnIdentityAttributeRequestItem */ "./dist/requests/items/shareOwnIdentityAttribute/ShareOwnIdentityAttributeRequestItem.js"), exports);
|
|
6589
6588
|
//# sourceMappingURL=index.js.map
|
|
@@ -6781,50 +6780,6 @@ exports.ReadAttributeRequestItem = ReadAttributeRequestItem;
|
|
|
6781
6780
|
|
|
6782
6781
|
/***/ }),
|
|
6783
6782
|
|
|
6784
|
-
/***/ "./dist/requests/items/shareAttribute/ShareAttributeRequestItem.js":
|
|
6785
|
-
/*!*************************************************************************!*\
|
|
6786
|
-
!*** ./dist/requests/items/shareAttribute/ShareAttributeRequestItem.js ***!
|
|
6787
|
-
\*************************************************************************/
|
|
6788
|
-
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
6789
|
-
|
|
6790
|
-
|
|
6791
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
6792
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
6793
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
6794
|
-
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;
|
|
6795
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6796
|
-
};
|
|
6797
|
-
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
6798
|
-
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
6799
|
-
};
|
|
6800
|
-
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
6801
|
-
exports.ShareAttributeRequestItem = void 0;
|
|
6802
|
-
const ts_serval_1 = __webpack_require__(/*! @js-soft/ts-serval */ "@js-soft/ts-serval");
|
|
6803
|
-
const transport_1 = __webpack_require__(/*! @nmshd/transport */ "@nmshd/transport");
|
|
6804
|
-
const RequestItem_1 = __webpack_require__(/*! ../../RequestItem */ "./dist/requests/RequestItem.js");
|
|
6805
|
-
let ShareAttributeRequestItem = class ShareAttributeRequestItem extends RequestItem_1.RequestItem {
|
|
6806
|
-
static from(value) {
|
|
6807
|
-
return this.fromAny(value);
|
|
6808
|
-
}
|
|
6809
|
-
};
|
|
6810
|
-
__decorate([
|
|
6811
|
-
(0, ts_serval_1.serialize)(),
|
|
6812
|
-
(0, ts_serval_1.validate)(),
|
|
6813
|
-
__metadata("design:type", transport_1.CoreId)
|
|
6814
|
-
], ShareAttributeRequestItem.prototype, "attributeId", void 0);
|
|
6815
|
-
__decorate([
|
|
6816
|
-
(0, ts_serval_1.serialize)(),
|
|
6817
|
-
(0, ts_serval_1.validate)(),
|
|
6818
|
-
__metadata("design:type", transport_1.CoreAddress)
|
|
6819
|
-
], ShareAttributeRequestItem.prototype, "shareWith", void 0);
|
|
6820
|
-
ShareAttributeRequestItem = __decorate([
|
|
6821
|
-
(0, ts_serval_1.type)("ShareAttributeRequestItem")
|
|
6822
|
-
], ShareAttributeRequestItem);
|
|
6823
|
-
exports.ShareAttributeRequestItem = ShareAttributeRequestItem;
|
|
6824
|
-
//# sourceMappingURL=ShareAttributeRequestItem.js.map
|
|
6825
|
-
|
|
6826
|
-
/***/ }),
|
|
6827
|
-
|
|
6828
6783
|
/***/ "./dist/requests/items/shareOwnIdentityAttribute/ShareOwnIdentityAttributeAcceptResponseItem.js":
|
|
6829
6784
|
/*!******************************************************************************************************!*\
|
|
6830
6785
|
!*** ./dist/requests/items/shareOwnIdentityAttribute/ShareOwnIdentityAttributeAcceptResponseItem.js ***!
|