synapse-react-client
Version:
[](https://badge.fury.io/js/synapse-react-client) [](https://github.com/prettier/prettie
27 lines • 1.12 kB
TypeScript
import { LockedColumn } from '@/utils';
import { QueryContextType } from '../QueryContext';
import { QueryVisualizationContextType } from '../QueryVisualizationWrapper';
import { ReadonlyDeep } from 'type-fest';
export type SearchableColumnsV2 = string[];
export type SearchV2Props = {
queryContext: QueryContextType;
queryVisualizationContext: QueryVisualizationContextType;
isQueryWrapperMenuChild?: boolean;
defaultColumn?: string;
searchable?: SearchableColumnsV2;
lockedColumn?: LockedColumn;
/**
* PLFM-8897, PORTALS-3534: Full-Text Search configuration.
* For Tables that have FTS enabled...
* If specified, use the specified mode and distance (if BOOLEAN mode). Otherwise default to NATURAL_LANGUAGE mode.
*/
ftsConfig?: ReadonlyDeep<FTSConfig>;
};
export type TextMatchesMode = 'NATURAL_LANGUAGE' | 'BOOLEAN';
export type FTSConfig = {
textMatchesMode: TextMatchesMode;
distance?: number;
searchHelpURL?: string;
};
export default function Search(props: SearchV2Props): import("react/jsx-runtime").JSX.Element;
//# sourceMappingURL=SearchV2.d.ts.map