mirror of
https://github.com/immich-app/immich.git
synced 2025-05-31 04:05:39 -04:00
12 lines
315 B
Dart
12 lines
315 B
Dart
import 'dart:async';
|
|
|
|
import 'package:immich_mobile/domain/models/log.model.dart';
|
|
|
|
abstract class ILogRepository {
|
|
/// Fetches all logs
|
|
FutureOr<List<LogMessage>> fetchLogs();
|
|
|
|
/// Truncates the logs to the most recent [limit]. Defaults to recent 250 logs
|
|
FutureOr<void> truncateLogs({int limit = 250});
|
|
}
|