[feat] node hosting support
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
<script lang="ts">
|
||||
import { language } from "../../lang";
|
||||
import { tokenize } from "../../ts/tokenizer";
|
||||
import { DataBase, saveImage as saveAsset, type Database, type character, type groupChat } from "../../ts/database";
|
||||
import { DataBase, saveImage as saveAsset, type Database, type character, type groupChat } from "../../ts/storage/database";
|
||||
import { selectedCharID } from "../../ts/stores";
|
||||
import { PlusIcon, SmileIcon, TrashIcon, UserIcon, ActivityIcon, BookIcon, LoaderIcon, User, DnaIcon, CurlyBracesIcon, Volume2Icon } from 'lucide-svelte'
|
||||
import Check from "../Others/Check.svelte";
|
||||
@@ -16,7 +16,7 @@
|
||||
import RegexData from "./RegexData.svelte";
|
||||
import { exportChar } from "src/ts/characterCards";
|
||||
import { getElevenTTSVoices, getWebSpeechTTSVoices, getVOICEVOXVoices } from "src/ts/process/tts";
|
||||
import { checkCharOrder } from "src/ts/globalApi";
|
||||
import { checkCharOrder } from "src/ts/storage/globalApi";
|
||||
|
||||
let subMenu = 0
|
||||
let subberMenu = 0
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<script lang="ts">
|
||||
import { XIcon } from "lucide-svelte";
|
||||
import { language } from "../../lang";
|
||||
import type { loreBook } from "../../ts/database";
|
||||
import type { loreBook } from "../../ts/storage/database";
|
||||
import { alertConfirm } from "../../ts/alert";
|
||||
import Check from "../Others/Check.svelte";
|
||||
import Help from "../Others/Help.svelte";
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<script lang="ts">
|
||||
import { DataBase } from "../../ts/database";
|
||||
import { DataBase } from "../../ts/storage/database";
|
||||
import { language } from "../../lang";
|
||||
import {selectedCharID} from '../../ts/stores'
|
||||
import { DownloadIcon, FolderUpIcon, ImportIcon, PlusIcon } from "lucide-svelte";
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
import { XIcon } from "lucide-svelte";
|
||||
import { language } from "src/lang";
|
||||
import { alertConfirm } from "src/ts/alert";
|
||||
import type { customscript } from "src/ts/database";
|
||||
import type { customscript } from "src/ts/storage/database";
|
||||
|
||||
export let value:customscript
|
||||
export let onRemove: () => void = () => {}
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
settingsOpen,
|
||||
sideBarStore,
|
||||
} from "../../ts/stores";
|
||||
import { DataBase, setDatabase, type folder } from "../../ts/database";
|
||||
import { DataBase, setDatabase, type folder } from "../../ts/storage/database";
|
||||
import BarIcon from "./BarIcon.svelte";
|
||||
import SidebarIndicator from "./SidebarIndicator.svelte";
|
||||
import {
|
||||
@@ -41,7 +41,7 @@
|
||||
import { get } from "svelte/store";
|
||||
import { findCharacterIndexbyId, findCharacterbyId, getCharacterIndexObject } from "src/ts/util";
|
||||
import { v4 } from "uuid";
|
||||
import { checkCharOrder } from "src/ts/globalApi";
|
||||
import { checkCharOrder } from "src/ts/storage/globalApi";
|
||||
let openPresetList = false;
|
||||
let sideBarMode = 0;
|
||||
let editMode = false;
|
||||
|
||||
Reference in New Issue
Block a user