SoulFire TypeScript SDK 2.10.3
    Preparing search index...

    Type Alias GetNodeTypesResponse

    GetNodeTypesResponse: Message<"soulfire.v1.GetNodeTypesResponse"> & {
        categories: CategoryDefinition[];
        nodeTypes: NodeTypeDefinition[];
        portTypeMetadata: PortTypeMetadata[];
    }

    Response containing all available node types.

    Type Declaration

    • categories: CategoryDefinition[]

      List of all categories with their metadata. Useful for building category filters and palette sections in the UI.

      from field: repeated soulfire.v1.CategoryDefinition categories = 2;

    • nodeTypes: NodeTypeDefinition[]

      List of all node type definitions. Clients can use this to render any node and validate connections.

      from field: repeated soulfire.v1.NodeTypeDefinition node_types = 1;

    • portTypeMetadata: PortTypeMetadata[]

      Metadata for each port type including colors and compatibility. Clients should use this instead of hardcoded port type info.

      from field: repeated soulfire.v1.PortTypeMetadata port_type_metadata = 3;

    from message soulfire.v1.GetNodeTypesResponse