import { FancyDisplayRow, FancyGroup } from "./fancy-row-column.model";

export class FancySelection<T> {
    index: number;
    focusedCustomRowId: string;
    focusedRow: T;
    selectedRows: T[];
}

export class FancyEditorInstance<T = any> {
    index: number;
    object: T;
}
export class FancyDragDrop<T = any> {
    previousIndex: number;
    currentIndex: number;
    focusRow: FancyDisplayRow<T>;
    previousRow?: FancyDisplayRow<T>;
    nextRow?: FancyDisplayRow<T>;
    previousGroup?: FancyGroup<T>;
    currentGroup?: FancyGroup<T>;
}