aboutsummaryrefslogtreecommitdiff
path: root/docs/interfaces/dictionary-entry.ts
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2021-05-08 13:16:56 -0400
committerGitHub <noreply@github.com>2021-05-08 13:16:56 -0400
commit289bdc162228609e841ae69a2ba1295926401ecd (patch)
tree8f0e41d4a65b4186269c297ed00b46c04efcff3f /docs/interfaces/dictionary-entry.ts
parent32f554402172ed53de8fb87ea207e4121c1b1fab (diff)
Improve term grouping (#1653)
* Rename _addUniqueStrings to _addUniqueSimple * Update definition merging to not depend the sequence number * Improve naming * Update AnkiNoteDataCreator * Update docs * Remove fields that no longer exist * Update test data
Diffstat (limited to 'docs/interfaces/dictionary-entry.ts')
-rw-r--r--docs/interfaces/dictionary-entry.ts14
1 files changed, 4 insertions, 10 deletions
diff --git a/docs/interfaces/dictionary-entry.ts b/docs/interfaces/dictionary-entry.ts
index 724a0b5a..2a58f5dc 100644
--- a/docs/interfaces/dictionary-entry.ts
+++ b/docs/interfaces/dictionary-entry.ts
@@ -201,14 +201,6 @@ namespace Translation {
*/
isPrimary: boolean;
/**
- * Database sequence number for the term, or `-1` if multiple entries have been merged.
- */
- sequence: number;
- /**
- * The dictionary that the sequence number originated from, or `null` if there is no sequence.
- */
- sequenceDictionary: string;
- /**
* A list of inflections that was applied to get the term.
*/
inflections: string[];
@@ -297,9 +289,11 @@ namespace Translation {
*/
dictionary: string;
/**
- * Database sequence number for the term. The value will be `-1` if there is no sequence.
+ * A list of database sequence numbers for the term. A value of `-1` corresponds to no sequence.
+ * The list can have multiple values if multiple definitions with different sequences have been merged.
+ * The list should always have at least one item.
*/
- sequence: number;
+ sequences: number;
/**
* Tags for the definition.
*/