photoprism/internal/entity/const.go
Michael Mayer 9937304d0c Metadata: Improve date and error handling; see #302, #304, #305 and #295
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-05-15 15:29:56 +02:00

25 lines
520 B
Go

package entity
import "github.com/photoprism/photoprism/internal/classify"
const (
// data sources
SrcAuto = ""
SrcManual = "manual"
SrcMeta = "meta"
SrcXmp = "xmp"
SrcLocation = classify.SrcLocation
SrcImage = classify.SrcImage
// sort orders
SortOrderRelevance = "relevance"
SortOrderNewest = "newest"
SortOrderOldest = "oldest"
SortOrderImported = "imported"
SortOrderSimilar = "similar"
// unknown values
YearUnknown = -1
MonthUnknown = -1
TitleUnknown = "Unknown"
)