@itwin/rpcinterface-full-stack-tests 4.7.0-dev.4 → 4.7.0-dev.5
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 +8 -51
- 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 +13 -13
|
@@ -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\\16\\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":""}
|
|
@@ -61982,7 +61982,7 @@ class RpcInvocation {
|
|
|
61982
61982
|
status: this.protocol.getCode(this.status),
|
|
61983
61983
|
id: this.request.id,
|
|
61984
61984
|
interfaceName: (typeof (this.operation) === "undefined") ? "" : this.operation.interfaceDefinition.interfaceName,
|
|
61985
|
-
allowCompression: this.operation
|
|
61985
|
+
allowCompression: this.operation ? this.operation.policy.allowResponseCompression : true,
|
|
61986
61986
|
};
|
|
61987
61987
|
this.transformResponseStatus(fulfillment, rawResult);
|
|
61988
61988
|
try {
|
|
@@ -62083,9 +62083,8 @@ class RpcMarshaling {
|
|
|
62083
62083
|
/** Serializes a value. */
|
|
62084
62084
|
static serialize(protocol, value) {
|
|
62085
62085
|
const serialized = RpcSerializedValue.create();
|
|
62086
|
-
if (
|
|
62086
|
+
if (value === undefined)
|
|
62087
62087
|
return serialized;
|
|
62088
|
-
}
|
|
62089
62088
|
marshalingTarget = serialized;
|
|
62090
62089
|
chunkThreshold = protocol ? protocol.transferChunkThreshold : 0;
|
|
62091
62090
|
serialized.objects = JSON.stringify(value, (_key, _value) => WireFormat.marshal(_key, _value));
|
|
@@ -62253,7 +62252,7 @@ class RpcOperationPolicy {
|
|
|
62253
62252
|
/** Whether the IModelRpcProps in the operation parameter list is allowed to differ from the token in the request URL. */
|
|
62254
62253
|
this.allowTokenMismatch = false;
|
|
62255
62254
|
/** Whether to compress the operation response with one of the client's supported encodings. */
|
|
62256
|
-
this.allowResponseCompression =
|
|
62255
|
+
this.allowResponseCompression = true;
|
|
62257
62256
|
}
|
|
62258
62257
|
}
|
|
62259
62258
|
/** An RPC operation descriptor.
|
|
@@ -290020,7 +290019,7 @@ class TestContext {
|
|
|
290020
290019
|
this.initializeRpcInterfaces({ title: this.settings.Backend.name, version: this.settings.Backend.version });
|
|
290021
290020
|
const iModelClient = new imodels_client_management_1.IModelsClient({ api: { baseUrl: `https://${process.env.IMJS_URL_PREFIX ?? ""}api.bentley.com/imodels` } });
|
|
290022
290021
|
await core_frontend_1.NoRenderApp.startup({
|
|
290023
|
-
applicationVersion: "4.7.0-dev.
|
|
290022
|
+
applicationVersion: "4.7.0-dev.5",
|
|
290024
290023
|
applicationId: this.settings.gprid,
|
|
290025
290024
|
authorizationClient: new frontend_1.TestFrontendAuthorizationClient(this.adminUserAccessToken),
|
|
290026
290025
|
hubAccess: new imodels_access_frontend_1.FrontendIModelsAccess(iModelClient),
|
|
@@ -291942,12 +291941,6 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
291942
291941
|
/** @packageDocumentation
|
|
291943
291942
|
* @module RPC
|
|
291944
291943
|
*/
|
|
291945
|
-
var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
291946
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
291947
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
291948
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
291949
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
291950
|
-
};
|
|
291951
291944
|
|
|
291952
291945
|
|
|
291953
291946
|
/**
|
|
@@ -291962,6 +291955,7 @@ class PresentationRpcInterface extends _itwin_core_common__WEBPACK_IMPORTED_MODU
|
|
|
291962
291955
|
async getNodesCount(_token, _options) {
|
|
291963
291956
|
return this.forward(arguments);
|
|
291964
291957
|
}
|
|
291958
|
+
// eslint-disable-next-line deprecation/deprecation
|
|
291965
291959
|
async getPagedNodes(_token, _options) {
|
|
291966
291960
|
return this.forward(arguments);
|
|
291967
291961
|
}
|
|
@@ -291970,10 +291964,12 @@ class PresentationRpcInterface extends _itwin_core_common__WEBPACK_IMPORTED_MODU
|
|
|
291970
291964
|
return this.forward(arguments);
|
|
291971
291965
|
}
|
|
291972
291966
|
// TODO: add paged version of this (#387280)
|
|
291967
|
+
// eslint-disable-next-line deprecation/deprecation
|
|
291973
291968
|
async getNodePaths(_token, _options) {
|
|
291974
291969
|
return this.forward(arguments);
|
|
291975
291970
|
}
|
|
291976
291971
|
// TODO: add paged version of this (#387280)
|
|
291972
|
+
// eslint-disable-next-line deprecation/deprecation
|
|
291977
291973
|
async getFilteredNodePaths(_token, _options) {
|
|
291978
291974
|
return this.forward(arguments);
|
|
291979
291975
|
}
|
|
@@ -292024,45 +292020,6 @@ class PresentationRpcInterface extends _itwin_core_common__WEBPACK_IMPORTED_MODU
|
|
|
292024
292020
|
PresentationRpcInterface.interfaceName = "PresentationRpcInterface"; // eslint-disable-line @typescript-eslint/naming-convention
|
|
292025
292021
|
/** The semantic version of the interface. */
|
|
292026
292022
|
PresentationRpcInterface.interfaceVersion = "4.1.0";
|
|
292027
|
-
__decorate([
|
|
292028
|
-
_itwin_core_common__WEBPACK_IMPORTED_MODULE_0__.RpcOperation.setPolicy({ allowResponseCompression: true })
|
|
292029
|
-
// eslint-disable-next-line deprecation/deprecation
|
|
292030
|
-
], PresentationRpcInterface.prototype, "getPagedNodes", null);
|
|
292031
|
-
__decorate([
|
|
292032
|
-
_itwin_core_common__WEBPACK_IMPORTED_MODULE_0__.RpcOperation.setPolicy({ allowResponseCompression: true })
|
|
292033
|
-
], PresentationRpcInterface.prototype, "getNodesDescriptor", null);
|
|
292034
|
-
__decorate([
|
|
292035
|
-
_itwin_core_common__WEBPACK_IMPORTED_MODULE_0__.RpcOperation.setPolicy({ allowResponseCompression: true })
|
|
292036
|
-
// eslint-disable-next-line deprecation/deprecation
|
|
292037
|
-
], PresentationRpcInterface.prototype, "getNodePaths", null);
|
|
292038
|
-
__decorate([
|
|
292039
|
-
_itwin_core_common__WEBPACK_IMPORTED_MODULE_0__.RpcOperation.setPolicy({ allowResponseCompression: true })
|
|
292040
|
-
// eslint-disable-next-line deprecation/deprecation
|
|
292041
|
-
], PresentationRpcInterface.prototype, "getFilteredNodePaths", null);
|
|
292042
|
-
__decorate([
|
|
292043
|
-
_itwin_core_common__WEBPACK_IMPORTED_MODULE_0__.RpcOperation.setPolicy({ allowResponseCompression: true })
|
|
292044
|
-
], PresentationRpcInterface.prototype, "getContentSources", null);
|
|
292045
|
-
__decorate([
|
|
292046
|
-
_itwin_core_common__WEBPACK_IMPORTED_MODULE_0__.RpcOperation.setPolicy({ allowResponseCompression: true })
|
|
292047
|
-
], PresentationRpcInterface.prototype, "getContentDescriptor", null);
|
|
292048
|
-
__decorate([
|
|
292049
|
-
_itwin_core_common__WEBPACK_IMPORTED_MODULE_0__.RpcOperation.setPolicy({ allowResponseCompression: true })
|
|
292050
|
-
], PresentationRpcInterface.prototype, "getPagedContent", null);
|
|
292051
|
-
__decorate([
|
|
292052
|
-
_itwin_core_common__WEBPACK_IMPORTED_MODULE_0__.RpcOperation.setPolicy({ allowResponseCompression: true })
|
|
292053
|
-
], PresentationRpcInterface.prototype, "getPagedContentSet", null);
|
|
292054
|
-
__decorate([
|
|
292055
|
-
_itwin_core_common__WEBPACK_IMPORTED_MODULE_0__.RpcOperation.setPolicy({ allowResponseCompression: true })
|
|
292056
|
-
], PresentationRpcInterface.prototype, "getElementProperties", null);
|
|
292057
|
-
__decorate([
|
|
292058
|
-
_itwin_core_common__WEBPACK_IMPORTED_MODULE_0__.RpcOperation.setPolicy({ allowResponseCompression: true })
|
|
292059
|
-
], PresentationRpcInterface.prototype, "getPagedDistinctValues", null);
|
|
292060
|
-
__decorate([
|
|
292061
|
-
_itwin_core_common__WEBPACK_IMPORTED_MODULE_0__.RpcOperation.setPolicy({ allowResponseCompression: true })
|
|
292062
|
-
], PresentationRpcInterface.prototype, "getPagedDisplayLabelDefinitions", null);
|
|
292063
|
-
__decorate([
|
|
292064
|
-
_itwin_core_common__WEBPACK_IMPORTED_MODULE_0__.RpcOperation.setPolicy({ allowResponseCompression: true })
|
|
292065
|
-
], PresentationRpcInterface.prototype, "computeSelection", null);
|
|
292066
292023
|
/** @internal */
|
|
292067
292024
|
var PresentationIpcEvents;
|
|
292068
292025
|
(function (PresentationIpcEvents) {
|
|
@@ -314057,7 +314014,7 @@ function __disposeResources(env) {
|
|
|
314057
314014
|
/***/ ((module) => {
|
|
314058
314015
|
|
|
314059
314016
|
"use strict";
|
|
314060
|
-
module.exports = JSON.parse('{"name":"@itwin/core-frontend","version":"4.7.0-dev.
|
|
314017
|
+
module.exports = JSON.parse('{"name":"@itwin/core-frontend","version":"4.7.0-dev.5","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 --includes=../../generated-docs/extract --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 -f visualstudio \\"./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 -s webpackTests && certa -r chrome","cover":"npm -s test","test:debug":"certa -r chrome --debug","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.7.0-dev.5","@itwin/core-bentley":"workspace:^4.7.0-dev.5","@itwin/core-common":"workspace:^4.7.0-dev.5","@itwin/core-geometry":"workspace:^4.7.0-dev.5","@itwin/core-orbitgt":"workspace:^4.7.0-dev.5","@itwin/core-quantity":"workspace:^4.7.0-dev.5"},"//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/certa":"workspace:*","@itwin/eslint-plugin":"^4.0.2","@types/chai":"4.3.1","@types/chai-as-promised":"^7","@types/mocha":"^10.0.6","@types/sinon":"^17.0.2","babel-loader":"~8.2.5","babel-plugin-istanbul":"~6.1.1","chai":"^4.3.10","chai-as-promised":"^7.1.1","cpx2":"^3.0.0","eslint":"^8.44.0","glob":"^10.3.12","mocha":"^10.2.0","nyc":"^15.1.0","rimraf":"^3.0.2","sinon":"^17.0.1","source-map-loader":"^4.0.0","typescript":"~5.3.3","typemoq":"^2.1.0","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.1.0","@itwin/object-storage-core":"^2.2.2","@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"},"nyc":{"extends":"./node_modules/@itwin/build-tools/.nycrc"}}');
|
|
314061
314018
|
|
|
314062
314019
|
/***/ }),
|
|
314063
314020
|
|