henkan 2.1.0 → 2.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs.js +223 -97
- package/dist/index.cjs.js.map +3 -3
- package/dist/index.mjs +222 -97
- package/dist/index.mjs.map +3 -3
- package/dist/types/types.d.ts +53 -0
- package/dist/types/types.d.ts.map +1 -1
- package/dist/types/utils.d.ts +37 -18
- package/dist/types/utils.d.ts.map +1 -1
- package/docs/api/README.md +8 -0
- package/docs/api/functions/capitalizeString.md +1 -1
- package/docs/api/functions/convertJMdict.md +1 -1
- package/docs/api/functions/convertJawiktionaryAsync.md +1 -1
- package/docs/api/functions/convertJawiktionarySync.md +1 -1
- package/docs/api/functions/convertKanjiDic.md +1 -1
- package/docs/api/functions/convertKradFile.md +1 -1
- package/docs/api/functions/convertRadkFile.md +1 -1
- package/docs/api/functions/convertTanakaCorpus.md +1 -1
- package/docs/api/functions/convertTanakaCorpusWithFurigana.md +1 -1
- package/docs/api/functions/createEntryMaps.md +59 -0
- package/docs/api/functions/generateAnkiNote.md +1 -1
- package/docs/api/functions/generateAnkiNotesFile.md +1 -1
- package/docs/api/functions/getKanji.md +9 -9
- package/docs/api/functions/getKanjiExtended.md +7 -7
- package/docs/api/functions/getValidForms.md +1 -1
- package/docs/api/functions/getWord.md +11 -11
- package/docs/api/functions/getWordDefinitions.md +1 -1
- package/docs/api/functions/getWordDefinitionsWithFurigana.md +1 -1
- package/docs/api/functions/isObjectArray.md +1 -1
- package/docs/api/functions/isStringArray.md +1 -1
- package/docs/api/functions/isValidArrayWithFirstElement.md +1 -1
- package/docs/api/functions/shuffleArray.md +1 -1
- package/docs/api/interfaces/DefaultNoteInfo.md +4 -4
- package/docs/api/interfaces/Definition.md +4 -4
- package/docs/api/interfaces/EntryMaps.md +83 -0
- package/docs/api/interfaces/Grammar.md +15 -15
- package/docs/api/interfaces/GrammarMeaning.md +3 -3
- package/docs/api/interfaces/JaWiktionaryEntry.md +5 -5
- package/docs/api/interfaces/Kana.md +11 -11
- package/docs/api/interfaces/Kanji.md +23 -23
- package/docs/api/interfaces/KanjiComponent.md +3 -3
- package/docs/api/interfaces/KanjiForm.md +4 -4
- package/docs/api/interfaces/NoteAndTag.md +3 -3
- package/docs/api/interfaces/NoteHeaderKeys.md +7 -7
- package/docs/api/interfaces/Phrase.md +5 -5
- package/docs/api/interfaces/Radical.md +16 -16
- package/docs/api/interfaces/Reading.md +5 -5
- package/docs/api/interfaces/ResultEntry.md +7 -7
- package/docs/api/interfaces/Translation.md +3 -3
- package/docs/api/interfaces/UsefulRegExps.md +8 -8
- package/docs/api/interfaces/Word.md +15 -15
- package/docs/api/interfaces/WordDefinitionPair.md +3 -3
- package/docs/api/type-aliases/Dict.md +1 -1
- package/docs/api/type-aliases/EntryType.md +1 -1
- package/docs/api/type-aliases/KanjiEntryMap.md +13 -0
- package/docs/api/type-aliases/KanjiSVGMap.md +13 -0
- package/docs/api/type-aliases/KanjiWordsMap.md +13 -0
- package/docs/api/type-aliases/Result.md +1 -1
- package/docs/api/type-aliases/WordDefinitionsMap.md +13 -0
- package/docs/api/type-aliases/WordExamplesMap.md +13 -0
- package/docs/api/type-aliases/WordIDEntryMap.md +13 -0
- package/package.json +3 -3
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
|
|
9
9
|
> **isStringArray**(`arg`): `arg is string[]`
|
|
10
10
|
|
|
11
|
-
Defined in: [utils.ts:
|
|
11
|
+
Defined in: [utils.ts:82](https://github.com/Ronokof/Henkan/blob/main/src/utils.ts#L82)
|
|
12
12
|
|
|
13
13
|
Checks if the argument is an array of strings.
|
|
14
14
|
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
|
|
9
9
|
> **isValidArrayWithFirstElement**(`arg`): `arg is any[]`
|
|
10
10
|
|
|
11
|
-
Defined in: [utils.ts:
|
|
11
|
+
Defined in: [utils.ts:73](https://github.com/Ronokof/Henkan/blob/main/src/utils.ts#L73)
|
|
12
12
|
|
|
13
13
|
Checks if the argument is an array and has at least one element.
|
|
14
14
|
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
|
|
9
9
|
> **shuffleArray**\<`T`\>(`arr`): `T`[]
|
|
10
10
|
|
|
11
|
-
Defined in: [utils.ts:
|
|
11
|
+
Defined in: [utils.ts:106](https://github.com/Ronokof/Henkan/blob/main/src/utils.ts#L106)
|
|
12
12
|
|
|
13
13
|
Shuffles an array using the `Fisher–Yates shuffle` algorithm
|
|
14
14
|
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
# Interface: DefaultNoteInfo
|
|
8
8
|
|
|
9
|
-
Defined in: [types.ts:
|
|
9
|
+
Defined in: [types.ts:965](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L965)
|
|
10
10
|
|
|
11
11
|
Default note ID, note type and deck name of a note
|
|
12
12
|
|
|
@@ -24,7 +24,7 @@ Setting any of the properties to:
|
|
|
24
24
|
|
|
25
25
|
> `optional` **deckPath**: `string` \| `true`
|
|
26
26
|
|
|
27
|
-
Defined in: [types.ts:
|
|
27
|
+
Defined in: [types.ts:979](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L979)
|
|
28
28
|
|
|
29
29
|
A default for [Result.deckPath](Grammar.md#deckpath)
|
|
30
30
|
|
|
@@ -34,7 +34,7 @@ A default for [Result.deckPath](Grammar.md#deckpath)
|
|
|
34
34
|
|
|
35
35
|
> `optional` **guid**: `true` \| `"main_information"`
|
|
36
36
|
|
|
37
|
-
Defined in: [types.ts:
|
|
37
|
+
Defined in: [types.ts:971](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L971)
|
|
38
38
|
|
|
39
39
|
A default for [Result.noteID](Grammar.md#noteid)
|
|
40
40
|
|
|
@@ -46,6 +46,6 @@ A default for [Result.noteID](Grammar.md#noteid)
|
|
|
46
46
|
|
|
47
47
|
> `optional` **noteType**: `string` \| `true`
|
|
48
48
|
|
|
49
|
-
Defined in: [types.ts:
|
|
49
|
+
Defined in: [types.ts:975](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L975)
|
|
50
50
|
|
|
51
51
|
A default for [Result.noteTypeName](Grammar.md#notetypename)
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
# Interface: Definition
|
|
8
8
|
|
|
9
|
-
Defined in: [types.ts:
|
|
9
|
+
Defined in: [types.ts:533](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L533)
|
|
10
10
|
|
|
11
11
|
A word definition
|
|
12
12
|
|
|
@@ -16,7 +16,7 @@ A word definition
|
|
|
16
16
|
|
|
17
17
|
> **definition**: `string`
|
|
18
18
|
|
|
19
|
-
Defined in: [types.ts:
|
|
19
|
+
Defined in: [types.ts:537](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L537)
|
|
20
20
|
|
|
21
21
|
The definition
|
|
22
22
|
|
|
@@ -26,7 +26,7 @@ The definition
|
|
|
26
26
|
|
|
27
27
|
> `optional` **furigana**: `string`
|
|
28
28
|
|
|
29
|
-
Defined in: [types.ts:
|
|
29
|
+
Defined in: [types.ts:541](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L541)
|
|
30
30
|
|
|
31
31
|
The definition with furigana attached
|
|
32
32
|
|
|
@@ -36,6 +36,6 @@ The definition with furigana attached
|
|
|
36
36
|
|
|
37
37
|
> `optional` **mayNotBeAccurate**: `true`
|
|
38
38
|
|
|
39
|
-
Defined in: [types.ts:
|
|
39
|
+
Defined in: [types.ts:545](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L545)
|
|
40
40
|
|
|
41
41
|
Whether or not the definition is associated with other words
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
[**henkan**](../README.md)
|
|
2
|
+
|
|
3
|
+
***
|
|
4
|
+
|
|
5
|
+
[henkan](../README.md) / EntryMaps
|
|
6
|
+
|
|
7
|
+
# Interface: EntryMaps
|
|
8
|
+
|
|
9
|
+
Defined in: [types.ts:470](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L470)
|
|
10
|
+
|
|
11
|
+
Maps with various entry associations
|
|
12
|
+
|
|
13
|
+
## Properties
|
|
14
|
+
|
|
15
|
+
### kanjiEntryMap?
|
|
16
|
+
|
|
17
|
+
> `optional` **kanjiEntryMap**: [`KanjiEntryMap`](../type-aliases/KanjiEntryMap.md)
|
|
18
|
+
|
|
19
|
+
Defined in: [types.ts:482](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L482)
|
|
20
|
+
|
|
21
|
+
#### See
|
|
22
|
+
|
|
23
|
+
[KanjiEntryMap](../type-aliases/KanjiEntryMap.md)
|
|
24
|
+
|
|
25
|
+
***
|
|
26
|
+
|
|
27
|
+
### kanjiSVGMap?
|
|
28
|
+
|
|
29
|
+
> `optional` **kanjiSVGMap**: [`KanjiSVGMap`](../type-aliases/KanjiSVGMap.md)
|
|
30
|
+
|
|
31
|
+
Defined in: [types.ts:494](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L494)
|
|
32
|
+
|
|
33
|
+
#### See
|
|
34
|
+
|
|
35
|
+
[KanjiSVGMap](../type-aliases/KanjiSVGMap.md)
|
|
36
|
+
|
|
37
|
+
***
|
|
38
|
+
|
|
39
|
+
### kanjiWordsMap?
|
|
40
|
+
|
|
41
|
+
> `optional` **kanjiWordsMap**: [`KanjiWordsMap`](../type-aliases/KanjiWordsMap.md)
|
|
42
|
+
|
|
43
|
+
Defined in: [types.ts:478](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L478)
|
|
44
|
+
|
|
45
|
+
#### See
|
|
46
|
+
|
|
47
|
+
[KanjiWordsMap](../type-aliases/KanjiWordsMap.md)
|
|
48
|
+
|
|
49
|
+
***
|
|
50
|
+
|
|
51
|
+
### wordDefinitionsMap?
|
|
52
|
+
|
|
53
|
+
> `optional` **wordDefinitionsMap**: [`WordDefinitionsMap`](../type-aliases/WordDefinitionsMap.md)
|
|
54
|
+
|
|
55
|
+
Defined in: [types.ts:490](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L490)
|
|
56
|
+
|
|
57
|
+
#### See
|
|
58
|
+
|
|
59
|
+
[WordDefinitionsMap](../type-aliases/WordDefinitionsMap.md)
|
|
60
|
+
|
|
61
|
+
***
|
|
62
|
+
|
|
63
|
+
### wordExamplesMap?
|
|
64
|
+
|
|
65
|
+
> `optional` **wordExamplesMap**: [`WordExamplesMap`](../type-aliases/WordExamplesMap.md)
|
|
66
|
+
|
|
67
|
+
Defined in: [types.ts:486](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L486)
|
|
68
|
+
|
|
69
|
+
#### See
|
|
70
|
+
|
|
71
|
+
[WordExamplesMap](../type-aliases/WordExamplesMap.md)
|
|
72
|
+
|
|
73
|
+
***
|
|
74
|
+
|
|
75
|
+
### wordIDEntryMap?
|
|
76
|
+
|
|
77
|
+
> `optional` **wordIDEntryMap**: [`WordIDEntryMap`](../type-aliases/WordIDEntryMap.md)
|
|
78
|
+
|
|
79
|
+
Defined in: [types.ts:474](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L474)
|
|
80
|
+
|
|
81
|
+
#### See
|
|
82
|
+
|
|
83
|
+
[WordIDEntryMap](../type-aliases/WordIDEntryMap.md)
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
# Interface: Grammar
|
|
8
8
|
|
|
9
|
-
Defined in: [types.ts:
|
|
9
|
+
Defined in: [types.ts:913](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L913)
|
|
10
10
|
|
|
11
11
|
Grammar point information
|
|
12
12
|
|
|
@@ -20,7 +20,7 @@ Grammar point information
|
|
|
20
20
|
|
|
21
21
|
> `optional` **audio**: `string`
|
|
22
22
|
|
|
23
|
-
Defined in: [types.ts:
|
|
23
|
+
Defined in: [types.ts:945](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L945)
|
|
24
24
|
|
|
25
25
|
The filename of an audio file for the grammar point
|
|
26
26
|
|
|
@@ -30,7 +30,7 @@ The filename of an audio file for the grammar point
|
|
|
30
30
|
|
|
31
31
|
> `optional` **deckPath**: `string`
|
|
32
32
|
|
|
33
|
-
Defined in: [types.ts:
|
|
33
|
+
Defined in: [types.ts:597](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L597)
|
|
34
34
|
|
|
35
35
|
The full path of the Anki deck
|
|
36
36
|
|
|
@@ -44,7 +44,7 @@ The full path of the Anki deck
|
|
|
44
44
|
|
|
45
45
|
> `optional` **doNotCreateNote**: `true`
|
|
46
46
|
|
|
47
|
-
Defined in: [types.ts:
|
|
47
|
+
Defined in: [types.ts:605](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L605)
|
|
48
48
|
|
|
49
49
|
Whether or not this entry should be converted into an Anki note
|
|
50
50
|
|
|
@@ -58,7 +58,7 @@ Whether or not this entry should be converted into an Anki note
|
|
|
58
58
|
|
|
59
59
|
> `optional` **id**: `` `${number}` ``
|
|
60
60
|
|
|
61
|
-
Defined in: [types.ts:
|
|
61
|
+
Defined in: [types.ts:589](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L589)
|
|
62
62
|
|
|
63
63
|
ID used for the Anki note ID
|
|
64
64
|
|
|
@@ -72,7 +72,7 @@ ID used for the Anki note ID
|
|
|
72
72
|
|
|
73
73
|
> `optional` **jlpt**: [`JLPT`](../type-aliases/JLPT.md)
|
|
74
74
|
|
|
75
|
-
Defined in: [types.ts:
|
|
75
|
+
Defined in: [types.ts:937](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L937)
|
|
76
76
|
|
|
77
77
|
The [post-2010 JLPT](https://en.wikipedia.org/wiki/Japanese-Language_Proficiency_Test#Test_format) level
|
|
78
78
|
|
|
@@ -82,7 +82,7 @@ The [post-2010 JLPT](https://en.wikipedia.org/wiki/Japanese-Language_Proficiency
|
|
|
82
82
|
|
|
83
83
|
> **meaning**: [`GrammarMeaning`](GrammarMeaning.md)
|
|
84
84
|
|
|
85
|
-
Defined in: [types.ts:
|
|
85
|
+
Defined in: [types.ts:921](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L921)
|
|
86
86
|
|
|
87
87
|
The English meaning/translation of the grammar point
|
|
88
88
|
|
|
@@ -92,7 +92,7 @@ The English meaning/translation of the grammar point
|
|
|
92
92
|
|
|
93
93
|
> `optional` **noteID**: `string`
|
|
94
94
|
|
|
95
|
-
Defined in: [types.ts:
|
|
95
|
+
Defined in: [types.ts:585](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L585)
|
|
96
96
|
|
|
97
97
|
ID used for the resulting Anki note
|
|
98
98
|
|
|
@@ -106,7 +106,7 @@ ID used for the resulting Anki note
|
|
|
106
106
|
|
|
107
107
|
> `optional` **noteTypeName**: `string`
|
|
108
108
|
|
|
109
|
-
Defined in: [types.ts:
|
|
109
|
+
Defined in: [types.ts:593](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L593)
|
|
110
110
|
|
|
111
111
|
Anki note type name
|
|
112
112
|
|
|
@@ -120,7 +120,7 @@ Anki note type name
|
|
|
120
120
|
|
|
121
121
|
> `optional` **phrases**: [`Phrase`](Phrase.md)[]
|
|
122
122
|
|
|
123
|
-
Defined in: [types.ts:
|
|
123
|
+
Defined in: [types.ts:933](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L933)
|
|
124
124
|
|
|
125
125
|
Example phrase using the grammar point
|
|
126
126
|
|
|
@@ -130,7 +130,7 @@ Example phrase using the grammar point
|
|
|
130
130
|
|
|
131
131
|
> `readonly` **point**: `string`
|
|
132
132
|
|
|
133
|
-
Defined in: [types.ts:
|
|
133
|
+
Defined in: [types.ts:917](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L917)
|
|
134
134
|
|
|
135
135
|
The most common form in which the grammar point written in
|
|
136
136
|
|
|
@@ -140,7 +140,7 @@ The most common form in which the grammar point written in
|
|
|
140
140
|
|
|
141
141
|
> `optional` **readings**: [`Reading`](Reading.md)[]
|
|
142
142
|
|
|
143
|
-
Defined in: [types.ts:
|
|
143
|
+
Defined in: [types.ts:925](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L925)
|
|
144
144
|
|
|
145
145
|
The readings of the grammar point
|
|
146
146
|
|
|
@@ -150,7 +150,7 @@ The readings of the grammar point
|
|
|
150
150
|
|
|
151
151
|
> `optional` **source**: `string`
|
|
152
152
|
|
|
153
|
-
Defined in: [types.ts:
|
|
153
|
+
Defined in: [types.ts:941](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L941)
|
|
154
154
|
|
|
155
155
|
The source from which data for this grammar point has been extracted
|
|
156
156
|
|
|
@@ -160,7 +160,7 @@ The source from which data for this grammar point has been extracted
|
|
|
160
160
|
|
|
161
161
|
> `optional` **tags**: `string`[]
|
|
162
162
|
|
|
163
|
-
Defined in: [types.ts:
|
|
163
|
+
Defined in: [types.ts:601](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L601)
|
|
164
164
|
|
|
165
165
|
Tags generated based on the entry's information
|
|
166
166
|
|
|
@@ -174,6 +174,6 @@ Tags generated based on the entry's information
|
|
|
174
174
|
|
|
175
175
|
> `optional` **usages**: `string`[]
|
|
176
176
|
|
|
177
|
-
Defined in: [types.ts:
|
|
177
|
+
Defined in: [types.ts:929](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L929)
|
|
178
178
|
|
|
179
179
|
Ways in which the grammar point is used in Japanese
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
# Interface: GrammarMeaning
|
|
8
8
|
|
|
9
|
-
Defined in: [types.ts:
|
|
9
|
+
Defined in: [types.ts:899](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L899)
|
|
10
10
|
|
|
11
11
|
Grammar point meaning
|
|
12
12
|
|
|
@@ -16,7 +16,7 @@ Grammar point meaning
|
|
|
16
16
|
|
|
17
17
|
> `optional` **example**: `string`
|
|
18
18
|
|
|
19
|
-
Defined in: [types.ts:
|
|
19
|
+
Defined in: [types.ts:907](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L907)
|
|
20
20
|
|
|
21
21
|
An example phrase using the grammar point
|
|
22
22
|
|
|
@@ -26,6 +26,6 @@ An example phrase using the grammar point
|
|
|
26
26
|
|
|
27
27
|
> **meaning**: `string`
|
|
28
28
|
|
|
29
|
-
Defined in: [types.ts:
|
|
29
|
+
Defined in: [types.ts:903](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L903)
|
|
30
30
|
|
|
31
31
|
The meaning of the grammar point
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
# Interface: JaWiktionaryEntry
|
|
8
8
|
|
|
9
|
-
Defined in: [types.ts:
|
|
9
|
+
Defined in: [types.ts:511](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L511)
|
|
10
10
|
|
|
11
11
|
Useful information from a `ja.wiktionary.org` entry
|
|
12
12
|
|
|
@@ -16,7 +16,7 @@ Useful information from a `ja.wiktionary.org` entry
|
|
|
16
16
|
|
|
17
17
|
> `optional` **forms**: `string`[]
|
|
18
18
|
|
|
19
|
-
Defined in: [types.ts:
|
|
19
|
+
Defined in: [types.ts:527](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L527)
|
|
20
20
|
|
|
21
21
|
Other forms (as kanji form or kana) of the word
|
|
22
22
|
|
|
@@ -26,7 +26,7 @@ Other forms (as kanji form or kana) of the word
|
|
|
26
26
|
|
|
27
27
|
> `optional` **pos\_title**: [`POS`](../type-aliases/POS.md)
|
|
28
28
|
|
|
29
|
-
Defined in: [types.ts:
|
|
29
|
+
Defined in: [types.ts:519](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L519)
|
|
30
30
|
|
|
31
31
|
The part of speech (in Japanese)
|
|
32
32
|
|
|
@@ -36,7 +36,7 @@ The part of speech (in Japanese)
|
|
|
36
36
|
|
|
37
37
|
> **senses**: `JaWiktionaryEntrySense`[]
|
|
38
38
|
|
|
39
|
-
Defined in: [types.ts:
|
|
39
|
+
Defined in: [types.ts:523](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L523)
|
|
40
40
|
|
|
41
41
|
The word senses
|
|
42
42
|
|
|
@@ -46,6 +46,6 @@ The word senses
|
|
|
46
46
|
|
|
47
47
|
> **word**: `string`
|
|
48
48
|
|
|
49
|
-
Defined in: [types.ts:
|
|
49
|
+
Defined in: [types.ts:515](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L515)
|
|
50
50
|
|
|
51
51
|
The "title" (word) of the page
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
# Interface: Kana
|
|
8
8
|
|
|
9
|
-
Defined in: [types.ts:
|
|
9
|
+
Defined in: [types.ts:877](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L877)
|
|
10
10
|
|
|
11
11
|
Kana information
|
|
12
12
|
|
|
@@ -20,7 +20,7 @@ Kana information
|
|
|
20
20
|
|
|
21
21
|
> `optional` **audio**: `string`
|
|
22
22
|
|
|
23
|
-
Defined in: [types.ts:
|
|
23
|
+
Defined in: [types.ts:889](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L889)
|
|
24
24
|
|
|
25
25
|
The filename of an audio file for the kana reading
|
|
26
26
|
|
|
@@ -30,7 +30,7 @@ The filename of an audio file for the kana reading
|
|
|
30
30
|
|
|
31
31
|
> `optional` **deckPath**: `string`
|
|
32
32
|
|
|
33
|
-
Defined in: [types.ts:
|
|
33
|
+
Defined in: [types.ts:597](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L597)
|
|
34
34
|
|
|
35
35
|
The full path of the Anki deck
|
|
36
36
|
|
|
@@ -44,7 +44,7 @@ The full path of the Anki deck
|
|
|
44
44
|
|
|
45
45
|
> `optional` **doNotCreateNote**: `true`
|
|
46
46
|
|
|
47
|
-
Defined in: [types.ts:
|
|
47
|
+
Defined in: [types.ts:605](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L605)
|
|
48
48
|
|
|
49
49
|
Whether or not this entry should be converted into an Anki note
|
|
50
50
|
|
|
@@ -58,7 +58,7 @@ Whether or not this entry should be converted into an Anki note
|
|
|
58
58
|
|
|
59
59
|
> `optional` **id**: `` `${number}` ``
|
|
60
60
|
|
|
61
|
-
Defined in: [types.ts:
|
|
61
|
+
Defined in: [types.ts:589](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L589)
|
|
62
62
|
|
|
63
63
|
ID used for the Anki note ID
|
|
64
64
|
|
|
@@ -72,7 +72,7 @@ ID used for the Anki note ID
|
|
|
72
72
|
|
|
73
73
|
> `readonly` **kana**: `string`
|
|
74
74
|
|
|
75
|
-
Defined in: [types.ts:
|
|
75
|
+
Defined in: [types.ts:881](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L881)
|
|
76
76
|
|
|
77
77
|
The kana character
|
|
78
78
|
|
|
@@ -82,7 +82,7 @@ The kana character
|
|
|
82
82
|
|
|
83
83
|
> `optional` **noteID**: `string`
|
|
84
84
|
|
|
85
|
-
Defined in: [types.ts:
|
|
85
|
+
Defined in: [types.ts:585](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L585)
|
|
86
86
|
|
|
87
87
|
ID used for the resulting Anki note
|
|
88
88
|
|
|
@@ -96,7 +96,7 @@ ID used for the resulting Anki note
|
|
|
96
96
|
|
|
97
97
|
> `optional` **noteTypeName**: `string`
|
|
98
98
|
|
|
99
|
-
Defined in: [types.ts:
|
|
99
|
+
Defined in: [types.ts:593](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L593)
|
|
100
100
|
|
|
101
101
|
Anki note type name
|
|
102
102
|
|
|
@@ -110,7 +110,7 @@ Anki note type name
|
|
|
110
110
|
|
|
111
111
|
> **reading**: `string`
|
|
112
112
|
|
|
113
|
-
Defined in: [types.ts:
|
|
113
|
+
Defined in: [types.ts:885](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L885)
|
|
114
114
|
|
|
115
115
|
The romaji reading of the kana
|
|
116
116
|
|
|
@@ -120,7 +120,7 @@ The romaji reading of the kana
|
|
|
120
120
|
|
|
121
121
|
> `optional` **svg**: `string`
|
|
122
122
|
|
|
123
|
-
Defined in: [types.ts:
|
|
123
|
+
Defined in: [types.ts:893](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L893)
|
|
124
124
|
|
|
125
125
|
The kana SVG filename
|
|
126
126
|
|
|
@@ -130,7 +130,7 @@ The kana SVG filename
|
|
|
130
130
|
|
|
131
131
|
> `optional` **tags**: `string`[]
|
|
132
132
|
|
|
133
|
-
Defined in: [types.ts:
|
|
133
|
+
Defined in: [types.ts:601](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L601)
|
|
134
134
|
|
|
135
135
|
Tags generated based on the entry's information
|
|
136
136
|
|