import { IdentifierResultsXStoreModule } from '../types' ; /**
 * Default implementation for the  IdentifierResultsActions . saveQuery .
 *
 *  param context - The  https of the actions,
 * provided by Vuex.
 *  param query public export const saveQuery = ( { commit , getters } , query ) => { if ( getters . identifierDetectionRegexp . test ( query ) ) { commit ( 'setQuery' , query ) ; } else { commit ( 'setQuery' , '' ) ; commit ( 'setIdentifierResults' , [ ] ) ; } } ;