Saving changes now that most things have been migrated to CRUD V3 and appear to be working. This still needs testing though.

This commit is contained in:
Scott Idem
2026-01-06 13:11:03 -05:00
parent 552ca31603
commit 9c06b07665
6 changed files with 310 additions and 795 deletions

View File

@@ -1,6 +1,7 @@
from app.models.event_models import *
from app.models.event_file_models import *
from app.models.event_device_models import *
from app.models.event_cfg_models import *
events_general_obj_li = {
'event': {
@@ -91,4 +92,22 @@ events_general_obj_li = {
'enable', 'hide', 'priority', 'group', 'notes', 'created_on', 'updated_on'
],
},
'event_cfg': {
'tbl': 'event_cfg',
'tbl_default': 'event_cfg',
'tbl_update': 'event_cfg',
'mdl': Event_Cfg_Base,
'mdl_default': Event_Cfg_Base,
'mdl_in': Event_Cfg_Base,
'mdl_out': Event_Cfg_Base,
# Legacy V2 keys:
'table_name': 'event_cfg',
'tbl_name_update': 'event_cfg',
'base_name': Event_Cfg_Base,
# V3 Search Security:
'searchable_fields': [
'event_cfg_id_random', 'event_id_random', 'enable', 'conference',
'status', 'hide', 'priority', 'group', 'notes'
],
},
}