Skip to main content

WrFilter

webround-docs


webround-docs / WrFilter

Interface: WrFilter

Defined in: wr.d.ts:27

A filter group used to narrow down products in the catalog

Properties

conditionIds

conditionIds: string[]

Defined in: wr.d.ts:39

IDs of the conditions belonging to this filter


conditions

conditions: WrFilterCondition[]

Defined in: wr.d.ts:43

Resolved condition objects


id

id: string

Defined in: wr.d.ts:29

Unique identifier


name

name: string

Defined in: wr.d.ts:31

Display name of the filter


operator

operator: string

Defined in: wr.d.ts:33

Logical operator combining conditions


position

position: number

Defined in: wr.d.ts:35

Display order


type

type: "number" | "price" | "date"

Defined in: wr.d.ts:41

Filter value type


visible

visible: boolean

Defined in: wr.d.ts:37

Whether the filter is visible in the UI