[feat] node hosting support
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
<script>
|
||||
import { onMount } from 'svelte';
|
||||
import { DataBase } from "../../ts/database";
|
||||
import { DataBase } from "../../ts/storage/database";
|
||||
|
||||
let textarea;
|
||||
let previousScrollHeight = 0;
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
import AutoresizeArea from "./AutoresizeArea.svelte";
|
||||
import { alertConfirm } from "../../ts/alert";
|
||||
import { language } from "../../lang";
|
||||
import { DataBase, type character, type groupChat } from "../../ts/database";
|
||||
import { DataBase, type character, type groupChat } from "../../ts/storage/database";
|
||||
import { selectedCharID } from "../../ts/stores";
|
||||
import { translate } from "../../ts/translator/translator";
|
||||
import { replacePlaceholders } from "../../ts/util";
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<script lang="ts">
|
||||
import { getCustomBackground, getEmotion } from "../../ts/util";
|
||||
import { DataBase } from "../../ts/database";
|
||||
import { DataBase } from "../../ts/storage/database";
|
||||
import { CharEmotion, SizeStore, selectedCharID, sideBarStore } from "../../ts/stores";
|
||||
import ResizeBox from './ResizeBox.svelte'
|
||||
import DefaultChatScreen from "./DefaultChatScreen.svelte";
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
import { DatabaseIcon, DicesIcon, LanguagesIcon, MenuIcon, MicOffIcon, RefreshCcwIcon, Send } from "lucide-svelte";
|
||||
import { selectedCharID } from "../../ts/stores";
|
||||
import Chat from "./Chat.svelte";
|
||||
import { DataBase, appVer, type Message } from "../../ts/database";
|
||||
import { DataBase, appVer, type Message } from "../../ts/storage/database";
|
||||
import { getCharImage } from "../../ts/characters";
|
||||
import { doingChat, sendChat } from "../../ts/process/index";
|
||||
import { findCharacterbyId, messageForm, sleep } from "../../ts/util";
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<script>
|
||||
import { DataBase } from '../../ts/database';
|
||||
import { DataBase } from '../../ts/storage/database';
|
||||
import { CharEmotion } from '../../ts/stores';
|
||||
import { getEmotion } from '../../ts/util';
|
||||
</script>
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
import EmotionBox from './EmotionBox.svelte';
|
||||
import TransitionImage from './TransitionImage.svelte';
|
||||
import { getEmotion } from '../../ts/util';
|
||||
import { DataBase } from '../../ts/database';
|
||||
import { DataBase } from '../../ts/storage/database';
|
||||
|
||||
let box;
|
||||
let isResizing = false;
|
||||
|
||||
Reference in New Issue
Block a user