featherbit UI
    Preparing search index...

    Interface PluginNodeData

    Data payload stored on every pluginNode ReactFlow node. GraphCanvas writes it when converting a Policy to nodes and reads it back on save, so it must carry everything needed to reconstruct a policy node.

    interface PluginNodeData {
        config: Record<string, unknown>;
        label: string;
        onSelect?: (nodeId: string) => void;
        pluginType: string;
        [key: string]: unknown;
    }

    Indexable

    • [key: string]: unknown

      Index signature required by ReactFlow's node data constraint.

    Index
    config: Record<string, unknown>

    Plugin configuration, serialized verbatim into the policy node's config on save.

    label: string

    Text shown in the node body (usually the node id; script nodes append the runtime).

    onSelect?: (nodeId: string) => void

    Called with the node id when the node is clicked; used by GraphCanvas to open the inspector.

    pluginType: string

    Gateway plugin type, e.g. listener, upstream, key-auth, script.