package io.nexilis.service.data.viewmodels

import androidx.lifecycle.LiveData
import androidx.lifecycle.ViewModel
import dagger.hilt.android.lifecycle.HiltViewModel
import io.nexilis.service.data.entities.MessageSummary
import io.nexilis.service.data.repositories.MessageSummaryRepository
import javax.inject.Inject

@HiltViewModel
class MessageSummaryViewModel @Inject constructor(private val repository: MessageSummaryRepository) :
    ViewModel() {
    val all: LiveData<List<MessageSummary>> = repository.all
}