import { FetchInstallationsOptions , Installation } from '@devhub/core' ; import { createAction , createErrorAction } from '../helpers' ; export function refreshInstallationsRequest ( payload ) { return createAction ( 'REFRESH_INSTALLATIONS_REQUEST' , payload ) ; } export function refreshInstallationsSuccess ( payload ) { return createAction ( 'REFRESH_INSTALLATIONS_SUCCESS' , payload ) ; } export function refreshInstallationsFailure < E extends Error > ( error ) { return createErrorAction ( 'REFRESH_INSTALLATIONS_FAILURE' , error ) ; } export function refreshInstallationsNoop ( ) { return createAction ( 'REFRESH_INSTALLATIONS_NOOP' ) ; }