@itwin/ecschema-editing 4.0.0-dev.6 → 4.0.0-dev.61

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.
Files changed (104) hide show
  1. package/CHANGELOG.md +11 -1
  2. package/lib/cjs/Editing/Constants.d.ts +20 -20
  3. package/lib/cjs/Editing/Constants.js +60 -60
  4. package/lib/cjs/Editing/CustomAttributes.d.ts +20 -20
  5. package/lib/cjs/Editing/CustomAttributes.js +59 -59
  6. package/lib/cjs/Editing/ECClasses.d.ts +54 -54
  7. package/lib/cjs/Editing/ECClasses.js +269 -269
  8. package/lib/cjs/Editing/Editor.d.ts +112 -112
  9. package/lib/cjs/Editing/Editor.js +166 -166
  10. package/lib/cjs/Editing/Entities.d.ts +25 -25
  11. package/lib/cjs/Editing/Entities.js +116 -116
  12. package/lib/cjs/Editing/Entities.js.map +1 -1
  13. package/lib/cjs/Editing/Enumerations.d.ts +21 -21
  14. package/lib/cjs/Editing/Enumerations.js +66 -66
  15. package/lib/cjs/Editing/Formats.d.ts +21 -21
  16. package/lib/cjs/Editing/Formats.js +61 -61
  17. package/lib/cjs/Editing/InvertedUnits.d.ts +17 -17
  18. package/lib/cjs/Editing/InvertedUnits.js +82 -82
  19. package/lib/cjs/Editing/KindOfQuantities.d.ts +28 -28
  20. package/lib/cjs/Editing/KindOfQuantities.js +78 -78
  21. package/lib/cjs/Editing/Mixins.d.ts +22 -22
  22. package/lib/cjs/Editing/Mixins.js +84 -84
  23. package/lib/cjs/Editing/Mutable/MutableCAClass.d.ts +9 -9
  24. package/lib/cjs/Editing/Mutable/MutableCAClass.js +15 -15
  25. package/lib/cjs/Editing/Mutable/MutableClass.d.ts +34 -34
  26. package/lib/cjs/Editing/Mutable/MutableClass.js +22 -22
  27. package/lib/cjs/Editing/Mutable/MutableConstant.d.ts +12 -12
  28. package/lib/cjs/Editing/Mutable/MutableConstant.js +15 -15
  29. package/lib/cjs/Editing/Mutable/MutableEntityClass.d.ts +15 -15
  30. package/lib/cjs/Editing/Mutable/MutableEntityClass.js +59 -59
  31. package/lib/cjs/Editing/Mutable/MutableEnumeration.d.ts +9 -9
  32. package/lib/cjs/Editing/Mutable/MutableEnumeration.js +14 -14
  33. package/lib/cjs/Editing/Mutable/MutableFormat.d.ts +18 -18
  34. package/lib/cjs/Editing/Mutable/MutableFormat.js +15 -15
  35. package/lib/cjs/Editing/Mutable/MutableInvertedUnit.d.ts +10 -10
  36. package/lib/cjs/Editing/Mutable/MutableInvertedUnit.js +15 -15
  37. package/lib/cjs/Editing/Mutable/MutableKindOfQuantity.d.ts +10 -10
  38. package/lib/cjs/Editing/Mutable/MutableKindOfQuantity.js +15 -15
  39. package/lib/cjs/Editing/Mutable/MutableMixin.d.ts +11 -11
  40. package/lib/cjs/Editing/Mutable/MutableMixin.js +15 -15
  41. package/lib/cjs/Editing/Mutable/MutablePhenomenon.d.ts +9 -9
  42. package/lib/cjs/Editing/Mutable/MutablePhenomenon.js +15 -15
  43. package/lib/cjs/Editing/Mutable/MutableProperty.d.ts +8 -8
  44. package/lib/cjs/Editing/Mutable/MutableProperty.js +15 -15
  45. package/lib/cjs/Editing/Mutable/MutablePropertyCategory.d.ts +9 -9
  46. package/lib/cjs/Editing/Mutable/MutablePropertyCategory.js +15 -15
  47. package/lib/cjs/Editing/Mutable/MutableRelationshipClass.d.ts +21 -21
  48. package/lib/cjs/Editing/Mutable/MutableRelationshipClass.js +24 -24
  49. package/lib/cjs/Editing/Mutable/MutableSchema.d.ts +45 -45
  50. package/lib/cjs/Editing/Mutable/MutableSchema.js +17 -17
  51. package/lib/cjs/Editing/Mutable/MutableUnit.d.ts +11 -11
  52. package/lib/cjs/Editing/Mutable/MutableUnit.js +15 -15
  53. package/lib/cjs/Editing/Mutable/MutableUnitSystem.d.ts +8 -8
  54. package/lib/cjs/Editing/Mutable/MutableUnitSystem.js +15 -15
  55. package/lib/cjs/Editing/Phenomena.d.ts +15 -15
  56. package/lib/cjs/Editing/Phenomena.js +44 -44
  57. package/lib/cjs/Editing/PropertyCategories.d.ts +16 -16
  58. package/lib/cjs/Editing/PropertyCategories.js +51 -51
  59. package/lib/cjs/Editing/RelationshipClasses.d.ts +21 -21
  60. package/lib/cjs/Editing/RelationshipClasses.js +68 -68
  61. package/lib/cjs/Editing/Structs.d.ts +19 -19
  62. package/lib/cjs/Editing/Structs.js +57 -57
  63. package/lib/cjs/Editing/UnitSystems.d.ts +15 -15
  64. package/lib/cjs/Editing/UnitSystems.js +41 -41
  65. package/lib/cjs/Editing/Units.d.ts +15 -15
  66. package/lib/cjs/Editing/Units.js +58 -58
  67. package/lib/cjs/Validation/Diagnostic.d.ts +321 -321
  68. package/lib/cjs/Validation/Diagnostic.d.ts.map +1 -1
  69. package/lib/cjs/Validation/Diagnostic.js +310 -310
  70. package/lib/cjs/Validation/Diagnostic.js.map +1 -1
  71. package/lib/cjs/Validation/DiagnosticReporter.d.ts +96 -96
  72. package/lib/cjs/Validation/DiagnosticReporter.js +106 -106
  73. package/lib/cjs/Validation/ECRules.d.ts +448 -448
  74. package/lib/cjs/Validation/ECRules.js +593 -593
  75. package/lib/cjs/Validation/LoggingDiagnosticReporter.d.ts +13 -13
  76. package/lib/cjs/Validation/LoggingDiagnosticReporter.js +40 -40
  77. package/lib/cjs/Validation/RuleSuppressionSet.d.ts +59 -59
  78. package/lib/cjs/Validation/RuleSuppressionSet.d.ts.map +1 -1
  79. package/lib/cjs/Validation/RuleSuppressionSet.js +9 -9
  80. package/lib/cjs/Validation/Rules.d.ts +64 -64
  81. package/lib/cjs/Validation/Rules.d.ts.map +1 -1
  82. package/lib/cjs/Validation/Rules.js +9 -9
  83. package/lib/cjs/Validation/SchemaChanges.d.ts +607 -607
  84. package/lib/cjs/Validation/SchemaChanges.js +1135 -1135
  85. package/lib/cjs/Validation/SchemaCompareDiagnostics.d.ts +422 -422
  86. package/lib/cjs/Validation/SchemaCompareDiagnostics.js +111 -111
  87. package/lib/cjs/Validation/SchemaCompareReporter.d.ts +11 -11
  88. package/lib/cjs/Validation/SchemaCompareReporter.js +9 -9
  89. package/lib/cjs/Validation/SchemaCompareResultDelegate.d.ts +236 -236
  90. package/lib/cjs/Validation/SchemaCompareResultDelegate.js +348 -348
  91. package/lib/cjs/Validation/SchemaCompareVisitor.d.ts +119 -119
  92. package/lib/cjs/Validation/SchemaCompareVisitor.js +206 -206
  93. package/lib/cjs/Validation/SchemaComparer.d.ts +171 -171
  94. package/lib/cjs/Validation/SchemaComparer.js +666 -666
  95. package/lib/cjs/Validation/SchemaValidater.d.ts +19 -19
  96. package/lib/cjs/Validation/SchemaValidater.js +61 -61
  97. package/lib/cjs/Validation/SchemaValidationVisitor.d.ts +170 -170
  98. package/lib/cjs/Validation/SchemaValidationVisitor.js +492 -492
  99. package/lib/cjs/Validation/SchemaWalker.d.ts +22 -22
  100. package/lib/cjs/Validation/SchemaWalker.js +51 -51
  101. package/lib/cjs/ecschema-editing.d.ts +33 -33
  102. package/lib/cjs/ecschema-editing.js +58 -54
  103. package/lib/cjs/ecschema-editing.js.map +1 -1
  104. package/package.json +12 -12
