UNPKG

@empathyco/x-components

Version:
193 lines (84 loc) 2.21 kB
<!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) &gt; [@empathyco/x-components](./x-components.md) &gt; [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\[\]) =&gt; void </td><td> Sets the new filter ids. </td></tr> <tr><td> [setInitialExtraParams](./x-components.urlmutations.setinitialextraparams.md) </td><td> </td><td> (extraParams: Dictionary&lt;unknown&gt;) =&gt; void </td><td> Sets the initial extra params. </td></tr> <tr><td> [setPage](./x-components.urlmutations.setpage.md) </td><td> </td><td> (page: number) =&gt; void </td><td> Sets the new page. </td></tr> <tr><td> [setParams](./x-components.urlmutations.setparams.md) </td><td> </td><td> (params: Partial&lt;[UrlParams](./x-components.urlparams.md)<!-- -->&gt;) =&gt; void </td><td> Sets the new params. </td></tr> <tr><td> [setPrompt](./x-components.urlmutations.setprompt.md) </td><td> </td><td> (prompt: number) =&gt; void </td><td> Sets the related prompt. </td></tr> <tr><td> [setRelatedTags](./x-components.urlmutations.setrelatedtags.md) </td><td> </td><td> (relatedTags: RelatedTag\[\]) =&gt; void </td><td> Sets the related tags. </td></tr> <tr><td> [setScroll](./x-components.urlmutations.setscroll.md) </td><td> </td><td> (scroll: string) =&gt; void </td><td> Sets the url scroll. </td></tr> <tr><td> [setSort](./x-components.urlmutations.setsort.md) </td><td> </td><td> (sort: string) =&gt; void </td><td> Sets the new sort. </td></tr> </tbody></table>