2021-09-18 15:32:39 +02:00
|
|
|
package search
|
|
|
|
|
|
|
|
// Subject represents a subject search result.
|
|
|
|
type Subject struct {
|
|
|
|
SubjUID string `json:"UID"`
|
|
|
|
MarkerUID string `json:"MarkerUID"`
|
|
|
|
MarkerSrc string `json:"MarkerSrc,omitempty"`
|
|
|
|
SubjType string `json:"Type"`
|
|
|
|
SubjSlug string `json:"Slug"`
|
|
|
|
SubjName string `json:"Name"`
|
|
|
|
SubjAlias string `json:"Alias"`
|
|
|
|
SubjFavorite bool `json:"Favorite"`
|
2021-10-06 15:27:17 +02:00
|
|
|
SubjHidden bool `json:"Hidden"`
|
2021-09-18 15:32:39 +02:00
|
|
|
SubjPrivate bool `json:"Private"`
|
|
|
|
SubjExcluded bool `json:"Excluded"`
|
|
|
|
FileCount int `json:"FileCount"`
|
2021-10-01 16:34:29 +02:00
|
|
|
PhotoCount int `json:"PhotoCount"`
|
2021-09-20 16:17:10 +02:00
|
|
|
Thumb string `json:"Thumb"`
|
|
|
|
ThumbSrc string `json:"ThumbSrc,omitempty"`
|
2021-09-18 15:32:39 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
// SubjectResults represents subject search results.
|
|
|
|
type SubjectResults []Subject
|