issueTable

package
v1.5.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 6, 2022 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Assignee

type Assignee struct {
	Value       string                 `json:"value"`
	RenderType  string                 `json:"renderType"`
	Scope       string                 `json:"scope"`
	Operations  map[string]interface{} `json:"operations"`
	Disabled    bool                   `json:"disabled"`
	DisabledTip string                 `json:"disabledTip"`
}

type AssigneeOperationData

type AssigneeOperationData struct {
	Meta struct {
		Assignee string `json:"assignee"`
		ID       string `json:"id"`
	} `json:"meta"`
}

type ClosedAt

type ClosedAt struct {
	RenderType string `json:"renderType"`
	Value      string `json:"value"`
	NoBorder   bool   `json:"noBorder"`
}

type Complexity added in v1.5.0

type Complexity struct {
	RenderType string `json:"renderType"`
	PrefixIcon string `json:"prefixIcon"`
	Value      string `json:"value"`
}

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

type Deadline

type Deadline struct {
	RenderType     string                 `json:"renderType"`
	Value          string                 `json:"value"`
	NoBorder       bool                   `json:"noBorder"`
	DisabledBefore string                 `json:"disabledBefore"`
	DisabledAfter  string                 `json:"disabledAfter"`
	Operations     map[string]interface{} `json:"operations"`
}

type DeadlineOperationData

type DeadlineOperationData struct {
	Meta struct {
		DeadlineValue string `json:"deadlineValue"`
		ID            string `json:"id"`
	} `json:"meta"`
}

type ExtraContent added in v1.5.0

type ExtraContent struct {
	RenderType string  `json:"renderType"`
	Value      []Label `json:"value"`
}

type Label added in v1.5.0

type Label struct {
	Color string `json:"color"`
	Label string `json:"label"`
}

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 Priority

type Priority struct {
	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 PriorityOperationData

type PriorityOperationData struct {
	Meta struct {
		Priority string `json:"priority"`
		ID       string `json:"id"`
	} `json:"meta"`
}

type Progress

type Progress struct {
	Value      string `json:"value"`
	RenderType string `json:"renderType"`
}

type Severity

type Severity struct {
	Value       string                 `json:"value"`
	RenderType  string                 `json:"renderType"`
	PrefixIcon  string                 `json:"prefixIcon"`
	Operations  map[string]interface{} `json:"operations"`
	Disabled    bool                   `json:"disabled"`
	DisabledTip string                 `json:"disabledTip"`
}

type SeverityOperationData

type SeverityOperationData struct {
	Meta struct {
		Severity string `json:"severity"`
		ID       string `json:"id"`
	} `json:"meta"`
}

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 StateOperationData struct {
	Meta struct {
		State string `json:"state"`
		ID    string `json:"id"`
	} `json:"meta"`
}

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 TableColumnTagsRowTag struct {
	Color string `json:"color,omitempty"`
	Label string `json:"label,omitempty"`
}

type TableColumnTextWithIcon

type TableColumnTextWithIcon struct {
	RenderType string `json:"renderType,omitempty"`
	Value      string `json:"value,omitempty"`
	PrefixIcon string `json:"prefixIcon,omitempty"`
}

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL