style(backend): biome format — organize imports + spacing (live-speaker/redis-bridge/voice.service)
This commit is contained in:
@@ -80,4 +80,4 @@ export function getSpeakingSpeakers(): LiveSpeaker[] {
|
|||||||
/** Drop all tracked speakers (used on backend restart). */
|
/** Drop all tracked speakers (used on backend restart). */
|
||||||
export function resetLiveSpeakers(): void {
|
export function resetLiveSpeakers(): void {
|
||||||
speakers.clear();
|
speakers.clear();
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -15,10 +15,7 @@ import {
|
|||||||
VOICE_STATUS_KEY,
|
VOICE_STATUS_KEY,
|
||||||
} from "../../shared/index.js";
|
} from "../../shared/index.js";
|
||||||
import { publishCommand, readRedisStatus } from "../../shared/redis/index.js";
|
import { publishCommand, readRedisStatus } from "../../shared/redis/index.js";
|
||||||
import {
|
import { getActiveSpeakers, type LiveSpeaker } from "./live-speaker.js";
|
||||||
getActiveSpeakers,
|
|
||||||
type LiveSpeaker,
|
|
||||||
} from "./live-speaker.js";
|
|
||||||
|
|
||||||
const logger = createChildLogger("voice.service");
|
const logger = createChildLogger("voice.service");
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
import Redis from "ioredis";
|
import Redis from "ioredis";
|
||||||
|
import { recordSpeaker } from "../modules/voice/live-speaker.js";
|
||||||
import { config } from "../shared/config/index.js";
|
import { config } from "../shared/config/index.js";
|
||||||
import {
|
import {
|
||||||
DISCORD_CHANNEL_TO_WS_EVENT,
|
DISCORD_CHANNEL_TO_WS_EVENT,
|
||||||
@@ -6,7 +7,6 @@ import {
|
|||||||
DISCORD_VOICE_PCM,
|
DISCORD_VOICE_PCM,
|
||||||
} from "../shared/index.js";
|
} from "../shared/index.js";
|
||||||
import { createChildLogger } from "../shared/logger/index.js";
|
import { createChildLogger } from "../shared/logger/index.js";
|
||||||
import { recordSpeaker } from "../modules/voice/live-speaker.js";
|
|
||||||
import { broadcastBinary, broadcastEvent } from "./broadcast.js";
|
import { broadcastBinary, broadcastEvent } from "./broadcast.js";
|
||||||
|
|
||||||
const logger = createChildLogger("ws.redis-bridge");
|
const logger = createChildLogger("ws.redis-bridge");
|
||||||
|
|||||||
Reference in New Issue
Block a user