Group plugins by package

This commit is contained in:
MM20
2023-11-25 16:29:20 +01:00
parent 6c311fc947
commit 25cd9b707e
17 changed files with 728 additions and 101 deletions
@@ -52,6 +52,14 @@ internal class PluginRepositoryImpl(
}
}
override fun updateMany(plugins: List<Plugin>): Job {
return scope.launch {
dao.updateMany(
plugins.map { PluginEntity(it) }
)
}
}
override fun deleteMany(): Job {
return scope.launch {
dao.deleteMany()