co-mono/packages/web-ui/src/storage/stores
Mario Zechner 0de89a750e Refactor to Store-based architecture
- Create base Store class with private backend and protected getBackend()
- Add SettingsStore, ProviderKeysStore, SessionsStore
- Each store defines its own schema via getConfig()
- AppStorage now takes stores + backend in constructor
- Remove SessionsRepository (logic moved to SessionsStore)
- Update all consumers to use store API (storage.settings.get/set, storage.providerKeys.get/set)
- Update example app to follow new pattern: create stores, gather configs, create backend, wire
- Benefits: stores own their schema, no circular deps, cleaner separation
2025-10-08 16:41:02 +02:00
..
provider-keys-store.ts Refactor to Store-based architecture 2025-10-08 16:41:02 +02:00
sessions-store.ts Refactor to Store-based architecture 2025-10-08 16:41:02 +02:00
settings-store.ts Refactor to Store-based architecture 2025-10-08 16:41:02 +02:00