@itwin/ecschema-metadata 4.0.0-dev.10 → 4.0.0-dev.100

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 (133) hide show
  1. package/CHANGELOG.md +51 -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.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/AbstractParser.js.map +1 -1
  15. package/lib/cjs/Deserialization/Helper.d.ts +251 -251
  16. package/lib/cjs/Deserialization/Helper.js +843 -843
  17. package/lib/cjs/Deserialization/JsonParser.d.ts +165 -165
  18. package/lib/cjs/Deserialization/JsonParser.d.ts.map +1 -1
  19. package/lib/cjs/Deserialization/JsonParser.js +680 -680
  20. package/lib/cjs/Deserialization/JsonParser.js.map +1 -1
  21. package/lib/cjs/Deserialization/JsonProps.d.ts +268 -282
  22. package/lib/cjs/Deserialization/JsonProps.d.ts.map +1 -1
  23. package/lib/cjs/Deserialization/JsonProps.js +9 -9
  24. package/lib/cjs/Deserialization/JsonProps.js.map +1 -1
  25. package/lib/cjs/Deserialization/SchemaGraphUtil.d.ts +34 -34
  26. package/lib/cjs/Deserialization/SchemaGraphUtil.js +77 -77
  27. package/lib/cjs/Deserialization/XmlParser.d.ts +85 -85
  28. package/lib/cjs/Deserialization/XmlParser.d.ts.map +1 -1
  29. package/lib/cjs/Deserialization/XmlParser.js +973 -973
  30. package/lib/cjs/Deserialization/XmlParser.js.map +1 -1
  31. package/lib/cjs/Deserialization/XmlSerializationUtils.d.ts +54 -54
  32. package/lib/cjs/Deserialization/XmlSerializationUtils.js +174 -174
  33. package/lib/cjs/ECName.d.ts +30 -30
  34. package/lib/cjs/ECName.js +85 -85
  35. package/lib/cjs/ECObjects.d.ts +162 -162
  36. package/lib/cjs/ECObjects.js +453 -453
  37. package/lib/cjs/Exception.d.ts +43 -43
  38. package/lib/cjs/Exception.js +84 -84
  39. package/lib/cjs/Interfaces.d.ts +66 -66
  40. package/lib/cjs/Interfaces.d.ts.map +1 -1
  41. package/lib/cjs/Interfaces.js +9 -9
  42. package/lib/cjs/Metadata/Class.d.ts +243 -243
  43. package/lib/cjs/Metadata/Class.js +558 -558
  44. package/lib/cjs/Metadata/Class.js.map +1 -1
  45. package/lib/cjs/Metadata/Constant.d.ts +64 -64
  46. package/lib/cjs/Metadata/Constant.js +123 -123
  47. package/lib/cjs/Metadata/Constant.js.map +1 -1
  48. package/lib/cjs/Metadata/CustomAttribute.d.ts +23 -23
  49. package/lib/cjs/Metadata/CustomAttribute.js +27 -27
  50. package/lib/cjs/Metadata/CustomAttributeClass.d.ts +39 -39
  51. package/lib/cjs/Metadata/CustomAttributeClass.js +68 -68
  52. package/lib/cjs/Metadata/CustomAttributeClass.js.map +1 -1
  53. package/lib/cjs/Metadata/EntityClass.d.ts +77 -77
  54. package/lib/cjs/Metadata/EntityClass.js +230 -230
  55. package/lib/cjs/Metadata/Enumeration.d.ts +86 -86
  56. package/lib/cjs/Metadata/Enumeration.d.ts.map +1 -1
  57. package/lib/cjs/Metadata/Enumeration.js +159 -159
  58. package/lib/cjs/Metadata/Enumeration.js.map +1 -1
  59. package/lib/cjs/Metadata/Format.d.ts +98 -98
  60. package/lib/cjs/Metadata/Format.d.ts.map +1 -1
  61. package/lib/cjs/Metadata/Format.js +242 -242
  62. package/lib/cjs/Metadata/Format.js.map +1 -1
  63. package/lib/cjs/Metadata/InvertedUnit.d.ts +49 -49
  64. package/lib/cjs/Metadata/InvertedUnit.js +97 -97
  65. package/lib/cjs/Metadata/KindOfQuantity.d.ts +65 -65
  66. package/lib/cjs/Metadata/KindOfQuantity.js +225 -225
  67. package/lib/cjs/Metadata/KindOfQuantity.js.map +1 -1
  68. package/lib/cjs/Metadata/Mixin.d.ts +54 -54
  69. package/lib/cjs/Metadata/Mixin.js +113 -113
  70. package/lib/cjs/Metadata/Mixin.js.map +1 -1
  71. package/lib/cjs/Metadata/OverrideFormat.d.ts +67 -55
  72. package/lib/cjs/Metadata/OverrideFormat.d.ts.map +1 -1
  73. package/lib/cjs/Metadata/OverrideFormat.js +126 -88
  74. package/lib/cjs/Metadata/OverrideFormat.js.map +1 -1
  75. package/lib/cjs/Metadata/Phenomenon.d.ts +33 -33
  76. package/lib/cjs/Metadata/Phenomenon.js +59 -59
  77. package/lib/cjs/Metadata/Property.d.ts +197 -197
  78. package/lib/cjs/Metadata/Property.d.ts.map +1 -1
  79. package/lib/cjs/Metadata/Property.js +491 -491
  80. package/lib/cjs/Metadata/Property.js.map +1 -1
  81. package/lib/cjs/Metadata/PropertyCategory.d.ts +39 -39
  82. package/lib/cjs/Metadata/PropertyCategory.js +61 -61
  83. package/lib/cjs/Metadata/PropertyCategory.js.map +1 -1
  84. package/lib/cjs/Metadata/RelationshipClass.d.ts +152 -152
  85. package/lib/cjs/Metadata/RelationshipClass.js +349 -349
  86. package/lib/cjs/Metadata/RelationshipClass.js.map +1 -1
  87. package/lib/cjs/Metadata/Schema.d.ts +291 -291
  88. package/lib/cjs/Metadata/Schema.d.ts.map +1 -1
  89. package/lib/cjs/Metadata/Schema.js +520 -520
  90. package/lib/cjs/Metadata/Schema.js.map +1 -1
  91. package/lib/cjs/Metadata/SchemaItem.d.ts +61 -61
  92. package/lib/cjs/Metadata/SchemaItem.js +136 -136
  93. package/lib/cjs/Metadata/Unit.d.ts +76 -76
  94. package/lib/cjs/Metadata/Unit.d.ts.map +1 -1
  95. package/lib/cjs/Metadata/Unit.js +162 -162
  96. package/lib/cjs/Metadata/Unit.js.map +1 -1
  97. package/lib/cjs/Metadata/UnitSystem.d.ts +20 -20
  98. package/lib/cjs/Metadata/UnitSystem.js +29 -29
  99. package/lib/cjs/PropertyTypes.d.ts +49 -49
  100. package/lib/cjs/PropertyTypes.js +91 -91
  101. package/lib/cjs/PropertyTypes.js.map +1 -1
  102. package/lib/cjs/SchemaJsonLocater.d.ts +34 -34
  103. package/lib/cjs/SchemaJsonLocater.d.ts.map +1 -1
  104. package/lib/cjs/SchemaJsonLocater.js +42 -42
  105. package/lib/cjs/SchemaKey.d.ts +110 -110
  106. package/lib/cjs/SchemaKey.js +219 -219
  107. package/lib/cjs/SchemaLoader.d.ts +23 -23
  108. package/lib/cjs/SchemaLoader.js +47 -47
  109. package/lib/cjs/SchemaPartVisitorDelegate.d.ts +274 -274
  110. package/lib/cjs/SchemaPartVisitorDelegate.js +212 -212
  111. package/lib/cjs/UnitConversion/Graph.d.ts +34 -34
  112. package/lib/cjs/UnitConversion/Graph.js +83 -83
  113. package/lib/cjs/UnitConversion/Parser.d.ts +8 -8
  114. package/lib/cjs/UnitConversion/Parser.js +42 -42
  115. package/lib/cjs/UnitConversion/UnitConversion.d.ts +45 -45
  116. package/lib/cjs/UnitConversion/UnitConversion.js +77 -77
  117. package/lib/cjs/UnitConversion/UnitConversion.js.map +1 -1
  118. package/lib/cjs/UnitConversion/UnitConverter.d.ts +39 -39
  119. package/lib/cjs/UnitConversion/UnitConverter.js +116 -116
  120. package/lib/cjs/UnitConversion/UnitTree.d.ts +43 -43
  121. package/lib/cjs/UnitConversion/UnitTree.js +169 -169
  122. package/lib/cjs/UnitProvider/SchemaUnitProvider.d.ts +77 -77
  123. package/lib/cjs/UnitProvider/SchemaUnitProvider.d.ts.map +1 -1
  124. package/lib/cjs/UnitProvider/SchemaUnitProvider.js +234 -236
  125. package/lib/cjs/UnitProvider/SchemaUnitProvider.js.map +1 -1
  126. package/lib/cjs/Validation/SchemaWalker.d.ts +23 -23
  127. package/lib/cjs/Validation/SchemaWalker.js +53 -53
  128. package/lib/cjs/ecschema-metadata.d.ts +51 -51
  129. package/lib/cjs/ecschema-metadata.js +100 -96
  130. package/lib/cjs/ecschema-metadata.js.map +1 -1
  131. package/lib/cjs/utils/SchemaGraph.d.ts +25 -25
  132. package/lib/cjs/utils/SchemaGraph.js +65 -65
  133. package/package.json +13 -14
