@nmshd/content 2.0.0-beta.5 → 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/RequestItem.d.ts +5 -5
- package/dist/requests/RequestItem.js.map +1 -1
- package/dist/requests/items/index.d.ts +1 -2
- package/dist/requests/items/index.js +1 -2
- package/dist/requests/items/index.js.map +1 -1
- package/dist/requests/items/shareAttribute/ShareAttributeAcceptResponseItem.d.ts +12 -0
- package/dist/requests/items/{shareOwnIdentityAttribute/ShareOwnIdentityAttributeAcceptResponseItem.js → shareAttribute/ShareAttributeAcceptResponseItem.js} +8 -8
- package/dist/requests/items/shareAttribute/ShareAttributeAcceptResponseItem.js.map +1 -0
- package/dist/requests/items/shareAttribute/ShareAttributeRequestItem.d.ts +10 -8
- package/dist/requests/items/shareAttribute/ShareAttributeRequestItem.js +6 -5
- package/dist/requests/items/shareAttribute/ShareAttributeRequestItem.js.map +1 -1
- package/dist/requests/response/AcceptResponseItem.d.ts +4 -4
- package/lib-web/nmshd.content.js +32 -77
- package/lib-web/nmshd.content.min.js +1 -1
- package/package.json +1 -1
- package/dist/requests/items/shareOwnIdentityAttribute/ShareOwnIdentityAttributeAcceptResponseItem.d.ts +0 -12
- package/dist/requests/items/shareOwnIdentityAttribute/ShareOwnIdentityAttributeAcceptResponseItem.js.map +0 -1
- package/dist/requests/items/shareOwnIdentityAttribute/ShareOwnIdentityAttributeRequestItem.d.ts +0 -17
- package/dist/requests/items/shareOwnIdentityAttribute/ShareOwnIdentityAttributeRequestItem.js +0 -36
- package/dist/requests/items/shareOwnIdentityAttribute/ShareOwnIdentityAttributeRequestItem.js.map +0 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nmshd/content",
|
|
3
|
-
"version": "2.0.0-beta.
|
|
3
|
+
"version": "2.0.0-beta.8",
|
|
4
4
|
"description": "The content library defines data structures that can be transmitted using the transport library.",
|
|
5
5
|
"homepage": "https://enmeshed.eu",
|
|
6
6
|
"repository": "github:nmshd/cns-content",
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { CoreId, ICoreId } from "@nmshd/transport";
|
|
2
|
-
import { AcceptResponseItem, AcceptResponseItemJSON, IAcceptResponseItem } from "../../response";
|
|
3
|
-
export interface ShareOwnIdentityAttributeAcceptResponseItemJSON extends AcceptResponseItemJSON {
|
|
4
|
-
attributeId: string;
|
|
5
|
-
}
|
|
6
|
-
export interface IShareOwnIdentityAttributeAcceptResponseItem extends IAcceptResponseItem {
|
|
7
|
-
attributeId: ICoreId;
|
|
8
|
-
}
|
|
9
|
-
export declare class ShareOwnIdentityAttributeAcceptResponseItem extends AcceptResponseItem implements IShareOwnIdentityAttributeAcceptResponseItem {
|
|
10
|
-
attributeId: CoreId;
|
|
11
|
-
static from(value: IShareOwnIdentityAttributeAcceptResponseItem | ShareOwnIdentityAttributeAcceptResponseItemJSON): ShareOwnIdentityAttributeAcceptResponseItem;
|
|
12
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ShareOwnIdentityAttributeAcceptResponseItem.js","sourceRoot":"","sources":["../../../../src/requests/items/shareOwnIdentityAttribute/ShareOwnIdentityAttributeAcceptResponseItem.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAA8D;AAC9D,gDAAkD;AAClD,6CAAgG;AAWhG,IAAa,2CAA2C,GAAxD,MAAa,2CACT,SAAQ,6BAAkB;IAOnB,MAAM,CAAU,IAAI,CACvB,KAAqG;QAErG,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAA;IAC9B,CAAC;CACJ,CAAA;AAPG;IAFC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,GAAE;8BACS,kBAAM;gFAAA;AANjB,2CAA2C;IADvD,IAAA,gBAAI,EAAC,6CAA6C,CAAC;GACvC,2CAA2C,CAavD;AAbY,kGAA2C"}
|
package/dist/requests/items/shareOwnIdentityAttribute/ShareOwnIdentityAttributeRequestItem.d.ts
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { CoreId, ICoreId } from "@nmshd/transport";
|
|
2
|
-
import { RequestItemJSON } from "../..";
|
|
3
|
-
import { IdentityAttribute, IdentityAttributeJSON, IIdentityAttribute } from "../../../attributes";
|
|
4
|
-
import { IRequestItem, RequestItem } from "../../RequestItem";
|
|
5
|
-
export interface ShareOwnIdentityAttributeRequestItemJSON extends RequestItemJSON {
|
|
6
|
-
attribute: IdentityAttributeJSON;
|
|
7
|
-
sourceAttributeId: string;
|
|
8
|
-
}
|
|
9
|
-
export interface IShareOwnIdentityAttributeRequestItem extends IRequestItem {
|
|
10
|
-
attribute: IIdentityAttribute;
|
|
11
|
-
sourceAttributeId: ICoreId;
|
|
12
|
-
}
|
|
13
|
-
export declare class ShareOwnIdentityAttributeRequestItem extends RequestItem implements IShareOwnIdentityAttributeRequestItem {
|
|
14
|
-
attribute: IdentityAttribute;
|
|
15
|
-
sourceAttributeId: CoreId;
|
|
16
|
-
static from(value: IShareOwnIdentityAttributeRequestItem | ShareOwnIdentityAttributeRequestItemJSON): ShareOwnIdentityAttributeRequestItem;
|
|
17
|
-
}
|
package/dist/requests/items/shareOwnIdentityAttribute/ShareOwnIdentityAttributeRequestItem.js
DELETED
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
-
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;
|
|
6
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
-
};
|
|
8
|
-
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
-
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
-
};
|
|
11
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
exports.ShareOwnIdentityAttributeRequestItem = void 0;
|
|
13
|
-
const ts_serval_1 = require("@js-soft/ts-serval");
|
|
14
|
-
const transport_1 = require("@nmshd/transport");
|
|
15
|
-
const attributes_1 = require("../../../attributes");
|
|
16
|
-
const RequestItem_1 = require("../../RequestItem");
|
|
17
|
-
let ShareOwnIdentityAttributeRequestItem = class ShareOwnIdentityAttributeRequestItem extends RequestItem_1.RequestItem {
|
|
18
|
-
static from(value) {
|
|
19
|
-
return this.fromAny(value);
|
|
20
|
-
}
|
|
21
|
-
};
|
|
22
|
-
__decorate([
|
|
23
|
-
(0, ts_serval_1.serialize)(),
|
|
24
|
-
(0, ts_serval_1.validate)(),
|
|
25
|
-
__metadata("design:type", attributes_1.IdentityAttribute)
|
|
26
|
-
], ShareOwnIdentityAttributeRequestItem.prototype, "attribute", void 0);
|
|
27
|
-
__decorate([
|
|
28
|
-
(0, ts_serval_1.serialize)(),
|
|
29
|
-
(0, ts_serval_1.validate)(),
|
|
30
|
-
__metadata("design:type", transport_1.CoreId)
|
|
31
|
-
], ShareOwnIdentityAttributeRequestItem.prototype, "sourceAttributeId", void 0);
|
|
32
|
-
ShareOwnIdentityAttributeRequestItem = __decorate([
|
|
33
|
-
(0, ts_serval_1.type)("ShareOwnIdentityAttributeRequestItem")
|
|
34
|
-
], ShareOwnIdentityAttributeRequestItem);
|
|
35
|
-
exports.ShareOwnIdentityAttributeRequestItem = ShareOwnIdentityAttributeRequestItem;
|
|
36
|
-
//# sourceMappingURL=ShareOwnIdentityAttributeRequestItem.js.map
|
package/dist/requests/items/shareOwnIdentityAttribute/ShareOwnIdentityAttributeRequestItem.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ShareOwnIdentityAttributeRequestItem.js","sourceRoot":"","sources":["../../../../src/requests/items/shareOwnIdentityAttribute/ShareOwnIdentityAttributeRequestItem.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAA8D;AAC9D,gDAAkD;AAElD,oDAAkG;AAClG,mDAA6D;AAa7D,IAAa,oCAAoC,GAAjD,MAAa,oCAAqC,SAAQ,yBAAW;IAS1D,MAAM,CAAC,IAAI,CACd,KAAuF;QAEvF,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAA;IAC9B,CAAC;CACJ,CAAA;AAXG;IAFC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,GAAE;8BACO,8BAAiB;uEAAA;AAInC;IAFC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,GAAE;8BACe,kBAAM;+EAAA;AAPvB,oCAAoC;IADhD,IAAA,gBAAI,EAAC,sCAAsC,CAAC;GAChC,oCAAoC,CAchD;AAdY,oFAAoC"}
|