💩(frontend) introduce transcription store

Introduce a dedicated store for transcription to better manage its status
independently of meeting recording status. This lays the groundwork for
future improvements, especially as we plan to support additional recording
options beyond the current setup.

This isn't perfect and still coupled with room recording status
This commit is contained in:
lebaudantoine
2025-04-04 17:11:48 +02:00
committed by aleb_the_flash
parent 91562d049c
commit ac9ba0df62

View File

@@ -0,0 +1,16 @@
import { proxy } from 'valtio'
export enum TranscriptionStatus {
STARTING,
STARTED,
STOPPING,
STOPPED,
}
type State = {
status: TranscriptionStatus
}
export const transcriptionStore = proxy<State>({
status: TranscriptionStatus.STOPPED,
})