mirror of
https://github.com/immich-app/immich.git
synced 2026-02-11 19:38:54 +03:00
14 lines
494 B
Dart
14 lines
494 B
Dart
import 'package:immich_mobile/domain/models/server-info/server_config.model.dart';
|
|
import 'package:immich_mobile/domain/models/server-info/server_features.model.dart';
|
|
|
|
abstract interface class IServerApiRepository {
|
|
/// Pings and check if server is reachable
|
|
Future<void> pingServer();
|
|
|
|
/// Fetches the list of enabled features in the server
|
|
Future<ServerFeatures?> getServerFeatures();
|
|
|
|
/// Fetches the server configuration and settings
|
|
Future<ServerConfig?> getServerConfig();
|
|
}
|