Find notes by tags in notes list

This commit is contained in:
2020-08-17 17:09:48 +02:00
parent 8021814c31
commit 5295e32d86
5 changed files with 28 additions and 13 deletions
@@ -13,5 +13,5 @@ interface NoteRepository {
fun update(userId: Int, uuid: UUID, note: Note): PersistedNote?
fun delete(userId: Int, uuid: UUID): Boolean
fun getTags(userId: Int): List<String>
fun count(userId: Int): Int
fun count(userId: Int, tag: String? = null): Int
}