fix(web-app): remove unused sqlite.worker.js and wasi-dummy.js, update Config.kt and service worker logic

- Deleted `sqlite.worker.js` and `wasi-dummy.js` to clean up outdated resources.
- Updated `Config.kt` to use a shared `Json` instance for deserialization.
- Revised service worker for cache versioning and to bypass caching of `web-app.js` and `.map` files.
- Enhanced debug logging and improved handling of uncaught errors in new `sqlite.worker.js`.

Signed-off-by: Stefan Mogeritsch <stefan.mo.co@gmail.com>
This commit is contained in:
2026-03-16 10:14:06 +01:00
parent 1db49970d1
commit b6fda98c89
10 changed files with 83 additions and 212 deletions
@@ -3,7 +3,7 @@ package at.mocode.frontend.core.navigation
import at.mocode.frontend.core.domain.models.User
/**
* Abstraction to obtain the current authenticated user (or null if guest).
* Abstraction to get the current authenticated user (or null if guest).
* Implementations live in shells/apps and provide access to the actual auth state.
*/
interface CurrentUserProvider {
@@ -4,7 +4,7 @@ import at.mocode.frontend.core.domain.models.AppRoles
/**
* Deep link handling with minimal auth-aware guard via CurrentUserProvider.
* This version is self-contained in core:navigation and has no dependency on shared app store.
* This version is self-contained in core:navigation and has no dependency on the shared app store.
*/
class DeepLinkHandler(
private val navigation: NavigationPort,