synapse-react-client
Version:
[](https://badge.fury.io/js/synapse-react-client) [](https://github.com/prettier/prettie
30 lines • 1.72 kB
TypeScript
import { LockedColumn } from '@/utils/types/LockedColumn';
import { QueryBundleRequest } from '@sage-bionetworks/synapse-types';
import { PropsWithChildren } from 'react';
import { CombineRangeFacetConfig } from '../QueryContext/QueryContext';
export type QueryWrapperProps = PropsWithChildren<{
initQueryRequest: QueryBundleRequest;
componentIndex?: number;
shouldDeepLink?: boolean;
onQueryChange?: (newQueryJson: string) => void;
/** Called when the query result rows change */
onQueryResultBundleChange?: (newQueryResultBundleJson: string) => void;
lockedColumn?: LockedColumn;
onViewSharingSettingsClicked?: (benefactorId: string) => void;
isRowSelectionVisible?: boolean;
/** The set of columns that defines a uniqueness constraint on the table for the purposes of filtering based on row selection.
* Note that Synapse tables have no internal concept of a primary key.
*/
rowSelectionPrimaryKey?: string[];
/** By default, the row selection UI will float at the bottom of the viewport. Set to false to make it inline */
isRowSelectionUIFloating?: boolean;
isInfinite?: boolean;
combineRangeFacetConfig?: CombineRangeFacetConfig;
/** If provided, will use the value in this column instead of the rowID for the access column, download column, etc */
fileIdColumnName?: string;
fileNameColumnName?: string;
/** If provided, will use the value in this column instead of the row version number for the access column, download column, etc */
fileVersionColumnName?: string;
}>;
export declare function QueryWrapper(props: QueryWrapperProps): import("react/jsx-runtime").JSX.Element;
//# sourceMappingURL=QueryWrapper.d.ts.map