@@ -1,283 +1,269 @@
1
- /** @packageDocumentation
2
- * @module Metadata
3
- */
4
- /**
5
- * @beta
6
- */
7
- export declare type AnyPropertyProps = PrimitivePropertyProps | StructPropertyProps | PrimitiveArrayPropertyProps | StructArrayPropertyProps | NavigationPropertyProps;
8
- /**
9
- * @beta
10
- */
11
- export declare type AnyClassProps = EntityClassProps | MixinProps | CustomAttributeClassProps | RelationshipClassProps;
12
- /**
13
- * @beta
14
- */
15
- export declare type AnySchemaItemProps = AnyClassProps | EnumerationProps | KindOfQuantityProps | PropertyCategoryProps | UnitProps | InvertedUnitProps | ConstantProps | PhenomenonProps | FormatProps;
16
- /**
17
- * @beta
18
- */
19
- export interface SchemaProps {
20
- readonly $schema: string;
21
- readonly name: string;
22
- readonly version: string;
23
- readonly alias: string;
24
- readonly label?: string;
25
- readonly description?: string;
26
- readonly references?: SchemaReferenceProps[];
27
- readonly items?: {
28
- [name: string]: SchemaItemProps;
29
- };
30
- readonly customAttributes?: Array<{
31
- [value: string]: any;
32
- }>;
33
- }
34
- /**
35
- * JSON Object interface used to deserialize into a [[SchemaKey]].
36
- * @beta
37
- */
38
- export interface SchemaKeyProps {
39
- /** The schema name */
40
- readonly name: string;
41
- /** Read version of the schema */
42
- readonly read: number;
43
- /** Write version of the schema */
44
- readonly write: number;
45
- /** Minor version of the schema */
46
- readonly minor: number;
47
- }
48
- /**
49
- * @beta
50
- */
51
- export interface SchemaReferenceProps {
52
- readonly name: string;
53
- readonly version: string;
54
- }
55
- /**
56
- * @beta
57
- */
58
- export interface SchemaItemProps {
59
- readonly $schema?: string;
60
- readonly schema?: string;
61
- readonly schemaVersion?: string;
62
- readonly name?: string;
63
- readonly schemaItemType?: string;
64
- readonly label?: string;
65
- readonly description?: string;
66
- readonly customAttributes?: Array<{
67
- [value: string]: any;
68
- }>;
69
- }
70
- /**
71
- * @beta
72
- */
73
- export interface ClassProps extends SchemaItemProps {
74
- readonly modifier?: string;
75
- readonly baseClass?: string;
76
- readonly properties?: AnyPropertyProps[];
77
- }
78
- /**
79
- * @beta
80
- */
81
- export interface EntityClassProps extends ClassProps {
82
- readonly mixins?: string[];
83
- }
84
- /**
85
- * @beta
86
- */
87
- export interface MixinProps extends ClassProps {
88
- readonly appliesTo: string;
89
- }
90
- /**
91
- * @beta
92
- */
93
- export declare type StructClassProps = ClassProps;
94
- /**
95
- * @beta
96
- */
97
- export interface CustomAttributeClassProps extends ClassProps {
98
- readonly appliesTo: string;
99
- }
100
- /**
101
- * @beta
102
- */
103
- export interface RelationshipClassProps extends ClassProps {
104
- readonly strength: string;
105
- readonly strengthDirection: string;
106
- readonly source: RelationshipConstraintProps;
107
- readonly target: RelationshipConstraintProps;
108
- }
109
- /**
110
- * @beta
111
- */
112
- export interface RelationshipConstraintProps {
113
- readonly multiplicity: string;
114
- readonly roleLabel: string;
115
- readonly polymorphic: boolean;
116
- readonly abstractConstraint?: string;
117
- readonly constraintClasses: string[];
118
- }
119
- /**
120
- * @beta
121
- */
122
- export interface EnumerationProps extends SchemaItemProps {
123
- readonly type: string;
124
- readonly isStrict: boolean;
125
- readonly enumerators: EnumeratorProps[];
126
- }
127
- /**
128
- * @beta
129
- */
130
- export interface EnumeratorProps {
131
- readonly name: string;
132
- readonly value: string | number;
133
- readonly label?: string;
134
- readonly description?: string;
135
- }
136
- /**
137
- * @beta
138
- */
139
- export interface KindOfQuantityProps extends SchemaItemProps {
140
- readonly persistenceUnit: string;
141
- readonly presentationUnits?: string | string[];
142
- readonly relativeError: number;
143
- }
144
- /**
145
- * @beta
146
- */
147
- export interface PropertyCategoryProps extends SchemaItemProps {
148
- readonly priority: number;
149
- }
150
- /**
151
- * @beta
152
- */
153
- export interface PropertyProps {
154
- readonly name: string;
155
- readonly type: string;
156
- readonly description?: string;
157
- readonly label?: string;
158
- readonly isReadOnly?: boolean;
159
- readonly category?: string;
160
- readonly priority?: number;
161
- readonly inherited?: boolean;
162
- readonly kindOfQuantity?: string;
163
- readonly customAttributes?: Array<{
164
- [value: string]: any;
165
- }>;
166
- }
167
- /**
168
- * @beta
169
- */
170
- export interface PrimitiveOrEnumPropertyBaseProps extends PropertyProps {
171
- readonly extendedTypeName?: string;
172
- readonly minLength?: number;
173
- readonly maxLength?: number;
174
- readonly minValue?: number;
175
- readonly maxValue?: number;
176
- }
177
- /**
178
- * @beta
179
- */
180
- export interface PrimitivePropertyProps extends PrimitiveOrEnumPropertyBaseProps {
181
- readonly typeName: string;
182
- }
183
- /**
184
- * @beta
185
- */
186
- export interface StructPropertyProps extends PropertyProps {
187
- readonly typeName: string;
188
- }
189
- /**
190
- * @beta
191
- */
192
- export interface EnumerationPropertyProps extends PrimitiveOrEnumPropertyBaseProps {
193
- readonly typeName: string;
194
- }
195
- /**
196
- * @beta
197
- */
198
- export interface ArrayPropertyProps extends PrimitiveOrEnumPropertyBaseProps {
199
- readonly minOccurs?: number;
200
- readonly maxOccurs?: number;
201
- }
202
- /**
203
- * @beta
204
- */
205
- export interface PrimitiveArrayPropertyProps extends ArrayPropertyProps {
206
- readonly typeName: string;
207
- }
208
- /**
209
- * @beta
210
- */
211
- export interface StructArrayPropertyProps extends ArrayPropertyProps {
212
- readonly typeName: string;
213
- }
214
- /**
215
- * @beta
216
- */
217
- export interface NavigationPropertyProps extends PropertyProps {
218
- readonly relationshipName: string;
219
- readonly direction: string;
220
- }
221
- /**
222
- * @beta
223
- */
224
- export interface ConstantProps extends SchemaItemProps {
225
- readonly phenomenon: string;
226
- readonly definition: string;
227
- readonly numerator?: number;
228
- readonly denominator?: number;
229
- }
230
- /**
231
- * @beta
232
- */
233
- export interface FormatProps extends SchemaItemProps {
234
- readonly type: string;
235
- readonly precision?: number;
236
- readonly roundFactor?: number;
237
- readonly minWidth?: number;
238
- readonly showSignOption?: string;
239
- readonly formatTraits?: string | string[];
240
- readonly decimalSeparator?: string;
241
- readonly thousandSeparator?: string;
242
- readonly uomSeparator?: string;
243
- readonly scientificType?: string;
244
- readonly stationOffsetSize?: number;
245
- readonly stationSeparator?: string;
246
- readonly composite?: {
247
- readonly spacer?: string;
248
- readonly includeZero?: boolean;
249
- readonly units: Array<{
250
- readonly name: string;
251
- readonly label?: string;
252
- }>;
253
- };
254
- }
255
- /**
256
- * @beta
257
- */
258
- export interface InvertedUnitProps extends SchemaItemProps {
259
- readonly invertsUnit: string;
260
- readonly unitSystem: string;
261
- }
262
- /**
263
- * @beta
264
- */
265
- export interface PhenomenonProps extends SchemaItemProps {
266
- readonly definition: string;
267
- }
268
- /**
269
- * @beta
270
- */
271
- export declare type UnitSystemProps = SchemaItemProps;
272
- /**
273
- * @beta
274
- */
275
- export interface UnitProps extends SchemaItemProps {
276
- readonly phenomenon: string;
277
- readonly unitSystem: string;
278
- readonly definition: string;
279
- readonly numerator?: number;
280
- readonly denominator?: number;
281
- readonly offset?: number;
282
- }
1
+ /** @packageDocumentation
2
+ * @module Metadata
3
+ */
4
+ import { FormatProps } from "@itwin/core-quantity";
5
+ /**
6
+ * @beta
7
+ */
8
+ export type AnyPropertyProps = PrimitivePropertyProps | StructPropertyProps | PrimitiveArrayPropertyProps | StructArrayPropertyProps | NavigationPropertyProps;
9
+ /**
10
+ * @beta
11
+ */
12
+ export type AnyClassProps = EntityClassProps | MixinProps | CustomAttributeClassProps | RelationshipClassProps;
13
+ /**
14
+ * @beta
15
+ */
16
+ export type AnySchemaItemProps = AnyClassProps | EnumerationProps | KindOfQuantityProps | PropertyCategoryProps | SchemaItemUnitProps | InvertedUnitProps | ConstantProps | PhenomenonProps | SchemaItemFormatProps | SchemaItemOverrideFormatProps;
17
+ /**
18
+ * @beta
19
+ */
20
+ export interface SchemaProps {
21
+ readonly $schema: string;
22
+ readonly name: string;
23
+ readonly version: string;
24
+ readonly alias: string;
25
+ readonly label?: string;
26
+ readonly description?: string;
27
+ readonly references?: SchemaReferenceProps[];
28
+ readonly items?: {
29
+ [name: string]: SchemaItemProps;
30
+ };
31
+ readonly customAttributes?: Array<{
32
+ [value: string]: any;
33
+ }>;
34
+ }
35
+ /**
36
+ * JSON Object interface used to deserialize into a [[SchemaKey]].
37
+ * @beta
38
+ */
39
+ export interface SchemaKeyProps {
40
+ /** The schema name */
41
+ readonly name: string;
42
+ /** Read version of the schema */
43
+ readonly read: number;
44
+ /** Write version of the schema */
45
+ readonly write: number;
46
+ /** Minor version of the schema */
47
+ readonly minor: number;
48
+ }
49
+ /**
50
+ * @beta
51
+ */
52
+ export interface SchemaReferenceProps {
53
+ readonly name: string;
54
+ readonly version: string;
55
+ }
56
+ /**
57
+ * @beta
58
+ */
59
+ export interface SchemaItemProps {
60
+ readonly $schema?: string;
61
+ readonly schema?: string;
62
+ readonly schemaVersion?: string;
63
+ readonly name?: string;
64
+ readonly schemaItemType?: string;
65
+ readonly label?: string;
66
+ readonly description?: string;
67
+ readonly customAttributes?: Array<{
68
+ [value: string]: any;
69
+ }>;
70
+ }
71
+ /**
72
+ * @beta
73
+ */
74
+ export interface ClassProps extends SchemaItemProps {
75
+ readonly modifier?: string;
76
+ readonly baseClass?: string;
77
+ readonly properties?: AnyPropertyProps[];
78
+ }
79
+ /**
80
+ * @beta
81
+ */
82
+ export interface EntityClassProps extends ClassProps {
83
+ readonly mixins?: string[];
84
+ }
85
+ /**
86
+ * @beta
87
+ */
88
+ export interface MixinProps extends ClassProps {
89
+ readonly appliesTo: string;
90
+ }
91
+ /**
92
+ * @beta
93
+ */
94
+ export type StructClassProps = ClassProps;
95
+ /**
96
+ * @beta
97
+ */
98
+ export interface CustomAttributeClassProps extends ClassProps {
99
+ readonly appliesTo: string;
100
+ }
101
+ /**
102
+ * @beta
103
+ */
104
+ export interface RelationshipClassProps extends ClassProps {
105
+ readonly strength: string;
106
+ readonly strengthDirection: string;
107
+ readonly source: RelationshipConstraintProps;
108
+ readonly target: RelationshipConstraintProps;
109
+ }
110
+ /**
111
+ * @beta
112
+ */
113
+ export interface RelationshipConstraintProps {
114
+ readonly multiplicity: string;
115
+ readonly roleLabel: string;
116
+ readonly polymorphic: boolean;
117
+ readonly abstractConstraint?: string;
118
+ readonly constraintClasses: string[];
119
+ }
120
+ /**
121
+ * @beta
122
+ */
123
+ export interface EnumerationProps extends SchemaItemProps {
124
+ readonly type: string;
125
+ readonly isStrict: boolean;
126
+ readonly enumerators: EnumeratorProps[];
127
+ }
128
+ /**
129
+ * @beta
130
+ */
131
+ export interface EnumeratorProps {
132
+ readonly name: string;
133
+ readonly value: string | number;
134
+ readonly label?: string;
135
+ readonly description?: string;
136
+ }
137
+ /**
138
+ * @beta
139
+ */
140
+ export interface KindOfQuantityProps extends SchemaItemProps {
141
+ readonly persistenceUnit: string;
142
+ readonly presentationUnits?: string | string[];
143
+ readonly relativeError: number;
144
+ }
145
+ /**
146
+ * @beta
147
+ */
148
+ export interface PropertyCategoryProps extends SchemaItemProps {
149
+ readonly priority: number;
150
+ }
151
+ /**
152
+ * @beta
153
+ */
154
+ export interface PropertyProps {
155
+ readonly name: string;
156
+ readonly type: string;
157
+ readonly description?: string;
158
+ readonly label?: string;
159
+ readonly isReadOnly?: boolean;
160
+ readonly category?: string;
161
+ readonly priority?: number;
162
+ readonly inherited?: boolean;
163
+ readonly kindOfQuantity?: string;
164
+ readonly customAttributes?: Array<{
165
+ [value: string]: any;
166
+ }>;
167
+ }
168
+ /**
169
+ * @beta
170
+ */
171
+ export interface PrimitiveOrEnumPropertyBaseProps extends PropertyProps {
172
+ readonly extendedTypeName?: string;
173
+ readonly minLength?: number;
174
+ readonly maxLength?: number;
175
+ readonly minValue?: number;
176
+ readonly maxValue?: number;
177
+ }
178
+ /**
179
+ * @beta
180
+ */
181
+ export interface PrimitivePropertyProps extends PrimitiveOrEnumPropertyBaseProps {
182
+ readonly typeName: string;
183
+ }
184
+ /**
185
+ * @beta
186
+ */
187
+ export interface StructPropertyProps extends PropertyProps {
188
+ readonly typeName: string;
189
+ }
190
+ /**
191
+ * @beta
192
+ */
193
+ export interface EnumerationPropertyProps extends PrimitiveOrEnumPropertyBaseProps {
194
+ readonly typeName: string;
195
+ }
196
+ /**
197
+ * @beta
198
+ */
199
+ export interface ArrayPropertyProps extends PrimitiveOrEnumPropertyBaseProps {
200
+ readonly minOccurs?: number;
201
+ readonly maxOccurs?: number;
202
+ }
203
+ /**
204
+ * @beta
205
+ */
206
+ export interface PrimitiveArrayPropertyProps extends ArrayPropertyProps {
207
+ readonly typeName: string;
208
+ }
209
+ /**
210
+ * @beta
211
+ */
212
+ export interface StructArrayPropertyProps extends ArrayPropertyProps {
213
+ readonly typeName: string;
214
+ }
215
+ /**
216
+ * @beta
217
+ */
218
+ export interface NavigationPropertyProps extends PropertyProps {
219
+ readonly relationshipName: string;
220
+ readonly direction: string;
221
+ }
222
+ /**
223
+ * @beta
224
+ */
225
+ export interface ConstantProps extends SchemaItemProps {
226
+ readonly phenomenon: string;
227
+ readonly definition: string;
228
+ readonly numerator?: number;
229
+ readonly denominator?: number;
230
+ }
231
+ /**
232
+ * @beta
233
+ */
234
+ export type SchemaItemFormatProps = SchemaItemProps & FormatProps;
235
+ /**
236
+ * @beta
237
+ */
238
+ export interface SchemaItemOverrideFormatProps extends SchemaItemFormatProps {
239
+ readonly parent: string;
240
+ }
241
+ /**
242
+ * @beta
243
+ */
244
+ export interface InvertedUnitProps extends SchemaItemProps {
245
+ readonly invertsUnit: string;
246
+ readonly unitSystem: string;
247
+ }
248
+ /**
249
+ * @beta
250
+ */
251
+ export interface PhenomenonProps extends SchemaItemProps {
252
+ readonly definition: string;
253
+ }
254
+ /**
255
+ * @beta
256
+ */
257
+ export type UnitSystemProps = SchemaItemProps;
258
+ /**
259
+ * @beta
260
+ */
261
+ export interface SchemaItemUnitProps extends SchemaItemProps {
262
+ readonly phenomenon: string;
263
+ readonly unitSystem: string;
264
+ readonly definition: string;
265
+ readonly numerator?: number;
266
+ readonly denominator?: number;
267
+ readonly offset?: number;
268
+ }
283
269
  //# sourceMappingURL=JsonProps.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"JsonProps.d.ts","sourceRoot":"","sources":["../../../src/Deserialization/JsonProps.ts"],"names":[],"mappings":"AAIA;;GAEG;AAEH;;GAEG;AACH,oBAAY,gBAAgB,GAAG,sBAAsB,GAAG,mBAAmB,GAAG,2BAA2B,GAAG,wBAAwB,GAAG,uBAAuB,CAAC;AAC/J;;GAEG;AACH,oBAAY,aAAa,GAAG,gBAAgB,GAAG,UAAU,GAAG,yBAAyB,GAAG,sBAAsB,CAAC;AAC/G;;GAEG;AACH,oBAAY,kBAAkB,GAAG,aAAa,GAAG,gBAAgB,GAAG,mBAAmB,GAAG,qBAAqB,GAAG,SAAS,GAAG,iBAAiB,GAAG,aAAa,GAAG,eAAe,GAAG,WAAW,CAAC;AAEhM;;GAEG;AACH,MAAM,WAAW,WAAW;IAC1B,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;IACzB,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;IACzB,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,KAAK,CAAC,EAAE,MAAM,CAAC;IACxB,QAAQ,CAAC,WAAW,CAAC,EAAE,MAAM,CAAC;IAC9B,QAAQ,CAAC,UAAU,CAAC,EAAE,oBAAoB,EAAE,CAAC;IAC7C,QAAQ,CAAC,KAAK,CAAC,EAAE;QAAE,CAAC,IAAI,EAAE,MAAM,GAAG,eAAe,CAAA;KAAE,CAAC;IACrD,QAAQ,CAAC,gBAAgB,CAAC,EAAE,KAAK,CAAC;QAAE,CAAC,KAAK,EAAE,MAAM,GAAG,GAAG,CAAA;KAAE,CAAC,CAAC;CAC7D;AAED;;;GAGG;AACH,M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,GAAG,WAAW,CAAC;AAElE;;GAEG;AACH,MAAM,WAAW,6BAA8B,SAAQ,qBAAqB;IAC1E,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;CACzB;AAED;;GAEG;AACH,MAAM,WAAW,iBAAkB,SAAQ,eAAe;IACxD,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;IAC7B,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;CAC7B;AAED;;GAEG;AACH,MAAM,WAAW,eAAgB,SAAQ,eAAe;IACtD,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;CAC7B;AAED;;GAEG;AACH,MAAM,MAAM,eAAe,GAAG,eAAe,CAAC;AAE9C;;GAEG;AACH,MAAM,WAAW,mBAAoB,SAAQ,eAAe;IAC1D,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;IAC5B,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;IAC5B,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;IAC5B,QAAQ,CAAC,SAAS,CAAC,EAAE,MAAM,CAAC;IAC5B,QAAQ,CAAC,WAAW,CAAC,EAAE,MAAM,CAAC;IAC9B,QAAQ,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC;CAC1B"}
