timeline-state-resolver
Version:
Have timeline, control stuff
30 lines • 1.03 kB
TypeScript
import { EmberValue } from 'timeline-state-resolver-types';
import { LawoState } from './state';
import { Model as EmberModel } from 'emberplus-connection';
import { CommandWithContext } from '../..';
export interface LawoCommandWithContext extends CommandWithContext {
command: LawoCommand;
context: string;
}
export declare enum LawoCommandType {
FaderRamp = "FaderRamp",
SetValue = "SetValue"
}
export type LawoCommand = LawoFaderRampCommand | LawoSetValueCommand;
export interface LawoFaderRampCommand {
type: LawoCommandType.FaderRamp;
identifier: string;
value: EmberValue;
transitionDuration?: number;
from?: EmberValue;
priority: number;
}
export interface LawoSetValueCommand {
type: LawoCommandType.SetValue;
identifier: string;
value: EmberValue;
valueType?: EmberModel.ParameterType;
priority: number;
}
export declare function diffLawoStates(oldState: LawoState | undefined, newState: LawoState): LawoCommandWithContext[];
//# sourceMappingURL=diff.d.ts.map