74 lines
1.3 KiB
Go
74 lines
1.3 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 (
|
|
SortOrderAdded = "added"
|
|
SortOrderNewest = "newest"
|
|
SortOrderOldest = "oldest"
|
|
SortOrderName = "name"
|
|
SortOrderSimilar = "similar"
|
|
SortOrderRelevance = "relevance"
|
|
SortOrderEdited = "edited"
|
|
)
|