/** @packageDocumentation * @module Comparison */ import { AnyClass, AnyEnumerator, Constant, CustomAttribute, CustomAttributeClass, EntityClass, Enumeration, Format, InvertedUnit, KindOfQuantity, Mixin, OverrideFormat, PropertyCategory, RelationshipClass, Schema, SchemaItem, Unit } from "@itwin/ecschema-metadata"; /** * The unique diagnostic codes for Schema comparison. * @beta */ export declare const SchemaCompareCodes: { SchemaDelta: string; SchemaReferenceMissing: string; SchemaItemDelta: string; SchemaItemMissing: string; ClassDelta: string; BaseClassDelta: string; PropertyDelta: string; PropertyMissing: string; EntityMixinMissing: string; MixinDelta: string; RelationshipDelta: string; RelationshipConstraintDelta: string; RelationshipConstraintClassMissing: string; CustomAttributeClassDelta: string; CustomAttributeInstanceClassMissing: string; EnumerationDelta: string; EnumeratorMissing: string; EnumeratorDelta: string; KoqDelta: string; PresentationUnitMissing: string; PropertyCategoryDelta: string; FormatDelta: string; FormatUnitMissing: string; UnitLabelOverrideDelta: string; UnitDelta: string; InvertedUnitDelta: string; PhenomenonDelta: string; ConstantDelta: string; SchemaReferenceDelta: string; }; /** * The list of [[IDiagnostic]] implementation classes used by the Schema comparison framework. * @beta */ export declare const SchemaCompareDiagnostics: { /** Required message parameters: property name, property A value, property B value */ SchemaDelta: { new (schema: Schema, messageArgs: [string, any, any], category?: import("./Diagnostic").DiagnosticCategory): { readonly code: string; readonly messageText: string; readonly schema: Schema; readonly diagnosticType: import("./Diagnostic").DiagnosticType; ecDefinition: Schema; messageArgs?: [string, any, any] | undefined; category: import("./Diagnostic").DiagnosticCategory; }; code: string; diagnosticType: import("./Diagnostic").DiagnosticType; }; /** Required message parameters: reference schema name */ SchemaReferenceMissing: { new (schema: Schema, messageArgs: [Schema], category?: import("./Diagnostic").DiagnosticCategory): { readonly code: string; readonly messageText: string; readonly schema: Schema; readonly diagnosticType: import("./Diagnostic").DiagnosticType; ecDefinition: Schema; messageArgs?: [Schema] | undefined; category: import("./Diagnostic").DiagnosticCategory; }; code: string; diagnosticType: import("./Diagnostic").DiagnosticType; }; /** Required message parameters: schema name, version A, version B */ SchemaReferenceDelta: { new (schema: Schema, messageArgs: [Schema, string, string], category?: import("./Diagnostic").DiagnosticCategory): { readonly code: string; readonly messageText: string; readonly schema: Schema; readonly diagnosticType: import("./Diagnostic").DiagnosticType; ecDefinition: Schema; messageArgs?: [Schema, string, string] | undefined; category: import("./Diagnostic").DiagnosticCategory; }; code: string; diagnosticType: import("./Diagnostic").DiagnosticType; }; /** Required message parameters: property name, property A value, property B value */ SchemaItemDelta: { new (ecDefinition: SchemaItem, messageArgs: [string, any, any], category?: import("./Diagnostic").DiagnosticCategory): { readonly code: string; readonly messageText: string; readonly schema: Schema; readonly diagnosticType: import("./Diagnostic").DiagnosticType; ecDefinition: SchemaItem; messageArgs?: [string, any, any] | undefined; category: import("./Diagnostic").DiagnosticCategory; }; diagnosticType: import("./Diagnostic").DiagnosticType; }; /** Required message parameters: none */ SchemaItemMissing: { new (ecDefinition: SchemaItem, messageArgs: [], category?: import("./Diagnostic").DiagnosticCategory): { readonly code: string; readonly messageText: string; readonly schema: Schema; readonly diagnosticType: import("./Diagnostic").DiagnosticType; ecDefinition: SchemaItem; messageArgs?: [] | undefined; category: import("./Diagnostic").DiagnosticCategory; }; diagnosticType: import("./Diagnostic").DiagnosticType; }; /** Required message parameters: property name, property A value, property B value */ ClassDelta: { new (ecClass: AnyClass, messageArgs: [string, any, any], category?: import("./Diagnostic").DiagnosticCategory): { readonly code: string; readonly messageText: string; readonly schema: Schema; readonly diagnosticType: import("./Diagnostic").DiagnosticType; ecDefinition: AnyClass; messageArgs?: [string, any, any] | undefined; category: import("./Diagnostic").DiagnosticCategory; }; diagnosticType: import("./Diagnostic").DiagnosticType; }; /** Required message parameters: Class A base class, Class B base class */ BaseClassDelta: { new (ecClass: AnyClass, messageArgs: [AnyClass | undefined, AnyClass | undefined], category?: import("./Diagnostic").DiagnosticCategory): { readonly code: string; readonly messageText: string; readonly schema: Schema; readonly diagnosticType: import("./Diagnostic").DiagnosticType; ecDefinition: AnyClass; messageArgs?: [AnyClass | undefined, AnyClass | undefined] | undefined; category: import("./Diagnostic").DiagnosticCategory; }; diagnosticType: import("./Diagnostic").DiagnosticType; }; /** Required message parameters: property name, property A value, property B value */ PropertyDelta: { new (property: import("@itwin/ecschema-metadata").AnyProperty, messageArgs?: [string, any, any] | undefined, category?: import("./Diagnostic").DiagnosticCategory): { readonly code: string; readonly messageText: string; readonly schema: Schema; readonly diagnosticType: import("./Diagnostic").DiagnosticType; ecDefinition: import("@itwin/ecschema-metadata").AnyProperty; messageArgs?: [string, any, any] | undefined; category: import("./Diagnostic").DiagnosticCategory; }; code: string; }; /** Required message parameters: none */ PropertyMissing: { new (property: import("@itwin/ecschema-metadata").AnyProperty, messageArgs?: [] | undefined, category?: import("./Diagnostic").DiagnosticCategory): { readonly code: string; readonly messageText: string; readonly schema: Schema; readonly diagnosticType: import("./Diagnostic").DiagnosticType; ecDefinition: import("@itwin/ecschema-metadata").AnyProperty; messageArgs?: [] | undefined; category: import("./Diagnostic").DiagnosticCategory; }; code: string; }; /** Required message parameters: Mixin */ EntityMixinMissing: { new (ecDefinition: SchemaItem, messageArgs: [Mixin], category?: import("./Diagnostic").DiagnosticCategory): { readonly code: string; readonly messageText: string; readonly schema: Schema; readonly diagnosticType: import("./Diagnostic").DiagnosticType; ecDefinition: EntityClass; messageArgs?: [Mixin] | undefined; category: import("./Diagnostic").DiagnosticCategory; }; diagnosticType: import("./Diagnostic").DiagnosticType; }; /** Required message parameters: property name, property A value, property B value */ MixinDelta: { new (ecDefinition: SchemaItem, messageArgs: [string, any, any], category?: import("./Diagnostic").DiagnosticCategory): { readonly code: string; readonly messageText: string; readonly schema: Schema; readonly diagnosticType: import("./Diagnostic").DiagnosticType; ecDefinition: Mixin; messageArgs?: [string, any, any] | undefined; category: import("./Diagnostic").DiagnosticCategory; }; diagnosticType: import("./Diagnostic").DiagnosticType; }; /** Required message parameters: property name, property A value, property B value */ RelationshipDelta: { new (ecDefinition: SchemaItem, messageArgs: [string, any, any], category?: import("./Diagnostic").DiagnosticCategory): { readonly code: string; readonly messageText: string; readonly schema: Schema; readonly diagnosticType: import("./Diagnostic").DiagnosticType; ecDefinition: RelationshipClass; messageArgs?: [string, any, any] | undefined; category: import("./Diagnostic").DiagnosticCategory; }; diagnosticType: import("./Diagnostic").DiagnosticType; }; /** Required message parameters: property name, property A value, property B value */ RelationshipConstraintDelta: { new (constraint: import("@itwin/ecschema-metadata").RelationshipConstraint, messageArgs: [string, any, any], category?: import("./Diagnostic").DiagnosticCategory): { readonly code: string; readonly messageText: string; readonly schema: Schema; readonly diagnosticType: import("./Diagnostic").DiagnosticType; ecDefinition: import("@itwin/ecschema-metadata").RelationshipConstraint; messageArgs?: [string, any, any] | undefined; category: import("./Diagnostic").DiagnosticCategory; }; }; /** Required message parameters: constraint class */ RelationshipConstraintClassMissing: { new (constraint: import("@itwin/ecschema-metadata").RelationshipConstraint, messageArgs: [AnyClass], category?: import("./Diagnostic").DiagnosticCategory): { readonly code: string; readonly messageText: string; readonly schema: Schema; readonly diagnosticType: import("./Diagnostic").DiagnosticType; ecDefinition: import("@itwin/ecschema-metadata").RelationshipConstraint; messageArgs?: [AnyClass] | undefined; category: import("./Diagnostic").DiagnosticCategory; }; }; /** Required message parameters: property name, property A value, property B value */ CustomAttributeClassDelta: { new (ecDefinition: SchemaItem, messageArgs: [string, any, any], category?: import("./Diagnostic").DiagnosticCategory): { readonly code: string; readonly messageText: string; readonly schema: Schema; readonly diagnosticType: import("./Diagnostic").DiagnosticType; ecDefinition: CustomAttributeClass; messageArgs?: [string, any, any] | undefined; category: import("./Diagnostic").DiagnosticCategory; }; diagnosticType: import("./Diagnostic").DiagnosticType; }; /** Required message parameters: CustomAttributeClass name */ CustomAttributeInstanceClassMissing: { new (container: import("@itwin/ecschema-metadata").CustomAttributeContainerProps, messageArgs: [CustomAttribute], category?: import("./Diagnostic").DiagnosticCategory): { readonly code: string; readonly messageText: string; readonly schema: Schema; readonly diagnosticType: import("./Diagnostic").DiagnosticType; ecDefinition: import("@itwin/ecschema-metadata").CustomAttributeContainerProps; messageArgs?: [CustomAttribute] | undefined; category: import("./Diagnostic").DiagnosticCategory; }; }; /** Required message parameters: property name, property A value, property B value */ EnumerationDelta: { new (ecDefinition: SchemaItem, messageArgs: [string, string, string], category?: import("./Diagnostic").DiagnosticCategory): { readonly code: string; readonly messageText: string; readonly schema: Schema; readonly diagnosticType: import("./Diagnostic").DiagnosticType; ecDefinition: Enumeration; messageArgs?: [string, string, string] | undefined; category: import("./Diagnostic").DiagnosticCategory; }; diagnosticType: import("./Diagnostic").DiagnosticType; }; /** Required message parameters: Enumerator */ EnumeratorMissing: { new (ecDefinition: SchemaItem, messageArgs: [AnyEnumerator], category?: import("./Diagnostic").DiagnosticCategory): { readonly code: string; readonly messageText: string; readonly schema: Schema; readonly diagnosticType: import("./Diagnostic").DiagnosticType; ecDefinition: Enumeration; messageArgs?: [AnyEnumerator] | undefined; category: import("./Diagnostic").DiagnosticCategory; }; diagnosticType: import("./Diagnostic").DiagnosticType; }; /** Required message parameters: Enumerator property name, property A value, property B value */ EnumeratorDelta: { new (ecDefinition: SchemaItem, messageArgs: [AnyEnumerator, string, any, any], category?: import("./Diagnostic").DiagnosticCategory): { readonly code: string; readonly messageText: string; readonly schema: Schema; readonly diagnosticType: import("./Diagnostic").DiagnosticType; ecDefinition: Enumeration; messageArgs?: [AnyEnumerator, string, any, any] | undefined; category: import("./Diagnostic").DiagnosticCategory; }; diagnosticType: import("./Diagnostic").DiagnosticType; }; /** Required message parameters: property name, property A value, property B value */ KoqDelta: { new (ecDefinition: SchemaItem, messageArgs: [string, any, any], category?: import("./Diagnostic").DiagnosticCategory): { readonly code: string; readonly messageText: string; readonly schema: Schema; readonly diagnosticType: import("./Diagnostic").DiagnosticType; ecDefinition: KindOfQuantity; messageArgs?: [string, any, any] | undefined; category: import("./Diagnostic").DiagnosticCategory; }; diagnosticType: import("./Diagnostic").DiagnosticType; }; /** Required message parameters: PresentationUnit (Format | OverrideFormat) */ PresentationUnitMissing: { new (ecDefinition: SchemaItem, messageArgs: [OverrideFormat | Format], category?: import("./Diagnostic").DiagnosticCategory): { readonly code: string; readonly messageText: string; readonly schema: Schema; readonly diagnosticType: import("./Diagnostic").DiagnosticType; ecDefinition: KindOfQuantity; messageArgs?: [OverrideFormat | Format] | undefined; category: import("./Diagnostic").DiagnosticCategory; }; diagnosticType: import("./Diagnostic").DiagnosticType; }; /** Required message parameters: property name, property A value, property B value */ PropertyCategoryDelta: { new (ecDefinition: SchemaItem, messageArgs: [string, any, any], category?: import("./Diagnostic").DiagnosticCategory): { readonly code: string; readonly messageText: string; readonly schema: Schema; readonly diagnosticType: import("./Diagnostic").DiagnosticType; ecDefinition: PropertyCategory; messageArgs?: [string, any, any] | undefined; category: import("./Diagnostic").DiagnosticCategory; }; diagnosticType: import("./Diagnostic").DiagnosticType; }; /** Required message parameters: property name, property A value, property B value */ FormatDelta: { new (ecDefinition: SchemaItem, messageArgs: [string, any, any], category?: import("./Diagnostic").DiagnosticCategory): { readonly code: string; readonly messageText: string; readonly schema: Schema; readonly diagnosticType: import("./Diagnostic").DiagnosticType; ecDefinition: Format; messageArgs?: [string, any, any] | undefined; category: import("./Diagnostic").DiagnosticCategory; }; diagnosticType: import("./Diagnostic").DiagnosticType; }; /** Required message parameters: Unit or InvertedUnit */ FormatUnitMissing: { new (ecDefinition: SchemaItem, messageArgs: [Unit | InvertedUnit, string | undefined], category?: import("./Diagnostic").DiagnosticCategory): { readonly code: string; readonly messageText: string; readonly schema: Schema; readonly diagnosticType: import("./Diagnostic").DiagnosticType; ecDefinition: Format; messageArgs?: [Unit | InvertedUnit, string | undefined] | undefined; category: import("./Diagnostic").DiagnosticCategory; }; diagnosticType: import("./Diagnostic").DiagnosticType; }; /** Required message parameters: Unit or InvertedUnit, label A, label B */ UnitLabelOverrideDelta: { new (ecDefinition: SchemaItem, messageArgs: [Unit | InvertedUnit, string | undefined, string | undefined], category?: import("./Diagnostic").DiagnosticCategory): { readonly code: string; readonly messageText: string; readonly schema: Schema; readonly diagnosticType: import("./Diagnostic").DiagnosticType; ecDefinition: Format; messageArgs?: [Unit | InvertedUnit, string | undefined, string | undefined] | undefined; category: import("./Diagnostic").DiagnosticCategory; }; diagnosticType: import("./Diagnostic").DiagnosticType; }; /** Required message parameters: property name, property A value, property B value */ UnitDelta: { new (ecDefinition: SchemaItem, messageArgs: [string, string, string], category?: import("./Diagnostic").DiagnosticCategory): { readonly code: string; readonly messageText: string; readonly schema: Schema; readonly diagnosticType: import("./Diagnostic").DiagnosticType; ecDefinition: Format; messageArgs?: [string, string, string] | undefined; category: import("./Diagnostic").DiagnosticCategory; }; diagnosticType: import("./Diagnostic").DiagnosticType; }; /** Required message parameters: property name, property A value, property B value */ InvertedUnitDelta: { new (ecDefinition: SchemaItem, messageArgs: [string, string, string], category?: import("./Diagnostic").DiagnosticCategory): { readonly code: string; readonly messageText: string; readonly schema: Schema; readonly diagnosticType: import("./Diagnostic").DiagnosticType; ecDefinition: InvertedUnit; messageArgs?: [string, string, string] | undefined; category: import("./Diagnostic").DiagnosticCategory; }; diagnosticType: import("./Diagnostic").DiagnosticType; }; /** Required message parameters: property name, property A value, property B value */ PhenomenonDelta: { new (ecDefinition: SchemaItem, messageArgs: [string, string, string], category?: import("./Diagnostic").DiagnosticCategory): { readonly code: string; readonly messageText: string; readonly schema: Schema; readonly diagnosticType: import("./Diagnostic").DiagnosticType; ecDefinition: InvertedUnit; messageArgs?: [string, string, string] | undefined; category: import("./Diagnostic").DiagnosticCategory; }; diagnosticType: import("./Diagnostic").DiagnosticType; }; /** Required message parameters: property name, property A value, property B value */ ConstantDelta: { new (ecDefinition: SchemaItem, messageArgs: [string, string, string], category?: import("./Diagnostic").DiagnosticCategory): { readonly code: string; readonly messageText: string; readonly schema: Schema; readonly diagnosticType: import("./Diagnostic").DiagnosticType; ecDefinition: Constant; messageArgs?: [string, string, string] | undefined; category: import("./Diagnostic").DiagnosticCategory; }; diagnosticType: import("./Diagnostic").DiagnosticType; }; }; //# sourceMappingURL=SchemaCompareDiagnostics.d.ts.map