Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var AllDateFilterOp = []DateFilterOp{ DateFilterOpEq, DateFilterOpNeq, DateFilterOpGt, DateFilterOpGte, DateFilterOpLt, DateFilterOpLte, }
View Source
var AllErrorType = []ErrorType{ ErrorTypeCustom, ErrorTypeNormal, }
Functions ¶
This section is empty.
Types ¶
type DateFilter ¶
type DateFilter struct { Value string `json:"value"` Timezone *string `json:"timezone"` Op *DateFilterOp `json:"op"` }
type DateFilterOp ¶
type DateFilterOp string
const ( DateFilterOpEq DateFilterOp = "EQ" DateFilterOpNeq DateFilterOp = "NEQ" DateFilterOpGt DateFilterOp = "GT" DateFilterOpGte DateFilterOp = "GTE" DateFilterOpLt DateFilterOp = "LT" DateFilterOpLte DateFilterOp = "LTE" )
func (DateFilterOp) IsValid ¶
func (e DateFilterOp) IsValid() bool
func (DateFilterOp) MarshalGQL ¶
func (e DateFilterOp) MarshalGQL(w io.Writer)
func (DateFilterOp) String ¶
func (e DateFilterOp) String() string
func (*DateFilterOp) UnmarshalGQL ¶
func (e *DateFilterOp) UnmarshalGQL(v interface{}) error
type ErrorType ¶
type ErrorType string
func (ErrorType) MarshalGQL ¶
func (*ErrorType) UnmarshalGQL ¶
type Viewer ¶
type Viewer struct {
User *remote_api.User
}
Click to show internal directories.
Click to hide internal directories.