'use strict';

const FilterType = {
    number: "number",
    string: "string",
    date: "date",
    select: "select",
};
const filterOperators = {
    number: [
        { value: "eq", label: "is" },
        { value: "neq", label: "is not" },
        { value: "lt", label: "less than" },
        { value: "lte", label: "less than or equal" },
        { value: "gt", label: "greater than" },
        { value: "gte", label: "greater than or equal" },
    ],
    string: [
        { value: "eq", label: "is" },
        { value: "neq", label: "is not" },
        { value: "like", label: "contains" },
    ],
    date: [
        { value: "eq", label: "is" },
        { value: "neq", label: "is not" },
        { value: "lt", label: "is before" },
        { value: "lte", label: "is on or before" },
        { value: "gt", label: "is after" },
        { value: "gte", label: "is on or after" },
    ],
    select: [
        { value: "eq", label: "is" },
        { value: "neq", label: "is not" },
    ],
};

exports.FilterType = FilterType;
exports.filterOperators = filterOperators;
//# sourceMappingURL=filters.cjs.map
