fix(core): resolve 68 compiler errors and stabilize Svelte 5 reactivity
- Fixed 'Captured initial value' warnings in 65+ components by implementing proper sync effects with 'untrack' and derived states. - Hardened Event Settings JSON editors using a temporary string-buffer pattern to safely decouple object-based data from CodeMirror's string requirements. - Resolved strict TypeScript mismatches across core routes (Accounts, Sites, etc.) and improved property indexing safety in views. - Patched Flowbite-Svelte Drawer transitions for Svelte 5 compatibility using prop spreading. - Added comprehensive safety comments to high-risk reactivity blocks. - Synchronized 'ae_types.ts' with V3 backend models.
This commit is contained in:
@@ -251,6 +251,7 @@ export interface ae_Person extends ae_BaseObj {
|
||||
designations?: string;
|
||||
|
||||
full_name?: string;
|
||||
last_first_name?: string;
|
||||
informal_name?: string;
|
||||
preferred_display_name?: string;
|
||||
|
||||
@@ -503,6 +504,7 @@ export interface ae_EventBadge extends ae_BaseObj {
|
||||
|
||||
ticket_list?: any[] | null;
|
||||
data_json?: any;
|
||||
default_qry_str?: string | null;
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -576,6 +578,7 @@ export interface ae_EventSession extends ae_BaseObj {
|
||||
ready?: boolean | null;
|
||||
|
||||
data_json?: any;
|
||||
default_qry_str?: string | null;
|
||||
|
||||
// Additional database view fields found in db_events.ts
|
||||
file_count?: number | null;
|
||||
@@ -836,12 +839,12 @@ export interface ae_ArchiveContent extends ae_BaseObj {
|
||||
*/
|
||||
export interface ae_EventFile extends ae_BaseObj {
|
||||
event_file_id: string;
|
||||
event_file_id_random: string;
|
||||
event_file_id_random?: string;
|
||||
event_id: string;
|
||||
event_id_random: string;
|
||||
event_id_random?: string;
|
||||
|
||||
hosted_file_id: string;
|
||||
hosted_file_id_random: string;
|
||||
hosted_file_id_random?: string;
|
||||
|
||||
for_type?: string | null;
|
||||
for_id_random?: string | null;
|
||||
@@ -949,8 +952,11 @@ export interface ae_EventExhibitTracking extends ae_BaseObj {
|
||||
event_person_id_random?: string;
|
||||
event_badge_id_random?: string;
|
||||
|
||||
exhibitor_notes?: string;
|
||||
external_person_id?: string | null;
|
||||
|
||||
exhibitor_notes?: string | null;
|
||||
responses_json?: any;
|
||||
default_qry_str?: string | null;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user