2020-07-13 17:25:27 +02:00
|
|
|
package config
|
|
|
|
|
2021-09-05 12:32:08 +02:00
|
|
|
// ThumbSize represents thumbnail info for use in client apps.
|
|
|
|
type ThumbSize struct {
|
2020-07-13 17:25:27 +02:00
|
|
|
Size string `json:"size"`
|
2023-07-18 15:15:04 +02:00
|
|
|
Usage string `json:"usage"`
|
2020-07-13 17:25:27 +02:00
|
|
|
Width int `json:"w"`
|
|
|
|
Height int `json:"h"`
|
|
|
|
}
|
|
|
|
|
2021-09-05 12:32:08 +02:00
|
|
|
// ThumbSizes represents a list of thumbnail types.
|
|
|
|
type ThumbSizes []ThumbSize
|
2021-09-02 14:45:26 +02:00
|
|
|
|
2020-07-13 17:25:27 +02:00
|
|
|
// Thumbs is a list of thumbnails for use in client apps.
|
2021-09-05 12:32:08 +02:00
|
|
|
var Thumbs ThumbSizes
|