mirror of
https://github.com/ascribe/onion.git
synced 2024-12-23 01:39:36 +01:00
20 lines
394 B
JavaScript
20 lines
394 B
JavaScript
|
'use strict';
|
||
|
|
||
|
import { alt } from '../alt';
|
||
|
|
||
|
|
||
|
class WebhookActions {
|
||
|
constructor() {
|
||
|
this.generateActions(
|
||
|
'fetchWebhooks',
|
||
|
'successFetchWebhooks',
|
||
|
'fetchWebhookEvents',
|
||
|
'successFetchWebhookEvents',
|
||
|
'removeWebhook',
|
||
|
'successRemoveWebhook'
|
||
|
);
|
||
|
}
|
||
|
}
|
||
|
|
||
|
export default alt.createActions(WebhookActions);
|