photoprism/internal/entity/const.go
Michael Mayer 4421e7d203 Add simple file browser to Library #260
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-05-24 22:16:06 +02:00

41 lines
848 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"
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"
RootOriginals = "originals"
RootImport = "import"
RootPath = "/"
)