blob: e0ec6318ac1449cc1db79edebf66961b888c42ab (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
import actions from '../actions';
const showCommand = (text) => {
return {
type: actions.CONSOLE_SHOW_COMMAND,
text: text
};
};
const setCompletions = (completions) => {
return {
type: actions.CONSOLE_SET_COMPLETIONS,
completions: completions
};
};
const showError = (text) => {
return {
type: actions.CONSOLE_SHOW_ERROR,
text: text
};
};
const hide = () => {
return {
type: actions.CONSOLE_HIDE
};
};
export { showCommand, setCompletions, showError, hide };
|