@@ -61,7 +61,8 @@ type Block struct {
Created string `json:"created"`
Updated string `json:"updated"`
- RiffCardID string `json:"riffCardID"`
+ RiffCardID string `json:"riffCardID"`
+ RiffCardReps uint64 `json:"riffCardReps"`
}
func (block *Block) IsContainerBlock() bool {
@@ -178,6 +178,7 @@ func getCardsBlocks(cards []riff.Card, page int) (blocks []*Block, total, pageCo
b.RiffCardID = cards[i].ID()
+ b.RiffCardReps = cards[i].(*riff.FSRSCard).C.Reps
return