sitepreview

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Aug 3, 2021 License: AGPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RenderCreator

func RenderCreator() protocol.CompRender

Types

type ComponentSitePreview

type ComponentSitePreview struct {
	// contains filtered or unexported fields
}

func (*ComponentSitePreview) OperationRendering

func (c *ComponentSitePreview) OperationRendering(identity apistructs.Identity) error

func (*ComponentSitePreview) Render

func (*ComponentSitePreview) SetBundle

func (c *ComponentSitePreview) SetBundle(ctxBundle protocol.ContextBundle) error

func (*ComponentSitePreview) SetComponent

func (c *ComponentSitePreview) SetComponent(component *apistructs.Component) error

type InfoData

type InfoData struct {
	Info map[string]interface{} `json:"info"`
}

type PreviewState

type PreviewState struct {
	SiteID int64 `json:"siteID"`
}

type PropsRender

type PropsRender struct {
	Type      string                 `json:"type"`
	DataIndex string                 `json:"dataIndex"`
	Props     map[string]interface{} `json:"props,omitempty"`
}

Jump to

Keyboard shortcuts

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