UNPKG

@schamane/small-graphql-mongoose-middleware

Version:

![Check Code](https://github.com/schamane/small-graphql-mongoose-middleware/workflows/Check%20Code/badge.svg)

27 lines 1.07 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.GraphqlQueryType = exports.SortDirection = exports.FilterOperator = void 0; var FilterOperator; (function (FilterOperator) { FilterOperator["EQ"] = "eq"; FilterOperator["NE"] = "ne"; FilterOperator["LT"] = "lt"; FilterOperator["LTE"] = "lte"; FilterOperator["GT"] = "gt"; FilterOperator["GTE"] = "gte"; FilterOperator["BT"] = "bt"; FilterOperator["CONTAINS"] = "contains"; FilterOperator["IN"] = "in"; FilterOperator["NIN"] = "nin"; })(FilterOperator = exports.FilterOperator || (exports.FilterOperator = {})); var SortDirection; (function (SortDirection) { SortDirection["ASC"] = "asc"; SortDirection["DESC"] = "desc"; })(SortDirection = exports.SortDirection || (exports.SortDirection = {})); var GraphqlQueryType; (function (GraphqlQueryType) { GraphqlQueryType["AND"] = "$and"; GraphqlQueryType["OR"] = "$or"; })(GraphqlQueryType = exports.GraphqlQueryType || (exports.GraphqlQueryType = {})); //# sourceMappingURL=filter.js.map