/** @packageDocumentation * @module Validation */ import { AnyClass, AnyECType, AnyProperty, Constant, CustomAttribute, CustomAttributeClass, CustomAttributeContainerProps, EntityClass, Enumeration, Format, InvertedUnit, KindOfQuantity, Mixin, Phenomenon, PropertyCategory, RelationshipClass, RelationshipConstraint, Schema, SchemaItem, StructClass, Unit, UnitSystem } from "@itwin/ecschema-metadata"; import { AnyDiagnostic } from "./Diagnostic"; /** * Interface used for all rule suppressions used during schema validation. * Just telling us whether a rule is suppressed or not. * @beta */ export type ISuppressionRule = (diagnostic: AnyDiagnostic, ecDefinition: T, ...args: U[]) => Promise; /** @beta */ export type BaseSuppressionRule = ISuppressionRule; /** @internal */ export type AnyRuleSuppressionMap = IRuleSuppressionMap; /** * Interface used to represent elements of a rule suppression * @beta */ export interface IRuleSuppressionMap { ruleCode: string; rule: ISuppressionRule; } /** * Interface used to represent elements of a rule suppression * @beta */ export interface BaseRuleSuppressionMap { ruleCode: string; rule: BaseSuppressionRule; } /** * Interface used to represent logical collection of [[ISuppressionRule]] instances. * @beta */ export interface IRuleSuppressionSet { name: string; schemaRuleSuppressions?: Array>; schemaItemRuleSuppressions?: Array>; classRuleSuppressions?: Array>; propertyRuleSuppressions?: Array>; entityRuleSuppressions?: Array>; structRuleSuppressions?: Array>; mixinRuleSuppressions?: Array>; relationshipRuleSuppressions?: Array>; relationshipConstraintRuleSuppressions?: Array>; customAttributeRuleSuppressions?: Array>; customAttributeContainerSuppressions?: Array>; customAttributeInstanceSuppressions?: Array>; enumerationRuleSuppressions?: Array>; koqRuleSuppressions?: Array>; propertyCategoryRuleSuppressions?: Array>; formatRuleSuppressions?: Array>; unitRuleSuppressions?: Array>; invertedUnitRuleSuppressions?: Array>; unitSystemRuleSuppressions?: Array>; phenomenonRuleSuppressions?: Array>; constantRuleSuppressions?: Array>; } //# sourceMappingURL=RuleSuppressionSet.d.ts.map