mirror of
https://github.com/sstent/FitTrack_GarminSync.git
synced 2026-01-26 09:01:53 +00:00
15 lines
778 B
Markdown
15 lines
778 B
Markdown
# Data Model: Sync Job Management with Progress Tracking
|
|
|
|
## Entity: SyncJob
|
|
|
|
Represents the state and progress of the single active synchronization process.
|
|
|
|
### Attributes:
|
|
|
|
* `status` (string): Indicates the current state of the sync. Possible values: "idle", "in_progress", "completed", "failed".
|
|
* `progress` (float): Completion percentage, ranging from 0.0 to 1.0.
|
|
* `start_time` (datetime): Timestamp when the sync operation began.
|
|
* `end_time` (datetime, optional): Timestamp when the sync operation concluded (either completed or failed).
|
|
* `error_message` (string, optional): Contains details if the sync operation failed.
|
|
* `job_type` (string, optional): Indicates the type of data being synchronized. Possible values: "activities", "health", "workouts".
|