@itwin/rpcinterface-full-stack-tests 4.4.0-dev.5 → 4.4.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 +91 -7
- package/lib/dist/bundled-tests.js.map +1 -1
- package/package.json +14 -14
|
@@ -61431,14 +61431,14 @@ class RpcInvocation {
|
|
|
61431
61431
|
async fulfillResolved(value) {
|
|
61432
61432
|
this._timeOut = new Date().getTime();
|
|
61433
61433
|
this.protocol.events.raiseEvent(_RpcConstants__WEBPACK_IMPORTED_MODULE_5__.RpcProtocolEvent.BackendResponseCreated, this);
|
|
61434
|
-
const result =
|
|
61434
|
+
const result = _RpcMarshaling__WEBPACK_IMPORTED_MODULE_7__.RpcMarshaling.serialize(this.protocol, value);
|
|
61435
61435
|
return this.fulfill(result, value);
|
|
61436
61436
|
}
|
|
61437
61437
|
async fulfillRejected(reason) {
|
|
61438
61438
|
this._timeOut = new Date().getTime();
|
|
61439
61439
|
if (!_RpcConfiguration__WEBPACK_IMPORTED_MODULE_4__.RpcConfiguration.developmentMode)
|
|
61440
61440
|
reason.stack = undefined;
|
|
61441
|
-
const result =
|
|
61441
|
+
const result = _RpcMarshaling__WEBPACK_IMPORTED_MODULE_7__.RpcMarshaling.serialize(this.protocol, reason);
|
|
61442
61442
|
if (reason instanceof _RpcControl__WEBPACK_IMPORTED_MODULE_6__.RpcPendingResponse) {
|
|
61443
61443
|
this._pending = true;
|
|
61444
61444
|
this._threw = false;
|
|
@@ -61583,7 +61583,7 @@ var RpcSerializedValue;
|
|
|
61583
61583
|
class RpcMarshaling {
|
|
61584
61584
|
constructor() { }
|
|
61585
61585
|
/** Serializes a value. */
|
|
61586
|
-
static
|
|
61586
|
+
static serialize(protocol, value) {
|
|
61587
61587
|
const serialized = RpcSerializedValue.create();
|
|
61588
61588
|
if (typeof (value) === "undefined") {
|
|
61589
61589
|
return serialized;
|
|
@@ -61995,7 +61995,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
61995
61995
|
var RpcRequestFulfillment;
|
|
61996
61996
|
(function (RpcRequestFulfillment) {
|
|
61997
61997
|
async function forUnknownError(request, error) {
|
|
61998
|
-
const result =
|
|
61998
|
+
const result = _RpcMarshaling__WEBPACK_IMPORTED_MODULE_4__.RpcMarshaling.serialize(undefined, error);
|
|
61999
61999
|
return {
|
|
62000
62000
|
interfaceName: request.operation.interfaceDefinition,
|
|
62001
62001
|
id: request.id,
|
|
@@ -62053,7 +62053,7 @@ class RpcProtocol {
|
|
|
62053
62053
|
},
|
|
62054
62054
|
method: request.method,
|
|
62055
62055
|
path: request.path,
|
|
62056
|
-
parameters:
|
|
62056
|
+
parameters: _RpcMarshaling__WEBPACK_IMPORTED_MODULE_4__.RpcMarshaling.serialize(request.protocol, request.parameters),
|
|
62057
62057
|
caching: _RpcConstants__WEBPACK_IMPORTED_MODULE_2__.RpcResponseCacheControl.None,
|
|
62058
62058
|
protocolVersion: RpcProtocol.protocolVersion,
|
|
62059
62059
|
};
|
|
@@ -72127,6 +72127,36 @@ class Property {
|
|
|
72127
72127
|
setName(name) {
|
|
72128
72128
|
this._name = name;
|
|
72129
72129
|
}
|
|
72130
|
+
/**
|
|
72131
|
+
* @internal Used in schema editing.
|
|
72132
|
+
*/
|
|
72133
|
+
setDescription(description) {
|
|
72134
|
+
this._description = description;
|
|
72135
|
+
}
|
|
72136
|
+
/**
|
|
72137
|
+
* @internal Used in schema editing.
|
|
72138
|
+
*/
|
|
72139
|
+
setLabel(label) {
|
|
72140
|
+
this._label = label;
|
|
72141
|
+
}
|
|
72142
|
+
/**
|
|
72143
|
+
* @internal Used in schema editing.
|
|
72144
|
+
*/
|
|
72145
|
+
setIsReadOnly(isReadOnly) {
|
|
72146
|
+
this._isReadOnly = isReadOnly;
|
|
72147
|
+
}
|
|
72148
|
+
/**
|
|
72149
|
+
* @internal Used in schema editing.
|
|
72150
|
+
*/
|
|
72151
|
+
setPriority(priority) {
|
|
72152
|
+
this._priority = priority;
|
|
72153
|
+
}
|
|
72154
|
+
/**
|
|
72155
|
+
* @internal Used in schema editing.
|
|
72156
|
+
*/
|
|
72157
|
+
setCategory(category) {
|
|
72158
|
+
this._category = category;
|
|
72159
|
+
}
|
|
72130
72160
|
/**
|
|
72131
72161
|
* Retrieve all custom attributes in the current property and its base
|
|
72132
72162
|
* This is the async version of getCustomAttributesSync()
|
|
@@ -72221,6 +72251,36 @@ class PrimitiveOrEnumPropertyBase extends Property {
|
|
|
72221
72251
|
this._extendedTypeName = propertyBaseProps.extendedTypeName;
|
|
72222
72252
|
}
|
|
72223
72253
|
}
|
|
72254
|
+
/**
|
|
72255
|
+
* @internal Used in schema editing.
|
|
72256
|
+
*/
|
|
72257
|
+
setExtendedTypeName(extendedTypeName) {
|
|
72258
|
+
this._extendedTypeName = extendedTypeName;
|
|
72259
|
+
}
|
|
72260
|
+
/**
|
|
72261
|
+
* @internal Used in schema editing.
|
|
72262
|
+
*/
|
|
72263
|
+
setMinLength(minLength) {
|
|
72264
|
+
this._minLength = minLength;
|
|
72265
|
+
}
|
|
72266
|
+
/**
|
|
72267
|
+
* @internal Used in schema editing.
|
|
72268
|
+
*/
|
|
72269
|
+
setMaxLength(maxLength) {
|
|
72270
|
+
this._maxLength = maxLength;
|
|
72271
|
+
}
|
|
72272
|
+
/**
|
|
72273
|
+
* @internal Used in schema editing.
|
|
72274
|
+
*/
|
|
72275
|
+
setMinValue(minValue) {
|
|
72276
|
+
this._minValue = minValue;
|
|
72277
|
+
}
|
|
72278
|
+
/**
|
|
72279
|
+
* @internal Used in schema editing.
|
|
72280
|
+
*/
|
|
72281
|
+
setMaxValue(maxValue) {
|
|
72282
|
+
this._maxValue = maxValue;
|
|
72283
|
+
}
|
|
72224
72284
|
async fromJSON(propertyBaseProps) {
|
|
72225
72285
|
this.fromJSONSync(propertyBaseProps);
|
|
72226
72286
|
}
|
|
@@ -72382,6 +72442,18 @@ class ArrayProperty extends Property {
|
|
|
72382
72442
|
}
|
|
72383
72443
|
get minOccurs() { return this._minOccurs; }
|
|
72384
72444
|
get maxOccurs() { return this._maxOccurs; }
|
|
72445
|
+
/**
|
|
72446
|
+
* @internal Used in schema editing.
|
|
72447
|
+
*/
|
|
72448
|
+
setMinOccurs(minOccurs) {
|
|
72449
|
+
this._minOccurs = minOccurs;
|
|
72450
|
+
}
|
|
72451
|
+
/**
|
|
72452
|
+
* @internal Used in schema editing.
|
|
72453
|
+
*/
|
|
72454
|
+
setMaxOccurs(maxOccurs) {
|
|
72455
|
+
this._maxOccurs = maxOccurs;
|
|
72456
|
+
}
|
|
72385
72457
|
}
|
|
72386
72458
|
exports.ArrayProperty = ArrayProperty;
|
|
72387
72459
|
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
@@ -72425,6 +72497,18 @@ const ArrayPropertyMixin = (Base) => {
|
|
|
72425
72497
|
itemElement.setAttribute("maxOccurs", this.maxOccurs.toString());
|
|
72426
72498
|
return itemElement;
|
|
72427
72499
|
}
|
|
72500
|
+
/**
|
|
72501
|
+
* @internal Used in schema editing.
|
|
72502
|
+
*/
|
|
72503
|
+
setMinOccurs(minOccurs) {
|
|
72504
|
+
this._minOccurs = minOccurs;
|
|
72505
|
+
}
|
|
72506
|
+
/**
|
|
72507
|
+
* @internal Used in schema editing.
|
|
72508
|
+
*/
|
|
72509
|
+
setMaxOccurs(maxOccurs) {
|
|
72510
|
+
this._maxOccurs = maxOccurs;
|
|
72511
|
+
}
|
|
72428
72512
|
};
|
|
72429
72513
|
};
|
|
72430
72514
|
/** @beta */
|
|
@@ -285988,7 +286072,7 @@ class TestContext {
|
|
|
285988
286072
|
this.initializeRpcInterfaces({ title: this.settings.Backend.name, version: this.settings.Backend.version });
|
|
285989
286073
|
const iModelClient = new imodels_client_management_1.IModelsClient({ api: { baseUrl: `https://${process.env.IMJS_URL_PREFIX ?? ""}api.bentley.com/imodels` } });
|
|
285990
286074
|
await core_frontend_1.NoRenderApp.startup({
|
|
285991
|
-
applicationVersion: "4.4.0-dev.
|
|
286075
|
+
applicationVersion: "4.4.0-dev.6",
|
|
285992
286076
|
applicationId: this.settings.gprid,
|
|
285993
286077
|
authorizationClient: new frontend_1.TestFrontendAuthorizationClient(this.adminUserAccessToken),
|
|
285994
286078
|
hubAccess: new imodels_access_frontend_1.FrontendIModelsAccess(iModelClient),
|
|
@@ -304765,7 +304849,7 @@ module.exports = JSON.parse('{"name":"axios","version":"0.21.4","description":"P
|
|
|
304765
304849
|
/***/ ((module) => {
|
|
304766
304850
|
|
|
304767
304851
|
"use strict";
|
|
304768
|
-
module.exports = JSON.parse('{"name":"@itwin/core-frontend","version":"4.4.0-dev.
|
|
304852
|
+
module.exports = JSON.parse('{"name":"@itwin/core-frontend","version":"4.4.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","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","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.4.0-dev.6","@itwin/core-bentley":"workspace:^4.4.0-dev.6","@itwin/core-common":"workspace:^4.4.0-dev.6","@itwin/core-geometry":"workspace:^4.4.0-dev.6","@itwin/core-orbitgt":"workspace:^4.4.0-dev.6","@itwin/core-quantity":"workspace:^4.4.0-dev.6"},"//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.1.0","@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","wms-capabilities":"0.4.0"},"nyc":{"extends":"./node_modules/@itwin/build-tools/.nycrc"}}');
|
|
304769
304853
|
|
|
304770
304854
|
/***/ }),
|
|
304771
304855
|
|