change globalApi path

This commit is contained in:
kwaroran
2024-10-26 20:40:40 +09:00
parent d575b0817c
commit ffa6308ca3
65 changed files with 87 additions and 87 deletions

View File

@@ -116,7 +116,7 @@
<script lang="ts">
import { textAreaSize, textAreaTextSize } from 'src/ts/gui/guisize'
import { highlighter, getNewHighlightId, removeHighlight, AllCBS } from 'src/ts/gui/highlight'
import { isMobile } from 'src/ts/storage/globalApi';
import { isMobile } from 'src/ts/globalApi';
import { isFirefox, sleep } from 'src/ts/util';
import { onDestroy, onMount } from 'svelte';
interface Props {

View File

@@ -3,7 +3,7 @@
import Hub from "./Realm/RealmMain.svelte";
import { OpenRealmStore } from "src/ts/stores";
import { ArrowLeft } from "lucide-svelte";
import { isNodeServer, isTauri, openURL } from "src/ts/storage/globalApi";
import { isNodeServer, isTauri, openURL } from "src/ts/globalApi";
import { language } from "src/lang";
import { getRisuHub, hubAdditionalHTML } from "src/ts/characterCards";
import RisuHubIcon from "./Realm/RealmHubIcon.svelte";

View File

@@ -5,7 +5,7 @@
import { language } from "src/lang";
import Help from "../Others/Help.svelte";
import CheckInput from "./GUI/CheckInput.svelte";
import { isTauri } from "src/ts/storage/globalApi";
import { isTauri } from "src/ts/globalApi";
import {open} from '@tauri-apps/plugin-dialog'
import { getModelName } from "src/ts/model/names";

View File

@@ -2,7 +2,7 @@
import { BookIcon, ImageIcon, SmileIcon } from "lucide-svelte";
import { alertNormal } from "src/ts/alert";
import { hubURL, type hubType } from "src/ts/characterCards";
import { trimNonLatin } from "src/ts/storage/globalApi";
import { trimNonLatin } from "src/ts/globalApi";
import { parseMultilangString } from "src/ts/util";
interface Props {

View File

@@ -1,7 +1,7 @@
<script lang="ts">
import { CCLicenseData } from "src/ts/creation/license";
import { tooltip } from "src/ts/gui/tooltip";
import { openURL } from "src/ts/storage/globalApi";
import { openURL } from "src/ts/globalApi";
interface Props {
license?: string;

View File

@@ -8,7 +8,7 @@
import { MobileGUI, SizeStore } from "src/ts/stores";
import { Capacitor } from "@capacitor/core";
import RealmPopUp from "./RealmPopUp.svelte";
import { googleBuild } from "src/ts/storage/globalApi";
import { googleBuild } from "src/ts/globalApi";
import { split } from "lodash";
let openedData:null|hubType = $state(null)

View File

@@ -1,7 +1,7 @@
<script lang="ts">
import { alertMd } from "src/ts/alert";
import { DBState } from "src/ts/storage/database.svelte";
import { openURL } from "src/ts/storage/globalApi";
import { openURL } from "src/ts/globalApi";
import { sideBarStore } from "src/ts/stores";
let specialDay = $state('')