@itwin/ecschema-metadata 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 (121) hide show
  1. package/CHANGELOG.md +13 -3
  2. package/lib/cjs/Constants.d.ts +23 -23
  3. package/lib/cjs/Constants.js +33 -33
  4. package/lib/cjs/Constants.js.map +1 -1
  5. package/lib/cjs/Context.d.ts +139 -139
  6. package/lib/cjs/Context.js +204 -204
  7. package/lib/cjs/DelayedPromise.d.ts +88 -88
  8. package/lib/cjs/DelayedPromise.d.ts.map +1 -1
  9. package/lib/cjs/DelayedPromise.js +91 -91
  10. package/lib/cjs/DelayedPromise.js.map +1 -1
  11. package/lib/cjs/Deserialization/AbstractParser.d.ts +45 -45
  12. package/lib/cjs/Deserialization/AbstractParser.d.ts.map +1 -1
  13. package/lib/cjs/Deserialization/AbstractParser.js +11 -11
  14. package/lib/cjs/Deserialization/Helper.d.ts +251 -251
  15. package/lib/cjs/Deserialization/Helper.js +843 -843
  16. package/lib/cjs/Deserialization/JsonParser.d.ts +165 -165
  17. package/lib/cjs/Deserialization/JsonParser.js +680 -680
  18. package/lib/cjs/Deserialization/JsonProps.d.ts +282 -282
  19. package/lib/cjs/Deserialization/JsonProps.d.ts.map +1 -1
  20. package/lib/cjs/Deserialization/JsonProps.js +9 -9
  21. package/lib/cjs/Deserialization/SchemaGraphUtil.d.ts +34 -34
  22. package/lib/cjs/Deserialization/SchemaGraphUtil.js +77 -77
  23. package/lib/cjs/Deserialization/XmlParser.d.ts +85 -85
  24. package/lib/cjs/Deserialization/XmlParser.js +973 -973
  25. package/lib/cjs/Deserialization/XmlSerializationUtils.d.ts +54 -54
  26. package/lib/cjs/Deserialization/XmlSerializationUtils.js +174 -174
  27. package/lib/cjs/ECName.d.ts +30 -30
  28. package/lib/cjs/ECName.js +85 -85
  29. package/lib/cjs/ECObjects.d.ts +162 -162
  30. package/lib/cjs/ECObjects.js +453 -453
  31. package/lib/cjs/Exception.d.ts +43 -43
  32. package/lib/cjs/Exception.js +84 -84
  33. package/lib/cjs/Interfaces.d.ts +66 -66
  34. package/lib/cjs/Interfaces.d.ts.map +1 -1
  35. package/lib/cjs/Interfaces.js +9 -9
  36. package/lib/cjs/Metadata/Class.d.ts +243 -243
  37. package/lib/cjs/Metadata/Class.js +558 -558
  38. package/lib/cjs/Metadata/Class.js.map +1 -1
  39. package/lib/cjs/Metadata/Constant.d.ts +64 -64
  40. package/lib/cjs/Metadata/Constant.js +123 -123
  41. package/lib/cjs/Metadata/Constant.js.map +1 -1
  42. package/lib/cjs/Metadata/CustomAttribute.d.ts +23 -23
  43. package/lib/cjs/Metadata/CustomAttribute.js +27 -27
  44. package/lib/cjs/Metadata/CustomAttributeClass.d.ts +39 -39
  45. package/lib/cjs/Metadata/CustomAttributeClass.js +68 -68
  46. package/lib/cjs/Metadata/CustomAttributeClass.js.map +1 -1
  47. package/lib/cjs/Metadata/EntityClass.d.ts +77 -77
  48. package/lib/cjs/Metadata/EntityClass.js +230 -230
  49. package/lib/cjs/Metadata/Enumeration.d.ts +86 -86
  50. package/lib/cjs/Metadata/Enumeration.d.ts.map +1 -1
  51. package/lib/cjs/Metadata/Enumeration.js +159 -159
  52. package/lib/cjs/Metadata/Enumeration.js.map +1 -1
  53. package/lib/cjs/Metadata/Format.d.ts +98 -98
  54. package/lib/cjs/Metadata/Format.js +242 -242
  55. package/lib/cjs/Metadata/InvertedUnit.d.ts +49 -49
  56. package/lib/cjs/Metadata/InvertedUnit.js +97 -97
  57. package/lib/cjs/Metadata/KindOfQuantity.d.ts +65 -65
  58. package/lib/cjs/Metadata/KindOfQuantity.js +225 -225
  59. package/lib/cjs/Metadata/KindOfQuantity.js.map +1 -1
  60. package/lib/cjs/Metadata/Mixin.d.ts +54 -54
  61. package/lib/cjs/Metadata/Mixin.js +113 -113
  62. package/lib/cjs/Metadata/Mixin.js.map +1 -1
  63. package/lib/cjs/Metadata/OverrideFormat.d.ts +55 -55
  64. package/lib/cjs/Metadata/OverrideFormat.js +88 -88
  65. package/lib/cjs/Metadata/Phenomenon.d.ts +33 -33
  66. package/lib/cjs/Metadata/Phenomenon.js +59 -59
  67. package/lib/cjs/Metadata/Property.d.ts +197 -197
  68. package/lib/cjs/Metadata/Property.d.ts.map +1 -1
  69. package/lib/cjs/Metadata/Property.js +491 -491
  70. package/lib/cjs/Metadata/Property.js.map +1 -1
  71. package/lib/cjs/Metadata/PropertyCategory.d.ts +39 -39
  72. package/lib/cjs/Metadata/PropertyCategory.js +61 -61
  73. package/lib/cjs/Metadata/PropertyCategory.js.map +1 -1
  74. package/lib/cjs/Metadata/RelationshipClass.d.ts +152 -152
  75. package/lib/cjs/Metadata/RelationshipClass.js +349 -349
  76. package/lib/cjs/Metadata/RelationshipClass.js.map +1 -1
  77. package/lib/cjs/Metadata/Schema.d.ts +291 -291
  78. package/lib/cjs/Metadata/Schema.d.ts.map +1 -1
  79. package/lib/cjs/Metadata/Schema.js +520 -520
  80. package/lib/cjs/Metadata/Schema.js.map +1 -1
  81. package/lib/cjs/Metadata/SchemaItem.d.ts +61 -61
  82. package/lib/cjs/Metadata/SchemaItem.js +136 -136
  83. package/lib/cjs/Metadata/Unit.d.ts +76 -76
  84. package/lib/cjs/Metadata/Unit.js +162 -162
  85. package/lib/cjs/Metadata/Unit.js.map +1 -1
  86. package/lib/cjs/Metadata/UnitSystem.d.ts +20 -20
  87. package/lib/cjs/Metadata/UnitSystem.js +29 -29
  88. package/lib/cjs/PropertyTypes.d.ts +49 -49
  89. package/lib/cjs/PropertyTypes.js +91 -91
  90. package/lib/cjs/PropertyTypes.js.map +1 -1
  91. package/lib/cjs/SchemaJsonLocater.d.ts +34 -34
  92. package/lib/cjs/SchemaJsonLocater.d.ts.map +1 -1
  93. package/lib/cjs/SchemaJsonLocater.js +42 -42
  94. package/lib/cjs/SchemaKey.d.ts +110 -110
  95. package/lib/cjs/SchemaKey.js +219 -219
  96. package/lib/cjs/SchemaLoader.d.ts +23 -23
  97. package/lib/cjs/SchemaLoader.js +47 -47
  98. package/lib/cjs/SchemaPartVisitorDelegate.d.ts +274 -274
  99. package/lib/cjs/SchemaPartVisitorDelegate.js +212 -212
  100. package/lib/cjs/UnitConversion/Graph.d.ts +34 -34
  101. package/lib/cjs/UnitConversion/Graph.js +83 -83
  102. package/lib/cjs/UnitConversion/Parser.d.ts +8 -8
  103. package/lib/cjs/UnitConversion/Parser.js +42 -42
  104. package/lib/cjs/UnitConversion/UnitConversion.d.ts +45 -45
  105. package/lib/cjs/UnitConversion/UnitConversion.js +77 -77
  106. package/lib/cjs/UnitConversion/UnitConversion.js.map +1 -1
  107. package/lib/cjs/UnitConversion/UnitConverter.d.ts +39 -39
  108. package/lib/cjs/UnitConversion/UnitConverter.js +116 -116
  109. package/lib/cjs/UnitConversion/UnitTree.d.ts +43 -43
  110. package/lib/cjs/UnitConversion/UnitTree.js +169 -169
  111. package/lib/cjs/UnitProvider/SchemaUnitProvider.d.ts +77 -77
  112. package/lib/cjs/UnitProvider/SchemaUnitProvider.js +234 -236
  113. package/lib/cjs/UnitProvider/SchemaUnitProvider.js.map +1 -1
  114. package/lib/cjs/Validation/SchemaWalker.d.ts +23 -23
  115. package/lib/cjs/Validation/SchemaWalker.js +53 -53
  116. package/lib/cjs/ecschema-metadata.d.ts +51 -51
  117. package/lib/cjs/ecschema-metadata.js +100 -96
  118. package/lib/cjs/ecschema-metadata.js.map +1 -1
  119. package/lib/cjs/utils/SchemaGraph.d.ts +25 -25
  120. package/lib/cjs/utils/SchemaGraph.js +65 -65
  121. package/package.json +9 -9
