import 'package:krow_domain/krow_domain.dart';

// TODO: Implement SkillRepositoryInterface once defined in a feature package.
class SkillRepositoryMock {
  Future<void> addStaffSkill(StaffSkill skill) async {
    await Future.delayed(const Duration(milliseconds: 500));
  }

  Future<List<Skill>> getAllSkills() async {
    await Future.delayed(const Duration(milliseconds: 300));
    return <Skill>[
      const Skill(
        id: 'skill_1',
        categoryId: 'cat_1',
        name: 'Bartender',
        basePrice: 15.0,
      ),
      const Skill(
        id: 'skill_2',
        categoryId: 'cat_2',
        name: 'Security Guard',
        basePrice: 18.0,
      ),
    ];
  }

  Future<List<StaffSkill>> getStaffSkills(String staffId) async {
    await Future.delayed(const Duration(milliseconds: 400));
    return <StaffSkill>[
      const StaffSkill(
        id: 'staff_skill_1',
        staffId: 'staff_1',
        skillId: 'skill_1',
        level: SkillLevel.skilled,
        experienceYears: 3,
        status: StaffSkillStatus.verified,
      ),
    ];
  }
}