@@ -1,14 +1,14 @@
1
- /** @packageDocumentation
2
- * @module Diagnostic
3
- */
4
- import { AnyDiagnostic } from "./Diagnostic";
5
- import { FormatDiagnosticReporter } from "./DiagnosticReporter";
6
- /**
7
- * An [[IDiagnosticReporter]] for logging [[IDiagnostic]] objects.
8
- * @beta
9
- */
10
- export declare class LoggingDiagnosticReporter extends FormatDiagnosticReporter {
11
- reportDiagnostic(diagnostic: AnyDiagnostic, messageText: string): void;
12
- private getLogMetaData;
13
- }
1
+ /** @packageDocumentation
2
+ * @module Diagnostic
3
+ */
4
+ import { AnyDiagnostic } from "./Diagnostic";
5
+ import { FormatDiagnosticReporter } from "./DiagnosticReporter";
6
+ /**
7
+ * An [[IDiagnosticReporter]] for logging [[IDiagnostic]] objects.
8
+ * @beta
9
+ */
10
+ export declare class LoggingDiagnosticReporter extends FormatDiagnosticReporter {
11
+ reportDiagnostic(diagnostic: AnyDiagnostic, messageText: string): void;
12
+ private getLogMetaData;
13
+ }
14
14
  //# sourceMappingURL=LoggingDiagnosticReporter.d.ts.map
