Interface for all repositories. */
| 28 | |
| 29 | /** Interface for all repositories. */ |
| 30 | interface Repository<T> { |
| 31 | suspend fun findById(id: String): T? |
| 32 | suspend fun findAll(): List<T> |
| 33 | fun count(): Int |
| 34 | } |
| 35 | |
| 36 | /** Annotation for marking cacheable methods. */ |
| 37 | @Target(AnnotationTarget.FUNCTION) |
no outgoing calls
no test coverage detected