@webex/internal-plugin-ediscovery 3.0.0-beta.9 → 3.0.0-beta.91

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/README.md CHANGED
@@ -23,22 +23,25 @@ npm install --save @webex/internal-plugin-ediscovery
23
23
  ## Usage
24
24
 
25
25
  ```js
26
-
27
26
  import '@webex/internal-plugin-ediscovery';
28
27
 
29
28
  import WebexCore from '@webex/webex-core';
30
29
 
31
30
  const webex = new WebexCore();
32
- webex.internal.plugin.ediscovery.WHATEVER
33
-
31
+ webex.internal.plugin.ediscovery.WHATEVER;
34
32
  ```
35
33
 
36
34
  ## Tests
37
35
 
38
- Run the ediscovery from the top level using
36
+ Run the ediscovery from the top level using
39
37
 
40
38
  > yarn run test --packages @webex/internal-plugin-ediscovery
41
39
 
40
+ ## Run some unit tests, for example: spaceInfo
41
+
42
+ Run the following command
43
+
44
+ > yarn run test --packages @webex/internal-plugin-ediscovery --grep "spaceInfo" --unit
42
45
 
43
46
  ## Debug Tests
44
47
 
@@ -46,7 +49,6 @@ Run the following command
46
49
 
47
50
  > yarn run test --packages @webex/internal-plugin-ediscovery --grep "test name" --karmaDebug --browsers=Chrome
48
51
 
49
-
50
52
  ## Maintainers
51
53
 
