diff options
Diffstat (limited to 'frontend/src/actions/experiments.js')
| -rw-r--r-- | frontend/src/actions/experiments.js | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/frontend/src/actions/experiments.js b/frontend/src/actions/experiments.js deleted file mode 100644 index dce48a09..00000000 --- a/frontend/src/actions/experiments.js +++ /dev/null @@ -1,33 +0,0 @@ -export const FETCH_EXPERIMENTS_OF_PROJECT = 'FETCH_EXPERIMENTS_OF_PROJECT' -export const ADD_EXPERIMENT = 'ADD_EXPERIMENT' -export const DELETE_EXPERIMENT = 'DELETE_EXPERIMENT' -export const OPEN_EXPERIMENT_SUCCEEDED = 'OPEN_EXPERIMENT_SUCCEEDED' - -export function fetchExperimentsOfProject(projectId) { - return { - type: FETCH_EXPERIMENTS_OF_PROJECT, - projectId, - } -} - -export function addExperiment(experiment) { - return { - type: ADD_EXPERIMENT, - experiment, - } -} - -export function deleteExperiment(id) { - return { - type: DELETE_EXPERIMENT, - id, - } -} - -export function openExperimentSucceeded(projectId, experimentId) { - return { - type: OPEN_EXPERIMENT_SUCCEEDED, - projectId, - experimentId, - } -} |
