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

@@ -1,6 +1,7 @@
<script lang="ts">
import { alertGenerationInfoStore } from "../../ts/alert";
import { DBState } from '../../ts/storage/database.svelte';
import { DBState } from 'src/ts/stores.svelte';
import { getCharImage } from '../../ts/characters';
import { ParseMarkdown } from '../../ts/parser.svelte';
import BarIcon from '../SideBars/BarIcon.svelte';
@@ -14,7 +15,7 @@
import OptionInput from "../UI/GUI/OptionInput.svelte";
import { language } from 'src/lang';
import { getFetchData } from 'src/ts/globalApi';
import { alertStore, selectedCharID } from "src/ts/stores";
import { alertStore, selectedCharID } from "src/ts/stores.svelte";
import { tokenize } from "src/ts/tokenizer";
import TextAreaInput from "../UI/GUI/TextAreaInput.svelte";
import ModuleChatMenu from "../Setting/Pages/Module/ModuleChatMenu.svelte";