Wrapping up for the night. Mostly good for demo tomorrow morning.

This commit is contained in:
Scott Idem
2024-02-29 20:24:08 -05:00
parent 873e6d9f9a
commit b21f9c0437
7 changed files with 206 additions and 66 deletions

View File

@@ -88,10 +88,19 @@ export let ae_app_local_data_struct: key_val = {
for_type: null,
for_id: null,
level_guest_max_li: {
0: 0,
1: 4,
2: 8,
3: 8,
4: 8,
5: 16, // This is a guess for CHOW 2024!!!
6: 16, // This is a guess for CHOW 2024!!!
},
show_edit__sponsorship_obj: false,
show_list__sponsorship_obj_li: true,
show_view__sponsorship_obj: false,
disable_submit__sponsorship_obj: false,
submit_status: null, // 'saving', 'created', 'updated'
},
@@ -109,11 +118,6 @@ export let ae_loc: Writable<key_val> = localStorageStore('ae_loc', ae_app_local_
// console.log(`AE Stores - App Local Storage Data:`, get(ae_loc));
// This does not work yet...? Don't use.
// const ae_loc_store: Writable<string> = localStorageStore('ae_loc', ae_app_local_data_struct);
// console.log(`store - $ae_loc:`, ae_loc_store);
// *** BEGIN *** Temporary app data. This should be stored to session storage.
export let ae_app_session_data_struct: key_val = {
'ver': '2024-02-27_13',
@@ -139,7 +143,12 @@ export let ae_app_session_data_struct: key_val = {
},
'journals': {},
'posts': {},
'sponsorships': {},
'sponsorships': {
disable_submit__sponsorship_obj: false,
slct__level_num: 0,
show_question__accommodations: false,
submit_status: null, // 'saving', 'created', 'updated', 'saved'
},
'testing': {},
},
};