2020-04-18 23:20:54 +02:00
|
|
|
package entity
|
|
|
|
|
|
|
|
const (
|
2020-12-19 19:15:32 +01:00
|
|
|
// Sort orders:
|
2020-06-30 11:27:02 +02:00
|
|
|
SortOrderAdded = "added"
|
2020-04-20 12:53:58 +02:00
|
|
|
SortOrderNewest = "newest"
|
|
|
|
SortOrderOldest = "oldest"
|
2020-05-22 16:29:12 +02:00
|
|
|
SortOrderName = "name"
|
2020-06-30 11:27:02 +02:00
|
|
|
SortOrderSimilar = "similar"
|
|
|
|
SortOrderRelevance = "relevance"
|
2020-07-14 12:42:31 +02:00
|
|
|
SortOrderEdited = "edited"
|
2020-05-15 15:29:56 +02:00
|
|
|
|
2020-12-19 19:15:32 +01:00
|
|
|
// Unknown values:
|
2021-08-16 00:29:36 +02:00
|
|
|
UnknownYear = -1
|
|
|
|
UnknownMonth = -1
|
|
|
|
UnknownDay = -1
|
|
|
|
UnknownName = "Unknown"
|
2021-08-19 21:12:38 +02:00
|
|
|
UnknownTitle = UnknownName
|
|
|
|
UnknownID = "zz"
|
2020-05-21 10:03:56 +02:00
|
|
|
|
2020-12-19 19:15:32 +01:00
|
|
|
// Content types:
|
2020-06-09 10:51:22 +02:00
|
|
|
TypeDefault = ""
|
|
|
|
TypeImage = "image"
|
|
|
|
TypeLive = "live"
|
|
|
|
TypeVideo = "video"
|
|
|
|
TypeRaw = "raw"
|
|
|
|
TypeText = "text"
|
2020-05-24 22:16:06 +02:00
|
|
|
|
2020-12-19 19:15:32 +01:00
|
|
|
// Root directories:
|
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 = "/"
|
2020-06-01 09:45:24 +02:00
|
|
|
|
2020-12-19 19:15:32 +01:00
|
|
|
// Panorama projections:
|
2020-07-16 13:02:48 +02:00
|
|
|
ProjectionDefault = ""
|
|
|
|
ProjectionEquirectangular = "equirectangular"
|
|
|
|
ProjectionCubestrip = "cubestrip"
|
|
|
|
ProjectionCylindrical = "cylindrical"
|
|
|
|
|
2020-12-19 19:15:32 +01:00
|
|
|
// Event names:
|
2020-06-01 09:45:24 +02:00
|
|
|
Updated = "updated"
|
|
|
|
Created = "created"
|
|
|
|
Deleted = "deleted"
|
2020-12-19 19:15:32 +01:00
|
|
|
|
|
|
|
// Photo stacks:
|
|
|
|
IsStacked int8 = 1
|
|
|
|
IsStackable int8 = 0
|
|
|
|
IsUnstacked int8 = -1
|
2020-04-18 23:20:54 +02:00
|
|
|
)
|