import { Reference } from '@forten/build'; import { BlockDefinition, TreeType } from '@forten/tree-type'; export interface LibraryDrag { treeType: string; block: BlockDefinition; } export interface TreeDrag { origin: Reference; tree: TreeType; blockId: string; } export interface TreeDrop { target: Reference; } export interface DropTargetInfo { blockId: string; slotIdx: number; } export interface DropTargetInfoById { [key: string]: DropTargetInfo; }