feat(stores): promote launcher_loc to Svelte 5 PersistedState
Creates ae_events_stores__launcher.svelte.ts with PersistedState keyed 'ae_launcher_loc', following the same pattern as badges, leads, and pres_mgmt. All 28 launcher component files migrated from $events_loc.launcher.* to launcher_loc.current.*. events_local_data_struct in ae_events_stores.ts now carries no sub-module objects — all four sub-modules (badges, launcher, leads, pres_mgmt) are authoritative in their own stores. Session state (events_sess.launcher) is unchanged. svelte-check: 0 errors, 0 warnings. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -9,10 +9,7 @@ import type { Writable } from 'svelte/store';
|
||||
import type { key_val } from '$lib/stores/ae_stores';
|
||||
|
||||
import { badges_sess_defaults } from '$lib/stores/ae_events_stores__badges_defaults';
|
||||
import {
|
||||
launcher_loc_defaults,
|
||||
launcher_sess_defaults
|
||||
} from '$lib/stores/ae_events_stores__launcher_defaults';
|
||||
import { launcher_sess_defaults } from '$lib/stores/ae_events_stores__launcher_defaults';
|
||||
import { leads_sess_defaults } from '$lib/stores/ae_events_stores__leads_defaults';
|
||||
import { pres_mgmt_sess_defaults } from '$lib/stores/ae_events_stores__pres_mgmt_defaults';
|
||||
|
||||
@@ -63,8 +60,7 @@ const events_local_data_struct: key_val = {
|
||||
},
|
||||
|
||||
// Event Presentation Launcher — see ae_events_stores__launcher_defaults.ts
|
||||
// badges, leads, pres_mgmt have been promoted to their own PersistedState stores.
|
||||
launcher: launcher_loc_defaults
|
||||
// badges, leads, pres_mgmt, launcher have all been promoted to their own PersistedState stores.
|
||||
};
|
||||
|
||||
export const events_loc: Writable<key_val> = persisted(
|
||||
|
||||
Reference in New Issue
Block a user