export interface MappingActionConfiguration {
    id: string
    deviceId: string
    action: string
    params: any
}

export enum MappingDirection {
    Input = 'in',
    Output = 'out'
}

export interface MappingConfiguration {
    id: string
    direction: MappingDirection
    portId: string
    name: string
    label?: string
    invert: boolean
    actions: MappingActionConfiguration[]
}

export interface VideohubConfiguration {
    output: number
    deviceId: string
    action: string
}