import { KeyValuePair } from '@pepperi-addons/ngx-lib'; import { PepOperatorTypes } from './type'; import { PepSmartFilterBaseField } from '@pepperi-addons/ngx-lib/smart-filters'; export interface IPepQueryBuilderFieldContainer { smart: PepSmartFilterBaseField; query: IPepQueryBuilderFieldType; } export interface IPepQueryBuilderFieldType { fieldType: string; } export interface IPepQueryBuilderField { FieldID: string; FieldType: string; Title: string; OptionalValues?: Array>; } export interface IPepQuerySection { ComplexId: string; Operation: PepOperatorTypes; LeftNode?: IPepQuerySection | IPepQueryItem; RightNode?: IPepQuerySection | IPepQueryItem; } export interface IPepQueryItem { ExpressionId: string; ApiName: string; FieldType: string; Operation: string; Values: any[]; }