import { SearchXStoreModule } from '../types' ; /**
 * Default implementation for the  SearchActions . increasePageAppendingResults .
 *
 *  param context - The  https of the actions,
 * provided by Vuex.
 *
 *  public export const increasePageAppendingResults = ( { commit , state } ) => { const newPage = state . page + 1 ; if ( newPage >= 1 && state . page * state . config . pageSize < state . totalResults ) { commit ( 'setPage' , newPage ) ; commit ( 'setIsAppendResults' , true ) ; } } ;