82 lines
1.5 KiB
Go
82 lines
1.5 KiB
Go
package entity
|
|
|
|
// Panorama Projection Types
|
|
// TODO: Move to separate package.
|
|
|
|
const (
|
|
ProjDefault = ""
|
|
ProjEquirectangular = "equirectangular"
|
|
ProjCubestrip = "cubestrip"
|
|
ProjCylindrical = "cylindrical"
|
|
ProjTransverseCylindrical = "transverse-cylindrical"
|
|
ProjPseudocylindricalCompromise = "pseudocylindrical-compromise"
|
|
)
|
|
|
|
// Content Types
|
|
|
|
const (
|
|
TypeDefault = ""
|
|
TypeImage = "image"
|
|
TypeLive = "live"
|
|
TypeVideo = "video"
|
|
TypeRaw = "raw"
|
|
TypeText = "text"
|
|
)
|
|
|
|
// Root Directories Types
|
|
|
|
const (
|
|
RootUnknown = ""
|
|
RootOriginals = "/"
|
|
RootExamples = "examples"
|
|
RootSidecar = "sidecar"
|
|
RootImport = "import"
|
|
RootPath = "/"
|
|
)
|
|
|
|
// Unknown Values
|
|
|
|
const (
|
|
UnknownYear = -1
|
|
UnknownMonth = -1
|
|
UnknownDay = -1
|
|
UnknownName = "Unknown"
|
|
UnknownTitle = UnknownName
|
|
UnknownID = "zz"
|
|
)
|
|
|
|
// Event Types
|
|
|
|
const (
|
|
Updated = "updated"
|
|
Created = "created"
|
|
Deleted = "deleted"
|
|
)
|
|
|
|
// Photo Stacks
|
|
|
|
const (
|
|
IsStacked int8 = 1
|
|
IsStackable int8 = 0
|
|
IsUnstacked int8 = -1
|
|
)
|
|
|
|
// Sort Orders
|
|
|
|
const (
|
|
SortOrderDefault = ""
|
|
SortOrderRelevance = "relevance"
|
|
SortOrderCount = "count"
|
|
SortOrderAdded = "added"
|
|
SortOrderImported = "imported"
|
|
SortOrderEdited = "edited"
|
|
SortOrderNewest = "newest"
|
|
SortOrderOldest = "oldest"
|
|
SortOrderPlace = "place"
|
|
SortOrderMoment = "moment"
|
|
SortOrderName = "name"
|
|
SortOrderPath = "path"
|
|
SortOrderSlug = "slug"
|
|
SortOrderCategory = "category"
|
|
SortOrderSimilar = "similar"
|
|
)
|