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,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,8 +1,8 @@
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 { 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";