@@ -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 Metadata
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 Metadata
8
+ */
9
+ Object.defineProperty(exports, "__esModule", { value: true });
10
10
  //# sourceMappingURL=JsonProps.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"JsonProps.js","sourceRoot":"","sources":["../../../src/Deserialization/JsonProps.ts"],"names":[],"mappings":";AAAA;;;+FAG+F;AAC/F;;GAEG","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/** @packageDocumentation\r\n * @module Metadata\r\n */\r\n\r\n/**\r\n * @beta\r\n */\r\nexport type AnyPropertyProps = PrimitivePropertyProps | StructPropertyProps | PrimitiveArrayPropertyProps | StructArrayPropertyProps | NavigationPropertyProps;\r\n/**\r\n * @beta\r\n */\r\nexport type AnyClassProps = EntityClassProps | MixinProps | CustomAttributeClassProps | RelationshipClassProps;\r\n/**\r\n * @beta\r\n */\r\nexport type AnySchemaItemProps = AnyClassProps | EnumerationProps | KindOfQuantityProps | PropertyCategoryProps | UnitProps | InvertedUnitProps | ConstantProps | PhenomenonProps | FormatProps;\r\n\r\n/**\r\n * @beta\r\n */\r\nexport interface SchemaProps {\r\n readonly $schema: string;\r\n readonly name: string;\r\n readonly version: string;\r\n readonly alias: string;\r\n readonly label?: string;\r\n readonly description?: string;\r\n readonly references?: SchemaReferenceProps[];\r\n readonly items?: { [name: string]: SchemaItemProps };\r\n readonly customAttributes?: Array<{ [value: string]: any }>;\r\n}\r\n\r\n/**\r\n * JSON Object interface used to deserialize into a [[SchemaKey]].\r\n * @beta\r\n */\r\nexport interface SchemaKeyProps {\r\n /** The schema name */\r\n readonly name: string;\r\n /** Read version of the schema */\r\n readonly read: number;\r\n /** Write version of the schema */\r\n readonly write: number;\r\n /** Minor version of the schema */\r\n readonly minor: number;\r\n}\r\n\r\n/**\r\n * @beta\r\n */\r\nexport interface SchemaReferenceProps {\r\n readonly name: string;\r\n readonly version: string;\r\n}\r\n\r\n/**\r\n * @beta\r\n */\r\nexport interface SchemaItemProps {\r\n // NEEDSWORK: Still need to clarify how single-item deserialization works...\r\n readonly $schema?: string;\r\n readonly schema?: string; // conditionally required\r\n readonly schemaVersion?: string;\r\n readonly name?: string;\r\n readonly schemaItemType?: string;\r\n readonly label?: string;\r\n readonly description?: string;\r\n readonly customAttributes?: Array<{ [value: string]: any }>;\r\n}\r\n\r\n/**\r\n * @beta\r\n */\r\nexport interface ClassProps extends SchemaItemProps {\r\n readonly modifier?: string;\r\n readonly baseClass?: string;\r\n readonly properties?: AnyPropertyProps[];\r\n}\r\n\r\n/**\r\n * @beta\r\n */\r\nexport interface EntityClassProps extends ClassProps {\r\n readonly mixins?: string[];\r\n}\r\n\r\n/**\r\n * @beta\r\n */\r\nexport interface MixinProps extends ClassProps {\r\n readonly appliesTo: string;\r\n}\r\n\r\n/**\r\n * @beta\r\n */\r\nexport type StructClassProps = ClassProps;\r\n\r\n/**\r\n * @beta\r\n */\r\nexport interface CustomAttributeClassProps extends ClassProps {\r\n readonly appliesTo: string;\r\n}\r\n\r\n/**\r\n * @beta\r\n */\r\nexport interface RelationshipClassProps extends ClassProps {\r\n readonly strength: string;\r\n readonly strengthDirection: string;\r\n readonly source: RelationshipConstraintProps;\r\n readonly target: RelationshipConstraintProps;\r\n}\r\n\r\n/**\r\n * @beta\r\n */\r\nexport interface RelationshipConstraintProps {\r\n readonly multiplicity: string;\r\n readonly roleLabel: string;\r\n readonly polymorphic: boolean;\r\n readonly abstractConstraint?: string;\r\n readonly constraintClasses: string[];\r\n}\r\n\r\n/**\r\n * @beta\r\n */\r\nexport interface EnumerationProps extends SchemaItemProps {\r\n readonly type: string;\r\n readonly isStrict: boolean;\r\n readonly enumerators: EnumeratorProps[];\r\n}\r\n\r\n/**\r\n * @beta\r\n */\r\nexport interface EnumeratorProps {\r\n readonly name: string;\r\n readonly value: string | number;\r\n readonly label?: string;\r\n readonly description?: string;\r\n}\r\n\r\n/**\r\n * @beta\r\n */\r\nexport interface KindOfQuantityProps extends SchemaItemProps {\r\n readonly persistenceUnit: string;\r\n readonly presentationUnits?: string | string[];\r\n readonly relativeError: number;\r\n}\r\n\r\n/**\r\n * @beta\r\n */\r\nexport interface PropertyCategoryProps extends SchemaItemProps {\r\n readonly priority: number;\r\n}\r\n\r\n/**\r\n * @beta\r\n */\r\nexport interface PropertyProps {\r\n readonly name: string;\r\n readonly type: string;\r\n readonly description?: string;\r\n readonly label?: string;\r\n readonly isReadOnly?: boolean;\r\n readonly category?: string;\r\n readonly priority?: number;\r\n readonly inherited?: boolean;\r\n readonly kindOfQuantity?: string;\r\n readonly customAttributes?: Array<{ [value: string]: any }>;\r\n}\r\n\r\n/**\r\n * @beta\r\n */\r\nexport interface PrimitiveOrEnumPropertyBaseProps extends PropertyProps {\r\n readonly extendedTypeName?: string;\r\n readonly minLength?: number;\r\n readonly maxLength?: number;\r\n readonly minValue?: number;\r\n readonly maxValue?: number;\r\n}\r\n\r\n/**\r\n * @beta\r\n */\r\nexport interface PrimitivePropertyProps extends PrimitiveOrEnumPropertyBaseProps {\r\n readonly typeName: string;\r\n}\r\n\r\n/**\r\n * @beta\r\n */\r\nexport interface StructPropertyProps extends PropertyProps {\r\n readonly typeName: string;\r\n}\r\n\r\n/**\r\n * @beta\r\n */\r\nexport interface EnumerationPropertyProps extends PrimitiveOrEnumPropertyBaseProps {\r\n readonly typeName: string;\r\n}\r\n\r\n/**\r\n * @beta\r\n */\r\nexport interface ArrayPropertyProps extends PrimitiveOrEnumPropertyBaseProps {\r\n readonly minOccurs?: number;\r\n readonly maxOccurs?: number;\r\n}\r\n\r\n/**\r\n * @beta\r\n */\r\nexport interface PrimitiveArrayPropertyProps extends ArrayPropertyProps {\r\n readonly typeName: string;\r\n}\r\n\r\n/**\r\n * @beta\r\n */\r\nexport interface StructArrayPropertyProps extends ArrayPropertyProps {\r\n readonly typeName: string;\r\n}\r\n\r\n/**\r\n * @beta\r\n */\r\nexport interface NavigationPropertyProps extends PropertyProps {\r\n readonly relationshipName: string;\r\n readonly direction: string;\r\n}\r\n\r\n/**\r\n * @beta\r\n */\r\nexport interface ConstantProps extends SchemaItemProps {\r\n readonly phenomenon: string;\r\n readonly definition: string;\r\n readonly numerator?: number;\r\n readonly denominator?: number;\r\n}\r\n\r\n/**\r\n * @beta\r\n */\r\nexport interface FormatProps extends SchemaItemProps {\r\n readonly type: string;\r\n readonly precision?: number;\r\n readonly roundFactor?: number;\r\n readonly minWidth?: number;\r\n readonly showSignOption?: string;\r\n readonly formatTraits?: string | string[];\r\n readonly decimalSeparator?: string;\r\n readonly thousandSeparator?: string;\r\n readonly uomSeparator?: string;\r\n readonly scientificType?: string; // conditionally required\r\n readonly stationOffsetSize?: number; // conditionally required\r\n readonly stationSeparator?: string;\r\n readonly composite?: {\r\n readonly spacer?: string;\r\n readonly includeZero?: boolean;\r\n readonly units: Array<{\r\n readonly name: string;\r\n readonly label?: string;\r\n }>;\r\n };\r\n}\r\n\r\n/**\r\n * @beta\r\n */\r\nexport interface InvertedUnitProps extends SchemaItemProps {\r\n readonly invertsUnit: string;\r\n readonly unitSystem: string;\r\n}\r\n\r\n/**\r\n * @beta\r\n */\r\nexport interface PhenomenonProps extends SchemaItemProps {\r\n readonly definition: string;\r\n}\r\n\r\n/**\r\n * @beta\r\n */\r\nexport type UnitSystemProps = SchemaItemProps;\r\n\r\n/**\r\n * @beta\r\n */\r\nexport interface UnitProps extends SchemaItemProps {\r\n readonly phenomenon: string;\r\n readonly unitSystem: string;\r\n readonly definition: string;\r\n readonly numerator?: number;\r\n readonly denominator?: number;\r\n readonly offset?: number;\r\n}\r\n"]}
