UNPKG

@itwin/presentation-common

Version:

Common pieces for iModel.js presentation packages

43 lines 2.42 kB
"use strict"; /*--------------------------------------------------------------------------------------------- * Copyright (c) Bentley Systems, Incorporated. All rights reserved. * See LICENSE.md in the project root for license terms and full copyright notice. *--------------------------------------------------------------------------------------------*/ /* eslint-disable @typescript-eslint/no-deprecated */ /** @packageDocumentation * @module PresentationRules */ Object.defineProperty(exports, "__esModule", { value: true }); exports.SameLabelInstanceGroupApplicationStage = exports.GroupingSpecificationTypes = void 0; /** * Available types of [[GroupingSpecification]]. * @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. */ var GroupingSpecificationTypes; (function (GroupingSpecificationTypes) { GroupingSpecificationTypes["Class"] = "Class"; GroupingSpecificationTypes["Property"] = "Property"; GroupingSpecificationTypes["SameLabelInstance"] = "SameLabelInstance"; })(GroupingSpecificationTypes || (exports.GroupingSpecificationTypes = GroupingSpecificationTypes = {})); /** * Specifies hierarchy creation stages used to apply [[SameLabelInstanceGroup]] grouping. * @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. */ 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 || (exports.SameLabelInstanceGroupApplicationStage = SameLabelInstanceGroupApplicationStage = {})); //# sourceMappingURL=GroupingRule.js.map