Skip to content

Instantly share code, notes, and snippets.

@malihassan20

malihassan20/constants.js Secret

Created Jan 17, 2018
Embed
What would you like to do?
nextJs-tour-diary-app\store\constants.js
export const GET_TOUR = 'GET_TOUR';
export const GET_TOUR_SUCCESS = 'GET_TOUR_SUCCESS';
export const GET_TOUR_FAIL = 'GET_TOUR_FAIL';
export const ADD_TOUR = 'ADD_TOUR';
export const ADD_TOUR_SUCCESS = 'ADD_TOUR_SUCCESS';
export const ADD_TOUR_FAIL = 'ADD_TOUR_FAIL';
export const EDIT_TOUR = 'EDIT_TOUR';
export const UPDATE_TOUR = 'UPDATE_TOUR';
export const UPDATE_TOUR_SUCCESS = 'UPDATE_TOUR_SUCCESS';
export const UPDATE_TOUR_FAIL = 'UPDATE_TOUR_FAIL';
export const DELETE_TOUR = 'DELETE_TOUR';
export const DELETE_TOUR_SUCCESS = 'DELETE_TOUR_SUCCESS';
export const DELETE_TOUR_FAIL = 'DELETE_TOUR_FAIL';
export const GET_TOUR_DETAIL = 'GET_TOUR_DETAIL';
export const GET_TOUR_DETAIL_SUCCESS = 'GET_TOUR_DETAIL_SUCCESS';
export const GET_TOUR_DETAIL_FAIL = 'GET_TOUR_DETAIL_FAIL';
export const ADD_TOUR_DETAIL = 'ADD_TOUR_DETAIL';
export const ADD_TOUR_DETAIL_SUCCESS = 'ADD_TOUR_DETAIL_SUCCESS';
export const ADD_TOUR_DETAIL_FAIL = 'ADD_TOUR_DETAIL_FAIL';
export const EDIT_TOUR_DETAIL = 'EDIT_TOUR_DETAIL';
export const UPDATE_TOUR_DETAIL = 'UPDATE_TOUR_DETAIL';
export const UPDATE_TOUR_DETAIL_SUCCESS = 'UPDATE_TOUR_DETAIL_SUCCESS';
export const UPDATE_TOUR_DETAIL_FAIL = 'UPDATE_TOUR_DETAIL_FAIL';
export const DELETE_TOUR_DETAIL = 'DELETE_TOUR_DETAIL';
export const DELETE_TOUR_DETAIL_SUCCESS = 'DELETE_TOUR_DETAIL_SUCCESS';
export const DELETE_TOUR_DETAIL_FAIL = 'DELETE_TOUR_DETAIL_FAIL';
export const TOGGLE_TOUR_MODAL = 'TOGGLE_TOUR_MODAL';
export const TOGGLE_TOUR_DETAIL_MODAL = 'TOGGLE_TOUR_DETAIL_MODAL';
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment