fig-tree-evaluator 2.6.0 → 2.8.0
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/README.md +196 -12
- package/build/FigTreeEvaluator.d.ts +18 -0
- package/build/FigTreeEvaluator.js +26 -3
- package/build/evaluate.js +18 -10
- package/build/helpers.d.ts +29 -4
- package/build/helpers.js +16 -4
- package/build/operators/AND/data.d.ts +5 -0
- package/build/operators/AND/data.js +23 -0
- package/build/operators/AND/index.d.ts +1 -0
- package/build/operators/AND/index.js +5 -0
- package/build/operators/{logicalAnd.d.ts → AND/operator.d.ts} +2 -3
- package/build/operators/AND/operator.js +54 -0
- package/build/operators/BUILD_OBJECT/data.d.ts +5 -0
- package/build/operators/BUILD_OBJECT/data.js +23 -0
- package/build/operators/BUILD_OBJECT/index.d.ts +1 -0
- package/build/operators/BUILD_OBJECT/index.js +17 -0
- package/build/operators/{buildObject.d.ts → BUILD_OBJECT/operator.d.ts} +2 -3
- package/build/operators/{buildObject.js → BUILD_OBJECT/operator.js} +29 -12
- package/build/operators/CONDITIONAL/data.d.ts +5 -0
- package/build/operators/CONDITIONAL/data.js +37 -0
- package/build/operators/CONDITIONAL/index.d.ts +1 -0
- package/build/operators/CONDITIONAL/index.js +17 -0
- package/build/operators/{conditional.d.ts → CONDITIONAL/operator.d.ts} +2 -3
- package/build/operators/{conditional.js → CONDITIONAL/operator.js} +28 -7
- package/build/operators/COUNT/data.d.ts +5 -0
- package/build/operators/COUNT/data.js +23 -0
- package/build/operators/COUNT/index.d.ts +1 -0
- package/build/operators/COUNT/index.js +17 -0
- package/build/operators/COUNT/operator.d.ts +2 -0
- package/build/operators/COUNT/operator.js +50 -0
- package/build/operators/CUSTOM_FUNCTIONS/data.d.ts +5 -0
- package/build/operators/CUSTOM_FUNCTIONS/data.js +37 -0
- package/build/operators/CUSTOM_FUNCTIONS/index.d.ts +1 -0
- package/build/operators/CUSTOM_FUNCTIONS/index.js +17 -0
- package/build/operators/{customFunctions.d.ts → CUSTOM_FUNCTIONS/operator.d.ts} +2 -3
- package/build/operators/{customFunctions.js → CUSTOM_FUNCTIONS/operator.js} +29 -22
- package/build/operators/DIVIDE/data.d.ts +5 -0
- package/build/operators/DIVIDE/data.js +44 -0
- package/build/operators/DIVIDE/index.d.ts +1 -0
- package/build/operators/DIVIDE/index.js +17 -0
- package/build/operators/{divide.d.ts → DIVIDE/operator.d.ts} +2 -2
- package/build/operators/DIVIDE/operator.js +62 -0
- package/build/operators/EQUAL/data.d.ts +5 -0
- package/build/operators/EQUAL/data.js +30 -0
- package/build/operators/EQUAL/index.d.ts +1 -0
- package/build/operators/EQUAL/index.js +17 -0
- package/build/operators/EQUAL/operator.d.ts +2 -0
- package/build/operators/{equal.js → EQUAL/operator.js} +31 -10
- package/build/operators/GET/data.d.ts +5 -0
- package/build/operators/GET/data.js +51 -0
- package/build/operators/GET/index.d.ts +1 -0
- package/build/operators/GET/index.js +5 -0
- package/build/operators/{getRequest.d.ts → GET/operator.d.ts} +2 -3
- package/build/operators/{getRequest.js → GET/operator.js} +51 -13
- package/build/operators/GRAPHQL/data.d.ts +5 -0
- package/build/operators/GRAPHQL/data.js +58 -0
- package/build/operators/GRAPHQL/index.d.ts +1 -0
- package/build/operators/GRAPHQL/index.js +17 -0
- package/build/operators/{graphQL.d.ts → GRAPHQL/operator.d.ts} +2 -3
- package/build/operators/{graphQL.js → GRAPHQL/operator.js} +29 -8
- package/build/operators/GREATER_THAN/data.d.ts +5 -0
- package/build/operators/GREATER_THAN/data.js +30 -0
- package/build/operators/GREATER_THAN/index.d.ts +1 -0
- package/build/operators/GREATER_THAN/index.js +17 -0
- package/build/operators/{greaterThan.d.ts → GREATER_THAN/operator.d.ts} +2 -2
- package/build/operators/GREATER_THAN/operator.js +55 -0
- package/build/operators/LESS_THAN/data.d.ts +5 -0
- package/build/operators/LESS_THAN/data.js +30 -0
- package/build/operators/LESS_THAN/index.d.ts +1 -0
- package/build/operators/LESS_THAN/index.js +17 -0
- package/build/operators/{lessThan.d.ts → LESS_THAN/operator.d.ts} +1 -1
- package/build/operators/LESS_THAN/operator.js +55 -0
- package/build/operators/MATCH/data.d.ts +5 -0
- package/build/operators/MATCH/data.js +30 -0
- package/build/operators/MATCH/index.d.ts +1 -0
- package/build/operators/MATCH/index.js +17 -0
- package/build/operators/{match.d.ts → MATCH/operator.d.ts} +2 -3
- package/build/operators/{match.js → MATCH/operator.js} +31 -18
- package/build/operators/MULTIPLY/data.d.ts +5 -0
- package/build/operators/MULTIPLY/data.js +23 -0
- package/build/operators/MULTIPLY/index.d.ts +1 -0
- package/build/operators/MULTIPLY/index.js +17 -0
- package/build/operators/{multiply.d.ts → MULTIPLY/operator.d.ts} +1 -1
- package/build/operators/MULTIPLY/operator.js +50 -0
- package/build/operators/NOT_EQUAL/data.d.ts +5 -0
- package/build/operators/NOT_EQUAL/data.js +30 -0
- package/build/operators/NOT_EQUAL/index.d.ts +1 -0
- package/build/operators/NOT_EQUAL/index.js +17 -0
- package/build/operators/{notEqual.d.ts → NOT_EQUAL/operator.d.ts} +1 -1
- package/build/operators/{notEqual.js → NOT_EQUAL/operator.js} +31 -10
- package/build/operators/OBJECT_PROPERTIES/data.d.ts +5 -0
- package/build/operators/OBJECT_PROPERTIES/data.js +38 -0
- package/build/operators/OBJECT_PROPERTIES/index.d.ts +1 -0
- package/build/operators/OBJECT_PROPERTIES/index.js +17 -0
- package/build/operators/{objectProperties.d.ts → OBJECT_PROPERTIES/operator.d.ts} +2 -3
- package/build/operators/{objectProperties.js → OBJECT_PROPERTIES/operator.js} +33 -24
- package/build/operators/OR/data.d.ts +5 -0
- package/build/operators/OR/data.js +23 -0
- package/build/operators/OR/index.d.ts +1 -0
- package/build/operators/OR/index.js +17 -0
- package/build/operators/OR/operator.d.ts +2 -0
- package/build/operators/OR/operator.js +50 -0
- package/build/operators/PASSTHRU/data.d.ts +5 -0
- package/build/operators/PASSTHRU/data.js +23 -0
- package/build/operators/PASSTHRU/index.d.ts +1 -0
- package/build/operators/PASSTHRU/index.js +17 -0
- package/build/operators/{passThru.d.ts → PASSTHRU/operator.d.ts} +3 -4
- package/build/operators/PASSTHRU/operator.js +52 -0
- package/build/operators/PG_SQL/data.d.ts +5 -0
- package/build/operators/PG_SQL/data.js +37 -0
- package/build/operators/PG_SQL/index.d.ts +1 -0
- package/build/operators/PG_SQL/index.js +17 -0
- package/build/operators/{pgSQL.d.ts → PG_SQL/operator.d.ts} +2 -2
- package/build/operators/{pgSQL.js → PG_SQL/operator.js} +29 -8
- package/build/operators/PLUS/data.d.ts +5 -0
- package/build/operators/PLUS/data.js +30 -0
- package/build/operators/PLUS/index.d.ts +1 -0
- package/build/operators/PLUS/index.js +17 -0
- package/build/operators/{plus.d.ts → PLUS/operator.d.ts} +3 -4
- package/build/operators/{plus.js → PLUS/operator.js} +34 -10
- package/build/operators/POST/data.d.ts +5 -0
- package/build/operators/POST/data.js +51 -0
- package/build/operators/POST/index.d.ts +1 -0
- package/build/operators/POST/index.js +17 -0
- package/build/operators/POST/operator.d.ts +2 -0
- package/build/operators/{postRequest.js → POST/operator.js} +31 -10
- package/build/operators/REGEX/data.d.ts +5 -0
- package/build/operators/REGEX/data.js +30 -0
- package/build/operators/REGEX/index.d.ts +1 -0
- package/build/operators/REGEX/index.js +17 -0
- package/build/operators/{regex.d.ts → REGEX/operator.d.ts} +2 -3
- package/build/operators/{regex.js → REGEX/operator.js} +30 -16
- package/build/operators/SPLIT/data.d.ts +5 -0
- package/build/operators/SPLIT/data.js +44 -0
- package/build/operators/SPLIT/index.d.ts +1 -0
- package/build/operators/SPLIT/index.js +17 -0
- package/build/operators/{split.d.ts → SPLIT/operator.d.ts} +2 -3
- package/build/operators/{split.js → SPLIT/operator.js} +34 -15
- package/build/operators/STRING_SUBSTITUTION/data.d.ts +5 -0
- package/build/operators/STRING_SUBSTITUTION/data.js +30 -0
- package/build/operators/STRING_SUBSTITUTION/index.d.ts +1 -0
- package/build/operators/STRING_SUBSTITUTION/index.js +17 -0
- package/build/operators/{stringSubstitution.d.ts → STRING_SUBSTITUTION/operator.d.ts} +2 -3
- package/build/operators/{stringSubstitution.js → STRING_SUBSTITUTION/operator.js} +29 -9
- package/build/operators/SUBTRACT/data.d.ts +5 -0
- package/build/operators/SUBTRACT/data.js +37 -0
- package/build/operators/SUBTRACT/index.d.ts +1 -0
- package/build/operators/SUBTRACT/index.js +17 -0
- package/build/operators/{subtract.d.ts → SUBTRACT/operator.d.ts} +2 -2
- package/build/operators/SUBTRACT/operator.js +53 -0
- package/build/operators/_operatorAliases.json +1 -0
- package/build/operators/_operatorUtils.d.ts +9 -1
- package/build/operators/_operatorUtils.js +19 -1
- package/build/operators/index.d.ts +24 -24
- package/build/operators/index.js +24 -27
- package/build/shorthandSyntax.d.ts +2 -0
- package/build/shorthandSyntax.js +55 -0
- package/build/typeCheck.d.ts +1 -1
- package/build/typeCheck.js +1 -0
- package/build/types.d.ts +35 -15
- package/package.json +1 -1
- package/build/operators/count.d.ts +0 -2
- package/build/operators/count.js +0 -29
- package/build/operators/divide.js +0 -41
- package/build/operators/equal.d.ts +0 -2
- package/build/operators/greaterThan.js +0 -35
- package/build/operators/lessThan.js +0 -35
- package/build/operators/logicalAnd.js +0 -33
- package/build/operators/logicalOr.d.ts +0 -2
- package/build/operators/logicalOr.js +0 -29
- package/build/operators/multiply.js +0 -29
- package/build/operators/passThru.js +0 -30
- package/build/operators/postRequest.d.ts +0 -2
- package/build/operators/subtract.js +0 -32
|
@@ -1,4 +1,27 @@
|
|
|
1
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 __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
+
if (mod && mod.__esModule) return mod;
|
|
20
|
+
var result = {};
|
|
21
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
+
__setModuleDefault(result, mod);
|
|
23
|
+
return result;
|
|
24
|
+
};
|
|
2
25
|
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
3
26
|
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
4
27
|
return new (P || (P = Promise))(function (resolve, reject) {
|
|
@@ -14,41 +37,27 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
14
37
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
38
|
exports.OBJECT_PROPERTIES = void 0;
|
|
16
39
|
const object_property_extractor_1 = __importDefault(require("object-property-extractor"));
|
|
17
|
-
const _operatorUtils_1 = require("
|
|
18
|
-
const
|
|
19
|
-
const operatorAliases = [
|
|
20
|
-
'dataProperties',
|
|
21
|
-
'data',
|
|
22
|
-
'getData',
|
|
23
|
-
'objectProperties',
|
|
24
|
-
'objProps',
|
|
25
|
-
'getProperty',
|
|
26
|
-
'getObjProp',
|
|
27
|
-
];
|
|
28
|
-
const propertyAliases = {
|
|
29
|
-
path: 'property',
|
|
30
|
-
propertyName: 'property',
|
|
31
|
-
additional: 'additionalData',
|
|
32
|
-
objects: 'additionalData',
|
|
33
|
-
data: 'additionalData',
|
|
34
|
-
additionalObjects: 'additionalData',
|
|
35
|
-
};
|
|
40
|
+
const _operatorUtils_1 = require("../_operatorUtils");
|
|
41
|
+
const data_1 = __importStar(require("./data"));
|
|
36
42
|
const evaluate = (expression, config) => __awaiter(void 0, void 0, void 0, function* () {
|
|
37
43
|
var _a, _b, _c, _d;
|
|
38
44
|
const [property, additionalData] = (yield (0, _operatorUtils_1.evaluateArray)([expression.property, expression.additionalData], config));
|
|
39
|
-
config.typeChecker(
|
|
45
|
+
config.typeChecker(...(0, _operatorUtils_1.getTypeCheckInput)(data_1.default.parameters, { property, additionalData }));
|
|
40
46
|
const inputObject = additionalData
|
|
41
47
|
? Object.assign(Object.assign({}, ((_b = (_a = config.options) === null || _a === void 0 ? void 0 : _a.data) !== null && _b !== void 0 ? _b : {})), additionalData) : (_d = (_c = config.options) === null || _c === void 0 ? void 0 : _c.data) !== null && _d !== void 0 ? _d : {};
|
|
42
48
|
return (0, object_property_extractor_1.default)(inputObject, property);
|
|
43
49
|
});
|
|
44
50
|
const parseChildren = (expression) => {
|
|
45
51
|
const [property, fallback] = expression.children;
|
|
46
|
-
|
|
52
|
+
const returnValue = Object.assign(Object.assign({}, expression), { property });
|
|
53
|
+
if (fallback !== undefined)
|
|
54
|
+
returnValue.fallback = fallback;
|
|
55
|
+
return returnValue;
|
|
47
56
|
};
|
|
48
57
|
exports.OBJECT_PROPERTIES = {
|
|
49
|
-
requiredProperties,
|
|
50
|
-
|
|
51
|
-
|
|
58
|
+
requiredProperties: data_1.requiredProperties,
|
|
59
|
+
propertyAliases: data_1.propertyAliases,
|
|
60
|
+
operatorData: data_1.default,
|
|
52
61
|
evaluate,
|
|
53
62
|
parseChildren,
|
|
54
63
|
};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.propertyAliases = exports.requiredProperties = void 0;
|
|
4
|
+
const _operatorUtils_1 = require("../_operatorUtils");
|
|
5
|
+
const description = 'Logical OR';
|
|
6
|
+
const aliases = ['or', '|', '||'];
|
|
7
|
+
const parameters = [
|
|
8
|
+
{
|
|
9
|
+
name: 'values',
|
|
10
|
+
description: 'Returns true if any values are true',
|
|
11
|
+
aliases: [],
|
|
12
|
+
required: true,
|
|
13
|
+
type: 'array',
|
|
14
|
+
},
|
|
15
|
+
];
|
|
16
|
+
exports.requiredProperties = (0, _operatorUtils_1.getRequiredProperties)(parameters);
|
|
17
|
+
exports.propertyAliases = (0, _operatorUtils_1.getPropertyAliases)(parameters);
|
|
18
|
+
const operatorData = {
|
|
19
|
+
description,
|
|
20
|
+
aliases,
|
|
21
|
+
parameters,
|
|
22
|
+
};
|
|
23
|
+
exports.default = operatorData;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './operator';
|
|
@@ -0,0 +1,17 @@
|
|
|
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("./operator"), exports);
|
|
@@ -0,0 +1,50 @@
|
|
|
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 __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
+
if (mod && mod.__esModule) return mod;
|
|
20
|
+
var result = {};
|
|
21
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
+
__setModuleDefault(result, mod);
|
|
23
|
+
return result;
|
|
24
|
+
};
|
|
25
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
26
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
27
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
28
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
29
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
30
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
31
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
32
|
+
});
|
|
33
|
+
};
|
|
34
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
35
|
+
exports.OR = void 0;
|
|
36
|
+
const operator_1 = require("../AND/operator");
|
|
37
|
+
const _operatorUtils_1 = require("../_operatorUtils");
|
|
38
|
+
const data_1 = __importStar(require("./data"));
|
|
39
|
+
const evaluate = (expression, config) => __awaiter(void 0, void 0, void 0, function* () {
|
|
40
|
+
const values = (yield (0, _operatorUtils_1.evaluateArray)(expression.values, config));
|
|
41
|
+
config.typeChecker(...(0, _operatorUtils_1.getTypeCheckInput)(data_1.default.parameters, { values }));
|
|
42
|
+
return values.reduce((acc, val) => acc || !!val, false);
|
|
43
|
+
});
|
|
44
|
+
exports.OR = {
|
|
45
|
+
requiredProperties: data_1.requiredProperties,
|
|
46
|
+
propertyAliases: data_1.propertyAliases,
|
|
47
|
+
operatorData: data_1.default,
|
|
48
|
+
evaluate,
|
|
49
|
+
parseChildren: operator_1.parseChildren,
|
|
50
|
+
};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.propertyAliases = exports.requiredProperties = void 0;
|
|
4
|
+
const _operatorUtils_1 = require("../_operatorUtils");
|
|
5
|
+
const description = 'Pass through a value unchanged (or change its type)';
|
|
6
|
+
const aliases = ['_', 'passThru', 'passthru', 'pass', 'ignore', 'coerce', 'convert'];
|
|
7
|
+
const parameters = [
|
|
8
|
+
{
|
|
9
|
+
name: 'value',
|
|
10
|
+
description: 'Value to pass through',
|
|
11
|
+
aliases: ['_', 'data'],
|
|
12
|
+
required: true,
|
|
13
|
+
type: 'any',
|
|
14
|
+
},
|
|
15
|
+
];
|
|
16
|
+
exports.requiredProperties = (0, _operatorUtils_1.getRequiredProperties)(parameters);
|
|
17
|
+
exports.propertyAliases = (0, _operatorUtils_1.getPropertyAliases)(parameters);
|
|
18
|
+
const operatorData = {
|
|
19
|
+
description,
|
|
20
|
+
aliases,
|
|
21
|
+
parameters,
|
|
22
|
+
};
|
|
23
|
+
exports.default = operatorData;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './operator';
|
|
@@ -0,0 +1,17 @@
|
|
|
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("./operator"), exports);
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import { OperatorObject, EvaluatorNode, BaseOperatorNode } from '
|
|
2
|
-
|
|
1
|
+
import { OperatorObject, EvaluatorNode, BaseOperatorNode } from '../../types';
|
|
2
|
+
import { requiredProperties } from './data';
|
|
3
3
|
export type PassThruNode = {
|
|
4
|
-
[key in typeof requiredProperties[number]]: EvaluatorNode
|
|
4
|
+
[key in typeof requiredProperties[number]]: EvaluatorNode;
|
|
5
5
|
} & BaseOperatorNode;
|
|
6
6
|
export declare const PASSTHRU: OperatorObject;
|
|
7
|
-
export {};
|
|
@@ -0,0 +1,52 @@
|
|
|
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 __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
+
if (mod && mod.__esModule) return mod;
|
|
20
|
+
var result = {};
|
|
21
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
+
__setModuleDefault(result, mod);
|
|
23
|
+
return result;
|
|
24
|
+
};
|
|
25
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
26
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
27
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
28
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
29
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
30
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
31
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
32
|
+
});
|
|
33
|
+
};
|
|
34
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
35
|
+
exports.PASSTHRU = void 0;
|
|
36
|
+
const evaluate_1 = require("../../evaluate");
|
|
37
|
+
const data_1 = __importStar(require("./data"));
|
|
38
|
+
const evaluate = (expression, config) => __awaiter(void 0, void 0, void 0, function* () {
|
|
39
|
+
return yield (0, evaluate_1.evaluatorFunction)(expression.value, config);
|
|
40
|
+
});
|
|
41
|
+
const parseChildren = (expression) => {
|
|
42
|
+
const [...children] = expression.children;
|
|
43
|
+
const value = (children === null || children === void 0 ? void 0 : children.length) === 1 ? children[0] : children;
|
|
44
|
+
return Object.assign(Object.assign({}, expression), { value });
|
|
45
|
+
};
|
|
46
|
+
exports.PASSTHRU = {
|
|
47
|
+
requiredProperties: data_1.requiredProperties,
|
|
48
|
+
propertyAliases: data_1.propertyAliases,
|
|
49
|
+
operatorData: data_1.default,
|
|
50
|
+
evaluate,
|
|
51
|
+
parseChildren,
|
|
52
|
+
};
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.propertyAliases = exports.requiredProperties = void 0;
|
|
4
|
+
const _operatorUtils_1 = require("../_operatorUtils");
|
|
5
|
+
const description = 'Query a Postgres database using node-postgres';
|
|
6
|
+
const aliases = ['pgSql', 'sql', 'postgres', 'pg', 'pgDb'];
|
|
7
|
+
const parameters = [
|
|
8
|
+
{
|
|
9
|
+
name: 'query',
|
|
10
|
+
description: 'A SQL query string, with parameterised replacements (i.e. $1, $2, etc)',
|
|
11
|
+
aliases: [],
|
|
12
|
+
required: true,
|
|
13
|
+
type: 'string',
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
name: 'values',
|
|
17
|
+
description: 'An array of values to replace in the SQL string parameters',
|
|
18
|
+
aliases: ['replacements'],
|
|
19
|
+
required: false,
|
|
20
|
+
type: 'array',
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
name: 'type',
|
|
24
|
+
description: 'Determines the shape of the resulting data (see documentation)',
|
|
25
|
+
aliases: ['queryType'],
|
|
26
|
+
required: false,
|
|
27
|
+
type: 'string',
|
|
28
|
+
},
|
|
29
|
+
];
|
|
30
|
+
exports.requiredProperties = (0, _operatorUtils_1.getRequiredProperties)(parameters);
|
|
31
|
+
exports.propertyAliases = (0, _operatorUtils_1.getPropertyAliases)(parameters);
|
|
32
|
+
const operatorData = {
|
|
33
|
+
description,
|
|
34
|
+
aliases,
|
|
35
|
+
parameters,
|
|
36
|
+
};
|
|
37
|
+
exports.default = operatorData;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './operator';
|
|
@@ -0,0 +1,17 @@
|
|
|
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("./operator"), exports);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { BaseOperatorNode, EvaluatorNode, OperatorObject } from '
|
|
2
|
-
|
|
1
|
+
import { BaseOperatorNode, EvaluatorNode, OperatorObject } from '../../types';
|
|
2
|
+
import { requiredProperties } from './data';
|
|
3
3
|
export type PGNode = {
|
|
4
4
|
[key in typeof requiredProperties[number]]: EvaluatorNode;
|
|
5
5
|
} & BaseOperatorNode & {
|
|
@@ -1,4 +1,27 @@
|
|
|
1
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 __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
+
if (mod && mod.__esModule) return mod;
|
|
20
|
+
var result = {};
|
|
21
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
+
__setModuleDefault(result, mod);
|
|
23
|
+
return result;
|
|
24
|
+
};
|
|
2
25
|
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
3
26
|
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
4
27
|
return new (P || (P = Promise))(function (resolve, reject) {
|
|
@@ -10,14 +33,12 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
10
33
|
};
|
|
11
34
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
35
|
exports.PG_SQL = void 0;
|
|
13
|
-
const _operatorUtils_1 = require("
|
|
14
|
-
const
|
|
15
|
-
const operatorAliases = ['pgSql', 'sql', 'postgres', 'pg', 'pgDb'];
|
|
16
|
-
const propertyAliases = { replacements: 'values', queryType: 'type' };
|
|
36
|
+
const _operatorUtils_1 = require("../_operatorUtils");
|
|
37
|
+
const data_1 = __importStar(require("./data"));
|
|
17
38
|
const evaluate = (expression, config) => __awaiter(void 0, void 0, void 0, function* () {
|
|
18
39
|
var _a, _b, _c;
|
|
19
40
|
const [query, type, ...values] = (yield (0, _operatorUtils_1.evaluateArray)([expression.query, expression.type, ...(expression.values || [])], config));
|
|
20
|
-
config.typeChecker(
|
|
41
|
+
config.typeChecker(...(0, _operatorUtils_1.getTypeCheckInput)(data_1.default.parameters, { query, type, values }));
|
|
21
42
|
if (!((_a = config.options) === null || _a === void 0 ? void 0 : _a.pgConnection))
|
|
22
43
|
throw new Error('No Postgres database connection provided');
|
|
23
44
|
const shouldUseCache = (_c = (_b = expression.useCache) !== null && _b !== void 0 ? _b : config.options.useCache) !== null && _c !== void 0 ? _c : true;
|
|
@@ -62,9 +83,9 @@ const processPgSQL = (queryArray, connection, queryType) => __awaiter(void 0, vo
|
|
|
62
83
|
}
|
|
63
84
|
});
|
|
64
85
|
exports.PG_SQL = {
|
|
65
|
-
requiredProperties,
|
|
66
|
-
|
|
67
|
-
|
|
86
|
+
requiredProperties: data_1.requiredProperties,
|
|
87
|
+
propertyAliases: data_1.propertyAliases,
|
|
88
|
+
operatorData: data_1.default,
|
|
68
89
|
evaluate,
|
|
69
90
|
parseChildren,
|
|
70
91
|
};
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.propertyAliases = exports.requiredProperties = void 0;
|
|
4
|
+
const _operatorUtils_1 = require("../_operatorUtils");
|
|
5
|
+
const description = 'Add, concatenate or merge multiple values';
|
|
6
|
+
const aliases = ['+', 'plus', 'add', 'concat', 'join', 'merge'];
|
|
7
|
+
const parameters = [
|
|
8
|
+
{
|
|
9
|
+
name: 'values',
|
|
10
|
+
description: 'Array of values to check to add together',
|
|
11
|
+
aliases: [],
|
|
12
|
+
required: true,
|
|
13
|
+
type: 'array',
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
name: 'type',
|
|
17
|
+
description: 'Data type to coerce input values to before addition',
|
|
18
|
+
aliases: [],
|
|
19
|
+
required: false,
|
|
20
|
+
type: 'string',
|
|
21
|
+
},
|
|
22
|
+
];
|
|
23
|
+
exports.requiredProperties = (0, _operatorUtils_1.getRequiredProperties)(parameters);
|
|
24
|
+
exports.propertyAliases = (0, _operatorUtils_1.getPropertyAliases)(parameters);
|
|
25
|
+
const operatorData = {
|
|
26
|
+
description,
|
|
27
|
+
aliases,
|
|
28
|
+
parameters,
|
|
29
|
+
};
|
|
30
|
+
exports.default = operatorData;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './operator';
|
|
@@ -0,0 +1,17 @@
|
|
|
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("./operator"), exports);
|
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
|
|
1
|
+
import { BasicExtendedNode } from '../AND/operator';
|
|
2
|
+
import { OperatorObject, EvaluatorNode } from '../../types';
|
|
3
|
+
import { requiredProperties } from './data';
|
|
4
4
|
export type AdditionNode = {
|
|
5
5
|
[key in typeof requiredProperties[number]]: EvaluatorNode;
|
|
6
6
|
} & BasicExtendedNode & {
|
|
7
7
|
type?: 'string' | 'array';
|
|
8
8
|
};
|
|
9
9
|
export declare const PLUS: OperatorObject;
|
|
10
|
-
export {};
|
|
@@ -1,4 +1,27 @@
|
|
|
1
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 __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
+
if (mod && mod.__esModule) return mod;
|
|
20
|
+
var result = {};
|
|
21
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
+
__setModuleDefault(result, mod);
|
|
23
|
+
return result;
|
|
24
|
+
};
|
|
2
25
|
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
3
26
|
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
4
27
|
return new (P || (P = Promise))(function (resolve, reject) {
|
|
@@ -10,16 +33,17 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
10
33
|
};
|
|
11
34
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
35
|
exports.PLUS = void 0;
|
|
13
|
-
const
|
|
14
|
-
const
|
|
15
|
-
const
|
|
16
|
-
const operatorAliases = ['+', 'plus', 'add', 'concat', 'join', 'merge'];
|
|
17
|
-
const propertyAliases = {};
|
|
36
|
+
const operator_1 = require("../AND/operator");
|
|
37
|
+
const _operatorUtils_1 = require("../_operatorUtils");
|
|
38
|
+
const data_1 = __importStar(require("./data"));
|
|
18
39
|
const evaluate = (expression, config) => __awaiter(void 0, void 0, void 0, function* () {
|
|
19
40
|
if (expression.values.length === 0)
|
|
20
41
|
return expression.values;
|
|
21
42
|
const values = (yield (0, _operatorUtils_1.evaluateArray)(expression.values, config));
|
|
22
|
-
config.typeChecker(
|
|
43
|
+
config.typeChecker(...(0, _operatorUtils_1.getTypeCheckInput)(data_1.default.parameters, {
|
|
44
|
+
values,
|
|
45
|
+
type: expression.type,
|
|
46
|
+
}));
|
|
23
47
|
if ((expression === null || expression === void 0 ? void 0 : expression.type) === 'string')
|
|
24
48
|
return values.reduce((acc, child) => acc.concat(child), '');
|
|
25
49
|
if ((expression === null || expression === void 0 ? void 0 : expression.type) === 'array')
|
|
@@ -31,9 +55,9 @@ const evaluate = (expression, config) => __awaiter(void 0, void 0, void 0, funct
|
|
|
31
55
|
return values.reduce((acc, child) => acc + child);
|
|
32
56
|
});
|
|
33
57
|
exports.PLUS = {
|
|
34
|
-
requiredProperties,
|
|
35
|
-
|
|
36
|
-
|
|
58
|
+
requiredProperties: data_1.requiredProperties,
|
|
59
|
+
propertyAliases: data_1.propertyAliases,
|
|
60
|
+
operatorData: data_1.default,
|
|
37
61
|
evaluate,
|
|
38
|
-
parseChildren:
|
|
62
|
+
parseChildren: operator_1.parseChildren,
|
|
39
63
|
};
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.propertyAliases = exports.requiredProperties = void 0;
|
|
4
|
+
const _operatorUtils_1 = require("../_operatorUtils");
|
|
5
|
+
const description = 'HTTP POST Request';
|
|
6
|
+
const aliases = ['post'];
|
|
7
|
+
const parameters = [
|
|
8
|
+
{
|
|
9
|
+
name: 'url',
|
|
10
|
+
description: 'Endpoint URL',
|
|
11
|
+
aliases: ['endpoint'],
|
|
12
|
+
required: true,
|
|
13
|
+
type: 'string',
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
name: 'returnProperty',
|
|
17
|
+
description: 'Property path from request result',
|
|
18
|
+
aliases: ['outputProperty'],
|
|
19
|
+
required: false,
|
|
20
|
+
type: 'string',
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
name: 'headers',
|
|
24
|
+
description: 'HTTP Headers',
|
|
25
|
+
aliases: [],
|
|
26
|
+
required: false,
|
|
27
|
+
type: 'object',
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
name: 'data',
|
|
31
|
+
description: 'JSON Body parameters (key-value)',
|
|
32
|
+
aliases: [],
|
|
33
|
+
required: false,
|
|
34
|
+
type: 'object',
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
name: 'useCache',
|
|
38
|
+
description: 'Whether or not the FigTree cache is used',
|
|
39
|
+
aliases: [],
|
|
40
|
+
required: false,
|
|
41
|
+
type: 'boolean',
|
|
42
|
+
},
|
|
43
|
+
];
|
|
44
|
+
exports.requiredProperties = (0, _operatorUtils_1.getRequiredProperties)(parameters);
|
|
45
|
+
exports.propertyAliases = (0, _operatorUtils_1.getPropertyAliases)(parameters);
|
|
46
|
+
const operatorData = {
|
|
47
|
+
description,
|
|
48
|
+
aliases,
|
|
49
|
+
parameters,
|
|
50
|
+
};
|
|
51
|
+
exports.default = operatorData;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './operator';
|