@porscheinformatik/clr-addons
Version:
Addon components for Clarity Angular
10 lines (9 loc) • 469 B
TypeScript
import { ClrHistoryModel } from './history-model.interface';
import { Observable } from 'rxjs';
import { InjectionToken } from '@angular/core';
export declare const HISTORY_TOKEN: InjectionToken<any>;
export interface ClrHistoryHttpService {
addHistoryEntry(historyEntry: ClrHistoryModel): Observable<void>;
getHistory(username: string, tenantId: string): Observable<ClrHistoryModel[]>;
removeFromHistory(historyEntry: ClrHistoryModel): Observable<void>;
}