Simplify import paths again

This commit is contained in:
redphx
2024-05-01 22:14:28 +07:00
parent 0114108bdf
commit 06c6b8c5af
36 changed files with 190 additions and 186 deletions

View File

@@ -1,17 +1,17 @@
import { MkbPreset } from "./mkb-preset";
import { GamepadKey, MkbPresetKey, GamepadStick, MouseMapTo } from "./definitions";
import { createButton, Icon, ButtonStyle, CE } from "@/utils/html";
import { BxEvent } from "@/utils/bx-event";
import { PrefKey, getPref } from "@/utils/preferences";
import { Toast } from "@/utils/toast";
import { t } from "@/utils/translation";
import { LocalDb } from "@/utils/local-db";
import { createButton, Icon, ButtonStyle, CE } from "@utils/html";
import { BxEvent } from "@utils/bx-event";
import { PrefKey, getPref } from "@utils/preferences";
import { Toast } from "@utils/toast";
import { t } from "@utils/translation";
import { LocalDb } from "@utils/local-db";
import { KeyHelper } from "./key-helper";
import type { MkbStoredPreset } from "@/types/mkb";
import { showStreamSettings } from "@/modules/stream/stream-ui";
import { STATES } from "@/utils/global";
import { UserAgent } from "@/utils/user-agent";
import { BxLogger } from "@/utils/bx-logger";
import { showStreamSettings } from "@modules/stream/stream-ui";
import { STATES } from "@utils/global";
import { UserAgent } from "@utils/user-agent";
import { BxLogger } from "@utils/bx-logger";
const LOG_TAG = 'MkbHandler';

View File

@@ -1,5 +1,5 @@
import { t } from "@/utils/translation";
import { SettingElementType } from "@/utils/settings";
import { t } from "@utils/translation";
import { SettingElementType } from "@utils/settings";
import { GamepadKey, MouseButtonCode, MouseMapTo, MkbPresetKey } from "./definitions";
import { MkbHandler } from "./mkb-handler";
import type { MkbPresetData, MkbConvertedPresetData } from "@/types/mkb";

View File

@@ -1,15 +1,15 @@
import { GamepadKey } from "./definitions";
import { CE, createButton, ButtonStyle } from "@/utils/html";
import { t } from "@/utils/translation";
import { Dialog } from "@/modules/dialog";
import { getPref, setPref, PrefKey } from "@/utils/preferences";
import { CE, createButton, ButtonStyle } from "@utils/html";
import { t } from "@utils/translation";
import { Dialog } from "@modules/dialog";
import { getPref, setPref, PrefKey } from "@utils/preferences";
import { MkbPresetKey, GamepadKeyName } from "./definitions";
import { KeyHelper } from "./key-helper";
import { MkbPreset } from "./mkb-preset";
import { MkbHandler } from "./mkb-handler";
import { LocalDb } from "@/utils/local-db";
import { Icon } from "@/utils/html";
import { SettingElement } from "@/utils/settings";
import { LocalDb } from "@utils/local-db";
import { Icon } from "@utils/html";
import { SettingElement } from "@utils/settings";
import type { MkbPresetData, MkbStoredPresets } from "@/types/mkb";