feat(locale): add content translation operations
This commit is contained in:
@@ -937,3 +937,23 @@ export interface ResumeImportItem {
|
||||
metrics?: Record<string, number> | null
|
||||
result?: Record<string, unknown> | null
|
||||
}
|
||||
|
||||
export interface ContentTranslation {
|
||||
kind: 'content_translation'
|
||||
id: number
|
||||
content_type: 'filex' | 'comment'
|
||||
entity_id: number
|
||||
source_locale: string | null
|
||||
target_locale: string
|
||||
source_hash: string
|
||||
status: 'pending' | 'ready' | 'failed' | 'stale' | 'skipped'
|
||||
translation_type: 'machine' | 'human' | null
|
||||
provider: string | null
|
||||
model: string | null
|
||||
attempts: number
|
||||
last_error: string | null
|
||||
next_retry_at: string | null
|
||||
completed_at: string | null
|
||||
created_at: string
|
||||
updated_at: string
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user