Move DBState to stores

This commit is contained in:
kwaroran
2024-10-26 21:17:46 +09:00
parent 92f1ed0528
commit da907f4fc2
84 changed files with 183 additions and 156 deletions

View File

@@ -4,7 +4,7 @@ import { language } from "../lang"
import { isNodeServer, isTauri } from "./globalApi"
import { Capacitor } from "@capacitor/core"
import { getDatabase, type MessageGenerationInfo } from "./storage/database.svelte"
import { alertStore as alertStoreImported } from "./stores"
import { alertStore as alertStoreImported } from "./stores.svelte"
export interface alertData{
type: 'error'|'normal'|'none'|'ask'|'wait'|'selectChar'