mudular code ready to fork
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
import 'dart:async';
|
||||
import '../../core/exceptions/sync_exception.dart';
|
||||
import '../local/local_storage_service.dart';
|
||||
import '../immich/immich_service.dart';
|
||||
import '../nostr/nostr_service.dart';
|
||||
@@ -6,18 +7,6 @@ import '../nostr/models/nostr_keypair.dart';
|
||||
import 'models/sync_status.dart';
|
||||
import 'models/sync_operation.dart';
|
||||
|
||||
/// Exception thrown when sync operations fail.
|
||||
class SyncException implements Exception {
|
||||
/// Error message.
|
||||
final String message;
|
||||
|
||||
/// Creates a [SyncException] with the provided message.
|
||||
SyncException(this.message);
|
||||
|
||||
@override
|
||||
String toString() => 'SyncException: $message';
|
||||
}
|
||||
|
||||
/// Engine for coordinating data synchronization between local storage, Immich, and Nostr.
|
||||
///
|
||||
/// This service provides:
|
||||
|
||||
Reference in New Issue
Block a user