forked from crimx/ext-saladict
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.ts
47 lines (45 loc) · 799 Bytes
/
config.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
import { DictItem } from '@/app-config/dicts'
export type BingConfig = DictItem<{
tense: boolean
phsym: boolean
cdef: boolean
related: boolean
sentence: number
}>
export default (): BingConfig => ({
lang: '11000000',
selectionLang: {
english: true,
chinese: true,
japanese: false,
korean: false,
french: false,
spanish: false,
deutsch: false,
others: false,
matchAll: false
},
defaultUnfold: {
english: true,
chinese: true,
japanese: true,
korean: true,
french: true,
spanish: true,
deutsch: true,
others: true,
matchAll: false
},
preferredHeight: 240,
selectionWC: {
min: 1,
max: 5
},
options: {
tense: true,
phsym: true,
cdef: true,
related: true,
sentence: 4
}
})