Adding cfg_json and data_json fields to more models

This commit is contained in:
Scott Idem
2024-06-11 13:35:00 -04:00
parent 6691f2a701
commit 19082a7a10
7 changed files with 27 additions and 4 deletions

View File

@@ -93,6 +93,9 @@ class Event_Device_Base(BaseModel):
info_ip_list: Optional[str] # string list of IPs separated by ;
info_os: Optional[str]
cfg_json: Optional[Union[Json, None]] # Store per device config options like theme, language, etc
data_json: Optional[Union[Json, None]] # For key value data. Careful with overwriting existing fields!
enable: Optional[bool]
# hide: Optional[bool]