UNPKG

@react-awesome-query-builder/core

Version:
34 lines (30 loc) 678 B
import moment from "moment"; import { SqlString, sqlEmptyValue, stringifyForDisplay, wrapWithBrackets, } from "../utils/export"; import { mongoEmptyValue, mongoFormatOp1, mongoFormatOp2, } from "../utils/mongoUtils"; import { spelFixList, spelEscape, } from "../utils/spelUtils"; import {escapeRegExp} from "../utils/stuff"; import {getTitleInListValues} from "../utils/listValues"; const ctx = { utils: { SqlString, moment, mongoFormatOp1, mongoFormatOp2, mongoEmptyValue, escapeRegExp, sqlEmptyValue, stringifyForDisplay, getTitleInListValues, spelEscape, spelFixList, wrapWithBrackets, }, }; export default ctx;