Extra contents beyond WaniKani
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
import { AnkiConnect } from '@/ankiconnect';
|
|
|
|
const anki = new AnkiConnect();
|
|
anki
|
|
.api('findNotes', {
|
|
query:
|
|
'deck:Takoboto -Takoboto: tag:common -tag:reading-challenge -tag:favorites -tag:death-note -tag:ハピネス -tag:https://www.bunka.go.jp/seisaku/bunkashingikai/kokugo/hokoku/pdf/ijidokun_140221.pdf',
|
|
})
|
|
.then((notes) => anki.api('notesInfo', { notes }))
|
|
.then((notes) => {
|
|
console.log(new Set(notes.flatMap((n) => n.tags)));
|
|
});
|