using adas_core.Domain.Models.Pumps;

namespace adas_core.Application.Repositories.Interfaces;

public interface IPumpStateRepository
{
    Task<PumpState?> FindByDeviceIdAsync(string deviceId);

    Task UpsertAsync(PumpState state);

    Task<IEnumerable<PumpState>> GetAllAsync();
}