@@ -1,41 +1,41 @@
1
- "use strict";
2
- /*---------------------------------------------------------------------------------------------
3
- * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
4
- * See LICENSE.md in the project root for license terms and full copyright notice.
5
- *--------------------------------------------------------------------------------------------*/
6
- /** @packageDocumentation
7
- * @module Diagnostic
8
- */
9
- Object.defineProperty(exports, "__esModule", { value: true });
10
- exports.LoggingDiagnosticReporter = void 0;
11
- const core_bentley_1 = require("@itwin/core-bentley");
12
- const Diagnostic_1 = require("./Diagnostic");
13
- const DiagnosticReporter_1 = require("./DiagnosticReporter");
14
- const loggingCategory = "ecschema-metadata";
15
- /**
16
- * An [[IDiagnosticReporter]] for logging [[IDiagnostic]] objects.
17
- * @beta
18
- */
19
- class LoggingDiagnosticReporter extends DiagnosticReporter_1.FormatDiagnosticReporter {
20
- reportDiagnostic(diagnostic, messageText) {
21
- switch (diagnostic.category) {
22
- case Diagnostic_1.DiagnosticCategory.Error:
23
- core_bentley_1.Logger.logError(loggingCategory, messageText, () => this.getLogMetaData(diagnostic));
24
- return;
25
- case Diagnostic_1.DiagnosticCategory.Warning:
26
- core_bentley_1.Logger.logWarning(loggingCategory, messageText, () => this.getLogMetaData(diagnostic));
27
- return;
28
- case Diagnostic_1.DiagnosticCategory.Message:
29
- case Diagnostic_1.DiagnosticCategory.Suggestion:
30
- core_bentley_1.Logger.logInfo(loggingCategory, messageText, () => this.getLogMetaData(diagnostic));
31
- return;
32
- default:
33
- core_bentley_1.Logger.logTrace(loggingCategory, messageText, () => this.getLogMetaData(diagnostic));
34
- }
35
- }
36
- getLogMetaData(diagnostic) {
37
- return { ...diagnostic, ...{ code: diagnostic.code, category: diagnostic.category, diagnosticType: diagnostic.diagnosticType, messageText: undefined, messageArgs: undefined } };
38
- }
39
- }
40
- exports.LoggingDiagnosticReporter = LoggingDiagnosticReporter;
1
+ "use strict";
2
+ /*---------------------------------------------------------------------------------------------
3
+ * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
4
+ * See LICENSE.md in the project root for license terms and full copyright notice.
5
+ *--------------------------------------------------------------------------------------------*/
6
+ /** @packageDocumentation
7
+ * @module Diagnostic
8
+ */
9
+ Object.defineProperty(exports, "__esModule", { value: true });
10
+ exports.LoggingDiagnosticReporter = void 0;
11
+ const core_bentley_1 = require("@itwin/core-bentley");
12
+ const Diagnostic_1 = require("./Diagnostic");
13
+ const DiagnosticReporter_1 = require("./DiagnosticReporter");
14
+ const loggingCategory = "ecschema-metadata";
15
+ /**
16
+ * An [[IDiagnosticReporter]] for logging [[IDiagnostic]] objects.
17
+ * @beta
18
+ */
19
+ class LoggingDiagnosticReporter extends DiagnosticReporter_1.FormatDiagnosticReporter {
20
+ reportDiagnostic(diagnostic, messageText) {
21
+ switch (diagnostic.category) {
22
+ case Diagnostic_1.DiagnosticCategory.Error:
23
+ core_bentley_1.Logger.logError(loggingCategory, messageText, () => this.getLogMetaData(diagnostic));
24
+ return;
25
+ case Diagnostic_1.DiagnosticCategory.Warning:
26
+ core_bentley_1.Logger.logWarning(loggingCategory, messageText, () => this.getLogMetaData(diagnostic));
27
+ return;
28
+ case Diagnostic_1.DiagnosticCategory.Message:
29
+ case Diagnostic_1.DiagnosticCategory.Suggestion:
30
+ core_bentley_1.Logger.logInfo(loggingCategory, messageText, () => this.getLogMetaData(diagnostic));
31
+ return;
32
+ default:
33
+ core_bentley_1.Logger.logTrace(loggingCategory, messageText, () => this.getLogMetaData(diagnostic));
34
+ }
35
+ }
36
+ getLogMetaData(diagnostic) {
37
+ return { ...diagnostic, ...{ code: diagnostic.code, category: diagnostic.category, diagnosticType: diagnostic.diagnosticType, messageText: undefined, messageArgs: undefined } };
38
+ }
39
+ }
40
+ exports.LoggingDiagnosticReporter = LoggingDiagnosticReporter;
41
41
  //# sourceMappingURL=LoggingDiagnosticReporter.js.map