@@ -1,54 +1,54 @@
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
- Object.defineProperty(exports, "__esModule", { value: true });
7
- exports.SchemaWalker = void 0;
8
- const ECObjects_1 = require("../ECObjects");
9
- const Class_1 = require("../Metadata/Class");
10
- const SchemaPartVisitorDelegate_1 = require("../SchemaPartVisitorDelegate");
11
- /**
12
- * The purpose of this class is to traverse a given schema, allowing clients to hook into
13
- * the traversal process via Visitors to allow for custom processing of the schema elements.
14
- * @internal
15
- */
16
- class SchemaWalker {
17
- /**
18
- * Initializes a new SchemaWalker instance.
19
- * @param visitor An ISchemaWalkerVisitor implementation whose methods will be called during schema traversal.
20
- */
21
- constructor(visitor) {
22
- this._visitorHelper = new SchemaPartVisitorDelegate_1.SchemaPartVisitorDelegate(visitor);
23
- }
24
- /**
25
- * Traverses the given Schema, calling ISchemaWalkerVisitor methods along the way.
26
- * @param schema The Schema to traverse.
27
- */
28
- async traverseSchema(schema) {
29
- this._schema = schema;
30
- await this._visitorHelper.visitSchema(schema);
31
- await this._visitorHelper.visitSchemaPart(schema);
32
- for (const item of this._schema.getItems())
33
- await this.traverseSchemaItem(item);
34
- return schema;
35
- }
36
- async traverseSchemaItem(schemaItem) {
37
- await this._visitorHelper.visitSchemaPart(schemaItem);
38
- if (Class_1.ECClass.isECClass(schemaItem))
39
- await this.traverseClass(schemaItem);
40
- }
41
- async traverseClass(ecClass) {
42
- if (ecClass.properties) {
43
- for (const property of ecClass.properties) {
44
- await this._visitorHelper.visitSchemaPart(property);
45
- }
46
- }
47
- if (ecClass.schemaItemType === ECObjects_1.SchemaItemType.RelationshipClass) {
48
- await this._visitorHelper.visitSchemaPart(ecClass.source);
49
- await this._visitorHelper.visitSchemaPart(ecClass.target);
50
- }
51
- }
52
- }
53
- exports.SchemaWalker = SchemaWalker;
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
+ Object.defineProperty(exports, "__esModule", { value: true });
7
+ exports.SchemaWalker = void 0;
8
+ const ECObjects_1 = require("../ECObjects");
9
+ const Class_1 = require("../Metadata/Class");
10
+ const SchemaPartVisitorDelegate_1 = require("../SchemaPartVisitorDelegate");
11
+ /**
12
+ * The purpose of this class is to traverse a given schema, allowing clients to hook into
13
+ * the traversal process via Visitors to allow for custom processing of the schema elements.
14
+ * @internal
15
+ */
16
+ class SchemaWalker {
17
+ /**
18
+ * Initializes a new SchemaWalker instance.
19
+ * @param visitor An ISchemaWalkerVisitor implementation whose methods will be called during schema traversal.
20
+ */
21
+ constructor(visitor) {
22
+ this._visitorHelper = new SchemaPartVisitorDelegate_1.SchemaPartVisitorDelegate(visitor);
23
+ }
24
+ /**
25
+ * Traverses the given Schema, calling ISchemaWalkerVisitor methods along the way.
26
+ * @param schema The Schema to traverse.
27
+ */
28
+ async traverseSchema(schema) {
29
+ this._schema = schema;
30
+ await this._visitorHelper.visitSchema(schema);
31
+ await this._visitorHelper.visitSchemaPart(schema);
32
+ for (const item of this._schema.getItems())
33
+ await this.traverseSchemaItem(item);
34
+ return schema;
35
+ }
36
+ async traverseSchemaItem(schemaItem) {
37
+ await this._visitorHelper.visitSchemaPart(schemaItem);
38
+ if (Class_1.ECClass.isECClass(schemaItem))
39
+ await this.traverseClass(schemaItem);
40
+ }
41
+ async traverseClass(ecClass) {
42
+ if (ecClass.properties) {
43
+ for (const property of ecClass.properties) {
44
+ await this._visitorHelper.visitSchemaPart(property);
45
+ }
46
+ }
47
+ if (ecClass.schemaItemType === ECObjects_1.SchemaItemType.RelationshipClass) {
48
+ await this._visitorHelper.visitSchemaPart(ecClass.source);
49
+ await this._visitorHelper.visitSchemaPart(ecClass.target);
50
+ }
51
+ }
52
+ }
53
+ exports.SchemaWalker = SchemaWalker;
54
54
  //# sourceMappingURL=SchemaWalker.js.map
