Files
sionrui/frontend/config/types.ts

53 lines
787 B
TypeScript
Raw Normal View History

2025-11-12 22:45:29 +08:00
/**
*
* monorepo
*/
/**
*
*/
export interface AudioItem {
audio_url: string
}
/**
*
*/
export interface TranscriptionResult {
key: string
audio_url?: string
value: string
}
/**
*
*/
export interface VideoToCharactersRequest {
fileLinkList: string[]
}
/**
*
*/
export interface VideoToCharactersResponse {
data: string // JSON 字符串,包含 results 数组
}
/**
*
*/
export interface TranscriptionResponse {
results: Array<{
transcription_url: string
}>
}
/**
*
*/
export interface TranscriptionData {
file_url?: string
transcripts?: Array<{ text: string }>
}