Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var AllLinkOperationType = []LinkOperationType{ LinkOperationTypeAnd, LinkOperationTypeOr, }
View Source
var AllOperationType = []OperationType{ OperationTypeEquals, OperationTypeNotEquals, OperationTypeLessThan, OperationTypeLessThanEqual, OperationTypeGreaterThan, OperationTypeGreaterThanEqual, OperationTypeIs, OperationTypeIsNull, OperationTypeIsNotNull, OperationTypeIn, OperationTypeNotIn, OperationTypeLike, OperationTypeILike, OperationTypeNotLike, OperationTypeBetween, OperationTypeMatch, }
Functions ¶
This section is empty.
Types ¶
type LinkOperationType ¶
type LinkOperationType string
const ( LinkOperationTypeAnd LinkOperationType = "AND" LinkOperationTypeOr LinkOperationType = "OR" )
func (LinkOperationType) IsValid ¶
func (e LinkOperationType) IsValid() bool
func (LinkOperationType) MarshalGQL ¶
func (e LinkOperationType) MarshalGQL(w io.Writer)
func (LinkOperationType) String ¶
func (e LinkOperationType) String() string
func (*LinkOperationType) UnmarshalGQL ¶
func (e *LinkOperationType) UnmarshalGQL(v interface{}) error
type OperationType ¶
type OperationType string
const ( OperationTypeEquals OperationType = "Equals" OperationTypeNotEquals OperationType = "NotEquals" OperationTypeLessThan OperationType = "LessThan" OperationTypeLessThanEqual OperationType = "LessThanEqual" OperationTypeGreaterThan OperationType = "GreaterThan" OperationTypeGreaterThanEqual OperationType = "GreaterThanEqual" OperationTypeIs OperationType = "Is" OperationTypeIsNull OperationType = "IsNull" OperationTypeIsNotNull OperationType = "IsNotNull" OperationTypeIn OperationType = "In" OperationTypeNotIn OperationType = "NotIn" OperationTypeLike OperationType = "Like" OperationTypeILike OperationType = "ILike" OperationTypeNotLike OperationType = "NotLike" OperationTypeBetween OperationType = "Between" OperationTypeMatch OperationType = "Match" )
func (OperationType) IsValid ¶
func (e OperationType) IsValid() bool
func (OperationType) MarshalGQL ¶
func (e OperationType) MarshalGQL(w io.Writer)
func (OperationType) String ¶
func (e OperationType) String() string
func (*OperationType) UnmarshalGQL ¶
func (e *OperationType) UnmarshalGQL(v interface{}) error
type QueryFilter ¶
type QueryFilter struct { Field string `json:"field"` LinkOperation *LinkOperationType `json:"linkOperation"` Op OperationType `json:"op"` Value interface{} `json:"value"` Values []interface{} `json:"values"` }
type User ¶
type User struct { ID string `json:"id"` Email string `json:"email"` AvatarURL *string `json:"avatarURL"` Name *string `json:"name"` FirstName *string `json:"firstName"` LastName *string `json:"lastName"` NickName *string `json:"nickName"` Description *string `json:"description"` Location *string `json:"location"` APIkey *string `json:"APIkey"` Profiles []*UserProfile `json:"profiles"` CreatedBy *User `json:"createdBy"` UpdatedBy *User `json:"updatedBy"` CreatedAt *time.Time `json:"createdAt"` UpdatedAt *time.Time `json:"updatedAt"` }
type UserInput ¶
type UserInput struct { Email *string `json:"email"` Password *string `json:"password"` AvatarURL *string `json:"avatarURL"` DisplayName *string `json:"displayName"` Name *string `json:"name"` FirstName *string `json:"firstName"` LastName *string `json:"lastName"` NickName *string `json:"nickName"` Description *string `json:"description"` Location *string `json:"location"` AddRoles []*string `json:"addRoles"` RemRoles []*string `json:"remRoles"` AddPermissions []*string `json:"addPermissions"` RemPermissions []*string `json:"remPermissions"` }
type UserProfile ¶
type UserProfile struct { ID int `json:"id"` Email string `json:"email"` ExternalUserID *string `json:"externalUserId"` AvatarURL *string `json:"avatarURL"` Name *string `json:"name"` FirstName *string `json:"firstName"` LastName *string `json:"lastName"` NickName *string `json:"nickName"` Description *string `json:"description"` Location *string `json:"location"` CreatedAt time.Time `json:"createdAt"` UpdatedAt *time.Time `json:"updatedAt"` CreatedBy *User `json:"createdBy"` UpdatedBy *User `json:"updatedBy"` }
Click to show internal directories.
Click to hide internal directories.