timeline-state-resolver-types
Version:
Have timeline, control stuff
82 lines • 2.85 kB
TypeScript
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run "yarn generate-schema-types" to regenerate this file.
*/
import { ActionExecutionResult } from "..";
export interface AtemOptions {
host: string;
port?: number;
mediaPoolAssets?: AtemMediaPoolAsset[];
}
export interface AtemMediaPoolAsset {
path: string;
type: AtemMediaPoolType;
position: number;
}
export declare enum AtemMediaPoolType {
Still = "still",
Clip = "clip",
Audio = "audio"
}
export interface MappingAtemMixEffect {
index: number;
mappingType: MappingAtemType.MixEffect;
}
export interface MappingAtemDownStreamKeyer {
index: number;
mappingType: MappingAtemType.DownStreamKeyer;
}
export interface MappingAtemSuperSourceBox {
index: number;
mappingType: MappingAtemType.SuperSourceBox;
}
export interface MappingAtemAuxilliary {
index: number;
mappingType: MappingAtemType.Auxilliary;
}
export interface MappingAtemMediaPlayer {
index: number;
mappingType: MappingAtemType.MediaPlayer;
}
export interface MappingAtemSuperSourceProperties {
index: number;
mappingType: MappingAtemType.SuperSourceProperties;
}
export interface MappingAtemAudioChannel {
index: number;
mappingType: MappingAtemType.AudioChannel;
}
export interface MappingAtemMacroPlayer {
mappingType: MappingAtemType.MacroPlayer;
}
export interface MappingAtemAudioRouting {
index: number;
mappingType: MappingAtemType.AudioRouting;
}
export interface MappingAtemColorGenerator {
index: number;
mappingType: MappingAtemType.ColorGenerator;
}
export declare enum MappingAtemType {
MixEffect = "mixEffect",
DownStreamKeyer = "downStreamKeyer",
SuperSourceBox = "superSourceBox",
Auxilliary = "auxilliary",
MediaPlayer = "mediaPlayer",
SuperSourceProperties = "superSourceProperties",
AudioChannel = "audioChannel",
MacroPlayer = "macroPlayer",
AudioRouting = "audioRouting",
ColorGenerator = "colorGenerator"
}
export type SomeMappingAtem = MappingAtemMixEffect | MappingAtemDownStreamKeyer | MappingAtemSuperSourceBox | MappingAtemAuxilliary | MappingAtemMediaPlayer | MappingAtemSuperSourceProperties | MappingAtemAudioChannel | MappingAtemMacroPlayer | MappingAtemAudioRouting | MappingAtemColorGenerator;
export declare enum AtemActions {
Resync = "resync"
}
export interface AtemActionExecutionResults {
resync: () => void;
}
export type AtemActionExecutionPayload<A extends keyof AtemActionExecutionResults> = Parameters<AtemActionExecutionResults[A]>[0];
export type AtemActionExecutionResult<A extends keyof AtemActionExecutionResults> = ActionExecutionResult<ReturnType<AtemActionExecutionResults[A]>>;
//# sourceMappingURL=atem.d.ts.map