@nmshd/content 2.0.0-alpha.41 → 2.0.0-alpha.42
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/items/createAttribute/CreateAttributeRequestItem.d.ts +4 -0
- package/dist/requests/items/createAttribute/CreateAttributeRequestItem.js +6 -0
- package/dist/requests/items/createAttribute/CreateAttributeRequestItem.js.map +1 -1
- package/lib-web/nmshd.content.js +10 -4
- 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-07-
|
|
11
|
-
commit: "
|
|
8
|
+
version: "2.0.0-alpha.42",
|
|
9
|
+
build: "74",
|
|
10
|
+
date: "2022-07-07T07:20:01+00:00",
|
|
11
|
+
commit: "127c4bb56f24442176f07029b20043f2b6fbdca6",
|
|
12
12
|
dependencies: {"@js-soft/logging-abstractions":"^1.0.0"},
|
|
13
13
|
libraries: {
|
|
14
14
|
serval: ts_serval_1.buildInformation,
|
|
@@ -1,13 +1,17 @@
|
|
|
1
|
+
import { CoreId, ICoreId } from "@nmshd/transport";
|
|
1
2
|
import { RequestItemJSON } from "../..";
|
|
2
3
|
import { IdentityAttribute, IdentityAttributeJSON, IIdentityAttribute, IRelationshipAttribute, RelationshipAttribute, RelationshipAttributeJSON } from "../../../attributes";
|
|
3
4
|
import { IRequestItem, RequestItem } from "../../RequestItem";
|
|
4
5
|
export interface CreateAttributeRequestItemJSON extends RequestItemJSON {
|
|
5
6
|
attribute: IdentityAttributeJSON | RelationshipAttributeJSON;
|
|
7
|
+
sourceAttributeId?: string;
|
|
6
8
|
}
|
|
7
9
|
export interface ICreateAttributeRequestItem extends IRequestItem {
|
|
8
10
|
attribute: IIdentityAttribute | IRelationshipAttribute;
|
|
11
|
+
sourceAttributeId?: ICoreId;
|
|
9
12
|
}
|
|
10
13
|
export declare class CreateAttributeRequestItem extends RequestItem implements ICreateAttributeRequestItem {
|
|
11
14
|
attribute: IdentityAttribute | RelationshipAttribute;
|
|
15
|
+
sourceAttributeId?: CoreId;
|
|
12
16
|
static from(value: ICreateAttributeRequestItem | CreateAttributeRequestItemJSON): CreateAttributeRequestItem;
|
|
13
17
|
}
|
|
@@ -11,6 +11,7 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
12
|
exports.CreateAttributeRequestItem = void 0;
|
|
13
13
|
const ts_serval_1 = require("@js-soft/ts-serval");
|
|
14
|
+
const transport_1 = require("@nmshd/transport");
|
|
14
15
|
const RequestItem_1 = require("../../RequestItem");
|
|
15
16
|
let CreateAttributeRequestItem = class CreateAttributeRequestItem extends RequestItem_1.RequestItem {
|
|
16
17
|
static from(value) {
|
|
@@ -22,6 +23,11 @@ __decorate([
|
|
|
22
23
|
(0, ts_serval_1.validate)(),
|
|
23
24
|
__metadata("design:type", Object)
|
|
24
25
|
], CreateAttributeRequestItem.prototype, "attribute", void 0);
|
|
26
|
+
__decorate([
|
|
27
|
+
(0, ts_serval_1.serialize)(),
|
|
28
|
+
(0, ts_serval_1.validate)({ nullable: true }),
|
|
29
|
+
__metadata("design:type", transport_1.CoreId)
|
|
30
|
+
], CreateAttributeRequestItem.prototype, "sourceAttributeId", void 0);
|
|
25
31
|
CreateAttributeRequestItem = __decorate([
|
|
26
32
|
(0, ts_serval_1.type)("CreateAttributeRequestItem")
|
|
27
33
|
], CreateAttributeRequestItem);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CreateAttributeRequestItem.js","sourceRoot":"","sources":["../../../../src/requests/items/createAttribute/CreateAttributeRequestItem.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAA8D;
|
|
1
|
+
{"version":3,"file":"CreateAttributeRequestItem.js","sourceRoot":"","sources":["../../../../src/requests/items/createAttribute/CreateAttributeRequestItem.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAA8D;AAC9D,gDAAkD;AAUlD,mDAA6D;AAa7D,IAAa,0BAA0B,GAAvC,MAAa,0BAA2B,SAAQ,yBAAW;IAShD,MAAM,CAAC,IAAI,CACd,KAAmE;QAEnE,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAA;IAC9B,CAAC;CACJ,CAAA;AAXG;IAFC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,GAAE;;6DACgD;AAI3D;IAFC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;8BACF,kBAAM;qEAAA;AAPxB,0BAA0B;IADtC,IAAA,gBAAI,EAAC,4BAA4B,CAAC;GACtB,0BAA0B,CActC;AAdY,gEAA0B"}
|
package/lib-web/nmshd.content.js
CHANGED
|
@@ -4930,10 +4930,10 @@ const ts_serval_1 = __webpack_require__(/*! @js-soft/ts-serval */ "@js-soft/ts-s
|
|
|
4930
4930
|
const crypto_1 = __webpack_require__(/*! @nmshd/crypto */ "@nmshd/crypto");
|
|
4931
4931
|
const transport_1 = __webpack_require__(/*! @nmshd/transport */ "@nmshd/transport");
|
|
4932
4932
|
exports.buildInformation = {
|
|
4933
|
-
version: "2.0.0-alpha.
|
|
4934
|
-
build: "
|
|
4935
|
-
date: "2022-07-
|
|
4936
|
-
commit: "
|
|
4933
|
+
version: "2.0.0-alpha.42",
|
|
4934
|
+
build: "74",
|
|
4935
|
+
date: "2022-07-07T07:20:01+00:00",
|
|
4936
|
+
commit: "127c4bb56f24442176f07029b20043f2b6fbdca6",
|
|
4937
4937
|
dependencies: {"@js-soft/logging-abstractions":"^1.0.0"},
|
|
4938
4938
|
libraries: {
|
|
4939
4939
|
serval: ts_serval_1.buildInformation,
|
|
@@ -5914,6 +5914,7 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
5914
5914
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
5915
5915
|
exports.CreateAttributeRequestItem = void 0;
|
|
5916
5916
|
const ts_serval_1 = __webpack_require__(/*! @js-soft/ts-serval */ "@js-soft/ts-serval");
|
|
5917
|
+
const transport_1 = __webpack_require__(/*! @nmshd/transport */ "@nmshd/transport");
|
|
5917
5918
|
const RequestItem_1 = __webpack_require__(/*! ../../RequestItem */ "./dist/requests/RequestItem.js");
|
|
5918
5919
|
let CreateAttributeRequestItem = class CreateAttributeRequestItem extends RequestItem_1.RequestItem {
|
|
5919
5920
|
static from(value) {
|
|
@@ -5925,6 +5926,11 @@ __decorate([
|
|
|
5925
5926
|
(0, ts_serval_1.validate)(),
|
|
5926
5927
|
__metadata("design:type", Object)
|
|
5927
5928
|
], CreateAttributeRequestItem.prototype, "attribute", void 0);
|
|
5929
|
+
__decorate([
|
|
5930
|
+
(0, ts_serval_1.serialize)(),
|
|
5931
|
+
(0, ts_serval_1.validate)({ nullable: true }),
|
|
5932
|
+
__metadata("design:type", transport_1.CoreId)
|
|
5933
|
+
], CreateAttributeRequestItem.prototype, "sourceAttributeId", void 0);
|
|
5928
5934
|
CreateAttributeRequestItem = __decorate([
|
|
5929
5935
|
(0, ts_serval_1.type)("CreateAttributeRequestItem")
|
|
5930
5936
|
], CreateAttributeRequestItem);
|