@sitecore/sc-contenthub-webclient-sdk 1.2.93 → 1.2.96
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/contracts/index.d.ts +1 -25
- package/dist/contracts/index.js +1 -25
- package/dist/contracts/index.js.map +1 -1
- package/dist/contracts/querying/index.d.ts +39 -0
- package/dist/contracts/querying/index.js +56 -0
- package/dist/contracts/querying/index.js.map +1 -0
- package/dist/contracts/querying/search/index.d.ts +28 -0
- package/dist/contracts/querying/search/index.js +45 -0
- package/dist/contracts/querying/search/index.js.map +1 -0
- package/dist/models/search/field-filter-response-resource.js +2 -0
- package/dist/models/search/field-filter-response-resource.js.map +1 -1
- package/dist/models/search/filter-operator-converter.d.ts +6 -0
- package/dist/models/search/filter-operator-converter.js +14 -0
- package/dist/models/search/filter-operator-converter.js.map +1 -0
- package/esm/contracts/index.d.ts +1 -25
- package/esm/contracts/index.js +1 -25
- package/esm/contracts/index.js.map +1 -1
- package/esm/contracts/querying/index.d.ts +39 -0
- package/esm/contracts/querying/index.js +40 -0
- package/esm/contracts/querying/index.js.map +1 -0
- package/esm/contracts/querying/search/index.d.ts +28 -0
- package/esm/contracts/querying/search/index.js +29 -0
- package/esm/contracts/querying/search/index.js.map +1 -0
- package/esm/models/search/field-filter-response-resource.js +3 -1
- package/esm/models/search/field-filter-response-resource.js.map +1 -1
- package/esm/models/search/filter-operator-converter.d.ts +6 -0
- package/esm/models/search/filter-operator-converter.js +10 -0
- package/esm/models/search/filter-operator-converter.js.map +1 -0
- package/package.json +1 -1
|
@@ -10,31 +10,7 @@ export * from "./policies/rule";
|
|
|
10
10
|
export * from "./policies/rule-type";
|
|
11
11
|
export * from "./policies/user-group-policy";
|
|
12
12
|
export * from "./policies/user-policy";
|
|
13
|
-
export * from "./querying
|
|
14
|
-
export * from "./querying/entity-definition-id-iterator";
|
|
15
|
-
export * from "./querying/entity-definition-id-query-result";
|
|
16
|
-
export * from "./querying/entity-definition-iterator";
|
|
17
|
-
export * from "./querying/entity-definition-query-result";
|
|
18
|
-
export * from "./querying/entity-iterator";
|
|
19
|
-
export * from "./querying/entity-load-configuration";
|
|
20
|
-
export * from "./querying/entity-load-option";
|
|
21
|
-
export * from "./querying/entity-query-result";
|
|
22
|
-
export * from "./querying/filters/index";
|
|
23
|
-
export * from "./querying/load-options";
|
|
24
|
-
export * from "./querying/member-load-option";
|
|
25
|
-
export * from "./querying/minimal-schema";
|
|
26
|
-
export * from "./querying/property-data";
|
|
27
|
-
export * from "./querying/property-load-option";
|
|
28
|
-
export * from "./querying/query";
|
|
29
|
-
export * from "./querying/query-load-configuration";
|
|
30
|
-
export * from "./querying/query-request";
|
|
31
|
-
export * from "./querying/query-sort-order";
|
|
32
|
-
export * from "./querying/relation-data";
|
|
33
|
-
export * from "./querying/relation-load-option";
|
|
34
|
-
export * from "./querying/relation-specification";
|
|
35
|
-
export * from "./querying/scroll-request";
|
|
36
|
-
export * from "./querying/sort-field-type";
|
|
37
|
-
export * from "./querying/sorting";
|
|
13
|
+
export * from "./querying";
|
|
38
14
|
export * from "./upload/upload-source";
|
|
39
15
|
export * from "./users/user";
|
|
40
16
|
export * from "./users/user-group-combine-method";
|
package/dist/contracts/index.js
CHANGED
|
@@ -26,31 +26,7 @@ __exportStar(require("./policies/rule"), exports);
|
|
|
26
26
|
__exportStar(require("./policies/rule-type"), exports);
|
|
27
27
|
__exportStar(require("./policies/user-group-policy"), exports);
|
|
28
28
|
__exportStar(require("./policies/user-policy"), exports);
|
|
29
|
-
__exportStar(require("./querying
|
|
30
|
-
__exportStar(require("./querying/entity-definition-id-iterator"), exports);
|
|
31
|
-
__exportStar(require("./querying/entity-definition-id-query-result"), exports);
|
|
32
|
-
__exportStar(require("./querying/entity-definition-iterator"), exports);
|
|
33
|
-
__exportStar(require("./querying/entity-definition-query-result"), exports);
|
|
34
|
-
__exportStar(require("./querying/entity-iterator"), exports);
|
|
35
|
-
__exportStar(require("./querying/entity-load-configuration"), exports);
|
|
36
|
-
__exportStar(require("./querying/entity-load-option"), exports);
|
|
37
|
-
__exportStar(require("./querying/entity-query-result"), exports);
|
|
38
|
-
__exportStar(require("./querying/filters/index"), exports);
|
|
39
|
-
__exportStar(require("./querying/load-options"), exports);
|
|
40
|
-
__exportStar(require("./querying/member-load-option"), exports);
|
|
41
|
-
__exportStar(require("./querying/minimal-schema"), exports);
|
|
42
|
-
__exportStar(require("./querying/property-data"), exports);
|
|
43
|
-
__exportStar(require("./querying/property-load-option"), exports);
|
|
44
|
-
__exportStar(require("./querying/query"), exports);
|
|
45
|
-
__exportStar(require("./querying/query-load-configuration"), exports);
|
|
46
|
-
__exportStar(require("./querying/query-request"), exports);
|
|
47
|
-
__exportStar(require("./querying/query-sort-order"), exports);
|
|
48
|
-
__exportStar(require("./querying/relation-data"), exports);
|
|
49
|
-
__exportStar(require("./querying/relation-load-option"), exports);
|
|
50
|
-
__exportStar(require("./querying/relation-specification"), exports);
|
|
51
|
-
__exportStar(require("./querying/scroll-request"), exports);
|
|
52
|
-
__exportStar(require("./querying/sort-field-type"), exports);
|
|
53
|
-
__exportStar(require("./querying/sorting"), exports);
|
|
29
|
+
__exportStar(require("./querying"), exports);
|
|
54
30
|
__exportStar(require("./upload/upload-source"), exports);
|
|
55
31
|
__exportStar(require("./users/user"), exports);
|
|
56
32
|
__exportStar(require("./users/user-group-combine-method"), exports);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/contracts/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,yCAAuB;AACvB,kDAAgC;AAChC,oEAAkD;AAClD,kEAAgD;AAChD,gEAA8C;AAC9C,uDAAqC;AACrC,2DAAyC;AACzC,oDAAkC;AAClC,kDAAgC;AAChC,uDAAqC;AACrC,+DAA6C;AAC7C,yDAAuC;AACvC,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/contracts/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,yCAAuB;AACvB,kDAAgC;AAChC,oEAAkD;AAClD,kEAAgD;AAChD,gEAA8C;AAC9C,uDAAqC;AACrC,2DAAyC;AACzC,oDAAkC;AAClC,kDAAgC;AAChC,uDAAqC;AACrC,+DAA6C;AAC7C,yDAAuC;AACvC,6CAA2B;AAC3B,yDAAuC;AACvC,+CAA6B;AAC7B,oEAAkD;AAClD,mEAAiD"}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
export * from "./culture-load-option";
|
|
2
|
+
export * from "./entity-definition-id-iterator";
|
|
3
|
+
export * from "./entity-definition-id-query-result";
|
|
4
|
+
export * from "./entity-definition-iterator";
|
|
5
|
+
export * from "./entity-definition-query-result";
|
|
6
|
+
export * from "./entity-iterator";
|
|
7
|
+
export * from "./entity-load-configuration";
|
|
8
|
+
export * from "./entity-load-configuration-builder";
|
|
9
|
+
export * from "./entity-load-option";
|
|
10
|
+
export * from "./entity-query-result";
|
|
11
|
+
export * from "./entity-search-after-result";
|
|
12
|
+
export * from "./filters";
|
|
13
|
+
export * from "./id-iterator";
|
|
14
|
+
export * from "./id-query-result";
|
|
15
|
+
export * from "./iterator";
|
|
16
|
+
export * from "./load-option";
|
|
17
|
+
export * from "./load-options";
|
|
18
|
+
export * from "./loading-query-iterator";
|
|
19
|
+
export * from "./member-load-option";
|
|
20
|
+
export * from "./minimal-schema";
|
|
21
|
+
export * from "./property-data";
|
|
22
|
+
export * from "./property-load-option";
|
|
23
|
+
export * from "./query";
|
|
24
|
+
export * from "./query-iterator";
|
|
25
|
+
export * from "./query-load-configuration";
|
|
26
|
+
export * from "./query-request";
|
|
27
|
+
export * from "./query-result";
|
|
28
|
+
export * from "./query-result-paging-manager";
|
|
29
|
+
export * from "./query-sort-order";
|
|
30
|
+
export * from "./relation-data";
|
|
31
|
+
export * from "./relation-load-option";
|
|
32
|
+
export * from "./relation-specification";
|
|
33
|
+
export * from "./scroll-request";
|
|
34
|
+
export * from "./search";
|
|
35
|
+
export * from "./search-after-query";
|
|
36
|
+
export * from "./search-after-result";
|
|
37
|
+
export * from "./skip-take-iterator-base";
|
|
38
|
+
export * from "./sort-field-type";
|
|
39
|
+
export * from "./sorting";
|
|
@@ -0,0 +1,56 @@
|
|
|
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 __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./culture-load-option"), exports);
|
|
18
|
+
__exportStar(require("./entity-definition-id-iterator"), exports);
|
|
19
|
+
__exportStar(require("./entity-definition-id-query-result"), exports);
|
|
20
|
+
__exportStar(require("./entity-definition-iterator"), exports);
|
|
21
|
+
__exportStar(require("./entity-definition-query-result"), exports);
|
|
22
|
+
__exportStar(require("./entity-iterator"), exports);
|
|
23
|
+
__exportStar(require("./entity-load-configuration"), exports);
|
|
24
|
+
__exportStar(require("./entity-load-configuration-builder"), exports);
|
|
25
|
+
__exportStar(require("./entity-load-option"), exports);
|
|
26
|
+
__exportStar(require("./entity-query-result"), exports);
|
|
27
|
+
__exportStar(require("./entity-search-after-result"), exports);
|
|
28
|
+
__exportStar(require("./filters"), exports);
|
|
29
|
+
__exportStar(require("./id-iterator"), exports);
|
|
30
|
+
__exportStar(require("./id-query-result"), exports);
|
|
31
|
+
__exportStar(require("./iterator"), exports);
|
|
32
|
+
__exportStar(require("./load-option"), exports);
|
|
33
|
+
__exportStar(require("./load-options"), exports);
|
|
34
|
+
__exportStar(require("./loading-query-iterator"), exports);
|
|
35
|
+
__exportStar(require("./member-load-option"), exports);
|
|
36
|
+
__exportStar(require("./minimal-schema"), exports);
|
|
37
|
+
__exportStar(require("./property-data"), exports);
|
|
38
|
+
__exportStar(require("./property-load-option"), exports);
|
|
39
|
+
__exportStar(require("./query"), exports);
|
|
40
|
+
__exportStar(require("./query-iterator"), exports);
|
|
41
|
+
__exportStar(require("./query-load-configuration"), exports);
|
|
42
|
+
__exportStar(require("./query-request"), exports);
|
|
43
|
+
__exportStar(require("./query-result"), exports);
|
|
44
|
+
__exportStar(require("./query-result-paging-manager"), exports);
|
|
45
|
+
__exportStar(require("./query-sort-order"), exports);
|
|
46
|
+
__exportStar(require("./relation-data"), exports);
|
|
47
|
+
__exportStar(require("./relation-load-option"), exports);
|
|
48
|
+
__exportStar(require("./relation-specification"), exports);
|
|
49
|
+
__exportStar(require("./scroll-request"), exports);
|
|
50
|
+
__exportStar(require("./search"), exports);
|
|
51
|
+
__exportStar(require("./search-after-query"), exports);
|
|
52
|
+
__exportStar(require("./search-after-result"), exports);
|
|
53
|
+
__exportStar(require("./skip-take-iterator-base"), exports);
|
|
54
|
+
__exportStar(require("./sort-field-type"), exports);
|
|
55
|
+
__exportStar(require("./sorting"), exports);
|
|
56
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/contracts/querying/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,wDAAsC;AACtC,kEAAgD;AAChD,sEAAoD;AACpD,+DAA6C;AAC7C,mEAAiD;AACjD,oDAAkC;AAClC,8DAA4C;AAC5C,sEAAoD;AACpD,uDAAqC;AACrC,wDAAsC;AACtC,+DAA6C;AAC7C,4CAA0B;AAC1B,gDAA8B;AAC9B,oDAAkC;AAClC,6CAA2B;AAC3B,gDAA8B;AAC9B,iDAA+B;AAC/B,2DAAyC;AACzC,uDAAqC;AACrC,mDAAiC;AACjC,kDAAgC;AAChC,yDAAuC;AACvC,0CAAwB;AACxB,mDAAiC;AACjC,6DAA2C;AAC3C,kDAAgC;AAChC,iDAA+B;AAC/B,gEAA8C;AAC9C,qDAAmC;AACnC,kDAAgC;AAChC,yDAAuC;AACvC,2DAAyC;AACzC,mDAAiC;AACjC,2CAAyB;AACzB,uDAAqC;AACrC,wDAAsC;AACtC,4DAA0C;AAC1C,oDAAkC;AAClC,4CAA0B"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
export * from "./created-by-query-node-filter";
|
|
2
|
+
export * from "./definition-id-query-node-filter";
|
|
3
|
+
export * from "./definition-name-query-node-filter";
|
|
4
|
+
export * from "./full-text-query-node-filter";
|
|
5
|
+
export * from "./identifier-query-node-filter";
|
|
6
|
+
export * from "./idin-query-node-filter";
|
|
7
|
+
export * from "./locked-by-query-node-filter";
|
|
8
|
+
export * from "./locked-query-node-filter";
|
|
9
|
+
export * from "./logical-operator";
|
|
10
|
+
export * from "./logical-query-node-filter";
|
|
11
|
+
export * from "./modified-by-query-node-filter";
|
|
12
|
+
export * from "./negating-query-node-filter";
|
|
13
|
+
export * from "./path-root-query-node-filter";
|
|
14
|
+
export * from "./property-bool-query-node-filter";
|
|
15
|
+
export * from "./property-datetime-query-node-filter";
|
|
16
|
+
export * from "./property-datetimeoffset-query-node-filter";
|
|
17
|
+
export * from "./property-decimal-query-node-filter";
|
|
18
|
+
export * from "./property-int-query-node-filter";
|
|
19
|
+
export * from "./property-long-query-node-filter";
|
|
20
|
+
export * from "./property-query-node-filter";
|
|
21
|
+
export * from "./property-string-query-node-filter";
|
|
22
|
+
export * from "./query-node-filter";
|
|
23
|
+
export * from "./query-node-filter-operator";
|
|
24
|
+
export * from "./query-node-filter-type";
|
|
25
|
+
export * from "./relation-exists-query-node-filter";
|
|
26
|
+
export * from "./relation-query-node-filter";
|
|
27
|
+
export * from "./root-taxonomy-item-query-node-filter";
|
|
28
|
+
export * from "./selection-query-node-filter";
|
|
@@ -0,0 +1,45 @@
|
|
|
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 __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./created-by-query-node-filter"), exports);
|
|
18
|
+
__exportStar(require("./definition-id-query-node-filter"), exports);
|
|
19
|
+
__exportStar(require("./definition-name-query-node-filter"), exports);
|
|
20
|
+
__exportStar(require("./full-text-query-node-filter"), exports);
|
|
21
|
+
__exportStar(require("./identifier-query-node-filter"), exports);
|
|
22
|
+
__exportStar(require("./idin-query-node-filter"), exports);
|
|
23
|
+
__exportStar(require("./locked-by-query-node-filter"), exports);
|
|
24
|
+
__exportStar(require("./locked-query-node-filter"), exports);
|
|
25
|
+
__exportStar(require("./logical-operator"), exports);
|
|
26
|
+
__exportStar(require("./logical-query-node-filter"), exports);
|
|
27
|
+
__exportStar(require("./modified-by-query-node-filter"), exports);
|
|
28
|
+
__exportStar(require("./negating-query-node-filter"), exports);
|
|
29
|
+
__exportStar(require("./path-root-query-node-filter"), exports);
|
|
30
|
+
__exportStar(require("./property-bool-query-node-filter"), exports);
|
|
31
|
+
__exportStar(require("./property-datetime-query-node-filter"), exports);
|
|
32
|
+
__exportStar(require("./property-datetimeoffset-query-node-filter"), exports);
|
|
33
|
+
__exportStar(require("./property-decimal-query-node-filter"), exports);
|
|
34
|
+
__exportStar(require("./property-int-query-node-filter"), exports);
|
|
35
|
+
__exportStar(require("./property-long-query-node-filter"), exports);
|
|
36
|
+
__exportStar(require("./property-query-node-filter"), exports);
|
|
37
|
+
__exportStar(require("./property-string-query-node-filter"), exports);
|
|
38
|
+
__exportStar(require("./query-node-filter"), exports);
|
|
39
|
+
__exportStar(require("./query-node-filter-operator"), exports);
|
|
40
|
+
__exportStar(require("./query-node-filter-type"), exports);
|
|
41
|
+
__exportStar(require("./relation-exists-query-node-filter"), exports);
|
|
42
|
+
__exportStar(require("./relation-query-node-filter"), exports);
|
|
43
|
+
__exportStar(require("./root-taxonomy-item-query-node-filter"), exports);
|
|
44
|
+
__exportStar(require("./selection-query-node-filter"), exports);
|
|
45
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/contracts/querying/search/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,iEAA+C;AAC/C,oEAAkD;AAClD,sEAAoD;AACpD,gEAA8C;AAC9C,iEAA+C;AAC/C,2DAAyC;AACzC,gEAA8C;AAC9C,6DAA2C;AAC3C,qDAAmC;AACnC,8DAA4C;AAC5C,kEAAgD;AAChD,+DAA6C;AAC7C,gEAA8C;AAC9C,oEAAkD;AAClD,wEAAsD;AACtD,8EAA4D;AAC5D,uEAAqD;AACrD,mEAAiD;AACjD,oEAAkD;AAClD,+DAA6C;AAC7C,sEAAoD;AACpD,sDAAoC;AACpC,+DAA6C;AAC7C,2DAAyC;AACzC,sEAAoD;AACpD,+DAA6C;AAC7C,yEAAuD;AACvD,gEAA8C"}
|
|
@@ -13,6 +13,7 @@ exports.FieldFilterResponseResource = void 0;
|
|
|
13
13
|
const ta_json_1 = require("ta-json");
|
|
14
14
|
const field_filter_value_response_resource_1 = require("./field-filter-value-response-resource");
|
|
15
15
|
const filter_operator_1 = require("./filter-operator");
|
|
16
|
+
const filter_operator_converter_1 = require("./filter-operator-converter");
|
|
16
17
|
let FieldFilterResponseResource = class FieldFilterResponseResource {
|
|
17
18
|
constructor() {
|
|
18
19
|
this.values = [];
|
|
@@ -52,6 +53,7 @@ __decorate([
|
|
|
52
53
|
], FieldFilterResponseResource.prototype, "definition", void 0);
|
|
53
54
|
__decorate([
|
|
54
55
|
(0, ta_json_1.JsonProperty)("operator"),
|
|
56
|
+
(0, ta_json_1.JsonConverter)(filter_operator_converter_1.FilterOperatorConverter),
|
|
55
57
|
__metadata("design:type", Number)
|
|
56
58
|
], FieldFilterResponseResource.prototype, "operator", void 0);
|
|
57
59
|
__decorate([
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"field-filter-response-resource.js","sourceRoot":"","sources":["../../../src/models/search/field-filter-response-resource.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,
|
|
1
|
+
{"version":3,"file":"field-filter-response-resource.js","sourceRoot":"","sources":["../../../src/models/search/field-filter-response-resource.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAAmF;AAEnF,iGAA0F;AAC1F,uDAAmD;AACnD,2EAAsE;AAG/D,IAAM,2BAA2B,GAAjC,MAAM,2BAA2B;IAAjC;QAYH,WAAM,GAA4C,EAAE,CAAC;QAIrD,iBAAY,GAAuC,EAAE,CAAC;QAatD,oBAAe,GAAY,KAAK,CAAC;QAGjC,aAAQ,GAAY,KAAK,CAAC;QAM1B,YAAO,GAAY,IAAI,CAAC;QAGxB,gBAAW,GAAY,KAAK,CAAC;IACjC,CAAC;CAAA,CAAA;AA1CY,kEAA2B;AAEpC;IADC,IAAA,sBAAY,EAAC,MAAM,CAAC;;8DACH;AAGlB;IADC,IAAA,sBAAY,EAAC,OAAO,CAAC;;0DACR;AAGd;IADC,IAAA,sBAAY,EAAC,MAAM,CAAC;;6DACJ;AAIjB;IAFC,IAAA,sBAAY,EAAC,QAAQ,CAAC;IACtB,IAAA,yBAAe,EAAC,uEAAgC,CAAC;8BAC1C,KAAK;2DAAwC;AAIrD;IAFC,IAAA,sBAAY,EAAC,eAAe,CAAC;IAC7B,IAAA,yBAAe,EAAC,2BAA2B,CAAC;8BAC/B,KAAK;iEAAmC;AAGtD;IADC,IAAA,sBAAY,EAAC,YAAY,CAAC;;+DACR;AAInB;IAFC,IAAA,sBAAY,EAAC,UAAU,CAAC;IACxB,IAAA,uBAAa,EAAC,mDAAuB,CAAC;;6DACd;AAGzB;IADC,IAAA,sBAAY,EAAC,aAAa,CAAC;;gEACR;AAGpB;IADC,IAAA,sBAAY,EAAC,SAAS,CAAC;;oEACS;AAGjC;IADC,IAAA,sBAAY,EAAC,QAAQ,CAAC;;6DACG;AAG1B;IADC,IAAA,sBAAY,EAAC,OAAO,CAAC;;0DACR;AAGd;IADC,IAAA,sBAAY,EAAC,SAAS,CAAC;;4DACA;AAGxB;IADC,IAAA,sBAAY,EAAC,cAAc,CAAC;;gEACA;sCAzCpB,2BAA2B;IADvC,IAAA,oBAAU,GAAE;GACA,2BAA2B,CA0CvC"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { IPropertyConverter } from "ta-json";
|
|
2
|
+
import { FilterOperator } from "./filter-operator";
|
|
3
|
+
export declare class FilterOperatorConverter implements IPropertyConverter {
|
|
4
|
+
serialize(property: FilterOperator): string;
|
|
5
|
+
deserialize(value: string): FilterOperator;
|
|
6
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.FilterOperatorConverter = void 0;
|
|
4
|
+
const mappers_1 = require("../../mappers");
|
|
5
|
+
class FilterOperatorConverter {
|
|
6
|
+
serialize(property) {
|
|
7
|
+
return mappers_1.FilterOperatorMapper.mapToString(property);
|
|
8
|
+
}
|
|
9
|
+
deserialize(value) {
|
|
10
|
+
return mappers_1.FilterOperatorMapper.mapToType(value);
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
exports.FilterOperatorConverter = FilterOperatorConverter;
|
|
14
|
+
//# sourceMappingURL=filter-operator-converter.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"filter-operator-converter.js","sourceRoot":"","sources":["../../../src/models/search/filter-operator-converter.ts"],"names":[],"mappings":";;;AAEA,2CAAqD;AAGrD,MAAa,uBAAuB;IAChC,SAAS,CAAC,QAAwB;QAC9B,OAAO,8BAAoB,CAAC,WAAW,CAAC,QAAQ,CAAC,CAAC;IACtD,CAAC;IAED,WAAW,CAAC,KAAa;QACrB,OAAO,8BAAoB,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC;IACjD,CAAC;CACJ;AARD,0DAQC"}
|
package/esm/contracts/index.d.ts
CHANGED
|
@@ -10,31 +10,7 @@ export * from "./policies/rule";
|
|
|
10
10
|
export * from "./policies/rule-type";
|
|
11
11
|
export * from "./policies/user-group-policy";
|
|
12
12
|
export * from "./policies/user-policy";
|
|
13
|
-
export * from "./querying
|
|
14
|
-
export * from "./querying/entity-definition-id-iterator";
|
|
15
|
-
export * from "./querying/entity-definition-id-query-result";
|
|
16
|
-
export * from "./querying/entity-definition-iterator";
|
|
17
|
-
export * from "./querying/entity-definition-query-result";
|
|
18
|
-
export * from "./querying/entity-iterator";
|
|
19
|
-
export * from "./querying/entity-load-configuration";
|
|
20
|
-
export * from "./querying/entity-load-option";
|
|
21
|
-
export * from "./querying/entity-query-result";
|
|
22
|
-
export * from "./querying/filters/index";
|
|
23
|
-
export * from "./querying/load-options";
|
|
24
|
-
export * from "./querying/member-load-option";
|
|
25
|
-
export * from "./querying/minimal-schema";
|
|
26
|
-
export * from "./querying/property-data";
|
|
27
|
-
export * from "./querying/property-load-option";
|
|
28
|
-
export * from "./querying/query";
|
|
29
|
-
export * from "./querying/query-load-configuration";
|
|
30
|
-
export * from "./querying/query-request";
|
|
31
|
-
export * from "./querying/query-sort-order";
|
|
32
|
-
export * from "./querying/relation-data";
|
|
33
|
-
export * from "./querying/relation-load-option";
|
|
34
|
-
export * from "./querying/relation-specification";
|
|
35
|
-
export * from "./querying/scroll-request";
|
|
36
|
-
export * from "./querying/sort-field-type";
|
|
37
|
-
export * from "./querying/sorting";
|
|
13
|
+
export * from "./querying";
|
|
38
14
|
export * from "./upload/upload-source";
|
|
39
15
|
export * from "./users/user";
|
|
40
16
|
export * from "./users/user-group-combine-method";
|
package/esm/contracts/index.js
CHANGED
|
@@ -10,31 +10,7 @@ export * from "./policies/rule";
|
|
|
10
10
|
export * from "./policies/rule-type";
|
|
11
11
|
export * from "./policies/user-group-policy";
|
|
12
12
|
export * from "./policies/user-policy";
|
|
13
|
-
export * from "./querying
|
|
14
|
-
export * from "./querying/entity-definition-id-iterator";
|
|
15
|
-
export * from "./querying/entity-definition-id-query-result";
|
|
16
|
-
export * from "./querying/entity-definition-iterator";
|
|
17
|
-
export * from "./querying/entity-definition-query-result";
|
|
18
|
-
export * from "./querying/entity-iterator";
|
|
19
|
-
export * from "./querying/entity-load-configuration";
|
|
20
|
-
export * from "./querying/entity-load-option";
|
|
21
|
-
export * from "./querying/entity-query-result";
|
|
22
|
-
export * from "./querying/filters/index";
|
|
23
|
-
export * from "./querying/load-options";
|
|
24
|
-
export * from "./querying/member-load-option";
|
|
25
|
-
export * from "./querying/minimal-schema";
|
|
26
|
-
export * from "./querying/property-data";
|
|
27
|
-
export * from "./querying/property-load-option";
|
|
28
|
-
export * from "./querying/query";
|
|
29
|
-
export * from "./querying/query-load-configuration";
|
|
30
|
-
export * from "./querying/query-request";
|
|
31
|
-
export * from "./querying/query-sort-order";
|
|
32
|
-
export * from "./querying/relation-data";
|
|
33
|
-
export * from "./querying/relation-load-option";
|
|
34
|
-
export * from "./querying/relation-specification";
|
|
35
|
-
export * from "./querying/scroll-request";
|
|
36
|
-
export * from "./querying/sort-field-type";
|
|
37
|
-
export * from "./querying/sorting";
|
|
13
|
+
export * from "./querying";
|
|
38
14
|
export * from "./upload/upload-source";
|
|
39
15
|
export * from "./users/user";
|
|
40
16
|
export * from "./users/user-group-combine-method";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/contracts/index.ts"],"names":[],"mappings":"AAAA,cAAc,QAAQ,CAAC;AACvB,cAAc,iBAAiB,CAAC;AAChC,cAAc,mCAAmC,CAAC;AAClD,cAAc,iCAAiC,CAAC;AAChD,cAAc,+BAA+B,CAAC;AAC9C,cAAc,sBAAsB,CAAC;AACrC,cAAc,0BAA0B,CAAC;AACzC,cAAc,mBAAmB,CAAC;AAClC,cAAc,iBAAiB,CAAC;AAChC,cAAc,sBAAsB,CAAC;AACrC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,wBAAwB,CAAC;AACvC,cAAc,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/contracts/index.ts"],"names":[],"mappings":"AAAA,cAAc,QAAQ,CAAC;AACvB,cAAc,iBAAiB,CAAC;AAChC,cAAc,mCAAmC,CAAC;AAClD,cAAc,iCAAiC,CAAC;AAChD,cAAc,+BAA+B,CAAC;AAC9C,cAAc,sBAAsB,CAAC;AACrC,cAAc,0BAA0B,CAAC;AACzC,cAAc,mBAAmB,CAAC;AAClC,cAAc,iBAAiB,CAAC;AAChC,cAAc,sBAAsB,CAAC;AACrC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,wBAAwB,CAAC;AACvC,cAAc,YAAY,CAAC;AAC3B,cAAc,wBAAwB,CAAC;AACvC,cAAc,cAAc,CAAC;AAC7B,cAAc,mCAAmC,CAAC;AAClD,cAAc,kCAAkC,CAAC"}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
export * from "./culture-load-option";
|
|
2
|
+
export * from "./entity-definition-id-iterator";
|
|
3
|
+
export * from "./entity-definition-id-query-result";
|
|
4
|
+
export * from "./entity-definition-iterator";
|
|
5
|
+
export * from "./entity-definition-query-result";
|
|
6
|
+
export * from "./entity-iterator";
|
|
7
|
+
export * from "./entity-load-configuration";
|
|
8
|
+
export * from "./entity-load-configuration-builder";
|
|
9
|
+
export * from "./entity-load-option";
|
|
10
|
+
export * from "./entity-query-result";
|
|
11
|
+
export * from "./entity-search-after-result";
|
|
12
|
+
export * from "./filters";
|
|
13
|
+
export * from "./id-iterator";
|
|
14
|
+
export * from "./id-query-result";
|
|
15
|
+
export * from "./iterator";
|
|
16
|
+
export * from "./load-option";
|
|
17
|
+
export * from "./load-options";
|
|
18
|
+
export * from "./loading-query-iterator";
|
|
19
|
+
export * from "./member-load-option";
|
|
20
|
+
export * from "./minimal-schema";
|
|
21
|
+
export * from "./property-data";
|
|
22
|
+
export * from "./property-load-option";
|
|
23
|
+
export * from "./query";
|
|
24
|
+
export * from "./query-iterator";
|
|
25
|
+
export * from "./query-load-configuration";
|
|
26
|
+
export * from "./query-request";
|
|
27
|
+
export * from "./query-result";
|
|
28
|
+
export * from "./query-result-paging-manager";
|
|
29
|
+
export * from "./query-sort-order";
|
|
30
|
+
export * from "./relation-data";
|
|
31
|
+
export * from "./relation-load-option";
|
|
32
|
+
export * from "./relation-specification";
|
|
33
|
+
export * from "./scroll-request";
|
|
34
|
+
export * from "./search";
|
|
35
|
+
export * from "./search-after-query";
|
|
36
|
+
export * from "./search-after-result";
|
|
37
|
+
export * from "./skip-take-iterator-base";
|
|
38
|
+
export * from "./sort-field-type";
|
|
39
|
+
export * from "./sorting";
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
export * from "./culture-load-option";
|
|
2
|
+
export * from "./entity-definition-id-iterator";
|
|
3
|
+
export * from "./entity-definition-id-query-result";
|
|
4
|
+
export * from "./entity-definition-iterator";
|
|
5
|
+
export * from "./entity-definition-query-result";
|
|
6
|
+
export * from "./entity-iterator";
|
|
7
|
+
export * from "./entity-load-configuration";
|
|
8
|
+
export * from "./entity-load-configuration-builder";
|
|
9
|
+
export * from "./entity-load-option";
|
|
10
|
+
export * from "./entity-query-result";
|
|
11
|
+
export * from "./entity-search-after-result";
|
|
12
|
+
export * from "./filters";
|
|
13
|
+
export * from "./id-iterator";
|
|
14
|
+
export * from "./id-query-result";
|
|
15
|
+
export * from "./iterator";
|
|
16
|
+
export * from "./load-option";
|
|
17
|
+
export * from "./load-options";
|
|
18
|
+
export * from "./loading-query-iterator";
|
|
19
|
+
export * from "./member-load-option";
|
|
20
|
+
export * from "./minimal-schema";
|
|
21
|
+
export * from "./property-data";
|
|
22
|
+
export * from "./property-load-option";
|
|
23
|
+
export * from "./query";
|
|
24
|
+
export * from "./query-iterator";
|
|
25
|
+
export * from "./query-load-configuration";
|
|
26
|
+
export * from "./query-request";
|
|
27
|
+
export * from "./query-result";
|
|
28
|
+
export * from "./query-result-paging-manager";
|
|
29
|
+
export * from "./query-sort-order";
|
|
30
|
+
export * from "./relation-data";
|
|
31
|
+
export * from "./relation-load-option";
|
|
32
|
+
export * from "./relation-specification";
|
|
33
|
+
export * from "./scroll-request";
|
|
34
|
+
export * from "./search";
|
|
35
|
+
export * from "./search-after-query";
|
|
36
|
+
export * from "./search-after-result";
|
|
37
|
+
export * from "./skip-take-iterator-base";
|
|
38
|
+
export * from "./sort-field-type";
|
|
39
|
+
export * from "./sorting";
|
|
40
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/contracts/querying/index.ts"],"names":[],"mappings":"AAAA,cAAc,uBAAuB,CAAC;AACtC,cAAc,iCAAiC,CAAC;AAChD,cAAc,qCAAqC,CAAC;AACpD,cAAc,8BAA8B,CAAC;AAC7C,cAAc,kCAAkC,CAAC;AACjD,cAAc,mBAAmB,CAAC;AAClC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,qCAAqC,CAAC;AACpD,cAAc,sBAAsB,CAAC;AACrC,cAAc,uBAAuB,CAAC;AACtC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,WAAW,CAAC;AAC1B,cAAc,eAAe,CAAC;AAC9B,cAAc,mBAAmB,CAAC;AAClC,cAAc,YAAY,CAAC;AAC3B,cAAc,eAAe,CAAC;AAC9B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,0BAA0B,CAAC;AACzC,cAAc,sBAAsB,CAAC;AACrC,cAAc,kBAAkB,CAAC;AACjC,cAAc,iBAAiB,CAAC;AAChC,cAAc,wBAAwB,CAAC;AACvC,cAAc,SAAS,CAAC;AACxB,cAAc,kBAAkB,CAAC;AACjC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,iBAAiB,CAAC;AAChC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,+BAA+B,CAAC;AAC9C,cAAc,oBAAoB,CAAC;AACnC,cAAc,iBAAiB,CAAC;AAChC,cAAc,wBAAwB,CAAC;AACvC,cAAc,0BAA0B,CAAC;AACzC,cAAc,kBAAkB,CAAC;AACjC,cAAc,UAAU,CAAC;AACzB,cAAc,sBAAsB,CAAC;AACrC,cAAc,uBAAuB,CAAC;AACtC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,mBAAmB,CAAC;AAClC,cAAc,WAAW,CAAC"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
export * from "./created-by-query-node-filter";
|
|
2
|
+
export * from "./definition-id-query-node-filter";
|
|
3
|
+
export * from "./definition-name-query-node-filter";
|
|
4
|
+
export * from "./full-text-query-node-filter";
|
|
5
|
+
export * from "./identifier-query-node-filter";
|
|
6
|
+
export * from "./idin-query-node-filter";
|
|
7
|
+
export * from "./locked-by-query-node-filter";
|
|
8
|
+
export * from "./locked-query-node-filter";
|
|
9
|
+
export * from "./logical-operator";
|
|
10
|
+
export * from "./logical-query-node-filter";
|
|
11
|
+
export * from "./modified-by-query-node-filter";
|
|
12
|
+
export * from "./negating-query-node-filter";
|
|
13
|
+
export * from "./path-root-query-node-filter";
|
|
14
|
+
export * from "./property-bool-query-node-filter";
|
|
15
|
+
export * from "./property-datetime-query-node-filter";
|
|
16
|
+
export * from "./property-datetimeoffset-query-node-filter";
|
|
17
|
+
export * from "./property-decimal-query-node-filter";
|
|
18
|
+
export * from "./property-int-query-node-filter";
|
|
19
|
+
export * from "./property-long-query-node-filter";
|
|
20
|
+
export * from "./property-query-node-filter";
|
|
21
|
+
export * from "./property-string-query-node-filter";
|
|
22
|
+
export * from "./query-node-filter";
|
|
23
|
+
export * from "./query-node-filter-operator";
|
|
24
|
+
export * from "./query-node-filter-type";
|
|
25
|
+
export * from "./relation-exists-query-node-filter";
|
|
26
|
+
export * from "./relation-query-node-filter";
|
|
27
|
+
export * from "./root-taxonomy-item-query-node-filter";
|
|
28
|
+
export * from "./selection-query-node-filter";
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
export * from "./created-by-query-node-filter";
|
|
2
|
+
export * from "./definition-id-query-node-filter";
|
|
3
|
+
export * from "./definition-name-query-node-filter";
|
|
4
|
+
export * from "./full-text-query-node-filter";
|
|
5
|
+
export * from "./identifier-query-node-filter";
|
|
6
|
+
export * from "./idin-query-node-filter";
|
|
7
|
+
export * from "./locked-by-query-node-filter";
|
|
8
|
+
export * from "./locked-query-node-filter";
|
|
9
|
+
export * from "./logical-operator";
|
|
10
|
+
export * from "./logical-query-node-filter";
|
|
11
|
+
export * from "./modified-by-query-node-filter";
|
|
12
|
+
export * from "./negating-query-node-filter";
|
|
13
|
+
export * from "./path-root-query-node-filter";
|
|
14
|
+
export * from "./property-bool-query-node-filter";
|
|
15
|
+
export * from "./property-datetime-query-node-filter";
|
|
16
|
+
export * from "./property-datetimeoffset-query-node-filter";
|
|
17
|
+
export * from "./property-decimal-query-node-filter";
|
|
18
|
+
export * from "./property-int-query-node-filter";
|
|
19
|
+
export * from "./property-long-query-node-filter";
|
|
20
|
+
export * from "./property-query-node-filter";
|
|
21
|
+
export * from "./property-string-query-node-filter";
|
|
22
|
+
export * from "./query-node-filter";
|
|
23
|
+
export * from "./query-node-filter-operator";
|
|
24
|
+
export * from "./query-node-filter-type";
|
|
25
|
+
export * from "./relation-exists-query-node-filter";
|
|
26
|
+
export * from "./relation-query-node-filter";
|
|
27
|
+
export * from "./root-taxonomy-item-query-node-filter";
|
|
28
|
+
export * from "./selection-query-node-filter";
|
|
29
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/contracts/querying/search/index.ts"],"names":[],"mappings":"AAAA,cAAc,gCAAgC,CAAC;AAC/C,cAAc,mCAAmC,CAAC;AAClD,cAAc,qCAAqC,CAAC;AACpD,cAAc,+BAA+B,CAAC;AAC9C,cAAc,gCAAgC,CAAC;AAC/C,cAAc,0BAA0B,CAAC;AACzC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,oBAAoB,CAAC;AACnC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,iCAAiC,CAAC;AAChD,cAAc,8BAA8B,CAAC;AAC7C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,mCAAmC,CAAC;AAClD,cAAc,uCAAuC,CAAC;AACtD,cAAc,6CAA6C,CAAC;AAC5D,cAAc,sCAAsC,CAAC;AACrD,cAAc,kCAAkC,CAAC;AACjD,cAAc,mCAAmC,CAAC;AAClD,cAAc,8BAA8B,CAAC;AAC7C,cAAc,qCAAqC,CAAC;AACpD,cAAc,qBAAqB,CAAC;AACpC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,0BAA0B,CAAC;AACzC,cAAc,qCAAqC,CAAC;AACpD,cAAc,8BAA8B,CAAC;AAC7C,cAAc,wCAAwC,CAAC;AACvD,cAAc,+BAA+B,CAAC"}
|
|
@@ -7,9 +7,10 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
7
7
|
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
8
8
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
9
9
|
};
|
|
10
|
-
import { JsonElementType, JsonObject, JsonProperty } from "ta-json";
|
|
10
|
+
import { JsonConverter, JsonElementType, JsonObject, JsonProperty } from "ta-json";
|
|
11
11
|
import { FieldFilterValueResponseResource } from "./field-filter-value-response-resource";
|
|
12
12
|
import { FilterOperator } from "./filter-operator";
|
|
13
|
+
import { FilterOperatorConverter } from "./filter-operator-converter";
|
|
13
14
|
let FieldFilterResponseResource = class FieldFilterResponseResource {
|
|
14
15
|
constructor() {
|
|
15
16
|
this.values = [];
|
|
@@ -48,6 +49,7 @@ __decorate([
|
|
|
48
49
|
], FieldFilterResponseResource.prototype, "definition", void 0);
|
|
49
50
|
__decorate([
|
|
50
51
|
JsonProperty("operator"),
|
|
52
|
+
JsonConverter(FilterOperatorConverter),
|
|
51
53
|
__metadata("design:type", Number)
|
|
52
54
|
], FieldFilterResponseResource.prototype, "operator", void 0);
|
|
53
55
|
__decorate([
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"field-filter-response-resource.js","sourceRoot":"","sources":["../../../src/models/search/field-filter-response-resource.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,eAAe,EAAE,UAAU,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"field-filter-response-resource.js","sourceRoot":"","sources":["../../../src/models/search/field-filter-response-resource.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,aAAa,EAAE,eAAe,EAAE,UAAU,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAEnF,OAAO,EAAE,gCAAgC,EAAE,MAAM,wCAAwC,CAAC;AAC1F,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AACnD,OAAO,EAAE,uBAAuB,EAAE,MAAM,6BAA6B,CAAC;AAG/D,IAAM,2BAA2B,GAAjC,MAAM,2BAA2B;IAAjC;QAYH,WAAM,GAA4C,EAAE,CAAC;QAIrD,iBAAY,GAAuC,EAAE,CAAC;QAatD,oBAAe,GAAY,KAAK,CAAC;QAGjC,aAAQ,GAAY,KAAK,CAAC;QAM1B,YAAO,GAAY,IAAI,CAAC;QAGxB,gBAAW,GAAY,KAAK,CAAC;IACjC,CAAC;CAAA,CAAA;AAxCG;IADC,YAAY,CAAC,MAAM,CAAC;;8DACH;AAGlB;IADC,YAAY,CAAC,OAAO,CAAC;;0DACR;AAGd;IADC,YAAY,CAAC,MAAM,CAAC;;6DACJ;AAIjB;IAFC,YAAY,CAAC,QAAQ,CAAC;IACtB,eAAe,CAAC,gCAAgC,CAAC;8BAC1C,KAAK;2DAAwC;AAIrD;IAFC,YAAY,CAAC,eAAe,CAAC;IAC7B,eAAe,CAAC,2BAA2B,CAAC;8BAC/B,KAAK;iEAAmC;AAGtD;IADC,YAAY,CAAC,YAAY,CAAC;;+DACR;AAInB;IAFC,YAAY,CAAC,UAAU,CAAC;IACxB,aAAa,CAAC,uBAAuB,CAAC;;6DACd;AAGzB;IADC,YAAY,CAAC,aAAa,CAAC;;gEACR;AAGpB;IADC,YAAY,CAAC,SAAS,CAAC;;oEACS;AAGjC;IADC,YAAY,CAAC,QAAQ,CAAC;;6DACG;AAG1B;IADC,YAAY,CAAC,OAAO,CAAC;;0DACR;AAGd;IADC,YAAY,CAAC,SAAS,CAAC;;4DACA;AAGxB;IADC,YAAY,CAAC,cAAc,CAAC;;gEACA;AAzCpB,2BAA2B;IADvC,UAAU,EAAE;GACA,2BAA2B,CA0CvC"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { IPropertyConverter } from "ta-json";
|
|
2
|
+
import { FilterOperator } from "./filter-operator";
|
|
3
|
+
export declare class FilterOperatorConverter implements IPropertyConverter {
|
|
4
|
+
serialize(property: FilterOperator): string;
|
|
5
|
+
deserialize(value: string): FilterOperator;
|
|
6
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { FilterOperatorMapper } from "../../mappers";
|
|
2
|
+
export class FilterOperatorConverter {
|
|
3
|
+
serialize(property) {
|
|
4
|
+
return FilterOperatorMapper.mapToString(property);
|
|
5
|
+
}
|
|
6
|
+
deserialize(value) {
|
|
7
|
+
return FilterOperatorMapper.mapToType(value);
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
//# sourceMappingURL=filter-operator-converter.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"filter-operator-converter.js","sourceRoot":"","sources":["../../../src/models/search/filter-operator-converter.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,oBAAoB,EAAE,MAAM,eAAe,CAAC;AAGrD,MAAM,OAAO,uBAAuB;IAChC,SAAS,CAAC,QAAwB;QAC9B,OAAO,oBAAoB,CAAC,WAAW,CAAC,QAAQ,CAAC,CAAC;IACtD,CAAC;IAED,WAAW,CAAC,KAAa;QACrB,OAAO,oBAAoB,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC;IACjD,CAAC;CACJ"}
|