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-22 16:29:12 +02:00
|
|
|
SortOrderName = "name"
|
2020-05-15 15:29:56 +02:00
|
|
|
|
|
|
|
// unknown values
|
|
|
|
YearUnknown = -1
|
|
|
|
MonthUnknown = -1
|
|
|
|
TitleUnknown = "Unknown"
|
2020-05-21 10:03:56 +02:00
|
|
|
|
2020-05-22 16:29:12 +02:00
|
|
|
TypeDefault = ""
|
2020-05-23 20:58:58 +02:00
|
|
|
TypeFolder = "folder"
|
|
|
|
TypeMoment = "moment"
|
2020-05-22 16:29:12 +02:00
|
|
|
TypeImage = "image"
|
|
|
|
TypeLive = "live"
|
|
|
|
TypeVideo = "video"
|
|
|
|
TypeRaw = "raw"
|
|
|
|
TypeText = "text"
|
2020-05-24 22:16:06 +02:00
|
|
|
|
|
|
|
RootOriginals = "originals"
|
|
|
|
RootImport = "import"
|
|
|
|
RootPath = "/"
|
2020-04-18 23:20:54 +02:00
|
|
|
)
|