UNPKG

@project-sunbird/ext-framework-server

Version:
14 lines 501 B
Object.defineProperty(exports, "__esModule", { value: true }); exports.BaseServer = void 0; const api_1 = require("../api"); const _ = require("lodash"); ; class BaseServer { constructor(manifest) { this.manifest = _.cloneDeep(manifest); this.cassandra = api_1.frameworkAPI.getCassandraInstance(this.manifest.id); this.elasticsearch = api_1.frameworkAPI.getElasticsearchInstance(this.manifest.id); } } exports.BaseServer = BaseServer; //# sourceMappingURL=Plugin.js.map