refactor(models): reorganized structs

Signed-off-by: SoXX <soxx@fenpa.ws>
This commit is contained in:
SoXX 2024-05-31 14:21:51 +02:00
parent 0620d2919e
commit 6cabcf9beb
2 changed files with 5 additions and 5 deletions

View File

@ -13,8 +13,3 @@ type FavoritePost struct {
type FavoriteList struct { type FavoriteList struct {
Posts []FavoritePost `json:"posts,omitempty"` Posts []FavoritePost `json:"posts,omitempty"`
} }
type TagsWithFrequency struct {
Frequency int64 `json:"frequency"`
Tags AnthroveTag `json:"tags"`
}

View File

@ -4,3 +4,8 @@ type AnthroveTag struct {
Name string `json:"name" format:"string"` Name string `json:"name" format:"string"`
Type string `json:"type" format:"string"` Type string `json:"type" format:"string"`
} }
type TagsWithFrequency struct {
Frequency int64 `json:"frequency"`
Tags AnthroveTag `json:"tags"`
}