feat(history): complete messaging core before multi-account gateways
This commit is contained in:
@@ -8,6 +8,7 @@ export interface AiReplySuggestion {
|
||||
id: string
|
||||
style: ReplyStyle
|
||||
content: string
|
||||
translationCn: string
|
||||
targetLang: string
|
||||
reason: string
|
||||
knowledgeRefs: string[]
|
||||
@@ -40,6 +41,18 @@ export interface TranslateResult {
|
||||
translated: string
|
||||
detectedLang: string
|
||||
terms: { source: string; target: string }[]
|
||||
historyItem?: TranslationHistoryItem
|
||||
}
|
||||
|
||||
export interface TranslationHistoryItem {
|
||||
id: string
|
||||
sourceLang: string
|
||||
targetLang: string
|
||||
originalText: string
|
||||
translatedText: string
|
||||
detectedLang: string
|
||||
favorite: boolean
|
||||
createdAt: string
|
||||
}
|
||||
|
||||
export type AiTextAction = 'polish' | 'translate' | 'shorten' | 'expand' | 'tone'
|
||||
|
||||
Reference in New Issue
Block a user