@itwin/rpcinterface-full-stack-tests 3.4.0-dev.21 → 3.4.0-dev.24

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.
@@ -1 +1 @@
1
- {"version":3,"file":"_c5fe.bundled-tests.js","mappings":";;;;;;;;AAAA","sources":["file:///ignored|D:\\vsts_a\\9\\s\\common\\temp\\node_modules\\.pnpm\\@loaders.gl+worker-utils@3.2.7\\node_modules\\@loaders.gl\\worker-utils\\dist\\esm\\lib\\library-utils|../node/require-utils.node"],"names":[],"sourceRoot":""}
1
+ {"version":3,"file":"_c5fe.bundled-tests.js","mappings":";;;;;;;;AAAA","sources":["file:///ignored|D:\\vsts_b\\6\\s\\common\\temp\\node_modules\\.pnpm\\@loaders.gl+worker-utils@3.2.7\\node_modules\\@loaders.gl\\worker-utils\\dist\\esm\\lib\\library-utils|../node/require-utils.node"],"names":[],"sourceRoot":""}
@@ -194608,8 +194608,8 @@ var ClipMaskXYZRangePlanes;
194608
194608
  * * isMask === true means the plane sets should cover the outside of its polygon.
194609
194609
  * * Note that the ClipShape's `isMask` property and the ClipPrimitive's `isInvisible` property are distinct controls.
194610
194610
  * * In normal usage, callers get "outside" clip behavior using ONLY the ClipShape isMask property.
194611
- * * The ClipShape happens to pass the _invisible bit down to ClipPlane's that it creates.
194612
- * * At that level, it controls whether the cut edges are produce on the plane
194611
+ * * The ClipShape happens to pass the _invisible bit down to ClipPlanes that it creates.
194612
+ * * At that level, the flag controls whether the cut edges are produced on the plane
194613
194613
  * * This seems like an confused overloading of the meaning.
194614
194614
  * @public
194615
194615
  */
