1
0
mirror of https://github.com/ascribe/onion.git synced 2024-12-23 01:39:36 +01:00
onion/js/actions/piece_actions.js

20 lines
353 B
JavaScript
Raw Normal View History

'use strict';
import { alt } from '../alt';
2015-05-26 10:41:41 +02:00
class PieceActions {
constructor() {
this.generateActions(
'fetchPiece',
'successFetchPiece',
'errorPiece',
'flushPiece',
2015-07-13 18:13:16 +02:00
'updatePiece',
'updateProperty'
2015-05-26 10:41:41 +02:00
);
}
2015-05-26 13:33:35 +02:00
}
2015-05-26 10:41:41 +02:00
export default alt.createActions(PieceActions);