@itwin/ecschema-metadata 5.1.0-dev.59 → 5.1.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.
- package/lib/cjs/Deserialization/Helper.d.ts +30 -11
- package/lib/cjs/Deserialization/Helper.d.ts.map +1 -1
- package/lib/cjs/Deserialization/Helper.js +124 -96
- package/lib/cjs/Deserialization/Helper.js.map +1 -1
- package/lib/cjs/Deserialization/XmlParser.d.ts.map +1 -1
- package/lib/cjs/Deserialization/XmlParser.js +14 -5
- package/lib/cjs/Deserialization/XmlParser.js.map +1 -1
- package/lib/cjs/IncrementalLoading/ClassParsers.d.ts +60 -0
- package/lib/cjs/IncrementalLoading/ClassParsers.d.ts.map +1 -0
- package/lib/cjs/IncrementalLoading/ClassParsers.js +111 -0
- package/lib/cjs/IncrementalLoading/ClassParsers.js.map +1 -0
- package/lib/cjs/IncrementalLoading/ECSqlSchemaLocater.d.ts +211 -0
- package/lib/cjs/IncrementalLoading/ECSqlSchemaLocater.d.ts.map +1 -0
- package/lib/cjs/IncrementalLoading/ECSqlSchemaLocater.js +387 -0
- package/lib/cjs/IncrementalLoading/ECSqlSchemaLocater.js.map +1 -0
- package/lib/cjs/IncrementalLoading/FullSchemaQueries.d.ts +14 -0
- package/lib/cjs/IncrementalLoading/FullSchemaQueries.d.ts.map +1 -0
- package/lib/cjs/IncrementalLoading/FullSchemaQueries.js +609 -0
- package/lib/cjs/IncrementalLoading/FullSchemaQueries.js.map +1 -0
- package/lib/cjs/IncrementalLoading/IncrementalSchemaLocater.d.ts +109 -0
- package/lib/cjs/IncrementalLoading/IncrementalSchemaLocater.d.ts.map +1 -0
- package/lib/cjs/IncrementalLoading/IncrementalSchemaLocater.js +219 -0
- package/lib/cjs/IncrementalLoading/IncrementalSchemaLocater.js.map +1 -0
- package/lib/cjs/IncrementalLoading/IncrementalSchemaReader.d.ts +36 -0
- package/lib/cjs/IncrementalLoading/IncrementalSchemaReader.d.ts.map +1 -0
- package/lib/cjs/IncrementalLoading/IncrementalSchemaReader.js +77 -0
- package/lib/cjs/IncrementalLoading/IncrementalSchemaReader.js.map +1 -0
- package/lib/cjs/IncrementalLoading/PerformanceLogger.d.ts +60 -0
- package/lib/cjs/IncrementalLoading/PerformanceLogger.d.ts.map +1 -0
- package/lib/cjs/IncrementalLoading/PerformanceLogger.js +82 -0
- package/lib/cjs/IncrementalLoading/PerformanceLogger.js.map +1 -0
- package/lib/cjs/IncrementalLoading/SchemaItemParsers.d.ts +51 -0
- package/lib/cjs/IncrementalLoading/SchemaItemParsers.d.ts.map +1 -0
- package/lib/cjs/IncrementalLoading/SchemaItemParsers.js +122 -0
- package/lib/cjs/IncrementalLoading/SchemaItemParsers.js.map +1 -0
- package/lib/cjs/IncrementalLoading/SchemaItemQueries.d.ts +16 -0
- package/lib/cjs/IncrementalLoading/SchemaItemQueries.d.ts.map +1 -0
- package/lib/cjs/IncrementalLoading/SchemaItemQueries.js +308 -0
- package/lib/cjs/IncrementalLoading/SchemaItemQueries.js.map +1 -0
- package/lib/cjs/IncrementalLoading/SchemaParser.d.ts +42 -0
- package/lib/cjs/IncrementalLoading/SchemaParser.d.ts.map +1 -0
- package/lib/cjs/IncrementalLoading/SchemaParser.js +109 -0
- package/lib/cjs/IncrementalLoading/SchemaParser.js.map +1 -0
- package/lib/cjs/IncrementalLoading/SchemaStubQueries.d.ts +12 -0
- package/lib/cjs/IncrementalLoading/SchemaStubQueries.d.ts.map +1 -0
- package/lib/cjs/IncrementalLoading/SchemaStubQueries.js +365 -0
- package/lib/cjs/IncrementalLoading/SchemaStubQueries.js.map +1 -0
- package/lib/cjs/Metadata/Class.d.ts.map +1 -1
- package/lib/cjs/Metadata/Class.js +2 -0
- package/lib/cjs/Metadata/Class.js.map +1 -1
- package/lib/cjs/Metadata/Schema.d.ts +10 -0
- package/lib/cjs/Metadata/Schema.d.ts.map +1 -1
- package/lib/cjs/Metadata/Schema.js +13 -0
- package/lib/cjs/Metadata/Schema.js.map +1 -1
- package/lib/cjs/Metadata/SchemaItem.d.ts +10 -0
- package/lib/cjs/Metadata/SchemaItem.d.ts.map +1 -1
- package/lib/cjs/Metadata/SchemaItem.js +13 -0
- package/lib/cjs/Metadata/SchemaItem.js.map +1 -1
- package/lib/cjs/ecschema-metadata.d.ts +2 -0
- package/lib/cjs/ecschema-metadata.d.ts.map +1 -1
- package/lib/cjs/ecschema-metadata.js +2 -0
- package/lib/cjs/ecschema-metadata.js.map +1 -1
- package/lib/cjs/utils/SchemaLoadingController.d.ts +37 -0
- package/lib/cjs/utils/SchemaLoadingController.d.ts.map +1 -0
- package/lib/cjs/utils/SchemaLoadingController.js +65 -0
- package/lib/cjs/utils/SchemaLoadingController.js.map +1 -0
- package/lib/esm/Deserialization/Helper.d.ts +30 -11
- package/lib/esm/Deserialization/Helper.d.ts.map +1 -1
- package/lib/esm/Deserialization/Helper.js +124 -96
- package/lib/esm/Deserialization/Helper.js.map +1 -1
- package/lib/esm/Deserialization/XmlParser.d.ts.map +1 -1
- package/lib/esm/Deserialization/XmlParser.js +14 -5
- package/lib/esm/Deserialization/XmlParser.js.map +1 -1
- package/lib/esm/IncrementalLoading/ClassParsers.d.ts +60 -0
- package/lib/esm/IncrementalLoading/ClassParsers.d.ts.map +1 -0
- package/lib/esm/IncrementalLoading/ClassParsers.js +104 -0
- package/lib/esm/IncrementalLoading/ClassParsers.js.map +1 -0
- package/lib/esm/IncrementalLoading/ECSqlSchemaLocater.d.ts +211 -0
- package/lib/esm/IncrementalLoading/ECSqlSchemaLocater.d.ts.map +1 -0
- package/lib/esm/IncrementalLoading/ECSqlSchemaLocater.js +383 -0
- package/lib/esm/IncrementalLoading/ECSqlSchemaLocater.js.map +1 -0
- package/lib/esm/IncrementalLoading/FullSchemaQueries.d.ts +14 -0
- package/lib/esm/IncrementalLoading/FullSchemaQueries.d.ts.map +1 -0
- package/lib/esm/IncrementalLoading/FullSchemaQueries.js +606 -0
- package/lib/esm/IncrementalLoading/FullSchemaQueries.js.map +1 -0
- package/lib/esm/IncrementalLoading/IncrementalSchemaLocater.d.ts +109 -0
- package/lib/esm/IncrementalLoading/IncrementalSchemaLocater.d.ts.map +1 -0
- package/lib/esm/IncrementalLoading/IncrementalSchemaLocater.js +215 -0
- package/lib/esm/IncrementalLoading/IncrementalSchemaLocater.js.map +1 -0
- package/lib/esm/IncrementalLoading/IncrementalSchemaReader.d.ts +36 -0
- package/lib/esm/IncrementalLoading/IncrementalSchemaReader.d.ts.map +1 -0
- package/lib/esm/IncrementalLoading/IncrementalSchemaReader.js +73 -0
- package/lib/esm/IncrementalLoading/IncrementalSchemaReader.js.map +1 -0
- package/lib/esm/IncrementalLoading/PerformanceLogger.d.ts +60 -0
- package/lib/esm/IncrementalLoading/PerformanceLogger.d.ts.map +1 -0
- package/lib/esm/IncrementalLoading/PerformanceLogger.js +78 -0
- package/lib/esm/IncrementalLoading/PerformanceLogger.js.map +1 -0
- package/lib/esm/IncrementalLoading/SchemaItemParsers.d.ts +51 -0
- package/lib/esm/IncrementalLoading/SchemaItemParsers.d.ts.map +1 -0
- package/lib/esm/IncrementalLoading/SchemaItemParsers.js +117 -0
- package/lib/esm/IncrementalLoading/SchemaItemParsers.js.map +1 -0
- package/lib/esm/IncrementalLoading/SchemaItemQueries.d.ts +16 -0
- package/lib/esm/IncrementalLoading/SchemaItemQueries.d.ts.map +1 -0
- package/lib/esm/IncrementalLoading/SchemaItemQueries.js +305 -0
- package/lib/esm/IncrementalLoading/SchemaItemQueries.js.map +1 -0
- package/lib/esm/IncrementalLoading/SchemaParser.d.ts +42 -0
- package/lib/esm/IncrementalLoading/SchemaParser.d.ts.map +1 -0
- package/lib/esm/IncrementalLoading/SchemaParser.js +104 -0
- package/lib/esm/IncrementalLoading/SchemaParser.js.map +1 -0
- package/lib/esm/IncrementalLoading/SchemaStubQueries.d.ts +12 -0
- package/lib/esm/IncrementalLoading/SchemaStubQueries.d.ts.map +1 -0
- package/lib/esm/IncrementalLoading/SchemaStubQueries.js +359 -0
- package/lib/esm/IncrementalLoading/SchemaStubQueries.js.map +1 -0
- package/lib/esm/Metadata/Class.d.ts.map +1 -1
- package/lib/esm/Metadata/Class.js +2 -0
- package/lib/esm/Metadata/Class.js.map +1 -1
- package/lib/esm/Metadata/Schema.d.ts +10 -0
- package/lib/esm/Metadata/Schema.d.ts.map +1 -1
- package/lib/esm/Metadata/Schema.js +13 -0
- package/lib/esm/Metadata/Schema.js.map +1 -1
- package/lib/esm/Metadata/SchemaItem.d.ts +10 -0
- package/lib/esm/Metadata/SchemaItem.d.ts.map +1 -1
- package/lib/esm/Metadata/SchemaItem.js +13 -0
- package/lib/esm/Metadata/SchemaItem.js.map +1 -1
- package/lib/esm/ecschema-metadata.d.ts +2 -0
- package/lib/esm/ecschema-metadata.d.ts.map +1 -1
- package/lib/esm/ecschema-metadata.js +2 -0
- package/lib/esm/ecschema-metadata.js.map +1 -1
- package/lib/esm/utils/SchemaLoadingController.d.ts +37 -0
- package/lib/esm/utils/SchemaLoadingController.d.ts.map +1 -0
- package/lib/esm/utils/SchemaLoadingController.js +61 -0
- package/lib/esm/utils/SchemaLoadingController.js.map +1 -0
- package/package.json +9 -8
|
@@ -0,0 +1,111 @@
|
|
|
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.RelationshipClassParser = exports.CustomAttributeClassParser = exports.MixinParser = exports.ClassParser = void 0;
|
|
8
|
+
const ECObjects_1 = require("../ECObjects");
|
|
9
|
+
const SchemaItemParsers_1 = require("./SchemaItemParsers");
|
|
10
|
+
const SchemaParser_1 = require("./SchemaParser");
|
|
11
|
+
/**
|
|
12
|
+
* Parses ClassProps JSON returned from an ECSql query and returns the correct ClassProps JSON.
|
|
13
|
+
* This is necessary as a small amount information (ie. CustomAttribute data) returned from the
|
|
14
|
+
* iModelDb is in a different format than is required for a ClassProps JSON object.
|
|
15
|
+
* @internal
|
|
16
|
+
*/
|
|
17
|
+
class ClassParser extends SchemaItemParsers_1.SchemaItemParser {
|
|
18
|
+
/**
|
|
19
|
+
* Parses the given ClassProps JSON returned from an ECSql query.
|
|
20
|
+
* @param data The ClassProps JSON as returned from an iModelDb.
|
|
21
|
+
* @returns The corrected ClassProps Json.
|
|
22
|
+
*/
|
|
23
|
+
async parse(data) {
|
|
24
|
+
const props = await super.parse(data);
|
|
25
|
+
if (props.properties) {
|
|
26
|
+
if (props.properties.length === 0)
|
|
27
|
+
delete props.properties;
|
|
28
|
+
else
|
|
29
|
+
this.parseProperties(props.properties);
|
|
30
|
+
}
|
|
31
|
+
return props;
|
|
32
|
+
}
|
|
33
|
+
parseProperties(propertyProps) {
|
|
34
|
+
for (const props of propertyProps) {
|
|
35
|
+
props.customAttributes = props.customAttributes && props.customAttributes.length > 0 ? props.customAttributes.map((attr) => { return (0, SchemaParser_1.parseCustomAttribute)(attr); }) : undefined;
|
|
36
|
+
if (!props.customAttributes)
|
|
37
|
+
delete props.customAttributes;
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
exports.ClassParser = ClassParser;
|
|
42
|
+
/**
|
|
43
|
+
* Parses the given MixinProps JSON returned from an ECSql query.
|
|
44
|
+
* @param data The MixinProps JSON as returned from an iModelDb.
|
|
45
|
+
* @returns The corrected MixinProps Json.
|
|
46
|
+
* @internal
|
|
47
|
+
*/
|
|
48
|
+
class MixinParser extends ClassParser {
|
|
49
|
+
/**
|
|
50
|
+
* Parses the given MixinProps JSON returned from an ECSql query.
|
|
51
|
+
* @param data The MixinProps JSON as returned from an iModelDb.
|
|
52
|
+
* @returns The corrected MixinProps Json.
|
|
53
|
+
*/
|
|
54
|
+
async parse(data) {
|
|
55
|
+
const props = await super.parse(data);
|
|
56
|
+
if (!props.customAttributes)
|
|
57
|
+
delete props.customAttributes;
|
|
58
|
+
return props;
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
exports.MixinParser = MixinParser;
|
|
62
|
+
/**
|
|
63
|
+
* Parses the given CustomAttributeClassProps JSON returned from an ECSql query.
|
|
64
|
+
* @param data The CustomAttributeClassProps JSON as returned from an iModelDb.
|
|
65
|
+
* @returns The corrected CustomAttributeClassProps Json.
|
|
66
|
+
* @internal
|
|
67
|
+
*/
|
|
68
|
+
class CustomAttributeClassParser extends ClassParser {
|
|
69
|
+
/**
|
|
70
|
+
* Parses the given CustomAttributeClassProps JSON returned from an ECSql query.
|
|
71
|
+
* @param data The CustomAttributeClassProps JSON as returned from an iModelDb.
|
|
72
|
+
* @returns The corrected CustomAttributeClassProps Json.
|
|
73
|
+
*/
|
|
74
|
+
async parse(data) {
|
|
75
|
+
const props = await super.parse(data);
|
|
76
|
+
props.appliesTo = props.appliesTo ? (0, ECObjects_1.containerTypeToString)(props.appliesTo) : ECObjects_1.CustomAttributeContainerType[ECObjects_1.CustomAttributeContainerType.Any];
|
|
77
|
+
return props;
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
exports.CustomAttributeClassParser = CustomAttributeClassParser;
|
|
81
|
+
/**
|
|
82
|
+
* Parses the given RelationshipClassProps JSON returned from an ECSql query.
|
|
83
|
+
* @param data The RelationshipClassProps JSON as returned from an iModelDb.
|
|
84
|
+
* @returns The corrected RelationshipClassProps Json.
|
|
85
|
+
* @internal
|
|
86
|
+
*/
|
|
87
|
+
class RelationshipClassParser extends ClassParser {
|
|
88
|
+
/**
|
|
89
|
+
* Parses the given RelationshipClassProps JSON returned from an ECSql query.
|
|
90
|
+
* @param data The RelationshipClassProps JSON as returned from an iModelDb.
|
|
91
|
+
* @returns The corrected RelationshipClassProps Json.
|
|
92
|
+
*/
|
|
93
|
+
async parse(data) {
|
|
94
|
+
const props = await super.parse(data);
|
|
95
|
+
const source = props.source;
|
|
96
|
+
const target = props.target;
|
|
97
|
+
if (source) {
|
|
98
|
+
source.customAttributes = source.customAttributes ? source.customAttributes.map((attr) => { return (0, SchemaParser_1.parseCustomAttribute)(attr); }) : undefined;
|
|
99
|
+
if (!source.customAttributes)
|
|
100
|
+
delete source.customAttributes;
|
|
101
|
+
}
|
|
102
|
+
if (target) {
|
|
103
|
+
target.customAttributes = target.customAttributes ? target.customAttributes.map((attr) => { return (0, SchemaParser_1.parseCustomAttribute)(attr); }) : undefined;
|
|
104
|
+
if (!target.customAttributes)
|
|
105
|
+
delete target.customAttributes;
|
|
106
|
+
}
|
|
107
|
+
return props;
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
exports.RelationshipClassParser = RelationshipClassParser;
|
|
111
|
+
//# sourceMappingURL=ClassParsers.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ClassParsers.js","sourceRoot":"","sources":["../../../src/IncrementalLoading/ClassParsers.ts"],"names":[],"mappings":";AAAA;;;gGAGgG;;;AAGhG,4CAAmF;AACnF,2DAAuD;AACvD,iDAAsD;AAUtD;;;;;GAKG;AACH,MAAa,WAAY,SAAQ,oCAAgB;IAC/C;;;;OAIG;IACa,KAAK,CAAC,KAAK,CAAC,IAAgB;QAC1C,MAAM,KAAK,GAAG,MAAM,KAAK,CAAC,KAAK,CAAC,IAAI,CAAsB,CAAC;QAC3D,IAAI,KAAK,CAAC,UAAU,EAAE,CAAC;YACrB,IAAI,KAAK,CAAC,UAAU,CAAC,MAAM,KAAK,CAAC;gBAC/B,OAAO,KAAK,CAAC,UAAU,CAAC;;gBAExB,IAAI,CAAC,eAAe,CAAC,KAAK,CAAC,UAAU,CAAC,CAAC;QAC3C,CAAC;QAED,OAAO,KAAK,CAAC;IACf,CAAC;IAEO,eAAe,CAAC,aAAiC;QACvD,KAAK,MAAM,KAAK,IAAI,aAAuC,EAAE,CAAC;YAC5D,KAAK,CAAC,gBAAgB,GAAG,KAAK,CAAC,gBAAgB,IAAI,KA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AChE,MAAM,MAAM,GAAG,KAAK,CAAC,MAA4C,CAAC;QAClE,MAAM,MAAM,GAAG,KAAK,CAAC,MAA4C,CAAC;QAElE,IAAI,MAAM,EAAE,CAAC;YACX,MAAM,CAAC,gBAAgB,GAAG,MAAM,CAAC,gBAAgB,CAAC,CAAC,CAAC,MAAM,CAAC,gBAAgB,CAAC,GAAG,CAAC,CAAC,IAAS,EAAE,EAAE,GAAG,OAAO,IAAA,mCAAoB,EAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC;YACnJ,IAAI,CAAC,MAAM,CAAC,gBAAgB;gBAC1B,OAAO,MAAM,CAAC,gBAAgB,CAAC;QACnC,CAAC;QAED,IAAI,MAAM,EAAE,CAAC;YACX,MAAM,CAAC,gBAAgB,GAAG,MAAM,CAAC,gBAAgB,CAAC,CAAC,CAAC,MAAM,CAAC,gBAAgB,CAAC,GAAG,CAAC,CAAC,IAAS,EAAE,EAAE,GAAG,OAAO,IAAA,mCAAoB,EAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC;YACnJ,IAAI,CAAC,MAAM,CAAC,gBAAgB;gBAC1B,OAAO,MAAM,CAAC,gBAAgB,CAAC;QACnC,CAAC;QAED,OAAO,KAAK,CAAC;IACf,CAAC;CACF;AAzBD,0DAyBC","sourcesContent":["/*---------------------------------------------------------------------------------------------\n * Copyright (c) Bentley Systems, Incorporated. All rights reserved.\n * See LICENSE.md in the project root for license terms and full copyright notice.\n *--------------------------------------------------------------------------------------------*/\n\nimport { AnyPropertyProps, ClassProps, CustomAttributeClassProps, MixinProps, RelationshipClassProps, RelationshipConstraintProps } from \"../Deserialization/JsonProps\";\nimport { containerTypeToString, CustomAttributeContainerType } from \"../ECObjects\";\nimport { SchemaItemParser } from \"./SchemaItemParsers\";\nimport { parseCustomAttribute } from \"./SchemaParser\";\n\ntype MutablePropertyProps = {\n -readonly [K in keyof AnyPropertyProps]: AnyPropertyProps[K]\n};\n\ntype MutableClassProps = {\n -readonly [K in keyof ClassProps]: ClassProps[K]\n};\n\n/**\n * Parses ClassProps JSON returned from an ECSql query and returns the correct ClassProps JSON.\n * This is necessary as a small amount information (ie. CustomAttribute data) returned from the\n * iModelDb is in a different format than is required for a ClassProps JSON object.\n * @internal\n */\nexport class ClassParser extends SchemaItemParser {\n /**\n * Parses the given ClassProps JSON returned from an ECSql query.\n * @param data The ClassProps JSON as returned from an iModelDb.\n * @returns The corrected ClassProps Json.\n */\n public override async parse(data: ClassProps): Promise<ClassProps> {\n const props = await super.parse(data) as MutableClassProps;\n if (props.properties) {\n if (props.properties.length === 0)\n delete props.properties;\n else\n this.parseProperties(props.properties);\n }\n\n return props;\n }\n\n private parseProperties(propertyProps: AnyPropertyProps[]) {\n for (const props of propertyProps as MutablePropertyProps[]) {\n props.customAttributes = props.customAttributes && props.customAttributes.length > 0 ? props.customAttributes.map((attr: any) => { return parseCustomAttribute(attr); }) : undefined;\n if (!props.customAttributes)\n delete props.customAttributes;\n }\n }\n}\n\ntype MutableMixinProps = {\n -readonly [K in keyof MixinProps]: MixinProps[K]\n};\n\n/**\n * Parses the given MixinProps JSON returned from an ECSql query.\n * @param data The MixinProps JSON as returned from an iModelDb.\n * @returns The corrected MixinProps Json.\n * @internal\n */\nexport class MixinParser extends ClassParser {\n /**\n * Parses the given MixinProps JSON returned from an ECSql query.\n * @param data The MixinProps JSON as returned from an iModelDb.\n * @returns The corrected MixinProps Json.\n */\n public override async parse(data: MixinProps): Promise<MixinProps> {\n const props = await super.parse(data) as MutableMixinProps;\n if (!props.customAttributes)\n delete props.customAttributes;\n\n return props;\n }\n}\n\ntype MutableCustomAttributeClassProps = {\n -readonly [K in keyof CustomAttributeClassProps]: CustomAttributeClassProps[K]\n};\n\n/**\n * Parses the given CustomAttributeClassProps JSON returned from an ECSql query.\n * @param data The CustomAttributeClassProps JSON as returned from an iModelDb.\n * @returns The corrected CustomAttributeClassProps Json.\n * @internal\n */\nexport class CustomAttributeClassParser extends ClassParser {\n /**\n * Parses the given CustomAttributeClassProps JSON returned from an ECSql query.\n * @param data The CustomAttributeClassProps JSON as returned from an iModelDb.\n * @returns The corrected CustomAttributeClassProps Json.\n */\n public override async parse(data: CustomAttributeClassProps): Promise<CustomAttributeClassProps> {\n const props = await super.parse(data) as MutableCustomAttributeClassProps;\n props.appliesTo = props.appliesTo ? containerTypeToString(props.appliesTo as any as number) : CustomAttributeContainerType[CustomAttributeContainerType.Any];\n return props;\n }\n}\n\ntype MutableRelationshipConstraintProps = {\n -readonly [K in keyof RelationshipConstraintProps]: RelationshipConstraintProps[K]\n};\n\n/**\n * Parses the given RelationshipClassProps JSON returned from an ECSql query.\n * @param data The RelationshipClassProps JSON as returned from an iModelDb.\n * @returns The corrected RelationshipClassProps Json.\n * @internal\n */\nexport class RelationshipClassParser extends ClassParser {\n /**\n * Parses the given RelationshipClassProps JSON returned from an ECSql query.\n * @param data The RelationshipClassProps JSON as returned from an iModelDb.\n * @returns The corrected RelationshipClassProps Json.\n */\n public override async parse(data: RelationshipClassProps): Promise<RelationshipClassProps> {\n const props = await super.parse(data) as RelationshipClassProps;\n const source = props.source as MutableRelationshipConstraintProps;\n const target = props.target as MutableRelationshipConstraintProps;\n\n if (source) {\n source.customAttributes = source.customAttributes ? source.customAttributes.map((attr: any) => { return parseCustomAttribute(attr); }) : undefined;\n if (!source.customAttributes)\n delete source.customAttributes;\n }\n\n if (target) {\n target.customAttributes = target.customAttributes ? target.customAttributes.map((attr: any) => { return parseCustomAttribute(attr); }) : undefined;\n if (!target.customAttributes)\n delete target.customAttributes;\n }\n\n return props;\n }\n}"]}
|
|
@@ -0,0 +1,211 @@
|
|
|
1
|
+
import { SchemaContext } from "../Context";
|
|
2
|
+
import { ConstantProps, CustomAttributeClassProps, EntityClassProps, EnumerationProps, InvertedUnitProps, KindOfQuantityProps, MixinProps, PhenomenonProps, PropertyCategoryProps, RelationshipClassProps, SchemaItemFormatProps, SchemaItemUnitProps, SchemaProps, StructClassProps, UnitSystemProps } from "../Deserialization/JsonProps";
|
|
3
|
+
import { SchemaInfo } from "../Interfaces";
|
|
4
|
+
import { SchemaKey } from "../SchemaKey";
|
|
5
|
+
import { IncrementalSchemaLocater, SchemaLocaterOptions } from "./IncrementalSchemaLocater";
|
|
6
|
+
import { PerformanceLogger } from "./PerformanceLogger";
|
|
7
|
+
interface QueryParameters {
|
|
8
|
+
[parameterName: string]: string | number;
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* Query options used by the ECSqlSchemaLocater.
|
|
12
|
+
* @internal
|
|
13
|
+
*/
|
|
14
|
+
export interface ECSqlQueryOptions {
|
|
15
|
+
parameters?: QueryParameters;
|
|
16
|
+
limit?: number;
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* Defines the [[ECSqlSchemaLocater]] options which determine how each
|
|
20
|
+
* schema is to be loaded. All options are optional.
|
|
21
|
+
* @internal
|
|
22
|
+
*/
|
|
23
|
+
export interface ECSqlSchemaLocaterOptions extends SchemaLocaterOptions {
|
|
24
|
+
/** Query for Schemas using multiple queries. Defaults to false. */
|
|
25
|
+
readonly useMultipleQueries?: boolean;
|
|
26
|
+
/** Collects query execution performance data. Defaults to false. */
|
|
27
|
+
readonly performanceLogger?: PerformanceLogger;
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
* An abstract [[IncrementalSchemaLocater]] implementation for loading
|
|
31
|
+
* EC [Schema] instances from an iModelDb using ECSql queries.
|
|
32
|
+
* @internal
|
|
33
|
+
*/
|
|
34
|
+
export declare abstract class ECSqlSchemaLocater extends IncrementalSchemaLocater {
|
|
35
|
+
/**
|
|
36
|
+
* Gets the [[ECSqlSchemaLocaterOptions]] used by this locater.
|
|
37
|
+
*/
|
|
38
|
+
protected get options(): ECSqlSchemaLocaterOptions;
|
|
39
|
+
/**
|
|
40
|
+
* Initializes a new ECSqlSchemaLocater instance.
|
|
41
|
+
* @param options The options used by this Schema locater.
|
|
42
|
+
*/
|
|
43
|
+
constructor(options?: ECSqlSchemaLocaterOptions);
|
|
44
|
+
/**
|
|
45
|
+
* Executes the given ECSql query and returns the resulting rows.
|
|
46
|
+
* @param query The ECSql query to execute.
|
|
47
|
+
* @param options Optional arguments to control the query result.
|
|
48
|
+
* @returns A promise that resolves to the resulting rows.
|
|
49
|
+
*/
|
|
50
|
+
protected abstract executeQuery<TRow>(query: string, options?: ECSqlQueryOptions): Promise<ReadonlyArray<TRow>>;
|
|
51
|
+
/**
|
|
52
|
+
* Gets the [[SchemaProps]] for the given schema key.
|
|
53
|
+
* @param schemaKey The schema key of the schema to be resolved.
|
|
54
|
+
*/
|
|
55
|
+
protected abstract getSchemaProps(schemaKey: SchemaKey): Promise<SchemaProps | undefined>;
|
|
56
|
+
/**
|
|
57
|
+
* Gets the [[SchemaProps]] for the given schema key. This is the full schema json with all elements that are defined
|
|
58
|
+
* in the schema. The schema locater calls this after the stub has been loaded to fully load the schema in the background.
|
|
59
|
+
* @param schemaKey The [[SchemaKey]] of the schema to be resolved.
|
|
60
|
+
* @param context The [[SchemaContext]] to use for resolving references.
|
|
61
|
+
* @internal
|
|
62
|
+
*/
|
|
63
|
+
getSchemaJson(schemaKey: SchemaKey, context: SchemaContext): Promise<SchemaProps | undefined>;
|
|
64
|
+
/**
|
|
65
|
+
* Gets the [[SchemaProps]] without schemaItems.
|
|
66
|
+
*/
|
|
67
|
+
/**
|
|
68
|
+
* Gets the [[SchemaProps]] without schemaItems for the given schema name.
|
|
69
|
+
* @param schemaName The name of the Schema.
|
|
70
|
+
* @param context The [[SchemaContext]] to use for resolving references.
|
|
71
|
+
* @returns
|
|
72
|
+
* @internal
|
|
73
|
+
*/
|
|
74
|
+
getSchemaNoItems(schemaName: string, context: SchemaContext): Promise<SchemaProps | undefined>;
|
|
75
|
+
/**
|
|
76
|
+
* Checks if the [[SchemaContext]] has the right Meta Schema version to support the incremental schema loading.
|
|
77
|
+
* @param context The schema context to lookup the meta schema.
|
|
78
|
+
* @returns true if the context has a supported meta schema version, false otherwise.
|
|
79
|
+
*/
|
|
80
|
+
protected supportPartialSchemaLoading(context: SchemaContext): Promise<boolean>;
|
|
81
|
+
/**
|
|
82
|
+
* Gets all the Schema's Entity classes as [[EntityClassProps]] JSON objects.
|
|
83
|
+
* @param schemaName The name of the Schema.
|
|
84
|
+
* @param context The [[SchemaContext]] to which the schema belongs.
|
|
85
|
+
* @returns A promise that resolves to a EntityClassProps array. Maybe empty of no entities are found.
|
|
86
|
+
* @internal
|
|
87
|
+
*/
|
|
88
|
+
getEntities(schema: string, context: SchemaContext, queryOverride?: string): Promise<EntityClassProps[]>;
|
|
89
|
+
/**
|
|
90
|
+
* Gets all the Schema's Mixin classes as [[MixinProps]] JSON objects.
|
|
91
|
+
* @param schemaName The name of the Schema.
|
|
92
|
+
* @param context The SchemaContext to which the schema belongs.
|
|
93
|
+
* @returns A promise that resolves to a MixinProps array. Maybe empty of no entities are found.
|
|
94
|
+
* @internal
|
|
95
|
+
*/
|
|
96
|
+
getMixins(schema: string, context: SchemaContext, queryOverride?: string): Promise<MixinProps[]>;
|
|
97
|
+
/**
|
|
98
|
+
* Gets all the Schema's Relationship classes as [[RelationshipClassProps]] JSON objects.
|
|
99
|
+
* @param schemaName The name of the Schema.
|
|
100
|
+
* @param context The SchemaContext to which the schema belongs.
|
|
101
|
+
* @returns A promise that resolves to a RelationshipClassProps array. Maybe empty if no items are found.
|
|
102
|
+
* @internal
|
|
103
|
+
*/
|
|
104
|
+
getRelationships(schema: string, context: SchemaContext, queryOverride?: string): Promise<RelationshipClassProps[]>;
|
|
105
|
+
/**
|
|
106
|
+
* Gets all the Schema's CustomAttributeClass items as [[CustomAttributeClassProps]] JSON objects.
|
|
107
|
+
* @param schemaName The name of the Schema.
|
|
108
|
+
* @param context The SchemaContext to which the schema belongs.
|
|
109
|
+
* @returns A promise that resolves to a CustomAttributeClassProps array. Maybe empty if not items are found.
|
|
110
|
+
* @internal
|
|
111
|
+
*/
|
|
112
|
+
getCustomAttributeClasses(schema: string, context: SchemaContext, queryOverride?: string): Promise<CustomAttributeClassProps[]>;
|
|
113
|
+
/**
|
|
114
|
+
* Gets all the Schema's StructClass items as [[StructClassProps]] JSON objects.
|
|
115
|
+
* @param schemaName The name of the Schema.
|
|
116
|
+
* @param context The SchemaContext to which the schema belongs.
|
|
117
|
+
* @returns A promise that resolves to a StructClassProps array. Maybe empty if not items are found.
|
|
118
|
+
* @internal
|
|
119
|
+
*/
|
|
120
|
+
getStructs(schema: string, context: SchemaContext, queryOverride?: string): Promise<StructClassProps[]>;
|
|
121
|
+
/**
|
|
122
|
+
* Gets all the Schema's KindOfQuantity items as [[KindOfQuantityProps]] JSON objects.
|
|
123
|
+
* @param schema The name of the Schema.
|
|
124
|
+
* @param context The SchemaContext to which the schema belongs.
|
|
125
|
+
* @returns A promise that resolves to a KindOfQuantityProps array. Maybe empty if not items are found.
|
|
126
|
+
* @internal
|
|
127
|
+
*/
|
|
128
|
+
getKindOfQuantities(schema: string, context: SchemaContext): Promise<KindOfQuantityProps[]>;
|
|
129
|
+
/**
|
|
130
|
+
* Gets all the Schema's PropertyCategory items as [[PropertyCategoryProps]] JSON objects.
|
|
131
|
+
* @param schema The name of the Schema.
|
|
132
|
+
* @param context The SchemaContext to which the schema belongs.
|
|
133
|
+
* @returns A promise that resolves to a PropertyCategoryProps array. Maybe empty if not items are found.
|
|
134
|
+
* @internal
|
|
135
|
+
*/
|
|
136
|
+
getPropertyCategories(schema: string, context: SchemaContext): Promise<PropertyCategoryProps[]>;
|
|
137
|
+
/**
|
|
138
|
+
* Gets all the Schema's Enumeration items as [[EnumerationProps]] JSON objects.
|
|
139
|
+
* @param schema The name of the Schema.
|
|
140
|
+
* @param context The SchemaContext to which the schema belongs.
|
|
141
|
+
* @returns A promise that resolves to a EnumerationProps array. Maybe empty if not items are found.
|
|
142
|
+
* @internal
|
|
143
|
+
*/
|
|
144
|
+
getEnumerations(schema: string, context: SchemaContext): Promise<EnumerationProps[]>;
|
|
145
|
+
/**
|
|
146
|
+
* Gets all the Schema's Unit items as [[SchemaItemUnitProps]] JSON objects.
|
|
147
|
+
* @param schema The name of the Schema.
|
|
148
|
+
* @param context The SchemaContext to which the schema belongs.
|
|
149
|
+
* @returns A promise that resolves to a SchemaItemUnitProps array. Maybe empty if not items are found.
|
|
150
|
+
* @internal
|
|
151
|
+
*/
|
|
152
|
+
getUnits(schema: string, context: SchemaContext): Promise<SchemaItemUnitProps[]>;
|
|
153
|
+
/**
|
|
154
|
+
* Gets all the Schema's InvertedUnit items as [[InvertedUnitProps]] JSON objects.
|
|
155
|
+
* @param schema The name of the Schema.
|
|
156
|
+
* @param context The SchemaContext to which the schema belongs.
|
|
157
|
+
* @returns A promise that resolves to a InvertedUnitProps array. Maybe empty if not items are found.
|
|
158
|
+
* @internal
|
|
159
|
+
*/
|
|
160
|
+
getInvertedUnits(schema: string, context: SchemaContext): Promise<InvertedUnitProps[]>;
|
|
161
|
+
/**
|
|
162
|
+
* Gets all the Schema's Constant items as [[ConstantProps]] JSON objects.
|
|
163
|
+
* @param schema The name of the Schema.
|
|
164
|
+
* @param context The SchemaContext to which the schema belongs.
|
|
165
|
+
* @returns A promise that resolves to a ConstantProps array. Maybe empty if not items are found.
|
|
166
|
+
* @internal
|
|
167
|
+
*/
|
|
168
|
+
getConstants(schema: string, context: SchemaContext): Promise<ConstantProps[]>;
|
|
169
|
+
/**
|
|
170
|
+
* Gets all the Schema's UnitSystem items as [[UnitSystemProps]] JSON objects.
|
|
171
|
+
* @param schema The name of the Schema.
|
|
172
|
+
* @param context The SchemaContext to which the schema belongs.
|
|
173
|
+
* @returns A promise that resolves to a UnitSystemProps array. Maybe empty if not items are found.
|
|
174
|
+
* @internal
|
|
175
|
+
*/
|
|
176
|
+
getUnitSystems(schema: string, context: SchemaContext): Promise<UnitSystemProps[]>;
|
|
177
|
+
/**
|
|
178
|
+
* Gets all the Schema's Phenomenon items as [[PhenomenonProps]] JSON objects.
|
|
179
|
+
* @param schema The name of the Schema.
|
|
180
|
+
* @param context The SchemaContext to which the schema belongs.
|
|
181
|
+
* @returns A promise that resolves to a PhenomenonProps array. Maybe empty if not items are found.
|
|
182
|
+
* @internal
|
|
183
|
+
*/
|
|
184
|
+
getPhenomenon(schema: string, context: SchemaContext): Promise<PhenomenonProps[]>;
|
|
185
|
+
/**
|
|
186
|
+
* Gets all the Schema's Format items as [[SchemaItemFormatProps]] JSON objects.
|
|
187
|
+
* @param schema The name of the Schema.
|
|
188
|
+
* @param context The SchemaContext to which the schema belongs.
|
|
189
|
+
* @returns A promise that resolves to a SchemaItemFormatProps array. Maybe empty if not items are found.
|
|
190
|
+
* @internal
|
|
191
|
+
*/
|
|
192
|
+
getFormats(schema: string, context: SchemaContext): Promise<SchemaItemFormatProps[]>;
|
|
193
|
+
/**
|
|
194
|
+
* Gets [[SchemaInfo]] objects for all schemas including their direct schema references.
|
|
195
|
+
* @internal
|
|
196
|
+
*/
|
|
197
|
+
loadSchemaInfos(): Promise<ReadonlyArray<SchemaInfo>>;
|
|
198
|
+
/**
|
|
199
|
+
* Gets the [[SchemaProps]] to create the basic schema skeleton. Depending on which options are set, the schema items or class hierarchy
|
|
200
|
+
* can be included in the initial fetch.
|
|
201
|
+
* @param schemaKey The [[SchemaKey]] of the schema to be resolved.
|
|
202
|
+
* @returns A promise that resolves to the schema partials, which is an array of [[SchemaProps]].
|
|
203
|
+
* @internal
|
|
204
|
+
*/
|
|
205
|
+
getSchemaPartials(schemaKey: SchemaKey, context: SchemaContext): Promise<ReadonlyArray<SchemaProps> | undefined>;
|
|
206
|
+
private querySchemaItem;
|
|
207
|
+
private getFullSchema;
|
|
208
|
+
private getFullSchemaMultipleQueries;
|
|
209
|
+
}
|
|
210
|
+
export {};
|
|
211
|
+
//# sourceMappingURL=ECSqlSchemaLocater.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ECSqlSchemaLocater.d.ts","sourceRoot":"","sources":["../../../src/IncrementalLoading/ECS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