TeamsRepository

interface TeamsRepository

Interface defining the operations for managing teams 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 deleteTeam(team: Team)

Deletes a team from the repository.

Link copied to clipboard
abstract fun getTeam(id: String): Flow<Team?>

Retrieves a single team by its ID.

Link copied to clipboard
abstract fun getTeams(): Flow<List<Team>>

Retrieves a list of all teams.

Link copied to clipboard
abstract suspend fun insertTeam(team: Team)

Inserts a team into the repository.

Link copied to clipboard
abstract suspend fun refresh()

Refreshes the teams data.

Link copied to clipboard
abstract suspend fun updateTeam(team: Team)

Updates an existing team in the repository.