2020-04-18 23:20:54 +02:00
|
|
|
package entity
|
|
|
|
|
2020-05-14 11:57:26 +02:00
|
|
|
import "github.com/photoprism/photoprism/internal/classify"
|
|
|
|
|
2020-04-18 23:20:54 +02:00
|
|
|
const (
|
2020-04-20 12:53:58 +02:00
|
|
|
// data sources
|
2020-04-19 01:13:55 +02:00
|
|
|
SrcAuto = ""
|
|
|
|
SrcManual = "manual"
|
2020-05-20 15:10:24 +02:00
|
|
|
SrcName = "name"
|
2020-05-14 11:57:26 +02:00
|
|
|
SrcMeta = "meta"
|
2020-04-19 01:13:55 +02:00
|
|
|
SrcXmp = "xmp"
|
2020-05-19 09:21:10 +02:00
|
|
|
SrcYaml = "yaml"
|
2020-05-14 11:57:26 +02:00
|
|
|
SrcLocation = classify.SrcLocation
|
|
|
|
SrcImage = classify.SrcImage
|
2020-04-20 12:53:58 +02:00
|
|
|
|
|
|
|
// sort orders
|
|
|
|
SortOrderRelevance = "relevance"
|
|
|
|
SortOrderNewest = "newest"
|
|
|
|
SortOrderOldest = "oldest"
|
|
|
|
SortOrderImported = "imported"
|
|
|
|
SortOrderSimilar = "similar"
|
2020-05-15 15:29:56 +02:00
|
|
|
|
|
|
|
// unknown values
|
|
|
|
YearUnknown = -1
|
|
|
|
MonthUnknown = -1
|
|
|
|
TitleUnknown = "Unknown"
|
2020-04-18 23:20:54 +02:00
|
|
|
)
|