@@ -1,60 +1,60 @@
1
- /** @packageDocumentation
2
- * @module Validation
3
- */
4
- import { AnyClass, AnyECType, AnyProperty, Constant, CustomAttribute, CustomAttributeClass, CustomAttributeContainerProps, EntityClass, Enumeration, Format, InvertedUnit, KindOfQuantity, Mixin, Phenomenon, PropertyCategory, RelationshipClass, RelationshipConstraint, Schema, SchemaItem, StructClass, Unit, UnitSystem } from "@itwin/ecschema-metadata";
5
- import { AnyDiagnostic } from "./Diagnostic";
6
- /**
7
- * Interface used for all rule suppressions used during schema validation.
8
- * Just telling us whether a rule is suppressed or not.
9
- * @beta
10
- */
11
- export declare type ISuppressionRule<T extends AnyECType, U = {}> = (diagnostic: AnyDiagnostic, ecDefinition: T, ...args: U[]) => Promise<boolean>;
12
- /** @beta */
13
- export declare type BaseSuppressionRule<T extends AnyECType, U extends AnyECType> = ISuppressionRule<T, U>;
14
- /** @internal */
15
- export declare type AnyRuleSuppressionMap = IRuleSuppressionMap<AnyECType>;
16
- /**
17
- * Interface used to represent elements of a rule suppression
18
- * @beta
19
- */
20
- export interface IRuleSuppressionMap<T extends AnyECType, U = {}> {
21
- ruleCode: string;
22
- rule: ISuppressionRule<T, U>;
23
- }
24
- /**
25
- * Interface used to represent elements of a rule suppression
26
- * @beta
27
- */
28
- export interface BaseRuleSuppressionMap<T extends AnyECType, U extends AnyECType> {
29
- ruleCode: string;
30
- rule: BaseSuppressionRule<T, U>;
31
- }
32
- /**
33
- * Interface used to represent logical collection of [[ISuppressionRule]] instances.
34
- * @beta
35
- */
36
- export interface IRuleSuppressionSet {
37
- name: string;
38
- schemaRuleSuppressions?: Array<IRuleSuppressionMap<Schema>>;
39
- schemaItemRuleSuppressions?: Array<IRuleSuppressionMap<SchemaItem>>;
40
- classRuleSuppressions?: Array<IRuleSuppressionMap<AnyClass>>;
41
- propertyRuleSuppressions?: Array<IRuleSuppressionMap<AnyProperty>>;
42
- entityRuleSuppressions?: Array<IRuleSuppressionMap<EntityClass>>;
43
- structRuleSuppressions?: Array<IRuleSuppressionMap<StructClass>>;
44
- mixinRuleSuppressions?: Array<IRuleSuppressionMap<Mixin>>;
45
- relationshipRuleSuppressions?: Array<IRuleSuppressionMap<RelationshipClass>>;
46
- relationshipConstraintRuleSuppressions?: Array<IRuleSuppressionMap<RelationshipConstraint>>;
47
- customAttributeRuleSuppressions?: Array<IRuleSuppressionMap<CustomAttributeClass>>;
48
- customAttributeContainerSuppressions?: Array<IRuleSuppressionMap<CustomAttributeContainerProps>>;
49
- customAttributeInstanceSuppressions?: Array<BaseRuleSuppressionMap<CustomAttributeContainerProps, CustomAttribute>>;
50
- enumerationRuleSuppressions?: Array<IRuleSuppressionMap<Enumeration>>;
51
- koqRuleSuppressions?: Array<IRuleSuppressionMap<KindOfQuantity>>;
52
- propertyCategoryRuleSuppressions?: Array<IRuleSuppressionMap<PropertyCategory>>;
53
- formatRuleSuppressions?: Array<IRuleSuppressionMap<Format>>;
54
- unitRuleSuppressions?: Array<IRuleSuppressionMap<Unit>>;
55
- invertedUnitRuleSuppressions?: Array<IRuleSuppressionMap<InvertedUnit>>;
56
- unitSystemRuleSuppressions?: Array<IRuleSuppressionMap<UnitSystem>>;
57
- phenomenonRuleSuppressions?: Array<IRuleSuppressionMap<Phenomenon>>;
58
- constantRuleSuppressions?: Array<IRuleSuppressionMap<Constant>>;
59
- }
1
+ /** @packageDocumentation
2
+ * @module Validation
3
+ */
4
+ import { AnyClass, AnyECType, AnyProperty, Constant, CustomAttribute, CustomAttributeClass, CustomAttributeContainerProps, EntityClass, Enumeration, Format, InvertedUnit, KindOfQuantity, Mixin, Phenomenon, PropertyCategory, RelationshipClass, RelationshipConstraint, Schema, SchemaItem, StructClass, Unit, UnitSystem } from "@itwin/ecschema-metadata";
5
+ import { AnyDiagnostic } from "./Diagnostic";
6
+ /**
7
+ * Interface used for all rule suppressions used during schema validation.
8
+ * Just telling us whether a rule is suppressed or not.
9
+ * @beta
10
+ */
11
+ export type ISuppressionRule<T extends AnyECType, U = {}> = (diagnostic: AnyDiagnostic, ecDefinition: T, ...args: U[]) => Promise<boolean>;
12
+ /** @beta */
13
+ export type BaseSuppressionRule<T extends AnyECType, U extends AnyECType> = ISuppressionRule<T, U>;
14
+ /** @internal */
15
+ export type AnyRuleSuppressionMap = IRuleSuppressionMap<AnyECType>;
16
+ /**
17
+ * Interface used to represent elements of a rule suppression
18
+ * @beta
19
+ */
20
+ export interface IRuleSuppressionMap<T extends AnyECType, U = {}> {
21
+ ruleCode: string;
22
+ rule: ISuppressionRule<T, U>;
23
+ }
24
+ /**
25
+ * Interface used to represent elements of a rule suppression
26
+ * @beta
27
+ */
28
+ export interface BaseRuleSuppressionMap<T extends AnyECType, U extends AnyECType> {
29
+ ruleCode: string;
30
+ rule: BaseSuppressionRule<T, U>;
31
+ }
32
+ /**
33
+ * Interface used to represent logical collection of [[ISuppressionRule]] instances.
34
+ * @beta
35
+ */
36
+ export interface IRuleSuppressionSet {
37
+ name: string;
38
+ schemaRuleSuppressions?: Array<IRuleSuppressionMap<Schema>>;
39
+ schemaItemRuleSuppressions?: Array<IRuleSuppressionMap<SchemaItem>>;
40
+ classRuleSuppressions?: Array<IRuleSuppressionMap<AnyClass>>;
41
+ propertyRuleSuppressions?: Array<IRuleSuppressionMap<AnyProperty>>;
42
+ entityRuleSuppressions?: Array<IRuleSuppressionMap<EntityClass>>;
43
+ structRuleSuppressions?: Array<IRuleSuppressionMap<StructClass>>;
44
+ mixinRuleSuppressions?: Array<IRuleSuppressionMap<Mixin>>;
45
+ relationshipRuleSuppressions?: Array<IRuleSuppressionMap<RelationshipClass>>;
46
+ relationshipConstraintRuleSuppressions?: Array<IRuleSuppressionMap<RelationshipConstraint>>;
47
+ customAttributeRuleSuppressions?: Array<IRuleSuppressionMap<CustomAttributeClass>>;
48
+ customAttributeContainerSuppressions?: Array<IRuleSuppressionMap<CustomAttributeContainerProps>>;
49
+ customAttributeInstanceSuppressions?: Array<BaseRuleSuppressionMap<CustomAttributeContainerProps, CustomAttribute>>;
50
+ enumerationRuleSuppressions?: Array<IRuleSuppressionMap<Enumeration>>;
51
+ koqRuleSuppressions?: Array<IRuleSuppressionMap<KindOfQuantity>>;
52
+ propertyCategoryRuleSuppressions?: Array<IRuleSuppressionMap<PropertyCategory>>;
53
+ formatRuleSuppressions?: Array<IRuleSuppressionMap<Format>>;
54
+ unitRuleSuppressions?: Array<IRuleSuppressionMap<Unit>>;
55
+ invertedUnitRuleSuppressions?: Array<IRuleSuppressionMap<InvertedUnit>>;
56
+ unitSystemRuleSuppressions?: Array<IRuleSuppressionMap<UnitSystem>>;
57
+ phenomenonRuleSuppressions?: Array<IRuleSuppressionMap<Phenomenon>>;
58
+ constantRuleSuppressions?: Array<IRuleSuppressionMap<Constant>>;
59
+ }
60
60
  //# sourceMappingURL=RuleSuppressionSet.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"RuleSuppressionSet.d.ts","sourceRoot":"","sources":["../../../src/Validation/RuleSuppressionSet.ts"],"names":[],"mappings":"AAIA;;GAEG;AAEH,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAE,WAAW,EAAE,QAAQ,EAAE,eAAe,EAAE,oBAAoB,EACxF,6BAA6B,EAAE,WAAW,EAAE,WAAW,EAAE,MAAM,EAAE,YAAY,EAAE,cAAc,EAAE,KAAK,EAAE,UAAU,EAChH,gBAAgB,EAAE,iBAAiB,EAAE,sBAAsB,EAAE,MAAM,EAAE,UAAU,EAAE,WAAW,EAAE,IAAI,EAClG,UAAU,EAAE,MAAM,0BAA0B,CAAC;AAC/C,OAAO,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAE7C;;;;GAIG;AACH,oBAAY,gBAAgB,CAAC,CAAC,SAAS,SAAS,EAAE,CAAC,GAAG,EAAE,IAAI,CAAC,UAAU,EAAE,aAAa,EAAE,YAAY,EAAE,CAAC,EAAE,GAAG,IAAI,EAAE,CAAC,EAAE,KAAK,OAAO,CAAC,OAAO,CAAC,CAAC;AAE3I,YAAY;AACZ,oBAAY,mBAAmB,CAAC,CAAC,SAAS,SAAS,EAAE,C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AAI,CAAC,CAAC,CAAC;IACxD,4BAA4B,CAAC,EAAE,KAAK,CAAC,mBAAmB,CAAC,YAAY,CAAC,CAAC,CAAC;IACxE,0BAA0B,CAAC,EAAE,KAAK,CAAC,mBAAmB,CAAC,UAAU,CAAC,CAAC,CAAC;IACpE,0BAA0B,CAAC,EAAE,KAAK,CAAC,mBAAmB,CAAC,UAAU,CAAC,CAAC,CAAC;IACpE,wBAAwB,CAAC,EAAE,KAAK,CAAC,mBAAmB,CAAC,QAAQ,CAAC,CAAC,CAAC;CACjE"}
