/** * Tree view types for hierarchical master views. * * @module types/tree.types * @see FMPV-MVWC-E005-S002 */ import type { MasterPatternViewEntity } from './service.types'; export type MasterPatternViewTreeNode = T & { level: number; hasChildren: boolean; isExpanded: boolean; parentId?: string; }; export interface MasterPatternViewTreeService { getTree: (parentId: null | string, depth: number) => Promise[]>; getChildren: (parentId: string, companyId?: string) => Promise[]>; moveNode?: (id: string, newParentId: string | null, companyId?: string) => Promise; } //# sourceMappingURL=tree.types.d.ts.map