@nmshd/content 2.0.0-beta.36 → 2.0.0-beta.37
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/attributes/index.d.ts +0 -1
- package/dist/attributes/index.js +0 -1
- package/dist/attributes/index.js.map +1 -1
- package/dist/buildInformation.js +4 -4
- package/dist/index.d.ts +0 -2
- package/dist/index.js +0 -2
- package/dist/index.js.map +1 -1
- package/dist/requests/index.d.ts +0 -3
- package/dist/requests/index.js +0 -3
- package/dist/requests/index.js.map +1 -1
- package/lib-web/nmshd.content.js +196 -953
- package/lib-web/nmshd.content.min.js +1 -1
- package/package.json +1 -1
- package/dist/attributes/Attribute.d.ts +0 -24
- package/dist/attributes/Attribute.js +0 -58
- package/dist/attributes/Attribute.js.map +0 -1
- package/dist/forms/Form.d.ts +0 -19
- package/dist/forms/Form.js +0 -36
- package/dist/forms/Form.js.map +0 -1
- package/dist/forms/FormItem.d.ts +0 -35
- package/dist/forms/FormItem.js +0 -53
- package/dist/forms/FormItem.js.map +0 -1
- package/dist/forms/index.d.ts +0 -8
- package/dist/forms/index.js +0 -25
- package/dist/forms/index.js.map +0 -1
- package/dist/forms/items/FormItemBoolean.d.ts +0 -8
- package/dist/forms/items/FormItemBoolean.js +0 -26
- package/dist/forms/items/FormItemBoolean.js.map +0 -1
- package/dist/forms/items/FormItemDate.d.ts +0 -16
- package/dist/forms/items/FormItemDate.js +0 -46
- package/dist/forms/items/FormItemDate.js.map +0 -1
- package/dist/forms/items/FormItemInvisible.d.ts +0 -7
- package/dist/forms/items/FormItemInvisible.js +0 -26
- package/dist/forms/items/FormItemInvisible.js.map +0 -1
- package/dist/forms/items/FormItemMultipleChoice.d.ts +0 -11
- package/dist/forms/items/FormItemMultipleChoice.js +0 -32
- package/dist/forms/items/FormItemMultipleChoice.js.map +0 -1
- package/dist/forms/items/FormItemMultipleChoiceItem.d.ts +0 -11
- package/dist/forms/items/FormItemMultipleChoiceItem.js +0 -30
- package/dist/forms/items/FormItemMultipleChoiceItem.js.map +0 -1
- package/dist/forms/items/FormItemSelect.d.ts +0 -11
- package/dist/forms/items/FormItemSelect.js +0 -32
- package/dist/forms/items/FormItemSelect.js.map +0 -1
- package/dist/forms/items/FormItemSelectItem.d.ts +0 -11
- package/dist/forms/items/FormItemSelectItem.js +0 -30
- package/dist/forms/items/FormItemSelectItem.js.map +0 -1
- package/dist/forms/items/FormItemString.d.ts +0 -16
- package/dist/forms/items/FormItemString.js +0 -46
- package/dist/forms/items/FormItemString.js.map +0 -1
- package/dist/forms/items/FormItemText.d.ts +0 -16
- package/dist/forms/items/FormItemText.js +0 -46
- package/dist/forms/items/FormItemText.js.map +0 -1
- package/dist/messages/RequestMail.d.ts +0 -29
- package/dist/messages/RequestMail.js +0 -54
- package/dist/messages/RequestMail.js.map +0 -1
- package/dist/requests/old/AttributesChangeRequest.d.ts +0 -54
- package/dist/requests/old/AttributesChangeRequest.js +0 -60
- package/dist/requests/old/AttributesChangeRequest.js.map +0 -1
- package/dist/requests/old/AttributesRequest.d.ts +0 -49
- package/dist/requests/old/AttributesRequest.js +0 -54
- package/dist/requests/old/AttributesRequest.js.map +0 -1
- package/dist/requests/old/AttributesShareRequest.d.ts +0 -53
- package/dist/requests/old/AttributesShareRequest.js +0 -59
- package/dist/requests/old/AttributesShareRequest.js.map +0 -1
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { FormItemVisible, FormItemVisibleJSON } from "../FormItem";
|
|
2
|
-
export interface FormItemStringJSON extends FormItemVisibleJSON {
|
|
3
|
-
"@type": "FormItemString";
|
|
4
|
-
placeholder: string;
|
|
5
|
-
value: string;
|
|
6
|
-
minLength: number;
|
|
7
|
-
maxLength: number;
|
|
8
|
-
allowedRegex: string;
|
|
9
|
-
}
|
|
10
|
-
export declare class FormItemString extends FormItemVisible {
|
|
11
|
-
placeholder: string;
|
|
12
|
-
value: string;
|
|
13
|
-
minLength: number;
|
|
14
|
-
maxLength: number;
|
|
15
|
-
allowedRegex: string;
|
|
16
|
-
}
|
|
@@ -1,46 +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.FormItemString = void 0;
|
|
13
|
-
const ts_serval_1 = require("@js-soft/ts-serval");
|
|
14
|
-
const FormItem_1 = require("../FormItem");
|
|
15
|
-
let FormItemString = class FormItemString extends FormItem_1.FormItemVisible {
|
|
16
|
-
};
|
|
17
|
-
__decorate([
|
|
18
|
-
(0, ts_serval_1.serialize)(),
|
|
19
|
-
(0, ts_serval_1.validate)({ nullable: true }),
|
|
20
|
-
__metadata("design:type", String)
|
|
21
|
-
], FormItemString.prototype, "placeholder", void 0);
|
|
22
|
-
__decorate([
|
|
23
|
-
(0, ts_serval_1.serialize)(),
|
|
24
|
-
(0, ts_serval_1.validate)({ nullable: true }),
|
|
25
|
-
__metadata("design:type", String)
|
|
26
|
-
], FormItemString.prototype, "value", void 0);
|
|
27
|
-
__decorate([
|
|
28
|
-
(0, ts_serval_1.serialize)(),
|
|
29
|
-
(0, ts_serval_1.validate)({ nullable: true }),
|
|
30
|
-
__metadata("design:type", Number)
|
|
31
|
-
], FormItemString.prototype, "minLength", void 0);
|
|
32
|
-
__decorate([
|
|
33
|
-
(0, ts_serval_1.serialize)(),
|
|
34
|
-
(0, ts_serval_1.validate)({ nullable: true }),
|
|
35
|
-
__metadata("design:type", Number)
|
|
36
|
-
], FormItemString.prototype, "maxLength", void 0);
|
|
37
|
-
__decorate([
|
|
38
|
-
(0, ts_serval_1.serialize)(),
|
|
39
|
-
(0, ts_serval_1.validate)({ nullable: true }),
|
|
40
|
-
__metadata("design:type", String)
|
|
41
|
-
], FormItemString.prototype, "allowedRegex", void 0);
|
|
42
|
-
FormItemString = __decorate([
|
|
43
|
-
(0, ts_serval_1.type)("FormItemString")
|
|
44
|
-
], FormItemString);
|
|
45
|
-
exports.FormItemString = FormItemString;
|
|
46
|
-
//# sourceMappingURL=FormItemString.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"FormItemString.js","sourceRoot":"","sources":["../../../src/forms/items/FormItemString.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAA8D;AAC9D,0CAAkE;AAY3D,IAAM,cAAc,GAApB,MAAM,cAAe,SAAQ,0BAAe;CAoBlD,CAAA;AAnBG;IAAC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;mDACH;AAE1B;IAAC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;6CACT;AAEpB;IAAC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;iDACL;AAExB;IAAC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;iDACL;AAExB;IAAC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;oDACF;AAnBlB,cAAc;IAD1B,IAAA,gBAAI,EAAC,gBAAgB,CAAC;GACV,cAAc,CAoB1B;AApBY,wCAAc"}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { FormItemVisible, FormItemVisibleJSON } from "../FormItem";
|
|
2
|
-
export interface FormItemTextJSON extends FormItemVisibleJSON {
|
|
3
|
-
"@type": "FormItemText";
|
|
4
|
-
placeholder: string;
|
|
5
|
-
value: string;
|
|
6
|
-
minLength: number;
|
|
7
|
-
maxLength: number;
|
|
8
|
-
allowedRegex: string;
|
|
9
|
-
}
|
|
10
|
-
export declare class FormItemText extends FormItemVisible {
|
|
11
|
-
placeholder: string;
|
|
12
|
-
value: string;
|
|
13
|
-
minLength: number;
|
|
14
|
-
maxLength: number;
|
|
15
|
-
allowedRegex: string;
|
|
16
|
-
}
|
|
@@ -1,46 +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.FormItemText = void 0;
|
|
13
|
-
const ts_serval_1 = require("@js-soft/ts-serval");
|
|
14
|
-
const FormItem_1 = require("../FormItem");
|
|
15
|
-
let FormItemText = class FormItemText extends FormItem_1.FormItemVisible {
|
|
16
|
-
};
|
|
17
|
-
__decorate([
|
|
18
|
-
(0, ts_serval_1.serialize)(),
|
|
19
|
-
(0, ts_serval_1.validate)({ nullable: true }),
|
|
20
|
-
__metadata("design:type", String)
|
|
21
|
-
], FormItemText.prototype, "placeholder", void 0);
|
|
22
|
-
__decorate([
|
|
23
|
-
(0, ts_serval_1.serialize)(),
|
|
24
|
-
(0, ts_serval_1.validate)({ nullable: true }),
|
|
25
|
-
__metadata("design:type", String)
|
|
26
|
-
], FormItemText.prototype, "value", void 0);
|
|
27
|
-
__decorate([
|
|
28
|
-
(0, ts_serval_1.serialize)(),
|
|
29
|
-
(0, ts_serval_1.validate)({ nullable: true }),
|
|
30
|
-
__metadata("design:type", Number)
|
|
31
|
-
], FormItemText.prototype, "minLength", void 0);
|
|
32
|
-
__decorate([
|
|
33
|
-
(0, ts_serval_1.serialize)(),
|
|
34
|
-
(0, ts_serval_1.validate)({ nullable: true }),
|
|
35
|
-
__metadata("design:type", Number)
|
|
36
|
-
], FormItemText.prototype, "maxLength", void 0);
|
|
37
|
-
__decorate([
|
|
38
|
-
(0, ts_serval_1.serialize)(),
|
|
39
|
-
(0, ts_serval_1.validate)({ nullable: true }),
|
|
40
|
-
__metadata("design:type", String)
|
|
41
|
-
], FormItemText.prototype, "allowedRegex", void 0);
|
|
42
|
-
FormItemText = __decorate([
|
|
43
|
-
(0, ts_serval_1.type)("FormItemText")
|
|
44
|
-
], FormItemText);
|
|
45
|
-
exports.FormItemText = FormItemText;
|
|
46
|
-
//# sourceMappingURL=FormItemText.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"FormItemText.js","sourceRoot":"","sources":["../../../src/forms/items/FormItemText.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAA8D;AAC9D,0CAAkE;AAY3D,IAAM,YAAY,GAAlB,MAAM,YAAa,SAAQ,0BAAe;CAoBhD,CAAA;AAnBG;IAAC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;iDACH;AAE1B;IAAC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;2CACT;AAEpB;IAAC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;+CACL;AAExB;IAAC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;+CACL;AAExB;IAAC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;kDACF;AAnBlB,YAAY;IADxB,IAAA,gBAAI,EAAC,cAAc,CAAC;GACR,YAAY,CAoBxB;AApBY,oCAAY"}
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { ISerializable, Serializable } from "@js-soft/ts-serval";
|
|
2
|
-
import { CoreAddress, ICoreAddress } from "@nmshd/transport";
|
|
3
|
-
import { ContentJSON } from "../ContentJSON";
|
|
4
|
-
import { AttributesChangeRequest, AttributesChangeRequestJSON, IAttributesChangeRequest } from "../requests/old/AttributesChangeRequest";
|
|
5
|
-
import { AttributesShareRequest, AttributesShareRequestJSON, IAttributesShareRequest } from "../requests/old/AttributesShareRequest";
|
|
6
|
-
export interface RequestMailJSON extends ContentJSON {
|
|
7
|
-
"@type": "RequestMail";
|
|
8
|
-
to: string[];
|
|
9
|
-
cc?: string[];
|
|
10
|
-
subject: string;
|
|
11
|
-
body: string;
|
|
12
|
-
requests: (AttributesChangeRequestJSON | AttributesShareRequestJSON)[];
|
|
13
|
-
}
|
|
14
|
-
export interface IRequestMail extends ISerializable {
|
|
15
|
-
to: ICoreAddress[];
|
|
16
|
-
cc?: ICoreAddress[];
|
|
17
|
-
subject: string;
|
|
18
|
-
body: string;
|
|
19
|
-
requests: (IAttributesChangeRequest | IAttributesShareRequest)[];
|
|
20
|
-
}
|
|
21
|
-
export declare class RequestMail extends Serializable implements IRequestMail {
|
|
22
|
-
to: CoreAddress[];
|
|
23
|
-
cc?: CoreAddress[];
|
|
24
|
-
subject: string;
|
|
25
|
-
body: string;
|
|
26
|
-
requests: (AttributesChangeRequest | AttributesShareRequest)[];
|
|
27
|
-
static from(value: IRequestMail | Omit<RequestMailJSON, "@type">): RequestMail;
|
|
28
|
-
toJSON(verbose?: boolean | undefined, serializeAsString?: boolean | undefined): RequestMailJSON;
|
|
29
|
-
}
|
|
@@ -1,54 +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.RequestMail = void 0;
|
|
13
|
-
const ts_serval_1 = require("@js-soft/ts-serval");
|
|
14
|
-
const transport_1 = require("@nmshd/transport");
|
|
15
|
-
const AttributesChangeRequest_1 = require("../requests/old/AttributesChangeRequest");
|
|
16
|
-
const AttributesShareRequest_1 = require("../requests/old/AttributesShareRequest");
|
|
17
|
-
let RequestMail = class RequestMail extends ts_serval_1.Serializable {
|
|
18
|
-
static from(value) {
|
|
19
|
-
return this.fromAny(value);
|
|
20
|
-
}
|
|
21
|
-
toJSON(verbose, serializeAsString) {
|
|
22
|
-
return super.toJSON(verbose, serializeAsString);
|
|
23
|
-
}
|
|
24
|
-
};
|
|
25
|
-
__decorate([
|
|
26
|
-
(0, ts_serval_1.serialize)({ type: transport_1.CoreAddress }),
|
|
27
|
-
(0, ts_serval_1.validate)({ customValidator: (v) => (v.length < 1 ? "may not be empty" : undefined) }),
|
|
28
|
-
__metadata("design:type", Array)
|
|
29
|
-
], RequestMail.prototype, "to", void 0);
|
|
30
|
-
__decorate([
|
|
31
|
-
(0, ts_serval_1.serialize)({ type: transport_1.CoreAddress }),
|
|
32
|
-
(0, ts_serval_1.validate)({ nullable: true }),
|
|
33
|
-
__metadata("design:type", Array)
|
|
34
|
-
], RequestMail.prototype, "cc", void 0);
|
|
35
|
-
__decorate([
|
|
36
|
-
(0, ts_serval_1.serialize)(),
|
|
37
|
-
(0, ts_serval_1.validate)(),
|
|
38
|
-
__metadata("design:type", String)
|
|
39
|
-
], RequestMail.prototype, "subject", void 0);
|
|
40
|
-
__decorate([
|
|
41
|
-
(0, ts_serval_1.serialize)(),
|
|
42
|
-
(0, ts_serval_1.validate)(),
|
|
43
|
-
__metadata("design:type", String)
|
|
44
|
-
], RequestMail.prototype, "body", void 0);
|
|
45
|
-
__decorate([
|
|
46
|
-
(0, ts_serval_1.serialize)({ unionTypes: [AttributesChangeRequest_1.AttributesChangeRequest, AttributesShareRequest_1.AttributesShareRequest] }),
|
|
47
|
-
(0, ts_serval_1.validate)(),
|
|
48
|
-
__metadata("design:type", Array)
|
|
49
|
-
], RequestMail.prototype, "requests", void 0);
|
|
50
|
-
RequestMail = __decorate([
|
|
51
|
-
(0, ts_serval_1.type)("RequestMail")
|
|
52
|
-
], RequestMail);
|
|
53
|
-
exports.RequestMail = RequestMail;
|
|
54
|
-
//# sourceMappingURL=RequestMail.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"RequestMail.js","sourceRoot":"","sources":["../../src/messages/RequestMail.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAA2F;AAC3F,gDAA4D;AAE5D,qFAIgD;AAChD,mFAI+C;AAoBxC,IAAM,WAAW,GAAjB,MAAM,WAAY,SAAQ,wBAAY;IAqBlC,MAAM,CAAC,IAAI,CAAC,KAAoD;QACnE,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAA;IAC9B,CAAC;IAEe,MAAM,CAAC,OAA6B,EAAE,iBAAuC;QACzF,OAAO,KAAK,CAAC,MAAM,CAAC,OAAO,EAAE,iBAAiB,CAAoB,CAAA;IACtE,CAAC;CACJ,CAAA;AA3BG;IAAC,IAAA,qBAAS,EAAC,EAAE,IAAI,EAAE,uBAAW,EAAE,CAAC;IAChC,IAAA,oBAAQ,EAAC,EAAE,eAAe,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,kBAAkB,CAAC,CAAC,CAAC,SAAS,CAAC,EAAE,CAAC;;uCAC9D;AAExB;IAAC,IAAA,qBAAS,EAAC,EAAE,IAAI,EAAE,uBAAW,EAAE,CAAC;IAChC,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;uCACJ;AAEzB;IAAC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,GAAE;;4CACW;AAEtB;IAAC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,GAAE;;yCACQ;AAEnB;IAAC,IAAA,qBAAS,EAAC,EAAE,UAAU,EAAE,CAAC,iDAAuB,EAAE,+CAAsB,CAAC,EAAE,CAAC;IAC5E,IAAA,oBAAQ,GAAE;;6CAC0D;AAnB5D,WAAW;IADvB,IAAA,gBAAI,EAAC,aAAa,CAAC;GACP,WAAW,CA4BvB;AA5BY,kCAAW"}
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
import { ISerializable, Serializable } from "@js-soft/ts-serval";
|
|
2
|
-
import { CoreAddress, CoreDate, CoreId, ICoreAddress, ICoreDate, ICoreId } from "@nmshd/transport";
|
|
3
|
-
import { Attribute, AttributeJSON, IAttribute } from "../../attributes/Attribute";
|
|
4
|
-
import { ContentJSON } from "../../ContentJSON";
|
|
5
|
-
export interface AttributesChangeRequestJSON extends ContentJSON {
|
|
6
|
-
"@type": "AttributesChangeRequest";
|
|
7
|
-
id?: string;
|
|
8
|
-
key?: string;
|
|
9
|
-
reason?: string;
|
|
10
|
-
expiresAt?: string;
|
|
11
|
-
impact?: string;
|
|
12
|
-
attributes: AttributeJSON[];
|
|
13
|
-
applyTo?: string;
|
|
14
|
-
}
|
|
15
|
-
export interface IAttributesChangeRequest extends ISerializable {
|
|
16
|
-
id?: ICoreId;
|
|
17
|
-
/**
|
|
18
|
-
* The technial key of the request which is submitted back with the answer. This can be used
|
|
19
|
-
* for mapping requests and answers. The key should be unique and non-personal, best a random UUID.
|
|
20
|
-
* @default undefined - no key is used
|
|
21
|
-
*/
|
|
22
|
-
key?: string;
|
|
23
|
-
/**
|
|
24
|
-
* The human-readable reason for this request. This can be used to provide the user with more input
|
|
25
|
-
* why this request is necessary and should be answered.
|
|
26
|
-
* @default undefined - no reason is given
|
|
27
|
-
*/
|
|
28
|
-
reason?: string;
|
|
29
|
-
/**
|
|
30
|
-
* The point in time the request is considered obsolete either technically (e.g. the request is no longer
|
|
31
|
-
* valid or its response is no longer accepted) or from a business perspective (e.g. the request is no longer
|
|
32
|
-
* of interest).
|
|
33
|
-
* @default undefined - the request won't expire
|
|
34
|
-
*/
|
|
35
|
-
expiresAt?: ICoreDate;
|
|
36
|
-
/**
|
|
37
|
-
* The impact of this request. This can be used to show the user what happens if the user does not accept the request.
|
|
38
|
-
*
|
|
39
|
-
* @default undefined - no specific impact
|
|
40
|
-
*/
|
|
41
|
-
impact?: string;
|
|
42
|
-
attributes: IAttribute[];
|
|
43
|
-
applyTo?: ICoreAddress;
|
|
44
|
-
}
|
|
45
|
-
export declare class AttributesChangeRequest extends Serializable implements IAttributesChangeRequest {
|
|
46
|
-
id?: CoreId;
|
|
47
|
-
key?: string;
|
|
48
|
-
reason?: string;
|
|
49
|
-
expiresAt?: CoreDate;
|
|
50
|
-
impact?: string;
|
|
51
|
-
attributes: Attribute[];
|
|
52
|
-
applyTo?: CoreAddress;
|
|
53
|
-
static from(value: IAttributesChangeRequest | Omit<AttributesChangeRequestJSON, "@type">): AttributesChangeRequest;
|
|
54
|
-
}
|
|
@@ -1,60 +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.AttributesChangeRequest = void 0;
|
|
13
|
-
const ts_serval_1 = require("@js-soft/ts-serval");
|
|
14
|
-
const transport_1 = require("@nmshd/transport");
|
|
15
|
-
const Attribute_1 = require("../../attributes/Attribute");
|
|
16
|
-
let AttributesChangeRequest = class AttributesChangeRequest extends ts_serval_1.Serializable {
|
|
17
|
-
static from(value) {
|
|
18
|
-
return this.fromAny(value);
|
|
19
|
-
}
|
|
20
|
-
};
|
|
21
|
-
__decorate([
|
|
22
|
-
(0, ts_serval_1.serialize)(),
|
|
23
|
-
(0, ts_serval_1.validate)({ nullable: true }),
|
|
24
|
-
__metadata("design:type", transport_1.CoreId)
|
|
25
|
-
], AttributesChangeRequest.prototype, "id", void 0);
|
|
26
|
-
__decorate([
|
|
27
|
-
(0, ts_serval_1.serialize)(),
|
|
28
|
-
(0, ts_serval_1.validate)({ nullable: true }),
|
|
29
|
-
__metadata("design:type", String)
|
|
30
|
-
], AttributesChangeRequest.prototype, "key", void 0);
|
|
31
|
-
__decorate([
|
|
32
|
-
(0, ts_serval_1.serialize)(),
|
|
33
|
-
(0, ts_serval_1.validate)({ nullable: true }),
|
|
34
|
-
__metadata("design:type", String)
|
|
35
|
-
], AttributesChangeRequest.prototype, "reason", void 0);
|
|
36
|
-
__decorate([
|
|
37
|
-
(0, ts_serval_1.serialize)(),
|
|
38
|
-
(0, ts_serval_1.validate)({ nullable: true }),
|
|
39
|
-
__metadata("design:type", transport_1.CoreDate)
|
|
40
|
-
], AttributesChangeRequest.prototype, "expiresAt", void 0);
|
|
41
|
-
__decorate([
|
|
42
|
-
(0, ts_serval_1.serialize)(),
|
|
43
|
-
(0, ts_serval_1.validate)({ nullable: true }),
|
|
44
|
-
__metadata("design:type", String)
|
|
45
|
-
], AttributesChangeRequest.prototype, "impact", void 0);
|
|
46
|
-
__decorate([
|
|
47
|
-
(0, ts_serval_1.serialize)({ type: Attribute_1.Attribute }),
|
|
48
|
-
(0, ts_serval_1.validate)(),
|
|
49
|
-
__metadata("design:type", Array)
|
|
50
|
-
], AttributesChangeRequest.prototype, "attributes", void 0);
|
|
51
|
-
__decorate([
|
|
52
|
-
(0, ts_serval_1.serialize)(),
|
|
53
|
-
(0, ts_serval_1.validate)({ nullable: true }),
|
|
54
|
-
__metadata("design:type", transport_1.CoreAddress)
|
|
55
|
-
], AttributesChangeRequest.prototype, "applyTo", void 0);
|
|
56
|
-
AttributesChangeRequest = __decorate([
|
|
57
|
-
(0, ts_serval_1.type)("AttributesChangeRequest")
|
|
58
|
-
], AttributesChangeRequest);
|
|
59
|
-
exports.AttributesChangeRequest = AttributesChangeRequest;
|
|
60
|
-
//# sourceMappingURL=AttributesChangeRequest.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"AttributesChangeRequest.js","sourceRoot":"","sources":["../../../src/requests/old/AttributesChangeRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAA2F;AAC3F,gDAAkG;AAClG,0DAAiF;AAgD1E,IAAM,uBAAuB,GAA7B,MAAM,uBAAwB,SAAQ,wBAAY;IA6B9C,MAAM,CAAC,IAAI,CACd,KAA4E;QAE5E,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAA;IAC9B,CAAC;CACJ,CAAA;AAjCG;IAAC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;8BACjB,kBAAM;mDAAA;AAElB;IAAC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;oDACV;AAEnB;IAAC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;uDACP;AAEtB;IAAC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;8BACV,oBAAQ;0DAAA;AAE3B;IAAC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;uDACP;AAEtB;IAAC,IAAA,qBAAS,EAAC,EAAE,IAAI,EAAE,qBAAS,EAAE,CAAC;IAC9B,IAAA,oBAAQ,GAAE;;2DACmB;AAE9B;IAAC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;8BACZ,uBAAW;wDAAA;AA3BnB,uBAAuB;IADnC,IAAA,gBAAI,EAAC,yBAAyB,CAAC;GACnB,uBAAuB,CAkCnC;AAlCY,0DAAuB"}
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
import { ISerializable, Serializable } from "@js-soft/ts-serval";
|
|
2
|
-
import { CoreDate, CoreId, ICoreDate, ICoreId } from "@nmshd/transport";
|
|
3
|
-
import { ContentJSON } from "../../ContentJSON";
|
|
4
|
-
export interface AttributesRequestJSON extends ContentJSON {
|
|
5
|
-
"@type": "AttributesRequest";
|
|
6
|
-
id?: string;
|
|
7
|
-
key?: string;
|
|
8
|
-
reason?: string;
|
|
9
|
-
expiresAt?: string;
|
|
10
|
-
names: string[];
|
|
11
|
-
required: boolean;
|
|
12
|
-
}
|
|
13
|
-
export interface IAttributesRequest extends ISerializable {
|
|
14
|
-
id?: ICoreId;
|
|
15
|
-
/**
|
|
16
|
-
* The technial key of the request which is submitted back with the answer. This can be used
|
|
17
|
-
* for mapping requests and answers. The key should be unique and non-personal, best a random UUID.
|
|
18
|
-
* @default undefined - no key is used
|
|
19
|
-
*/
|
|
20
|
-
key?: string;
|
|
21
|
-
/**
|
|
22
|
-
* The human-readable reason for this request. This can be used to provide the user with more input
|
|
23
|
-
* why this request is necessary and should be answered.
|
|
24
|
-
* @default undefined - no reason is given
|
|
25
|
-
*/
|
|
26
|
-
reason?: string;
|
|
27
|
-
/**
|
|
28
|
-
* The point in time the request is considered obsolete either technically (e.g. the request is no longer
|
|
29
|
-
* valid or its response is no longer accepted) or from a business perspective (e.g. the request is no longer
|
|
30
|
-
* of interest).
|
|
31
|
-
* @default undefined - the request won't expire
|
|
32
|
-
*/
|
|
33
|
-
expiresAt?: ICoreDate;
|
|
34
|
-
names: string[];
|
|
35
|
-
/**
|
|
36
|
-
* Whether or not this attribute request is required or optional
|
|
37
|
-
* @default undefined - the attribute request is optional
|
|
38
|
-
*/
|
|
39
|
-
required?: boolean;
|
|
40
|
-
}
|
|
41
|
-
export declare class AttributesRequest extends Serializable implements IAttributesRequest {
|
|
42
|
-
id?: CoreId;
|
|
43
|
-
key?: string;
|
|
44
|
-
reason?: string;
|
|
45
|
-
expiresAt?: CoreDate;
|
|
46
|
-
names: string[];
|
|
47
|
-
required?: boolean;
|
|
48
|
-
static from(value: IAttributesRequest | Omit<AttributesRequestJSON, "@type">): AttributesRequest;
|
|
49
|
-
}
|
|
@@ -1,54 +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.AttributesRequest = void 0;
|
|
13
|
-
const ts_serval_1 = require("@js-soft/ts-serval");
|
|
14
|
-
const transport_1 = require("@nmshd/transport");
|
|
15
|
-
let AttributesRequest = class AttributesRequest extends ts_serval_1.Serializable {
|
|
16
|
-
static from(value) {
|
|
17
|
-
return this.fromAny(value);
|
|
18
|
-
}
|
|
19
|
-
};
|
|
20
|
-
__decorate([
|
|
21
|
-
(0, ts_serval_1.serialize)(),
|
|
22
|
-
(0, ts_serval_1.validate)({ nullable: true }),
|
|
23
|
-
__metadata("design:type", transport_1.CoreId)
|
|
24
|
-
], AttributesRequest.prototype, "id", void 0);
|
|
25
|
-
__decorate([
|
|
26
|
-
(0, ts_serval_1.serialize)(),
|
|
27
|
-
(0, ts_serval_1.validate)({ nullable: true }),
|
|
28
|
-
__metadata("design:type", String)
|
|
29
|
-
], AttributesRequest.prototype, "key", void 0);
|
|
30
|
-
__decorate([
|
|
31
|
-
(0, ts_serval_1.serialize)(),
|
|
32
|
-
(0, ts_serval_1.validate)({ nullable: true }),
|
|
33
|
-
__metadata("design:type", String)
|
|
34
|
-
], AttributesRequest.prototype, "reason", void 0);
|
|
35
|
-
__decorate([
|
|
36
|
-
(0, ts_serval_1.serialize)(),
|
|
37
|
-
(0, ts_serval_1.validate)({ nullable: true }),
|
|
38
|
-
__metadata("design:type", transport_1.CoreDate)
|
|
39
|
-
], AttributesRequest.prototype, "expiresAt", void 0);
|
|
40
|
-
__decorate([
|
|
41
|
-
(0, ts_serval_1.serialize)({ type: String }),
|
|
42
|
-
(0, ts_serval_1.validate)(),
|
|
43
|
-
__metadata("design:type", Array)
|
|
44
|
-
], AttributesRequest.prototype, "names", void 0);
|
|
45
|
-
__decorate([
|
|
46
|
-
(0, ts_serval_1.serialize)(),
|
|
47
|
-
(0, ts_serval_1.validate)({ nullable: true }),
|
|
48
|
-
__metadata("design:type", Boolean)
|
|
49
|
-
], AttributesRequest.prototype, "required", void 0);
|
|
50
|
-
AttributesRequest = __decorate([
|
|
51
|
-
(0, ts_serval_1.type)("AttributesRequest")
|
|
52
|
-
], AttributesRequest);
|
|
53
|
-
exports.AttributesRequest = AttributesRequest;
|
|
54
|
-
//# sourceMappingURL=AttributesRequest.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"AttributesRequest.js","sourceRoot":"","sources":["../../../src/requests/old/AttributesRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAA2F;AAC3F,gDAAuE;AA4ChE,IAAM,iBAAiB,GAAvB,MAAM,iBAAkB,SAAQ,wBAAY;IAyBxC,MAAM,CAAC,IAAI,CAAC,KAAgE;QAC/E,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAA;IAC9B,CAAC;CACJ,CAAA;AA3BG;IAAC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;8BACjB,kBAAM;6CAAA;AAElB;IAAC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;8CACV;AAEnB;IAAC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;iDACP;AAEtB;IAAC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;8BACV,oBAAQ;oDAAA;AAE3B;IAAC,IAAA,qBAAS,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;IAC3B,IAAA,oBAAQ,GAAE;;gDACW;AAEtB;IAAC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;mDACJ;AAvBhB,iBAAiB;IAD7B,IAAA,gBAAI,EAAC,mBAAmB,CAAC;GACb,iBAAiB,CA4B7B;AA5BY,8CAAiB"}
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
import { ISerializable, Serializable } from "@js-soft/ts-serval";
|
|
2
|
-
import { CoreAddress, CoreDate, CoreId, ICoreAddress, ICoreDate, ICoreId } from "@nmshd/transport";
|
|
3
|
-
import { ContentJSON } from "../../ContentJSON";
|
|
4
|
-
export interface AttributesShareRequestJSON extends ContentJSON {
|
|
5
|
-
"@type": "AttributesShareRequest";
|
|
6
|
-
id?: string;
|
|
7
|
-
key?: string;
|
|
8
|
-
reason?: string;
|
|
9
|
-
expiresAt?: string;
|
|
10
|
-
impact?: string;
|
|
11
|
-
attributes: string[];
|
|
12
|
-
recipients: string[];
|
|
13
|
-
}
|
|
14
|
-
export interface IAttributesShareRequest extends ISerializable {
|
|
15
|
-
id?: ICoreId;
|
|
16
|
-
/**
|
|
17
|
-
* The technial key of the request which is submitted back with the answer. This can be used
|
|
18
|
-
* for mapping requests and answers. The key should be unique and non-personal, best a random UUID.
|
|
19
|
-
* @default undefined - no key is used
|
|
20
|
-
*/
|
|
21
|
-
key?: string;
|
|
22
|
-
/**
|
|
23
|
-
* The human-readable reason for this request. This can be used to provide the user with more input
|
|
24
|
-
* why this request is necessary and should be answered.
|
|
25
|
-
* @default undefined - no reason is given
|
|
26
|
-
*/
|
|
27
|
-
reason?: string;
|
|
28
|
-
/**
|
|
29
|
-
* The point in time the request is considered obsolete either technically (e.g. the request is no longer
|
|
30
|
-
* valid or its response is no longer accepted) or from a business perspective (e.g. the request is no longer
|
|
31
|
-
* of interest).
|
|
32
|
-
* @default undefined - the request won't expire
|
|
33
|
-
*/
|
|
34
|
-
expiresAt?: ICoreDate;
|
|
35
|
-
/**
|
|
36
|
-
* The impact of this request. This can be used to show the user what happens if the user does not accept the request.
|
|
37
|
-
*
|
|
38
|
-
* @default undefined - no specific impact
|
|
39
|
-
*/
|
|
40
|
-
impact?: string;
|
|
41
|
-
attributes: string[];
|
|
42
|
-
recipients: ICoreAddress[];
|
|
43
|
-
}
|
|
44
|
-
export declare class AttributesShareRequest extends Serializable implements IAttributesShareRequest {
|
|
45
|
-
id?: CoreId;
|
|
46
|
-
key?: string;
|
|
47
|
-
reason?: string;
|
|
48
|
-
expiresAt?: CoreDate;
|
|
49
|
-
impact?: string;
|
|
50
|
-
attributes: string[];
|
|
51
|
-
recipients: CoreAddress[];
|
|
52
|
-
static from(value: IAttributesShareRequest | Omit<AttributesShareRequestJSON, "@type">): AttributesShareRequest;
|
|
53
|
-
}
|
|
@@ -1,59 +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.AttributesShareRequest = void 0;
|
|
13
|
-
const ts_serval_1 = require("@js-soft/ts-serval");
|
|
14
|
-
const transport_1 = require("@nmshd/transport");
|
|
15
|
-
let AttributesShareRequest = class AttributesShareRequest extends ts_serval_1.Serializable {
|
|
16
|
-
static from(value) {
|
|
17
|
-
return this.fromAny(value);
|
|
18
|
-
}
|
|
19
|
-
};
|
|
20
|
-
__decorate([
|
|
21
|
-
(0, ts_serval_1.serialize)(),
|
|
22
|
-
(0, ts_serval_1.validate)({ nullable: true }),
|
|
23
|
-
__metadata("design:type", transport_1.CoreId)
|
|
24
|
-
], AttributesShareRequest.prototype, "id", void 0);
|
|
25
|
-
__decorate([
|
|
26
|
-
(0, ts_serval_1.serialize)(),
|
|
27
|
-
(0, ts_serval_1.validate)({ nullable: true }),
|
|
28
|
-
__metadata("design:type", String)
|
|
29
|
-
], AttributesShareRequest.prototype, "key", void 0);
|
|
30
|
-
__decorate([
|
|
31
|
-
(0, ts_serval_1.serialize)(),
|
|
32
|
-
(0, ts_serval_1.validate)({ nullable: true }),
|
|
33
|
-
__metadata("design:type", String)
|
|
34
|
-
], AttributesShareRequest.prototype, "reason", void 0);
|
|
35
|
-
__decorate([
|
|
36
|
-
(0, ts_serval_1.serialize)(),
|
|
37
|
-
(0, ts_serval_1.validate)({ nullable: true }),
|
|
38
|
-
__metadata("design:type", transport_1.CoreDate)
|
|
39
|
-
], AttributesShareRequest.prototype, "expiresAt", void 0);
|
|
40
|
-
__decorate([
|
|
41
|
-
(0, ts_serval_1.serialize)(),
|
|
42
|
-
(0, ts_serval_1.validate)({ nullable: true }),
|
|
43
|
-
__metadata("design:type", String)
|
|
44
|
-
], AttributesShareRequest.prototype, "impact", void 0);
|
|
45
|
-
__decorate([
|
|
46
|
-
(0, ts_serval_1.serialize)({ type: String }),
|
|
47
|
-
(0, ts_serval_1.validate)(),
|
|
48
|
-
__metadata("design:type", Array)
|
|
49
|
-
], AttributesShareRequest.prototype, "attributes", void 0);
|
|
50
|
-
__decorate([
|
|
51
|
-
(0, ts_serval_1.serialize)({ type: transport_1.CoreAddress }),
|
|
52
|
-
(0, ts_serval_1.validate)(),
|
|
53
|
-
__metadata("design:type", Array)
|
|
54
|
-
], AttributesShareRequest.prototype, "recipients", void 0);
|
|
55
|
-
AttributesShareRequest = __decorate([
|
|
56
|
-
(0, ts_serval_1.type)("AttributesShareRequest")
|
|
57
|
-
], AttributesShareRequest);
|
|
58
|
-
exports.AttributesShareRequest = AttributesShareRequest;
|
|
59
|
-
//# sourceMappingURL=AttributesShareRequest.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"AttributesShareRequest.js","sourceRoot":"","sources":["../../../src/requests/old/AttributesShareRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAA2F;AAC3F,gDAAkG;AAgD3F,IAAM,sBAAsB,GAA5B,MAAM,sBAAuB,SAAQ,wBAAY;IA6B7C,MAAM,CAAC,IAAI,CACd,KAA0E;QAE1E,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAA;IAC9B,CAAC;CACJ,CAAA;AAjCG;IAAC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;8BACjB,kBAAM;kDAAA;AAElB;IAAC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;mDACV;AAEnB;IAAC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;sDACP;AAEtB;IAAC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;8BACV,oBAAQ;yDAAA;AAE3B;IAAC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;sDACP;AAEtB;IAAC,IAAA,qBAAS,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;IAC3B,IAAA,oBAAQ,GAAE;;0DACgB;AAE3B;IAAC,IAAA,qBAAS,EAAC,EAAE,IAAI,EAAE,uBAAW,EAAE,CAAC;IAChC,IAAA,oBAAQ,GAAE;;0DACqB;AA3BvB,sBAAsB;IADlC,IAAA,gBAAI,EAAC,wBAAwB,CAAC;GAClB,sBAAsB,CAkClC;AAlCY,wDAAsB"}
|