# constants/ActionTypes.js

## Maintainability

48.99

## Lines of code

63

## Difficulty

2.00

## Estimated Errors

0.51

## Function weight

### By Complexity

### By SLOC

export const LOG_IN = "LOG_IN" export const LOGGED_IN = "LOGGED_IN" export const LOG_OUT = "LOG_OUT" export const LOGIN_ERROR = "LOGIN_ERROR" /** * TODO: Typo to be FIXED FECTH vs FETCH * */ /** data collections **/ export const FECTH_DATACOLLECTIONS = "FECTH_DATACOLLECTIONS" export const FECTH_DATACOLLECTIONS_FULFILLED = "FECTH_DATACOLLECTIONS_FULFILLED" export const FECTH_DATACOLLECTIONS_PENDING = "FECTH_DATACOLLECTIONS_PENDING" /** investigations **/ export const FECTH_INVESTIGATIONS = "FECTH_INVESTIGATIONS" export const FECTH_INVESTIGATIONS_FULFILLED = "FECTH_INVESTIGATIONS_FULFILLED" export const FECTH_INVESTIGATIONS_PENDING = "FECTH_INVESTIGATIONS_PENDING" export const FECTH_RELEASED_INVESTIGATIONS = "FECTH_RELEASED_INVESTIGATIONS" export const FECTH_RELEASED_INVESTIGATIONS_FULFILLED = "FECTH_RELEASED_INVESTIGATIONS_FULFILLED" export const FECTH_RELEASED_INVESTIGATIONS_PENDING = "FECTH_RELEASED_INVESTIGATIONS_PENDING" export const FECTH_MY_INVESTIGATIONS = "FECTH_MY_INVESTIGATIONS"; export const FECTH_MY_INVESTIGATIONS_PENDING = "FECTH_MY_INVESTIGATIONS_PENDING"; export const FECTH_MY_INVESTIGATIONS_FULFILLED = "FECTH_MY_INVESTIGATIONS_FULFILLED"; export const FECTH_INVESTIGATIONS_DOI = "FECTH_INVESTIGATIONS_DOI"; export const FECTH_INVESTIGATIONS_DOI_FULFILLED = "FECTH_INVESTIGATIONS_DOI_FULFILLED"; export const FECTH_INVESTIGATIONS_DOI_PENDING = "FECTH_INVESTIGATIONS_DOI_PENDING"; export const FETCH_INSTRUMENT_SCIENTIST_INVESTIGATIONS = "FETCH_INSTRUMENT_SCIENTIST_INVESTIGATIONS"; export const FETCH_INSTRUMENT_SCIENTIST_INVESTIGATIONS_FULFILLED = "FETCH_INSTRUMENT_SCIENTIST_INVESTIGATIONS_FULFILLED"; export const FETCH_INSTRUMENT_SCIENTIST_INVESTIGATIONS_PENDING = "FETCH_INSTRUMENT_SCIENTIST_INVESTIGATIONS_PENDING"; /** datasets */ export const FECTH_DATASETS_BY_INVESTIGATION = "FECTH_DATASETS_BY_INVESTIGATION"; export const FECTH_DATASETS_BY_INVESTIGATION_FULFILLED = "FECTH_DATASETS_BY_INVESTIGATION_FULFILLED"; export const FECTH_DATASETS_BY_INVESTIGATION_PENDING = "FECTH_DATASETS_BY_INVESTIGATION_PENDING"; export const FECTH_DATASETS_BY_INVESTIGATION_REJECTED = "FECTH_DATASETS_BY_INVESTIGATION_REJECTED"; export const FECTH_DATASETS_BY_DOI = "FECTH_DATASETS_BY_DOI"; export const FECTH_DATASETS_BY_DOI_FULFILLED = "FECTH_DATASETS_BY_DOI_FULFILLED"; export const FECTH_DATASETS_BY_DOI_PENDING = "FECTH_DATASETS_BY_DOI_PENDING"; /** logbook **/ export const SET_LOGBOOK_CONTEXT = 'SET_LOGBOOK_CONTEXT'; /** selection */ export const ADD_DATASET_BY_ID = "ADD_DATASET_BY_ID"; export const REMOVE_DATASET_BY_ID = "REMOVE_DATASET_BY_ID"; export const ADD_INVESTIGATION_BY_ID = "ADD_INVESTIGATION_BY_ID"; export const REMOVE_INVESTIGATION_BY_ID = "REMOVE_INVESTIGATION_BY_ID"; /** breadcrumbs */ export const SET_BREADCRUMBS = "SET_BREADCRUMBS"; export const APPEND_BREADCRUMB = "APPEND_BREADCRUMB"; export const CLEAN_BREADCRUMBS = "CLEAN_BREADCRUMBS"; /** instrumentscientists */ export const FECTH_INSTRUMENTSCIENTISTS = "FECTH_INSTRUMENTSCIENTISTS"; export const FECTH_INSTRUMENTSCIENTISTS_FULFILLED = "FECTH_INSTRUMENTSCIENTISTS_FULFILLED"; export const FECTH_INSTRUMENTSCIENTISTS_PENDING = "FECTH_INSTRUMENTSCIENTISTS_PENDING";