forked from jpoehls/go-conduit
/
maniphest_query.go
35 lines (31 loc) · 1.57 KB
/
maniphest_query.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
package constants
// ManiphestTaskStatus is the status of a differential task.
type ManiphestTaskStatus string
const (
// ManiphestTaskStatusAny is any status.
ManiphestTaskStatusAny ManiphestTaskStatus = "status-any"
// ManiphestTaskStatusOpen is any task that is open.
ManiphestTaskStatusOpen ManiphestTaskStatus = "status-open"
// ManiphestTaskStatusClosed is any task that is closed.
ManiphestTaskStatusClosed ManiphestTaskStatus = "status-closed"
// ManiphestTaskStatusResolved is any task that is resolved.
ManiphestTaskStatusResolved ManiphestTaskStatus = "status-resolved"
// ManiphestTaskStatusWontFix is any task that is wontfix.
ManiphestTaskStatusWontFix ManiphestTaskStatus = "status-wontfix"
// ManiphestTaskStatusInvalid is any task that is invalid.
ManiphestTaskStatusInvalid ManiphestTaskStatus = "status-invalid"
// ManiphestTaskStatusSpite is any task that is spite.
ManiphestTaskStatusSpite ManiphestTaskStatus = "status-spite"
// ManiphestTaskStatusDuplicate is any task that is duplicated.
ManiphestTaskStatusDuplicate ManiphestTaskStatus = "status-duplicate"
)
// ManiphestQueryOrder is the order in which query results cna be ordered.
type ManiphestQueryOrder string
const (
// ManiphestQueryOrderPriority orders results by priority.
ManiphestQueryOrderPriority ManiphestQueryOrder = "order-priority"
// ManiphestQueryOrderModified orders results by date modified.
ManiphestQueryOrderModified ManiphestQueryOrder = "order-modified"
// ManiphestQueryOrderCreated orders results by date created.
ManiphestQueryOrderCreated ManiphestQueryOrder = "order-created"
)