-
-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathoperators.js
84 lines (83 loc) · 1.85 KB
/
operators.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
const operators = [
{
label: "equal to",
value: "equal",
types: ["date", "integer", "number", "radio", "select", "switch", "text"],
},
{
label: "not equal to",
value: "not_equal",
types: ["date", "integer", "number", "radio", "select", "switch", "text"],
},
{
label: "contains",
value: "contains",
types: ["text"],
},
{
label: "does not contain",
value: "not_contains",
types: ["text"],
},
{
label: "less than",
value: "less",
types: ["number", "integer"],
},
{
label: "greater than",
value: "greater",
types: ["number", "integer"],
},
{
label: "less or equal to",
value: "less_equal",
types: ["number", "integer"],
},
{
label: "greater or equal to",
value: "greater_equal",
types: ["number", "integer"],
},
{
label: "before than",
value: "before",
types: ["date"],
},
{
label: "after than",
value: "after",
types: ["date"],
},
{
label: "before or equal to",
value: "before_equal",
types: ["date"],
},
{
label: "after or equal to",
value: "after_equal",
types: ["date"],
},
{
label: "in",
value: "in",
types: ["multiselect"],
},
{
label: "not in",
value: "not_in",
types: ["multiselect"],
},
{
label: "is null",
value: "null",
types: ["date", "integer", "number", "multiselect", "radio", "select", "switch", "text"],
},
{
label: "is not null",
value: "not_null",
types: ["date", "integer", "number", "multiselect", "radio", "select", "switch", "text"],
},
];
export default operators;