//#region src/interface/action.d.ts /** * Basic parameters of action * @export * @interface TimelineAction */ interface TimelineAction { /** Action id */ id: string; /** Action start time */ start: number; /** Action end time */ end: number; /** Effect ID corresponding to the action */ effectId: string; /** Whether the action is selected */ selected?: boolean; /** Whether the action is resizable */ flexible?: boolean; /** Whether the action is movable */ movable?: boolean; /** Whether the action is disabled */ disable?: boolean; /** Minimum start time limit for the action */ minStart?: number; /** Maximum end time limit for the action */ maxEnd?: number; } /** * Basic parameters of action row * @export * @interface TimelineRow */ interface TimelineRow { /** Action row id */ id: string; /** List of actions in the row */ actions: TimelineAction[]; /** Custom row height. Used as expanded height when the row is collapsible. */ rowHeight?: number; /** Collapsible row configuration. Rows without this option are fixed. */ collapsed?: { /** Collapsed row height */height?: number; /** Whether this row is expanded when no collapsible row is focused */ expandedByDefault?: boolean; }; /** Whether the row is selected */ selected?: boolean; /** Extended class names of the row */ classNames?: string[]; } //#endregion export { TimelineRow as n, TimelineAction as t };