diff --git a/templates/types.go b/templates/types.go index cedfb9d..8ec1371 100644 --- a/templates/types.go +++ b/templates/types.go @@ -161,17 +161,22 @@ type ReaderMetadata struct { ReadingDirection string `json:"reading_direction"` FileURL string `json:"file_url"` LibraryID string `json:"library_id"` + TotalCharacters int64 `json:"total_characters"` + EstimatedPages int `json:"estimated_pages"` } type ReadingProgress struct { - ID string - MediaItemID string - UserID string - CurrentPage int - TotalPages int - Percentage float64 - EpubCfi string - LastReadAt time.Time + ID string + MediaItemID string + UserID string + CurrentPage int + TotalPages int + Percentage float64 + EpubCfi string + LastReadAt time.Time + Chapter int + ChapterProgress float64 + FormatGroup string } type Bookmark struct {