1
+ {"version":3,"file":"JsonProps.js","sourceRoot":"","sources":["../../../src/Deserialization/JsonProps.ts"],"names":[],"mappings":";AAAA;;;+FAG+F;AAC/F;;GAEG","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/** @packageDocumentation\r\n * @module Metadata\r\n */\r\n\r\nimport { FormatProps } from \"@itwin/core-quantity\";\r\n\r\n/**\r\n * @beta\r\n */\r\nexport type AnyPropertyProps = PrimitivePropertyProps | StructPropertyProps | PrimitiveArrayPropertyProps | StructArrayPropertyProps | NavigationPropertyProps;\r\n/**\r\n * @beta\r\n */\r\nexport type AnyClassProps = EntityClassProps | MixinProps | CustomAttributeClassProps | RelationshipClassProps;\r\n/**\r\n * @beta\r\n */\r\nexport type AnySchemaItemProps = AnyClassProps | EnumerationProps | KindOfQuantityProps | PropertyCategoryProps | SchemaItemUnitProps | InvertedUnitProps | ConstantProps | PhenomenonProps | SchemaItemFormatProps | SchemaItemOverrideFormatProps;\r\n\r\n/**\r\n * @beta\r\n */\r\nexport interface SchemaProps {\r\n readonly $schema: string;\r\n readonly name: string;\r\n readonly version: string;\r\n readonly alias: string;\r\n readonly label?: string;\r\n readonly description?: string;\r\n readonly references?: SchemaReferenceProps[];\r\n readonly items?: { [name: string]: SchemaItemProps };\r\n readonly customAttributes?: Array<{ [value: string]: any }>;\r\n}\r\n\r\n/**\r\n * JSON Object interface used to deserialize into a [[SchemaKey]].\r\n * @beta\r\n */\r\nexport interface SchemaKeyProps {\r\n /** The schema name */\r\n readonly name: string;\r\n /** Read version of the schema */\r\n readonly read: number;\r\n /** Write version of the schema */\r\n readonly write: number;\r\n /** Minor version of the schema */\r\n readonly minor: number;\r\n}\r\n\r\n/**\r\n * @beta\r\n */\r\nexport interface SchemaReferenceProps {\r\n readonly name: string;\r\n readonly version: string;\r\n}\r\n\r\n/**\r\n * @beta\r\n */\r\nexport interface SchemaItemProps {\r\n // NEEDSWORK: Still need to clarify how single-item deserialization works...\r\n readonly $schema?: string;\r\n readonly schema?: string; // conditionally required\r\n readonly schemaVersion?: string;\r\n readonly name?: string;\r\n readonly schemaItemType?: string;\r\n readonly label?: string;\r\n readonly description?: string;\r\n readonly customAttributes?: Array<{ [value: string]: any }>;\r\n}\r\n\r\n/**\r\n * @beta\r\n */\r\nexport interface ClassProps extends SchemaItemProps {\r\n readonly modifier?: string;\r\n readonly baseClass?: string;\r\n readonly properties?: AnyPropertyProps[];\r\n}\r\n\r\n/**\r\n * @beta\r\n */\r\nexport interface EntityClassProps extends ClassProps {\r\n readonly mixins?: string[];\r\n}\r\n\r\n/**\r\n * @beta\r\n */\r\nexport interface MixinProps extends ClassProps {\r\n readonly appliesTo: string;\r\n}\r\n\r\n/**\r\n * @beta\r\n */\r\nexport type StructClassProps = ClassProps;\r\n\r\n/**\r\n * @beta\r\n */\r\nexport interface CustomAttributeClassProps extends ClassProps {\r\n readonly appliesTo: string;\r\n}\r\n\r\n/**\r\n * @beta\r\n */\r\nexport interface RelationshipClassProps extends ClassProps {\r\n readonly strength: string;\r\n readonly strengthDirection: string;\r\n readonly source: RelationshipConstraintProps;\r\n readonly target: RelationshipConstraintProps;\r\n}\r\n\r\n/**\r\n * @beta\r\n */\r\nexport interface RelationshipConstraintProps {\r\n readonly multiplicity: string;\r\n readonly roleLabel: string;\r\n readonly polymorphic: boolean;\r\n readonly abstractConstraint?: string;\r\n readonly constraintClasses: string[];\r\n}\r\n\r\n/**\r\n * @beta\r\n */\r\nexport interface EnumerationProps extends SchemaItemProps {\r\n readonly type: string;\r\n readonly isStrict: boolean;\r\n readonly enumerators: EnumeratorProps[];\r\n}\r\n\r\n/**\r\n * @beta\r\n */\r\nexport interface EnumeratorProps {\r\n readonly name: string;\r\n readonly value: string | number;\r\n readonly label?: string;\r\n readonly description?: string;\r\n}\r\n\r\n/**\r\n * @beta\r\n */\r\nexport interface KindOfQuantityProps extends SchemaItemProps {\r\n readonly persistenceUnit: string;\r\n readonly presentationUnits?: string | string[];\r\n readonly relativeError: number;\r\n}\r\n\r\n/**\r\n * @beta\r\n */\r\nexport interface PropertyCategoryProps extends SchemaItemProps {\r\n readonly priority: number;\r\n}\r\n\r\n/**\r\n * @beta\r\n */\r\nexport interface PropertyProps {\r\n readonly name: string;\r\n readonly type: string;\r\n readonly description?: string;\r\n readonly label?: string;\r\n readonly isReadOnly?: boolean;\r\n readonly category?: string;\r\n readonly priority?: number;\r\n readonly inherited?: boolean;\r\n readonly kindOfQuantity?: string;\r\n readonly customAttributes?: Array<{ [value: string]: any }>;\r\n}\r\n\r\n/**\r\n * @beta\r\n */\r\nexport interface PrimitiveOrEnumPropertyBaseProps extends PropertyProps {\r\n readonly extendedTypeName?: string;\r\n readonly minLength?: number;\r\n readonly maxLength?: number;\r\n readonly minValue?: number;\r\n readonly maxValue?: number;\r\n}\r\n\r\n/**\r\n * @beta\r\n */\r\nexport interface PrimitivePropertyProps extends PrimitiveOrEnumPropertyBaseProps {\r\n readonly typeName: string;\r\n}\r\n\r\n/**\r\n * @beta\r\n */\r\nexport interface StructPropertyProps extends PropertyProps {\r\n readonly typeName: string;\r\n}\r\n\r\n/**\r\n * @beta\r\n */\r\nexport interface EnumerationPropertyProps extends PrimitiveOrEnumPropertyBaseProps {\r\n readonly typeName: string;\r\n}\r\n\r\n/**\r\n * @beta\r\n */\r\nexport interface ArrayPropertyProps extends PrimitiveOrEnumPropertyBaseProps {\r\n readonly minOccurs?: number;\r\n readonly maxOccurs?: number;\r\n}\r\n\r\n/**\r\n * @beta\r\n */\r\nexport interface PrimitiveArrayPropertyProps extends ArrayPropertyProps {\r\n readonly typeName: string;\r\n}\r\n\r\n/**\r\n * @beta\r\n */\r\nexport interface StructArrayPropertyProps extends ArrayPropertyProps {\r\n readonly typeName: string;\r\n}\r\n\r\n/**\r\n * @beta\r\n */\r\nexport interface NavigationPropertyProps extends PropertyProps {\r\n readonly relationshipName: string;\r\n readonly direction: string;\r\n}\r\n\r\n/**\r\n * @beta\r\n */\r\nexport interface ConstantProps extends SchemaItemProps {\r\n readonly phenomenon: string;\r\n readonly definition: string;\r\n readonly numerator?: number;\r\n readonly denominator?: number;\r\n}\r\n\r\n/**\r\n * @beta\r\n */\r\nexport type SchemaItemFormatProps = SchemaItemProps & FormatProps;\r\n\r\n/**\r\n * @beta\r\n */\r\nexport interface SchemaItemOverrideFormatProps extends SchemaItemFormatProps {\r\n readonly parent: string;\r\n}\r\n\r\n/**\r\n * @beta\r\n */\r\nexport interface InvertedUnitProps extends SchemaItemProps {\r\n readonly invertsUnit: string;\r\n readonly unitSystem: string;\r\n}\r\n\r\n/**\r\n * @beta\r\n */\r\nexport interface PhenomenonProps extends SchemaItemProps {\r\n readonly definition: string;\r\n}\r\n\r\n/**\r\n * @beta\r\n */\r\nexport type UnitSystemProps = SchemaItemProps;\r\n\r\n/**\r\n * @beta\r\n */\r\nexport interface SchemaItemUnitProps extends SchemaItemProps {\r\n readonly phenomenon: string;\r\n readonly unitSystem: string;\r\n readonly definition: string;\r\n readonly numerator?: number;\r\n readonly denominator?: number;\r\n readonly offset?: number;\r\n}\r\n"]}