Just working on things. Slow progress...

This commit is contained in:
Scott Idem
2024-03-14 18:11:09 -04:00
parent 8bf1892bc7
commit a97e5666a7
7 changed files with 717 additions and 125 deletions

View File

@@ -28,6 +28,9 @@ let events_local_data_struct: key_val = {
'qry__limit': 20,
'qry__offset': 0,
// The show details is intended for things like meta data and additional details that are not always needed.
show_details: false,
// Badge Printing
'badges': {
'show_element__cfg': true,
@@ -42,6 +45,20 @@ let events_local_data_struct: key_val = {
// Lead Retrievals (Exhibit)
'leads': {
auto_view: true,
// The entered_passcode is the exhibit booths shared passcode for staff. This is used to initially access the lead retrieval service.
entered_passcode: null,
// The auth_exhibit_kv (key value pairs) is used to store the exhibit IDs that the browser client can access. This is a key value list of exhibit ID and created datetime stamp. These should not be more than X days old. The entered_passcode for events_sess.leads is what they are entering to log in.
auth_exhibit_kv: {
// {'LNDF-67-89-92': {key: 'example@oneskyit.com', updated_on: '2024-03-13T08:05:29Z}}
},
// The auth_exhibit_license_li is used to store the exhibit license(s) being used on the browser client. There can be multiple exhibit IDs, but only one license per exhibit ID for the browser client. This is used to determine who can actually access and use the lead retrieval service. This is a key value list of key (email address) and created datetime stamp. These should not be more than X days old.
// auth_exhibit_license_li: {
// // 'LNDF-67-89-92': { 'key': 'example@oneskyit.com', 'updated_on': '2024-03-13T08:05:29Z'}
// },
edit_license_li: false,
},
// Presentation Management (Distributing)
@@ -83,6 +100,27 @@ let events_session_data_struct: key_val = {
},
// Lead Retrievals (Exhibit)
'leads': {
example: true,
show_form__license: false,
submit_status__license: null, // 'saving', 'created', 'updated'
// create_status__license: null, // 'creating', 'created', 'updated'
// update_status__license: null, // 'updating', 'created', 'updated'
// The entered_passcode is the exhibit booths shared passcode for staff. This is used to initially access the lead retrieval service.
entered_passcode: null,
tmp_license: {
// 'agree' : false, // The user must agree to the license agreement.
'email': '',
'full_name': '',
'passcode': '',
'session_count': 0,
'updated_on': new Date().toISOString()
}
},
// Presentation Management (Distributing)

View File

@@ -42,6 +42,8 @@ export let ae_app_local_data_struct: key_val = {
'iframe': false,
'title': `OSIT's Æ`, // - Dev SvelteKit`, // Æ
'debug': false, // A simple flag to know if we should show debug information.
'account_id': ae_account_id, // OSIT Demo _XY7DXtc9MY
'site_domain': null, // https://example.com, https://dev.example.com, etc.
'site_cfg_json': {},