Files
immich/mobile-v2/lib/domain/interfaces/api/server_api.interface.dart
shenlong-tanwen 3b8951fde6 more refactors
2025-02-26 08:58:19 +05:30

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();
}