@nmshd/content 2.0.0-beta.11 → 2.0.0-beta.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.
@@ -4,19 +4,19 @@ import { IRelationshipAttributeCreationHints, RelationshipAttributeCreationHints
4
4
  export interface RelationshipAttributeQueryJSON extends AbstractAttributeQueryJSON {
5
5
  key: string;
6
6
  owner: string;
7
- thirdParty?: string;
7
+ thirdParty: string;
8
8
  attributeCreationHints: RelationshipAttributeCreationHintsJSON;
9
9
  }
10
10
  export interface IRelationshipAttributeQuery extends IAbstractAttributeQuery {
11
11
  key: string;
12
12
  owner: ICoreAddress;
13
- thirdParty?: ICoreAddress;
13
+ thirdParty: ICoreAddress;
14
14
  attributeCreationHints: IRelationshipAttributeCreationHints;
15
15
  }
16
16
  export declare class RelationshipAttributeQuery extends AbstractAttributeQuery implements IRelationshipAttributeQuery {
17
17
  key: string;
18
18
  owner: CoreAddress;
19
- thirdParty?: CoreAddress;
19
+ thirdParty: CoreAddress;
20
20
  attributeCreationHints: RelationshipAttributeCreationHints;
21
21
  static from(value: IRelationshipAttributeQuery | RelationshipAttributeQueryJSON): RelationshipAttributeQuery;
22
22
  toJSON(): RelationshipAttributeQueryJSON;
@@ -34,7 +34,7 @@ __decorate([
34
34
  ], RelationshipAttributeQuery.prototype, "owner", void 0);
35
35
  __decorate([
36
36
  (0, ts_serval_1.serialize)(),
37
- (0, ts_serval_1.validate)({ nullable: true }),
37
+ (0, ts_serval_1.validate)(),
38
38
  __metadata("design:type", transport_1.CoreAddress)
39
39
  ], RelationshipAttributeQuery.prototype, "thirdParty", void 0);
40
40
  __decorate([
@@ -1 +1 @@
1
- {"version":3,"file":"RelationshipAttributeQuery.js","sourceRoot":"","sources":["../../src/attributes/RelationshipAttributeQuery.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAA8D;AAC9D,gDAA4D;AAC5D,qEAAsH;AACtH,mGAImD;AAiBnD,IAAa,0BAA0B,G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AA,qBAAS,GAAE;IACX,IAAA,oBAAQ,GAAE;8BACQ,uBAAW;8DAAA;AAI9B;IAFC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,GAAE;8BACoB,uEAAkC;0EAAA;AAfxD,0BAA0B;IADtC,IAAA,gBAAI,EAAC,4BAA4B,CAAC;GACtB,0BAA0B,CA0BtC;AA1BY,gEAA0B"}
@@ -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.11",
9
- build: "88",
10
- date: "2022-08-05T14:06:18+00:00",
11
- commit: "8bda279eea8ee03bb31bf12687508f7677ce9a77",
8
+ version: "2.0.0-beta.14",
9
+ build: "91",
10
+ date: "2022-09-05T12:16:21+00:00",
11
+ commit: "00fbf8f6c58ba7309f67acddd769a9fbf6448b66",
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,
@@ -6,7 +6,7 @@ import { IRequestItemDerivations, RequestItemDerivations, RequestItemJSONDerivat
6
6
  * if you want to
7
7
  * * make sure that the items in the group can only be accepted together
8
8
  *
9
- * Example: when sending a `CreateAttributeRequestItem` **and** a `ShareAttributeRequestItem` in a single
9
+ * Example: when sending a `CreateRelationshipAttributeRequestItem` **and** a `ShareAttributeRequestItem` in a single
10
10
  * Request where the latter one targets an attribute created by the first one, it it should be impossible to
11
11
  * reject the first item, while accepting the second one.
12
12
  * * visually group items on the UI and give the a common title/description
@@ -42,7 +42,7 @@ export interface RequestItemGroupJSON extends ContentJSON {
42
42
  * if you want to
43
43
  * * make sure that the items in the group can only be accepted together
44
44
  *
45
- * Example: when sending a `CreateAttributeRequestItem` **and** a `ShareAttributeRequestItem` in a single
45
+ * Example: when sending a `CreateRelationshipAttributeRequestItem` **and** a `ShareAttributeRequestItem` in a single
46
46
  * Request where the latter one targets an attribute created by the first one, it it should be impossible to
47
47
  * reject the first item, while accepting the second one.
48
48
  * * visually group items on the UI and give the a common title/description
@@ -1,11 +1,8 @@
1
1
  import { IRequestItem, RequestItem, RequestItemJSON } from "../../RequestItem";
2
2
  export interface AuthenticationRequestItemJSON extends RequestItemJSON {
3
- description: string;
4
3
  }
5
4
  export interface IAuthenticationRequestItem extends IRequestItem {
6
- description: string;
7
5
  }
8
6
  export declare class AuthenticationRequestItem extends RequestItem implements IAuthenticationRequestItem {
9
- description: string;
10
7
  static from(value: IAuthenticationRequestItem): AuthenticationRequestItem;
11
8
  }
@@ -1,26 +1,11 @@
1
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
2
  Object.defineProperty(exports, "__esModule", { value: true });
12
3
  exports.AuthenticationRequestItem = void 0;
13
- const ts_serval_1 = require("@js-soft/ts-serval");
14
4
  const RequestItem_1 = require("../../RequestItem");
15
5
  class AuthenticationRequestItem extends RequestItem_1.RequestItem {
16
6
  static from(value) {
17
7
  return this.fromAny(value);
18
8
  }
19
9
  }
20
- __decorate([
21
- (0, ts_serval_1.serialize)(),
22
- (0, ts_serval_1.validate)(),
23
- __metadata("design:type", String)
24
- ], AuthenticationRequestItem.prototype, "description", void 0);
25
10
  exports.AuthenticationRequestItem = AuthenticationRequestItem;
26
11
  //# sourceMappingURL=AuthenticationRequestItem.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"AuthenticationRequestItem.js","sourceRoot":"","sources":["../../../../src/requests/items/authentication/AuthenticationRequestItem.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAAwD;AACxD,mDAA8E;AAU9E,MAAa,yBAA0B,SAAQ,yBAAW;IAK/C,MAAM,CAAC,IAAI,CAAC,KAAiC;QAChD,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAA;IAC9B,CAAC;CACJ;AALG;IAFC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,GAAE;;8DACwB;AAHvC,8DAQC"}
1
+ {"version":3,"file":"AuthenticationRequestItem.js","sourceRoot":"","sources":["../../../../src/requests/items/authentication/AuthenticationRequestItem.ts"],"names":[],"mappings":";;;AAAA,mDAA8E;AAM9E,MAAa,yBAA0B,SAAQ,yBAAW;IAC/C,MAAM,CAAC,IAAI,CAAC,KAAiC;QAChD,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAA;IAC9B,CAAC;CACJ;AAJD,8DAIC"}
@@ -456,7 +456,7 @@ __decorate([
456
456
  ], RelationshipAttributeQuery.prototype, "owner", void 0);
457
457
  __decorate([
458
458
  (0, ts_serval_1.serialize)(),
459
- (0, ts_serval_1.validate)({ nullable: true }),
459
+ (0, ts_serval_1.validate)(),
460
460
  __metadata("design:type", transport_1.CoreAddress)
461
461
  ], RelationshipAttributeQuery.prototype, "thirdParty", void 0);
462
462
  __decorate([
@@ -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.11",
5491
- build: "88",
5492
- date: "2022-08-05T14:06:18+00:00",
5493
- commit: "8bda279eea8ee03bb31bf12687508f7677ce9a77",
5490
+ version: "2.0.0-beta.14",
5491
+ build: "91",
5492
+ date: "2022-09-05T12:16:21+00:00",
5493
+ commit: "00fbf8f6c58ba7309f67acddd769a9fbf6448b66",
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,
@@ -6441,32 +6441,17 @@ __exportStar(__webpack_require__(/*! ./response */ "./dist/requests/response/ind
6441
6441
  /*!*************************************************************************!*\
6442
6442
  !*** ./dist/requests/items/authentication/AuthenticationRequestItem.js ***!
6443
6443
  \*************************************************************************/
6444
- /***/ (function(__unused_webpack_module, exports, __webpack_require__) {
6444
+ /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
6445
6445
 
6446
6446
 
6447
- var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
6448
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
6449
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
6450
- 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;
6451
- return c > 3 && r && Object.defineProperty(target, key, r), r;
6452
- };
6453
- var __metadata = (this && this.__metadata) || function (k, v) {
6454
- if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
6455
- };
6456
6447
  Object.defineProperty(exports, "__esModule", ({ value: true }));
6457
6448
  exports.AuthenticationRequestItem = void 0;
6458
- const ts_serval_1 = __webpack_require__(/*! @js-soft/ts-serval */ "@js-soft/ts-serval");
6459
6449
  const RequestItem_1 = __webpack_require__(/*! ../../RequestItem */ "./dist/requests/RequestItem.js");
6460
6450
  class AuthenticationRequestItem extends RequestItem_1.RequestItem {
6461
6451
  static from(value) {
6462
6452
  return this.fromAny(value);
6463
6453
  }
6464
6454
  }
6465
- __decorate([
6466
- (0, ts_serval_1.serialize)(),
6467
- (0, ts_serval_1.validate)(),
6468
- __metadata("design:type", String)
6469
- ], AuthenticationRequestItem.prototype, "description", void 0);
6470
6455
  exports.AuthenticationRequestItem = AuthenticationRequestItem;
6471
6456
  //# sourceMappingURL=AuthenticationRequestItem.js.map
6472
6457