Standardize Event DB/Types and fix critical UI type mismatches across Badges, Journals, and Locations modules
This commit is contained in:
@@ -5,7 +5,13 @@ import type { key_val } from '$lib/stores/ae_stores';
|
||||
// li = list
|
||||
// kv = key value list
|
||||
|
||||
// Updated 2024-10-16
|
||||
/**
|
||||
* Event - A core Aether event
|
||||
* Related Files:
|
||||
* - src/lib/ae_events/ae_events__event.ts (API)
|
||||
* - src/routes/events/[event_id]/+page.svelte (View)
|
||||
* - src/routes/events/[event_id]/settings/+page.svelte (Admin Settings)
|
||||
*/
|
||||
export interface Event {
|
||||
id: string;
|
||||
// id_random: string;
|
||||
@@ -47,13 +53,13 @@ export interface Event {
|
||||
mod_pres_mgmt_json?: null | key_val;
|
||||
cfg_json?: null | key_val;
|
||||
|
||||
enable: null | boolean;
|
||||
enable?: null | boolean;
|
||||
hide?: null | boolean;
|
||||
priority?: null | boolean;
|
||||
sort?: null | number;
|
||||
group?: null | string;
|
||||
notes?: null | string;
|
||||
created_on: Date;
|
||||
created_on?: Date | null;
|
||||
updated_on?: null | Date;
|
||||
|
||||
// Generated fields for sorting locally only
|
||||
@@ -169,13 +175,13 @@ export interface Badge {
|
||||
|
||||
alert?: null | boolean;
|
||||
|
||||
enable: null | boolean;
|
||||
enable?: null | boolean;
|
||||
hide?: null | boolean;
|
||||
priority?: null | boolean;
|
||||
sort?: null | number;
|
||||
group?: null | string;
|
||||
notes?: null | string;
|
||||
created_on: Date;
|
||||
created_on?: Date | null;
|
||||
updated_on?: null | Date;
|
||||
|
||||
// Generated fields for sorting locally only
|
||||
@@ -246,13 +252,13 @@ export interface Badge_template {
|
||||
layout?: null | string;
|
||||
style_filename?: null | string;
|
||||
|
||||
enable: null | boolean;
|
||||
enable?: null | boolean;
|
||||
hide?: null | boolean;
|
||||
priority?: null | boolean;
|
||||
sort?: null | number;
|
||||
group?: null | string;
|
||||
notes?: null | string;
|
||||
created_on: Date;
|
||||
created_on?: Date | null;
|
||||
updated_on?: null | Date;
|
||||
|
||||
// Generated fields for sorting locally only
|
||||
@@ -310,13 +316,13 @@ export interface Device {
|
||||
meta_json?: null | string;
|
||||
other_json?: null | string;
|
||||
|
||||
enable: null | boolean;
|
||||
enable?: null | boolean;
|
||||
hide?: null | boolean;
|
||||
priority?: null | boolean;
|
||||
sort?: null | number;
|
||||
group?: null | string;
|
||||
notes?: null | string;
|
||||
created_on: Date;
|
||||
created_on?: Date | null;
|
||||
updated_on?: null | Date;
|
||||
|
||||
// Generated fields for sorting locally only
|
||||
@@ -353,14 +359,14 @@ export interface Exhibit {
|
||||
license_li_json: null | string;
|
||||
cfg_json: string;
|
||||
|
||||
enable: null | boolean;
|
||||
hide: null | boolean;
|
||||
priority: null | boolean;
|
||||
sort: null | number;
|
||||
group: null | string;
|
||||
notes: null | string;
|
||||
created_on: Date;
|
||||
updated_on: null | Date;
|
||||
enable?: null | boolean;
|
||||
hide?: null | boolean;
|
||||
priority?: null | boolean;
|
||||
sort?: null | number;
|
||||
group?: null | string;
|
||||
notes?: null | string;
|
||||
created_on?: Date | null;
|
||||
updated_on?: null | Date;
|
||||
|
||||
// Generated fields for sorting locally only
|
||||
// tmp_sort_1?: null|string;
|
||||
@@ -410,14 +416,14 @@ export interface Exhibit_tracking {
|
||||
|
||||
event_badge_country: null | string;
|
||||
|
||||
enable: null | boolean;
|
||||
hide: null | boolean;
|
||||
priority: null | boolean;
|
||||
sort: null | number;
|
||||
group: null | string;
|
||||
notes: null | string;
|
||||
created_on: Date;
|
||||
updated_on: null | Date;
|
||||
enable?: null | boolean;
|
||||
hide?: null | boolean;
|
||||
priority?: null | boolean;
|
||||
sort?: null | number;
|
||||
group?: null | string;
|
||||
notes?: null | string;
|
||||
created_on?: Date | null;
|
||||
updated_on?: null | Date;
|
||||
|
||||
// Generated fields for sorting locally only
|
||||
// tmp_sort_1?: null|string;
|
||||
@@ -458,13 +464,13 @@ export interface File {
|
||||
lu_event_file_purpose_name: string;
|
||||
file_purpose: string;
|
||||
|
||||
enable: null | boolean;
|
||||
enable?: null | boolean;
|
||||
hide?: null | boolean;
|
||||
priority?: null | boolean;
|
||||
sort?: null | number;
|
||||
group?: null | string;
|
||||
notes?: null | string;
|
||||
created_on: Date;
|
||||
created_on?: Date | null;
|
||||
updated_on?: null | Date;
|
||||
|
||||
// Generated fields for sorting locally only
|
||||
@@ -523,13 +529,13 @@ export interface Location {
|
||||
|
||||
data_json?: null | string;
|
||||
|
||||
enable: null | boolean;
|
||||
enable?: null | boolean;
|
||||
hide?: null | boolean;
|
||||
priority?: null | boolean;
|
||||
sort?: null | number;
|
||||
group?: null | string;
|
||||
notes?: null | string;
|
||||
created_on: Date;
|
||||
created_on?: Date | null;
|
||||
updated_on?: null | Date;
|
||||
|
||||
// Generated fields for sorting locally only
|
||||
@@ -585,13 +591,13 @@ export interface Presentation {
|
||||
|
||||
hide_event_launcher?: null | boolean;
|
||||
|
||||
enable: null | boolean;
|
||||
enable?: null | boolean;
|
||||
hide?: null | boolean;
|
||||
priority?: null | boolean;
|
||||
sort?: null | number;
|
||||
group?: null | string;
|
||||
notes?: null | string;
|
||||
created_on: Date;
|
||||
created_on?: Date | null;
|
||||
updated_on?: null | Date;
|
||||
|
||||
// Generated fields for sorting locally only
|
||||
@@ -660,13 +666,13 @@ export interface Presenter {
|
||||
|
||||
data_json?: null | string;
|
||||
|
||||
enable: null | boolean;
|
||||
enable?: null | boolean;
|
||||
hide?: null | boolean;
|
||||
priority?: null | boolean;
|
||||
sort?: null | number;
|
||||
group?: null | string;
|
||||
notes?: null | string;
|
||||
created_on?: Date;
|
||||
created_on?: Date | null;
|
||||
updated_on?: null | Date;
|
||||
|
||||
// Generated fields for sorting locally only
|
||||
@@ -704,7 +710,13 @@ export interface Registration {
|
||||
// Nothing here yet
|
||||
}
|
||||
|
||||
// Updated 2024-06-19
|
||||
/**
|
||||
* Session - An event session
|
||||
* Related Files:
|
||||
* - src/lib/ae_events/ae_events__event_session.ts (API)
|
||||
* - src/routes/events/[event_id]/(pres_mgmt)/session/[session_id]/+page.svelte (View)
|
||||
* - src/routes/events/[event_id]/(launcher)/menu_session_list.svelte (Launcher)
|
||||
*/
|
||||
export interface Session {
|
||||
id: string;
|
||||
// id_random: string;
|
||||
@@ -749,14 +761,14 @@ export interface Session {
|
||||
// colloquium - Specialists present on related topics with questions
|
||||
// symposium - A discussion, less formal
|
||||
|
||||
enable: null | boolean;
|
||||
hide: null | boolean;
|
||||
priority: null | boolean;
|
||||
sort: null | number;
|
||||
group: null | string;
|
||||
notes: null | string;
|
||||
created_on: Date;
|
||||
updated_on: null | Date;
|
||||
enable?: null | boolean;
|
||||
hide?: null | boolean;
|
||||
priority?: null | boolean;
|
||||
sort?: null | number;
|
||||
group?: null | string;
|
||||
notes?: null | string;
|
||||
created_on?: Date | null;
|
||||
updated_on?: null | Date;
|
||||
|
||||
// Generated fields for sorting locally only
|
||||
tmp_sort_1?: null | string;
|
||||
|
||||
Reference in New Issue
Block a user