@empathyco/x-components
Version:
Empathy X Components
193 lines (84 loc) • 2.21 kB
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@empathyco/x-components](./x-components.md) > [UrlMutations](./x-components.urlmutations.md)
## UrlMutations interface
URL store mutations.
**Signature:**
```typescript
export interface UrlMutations extends QueryMutations
```
**Extends:** [QueryMutations](./x-components.querymutations.md)
## Properties
<table><thead><tr><th>
Property
</th><th>
Modifiers
</th><th>
Type
</th><th>
Description
</th></tr></thead>
<tbody><tr><td>
[setFilters](./x-components.urlmutations.setfilters.md)
</td><td>
</td><td>
(filters: Filter\[\]) => void
</td><td>
Sets the new filter ids.
</td></tr>
<tr><td>
[setInitialExtraParams](./x-components.urlmutations.setinitialextraparams.md)
</td><td>
</td><td>
(extraParams: Dictionary<unknown>) => void
</td><td>
Sets the initial extra params.
</td></tr>
<tr><td>
[setPage](./x-components.urlmutations.setpage.md)
</td><td>
</td><td>
(page: number) => void
</td><td>
Sets the new page.
</td></tr>
<tr><td>
[setParams](./x-components.urlmutations.setparams.md)
</td><td>
</td><td>
(params: Partial<[UrlParams](./x-components.urlparams.md)<!-- -->>) => void
</td><td>
Sets the new params.
</td></tr>
<tr><td>
[setPrompt](./x-components.urlmutations.setprompt.md)
</td><td>
</td><td>
(prompt: number) => void
</td><td>
Sets the related prompt.
</td></tr>
<tr><td>
[setRelatedTags](./x-components.urlmutations.setrelatedtags.md)
</td><td>
</td><td>
(relatedTags: RelatedTag\[\]) => void
</td><td>
Sets the related tags.
</td></tr>
<tr><td>
[setScroll](./x-components.urlmutations.setscroll.md)
</td><td>
</td><td>
(scroll: string) => void
</td><td>
Sets the url scroll.
</td></tr>
<tr><td>
[setSort](./x-components.urlmutations.setsort.md)
</td><td>
</td><td>
(sort: string) => void
</td><td>
Sets the new sort.
</td></tr>
</tbody></table>