2020-04-18 23:20:54 +02:00
|
|
|
package entity
|
|
|
|
|
2021-09-03 19:02:26 +02:00
|
|
|
// Panorama Projection Types
|
|
|
|
// TODO: Move to separate package.
|
|
|
|
|
2020-04-18 23:20:54 +02:00
|
|
|
const (
|
2021-09-03 19:02:26 +02:00
|
|
|
ProjDefault = ""
|
|
|
|
ProjEquirectangular = "equirectangular"
|
|
|
|
ProjCubestrip = "cubestrip"
|
|
|
|
ProjCylindrical = "cylindrical"
|
|
|
|
ProjTransverseCylindrical = "transverse-cylindrical"
|
|
|
|
ProjPseudocylindricalCompromise = "pseudocylindrical-compromise"
|
|
|
|
)
|
2020-05-15 15:29:56 +02:00
|
|
|
|
2021-09-03 19:02:26 +02:00
|
|
|
// Content Types
|
2020-05-21 10:03:56 +02:00
|
|
|
|
2021-09-03 19:02:26 +02:00
|
|
|
const (
|
2020-06-09 10:51:22 +02:00
|
|
|
TypeDefault = ""
|
|
|
|
TypeImage = "image"
|
|
|
|
TypeLive = "live"
|
|
|
|
TypeVideo = "video"
|
|
|
|
TypeRaw = "raw"
|
|
|
|
TypeText = "text"
|
2021-09-03 19:02:26 +02:00
|
|
|
)
|
|
|
|
|
|
|
|
// Root Directories Types
|
2020-05-24 22:16:06 +02:00
|
|
|
|
2021-09-03 19:02:26 +02:00
|
|
|
const (
|
2020-07-20 19:48:31 +02:00
|
|
|
RootUnknown = ""
|
|
|
|
RootOriginals = "/"
|
2020-06-07 10:09:35 +02:00
|
|
|
RootExamples = "examples"
|
|
|
|
RootSidecar = "sidecar"
|
|
|
|
RootImport = "import"
|
|
|
|
RootPath = "/"
|
2021-09-03 19:02:26 +02:00
|
|
|
)
|
2020-06-01 09:45:24 +02:00
|
|
|
|
2021-09-03 19:02:26 +02:00
|
|
|
// Unknown Values
|
2020-07-16 13:02:48 +02:00
|
|
|
|
2021-09-03 19:02:26 +02:00
|
|
|
const (
|
|
|
|
UnknownYear = -1
|
|
|
|
UnknownMonth = -1
|
|
|
|
UnknownDay = -1
|
|
|
|
UnknownName = "Unknown"
|
|
|
|
UnknownTitle = UnknownName
|
|
|
|
UnknownID = "zz"
|
|
|
|
)
|
|
|
|
|
|
|
|
// Event Types
|
|
|
|
|
|
|
|
const (
|
2020-06-01 09:45:24 +02:00
|
|
|
Updated = "updated"
|
|
|
|
Created = "created"
|
|
|
|
Deleted = "deleted"
|
2021-09-03 19:02:26 +02:00
|
|
|
)
|
2020-12-19 19:15:32 +01:00
|
|
|
|
2021-09-03 19:02:26 +02:00
|
|
|
// Photo Stacks
|
|
|
|
|
|
|
|
const (
|
2020-12-19 19:15:32 +01:00
|
|
|
IsStacked int8 = 1
|
|
|
|
IsStackable int8 = 0
|
|
|
|
IsUnstacked int8 = -1
|
2020-04-18 23:20:54 +02:00
|
|
|
)
|
2021-09-03 19:02:26 +02:00
|
|
|
|
|
|
|
// Sort Orders
|
|
|
|
|
|
|
|
const (
|
|
|
|
SortOrderAdded = "added"
|
|
|
|
SortOrderNewest = "newest"
|
|
|
|
SortOrderOldest = "oldest"
|
|
|
|
SortOrderName = "name"
|
|
|
|
SortOrderSimilar = "similar"
|
|
|
|
SortOrderRelevance = "relevance"
|
|
|
|
SortOrderEdited = "edited"
|
|
|
|
)
|