@@ -1,52 +1,52 @@
1
- export * from "./Constants";
2
- export * from "./Context";
3
- export * from "./DelayedPromise";
4
- export * from "./Deserialization/SchemaGraphUtil";
5
- export * from "./Deserialization/JsonProps";
6
- export * from "./Deserialization/Helper";
7
- export * from "./Deserialization/XmlParser";
8
- export * from "./ECName";
9
- export * from "./ECObjects";
10
- export * from "./Exception";
11
- export * from "./Interfaces";
12
- export { ECClass, StructClass } from "./Metadata/Class";
13
- export { Constant } from "./Metadata/Constant";
14
- export { CustomAttributeClass } from "./Metadata/CustomAttributeClass";
15
- export { EntityClass } from "./Metadata/EntityClass";
16
- export { AnyEnumerator, Enumeration, Enumerator } from "./Metadata/Enumeration";
17
- export { Format } from "./Metadata/Format";
18
- export { InvertedUnit } from "./Metadata/InvertedUnit";
19
- export { KindOfQuantity } from "./Metadata/KindOfQuantity";
20
- export { Mixin } from "./Metadata/Mixin";
21
- export * from "./Metadata/OverrideFormat";
22
- export { Phenomenon } from "./Metadata/Phenomenon";
23
- export { Property, PrimitiveProperty, PrimitiveArrayProperty, EnumerationProperty, StructProperty, StructArrayProperty, EnumerationArrayProperty, NavigationProperty, AnyArrayProperty, AnyEnumerationProperty, AnyPrimitiveProperty, AnyProperty, AnyStructProperty, ArrayProperty, PrimitiveOrEnumPropertyBase, } from "./Metadata/Property";
24
- export { PropertyCategory } from "./Metadata/PropertyCategory";
25
- export { RelationshipClass, RelationshipConstraint, RelationshipMultiplicity } from "./Metadata/RelationshipClass";
26
- export { Schema } from "./Metadata/Schema";
27
- export * from "./Metadata/SchemaItem";
28
- export { Unit } from "./Metadata/Unit";
29
- export { UnitSystem } from "./Metadata/UnitSystem";
30
- export * from "./PropertyTypes";
31
- export * from "./SchemaJsonLocater";
32
- export * from "./SchemaKey";
33
- export * from "./SchemaLoader";
34
- export * from "./UnitConversion/UnitConversion";
35
- export * from "./UnitConversion/UnitConverter";
36
- export * from "./UnitProvider/SchemaUnitProvider";
37
- export * from "./Validation/SchemaWalker";
38
- export * from "./SchemaPartVisitorDelegate";
39
- export { CustomAttribute, CustomAttributeContainerProps } from "./Metadata/CustomAttribute";
40
- export { SchemaGraph } from "./utils/SchemaGraph";
41
- /** @docs-package-description
42
- * The ecschema-metadata package contains classes for working with ECSchemas that can be used in both [frontend]($docs/learning/frontend/index.md) and [backend]($docs/learning/backend/index.md).
43
- */
44
- /**
45
- * @docs-group-description Metadata
46
- * Definitions of classes and interfaces that represent all [EC elements]($docs/bis/ec/index.md).
47
- */
48
- /**
49
- * @docs-group-description Utils
50
- * A set of utility classes used throughout the package.
51
- */
1
+ export * from "./Constants";
2
+ export * from "./Context";
3
+ export * from "./DelayedPromise";
4
+ export * from "./Deserialization/SchemaGraphUtil";
5
+ export * from "./Deserialization/JsonProps";
6
+ export * from "./Deserialization/Helper";
7
+ export * from "./Deserialization/XmlParser";
8
+ export * from "./ECName";
9
+ export * from "./ECObjects";
10
+ export * from "./Exception";
11
+ export * from "./Interfaces";
12
+ export { ECClass, StructClass } from "./Metadata/Class";
13
+ export { Constant } from "./Metadata/Constant";
14
+ export { CustomAttributeClass } from "./Metadata/CustomAttributeClass";
15
+ export { EntityClass } from "./Metadata/EntityClass";
16
+ export { AnyEnumerator, Enumeration, Enumerator } from "./Metadata/Enumeration";
17
+ export { Format } from "./Metadata/Format";
18
+ export { InvertedUnit } from "./Metadata/InvertedUnit";
19
+ export { KindOfQuantity } from "./Metadata/KindOfQuantity";
20
+ export { Mixin } from "./Metadata/Mixin";
21
+ export * from "./Metadata/OverrideFormat";
22
+ export { Phenomenon } from "./Metadata/Phenomenon";
23
+ export { Property, PrimitiveProperty, PrimitiveArrayProperty, EnumerationProperty, StructProperty, StructArrayProperty, EnumerationArrayProperty, NavigationProperty, AnyArrayProperty, AnyEnumerationProperty, AnyPrimitiveProperty, AnyProperty, AnyStructProperty, ArrayProperty, PrimitiveOrEnumPropertyBase, } from "./Metadata/Property";
24
+ export { PropertyCategory } from "./Metadata/PropertyCategory";
25
+ export { RelationshipClass, RelationshipConstraint, RelationshipMultiplicity } from "./Metadata/RelationshipClass";
26
+ export { Schema } from "./Metadata/Schema";
27
+ export * from "./Metadata/SchemaItem";
28
+ export { Unit } from "./Metadata/Unit";
29
+ export { UnitSystem } from "./Metadata/UnitSystem";
30
+ export * from "./PropertyTypes";
31
+ export * from "./SchemaJsonLocater";
32
+ export * from "./SchemaKey";
33
+ export * from "./SchemaLoader";
34
+ export * from "./UnitConversion/UnitConversion";
35
+ export * from "./UnitConversion/UnitConverter";
36
+ export * from "./UnitProvider/SchemaUnitProvider";
37
+ export * from "./Validation/SchemaWalker";
38
+ export * from "./SchemaPartVisitorDelegate";
39
+ export { CustomAttribute, CustomAttributeContainerProps } from "./Metadata/CustomAttribute";
40
+ export { SchemaGraph } from "./utils/SchemaGraph";
41
+ /** @docs-package-description
42
+ * The ecschema-metadata package contains classes for working with ECSchemas that can be used in both [frontend]($docs/learning/frontend/index.md) and [backend]($docs/learning/backend/index.md).
43
+ */
44
+ /**
45
+ * @docs-group-description Metadata
46
+ * Definitions of classes and interfaces that represent all [EC elements]($docs/bis/ec/index.md).
47
+ */
48
+ /**
49
+ * @docs-group-description Utils
50
+ * A set of utility classes used throughout the package.
51
+ */
52
52
  //# sourceMappingURL=ecschema-metadata.d.ts.map
