@itwin/ecschema-editing 3.7.0-dev.5 → 3.7.0-dev.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/Editing/Constants.d.ts +20 -20
- package/lib/cjs/Editing/Constants.js +60 -60
- package/lib/cjs/Editing/Constants.js.map +1 -1
- package/lib/cjs/Editing/CustomAttributes.d.ts +20 -20
- package/lib/cjs/Editing/CustomAttributes.js +59 -59
- package/lib/cjs/Editing/CustomAttributes.js.map +1 -1
- package/lib/cjs/Editing/ECClasses.d.ts +54 -54
- package/lib/cjs/Editing/ECClasses.js +269 -269
- package/lib/cjs/Editing/ECClasses.js.map +1 -1
- package/lib/cjs/Editing/Editor.d.ts +112 -112
- package/lib/cjs/Editing/Editor.js +166 -166
- package/lib/cjs/Editing/Editor.js.map +1 -1
- package/lib/cjs/Editing/Entities.d.ts +25 -25
- package/lib/cjs/Editing/Entities.js +116 -116
- package/lib/cjs/Editing/Entities.js.map +1 -1
- package/lib/cjs/Editing/Enumerations.d.ts +21 -21
- package/lib/cjs/Editing/Enumerations.js +66 -66
- package/lib/cjs/Editing/Enumerations.js.map +1 -1
- package/lib/cjs/Editing/Formats.d.ts +21 -21
- package/lib/cjs/Editing/Formats.js +61 -61
- package/lib/cjs/Editing/Formats.js.map +1 -1
- package/lib/cjs/Editing/InvertedUnits.d.ts +17 -17
- package/lib/cjs/Editing/InvertedUnits.js +82 -82
- package/lib/cjs/Editing/InvertedUnits.js.map +1 -1
- package/lib/cjs/Editing/KindOfQuantities.d.ts +28 -28
- package/lib/cjs/Editing/KindOfQuantities.js +78 -78
- package/lib/cjs/Editing/KindOfQuantities.js.map +1 -1
- package/lib/cjs/Editing/Mixins.d.ts +22 -22
- package/lib/cjs/Editing/Mixins.js +84 -84
- package/lib/cjs/Editing/Mixins.js.map +1 -1
- package/lib/cjs/Editing/Mutable/MutableCAClass.d.ts +9 -9
- package/lib/cjs/Editing/Mutable/MutableCAClass.js +15 -15
- package/lib/cjs/Editing/Mutable/MutableCAClass.js.map +1 -1
- package/lib/cjs/Editing/Mutable/MutableClass.d.ts +34 -34
- package/lib/cjs/Editing/Mutable/MutableClass.js +22 -22
- package/lib/cjs/Editing/Mutable/MutableClass.js.map +1 -1
- package/lib/cjs/Editing/Mutable/MutableConstant.d.ts +12 -12
- package/lib/cjs/Editing/Mutable/MutableConstant.js +15 -15
- package/lib/cjs/Editing/Mutable/MutableConstant.js.map +1 -1
- package/lib/cjs/Editing/Mutable/MutableEntityClass.d.ts +15 -15
- package/lib/cjs/Editing/Mutable/MutableEntityClass.js +59 -59
- package/lib/cjs/Editing/Mutable/MutableEntityClass.js.map +1 -1
- package/lib/cjs/Editing/Mutable/MutableEnumeration.d.ts +9 -9
- package/lib/cjs/Editing/Mutable/MutableEnumeration.js +14 -14
- package/lib/cjs/Editing/Mutable/MutableEnumeration.js.map +1 -1
- package/lib/cjs/Editing/Mutable/MutableFormat.d.ts +18 -18
- package/lib/cjs/Editing/Mutable/MutableFormat.js +15 -15
- package/lib/cjs/Editing/Mutable/MutableFormat.js.map +1 -1
- package/lib/cjs/Editing/Mutable/MutableInvertedUnit.d.ts +10 -10
- package/lib/cjs/Editing/Mutable/MutableInvertedUnit.js +15 -15
- package/lib/cjs/Editing/Mutable/MutableInvertedUnit.js.map +1 -1
- package/lib/cjs/Editing/Mutable/MutableKindOfQuantity.d.ts +10 -10
- package/lib/cjs/Editing/Mutable/MutableKindOfQuantity.js +15 -15
- package/lib/cjs/Editing/Mutable/MutableKindOfQuantity.js.map +1 -1
- package/lib/cjs/Editing/Mutable/MutableMixin.d.ts +11 -11
- package/lib/cjs/Editing/Mutable/MutableMixin.js +15 -15
- package/lib/cjs/Editing/Mutable/MutableMixin.js.map +1 -1
- package/lib/cjs/Editing/Mutable/MutablePhenomenon.d.ts +9 -9
- package/lib/cjs/Editing/Mutable/MutablePhenomenon.js +15 -15
- package/lib/cjs/Editing/Mutable/MutablePhenomenon.js.map +1 -1
- package/lib/cjs/Editing/Mutable/MutableProperty.d.ts +8 -8
- package/lib/cjs/Editing/Mutable/MutableProperty.js +15 -15
- package/lib/cjs/Editing/Mutable/MutableProperty.js.map +1 -1
- package/lib/cjs/Editing/Mutable/MutablePropertyCategory.d.ts +9 -9
- package/lib/cjs/Editing/Mutable/MutablePropertyCategory.js +15 -15
- package/lib/cjs/Editing/Mutable/MutablePropertyCategory.js.map +1 -1
- package/lib/cjs/Editing/Mutable/MutableRelationshipClass.d.ts +21 -21
- package/lib/cjs/Editing/Mutable/MutableRelationshipClass.js +24 -24
- package/lib/cjs/Editing/Mutable/MutableRelationshipClass.js.map +1 -1
- package/lib/cjs/Editing/Mutable/MutableSchema.d.ts +45 -45
- package/lib/cjs/Editing/Mutable/MutableSchema.js +17 -17
- package/lib/cjs/Editing/Mutable/MutableSchema.js.map +1 -1
- package/lib/cjs/Editing/Mutable/MutableUnit.d.ts +11 -11
- package/lib/cjs/Editing/Mutable/MutableUnit.js +15 -15
- package/lib/cjs/Editing/Mutable/MutableUnit.js.map +1 -1
- package/lib/cjs/Editing/Mutable/MutableUnitSystem.d.ts +8 -8
- package/lib/cjs/Editing/Mutable/MutableUnitSystem.js +15 -15
- package/lib/cjs/Editing/Mutable/MutableUnitSystem.js.map +1 -1
- package/lib/cjs/Editing/Phenomena.d.ts +15 -15
- package/lib/cjs/Editing/Phenomena.js +44 -44
- package/lib/cjs/Editing/Phenomena.js.map +1 -1
- package/lib/cjs/Editing/PropertyCategories.d.ts +16 -16
- package/lib/cjs/Editing/PropertyCategories.js +51 -51
- package/lib/cjs/Editing/PropertyCategories.js.map +1 -1
- package/lib/cjs/Editing/RelationshipClasses.d.ts +21 -21
- package/lib/cjs/Editing/RelationshipClasses.js +68 -68
- package/lib/cjs/Editing/RelationshipClasses.js.map +1 -1
- package/lib/cjs/Editing/Structs.d.ts +19 -19
- package/lib/cjs/Editing/Structs.js +57 -57
- package/lib/cjs/Editing/Structs.js.map +1 -1
- package/lib/cjs/Editing/UnitSystems.d.ts +15 -15
- package/lib/cjs/Editing/UnitSystems.js +41 -41
- package/lib/cjs/Editing/UnitSystems.js.map +1 -1
- package/lib/cjs/Editing/Units.d.ts +15 -15
- package/lib/cjs/Editing/Units.js +58 -58
- package/lib/cjs/Editing/Units.js.map +1 -1
- package/lib/cjs/Validation/Diagnostic.d.ts +321 -321
- package/lib/cjs/Validation/Diagnostic.js +310 -310
- package/lib/cjs/Validation/Diagnostic.js.map +1 -1
- package/lib/cjs/Validation/DiagnosticReporter.d.ts +96 -96
- package/lib/cjs/Validation/DiagnosticReporter.js +106 -106
- package/lib/cjs/Validation/DiagnosticReporter.js.map +1 -1
- package/lib/cjs/Validation/ECRules.d.ts +448 -448
- package/lib/cjs/Validation/ECRules.js +593 -593
- package/lib/cjs/Validation/ECRules.js.map +1 -1
- package/lib/cjs/Validation/LoggingDiagnosticReporter.d.ts +13 -13
- package/lib/cjs/Validation/LoggingDiagnosticReporter.js +40 -40
- package/lib/cjs/Validation/LoggingDiagnosticReporter.js.map +1 -1
- package/lib/cjs/Validation/RuleSuppressionSet.d.ts +59 -59
- package/lib/cjs/Validation/RuleSuppressionSet.js +9 -9
- package/lib/cjs/Validation/RuleSuppressionSet.js.map +1 -1
- package/lib/cjs/Validation/Rules.d.ts +64 -64
- package/lib/cjs/Validation/Rules.js +9 -9
- package/lib/cjs/Validation/Rules.js.map +1 -1
- package/lib/cjs/Validation/SchemaChanges.d.ts +607 -607
- package/lib/cjs/Validation/SchemaChanges.js +1135 -1135
- package/lib/cjs/Validation/SchemaChanges.js.map +1 -1
- package/lib/cjs/Validation/SchemaCompareDiagnostics.d.ts +422 -422
- package/lib/cjs/Validation/SchemaCompareDiagnostics.js +111 -111
- package/lib/cjs/Validation/SchemaCompareDiagnostics.js.map +1 -1
- package/lib/cjs/Validation/SchemaCompareReporter.d.ts +11 -11
- package/lib/cjs/Validation/SchemaCompareReporter.js +9 -9
- package/lib/cjs/Validation/SchemaCompareReporter.js.map +1 -1
- package/lib/cjs/Validation/SchemaCompareResultDelegate.d.ts +236 -236
- package/lib/cjs/Validation/SchemaCompareResultDelegate.js +348 -348
- package/lib/cjs/Validation/SchemaCompareResultDelegate.js.map +1 -1
- package/lib/cjs/Validation/SchemaCompareVisitor.d.ts +119 -119
- package/lib/cjs/Validation/SchemaCompareVisitor.js +206 -206
- package/lib/cjs/Validation/SchemaCompareVisitor.js.map +1 -1
- package/lib/cjs/Validation/SchemaComparer.d.ts +171 -171
- package/lib/cjs/Validation/SchemaComparer.js +666 -666
- package/lib/cjs/Validation/SchemaComparer.js.map +1 -1
- package/lib/cjs/Validation/SchemaValidater.d.ts +19 -19
- package/lib/cjs/Validation/SchemaValidater.js +61 -61
- package/lib/cjs/Validation/SchemaValidater.js.map +1 -1
- package/lib/cjs/Validation/SchemaValidationVisitor.d.ts +170 -170
- package/lib/cjs/Validation/SchemaValidationVisitor.js +492 -492
- package/lib/cjs/Validation/SchemaValidationVisitor.js.map +1 -1
- package/lib/cjs/Validation/SchemaWalker.d.ts +22 -22
- package/lib/cjs/Validation/SchemaWalker.js +51 -51
- package/lib/cjs/Validation/SchemaWalker.js.map +1 -1
- package/lib/cjs/ecschema-editing.d.ts +33 -33
- package/lib/cjs/ecschema-editing.js +54 -54
- package/lib/cjs/ecschema-editing.js.map +1 -1
- package/package.json +10 -10
- package/public/locales/en/ECSchemaEditing.json +26 -26
|
@@ -1,172 +1,172 @@
|
|
|
1
|
-
/** @packageDocumentation
|
|
2
|
-
* @module Comparison
|
|
3
|
-
*/
|
|
4
|
-
import { AnyClass, AnyProperty, Constant, CustomAttributeClass, CustomAttributeContainerProps, EntityClass, Enumeration, Format, InvertedUnit, KindOfQuantity, Mixin, Phenomenon, PropertyCategory, RelationshipClass, RelationshipConstraint, Schema, SchemaItem, Unit } from "@itwin/ecschema-metadata";
|
|
5
|
-
import { ISchemaCompareReporter } from "./SchemaCompareReporter";
|
|
6
|
-
/**
|
|
7
|
-
* Enum that identifies if Schema A is being iterated (Forward) or
|
|
8
|
-
* Schema B is being iterated (Backward);
|
|
9
|
-
* @alpha
|
|
10
|
-
*/
|
|
11
|
-
export declare enum SchemaCompareDirection {
|
|
12
|
-
Forward = 0,
|
|
13
|
-
Backward = 1
|
|
14
|
-
}
|
|
15
|
-
/**
|
|
16
|
-
* Interface for comparing EC Schemas.
|
|
17
|
-
* @alpha
|
|
18
|
-
*/
|
|
19
|
-
export interface ISchemaComparer {
|
|
20
|
-
compareSchemas(schemaA: Schema, schemaB: Schema): void;
|
|
21
|
-
compareSchemaProps(schemaA: Schema, schemaB: Schema): void;
|
|
22
|
-
compareSchemaItems(schemaItemA: SchemaItem, schemaItemB: SchemaItem | undefined): void;
|
|
23
|
-
compareClasses(classA: AnyClass, classB: AnyClass | undefined): void;
|
|
24
|
-
compareProperties(propertyA: AnyProperty, propertyB: AnyProperty | undefined): void;
|
|
25
|
-
compareEntityClasses(entityA: EntityClass, entityB: EntityClass | undefined): void;
|
|
26
|
-
compareMixins(mixinA: Mixin, mixinB: Mixin | undefined): void;
|
|
27
|
-
compareRelationshipClasses(relationshipClassA: RelationshipClass, relationshipClassB: RelationshipClass | undefined): void;
|
|
28
|
-
compareRelationshipConstraints(relationshipConstraintA: RelationshipConstraint, relationshipConstraintB: RelationshipConstraint | undefined): void;
|
|
29
|
-
compareCustomAttributeClasses(customAttributeClassA: CustomAttributeClass, customAttributeClassB: CustomAttributeClass | undefined): void;
|
|
30
|
-
compareCustomAttributeContainers(containerA: CustomAttributeContainerProps, containerB: CustomAttributeContainerProps | undefined): void;
|
|
31
|
-
compareEnumerations(enumA: Enumeration, enumB: Enumeration | undefined): void;
|
|
32
|
-
compareKindOfQuantities(koqA: KindOfQuantity, koqB: KindOfQuantity | undefined): void;
|
|
33
|
-
comparePropertyCategories(categoryA: PropertyCategory, categoryB: PropertyCategory | undefined): void;
|
|
34
|
-
compareFormats(formatA: Format, formatB: Format | undefined): void;
|
|
35
|
-
compareUnits(unitA: Unit, unitB: Unit | undefined): void;
|
|
36
|
-
compareInvertedUnits(invertedUnitA: InvertedUnit, invertedUnitB: InvertedUnit | undefined): void;
|
|
37
|
-
comparePhenomenons(phenomenonA: Phenomenon, phenomenonB: Phenomenon | undefined): void;
|
|
38
|
-
compareConstants(constantA: Constant, constantB: Constant | undefined): void;
|
|
39
|
-
}
|
|
40
|
-
/**
|
|
41
|
-
* Compares EC Schemas and reports differences using the [[IDiagnosticReporter]] objects
|
|
42
|
-
* specified.
|
|
43
|
-
* @alpha
|
|
44
|
-
*/
|
|
45
|
-
export declare class SchemaComparer {
|
|
46
|
-
private _compareDirection;
|
|
47
|
-
private _reporter;
|
|
48
|
-
private _reporters;
|
|
49
|
-
/**
|
|
50
|
-
* Initializes a new SchemaComparer instance.
|
|
51
|
-
* @param reporters The [[IDiagnosticReporter]] object(s) to use to report the results.
|
|
52
|
-
*/
|
|
53
|
-
constructor(...reporters: ISchemaCompareReporter[]);
|
|
54
|
-
/**
|
|
55
|
-
* Compares two schemas to identify differences.
|
|
56
|
-
* @param schemaA The first Schema.
|
|
57
|
-
* @param schemaB The second Schema.
|
|
58
|
-
*/
|
|
59
|
-
compareSchemas(schemaA: Schema, schemaB: Schema): Promise<void>;
|
|
60
|
-
/**
|
|
61
|
-
* Compares two schemas to identify differences between property values.
|
|
62
|
-
* @param schemaA The first Schema.
|
|
63
|
-
* @param schemaB The second Schema.
|
|
64
|
-
*/
|
|
65
|
-
compareSchemaProps(schemaA: Schema, schemaB: Schema): Promise<void>;
|
|
66
|
-
/**
|
|
67
|
-
* Compares two SchemaItems to identify differences between property values.
|
|
68
|
-
* @param schemaItemA The first SchemaItem.
|
|
69
|
-
* @param schemaItemB The second SchemaItem.
|
|
70
|
-
*/
|
|
71
|
-
compareSchemaItems(schemaItemA: SchemaItem, schemaItemB: SchemaItem | undefined): Promise<void>;
|
|
72
|
-
/**
|
|
73
|
-
* Compares two ECClasses to identify differences between property values.
|
|
74
|
-
* @param classA The first ECClass.
|
|
75
|
-
* @param classB The second ECClass.
|
|
76
|
-
*/
|
|
77
|
-
compareClasses(classA: AnyClass, classB: AnyClass | undefined): Promise<void>;
|
|
78
|
-
/**
|
|
79
|
-
* Compares two ECProperties to identify differences between property values.
|
|
80
|
-
* @param propertyA The first ECProperty.
|
|
81
|
-
* @param propertyB The second ECProperty.
|
|
82
|
-
*/
|
|
83
|
-
compareProperties(propertyA: AnyProperty, propertyB: AnyProperty | undefined): Promise<void>;
|
|
84
|
-
/**
|
|
85
|
-
* Compares two EntityClass objects to identify differences between property values.
|
|
86
|
-
* @param entityA
|
|
87
|
-
* @param entityB
|
|
88
|
-
*/
|
|
89
|
-
compareEntityClasses(entityA: EntityClass, entityB: EntityClass | undefined): Promise<void>;
|
|
90
|
-
/**
|
|
91
|
-
* Compares two Mixin objects to identify differences between property values.
|
|
92
|
-
* @param mixinA
|
|
93
|
-
* @param mixinB
|
|
94
|
-
*/
|
|
95
|
-
compareMixins(mixinA: Mixin, mixinB: Mixin | undefined): Promise<void>;
|
|
96
|
-
/**
|
|
97
|
-
* Compares two RelationshipClass objects to identify differences between property values.
|
|
98
|
-
* @param relationshipA
|
|
99
|
-
* @param relationshipB
|
|
100
|
-
*/
|
|
101
|
-
compareRelationshipClasses(relationshipA: RelationshipClass, relationshipB: RelationshipClass | undefined): Promise<void>;
|
|
102
|
-
/**
|
|
103
|
-
* Compares two RelationshipConstraint objects to identify differences between property values.
|
|
104
|
-
* @param relationshipConstraintA
|
|
105
|
-
* @param relationshipConstraintB
|
|
106
|
-
*/
|
|
107
|
-
compareRelationshipConstraints(constraintA: RelationshipConstraint, constraintB: RelationshipConstraint | undefined): Promise<void>;
|
|
108
|
-
/**
|
|
109
|
-
* Compares two CustomAttributeClass objects to identify differences between property values.
|
|
110
|
-
* @param customAttributeClassA
|
|
111
|
-
* @param customAttributeClassB
|
|
112
|
-
*/
|
|
113
|
-
compareCustomAttributeClasses(customAttributeClassA: CustomAttributeClass, customAttributeClassB: CustomAttributeClass | undefined): Promise<void>;
|
|
114
|
-
/**
|
|
115
|
-
* Compares two CustomAttributeContainerProps objects to identify differences between property values.
|
|
116
|
-
* @param containerA
|
|
117
|
-
* @param containerB
|
|
118
|
-
*/
|
|
119
|
-
compareCustomAttributeContainers(containerA: CustomAttributeContainerProps, containerB: CustomAttributeContainerProps | undefined): Promise<void>;
|
|
120
|
-
/**
|
|
121
|
-
* Compares two Enumeration objects to identify differences between property values.
|
|
122
|
-
* @param enumA
|
|
123
|
-
* @param enumB
|
|
124
|
-
*/
|
|
125
|
-
compareEnumerations(enumA: Enumeration, enumB: Enumeration | undefined): Promise<void>;
|
|
126
|
-
/**
|
|
127
|
-
* Compares two KindOfQuantity objects to identify differences between property values.
|
|
128
|
-
* @param koqA
|
|
129
|
-
* @param koqB
|
|
130
|
-
*/
|
|
131
|
-
compareKindOfQuantities(koqA: KindOfQuantity, koqB: KindOfQuantity | undefined): Promise<void>;
|
|
132
|
-
/**
|
|
133
|
-
* Compares two PropertyCategory objects to identify differences between property values.
|
|
134
|
-
* @param categoryA
|
|
135
|
-
* @param categoryB
|
|
136
|
-
*/
|
|
137
|
-
comparePropertyCategories(categoryA: PropertyCategory, categoryB: PropertyCategory | undefined): Promise<void>;
|
|
138
|
-
/**
|
|
139
|
-
* Compares two Format objects to identify differences between property values.
|
|
140
|
-
* @param formatA
|
|
141
|
-
* @param formatB
|
|
142
|
-
*/
|
|
143
|
-
compareFormats(formatA: Format, formatB: Format | undefined): Promise<void>;
|
|
144
|
-
/**
|
|
145
|
-
* Compares two Unit objects to identify differences between property values.
|
|
146
|
-
* @param unitA
|
|
147
|
-
* @param unitB
|
|
148
|
-
*/
|
|
149
|
-
compareUnits(unitA: Unit, unitB: Unit | undefined): Promise<void>;
|
|
150
|
-
/**
|
|
151
|
-
* Compares two InvertedUnit objects to identify differences between property values.
|
|
152
|
-
* @param invertedUnitA
|
|
153
|
-
* @param invertedUnitB
|
|
154
|
-
*/
|
|
155
|
-
compareInvertedUnits(invertedUnitA: InvertedUnit, invertedUnitB: InvertedUnit | undefined): Promise<void>;
|
|
156
|
-
/**
|
|
157
|
-
* Compares two Phenomenon objects to identify differences between property values.
|
|
158
|
-
* @param phenomenonA
|
|
159
|
-
* @param phenomenonB
|
|
160
|
-
*/
|
|
161
|
-
comparePhenomenons(phenomenonA: Phenomenon, phenomenonB: Phenomenon | undefined): Promise<void>;
|
|
162
|
-
/**
|
|
163
|
-
* Compares two Constant objects to identify differences between property values.
|
|
164
|
-
* @param constantA
|
|
165
|
-
* @param constantB
|
|
166
|
-
*/
|
|
167
|
-
compareConstants(constantA: Constant, constantB: Constant | undefined): Promise<void>;
|
|
168
|
-
private comparePropertyType;
|
|
169
|
-
private compareEnumerators;
|
|
170
|
-
private compareFormatUnits;
|
|
171
|
-
}
|
|
1
|
+
/** @packageDocumentation
|
|
2
|
+
* @module Comparison
|
|
3
|
+
*/
|
|
4
|
+
import { AnyClass, AnyProperty, Constant, CustomAttributeClass, CustomAttributeContainerProps, EntityClass, Enumeration, Format, InvertedUnit, KindOfQuantity, Mixin, Phenomenon, PropertyCategory, RelationshipClass, RelationshipConstraint, Schema, SchemaItem, Unit } from "@itwin/ecschema-metadata";
|
|
5
|
+
import { ISchemaCompareReporter } from "./SchemaCompareReporter";
|
|
6
|
+
/**
|
|
7
|
+
* Enum that identifies if Schema A is being iterated (Forward) or
|
|
8
|
+
* Schema B is being iterated (Backward);
|
|
9
|
+
* @alpha
|
|
10
|
+
*/
|
|
11
|
+
export declare enum SchemaCompareDirection {
|
|
12
|
+
Forward = 0,
|
|
13
|
+
Backward = 1
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* Interface for comparing EC Schemas.
|
|
17
|
+
* @alpha
|
|
18
|
+
*/
|
|
19
|
+
export interface ISchemaComparer {
|
|
20
|
+
compareSchemas(schemaA: Schema, schemaB: Schema): void;
|
|
21
|
+
compareSchemaProps(schemaA: Schema, schemaB: Schema): void;
|
|
22
|
+
compareSchemaItems(schemaItemA: SchemaItem, schemaItemB: SchemaItem | undefined): void;
|
|
23
|
+
compareClasses(classA: AnyClass, classB: AnyClass | undefined): void;
|
|
24
|
+
compareProperties(propertyA: AnyProperty, propertyB: AnyProperty | undefined): void;
|
|
25
|
+
compareEntityClasses(entityA: EntityClass, entityB: EntityClass | undefined): void;
|
|
26
|
+
compareMixins(mixinA: Mixin, mixinB: Mixin | undefined): void;
|
|
27
|
+
compareRelationshipClasses(relationshipClassA: RelationshipClass, relationshipClassB: RelationshipClass | undefined): void;
|
|
28
|
+
compareRelationshipConstraints(relationshipConstraintA: RelationshipConstraint, relationshipConstraintB: RelationshipConstraint | undefined): void;
|
|
29
|
+
compareCustomAttributeClasses(customAttributeClassA: CustomAttributeClass, customAttributeClassB: CustomAttributeClass | undefined): void;
|
|
30
|
+
compareCustomAttributeContainers(containerA: CustomAttributeContainerProps, containerB: CustomAttributeContainerProps | undefined): void;
|
|
31
|
+
compareEnumerations(enumA: Enumeration, enumB: Enumeration | undefined): void;
|
|
32
|
+
compareKindOfQuantities(koqA: KindOfQuantity, koqB: KindOfQuantity | undefined): void;
|
|
33
|
+
comparePropertyCategories(categoryA: PropertyCategory, categoryB: PropertyCategory | undefined): void;
|
|
34
|
+
compareFormats(formatA: Format, formatB: Format | undefined): void;
|
|
35
|
+
compareUnits(unitA: Unit, unitB: Unit | undefined): void;
|
|
36
|
+
compareInvertedUnits(invertedUnitA: InvertedUnit, invertedUnitB: InvertedUnit | undefined): void;
|
|
37
|
+
comparePhenomenons(phenomenonA: Phenomenon, phenomenonB: Phenomenon | undefined): void;
|
|
38
|
+
compareConstants(constantA: Constant, constantB: Constant | undefined): void;
|
|
39
|
+
}
|
|
40
|
+
/**
|
|
41
|
+
* Compares EC Schemas and reports differences using the [[IDiagnosticReporter]] objects
|
|
42
|
+
* specified.
|
|
43
|
+
* @alpha
|
|
44
|
+
*/
|
|
45
|
+
export declare class SchemaComparer {
|
|
46
|
+
private _compareDirection;
|
|
47
|
+
private _reporter;
|
|
48
|
+
private _reporters;
|
|
49
|
+
/**
|
|
50
|
+
* Initializes a new SchemaComparer instance.
|
|
51
|
+
* @param reporters The [[IDiagnosticReporter]] object(s) to use to report the results.
|
|
52
|
+
*/
|
|
53
|
+
constructor(...reporters: ISchemaCompareReporter[]);
|
|
54
|
+
/**
|
|
55
|
+
* Compares two schemas to identify differences.
|
|
56
|
+
* @param schemaA The first Schema.
|
|
57
|
+
* @param schemaB The second Schema.
|
|
58
|
+
*/
|
|
59
|
+
compareSchemas(schemaA: Schema, schemaB: Schema): Promise<void>;
|
|
60
|
+
/**
|
|
61
|
+
* Compares two schemas to identify differences between property values.
|
|
62
|
+
* @param schemaA The first Schema.
|
|
63
|
+
* @param schemaB The second Schema.
|
|
64
|
+
*/
|
|
65
|
+
compareSchemaProps(schemaA: Schema, schemaB: Schema): Promise<void>;
|
|
66
|
+
/**
|
|
67
|
+
* Compares two SchemaItems to identify differences between property values.
|
|
68
|
+
* @param schemaItemA The first SchemaItem.
|
|
69
|
+
* @param schemaItemB The second SchemaItem.
|
|
70
|
+
*/
|
|
71
|
+
compareSchemaItems(schemaItemA: SchemaItem, schemaItemB: SchemaItem | undefined): Promise<void>;
|
|
72
|
+
/**
|
|
73
|
+
* Compares two ECClasses to identify differences between property values.
|
|
74
|
+
* @param classA The first ECClass.
|
|
75
|
+
* @param classB The second ECClass.
|
|
76
|
+
*/
|
|
77
|
+
compareClasses(classA: AnyClass, classB: AnyClass | undefined): Promise<void>;
|
|
78
|
+
/**
|
|
79
|
+
* Compares two ECProperties to identify differences between property values.
|
|
80
|
+
* @param propertyA The first ECProperty.
|
|
81
|
+
* @param propertyB The second ECProperty.
|
|
82
|
+
*/
|
|
83
|
+
compareProperties(propertyA: AnyProperty, propertyB: AnyProperty | undefined): Promise<void>;
|
|
84
|
+
/**
|
|
85
|
+
* Compares two EntityClass objects to identify differences between property values.
|
|
86
|
+
* @param entityA
|
|
87
|
+
* @param entityB
|
|
88
|
+
*/
|
|
89
|
+
compareEntityClasses(entityA: EntityClass, entityB: EntityClass | undefined): Promise<void>;
|
|
90
|
+
/**
|
|
91
|
+
* Compares two Mixin objects to identify differences between property values.
|
|
92
|
+
* @param mixinA
|
|
93
|
+
* @param mixinB
|
|
94
|
+
*/
|
|
95
|
+
compareMixins(mixinA: Mixin, mixinB: Mixin | undefined): Promise<void>;
|
|
96
|
+
/**
|
|
97
|
+
* Compares two RelationshipClass objects to identify differences between property values.
|
|
98
|
+
* @param relationshipA
|
|
99
|
+
* @param relationshipB
|
|
100
|
+
*/
|
|
101
|
+
compareRelationshipClasses(relationshipA: RelationshipClass, relationshipB: RelationshipClass | undefined): Promise<void>;
|
|
102
|
+
/**
|
|
103
|
+
* Compares two RelationshipConstraint objects to identify differences between property values.
|
|
104
|
+
* @param relationshipConstraintA
|
|
105
|
+
* @param relationshipConstraintB
|
|
106
|
+
*/
|
|
107
|
+
compareRelationshipConstraints(constraintA: RelationshipConstraint, constraintB: RelationshipConstraint | undefined): Promise<void>;
|
|
108
|
+
/**
|
|
109
|
+
* Compares two CustomAttributeClass objects to identify differences between property values.
|
|
110
|
+
* @param customAttributeClassA
|
|
111
|
+
* @param customAttributeClassB
|
|
112
|
+
*/
|
|
113
|
+
compareCustomAttributeClasses(customAttributeClassA: CustomAttributeClass, customAttributeClassB: CustomAttributeClass | undefined): Promise<void>;
|
|
114
|
+
/**
|
|
115
|
+
* Compares two CustomAttributeContainerProps objects to identify differences between property values.
|
|
116
|
+
* @param containerA
|
|
117
|
+
* @param containerB
|
|
118
|
+
*/
|
|
119
|
+
compareCustomAttributeContainers(containerA: CustomAttributeContainerProps, containerB: CustomAttributeContainerProps | undefined): Promise<void>;
|
|
120
|
+
/**
|
|
121
|
+
* Compares two Enumeration objects to identify differences between property values.
|
|
122
|
+
* @param enumA
|
|
123
|
+
* @param enumB
|
|
124
|
+
*/
|
|
125
|
+
compareEnumerations(enumA: Enumeration, enumB: Enumeration | undefined): Promise<void>;
|
|
126
|
+
/**
|
|
127
|
+
* Compares two KindOfQuantity objects to identify differences between property values.
|
|
128
|
+
* @param koqA
|
|
129
|
+
* @param koqB
|
|
130
|
+
*/
|
|
131
|
+
compareKindOfQuantities(koqA: KindOfQuantity, koqB: KindOfQuantity | undefined): Promise<void>;
|
|
132
|
+
/**
|
|
133
|
+
* Compares two PropertyCategory objects to identify differences between property values.
|
|
134
|
+
* @param categoryA
|
|
135
|
+
* @param categoryB
|
|
136
|
+
*/
|
|
137
|
+
comparePropertyCategories(categoryA: PropertyCategory, categoryB: PropertyCategory | undefined): Promise<void>;
|
|
138
|
+
/**
|
|
139
|
+
* Compares two Format objects to identify differences between property values.
|
|
140
|
+
* @param formatA
|
|
141
|
+
* @param formatB
|
|
142
|
+
*/
|
|
143
|
+
compareFormats(formatA: Format, formatB: Format | undefined): Promise<void>;
|
|
144
|
+
/**
|
|
145
|
+
* Compares two Unit objects to identify differences between property values.
|
|
146
|
+
* @param unitA
|
|
147
|
+
* @param unitB
|
|
148
|
+
*/
|
|
149
|
+
compareUnits(unitA: Unit, unitB: Unit | undefined): Promise<void>;
|
|
150
|
+
/**
|
|
151
|
+
* Compares two InvertedUnit objects to identify differences between property values.
|
|
152
|
+
* @param invertedUnitA
|
|
153
|
+
* @param invertedUnitB
|
|
154
|
+
*/
|
|
155
|
+
compareInvertedUnits(invertedUnitA: InvertedUnit, invertedUnitB: InvertedUnit | undefined): Promise<void>;
|
|
156
|
+
/**
|
|
157
|
+
* Compares two Phenomenon objects to identify differences between property values.
|
|
158
|
+
* @param phenomenonA
|
|
159
|
+
* @param phenomenonB
|
|
160
|
+
*/
|
|
161
|
+
comparePhenomenons(phenomenonA: Phenomenon, phenomenonB: Phenomenon | undefined): Promise<void>;
|
|
162
|
+
/**
|
|
163
|
+
* Compares two Constant objects to identify differences between property values.
|
|
164
|
+
* @param constantA
|
|
165
|
+
* @param constantB
|
|
166
|
+
*/
|
|
167
|
+
compareConstants(constantA: Constant, constantB: Constant | undefined): Promise<void>;
|
|
168
|
+
private comparePropertyType;
|
|
169
|
+
private compareEnumerators;
|
|
170
|
+
private compareFormatUnits;
|
|
171
|
+
}
|
|
172
172
|
//# sourceMappingURL=SchemaComparer.d.ts.map
|