mirror of
https://github.com/ascribe/onion.git
synced 2024-12-22 09:23:13 +01:00
20 lines
353 B
JavaScript
20 lines
353 B
JavaScript
'use strict';
|
|
|
|
import { alt } from '../alt';
|
|
|
|
|
|
class PieceActions {
|
|
constructor() {
|
|
this.generateActions(
|
|
'fetchPiece',
|
|
'successFetchPiece',
|
|
'errorPiece',
|
|
'flushPiece',
|
|
'updatePiece',
|
|
'updateProperty'
|
|
);
|
|
}
|
|
}
|
|
|
|
export default alt.createActions(PieceActions);
|