2023-01-16 21:31:17 +00:00
|
|
|
import 'package:result_monad/result_monad.dart';
|
|
|
|
|
|
|
|
import '../../models/connection.dart';
|
|
|
|
import '../../models/exec_error.dart';
|
|
|
|
|
|
|
|
class IConnectionsRepo {
|
2023-01-24 03:36:14 +00:00
|
|
|
void clear() {
|
|
|
|
throw UnimplementedError();
|
|
|
|
}
|
|
|
|
|
2023-01-16 21:31:17 +00:00
|
|
|
bool addConnection(Connection connection) {
|
|
|
|
throw UnimplementedError();
|
|
|
|
}
|
|
|
|
|
|
|
|
bool addAllConnections(Iterable<Connection> newConnections) {
|
|
|
|
throw UnimplementedError();
|
|
|
|
}
|
|
|
|
|
|
|
|
bool updateConnection(Connection connection) {
|
|
|
|
throw UnimplementedError();
|
|
|
|
}
|
|
|
|
|
|
|
|
Result<Connection, ExecError> getById(String id) {
|
|
|
|
throw UnimplementedError();
|
|
|
|
}
|
|
|
|
|
|
|
|
Result<Connection, ExecError> getByName(String name) {
|
|
|
|
throw UnimplementedError();
|
|
|
|
}
|
|
|
|
|
2023-01-18 05:15:52 +00:00
|
|
|
List<Connection> getMyContacts() {
|
2023-01-16 21:31:17 +00:00
|
|
|
throw UnimplementedError();
|
|
|
|
}
|
|
|
|
|
2023-01-18 05:15:52 +00:00
|
|
|
List<Connection> getKnownUsersByName(String name) {
|
2023-01-16 21:31:17 +00:00
|
|
|
throw UnimplementedError();
|
|
|
|
}
|
|
|
|
}
|