- Change service_id field uitype from 'select' to 'code' (bricks has no select type)
- Create hermes_services/list/index.dspy endpoint to provide service list data for code component
- Use Form's built-in submit/cancel buttons instead of manual Button widgets
- Add sessions.json CRUD definition for session management
- Ensure proper data format for code component: {"value": "id", "text": "name"}
23 lines
753 B
JSON
23 lines
753 B
JSON
{
|
|
"tblname": "sessions",
|
|
"title": "Sessions",
|
|
"params": {
|
|
"sortby": ["created_at desc"],
|
|
"confidential_fields": [],
|
|
"browserfields": {
|
|
"exclouded": ["id", "user_id", "session_data", "updated_at"],
|
|
"alters": {
|
|
"status": {
|
|
"uitype": "code",
|
|
"data": [
|
|
{"value": "active", "text": "Active"},
|
|
{"value": "closed", "text": "Closed"},
|
|
{"value": "expired", "text": "Expired"}
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"editexclouded": ["id", "user_id", "message_count", "created_at", "updated_at", "closed_at"],
|
|
"subtables": []
|
|
}
|
|
} |