Simple favorites export import

This commit is contained in:
haiyangcui
2020-08-22 17:51:33 +02:00
parent 6f99d789f4
commit f4b9a73b18
2 changed files with 39 additions and 1 deletions

View File

@@ -4,6 +4,9 @@ export default {
async add (doc) {
return await star.add(doc)
},
async bulkAdd (doc) {
return await star.bulkAdd(doc)
},
async find (doc) {
return await star.get(doc)
},
@@ -15,5 +18,8 @@ export default {
},
async remove (id) {
return await star.delete(id)
},
async clear () {
return await star.clear()
}
}