src/redux/track/constants.ts

mail@pastecode.io avatar
unknown
plain_text
7 months ago
849 B
1
Indexable
Never
export const TOGGLE_TRACK_LOADING: string = 'track/TOGGLE_TRACK_LOADING';

export const SET_TRACK_TOTAL_LENGTH: string = 'track/SET_TRACK_TOTAL_LENGTH';

export const SET_STOP_STATION: string = 'track/SET_STOP_STATION';
export const CLEAR_STOP_STATION: string = 'track/CLEAR_STOP_STATION';

export const GET_TRACK_DATA: string = 'track/GET_TRACK_DATA';
export const GET_TRACK_DATA_SUCCESS: string = 'track/GET_TRACK_DATA_SUCCESS';
export const GET_TRACK_DATA_FAIL: string = 'track/GET_TRACK_DATA_FAIL';

export const GET_NEAREST_TRACK: string = 'track/GET_NEAREST_TRACK';
export const GET_NEAREST_TRACK_SUCCESS: string =
  'track/GET_NEAREST_TRACK_SUCCESS';
export const GET_NEAREST_TRACK_FAIL: string = 'track/GET_NEAREST_TRACK_FAIL';

export const CLEAR_TRACK_REDUX_EXCEPT_NEAREST_TRACK: string =
  'track/CLEAR_TRACK_REDUX_EXCEPT_NEAREST_TRACK';