feat(voice): журнал обработанных вебхуков LiveKit

This commit is contained in:
2026-09-20 18:45:14 +03:00
parent ecd7b3be10
commit 0db4c63023
19 changed files with 1578 additions and 59 deletions
+1 -2
View File
@@ -47,8 +47,7 @@ export interface VoiceModerationPatch {
/** Разобранное событие `VOICE_STATE_UPDATE`: состояние или уход из комнаты. */
export type VoiceStateEvent =
| { kind: 'state'; state: VoiceState }
| { kind: 'left'; guildId: string; userId: string };
{ kind: 'state'; state: VoiceState } | { kind: 'left'; guildId: string; userId: string };
export const guildVoiceStatesQueryKey = (guildId: string) =>
['guilds', guildId, 'voice-states'] as const;