chore: uptick
This commit is contained in:
@@ -4,6 +4,7 @@ export type VoicePlaybackSource = 'read-aloud' | 'voice-conversation'
|
||||
export type VoicePlaybackStatus = 'idle' | 'preparing' | 'speaking'
|
||||
|
||||
export interface VoicePlaybackState {
|
||||
audioElement: HTMLAudioElement | null
|
||||
messageId: string | null
|
||||
sequence: number
|
||||
source: VoicePlaybackSource | null
|
||||
@@ -11,6 +12,7 @@ export interface VoicePlaybackState {
|
||||
}
|
||||
|
||||
export const $voicePlayback = atom<VoicePlaybackState>({
|
||||
audioElement: null,
|
||||
messageId: null,
|
||||
sequence: 0,
|
||||
source: null,
|
||||
|
||||
Reference in New Issue
Block a user