issueTable

package
v1.0.0-RC Latest Latest
Warning

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

Go to latest
Published: May 21, 2021 License: AGPL-3.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RenderCreator

func RenderCreator() protocol.CompRender

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 ComponentAction

type ComponentAction struct{}

func (*ComponentAction) CheckUserPermission

func (ca *ComponentAction) CheckUserPermission(bdl protocol.ContextBundle) (bool, error)

GetUserPermission check Guest permission

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 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 {
	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 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"`
	State       State    `json:"state"`
	Title       Title    `json:"title"`
	Type        string   `json:"type"`
	Deadline    Deadline `json:"deadline"`
	Assignee    Assignee `json:"assignee"`
}

type Tag

type Tag struct {
	Color string `json:"color"`
	Tag   string `json:"tag"`
}

type Title

type Title struct {
	PrefixIcon string `json:"prefixIcon,omitempty"`
	Value      string `json:"value,omitempty"`
	Tags       []Tag  `json:"tags"`
	RenderType string `json:"renderType,omitempty"`
}

Jump to

Keyboard shortcuts

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