synapse-react-client
Version:
[](https://travis-ci.com/Sage-Bionetworks/Synapse-React-Client) [](https://badge.fury.io/js/synaps
37 lines (36 loc) • 1.37 kB
TypeScript
import * as React from 'react';
import { SQLOperator } from '../../utils/functions/sqlFunctions';
import { CardConfiguration } from '../CardContainerLogic';
import { SearchV2Props } from '../SearchV2';
import { SynapseTableProps } from '../table/SynapseTable';
import { FacetNavOwnProps } from '../widgets/facet-nav/FacetNav';
import { TopLevelControlsProps } from '../table/TopLevelControls';
declare type OwnProps = {
sql: string;
limit?: number;
shouldDeepLink?: boolean;
tableConfiguration?: SynapseTableProps;
cardConfiguration?: CardConfiguration;
searchConfiguration?: SearchV2Props;
rgbIndex?: number;
facetsToPlot?: string[];
facetsToFilter?: string[];
visibleColumnCount?: number;
facetAliases?: Record<string, string>;
hideDownload?: boolean;
hideQueryCount?: boolean;
defaultColumn?: string;
defaultShowFacetVisualization?: boolean;
downloadCartPageUrl?: string;
} & Omit<TopLevelControlsProps, 'entityId'>;
declare type SearchParams = {
searchParams?: {
facetValue: string;
};
};
declare type Operator = {
sqlOperator?: SQLOperator;
};
export declare type QueryWrapperPlotNavProps = SearchParams & Partial<FacetNavOwnProps> & Operator & OwnProps;
declare const QueryWrapperPlotNav: React.FunctionComponent<QueryWrapperPlotNavProps>;
export default QueryWrapperPlotNav;