1297a8cc1f
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
27 lines
564 B
Go
27 lines
564 B
Go
package entity
|
|
|
|
import "github.com/photoprism/photoprism/internal/classify"
|
|
|
|
const (
|
|
// data sources
|
|
SrcAuto = ""
|
|
SrcManual = "manual"
|
|
SrcName = "name"
|
|
SrcMeta = "meta"
|
|
SrcXmp = "xmp"
|
|
SrcYaml = "yaml"
|
|
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"
|
|
)
|