feat: add notice for unreviewed annotations, and fix failed tests
This commit is contained in:
@ -3,13 +3,15 @@ package data
|
||||
type AnnotationsResponse struct {
|
||||
Response struct {
|
||||
Referent struct {
|
||||
Annotations []struct {
|
||||
Body Annotation `json:"body"`
|
||||
} `json:"annotations"`
|
||||
Annotations []Annotation `json:"annotations"`
|
||||
} `json:"referent"`
|
||||
} `json:"response"`
|
||||
}
|
||||
|
||||
type Annotation struct {
|
||||
HTML string `json:"html"`
|
||||
Body struct {
|
||||
HTML string `json:"html"`
|
||||
} `json:"body"`
|
||||
State string `json:"state"`
|
||||
Verified bool `json:"verified"`
|
||||
}
|
||||
|
Reference in New Issue
Block a user