52
54
  This package is maintained by [Cisco Webex for Developers](https://developer.webex.com/).
package/dist/config.js CHANGED
@@ -1,11 +1,9 @@
1
1
  "use strict";
2
2
 
3
3
  var _Object$defineProperty = require("@babel/runtime-corejs2/core-js/object/define-property");
4
-
5
4
  _Object$defineProperty(exports, "__esModule", {
6
5
  value: true
7
6
  });
8
-
9
7
  exports.default = void 0;
10
8
  var _default = {
11
9
  ediscovery: {
@@ -1 +1 @@
1
- {"version":3,"names":["ediscovery","defaultOptions","offset","size","timeoutMs","types"],"sources":["config.js"],"sourcesContent":["\nexport default {\n ediscovery: {\n defaultOptions: {\n offset: 0, size: 100, timeoutMs: 30000, types: []\n }\n }\n};\n"],"mappings":";;;;;;;;;eACe;EACbA,UAAU,EAAE;IACVC,cAAc,EAAE;MACdC,MAAM,EAAE,CADM;MACHC,IAAI,EAAE,GADH;MACQC,SAAS,EAAE,KADnB;MAC0BC,KAAK,EAAE;IADjC;EADN;AADC,C"}
1
+ {"version":3,"names":["ediscovery","defaultOptions","offset","size","timeoutMs","types"],"sources":["config.js"],"sourcesContent":["export default {\n ediscovery: {\n defaultOptions: {\n offset: 0,\n size: 100,\n timeoutMs: 30000,\n types: [],\n },\n },\n};\n"],"mappings":";;;;;;;eAAe;EACbA,UAAU,EAAE;IACVC,cAAc,EAAE;MACdC,MAAM,EAAE,CAAC;MACTC,IAAI,EAAE,GAAG;MACTC,SAAS,EAAE,KAAK;MAChBC,KAAK,EAAE;IACT;EACF;AACF,CAAC;AAAA"}
@@ -1,74 +1,52 @@
1
1
  "use strict";
2
2
 
3
3
  var _Reflect$construct = require("@babel/runtime-corejs2/core-js/reflect/construct");
4
-
5
4
  var _Object$defineProperty = require("@babel/runtime-corejs2/core-js/object/define-property");
6
-
7
5
  var _interopRequireDefault = require("@babel/runtime-corejs2/helpers/interopRequireDefault");
8
-
9
6
  _Object$defineProperty(exports, "__esModule", {
10
7
  value: true
11
8
  });
12
-
13
9
  exports.InvalidEmailAddressError = exports.EdiscoveryError = void 0;
14
-
15
10
  var _createClass2 = _interopRequireDefault(require("@babel/runtime-corejs2/helpers/createClass"));
16
-
17
11
  var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime-corejs2/helpers/classCallCheck"));
18
-
19
12
  var _inherits2 = _interopRequireDefault(require("@babel/runtime-corejs2/helpers/inherits"));
20
-
21
13
  var _possibleConstructorReturn2 = _interopRequireDefault(require("@babel/runtime-corejs2/helpers/possibleConstructorReturn"));
22
-
23
14
  var _getPrototypeOf2 = _interopRequireDefault(require("@babel/runtime-corejs2/helpers/getPrototypeOf"));
24
-
25
15
  var _common = require("@webex/common");
26
-
27
16
  function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = (0, _getPrototypeOf2.default)(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = (0, _getPrototypeOf2.default)(this).constructor; result = _Reflect$construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return (0, _possibleConstructorReturn2.default)(this, result); }; }
28
-
29
17
  function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !_Reflect$construct) return false; if (_Reflect$construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(_Reflect$construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
30
-
31
18
  /**
32
19
  * General ediscovery error
33
20
  */
34
21
  var EdiscoveryError = /*#__PURE__*/function (_Exception) {
35
22
  (0, _inherits2.default)(EdiscoveryError, _Exception);
36
-
37
23
  var _super = _createSuper(EdiscoveryError);
38
-
39
24
  function EdiscoveryError() {
40
25
  (0, _classCallCheck2.default)(this, EdiscoveryError);
41
26
  return _super.apply(this, arguments);
42
27
  }
43
-
44
28
  return (0, _createClass2.default)(EdiscoveryError);
45
29
  }(_common.Exception);
46
30
  /**
47
31
  * InvalidEmailAddressError is thrown when an email address has been supplied as a parameter and cannot be found in CI
48
32
  */
49
-
50
-
51
33
  exports.EdiscoveryError = EdiscoveryError;
52
-
53
34
  var InvalidEmailAddressError = /*#__PURE__*/function (_EdiscoveryError) {
54
35
  (0, _inherits2.default)(InvalidEmailAddressError, _EdiscoveryError);
55
-
56
36
  var _super2 = _createSuper(InvalidEmailAddressError);
57
-
58
37
  function InvalidEmailAddressError() {
59
38
  (0, _classCallCheck2.default)(this, InvalidEmailAddressError);
60
39
  return _super2.apply(this, arguments);
61
40
  }
62
-
63
41
  (0, _createClass2.default)(InvalidEmailAddressError, null, [{
64
42
  key: "getErrorCode",
65
- value: // This value correspondes to the ediscovery error code INVALID_USER_EMAILS_LIST_IN_MESSAGE
43
+ value:
44
+ // This value correspondes to the ediscovery error code INVALID_USER_EMAILS_LIST_IN_MESSAGE
66
45
  function getErrorCode() {
67
46
  return 14400001;
68
47
  }
69
48
  }]);
70
49
  return InvalidEmailAddressError;
71
50
  }(EdiscoveryError);
72
-
73
51
  exports.InvalidEmailAddressError = InvalidEmailAddressError;
74
52
  //# sourceMappingURL=ediscovery-error.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["EdiscoveryError","Exception","InvalidEmailAddressError"],"sources":["ediscovery-error.js"],"sourcesContent":["import {Exception} from '@webex/common';\n\n/**\n * General ediscovery error\n */\nexport class EdiscoveryError extends Exception {}\n\n/**\n * InvalidEmailAddressError is thrown when an email address has been supplied as a parameter and cannot be found in CI\n */\nexport class InvalidEmailAddressError extends EdiscoveryError {\n // This value correspondes to the ediscovery error code INVALID_USER_EMAILS_LIST_IN_MESSAGE\n static getErrorCode() {\n return 14400001;\n }\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;AAAA;;;;;;AAEA;AACA;AACA;IACaA,e;;;;;;;;;;;EAAwBC,iB;AAErC;AACA;AACA;;;;;IACaC,wB;;;;;;;;;;;;WACX;IACA,wBAAsB;MACpB,OAAO,QAAP;IACD;;;EAJ2CF,e"}
1
+ {"version":3,"names":["EdiscoveryError","Exception","InvalidEmailAddressError"],"sources":["ediscovery-error.js"],"sourcesContent":["import {Exception} from '@webex/common';\n\n/**\n * General ediscovery error\n */\nexport class EdiscoveryError extends Exception {}\n\n/**\n * InvalidEmailAddressError is thrown when an email address has been supplied as a parameter and cannot be found in CI\n */\nexport class InvalidEmailAddressError extends EdiscoveryError {\n // This value correspondes to the ediscovery error code INVALID_USER_EMAILS_LIST_IN_MESSAGE\n static getErrorCode() {\n return 14400001;\n }\n}\n"],"mappings":";;;;;;;;;;;;;;AAAA;AAAwC;AAAA;AAExC;AACA;AACA;AAFA,IAGaA,eAAe;EAAA;EAAA;EAAA;IAAA;IAAA;EAAA;EAAA;AAAA,EAASC,iBAAS;AAE9C;AACA;AACA;AAFA;AAAA,IAGaC,wBAAwB;EAAA;EAAA;EAAA;IAAA;IAAA;EAAA;EAAA;IAAA;IAAA;IACnC;IACA,wBAAsB;MACpB,OAAO,QAAQ;IACjB;EAAC;EAAA;AAAA,EAJ2CF,eAAe;AAAA"}