photoprism/internal/entity/const.go
Michael Mayer a91206a509 Universal sidecar configuration, indexing with multiple roots #268 #348
Slowly getting to the point where only very few people are able to maintain this codebase :)

Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-06-07 10:09:35 +02:00

51 lines
1 KiB
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 = ""
TypeAlbum = "album"
TypeFolder = "folder"
TypeMoment = "moment"
TypeMonth = "month"
TypeImage = "image"
TypeLive = "live"
TypeVideo = "video"
TypeRaw = "raw"
TypeText = "text"
RootOriginals = ""
RootExamples = "examples"
RootSidecar = "sidecar"
RootImport = "import"
RootPath = "/"
Updated = "updated"
Created = "created"
Deleted = "deleted"
)