Add sync local media progress

This commit is contained in:
advplyr
2022-04-09 18:36:32 -05:00
parent d9e4469089
commit 12a153d423
7 changed files with 186 additions and 18 deletions
+4
View File
@@ -166,6 +166,10 @@ class AbsDatabaseWeb extends WebPlugin {
async removeLocalMediaProgress({ localMediaProgressId }) {
return null
}
async syncLocalMediaProgressWithServer() {
return null
}
}
const AbsDatabase = registerPlugin('AbsDatabase', {
+4
View File
@@ -88,6 +88,10 @@ class DbService {
removeLocalMediaProgress(localMediaProgressId) {
return AbsDatabase.removeLocalMediaProgress({ localMediaProgressId })
}
syncLocalMediaProgressWithServer() {
return AbsDatabase.syncLocalMediaProgressWithServer()
}
}
export default ({ app, store }, inject) => {