import type { Filter } from './Filter'; /** * @type BoolFilter: Allows you to combine other filters into (possibly recursive) logical expression trees. A boolean filter is composed of a logical operator (`AND`, `OR`, `NOT`) and a list of filters that the operator relates to. Multiple filters can be negated with a single `NOT` operator, even when the filters are combined with the `AND` operator. * * @property filters: A list of filters that are logically combined by an operator. * * @property operator: The logical operator that is used to combine the filters. * */ export type BoolFilter = { filters?: Array; operator: BoolFilterOperatorEnum; } & { [key: string]: any; }; export type BoolFilterOperatorEnum = 'and' | 'or' | 'not';