Simplify import paths

This commit is contained in:
redphx
2024-05-01 22:01:39 +07:00
parent 006e21f477
commit 0114108bdf
29 changed files with 167 additions and 163 deletions

View File

@@ -1,7 +1,7 @@
import { t } from "../../utils/translation";
import { BxEvent } from "../../utils/bx-event";
import { CE } from "../../utils/html";
import { STATES } from "../../utils/global";
import { t } from "@/utils/translation";
import { BxEvent } from "@/utils/bx-event";
import { CE } from "@/utils/html";
import { STATES } from "@/utils/global";
enum StreamBadge {
PLAYTIME = 'playtime',

View File

@@ -1,11 +1,11 @@
import { PrefKey } from "../../utils/preferences"
import { BxEvent } from "../../utils/bx-event"
import { getPref } from "../../utils/preferences"
import { PrefKey } from "@/utils/preferences"
import { BxEvent } from "@/utils/bx-event"
import { getPref } from "@/utils/preferences"
import { StreamBadges } from "./stream-badges"
import { CE } from "../../utils/html"
import { t } from "../../utils/translation"
import { STATES } from "../../utils/global"
import { BxLogger } from "../../utils/bx-logger"
import { CE } from "@/utils/html"
import { t } from "@/utils/translation"
import { STATES } from "@/utils/global"
import { BxLogger } from "@/utils/bx-logger"
export enum StreamStat {
PING = 'ping',

View File

@@ -1,10 +1,10 @@
import { STATES } from "../../utils/global";
import { Icon, createSvgIcon } from "../../utils/html";
import { BxEvent } from "../../utils/bx-event";
import { PrefKey, getPref } from "../../utils/preferences";
import { t } from "../../utils/translation";
import { StreamBadges } from "./stream-badges";
import { StreamStats } from "./stream-stats";
import { STATES } from "@/utils/global.ts";
import { Icon, createSvgIcon } from "@/utils/html.ts";
import { BxEvent } from "@/utils/bx-event.ts";
import { PrefKey, getPref } from "@/utils/preferences.ts";
import { t } from "@/utils/translation.ts";
import { StreamBadges } from "./stream-badges.ts";
import { StreamStats } from "./stream-stats.ts";
class MouseHoldEvent {