2017-08-17 01:06:31 +00:00
|
|
|
import * as types from './actionsTypes';
|
|
|
|
|
|
|
|
export function connectRequest() {
|
|
|
|
return {
|
|
|
|
type: types.METEOR.REQUEST
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|
|
|
|
export function connectSuccess() {
|
|
|
|
return {
|
|
|
|
type: types.METEOR.SUCCESS
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|
2017-08-17 16:55:47 +00:00
|
|
|
export function disconnect(err) {
|
|
|
|
return {
|
|
|
|
type: types.METEOR.DISCONNECT,
|
|
|
|
err
|
|
|
|
};
|
|
|
|
}
|