INode interface
đ Descriptionâ
Interface that describes a node within the form definition.
See the form definition interface for more information about nodes.
đ Type declarationâ
interface INode { id: string;Readonly name?: string;ReadonlyOptional nameVisible?: boolean;ReadonlyOptional disabled?: boolean;ReadonlyOptional placeholder?: string;ReadonlyOptional description?: string;ReadonlyOptional explanation?: string;ReadonlyOptional block?: { type: string; version: string; };ReadonlyOptional slots?: ISlot[];ReadonlyOptional }
đī¸ Propertiesâ
đˇī¸ block
â
Specifies the block for the node. A node block implements the actual behavior of a node.
Typeâ
{
/* Contains the node block type identifier. */
type: string;
/* Contains the version of the block. */
version: string;
}
Besides the listed properties, node blocks may store additional properties in the block
object.
đˇī¸ description
â
Specifies the description of the node (supports markdown).
Typeâ
string
đˇī¸ disabled
â
Specifies if the node is disabled. Disabled nodes are ignored by the runners as if they did not exist.
Typeâ
boolean
đˇī¸ explanation
â
Specifies the explanation of the node (supports markdown) which is an additional help text that runners can show along the node.
Typeâ
string
đˇī¸ id
â
Specifies the unique identifier of the node.
Typeâ
string
đˇī¸ name
â
Specifies the name of the node (supports markdown).
Typeâ
string
đˇī¸ nameVisible
â
Specifies if the name of the node should be visible in the runner.
Typeâ
boolean
đˇī¸ placeholder
â
Specifies the placeholder of the node.
Typeâ
string
Placeholders are usually used to identify a certain field. For example, a text input box for a city could have the placeholder Enter a city here
.
đˇī¸ slots
â
Specifies the slots for the node. Slots serve as the data transporters for the form. Each node block defines the slots required for the data collection of that block.