blob: 043d6190db0e83c01315e717c7431f4b9a2ce3ee (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
export const EDIT_RACK_NAME = "EDIT_RACK_NAME";
export const DELETE_RACK = "DELETE_RACK";
export const ADD_MACHINE = "ADD_MACHINE";
export function editRackName(name) {
return {
type: EDIT_RACK_NAME,
name
};
}
export function deleteRack() {
return {
type: DELETE_RACK
};
}
export function addMachine(position) {
return {
type: ADD_MACHINE,
position
};
}
|