2021-05-09 15:07:23 +00:00
|
|
|
package models
|
|
|
|
|
|
|
|
type TagTypeListItem struct {
|
|
|
|
ID uint `json:"id"`
|
|
|
|
Name string `json:"name"`
|
|
|
|
}
|
|
|
|
|
|
|
|
type TagListItem struct {
|
2021-09-10 18:26:54 +00:00
|
|
|
TagID string `json:"tagId"`
|
|
|
|
TagName string `json:"tagName"`
|
|
|
|
TagType string `json:"tagType"`
|
|
|
|
PostCount int `json:"postCount"`
|
2021-05-09 15:07:23 +00:00
|
|
|
}
|
|
|
|
|
2021-09-10 18:56:42 +00:00
|
|
|
type TagAutocompleteListItem struct {
|
|
|
|
Name string `json:"name"`
|
|
|
|
}
|
|
|
|
|
2021-05-09 15:07:23 +00:00
|
|
|
type PostListItem struct {
|
2022-04-14 17:12:07 +00:00
|
|
|
ID string `json:"id"`
|
|
|
|
ImagePath string `json:"image_path"`
|
|
|
|
ImageThumbnailPath string `json:"thumbnail_path"`
|
2021-05-09 15:07:23 +00:00
|
|
|
}
|
2021-05-11 18:22:46 +00:00
|
|
|
|
|
|
|
type PostSimilarityListItem struct {
|
|
|
|
ID string `json:"id"`
|
|
|
|
Distance int `json:"distance"`
|
|
|
|
}
|