@bbc/timeline-state-resolver-types
Version:
Have timeline, control stuff
36 lines • 1.28 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 re-run the "tsr-schema-types" tool to regenerate this file.
*/
import type { ActionExecutionResult } from "../actions";
export interface HyperdeckOptions {
host: string;
port?: number;
minRecordingTime?: number;
/**
* If true, no warnings will be emitted when storage slots are empty.
*/
suppressEmptySlotWarnings?: boolean;
}
export interface MappingHyperdeckTransport {
mappingType: MappingHyperdeckType.Transport;
}
export declare enum MappingHyperdeckType {
Transport = "transport"
}
export type SomeMappingHyperdeck = MappingHyperdeckTransport;
export declare enum HyperdeckActions {
FormatDisks = "formatDisks",
Resync = "resync"
}
export interface HyperdeckActionMethods {
[HyperdeckActions.FormatDisks]: (payload: Record<string, never>) => Promise<ActionExecutionResult<void>>;
[HyperdeckActions.Resync]: (payload: Record<string, never>) => Promise<ActionExecutionResult<void>>;
}
export interface HyperdeckDeviceTypes {
Options: HyperdeckOptions;
Mappings: SomeMappingHyperdeck;
Actions: HyperdeckActionMethods;
}
//# sourceMappingURL=hyperdeck.d.ts.map