blob: b117402e7e1a2f6b72cb3919faf989f767eeb20f (
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,
}
}
|