Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var AllAppRolePolicyOrderField = []AppRolePolicyOrderField{ AppRolePolicyOrderFieldCreatedAt, }
View Source
var AllOrgRoleUserOrderField = []OrgRoleUserOrderField{ OrgRoleUserOrderFieldCreatedAt, }
View Source
var AllOrgUserOrderField = []OrgUserOrderField{ OrgUserOrderFieldCreatedAt, }
View Source
var AllTreeAction = []TreeAction{ TreeActionChild, TreeActionUp, TreeActionDown, }
Functions ¶
This section is empty.
Types ¶
type AppRolePolicyOrder ¶
type AppRolePolicyOrder struct { // The ordering direction. Direction entgql.OrderDirection `json:"direction"` // The field by which to order AppRolePolicies. Field AppRolePolicyOrderField `json:"field"` }
Ordering options for AppRolePolicy connections
type AppRolePolicyOrderField ¶
type AppRolePolicyOrderField string
Properties by which AppRolePolicy connections can be ordered.
const (
AppRolePolicyOrderFieldCreatedAt AppRolePolicyOrderField = "createdAt"
)
func (AppRolePolicyOrderField) IsValid ¶
func (e AppRolePolicyOrderField) IsValid() bool
func (AppRolePolicyOrderField) MarshalGQL ¶
func (e AppRolePolicyOrderField) MarshalGQL(w io.Writer)
func (AppRolePolicyOrderField) String ¶
func (e AppRolePolicyOrderField) String() string
func (*AppRolePolicyOrderField) UnmarshalGQL ¶
func (e *AppRolePolicyOrderField) UnmarshalGQL(v interface{}) error
type AssignRoleUserInput ¶
type EnableDirectoryInput ¶
type GrantInput ¶
type OrgRoleUserOrder ¶
type OrgRoleUserOrder struct { // The ordering direction. Direction entgql.OrderDirection `json:"direction"` // The field by which to order OrgRoleUsers. Field OrgRoleUserOrderField `json:"field"` }
Ordering options for OrgRoleUser connections
type OrgRoleUserOrderField ¶
type OrgRoleUserOrderField string
Properties by which OrgRoleUser connections can be ordered.
const (
OrgRoleUserOrderFieldCreatedAt OrgRoleUserOrderField = "createdAt"
)
func (OrgRoleUserOrderField) IsValid ¶
func (e OrgRoleUserOrderField) IsValid() bool
func (OrgRoleUserOrderField) MarshalGQL ¶
func (e OrgRoleUserOrderField) MarshalGQL(w io.Writer)
func (OrgRoleUserOrderField) String ¶
func (e OrgRoleUserOrderField) String() string
func (*OrgRoleUserOrderField) UnmarshalGQL ¶
func (e *OrgRoleUserOrderField) UnmarshalGQL(v interface{}) error
type OrgUserOrder ¶
type OrgUserOrder struct { // The ordering direction. Direction entgql.OrderDirection `json:"direction"` // The field by which to order OrgUsers. Field OrgUserOrderField `json:"field"` }
Ordering options for OrgUser connections
type OrgUserOrderField ¶
type OrgUserOrderField string
Properties by which OrgUser connections can be ordered.
const (
OrgUserOrderFieldCreatedAt OrgUserOrderField = "createdAt"
)
func (OrgUserOrderField) IsValid ¶
func (e OrgUserOrderField) IsValid() bool
func (OrgUserOrderField) MarshalGQL ¶
func (e OrgUserOrderField) MarshalGQL(w io.Writer)
func (OrgUserOrderField) String ¶
func (e OrgUserOrderField) String() string
func (*OrgUserOrderField) UnmarshalGQL ¶
func (e *OrgUserOrderField) UnmarshalGQL(v interface{}) error
type OrgUserPreferenceInput ¶
type TreeAction ¶
type TreeAction string
树操作类型
const ( // 作为子节点 TreeActionChild TreeAction = "child" // 上移 TreeActionUp TreeAction = "up" // 下移 TreeActionDown TreeAction = "down" )
func (TreeAction) IsValid ¶
func (e TreeAction) IsValid() bool
func (TreeAction) MarshalGQL ¶
func (e TreeAction) MarshalGQL(w io.Writer)
func (TreeAction) String ¶
func (e TreeAction) String() string
func (*TreeAction) UnmarshalGQL ¶
func (e *TreeAction) UnmarshalGQL(v interface{}) error
Click to show internal directories.
Click to hide internal directories.