-
Notifications
You must be signed in to change notification settings - Fork 0
/
config-ocaml.json
60 lines (60 loc) · 1.62 KB
/
config-ocaml.json
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
{
"entities": [
{
"name": "category",
"plural": "categories",
"table": "Categories",
"add": true,
"fields": [
{
"name": "name",
"editable": true
}
]
},
{
"name": "sample",
"plural": "samples",
"table": "Samples",
"enablement": "status",
"defaultEnabled": 1,
"add": true,
"type": "code-sample",
"filter": [
{
"entity": "categories",
"field": "categories",
"label": "name",
"multiple": true,
"all": true
}
],
"search": {
"field": "input"
},
"fields": [
{
"name": "input",
"editable": true
},
{
"name": "output",
"editable": true
},
{
"name": "categories",
"foreignKey": "categories",
"multiple": true,
"intersection": {
"table": "SampleCategories",
"primaryKey": "sample_id",
"foreignKey": "category_id"
},
"label": "name",
"none": "General",
"editable": true
}
]
}
]
}