@itwin/ecschema-rpcinterface-tests 4.10.6 → 4.10.8
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/_bea9.bundled-tests.js.map +1 -1
- package/lib/dist/bundled-tests.js +37 -16
- 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_loaders_gl_draco_3_1_6_node_modules_loaders_gl_draco_di-0642a6.bundled-tests.js.map +1 -1
- package/lib/dist/vendors-common_temp_node_modules_pnpm_meshoptimizer_0_20_0_node_modules_meshoptimizer_index_m-a5ae61.bundled-tests.js.map +1 -1
- package/package.json +17 -17
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"_bea9.bundled-tests.js","mappings":";;;;;;;;AAAA","sources":["file:///ignored|D:\\vsts_a\\
|
|
1
|
+
{"version":3,"file":"_bea9.bundled-tests.js","mappings":";;;;;;;;AAAA","sources":["file:///ignored|D:\\vsts_a\\15\\s\\common\\temp\\node_modules\\.pnpm\\@loaders.gl+worker-utils@3.1.6\\node_modules\\@loaders.gl\\worker-utils\\dist\\esm\\lib\\library-utils|../node/require-utils.node"],"names":[],"sourceRoot":""}
|
|
@@ -4111,9 +4111,9 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
4111
4111
|
|
|
4112
4112
|
/***/ }),
|
|
4113
4113
|
|
|
4114
|
-
/***/ "../../common/temp/node_modules/.pnpm/@itwin+oidc-signin-tool@4.
|
|
4114
|
+
/***/ "../../common/temp/node_modules/.pnpm/@itwin+oidc-signin-tool@4.4.1_67wltvhdskk2oee2c3z2o4tfly/node_modules/@itwin/oidc-signin-tool/lib/cjs/TestFrontendAuthorizationClient.js":
|
|
4115
4115
|
/*!*************************************************************************************************************************************************************************************!*\
|
|
4116
|
-
!*** ../../common/temp/node_modules/.pnpm/@itwin+oidc-signin-tool@4.
|
|
4116
|
+
!*** ../../common/temp/node_modules/.pnpm/@itwin+oidc-signin-tool@4.4.1_67wltvhdskk2oee2c3z2o4tfly/node_modules/@itwin/oidc-signin-tool/lib/cjs/TestFrontendAuthorizationClient.js ***!
|
|
4117
4117
|
\*************************************************************************************************************************************************************************************/
|
|
4118
4118
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
4119
4119
|
|
|
@@ -4168,9 +4168,9 @@ exports.TestFrontendAuthorizationClient = TestFrontendAuthorizationClient;
|
|
|
4168
4168
|
|
|
4169
4169
|
/***/ }),
|
|
4170
4170
|
|
|
4171
|
-
/***/ "../../common/temp/node_modules/.pnpm/@itwin+oidc-signin-tool@4.
|
|
4171
|
+
/***/ "../../common/temp/node_modules/.pnpm/@itwin+oidc-signin-tool@4.4.1_67wltvhdskk2oee2c3z2o4tfly/node_modules/@itwin/oidc-signin-tool/lib/cjs/TestUsers.js":
|
|
4172
4172
|
/*!***************************************************************************************************************************************************************!*\
|
|
4173
|
-
!*** ../../common/temp/node_modules/.pnpm/@itwin+oidc-signin-tool@4.
|
|
4173
|
+
!*** ../../common/temp/node_modules/.pnpm/@itwin+oidc-signin-tool@4.4.1_67wltvhdskk2oee2c3z2o4tfly/node_modules/@itwin/oidc-signin-tool/lib/cjs/TestUsers.js ***!
|
|
4174
4174
|
\***************************************************************************************************************************************************************/
|
|
4175
4175
|
/***/ ((__unused_webpack_module, exports) => {
|
|
4176
4176
|
|
|
@@ -4256,16 +4256,16 @@ exports.TestUsers = TestUsers;
|
|
|
4256
4256
|
|
|
4257
4257
|
/***/ }),
|
|
4258
4258
|
|
|
4259
|
-
/***/ "../../common/temp/node_modules/.pnpm/@itwin+oidc-signin-tool@4.
|
|
4259
|
+
/***/ "../../common/temp/node_modules/.pnpm/@itwin+oidc-signin-tool@4.4.1_67wltvhdskk2oee2c3z2o4tfly/node_modules/@itwin/oidc-signin-tool/lib/cjs/certa/certaCommon.js":
|
|
4260
4260
|
/*!***********************************************************************************************************************************************************************!*\
|
|
4261
|
-
!*** ../../common/temp/node_modules/.pnpm/@itwin+oidc-signin-tool@4.
|
|
4261
|
+
!*** ../../common/temp/node_modules/.pnpm/@itwin+oidc-signin-tool@4.4.1_67wltvhdskk2oee2c3z2o4tfly/node_modules/@itwin/oidc-signin-tool/lib/cjs/certa/certaCommon.js ***!
|
|
4262
4262
|
\***********************************************************************************************************************************************************************/
|
|
4263
4263
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
4264
4264
|
|
|
4265
4265
|
"use strict";
|
|
4266
4266
|
|
|
4267
4267
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
4268
|
-
exports.getAccessTokenFromBackend = exports.getTokenCallbackName = void 0;
|
|
4268
|
+
exports.getServiceAuthTokenFromBackend = exports.getAccessTokenFromBackend = exports.getServiceAuthTokenCallbackName = exports.getTokenCallbackName = void 0;
|
|
4269
4269
|
/*---------------------------------------------------------------------------------------------
|
|
4270
4270
|
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
4271
4271
|
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
@@ -4273,6 +4273,7 @@ exports.getAccessTokenFromBackend = exports.getTokenCallbackName = void 0;
|
|
|
4273
4273
|
const CallbackUtils_1 = __webpack_require__(/*! @itwin/certa/lib/utils/CallbackUtils */ "../../tools/certa/lib/utils/CallbackUtils.js");
|
|
4274
4274
|
// Shared by both the frontend and backend side of the tests
|
|
4275
4275
|
exports.getTokenCallbackName = "getToken";
|
|
4276
|
+
exports.getServiceAuthTokenCallbackName = "getServiceAuthToken";
|
|
4276
4277
|
/**
|
|
4277
4278
|
* Retrieves an access token from the backend using the specified user credentials.
|
|
4278
4279
|
*/
|
|
@@ -4281,13 +4282,21 @@ async function getAccessTokenFromBackend(user, oidcConfig) {
|
|
|
4281
4282
|
return accessToken;
|
|
4282
4283
|
}
|
|
4283
4284
|
exports.getAccessTokenFromBackend = getAccessTokenFromBackend;
|
|
4285
|
+
/**
|
|
4286
|
+
* Retrieves a service authorization token from the backend.
|
|
4287
|
+
*/
|
|
4288
|
+
async function getServiceAuthTokenFromBackend(oidcConfig) {
|
|
4289
|
+
const accessToken = await (0, CallbackUtils_1.executeBackendCallback)(exports.getServiceAuthTokenCallbackName, oidcConfig);
|
|
4290
|
+
return accessToken;
|
|
4291
|
+
}
|
|
4292
|
+
exports.getServiceAuthTokenFromBackend = getServiceAuthTokenFromBackend;
|
|
4284
4293
|
//# sourceMappingURL=certaCommon.js.map
|
|
4285
4294
|
|
|
4286
4295
|
/***/ }),
|
|
4287
4296
|
|
|
4288
|
-
/***/ "../../common/temp/node_modules/.pnpm/@itwin+oidc-signin-tool@4.
|
|
4297
|
+
/***/ "../../common/temp/node_modules/.pnpm/@itwin+oidc-signin-tool@4.4.1_67wltvhdskk2oee2c3z2o4tfly/node_modules/@itwin/oidc-signin-tool/lib/cjs/frontend.js":
|
|
4289
4298
|
/*!**************************************************************************************************************************************************************!*\
|
|
4290
|
-
!*** ../../common/temp/node_modules/.pnpm/@itwin+oidc-signin-tool@4.
|
|
4299
|
+
!*** ../../common/temp/node_modules/.pnpm/@itwin+oidc-signin-tool@4.4.1_67wltvhdskk2oee2c3z2o4tfly/node_modules/@itwin/oidc-signin-tool/lib/cjs/frontend.js ***!
|
|
4291
4300
|
\**************************************************************************************************************************************************************/
|
|
4292
4301
|
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
4293
4302
|
|
|
@@ -4312,9 +4321,9 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
4312
4321
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
4313
4322
|
};
|
|
4314
4323
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
4315
|
-
__exportStar(__webpack_require__(/*! ./TestUsers */ "../../common/temp/node_modules/.pnpm/@itwin+oidc-signin-tool@4.
|
|
4316
|
-
__exportStar(__webpack_require__(/*! ./TestFrontendAuthorizationClient */ "../../common/temp/node_modules/.pnpm/@itwin+oidc-signin-tool@4.
|
|
4317
|
-
__exportStar(__webpack_require__(/*! ./certa/certaCommon */ "../../common/temp/node_modules/.pnpm/@itwin+oidc-signin-tool@4.
|
|
4324
|
+
__exportStar(__webpack_require__(/*! ./TestUsers */ "../../common/temp/node_modules/.pnpm/@itwin+oidc-signin-tool@4.4.1_67wltvhdskk2oee2c3z2o4tfly/node_modules/@itwin/oidc-signin-tool/lib/cjs/TestUsers.js"), exports);
|
|
4325
|
+
__exportStar(__webpack_require__(/*! ./TestFrontendAuthorizationClient */ "../../common/temp/node_modules/.pnpm/@itwin+oidc-signin-tool@4.4.1_67wltvhdskk2oee2c3z2o4tfly/node_modules/@itwin/oidc-signin-tool/lib/cjs/TestFrontendAuthorizationClient.js"), exports);
|
|
4326
|
+
__exportStar(__webpack_require__(/*! ./certa/certaCommon */ "../../common/temp/node_modules/.pnpm/@itwin+oidc-signin-tool@4.4.1_67wltvhdskk2oee2c3z2o4tfly/node_modules/@itwin/oidc-signin-tool/lib/cjs/certa/certaCommon.js"), exports);
|
|
4318
4327
|
//# sourceMappingURL=frontend.js.map
|
|
4319
4328
|
|
|
4320
4329
|
/***/ }),
|
|
@@ -29941,6 +29950,16 @@ class QueryOptionsBuilder {
|
|
|
29941
29950
|
this._options.delay = val;
|
|
29942
29951
|
return this;
|
|
29943
29952
|
}
|
|
29953
|
+
/**
|
|
29954
|
+
* @internal
|
|
29955
|
+
* Use for testing internal logic. This parameter is ignored by default unless concurrent query is configure to not ignore it.
|
|
29956
|
+
* @param val Testing arguments.
|
|
29957
|
+
* @returns @type QueryOptionsBuilder for fluent interface.
|
|
29958
|
+
*/
|
|
29959
|
+
setTestingArgs(val) {
|
|
29960
|
+
this._options.testingArgs = val;
|
|
29961
|
+
return this;
|
|
29962
|
+
}
|
|
29944
29963
|
}
|
|
29945
29964
|
/** @beta */
|
|
29946
29965
|
class BlobOptionsBuilder {
|
|
@@ -30350,6 +30369,7 @@ var DbResponseStatus;
|
|
|
30350
30369
|
DbResponseStatus[DbResponseStatus["Partial"] = 3] = "Partial";
|
|
30351
30370
|
DbResponseStatus[DbResponseStatus["Timeout"] = 4] = "Timeout";
|
|
30352
30371
|
DbResponseStatus[DbResponseStatus["QueueFull"] = 5] = "QueueFull";
|
|
30372
|
+
DbResponseStatus[DbResponseStatus["ShuttingDown"] = 6] = "ShuttingDown";
|
|
30353
30373
|
DbResponseStatus[DbResponseStatus["Error"] = 100] = "Error";
|
|
30354
30374
|
DbResponseStatus[DbResponseStatus["Error_ECSql_PreparedFailed"] = 101] = "Error_ECSql_PreparedFailed";
|
|
30355
30375
|
DbResponseStatus[DbResponseStatus["Error_ECSql_StepFailed"] = 102] = "Error_ECSql_StepFailed";
|
|
@@ -32279,7 +32299,7 @@ class ECSqlReader {
|
|
|
32279
32299
|
this._props = new PropertyMetaDataMap([]);
|
|
32280
32300
|
this._param = new _ConcurrentQuery__WEBPACK_IMPORTED_MODULE_1__.QueryBinder().serialize();
|
|
32281
32301
|
this._lockArgs = false;
|
|
32282
|
-
this._stats = { backendCpuTime: 0, backendTotalTime: 0, backendMemUsed: 0, backendRowsReturned: 0, totalTime: 0, retryCount: 0 };
|
|
32302
|
+
this._stats = { backendCpuTime: 0, backendTotalTime: 0, backendMemUsed: 0, backendRowsReturned: 0, totalTime: 0, retryCount: 0, prepareTime: 0 };
|
|
32283
32303
|
this._options = new _ConcurrentQuery__WEBPACK_IMPORTED_MODULE_1__.QueryOptionsBuilder().getOptions();
|
|
32284
32304
|
this._rowProxy = new Proxy(this, {
|
|
32285
32305
|
get: (target, key) => {
|
|
@@ -32459,11 +32479,12 @@ class ECSqlReader {
|
|
|
32459
32479
|
* @internal
|
|
32460
32480
|
*/
|
|
32461
32481
|
async runWithRetry(request) {
|
|
32462
|
-
const needRetry = (rs) => (rs.status === _ConcurrentQuery__WEBPACK_IMPORTED_MODULE_1__.DbResponseStatus.Partial || rs.status === _ConcurrentQuery__WEBPACK_IMPORTED_MODULE_1__.DbResponseStatus.QueueFull || rs.status === _ConcurrentQuery__WEBPACK_IMPORTED_MODULE_1__.DbResponseStatus.Timeout) && (rs.data === undefined || rs.data.length === 0);
|
|
32482
|
+
const needRetry = (rs) => (rs.status === _ConcurrentQuery__WEBPACK_IMPORTED_MODULE_1__.DbResponseStatus.Partial || rs.status === _ConcurrentQuery__WEBPACK_IMPORTED_MODULE_1__.DbResponseStatus.QueueFull || rs.status === _ConcurrentQuery__WEBPACK_IMPORTED_MODULE_1__.DbResponseStatus.Timeout || rs.status === _ConcurrentQuery__WEBPACK_IMPORTED_MODULE_1__.DbResponseStatus.ShuttingDown) && (rs.data === undefined || rs.data.length === 0);
|
|
32463
32483
|
const updateStats = (rs) => {
|
|
32464
32484
|
this._stats.backendCpuTime += rs.stats.cpuTime;
|
|
32465
32485
|
this._stats.backendTotalTime += rs.stats.totalTime;
|
|
32466
32486
|
this._stats.backendMemUsed += rs.stats.memUsed;
|
|
32487
|
+
this._stats.prepareTime += rs.stats.prepareTime;
|
|
32467
32488
|
this._stats.backendRowsReturned += (rs.data === undefined) ? 0 : rs.data.length;
|
|
32468
32489
|
};
|
|
32469
32490
|
const execQuery = async (req) => {
|
|
@@ -290635,7 +290656,7 @@ exports.TestContext = void 0;
|
|
|
290635
290656
|
const chai_1 = __webpack_require__(/*! chai */ "../../common/temp/node_modules/.pnpm/chai@4.3.10/node_modules/chai/index.js");
|
|
290636
290657
|
const core_bentley_1 = __webpack_require__(/*! @itwin/core-bentley */ "../../core/bentley/lib/esm/core-bentley.js");
|
|
290637
290658
|
const core_frontend_1 = __webpack_require__(/*! @itwin/core-frontend */ "../../core/frontend/lib/esm/core-frontend.js");
|
|
290638
|
-
const frontend_1 = __webpack_require__(/*! @itwin/oidc-signin-tool/lib/cjs/frontend */ "../../common/temp/node_modules/.pnpm/@itwin+oidc-signin-tool@4.
|
|
290659
|
+
const frontend_1 = __webpack_require__(/*! @itwin/oidc-signin-tool/lib/cjs/frontend */ "../../common/temp/node_modules/.pnpm/@itwin+oidc-signin-tool@4.4.1_67wltvhdskk2oee2c3z2o4tfly/node_modules/@itwin/oidc-signin-tool/lib/cjs/frontend.js");
|
|
290639
290660
|
const Settings_1 = __webpack_require__(/*! ../../common/Settings */ "./lib/common/Settings.js");
|
|
290640
290661
|
const SideChannels_1 = __webpack_require__(/*! ../../common/SideChannels */ "./lib/common/SideChannels.js");
|
|
290641
290662
|
const IModelSession_1 = __webpack_require__(/*! ./IModelSession */ "./lib/frontend/setup/IModelSession.js");
|
|
@@ -304653,7 +304674,7 @@ var loadLanguages = instance.loadLanguages;
|
|
|
304653
304674
|
/***/ ((module) => {
|
|
304654
304675
|
|
|
304655
304676
|
"use strict";
|
|
304656
|
-
module.exports = JSON.parse('{"name":"@itwin/core-frontend","version":"4.10.
|
|
304677
|
+
module.exports = JSON.parse('{"name":"@itwin/core-frontend","version":"4.10.8","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","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 ES2020 --outDir lib/esm","clean":"rimraf 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","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","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","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","test:debug":"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:^4.10.8","@itwin/core-bentley":"workspace:^4.10.8","@itwin/core-common":"workspace:^4.10.8","@itwin/core-geometry":"workspace:^4.10.8","@itwin/core-orbitgt":"workspace:^4.10.8","@itwin/core-quantity":"workspace:^4.10.8"},"//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":{"@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/eslint-plugin":"5.0.0-dev.1","@types/chai-as-promised":"^7","@vitest/browser":"^2.1.9","@vitest/coverage-v8":"^2.1.9","babel-loader":"~8.2.5","babel-plugin-istanbul":"~6.1.1","cpx2":"^3.0.0","eslint":"^9.13.0","glob":"^10.3.12","playwright":"~1.47.1","rimraf":"^3.0.2","source-map-loader":"^4.0.0","typescript":"~5.6.2","typemoq":"^2.1.0","vitest":"^2.1.9","vite-multiple-assets":"^1.3.1","vite-plugin-static-copy":"1.0.6","webpack":"^5.76.0"},"//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/cloud-agnostic-core":"^2.2.4","@itwin/object-storage-core":"^2.2.5","@itwin/core-i18n":"workspace:*","@itwin/core-telemetry":"workspace:*","@itwin/webgl-compatibility":"workspace:*","@loaders.gl/core":"^3.1.6","@loaders.gl/draco":"^3.1.6","fuse.js":"^3.3.0","meshoptimizer":"~0.20.0","wms-capabilities":"0.4.0"}}');
|
|
304657
304678
|
|
|
304658
304679
|
/***/ })
|
|
304659
304680
|
|