import 'package:result_monad/result_monad.dart'; import '../../models/connection.dart'; import '../../models/exec_error.dart'; import '../../models/timeline_grouping_list_data.dart'; abstract class ICirclesRepo { void clear(); void addAllCircles(List circles); void addConnectionToCircle( TimelineGroupingListData circle, Connection connection); void clearMyCircles(); void upsertCircle(TimelineGroupingListData circle); void deleteCircle(TimelineGroupingListData circle); List getMyCircles(); Result, ExecError> getCircleMembers( TimelineGroupingListData circle); Result, ExecError> getCirclesForUser( String id); bool updateConnectionCircleData( String id, List currentCircles); }