@itwin/ecschema-metadata 3.4.0-dev.8 → 3.5.0-dev.4

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 (153) hide show
  1. package/CHANGELOG.md +25 -1
  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.js +91 -91
  9. package/lib/cjs/DelayedPromise.js.map +1 -1
  10. package/lib/cjs/Deserialization/AbstractParser.d.ts +45 -45
  11. package/lib/cjs/Deserialization/AbstractParser.js +11 -11
  12. package/lib/cjs/Deserialization/AbstractParser.js.map +1 -1
  13. package/lib/cjs/Deserialization/Helper.d.ts +251 -251
  14. package/lib/cjs/Deserialization/Helper.js +843 -843
  15. package/lib/cjs/Deserialization/Helper.js.map +1 -1
  16. package/lib/cjs/Deserialization/JsonParser.d.ts +165 -165
  17. package/lib/cjs/Deserialization/JsonParser.js +680 -680
  18. package/lib/cjs/Deserialization/JsonParser.js.map +1 -1
  19. package/lib/cjs/Deserialization/JsonProps.d.ts +282 -282
  20. package/lib/cjs/Deserialization/JsonProps.js +9 -9
  21. package/lib/cjs/Deserialization/JsonProps.js.map +1 -1
  22. package/lib/cjs/Deserialization/SchemaGraphUtil.d.ts +34 -34
  23. package/lib/cjs/Deserialization/SchemaGraphUtil.js +77 -77
  24. package/lib/cjs/Deserialization/SchemaGraphUtil.js.map +1 -1
  25. package/lib/cjs/Deserialization/XmlParser.d.ts +85 -85
  26. package/lib/cjs/Deserialization/XmlParser.d.ts.map +1 -1
  27. package/lib/cjs/Deserialization/XmlParser.js +973 -973
  28. package/lib/cjs/Deserialization/XmlParser.js.map +1 -1
  29. package/lib/cjs/Deserialization/XmlSerializationUtils.d.ts +54 -54
  30. package/lib/cjs/Deserialization/XmlSerializationUtils.js +174 -174
  31. package/lib/cjs/Deserialization/XmlSerializationUtils.js.map +1 -1
  32. package/lib/cjs/ECName.d.ts +30 -30
  33. package/lib/cjs/ECName.js +85 -85
  34. package/lib/cjs/ECName.js.map +1 -1
  35. package/lib/cjs/ECObjects.d.ts +162 -162
  36. package/lib/cjs/ECObjects.js +453 -453
  37. package/lib/cjs/ECObjects.js.map +1 -1
  38. package/lib/cjs/Exception.d.ts +43 -43
  39. package/lib/cjs/Exception.js +86 -86
  40. package/lib/cjs/Exception.js.map +1 -1
  41. package/lib/cjs/Interfaces.d.ts +66 -66
  42. package/lib/cjs/Interfaces.js +9 -9
  43. package/lib/cjs/Interfaces.js.map +1 -1
  44. package/lib/cjs/Metadata/Class.d.ts +243 -243
  45. package/lib/cjs/Metadata/Class.js +558 -558
  46. package/lib/cjs/Metadata/Class.js.map +1 -1
  47. package/lib/cjs/Metadata/Constant.d.ts +64 -64
  48. package/lib/cjs/Metadata/Constant.js +123 -123
  49. package/lib/cjs/Metadata/Constant.js.map +1 -1
  50. package/lib/cjs/Metadata/CustomAttribute.d.ts +23 -23
  51. package/lib/cjs/Metadata/CustomAttribute.d.ts.map +1 -1
  52. package/lib/cjs/Metadata/CustomAttribute.js +27 -27
  53. package/lib/cjs/Metadata/CustomAttribute.js.map +1 -1
  54. package/lib/cjs/Metadata/CustomAttributeClass.d.ts +39 -39
  55. package/lib/cjs/Metadata/CustomAttributeClass.js +68 -68
  56. package/lib/cjs/Metadata/CustomAttributeClass.js.map +1 -1
  57. package/lib/cjs/Metadata/EntityClass.d.ts +77 -77
  58. package/lib/cjs/Metadata/EntityClass.js +230 -230
  59. package/lib/cjs/Metadata/EntityClass.js.map +1 -1
  60. package/lib/cjs/Metadata/Enumeration.d.ts +86 -86
  61. package/lib/cjs/Metadata/Enumeration.js +159 -159
  62. package/lib/cjs/Metadata/Enumeration.js.map +1 -1
  63. package/lib/cjs/Metadata/Format.d.ts +98 -98
  64. package/lib/cjs/Metadata/Format.d.ts.map +1 -1
  65. package/lib/cjs/Metadata/Format.js +242 -242
  66. package/lib/cjs/Metadata/Format.js.map +1 -1
  67. package/lib/cjs/Metadata/InvertedUnit.d.ts +49 -49
  68. package/lib/cjs/Metadata/InvertedUnit.js +97 -97
  69. package/lib/cjs/Metadata/InvertedUnit.js.map +1 -1
  70. package/lib/cjs/Metadata/KindOfQuantity.d.ts +65 -65
  71. package/lib/cjs/Metadata/KindOfQuantity.js +225 -225
  72. package/lib/cjs/Metadata/KindOfQuantity.js.map +1 -1
  73. package/lib/cjs/Metadata/Mixin.d.ts +54 -54
  74. package/lib/cjs/Metadata/Mixin.js +113 -113
  75. package/lib/cjs/Metadata/Mixin.js.map +1 -1
  76. package/lib/cjs/Metadata/OverrideFormat.d.ts +55 -55
  77. package/lib/cjs/Metadata/OverrideFormat.js +88 -88
  78. package/lib/cjs/Metadata/OverrideFormat.js.map +1 -1
  79. package/lib/cjs/Metadata/Phenomenon.d.ts +33 -33
  80. package/lib/cjs/Metadata/Phenomenon.js +59 -59
  81. package/lib/cjs/Metadata/Phenomenon.js.map +1 -1
  82. package/lib/cjs/Metadata/Property.d.ts +197 -197
  83. package/lib/cjs/Metadata/Property.js +491 -491
  84. package/lib/cjs/Metadata/Property.js.map +1 -1
  85. package/lib/cjs/Metadata/PropertyCategory.d.ts +39 -39
  86. package/lib/cjs/Metadata/PropertyCategory.js +61 -61
  87. package/lib/cjs/Metadata/PropertyCategory.js.map +1 -1
  88. package/lib/cjs/Metadata/RelationshipClass.d.ts +152 -152
  89. package/lib/cjs/Metadata/RelationshipClass.js +349 -349
  90. package/lib/cjs/Metadata/RelationshipClass.js.map +1 -1
  91. package/lib/cjs/Metadata/Schema.d.ts +291 -291
  92. package/lib/cjs/Metadata/Schema.js +520 -520
  93. package/lib/cjs/Metadata/Schema.js.map +1 -1
  94. package/lib/cjs/Metadata/SchemaItem.d.ts +61 -61
  95. package/lib/cjs/Metadata/SchemaItem.js +136 -136
  96. package/lib/cjs/Metadata/SchemaItem.js.map +1 -1
  97. package/lib/cjs/Metadata/Unit.d.ts +76 -76
  98. package/lib/cjs/Metadata/Unit.js +162 -162
  99. package/lib/cjs/Metadata/UnitSystem.d.ts +20 -20
  100. package/lib/cjs/Metadata/UnitSystem.js +29 -29
  101. package/lib/cjs/Metadata/UnitSystem.js.map +1 -1
  102. package/lib/cjs/PropertyTypes.d.ts +49 -49
  103. package/lib/cjs/PropertyTypes.d.ts.map +1 -1
  104. package/lib/cjs/PropertyTypes.js +91 -75
  105. package/lib/cjs/PropertyTypes.js.map +1 -1
  106. package/lib/cjs/SchemaJsonLocater.d.ts +35 -0
  107. package/lib/cjs/SchemaJsonLocater.d.ts.map +1 -0
  108. package/lib/cjs/SchemaJsonLocater.js +43 -0
  109. package/lib/cjs/SchemaJsonLocater.js.map +1 -0
  110. package/lib/cjs/SchemaKey.d.ts +110 -110
  111. package/lib/cjs/SchemaKey.d.ts.map +1 -1
  112. package/lib/cjs/SchemaKey.js +219 -220
  113. package/lib/cjs/SchemaKey.js.map +1 -1
  114. package/lib/cjs/SchemaLoader.d.ts +24 -0
  115. package/lib/cjs/SchemaLoader.d.ts.map +1 -0
  116. package/lib/cjs/SchemaLoader.js +48 -0
  117. package/lib/cjs/SchemaLoader.js.map +1 -0
  118. package/lib/cjs/SchemaPartVisitorDelegate.d.ts +274 -274
  119. package/lib/cjs/SchemaPartVisitorDelegate.js +212 -212
  120. package/lib/cjs/SchemaPartVisitorDelegate.js.map +1 -1
  121. package/lib/cjs/UnitConversion/Graph.d.ts +34 -34
  122. package/lib/cjs/UnitConversion/Graph.js +83 -83
  123. package/lib/cjs/UnitConversion/Graph.js.map +1 -1
  124. package/lib/cjs/UnitConversion/Parser.d.ts +8 -8
  125. package/lib/cjs/UnitConversion/Parser.d.ts.map +1 -1
  126. package/lib/cjs/UnitConversion/Parser.js +42 -41
  127. package/lib/cjs/UnitConversion/Parser.js.map +1 -1
  128. package/lib/cjs/UnitConversion/UnitConversion.d.ts +45 -45
  129. package/lib/cjs/UnitConversion/UnitConversion.js +77 -77
  130. package/lib/cjs/UnitConversion/UnitConversion.js.map +1 -1
  131. package/lib/cjs/UnitConversion/UnitConverter.d.ts +39 -39
  132. package/lib/cjs/UnitConversion/UnitConverter.d.ts.map +1 -1
  133. package/lib/cjs/UnitConversion/UnitConverter.js +116 -116
  134. package/lib/cjs/UnitConversion/UnitConverter.js.map +1 -1
  135. package/lib/cjs/UnitConversion/UnitTree.d.ts +43 -43
  136. package/lib/cjs/UnitConversion/UnitTree.d.ts.map +1 -1
  137. package/lib/cjs/UnitConversion/UnitTree.js +169 -169
  138. package/lib/cjs/UnitConversion/UnitTree.js.map +1 -1
  139. package/lib/cjs/UnitProvider/SchemaUnitProvider.d.ts +77 -77
  140. package/lib/cjs/UnitProvider/SchemaUnitProvider.js +236 -236
  141. package/lib/cjs/UnitProvider/SchemaUnitProvider.js.map +1 -1
  142. package/lib/cjs/Validation/SchemaWalker.d.ts +23 -23
  143. package/lib/cjs/Validation/SchemaWalker.js +53 -53
  144. package/lib/cjs/Validation/SchemaWalker.js.map +1 -1
  145. package/lib/cjs/ecschema-metadata.d.ts +51 -49
  146. package/lib/cjs/ecschema-metadata.d.ts.map +1 -1
  147. package/lib/cjs/ecschema-metadata.js +96 -94
  148. package/lib/cjs/ecschema-metadata.js.map +1 -1
  149. package/lib/cjs/utils/SchemaGraph.d.ts +25 -25
  150. package/lib/cjs/utils/SchemaGraph.d.ts.map +1 -1
  151. package/lib/cjs/utils/SchemaGraph.js +65 -65
  152. package/lib/cjs/utils/SchemaGraph.js.map +1 -1
  153. package/package.json +8 -8
