21 lines
294 B
JavaScript
21 lines
294 B
JavaScript
|
import * as types from './actionsTypes';
|
||
|
|
||
|
export function connectRequest() {
|
||
|
return {
|
||
|
type: types.METEOR.REQUEST
|
||
|
};
|
||
|
}
|
||
|
|
||
|
export function connectSuccess() {
|
||
|
return {
|
||
|
type: types.METEOR.SUCCESS
|
||
|
};
|
||
|
}
|
||
|
|
||
|
export function connectFailure(err) {
|
||
|
return {
|
||
|
type: types.METEOR.FAILURE,
|
||
|
err
|
||
|
};
|
||
|
}
|