photoprism/internal/entity/const.go
Michael Mayer f510ac994c XMP: Group files based on DocumentID and Instance ID #335
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-05-27 13:40:21 +02:00

42 lines
859 B
Go

package entity
import "github.com/photoprism/photoprism/internal/classify"
const (
// data sources
SrcAuto = ""
SrcManual = "manual"
SrcEstimate = "estimate"
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"
SortOrderName = "name"
// unknown values
YearUnknown = -1
MonthUnknown = -1
TitleUnknown = "Unknown"
TypeDefault = ""
TypeFolder = "folder"
TypeMoment = "moment"
TypeImage = "image"
TypeLive = "live"
TypeVideo = "video"
TypeRaw = "raw"
TypeText = "text"
RootDefault = ""
RootImport = "import"
RootPath = "/"
)