UNPKG

@ayanaware/bento

Version:

Modular runtime framework designed to solve complex tasks

20 lines 520 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.PluginAPI = void 0; const EntityAPI_1 = require("./EntityAPI"); class PluginAPI extends EntityAPI_1.EntityAPI { constructor(bento, plugin) { super(bento); this.entity = plugin; } /** * Plugins are allowed to have direct access to bento * * @returns bento instance */ getBento() { return this.bento; } } exports.PluginAPI = PluginAPI; //# sourceMappingURL=PluginAPI.js.map