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

@@ -11,4 +11,7 @@ export const LENGTH_MAX_IPA = 150;
export const LENGTH_MIN_IPA = 1;
export const LENGTH_MAX_FOLDER_NAME = 20;
export const LENGTH_MIN_FOLDER_NAME = 1;
export const LENGTH_MIN_FOLDER_NAME = 1;
export const LENGTH_MAX_TRANSLATOR_TEXT = 1000;
export const LENGTH_MIN_TRANSLATOR_TEXT = 1;

View File

@@ -1 +1,2 @@
export * from './dictionary-type';
export * from './dictionary-type';
export * from './translator-type';

View File

@@ -0,0 +1,8 @@
export type TSharedTranslationResult = {
sourceText: string;
translatedText: string;
sourceLanguage: string;
targetLanguage: string;
sourceIpa: string;
targetIpa: string;
};