Standardize Event DB/Types and fix critical UI type mismatches across Badges, Journals, and Locations modules
This commit is contained in:
@@ -14,27 +14,31 @@ export interface ae_BaseObj {
|
||||
short_name?: string;
|
||||
description?: string | null;
|
||||
|
||||
enable: boolean | null;
|
||||
hide: boolean | null;
|
||||
enable?: boolean | null;
|
||||
hide?: boolean | null;
|
||||
archive?: boolean;
|
||||
archive_on?: string | Date;
|
||||
|
||||
priority: boolean | null;
|
||||
sort: number | null;
|
||||
group?: string;
|
||||
notes?: string;
|
||||
priority?: boolean | null;
|
||||
sort?: number | null;
|
||||
group?: string | null;
|
||||
notes?: string | null;
|
||||
|
||||
created_on: string | Date;
|
||||
updated_on: string | Date;
|
||||
created_on?: string | Date | null;
|
||||
updated_on?: string | Date | null;
|
||||
|
||||
// Standard frontend computed sort fields
|
||||
tmp_sort_1?: string;
|
||||
tmp_sort_2?: string;
|
||||
tmp_sort_3?: string;
|
||||
tmp_sort_1?: string | null;
|
||||
tmp_sort_2?: string | null;
|
||||
tmp_sort_3?: string | null;
|
||||
}
|
||||
|
||||
/**
|
||||
* Account - Core client account
|
||||
* Related Files:
|
||||
* - src/lib/ae_core/ae_core_functions.ts (API)
|
||||
* - src/routes/core/accounts/[account_id]/+page.svelte (View)
|
||||
* - src/routes/core/accounts/ae_comp__account_search.svelte (Search)
|
||||
*/
|
||||
export interface ae_Account extends ae_BaseObj {
|
||||
account_id: string;
|
||||
@@ -270,6 +274,10 @@ export interface ae_Person extends ae_BaseObj {
|
||||
|
||||
/**
|
||||
* User - A login entity with permissions
|
||||
* Related Files:
|
||||
* - src/lib/ae_core/ae_core_functions.ts (API)
|
||||
* - src/routes/core/users/[user_id]/+page.svelte (View)
|
||||
* - src/routes/core/users/ae_comp__user_search.svelte (Search)
|
||||
*/
|
||||
export interface ae_User extends ae_BaseObj {
|
||||
user_id: string;
|
||||
@@ -464,36 +472,36 @@ export interface ae_EventBadge extends ae_BaseObj {
|
||||
event_id_random: string;
|
||||
person_id: string;
|
||||
person_id_random: string;
|
||||
event_person_id?: string;
|
||||
event_person_id_random?: string;
|
||||
event_person_id?: string | null;
|
||||
event_person_id_random?: string | null;
|
||||
|
||||
event_badge_template_id?: string;
|
||||
event_badge_template_id_random?: string;
|
||||
event_badge_template_id?: string | null;
|
||||
event_badge_template_id_random?: string | null;
|
||||
|
||||
badge_type_code?: string;
|
||||
badge_type?: string;
|
||||
badge_type_code?: string | null;
|
||||
badge_type?: string | null;
|
||||
|
||||
member_type_code?: string;
|
||||
member_status?: string;
|
||||
member_type_code?: string | null;
|
||||
member_status?: string | null;
|
||||
|
||||
pronouns?: string;
|
||||
given_name?: string;
|
||||
middle_name?: string;
|
||||
family_name?: string;
|
||||
full_name?: string;
|
||||
affiliations?: string;
|
||||
pronouns?: string | null;
|
||||
given_name?: string | null;
|
||||
middle_name?: string | null;
|
||||
family_name?: string | null;
|
||||
full_name?: string | null;
|
||||
affiliations?: string | null;
|
||||
|
||||
professional_title?: string;
|
||||
email?: string;
|
||||
city?: string;
|
||||
state_province?: string;
|
||||
country?: string;
|
||||
professional_title?: string | null;
|
||||
email?: string | null;
|
||||
city?: string | null;
|
||||
state_province?: string | null;
|
||||
country?: string | null;
|
||||
|
||||
print_count?: number;
|
||||
print_first_datetime?: string | Date;
|
||||
print_last_datetime?: string | Date;
|
||||
print_count?: number | null;
|
||||
print_first_datetime?: string | Date | null;
|
||||
print_last_datetime?: string | Date | null;
|
||||
|
||||
ticket_list?: any[];
|
||||
ticket_list?: any[] | null;
|
||||
data_json?: any;
|
||||
}
|
||||
|
||||
@@ -506,20 +514,20 @@ export interface ae_EventBadgeTemplate extends ae_BaseObj {
|
||||
event_id: string;
|
||||
event_id_random: string;
|
||||
|
||||
logo_path?: string;
|
||||
header_path?: string;
|
||||
header_row_1?: string;
|
||||
header_row_2?: string;
|
||||
logo_path?: string | null;
|
||||
header_path?: string | null;
|
||||
header_row_1?: string | null;
|
||||
header_row_2?: string | null;
|
||||
|
||||
footer_path?: string;
|
||||
footer_title?: string;
|
||||
footer_path?: string | null;
|
||||
footer_title?: string | null;
|
||||
|
||||
badge_type_list?: any;
|
||||
ticket_list?: any;
|
||||
|
||||
layout?: string;
|
||||
style_href?: string;
|
||||
passcode?: string;
|
||||
layout?: string | null;
|
||||
style_href?: string | null;
|
||||
passcode?: string | null;
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -531,14 +539,14 @@ export interface ae_EventLocation extends ae_BaseObj {
|
||||
event_id: string;
|
||||
event_id_random: string;
|
||||
|
||||
location_type?: string;
|
||||
location_type_code?: string;
|
||||
location_type?: string | null;
|
||||
location_type_code?: string | null;
|
||||
|
||||
internal_use?: boolean;
|
||||
record_audio?: boolean;
|
||||
record_video?: boolean;
|
||||
internal_use?: boolean | null;
|
||||
record_audio?: boolean | null;
|
||||
record_video?: boolean | null;
|
||||
|
||||
passcode?: string;
|
||||
passcode?: string | null;
|
||||
data_json?: any;
|
||||
}
|
||||
|
||||
@@ -627,22 +635,22 @@ export interface ae_EventPresenter extends ae_BaseObj {
|
||||
event_presenter_id_random: string;
|
||||
event_id: string;
|
||||
event_id_random: string;
|
||||
person_id: string;
|
||||
person_id_random: string;
|
||||
person_id?: string | null;
|
||||
person_id_random?: string | null;
|
||||
|
||||
pronouns?: string;
|
||||
pronouns?: string | null;
|
||||
informal_name?: string | null;
|
||||
title_names?: string | null;
|
||||
given_name?: string;
|
||||
middle_name?: string;
|
||||
family_name?: string;
|
||||
full_name?: string;
|
||||
affiliations?: string;
|
||||
email?: string;
|
||||
middle_name?: string | null;
|
||||
family_name?: string | null;
|
||||
designations?: string | null;
|
||||
|
||||
professional_title?: string;
|
||||
tagline?: string;
|
||||
biography?: string;
|
||||
professional_title?: string | null;
|
||||
tagline?: string | null;
|
||||
biography?: string | null;
|
||||
|
||||
agree?: boolean;
|
||||
agree?: boolean | null;
|
||||
data_json?: any;
|
||||
}
|
||||
|
||||
@@ -831,16 +839,20 @@ export interface ae_EventFile extends ae_BaseObj {
|
||||
event_id: string;
|
||||
event_id_random: string;
|
||||
|
||||
hosted_file_id_random?: string;
|
||||
for_type?: string;
|
||||
for_id_random?: string;
|
||||
hosted_file_id: string;
|
||||
hosted_file_id_random: string;
|
||||
|
||||
for_type?: string | null;
|
||||
for_id_random?: string | null;
|
||||
|
||||
filename?: string;
|
||||
filename_no_ext?: string;
|
||||
extension?: string;
|
||||
|
||||
file_purpose?: string;
|
||||
approve?: boolean;
|
||||
open_in_os?: string | null;
|
||||
|
||||
file_purpose?: string | null;
|
||||
approve?: boolean | null;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user