grandma3-ts-types
Version:
TypeScript definitions for grandMA3 Lua library.
19 lines (15 loc) • 546 B
TypeScript
type Pages = Obj<DataPoolClass, Page> &
(Sequence | undefined)[] & { [index: string]: Sequence | undefined };
type Page = Obj<Pages, Executor | ExecutorProxy>;
type ExecutorBaseProps = {
fader: 'Master' | 'Temp'; //...
};
type ExecutorProps = ObjProps &
ExecutorBaseProps & {
object: Obj;
width: number;
height: number;
};
type Executor = Obj<Page, undefined, ExecutorProps, 'Exec'>;
type ExecutorProxyProps = ObjProps & ExecutorBaseProps;
type ExecutorProxy = Obj<Page, undefined, ExecutorProxyProps, 'Proxy'> & ExecutorProxyProps;