change globalApi path
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
import { language } from "src/lang";
|
||||
import { DBState } from "src/ts/storage/database.svelte";
|
||||
import { alertMd } from "src/ts/alert";
|
||||
import { getRequestLog, isTauri } from "src/ts/storage/globalApi";
|
||||
import { getRequestLog, isTauri } from "src/ts/globalApi";
|
||||
import NumberInput from "src/lib/UI/GUI/NumberInput.svelte";
|
||||
import TextInput from "src/lib/UI/GUI/TextInput.svelte";
|
||||
import SelectInput from "src/lib/UI/GUI/SelectInput.svelte";
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
import Help from "src/lib/Others/Help.svelte";
|
||||
import { DBState } from "src/ts/storage/database.svelte";
|
||||
import { customProviderStore } from "src/ts/plugins/plugins";
|
||||
import { downloadFile, getModelMaxContext, isTauri } from "src/ts/storage/globalApi";
|
||||
import { downloadFile, getModelMaxContext, isTauri } from "src/ts/globalApi";
|
||||
import { tokenizeAccurate, tokenizerList } from "src/ts/tokenizer";
|
||||
import ModelList from "src/lib/UI/ModelList.svelte";
|
||||
import DropList from "src/lib/SideBars/DropList.svelte";
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<script lang="ts">
|
||||
import { language } from "src/lang";
|
||||
import { openURL } from "src/ts/storage/globalApi";
|
||||
import { openURL } from "src/ts/globalApi";
|
||||
</script>
|
||||
|
||||
<h2 class="mb-2 text-2xl font-bold mt-2">{language.community}</h2>
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
import { language } from "src/lang";
|
||||
import { alertConfirm } from "src/ts/alert";
|
||||
import { checkDriver } from "src/ts/drive/drive";
|
||||
import { isNodeServer, isTauri } from "src/ts/storage/globalApi";
|
||||
import { isNodeServer, isTauri } from "src/ts/globalApi";
|
||||
|
||||
</script>
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
import SelectInput from "src/lib/UI/GUI/SelectInput.svelte";
|
||||
import NumberInput from "src/lib/UI/GUI/NumberInput.svelte";
|
||||
import { alertNormal, alertSelect, alertConfirm } from "src/ts/alert";
|
||||
import { downloadFile, isTauri } from "src/ts/storage/globalApi";
|
||||
import { downloadFile, isTauri } from "src/ts/globalApi";
|
||||
import { languageEnglish } from "src/lang/en";
|
||||
import TextInput from "src/lib/UI/GUI/TextInput.svelte";
|
||||
import TextAreaInput from "src/lib/UI/GUI/TextAreaInput.svelte";
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
import Check from "src/lib/UI/GUI/CheckInput.svelte";
|
||||
import Help from "src/lib/Others/Help.svelte";
|
||||
import TextAreaInput from "src/lib/UI/GUI/TextAreaInput.svelte";
|
||||
import { getFileSrc, openURL, saveAsset } from "src/ts/storage/globalApi";
|
||||
import { getFileSrc, openURL, saveAsset } from "src/ts/globalApi";
|
||||
import { exportRegex, importRegex } from "src/ts/process/scripts";
|
||||
import { selectMultipleFile } from "src/ts/util";
|
||||
import { DBState } from 'src/ts/storage/database.svelte';
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
import Help from "src/lib/Others/Help.svelte";
|
||||
import { selectSingleFile } from "src/ts/util";
|
||||
import { DBState } from "src/ts/storage/database.svelte";
|
||||
import { isTauri, saveAsset } from "src/ts/storage/globalApi";
|
||||
import { isTauri, saveAsset } from "src/ts/globalApi";
|
||||
import NumberInput from "src/lib/UI/GUI/NumberInput.svelte";
|
||||
import TextInput from "src/lib/UI/GUI/TextInput.svelte";
|
||||
import SelectInput from "src/lib/UI/GUI/SelectInput.svelte";
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<script lang="ts">
|
||||
import { language } from "src/lang";
|
||||
import { openURL } from "src/ts/storage/globalApi";
|
||||
import { openURL } from "src/ts/globalApi";
|
||||
|
||||
|
||||
interface supporters{
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
import { DBState } from "src/ts/storage/database.svelte";
|
||||
import Check from "src/lib/UI/GUI/CheckInput.svelte";
|
||||
import { alertConfirm} from "src/ts/alert";
|
||||
import { forageStorage, isNodeServer, isTauri, loadInternalBackup } from "src/ts/storage/globalApi";
|
||||
import { forageStorage, isNodeServer, isTauri, loadInternalBackup } from "src/ts/globalApi";
|
||||
import { unMigrationAccount } from "src/ts/storage/accountStorage";
|
||||
import { checkDriver } from "src/ts/drive/drive";
|
||||
import { LoadLocalBackup, SaveLocalBackup } from "src/ts/drive/backuplocal";
|
||||
|
||||
Reference in New Issue
Block a user