import 'package:krow_domain/krow_domain.dart';

// TODO: Implement RatingRepositoryInterface once defined in a feature package.
class RatingRepositoryMock {
  Future<List<StaffRating>> getStaffRatings(String staffId) async {
    await Future.delayed(const Duration(milliseconds: 400));
    return <StaffRating>[
      const StaffRating(
        id: 'rate_1',
        staffId: 'staff_1',
        eventId: 'event_1',
        businessId: 'biz_1',
        rating: 5,
        comment: 'Great work!',
      ),
    ];
  }

  Future<void> submitRating(StaffRating rating) async {
    await Future.delayed(const Duration(milliseconds: 500));
  }
}