@arranger/middleware
Advanced tools
Comparing version 2.4.0 to 2.5.1
@@ -94,2 +94,2 @@ "use strict"; | ||
exports["default"] = _default; | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9idWlsZEFnZ3JlZ2F0aW9ucy9jcmVhdGVGaWVsZEFnZ3JlZ2F0aW9uLmpzIl0sIm5hbWVzIjpbIk1BWF9BR0dSRUdBVElPTl9TSVpFIiwiSElTVE9HUkFNX0lOVEVSVkFMX0RFRkFVTFQiLCJjcmVhdGVOdW1lcmljQWdncmVnYXRpb24iLCJ0eXBlIiwiZmllbGQiLCJncmFwaHFsRmllbGQiLCJhcmdzIiwiSElTVE9HUkFNIiwiaW50ZXJ2YWwiLCJjcmVhdGVUZXJtQWdncmVnYXRpb24iLCJpc05lc3RlZCIsImFnZ3MiLCJybiIsInJldmVyc2VfbmVzdGVkIiwidGVybXMiLCJzaXplIiwibWlzc2luZyIsInR5cGVzIiwiQlVDS0VUUyIsIlNUQVRTIiwiQlVDS0VUX0NPVU5UIiwiZmlsdGVyIiwidCIsInJlZHVjZSIsImFjYyIsIk9iamVjdCIsImFzc2lnbiIsImluY2x1ZGVzIl0sIm1hcHBpbmdzIjoiOzs7Ozs7O0FBQUE7O0FBQ0E7Ozs7Ozs7O0FBRUEsSUFBTUEsb0JBQW9CLEdBQUcsTUFBN0I7QUFDQSxJQUFNQywwQkFBMEIsR0FBRyxJQUFuQzs7QUFFQSxJQUFNQyx3QkFBd0IsR0FBRyxTQUEzQkEsd0JBQTJCLE9BQW1DO0FBQUEsTUFBaENDLElBQWdDLFFBQWhDQSxJQUFnQztBQUFBLE1BQTFCQyxLQUEwQixRQUExQkEsS0FBMEI7QUFBQSxNQUFuQkMsWUFBbUIsUUFBbkJBLFlBQW1CO0FBQ2xFLE1BQU1DLElBQUksR0FBRyxpQkFBSUQsWUFBSixFQUFrQixDQUFDRixJQUFELEVBQU8sYUFBUCxF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3JlYXRlRmllbGRBZ2dyZWdhdGlvbih7XG4gICAgICBmaWVsZCxcbiAgICAgIGdyYXBocWxGaWVsZCxcbiAgICAgIGlzTmVzdGVkOiBuZXN0ZWRQYXRocy5sZW5ndGgsXG4gICAgfSk7XG5cbiAgICBjb25zdCBhZ2dyZWdhdGlvbiA9IG5lc3RlZFBhdGhzLnJldmVyc2UoKS5yZWR1Y2UoXG4gICAgICAoYWdncywgcGF0aCkgPT4gKHtcbiAgICAgICAgW2Ake2ZpZWxkfToke0FHR1NfV1JBUFBFUl9ORVNURUR9YF06IHsgbmVzdGVkOiB7IHBhdGggfSwgYWdncyB9LFxuICAgICAgfSksXG4gICAgICBmaWVsZEFnZ3JlZ2F0aW9uLFxuICAgICk7XG5cbiAgICByZXR1cm4gT2JqZWN0LmFzc2lnbihcbiAgICAgIGFnZ3JlZ2F0aW9ucyxcbiAgICAgIHdyYXBXaXRoRmlsdGVycyh7XG4gICAgICAgIHF1ZXJ5LFxuICAgICAgICBmaWVsZCxcbiAgICAgICAgYWdncmVnYXRpb24sXG4gICAgICAgIGFnZ3JlZ2F0aW9uc0ZpbHRlclRoZW1zZWx2ZXMsXG4gICAgICB9KSxcbiAgICApO1xuICB9LCB7fSk7XG5cbiAgY29uc3QgZmlsdGVyZWRBZ2dyZWdhdGlvbnMgPSBpbmplY3ROZXN0ZWRGaWx0ZXJzVG9BZ2dzKHtcbiAgICBhZ2dzLFxuICAgIG5lc3RlZFNxb25GaWx0ZXJzLFxuICAgIGFnZ3JlZ2F0aW9uc0ZpbHRlclRoZW1zZWx2ZXMsXG4gIH0pO1xuXG4gIHJldHVybiBmaWx0ZXJlZEFnZ3JlZ2F0aW9ucztcbn1cbiJdfQ== |
@@ -102,2 +102,2 @@ "use strict"; | ||
exports["default"] = _default; | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9idWlsZEFnZ3JlZ2F0aW9ucy9pb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B7XG4gICAgICAgICAgICAgICAgc2hvdWxkOiBuZXN0ZWRTcW9uRmlsdGVyc1thZ2dDb250ZW50Lm5lc3RlZC5wYXRoXVxuICAgICAgICAgICAgICAgICAgLmZpbHRlcihcbiAgICAgICAgICAgICAgICAgICAgc3FvbkZpbHRlciA9PlxuICAgICAgICAgICAgICAgICAgICAgIGFnZ3JlZ2F0aW9uc0ZpbHRlclRoZW1zZWx2ZXMgfHxcbiAgICAgICAgICAgICAgICAgICAgICBhZ2dOYW1lLnNwbGl0KCc6JylbMF0gIT09IHNxb25GaWx0ZXIuY29udGVudC5maWVsZCxcbiAgICAgICAgICAgICAgICAgIClcbiAgICAgICAgICAgICAgICAgIC5tYXAoc3FvbkZpbHRlciA9PlxuICAgICAgICAgICAgICAgICAgICBvcFN3aXRjaCh7XG4gICAgICAgICAgICAgICAgICAgICAgbmVzdGVkRmllbGRzOiBbXSxcbiAgICAgICAgICAgICAgICAgICAgICBmaWx0ZXI6IG5vcm1hbGl6ZUZpbHRlcnMoc3FvbkZpbHRlciksXG4gICAgICAgICAgICAgICAgICAgIH0pLFxuICAgICAgICAgICAgICAgICAgKSxcbiAgICAgICAgICAgICAgfSxcbiAgICAgICAgICAgIH0sXG4gICAgICAgICAgICBhZ2dzOiBpbmplY3ROZXN0ZWRGaWx0ZXJzVG9BZ2dzKHtcbiAgICAgICAgICAgICAgYWdnczogYWdnQ29udGVudC5hZ2dzLFxuICAgICAgICAgICAgICBuZXN0ZWRTcW9uRmlsdGVycyxcbiAgICAgICAgICAgICAgYWdncmVnYXRpb25zRmlsdGVyVGhlbXNlbHZlcyxcbiAgICAgICAgICAgIH0pLFxuICAgICAgICAgIH0sXG4gICAgICAgIH0sXG4gICAgICB9O1xuICAgICAgcmV0dXJuIGFjYztcbiAgICB9O1xuXG4gICAgaWYgKGFnZ0NvbnRlbnQuZ2xvYmFsIHx8IGFnZ0NvbnRlbnQuZmlsdGVyKSB7XG4gICAgICByZXR1cm4gc2tpcFRvTmV4dExldm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WRGaWx0ZXJzVG9BZ2dzKHtcbiAgICAgICAgICBhZ2dzOiBhZ2dDb250ZW50LmFnZ3MsXG4gICAgICAgICAgbmVzdGVkU3FvbkZpbHRlcnMsXG4gICAgICAgICAgYWdncmVnYXRpb25zRmlsdGVyVGhlbXNlbHZlcyxcbiAgICAgICAgfSksXG4gICAgICB9O1xuICAgICAgcmV0dXJuIGFjYztcbiAgICB9O1xuICAgIGNvbnN0IHdyYXBJbkZpbHRlckFnZyA9ICgpID0+IHtcbiAgICAgIGFjY1thZ2dOYW1lXSA9IHtcbiAgICAgICAgLi4uYWdnQ29udGVudCxcbiAgICAgICAgYWdnczoge1xuICAgICAgICAgIFtgJHthZ2dDb250ZW50Lm5lc3RlZC5wYXRofToke0FHR1NfV1JBUFBFUl9GSUxURVJFRH1gXToge1xuICAgICAgICAgICAgZmlsdGVyOiB7XG4gICAgICAgICAgICAgIGJvb2w6IHtcbiAgICAgICAgICAgICAgICBzaG91bGQ6IG5lc3RlZFNxb25GaWx0ZXJzW2FnZ0NvbnRlbnQubmVzdGVkLnBhdGhdXG4gICAgICAgICAgICAgICAgICAuZmlsdGVyKFxuICAgICAgICAgICAgICAgICAgICAoc3FvbkZpbHRlcikgPT5cbiAgICAgICAgICAgICAgICAgICAgICBhZ2dyZWdhdGlvbnNGaWx0ZXJUaGVtc2VsdmVzIHx8XG4gICAgICAgICAgICAgICAgICAgICAgYWdnTmFtZS5zcGxpdCgnOicpWzBdICE9PSBzcW9uRmlsdGVyLmNvbnRlbnQuZmllbGQsXG4gICAgICAgICAgICAgICAgICApXG4gICAgICAgICAgICAgICAgICAubWFwKChzcW9uRmlsdGVyKSA9PlxuICAgICAgICAgICAgICAgICAgICBvcFN3aXRjaCh7XG4gICAgICAgICAgICAgICAgICAgICAgbmVzdGVkRmllbGRzOiBbXSxcbiAgICAgICAgICAgICAgICAgICAgICBmaWx0ZXI6IG5vcm1hbGl6ZUZpbHRlcnMoc3FvbkZpbHRlciksXG4gICAgICAgICAgICAgICAgICAgIH0pLFxuICAgICAgICAgICAgICAgICAgKSxcbiAgICAgICAgICAgICAgfSxcbiAgICAgICAgICAgIH0sXG4gICAgICAgICAgICBhZ2dzOiBpbmplY3ROZXN0ZWRGaWx0ZXJzVG9BZ2dzKHtcbiAgICAgICAgICAgICAgYWdnczogYWdnQ29udGVudC5hZ2dzLFxuICAgICAgICAgICAgICBuZXN0ZWRTcW9uRmlsdGVycyxcbiAgICAgICAgICAgICAgYWdncmVnYXRpb25zRmlsdGVyVGhlbXNlbHZlcyxcbiAgICAgICAgICAgIH0pLFxuICAgICAgICAgIH0sXG4gICAgICAgIH0sXG4gICAgICB9O1xuICAgICAgcmV0dXJuIGFjYztcbiAgICB9O1xuXG4gICAgaWYgKGFnZ0NvbnRlbnQuZ2xvYmFsIHx8IGFnZ0NvbnRlbnQuZmlsdGVyKSB7XG4gICAgICByZXR1cm4gc2tpcFRvTmV4dExldmVsKCk7XG4gICAgfSBlbHNlIGlmIChhZ2dDb250ZW50Lm5lc3RlZCkge1xuICAgICAgaWYgKG5lc3RlZFNxb25GaWx0ZXJzW2FnZ0NvbnRlbnQubmVzdGVkLnBhdGhdKSB7XG4gICAgICAgIHJldHVybiB3cmFwSW5GaWx0ZXJBZ2coKTtcbiAgICAgIH0gZWxzZSB7XG4gICAgICAgIHJldHVybiBza2lwVG9OZXh0TGV2ZWwoKTtcbiAgICAgIH1cbiAgICB9IGVsc2Uge1xuICAgICAgcmV0dXJuIGFjYztcbiAgICB9XG4gIH0sIGNsb25lRGVlcChhZ2dzKSk7XG5cbmV4cG9ydCBkZWZhdWx0IGluamVjdE5lc3RlZEZpbHRlcnNUb0FnZ3M7XG4iXX0= |
@@ -360,2 +360,2 @@ "use strict"; | ||
} | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9idWlsZFF1ZXJ5L2luZGV4LmpzIl0sIm5hbWVzIjpbIndyYXBGaWx0Z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ZWZpeCc7XG5leHBvcnQgY29uc3QgRVNfREFURV9GT1JNQVQgPSAnWVlZWS1NTS1ERCBISDptbTpzcy5TU1NTU1MnO1xuZXhwb3J0IGNvbnN0IEVTX01BWF9MT05HID0gYC05MjIzMzcyMDM2ODU0Nzc1ODA4YDtcbmV4cG9ydCBjb25zdCBFU19BUlJBTkdFUl9TRVRfSU5ERVggPSAnYXJyYW5nZXItc2V0cyc7XG5leHBvcnQgY29uc3QgRVNfQVJSQU5HRVJfU0VUX1RZUEUgPSAnYXJyYW5nZXItc2V0cyc7XG5cbmV4cG9ydCBjb25zdCBCVUNLRVRTID0gJ2J1Y2tldHMnO1xuZXhwb3J0IGNvbnN0IFNUQVRTID0gJ3N0YXRzJztcbmV4cG9ydCBjb25zdCBISVNUT0dSQU0gPSAnaGlzdG9ncmFtJztcbmV4cG9ydCBjb25zdCBBR0dTX1dSQVBQRVJfR0xPQkFMID0gJ2dsb2JhbCc7XG5leHBvcnQgY29uc3QgQUdHU19XUkFQUEVSX0ZJTFRFUkVEID0gJ2ZpbHRlcmVkJztcbmV4cG9ydCBjb25zdCBBR0dTX1dSQVBQRVJfTkVTVEVEID0gJ25lc3RlZCc7XG5leHBvcnQgY29uc3QgQlVDS0VUX0NPVU5UID0gJ2J1Y2tldF9jb3VudCc7XG4iXX0= |
@@ -91,2 +91,2 @@ "use strict"; | ||
exports["default"] = _default; | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uL3NyYy9mbGF0dGVuQWdncmVnYXRpb25zLmpzIl0sIm5hbWVzIjpbImZsYXR0ZW5BZ2dyZWdhdGlvbnMiLCJhZ2dyZWdhdGlvbnMiLCJpbmNsdWRlTWlzc2luZyIsIk9iamVjdCIsImVudHJpZXMiLCJyZWR1Y2UiLCJwcnVuZWRBZ2dzIiwia2V5IiwidmFsdWUiLCJzcGxpdCIsImZpZWxkIiwiYWdncmVnYXRpb25UeXBlIiwiU1RBV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gJiYgbWlzc2luZyAmJiBtaXNzaW5nLmRvY19jb3VudCA+IDBcbiAgICAgICAgICA/IFt7IC4uLm1pc3NpbmcsIGtleTogTUlTU0lORyB9XVxuICAgICAgICAgIDogW10pLFxuICAgICAgXTtcbiAgICAgIGNvbnN0IGJ1Y2tldF9jb3VudCA9IGJ1Y2tldHMubGVuZ3RoO1xuXG4gICAgICByZXR1cm4ge1xuICAgICAgICAuLi5wcnVuZWRBZ2dzLFxuICAgICAgICBbZmllbGRdOiB7XG4gICAgICAgICAgYnVja2V0X2NvdW50LFxuICAgICAgICAgIGJ1Y2tldHM6IGJ1Y2tldHNcbiAgICAgICAgICAgIC5tYXAoKHsgcm4sIC4uLmJ1Y2tldCB9KSA9PiAoe1xuICAgICAgICAgICAgICAuLi5idWNrZXQsXG4gICAgICAgICAgICAgIGRvY19jb3VudDogcm4gPyBybi5kb2NfY291bnQgOiBidWNrZXQuZG9jX2NvdW50LFxuICAgICAgICAgICAgfSkpXG4gICAgICAgICAgICAuZmlsdGVyKGIgPT4gYi5kb2NfY291bnQpLFxuICAgICAgICB9LFxuICAgICAgfTtcbiAgICB9IGVsc2Uge1xuICAgICAgcmV0dXJuIHtcbiAgICAgICAgLi4ucHJ1bmVkQWdncyxcbiAgICAgICAgLi4uZmxhdHRlbkFnZ3JlZ2F0aW9ucyh7IGFnZ3JlZ2F0aW9uczogdmFsdWUsIGluY2x1ZGVNaXNzaW5nIH0pLFxuICAgICAgfTtcbiAgICB9XG4gIH0sIHt9KTtcbn1cblxuZXhwb3J0IGRlZmF1bHQgZmxhdHRlbkFnZ3JlZ2F0aW9ucztcbiJdfQ== | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uL3NyYy9mbGF0dGVuQWdncmVnYXRpb25zLmpzIl0sIm5hbWVzIjpbImZsYXR0ZW5BZ2dyZWdhdGlvbnMiLCJhZ2dyZWdhdGlvbnMiLCJpbmNsdWRlTWlz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LCBbYCR7ZmllbGR9Om1pc3NpbmdgXSk7XG4gICAgICBjb25zdCBidWNrZXRzID0gW1xuICAgICAgICAuLi52YWx1ZS5idWNrZXRzLFxuICAgICAgICAuLi4oaW5jbHVkZU1pc3NpbmcgJiYgbWlzc2luZyAmJiBtaXNzaW5nLmRvY19jb3VudCA+IDBcbiAgICAgICAgICA/IFt7IC4uLm1pc3NpbmcsIGtleTogTUlTU0lORyB9XVxuICAgICAgICAgIDogW10pLFxuICAgICAgXTtcbiAgICAgIGNvbnN0IGJ1Y2tldF9jb3VudCA9IGJ1Y2tldHMubGVuZ3RoO1xuXG4gICAgICByZXR1cm4ge1xuICAgICAgICAuLi5wcnVuZWRBZ2dzLFxuICAgICAgICBbZmllbGRdOiB7XG4gICAgICAgICAgYnVja2V0X2NvdW50LFxuICAgICAgICAgIGJ1Y2tldHM6IGJ1Y2tldHNcbiAgICAgICAgICAgIC5tYXAoKHsgcm4sIC4uLmJ1Y2tldCB9KSA9PiAoe1xuICAgICAgICAgICAgICAuLi5idWNrZXQsXG4gICAgICAgICAgICAgIGRvY19jb3VudDogcm4gPyBybi5kb2NfY291bnQgOiBidWNrZXQuZG9jX2NvdW50LFxuICAgICAgICAgICAgfSkpXG4gICAgICAgICAgICAuZmlsdGVyKChiKSA9PiBiLmRvY19jb3VudCksXG4gICAgICAgIH0sXG4gICAgICB9O1xuICAgIH0gZWxzZSB7XG4gICAgICByZXR1cm4ge1xuICAgICAgICAuLi5wcnVuZWRBZ2dzLFxuICAgICAgICAuLi5mbGF0dGVuQWdncmVnYXRpb25zKHsgYWdncmVnYXRpb25zOiB2YWx1ZSwgaW5jbHVkZU1pc3NpbmcgfSksXG4gICAgICB9O1xuICAgIH1cbiAgfSwge30pO1xufVxuXG5leHBvcnQgZGVmYXVsdCBmbGF0dGVuQWdncmVnYXRpb25zO1xuIl19 |
@@ -90,2 +90,2 @@ "use strict"; | ||
} | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW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TE9ORyA6IHg7XG4iXX0= | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy91dGlscy9lc1RvU2FmZUpzSW50LmpzIl0sIm5hbWVzIjpbIngiLCJOdW1iZXIiLCJpc0ludGVnZXIiLCJpc1NhZmVJbnRlZ2VyIiwiRVNfTUFYX0xPTkciXSwibWFwcGluZ3MiOiI7Ozs7Ozs7QUFBQTs7ZUFFZSxrQkFBQ0EsQ0FBRDtBQUFBLFNBQVFDLE1BQU0sQ0FBQ0MsU0FBUCxDQUFpQkYsQ0FBakIsS0FBdUIsQ0FBQ0MsTUFBTSxDQUFDRSxhQUFQLENBQXFCSCxDQUFyQixDQUF4QixHQUFrREksc0JBQWxELEdBQWdFSixDQUF4RTtBQUFBLEMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBFU19NQVhfTE9ORyB9IGZyb20gJy4uL2NvbnN0YW50cyc7XG5cbmV4cG9ydCBkZWZhdWx0ICh4KSA9PiAoTnVtYmVyLmlzSW50ZWdlcih4KSAmJiAhTnVtYmVyLmlzU2FmZUludGVnZXIoeCkgPyBFU19NQVhfTE9ORyA6IHgpO1xuIl19 |
{ | ||
"name": "@arranger/middleware", | ||
"version": "2.4.0", | ||
"version": "2.5.1", | ||
"description": "Arranger Middleware", | ||
@@ -43,3 +43,6 @@ "main": "dist/index.js", | ||
"eslint-plugin-prettier": "^2.6.0", | ||
"flow-bin": "^0.62.0" | ||
"flow-bin": "^0.62.0", | ||
"husky": "^4.3.0", | ||
"prettier": "^2.1.2", | ||
"pretty-quick": "^3.0.2" | ||
}, | ||
@@ -61,3 +64,13 @@ "dependencies": { | ||
}, | ||
"gitHead": "14257021e5469140587da38c2c6591e818b2d736" | ||
"prettier": { | ||
"printWidth": 100, | ||
"trailingComma": "all", | ||
"singleQuote": true | ||
}, | ||
"husky": { | ||
"hooks": { | ||
"pre-commit": "pretty-quick --staged" | ||
} | ||
}, | ||
"gitHead": "8c9c6bb0fe10f14de942705a0fb7a0aa121ae66e" | ||
} |
@@ -96,4 +96,3 @@ import buildAggregations from '../../src/buildAggregations'; | ||
missing: { | ||
field: | ||
'cases.samples.portions.slides.annotations.notes', | ||
field: 'cases.samples.portions.slides.annotations.notes', | ||
}, | ||
@@ -104,4 +103,3 @@ }, | ||
terms: { | ||
field: | ||
'cases.samples.portions.slides.annotations.notes', | ||
field: 'cases.samples.portions.slides.annotations.notes', | ||
size: 300000, | ||
@@ -140,4 +138,3 @@ }, | ||
missing: { | ||
field: | ||
'cases.samples.portions.slides.annotations.category', | ||
field: 'cases.samples.portions.slides.annotations.category', | ||
}, | ||
@@ -148,4 +145,3 @@ }, | ||
terms: { | ||
field: | ||
'cases.samples.portions.slides.annotations.category', | ||
field: 'cases.samples.portions.slides.annotations.category', | ||
size: 300000, | ||
@@ -425,5 +421,3 @@ }, | ||
terms: { | ||
'participants.diagnoses.mondo_id_diagnosis': [ | ||
'SOME_VALUE', | ||
], | ||
'participants.diagnoses.mondo_id_diagnosis': ['SOME_VALUE'], | ||
boost: 0, | ||
@@ -520,5 +514,3 @@ }, | ||
terms: { | ||
'participants.diagnoses.mondo_id_diagnosis': [ | ||
'SOME_VALUE', | ||
], | ||
'participants.diagnoses.mondo_id_diagnosis': ['SOME_VALUE'], | ||
boost: 0, | ||
@@ -557,5 +549,3 @@ }, | ||
terms: { | ||
'participants.diagnoses.mondo_id_diagnosis': [ | ||
'SOME_VALUE', | ||
], | ||
'participants.diagnoses.mondo_id_diagnosis': ['SOME_VALUE'], | ||
boost: 0, | ||
@@ -575,4 +565,3 @@ }, | ||
terms: { | ||
field: | ||
'participants.diagnoses.source_text_diagnosis', | ||
field: 'participants.diagnoses.source_text_diagnosis', | ||
size: 300000, | ||
@@ -588,4 +577,3 @@ }, | ||
missing: { | ||
field: | ||
'participants.diagnoses.source_text_diagnosis', | ||
field: 'participants.diagnoses.source_text_diagnosis', | ||
}, | ||
@@ -655,5 +643,3 @@ }, | ||
terms: { | ||
'participants.diagnoses.mondo_id_diagnosis': [ | ||
'SOME_VALUE', | ||
], | ||
'participants.diagnoses.mondo_id_diagnosis': ['SOME_VALUE'], | ||
boost: 0, | ||
@@ -664,5 +650,3 @@ }, | ||
terms: { | ||
'participants.diagnoses.source_text_diagnosis': [ | ||
'SOME_VALUE', | ||
], | ||
'participants.diagnoses.source_text_diagnosis': ['SOME_VALUE'], | ||
boost: 0, | ||
@@ -669,0 +653,0 @@ }, |
@@ -831,5 +831,3 @@ import buildQuery from '../../src/buildQuery'; | ||
bool: { | ||
must: [ | ||
{ terms: { 'files.kf_id': ['GF_JBMG9T1M'], boost: 0 } }, | ||
], | ||
must: [{ terms: { 'files.kf_id': ['GF_JBMG9T1M'], boost: 0 } }], | ||
}, | ||
@@ -844,5 +842,3 @@ }, | ||
bool: { | ||
must: [ | ||
{ terms: { 'files.kf_id': ['GF_WCYF2AH4'], boost: 0 } }, | ||
], | ||
must: [{ terms: { 'files.kf_id': ['GF_WCYF2AH4'], boost: 0 } }], | ||
}, | ||
@@ -849,0 +845,0 @@ }, |
@@ -32,5 +32,3 @@ import buildQuery from '../../src/buildQuery'; | ||
field: 'participants.samples.anatomical_site', | ||
value: [ | ||
'C40.0: Long bones of upper limb, scapula and associated joints', | ||
], | ||
value: ['C40.0: Long bones of upper limb, scapula and associated joints'], | ||
}, | ||
@@ -123,5 +121,3 @@ }, | ||
filters: { | ||
content: [ | ||
{ content: { field: 'files.foo.name', value: 7 }, op: '>=' }, | ||
], | ||
content: [{ content: { field: 'files.foo.name', value: 7 }, op: '>=' }], | ||
op: 'and', | ||
@@ -213,5 +209,3 @@ }, | ||
terms: { | ||
'files.data_category': [ | ||
'Simple Nucleotide Variation', | ||
], | ||
'files.data_category': ['Simple Nucleotide Variation'], | ||
boost: 0, | ||
@@ -250,4 +244,3 @@ }, | ||
exists: { | ||
field: | ||
'files.analysis.metadata.read_groups.is_paired_end', | ||
field: 'files.analysis.metadata.read_groups.is_paired_end', | ||
boost: 0, | ||
@@ -356,5 +349,3 @@ }, | ||
terms: { | ||
'files.foo.bar.name': [ | ||
'cname', | ||
], | ||
'files.foo.bar.name': ['cname'], | ||
boost: 0, | ||
@@ -619,5 +610,3 @@ }, | ||
bool: { | ||
must: [ | ||
{ terms: { 'files.center.code': ['01'], boost: 0 } }, | ||
], | ||
must: [{ terms: { 'files.center.code': ['01'], boost: 0 } }], | ||
}, | ||
@@ -666,5 +655,3 @@ }, | ||
bool: { | ||
must_not: [ | ||
{ terms: { 'files.access': ['protected'], boost: 0 } }, | ||
], | ||
must_not: [{ terms: { 'files.access': ['protected'], boost: 0 } }], | ||
}, | ||
@@ -679,5 +666,3 @@ }, | ||
bool: { | ||
must: [ | ||
{ terms: { 'files.center.code': ['01'], boost: 0 } }, | ||
], | ||
must: [{ terms: { 'files.center.code': ['01'], boost: 0 } }], | ||
}, | ||
@@ -722,5 +707,3 @@ }, | ||
bool: { | ||
must: [ | ||
{ terms: { 'files.access': ['protected4'], boost: 0 } }, | ||
], | ||
must: [{ terms: { 'files.access': ['protected4'], boost: 0 } }], | ||
}, | ||
@@ -735,5 +718,3 @@ }, | ||
bool: { | ||
must_not: [ | ||
{ terms: { 'files.center.code': ['04'], boost: 0 } }, | ||
], | ||
must_not: [{ terms: { 'files.center.code': ['04'], boost: 0 } }], | ||
}, | ||
@@ -778,5 +759,3 @@ }, | ||
bool: { | ||
must: [ | ||
{ terms: { 'files.access': ['protected'], boost: 0 } }, | ||
], | ||
must: [{ terms: { 'files.access': ['protected'], boost: 0 } }], | ||
}, | ||
@@ -791,5 +770,3 @@ }, | ||
bool: { | ||
must_not: [ | ||
{ terms: { 'files.center.code': ['01'], boost: 0 } }, | ||
], | ||
must_not: [{ terms: { 'files.center.code': ['01'], boost: 0 } }], | ||
}, | ||
@@ -1021,5 +998,3 @@ }, | ||
filters: { | ||
content: [ | ||
{ content: { field: 'files.foo.name', value: 'cname' }, op: '!=' }, | ||
], | ||
content: [{ content: { field: 'files.foo.name', value: 'cname' }, op: '!=' }], | ||
op: 'and', | ||
@@ -1082,5 +1057,3 @@ }, | ||
bool: { | ||
must_not: [ | ||
{ terms: { 'files.foo.code': ['01'], boost: 0 } }, | ||
], | ||
must_not: [{ terms: { 'files.foo.code': ['01'], boost: 0 } }], | ||
}, | ||
@@ -1391,5 +1364,3 @@ }, | ||
terms: { | ||
'files.data_category': [ | ||
'Simple Nucleotide Variation', | ||
], | ||
'files.data_category': ['Simple Nucleotide Variation'], | ||
boost: 0, | ||
@@ -1428,4 +1399,3 @@ }, | ||
exists: { | ||
field: | ||
'files.analysis.metadata.read_groups.is_paired_end', | ||
field: 'files.analysis.metadata.read_groups.is_paired_end', | ||
boost: 0, | ||
@@ -1432,0 +1402,0 @@ }, |
import buildQuery from '../../src/buildQuery'; | ||
import { | ||
ES_ARRANGER_SET_INDEX, | ||
ES_ARRANGER_SET_TYPE, | ||
} from '../../src/constants'; | ||
import { ES_ARRANGER_SET_INDEX, ES_ARRANGER_SET_TYPE } from '../../src/constants'; | ||
test('buildQuery sets', () => { | ||
@@ -7,0 +4,0 @@ const nestedFields = ['files', 'files.foo']; |
@@ -17,5 +17,3 @@ import buildQuery from '../../src/buildQuery'; | ||
filters: { | ||
content: [ | ||
{ content: { field: 'case_id', value: ['006*'] }, op: 'in' }, | ||
], | ||
content: [{ content: { field: 'case_id', value: ['006*'] }, op: 'in' }], | ||
op: 'and', | ||
@@ -36,6 +34,3 @@ }, | ||
bool: { | ||
should: [ | ||
{ terms: { case_id: ['v1'], boost: 0 } }, | ||
{ regexp: { case_id: '006.*' } }, | ||
], | ||
should: [{ terms: { case_id: ['v1'], boost: 0 } }, { regexp: { case_id: '006.*' } }], | ||
}, | ||
@@ -48,5 +43,3 @@ }, | ||
filters: { | ||
content: [ | ||
{ content: { field: 'case_id', value: ['006*', 'v1'] }, op: 'in' }, | ||
], | ||
content: [{ content: { field: 'case_id', value: ['006*', 'v1'] }, op: 'in' }], | ||
op: 'and', | ||
@@ -104,5 +97,3 @@ }, | ||
filters: { | ||
content: [ | ||
{ content: { field: 'files.foo.name', value: 'cname*' }, op: '=' }, | ||
], | ||
content: [{ content: { field: 'files.foo.name', value: 'cname*' }, op: '=' }], | ||
op: 'and', | ||
@@ -125,5 +116,3 @@ }, | ||
bool: { | ||
must: [ | ||
{ regexp: { 'files.foo.name': 'cname.*' } }, | ||
], | ||
must: [{ regexp: { 'files.foo.name': 'cname.*' } }], | ||
}, | ||
@@ -272,5 +261,3 @@ }, | ||
bool: { | ||
must: [ | ||
{ regexp: { 'files.foo.name1': '.*cname' } }, | ||
], | ||
must: [{ regexp: { 'files.foo.name1': '.*cname' } }], | ||
}, | ||
@@ -296,5 +283,3 @@ }, | ||
bool: { | ||
must: [ | ||
{ regexp: { 'files.foo.name2': 'cn.*me' } }, | ||
], | ||
must: [{ regexp: { 'files.foo.name2': 'cn.*me' } }], | ||
}, | ||
@@ -320,5 +305,3 @@ }, | ||
bool: { | ||
must: [ | ||
{ regexp: { 'files.foo.name3': 'cname.*' } }, | ||
], | ||
must: [{ regexp: { 'files.foo.name3': 'cname.*' } }], | ||
}, | ||
@@ -325,0 +308,0 @@ }, |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
282535
20
5096