BaseClient.js 1.0 KB

12345678910111213141516171819202122232425
  1. 'use strict';
  2. /* eslint-disable
  3. no-unused-vars
  4. */
  5. function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
  6. function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
  7. function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
  8. module.exports = /*#__PURE__*/function () {
  9. function BaseClient() {
  10. _classCallCheck(this, BaseClient);
  11. }
  12. _createClass(BaseClient, null, [{
  13. key: "getClientPath",
  14. value: function getClientPath(options) {
  15. throw new Error('Client needs implementation');
  16. }
  17. }]);
  18. return BaseClient;
  19. }();