@nmshd/content 2.3.2 → 2.3.4
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/IQLQuery.d.ts +13 -0
- package/dist/attributes/IQLQuery.js +64 -0
- package/dist/attributes/IQLQuery.js.map +1 -0
- package/dist/attributes/index.d.ts +3 -2
- package/dist/attributes/index.js +3 -2
- package/dist/attributes/index.js.map +1 -1
- package/dist/buildInformation.js +5 -5
- package/dist/requests/items/proposeAttribute/ProposeAttributeRequestItem.d.ts +4 -4
- package/dist/requests/items/proposeAttribute/ProposeAttributeRequestItem.js +5 -3
- package/dist/requests/items/proposeAttribute/ProposeAttributeRequestItem.js.map +1 -1
- package/dist/requests/items/readAttribute/ReadAttributeRequestItem.d.ts +4 -4
- package/dist/requests/items/readAttribute/ReadAttributeRequestItem.js +1 -1
- package/dist/requests/items/readAttribute/ReadAttributeRequestItem.js.map +1 -1
- package/lib-web/nmshd.content.js +1719 -36
- package/lib-web/nmshd.content.min.js +1 -1
- package/package.json +17 -15
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { AbstractAttributeQuery, AbstractAttributeQueryJSON, IAbstractAttributeQuery } from "./AbstractAttributeQuery";
|
|
2
|
+
export interface IQLQueryJSON extends AbstractAttributeQueryJSON {
|
|
3
|
+
"@type": "IQLQuery";
|
|
4
|
+
queryString: string;
|
|
5
|
+
}
|
|
6
|
+
export interface IIQLQuery extends IAbstractAttributeQuery {
|
|
7
|
+
queryString: string;
|
|
8
|
+
}
|
|
9
|
+
export declare class IQLQuery extends AbstractAttributeQuery implements IIQLQuery {
|
|
10
|
+
queryString: string;
|
|
11
|
+
static from(value: IIQLQuery | Omit<IQLQueryJSON, "@type">): IQLQuery;
|
|
12
|
+
toJSON(verbose?: boolean | undefined, serializeAsString?: boolean | undefined): IQLQueryJSON;
|
|
13
|
+
}
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
19
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
20
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
21
|
+
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;
|
|
22
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
23
|
+
};
|
|
24
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
25
|
+
if (mod && mod.__esModule) return mod;
|
|
26
|
+
var result = {};
|
|
27
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
28
|
+
__setModuleDefault(result, mod);
|
|
29
|
+
return result;
|
|
30
|
+
};
|
|
31
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
32
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
33
|
+
};
|
|
34
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
35
|
+
exports.IQLQuery = void 0;
|
|
36
|
+
const ts_serval_1 = require("@js-soft/ts-serval");
|
|
37
|
+
const Iql = __importStar(require("@nmshd/iql"));
|
|
38
|
+
const AbstractAttributeQuery_1 = require("./AbstractAttributeQuery");
|
|
39
|
+
let IQLQuery = class IQLQuery extends AbstractAttributeQuery_1.AbstractAttributeQuery {
|
|
40
|
+
static from(value) {
|
|
41
|
+
return this.fromAny(value);
|
|
42
|
+
}
|
|
43
|
+
toJSON(verbose, serializeAsString) {
|
|
44
|
+
return super.toJSON(verbose, serializeAsString);
|
|
45
|
+
}
|
|
46
|
+
};
|
|
47
|
+
__decorate([
|
|
48
|
+
(0, ts_serval_1.serialize)(),
|
|
49
|
+
(0, ts_serval_1.validate)({
|
|
50
|
+
max: 4096,
|
|
51
|
+
customValidator: (v) => {
|
|
52
|
+
const result = Iql.validate(v);
|
|
53
|
+
return !result.isValid
|
|
54
|
+
? `invalid IQL query at character offset ${result.error?.location.start.column}`
|
|
55
|
+
: undefined;
|
|
56
|
+
}
|
|
57
|
+
}),
|
|
58
|
+
__metadata("design:type", String)
|
|
59
|
+
], IQLQuery.prototype, "queryString", void 0);
|
|
60
|
+
IQLQuery = __decorate([
|
|
61
|
+
(0, ts_serval_1.type)("IQLQuery")
|
|
62
|
+
], IQLQuery);
|
|
63
|
+
exports.IQLQuery = IQLQuery;
|
|
64
|
+
//# sourceMappingURL=IQLQuery.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IQLQuery.js","sourceRoot":"","sources":["../../src/attributes/IQLQuery.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,kDAA8D;AAC9D,gDAAiC;AACjC,qEAAsH;AAW/G,IAAM,QAAQ,GAAd,MAAM,QAAS,SAAQ,+CAAsB;IAazC,MAAM,CAAC,IAAI,CAAC,KAA8C;QAC7D,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,CAAiB,CAAA;IACnE,CAAC;CACJ,CAAA;AAnBG;IAAC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC;QACN,GAAG,EAAE,IAAI;QACT,eAAe,EAAE,CAAC,CAAC,EAAE,EAAE;YACnB,MAAM,MAAM,GAAG,GAAG,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAA;YAC9B,OAAO,CAAC,MAAM,CAAC,OAAO;gBAClB,CAAC,CAAC,yCAAyC,MAAM,CAAC,KAAK,EAAE,QAAQ,CAAC,KAAK,CAAC,MAAM,EAAE;gBAChF,CAAC,CAAC,SAAS,CAAA;QACnB,CAAC;KACJ,CAAC;;6CACwB;AAXjB,QAAQ;IADpB,IAAA,gBAAI,EAAC,UAAU,CAAC;GACJ,QAAQ,CAoBpB;AApBY,4BAAQ"}
|
|
@@ -3,12 +3,13 @@ export * from "./AbstractAttributeQuery";
|
|
|
3
3
|
export * from "./AbstractAttributeValue";
|
|
4
4
|
export * from "./AbstractComplexValue";
|
|
5
5
|
export * from "./AttributeValueTypes";
|
|
6
|
-
export * from "./
|
|
7
|
-
export * from "./hints";
|
|
6
|
+
export * from "./IQLQuery";
|
|
8
7
|
export * from "./IdentityAttribute";
|
|
9
8
|
export * from "./IdentityAttributeQuery";
|
|
10
9
|
export * from "./RelationshipAttribute";
|
|
11
10
|
export * from "./RelationshipAttributeConfidentiality";
|
|
12
11
|
export * from "./RelationshipAttributeQuery";
|
|
13
12
|
export * from "./ThirdPartyRelationshipAttributeQuery";
|
|
13
|
+
export * from "./constants";
|
|
14
|
+
export * from "./hints";
|
|
14
15
|
export * from "./types";
|
package/dist/attributes/index.js
CHANGED
|
@@ -19,13 +19,14 @@ __exportStar(require("./AbstractAttributeQuery"), exports);
|
|
|
19
19
|
__exportStar(require("./AbstractAttributeValue"), exports);
|
|
20
20
|
__exportStar(require("./AbstractComplexValue"), exports);
|
|
21
21
|
__exportStar(require("./AttributeValueTypes"), exports);
|
|
22
|
-
__exportStar(require("./
|
|
23
|
-
__exportStar(require("./hints"), exports);
|
|
22
|
+
__exportStar(require("./IQLQuery"), exports);
|
|
24
23
|
__exportStar(require("./IdentityAttribute"), exports);
|
|
25
24
|
__exportStar(require("./IdentityAttributeQuery"), exports);
|
|
26
25
|
__exportStar(require("./RelationshipAttribute"), exports);
|
|
27
26
|
__exportStar(require("./RelationshipAttributeConfidentiality"), exports);
|
|
28
27
|
__exportStar(require("./RelationshipAttributeQuery"), exports);
|
|
29
28
|
__exportStar(require("./ThirdPartyRelationshipAttributeQuery"), exports);
|
|
29
|
+
__exportStar(require("./constants"), exports);
|
|
30
|
+
__exportStar(require("./hints"), exports);
|
|
30
31
|
__exportStar(require("./types"), exports);
|
|
31
32
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/attributes/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,sDAAmC;AACnC,2DAAwC;AACxC,2DAAwC;AACxC,yDAAsC;AACtC,wDAAqC;AACrC,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/attributes/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,sDAAmC;AACnC,2DAAwC;AACxC,2DAAwC;AACxC,yDAAsC;AACtC,wDAAqC;AACrC,6CAA0B;AAC1B,sDAAmC;AACnC,2DAAwC;AACxC,0DAAuC;AACvC,yEAAsD;AACtD,+DAA4C;AAC5C,yEAAsD;AACtD,8CAA2B;AAC3B,0CAAuB;AACvB,0CAAuB"}
|
package/dist/buildInformation.js
CHANGED
|
@@ -5,11 +5,11 @@ 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.3.
|
|
9
|
-
build: "
|
|
10
|
-
date: "2023-
|
|
11
|
-
commit: "
|
|
12
|
-
dependencies: {"@js-soft/logging-abstractions":"^1.0.0","easy-tsnameof":"^3.0.6","mocha-param":"^2.0.1"},
|
|
8
|
+
version: "2.3.4",
|
|
9
|
+
build: "133",
|
|
10
|
+
date: "2023-07-11T09:29:28+00:00",
|
|
11
|
+
commit: "a49345a45fb570dad40eff05c82ebbeebec6cdfe",
|
|
12
|
+
dependencies: {"@js-soft/logging-abstractions":"^1.0.0","@nmshd/iql":"^0.0.1","easy-tsnameof":"^3.0.6","mocha-param":"^2.0.1"},
|
|
13
13
|
libraries: {
|
|
14
14
|
serval: ts_serval_1.buildInformation,
|
|
15
15
|
crypto: crypto_1.buildInformation,
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { Serializable } from "@js-soft/ts-serval";
|
|
2
|
-
import { IdentityAttribute, IdentityAttributeJSON, IdentityAttributeQuery, IdentityAttributeQueryJSON, IIdentityAttribute, IIdentityAttributeQuery, IRelationshipAttribute, IRelationshipAttributeQuery, RelationshipAttribute, RelationshipAttributeJSON, RelationshipAttributeQuery, RelationshipAttributeQueryJSON } from "../../../attributes";
|
|
2
|
+
import { IdentityAttribute, IdentityAttributeJSON, IdentityAttributeQuery, IdentityAttributeQueryJSON, IIdentityAttribute, IIdentityAttributeQuery, IIQLQuery, IQLQuery, IQLQueryJSON, IRelationshipAttribute, IRelationshipAttributeQuery, RelationshipAttribute, RelationshipAttributeJSON, RelationshipAttributeQuery, RelationshipAttributeQueryJSON } from "../../../attributes";
|
|
3
3
|
import { IRequestItem, RequestItem, RequestItemJSON } from "../../RequestItem";
|
|
4
4
|
export interface ProposeAttributeRequestItemJSON extends RequestItemJSON {
|
|
5
5
|
"@type": "ProposeAttributeRequestItem";
|
|
6
|
-
query: IdentityAttributeQueryJSON | RelationshipAttributeQueryJSON;
|
|
6
|
+
query: IdentityAttributeQueryJSON | RelationshipAttributeQueryJSON | IQLQueryJSON;
|
|
7
7
|
attribute: IdentityAttributeJSON | RelationshipAttributeJSON;
|
|
8
8
|
}
|
|
9
9
|
export interface IProposeAttributeRequestItem extends IRequestItem {
|
|
10
|
-
query: IIdentityAttributeQuery | IRelationshipAttributeQuery;
|
|
10
|
+
query: IIdentityAttributeQuery | IRelationshipAttributeQuery | IIQLQuery;
|
|
11
11
|
attribute: IIdentityAttribute | IRelationshipAttribute;
|
|
12
12
|
}
|
|
13
13
|
export declare class ProposeAttributeRequestItem extends RequestItem implements IProposeAttributeRequestItem {
|
|
14
|
-
query: IdentityAttributeQuery | RelationshipAttributeQuery;
|
|
14
|
+
query: IdentityAttributeQuery | RelationshipAttributeQuery | IQLQuery;
|
|
15
15
|
attribute: IdentityAttribute | RelationshipAttribute;
|
|
16
16
|
static from(value: IProposeAttributeRequestItem | Omit<ProposeAttributeRequestItemJSON, "@type">): ProposeAttributeRequestItem;
|
|
17
17
|
protected static postFrom<T extends Serializable>(value: T): T;
|
|
@@ -29,11 +29,13 @@ let ProposeAttributeRequestItem = ProposeAttributeRequestItem_1 = class ProposeA
|
|
|
29
29
|
throw new ts_serval_1.ValidationError(ProposeAttributeRequestItem_1.name, `${(0, ts_simple_nameof_1.nameof)((x) => x.query)}.${(0, ts_simple_nameof_1.nameof)((x) => x.valueType)}`, `You cannot propose an Attribute whose type of the value ('${attributeValueType}') is different from the value type of the query ('${queryValueType}').`);
|
|
30
30
|
}
|
|
31
31
|
}
|
|
32
|
+
// IQL queries might also be possible for Relationship Attributes in the future
|
|
32
33
|
if (value.attribute instanceof attributes_1.RelationshipAttribute && !(value.query instanceof attributes_1.RelationshipAttributeQuery)) {
|
|
33
34
|
throw new ts_serval_1.ValidationError(ProposeAttributeRequestItem_1.name, "", "When proposing a RelationshipAttribute, the corresponding query has to be a RelationshipAttributeQuery.");
|
|
34
35
|
}
|
|
35
|
-
if (value.attribute instanceof attributes_1.IdentityAttribute &&
|
|
36
|
-
|
|
36
|
+
if (value.attribute instanceof attributes_1.IdentityAttribute &&
|
|
37
|
+
!(value.query instanceof attributes_1.IdentityAttributeQuery || value.query instanceof attributes_1.IQLQuery)) {
|
|
38
|
+
throw new ts_serval_1.ValidationError(ProposeAttributeRequestItem_1.name, "", "When proposing an IdentityAttribute, the corresponding query has to be a IdentityAttributeQuery or IQLQuery");
|
|
37
39
|
}
|
|
38
40
|
return value;
|
|
39
41
|
}
|
|
@@ -42,7 +44,7 @@ let ProposeAttributeRequestItem = ProposeAttributeRequestItem_1 = class ProposeA
|
|
|
42
44
|
}
|
|
43
45
|
};
|
|
44
46
|
__decorate([
|
|
45
|
-
(0, ts_serval_1.serialize)({ unionTypes: [attributes_1.IdentityAttributeQuery, attributes_1.RelationshipAttributeQuery] }),
|
|
47
|
+
(0, ts_serval_1.serialize)({ unionTypes: [attributes_1.IdentityAttributeQuery, attributes_1.RelationshipAttributeQuery, attributes_1.IQLQuery] }),
|
|
46
48
|
(0, ts_serval_1.validate)(),
|
|
47
49
|
__metadata("design:type", Object)
|
|
48
50
|
], ProposeAttributeRequestItem.prototype, "query", void 0);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ProposeAttributeRequestItem.js","sourceRoot":"","sources":["../../../../src/requests/items/proposeAttribute/ProposeAttributeRequestItem.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,kDAA6F;AAC7F,uDAAyC;AACzC,
|
|
1
|
+
{"version":3,"file":"ProposeAttributeRequestItem.js","sourceRoot":"","sources":["../../../../src/requests/items/proposeAttribute/ProposeAttributeRequestItem.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,kDAA6F;AAC7F,uDAAyC;AACzC,oDAgB4B;AAC5B,mDAA8E;AAcvE,IAAM,2BAA2B,mCAAjC,MAAM,2BAA4B,SAAQ,yBAAW;IASjD,MAAM,CAAC,IAAI,CACd,KAAoF;QAEpF,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAA;IAC9B,CAAC;IAES,MAAM,CAAU,QAAQ,CAAyB,KAAQ;QAC/D,IAAI,CAAC,CAAC,KAAK,YAAY,6BAA2B,CAAC;YAAE,MAAM,IAAI,KAAK,CAAC,0BAA0B,CAAC,CAAA;QAEhG,IAAI,KAAK,CAAC,KAAK,YAAY,mCAAsB,EAAE;YAC/C,MAAM,kBAAkB,GAAI,KAAK,CAAC,SAAS,CAAC,KAAK,CAAC,MAAM,EAAU,CAAC,OAAO,CAAC,CAAA;YAC3E,MAAM,cAAc,GAAG,KAAK,CAAC,KAAK,CAAC,SAAS,CAAA;YAE5C,IAAI,kBAAkB,KAAK,cAAc,EAAE;gBACvC,MAAM,IAAI,2BAAe,CACrB,6BAA2B,CAAC,IAAI,EAChC,GAAG,IAAA,yBAAM,EAA8B,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,KAAK,CAAC,IAAI,IAAA,yBAAM,EAC5D,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,SAAS,CACrB,EAAE,EACH,6DAA6D,kBAAkB,sDAAsD,cAAc,KAAK,CAC3J,CAAA;aACJ;SACJ;QAED,+EAA+E;QAC/E,IAAI,KAAK,CAAC,SAAS,YAAY,kCAAqB,IAAI,CAAC,CAAC,KAAK,CAAC,KAAK,YAAY,uCAA0B,CAAC,EAAE;YAC1G,MAAM,IAAI,2BAAe,CACrB,6BAA2B,CAAC,IAAI,EAChC,EAAE,EACF,yGAAyG,CAC5G,CAAA;SACJ;QAED,IACI,KAAK,CAAC,SAAS,YAAY,8BAAiB;YAC5C,CAAC,CAAC,KAAK,CAAC,KAAK,YAAY,mCAAsB,IAAI,KAAK,CAAC,KAAK,YAAY,qBAAQ,CAAC,EACrF;YACE,MAAM,IAAI,2BAAe,CACrB,6BAA2B,CAAC,IAAI,EAChC,EAAE,EACF,6GAA6G,CAChH,CAAA;SACJ;QAED,OAAO,KAAK,CAAA;IAChB,CAAC;IAEe,MAAM,CAClB,OAA6B,EAC7B,iBAAuC;QAEvC,OAAO,KAAK,CAAC,MAAM,CAAC,OAAO,EAAE,iBAAiB,CAAoC,CAAA;IACtF,CAAC;CACJ,CAAA;AA7DG;IAAC,IAAA,qBAAS,EAAC,EAAE,UAAU,EAAE,CAAC,mCAAsB,EAAE,uCAA0B,EAAE,qBAAQ,CAAC,EAAE,CAAC;IACzF,IAAA,oBAAQ,GAAE;;0DACiE;AAE5E;IAAC,IAAA,qBAAS,EAAC,EAAE,UAAU,EAAE,CAAC,8BAAiB,EAAE,kCAAqB,CAAC,EAAE,CAAC;IACrE,IAAA,oBAAQ,GAAE;;8DACgD;AAPlD,2BAA2B;IADvC,IAAA,gBAAI,EAAC,6BAA6B,CAAC;GACvB,2BAA2B,CA8DvC;AA9DY,kEAA2B"}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { IIQLQuery, IIdentityAttributeQuery, IQLQuery, IQLQueryJSON, IRelationshipAttributeQuery, IThirdPartyRelationshipAttributeQuery, IdentityAttributeQuery, IdentityAttributeQueryJSON, RelationshipAttributeQuery, RelationshipAttributeQueryJSON, ThirdPartyRelationshipAttributeQuery, ThirdPartyRelationshipAttributeQueryJSON } from "../../../attributes";
|
|
2
2
|
import { IRequestItem, RequestItem, RequestItemJSON } from "../../RequestItem";
|
|
3
3
|
export interface ReadAttributeRequestItemJSON extends RequestItemJSON {
|
|
4
4
|
"@type": "ReadAttributeRequestItem";
|
|
5
|
-
query: IdentityAttributeQueryJSON | RelationshipAttributeQueryJSON | ThirdPartyRelationshipAttributeQueryJSON;
|
|
5
|
+
query: IdentityAttributeQueryJSON | RelationshipAttributeQueryJSON | ThirdPartyRelationshipAttributeQueryJSON | IQLQueryJSON;
|
|
6
6
|
}
|
|
7
7
|
export interface IReadAttributeRequestItem extends IRequestItem {
|
|
8
|
-
query: IIdentityAttributeQuery | IRelationshipAttributeQuery | IThirdPartyRelationshipAttributeQuery;
|
|
8
|
+
query: IIdentityAttributeQuery | IRelationshipAttributeQuery | IThirdPartyRelationshipAttributeQuery | IIQLQuery;
|
|
9
9
|
}
|
|
10
10
|
export declare class ReadAttributeRequestItem extends RequestItem implements IReadAttributeRequestItem {
|
|
11
|
-
query: IdentityAttributeQuery | RelationshipAttributeQuery | ThirdPartyRelationshipAttributeQuery;
|
|
11
|
+
query: IdentityAttributeQuery | RelationshipAttributeQuery | ThirdPartyRelationshipAttributeQuery | IQLQuery;
|
|
12
12
|
static from(value: IReadAttributeRequestItem | Omit<ReadAttributeRequestItemJSON, "@type">): ReadAttributeRequestItem;
|
|
13
13
|
}
|
|
@@ -20,7 +20,7 @@ let ReadAttributeRequestItem = class ReadAttributeRequestItem extends RequestIte
|
|
|
20
20
|
};
|
|
21
21
|
__decorate([
|
|
22
22
|
(0, ts_serval_1.serialize)({
|
|
23
|
-
unionTypes: [attributes_1.IdentityAttributeQuery, attributes_1.RelationshipAttributeQuery, attributes_1.ThirdPartyRelationshipAttributeQuery]
|
|
23
|
+
unionTypes: [attributes_1.IdentityAttributeQuery, attributes_1.RelationshipAttributeQuery, attributes_1.ThirdPartyRelationshipAttributeQuery, attributes_1.IQLQuery]
|
|
24
24
|
}),
|
|
25
25
|
(0, ts_serval_1.validate)(),
|
|
26
26
|
__metadata("design:type", Object)
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ReadAttributeRequestItem.js","sourceRoot":"","sources":["../../../../src/requests/items/readAttribute/ReadAttributeRequestItem.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAA8D;AAC9D,
|
|
1
|
+
{"version":3,"file":"ReadAttributeRequestItem.js","sourceRoot":"","sources":["../../../../src/requests/items/readAttribute/ReadAttributeRequestItem.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAA8D;AAC9D,oDAa4B;AAC5B,mDAA8E;AAgBvE,IAAM,wBAAwB,GAA9B,MAAM,wBAAyB,SAAQ,yBAAW;IAO9C,MAAM,CAAC,IAAI,CACd,KAA8E;QAE9E,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAA;IAC9B,CAAC;CACJ,CAAA;AAXG;IAAC,IAAA,qBAAS,EAAC;QACP,UAAU,EAAE,CAAC,mCAAsB,EAAE,uCAA0B,EAAE,iDAAoC,EAAE,qBAAQ,CAAC;KACnH,CAAC;IACD,IAAA,oBAAQ,GAAE;;uDACwG;AAL1G,wBAAwB;IADpC,IAAA,gBAAI,EAAC,0BAA0B,CAAC;GACpB,wBAAwB,CAYpC;AAZY,4DAAwB"}
|