An individual availability node for a nozzle.

interface BeverageResponse<Properties> {
    available: boolean;
    altId: string;
    visible: boolean;
    id: string;
}

Type Parameters

  • Properties extends Record<string, any> = Record<string, any>

Properties

available: boolean

Is the node available for based on the beverage graph.

altId: string

an alternate id for the node. Typically used in cases where there are multiple nozzles where the same beverage could be available. This id will represent the common id for the beverage without the nozzle specific id.

visible: boolean

Is the item visible. This is typically used to hide items that are not available.

id: string

The id of the availability node.