Work on event sessions and related files. Internal use is a new thing.

This commit is contained in:
Scott Idem
2022-09-15 17:47:07 -04:00
parent ee297d9ea7
commit 84b33bb21f
8 changed files with 83 additions and 26 deletions

View File

@@ -54,10 +54,10 @@ class Event_Device_Base(BaseModel):
trigger_open_filename: Optional[str] # The file hash filename
trigger_open_extension: Optional[str] # The file hash extension part
trigger_open_internal_os: Optional[str] # Use internal_os for win vs mac
trigger_open_open_in_os: Optional[str] # Use open_in_os for win vs mac
trigger_open_file_id: Optional[str] # The file ID random; use along with filename, extension, and internal_os
trigger_open_hash_file: Optional[str] # The file hash; use along with filename, extension, and internal_os
trigger_open_file_id: Optional[str] # The file ID random; use along with filename, extension, and open_in_os
trigger_open_hash_file: Optional[str] # The file hash; use along with filename, extension, and open_in_os
trigger_open_file_path: Optional[str] # Use along with filename
trigger_open_session_id: Optional[str]

View File

@@ -59,12 +59,15 @@ class Event_File_Base(BaseModel):
lu_file_purpose_id: Optional[int]
file_purpose: Optional[str]
# New internal use fields to help with logistics and planning 2022-09-15
internal_use: Optional[bool] # Will hide from moderators, presenters, non support people, etc
#### NOTE ***** NOTE
internal_os: Optional[str]
open_in_os: Optional[str]
public_use: Optional[bool] = False
public: Optional[bool]
approve: Optional[bool]
#### internal_os needs to be set
#### open_in_os needs to be set
#### Are other important fields missing????
publish_optout: Optional[bool]
#### NOTE ^^^^^ NOTE

View File

@@ -75,15 +75,25 @@ class Event_Session_Base(BaseModel):
rehearsal_phone_passcode: Optional[str]
rehearsal_text: Optional[str]
image_path: Optional[str]
presentation_file_path: Optional[str]
presentation_file_size: Optional[str]
image_path: Optional[str] # Not currently in use. For a banner or logo
# presentation_file_path: Optional[str] # No longer used 2022-09-15
# presentation_file_size: Optional[str] # No longer used 2022-09-15
enable_event_file_approval_option: Optional[bool]
# enable_event_file_approval_option: Optional[bool] = Field(default=False)
# enable_event_file_approval_option: Optional[bool] = False # Setting a default to try and prevent client side null value issues.
# New internal use fields to help with logistics and planning 2022-09-15
internal_use: Optional[bool] # Will hide from moderators, presenters, non support people, etc
internal_notes: Optional[str] # general notes
internal_notes_access: Optional[str] # accessibility
internal_notes_av: Optional[str] # audio video
internal_notes_fb: Optional[str] # food and beverage
internal_notes_it: Optional[str] # IT and networking
internal_notes_staff: Optional[str] # staffing and labor
file_count: Optional[int]
internal_use_count: Optional[int]
status: Optional[int]
review: Optional[bool]
@@ -130,6 +140,7 @@ class Event_Session_Base(BaseModel):
event_badge_list: Optional[list] # Optional[Event_Abstract_Base]
event_device_list: Optional[list] # Optional[Event_Device_Base]
event_file_list: Optional[list] # Optional[Event_File_Base]
event_file_internal_use_list: Optional[list] # Optional[Event_File_Base]
event_location: Optional[Union[Event_Location_Base, None]]
event_person_list: Optional[list]
event_presenter_cat: Optional[Union[str, None]]