@react-querybuilder/core
Version:
React Query Builder component for constructing queries and filters, with utilities for executing them in various database and evaluation contexts
28 lines (26 loc) • 883 B
TypeScript
import { o as ValueSources, t as FullField, x as OptionList } from "./basic-BeKPP0_1.js";
//#region src/types/import.d.ts
/**
* Options common to all parsers.
*/
interface ParserCommonOptions {
fields?: OptionList<FullField> | Record<string, FullField>;
getValueSources?: (field: string, operator: string) => ValueSources;
listsAsArrays?: boolean;
/**
* When true, the generated query will use independent combinators ({@link RuleGroupTypeIC}).
*/
independentCombinators?: boolean;
/**
* When true, a unique `id` will be generated for each rule and group in the query.
*/
generateIDs?: boolean;
/**
* Generates a `bigint` value if the string represents a valid integer
* outside the safe boundaries of the `number` type.
*/
bigIntOnOverflow?: boolean;
}
//#endregion
export { ParserCommonOptions as t };
//# sourceMappingURL=import-Dvayhrgj.d.ts.map