photoprism/internal/config/thumbs.go
Michael Mayer 4d42222caf Rename "thumbnails" to "thumbs" and group api functions in one file
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-07-13 17:25:27 +02:00

13 lines
284 B
Go

package config
// Thumb represents thumbnail info for use in client apps.
type Thumb struct {
Size string `json:"size"`
Use string `json:"use"`
Width int `json:"w"`
Height int `json:"h"`
}
// Thumbs is a list of thumbnails for use in client apps.
var Thumbs []Thumb