import 'package:injectable/injectable.dart';
import '../../domain/entities/compliance_snapshot.dart';
import '../../domain/repositories/compliance_repository.dart';
import '../datasources/compliance_remote_datasource.dart';

@Injectable(as: ComplianceRepository)
class ComplianceRepositoryImpl implements ComplianceRepository {
  final ComplianceRemoteDataSource remote;

  ComplianceRepositoryImpl(this.remote);

  @override
  Future<ComplianceSnapshot> getSnapshotCurrent() => remote.getSnapshotCurrent();
}
