emptyProjectContent

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RenderCreator

func RenderCreator() protocol.CompRender

Types

type EmptyProjectContent

type EmptyProjectContent struct {
	Type  string                 `json:"type"`
	Props map[string]interface{} `json:"props"`
	State State                  `json:"state"`
	// contains filtered or unexported fields
}

func (*EmptyProjectContent) GenComponentState

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

func (*EmptyProjectContent) SetCtxBundle

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

type State

type State struct {
	ProsNum int `json:"prosNum"`
}

Jump to

Keyboard shortcuts

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