emptyProjectContent

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Jul 31, 2021 License: AGPL-3.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