@itwin/rpcinterface-full-stack-tests 4.6.0-dev.7 → 4.6.0-dev.9
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 +44 -36
- 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\\21\\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":""}
|
|
@@ -70501,23 +70501,25 @@ var ECClassModifier;
|
|
|
70501
70501
|
ECClassModifier[ECClassModifier["Abstract"] = 1] = "Abstract";
|
|
70502
70502
|
ECClassModifier[ECClassModifier["Sealed"] = 2] = "Sealed";
|
|
70503
70503
|
})(ECClassModifier = exports.ECClassModifier || (exports.ECClassModifier = {}));
|
|
70504
|
-
/**
|
|
70504
|
+
/**
|
|
70505
|
+
* An enumeration that has all the schema item type names as values
|
|
70506
|
+
* @beta */
|
|
70505
70507
|
var SchemaItemType;
|
|
70506
70508
|
(function (SchemaItemType) {
|
|
70507
|
-
SchemaItemType[
|
|
70508
|
-
SchemaItemType[
|
|
70509
|
-
SchemaItemType[
|
|
70510
|
-
SchemaItemType[
|
|
70511
|
-
SchemaItemType[
|
|
70512
|
-
SchemaItemType[
|
|
70513
|
-
SchemaItemType[
|
|
70514
|
-
SchemaItemType[
|
|
70515
|
-
SchemaItemType[
|
|
70516
|
-
SchemaItemType[
|
|
70517
|
-
SchemaItemType[
|
|
70518
|
-
SchemaItemType[
|
|
70519
|
-
SchemaItemType[
|
|
70520
|
-
SchemaItemType[
|
|
70509
|
+
SchemaItemType["EntityClass"] = "EntityClass";
|
|
70510
|
+
SchemaItemType["Mixin"] = "Mixin";
|
|
70511
|
+
SchemaItemType["StructClass"] = "StructClass";
|
|
70512
|
+
SchemaItemType["CustomAttributeClass"] = "CustomAttributeClass";
|
|
70513
|
+
SchemaItemType["RelationshipClass"] = "RelationshipClass";
|
|
70514
|
+
SchemaItemType["Enumeration"] = "Enumeration";
|
|
70515
|
+
SchemaItemType["KindOfQuantity"] = "KindOfQuantity";
|
|
70516
|
+
SchemaItemType["PropertyCategory"] = "PropertyCategory";
|
|
70517
|
+
SchemaItemType["Unit"] = "Unit";
|
|
70518
|
+
SchemaItemType["InvertedUnit"] = "InvertedUnit";
|
|
70519
|
+
SchemaItemType["Constant"] = "Constant";
|
|
70520
|
+
SchemaItemType["Phenomenon"] = "Phenomenon";
|
|
70521
|
+
SchemaItemType["UnitSystem"] = "UnitSystem";
|
|
70522
|
+
SchemaItemType["Format"] = "Format";
|
|
70521
70523
|
})(SchemaItemType = exports.SchemaItemType || (exports.SchemaItemType = {}));
|
|
70522
70524
|
/**
|
|
70523
70525
|
* Primitive data types for ECProperties.
|
|
@@ -70659,25 +70661,10 @@ exports.parseSchemaItemType = parseSchemaItemType;
|
|
|
70659
70661
|
* @param value The SchemaItemType to stringify.
|
|
70660
70662
|
* @return A string representing the provided SchemaItemType. If the type is not valid, an empty string is returned.
|
|
70661
70663
|
* @beta
|
|
70664
|
+
* @deprecated in 4.6.0 SchemaItemType is a string enum so just use it directly
|
|
70662
70665
|
*/
|
|
70663
70666
|
function schemaItemTypeToString(value) {
|
|
70664
|
-
|
|
70665
|
-
case SchemaItemType.EntityClass: return "EntityClass";
|
|
70666
|
-
case SchemaItemType.Mixin: return "Mixin";
|
|
70667
|
-
case SchemaItemType.StructClass: return "StructClass";
|
|
70668
|
-
case SchemaItemType.CustomAttributeClass: return "CustomAttributeClass";
|
|
70669
|
-
case SchemaItemType.RelationshipClass: return "RelationshipClass";
|
|
70670
|
-
case SchemaItemType.Enumeration: return "Enumeration";
|
|
70671
|
-
case SchemaItemType.KindOfQuantity: return "KindOfQuantity";
|
|
70672
|
-
case SchemaItemType.PropertyCategory: return "PropertyCategory";
|
|
70673
|
-
case SchemaItemType.Unit: return "Unit";
|
|
70674
|
-
case SchemaItemType.InvertedUnit: return "InvertedUnit";
|
|
70675
|
-
case SchemaItemType.Constant: return "Constant";
|
|
70676
|
-
case SchemaItemType.Phenomenon: return "Phenomenon";
|
|
70677
|
-
case SchemaItemType.UnitSystem: return "UnitSystem";
|
|
70678
|
-
case SchemaItemType.Format: return "Format";
|
|
70679
|
-
default: throw new Exception_1.ECObjectsError(Exception_1.ECObjectsStatus.InvalidSchemaItemType, "An invalid SchemaItemType has been provided.");
|
|
70680
|
-
}
|
|
70667
|
+
return value; // TODO: Remove
|
|
70681
70668
|
}
|
|
70682
70669
|
exports.schemaItemTypeToString = schemaItemTypeToString;
|
|
70683
70670
|
/** @internal */
|
|
@@ -71669,7 +71656,7 @@ class Constant extends SchemaItem_1.SchemaItem {
|
|
|
71669
71656
|
* @param standalone Serialization includes only this object (as opposed to the full schema).
|
|
71670
71657
|
* @param includeSchemaVersion Include the Schema's version information in the serialized object.
|
|
71671
71658
|
*/
|
|
71672
|
-
toJSON(standalone, includeSchemaVersion) {
|
|
71659
|
+
toJSON(standalone = false, includeSchemaVersion = false) {
|
|
71673
71660
|
const schemaJson = super.toJSON(standalone, includeSchemaVersion);
|
|
71674
71661
|
if (this.phenomenon !== undefined)
|
|
71675
71662
|
schemaJson.phenomenon = this.phenomenon.fullName;
|
|
@@ -72873,6 +72860,13 @@ class KindOfQuantity extends SchemaItem_1.SchemaItem {
|
|
|
72873
72860
|
if (undefined !== kindOfQuantityProps.presentationUnits)
|
|
72874
72861
|
await this.processPresentationUnits(kindOfQuantityProps.presentationUnits);
|
|
72875
72862
|
}
|
|
72863
|
+
/**
|
|
72864
|
+
* @alpha
|
|
72865
|
+
* Used for schema editing.
|
|
72866
|
+
*/
|
|
72867
|
+
setRelativeError(relativeError) {
|
|
72868
|
+
this._relativeError = relativeError;
|
|
72869
|
+
}
|
|
72876
72870
|
}
|
|
72877
72871
|
exports.KindOfQuantity = KindOfQuantity;
|
|
72878
72872
|
/**
|
|
@@ -74810,6 +74804,20 @@ class Schema {
|
|
|
74810
74804
|
const schema = object;
|
|
74811
74805
|
return schema !== undefined && schema.schemaKey !== undefined && schema.context !== undefined;
|
|
74812
74806
|
}
|
|
74807
|
+
/**
|
|
74808
|
+
* @alpha
|
|
74809
|
+
* Used for schema editing.
|
|
74810
|
+
*/
|
|
74811
|
+
setDisplayLabel(displayLabel) {
|
|
74812
|
+
this._label = displayLabel;
|
|
74813
|
+
}
|
|
74814
|
+
/**
|
|
74815
|
+
* @alpha
|
|
74816
|
+
* Used for schema editing.
|
|
74817
|
+
*/
|
|
74818
|
+
setDescription(description) {
|
|
74819
|
+
this._description = description;
|
|
74820
|
+
}
|
|
74813
74821
|
}
|
|
74814
74822
|
exports.Schema = Schema;
|
|
74815
74823
|
/**
|
|
@@ -74875,7 +74883,7 @@ class SchemaItem {
|
|
|
74875
74883
|
if (includeSchemaVersion) // check flag to see if we should output version
|
|
74876
74884
|
itemJson.schemaVersion = this.key.schemaKey.version.toString();
|
|
74877
74885
|
}
|
|
74878
|
-
itemJson.schemaItemType =
|
|
74886
|
+
itemJson.schemaItemType = this.schemaItemType;
|
|
74879
74887
|
if (undefined !== this.label)
|
|
74880
74888
|
itemJson.label = this.label;
|
|
74881
74889
|
if (undefined !== this.description)
|
|
@@ -290687,7 +290695,7 @@ class TestContext {
|
|
|
290687
290695
|
this.initializeRpcInterfaces({ title: this.settings.Backend.name, version: this.settings.Backend.version });
|
|
290688
290696
|
const iModelClient = new imodels_client_management_1.IModelsClient({ api: { baseUrl: `https://${process.env.IMJS_URL_PREFIX ?? ""}api.bentley.com/imodels` } });
|
|
290689
290697
|
await core_frontend_1.NoRenderApp.startup({
|
|
290690
|
-
applicationVersion: "4.6.0-dev.
|
|
290698
|
+
applicationVersion: "4.6.0-dev.9",
|
|
290691
290699
|
applicationId: this.settings.gprid,
|
|
290692
290700
|
authorizationClient: new frontend_1.TestFrontendAuthorizationClient(this.adminUserAccessToken),
|
|
290693
290701
|
hubAccess: new imodels_access_frontend_1.FrontendIModelsAccess(iModelClient),
|
|
@@ -310605,7 +310613,7 @@ module.exports = JSON.parse('{"name":"axios","version":"0.21.4","description":"P
|
|
|
310605
310613
|
/***/ ((module) => {
|
|
310606
310614
|
|
|
310607
310615
|
"use strict";
|
|
310608
|
-
module.exports = JSON.parse('{"name":"@itwin/core-frontend","version":"4.6.0-dev.
|
|
310616
|
+
module.exports = JSON.parse('{"name":"@itwin/core-frontend","version":"4.6.0-dev.9","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 -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.6.0-dev.9","@itwin/core-bentley":"workspace:^4.6.0-dev.9","@itwin/core-common":"workspace:^4.6.0-dev.9","@itwin/core-geometry":"workspace:^4.6.0-dev.9","@itwin/core-orbitgt":"workspace:^4.6.0-dev.9","@itwin/core-quantity":"workspace:^4.6.0-dev.9"},"//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.0-dev.44","@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":"^7.1.2","mocha":"^10.2.0","nyc":"^15.1.0","rimraf":"^3.0.2","sinon":"^17.0.1","source-map-loader":"^4.0.0","typescript":"~5.0.2","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"}}');
|
|
310609
310617
|
|
|
310610
310618
|
/***/ }),
|
|
310611
310619
|
|