Skip to content

Commit

Permalink
chore: fix docs for build
Browse files Browse the repository at this point in the history
  • Loading branch information
CachedaCodes committed Oct 18, 2023
1 parent 0aebab8 commit 22e2257
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 11 deletions.
9 changes: 2 additions & 7 deletions packages/x-components/src/x-modules/facets/store/types.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import { Facet, Filter, RawFilter } from '@empathyco/x-types';
import { XActionContext, XStoreModule } from '../../../store';
import { ConfigMutations } from '../../../store/utils/config-store.utils';
import { QueryMutations } from '../../../store/utils/query.utils';

/**
* Facets store state.
Expand Down Expand Up @@ -53,7 +54,7 @@ export interface FacetsGetters {
*
* @public
*/
export interface FacetsMutations extends ConfigMutations<FacetsState> {
export interface FacetsMutations extends QueryMutations, ConfigMutations<FacetsState> {
/**
* Updates the state of a filter.
*
Expand Down Expand Up @@ -92,12 +93,6 @@ export interface FacetsMutations extends ConfigMutations<FacetsState> {
* @param filters - The filters to add.
*/
setPreselectedFilters(filters: RawFilter[]): void;
/**
* Sets the {@link FacetsState.query} property.
*
* @param query - The new {@link FacetsState.query}.
*/
setQuery(query: string): void;
/**
* Removes the facet from the {@link FacetsState.facets | facets} record.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ export interface HistoryQueriesState extends QueryState {
export interface HistoryQueriesGetters {
/**
* A sub-set of the {@link HistoryQueriesState.historyQueries}. If the
* {@link HistoryQueriesState.query} property is not empty, this list will only contain
* query property is not empty, this list will only contain
* suggestions whose query matches with it.
*/
historyQueries: HistoryQuery[];
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ export const clearIdentifierResultsQuery = wireCommit('setQuery', '');
const setUrlParams = wireDispatch('saveQuery', ({ eventPayload: { query } }) => query);

/**
* Requests and stores a new set of identifier results for the {@link IdentifierResultsState.query}.
* Requests and stores a new set of identifier results for the query.
*
* @public
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ export const clearQuerySuggestionsQuery = wireCommit('setQuery', '');
const setUrlParams = wireDispatch('setUrlParams');

/**
* Requests and stores a new set of query suggestions for the {@link QuerySuggestionsState.query}.
* Requests and stores a new set of query suggestions for the query.
*
* @public
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { createRelatedTagsQueryGetter } from '../../../../store/utils/query.util
import { SearchXStoreModule } from '../types';

/**
* Default implementation for the {@link SearchState.query} getter.
* Default implementation for the search query getter.
*
* @param state - Current {@link https://vuex.vuejs.org/guide/state.html | state} of the related
* tags' module.
Expand Down

0 comments on commit 22e2257

Please sign in to comment.