@@ -1,166 +1,166 @@
1
- import { AbstractParser, CAProviderTuple } from "./AbstractParser";
2
- import { ConstantProps, CustomAttributeClassProps, EntityClassProps, EnumerationProps, FormatProps, InvertedUnitProps, KindOfQuantityProps, MixinProps, NavigationPropertyProps, PhenomenonProps, PrimitiveArrayPropertyProps, PrimitivePropertyProps, PropertyCategoryProps, RelationshipClassProps, SchemaProps, SchemaReferenceProps, StructArrayPropertyProps, StructClassProps, StructPropertyProps, UnitProps, UnitSystemProps } from "./JsonProps";
3
- interface UnknownObject {
4
- readonly [name: string]: unknown;
5
- }
6
- /** @internal */
7
- export declare class JsonParser extends AbstractParser<UnknownObject> {
8
- private _rawSchema;
9
- private _schemaName?;
10
- private _currentItemFullName?;
11
- constructor(rawSchema: Readonly<unknown>);
12
- /**
13
- * Type checks Schema and returns SchemaProps interface
14
- * @param this._rawSchema
15
- * @returns SchemaProps
16
- */
17
- parseSchema(): SchemaProps;
18
- getReferences(): Iterable<SchemaReferenceProps>;
19
- private checkSchemaReference;
20
- getItems(): Iterable<[string, string, UnknownObject]>;
21
- findItem(itemName: string): [string, string, UnknownObject] | undefined;
22
- /**
23
- * Type checks all Schema Item attributes.
24
- * @param jsonObj The JSON object to check if it represents a Schema Item.
25
- */
26
- private checkSchemaItemProps;
27
- getProperties(jsonObj: UnknownObject, itemName: string): Iterable<[string, string, UnknownObject]>;
28
- /**
29
- * Type checks Class and returns ClassProps interface
30
- * @param jsonObj The JSON object to check if it represents a Class.
31
- */
32
- private checkClassProps;
33
- /**
34
- * Type checks entity class and returns EntityClassProps interface
35
- * @param jsonObj
36
- * @returns EntityClassProps
37
- */
38
- parseEntityClass(jsonObj: UnknownObject): EntityClassProps;
39
- /**
40
- * Type checks mixin and returns MixinProps interface
41
- * @param jsonObj
42
- * @returns MixinProps
43
- */
44
- parseMixin(jsonObj: UnknownObject): MixinProps;
45
- /**
46
- * Type checks custom attribute class and returns CustomAttributeClassProps interface
47
- * @param jsonObj
48
- * @returns CustomAttributeClassProps
49
- */
50
- parseCustomAttributeClass(jsonObj: UnknownObject): CustomAttributeClassProps;
51
- parseStructClass(jsonObj: UnknownObject): StructClassProps;
52
- parseUnitSystem(jsonObj: UnknownObject): UnitSystemProps;
53
- /**
54
- * Type checks Relationship Class and returns RelationshipClassProps interface
55
- * @param jsonObj
56
- * @returns RelationshipClassProps
57
- */
58
- parseRelationshipClass(jsonObj: UnknownObject): RelationshipClassProps;
59
- /**
60
- * Type checks Relationship Constraint and returns RelationshipConstraintProps interface.
61
- * @param jsonObj
62
- * @param isSource For sake of error message, is this relationship constraint a source or target
63
- * @returns RelationshipConstraintProps
64
- */
65
- private checkRelationshipConstraintProps;
66
- /**
67
- * Type checks Enumeration and returns EnumerationProps interface
68
- * @param jsonObj
69
- * @returns EnumerationProps
70
- */
71
- parseEnumeration(jsonObj: UnknownObject): EnumerationProps;
72
- /**
73
- * Type checks KindOfQuantity and returns KindOfQuantityProps interface
74
- * @param jsonObj
75
- * @returns KindOfQuantityProps
76
- */
77
- parseKindOfQuantity(jsonObj: UnknownObject): KindOfQuantityProps;
78
- /**
79
- * Type checks Property Category and returns PropertyCategoryProps interface
80
- * @param jsonObj
81
- * @returns PropertyCategoryProps
82
- */
83
- parsePropertyCategory(jsonObj: UnknownObject): PropertyCategoryProps;
84
- /**
85
- * Type checks unit and returns UnitProps interface
86
- * @param jsonObj
87
- * @returns UnitProps
88
- */
89
- parseUnit(jsonObj: UnknownObject): UnitProps;
90
- /**
91
- * Type checks inverted unit and returns InvertedUnitProps interface
92
- * @param jsonObj
93
- * @returns InvertedUnitProps
94
- */
95
- parseInvertedUnit(jsonObj: UnknownObject): InvertedUnitProps;
96
- /**
97
- * Type checks constant and returns ConstantProps interface
98
- * @param jsonObj
99
- * @returns ConstantProps
100
- */
101
- parseConstant(jsonObj: UnknownObject): ConstantProps;
102
- /**
103
- * Type checks phenomenon and returns PhenomenonProps interface
104
- * @param jsonObj
105
- * @returns PhenomenonProps
106
- */
107
- parsePhenomenon(jsonObj: UnknownObject): PhenomenonProps;
108
- /**
109
- * Type checks format and returns FormatProps interface
110
- * @param jsonObj
111
- * @returns FormatProps
112
- */
113
- parseFormat(jsonObj: UnknownObject): FormatProps;
114
- private isValidPropertyType;
115
- /**
116
- * Type checks property and returns PropertyProps interface
117
- * @param jsonObj
118
- * @returns PropertyProps
119
- */
120
- private checkPropertyProps;
121
- private checkPropertyTypename;
122
- private checkPropertyMinAndMaxOccurs;
123
- /**
124
- * Type checks PrimitiveOrEnumProperty and returns PrimitiveOrEnumPropertyBaseProps interface
125
- * @param jsonObj
126
- * @returns PrimitiveOrEnumPropertyBaseProps
127
- */
128
- private checkPrimitiveOrEnumPropertyBaseProps;
129
- /**
130
- * Type checks PrimitiveProperty and returns PrimitivePropertyProps interface
131
- * @param jsonObj
132
- * @returns PrimitivePropertyProps
133
- */
134
- parsePrimitiveProperty(jsonObj: UnknownObject): PrimitivePropertyProps;
135
- /**
136
- * Type checks StructProperty and returns StructPropertyProps interface
137
- * @param jsonObj
138
- * @returns StructPropertyProps
139
- */
140
- parseStructProperty(jsonObj: UnknownObject): StructPropertyProps;
141
- /**
142
- * Type checks PrimitiveArrayProperty and returns PrimitiveArrayPropertyProps interface
143
- * @param jsonObj
144
- * @returns PrimitiveArrayPropertyProps
145
- */
146
- parsePrimitiveArrayProperty(jsonObj: UnknownObject): PrimitiveArrayPropertyProps;
147
- /**
148
- * Type checks StructArrayProperty and returns StructArrayPropertyProps interface
149
- * @param jsonObj
150
- * @returns StructArrayPropertyProps
151
- */
152
- parseStructArrayProperty(jsonObj: UnknownObject): StructArrayPropertyProps;
153
- /**
154
- * Type checks NavigationProperty and returns NavigationPropertyProps interface
155
- * @param jsonObj
156
- * @returns NavigationPropertyProps
157
- */
158
- parseNavigationProperty(jsonObj: UnknownObject): NavigationPropertyProps;
159
- getSchemaCustomAttributeProviders(): Iterable<CAProviderTuple>;
160
- getClassCustomAttributeProviders(jsonObj: UnknownObject): Iterable<CAProviderTuple>;
161
- getPropertyCustomAttributeProviders(jsonObj: UnknownObject): Iterable<CAProviderTuple>;
162
- getRelationshipConstraintCustomAttributeProviders(jsonObj: UnknownObject): [Iterable<CAProviderTuple>, Iterable<CAProviderTuple>];
163
- private getCustomAttributeProviders;
164
- }
165
- export {};
1
+ import { AbstractParser, CAProviderTuple } from "./AbstractParser";
2
+ import { ConstantProps, CustomAttributeClassProps, EntityClassProps, EnumerationProps, FormatProps, InvertedUnitProps, KindOfQuantityProps, MixinProps, NavigationPropertyProps, PhenomenonProps, PrimitiveArrayPropertyProps, PrimitivePropertyProps, PropertyCategoryProps, RelationshipClassProps, SchemaProps, SchemaReferenceProps, StructArrayPropertyProps, StructClassProps, StructPropertyProps, UnitProps, UnitSystemProps } from "./JsonProps";
3
+ interface UnknownObject {
4
+ readonly [name: string]: unknown;
5
+ }
6
+ /** @internal */
7
+ export declare class JsonParser extends AbstractParser<UnknownObject> {
8
+ private _rawSchema;
9
+ private _schemaName?;
10
+ private _currentItemFullName?;
11
+ constructor(rawSchema: Readonly<unknown>);
12
+ /**
13
+ * Type checks Schema and returns SchemaProps interface
14
+ * @param this._rawSchema
15
+ * @returns SchemaProps
16
+ */
17
+ parseSchema(): SchemaProps;
18
+ getReferences(): Iterable<SchemaReferenceProps>;
19
+ private checkSchemaReference;
20
+ getItems(): Iterable<[string, string, UnknownObject]>;
21
+ findItem(itemName: string): [string, string, UnknownObject] | undefined;
22
+ /**
23
+ * Type checks all Schema Item attributes.
24
+ * @param jsonObj The JSON object to check if it represents a Schema Item.
25
+ */
26
+ private checkSchemaItemProps;
27
+ getProperties(jsonObj: UnknownObject, itemName: string): Iterable<[string, string, UnknownObject]>;
28
+ /**
29
+ * Type checks Class and returns ClassProps interface
30
+ * @param jsonObj The JSON object to check if it represents a Class.
31
+ */
32
+ private checkClassProps;
33
+ /**
34
+ * Type checks entity class and returns EntityClassProps interface
35
+ * @param jsonObj
36
+ * @returns EntityClassProps
37
+ */
38
+ parseEntityClass(jsonObj: UnknownObject): EntityClassProps;
39
+ /**
40
+ * Type checks mixin and returns MixinProps interface
41
+ * @param jsonObj
42
+ * @returns MixinProps
43
+ */
44
+ parseMixin(jsonObj: UnknownObject): MixinProps;
45
+ /**
46
+ * Type checks custom attribute class and returns CustomAttributeClassProps interface
47
+ * @param jsonObj
48
+ * @returns CustomAttributeClassProps
49
+ */
50
+ parseCustomAttributeClass(jsonObj: UnknownObject): CustomAttributeClassProps;
51
+ parseStructClass(jsonObj: UnknownObject): StructClassProps;
52
+ parseUnitSystem(jsonObj: UnknownObject): UnitSystemProps;
53
+ /**
54
+ * Type checks Relationship Class and returns RelationshipClassProps interface
55
+ * @param jsonObj
56
+ * @returns RelationshipClassProps
57
+ */
58
+ parseRelationshipClass(jsonObj: UnknownObject): RelationshipClassProps;
59
+ /**
60
+ * Type checks Relationship Constraint and returns RelationshipConstraintProps interface.
61
+ * @param jsonObj
62
+ * @param isSource For sake of error message, is this relationship constraint a source or target
63
+ * @returns RelationshipConstraintProps
64
+ */
65
+ private checkRelationshipConstraintProps;
66
+ /**
67
+ * Type checks Enumeration and returns EnumerationProps interface
68
+ * @param jsonObj
69
+ * @returns EnumerationProps
70
+ */
71
+ parseEnumeration(jsonObj: UnknownObject): EnumerationProps;
72
+ /**
73
+ * Type checks KindOfQuantity and returns KindOfQuantityProps interface
74
+ * @param jsonObj
75
+ * @returns KindOfQuantityProps
76
+ */
77
+ parseKindOfQuantity(jsonObj: UnknownObject): KindOfQuantityProps;
78
+ /**
79
+ * Type checks Property Category and returns PropertyCategoryProps interface
80
+ * @param jsonObj
81
+ * @returns PropertyCategoryProps
82
+ */
83
+ parsePropertyCategory(jsonObj: UnknownObject): PropertyCategoryProps;
84
+ /**
85
+ * Type checks unit and returns UnitProps interface
86
+ * @param jsonObj
87
+ * @returns UnitProps
88
+ */
89
+ parseUnit(jsonObj: UnknownObject): UnitProps;
90
+ /**
91
+ * Type checks inverted unit and returns InvertedUnitProps interface
92
+ * @param jsonObj
93
+ * @returns InvertedUnitProps
94
+ */
95
+ parseInvertedUnit(jsonObj: UnknownObject): InvertedUnitProps;
96
+ /**
97
+ * Type checks constant and returns ConstantProps interface
98
+ * @param jsonObj
99
+ * @returns ConstantProps
100
+ */
101
+ parseConstant(jsonObj: UnknownObject): ConstantProps;
102
+ /**
103
+ * Type checks phenomenon and returns PhenomenonProps interface
104
+ * @param jsonObj
105
+ * @returns PhenomenonProps
106
+ */
107
+ parsePhenomenon(jsonObj: UnknownObject): PhenomenonProps;
108
+ /**
109
+ * Type checks format and returns FormatProps interface
110
+ * @param jsonObj
111
+ * @returns FormatProps
112
+ */
113
+ parseFormat(jsonObj: UnknownObject): FormatProps;
114
+ private isValidPropertyType;
115
+ /**
116
+ * Type checks property and returns PropertyProps interface
117
+ * @param jsonObj
118
+ * @returns PropertyProps
119
+ */
120
+ private checkPropertyProps;
121
+ private checkPropertyTypename;
122
+ private checkPropertyMinAndMaxOccurs;
123
+ /**
124
+ * Type checks PrimitiveOrEnumProperty and returns PrimitiveOrEnumPropertyBaseProps interface
125
+ * @param jsonObj
126
+ * @returns PrimitiveOrEnumPropertyBaseProps
127
+ */
128
+ private checkPrimitiveOrEnumPropertyBaseProps;
129
+ /**
130
+ * Type checks PrimitiveProperty and returns PrimitivePropertyProps interface
131
+ * @param jsonObj
132
+ * @returns PrimitivePropertyProps
133
+ */
134
+ parsePrimitiveProperty(jsonObj: UnknownObject): PrimitivePropertyProps;
135
+ /**
136
+ * Type checks StructProperty and returns StructPropertyProps interface
137
+ * @param jsonObj
138
+ * @returns StructPropertyProps
139
+ */
140
+ parseStructProperty(jsonObj: UnknownObject): StructPropertyProps;
141
+ /**
142
+ * Type checks PrimitiveArrayProperty and returns PrimitiveArrayPropertyProps interface
143
+ * @param jsonObj
144
+ * @returns PrimitiveArrayPropertyProps
145
+ */
146
+ parsePrimitiveArrayProperty(jsonObj: UnknownObject): PrimitiveArrayPropertyProps;
147
+ /**
148
+ * Type checks StructArrayProperty and returns StructArrayPropertyProps interface
149
+ * @param jsonObj
150
+ * @returns StructArrayPropertyProps
151
+ */
152
+ parseStructArrayProperty(jsonObj: UnknownObject): StructArrayPropertyProps;
153
+ /**
154
+ * Type checks NavigationProperty and returns NavigationPropertyProps interface
155
+ * @param jsonObj
156
+ * @returns NavigationPropertyProps
157
+ */
158
+ parseNavigationProperty(jsonObj: UnknownObject): NavigationPropertyProps;
159
+ getSchemaCustomAttributeProviders(): Iterable<CAProviderTuple>;
160
+ getClassCustomAttributeProviders(jsonObj: UnknownObject): Iterable<CAProviderTuple>;
161
+ getPropertyCustomAttributeProviders(jsonObj: UnknownObject): Iterable<CAProviderTuple>;
162
+ getRelationshipConstraintCustomAttributeProviders(jsonObj: UnknownObject): [Iterable<CAProviderTuple>, Iterable<CAProviderTuple>];
163
+ private getCustomAttributeProviders;
164
+ }
165
+ export {};
166
166
  //# sourceMappingURL=JsonParser.d.ts.map