diff options
Diffstat (limited to 'web/views.go')
| -rw-r--r-- | web/views.go | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/web/views.go b/web/views.go index f6e84d5..a644d1e 100644 --- a/web/views.go +++ b/web/views.go @@ -180,6 +180,13 @@ type SyncPageData struct { HasAuth bool } +type SyncProgress struct { + Total int `json:"total"` + Completed int `json:"completed"` + Imported int `json:"imported"` + Skipped int `json:"skipped"` +} + func formatRideDate(value time.Time) string { return value.Local().Format("02 Jan 2006, 15:04") } |