@@ -194628,7 +194628,7 @@ class ClipPrimitive {
194628
194628
  /**
194629
194629
  * Create a ClipPrimitive, capturing the supplied plane set as the clip planes.
194630
194630
  * @param planes clipper
194631
- * @param isInvisible true to invert sense of the test
194631
+ * @param isInvisible set the invisible flag on the ClipPrimitive
194632
194632
  */
194633
194633
  static createCapture(planes, isInvisible = false) {
194634
194634
  let planeData;
@@ -195514,7 +195514,7 @@ class ClipUtilities {
195514
195514
  * * `ClipVector` -- intersection of the ranges of its `ClipPrimitive`.
195515
195515
  * * `undefined` -- entire input range.
195516
195516
  * * If `observeInvisibleFlag` is false, the "invisible" properties are ignored, and this effectively returns the range of the edge work of the members
195517
- * * If `observeInvisibleFlag` is false, the "invisible" properties are observed, and "invisible" parts do not restrict the range.
195517
+ * * If `observeInvisibleFlag` is true, the "invisible" properties are observed, and "invisible" parts do not restrict the range.
195518
195518
  * @param clipper
195519
195519
  * @param range non-null range.
195520
195520
  * @param observeInvisibleFlag indicates how "invisible" bit is applied for ClipPrimitive.
@@ -196076,7 +196076,7 @@ __webpack_require__.r(__webpack_exports__);
196076
196076
 
196077
196077
  /** Class holding an array structure of shapes defined by `ClipPrimitive`
196078
196078
  * * The `ClipVector` defines an intersection of the member `ClipPrimitive` regions.
196079
- * * In the most common usage, one of the `ClipPrimitive` will be an outer region, and all others are holes with marker flag indicating that they outside of each hole is live.
196079
+ * * In the most common usage, one of the `ClipPrimitive` will be an outer region, and all others are holes with marker flag indicating that the outside of each hole is live.
196080
196080
  * @public
196081
196081
  */
196082
196082
  class ClipVector {
@@ -287148,7 +287148,7 @@ class TestContext {
287148
287148
  this.initializeRpcInterfaces({ title: this.settings.Backend.name, version: this.settings.Backend.version });
287149
287149
  const iModelClient = new imodels_client_management_1.IModelsClient({ api: { baseUrl: `https://${(_a = process.env.IMJS_URL_PREFIX) !== null && _a !== void 0 ? _a : ""}api.bentley.com/imodels` } });
287150
287150
  await core_frontend_1.NoRenderApp.startup({
287151
- applicationVersion: "3.4.0-dev.21",
287151
+ applicationVersion: "3.4.0-dev.24",
287152
287152
  applicationId: this.settings.gprid,
287153
287153
  authorizationClient: new frontend_1.TestFrontendAuthorizationClient(this.adminUserAccessToken),
287154
287154
  hubAccess: new imodels_access_frontend_1.FrontendIModelsAccess(iModelClient),
@@ -287215,12 +287215,6 @@ describe("Basic Scenarios", async () => {
287215
287215
  const iModelId = testContext.iModelWithChangesets.iModelId;
287216
287216
  await openIModelAndQueryPage(iTwinId, iModelId);
287217
287217
  });
287218
- // imodeljs does not allow this -- changesetid must be non-empty for routing purposes.
287219
- it.skip("should successfully open a new IModel without changesets for read and Get Properties for an Element TestCase:872675", async () => {
287220
- const iTwinId = testContext.iTwinId;
287221
- const iModelId = testContext.iModelWithChangesets.iModelId;
287222
- await openIModelAndQueryPage(iTwinId, iModelId);
287223
- });
287224
287218
  it("should open iModel and Execute Query TestCase:819343", async () => {
287225
287219
  var e_1, _a;
287226
287220
  const iModel = await testContext.iModelWithChangesets.getConnection();
@@ -287240,52 +287234,6 @@ describe("Basic Scenarios", async () => {
287240
287234
  }
287241
287235
  expect(rows).not.to.be.empty;
287242
287236
  });
287243
- /* This test is wrong. If two users open the same imodel using the same mode in the same backend, then they
287244
- will share a single briefcase in the backend. When either user closes the imodel, then the briefcase will
287245
- be closed. The backend does not maintain some kind of ref count that would keep the briefcase open
287246
- for the second connection.
287247
- it("should not affect other users when iModel is closed TestCase:819344 #orchestrator", async () => {
287248
- const iModelId = testContext.iModelWithChangesets.iModelId;
287249
- const iTwinId = testContext.iModelWithChangesets.iTwinId;
287250
- const openMode = OpenMode.Readonly;
287251
-
287252
- const originalAppAuth = TestRpcClientManager.configuration.applicationAuthorizationValue;
287253
-
287254
- try {
287255
- // Get access token of user that does not have permission to read given iModel
287256
- const user1accessToken = await testContext.regularUser1.getAccessToken();
287257
- const user1accessTokenString = user1accessToken.toTokenString() || "";
287258
-
287259
- TestRpcClientManager.configuration.applicationAuthorizationValue = user1accessTokenString;
287260
- const iModel1 = await IModelConnection.open(user1accessToken, iTwinId, iModelId, openMode);
287261
-
287262
- // Open the same imodel for another user
287263
- const user2accessToken = await testContext.regularUser2.getAccessToken();
287264
- const user2accessTokenString = user2accessToken.toTokenString() || "";
287265
-
287266
- TestRpcClientManager.configuration.applicationAuthorizationValue = user2accessTokenString;
287267
- const iModel2 = await IModelConnection.open(user2accessToken, iTwinId, iModelId, openMode);
287268
- const query = "SELECT ECInstanceId AS id FROM BisCore.Element";
287269
-
287270
- // Act: Close the iModel for the same user
287271
- {
287272
- TestRpcClientManager.configuration.applicationAuthorizationValue = user1accessTokenString;
287273
- const rows = await iModel1.queryPage(query);
287274
- expect(rows).to.exist.and.be.not.empty;
287275
- await iModel1.close(user1accessToken);
287276
- }
287277
-
287278
- // Assert: Previous session close should not affect other users
287279
- {
287280
- TestRpcClientManager.configuration.applicationAuthorizationValue = user2accessTokenString;
287281
- const rows = await iModel2.queryPage(query);
287282
- expect(rows).to.exist.and.be.not.empty;
287283
- }
287284
- } finally {
287285
- TestRpcClientManager.configuration.applicationAuthorizationValue = originalAppAuth;
287286
- }
287287
- });
287288
- */
287289
287237
  });
287290
287238
 
287291
287239
 
@@ -287670,7 +287618,10 @@ __webpack_require__.r(__webpack_exports__);
287670
287618
  /** @packageDocumentation
287671
287619
  * @module Core
287672
287620
  */
287673
- /** @alpha */
287621
+ /**
287622
+ * Functions related to diagnostics log entry.
287623
+ * @beta
287624
+ */
287674
287625
  var DiagnosticsLogEntry;
287675
287626
  (function (DiagnosticsLogEntry) {
287676
287627
  function isMessage(entry) {
@@ -292801,7 +292752,8 @@ __webpack_require__.r(__webpack_exports__);
292801
292752
  */
292802
292753
 
292803
292754
  /**
292804
- * @alpha
292755
+ * A function which logs messages to the console.
292756
+ * @beta
292805
292757
  */
292806
292758
  function consoleDiagnosticsHandler(diagnostics) {
292807
292759
  // eslint-disable-next-line no-console
@@ -292816,7 +292768,8 @@ function consoleDiagnosticsHandler(diagnostics) {
292816
292768
  });
292817
292769
  }
292818
292770
  /**
292819
- * @alpha
292771
+ * A function which calls all diagnostics handlers passed to it.
292772
+ * @beta
292820
292773
  */
292821
292774
  function createCombinedDiagnosticsHandler(handlers) {
292822
292775
  return (diagnostics) => {
@@ -305607,7 +305560,7 @@ module.exports = JSON.parse('{"name":"axios","version":"0.21.4","description":"P
305607
305560
  /***/ ((module) => {
305608
305561
 
305609
305562
  "use strict";
305610
- module.exports = JSON.parse('{"name":"@itwin/core-frontend","version":"3.4.0-dev.21","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","build:ci":"npm run -s build && npm run -s build:esm","build:cjs":"tsc 1>&2 --outDir lib/cjs","build:esm":"tsc 1>&2 --module ES2020 --outDir lib/esm","clean":"rimraf lib .rush/temp/package-deps*.json","copy:public":"cpx \\"./src/public/**/*\\" ./lib/public","docs":"betools docs --includes=../../generated-docs/extract --json=../../generated-docs/core/core-frontend/file.json --tsIndexFile=./core-frontend.ts --onlyJson --excludes=webgl/**/*,**/primitives,**/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-eslintrc -c \\"../../tools/eslint-plugin/dist/configs/extension-exports-config.js\\" \\"./src/**/*.ts\\" 1>&2","lint":"eslint -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"},"repository":{"type":"git","url":"https://github.com/iTwin/itwinjs-core/tree/master/core/frontend"},"keywords":["Bentley","BIM","iModel","digital-twin","iTwin"],"author":{"name":"Bentley Systems, Inc.","url":"http://www.bentley.com"},"peerDependencies":{"@itwin/appui-abstract":"workspace:^3.4.0-dev.21","@itwin/core-bentley":"workspace:^3.4.0-dev.21","@itwin/core-common":"workspace:^3.4.0-dev.21","@itwin/core-geometry":"workspace:^3.4.0-dev.21","@itwin/core-orbitgt":"workspace:^3.4.0-dev.21","@itwin/core-quantity":"workspace:^3.4.0-dev.21","@itwin/webgl-compatibility":"workspace:^3.4.0-dev.21"},"//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":"workspace:*","@itwin/webgl-compatibility":"workspace:*","@types/chai":"4.3.1","@types/chai-as-promised":"^7","@types/deep-assign":"^0.1.0","@types/lodash":"^4.14.0","@types/mocha":"^8.2.2","@types/node":"16.11.7","@types/qs":"^6.5.0","@types/semver":"7.3.10","@types/superagent":"^4.1.14","@types/sinon":"^9.0.0","chai":"^4.1.2","chai-as-promised":"^7","cpx2":"^3.0.0","eslint":"^7.11.0","glob":"^7.1.2","mocha":"^10.0.0","nyc":"^15.1.0","rimraf":"^3.0.2","sinon":"^9.0.2","source-map-loader":"^4.0.0","typescript":"~4.4.0","webpack":"^5.64.4"},"//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/core-telemetry":"workspace:*","@loaders.gl/core":"^3.1.6","@loaders.gl/draco":"^3.1.6","deep-assign":"^2.0.0","fuse.js":"^3.3.0","lodash":"^4.17.10","qs":"^6.5.1","semver":"^7.3.5","superagent":"7.1.3","wms-capabilities":"0.4.0","xml-js":"~1.6.11"},"nyc":{"extends":"./node_modules/@itwin/build-tools/.nycrc"},"eslintConfig":{"plugins":["@itwin"],"extends":"plugin:@itwin/itwinjs-recommended","rules":{"@itwin/no-internal-barrel-imports":["error",{"required-barrel-modules":["./src/tile/internal.ts"]}],"@itwin/public-extension-exports":["error",{"releaseTags":["public","preview"],"outputApiFile":false}]},"overrides":[{"files":["*.test.ts","*.test.tsx","**/test/**/*.ts"],"rules":{"@itwin/no-internal-barrel-imports":"off"}}]}}');
305563
+ module.exports = JSON.parse('{"name":"@itwin/core-frontend","version":"3.4.0-dev.24","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","build:ci":"npm run -s build && npm run -s build:esm","build:cjs":"tsc 1>&2 --outDir lib/cjs","build:esm":"tsc 1>&2 --module ES2020 --outDir lib/esm","clean":"rimraf lib .rush/temp/package-deps*.json","copy:public":"cpx \\"./src/public/**/*\\" ./lib/public","docs":"betools docs --includes=../../generated-docs/extract --json=../../generated-docs/core/core-frontend/file.json --tsIndexFile=./core-frontend.ts --onlyJson --excludes=webgl/**/*,**/primitives,**/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-eslintrc -c \\"../../tools/eslint-plugin/dist/configs/extension-exports-config.js\\" \\"./src/**/*.ts\\" 1>&2","lint":"eslint -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"},"repository":{"type":"git","url":"https://github.com/iTwin/itwinjs-core/tree/master/core/frontend"},"keywords":["Bentley","BIM","iModel","digital-twin","iTwin"],"author":{"name":"Bentley Systems, Inc.","url":"http://www.bentley.com"},"peerDependencies":{"@itwin/appui-abstract":"workspace:^3.4.0-dev.24","@itwin/core-bentley":"workspace:^3.4.0-dev.24","@itwin/core-common":"workspace:^3.4.0-dev.24","@itwin/core-geometry":"workspace:^3.4.0-dev.24","@itwin/core-orbitgt":"workspace:^3.4.0-dev.24","@itwin/core-quantity":"workspace:^3.4.0-dev.24","@itwin/webgl-compatibility":"workspace:^3.4.0-dev.24"},"//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":"workspace:*","@itwin/webgl-compatibility":"workspace:*","@types/chai":"4.3.1","@types/chai-as-promised":"^7","@types/deep-assign":"^0.1.0","@types/lodash":"^4.14.0","@types/mocha":"^8.2.2","@types/node":"16.11.7","@types/qs":"^6.5.0","@types/semver":"7.3.10","@types/superagent":"^4.1.14","@types/sinon":"^9.0.0","chai":"^4.1.2","chai-as-promised":"^7","cpx2":"^3.0.0","eslint":"^7.11.0","glob":"^7.1.2","mocha":"^10.0.0","nyc":"^15.1.0","rimraf":"^3.0.2","sinon":"^9.0.2","source-map-loader":"^4.0.0","typescript":"~4.4.0","webpack":"^5.64.4"},"//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/core-telemetry":"workspace:*","@loaders.gl/core":"^3.1.6","@loaders.gl/draco":"^3.1.6","deep-assign":"^2.0.0","fuse.js":"^3.3.0","lodash":"^4.17.10","qs":"^6.5.1","semver":"^7.3.5","superagent":"7.1.3","wms-capabilities":"0.4.0","xml-js":"~1.6.11"},"nyc":{"extends":"./node_modules/@itwin/build-tools/.nycrc"},"eslintConfig":{"plugins":["@itwin"],"extends":"plugin:@itwin/itwinjs-recommended","rules":{"@itwin/no-internal-barrel-imports":["error",{"required-barrel-modules":["./src/tile/internal.ts"]}],"@itwin/public-extension-exports":["error",{"releaseTags":["public","preview"],"outputApiFile":false}]},"overrides":[{"files":["*.test.ts","*.test.tsx","**/test/**/*.ts"],"rules":{"@itwin/no-internal-barrel-imports":"off"}}]}}');
305611
305564
 
305612
305565
  /***/ }),
305613
305566