import { ObjectInterface } from '../../script/util' export interface TreePropsInterface { label?: string children?: string disabled?: Function isLeaf?: Function class?: string nodeKey?: string customClass?: Function isForceRefresh?: boolean } export interface TreeConfigInterface { allowDrag?: Function allowDrop?: Function draggable?: boolean accordion?: boolean customCount?: string dropPeer?: Function isEdit?: boolean expandAll?: boolean nameDraggable?: boolean } export type LoadChildrenNodesInterface = (node: object, resolve: Function, nodeSources: unknown[]) => void export interface ParentInterface { loaded: boolean expand?: Function } export interface OperationsInterface { title?: string isShowOperBtn?: boolean operBtns?: boolean callbackShow?: boolean } export interface ListInterface { list: string[] } export interface NameInterface { name: ObjectInterface[] } interface EntityInterface { name: string parentId: string resType: string } interface ExportEntityInterface { resourceId: string withDependencies: boolean withChildDir: boolean } export interface DialogInterface { entity: EntityInterface isShowExportDialog: boolean exportEntity: ExportEntityInterface title: string | Function [key: string]: any }