import { UserActions , UserActionType } from '.' ; import { Coordinates } from '@rdrnt/tps-calls-shared' ; export function setLocationAvailable ( value ) { return { type : UserActions . SET_LOCATION_AVAILABLE , payload : { value , } , } ; } export function setLocationCoordinates ( coordinates ? ) { return { type : UserActions . SET_LOCATION_COORDINATES , payload : { coordinates , } , } ; } export function setRequestingLocationPermissions ( value ) { return { type : UserActions . SET_REQUESTING_LOCATION_PERMISSIONS , payload : { value , } , } ; }