@@ -1,10 +1,10 @@
1
- "use strict";
2
- /*---------------------------------------------------------------------------------------------
3
- * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
4
- * See LICENSE.md in the project root for license terms and full copyright notice.
5
- *--------------------------------------------------------------------------------------------*/
6
- /** @packageDocumentation
7
- * @module Validation
8
- */
9
- Object.defineProperty(exports, "__esModule", { value: true });
1
+ "use strict";
2
+ /*---------------------------------------------------------------------------------------------
3
+ * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
4
+ * See LICENSE.md in the project root for license terms and full copyright notice.
5
+ *--------------------------------------------------------------------------------------------*/
6
+ /** @packageDocumentation
7
+ * @module Validation
8
+ */
9
+ Object.defineProperty(exports, "__esModule", { value: true });
10
10
  //# sourceMappingURL=RuleSuppressionSet.js.map
@@ -1,65 +1,65 @@
1
- /** @packageDocumentation
2
- * @module Validation
3
- */
4
- import { AnyClass, AnyECType, AnyProperty, Constant, CustomAttribute, CustomAttributeClass, CustomAttributeContainerProps, EntityClass, Enumeration, Format, InvertedUnit, KindOfQuantity, Mixin, Phenomenon, PropertyCategory, RelationshipClass, RelationshipConstraint, Schema, SchemaItem, StructClass, Unit, UnitSystem } from "@itwin/ecschema-metadata";
5
- import { BaseDiagnostic } from "./Diagnostic";
6
- /**
7
- * Interface used for all rule implementations used during schema validation.
8
- * @beta
9
- */
10
- export declare type IRule<T extends AnyECType, U = {}> = (ecDefinition: T, ...args: U[]) => AsyncIterable<BaseDiagnostic<T, any[]>>;
11
- /** @beta */
12
- export declare type BaseRule<T extends AnyECType, U extends AnyECType> = IRule<T, U>;
13
- /**
14
- * Interface used to represent logical collection of [IRule]($ecschema-editing) instances.
15
- * @beta
16
- */
17
- export interface IRuleSet {
18
- /** The name of the rule set. */
19
- name: string;
20
- /** A collection of schema names that should be excluded from adhering to the rules defined in this rule set. */
21
- schemaExclusionSet?: string[];
22
- /** The rules that apply to [Schema]($ecschema-metadata) objects. */
23
- schemaRules?: Array<IRule<Schema>>;
24
- /** The rules that apply to [SchemaItem]($ecschema-metadata) objects. */
25
- schemaItemRules?: Array<IRule<SchemaItem>>;
26
- /** The rules that apply to [ECClass]($ecschema-metadata) objects. */
27
- classRules?: Array<IRule<AnyClass>>;
28
- /** The rules that apply to [Property]($ecschema-metadata) objects. */
29
- propertyRules?: Array<IRule<AnyProperty>>;
30
- /** The rules that apply to [EntityClass]($ecschema-metadata) objects. */
31
- entityClassRules?: Array<IRule<EntityClass>>;
32
- /** The rules that apply to [StructClass]($ecschema-metadata) objects. */
33
- structClassRules?: Array<IRule<StructClass>>;
34
- /** The rules that apply to [Mixin]($ecschema-metadata) objects. */
35
- mixinRules?: Array<IRule<Mixin>>;
36
- /** The rules that apply to [RelationshipClass]($ecschema-metadata) objects. */
37
- relationshipRules?: Array<IRule<RelationshipClass>>;
38
- /** The rules that apply to [RelationshipConstraint]($ecschema-metadata) objects. */
39
- relationshipConstraintRules?: Array<IRule<RelationshipConstraint>>;
40
- /** The rules that apply to [CustomAttributeClass]($ecschema-metadata) objects. */
41
- customAttributeClassRules?: Array<IRule<CustomAttributeClass>>;
42
- /** The rules that apply to [CustomAttributeContainerProps]($ecschema-metadata) objects. */
43
- customAttributeContainerRules?: Array<IRule<CustomAttributeContainerProps>>;
44
- /** The rules that apply to [CustomAttribute]($ecschema-metadata) objects. */
45
- customAttributeInstanceRules?: Array<BaseRule<CustomAttributeContainerProps, CustomAttribute>>;
46
- /** The rules that apply to [Enumeration]($ecschema-metadata) objects. */
47
- enumerationRules?: Array<IRule<Enumeration>>;
48
- /** The rules that apply to [KindOfQuantity]($ecschema-metadata) objects. */
49
- kindOfQuantityRules?: Array<IRule<KindOfQuantity>>;
50
- /** The rules that apply to [PropertyCategory]($ecschema-metadata) objects. */
51
- propertyCategoryRules?: Array<IRule<PropertyCategory>>;
52
- /** The rules that apply to [Format]($ecschema-metadata) objects. */
53
- formatRules?: Array<IRule<Format>>;
54
- /** The rules that apply to [Unit]($ecschema-metadata) objects. */
55
- unitRules?: Array<IRule<Unit>>;
56
- /** The rules that apply to [InvertedUnit]($ecschema-metadata) objects. */
57
- invertedUnitRules?: Array<IRule<InvertedUnit>>;
58
- /** The rules that apply to [UnitSystem]($ecschema-metadata) objects. */
59
- unitSystemRules?: Array<IRule<UnitSystem>>;
60
- /** The rules that apply to [Phenomenon]($ecschema-metadata) objects. */
61
- phenomenonRules?: Array<IRule<Phenomenon>>;
62
- /** The rules that apply to [Constant]($ecschema-metadata) objects. */
63
- constantRules?: Array<IRule<Constant>>;
64
- }
1
+ /** @packageDocumentation
2
+ * @module Validation
3
+ */
4
+ import { AnyClass, AnyECType, AnyProperty, Constant, CustomAttribute, CustomAttributeClass, CustomAttributeContainerProps, EntityClass, Enumeration, Format, InvertedUnit, KindOfQuantity, Mixin, Phenomenon, PropertyCategory, RelationshipClass, RelationshipConstraint, Schema, SchemaItem, StructClass, Unit, UnitSystem } from "@itwin/ecschema-metadata";
5
+ import { BaseDiagnostic } from "./Diagnostic";
6
+ /**
7
+ * Interface used for all rule implementations used during schema validation.
8
+ * @beta
9
+ */
10
+ export type IRule<T extends AnyECType, U = {}> = (ecDefinition: T, ...args: U[]) => AsyncIterable<BaseDiagnostic<T, any[]>>;
11
+ /** @beta */
12
+ export type BaseRule<T extends AnyECType, U extends AnyECType> = IRule<T, U>;
13
+ /**
14
+ * Interface used to represent logical collection of [IRule]($ecschema-editing) instances.
15
+ * @beta
16
+ */
17
+ export interface IRuleSet {
18
+ /** The name of the rule set. */
19
+ name: string;
20
+ /** A collection of schema names that should be excluded from adhering to the rules defined in this rule set. */
21
+ schemaExclusionSet?: string[];
22
+ /** The rules that apply to [Schema]($ecschema-metadata) objects. */
23
+ schemaRules?: Array<IRule<Schema>>;
24
+ /** The rules that apply to [SchemaItem]($ecschema-metadata) objects. */
25
+ schemaItemRules?: Array<IRule<SchemaItem>>;
26
+ /** The rules that apply to [ECClass]($ecschema-metadata) objects. */
27
+ classRules?: Array<IRule<AnyClass>>;
28
+ /** The rules that apply to [Property]($ecschema-metadata) objects. */
29
+ propertyRules?: Array<IRule<AnyProperty>>;
30
+ /** The rules that apply to [EntityClass]($ecschema-metadata) objects. */
31
+ entityClassRules?: Array<IRule<EntityClass>>;
32
+ /** The rules that apply to [StructClass]($ecschema-metadata) objects. */
33
+ structClassRules?: Array<IRule<StructClass>>;
34
+ /** The rules that apply to [Mixin]($ecschema-metadata) objects. */
35
+ mixinRules?: Array<IRule<Mixin>>;
36
+ /** The rules that apply to [RelationshipClass]($ecschema-metadata) objects. */
37
+ relationshipRules?: Array<IRule<RelationshipClass>>;
38
+ /** The rules that apply to [RelationshipConstraint]($ecschema-metadata) objects. */
39
+ relationshipConstraintRules?: Array<IRule<RelationshipConstraint>>;
40
+ /** The rules that apply to [CustomAttributeClass]($ecschema-metadata) objects. */
41
+ customAttributeClassRules?: Array<IRule<CustomAttributeClass>>;
42
+ /** The rules that apply to [CustomAttributeContainerProps]($ecschema-metadata) objects. */
43
+ customAttributeContainerRules?: Array<IRule<CustomAttributeContainerProps>>;
44
+ /** The rules that apply to [CustomAttribute]($ecschema-metadata) objects. */
45
+ customAttributeInstanceRules?: Array<BaseRule<CustomAttributeContainerProps, CustomAttribute>>;
46
+ /** The rules that apply to [Enumeration]($ecschema-metadata) objects. */
47
+ enumerationRules?: Array<IRule<Enumeration>>;
48
+ /** The rules that apply to [KindOfQuantity]($ecschema-metadata) objects. */
49
+ kindOfQuantityRules?: Array<IRule<KindOfQuantity>>;
50
+ /** The rules that apply to [PropertyCategory]($ecschema-metadata) objects. */
51
+ propertyCategoryRules?: Array<IRule<PropertyCategory>>;
52
+ /** The rules that apply to [Format]($ecschema-metadata) objects. */
53
+ formatRules?: Array<IRule<Format>>;
54
+ /** The rules that apply to [Unit]($ecschema-metadata) objects. */
55
+ unitRules?: Array<IRule<Unit>>;
56
+ /** The rules that apply to [InvertedUnit]($ecschema-metadata) objects. */
57
+ invertedUnitRules?: Array<IRule<InvertedUnit>>;
58
+ /** The rules that apply to [UnitSystem]($ecschema-metadata) objects. */
59
+ unitSystemRules?: Array<IRule<UnitSystem>>;
60
+ /** The rules that apply to [Phenomenon]($ecschema-metadata) objects. */
61
+ phenomenonRules?: Array<IRule<Phenomenon>>;
62
+ /** The rules that apply to [Constant]($ecschema-metadata) objects. */
63
+ constantRules?: Array<IRule<Constant>>;
64
+ }
65
65
  //# sourceMappingURL=Rules.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Rules.d.ts","sourceRoot":"","sources":["../../../src/Validation/Rules.ts"],"names":[],"mappings":"AAIA;;GAEG;AAEH,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAE,WAAW,EAAE,QAAQ,EAAE,eAAe,EAAE,oBAAoB,EACxF,6BAA6B,EAAE,WAAW,EAAE,WAAW,EAAE,MAAM,EAAE,YAAY,EAAE,cAAc,EAAE,KAAK,EAAE,UAAU,EAChH,gBAAgB,EAAE,iBAAiB,EAAE,sBAAsB,EAAE,MAAM,EAAE,UAAU,EAAE,WAAW,EAAE,IAAI,EAClG,UAAU,EAAE,MAAM,0BAA0B,CAAC;AAC/C,OAAO,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AAE9C;;;GAGG;AACH,oBAAY,KAAK,CAAC,CAAC,SAAS,SAAS,EAAE,CAAC,GAAG,EAAE,IAAI,CAAC,YAAY,EAAE,CAAC,EAAE,GAAG,IAAI,EAAE,CAAC,EAAE,KAAK,aAAa,CAAC,cAAc,CAAC,CAAC,EAAE,GAAG,EAAE,C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C,KAAK,CAAC,UAAU,CAAC,CAAC,CAAC;IAC3C,sEAAsE;IACtE,aAAa,CAAC,EAAE,KAAK,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAC;CACxC"}
@@ -1,10 +1,10 @@
1
- "use strict";
2
- /*---------------------------------------------------------------------------------------------
3
- * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
4
- * See LICENSE.md in the project root for license terms and full copyright notice.
5
- *--------------------------------------------------------------------------------------------*/
6
- /** @packageDocumentation
7
- * @module Validation
8
- */
9
- Object.defineProperty(exports, "__esModule", { value: true });
1
+ "use strict";
2
+ /*---------------------------------------------------------------------------------------------
3
+ * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
4
+ * See LICENSE.md in the project root for license terms and full copyright notice.
5
+ *--------------------------------------------------------------------------------------------*/
6
+ /** @packageDocumentation
7
+ * @module Validation
8
+ */
9
+ Object.defineProperty(exports, "__esModule", { value: true });
10
10
  //# sourceMappingURL=Rules.js.map