const String staffFragment = '''
fragment StaffFields on Staff {
  id
  first_name
  last_name
  middle_name
  email
  phone
  status
  address
  avatar
  average_rating
}
''';

const String roleKitFragment = '''
fragment RoleKit on RoleKit {
   id
   name
   is_required
   photo_required
}
''';

const String skillCategoryFragment = '''
fragment SkillCategory on Skill {
  category {
    name
    slug
  }
}
''';

const String skillFragment = '''
$skillCategoryFragment
$roleKitFragment

fragment SkillFragment on Skill {
  id
  name
  slug
  price
  uniforms {
   ...RoleKit
  }
  equipments {
   ...RoleKit
  }
  ...SkillCategory
}
''';




String getSkillsQuery = '''
$skillFragment
query GetSkills {
  skills {
  ...SkillFragment
  }
}
''';



const String getStaffRolesQuery = '''
$skillFragment
query GetStaffRoles {
  staff_roles {
    id
    skill {  
    ...SkillFragment
    }
    confirmed_uniforms {
      id
      skill_kit_id
      photo
    }
    confirmed_equipments {
      id
      skill_kit_id
      photo
    }
    level
    experience
    status
  }
}
''';
