Passa al contenuto principale

WrFilterCondition

webround-docs


webround-docs / WrFilterCondition

Interface: WrFilterCondition

Defined in: wr.d.ts:4

A single condition inside a filter, defining bounds and attribute matching

Properties​

attribute​

attribute: object

Defined in: wr.d.ts:18

The resolved attribute object

format​

format: string

id​

id: string

name​

name: string

type​

type: string


attributeId​

attributeId: string

Defined in: wr.d.ts:16

Reference to a specific attribute


id​

id: string

Defined in: wr.d.ts:6

Unique identifier


max​

max: number

Defined in: wr.d.ts:12

Maximum bound value


min​

min: number

Defined in: wr.d.ts:10

Minimum bound value


operator​

operator: string

Defined in: wr.d.ts:8

Logical operator (e.g. 'AND', 'OR')


type​

type: string

Defined in: wr.d.ts:14

Condition type ('price', 'date', 'number')