UNPKG

timeline-state-resolver-types

Version:
60 lines 1.97 kB
/// <reference types="node" /> import { DeviceType } from '..'; export type EmberValue = number | string | boolean | Buffer | null; declare enum ParameterType { Null = "NULL", Integer = "INTEGER", Real = "REAL", String = "STRING", Boolean = "BOOLEAN", Trigger = "TRIGGER", Enum = "ENUM", Octets = "OCTETS" } export interface LawoCommand { path: string; value: EmberValue; valueType: ParameterType; key: string; identifier: string; type: TimelineContentTypeLawo; transitionDuration?: number; from?: EmberValue; priority: number; } export declare enum TimelineContentTypeLawo { SOURCE = "lawosource", SOURCES = "lawosources", EMBER_PROPERTY = "lawofullpathemberproperty", TRIGGER_VALUE = "triggervalue" } export type TimelineContentLawoAny = TimelineContentLawoSources | TimelineContentLawoSource | TimelineContentLawoEmberProperty | TimelineContentLawoEmberRetrigger; export interface TimelineContentLawoSourceValue { faderValue: number; transitionDuration?: number; } export interface TimelineContentLawoBase { deviceType: DeviceType.LAWO; type: TimelineContentTypeLawo; } export interface TimelineContentLawoSources extends TimelineContentLawoBase { type: TimelineContentTypeLawo.SOURCES; sources: Array<{ mappingName: string; } & TimelineContentLawoSourceValue>; overridePriority?: number; } export interface TimelineContentLawoSource extends TimelineContentLawoBase, TimelineContentLawoSourceValue { type: TimelineContentTypeLawo.SOURCE; overridePriority?: number; } export interface TimelineContentLawoEmberProperty extends TimelineContentLawoBase { type: TimelineContentTypeLawo.EMBER_PROPERTY; value: EmberValue; } export interface TimelineContentLawoEmberRetrigger extends TimelineContentLawoBase { type: TimelineContentTypeLawo.TRIGGER_VALUE; triggerValue: string; } export {}; //# sourceMappingURL=lawo.d.ts.map