UNPKG

@itwin/presentation-common

Version:

Common pieces for iModel.js presentation packages

35 lines 1.65 kB
/*--------------------------------------------------------------------------------------------- * Copyright (c) Bentley Systems, Incorporated. All rights reserved. * See LICENSE.md in the project root for license terms and full copyright notice. *--------------------------------------------------------------------------------------------*/ /** @packageDocumentation * @module PresentationRules */ /** * Available types of [[GroupingSpecification]]. * @public */ export var GroupingSpecificationTypes; (function (GroupingSpecificationTypes) { GroupingSpecificationTypes["Class"] = "Class"; GroupingSpecificationTypes["Property"] = "Property"; GroupingSpecificationTypes["SameLabelInstance"] = "SameLabelInstance"; })(GroupingSpecificationTypes || (GroupingSpecificationTypes = {})); /** * Specifies hierarchy creation stages used to apply [[SameLabelInstanceGroup]] grouping. * @public */ export var SameLabelInstanceGroupApplicationStage; (function (SameLabelInstanceGroupApplicationStage) { /** Apply grouping at query stage. */ SameLabelInstanceGroupApplicationStage["Query"] = "Query"; /** * Apply grouping at post-processing stage. * * This allows grouping nodes created by different hierarchy specifications at * a higher performance cost as it requires loading the whole hierarchy level before * returning even the first node - avoid using with large numbers of nodes. */ SameLabelInstanceGroupApplicationStage["PostProcess"] = "PostProcess"; })(SameLabelInstanceGroupApplicationStage || (SameLabelInstanceGroupApplicationStage = {})); //# sourceMappingURL=GroupingRule.js.map