feat: add new notification trigger in GitHub

This commit is contained in:
Ali BARIN
2022-04-21 21:10:03 +02:00
committed by Ömer Faruk Aydın
parent 3551d12e7d
commit a623116204
6 changed files with 163 additions and 19 deletions

View File

@@ -2,15 +2,18 @@ import { IJSONObject } from '@automatisch/types';
import NewRepository from './triggers/new-repository';
import NewOrganization from './triggers/new-organization';
import NewBranch from './triggers/new-branch';
import NewNotification from './triggers/new-notification';
export default class Triggers {
newRepository: NewRepository;
newOrganization: NewOrganization;
newBranch: NewBranch;
newNotification: NewNotification;
constructor(connectionData: IJSONObject, parameters: IJSONObject) {
this.newRepository = new NewRepository(connectionData);
this.newOrganization = new NewOrganization(connectionData);
this.newBranch = new NewBranch(connectionData, parameters);
this.newNotification = new NewNotification(connectionData, parameters);
}
}