@jbrowse/core
Version:
JBrowse 2 core libraries used by plugins
19 lines (18 loc) • 535 B
TypeScript
import type { StopToken } from '../../util/stopToken.ts';
export interface BaseOptions {
stopToken?: StopToken;
bpPerPx?: number;
sessionId?: string;
trackInstanceId?: string;
statusCallback?: (message: string) => void;
headers?: Record<string, string>;
statsEstimationMode?: boolean;
}
export type SearchType = 'full' | 'prefix' | 'exact';
export interface BaseTextSearchArgs {
queryString: string;
searchType?: SearchType;
stopToken?: StopToken;
limit?: number;
pageNumber?: number;
}