2024-05-15 09:18:10 +00:00
|
|
|
package models
|
|
|
|
|
|
|
|
type FavoriteRelations struct {
|
|
|
|
SourcesID string `json:"sources_id"`
|
|
|
|
Relations AnthrovePostRelationship `json:"relations"`
|
|
|
|
}
|
|
|
|
|
|
|
|
type FavoritePost struct {
|
|
|
|
AnthrovePost AnthrovePost `json:"anthrove_post"`
|
|
|
|
Relations []FavoriteRelations `json:"relations"`
|
|
|
|
}
|
|
|
|
|
|
|
|
type FavoriteList struct {
|
|
|
|
Posts []FavoritePost `json:"posts,omitempty"`
|
|
|
|
}
|
2024-05-15 13:18:23 +00:00
|
|
|
|
2024-05-15 13:31:17 +00:00
|
|
|
type TagsWithFrequency struct {
|
2024-05-15 13:18:23 +00:00
|
|
|
Frequency int64 `json:"frequency"`
|
|
|
|
Tags AnthroveTag `json:"tags"`
|
|
|
|
}
|