@empathyco/x-components
Version:
Empathy X Components
29 lines (20 loc) • 1.58 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
| Property | Modifiers | Type | Description |
| --- | --- | --- | --- |
| [setFilters](./x-components.urlmutations.setfilters.md) | | (filters: Filter\[\]) => void | Sets the new filter ids. |
| [setInitialExtraParams](./x-components.urlmutations.setinitialextraparams.md) | | (extraParams: Dictionary<unknown>) => void | Sets the initial extra params. |
| [setPage](./x-components.urlmutations.setpage.md) | | (page: number) => void | Sets the new page. |
| [setParams](./x-components.urlmutations.setparams.md) | | (params: Partial<[UrlParams](./x-components.urlparams.md)<!-- -->>) => void | Sets the new params. |
| [setPrompt](./x-components.urlmutations.setprompt.md) | | (prompt: number) => void | Sets the related prompt. |
| [setRelatedTags](./x-components.urlmutations.setrelatedtags.md) | | (relatedTags: RelatedTag\[\]) => void | Sets the related tags. |
| [setScroll](./x-components.urlmutations.setscroll.md) | | (scroll: string) => void | Sets the url scroll. |
| [setSort](./x-components.urlmutations.setsort.md) | | (sort: string) => void | Sets the new sort. |