Skip to content

PersistentAI API Documentation / @persistentai/fireflow-types / PortVisibilityConfig

Interface: PortVisibilityConfig

Defined in: packages/fireflow-types/src/decorator/port-visibility.decorator.ts:20

Interface for configuration of port visibility

Properties

showIf()

showIf: (instance) => boolean

Defined in: packages/fireflow-types/src/decorator/port-visibility.decorator.ts:26

A function that determines whether the port should be visible

Parameters

instance

INode

The node instance

Returns

boolean

true if the port should be visible, false otherwise

Licensed under BUSL-1.1