SystemPropsMap interface

Describes the mapping between the system streams and the component properties. Each property uses the keys as the names of the properties and the values as the corresponding stream names.


export interface SystemPropsMap<Sys extends System, K = keyof Sys, D = {
    [name: string]: K;


events?D(Optional) Specifies the component "event" properties, if any. Event properties accept callback functions which get executed when the stream emits a new value.
methods?D(Optional) Specifies the component methods, if any. Streams are converted to methods with a single argument. When invoked, the method publishes the value of the argument to the specified stream.
optional?D(Optional) Specifies the optional component properties.
required?D(Optional) Specifies the required component properties.