PresentationTreeDataProviderDataSourceEntryPoints Interface

building APIs (see https://github.com/iTwin/presentation/blob/33e79ee8d77f30580a9bab81a72884bda008db25/README.md#the-packages).

Definitions of methods used by PresentationTreeDataProvider to get nodes' data.

Properties

Name Type Description
getFilteredNodePaths (requestOptions: FilterByTextHierarchyRequestOptions<IModelConnection, RulesetVariable>) => Promise<NodePathElement[]>    
getNodesAndCount (requestOptions: Paged<HierarchyRequestOptions<IModelConnection, NodeKey, RulesetVariable>>) => Promise<{ count: number, nodes: Node[] }> | undefined   Deprecated  
getNodesCount (requestOptions: HierarchyRequestOptions<IModelConnection, NodeKey, RulesetVariable>) => Promise<number> | undefined   Deprecated  
getNodesIterator (requestOptions: Paged<HierarchyRequestOptions<IModelConnection, NodeKey, RulesetVariable> & { batchSize?: number, maxParallelRequests?: number }>) => Promise<{ items: AsyncIterableIterator<Node, any, any>, total: number }>    

Defined in

Last Updated: 17 December, 2024