forked from ukrbublik/react-awesome-query-builder
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinit_value.js
More file actions
60 lines (60 loc) · 1.1 KB
/
Copy pathinit_value.js
File metadata and controls
60 lines (60 loc) · 1.1 KB
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
const value
= {
"type": "group",
"id": "9a99988a-0123-4456-b89a-b1607f326fd8",
"children1": {
"a98ab9b9-cdef-4012-b456-71607f326fd9": {
"type": "rule",
"properties": {
"field": "user.login",
"operator": "equal",
"value": [
"batman"
],
"valueSrc": [
"value"
],
"valueType": [
"text"
]
}
},
"98a8a9ba-0123-4456-b89a-b16e721c8cd0": {
"type": "rule",
"properties": {
"field": "stock",
"operator": "equal",
"value": [
false
],
"valueSrc": [
"value"
],
"valueType": [
"boolean"
]
}
},
"aabbab8a-cdef-4012-b456-716e85c65e9c": {
"type": "rule",
"properties": {
"field": "slider",
"operator": "equal",
"value": [
35
],
"valueSrc": [
"value"
],
"valueType": [
"number"
]
}
}
},
"properties": {
"conjunction": "AND",
"not": false
}
};
export default value;