Updates to presenter for new fields with JSON
This commit is contained in:
@@ -90,18 +90,27 @@ class Event_Presenter_Base(BaseModel):
|
||||
website_url: Optional[str]
|
||||
|
||||
phone_li_json: Optional[Union[Json, None]]
|
||||
|
||||
# For social media in a JSON object format. The Aether standard field names should be used. Examples: url, url_text, icon, etc.
|
||||
social_li_json: Optional[Union[Json, None]]
|
||||
|
||||
tagline: Optional[str]
|
||||
biography: Optional[str]
|
||||
|
||||
picture_path: Optional[str]
|
||||
picture_path: Optional[str] # Start using image_li_json instead
|
||||
picture_bg_color: Optional[str]
|
||||
|
||||
# For image files only in a JSON object format. The Aether standard field names should be used. Examples: url, url_text, alt_text, width, height, size (in bytes), etc.
|
||||
image_li_json: Optional[Union[Json, None]] # "headshot" is probably the most common
|
||||
# media_li_json: Optional[Union[Json, None]]
|
||||
|
||||
role: Optional[str]
|
||||
|
||||
file_count: Optional[int]
|
||||
|
||||
# Comments from the presenter. This is for internal use only.
|
||||
comments: Optional[str]
|
||||
|
||||
enable: Optional[bool]
|
||||
enable_from: Optional[datetime.datetime] = None
|
||||
enable_to: Optional[datetime.datetime] = None
|
||||
|
||||
Reference in New Issue
Block a user