This commit is contained in:
zyronon
2023-10-22 01:52:51 +08:00
parent 93f61f1620
commit 8b93f51617
200 changed files with 574 additions and 381 deletions

View File

@@ -23,9 +23,9 @@ export const SaveConfigKey = 'typing-word-config'
export const PronunciationApi = 'https://dict.youdao.com/dictvoice?audio='
export type LanguageType = 'en' | 'zh-CN' | 'ja' | 'de'
export type LanguageCategoryType = 'en' | 'ja' | 'de' | 'code' | 'article'
export type TranslateLanguageType = 'en' | 'zh-CN' | 'ja' | 'de' | ''
export type LanguageType = 'en' | 'ja' | 'de' | 'code'
export type ResourceType = 'word' | 'article'
export type DictionaryResource = {
id: string
@@ -35,8 +35,9 @@ export type DictionaryResource = {
tags: string[]
url: string
length: number
translateLanguage: TranslateLanguageType
type: ResourceType
language: LanguageType
languageCategory: LanguageCategoryType
}
export interface Dict {