//MetaPhrase/com.github.diegoberaldin.metaphrase.domain.project.repository/RecentProjectRepository
RecentProjectRepository
[jvm]
interface RecentProjectRepository
Contract for the recent project repository.
Functions
Name | Summary |
---|---|
create | [jvm] abstract suspend fun create(model: RecentProjectModel): Int Create a new project. |
delete | [jvm] abstract suspend fun delete(model: RecentProjectModel) Delete a project. |
getAll | [jvm] abstract suspend fun getAll(): List<RecentProjectModel> Get all recent projects. |
getByName | [jvm] abstract suspend fun getByName(value: String): RecentProjectModel? Get a project by name. |
observeAll | [jvm] abstract suspend fun observeAll(): Flow<List<RecentProjectModel>> Observe all recent projects |