This is a mostly working state again. Some files were backed up to ~/tmp/Aether_UI_UX_app. Things are slowly being merged back in. Not easy.

This commit is contained in:
Scott Idem
2026-01-29 10:57:59 -05:00
parent b25d13297e
commit 20f1f5ad27
6 changed files with 762 additions and 194 deletions

View File

@@ -8,22 +8,22 @@
*/
export interface ae_BaseObj {
id: string; // Primary key (maps to [obj_type]_id_random)
code?: string | null;
name?: string;
short_name?: string;
description?: string | null;
enable: boolean | null;
hide: boolean | null;
archive?: boolean;
archive_on?: string | Date;
priority: boolean | null;
sort: number | null;
group?: string;
notes?: string;
created_on: string | Date;
updated_on: string | Date;
@@ -39,7 +39,7 @@ export interface ae_BaseObj {
export interface ae_Account extends ae_BaseObj {
account_id: string;
account_id_random: string;
account_cfg?: ae_AccountCfg;
}
@@ -49,14 +49,14 @@ export interface ae_Account extends ae_BaseObj {
export interface ae_AccountCfg {
id: string;
account_id_random: string;
modules_enabled?: any;
default_no_reply_email?: string;
default_no_reply_name?: string;
post_rules?: string;
post_comment_rules?: string;
created_on: string | Date;
updated_on: string | Date;
}
@@ -69,18 +69,18 @@ export interface ae_Site extends ae_BaseObj {
site_id_random: string;
account_id: string;
account_id_random: string;
url_root?: string;
site_cfg_json?: any;
restrict_access?: boolean;
access_key?: string;
logo_path?: string;
logo_bg_color?: string;
background_image_path?: string;
background_bg_color?: string;
title?: string;
tagline?: string;
}
@@ -95,11 +95,11 @@ export interface ae_SiteDomain extends ae_BaseObj {
site_id_random: string;
account_id?: string;
account_id_random?: string;
fqdn: string;
is_primary?: boolean;
redirect_to_primary?: boolean;
access_key?: string;
// Joined fields for bootstrap lookup
@@ -126,25 +126,25 @@ export interface ae_Journal extends ae_BaseObj {
account_id_random: string;
person_id?: string;
person_id_random?: string;
for_type?: string;
for_id?: string;
for_id_random?: string;
type_code?: string;
tags?: string;
summary?: string;
outline?: string;
start_datetime?: string | Date;
end_datetime?: string | Date;
timezone?: string;
passcode?: string;
passcode_timeout?: number;
private_passcode?: string;
cfg_json?: any;
data_json?: any;
meta_json?: any;
@@ -162,19 +162,19 @@ export interface ae_JournalEntry extends ae_BaseObj {
journal_entry_id_random: string;
journal_id: string;
journal_id_random: string;
person_id?: string;
person_id_random?: string;
template?: boolean;
journal_entry_type?: string;
activity_code?: string;
category_code?: string;
type_code?: string;
topic_code?: string;
tags?: string;
public?: boolean;
private?: boolean;
personal?: boolean;
@@ -182,7 +182,7 @@ export interface ae_JournalEntry extends ae_BaseObj {
summary?: string;
outline?: string;
content?: string;
content_md_html?: string;
content_html?: string;
@@ -194,7 +194,7 @@ export interface ae_JournalEntry extends ae_BaseObj {
history_encrypted?: string;
passcode_hash?: string;
start_datetime?: string | Date;
end_datetime?: string | Date;
timezone?: string;
@@ -216,7 +216,7 @@ export interface ae_JournalEntry extends ae_BaseObj {
alert?: boolean;
alert_msg?: string;
data_json?: any;
meta_json?: any;
@@ -234,7 +234,7 @@ export interface ae_Person extends ae_BaseObj {
person_id_random: string;
account_id: string;
account_id_random: string;
user_id?: string;
user_id_random?: string;
@@ -245,26 +245,26 @@ export interface ae_Person extends ae_BaseObj {
family_name?: string;
suffix?: string;
designations?: string;
full_name?: string;
informal_name?: string;
preferred_display_name?: string;
professional_title?: string;
affiliations?: string;
primary_email?: string;
email?: string;
phone?: string;
birth_date?: string | Date;
gender_name?: string;
tagline?: string;
allow_auth_key?: boolean;
passcode?: string;
data_json?: any;
}
@@ -278,20 +278,20 @@ export interface ae_User extends ae_BaseObj {
account_id_random: string;
person_id?: string;
person_id_random?: string;
username: string;
email?: string;
// Permissions (Maps to $ae_loc logic)
super: boolean;
manager: boolean;
administrator: boolean;
public: boolean;
status_name?: string;
logged_in_on?: string | Date;
last_activity_on?: string | Date;
user_role_list?: ae_UserRole[];
}
@@ -301,14 +301,14 @@ export interface ae_User extends ae_BaseObj {
export interface ae_UserRole {
id: string;
user_id_random: string;
for_type?: string;
for_id_random?: string;
code?: string;
name?: string;
enable: boolean;
created_on: string | Date;
updated_on: string | Date;
}
@@ -321,13 +321,13 @@ export interface ae_Address extends ae_BaseObj {
address_id_random: string;
account_id: string;
account_id_random: string;
for_type?: string;
for_id_random?: string;
attention_to?: string;
organization_name?: string;
line_1: string;
line_2?: string;
line_3?: string;
@@ -336,7 +336,7 @@ export interface ae_Address extends ae_BaseObj {
postal_code?: string;
country?: string;
country_name?: string;
timezone?: string;
latitude?: string;
longitude?: string;
@@ -350,19 +350,19 @@ export interface ae_Contact extends ae_BaseObj {
contact_id_random: string;
account_id: string;
account_id_random: string;
address_id_random?: string;
for_type?: string;
for_id_random?: string;
title?: string;
tagline?: string;
email?: string;
phone_mobile?: string;
phone_office?: string;
website_url?: string;
facebook_url?: string;
instagram_url?: string;
linkedin_url?: string;
@@ -376,20 +376,20 @@ export interface ae_ActivityLog extends ae_BaseObj {
activity_log_id_random: string;
account_id: string;
account_id_random: string;
person_id_random?: string;
user_id_random?: string;
external_client_id?: string;
source?: string;
object_type?: string;
object_id_random?: string;
action: string;
action_on_type?: string;
action_on_id_random?: string;
details?: string;
other_json?: any;
}
@@ -402,25 +402,25 @@ export interface ae_Event extends ae_BaseObj {
event_id_random: string;
account_id: string;
account_id_random: string;
conference: boolean;
type?: string;
name: string;
summary?: string;
description?: string;
timezone?: string;
start_datetime?: string | Date;
end_datetime?: string | Date;
location_text?: string;
location_address_json?: any;
status?: string;
approve?: boolean;
ready?: boolean;
ready_on?: string | Date;
cfg_json?: any;
data_json?: any;
@@ -445,10 +445,10 @@ export interface ae_Event extends ae_BaseObj {
*/
export interface ae_EventCfg extends ae_BaseObj {
event_id_random: string;
enable_comments?: boolean;
unauthenticated_access?: boolean;
mod_abstracts_json?: any;
mod_badges_json?: any;
mod_exhibits_json?: any;
@@ -466,33 +466,33 @@ export interface ae_EventBadge extends ae_BaseObj {
person_id_random: string;
event_person_id?: string;
event_person_id_random?: string;
event_badge_template_id?: string;
event_badge_template_id_random?: string;
badge_type_code?: string;
badge_type?: string;
member_type_code?: string;
member_status?: string;
pronouns?: string;
given_name?: string;
middle_name?: string;
family_name?: string;
full_name?: string;
affiliations?: string;
professional_title?: string;
email?: string;
city?: string;
state_province?: string;
country?: string;
print_count?: number;
print_first_datetime?: string | Date;
print_last_datetime?: string | Date;
ticket_list?: any[];
data_json?: any;
}
@@ -505,18 +505,18 @@ export interface ae_EventBadgeTemplate extends ae_BaseObj {
event_badge_template_id_random: string;
event_id: string;
event_id_random: string;
logo_path?: string;
header_path?: string;
header_row_1?: string;
header_row_2?: string;
footer_path?: string;
footer_title?: string;
badge_type_list?: any;
ticket_list?: any;
layout?: string;
style_href?: string;
passcode?: string;
@@ -530,14 +530,14 @@ export interface ae_EventLocation extends ae_BaseObj {
event_location_id_random: string;
event_id: string;
event_id_random: string;
location_type?: string;
location_type_code?: string;
internal_use?: boolean;
record_audio?: boolean;
record_video?: boolean;
passcode?: string;
data_json?: any;
}
@@ -554,19 +554,19 @@ export interface ae_EventSession extends ae_BaseObj {
event_location_id_random?: string | null;
event_track_id?: string | null;
event_track_id_random?: string | null;
type_code?: string | null;
start_datetime?: string | Date | null;
end_datetime?: string | Date | null;
internal_use?: boolean | null;
record_audio?: boolean | null;
record_video?: boolean | null;
status?: number | null;
approve?: boolean | null;
ready?: boolean | null;
data_json?: any;
// Additional database view fields found in db_events.ts
@@ -602,13 +602,13 @@ export interface ae_EventPresentation extends ae_BaseObj {
event_session_id_random: string;
event_abstract_id?: string | null;
event_abstract_id_random?: string | null;
abstract_code?: string | null;
type_code?: string | null;
start_datetime?: string | Date | null;
end_datetime?: string | Date | null;
passcode?: string | null;
file_count?: number | null;
@@ -629,7 +629,7 @@ export interface ae_EventPresenter extends ae_BaseObj {
event_id_random: string;
person_id: string;
person_id_random: string;
pronouns?: string;
given_name?: string;
middle_name?: string;
@@ -637,11 +637,11 @@ export interface ae_EventPresenter extends ae_BaseObj {
full_name?: string;
affiliations?: string;
email?: string;
professional_title?: string;
tagline?: string;
biography?: string;
agree?: boolean;
data_json?: any;
}
@@ -654,10 +654,10 @@ export interface ae_EventTrack extends ae_BaseObj {
event_track_id_random: string;
event_id: string;
event_id_random: string;
track_type?: string;
track_type_code?: string;
start_datetime?: string | Date;
end_datetime?: string | Date;
}
@@ -670,7 +670,7 @@ export interface ae_HostedFile extends ae_BaseObj {
hosted_file_id_random: string;
account_id: string;
account_id_random: string;
hash_sha256?: string;
subdirectory_path?: string;
filename?: string;
@@ -688,7 +688,7 @@ export interface ae_HostedFileLink {
hosted_file_id_random: string;
link_to_type: string;
link_to_id_random: string;
created_on: string | Date;
updated_on: string | Date;
}
@@ -699,15 +699,30 @@ export interface ae_HostedFileLink {
export interface ae_DataStore extends ae_BaseObj {
data_store_id: string;
data_store_id_random: string;
account_id: string;
account_id_random: string;
for_type?: string;
for_id_random?: string;
type?: string;
json_str?: any;
text?: string;
account_id?: null | string;
account_id_random?: null | string;
for_type?: null | string;
for_id_random?: null | string;
for_id?: null | string;
person_id_random?: null | string;
user_id_random?: null | string;
type?: null | string;
json?: any;
json_str?: null | string;
text?: null | string;
html?: null | string;
meta_json?: null | string;
meta_text?: null | string;
access?: null | string;
access_read?: null | string;
access_write?: null | string;
access_delete?: null | string;
}
/**
@@ -718,15 +733,15 @@ export interface ae_Post extends ae_BaseObj {
post_id_random: string;
account_id: string;
account_id_random: string;
title: string;
content: string;
type?: string;
anonymous: boolean;
full_name?: string;
email?: string;
post_comment_count?: number;
approve?: boolean;
ready?: boolean;
@@ -739,7 +754,7 @@ export interface ae_PostComment extends ae_BaseObj {
post_comment_id: string;
post_comment_id_random: string;
post_id_random: string;
content: string;
anonymous: boolean;
full_name?: string;
@@ -753,7 +768,7 @@ export interface ae_Page extends ae_BaseObj {
page_id_random: string;
account_id: string;
account_id_random: string;
alias: string;
title: string;
body: string;
@@ -768,18 +783,18 @@ export interface ae_Archive extends ae_BaseObj {
archive_id_random: string;
account_id: string;
account_id_random: string;
archive_type?: string;
topic_id?: string;
topic_name?: string;
content_html?: string;
original_datetime?: string | Date;
original_location?: string;
archive_on?: string | Date;
archive_content_count?: number;
}
@@ -790,13 +805,13 @@ export interface ae_ArchiveContent extends ae_BaseObj {
archive_content_id: string;
archive_content_id_random: string;
archive_id_random: string;
archive_content_type?: string;
content_html?: string;
url?: string;
duration?: string;
hosted_file_id_random?: string;
filename?: string;
subdirectory_path?: string;
@@ -810,15 +825,15 @@ export interface ae_EventFile extends ae_BaseObj {
event_file_id_random: string;
event_id: string;
event_id_random: string;
hosted_file_id_random?: string;
for_type?: string;
for_id_random?: string;
filename?: string;
filename_no_ext?: string;
extension?: string;
file_purpose?: string;
approve?: boolean;
}
@@ -832,11 +847,11 @@ export interface ae_EventDevice extends ae_BaseObj {
event_id: string;
event_id_random: string;
event_location_id_random?: string;
app_mode?: string;
status?: string;
heartbeat?: string | Date;
info_hostname?: string;
info_ip?: string;
}
@@ -849,7 +864,7 @@ export interface ae_EventAbstract extends ae_BaseObj {
event_abstract_id_random: string;
event_id: string;
event_id_random: string;
external_id?: string;
abstract?: string;
status?: number;
@@ -864,7 +879,7 @@ export interface ae_Organization extends ae_BaseObj {
organization_id_random: string;
account_id: string;
account_id_random: string;
tagline?: string;
logo_path?: string;
industry?: number;
@@ -880,7 +895,7 @@ export interface ae_EventRegistration extends ae_BaseObj {
event_id_random: string;
person_id: string;
person_id_random: string;
organization_id_random?: string;
contact_id_random?: string;
}
@@ -893,11 +908,11 @@ export interface ae_EventExhibit extends ae_BaseObj {
event_exhibit_id_random: string;
event_id: string;
event_id_random: string;
organization_id_random?: string;
contact_id_random?: string;
person_id_random?: string;
tagline?: string;
logo_path?: string;
staff_limit?: number;
@@ -912,10 +927,10 @@ export interface ae_EventExhibitTracking extends ae_BaseObj {
event_id: string;
event_id_random: string;
event_exhibit_id_random: string;
event_person_id_random?: string;
event_badge_id_random?: string;
exhibitor_notes?: string;
responses_json?: any;
}
@@ -930,10 +945,10 @@ export interface ae_EventPerson extends ae_BaseObj {
event_id_random: string;
person_id: string;
person_id_random: string;
event_badge_id_random?: string;
event_registration_id_random?: string;
passcode?: string;
agree_to_tc?: boolean;
}
@@ -947,11 +962,11 @@ export interface ae_EventPersonProfile extends ae_BaseObj {
event_id: string;
event_id_random: string;
event_person_id_random: string;
tagline?: string;
biography?: string;
website_url?: string;
thumbnail_path?: string;
picture_path?: string;
}
@@ -963,9 +978,9 @@ export interface ae_EventPersonTracking extends ae_BaseObj {
event_person_id_random: string;
event_id: string;
event_id_random: string;
event_session_id_random?: string;
check_in_out?: boolean;
in_datetime?: string | Date;
out_datetime?: string | Date;
@@ -979,7 +994,7 @@ export interface ae_Sponsorship extends ae_BaseObj {
sponsorship_id_random: string;
account_id: string;
account_id_random: string;
sponsorship_cfg_id_random: string;
amount?: number;
paid?: boolean;
@@ -993,7 +1008,7 @@ export interface ae_SponsorshipCfg extends ae_BaseObj {
sponsorship_cfg_id_random: string;
account_id: string;
account_id_random: string;
level_li_json?: any;
start_datetime?: string | Date;
end_datetime?: string | Date;
@@ -1005,10 +1020,10 @@ export interface ae_SponsorshipCfg extends ae_BaseObj {
export interface ae_LogClientViewing extends ae_BaseObj {
account_id_random: string;
external_client_id: string;
object_type: string;
object_id: string;
page_load_on?: string | Date;
play_start_count?: number;
play_pause_count?: number;