aboutsummaryrefslogtreecommitdiff
path: root/types/ext
diff options
context:
space:
mode:
authorEloy Robillard <eloy.robillard@gmail.com>2024-02-15 04:02:36 +0100
committerGitHub <noreply@github.com>2024-02-15 03:02:36 +0000
commit7a4096240ce4faf70a785d047945388baa0daab3 (patch)
tree841da38533391a095fdb932c528c4b5c3366ba1b /types/ext
parent043ac79203abbc9c7f3aa971e2de8ddedb3c0e90 (diff)
Show all duplicate notes on click (#636)
* Show all duplicate notes on click * Change 'notesView' to 'viewNotes' * Replace api.noteView with api.viewNotes * Update "viewNote" action to "viewNotes" in options util * Update options-util test with "viewNotes" action * Replace uses of "viewNote" with "viewNotes" * Replace _viewNote with _viewNotes * Rename /*ViewNote*/ methods to /*ViewNotes*/
Diffstat (limited to 'types/ext')
-rw-r--r--types/ext/api.d.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/types/ext/api.d.ts b/types/ext/api.d.ts
index 4f1b9026..1f4fc0a9 100644
--- a/types/ext/api.d.ts
+++ b/types/ext/api.d.ts
@@ -193,9 +193,9 @@ type ApiSurface = {
errors: Core.SerializedError[];
};
};
- noteView: {
+ viewNotes: {
params: {
- noteId: Anki.NoteId;
+ noteIds: Anki.NoteId[];
mode: Settings.AnkiNoteGuiMode;
allowFallback: boolean;
};