table

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: 11 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ComponentAction

type ComponentAction struct {
	base.DefaultProvider

	Name       string                 `json:"name"`
	Type       string                 `json:"type"`
	Props      map[string]interface{} `json:"props"`
	State      State                  `json:"state"`
	Operations map[string]interface{} `json:"operations"`
	Data       Data                   `json:"data"`
	InParams   InParams               `json:"-"`
	// contains filtered or unexported fields
}

func (*ComponentAction) GenComponentState

func (i *ComponentAction) GenComponentState(c *cptype.Component) error

func (*ComponentAction) Render

type Data

type Data struct {
	List []DataItem `json:"list"`
}

type DataItem

type DataItem struct {
	ID         uint64                 `json:"id"`
	Name       string                 `json:"name"`
	Iteration  string                 `json:"iteration"`
	Creator    string                 `json:"creator"`
	Quality    string                 `json:"quality"`
	CreateTime string                 `json:"createTime"`
	Operate    map[string]interface{} `json:"operate"`
}

type InParams

type InParams struct {
	ProjectID uint64 `json:"projectId,omitempty"`
}

type SorterData

type SorterData struct {
	Field string `json:"field"`
	Order string `json:"order"`
}

type State

type State struct {
	PageNo     uint64     `json:"pageNo"`
	PageSize   uint64     `json:"pageSize"`
	Total      uint64     `json:"total"`
	SorterData SorterData `json:"sorterData"`
	Values     struct {
		Type      string   `json:"type"`
		Name      string   `json:"name"`
		Iteration []uint64 `json:"iteration"`
	} `json:"values"`
}

Jump to

Keyboard shortcuts

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