mirror of
https://github.com/Damillora/Shioriko.git
synced 2024-11-01 04:27:33 +00:00
25 lines
540 B
Go
25 lines
540 B
Go
package models
|
|
|
|
type TagTypeListItem struct {
|
|
ID uint `json:"id"`
|
|
Name string `json:"name"`
|
|
}
|
|
|
|
type TagListItem struct {
|
|
ID string `json:"id"`
|
|
Name string `json:"name"`
|
|
TagType string `json:"tagType"`
|
|
}
|
|
|
|
type PostListItem struct {
|
|
ID string `json:"id"`
|
|
ImagePath string `json:"image_path"`
|
|
ImageThumbnailPath string `json:"thumbnail_path"`
|
|
Tags []string `json:"tags"`
|
|
}
|
|
|
|
type PostSimilarityListItem struct {
|
|
ID string `json:"id"`
|
|
Distance int `json:"distance"`
|
|
}
|