@adaptabletools/adaptable
Version:
Powerful data-agnostic HTML5 AG Grid extension which provides advanced, cutting-edge functionality to meet all DataGrid requirements
19 lines (18 loc) • 1.24 kB
TypeScript
import { IModule, ModuleInfo, IModuleCollection } from '../../../Strategy/Interface/IModule';
import { TeamSharingImportInfo } from '../../../AdaptableState/TeamSharingState';
import { AdaptableObject } from '../../../AdaptableState/Common/AdaptableObject';
import { IAdaptableService } from './IAdaptableService';
import { AdaptableModule } from '../../../AdaptableState/Common/Types';
export interface IModuleService extends IAdaptableService {
isModuleAvailable(adaptableModule: AdaptableModule): boolean;
isModuleEditable(adaptableModule: AdaptableModule): boolean;
createModuleUIItems(): void;
getTeamSharingAction(adaptableModule: AdaptableModule): TeamSharingImportInfo<AdaptableObject> | undefined;
getModuleById<T = IModule>(adaptableModule: AdaptableModule): T | undefined;
getModuleInfoByModule(adaptableModule: AdaptableModule): ModuleInfo | undefined;
getModuleInfoByFriendlyName(friendlyName: string): ModuleInfo | undefined;
getModuleDocumentationPageByModule(adaptableModule: AdaptableModule): string;
getPopupMaxWidth(adaptableModule: AdaptableModule): number | undefined;
getModuleCollection(): IModuleCollection;
getModuleFriendlyName(adaptableModule: AdaptableModule): string;
}