@@ -1,97 +1,101 @@
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
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
7
- if (k2 === undefined) k2 = k;
8
- Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
- };
16
- Object.defineProperty(exports, "__esModule", { value: true });
17
- exports.SchemaGraph = exports.UnitSystem = exports.Unit = exports.Schema = exports.RelationshipMultiplicity = exports.RelationshipConstraint = exports.RelationshipClass = exports.PropertyCategory = exports.PrimitiveOrEnumPropertyBase = exports.ArrayProperty = exports.NavigationProperty = exports.EnumerationArrayProperty = exports.StructArrayProperty = exports.StructProperty = exports.EnumerationProperty = exports.PrimitiveArrayProperty = exports.PrimitiveProperty = exports.Property = exports.Phenomenon = exports.Mixin = exports.KindOfQuantity = exports.InvertedUnit = exports.Format = exports.Enumeration = exports.EntityClass = exports.CustomAttributeClass = exports.Constant = exports.StructClass = exports.ECClass = void 0;
18
- __exportStar(require("./Constants"), exports);
19
- __exportStar(require("./Context"), exports);
20
- __exportStar(require("./DelayedPromise"), exports);
21
- __exportStar(require("./Deserialization/SchemaGraphUtil"), exports);
22
- __exportStar(require("./Deserialization/JsonProps"), exports);
23
- __exportStar(require("./Deserialization/Helper"), exports);
24
- __exportStar(require("./Deserialization/XmlParser"), exports);
25
- __exportStar(require("./ECName"), exports);
26
- __exportStar(require("./ECObjects"), exports);
27
- __exportStar(require("./Exception"), exports);
28
- __exportStar(require("./Interfaces"), exports);
29
- var Class_1 = require("./Metadata/Class");
30
- Object.defineProperty(exports, "ECClass", { enumerable: true, get: function () { return Class_1.ECClass; } });
31
- Object.defineProperty(exports, "StructClass", { enumerable: true, get: function () { return Class_1.StructClass; } });
32
- var Constant_1 = require("./Metadata/Constant");
33
- Object.defineProperty(exports, "Constant", { enumerable: true, get: function () { return Constant_1.Constant; } });
34
- var CustomAttributeClass_1 = require("./Metadata/CustomAttributeClass");
35
- Object.defineProperty(exports, "CustomAttributeClass", { enumerable: true, get: function () { return CustomAttributeClass_1.CustomAttributeClass; } });
36
- var EntityClass_1 = require("./Metadata/EntityClass");
37
- Object.defineProperty(exports, "EntityClass", { enumerable: true, get: function () { return EntityClass_1.EntityClass; } });
38
- var Enumeration_1 = require("./Metadata/Enumeration");
39
- Object.defineProperty(exports, "Enumeration", { enumerable: true, get: function () { return Enumeration_1.Enumeration; } });
40
- var Format_1 = require("./Metadata/Format");
41
- Object.defineProperty(exports, "Format", { enumerable: true, get: function () { return Format_1.Format; } });
42
- var InvertedUnit_1 = require("./Metadata/InvertedUnit");
43
- Object.defineProperty(exports, "InvertedUnit", { enumerable: true, get: function () { return InvertedUnit_1.InvertedUnit; } });
44
- var KindOfQuantity_1 = require("./Metadata/KindOfQuantity");
45
- Object.defineProperty(exports, "KindOfQuantity", { enumerable: true, get: function () { return KindOfQuantity_1.KindOfQuantity; } });
46
- var Mixin_1 = require("./Metadata/Mixin");
47
- Object.defineProperty(exports, "Mixin", { enumerable: true, get: function () { return Mixin_1.Mixin; } });
48
- __exportStar(require("./Metadata/OverrideFormat"), exports);
49
- var Phenomenon_1 = require("./Metadata/Phenomenon");
50
- Object.defineProperty(exports, "Phenomenon", { enumerable: true, get: function () { return Phenomenon_1.Phenomenon; } });
51
- var Property_1 = require("./Metadata/Property");
52
- Object.defineProperty(exports, "Property", { enumerable: true, get: function () { return Property_1.Property; } });
53
- Object.defineProperty(exports, "PrimitiveProperty", { enumerable: true, get: function () { return Property_1.PrimitiveProperty; } });
54
- Object.defineProperty(exports, "PrimitiveArrayProperty", { enumerable: true, get: function () { return Property_1.PrimitiveArrayProperty; } });
55
- Object.defineProperty(exports, "EnumerationProperty", { enumerable: true, get: function () { return Property_1.EnumerationProperty; } });
56
- Object.defineProperty(exports, "StructProperty", { enumerable: true, get: function () { return Property_1.StructProperty; } });
57
- Object.defineProperty(exports, "StructArrayProperty", { enumerable: true, get: function () { return Property_1.StructArrayProperty; } });
58
- Object.defineProperty(exports, "EnumerationArrayProperty", { enumerable: true, get: function () { return Property_1.EnumerationArrayProperty; } });
59
- Object.defineProperty(exports, "NavigationProperty", { enumerable: true, get: function () { return Property_1.NavigationProperty; } });
60
- Object.defineProperty(exports, "ArrayProperty", { enumerable: true, get: function () { return Property_1.ArrayProperty; } });
61
- Object.defineProperty(exports, "PrimitiveOrEnumPropertyBase", { enumerable: true, get: function () { return Property_1.PrimitiveOrEnumPropertyBase; } });
62
- var PropertyCategory_1 = require("./Metadata/PropertyCategory");
63
- Object.defineProperty(exports, "PropertyCategory", { enumerable: true, get: function () { return PropertyCategory_1.PropertyCategory; } });
64
- var RelationshipClass_1 = require("./Metadata/RelationshipClass");
65
- Object.defineProperty(exports, "RelationshipClass", { enumerable: true, get: function () { return RelationshipClass_1.RelationshipClass; } });
66
- Object.defineProperty(exports, "RelationshipConstraint", { enumerable: true, get: function () { return RelationshipClass_1.RelationshipConstraint; } });
67
- Object.defineProperty(exports, "RelationshipMultiplicity", { enumerable: true, get: function () { return RelationshipClass_1.RelationshipMultiplicity; } });
68
- var Schema_1 = require("./Metadata/Schema");
69
- Object.defineProperty(exports, "Schema", { enumerable: true, get: function () { return Schema_1.Schema; } });
70
- __exportStar(require("./Metadata/SchemaItem"), exports);
71
- var Unit_1 = require("./Metadata/Unit");
72
- Object.defineProperty(exports, "Unit", { enumerable: true, get: function () { return Unit_1.Unit; } });
73
- var UnitSystem_1 = require("./Metadata/UnitSystem");
74
- Object.defineProperty(exports, "UnitSystem", { enumerable: true, get: function () { return UnitSystem_1.UnitSystem; } });
75
- __exportStar(require("./PropertyTypes"), exports);
76
- __exportStar(require("./SchemaJsonLocater"), exports);
77
- __exportStar(require("./SchemaKey"), exports);
78
- __exportStar(require("./SchemaLoader"), exports);
79
- __exportStar(require("./UnitConversion/UnitConversion"), exports);
80
- __exportStar(require("./UnitConversion/UnitConverter"), exports);
81
- __exportStar(require("./UnitProvider/SchemaUnitProvider"), exports);
82
- __exportStar(require("./Validation/SchemaWalker"), exports);
83
- __exportStar(require("./SchemaPartVisitorDelegate"), exports);
84
- var SchemaGraph_1 = require("./utils/SchemaGraph");
85
- Object.defineProperty(exports, "SchemaGraph", { enumerable: true, get: function () { return SchemaGraph_1.SchemaGraph; } });
86
- /** @docs-package-description
87
- * The ecschema-metadata package contains classes for working with ECSchemas that can be used in both [frontend]($docs/learning/frontend/index.md) and [backend]($docs/learning/backend/index.md).
88
- */
89
- /**
90
- * @docs-group-description Metadata
91
- * Definitions of classes and interfaces that represent all [EC elements]($docs/bis/ec/index.md).
92
- */
93
- /**
94
- * @docs-group-description Utils
95
- * A set of utility classes used throughout the package.
96
- */
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
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
7
+ if (k2 === undefined) k2 = k;
8
+ var desc = Object.getOwnPropertyDescriptor(m, k);
9
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
10
+ desc = { enumerable: true, get: function() { return m[k]; } };
11
+ }
12
+ Object.defineProperty(o, k2, desc);
13
+ }) : (function(o, m, k, k2) {
14
+ if (k2 === undefined) k2 = k;
15
+ o[k2] = m[k];
16
+ }));
17
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
18
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
19
+ };
20
+ Object.defineProperty(exports, "__esModule", { value: true });
21
+ exports.SchemaGraph = exports.UnitSystem = exports.Unit = exports.Schema = exports.RelationshipMultiplicity = exports.RelationshipConstraint = exports.RelationshipClass = exports.PropertyCategory = exports.PrimitiveOrEnumPropertyBase = exports.ArrayProperty = exports.NavigationProperty = exports.EnumerationArrayProperty = exports.StructArrayProperty = exports.StructProperty = exports.EnumerationProperty = exports.PrimitiveArrayProperty = exports.PrimitiveProperty = exports.Property = exports.Phenomenon = exports.Mixin = exports.KindOfQuantity = exports.InvertedUnit = exports.Format = exports.Enumeration = exports.EntityClass = exports.CustomAttributeClass = exports.Constant = exports.StructClass = exports.ECClass = void 0;
22
+ __exportStar(require("./Constants"), exports);
23
+ __exportStar(require("./Context"), exports);
24
+ __exportStar(require("./DelayedPromise"), exports);
25
+ __exportStar(require("./Deserialization/SchemaGraphUtil"), exports);
26
+ __exportStar(require("./Deserialization/JsonProps"), exports);
27
+ __exportStar(require("./Deserialization/Helper"), exports);
28
+ __exportStar(require("./Deserialization/XmlParser"), exports);
29
+ __exportStar(require("./ECName"), exports);
30
+ __exportStar(require("./ECObjects"), exports);
31
+ __exportStar(require("./Exception"), exports);
32
+ __exportStar(require("./Interfaces"), exports);
33
+ var Class_1 = require("./Metadata/Class");
34
+ Object.defineProperty(exports, "ECClass", { enumerable: true, get: function () { return Class_1.ECClass; } });
35
+ Object.defineProperty(exports, "StructClass", { enumerable: true, get: function () { return Class_1.StructClass; } });
36
+ var Constant_1 = require("./Metadata/Constant");
37
+ Object.defineProperty(exports, "Constant", { enumerable: true, get: function () { return Constant_1.Constant; } });
38
+ var CustomAttributeClass_1 = require("./Metadata/CustomAttributeClass");
39
+ Object.defineProperty(exports, "CustomAttributeClass", { enumerable: true, get: function () { return CustomAttributeClass_1.CustomAttributeClass; } });
40
+ var EntityClass_1 = require("./Metadata/EntityClass");
41
+ Object.defineProperty(exports, "EntityClass", { enumerable: true, get: function () { return EntityClass_1.EntityClass; } });
42
+ var Enumeration_1 = require("./Metadata/Enumeration");
43
+ Object.defineProperty(exports, "Enumeration", { enumerable: true, get: function () { return Enumeration_1.Enumeration; } });
44
+ var Format_1 = require("./Metadata/Format");
45
+ Object.defineProperty(exports, "Format", { enumerable: true, get: function () { return Format_1.Format; } });
46
+ var InvertedUnit_1 = require("./Metadata/InvertedUnit");
47
+ Object.defineProperty(exports, "InvertedUnit", { enumerable: true, get: function () { return InvertedUnit_1.InvertedUnit; } });
48
+ var KindOfQuantity_1 = require("./Metadata/KindOfQuantity");
49
+ Object.defineProperty(exports, "KindOfQuantity", { enumerable: true, get: function () { return KindOfQuantity_1.KindOfQuantity; } });
50
+ var Mixin_1 = require("./Metadata/Mixin");
51
+ Object.defineProperty(exports, "Mixin", { enumerable: true, get: function () { return Mixin_1.Mixin; } });
52
+ __exportStar(require("./Metadata/OverrideFormat"), exports);
53
+ var Phenomenon_1 = require("./Metadata/Phenomenon");
54
+ Object.defineProperty(exports, "Phenomenon", { enumerable: true, get: function () { return Phenomenon_1.Phenomenon; } });
55
+ var Property_1 = require("./Metadata/Property");
56
+ Object.defineProperty(exports, "Property", { enumerable: true, get: function () { return Property_1.Property; } });
57
+ Object.defineProperty(exports, "PrimitiveProperty", { enumerable: true, get: function () { return Property_1.PrimitiveProperty; } });
58
+ Object.defineProperty(exports, "PrimitiveArrayProperty", { enumerable: true, get: function () { return Property_1.PrimitiveArrayProperty; } });
59
+ Object.defineProperty(exports, "EnumerationProperty", { enumerable: true, get: function () { return Property_1.EnumerationProperty; } });
60
+ Object.defineProperty(exports, "StructProperty", { enumerable: true, get: function () { return Property_1.StructProperty; } });
61
+ Object.defineProperty(exports, "StructArrayProperty", { enumerable: true, get: function () { return Property_1.StructArrayProperty; } });
62
+ Object.defineProperty(exports, "EnumerationArrayProperty", { enumerable: true, get: function () { return Property_1.EnumerationArrayProperty; } });
63
+ Object.defineProperty(exports, "NavigationProperty", { enumerable: true, get: function () { return Property_1.NavigationProperty; } });
64
+ Object.defineProperty(exports, "ArrayProperty", { enumerable: true, get: function () { return Property_1.ArrayProperty; } });
65
+ Object.defineProperty(exports, "PrimitiveOrEnumPropertyBase", { enumerable: true, get: function () { return Property_1.PrimitiveOrEnumPropertyBase; } });
66
+ var PropertyCategory_1 = require("./Metadata/PropertyCategory");
67
+ Object.defineProperty(exports, "PropertyCategory", { enumerable: true, get: function () { return PropertyCategory_1.PropertyCategory; } });
68
+ var RelationshipClass_1 = require("./Metadata/RelationshipClass");
69
+ Object.defineProperty(exports, "RelationshipClass", { enumerable: true, get: function () { return RelationshipClass_1.RelationshipClass; } });
70
+ Object.defineProperty(exports, "RelationshipConstraint", { enumerable: true, get: function () { return RelationshipClass_1.RelationshipConstraint; } });
71
+ Object.defineProperty(exports, "RelationshipMultiplicity", { enumerable: true, get: function () { return RelationshipClass_1.RelationshipMultiplicity; } });
72
+ var Schema_1 = require("./Metadata/Schema");
73
+ Object.defineProperty(exports, "Schema", { enumerable: true, get: function () { return Schema_1.Schema; } });
74
+ __exportStar(require("./Metadata/SchemaItem"), exports);
75
+ var Unit_1 = require("./Metadata/Unit");
76
+ Object.defineProperty(exports, "Unit", { enumerable: true, get: function () { return Unit_1.Unit; } });
77
+ var UnitSystem_1 = require("./Metadata/UnitSystem");
78
+ Object.defineProperty(exports, "UnitSystem", { enumerable: true, get: function () { return UnitSystem_1.UnitSystem; } });
79
+ __exportStar(require("./PropertyTypes"), exports);
80
+ __exportStar(require("./SchemaJsonLocater"), exports);
81
+ __exportStar(require("./SchemaKey"), exports);
82
+ __exportStar(require("./SchemaLoader"), exports);
83
+ __exportStar(require("./UnitConversion/UnitConversion"), exports);
84
+ __exportStar(require("./UnitConversion/UnitConverter"), exports);
85
+ __exportStar(require("./UnitProvider/SchemaUnitProvider"), exports);
86
+ __exportStar(require("./Validation/SchemaWalker"), exports);
87
+ __exportStar(require("./SchemaPartVisitorDelegate"), exports);
88
+ var SchemaGraph_1 = require("./utils/SchemaGraph");
89
+ Object.defineProperty(exports, "SchemaGraph", { enumerable: true, get: function () { return SchemaGraph_1.SchemaGraph; } });
90
+ /** @docs-package-description
91
+ * The ecschema-metadata package contains classes for working with ECSchemas that can be used in both [frontend]($docs/learning/frontend/index.md) and [backend]($docs/learning/backend/index.md).
92
+ */
93
+ /**
94
+ * @docs-group-description Metadata
95
+ * Definitions of classes and interfaces that represent all [EC elements]($docs/bis/ec/index.md).
96
+ */
97
+ /**
98
+ * @docs-group-description Utils
99
+ * A set of utility classes used throughout the package.
100
+ */
97
101
  //# sourceMappingURL=ecschema-metadata.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ecschema-metadata.js","sourceRoot":"","sources":["../../src/ecschema-metadata.ts"],"names":[],"mappings":";AAAA;;;+FAG+F;;;;;;;;;;;;;AAE/F,8CAA4B;AAC5B,4CAA0B;AAC1B,mDAAiC;AACjC,oEAAkD;AAClD,8DAA4C;AAC5C,2DAAyC;AACzC,8DAA4C;AAC5C,2CAAyB;AACzB,8CAA4B;AAC5B,8CAA4B;AAC5B,+CAA6B;AAC7B,0CAAwD;AAA/C,gGAAA,OAAO,OAAA;AAAE,oGAAA,WAAW,OAAA;AAC7B,gDAA+C;AAAtC,oGAAA,QAAQ,OAAA;AACjB,wEAAuE;AAA9D,4HAAA,oBAAoB,OAAA;AAC7B,sDAAqD;AAA5C,0GAAA,WAAW,OAAA;AACpB,sDAAgF;AAAxD,0GAAA,WAAW,OAAA;AACnC,4CAA2C;AAAlC,gGAAA,MAAM,OAAA;AACf,wDAAuD;AAA9C,4GAAA,YAAY,OAAA;AACrB,4DAA2D;AAAlD,gHAAA,cAAc,OAAA;AACvB,0CAAyC;AAAhC,8FAAA,KAAK,OAAA;AACd,4DAA0C;AAC1C,oDAAmD;AAA1C,wGAAA,UAAU,OAAA;AACnB,gDAI6B;AAH3B,oGAAA,QAAQ,OAAA;AAAE,6GAAA,iBAAiB,OAAA;AAAE,kHAAA,sBAAsB,OAAA;AAAE,+GAAA,mBAAmB,OAAA;AAAE,0GAAA,cAAc,OAAA;AACxF,+GAAA,mBAAmB,OAAA;AAAE,oHAAA,wBAAwB,OAAA;AAAE,8GAAA,kBAAkB,OAAA;AACX,yGAAA,aAAa,OAAA;AAAE,uHAAA,2BAA2B,OAAA;AAElG,gEAA+D;AAAtD,oHAAA,gBAAgB,OAAA;AACzB,kEAAmH;AAA1G,sHAAA,iBAAiB,OAAA;AAAE,2HAAA,sBAAsB,OAAA;AAAE,6HAAA,wBAAwB,OAAA;AAC5E,4CAA2C;AAAlC,gGAAA,MAAM,OAAA;AACf,wDAAsC;AACtC,wCAAuC;AAA9B,4FAAA,IAAI,OAAA;AACb,oDAAmD;AAA1C,wGAAA,UAAU,OAAA;AACnB,kDAAgC;AAChC,sDAAoC;AACpC,8CAA4B;AAC5B,iDAA+B;AAC/B,kEAAgD;AAChD,iEAA+C;AAC/C,oEAAkD;AAClD,4DAA0C;AAC1C,8DAA4C;AAE5C,mDAAkD;AAAzC,0GAAA,WAAW,OAAA;AAEpB;;GAEG;AACH;;;GAGG;AACH;;;GAGG","sourcesContent":["/*---------------------------------------------------------------------------------------------\r\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\r\n* See LICENSE.md in the project root for license terms and full copyright notice.\r\n*--------------------------------------------------------------------------------------------*/\r\n\r\nexport * from \"./Constants\";\r\nexport * from \"./Context\";\r\nexport * from \"./DelayedPromise\";\r\nexport * from \"./Deserialization/SchemaGraphUtil\";\r\nexport * from \"./Deserialization/JsonProps\";\r\nexport * from \"./Deserialization/Helper\";\r\nexport * from \"./Deserialization/XmlParser\";\r\nexport * from \"./ECName\";\r\nexport * from \"./ECObjects\";\r\nexport * from \"./Exception\";\r\nexport * from \"./Interfaces\";\r\nexport { ECClass, StructClass } from \"./Metadata/Class\";\r\nexport { Constant } from \"./Metadata/Constant\";\r\nexport { CustomAttributeClass } from \"./Metadata/CustomAttributeClass\";\r\nexport { EntityClass } from \"./Metadata/EntityClass\";\r\nexport { AnyEnumerator, Enumeration, Enumerator } from \"./Metadata/Enumeration\";\r\nexport { Format } from \"./Metadata/Format\";\r\nexport { InvertedUnit } from \"./Metadata/InvertedUnit\";\r\nexport { KindOfQuantity } from \"./Metadata/KindOfQuantity\";\r\nexport { Mixin } from \"./Metadata/Mixin\";\r\nexport * from \"./Metadata/OverrideFormat\";\r\nexport { Phenomenon } from \"./Metadata/Phenomenon\";\r\nexport {\r\n Property, PrimitiveProperty, PrimitiveArrayProperty, EnumerationProperty, StructProperty,\r\n StructArrayProperty, EnumerationArrayProperty, NavigationProperty, AnyArrayProperty, AnyEnumerationProperty,\r\n AnyPrimitiveProperty, AnyProperty, AnyStructProperty, ArrayProperty, PrimitiveOrEnumPropertyBase,\r\n} from \"./Metadata/Property\";\r\nexport { PropertyCategory } from \"./Metadata/PropertyCategory\";\r\nexport { RelationshipClass, RelationshipConstraint, RelationshipMultiplicity } from \"./Metadata/RelationshipClass\";\r\nexport { Schema } from \"./Metadata/Schema\";\r\nexport * from \"./Metadata/SchemaItem\";\r\nexport { Unit } from \"./Metadata/Unit\";\r\nexport { UnitSystem } from \"./Metadata/UnitSystem\";\r\nexport * from \"./PropertyTypes\";\r\nexport * from \"./SchemaJsonLocater\";\r\nexport * from \"./SchemaKey\";\r\nexport * from \"./SchemaLoader\";\r\nexport * from \"./UnitConversion/UnitConversion\";\r\nexport * from \"./UnitConversion/UnitConverter\";\r\nexport * from \"./UnitProvider/SchemaUnitProvider\";\r\nexport * from \"./Validation/SchemaWalker\";\r\nexport * from \"./SchemaPartVisitorDelegate\";\r\nexport { CustomAttribute, CustomAttributeContainerProps} from \"./Metadata/CustomAttribute\";\r\nexport { SchemaGraph } from \"./utils/SchemaGraph\";\r\n\r\n/** @docs-package-description\r\n * The ecschema-metadata package contains classes for working with ECSchemas that can be used in both [frontend]($docs/learning/frontend/index.md) and [backend]($docs/learning/backend/index.md).\r\n */\r\n/**\r\n * @docs-group-description Metadata\r\n * Definitions of classes and interfaces that represent all [EC elements]($docs/bis/ec/index.md).\r\n */\r\n/**\r\n * @docs-group-description Utils\r\n * A set of utility classes used throughout the package.\r\n */\r\n"]}
