Discover Packages
github.com/EliCDavis/polyform
generator
schema
package
Version:
v0.21.1
Opens a new window with list of versions in this module.
Published: Jan 21, 2025
License: MIT
Opens a new window with license information.
Imports: 0
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
type NodeDependency struct {
DependencyID string `json:"dependencyID"`
DependencyPort string `json:"dependencyPort"`
Name string `json:"name"`
}
type NodeInput struct {
Type string `json:"type"`
IsArray bool `json:"isArray"`
}
type NodeInstance struct {
Type string `json:"type"`
Name string `json:"name"`
Version int `json:"version"`
Dependencies []NodeDependency `json:"dependencies"`
Parameter Parameter `json:"parameter,omitempty"`
Metadata map[string ]any `json:"metadata,omitempty"`
}
type NodeOutput struct {
Name string `json:"name"`
Type string `json:"type"`
}
type NodeType struct {
DisplayName string `json:"displayName"`
Info string `json:"info"`
Type string `json:"type"`
Path string `json:"path"`
Outputs []NodeOutput `json:"outputs,omitempty"`
Inputs map[string ]NodeInput `json:"inputs,omitempty"`
Parameter Parameter `json:"parameter,omitempty"`
}
type Parameter interface {
ValueType() string
DisplayName() string
}
type ParameterBase struct {
Name string `json:"name"`
Description string `json:"description"`
Type string `json:"type"`
}
type Producer struct {
NodeID string `json:"nodeID"`
Port string `json:"port"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.