This commit is contained in:
2026-02-02 23:32:39 +08:00
parent fa6301538b
commit 76749549ff
18 changed files with 590 additions and 74 deletions

View File

@@ -0,0 +1,23 @@
export type RepoInputSelectLatestTranslation = {
sourceText: string;
targetLanguage: string;
};
export type RepoOutputSelectLatestTranslation = {
id: number;
translatedText: string;
sourceLanguage: string;
targetLanguage: string;
sourceIpa: string | null;
targetIpa: string | null;
} | null;
export type RepoInputCreateTranslationHistory = {
userId?: string;
sourceText: string;
sourceLanguage: string;
targetLanguage: string;
translatedText: string;
sourceIpa?: string;
targetIpa?: string;
};