1
+ {"version":3,"file":"ecschema-metadata.js","sourceRoot":"","sources":["../../src/ecschema-metadata.ts"],"names":[],"mappings":";AAAA;;;+FAG+F;;;;;;;;;;;;;;;;;AAE/F,8CAA4B;AAC5B,4CAA0B;AAC1B,mDAAiC;AACjC,oEAAkD;AAClD,8DAA4C;AAC5C,2DAAyC;AACzC,8DAA4C;AAC5C,2CAAyB;AACzB,8CAA4B;AAC5B,8CAA4B;AAC5B,+CAA6B;AAC7B,0CAAwD;AAA/C,gGAAA,OAAO,OAAA;AAAE,oGAAA,WAAW,OAAA;AAC7B,gDAA+C;AAAtC,oGAAA,QAAQ,OAAA;AACjB,wEAAuE;AAA9D,4HAAA,oBAAoB,OAAA;AAC7B,sDAAqD;AAA5C,0GAAA,WAAW,OAAA;AACpB,sDAAgF;AAAxD,0GAAA,WAAW,OAAA;AACnC,4CAA2C;AAAlC,gGAAA,MAAM,OAAA;AACf,wDAAuD;AAA9C,4GAAA,YAAY,OAAA;AACrB,4DAA2D;AAAlD,gHAAA,cAAc,OAAA;AACvB,0CAAyC;AAAhC,8FAAA,KAAK,OAAA;AACd,4DAA0C;AAC1C,oDAAmD;AAA1C,wGAAA,UAAU,OAAA;AACnB,gDAI6B;AAH3B,oGAAA,QAAQ,OAAA;AAAE,6GAAA,iBAAiB,OAAA;AAAE,kHAAA,sBAAsB,OAAA;AAAE,+GAAA,mBAAmB,OAAA;AAAE,0GAAA,cAAc,OAAA;AACxF,+GAAA,mBAAmB,OAAA;AAAE,oHAAA,wBAAwB,OAAA;AAAE,8GAAA,kBAAkB,OAAA;AACX,yGAAA,aAAa,OAAA;AAAE,uHAAA,2BAA2B,OAAA;AAElG,gEAA+D;AAAtD,oHAAA,gBAAgB,OAAA;AACzB,kEAAmH;AAA1G,sHAAA,iBAAiB,OAAA;AAAE,2HAAA,sBAAsB,OAAA;AAAE,6HAAA,wBAAwB,OAAA;AAC5E,4CAA2C;AAAlC,gGAAA,MAAM,OAAA;AACf,wDAAsC;AACtC,wCAAuC;AAA9B,4FAAA,IAAI,OAAA;AACb,oDAAmD;AAA1C,wGAAA,UAAU,OAAA;AACnB,kDAAgC;AAChC,sDAAoC;AACpC,8CAA4B;AAC5B,iDAA+B;AAC/B,kEAAgD;AAChD,iEAA+C;AAC/C,oEAAkD;AAClD,4DAA0C;AAC1C,8DAA4C;AAE5C,mDAAkD;AAAzC,0GAAA,WAAW,OAAA;AAEpB;;GAEG;AACH;;;GAGG;AACH;;;GAGG","sourcesContent":["/*---------------------------------------------------------------------------------------------\r\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\r\n* See LICENSE.md in the project root for license terms and full copyright notice.\r\n*--------------------------------------------------------------------------------------------*/\r\n\r\nexport * from \"./Constants\";\r\nexport * from \"./Context\";\r\nexport * from \"./DelayedPromise\";\r\nexport * from \"./Deserialization/SchemaGraphUtil\";\r\nexport * from \"./Deserialization/JsonProps\";\r\nexport * from \"./Deserialization/Helper\";\r\nexport * from \"./Deserialization/XmlParser\";\r\nexport * from \"./ECName\";\r\nexport * from \"./ECObjects\";\r\nexport * from \"./Exception\";\r\nexport * from \"./Interfaces\";\r\nexport { ECClass, StructClass } from \"./Metadata/Class\";\r\nexport { Constant } from \"./Metadata/Constant\";\r\nexport { CustomAttributeClass } from \"./Metadata/CustomAttributeClass\";\r\nexport { EntityClass } from \"./Metadata/EntityClass\";\r\nexport { AnyEnumerator, Enumeration, Enumerator } from \"./Metadata/Enumeration\";\r\nexport { Format } from \"./Metadata/Format\";\r\nexport { InvertedUnit } from \"./Metadata/InvertedUnit\";\r\nexport { KindOfQuantity } from \"./Metadata/KindOfQuantity\";\r\nexport { Mixin } from \"./Metadata/Mixin\";\r\nexport * from \"./Metadata/OverrideFormat\";\r\nexport { Phenomenon } from \"./Metadata/Phenomenon\";\r\nexport {\r\n Property, PrimitiveProperty, PrimitiveArrayProperty, EnumerationProperty, StructProperty,\r\n StructArrayProperty, EnumerationArrayProperty, NavigationProperty, AnyArrayProperty, AnyEnumerationProperty,\r\n AnyPrimitiveProperty, AnyProperty, AnyStructProperty, ArrayProperty, PrimitiveOrEnumPropertyBase,\r\n} from \"./Metadata/Property\";\r\nexport { PropertyCategory } from \"./Metadata/PropertyCategory\";\r\nexport { RelationshipClass, RelationshipConstraint, RelationshipMultiplicity } from \"./Metadata/RelationshipClass\";\r\nexport { Schema } from \"./Metadata/Schema\";\r\nexport * from \"./Metadata/SchemaItem\";\r\nexport { Unit } from \"./Metadata/Unit\";\r\nexport { UnitSystem } from \"./Metadata/UnitSystem\";\r\nexport * from \"./PropertyTypes\";\r\nexport * from \"./SchemaJsonLocater\";\r\nexport * from \"./SchemaKey\";\r\nexport * from \"./SchemaLoader\";\r\nexport * from \"./UnitConversion/UnitConversion\";\r\nexport * from \"./UnitConversion/UnitConverter\";\r\nexport * from \"./UnitProvider/SchemaUnitProvider\";\r\nexport * from \"./Validation/SchemaWalker\";\r\nexport * from \"./SchemaPartVisitorDelegate\";\r\nexport { CustomAttribute, CustomAttributeContainerProps} from \"./Metadata/CustomAttribute\";\r\nexport { SchemaGraph } from \"./utils/SchemaGraph\";\r\n\r\n/** @docs-package-description\r\n * The ecschema-metadata package contains classes for working with ECSchemas that can be used in both [frontend]($docs/learning/frontend/index.md) and [backend]($docs/learning/backend/index.md).\r\n */\r\n/**\r\n * @docs-group-description Metadata\r\n * Definitions of classes and interfaces that represent all [EC elements]($docs/bis/ec/index.md).\r\n */\r\n/**\r\n * @docs-group-description Utils\r\n * A set of utility classes used throughout the package.\r\n */\r\n"]}
@@ -1,26 +1,26 @@
1
- import { Schema } from "../Metadata/Schema";
2
- /** @internal */
3
- export interface ReferenceCycle {
4
- schema: Schema;
5
- refSchema: Schema;
6
- }
7
- /**
8
- * Utility class for detecting cyclic references in a Schema graph.
9
- * @beta
10
- */
11
- export declare class SchemaGraph {
12
- private _schemas;
13
- /**
14
- * Initializes a new SchemaGraph instance.
15
- * @param schema The schema to analyze.
16
- */
17
- constructor(schema: Schema);
18
- /**
19
- * Detected cyclic references in a schema.
20
- * @returns True if a cycle is found.
21
- */
22
- detectCycles(): ReferenceCycle[] | undefined;
23
- private detectCycleUtil;
24
- private populateGraph;
25
- }
1
+ import { Schema } from "../Metadata/Schema";
2
+ /** @internal */
3
+ export interface ReferenceCycle {
4
+ schema: Schema;
5
+ refSchema: Schema;
6
+ }
7
+ /**
8
+ * Utility class for detecting cyclic references in a Schema graph.
9
+ * @beta
10
+ */
11
+ export declare class SchemaGraph {
12
+ private _schemas;
13
+ /**
14
+ * Initializes a new SchemaGraph instance.
15
+ * @param schema The schema to analyze.
16
+ */
17
+ constructor(schema: Schema);
18
+ /**
19
+ * Detected cyclic references in a schema.
20
+ * @returns True if a cycle is found.
21
+ */
22
+ detectCycles(): ReferenceCycle[] | undefined;
23
+ private detectCycleUtil;
24
+ private populateGraph;
25
+ }
26
26
  //# sourceMappingURL=SchemaGraph.d.ts.map