You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
43 lines
733 B
43 lines
733 B
/// Status of a sync operation.
|
|
enum SyncStatus {
|
|
/// Sync operation is pending (queued).
|
|
pending,
|
|
|
|
/// Sync operation is in progress.
|
|
syncing,
|
|
|
|
/// Sync operation completed successfully.
|
|
success,
|
|
|
|
/// Sync operation failed.
|
|
failed,
|
|
}
|
|
|
|
/// Priority level for sync operations.
|
|
enum SyncPriority {
|
|
/// Low priority (background sync).
|
|
low,
|
|
|
|
/// Normal priority.
|
|
normal,
|
|
|
|
/// High priority (user-initiated).
|
|
high,
|
|
}
|
|
|
|
/// Resolution strategy for conflicts.
|
|
enum ConflictResolution {
|
|
/// Use local version (prefer local data).
|
|
useLocal,
|
|
|
|
/// Use remote version (prefer remote data).
|
|
useRemote,
|
|
|
|
/// Merge both versions.
|
|
merge,
|
|
|
|
/// Keep the most recent version based on timestamp.
|
|
useLatest,
|
|
}
|
|
|