Skip to main content

FilterChangeViewModel

A change to a filter in a data set.

Properties

Property Type Required Description
currentState FilterViewModel false

The current state after the change was made. If the change is an addition, this will be null.

previousState FilterViewModel false

The previous state before the change was made. If the change is a deletion, this will be null.

Example schema

{
  "currentState": {
    "id": "BRlj4",
    "column": "school_type",
    "label": "School type",
    "hint": "Additional detail about the filter."
  },
  "previousState": {
    "id": "BRlj4",
    "column": "school_type",
    "label": "School type",
    "hint": "Additional detail about the filter."
  }
}