This commit is contained in:
xds
2025-10-31 17:11:40 +03:00
parent 5b9d2366db
commit d2458633db
11 changed files with 128 additions and 26 deletions

View File

@@ -9,8 +9,8 @@ interface UserRepo {
fun findById(id: Int): User?
fun findByUsername(username: String): User?
fun findParticipantsBySpace(spaceId: Int): Set<User>
fun findByTgId(tgId: String): User?
fun save(user: User): User
fun findByTgId(tgId: Long): User?
fun create(user: User): User
fun update(user: User): User
fun deleteById(id: Long)
}