UNPKG

@empathyco/x-components

Version:
29 lines (20 loc) 1.97 kB
<!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) &gt; [@empathyco/x-components](./x-components.md) &gt; [QueriesPreviewMutations](./x-components.queriespreviewmutations.md) ## QueriesPreviewMutations interface QueriesPreview store mutations. **Signature:** ```typescript export interface QueriesPreviewMutations extends ConfigMutations<QueriesPreviewState> ``` **Extends:** [ConfigMutations](./x-components.configmutations.md)<!-- -->&lt;[QueriesPreviewState](./x-components.queriespreviewstate.md)<!-- -->&gt; ## Methods | Method | Description | | --- | --- | | [addQueryPreviewInstance(queryPreviewHash)](./x-components.queriespreviewmutations.addquerypreviewinstance.md) | Increases in 1 the instance counter. | | [clearQueryPreview(queryPreviewHash)](./x-components.queriespreviewmutations.clearquerypreview.md) | Removes a query preview entry from the queries preview's dictionary. | | [removeQueryPreviewInstance({ queryPreviewHash, cache })](./x-components.queriespreviewmutations.removequerypreviewinstance.md) | Decreases in 1 the instance counter and removes the query preview if the counter is 0 and cache is false. | | [setParams(params)](./x-components.queriespreviewmutations.setparams.md) | Sets the extra params of the module. | | [setQueryPreviewCached(queryPreview)](./x-components.queriespreviewmutations.setquerypreviewcached.md) | Adds a new entry to the cached queries preview's dictionary. | | [setSelectedQueryPreview(selectedQueryPreview)](./x-components.queriespreviewmutations.setselectedquerypreview.md) | Sets the selected query preview of the module. | | [setStatus(payload)](./x-components.queriespreviewmutations.setstatus.md) | Sets the status of a query preview request. | | [updateAQueryPreviewResult({ result, queryPreviewHash })](./x-components.queriespreviewmutations.updateaquerypreviewresult.md) | Updates a result with new fields. |