import { DiscoverLegacy } from './discover_legacy' ; export function createDiscoverLegacyDirective ( reactDirective ) { return reactDirective ( DiscoverLegacy , [ [ 'addColumn' , { watchDepth : 'reference' } ] , [ 'fetch' , { watchDepth : 'reference' } ] , [ 'fetchCounter' , { watchDepth : 'reference' } ] , [ 'fetchError' , { watchDepth : 'reference' } ] , [ 'fieldCounts' , { watchDepth : 'reference' } ] , [ 'histogramData' , { watchDepth : 'reference' } ] , [ 'hits' , { watchDepth : 'reference' } ] , [ 'indexPattern' , { watchDepth : 'reference' } ] , [ 'minimumVisibleRows' , { watchDepth : 'reference' } ] , [ 'onAddFilter' , { watchDepth : 'reference' } ] , [ 'onChangeInterval' , { watchDepth : 'reference' } ] , [ 'onMoveColumn' , { watchDepth : 'reference' } ] , [ 'onRemoveColumn' , { watchDepth : 'reference' } ] , [ 'onSetColumns' , { watchDepth : 'reference' } ] , [ 'onSkipBottomButtonClick' , { watchDepth : 'reference' } ] , [ 'onSort' , { watchDepth : 'reference' } ] , [ 'opts' , { watchDepth : 'reference' } ] , [ 'resetQuery' , { watchDepth : 'reference' } ] , [ 'resultState' , { watchDepth : 'reference' } ] , [ 'rows' , { watchDepth : 'reference' } ] , [ 'savedSearch' , { watchDepth : 'reference' } ] , [ 'searchSource' , { watchDepth : 'reference' } ] , [ 'setIndexPattern' , { watchDepth : 'reference' } ] , [ 'showSaveQuery' , { watchDepth : 'reference' } ] , [ 'state' , { watchDepth : 'reference' } ] , [ 'timefilterUpdateHandler' , { watchDepth : 'reference' } ] , [ 'timeRange' , { watchDepth : 'reference' } ] , [ 'topNavMenu' , { watchDepth : 'reference' } ] , [ 'updateQuery' , { watchDepth : 'reference' } ] , [ 'updateSavedQueryId' , { watchDepth : 'reference' } ] , [ 'vis' , { watchDepth : 'reference' } ] , ] ) ; }