UNPKG

@rocket.chat/apps-engine

Version:

The engine code for the Rocket.Chat Apps which manages, runs, translates, coordinates and all of that.

16 lines (14 loc) 393 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.ApiExtend = void 0; class ApiExtend { constructor(manager, appId) { this.manager = manager; this.appId = appId; } provideApi(api) { return Promise.resolve(this.manager.addApi(this.appId, api)); } } exports.ApiExtend = ApiExtend; //# sourceMappingURL=ApiExtend.js.map