95802d9f6c
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
49 lines
994 B
Go
49 lines
994 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.
|
|
SortOrderAdded = "added"
|
|
SortOrderNewest = "newest"
|
|
SortOrderOldest = "oldest"
|
|
SortOrderName = "name"
|
|
SortOrderSimilar = "similar"
|
|
SortOrderRelevance = "relevance"
|
|
|
|
// Unknown values.
|
|
YearUnknown = -1
|
|
MonthUnknown = -1
|
|
TitleUnknown = "Unknown"
|
|
|
|
// Content types.
|
|
TypeDefault = ""
|
|
TypeImage = "image"
|
|
TypeLive = "live"
|
|
TypeVideo = "video"
|
|
TypeRaw = "raw"
|
|
TypeText = "text"
|
|
|
|
// Root directories.
|
|
RootOriginals = ""
|
|
RootExamples = "examples"
|
|
RootSidecar = "sidecar"
|
|
RootImport = "import"
|
|
RootPath = "/"
|
|
|
|
// Event names.
|
|
Updated = "updated"
|
|
Created = "created"
|
|
Deleted = "deleted"
|
|
)
|