joinedBrief

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: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultType = "Table"
)

Variables

This section is empty.

Functions

func RenderCreator

func RenderCreator() protocol.CompRender

Types

type JoinedBrief

type JoinedBrief struct {
	Type  string `json:"type"`
	Props props  `json:"props"`
	Data  data   `json:"data"`
	State State  `json:"state"`
	// contains filtered or unexported fields
}

func (*JoinedBrief) GenComponentState

func (this *JoinedBrief) GenComponentState(c *apistructs.Component) error

GenComponentState 获取state

func (*JoinedBrief) SetCtxBundle

func (this *JoinedBrief) SetCtxBundle(ctx context.Context) error

type State

type State struct {
	//OrgID string `json:"orgID"`
	//JoinedOrg bool `json:"joinedOrg"`
	//HavePros bool `json:"havePros"`
	//HaveApps bool `json:"haveApps"`
	ProsNum int `json:"prosNum"`
	AppsNum int `json:"appsNum"`
}

type StyleNames

type StyleNames struct {
	NoBorder  bool `json:"no-border"`
	LightCard bool `json:"light-card"`
}

Jump to

Keyboard shortcuts

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