@empathyco/x-components
Version:
Empathy X Components
78 lines (35 loc) • 1.01 kB
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@empathyco/x-components](./x-components.md) > [MutateFilterPayload](./x-components.mutatefilterpayload.md)
## MutateFilterPayload interface
Payload to use in the `mutateFilter` mutation.
**Signature:**
```typescript
export interface MutateFilterPayload
```
## Properties
<table><thead><tr><th>
Property
</th><th>
Modifiers
</th><th>
Type
</th><th>
Description
</th></tr></thead>
<tbody><tr><td>
[filter](./x-components.mutatefilterpayload.filter.md)
</td><td>
</td><td>
Filter
</td><td>
The filter to modify. If it does not belong to the store it will be added.
</td></tr>
<tr><td>
[newFilterState](./x-components.mutatefilterpayload.newfilterstate.md)
</td><td>
</td><td>
Partial<Filter>
</td><td>
The new fields values to modify in the filter.
</td></tr>
</tbody></table>