@adaptabletools/adaptable
Version:
Powerful data-agnostic HTML5 AG Grid extension which provides advanced, cutting-edge functionality to meet all DataGrid requirements
20 lines (19 loc) • 575 B
JavaScript
import { ApiBase } from '../Implementation/ApiBase';
export class EntitlementInternalApi extends ApiBase {
setModulesEntitlements() {
this.getAdaptableInternalApi()
.getModuleService()
.getModuleCollection()
.forEach((module) => {
module.setModuleEntitlement();
});
}
setModulesAgGridDepsInfos() {
this.getAdaptableInternalApi()
.getModuleService()
.getModuleCollection()
.forEach((module) => {
module.setAgGridDepsInfo();
});
}
}