chore(stores): remove unused default properties from ae_loc, ae_sess, events_slct, idaa_loc

Audited all three legacy persisted-store files for properties with zero
references in src/. Removed ~119 lines of dead defaults:

- ae_loc: qr_scanner_version, ds, entire mod block (archives/events/journals/posts/sponsorships)
- ae_sess: hub, mod block (archives/events/journals/posts/sponsorships/testing), download
- events_loc: ds
- events_sess: ds_loaded
- events_slct: abstract_*, badge_template_*, device_*, exhibit_tracking_*, lq__presenter_obj
- idaa_loc: ds, idaa_cfg_json, top-level qry__* (each submodule has its own), novi_rate_limited_until, novi_*_base_url (read from site_cfg_json, not idaa_loc)

No version bumps needed — removing fields from defaults is backwards-compatible.
svelte-check passes: 0 errors, 0 warnings.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Scott Idem
2026-06-11 15:29:48 -04:00
parent 9a1ba02b59
commit 94e4fad061
3 changed files with 0 additions and 119 deletions

View File

@@ -40,8 +40,6 @@ const events_local_data_struct: key_val = {
name: 'Aether - Events',
title: `OSIT's Æ Events`,
ds: {},
events_cfg_json: {},
event_id: null,
@@ -102,7 +100,6 @@ const events_session_data_struct: key_val = {
ds: {
submit_status: null
},
ds_loaded: {},
qry__enabled: 'enabled', // all, disabled, enabled
qry__hidden: 'not_hidden', // all, hidden, not_hidden
@@ -162,31 +159,14 @@ const events_slct_obj_template: key_val = {
event_obj_li: [],
// Sub-level event_
abstract_id: null,
abstract_obj: {},
abstract_obj_li: [],
badge_id: null,
badge_obj: {},
badge_obj_li: [],
badge_template_id: null,
badge_template_obj: {},
badge_template_obj_li: [],
device_id: null,
device_obj: {},
device_obj_li: [],
exhibit_id: null,
exhibit_obj: {},
exhibit_obj_li: [],
// Rename these to badge_tracking_*?
exhibit_tracking_id: null,
exhibit_tracking_obj: {},
exhibit_tracking_obj_li: [],
file_id: null,
file_obj: {},
file_obj_li: [],
@@ -218,8 +198,6 @@ const events_slct_obj_template: key_val = {
session_obj_li: [],
event_session_obj: {},
lq__presenter_obj: {}, // Testing passing a LiveQuery object around...
auth__event_presenter_id: null,
auth__event_presentation_id: null
};