MatchesRepository

Interface defining the operations for managing matches data.

Inheritors

Properties

Link copied to clipboard
abstract var wifiWorkInfo: Flow<WorkInfo>

Provides access to work information related to Wi-Fi connectivity checks.

Functions

Link copied to clipboard
abstract suspend fun deleteMatch(team: Match)

Deletes a match from the repository.

Link copied to clipboard
abstract fun getMatch(id: Int): Flow<Match?>

Retrieves a single match by its ID.

Link copied to clipboard
abstract fun getMatches(date: String): Flow<List<Match>>

Retrieves a list of matches for a specific date.

Link copied to clipboard
abstract suspend fun insertMatch(team: Match)

Inserts a match into the repository.

Link copied to clipboard
abstract suspend fun refresh(date: String)

Refreshes the match data for a specific date.

Link copied to clipboard
abstract suspend fun updateMatch(team: Match)

Updates an existing match in the repository.