2015-06-05 11:06:36 +02:00
|
|
|
'use strict';
|
|
|
|
|
2015-10-06 16:47:59 +02:00
|
|
|
import { alt } from '../alt';
|
2015-05-26 10:41:41 +02:00
|
|
|
|
|
|
|
|
|
|
|
class PieceActions {
|
|
|
|
constructor() {
|
|
|
|
this.generateActions(
|
2016-01-14 13:20:45 +01:00
|
|
|
'fetchPiece',
|
|
|
|
'successFetchPiece',
|
|
|
|
'errorPiece',
|
|
|
|
'flushPiece',
|
2015-07-13 18:13:16 +02:00
|
|
|
'updatePiece',
|
2016-01-14 13:20:45 +01:00
|
|
|
'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);
|