Creating version to of the data store element. Hopefully better now.

This commit is contained in:
Scott Idem
2024-09-16 18:10:55 -04:00
parent 9fd84183d7
commit 1e3086560d
11 changed files with 833 additions and 119 deletions

View File

@@ -73,9 +73,8 @@ export let ae_app_local_data_struct: key_val = {
header_image_path: null,
},
// The page access codes can be pulled from the data store "hub__page__access_code_li_json" per account.
// Currently configured for OSIT, ASCM, LCI
'page_access_code_li': {
// The site access codes can be pulled from the site records for an account.
'site_access_code_kv': {
// 'manager': '10240',
'administrator': '11500',
'trusted': '19111',
@@ -94,7 +93,7 @@ export let ae_app_local_data_struct: key_val = {
'authenticated_access': false,
'anonymous_access': true,
'user_email': null,
'user_email': null, // Currently used with Sponsorships only?
'qry__enabled': 'enabled', // all, disabled, enabled
'qry__hidden': 'not_hidden', // all, hidden, not_hidden
@@ -281,7 +280,7 @@ if (ae_no_account_id) {
}
ae_api_data_struct['headers'] = ae_api_headers;
console.log(`AE Stores - API Data:`, ae_api_data_struct);
// console.log(`AE Stores - API Data:`, ae_api_data_struct);
export let ae_api = writable(ae_api_data_struct);
// *** BEGIN *** Trigger to update the slct variables and other things.