feat: implement notes api

This commit is contained in:
thecodrr
2020-02-03 12:03:07 +05:00
parent 9fc46d952c
commit 6d3f3353a8
6 changed files with 584 additions and 24 deletions

View File

@@ -7,7 +7,7 @@ export default class Indexer extends Storage {
this.indices = [];
}
async initIndexer() {
async init() {
this.indices = (await this.read(this.type)) || [];
}