yao/tests/tables/hooks/search.tab.json

39 lines
763 B
JSON

{
"name": "云服务库",
"version": "1.0.0",
"decription": "云服务库",
"bind": {
"model": "service",
"withs": {}
},
"hooks": {
"before:search": "flows.hooks.before_search",
"after:search": "flows.hooks.after_search"
},
"apis": {
"search": {
"process": "models.service.Paginate",
"guard": "-",
"default": [null, null, 15]
}
},
"columns": {},
"filters": {},
"list": {
"primary": "id",
"layout": {
"columns": [{ "name": "ID", "width": 6 }],
"filters": []
},
"actions": {}
},
"edit": {
"primary": "id",
"layout": {
"fieldset": [{ "columns": [{ "name": "ID", "width": 6 }] }]
},
"actions": { "cancel": {} }
},
"insert": {},
"view": {}
}