mirrored_repositories/pic_connect_app/lib/data
import 'package:pic_connect/data/datasource/dto/save_user_dto.dart';
import 'package:pic_connect/data/datasource/dto/user_dto.dart';

abstract class UserDatasource {

  Future<List<UserDTO>> findAll();

  Future<UserDTO> findByUid(String uid);

  Future<void> save(SaveUserDTO user);

  Future<void> followUser(String uid, String followId);

  Future<List<UserDTO>> findByName(String username);

  Future<List<UserDTO>> findAllThatUserIsFollowingBy(String uid);

  Future<List<UserDTO>> findAllFollowersBy(String uid);
}
