contensis-core-api
Version:
A dependency library used by contensis-delivery-api and contensis-management-api
12 lines (11 loc) • 361 B
TypeScript
import { ExpressionValueType } from './ExpressionValueType';
import { OperatorType } from './OperatorType';
export interface IExpression {
fieldName: string;
operatorName: OperatorType;
values: any[];
valueType: ExpressionValueType;
addValue(value: any): IExpression;
weight(weight: number): IExpression;
toJSON(): any;
}