import { SAVE_ONESIGNAL_IDS_PENDING, SAVE_ONESIGNAL_IDS_SUCCESS, SAVE_ONESIGNAL_IDS_ERROR, SAVE_ONESIGNAL_IDS_RESET } from "../types/NotificationType";


export const fetchSaveOnesignalPlayerIdsPending = () => ({
     type: SAVE_ONESIGNAL_IDS_PENDING
});

export const fetchSaveOnesignalPlayerIdsSuccess = (res) => ({
     type: SAVE_ONESIGNAL_IDS_SUCCESS,
     result: res,
});

export const fetchSaveOnesignalPlayerIdsError = (error) => ({
     type: SAVE_ONESIGNAL_IDS_ERROR,
     result: error
});

export const fetchSaveOnesignalPlayerIdsReset = () => ({
     type: SAVE_ONESIGNAL_IDS_RESET
});