Interface Rule

interface Rule {
    conditions?: {
        field?: string;
        operator?: FilterCondition;
        value?: string;
    }[];
    id?: string;
    name?: string;
    userInput?: UserInput;
}

Properties

conditions?: {
    field?: string;
    operator?: FilterCondition;
    value?: string;
}[]

Type declaration

  • Optional field?: string

    Path or JSONata expression

  • Optional operator?: FilterCondition
  • Optional value?: string
id?: string
name?: string
userInput?: UserInput

User input with replaced fields (according to its priority)