filter

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2021 License: Apache-2.0 Imports: 10 Imported by: 0

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"`
	InParams   InParams               `json:"-"`
}

func (*ComponentAction) GenComponentState

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

func (*ComponentAction) Render

type InParams

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

type State

type State struct {
	Conditions []interface{} `json:"conditions"`
	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