@itwin/ecschema-rpcinterface-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.
@@ -56173,14 +56173,14 @@ class RpcInvocation {
56173
56173
  async fulfillResolved(value) {
56174
56174
  this._timeOut = new Date().getTime();
56175
56175
  this.protocol.events.raiseEvent(_RpcConstants__WEBPACK_IMPORTED_MODULE_5__.RpcProtocolEvent.BackendResponseCreated, this);
56176
- const result = await _RpcMarshaling__WEBPACK_IMPORTED_MODULE_7__.RpcMarshaling.serialize(this.protocol, value);
56176
+ const result = _RpcMarshaling__WEBPACK_IMPORTED_MODULE_7__.RpcMarshaling.serialize(this.protocol, value);
56177
56177
  return this.fulfill(result, value);
56178
56178
  }
56179
56179
  async fulfillRejected(reason) {
56180
56180
  this._timeOut = new Date().getTime();
56181
56181
  if (!_RpcConfiguration__WEBPACK_IMPORTED_MODULE_4__.RpcConfiguration.developmentMode)
56182
56182
  reason.stack = undefined;
56183
- const result = await _RpcMarshaling__WEBPACK_IMPORTED_MODULE_7__.RpcMarshaling.serialize(this.protocol, reason);
56183
+ const result = _RpcMarshaling__WEBPACK_IMPORTED_MODULE_7__.RpcMarshaling.serialize(this.protocol, reason);
56184
56184
  if (reason instanceof _RpcControl__WEBPACK_IMPORTED_MODULE_6__.RpcPendingResponse) {
56185
56185
  this._pending = true;
56186
56186
  this._threw = false;
@@ -56325,7 +56325,7 @@ var RpcSerializedValue;
56325
56325
  class RpcMarshaling {
56326
56326
  constructor() { }
56327
56327
  /** Serializes a value. */
56328
- static async serialize(protocol, value) {
56328
+ static serialize(protocol, value) {
56329
56329
  const serialized = RpcSerializedValue.create();
56330
56330
  if (typeof (value) === "undefined") {
56331
56331
  return serialized;
@@ -56737,7 +56737,7 @@ __webpack_require__.r(__webpack_exports__);
56737
56737
  var RpcRequestFulfillment;
56738
56738
  (function (RpcRequestFulfillment) {
56739
56739
  async function forUnknownError(request, error) {
56740
- const result = await _RpcMarshaling__WEBPACK_IMPORTED_MODULE_4__.RpcMarshaling.serialize(undefined, error);
56740
+ const result = _RpcMarshaling__WEBPACK_IMPORTED_MODULE_4__.RpcMarshaling.serialize(undefined, error);
56741
56741
  return {
56742
56742
  interfaceName: request.operation.interfaceDefinition,
56743
56743
  id: request.id,
@@ -56795,7 +56795,7 @@ class RpcProtocol {
56795
56795
  },
56796
56796
  method: request.method,
56797
56797
  path: request.path,
56798
- parameters: await _RpcMarshaling__WEBPACK_IMPORTED_MODULE_4__.RpcMarshaling.serialize(request.protocol, request.parameters),
56798
+ parameters: _RpcMarshaling__WEBPACK_IMPORTED_MODULE_4__.RpcMarshaling.serialize(request.protocol, request.parameters),
56799
56799
  caching: _RpcConstants__WEBPACK_IMPORTED_MODULE_2__.RpcResponseCacheControl.None,
56800
56800
  protocolVersion: RpcProtocol.protocolVersion,
56801
56801
  };
@@ -66869,6 +66869,36 @@ class Property {
66869
66869
  setName(name) {
66870
66870
  this._name = name;
66871
66871
  }
66872
+ /**
66873
+ * @internal Used in schema editing.
66874
+ */
66875
+ setDescription(description) {
66876
+ this._description = description;
66877
+ }
66878
+ /**
66879
+ * @internal Used in schema editing.
66880
+ */
66881
+ setLabel(label) {
66882
+ this._label = label;
66883
+ }
66884
+ /**
66885
+ * @internal Used in schema editing.
66886
+ */
66887
+ setIsReadOnly(isReadOnly) {
66888
+ this._isReadOnly = isReadOnly;
66889
+ }
66890
+ /**
66891
+ * @internal Used in schema editing.
66892
+ */
66893
+ setPriority(priority) {
66894
+ this._priority = priority;
66895
+ }
66896
+ /**
66897
+ * @internal Used in schema editing.
66898
+ */
66899
+ setCategory(category) {
66900
+ this._category = category;
66901
+ }
66872
66902
  /**
66873
66903
  * Retrieve all custom attributes in the current property and its base
66874
66904
  * This is the async version of getCustomAttributesSync()
@@ -66963,6 +66993,36 @@ class PrimitiveOrEnumPropertyBase extends Property {
66963
66993
  this._extendedTypeName = propertyBaseProps.extendedTypeName;
66964
66994
  }
66965
66995
  }
66996
+ /**
66997
+ * @internal Used in schema editing.
66998
+ */
66999
+ setExtendedTypeName(extendedTypeName) {
67000
+ this._extendedTypeName = extendedTypeName;
67001
+ }
67002
+ /**
67003
+ * @internal Used in schema editing.
67004
+ */
67005
+ setMinLength(minLength) {
67006
+ this._minLength = minLength;
67007
+ }
67008
+ /**
67009
+ * @internal Used in schema editing.
67010
+ */
67011
+ setMaxLength(maxLength) {
67012
+ this._maxLength = maxLength;
67013
+ }
67014
+ /**
67015
+ * @internal Used in schema editing.
67016
+ */
67017
+ setMinValue(minValue) {
67018
+ this._minValue = minValue;
67019
+ }
67020
+ /**
67021
+ * @internal Used in schema editing.
67022
+ */
67023
+ setMaxValue(maxValue) {
67024
+ this._maxValue = maxValue;
67025
+ }
66966
67026
  async fromJSON(propertyBaseProps) {
66967
67027
  this.fromJSONSync(propertyBaseProps);
66968
67028
  }
@@ -67124,6 +67184,18 @@ class ArrayProperty extends Property {
67124
67184
  }
67125
67185
  get minOccurs() { return this._minOccurs; }
67126
67186
  get maxOccurs() { return this._maxOccurs; }
67187
+ /**
67188
+ * @internal Used in schema editing.
67189
+ */
67190
+ setMinOccurs(minOccurs) {
67191
+ this._minOccurs = minOccurs;
67192
+ }
67193
+ /**
67194
+ * @internal Used in schema editing.
67195
+ */
67196
+ setMaxOccurs(maxOccurs) {
67197
+ this._maxOccurs = maxOccurs;
67198
+ }
67127
67199
  }
67128
67200
  exports.ArrayProperty = ArrayProperty;
67129
67201
  // eslint-disable-next-line @typescript-eslint/naming-convention
@@ -67167,6 +67239,18 @@ const ArrayPropertyMixin = (Base) => {
67167
67239
  itemElement.setAttribute("maxOccurs", this.maxOccurs.toString());
67168
67240
  return itemElement;
67169
67241
  }
67242
+ /**
67243
+ * @internal Used in schema editing.
67244
+ */
67245
+ setMinOccurs(minOccurs) {
67246
+ this._minOccurs = minOccurs;
67247
+ }
67248
+ /**
67249
+ * @internal Used in schema editing.
67250
+ */
67251
+ setMaxOccurs(maxOccurs) {
67252
+ this._maxOccurs = maxOccurs;
67253
+ }
67170
67254
  };
67171
67255
  };
67172
67256
  /** @beta */
@@ -290028,7 +290112,7 @@ module.exports = JSON.parse('{"name":"axios","version":"0.21.4","description":"P
290028
290112
  /***/ ((module) => {
290029
290113
 
290030
290114
  "use strict";
290031
- module.exports = JSON.parse('{"name":"@itwin/core-frontend","version":"4.4.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 -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.5","@itwin/core-bentley":"workspace:^4.4.0-dev.5","@itwin/core-common":"workspace:^4.4.0-dev.5","@itwin/core-geometry":"workspace:^4.4.0-dev.5","@itwin/core-orbitgt":"workspace:^4.4.0-dev.5","@itwin/core-quantity":"workspace:^4.4.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.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"}}');
290115
+ 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"}}');
290032
290116
 
290033
290117
  /***/ })
290034
290118