@itwin/ecschema-editing 5.0.0-dev.90 → 5.0.0-dev.92
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/Validation/DiagnosticReporter.js +1 -1
- package/lib/cjs/Validation/DiagnosticReporter.js.map +1 -1
- package/lib/esm/Differencing/Errors.d.ts +19 -0
- package/lib/esm/Differencing/Errors.d.ts.map +1 -0
- package/lib/esm/Differencing/Errors.js +26 -0
- package/lib/esm/Differencing/Errors.js.map +1 -0
- package/lib/esm/Differencing/SchemaConflicts.d.ts +84 -0
- package/lib/esm/Differencing/SchemaConflicts.d.ts.map +1 -0
- package/lib/esm/Differencing/SchemaConflicts.js +60 -0
- package/lib/esm/Differencing/SchemaConflicts.js.map +1 -0
- package/lib/esm/Differencing/SchemaDiagnosticVisitor.d.ts +41 -0
- package/lib/esm/Differencing/SchemaDiagnosticVisitor.d.ts.map +1 -0
- package/lib/esm/Differencing/SchemaDiagnosticVisitor.js +443 -0
- package/lib/esm/Differencing/SchemaDiagnosticVisitor.js.map +1 -0
- package/lib/esm/Differencing/SchemaDifference.d.ts +357 -0
- package/lib/esm/Differencing/SchemaDifference.d.ts.map +1 -0
- package/lib/esm/Differencing/SchemaDifference.js +106 -0
- package/lib/esm/Differencing/SchemaDifference.js.map +1 -0
- package/lib/esm/Differencing/SchemaDifferenceValidator.d.ts +18 -0
- package/lib/esm/Differencing/SchemaDifferenceValidator.d.ts.map +1 -0
- package/lib/esm/Differencing/SchemaDifferenceValidator.js +521 -0
- package/lib/esm/Differencing/SchemaDifferenceValidator.js.map +1 -0
- package/lib/esm/Differencing/SchemaDifferenceVisitor.d.ts +32 -0
- package/lib/esm/Differencing/SchemaDifferenceVisitor.d.ts.map +1 -0
- package/lib/esm/Differencing/SchemaDifferenceVisitor.js +88 -0
- package/lib/esm/Differencing/SchemaDifferenceVisitor.js.map +1 -0
- package/lib/esm/Differencing/Utils.d.ts +110 -0
- package/lib/esm/Differencing/Utils.d.ts.map +1 -0
- package/lib/esm/Differencing/Utils.js +161 -0
- package/lib/esm/Differencing/Utils.js.map +1 -0
- package/lib/esm/Editing/Constants.d.ts +22 -0
- package/lib/esm/Editing/Constants.d.ts.map +1 -0
- package/lib/esm/Editing/Constants.js +55 -0
- package/lib/esm/Editing/Constants.js.map +1 -0
- package/lib/esm/Editing/CustomAttributes.d.ts +22 -0
- package/lib/esm/Editing/CustomAttributes.d.ts.map +1 -0
- package/lib/esm/Editing/CustomAttributes.js +49 -0
- package/lib/esm/Editing/CustomAttributes.js.map +1 -0
- package/lib/esm/Editing/ECClasses.d.ts +86 -0
- package/lib/esm/Editing/ECClasses.d.ts.map +1 -0
- package/lib/esm/Editing/ECClasses.js +294 -0
- package/lib/esm/Editing/ECClasses.js.map +1 -0
- package/lib/esm/Editing/Editor.d.ts +117 -0
- package/lib/esm/Editing/Editor.d.ts.map +1 -0
- package/lib/esm/Editing/Editor.js +264 -0
- package/lib/esm/Editing/Editor.js.map +1 -0
- package/lib/esm/Editing/Entities.d.ts +38 -0
- package/lib/esm/Editing/Entities.d.ts.map +1 -0
- package/lib/esm/Editing/Entities.js +126 -0
- package/lib/esm/Editing/Entities.js.map +1 -0
- package/lib/esm/Editing/Enumerations.d.ts +25 -0
- package/lib/esm/Editing/Enumerations.d.ts.map +1 -0
- package/lib/esm/Editing/Enumerations.js +90 -0
- package/lib/esm/Editing/Enumerations.js.map +1 -0
- package/lib/esm/Editing/Exception.d.ts +358 -0
- package/lib/esm/Editing/Exception.d.ts.map +1 -0
- package/lib/esm/Editing/Exception.js +471 -0
- package/lib/esm/Editing/Exception.js.map +1 -0
- package/lib/esm/Editing/Formats.d.ts +23 -0
- package/lib/esm/Editing/Formats.d.ts.map +1 -0
- package/lib/esm/Editing/Formats.js +62 -0
- package/lib/esm/Editing/Formats.js.map +1 -0
- package/lib/esm/Editing/InvertedUnits.d.ts +19 -0
- package/lib/esm/Editing/InvertedUnits.d.ts.map +1 -0
- package/lib/esm/Editing/InvertedUnits.js +68 -0
- package/lib/esm/Editing/InvertedUnits.js.map +1 -0
- package/lib/esm/Editing/KindOfQuantities.d.ts +30 -0
- package/lib/esm/Editing/KindOfQuantities.d.ts.map +1 -0
- package/lib/esm/Editing/KindOfQuantities.js +92 -0
- package/lib/esm/Editing/KindOfQuantities.js.map +1 -0
- package/lib/esm/Editing/Mixins.d.ts +35 -0
- package/lib/esm/Editing/Mixins.d.ts.map +1 -0
- package/lib/esm/Editing/Mixins.js +90 -0
- package/lib/esm/Editing/Mixins.js.map +1 -0
- package/lib/esm/Editing/Mutable/MutableArrayProperty.d.ts +10 -0
- package/lib/esm/Editing/Mutable/MutableArrayProperty.d.ts.map +1 -0
- package/lib/esm/Editing/Mutable/MutableArrayProperty.js +12 -0
- package/lib/esm/Editing/Mutable/MutableArrayProperty.js.map +1 -0
- package/lib/esm/Editing/Mutable/MutableCAClass.d.ts +10 -0
- package/lib/esm/Editing/Mutable/MutableCAClass.d.ts.map +1 -0
- package/lib/esm/Editing/Mutable/MutableCAClass.js +12 -0
- package/lib/esm/Editing/Mutable/MutableCAClass.js.map +1 -0
- package/lib/esm/Editing/Mutable/MutableClass.d.ts +39 -0
- package/lib/esm/Editing/Mutable/MutableClass.d.ts.map +1 -0
- package/lib/esm/Editing/Mutable/MutableClass.js +18 -0
- package/lib/esm/Editing/Mutable/MutableClass.js.map +1 -0
- package/lib/esm/Editing/Mutable/MutableConstant.d.ts +14 -0
- package/lib/esm/Editing/Mutable/MutableConstant.d.ts.map +1 -0
- package/lib/esm/Editing/Mutable/MutableConstant.js +12 -0
- package/lib/esm/Editing/Mutable/MutableConstant.js.map +1 -0
- package/lib/esm/Editing/Mutable/MutableEntityClass.d.ts +12 -0
- package/lib/esm/Editing/Mutable/MutableEntityClass.d.ts.map +1 -0
- package/lib/esm/Editing/Mutable/MutableEntityClass.js +12 -0
- package/lib/esm/Editing/Mutable/MutableEntityClass.js.map +1 -0
- package/lib/esm/Editing/Mutable/MutableEnumeration.d.ts +11 -0
- package/lib/esm/Editing/Mutable/MutableEnumeration.d.ts.map +1 -0
- package/lib/esm/Editing/Mutable/MutableEnumeration.js +11 -0
- package/lib/esm/Editing/Mutable/MutableEnumeration.js.map +1 -0
- package/lib/esm/Editing/Mutable/MutableFormat.d.ts +26 -0
- package/lib/esm/Editing/Mutable/MutableFormat.d.ts.map +1 -0
- package/lib/esm/Editing/Mutable/MutableFormat.js +12 -0
- package/lib/esm/Editing/Mutable/MutableFormat.js.map +1 -0
- package/lib/esm/Editing/Mutable/MutableInvertedUnit.d.ts +11 -0
- package/lib/esm/Editing/Mutable/MutableInvertedUnit.d.ts.map +1 -0
- package/lib/esm/Editing/Mutable/MutableInvertedUnit.js +12 -0
- package/lib/esm/Editing/Mutable/MutableInvertedUnit.js.map +1 -0
- package/lib/esm/Editing/Mutable/MutableKindOfQuantity.d.ts +14 -0
- package/lib/esm/Editing/Mutable/MutableKindOfQuantity.d.ts.map +1 -0
- package/lib/esm/Editing/Mutable/MutableKindOfQuantity.js +12 -0
- package/lib/esm/Editing/Mutable/MutableKindOfQuantity.js.map +1 -0
- package/lib/esm/Editing/Mutable/MutableMixin.d.ts +12 -0
- package/lib/esm/Editing/Mutable/MutableMixin.d.ts.map +1 -0
- package/lib/esm/Editing/Mutable/MutableMixin.js +12 -0
- package/lib/esm/Editing/Mutable/MutableMixin.js.map +1 -0
- package/lib/esm/Editing/Mutable/MutableNavigationProperty.d.ts +8 -0
- package/lib/esm/Editing/Mutable/MutableNavigationProperty.d.ts.map +1 -0
- package/lib/esm/Editing/Mutable/MutableNavigationProperty.js +12 -0
- package/lib/esm/Editing/Mutable/MutableNavigationProperty.js.map +1 -0
- package/lib/esm/Editing/Mutable/MutablePhenomenon.d.ts +11 -0
- package/lib/esm/Editing/Mutable/MutablePhenomenon.d.ts.map +1 -0
- package/lib/esm/Editing/Mutable/MutablePhenomenon.js +12 -0
- package/lib/esm/Editing/Mutable/MutablePhenomenon.js.map +1 -0
- package/lib/esm/Editing/Mutable/MutablePrimitiveOrEnumProperty.d.ts +13 -0
- package/lib/esm/Editing/Mutable/MutablePrimitiveOrEnumProperty.d.ts.map +1 -0
- package/lib/esm/Editing/Mutable/MutablePrimitiveOrEnumProperty.js +12 -0
- package/lib/esm/Editing/Mutable/MutablePrimitiveOrEnumProperty.js.map +1 -0
- package/lib/esm/Editing/Mutable/MutableProperty.d.ts +16 -0
- package/lib/esm/Editing/Mutable/MutableProperty.d.ts.map +1 -0
- package/lib/esm/Editing/Mutable/MutableProperty.js +12 -0
- package/lib/esm/Editing/Mutable/MutableProperty.js.map +1 -0
- package/lib/esm/Editing/Mutable/MutablePropertyCategory.d.ts +11 -0
- package/lib/esm/Editing/Mutable/MutablePropertyCategory.d.ts.map +1 -0
- package/lib/esm/Editing/Mutable/MutablePropertyCategory.js +12 -0
- package/lib/esm/Editing/Mutable/MutablePropertyCategory.js.map +1 -0
- package/lib/esm/Editing/Mutable/MutableRelationshipClass.d.ts +30 -0
- package/lib/esm/Editing/Mutable/MutableRelationshipClass.d.ts.map +1 -0
- package/lib/esm/Editing/Mutable/MutableRelationshipClass.js +20 -0
- package/lib/esm/Editing/Mutable/MutableRelationshipClass.js.map +1 -0
- package/lib/esm/Editing/Mutable/MutableSchema.d.ts +51 -0
- package/lib/esm/Editing/Mutable/MutableSchema.d.ts.map +1 -0
- package/lib/esm/Editing/Mutable/MutableSchema.js +14 -0
- package/lib/esm/Editing/Mutable/MutableSchema.js.map +1 -0
- package/lib/esm/Editing/Mutable/MutableSchemaItem.d.ts +11 -0
- package/lib/esm/Editing/Mutable/MutableSchemaItem.d.ts.map +1 -0
- package/lib/esm/Editing/Mutable/MutableSchemaItem.js +12 -0
- package/lib/esm/Editing/Mutable/MutableSchemaItem.js.map +1 -0
- package/lib/esm/Editing/Mutable/MutableStructProperty.d.ts +8 -0
- package/lib/esm/Editing/Mutable/MutableStructProperty.d.ts.map +1 -0
- package/lib/esm/Editing/Mutable/MutableStructProperty.js +12 -0
- package/lib/esm/Editing/Mutable/MutableStructProperty.js.map +1 -0
- package/lib/esm/Editing/Mutable/MutableUnit.d.ts +12 -0
- package/lib/esm/Editing/Mutable/MutableUnit.d.ts.map +1 -0
- package/lib/esm/Editing/Mutable/MutableUnit.js +12 -0
- package/lib/esm/Editing/Mutable/MutableUnit.js.map +1 -0
- package/lib/esm/Editing/Mutable/MutableUnitSystem.d.ts +10 -0
- package/lib/esm/Editing/Mutable/MutableUnitSystem.d.ts.map +1 -0
- package/lib/esm/Editing/Mutable/MutableUnitSystem.js +12 -0
- package/lib/esm/Editing/Mutable/MutableUnitSystem.js.map +1 -0
- package/lib/esm/Editing/Phenomena.d.ts +17 -0
- package/lib/esm/Editing/Phenomena.d.ts.map +1 -0
- package/lib/esm/Editing/Phenomena.js +44 -0
- package/lib/esm/Editing/Phenomena.js.map +1 -0
- package/lib/esm/Editing/Properties.d.ts +206 -0
- package/lib/esm/Editing/Properties.d.ts.map +1 -0
- package/lib/esm/Editing/Properties.js +415 -0
- package/lib/esm/Editing/Properties.js.map +1 -0
- package/lib/esm/Editing/PropertyCategories.d.ts +18 -0
- package/lib/esm/Editing/PropertyCategories.d.ts.map +1 -0
- package/lib/esm/Editing/PropertyCategories.js +54 -0
- package/lib/esm/Editing/PropertyCategories.js.map +1 -0
- package/lib/esm/Editing/RelationshipClasses.d.ts +69 -0
- package/lib/esm/Editing/RelationshipClasses.d.ts.map +1 -0
- package/lib/esm/Editing/RelationshipClasses.js +236 -0
- package/lib/esm/Editing/RelationshipClasses.js.map +1 -0
- package/lib/esm/Editing/SchemaItems.d.ts +42 -0
- package/lib/esm/Editing/SchemaItems.d.ts.map +1 -0
- package/lib/esm/Editing/SchemaItems.js +104 -0
- package/lib/esm/Editing/SchemaItems.js.map +1 -0
- package/lib/esm/Editing/Structs.d.ts +21 -0
- package/lib/esm/Editing/Structs.d.ts.map +1 -0
- package/lib/esm/Editing/Structs.js +47 -0
- package/lib/esm/Editing/Structs.js.map +1 -0
- package/lib/esm/Editing/UnitSystems.d.ts +17 -0
- package/lib/esm/Editing/UnitSystems.d.ts.map +1 -0
- package/lib/esm/Editing/UnitSystems.js +43 -0
- package/lib/esm/Editing/UnitSystems.js.map +1 -0
- package/lib/esm/Editing/Units.d.ts +17 -0
- package/lib/esm/Editing/Units.d.ts.map +1 -0
- package/lib/esm/Editing/Units.js +49 -0
- package/lib/esm/Editing/Units.js.map +1 -0
- package/lib/esm/Merging/ClassMerger.d.ts +9 -0
- package/lib/esm/Merging/ClassMerger.d.ts.map +1 -0
- package/lib/esm/Merging/ClassMerger.js +66 -0
- package/lib/esm/Merging/ClassMerger.js.map +1 -0
- package/lib/esm/Merging/ConstantMerger.d.ts +14 -0
- package/lib/esm/Merging/ConstantMerger.d.ts.map +1 -0
- package/lib/esm/Merging/ConstantMerger.js +64 -0
- package/lib/esm/Merging/ConstantMerger.js.map +1 -0
- package/lib/esm/Merging/CustomAttributeClassMerger.d.ts +14 -0
- package/lib/esm/Merging/CustomAttributeClassMerger.d.ts.map +1 -0
- package/lib/esm/Merging/CustomAttributeClassMerger.js +36 -0
- package/lib/esm/Merging/CustomAttributeClassMerger.js.map +1 -0
- package/lib/esm/Merging/CustomAttributeMerger.d.ts +19 -0
- package/lib/esm/Merging/CustomAttributeMerger.d.ts.map +1 -0
- package/lib/esm/Merging/CustomAttributeMerger.js +66 -0
- package/lib/esm/Merging/CustomAttributeMerger.js.map +1 -0
- package/lib/esm/Merging/Edits/NameMapping.d.ts +22 -0
- package/lib/esm/Merging/Edits/NameMapping.d.ts.map +1 -0
- package/lib/esm/Merging/Edits/NameMapping.js +49 -0
- package/lib/esm/Merging/Edits/NameMapping.js.map +1 -0
- package/lib/esm/Merging/Edits/RenameEditHandler.d.ts +14 -0
- package/lib/esm/Merging/Edits/RenameEditHandler.d.ts.map +1 -0
- package/lib/esm/Merging/Edits/RenameEditHandler.js +62 -0
- package/lib/esm/Merging/Edits/RenameEditHandler.js.map +1 -0
- package/lib/esm/Merging/Edits/SchemaEdits.d.ts +81 -0
- package/lib/esm/Merging/Edits/SchemaEdits.d.ts.map +1 -0
- package/lib/esm/Merging/Edits/SchemaEdits.js +112 -0
- package/lib/esm/Merging/Edits/SchemaEdits.js.map +1 -0
- package/lib/esm/Merging/Edits/SkipEditHandler.d.ts +14 -0
- package/lib/esm/Merging/Edits/SkipEditHandler.d.ts.map +1 -0
- package/lib/esm/Merging/Edits/SkipEditHandler.js +60 -0
- package/lib/esm/Merging/Edits/SkipEditHandler.js.map +1 -0
- package/lib/esm/Merging/EntityClassMerger.d.ts +19 -0
- package/lib/esm/Merging/EntityClassMerger.d.ts.map +1 -0
- package/lib/esm/Merging/EntityClassMerger.js +39 -0
- package/lib/esm/Merging/EntityClassMerger.js.map +1 -0
- package/lib/esm/Merging/EnumerationMerger.d.ts +14 -0
- package/lib/esm/Merging/EnumerationMerger.d.ts.map +1 -0
- package/lib/esm/Merging/EnumerationMerger.js +48 -0
- package/lib/esm/Merging/EnumerationMerger.js.map +1 -0
- package/lib/esm/Merging/EnumeratorMerger.d.ts +14 -0
- package/lib/esm/Merging/EnumeratorMerger.d.ts.map +1 -0
- package/lib/esm/Merging/EnumeratorMerger.js +36 -0
- package/lib/esm/Merging/EnumeratorMerger.js.map +1 -0
- package/lib/esm/Merging/FormatMerger.d.ts +24 -0
- package/lib/esm/Merging/FormatMerger.d.ts.map +1 -0
- package/lib/esm/Merging/FormatMerger.js +137 -0
- package/lib/esm/Merging/FormatMerger.js.map +1 -0
- package/lib/esm/Merging/InvertedUnitMerger.d.ts +14 -0
- package/lib/esm/Merging/InvertedUnitMerger.d.ts.map +1 -0
- package/lib/esm/Merging/InvertedUnitMerger.js +41 -0
- package/lib/esm/Merging/InvertedUnitMerger.js.map +1 -0
- package/lib/esm/Merging/KindOfQuantityMerger.d.ts +19 -0
- package/lib/esm/Merging/KindOfQuantityMerger.d.ts.map +1 -0
- package/lib/esm/Merging/KindOfQuantityMerger.js +89 -0
- package/lib/esm/Merging/KindOfQuantityMerger.js.map +1 -0
- package/lib/esm/Merging/MixinMerger.d.ts +14 -0
- package/lib/esm/Merging/MixinMerger.d.ts.map +1 -0
- package/lib/esm/Merging/MixinMerger.js +33 -0
- package/lib/esm/Merging/MixinMerger.js.map +1 -0
- package/lib/esm/Merging/PhenomenonMerger.d.ts +14 -0
- package/lib/esm/Merging/PhenomenonMerger.d.ts.map +1 -0
- package/lib/esm/Merging/PhenomenonMerger.js +36 -0
- package/lib/esm/Merging/PhenomenonMerger.js.map +1 -0
- package/lib/esm/Merging/PropertyCategoryMerger.d.ts +14 -0
- package/lib/esm/Merging/PropertyCategoryMerger.d.ts.map +1 -0
- package/lib/esm/Merging/PropertyCategoryMerger.js +31 -0
- package/lib/esm/Merging/PropertyCategoryMerger.js.map +1 -0
- package/lib/esm/Merging/PropertyMerger.d.ts +12 -0
- package/lib/esm/Merging/PropertyMerger.d.ts.map +1 -0
- package/lib/esm/Merging/PropertyMerger.js +228 -0
- package/lib/esm/Merging/PropertyMerger.js.map +1 -0
- package/lib/esm/Merging/RelationshipClassMerger.d.ts +27 -0
- package/lib/esm/Merging/RelationshipClassMerger.d.ts.map +1 -0
- package/lib/esm/Merging/RelationshipClassMerger.js +136 -0
- package/lib/esm/Merging/RelationshipClassMerger.js.map +1 -0
- package/lib/esm/Merging/SchemaMerger.d.ts +49 -0
- package/lib/esm/Merging/SchemaMerger.d.ts.map +1 -0
- package/lib/esm/Merging/SchemaMerger.js +117 -0
- package/lib/esm/Merging/SchemaMerger.js.map +1 -0
- package/lib/esm/Merging/SchemaMergingVisitor.d.ts +149 -0
- package/lib/esm/Merging/SchemaMergingVisitor.d.ts.map +1 -0
- package/lib/esm/Merging/SchemaMergingVisitor.js +339 -0
- package/lib/esm/Merging/SchemaMergingVisitor.js.map +1 -0
- package/lib/esm/Merging/SchemaMergingWalker.d.ts +19 -0
- package/lib/esm/Merging/SchemaMergingWalker.d.ts.map +1 -0
- package/lib/esm/Merging/SchemaMergingWalker.js +61 -0
- package/lib/esm/Merging/SchemaMergingWalker.js.map +1 -0
- package/lib/esm/Merging/SchemaReferenceMerger.d.ts +13 -0
- package/lib/esm/Merging/SchemaReferenceMerger.d.ts.map +1 -0
- package/lib/esm/Merging/SchemaReferenceMerger.js +57 -0
- package/lib/esm/Merging/SchemaReferenceMerger.js.map +1 -0
- package/lib/esm/Merging/StructClassMerger.d.ts +14 -0
- package/lib/esm/Merging/StructClassMerger.d.ts.map +1 -0
- package/lib/esm/Merging/StructClassMerger.js +20 -0
- package/lib/esm/Merging/StructClassMerger.js.map +1 -0
- package/lib/esm/Merging/UnitMerger.d.ts +14 -0
- package/lib/esm/Merging/UnitMerger.d.ts.map +1 -0
- package/lib/esm/Merging/UnitMerger.js +58 -0
- package/lib/esm/Merging/UnitMerger.js.map +1 -0
- package/lib/esm/Merging/UnitSystemMerger.d.ts +14 -0
- package/lib/esm/Merging/UnitSystemMerger.d.ts.map +1 -0
- package/lib/esm/Merging/UnitSystemMerger.js +24 -0
- package/lib/esm/Merging/UnitSystemMerger.js.map +1 -0
- package/lib/esm/Merging/Utils.d.ts +34 -0
- package/lib/esm/Merging/Utils.d.ts.map +1 -0
- package/lib/esm/Merging/Utils.js +90 -0
- package/lib/esm/Merging/Utils.js.map +1 -0
- package/lib/esm/Validation/Diagnostic.d.ts +322 -0
- package/lib/esm/Validation/Diagnostic.d.ts.map +1 -0
- package/lib/esm/Validation/Diagnostic.js +295 -0
- package/lib/esm/Validation/Diagnostic.js.map +1 -0
- package/lib/esm/Validation/DiagnosticReporter.d.ts +97 -0
- package/lib/esm/Validation/DiagnosticReporter.d.ts.map +1 -0
- package/lib/esm/Validation/DiagnosticReporter.js +105 -0
- package/lib/esm/Validation/DiagnosticReporter.js.map +1 -0
- package/lib/esm/Validation/ECRules.d.ts +454 -0
- package/lib/esm/Validation/ECRules.d.ts.map +1 -0
- package/lib/esm/Validation/ECRules.js +578 -0
- package/lib/esm/Validation/ECRules.js.map +1 -0
- package/lib/esm/Validation/LoggingDiagnosticReporter.d.ts +14 -0
- package/lib/esm/Validation/LoggingDiagnosticReporter.d.ts.map +1 -0
- package/lib/esm/Validation/LoggingDiagnosticReporter.js +37 -0
- package/lib/esm/Validation/LoggingDiagnosticReporter.js.map +1 -0
- package/lib/esm/Validation/RuleSuppressionSet.d.ts +60 -0
- package/lib/esm/Validation/RuleSuppressionSet.d.ts.map +1 -0
- package/lib/esm/Validation/RuleSuppressionSet.js +9 -0
- package/lib/esm/Validation/RuleSuppressionSet.js.map +1 -0
- package/lib/esm/Validation/Rules.d.ts +65 -0
- package/lib/esm/Validation/Rules.d.ts.map +1 -0
- package/lib/esm/Validation/Rules.js +9 -0
- package/lib/esm/Validation/Rules.js.map +1 -0
- package/lib/esm/Validation/SchemaChanges.d.ts +640 -0
- package/lib/esm/Validation/SchemaChanges.d.ts.map +1 -0
- package/lib/esm/Validation/SchemaChanges.js +1141 -0
- package/lib/esm/Validation/SchemaChanges.js.map +1 -0
- package/lib/esm/Validation/SchemaCompareDiagnostics.d.ts +423 -0
- package/lib/esm/Validation/SchemaCompareDiagnostics.d.ts.map +1 -0
- package/lib/esm/Validation/SchemaCompareDiagnostics.js +109 -0
- package/lib/esm/Validation/SchemaCompareDiagnostics.js.map +1 -0
- package/lib/esm/Validation/SchemaCompareReporter.d.ts +12 -0
- package/lib/esm/Validation/SchemaCompareReporter.d.ts.map +1 -0
- package/lib/esm/Validation/SchemaCompareReporter.js +9 -0
- package/lib/esm/Validation/SchemaCompareReporter.js.map +1 -0
- package/lib/esm/Validation/SchemaCompareResultDelegate.d.ts +237 -0
- package/lib/esm/Validation/SchemaCompareResultDelegate.d.ts.map +1 -0
- package/lib/esm/Validation/SchemaCompareResultDelegate.js +346 -0
- package/lib/esm/Validation/SchemaCompareResultDelegate.js.map +1 -0
- package/lib/esm/Validation/SchemaCompareVisitor.d.ts +120 -0
- package/lib/esm/Validation/SchemaCompareVisitor.d.ts.map +1 -0
- package/lib/esm/Validation/SchemaCompareVisitor.js +222 -0
- package/lib/esm/Validation/SchemaCompareVisitor.js.map +1 -0
- package/lib/esm/Validation/SchemaComparer.d.ts +211 -0
- package/lib/esm/Validation/SchemaComparer.d.ts.map +1 -0
- package/lib/esm/Validation/SchemaComparer.js +770 -0
- package/lib/esm/Validation/SchemaComparer.js.map +1 -0
- package/lib/esm/Validation/SchemaValidater.d.ts +20 -0
- package/lib/esm/Validation/SchemaValidater.d.ts.map +1 -0
- package/lib/esm/Validation/SchemaValidater.js +55 -0
- package/lib/esm/Validation/SchemaValidater.js.map +1 -0
- package/lib/esm/Validation/SchemaValidationVisitor.d.ts +171 -0
- package/lib/esm/Validation/SchemaValidationVisitor.d.ts.map +1 -0
- package/lib/esm/Validation/SchemaValidationVisitor.js +488 -0
- package/lib/esm/Validation/SchemaValidationVisitor.js.map +1 -0
- package/lib/esm/Validation/SchemaWalker.d.ts +23 -0
- package/lib/esm/Validation/SchemaWalker.d.ts.map +1 -0
- package/lib/esm/Validation/SchemaWalker.js +50 -0
- package/lib/esm/Validation/SchemaWalker.js.map +1 -0
- package/lib/esm/ecschema-editing.d.ts +49 -0
- package/lib/esm/ecschema-editing.d.ts.map +1 -0
- package/lib/esm/ecschema-editing.js +52 -0
- package/lib/esm/ecschema-editing.js.map +1 -0
- package/package.json +12 -10
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
/*---------------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
3
|
+
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
4
|
+
*--------------------------------------------------------------------------------------------*/
|
|
5
|
+
/** @packageDocumentation
|
|
6
|
+
* @module Comparison
|
|
7
|
+
*/
|
|
8
|
+
import { createClassDiagnosticClass, createCustomAttributeContainerDiagnosticClass, createPropertyDiagnosticClass, createRelationshipConstraintDiagnosticClass, createSchemaDiagnosticClass, createSchemaItemDiagnosticClass, } from "./Diagnostic";
|
|
9
|
+
/* eslint-disable @typescript-eslint/naming-convention */
|
|
10
|
+
/**
|
|
11
|
+
* The unique diagnostic codes for Schema comparison.
|
|
12
|
+
* @beta
|
|
13
|
+
*/
|
|
14
|
+
export const SchemaCompareCodes = {
|
|
15
|
+
SchemaDelta: "SC-100",
|
|
16
|
+
SchemaReferenceMissing: "SC-101",
|
|
17
|
+
SchemaItemDelta: "SC-102",
|
|
18
|
+
SchemaItemMissing: "SC-103",
|
|
19
|
+
ClassDelta: "SC-104",
|
|
20
|
+
BaseClassDelta: "SC-105",
|
|
21
|
+
PropertyDelta: "SC-106",
|
|
22
|
+
PropertyMissing: "SC-107",
|
|
23
|
+
EntityMixinMissing: "SC-108",
|
|
24
|
+
MixinDelta: "SC-109",
|
|
25
|
+
RelationshipDelta: "SC-110",
|
|
26
|
+
RelationshipConstraintDelta: "SC-111",
|
|
27
|
+
RelationshipConstraintClassMissing: "SC-112",
|
|
28
|
+
CustomAttributeClassDelta: "SC-113",
|
|
29
|
+
CustomAttributeInstanceClassMissing: "SC-114",
|
|
30
|
+
EnumerationDelta: "SC-115",
|
|
31
|
+
EnumeratorMissing: "SC-116",
|
|
32
|
+
EnumeratorDelta: "SC-117",
|
|
33
|
+
KoqDelta: "SC-118",
|
|
34
|
+
PresentationUnitMissing: "SC-119",
|
|
35
|
+
PropertyCategoryDelta: "SC-120",
|
|
36
|
+
FormatDelta: "SC-121",
|
|
37
|
+
FormatUnitMissing: "SC-122",
|
|
38
|
+
UnitLabelOverrideDelta: "SC-123",
|
|
39
|
+
UnitDelta: "SC-124",
|
|
40
|
+
InvertedUnitDelta: "SC-125",
|
|
41
|
+
PhenomenonDelta: "SC-126",
|
|
42
|
+
ConstantDelta: "SC-127",
|
|
43
|
+
SchemaReferenceDelta: "SC-128",
|
|
44
|
+
};
|
|
45
|
+
/**
|
|
46
|
+
* The list of [[IDiagnostic]] implementation classes used by the Schema comparison framework.
|
|
47
|
+
* @beta
|
|
48
|
+
*/
|
|
49
|
+
export const SchemaCompareDiagnostics = {
|
|
50
|
+
/** Required message parameters: property name, property A value, property B value */
|
|
51
|
+
SchemaDelta: createSchemaDiagnosticClass(SchemaCompareCodes.SchemaDelta, ""),
|
|
52
|
+
/** Required message parameters: reference schema name */
|
|
53
|
+
SchemaReferenceMissing: createSchemaDiagnosticClass(SchemaCompareCodes.SchemaReferenceMissing, ""),
|
|
54
|
+
/** Required message parameters: schema name, version A, version B */
|
|
55
|
+
SchemaReferenceDelta: createSchemaDiagnosticClass(SchemaCompareCodes.SchemaReferenceDelta, ""),
|
|
56
|
+
/** Required message parameters: property name, property A value, property B value */
|
|
57
|
+
SchemaItemDelta: createSchemaItemDiagnosticClass(SchemaCompareCodes.SchemaItemDelta, ""),
|
|
58
|
+
/** Required message parameters: none */
|
|
59
|
+
SchemaItemMissing: createSchemaItemDiagnosticClass(SchemaCompareCodes.SchemaItemMissing, ""),
|
|
60
|
+
/** Required message parameters: property name, property A value, property B value */
|
|
61
|
+
ClassDelta: createClassDiagnosticClass(SchemaCompareCodes.ClassDelta, ""),
|
|
62
|
+
/** Required message parameters: Class A base class, Class B base class */
|
|
63
|
+
BaseClassDelta: createClassDiagnosticClass(SchemaCompareCodes.BaseClassDelta, ""),
|
|
64
|
+
/** Required message parameters: property name, property A value, property B value */
|
|
65
|
+
PropertyDelta: createPropertyDiagnosticClass(SchemaCompareCodes.PropertyDelta, ""),
|
|
66
|
+
/** Required message parameters: none */
|
|
67
|
+
PropertyMissing: createPropertyDiagnosticClass(SchemaCompareCodes.PropertyMissing, ""),
|
|
68
|
+
/** Required message parameters: Mixin */
|
|
69
|
+
EntityMixinMissing: createSchemaItemDiagnosticClass(SchemaCompareCodes.EntityMixinMissing, ""),
|
|
70
|
+
/** Required message parameters: property name, property A value, property B value */
|
|
71
|
+
MixinDelta: createSchemaItemDiagnosticClass(SchemaCompareCodes.MixinDelta, ""),
|
|
72
|
+
/** Required message parameters: property name, property A value, property B value */
|
|
73
|
+
RelationshipDelta: createSchemaItemDiagnosticClass(SchemaCompareCodes.RelationshipDelta, ""),
|
|
74
|
+
/** Required message parameters: property name, property A value, property B value */
|
|
75
|
+
RelationshipConstraintDelta: createRelationshipConstraintDiagnosticClass(SchemaCompareCodes.RelationshipConstraintDelta, ""),
|
|
76
|
+
/** Required message parameters: constraint class */
|
|
77
|
+
RelationshipConstraintClassMissing: createRelationshipConstraintDiagnosticClass(SchemaCompareCodes.RelationshipConstraintClassMissing, ""),
|
|
78
|
+
/** Required message parameters: property name, property A value, property B value */
|
|
79
|
+
CustomAttributeClassDelta: createSchemaItemDiagnosticClass(SchemaCompareCodes.CustomAttributeClassDelta, ""),
|
|
80
|
+
/** Required message parameters: CustomAttributeClass name */
|
|
81
|
+
CustomAttributeInstanceClassMissing: createCustomAttributeContainerDiagnosticClass(SchemaCompareCodes.CustomAttributeInstanceClassMissing, ""),
|
|
82
|
+
/** Required message parameters: property name, property A value, property B value */
|
|
83
|
+
EnumerationDelta: createSchemaItemDiagnosticClass(SchemaCompareCodes.EnumerationDelta, ""),
|
|
84
|
+
/** Required message parameters: Enumerator */
|
|
85
|
+
EnumeratorMissing: createSchemaItemDiagnosticClass(SchemaCompareCodes.EnumeratorMissing, ""),
|
|
86
|
+
/** Required message parameters: Enumerator property name, property A value, property B value */
|
|
87
|
+
EnumeratorDelta: createSchemaItemDiagnosticClass(SchemaCompareCodes.EnumeratorDelta, ""),
|
|
88
|
+
/** Required message parameters: property name, property A value, property B value */
|
|
89
|
+
KoqDelta: createSchemaItemDiagnosticClass(SchemaCompareCodes.KoqDelta, ""),
|
|
90
|
+
/** Required message parameters: PresentationUnit (Format | OverrideFormat) */
|
|
91
|
+
PresentationUnitMissing: createSchemaItemDiagnosticClass(SchemaCompareCodes.PresentationUnitMissing, ""),
|
|
92
|
+
/** Required message parameters: property name, property A value, property B value */
|
|
93
|
+
PropertyCategoryDelta: createSchemaItemDiagnosticClass(SchemaCompareCodes.PropertyCategoryDelta, ""),
|
|
94
|
+
/** Required message parameters: property name, property A value, property B value */
|
|
95
|
+
FormatDelta: createSchemaItemDiagnosticClass(SchemaCompareCodes.FormatDelta, ""),
|
|
96
|
+
/** Required message parameters: Unit or InvertedUnit */
|
|
97
|
+
FormatUnitMissing: createSchemaItemDiagnosticClass(SchemaCompareCodes.FormatUnitMissing, ""),
|
|
98
|
+
/** Required message parameters: Unit or InvertedUnit, label A, label B */
|
|
99
|
+
UnitLabelOverrideDelta: createSchemaItemDiagnosticClass(SchemaCompareCodes.UnitLabelOverrideDelta, ""),
|
|
100
|
+
/** Required message parameters: property name, property A value, property B value */
|
|
101
|
+
UnitDelta: createSchemaItemDiagnosticClass(SchemaCompareCodes.UnitDelta, ""),
|
|
102
|
+
/** Required message parameters: property name, property A value, property B value */
|
|
103
|
+
InvertedUnitDelta: createSchemaItemDiagnosticClass(SchemaCompareCodes.InvertedUnitDelta, ""),
|
|
104
|
+
/** Required message parameters: property name, property A value, property B value */
|
|
105
|
+
PhenomenonDelta: createSchemaItemDiagnosticClass(SchemaCompareCodes.PhenomenonDelta, ""),
|
|
106
|
+
/** Required message parameters: property name, property A value, property B value */
|
|
107
|
+
ConstantDelta: createSchemaItemDiagnosticClass(SchemaCompareCodes.ConstantDelta, ""),
|
|
108
|
+
};
|
|
109
|
+
//# sourceMappingURL=SchemaCompareDiagnostics.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SchemaCompareDiagnostics.js","sourceRoot":"","sources":["../../../src/Validation/SchemaCompareDiagnostics.ts"],"names":[],"mappings":"AAAA;;;+FAG+F;AAC/F;;GAEG;AAMH,OAAO,EACL,0BAA0B,EAAE,6CAA6C,EAAE,6BAA6B,EACxG,2CAA2C,EAAE,2BAA2B,EAAE,+BAA+B,GAC1G,MAAM,cAAc,CAAC;AAEtB,yDAAyD;AAEzD;;;GAGG;AACH,MAAM,CAAC,MAAM,kBAAkB,GAAG;IAChC,WAAW,EAAE,QAAQ;IACrB,sBAAsB,EAAE,QAAQ;IAChC,eAAe,EAAE,QAAQ;IACzB,iBAAiB,EAAE,QAAQ;IAC3B,UAAU,EAAE,QAAQ;IACpB,cAAc,EAAE,QAAQ;IACxB,a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CAAC,QAAQ,EAAE,EAAE,CAAC;IAE9G,8EAA8E;IAC9E,uBAAuB,EAAE,+BAA+B,CAA4C,kBAAkB,CAAC,uBAAuB,EAAE,EAAE,CAAC;IAEnJ,sFAAsF;IACtF,qBAAqB,EAAE,+BAA+B,CAAuC,kBAAkB,CAAC,qBAAqB,EAAE,EAAE,CAAC;IAE1I,sFAAsF;IACtF,WAAW,EAAE,+BAA+B,CAA6B,kBAAkB,CAAC,WAAW,EAAE,EAAE,CAAC;IAE5G,wDAAwD;IACxD,iBAAiB,EAAE,+BAA+B,CAAoD,kBAAkB,CAAC,iBAAiB,EAAE,EAAE,CAAC;IAE/I,0EAA0E;IAC1E,sBAAsB,EAAE,+BAA+B,CAAwE,kBAAkB,CAAC,sBAAsB,EAAE,EAAE,CAAC;IAE7K,sFAAsF;IACtF,SAAS,EAAE,+BAA+B,CAAmC,kBAAkB,CAAC,SAAS,EAAE,EAAE,CAAC;IAE9G,sFAAsF;IACtF,iBAAiB,EAAE,+BAA+B,CAAyC,kBAAkB,CAAC,iBAAiB,EAAE,EAAE,CAAC;IAEpI,sFAAsF;IACtF,eAAe,EAAE,+BAA+B,CAAyC,kBAAkB,CAAC,eAAe,EAAE,EAAE,CAAC;IAEhI,sFAAsF;IACtF,aAAa,EAAE,+BAA+B,CAAqC,kBAAkB,CAAC,aAAa,EAAE,EAAE,CAAC;CACzH,CAAC","sourcesContent":["/*---------------------------------------------------------------------------------------------\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\n* See LICENSE.md in the project root for license terms and full copyright notice.\n*--------------------------------------------------------------------------------------------*/\n/** @packageDocumentation\n * @module Comparison\n */\n\nimport { AnyClass, AnyEnumerator, Constant, CustomAttribute, CustomAttributeClass, EntityClass,\n Enumeration, Format, InvertedUnit, KindOfQuantity, Mixin, OverrideFormat, PropertyCategory,\n RelationshipClass, Schema, SchemaItem, Unit,\n} from \"@itwin/ecschema-metadata\";\nimport {\n createClassDiagnosticClass, createCustomAttributeContainerDiagnosticClass, createPropertyDiagnosticClass,\n createRelationshipConstraintDiagnosticClass, createSchemaDiagnosticClass, createSchemaItemDiagnosticClass,\n} from \"./Diagnostic\";\n\n/* eslint-disable @typescript-eslint/naming-convention */\n\n/**\n * The unique diagnostic codes for Schema comparison.\n * @beta\n */\nexport const SchemaCompareCodes = {\n SchemaDelta: \"SC-100\",\n SchemaReferenceMissing: \"SC-101\",\n SchemaItemDelta: \"SC-102\",\n SchemaItemMissing: \"SC-103\",\n ClassDelta: \"SC-104\",\n BaseClassDelta: \"SC-105\",\n PropertyDelta: \"SC-106\",\n PropertyMissing: \"SC-107\",\n EntityMixinMissing: \"SC-108\",\n MixinDelta: \"SC-109\",\n RelationshipDelta: \"SC-110\",\n RelationshipConstraintDelta: \"SC-111\",\n RelationshipConstraintClassMissing: \"SC-112\",\n CustomAttributeClassDelta: \"SC-113\",\n CustomAttributeInstanceClassMissing: \"SC-114\",\n EnumerationDelta: \"SC-115\",\n EnumeratorMissing: \"SC-116\",\n EnumeratorDelta: \"SC-117\",\n KoqDelta: \"SC-118\",\n PresentationUnitMissing: \"SC-119\",\n PropertyCategoryDelta: \"SC-120\",\n FormatDelta: \"SC-121\",\n FormatUnitMissing: \"SC-122\",\n UnitLabelOverrideDelta: \"SC-123\",\n UnitDelta: \"SC-124\",\n InvertedUnitDelta: \"SC-125\",\n PhenomenonDelta: \"SC-126\",\n ConstantDelta: \"SC-127\",\n SchemaReferenceDelta: \"SC-128\",\n};\n\n/**\n * The list of [[IDiagnostic]] implementation classes used by the Schema comparison framework.\n * @beta\n */\nexport const SchemaCompareDiagnostics = {\n /** Required message parameters: property name, property A value, property B value */\n SchemaDelta: createSchemaDiagnosticClass<[string, any, any]>(SchemaCompareCodes.SchemaDelta, \"\"),\n\n /** Required message parameters: reference schema name */\n SchemaReferenceMissing: createSchemaDiagnosticClass<[Schema]>(SchemaCompareCodes.SchemaReferenceMissing, \"\"),\n\n /** Required message parameters: schema name, version A, version B */\n SchemaReferenceDelta: createSchemaDiagnosticClass<[Schema, string, string]>(SchemaCompareCodes.SchemaReferenceDelta, \"\"),\n\n /** Required message parameters: property name, property A value, property B value */\n SchemaItemDelta: createSchemaItemDiagnosticClass<SchemaItem, [string, any, any]>(SchemaCompareCodes.SchemaItemDelta, \"\"),\n\n /** Required message parameters: none */\n SchemaItemMissing: createSchemaItemDiagnosticClass<SchemaItem, []>(SchemaCompareCodes.SchemaItemMissing, \"\"),\n\n /** Required message parameters: property name, property A value, property B value */\n ClassDelta: createClassDiagnosticClass<[string, any, any]>(SchemaCompareCodes.ClassDelta, \"\"),\n\n /** Required message parameters: Class A base class, Class B base class */\n BaseClassDelta: createClassDiagnosticClass<[AnyClass | undefined, AnyClass | undefined]>(SchemaCompareCodes.BaseClassDelta, \"\"),\n\n /** Required message parameters: property name, property A value, property B value */\n PropertyDelta: createPropertyDiagnosticClass<[string, any, any]>(SchemaCompareCodes.PropertyDelta, \"\"),\n\n /** Required message parameters: none */\n PropertyMissing: createPropertyDiagnosticClass<[]>(SchemaCompareCodes.PropertyMissing, \"\"),\n\n /** Required message parameters: Mixin */\n EntityMixinMissing: createSchemaItemDiagnosticClass<EntityClass, [Mixin]>(SchemaCompareCodes.EntityMixinMissing, \"\"),\n\n /** Required message parameters: property name, property A value, property B value */\n MixinDelta: createSchemaItemDiagnosticClass<Mixin, [string, any, any]>(SchemaCompareCodes.MixinDelta, \"\"),\n\n /** Required message parameters: property name, property A value, property B value */\n RelationshipDelta: createSchemaItemDiagnosticClass<RelationshipClass, [string, any, any]>(SchemaCompareCodes.RelationshipDelta, \"\"),\n\n /** Required message parameters: property name, property A value, property B value */\n RelationshipConstraintDelta: createRelationshipConstraintDiagnosticClass<[string, any, any]>(SchemaCompareCodes.RelationshipConstraintDelta, \"\"),\n\n /** Required message parameters: constraint class */\n RelationshipConstraintClassMissing: createRelationshipConstraintDiagnosticClass<[AnyClass]>(SchemaCompareCodes.RelationshipConstraintClassMissing, \"\"),\n\n /** Required message parameters: property name, property A value, property B value */\n CustomAttributeClassDelta: createSchemaItemDiagnosticClass<CustomAttributeClass, [string, any, any]>(SchemaCompareCodes.CustomAttributeClassDelta, \"\"),\n\n /** Required message parameters: CustomAttributeClass name */\n CustomAttributeInstanceClassMissing: createCustomAttributeContainerDiagnosticClass<[CustomAttribute]>(SchemaCompareCodes.CustomAttributeInstanceClassMissing, \"\"),\n\n /** Required message parameters: property name, property A value, property B value */\n EnumerationDelta: createSchemaItemDiagnosticClass<Enumeration, [string, string, string]>(SchemaCompareCodes.EnumerationDelta, \"\"),\n\n /** Required message parameters: Enumerator */\n EnumeratorMissing: createSchemaItemDiagnosticClass<Enumeration, [AnyEnumerator]>(SchemaCompareCodes.EnumeratorMissing, \"\"),\n\n /** Required message parameters: Enumerator property name, property A value, property B value */\n EnumeratorDelta: createSchemaItemDiagnosticClass<Enumeration, [AnyEnumerator, string, any, any]>(SchemaCompareCodes.EnumeratorDelta, \"\"),\n\n /** Required message parameters: property name, property A value, property B value */\n KoqDelta: createSchemaItemDiagnosticClass<KindOfQuantity, [string, any, any]>(SchemaCompareCodes.KoqDelta, \"\"),\n\n /** Required message parameters: PresentationUnit (Format | OverrideFormat) */\n PresentationUnitMissing: createSchemaItemDiagnosticClass<KindOfQuantity, [Format | OverrideFormat]>(SchemaCompareCodes.PresentationUnitMissing, \"\"),\n\n /** Required message parameters: property name, property A value, property B value */\n PropertyCategoryDelta: createSchemaItemDiagnosticClass<PropertyCategory, [string, any, any]>(SchemaCompareCodes.PropertyCategoryDelta, \"\"),\n\n /** Required message parameters: property name, property A value, property B value */\n FormatDelta: createSchemaItemDiagnosticClass<Format, [string, any, any]>(SchemaCompareCodes.FormatDelta, \"\"),\n\n /** Required message parameters: Unit or InvertedUnit */\n FormatUnitMissing: createSchemaItemDiagnosticClass<Format, [Unit | InvertedUnit, string | undefined]>(SchemaCompareCodes.FormatUnitMissing, \"\"),\n\n /** Required message parameters: Unit or InvertedUnit, label A, label B */\n UnitLabelOverrideDelta: createSchemaItemDiagnosticClass<Format, [Unit | InvertedUnit, string | undefined, string | undefined]>(SchemaCompareCodes.UnitLabelOverrideDelta, \"\"),\n\n /** Required message parameters: property name, property A value, property B value */\n UnitDelta: createSchemaItemDiagnosticClass<Format, [string, string, string]>(SchemaCompareCodes.UnitDelta, \"\"),\n\n /** Required message parameters: property name, property A value, property B value */\n InvertedUnitDelta: createSchemaItemDiagnosticClass<InvertedUnit, [string, string, string]>(SchemaCompareCodes.InvertedUnitDelta, \"\"),\n\n /** Required message parameters: property name, property A value, property B value */\n PhenomenonDelta: createSchemaItemDiagnosticClass<InvertedUnit, [string, string, string]>(SchemaCompareCodes.PhenomenonDelta, \"\"),\n\n /** Required message parameters: property name, property A value, property B value */\n ConstantDelta: createSchemaItemDiagnosticClass<Constant, [string, string, string]>(SchemaCompareCodes.ConstantDelta, \"\"),\n};\n"]}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/** @packageDocumentation
|
|
2
|
+
* @module Comparison
|
|
3
|
+
*/
|
|
4
|
+
import { ISchemaChanges } from "./SchemaChanges";
|
|
5
|
+
/**
|
|
6
|
+
* Interface for reporting ISchemaChanges objects.
|
|
7
|
+
* @alpha
|
|
8
|
+
*/
|
|
9
|
+
export interface ISchemaCompareReporter {
|
|
10
|
+
report(schemaChanges: ISchemaChanges): void;
|
|
11
|
+
}
|
|
12
|
+
//# sourceMappingURL=SchemaCompareReporter.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SchemaCompareReporter.d.ts","sourceRoot":"","sources":["../../../src/Validation/SchemaCompareReporter.ts"],"names":[],"mappings":"AAIA;;GAEG;AAEH,OAAO,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAEjD;;;GAGG;AACH,MAAM,WAAW,sBAAsB;IACrC,MAAM,CAAC,aAAa,EAAE,cAAc,GAAG,IAAI,CAAC;CAC7C"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/*---------------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
3
|
+
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
4
|
+
*--------------------------------------------------------------------------------------------*/
|
|
5
|
+
/** @packageDocumentation
|
|
6
|
+
* @module Comparison
|
|
7
|
+
*/
|
|
8
|
+
export {};
|
|
9
|
+
//# sourceMappingURL=SchemaCompareReporter.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SchemaCompareReporter.js","sourceRoot":"","sources":["../../../src/Validation/SchemaCompareReporter.ts"],"names":[],"mappings":"AAAA;;;+FAG+F;AAC/F;;GAEG","sourcesContent":["/*---------------------------------------------------------------------------------------------\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\n* See LICENSE.md in the project root for license terms and full copyright notice.\n*--------------------------------------------------------------------------------------------*/\n/** @packageDocumentation\n * @module Comparison\n */\n\nimport { ISchemaChanges } from \"./SchemaChanges\";\n\n/**\n * Interface for reporting ISchemaChanges objects.\n * @alpha\n */\nexport interface ISchemaCompareReporter {\n report(schemaChanges: ISchemaChanges): void;\n}\n"]}
|
|
@@ -0,0 +1,237 @@
|
|
|
1
|
+
/** @packageDocumentation
|
|
2
|
+
* @module Comparison
|
|
3
|
+
*/
|
|
4
|
+
import { AnyClass, AnyEnumerator, AnyProperty, Constant, CustomAttribute, CustomAttributeClass, CustomAttributeContainerProps, EntityClass, Enumeration, Format, InvertedUnit, KindOfQuantity, Mixin, OverrideFormat, Phenomenon, PropertyCategory, RelationshipClass, RelationshipConstraint, Schema, SchemaItem, Unit } from "@itwin/ecschema-metadata";
|
|
5
|
+
import { SchemaCompareDirection } from "./SchemaComparer";
|
|
6
|
+
import { ISchemaCompareReporter } from "./SchemaCompareReporter";
|
|
7
|
+
/**
|
|
8
|
+
* Used by the [[SchemaComparer]] to report differences found during schema comparison.
|
|
9
|
+
* @internal
|
|
10
|
+
*/
|
|
11
|
+
export declare class SchemaCompareResultDelegate {
|
|
12
|
+
private _schemaChangeReporters;
|
|
13
|
+
private _schemaAChanges;
|
|
14
|
+
private _schemaBChanges;
|
|
15
|
+
/**
|
|
16
|
+
* Initializes a new SchemaCompareResultDelegate instance.
|
|
17
|
+
* @param reporters The [[ISchemaCompareReporter]] objects to use to report schema differences.
|
|
18
|
+
*/
|
|
19
|
+
constructor(schemaA: Schema, schemaB: Schema, ...reporters: ISchemaCompareReporter[]);
|
|
20
|
+
get schemaChangeReporters(): ISchemaCompareReporter[];
|
|
21
|
+
/**
|
|
22
|
+
* Called by the SchemaComparer when the comparison is complete.
|
|
23
|
+
*/
|
|
24
|
+
compareComplete(): void;
|
|
25
|
+
/**
|
|
26
|
+
* Reports differences between Schema properties.
|
|
27
|
+
* @param schemaA The first Schema supplied for comparison.
|
|
28
|
+
* @param propertyName The name of the property.
|
|
29
|
+
* @param valueA The value from the first Schema.
|
|
30
|
+
* @param valueB The value from the second Schema.
|
|
31
|
+
*/
|
|
32
|
+
reportSchemaDelta(schemaA: Schema, propertyName: string, valueA: any, valueB: any, _compareDirection: SchemaCompareDirection): Promise<void>;
|
|
33
|
+
/**
|
|
34
|
+
* Reports differences in the schema reference collection of two schemas.
|
|
35
|
+
* @param schemaA The first Schema supplied for comparison.
|
|
36
|
+
* @param referenceSchema The missing schema reference.
|
|
37
|
+
*/
|
|
38
|
+
reportSchemaReferenceMissing(schemaA: Schema, referenceSchema: Schema, _compareDirection: SchemaCompareDirection): Promise<void>;
|
|
39
|
+
/**
|
|
40
|
+
* Reports differences in the schema reference collection of two schemas where the reference version differs.
|
|
41
|
+
* @param schemaA The first Schema supplied for comparison.
|
|
42
|
+
* @param referenceSchema The missing schema reference.
|
|
43
|
+
*/
|
|
44
|
+
reportSchemaReferenceDelta(schemaA: Schema, referenceSchema: Schema, versionA: string, versionB: string, _compareDirection: SchemaCompareDirection): Promise<void>;
|
|
45
|
+
/**
|
|
46
|
+
* Reports that a given SchemaItem could not be found in the second Schema.
|
|
47
|
+
* @param schemaItemA The SchemaItem from the first Schema.
|
|
48
|
+
*/
|
|
49
|
+
reportSchemaItemMissing(schemaItemA: SchemaItem, _compareDirection: SchemaCompareDirection): Promise<void>;
|
|
50
|
+
/**
|
|
51
|
+
* Reports differences between SchemaItem properties.
|
|
52
|
+
* @param schemaItemA The first SchemaItem supplied for comparison.
|
|
53
|
+
* @param propertyName The name of the property.
|
|
54
|
+
* @param valueA The value from the first SchemaItem.
|
|
55
|
+
* @param valueB The value from the second SchemaItem.
|
|
56
|
+
*/
|
|
57
|
+
reportSchemaItemDelta(schemaItemA: SchemaItem, propertyName: string, valueA: any, valueB: any, _compareDirection: SchemaCompareDirection): Promise<void>;
|
|
58
|
+
/**
|
|
59
|
+
* Reports differences between ECClass properties.
|
|
60
|
+
* @param classA The first ECClass supplied for comparison.
|
|
61
|
+
* @param propertyName The name of the property.
|
|
62
|
+
* @param valueA The value from the first ECClass.
|
|
63
|
+
* @param valueB The value from the second ECClass.
|
|
64
|
+
*/
|
|
65
|
+
reportClassDelta(classA: AnyClass, propertyName: string, valueA: any, valueB: any, _compareDirection: SchemaCompareDirection): Promise<void>;
|
|
66
|
+
/**
|
|
67
|
+
* Reports differences of the base class defined between two ECClass objects.
|
|
68
|
+
* @param classA The first ECClass supplied for comparison.
|
|
69
|
+
* @param baseClassA The base class of the first ECClass.
|
|
70
|
+
* @param baseClassB The base class of the second ECClass.
|
|
71
|
+
*/
|
|
72
|
+
reportBaseClassDelta(classA: AnyClass, baseClassA: AnyClass | undefined, baseClassB: AnyClass | undefined, _compareDirection: SchemaCompareDirection): Promise<void>;
|
|
73
|
+
/**
|
|
74
|
+
* Reports differences between ECProperty properties.
|
|
75
|
+
* @param propertyA The first ECProperty supplied for comparison.
|
|
76
|
+
* @param propertyName The name of the property.
|
|
77
|
+
* @param valueA The value from the first ECProperty.
|
|
78
|
+
* @param valueB The value from the second ECProperty.
|
|
79
|
+
*/
|
|
80
|
+
reportPropertyDelta(propertyA: AnyProperty, propertyName: string, valueA: any, valueB: any, _compareDirection: SchemaCompareDirection): Promise<void>;
|
|
81
|
+
/**
|
|
82
|
+
* Reports that an ECProperty found in the first ECClass could not be found in the second.
|
|
83
|
+
* @param propertyA The ECProperty supplied for comparison.
|
|
84
|
+
*/
|
|
85
|
+
reportPropertyMissing(propertyA: AnyProperty, _compareDirection: SchemaCompareDirection): Promise<void>;
|
|
86
|
+
/**
|
|
87
|
+
* Reports that a Mixin found in the first EntityClass could not be found in the second.
|
|
88
|
+
* @param entityClassA The first EntityClass that is missing the Mixin.
|
|
89
|
+
* @param mixinA The Mixin from the first EntityClass.
|
|
90
|
+
*/
|
|
91
|
+
reportEntityMixinMissing(entityClassA: EntityClass, mixinA: Mixin, _compareDirection: SchemaCompareDirection): Promise<void>;
|
|
92
|
+
/**
|
|
93
|
+
* Reports differences between Mixin properties.
|
|
94
|
+
* @param mixinA The first Mixin supplied for comparison.
|
|
95
|
+
* @param propertyName The name of the property.
|
|
96
|
+
* @param valueA The value from the first Mixin.
|
|
97
|
+
* @param valueB The value from the second Mixin.
|
|
98
|
+
*/
|
|
99
|
+
reportMixinDelta(mixinA: Mixin, propertyName: string, valueA: any, valueB: any, _compareDirection: SchemaCompareDirection): Promise<void>;
|
|
100
|
+
/**
|
|
101
|
+
* Reports differences between RelationshipClass properties.
|
|
102
|
+
* @param relationshipClassA The first RelationshipClass supplied for comparison.
|
|
103
|
+
* @param propertyName The name of the property.
|
|
104
|
+
* @param valueA The value from the first RelationshipClass.
|
|
105
|
+
* @param valueB The value from the second RelationshipClass.
|
|
106
|
+
*/
|
|
107
|
+
reportRelationshipClassDelta(relationshipClassA: RelationshipClass, propertyName: string, valueA: any, valueB: any, _compareDirection: SchemaCompareDirection): Promise<void>;
|
|
108
|
+
/**
|
|
109
|
+
* Reports differences between RelationshipConstraint properties.
|
|
110
|
+
* @param constraintA The first RelationshipConstraint supplied for comparison.
|
|
111
|
+
* @param propertyName The name of the property.
|
|
112
|
+
* @param valueA The value from the first RelationshipConstraint.
|
|
113
|
+
* @param valueB The value from the second RelationshipConstraint.
|
|
114
|
+
*/
|
|
115
|
+
reportRelationshipConstraintDelta(constraintA: RelationshipConstraint, propertyName: string, valueA: any, valueB: any, _compareDirection: SchemaCompareDirection): Promise<void>;
|
|
116
|
+
/**
|
|
117
|
+
* Reports that a constraint class found in the first RelationshipConstraint could not be found in the second.
|
|
118
|
+
* @param constraintA The first RelationshipConstraint that is missing the class constraint.
|
|
119
|
+
* @param constraintClass The constraint ECClass from the first RelationshipConstraint.
|
|
120
|
+
*/
|
|
121
|
+
reportRelationshipConstraintClassMissing(constraintA: RelationshipConstraint, constraintClass: EntityClass | Mixin | RelationshipClass, _compareDirection: SchemaCompareDirection): Promise<void>;
|
|
122
|
+
/**
|
|
123
|
+
* Reports differences between CustomAttributeClass properties.
|
|
124
|
+
* @param customAttributeA The first CustomAttributeClass supplied for comparison.
|
|
125
|
+
* @param propertyName The name of the property.
|
|
126
|
+
* @param valueA The value from the first CustomAttributeClass.
|
|
127
|
+
* @param valueB The value from the second CustomAttributeClass.
|
|
128
|
+
*/
|
|
129
|
+
reportCustomAttributeClassDelta(customAttributeA: CustomAttributeClass, propertyName: string, valueA: any, valueB: any, _compareDirection: SchemaCompareDirection): Promise<void>;
|
|
130
|
+
/**
|
|
131
|
+
* Reports that a CustomAttribute instance found in the first CustomAttribute container could not be found in the second.
|
|
132
|
+
* @param customAttributeContainerA The first CustomAttribute container that is missing the CustomAttribute instance.
|
|
133
|
+
* @param customAttribute The CustomAttribute missing.
|
|
134
|
+
*/
|
|
135
|
+
reportCustomAttributeInstanceClassMissing(customAttributeContainerA: CustomAttributeContainerProps, customAttribute: CustomAttribute, _compareDirection: SchemaCompareDirection): Promise<void>;
|
|
136
|
+
/**
|
|
137
|
+
* Reports differences between Enumeration properties.
|
|
138
|
+
* @param enumerationA The first Enumeration supplied for comparison.
|
|
139
|
+
* @param propertyName The name of the property.
|
|
140
|
+
* @param valueA The value from the first Enumeration.
|
|
141
|
+
* @param valueB The value from the second Enumeration.
|
|
142
|
+
*/
|
|
143
|
+
reportEnumerationDelta(enumerationA: Enumeration, propertyName: string, valueA: any, valueB: any, _compareDirection: SchemaCompareDirection): Promise<void>;
|
|
144
|
+
/**
|
|
145
|
+
* Reports that a enumerator found in the first Enumeration could not be found in the second.
|
|
146
|
+
* @param enumerationA The first Enumeration that is missing the enumerator.
|
|
147
|
+
* @param enumerator The enumerator missing from the second schema.
|
|
148
|
+
*/
|
|
149
|
+
reportEnumeratorMissing(enumerationA: Enumeration, enumerator: AnyEnumerator, _compareDirection: SchemaCompareDirection): Promise<void>;
|
|
150
|
+
/**
|
|
151
|
+
* Reports differences between enumerator properties within a given Enumeration.
|
|
152
|
+
* @param enumerationA The first Enumeration supplied for comparison.
|
|
153
|
+
* @param enumerator The enumerator containing differing property values.
|
|
154
|
+
* @param propertyName The name of the property.
|
|
155
|
+
* @param valueA The value from the first enumerator.
|
|
156
|
+
* @param valueB The value from the second enumerator.
|
|
157
|
+
*/
|
|
158
|
+
reportEnumeratorDelta(enumerationA: Enumeration, enumerator: AnyEnumerator, propertyName: string, valueA: any, valueB: any, _compareDirection: SchemaCompareDirection): Promise<void>;
|
|
159
|
+
/**
|
|
160
|
+
* Reports differences between KindOfQuantity properties.
|
|
161
|
+
* @param koqA The first KindOfQuantity supplied for comparison.
|
|
162
|
+
* @param propertyName The name of the property.
|
|
163
|
+
* @param valueA The value from the first KindOfQuantity.
|
|
164
|
+
* @param valueB The value from the second KindOfQuantity.
|
|
165
|
+
*/
|
|
166
|
+
reportKoqDelta(koqA: KindOfQuantity, propertyName: string, valueA: any, valueB: any, _compareDirection: SchemaCompareDirection): Promise<void>;
|
|
167
|
+
/**
|
|
168
|
+
* Reports that a presentation unit found in the first KindOfQuantity could not be found in the second.
|
|
169
|
+
* @param koqA The first KindOfQuantity that is missing the presentation unit.
|
|
170
|
+
* @param unit The Format or OverrideFormat presentation unit missing from the second schema.
|
|
171
|
+
*/
|
|
172
|
+
reportPresentationUnitMissing(koqA: KindOfQuantity, unit: Format | OverrideFormat, _compareDirection: SchemaCompareDirection): Promise<void>;
|
|
173
|
+
/**
|
|
174
|
+
* Reports differences between PropertyCategory properties.
|
|
175
|
+
* @param categoryA The first PropertyCategory supplied for comparison.
|
|
176
|
+
* @param propertyName The name of the property.
|
|
177
|
+
* @param valueA The value from the first PropertyCategory.
|
|
178
|
+
* @param valueB The value from the second PropertyCategory.
|
|
179
|
+
*/
|
|
180
|
+
reportPropertyCategoryDelta(categoryA: PropertyCategory, propertyName: string, valueA: any, valueB: any, _compareDirection: SchemaCompareDirection): Promise<void>;
|
|
181
|
+
/**
|
|
182
|
+
* Reports differences between Format properties.
|
|
183
|
+
* @param formatA The first Format supplied for comparison.
|
|
184
|
+
* @param propertyName The name of the property.
|
|
185
|
+
* @param valueA The value from the first Format.
|
|
186
|
+
* @param valueB The value from the second Format.
|
|
187
|
+
*/
|
|
188
|
+
reportFormatDelta(formatA: Format, propertyName: string, valueA: any, valueB: any, _compareDirection: SchemaCompareDirection): Promise<void>;
|
|
189
|
+
/**
|
|
190
|
+
* Reports that a unit found in the first Format could not be found in the second.
|
|
191
|
+
* @param formatA The first Format that is missing the unit.
|
|
192
|
+
* @param unit The Unit or InvertedUnit missing from the second schema.
|
|
193
|
+
*/
|
|
194
|
+
reportFormatUnitMissing(formatA: Format, unit: [Unit | InvertedUnit, string | undefined], _compareDirection: SchemaCompareDirection): Promise<void>;
|
|
195
|
+
/**
|
|
196
|
+
* Reports differences between overridden labels within the Units of a given Format.
|
|
197
|
+
* @param formatA The first Format supplied for comparison.
|
|
198
|
+
* @param unit The Unit or InvertedUnit with differing label overrides.
|
|
199
|
+
* @param labelA The value from the first label.
|
|
200
|
+
* @param labelB The value from the second label.
|
|
201
|
+
*/
|
|
202
|
+
reportUnitLabelOverrideDelta(formatA: Format, unit: Unit | InvertedUnit, labelA: string | undefined, labelB: string | undefined, _compareDirection: SchemaCompareDirection): Promise<void>;
|
|
203
|
+
/**
|
|
204
|
+
* Reports differences between Unit properties.
|
|
205
|
+
* @param unitA The first Unit supplied for comparison.
|
|
206
|
+
* @param propertyName The name of the property.
|
|
207
|
+
* @param valueA The value from the first Unit.
|
|
208
|
+
* @param valueB The value from the second Unit.
|
|
209
|
+
*/
|
|
210
|
+
reportUnitDelta(unitA: Unit, propertyName: string, valueA: any, valueB: any, _compareDirection: SchemaCompareDirection): Promise<void>;
|
|
211
|
+
/**
|
|
212
|
+
* Reports differences between InvertedUnit properties.
|
|
213
|
+
* @param invertedUnitA The first InvertedUnit supplied for comparison.
|
|
214
|
+
* @param propertyName The name of the property.
|
|
215
|
+
* @param valueA The value from the first InvertedUnit.
|
|
216
|
+
* @param valueB The value from the second InvertedUnit.
|
|
217
|
+
*/
|
|
218
|
+
reportInvertedUnitDelta(invertedUnitA: InvertedUnit, propertyName: string, valueA: any, valueB: any, _compareDirection: SchemaCompareDirection): Promise<void>;
|
|
219
|
+
/**
|
|
220
|
+
* Reports differences between Phenomenon properties.
|
|
221
|
+
* @param phenomenonA The first Phenomenon supplied for comparison.
|
|
222
|
+
* @param propertyName The name of the property.
|
|
223
|
+
* @param valueA The value from the first Phenomenon.
|
|
224
|
+
* @param valueB The value from the second Phenomenon.
|
|
225
|
+
*/
|
|
226
|
+
reportPhenomenonDelta(phenomenonA: Phenomenon, propertyName: string, valueA: any, valueB: any, _compareDirection: SchemaCompareDirection): Promise<void>;
|
|
227
|
+
/**
|
|
228
|
+
* Reports differences between Constant properties.
|
|
229
|
+
* @param constantA The first Constant supplied for comparison.
|
|
230
|
+
* @param propertyName The name of the property.
|
|
231
|
+
* @param valueA The value from the first Constant.
|
|
232
|
+
* @param valueB The value from the second Constant.
|
|
233
|
+
*/
|
|
234
|
+
reportConstantDelta(constantA: Constant, propertyName: string, valueA: any, valueB: any, _compareDirection: SchemaCompareDirection): Promise<void>;
|
|
235
|
+
private reportDiagnostic;
|
|
236
|
+
}
|
|
237
|
+
//# sourceMappingURL=SchemaCompareResultDelegate.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"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