[Refactor] Change aliases and move test_data.js.

This commit is contained in:
Sakamoto Shiina
2025-06-11 18:34:13 +09:00
parent f229d9ec95
commit 1fcb765ca0
69 changed files with 108 additions and 106 deletions

View File

@@ -1,5 +1,5 @@
import { useStore_IsMainPageCompactMode } from "@store";
import { useStdoutToPython } from "@logics/useStdoutToPython";
import { useStdoutToPython } from "@useStdoutToPython";
export const useIsMainPageCompactMode = () => {
const { asyncStdoutToPython } = useStdoutToPython();

View File

@@ -1,5 +1,5 @@
import { useStore_SelectedPresetTabNumber, useStore_EnableMultiTranslation, useStore_SelectedYourLanguages, useStore_SelectedTargetLanguages, useStore_TranslationEngines, useStore_SelectedTranslationEngines } from "@store";
import { useStdoutToPython } from "@logics/useStdoutToPython";
import { useStdoutToPython } from "@useStdoutToPython";
export const useLanguageSettings = () => {
const { asyncStdoutToPython } = useStdoutToPython();

View File

@@ -6,7 +6,7 @@ import {
useStore_TranscriptionReceiveStatus,
useStore_ForegroundStatus,
} from "@store";
import { useStdoutToPython } from "@logics/useStdoutToPython";
import { useStdoutToPython } from "@useStdoutToPython";
export const useMainFunction = () => {
const appWindow = store.appWindow;

View File

@@ -1,6 +1,6 @@
import { store } from "@store";
import { useStore_MessageInputBoxRatio } from "@store";
import { useStdoutToPython } from "@logics/useStdoutToPython";
import { useStdoutToPython } from "@useStdoutToPython";
import { clampMinMax } from "@utils";
export const useMessageInputBoxRatio = () => {
const appWindow = store.appWindow;

View File

@@ -1,5 +1,5 @@
import { useStore_SelectableLanguageList } from "@store";
import { useStdoutToPython } from "@logics/useStdoutToPython";
import { useStdoutToPython } from "@useStdoutToPython";
export const useSelectableLanguageList = () => {
const { asyncStdoutToPython } = useStdoutToPython();