UNPKG

@itwin/presentation-common

Version:

Common pieces for iModel.js presentation packages

44 lines 2.16 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. *--------------------------------------------------------------------------------------------*/ /** @packageDocumentation * @module PresentationRules */ Object.defineProperty(exports, "__esModule", { value: true }); exports.RelatedPropertiesSpecialValues = exports.RelationshipMeaning = void 0; /** * Meaning of the relationship. * @public */ var RelationshipMeaning; (function (RelationshipMeaning) { /** * The properties should be displayed as if they belonged to the [primary instance]($docs/presentation/content/Terminology.md#primary-instance). * Generally that means they assigned a category, that's nested under the default category. */ RelationshipMeaning["SameInstance"] = "SameInstance"; /** * The properties should be distinguished from properties of the [primary instance]($docs/presentation/content/Terminology.md#primary-instance) * and shown separately to make it clear they belong to another instance. Generally that means they're assigned a separate root category. */ RelationshipMeaning["RelatedInstance"] = "RelatedInstance"; })(RelationshipMeaning || (exports.RelationshipMeaning = RelationshipMeaning = {})); /** * Special values that can be used in [[RelatedPropertiesSpecification.propertyNames]] * @public */ var RelatedPropertiesSpecialValues; (function (RelatedPropertiesSpecialValues) { /** * Used to specify that no properties should be included. Usually * used together with [[RelatedPropertiesSpecification.nestedRelatedProperties]] */ RelatedPropertiesSpecialValues["None"] = "_none_"; /** * Used to specify that all properties should be included. */ RelatedPropertiesSpecialValues["All"] = "*"; })(RelatedPropertiesSpecialValues || (exports.RelatedPropertiesSpecialValues = RelatedPropertiesSpecialValues = {})); //# sourceMappingURL=RelatedPropertiesSpecification.js.map