UNPKG

@gooddata/react-components

Version:
38 lines (33 loc) 837 B
import { Afm } from '@gooddata/data-layer'; import { VisType, VisElementType } from '../constants/visualizationTypes'; export interface IDrillEvent { executionContext: Afm.IAfm; drillContext: { type: VisType; element: VisElementType; x?: number; y?: number; columnIndex?: number; rowIndex?: number; row?: any[]; intersection: IDrillEventIntersectionElement[]; points: IDrillEventPoint[]; }; } export interface IDrillEventPoint { x: number; y: number; intersection: IDrillEventIntersectionElement[]; } export interface IDrillEventIntersectionElement { id: string; title: string; header: { uri: string; identifier: string; }; } export interface IDrillableItem { uri?: String; identifier?: String; }