@itwin/ecschema-rpcinterface-tests 5.10.0-dev.20 → 5.10.0-dev.22
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.
|
@@ -28472,7 +28472,7 @@ var QueryRowFormat;
|
|
|
28472
28472
|
QueryRowFormat[QueryRowFormat["UseECSqlPropertyIndexes"] = 1] = "UseECSqlPropertyIndexes";
|
|
28473
28473
|
/** Each row is an object in which each non-null column value can be accessed by a [remapped property name]($docs/learning/ECSqlRowFormat.md).
|
|
28474
28474
|
* This format is backwards-compatible with the format produced by iTwin.js 2.x. Null values are omitted.
|
|
28475
|
-
* @
|
|
28475
|
+
* @deprecated in 4.11 - will not be removed until after 2026-06-13. Switch to UseECSqlPropertyIndexes for best performance, and UseECSqlPropertyNames if you want a JSON object as the result.
|
|
28476
28476
|
*/
|
|
28477
28477
|
QueryRowFormat[QueryRowFormat["UseJsPropertyNames"] = 2] = "UseJsPropertyNames";
|
|
28478
28478
|
})(QueryRowFormat || (QueryRowFormat = {}));
|
|
@@ -31117,6 +31117,7 @@ class ECSqlReader extends _ECSqlReaderBase__WEBPACK_IMPORTED_MODULE_1__.ECSqlRea
|
|
|
31117
31117
|
if (this._globalCount === 0) {
|
|
31118
31118
|
return [];
|
|
31119
31119
|
}
|
|
31120
|
+
// eslint-disable-next-line @typescript-eslint/no-deprecated
|
|
31120
31121
|
const valueFormat = this._options.rowFormat === _ConcurrentQuery__WEBPACK_IMPORTED_MODULE_0__.QueryRowFormat.UseJsPropertyNames ? _ConcurrentQuery__WEBPACK_IMPORTED_MODULE_0__.DbValueFormat.JsNames : _ConcurrentQuery__WEBPACK_IMPORTED_MODULE_0__.DbValueFormat.ECSqlNames;
|
|
31121
31122
|
const request = {
|
|
31122
31123
|
...this._options,
|
|
@@ -31436,6 +31437,7 @@ class ECSqlReaderBase {
|
|
|
31436
31437
|
}
|
|
31437
31438
|
const formattedRow = {};
|
|
31438
31439
|
for (const prop of this._props) {
|
|
31440
|
+
// eslint-disable-next-line @typescript-eslint/no-deprecated
|
|
31439
31441
|
const propName = this._rowFormat === _ConcurrentQuery__WEBPACK_IMPORTED_MODULE_1__.QueryRowFormat.UseJsPropertyNames ? prop.jsonName : prop.name;
|
|
31440
31442
|
const val = this.getRowInternal()[prop.index];
|
|
31441
31443
|
if (typeof val !== "undefined" && val !== null) {
|
|
@@ -87228,6 +87230,7 @@ class DrawingViewState extends _ViewState__WEBPACK_IMPORTED_MODULE_14__.ViewStat
|
|
|
87228
87230
|
CAST(json_extract(jsonProperties, '$.displaySpatialView') as BOOLEAN) as displaySpatialView
|
|
87229
87231
|
FROM bis.SectionDrawing
|
|
87230
87232
|
WHERE ECInstanceId=${this.baseModelId}`;
|
|
87233
|
+
// eslint-disable-next-line @typescript-eslint/no-deprecated
|
|
87231
87234
|
for await (const row of this.iModel.createQueryReader(ecsql, undefined, { rowFormat: _itwin_core_common__WEBPACK_IMPORTED_MODULE_1__.QueryRowFormat.UseJsPropertyNames })) {
|
|
87232
87235
|
spatialView = _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.Id64.fromJSON(row.spatialView?.id);
|
|
87233
87236
|
displaySpatialView = !!row.displaySpatialView;
|
|
@@ -92356,6 +92359,7 @@ class SnapshotConnection extends IModelConnection {
|
|
|
92356
92359
|
break;
|
|
92357
92360
|
}
|
|
92358
92361
|
const placements = new Array();
|
|
92362
|
+
// eslint-disable-next-line @typescript-eslint/no-deprecated
|
|
92359
92363
|
for await (const queryRow of this._iModel.createQueryReader(ecsql, undefined, { rowFormat: _itwin_core_common__WEBPACK_IMPORTED_MODULE_1__.QueryRowFormat.UseJsPropertyNames })) {
|
|
92360
92364
|
const row = queryRow.toRow();
|
|
92361
92365
|
const origin = [row.x, row.y, row.z];
|
|
@@ -99083,6 +99087,7 @@ class ViewCreator2d {
|
|
|
99083
99087
|
async _addSheetViewProps(modelId, props) {
|
|
99084
99088
|
let width = 0;
|
|
99085
99089
|
let height = 0;
|
|
99090
|
+
// eslint-disable-next-line @typescript-eslint/no-deprecated
|
|
99086
99091
|
for await (const row of this._imodel.createQueryReader(`SELECT Width, Height FROM bis.Sheet WHERE ECInstanceId = ?`, _itwin_core_common__WEBPACK_IMPORTED_MODULE_1__.QueryBinder.from([modelId]), { rowFormat: _itwin_core_common__WEBPACK_IMPORTED_MODULE_1__.QueryRowFormat.UseJsPropertyNames })) {
|
|
99087
99092
|
width = row.width;
|
|
99088
99093
|
height = row.height;
|
|
@@ -99156,6 +99161,7 @@ class ViewCreator2d {
|
|
|
99156
99161
|
*/
|
|
99157
99162
|
_executeQuery = async (query) => {
|
|
99158
99163
|
const rows = [];
|
|
99164
|
+
// eslint-disable-next-line @typescript-eslint/no-deprecated
|
|
99159
99165
|
for await (const row of this._imodel.createQueryReader(query, undefined, { rowFormat: _itwin_core_common__WEBPACK_IMPORTED_MODULE_1__.QueryRowFormat.UseJsPropertyNames }))
|
|
99160
99166
|
rows.push(row.id);
|
|
99161
99167
|
return rows;
|
|
@@ -180810,6 +180816,7 @@ class ElementSetTool extends _PrimitiveTool__WEBPACK_IMPORTED_MODULE_9__.Primiti
|
|
|
180810
180816
|
// When assembly parent is selected, pick all geometric elements with it as the parent.
|
|
180811
180817
|
// When assembly member is selected, pick the parent as well as all the other members.
|
|
180812
180818
|
const ecsql = `SELECT ECInstanceId as id, Parent.Id as parentId FROM BisCore.GeometricElement WHERE Parent.Id IN (SELECT Parent.Id as parentId FROM BisCore.GeometricElement WHERE (parent.Id IS NOT NULL AND ECInstanceId IN (${id})) OR parent.Id IN (${id}))`;
|
|
180819
|
+
// eslint-disable-next-line @typescript-eslint/no-deprecated
|
|
180813
180820
|
for await (const row of this.iModel.createQueryReader(ecsql, undefined, { rowFormat: _itwin_core_common__WEBPACK_IMPORTED_MODULE_1__.QueryRowFormat.UseJsPropertyNames })) {
|
|
180814
180821
|
ids.add(row.parentId);
|
|
180815
180822
|
ids.add(row.id);
|
|
@@ -331339,7 +331346,7 @@ var loadLanguages = instance.loadLanguages;
|
|
|
331339
331346
|
/***/ ((module) => {
|
|
331340
331347
|
|
|
331341
331348
|
"use strict";
|
|
331342
|
-
module.exports = /*#__PURE__*/JSON.parse('{"name":"@itwin/core-frontend","version":"5.10.0-dev.
|
|
331349
|
+
module.exports = /*#__PURE__*/JSON.parse('{"name":"@itwin/core-frontend","version":"5.10.0-dev.22","description":"iTwin.js frontend components","main":"lib/cjs/core-frontend.js","module":"lib/esm/core-frontend.js","typings":"lib/cjs/core-frontend","license":"MIT","scripts":{"build":"npm run -s copy:public && npm run -s build:cjs && npm run -s build:esm && npm run -s webpackWorkers && npm run -s copy:workers && npm run -s copy:draco","build:cjs":"npm run -s copy:js:cjs && tsc 1>&2 --outDir lib/cjs","build:esm":"npm run -s copy:js:esm && tsc 1>&2 --module ES2022 --outDir lib/esm","clean":"rimraf -g lib .rush/temp/package-deps*.json","copy:public":"cpx \\"./src/public/**/*\\" ./lib/public","copy:js:cjs":"cpx \\"./src/**/*.js\\" ./lib/cjs","copy:js:esm":"cpx \\"./src/**/*.js\\" ./lib/esm","copy:workers":"cpx \\"./lib/workers/webpack/parse-imdl-worker.js\\" ./lib/public/scripts","copy:draco":"cpx \\"./node_modules/@loaders.gl/draco/dist/libs/*\\" ./lib/public/scripts","docs":"betools docs --json=../../generated-docs/core/core-frontend/file.json --tsIndexFile=./core-frontend.ts --onlyJson --excludes=webgl/**/*,**/map/*.d.ts,**/tile/*.d.ts,**/*-css.ts && npm run -s extract","extract":"betools extract --fileExt=ts --extractFrom=./src/test/example-code --recursive --out=../../generated-docs/extract","extract-api":"betools extract-api --entry=core-frontend && npm run extract-extension-api","extract-extension-api":"eslint --no-inline-config -c extraction.eslint.config.js \\"./src/**/*.ts\\" 1>&2","lint":"eslint \\"./src/**/*.ts\\" 1>&2","lint-fix":"eslint --fix -f visualstudio \\"./src/**/*.ts\\" 1>&2","lint-deprecation":"eslint --fix -f visualstudio --no-inline-config -c ../../common/config/eslint/eslint.config.deprecation-policy.js \\"./src/**/*.ts\\"","pseudolocalize":"betools pseudolocalize --englishDir ./src/public/locales/en --out ./public/locales/en-PSEUDO","test":"npm run webpackTestWorker && vitest --run","cover":"npm run webpackTestWorker && vitest --run","webpackTests":"webpack --config ./src/test/utils/webpack.config.js 1>&2 && npm run -s webpackTestWorker","webpackTestWorker":"webpack --config ./src/test/worker/webpack.config.js 1>&2 && cpx \\"./lib/test/test-worker.js\\" ./lib/test","webpackWorkers":"webpack --config ./src/workers/ImdlParser/webpack.config.js 1>&2"},"repository":{"type":"git","url":"https://github.com/iTwin/itwinjs-core.git","directory":"core/frontend"},"keywords":["Bentley","BIM","iModel","digital-twin","iTwin"],"author":{"name":"Bentley Systems, Inc.","url":"http://www.bentley.com"},"peerDependencies":{"@itwin/appui-abstract":"workspace:*","@itwin/core-bentley":"workspace:*","@itwin/core-common":"workspace:*","@itwin/core-geometry":"workspace:*","@itwin/core-orbitgt":"workspace:*","@itwin/core-quantity":"workspace:*","@itwin/ecschema-metadata":"workspace:*","@itwin/ecschema-rpcinterface-common":"workspace:*"},"//devDependencies":["NOTE: All peerDependencies should also be listed as devDependencies since peerDependencies are not considered by npm install","NOTE: All tools used by scripts in this package must be listed as devDependencies"],"devDependencies":{"@bentley/aec-units-schema":"^1.0.3","@bentley/formats-schema":"^1.0.0","@bentley/units-schema":"^1.0.10","@itwin/appui-abstract":"workspace:*","@itwin/build-tools":"workspace:*","@itwin/core-bentley":"workspace:*","@itwin/core-common":"workspace:*","@itwin/core-geometry":"workspace:*","@itwin/core-orbitgt":"workspace:*","@itwin/core-quantity":"workspace:*","@itwin/ecschema-metadata":"workspace:*","@itwin/ecschema-rpcinterface-common":"workspace:*","@itwin/object-storage-core":"^3.0.4","@itwin/eslint-plugin":"^6.0.0","@types/chai-as-promised":"^7","@types/draco3d":"^1.4.10","@types/sinon":"^17.0.2","@vitest/browser":"^3.0.6","@vitest/coverage-v8":"^3.0.6","cpx2":"^8.0.0","eslint":"^9.31.0","glob":"^10.5.0","playwright":"~1.56.1","rimraf":"^6.0.1","sinon":"^17.0.2","source-map-loader":"^5.0.0","typescript":"~5.6.2","vitest":"^3.0.6","vite-multiple-assets":"^1.3.1","vite-plugin-static-copy":"2.2.0","webpack":"^5.97.1"},"//dependencies":["NOTE: these dependencies should be only for things that DO NOT APPEAR IN THE API","NOTE: core-frontend should remain UI technology agnostic, so no react/angular dependencies are allowed"],"dependencies":{"@itwin/core-i18n":"workspace:*","@itwin/webgl-compatibility":"workspace:*","@loaders.gl/core":"~4.3.4","@loaders.gl/draco":"~4.3.4","fuse.js":"^3.3.0","wms-capabilities":"0.4.0"}}');
|
|
331343
331350
|
|
|
331344
331351
|
/***/ })
|
|
331345
331352
|
|