@omnia/foundation
Version:
Provide omnia foundation typings and tooling work on client side for omnia extension.
11 lines (10 loc) • 698 B
TypeScript
import { AjaxService } from "./AjaxService";
import { Statistics, Control } from '../../../models';
export declare class StatisticService {
private ajaxService;
constructor(ajaxService: AjaxService);
addOrUpdateViewedHistory: (updateInfo: Statistics.IViewedStatisticUpdateInfo, renderer: () => void) => void;
watchDataViewedStatus: (scope: Control.IControlWithViewedHistoryScope, element: Element) => any;
initControlWithViewedHistoryScope: (scope: Control.IControlWithViewedHistoryScope, element: Element, getItemIdsMethod: () => string[]) => void;
publishNewDataNotification: (scope: Control.IControlWithViewedHistoryScope, notificationCount: number) => void;
}