ngx-core-business
Version:
A comprehensive solution designed to streamline the development of enterprise-level Angular applications.
11 lines (10 loc) • 376 B
TypeScript
export type FilterOperator = '=' | '<' | '>' | '<=' | '>=' | '!' | '<>' | '!<>' | '~' | '!~' | '.~' | '~.' | '!.~' | '!~.';
export interface QueryFilter {
id: string;
type: 'list' | 'date' | 'string' | 'numeric' | 'boolean' | 'enum';
field: string;
value?: any | any[];
activeFalseValue?: any | any[];
active?: boolean;
operator: FilterOperator;
}