From 16f3c65b7f1bece34b94e26a0f8fb555e1b9b162 Mon Sep 17 00:00:00 2001 From: Scott Idem Date: Tue, 5 Mar 2024 11:50:03 -0500 Subject: [PATCH] Addding in ds type and access fields --- app/models/data_store_models.py | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/app/models/data_store_models.py b/app/models/data_store_models.py index f82b165..14f71bd 100644 --- a/app/models/data_store_models.py +++ b/app/models/data_store_models.py @@ -40,14 +40,25 @@ class Data_Store_Base(BaseModel): name: Optional[str] description: Optional[str] + type: Optional[str] # json, html, md, text + + # The JSON fields are case sensitive # json: Optional[str] # "json" is reserved; need to change field name? json_str? json_str: Optional[Union[Json, None]] = Field( alias = 'json', ) + + # The text fields are case insensitive text: Optional[str] + meta_json: Optional[str] meta_text: Optional[str] + access: Optional[str] + access_read: Optional[str] + access_write: Optional[str] + access_delete: Optional[str] + enable: Optional[bool] hide: Optional[bool]