All files / lib/View ViewEngine.d.ts

100% Statements 0/0
100% Branches 0/0
100% Functions 0/0
100% Lines 0/0
1 2 3 4 5 6 7 8 9 10 11 12 13 14                           
import { AggregateView } from './AggregateView';
export declare abstract class ViewEngine {
}
export declare class AggregateViewEngine extends ViewEngine {
    protected readonly db: any;
    protected readonly designDocument: string;
    protected readonly aggregateMap: Map<string, AggregateView>;
    constructor(db: any, designDocument: string, aggregateViews: AggregateView[]);
    getAggregateById(name: string, id: string): Promise<any>;
    getAggregatesInList(name: string, ids: string[]): Promise<any>;
    protected parseAggregateResponse(config: AggregateView, response: any): any;
    protected parseAggregateResponseList(config: AggregateView, responses: any): any;
}