11 lines
248 B
TypeScript
11 lines
248 B
TypeScript
export type VoiceTranscript = {
|
|
words: VoiceTranscript[];
|
|
text: string;
|
|
type: TranscriptType;
|
|
confidence: number;
|
|
}
|
|
|
|
export enum TranscriptType {
|
|
PartialTranscript = 'PartialTranscript',
|
|
FinalTranscript = 'FinalTranscript'
|
|
} |