Type Alias NfEventDetail<_N, _P, _F>

NfEventDetail: { id: string } & (
    | { args: unknown; instance: Node; method: keyof _N; type: "Node" }
    | { args: unknown; instance: Port; method: keyof _P; type: "Port" }
    | { args: unknown; instance: Flow; method: keyof _F; type: "Flow" }
)

Type Parameters

  • _N extends NodeEvent = NodeEvent
  • _P extends PortEvent = PortEvent
  • _F extends FlowEvent = FlowEvent