Lots of work on things for LCI! Should have saved more often.

This commit is contained in:
Scott Idem
2024-06-11 19:31:44 -04:00
parent 7cd71299b3
commit 98cd149d2c
7 changed files with 1307 additions and 14 deletions

View File

@@ -8,7 +8,7 @@ import type { key_val } from '$lib/ae_stores';
// Longer-term app data. This should be stored to *local* storage.
// Updated 2024-03-06
let events_local_data_struct: key_val = {
'ver': '2024-03-12_19',
'ver': '2024-06-11_11',
// Shared
'name': 'Aether - Events (SvelteKit 2.x Svelte 4.x)',
'title': `OSIT's Æ Events`, // - Dev SvelteKit`, // Æ
@@ -31,6 +31,45 @@ let events_local_data_struct: key_val = {
// The show details is intended for things like meta data and additional details that are not always needed.
show_details: false,
auth__person: {}, // allow, id, name, email, passcode, etc
// The auth__entered_key (usually email or person_id) and auth__entered_passcode is found under events_sess.entered_key and events_sess.entered_passcode because it should be temporary.
// auth__entered_passcode: null,
// The auth__kv (key value pairs) is used to store the xyz IDs that the browser client can access. This is a key value list of xyz ID and created datetime stamp (or just true). These should not be more than X days old.
auth__kv: {
event: {
// 'LNDF-67-89-92': true
},
exhibit: {
// 'LNDF-67-89-92': true
},
location: {
// 'LNDF-67-89-92': true
},
session: {
// 'LNDF-67-89-92': true
},
presentation: {
// 'LNDF-67-89-92': true
},
presenter: {
// 'LNDF-67-89-92': true
},
person: {
// 'LNDF-67-89-92': true
},
},
// auth__session_kv: {
// // {'LNDF-67-89-92': true}
// },
// auth__presentation_kv: {
// // {'LNDF-67-89-92': true}
// },
// auth__presenter_kv: {
// // {'LNDF-67-89-92': true}
// },
// Badge Printing
'badges': {
auto_view: true,
@@ -57,7 +96,7 @@ let events_local_data_struct: key_val = {
show_content__scan_requirements: true,
show_content__custom_question_descriptions: true,
show_content__email_link_warning: true,
default_to_scan: true,
// For ISHLT 2024 Annual Meeting only!
@@ -93,6 +132,12 @@ let events_local_data_struct: key_val = {
},
// Presentation Management (Distributing)
'pres_mgmt': {
show_content__session_description: false,
show_content__presentation_description: false,
show_content__agree_text: false,
show_content__presenter_start: false,
},
// Speakers Management (Collection)
'speakers': {