weasel API - v0.8.0
    Preparing search index...

    Interface NodeRoutingEntry

    NodeRoutingEntry — a routing-trait classifier entry.

    The kit consults NodeRouting (the routing trait's registry) to derive a kind string for each scene node. Other traits (shape, label, icon, …) are independent registries — fields like label or icon are NOT future additions to this interface. See: docs/superpowers/specs/2026-05-24-node-traits-reframe-design.md.

    interface NodeRoutingEntry {
        matches: (data: unknown) => boolean;
        name: string;
    }
    Index

    Properties

    Properties

    matches: (data: unknown) => boolean

    Predicate over a node's data payload. First registered kind whose matches returns true claims the node.

    name: string

    Unique kind name. Routing tables key on this string. Consumer-defined; the kit places no constraint beyond uniqueness within a registry.