Fix IDAA recovery meetings auto search

This commit is contained in:
Scott Idem
2026-05-13 17:00:36 -04:00
parent cc990084fb
commit 530b53aa6d
5 changed files with 31 additions and 19 deletions

View File

@@ -1,16 +1,15 @@
import { AE_IDAA_LOC_VERSION } from '$lib/stores/store_versions';
import { persisted } from 'svelte-persisted-store';
import { writable } from 'svelte/store';
import type { Writable } from 'svelte/store';
import type { key_val } from '$lib/stores/ae_stores';
const ver = '2024-08-21_1646';
/* *** BEGIN *** Initialize idaa_local_data_struct */
// Persisted to localStorage. Retains Novi identity, auth state, and IDAA
// query preferences across sessions. Wiped on schema change via store_versions.ts.
const idaa_local_data_struct: key_val = {
ver: ver,
__version: AE_IDAA_LOC_VERSION,
name: 'Aether - IDAA',
title: `OSIT's Æ IDAA`,
@@ -111,7 +110,6 @@ export const idaa_loc: Writable<key_val> = persisted(
/* *** BEGIN *** Initialize idaa_session_data_struct */
// In-memory only (not persisted). Resets on page load.
const idaa_session_data_struct: key_val = {
ver: ver,
log_lvl: 1,
archives: {
@@ -137,6 +135,7 @@ const idaa_session_data_struct: key_val = {
recovery_meetings: {
qry__status: null,
qry__fulltext_str: null,
search_version: 0,
edit__event_obj: null,
@@ -185,7 +184,7 @@ const idaa_trig_template: key_val = {
event_id: false,
post_id: false
};
export const idaa_trig: any = writable(idaa_trig_template);
export const idaa_trig: Writable<key_val> = writable(idaa_trig_template);
// Promise map — keyed by object type; used to track in-flight async operations.
const idaa_prom_template: key_val = {
@@ -194,4 +193,4 @@ const idaa_prom_template: key_val = {
event_id: false,
post_id: false
};
export const idaa_prom: any = writable(idaa_prom_template);
export const idaa_prom: Writable<key_val> = writable(idaa_prom_template);