UNPKG

@itwin/presentation-common

Version:

Common pieces for iModel.js presentation packages

20 lines 901 B
/** @packageDocumentation * @module Hierarchies */ import { Node } from "./Node.js"; /** * Defines a hierarchy level that consists of an array of nodes and possibly other information. * @public * @deprecated in 5.2 - will not be removed until after 2026-10-01. Use the new [@itwin/presentation-hierarchies](https://github.com/iTwin/presentation/blob/master/packages/hierarchies/README.md) * package for creating hierarchies. */ export interface HierarchyLevel { /** A list of nodes in a hierarchy level. */ nodes: Node[]; /** * Identifies whether the hierarchy level supports filtering. If not, requesting either a hierarchy level descriptor or * a hierarchy level with [[HierarchyRequestOptions.instanceFilter]] will throw an error with [[PresentationStatus.InvalidArgument]] status. */ supportsFiltering?: boolean; } //# sourceMappingURL=HierarchyLevel.d.ts.map