@docsvision/webclient
Version:
Type definitions for DocsVision WebClient scripts and extensions.
13 lines (12 loc) • 979 B
TypeScript
import { ICommonFolderInfo } from '@docsvision/webclient/Platform/ICommonFolderInfo';
import { IFolderDataLoadingPlugin } from '@docsvision/webclient/Platform/IFolderDataLoadingPlugin';
import { $CurrentLocation } from '@docsvision/webclient/System/LayoutServices';
import { $DeviceType } from '@docsvision/webclient/StandardServices';
import { ITablePlugins } from '@docsvision/web/components/table/interfaces';
export interface IFolderPluginFactory {
id: string;
getDataLoadingPlugins?(folderInfo: ICommonFolderInfo, services: $CurrentLocation & $DeviceType): IFolderDataLoadingPlugin[];
getTablePlugins?(folderInfo: ICommonFolderInfo, services: $CurrentLocation & $DeviceType): ITablePlugins[];
getDataLoadingSearchResultsPlugins?(folderInfo: ICommonFolderInfo, services: $CurrentLocation & $DeviceType): IFolderDataLoadingPlugin[];
getTableSearchResultsPlugins?(folderInfo: ICommonFolderInfo, services: $CurrentLocation & $DeviceType): ITablePlugins[];
}