timeline-state-resolver-types
Version:
Have timeline, control stuff
28 lines • 1.14 kB
TypeScript
import { DeviceType } from '..';
export interface SingularLiveContent {
type: TimelineContentTypeSingularLive;
temporalPriority?: number;
/** Commands in the same queue will be sent in order (will wait for the previous to finish before sending next */
queueId?: string;
}
export declare enum TimelineContentTypeSingularLive {
COMPOSITION = "composition"
}
export type TimelineContentSingularLiveAny = TimelineContentSingularLiveComposition;
export interface TimelineContentSingularLiveBase {
deviceType: DeviceType.SINGULAR_LIVE;
type: TimelineContentTypeSingularLive;
}
export interface TimelineContentSingularLiveComposition extends TimelineContentSingularLiveBase {
type: TimelineContentTypeSingularLive.COMPOSITION;
controlNode: SingularCompositionControlNode;
}
export interface SingularCompositionControlNode {
/** The animation state that the node should be in. I.e. "In", "Out", etc. */
state?: string;
/** The data that should be consumed by the node. Could be text, colors, etc. */
payload?: {
[key: string]: string;
};
}
//# sourceMappingURL=singularLive.d.ts.map