// - Import react components import moment from 'moment' // - Import image gallery action types import * as types from 'actionTypes' // - Import actions import * as imageGalleryActions from 'imageGalleryActions' // - Import firebase import {storageRef,firebaseRef} from 'app/firebase/' // - Upload file start export const uploadFile = (file) => { return (dispatch,getState) => { } } // - Upload file error export const uploadError = (error) => { return{ type: types.UPLOAD_FILE_ERROR, error } } // - Uplaod file complete export const uploadComplete = (result) => { return{ type: types.UPLOAD_FILE_COMPLETE, result } } // - Download file export const downloadFile = (fileName) => { return { type: types.DOWNLOAD_FILE, fileName } }