@itwin/rpcinterface-full-stack-tests 5.11.0-dev.4 → 5.11.0-dev.6
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/dist/bundled-tests.js +22 -3
- package/lib/dist/bundled-tests.js.map +1 -1
- package/lib/dist/core_frontend_lib_esm_ApproximateTerrainHeightsProps_js.bundled-tests.js.map +1 -1
- package/lib/dist/vendors-common_temp_node_modules_pnpm_cross-fetch_4_0_0_node_modules_cross-fetch_dist_browser-24291b.bundled-tests.js.map +1 -1
- package/lib/dist/vendors-common_temp_node_modules_pnpm_loaders_gl_draco_4_3_4__loaders_gl_core_4_3_4_node_modu-4c1fc9.bundled-tests.js.map +1 -1
- package/package.json +14 -14
|
@@ -65857,18 +65857,33 @@ var DbResponseKind;
|
|
|
65857
65857
|
/** @internal */
|
|
65858
65858
|
var DbResponseStatus;
|
|
65859
65859
|
(function (DbResponseStatus) {
|
|
65860
|
+
/** Query ran to completion. */
|
|
65860
65861
|
DbResponseStatus[DbResponseStatus["Done"] = 1] = "Done";
|
|
65862
|
+
/** Requested by user. */
|
|
65861
65863
|
DbResponseStatus[DbResponseStatus["Cancel"] = 2] = "Cancel";
|
|
65864
|
+
/** Query was running but ran out of quota. */
|
|
65862
65865
|
DbResponseStatus[DbResponseStatus["Partial"] = 3] = "Partial";
|
|
65866
|
+
/** Query time quota expired while it was in queue. */
|
|
65863
65867
|
DbResponseStatus[DbResponseStatus["Timeout"] = 4] = "Timeout";
|
|
65868
|
+
/** Could not submit the query because the queue was full. */
|
|
65864
65869
|
DbResponseStatus[DbResponseStatus["QueueFull"] = 5] = "QueueFull";
|
|
65870
|
+
/** Shutdown is in progress. */
|
|
65865
65871
|
DbResponseStatus[DbResponseStatus["ShuttingDown"] = 6] = "ShuttingDown";
|
|
65872
|
+
/** iModel is not open. */
|
|
65873
|
+
DbResponseStatus[DbResponseStatus["NotOpen"] = 7] = "NotOpen";
|
|
65874
|
+
/** Generic error. */
|
|
65866
65875
|
DbResponseStatus[DbResponseStatus["Error"] = 100] = "Error";
|
|
65876
|
+
/** ECSQL prepare failed. */
|
|
65867
65877
|
DbResponseStatus[DbResponseStatus["Error_ECSql_PreparedFailed"] = 101] = "Error_ECSql_PreparedFailed";
|
|
65878
|
+
/** ECSQL step failed. */
|
|
65868
65879
|
DbResponseStatus[DbResponseStatus["Error_ECSql_StepFailed"] = 102] = "Error_ECSql_StepFailed";
|
|
65880
|
+
/** ECSQL failed to serialize row to JSON. */
|
|
65869
65881
|
DbResponseStatus[DbResponseStatus["Error_ECSql_RowToJsonFailed"] = 103] = "Error_ECSql_RowToJsonFailed";
|
|
65882
|
+
/** ECSQL binding failed. */
|
|
65870
65883
|
DbResponseStatus[DbResponseStatus["Error_ECSql_BindingFailed"] = 104] = "Error_ECSql_BindingFailed";
|
|
65884
|
+
/** Class, property, or instance specified was not found, or property is not of type blob. */
|
|
65871
65885
|
DbResponseStatus[DbResponseStatus["Error_BlobIO_OpenFailed"] = 105] = "Error_BlobIO_OpenFailed";
|
|
65886
|
+
/** Range specified is invalid based on size of blob. */
|
|
65872
65887
|
DbResponseStatus[DbResponseStatus["Error_BlobIO_OutOfRange"] = 106] = "Error_BlobIO_OutOfRange";
|
|
65873
65888
|
})(DbResponseStatus || (DbResponseStatus = {}));
|
|
65874
65889
|
/** @internal */
|
|
@@ -67969,7 +67984,7 @@ class ECSqlReader extends _ECSqlReaderBase__WEBPACK_IMPORTED_MODULE_1__.ECSqlRea
|
|
|
67969
67984
|
request.includeMetaData = this._props.length > 0 ? false : true;
|
|
67970
67985
|
request.limit = { offset: this._globalOffset, count: this._globalCount < 1 ? -1 : this._globalCount };
|
|
67971
67986
|
const resp = await this.runWithRetry(request);
|
|
67972
|
-
this._globalDone = resp.status === _ConcurrentQuery__WEBPACK_IMPORTED_MODULE_0__.DbResponseStatus.Done;
|
|
67987
|
+
this._globalDone = resp.status === _ConcurrentQuery__WEBPACK_IMPORTED_MODULE_0__.DbResponseStatus.Done || resp.status === _ConcurrentQuery__WEBPACK_IMPORTED_MODULE_0__.DbResponseStatus.NotOpen;
|
|
67973
67988
|
if (this._props.length === 0 && resp.meta.length > 0) {
|
|
67974
67989
|
this._props = new _ECSqlReaderBase__WEBPACK_IMPORTED_MODULE_1__.PropertyMetaDataMap(resp.meta);
|
|
67975
67990
|
}
|
|
@@ -128547,6 +128562,10 @@ class IModelConnection extends _itwin_core_common__WEBPACK_IMPORTED_MODULE_1__.I
|
|
|
128547
128562
|
createQueryReader(ecsql, params, config) {
|
|
128548
128563
|
const executor = {
|
|
128549
128564
|
execute: async (request) => {
|
|
128565
|
+
// Best-effort guard for the common case where the connection closes before iteration starts.
|
|
128566
|
+
if (!this.isOpen) {
|
|
128567
|
+
return { status: _itwin_core_common__WEBPACK_IMPORTED_MODULE_1__.DbResponseStatus.NotOpen, data: [], meta: [], rowCount: 0, stats: { cpuTime: 0, totalTime: 0, memUsed: 0, prepareTime: 0, timeLimit: 0, memLimit: 0 }, kind: _itwin_core_common__WEBPACK_IMPORTED_MODULE_1__.DbResponseKind.ECSql };
|
|
128568
|
+
}
|
|
128550
128569
|
return _itwin_core_common__WEBPACK_IMPORTED_MODULE_1__.IModelReadRpcInterface.getClientForRouting(this.routingContext.token).queryRows(this.getRpcProps(), request);
|
|
128551
128570
|
},
|
|
128552
128571
|
};
|
|
@@ -354873,7 +354892,7 @@ class TestContext {
|
|
|
354873
354892
|
this.initializeRpcInterfaces({ title: this.settings.Backend.name, version: this.settings.Backend.version });
|
|
354874
354893
|
const iModelClient = new imodels_client_management_1.IModelsClient({ api: { baseUrl: `https://${process.env.IMJS_URL_PREFIX ?? ""}api.bentley.com/imodels` } });
|
|
354875
354894
|
await core_frontend_1.NoRenderApp.startup({
|
|
354876
|
-
applicationVersion: "5.11.0-dev.
|
|
354895
|
+
applicationVersion: "5.11.0-dev.6",
|
|
354877
354896
|
applicationId: this.settings.gprid,
|
|
354878
354897
|
authorizationClient: new frontend_1.TestFrontendAuthorizationClient(this.serviceAuthToken),
|
|
354879
354898
|
hubAccess: new imodels_access_frontend_1.FrontendIModelsAccess(iModelClient),
|
|
@@ -382616,7 +382635,7 @@ var loadLanguages = instance.loadLanguages;
|
|
|
382616
382635
|
/***/ ((module) => {
|
|
382617
382636
|
|
|
382618
382637
|
"use strict";
|
|
382619
|
-
module.exports = /*#__PURE__*/JSON.parse('{"name":"@itwin/core-frontend","version":"5.11.0-dev.
|
|
382638
|
+
module.exports = /*#__PURE__*/JSON.parse('{"name":"@itwin/core-frontend","version":"5.11.0-dev.6","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"}}');
|
|
382620
382639
|
|
|
382621
382640
|
/***/ }),
|
|
382622
382641
|
|