Skip to content

Commit

Permalink
feat(archive): add series
Browse files Browse the repository at this point in the history
  • Loading branch information
trim21 committed Sep 4, 2024
1 parent 37536d2 commit 4d917a7
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion cmd/archive/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,8 @@ type Subject struct {
Rank uint32 `json:"rank"`
Date string `json:"date"`
Favorite Favorite `json:"favorite"`

Series bool `json:"series"`
}

type Tag struct {
Expand Down Expand Up @@ -277,7 +279,8 @@ func exportSubjects(q *query.Query, w io.Writer) {
Field9: subject.Fields.Rate9,
Field10: subject.Fields.Rate10,
},
Date: encodedDate,
Date: encodedDate,
Series: subject.Series,
Favorite: Favorite{
Wish: subject.Wish,
Done: subject.Done,
Expand Down

0 comments on commit 4d917a7

Please # to comment.