Documentation
¶
Index ¶
- type Assignee
- type AssigneeOperationData
- type ClosedAt
- type Complexity
- type ComponentAction
- type Deadline
- type DeadlineOperationData
- type ExtraContent
- type Label
- type Name
- type Priority
- type PriorityOperationData
- type Progress
- type Severity
- type SeverityOperationData
- type State
- type StateOperationData
- type TableColumnMultiple
- type TableColumnTagsRow
- type TableColumnTagsRowTag
- type TableColumnTextWithIcon
- type TableItem
- type Title
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AssigneeOperationData ¶
type Complexity ¶ added in v1.5.0
type ComponentAction ¶
type ComponentAction struct { base.DefaultProvider // contains filtered or unexported fields }
func (*ComponentAction) CheckUserPermission ¶
func (ca *ComponentAction) CheckUserPermission(ctx context.Context) (bool, error)
GetUserPermission check Guest permission
func (*ComponentAction) Render ¶
func (ca *ComponentAction) Render(ctx context.Context, c *cptype.Component, scenario cptype.Scenario, event cptype.ComponentEvent, gs *cptype.GlobalStateData) error
type DeadlineOperationData ¶
type ExtraContent ¶ added in v1.5.0
type Name ¶ added in v1.5.0
type Name struct { RenderType string `json:"renderType"` PrefixIcon string `json:"prefixIcon"` Value string `json:"value"` ExtraContent ExtraContent `json:"extraContent"` }
type PriorityOperationData ¶
type SeverityOperationData ¶
type State ¶
type State struct { Menus []map[string]interface{} `json:"menus"` // Operations map[string]interface{} `json:"operations"` // PrefixIcon string `json:"prefixIcon"` Value string `json:"value"` RenderType string `json:"renderType"` Disabled bool `json:"disabled"` DisabledTip string `json:"disabledTip"` }
type StateOperationData ¶
type TableColumnMultiple ¶
type TableColumnMultiple struct { RenderType string `json:"renderType,omitempty"` Renders [][]interface{} `json:"renders,omitempty"` }
type TableColumnTagsRow ¶
type TableColumnTagsRow struct { RenderType string `json:"renderType,omitempty"` Value []TableColumnTagsRowTag `json:"value,omitempty"` ShowCount int `json:"showCount,omitempty"` }
type TableColumnTagsRowTag ¶
type TableColumnTextWithIcon ¶
type TableItem ¶
type TableItem struct { //Assignee map[string]string `json:"assignee"` Id string `json:"id"` IterationID int64 `json:"iterationID"` Priority Priority `json:"priority"` Progress Progress `json:"progress,omitempty"` Severity Severity `json:"severity,omitempty"` Complexity Complexity `json:"complexity,omitempty"` State State `json:"state"` // Title Title `json:"title"` Type string `json:"type"` Deadline Deadline `json:"deadline"` Assignee Assignee `json:"assignee"` ClosedAt ClosedAt `json:"closedAt"` Name Name `json:"name"` }
type Title ¶
type Title TableColumnMultiple
Click to show internal directories.
Click to hide internal directories.