UNPKG

@gooddata/react-components

Version:

GoodData.UI - A powerful JavaScript library for building analytical applications

10 lines (9 loc) 487 B
import { AFM, Execution } from "@gooddata/typings"; import { IMappingHeader } from "./MappingHeader"; import { IDrillableItem } from "./DrillEvents"; export interface IHeaderPredicateContext { afm: AFM.IAfm; executionResponse: Execution.IExecutionResponse; } export declare type IHeaderPredicate = (header: IMappingHeader, context: IHeaderPredicateContext) => boolean; export declare function isHeaderPredicate(item: IDrillableItem | IHeaderPredicate): item is IHeaderPredicate;