@arranger/middleware
Advanced tools
Comparing version 0.1.36 to 0.2.0
@@ -6,77 +6,75 @@ "use strict"; | ||
}); | ||
exports.CONSTANTS = void 0; | ||
exports.AGGS_WRAPPER_NESTED = exports.AGGS_WRAPPER_FILTERED = exports.AGGS_WRAPPER_GLOBAL = exports.HISTOGRAM = exports.STATS = exports.BUCKETS = exports.ES_PHRASE_PREFIX = exports.ES_TYPE = exports.ES_FIELDS = exports.ES_MULTI_MATCH = exports.ES_PATH = exports.ES_QUERY = exports.ES_BOOL = exports.ES_NESTED = exports.ES_SHOULD = exports.ES_MUST_NOT = exports.ES_MUST = exports.ARRAY_CONTENT = exports.OP_ALIASES = exports.LTE_OP = exports.LT_OP = exports.GTE_OP = exports.GT_OP = exports.MISSING_OP = exports.NOT_OP = exports.OR_OP = exports.AND_OP = exports.FILTER_OP = exports.SOME_NOT_IN_OP = exports.NOT_IN_OP = exports.IN_OP = void 0; | ||
// sqon ops | ||
var IN_OP = 'in'; | ||
exports.IN_OP = IN_OP; | ||
var NOT_IN_OP = 'not-in'; | ||
exports.NOT_IN_OP = NOT_IN_OP; | ||
var SOME_NOT_IN_OP = 'some-not-in'; | ||
exports.SOME_NOT_IN_OP = SOME_NOT_IN_OP; | ||
var FILTER_OP = 'filter'; | ||
exports.FILTER_OP = FILTER_OP; | ||
var AND_OP = 'and'; | ||
exports.AND_OP = AND_OP; | ||
var OR_OP = 'or'; | ||
exports.OR_OP = OR_OP; | ||
var NOT_OP = 'not'; | ||
exports.NOT_OP = NOT_OP; | ||
var MISSING_OP = 'missing'; | ||
exports.MISSING_OP = MISSING_OP; | ||
var GT_OP = 'gt'; | ||
exports.GT_OP = GT_OP; | ||
var GTE_OP = 'gte'; | ||
exports.GTE_OP = GTE_OP; | ||
var LT_OP = 'lt'; | ||
exports.LT_OP = LT_OP; | ||
var LTE_OP = 'lte'; // sqon op aliases | ||
var _ES_RANGE_OPS; | ||
exports.LTE_OP = LTE_OP; | ||
var OP_ALIASES = { | ||
'>': GT_OP, | ||
'<': LT_OP, | ||
'>=': GTE_OP, | ||
'<=': LTE_OP, | ||
'=': IN_OP, | ||
'!=': NOT_IN_OP | ||
}; | ||
exports.OP_ALIASES = OP_ALIASES; | ||
var ARRAY_CONTENT = [IN_OP, NOT_IN_OP, SOME_NOT_IN_OP, GT_OP, GTE_OP, LT_OP, LTE_OP]; // elasticsearch values | ||
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; } | ||
var EQ = '=', | ||
NEQ = '!=', | ||
IN = 'in', | ||
EXCLUDE = 'exclude', | ||
EXCLUDE_IF_ANY = 'excludeifany', | ||
FILTER = 'filter', | ||
GT = '>', | ||
GTE = '>=', | ||
LT = '<', | ||
LTE = '<=', | ||
AND = 'and', | ||
OR = 'or', | ||
IS = 'is', | ||
NOT = 'not', | ||
RANGE_OPS = [GT, LT, GTE, LTE], | ||
HAVE_OPS = [EQ, IN], | ||
HAVE_NOT_OPS = [NEQ, EXCLUDE], | ||
IS_OPS = [IS, NOT], | ||
GROUP_OPS = [AND, OR]; | ||
var CONSTANTS = { | ||
EQ: EQ, | ||
NEQ: NEQ, | ||
IN: IN, | ||
EXCLUDE: EXCLUDE, | ||
EXCLUDE_IF_ANY: EXCLUDE_IF_ANY, | ||
FILTER: FILTER, | ||
GT: GT, | ||
GTE: GTE, | ||
LT: LT, | ||
LTE: LTE, | ||
AND: AND, | ||
OR: OR, | ||
IS: IS, | ||
NOT: NOT, | ||
HAVE_OPS: HAVE_OPS, | ||
HAVE_NOT_OPS: HAVE_NOT_OPS, | ||
IS_OPS: IS_OPS, | ||
VALUE_OPS: HAVE_OPS.concat(HAVE_NOT_OPS).concat([EXCLUDE_IF_ANY]), | ||
MUST_OPS: HAVE_OPS.concat(IS_OPS).concat([FILTER]), | ||
MUST_NOT_OPS: HAVE_NOT_OPS.concat([EXCLUDE_IF_ANY]), | ||
GROUP_OPS: GROUP_OPS, | ||
RANGE_OPS: RANGE_OPS, | ||
ES_RANGE_OPS: (_ES_RANGE_OPS = {}, _defineProperty(_ES_RANGE_OPS, GT, 'gt'), _defineProperty(_ES_RANGE_OPS, LT, 'lt'), _defineProperty(_ES_RANGE_OPS, GTE, 'gte'), _defineProperty(_ES_RANGE_OPS, LTE, 'lte'), _ES_RANGE_OPS), | ||
ES_MUST: 'must', | ||
ES_MUST_NOT: 'must_not', | ||
ES_SHOULD: 'should', | ||
ES_NESTED: 'nested', | ||
ES_BOOL: 'bool', | ||
ES_FILTER: 'filter', | ||
ES_QUERY: 'query', | ||
ES_PATH: 'path', | ||
ES_MULTI_MATCH: 'multi_match', | ||
ES_FIELDS: 'fields', | ||
ES_TYPE: 'type', | ||
ES_PHRASE_PREFIX: 'phrase_prefix', | ||
FIELD_TO_SET_TYPE: { | ||
'cases.case_id': 'case_set', | ||
'files.file_id': 'file_set', | ||
'genes.gene_id': 'gene_set', | ||
'ssms.ssm_id': 'ssm_set', | ||
'files.index_files.file_id': 'file_set', | ||
'files.analysis.input_files.file_id': 'file_set', | ||
'files.downstream_analyses.output_files.file_id': 'file_set' | ||
}, | ||
BUCKETS: 'buckets', | ||
STATS: 'stats', | ||
HISTOGRAM: 'histogram' | ||
}; | ||
exports.CONSTANTS = CONSTANTS; | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uL3NyYy9jb25zdGFudHMuanMiXSwibmFtZXMiOlsiRVEiLCJORVEiLCJJTiIsIkVYQ0xVREUiLCJFWENMVURFX0lGX0FOWSIsIkZJTFRFUiIsIkdUIiwiR1RFIiwiTFQiLCJMVEUiLCJBTkQiLCJPUiIsIklTIiwiTk9UIiwiUkFOR0VfT1BTIiwiSEFWRV9PUFMiLCJIQVZFX05PVF9PUFMiLCJJU19PUFMiLCJHUk9VUF9PUFMiLCJDT05TVEFOVFMiLCJWQUxVRV9PUFMiLCJjb25jYXQiLCJNVVNUX09QUyIsIk1VU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knLFxuICBFU19QQVRIOiAncGF0aCcsXG4gIEVTX01VTFRJX01BVENIOiAnbXVsdGlfbWF0Y2gnLFxuICBFU19GSUVMRFM6ICdmaWVsZHMnLFxuICBFU19UWVBFOiAndHlwZScsXG4gIEVTX1BIUkFTRV9QUkVGSVg6ICdwaHJhc2VfcHJlZml4JyxcbiAgRklFTERfVE9fU0VUX1RZUEU6IHtcbiAgICAnY2FzZXMuY2FzZV9pZCc6ICdjYXNlX3NldCcsXG4gICAgJ2ZpbGVzLmZpbGVfaWQnOiAnZmlsZV9zZXQnLFxuICAgICdnZW5lcy5nZW5lX2lkJzogJ2dlbmVfc2V0JyxcbiAgICAnc3Ntcy5zc21faWQnOiAnc3NtX3NldCcsXG4gICAgJ2ZpbGVzLmluZGV4X2ZpbGVzLmZpbGVfaWQnOiAnZmlsZV9zZXQnLFxuICAgICdmaWxlcy5hbmFseXNpcy5pbnB1dF9maWxlcy5maWxlX2lkJzogJ2ZpbGVfc2V0JyxcbiAgICAnZmlsZXMuZG93bnN0cmVhbV9hbmFseXNlcy5vdXRwdXRfZmlsZXMuZmlsZV9pZCc6ICdmaWxlX3NldCcsXG4gIH0sXG4gIEJVQ0tFVFM6ICdidWNrZXRzJyxcbiAgU1RBVFM6ICdzdGF0cycsXG4gIEhJU1RPR1JBTTogJ2hpc3RvZ3JhbScsXG59O1xuIl19 | ||
exports.ARRAY_CONTENT = ARRAY_CONTENT; | ||
var ES_MUST = 'must'; | ||
exports.ES_MUST = ES_MUST; | ||
var ES_MUST_NOT = 'must_not'; | ||
exports.ES_MUST_NOT = ES_MUST_NOT; | ||
var ES_SHOULD = 'should'; | ||
exports.ES_SHOULD = ES_SHOULD; | ||
var ES_NESTED = 'nested'; | ||
exports.ES_NESTED = ES_NESTED; | ||
var ES_BOOL = 'bool'; | ||
exports.ES_BOOL = ES_BOOL; | ||
var ES_QUERY = 'query'; | ||
exports.ES_QUERY = ES_QUERY; | ||
var ES_PATH = 'path'; | ||
exports.ES_PATH = ES_PATH; | ||
var ES_MULTI_MATCH = 'multi_match'; | ||
exports.ES_MULTI_MATCH = ES_MULTI_MATCH; | ||
var ES_FIELDS = 'fields'; | ||
exports.ES_FIELDS = ES_FIELDS; | ||
var ES_TYPE = 'type'; | ||
exports.ES_TYPE = ES_TYPE; | ||
var ES_PHRASE_PREFIX = 'phrase_prefix'; | ||
exports.ES_PHRASE_PREFIX = ES_PHRASE_PREFIX; | ||
var BUCKETS = 'buckets'; | ||
exports.BUCKETS = BUCKETS; | ||
var STATS = 'stats'; | ||
exports.STATS = STATS; | ||
var HISTOGRAM = 'histogram'; | ||
exports.HISTOGRAM = HISTOGRAM; | ||
var AGGS_WRAPPER_GLOBAL = 'global'; | ||
exports.AGGS_WRAPPER_GLOBAL = AGGS_WRAPPER_GLOBAL; | ||
var AGGS_WRAPPER_FILTERED = 'filtered'; | ||
exports.AGGS_WRAPPER_FILTERED = AGGS_WRAPPER_FILTERED; | ||
var AGGS_WRAPPER_NESTED = 'nested'; | ||
exports.AGGS_WRAPPER_NESTED = AGGS_WRAPPER_NESTED; | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uL3NyYy9jb25zdGFudHMuanMiXSwibmFtZXMiOlsiSU5fT1AiLCJOT1RfSU5fT1AiLCJTT01FX05PVF9JTl9PUCIsIkZJTFRFUl9PUCIsIkFORF9PUCIsIk9SX09QIiwiTk9UX09QIiwiTUlTU0lOR19PUCIsIkdUX09QIiwiR1RFX09QIiwiTFRfT1AiLCJMVEVfT1AiLCJPUF9BTElBU0VTIiwiQVJSQVlfQ09OVEVOVCIsIkVTX01VU1QiLCJFU19NVVNUX05PVCIsIkVTX1NIT1VMRCIsIkVTX05FU1RFRCIsIkVTX0JPT0wiLCJFU19RVUVSWSIsIkVTX1BBVEgiLCJFU19NVUxUSV9NQVRDSCIsIkVTX0ZJRUxEUyIsIkVTX1RZUEUiLCJFU19QSFJBU0VfUFJFRklYIiwiQl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19XUkFQUEVSX05FU1RFRCA9ICduZXN0ZWQnO1xuIl19 |
@@ -6,20 +6,28 @@ "use strict"; | ||
}); | ||
Object.defineProperty(exports, "FilterProcessor", { | ||
Object.defineProperty(exports, "buildQuery", { | ||
enumerable: true, | ||
get: function get() { | ||
return _filters.default; | ||
return _buildQuery.default; | ||
} | ||
}); | ||
Object.defineProperty(exports, "AggregationProcessor", { | ||
Object.defineProperty(exports, "flattenAggregations", { | ||
enumerable: true, | ||
get: function get() { | ||
return _aggregations.default; | ||
return _flattenAggregations.default; | ||
} | ||
}); | ||
Object.defineProperty(exports, "buildAggregations", { | ||
enumerable: true, | ||
get: function get() { | ||
return _buildAggregations.default; | ||
} | ||
}); | ||
var _filters = _interopRequireDefault(require("./filters")); | ||
var _buildQuery = _interopRequireDefault(require("./buildQuery")); | ||
var _aggregations = _interopRequireDefault(require("./aggregations")); | ||
var _flattenAggregations = _interopRequireDefault(require("./flattenAggregations")); | ||
var _buildAggregations = _interopRequireDefault(require("./buildAggregations")); | ||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uL3NyYy9pbmRleC5qcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7Ozs7Ozs7Ozs7QUFBQTs7QUFDQSIsImZpbGUiOiJpbmRleC5qcyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCB7IGRlZmF1bHQgYXMgRmlsdGVyUHJvY2Vzc29yIH0gZnJvbSAnLi9maWx0ZXJzJztcbmV4cG9ydCB7IGRlZmF1bHQgYXMgQWdncmVnYXRpb25Qcm9jZXNzb3IgfSBmcm9tICcuL2FnZ3JlZ2F0aW9ucyc7XG4iXX0= | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uL3NyYy9pbmRleC5qcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7QUFBQTs7QUFDQTs7QUFDQSIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCB7IGRlZmF1bHQgYXMgYnVpbGRRdWVyeSB9IGZyb20gJy4vYnVpbGRRdWVyeSc7XG5leHBvcnQgeyBkZWZhdWx0IGFzIGZsYXR0ZW5BZ2dyZWdhdGlvbnMgfSBmcm9tICcuL2ZsYXR0ZW5BZ2dyZWdhdGlvbnMnO1xuZXhwb3J0IHsgZGVmYXVsdCBhcyBidWlsZEFnZ3JlZ2F0aW9ucyB9IGZyb20gJy4vYnVpbGRBZ2dyZWdhdGlvbnMnO1xuIl19 |
{ | ||
"name": "@arranger/middleware", | ||
"version": "0.1.36", | ||
"version": "0.2.0", | ||
"description": "Arranger Middleware", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
296682
17
4844
1