feat: add new branch trigger in GitHub

This commit is contained in:
Ali BARIN
2022-04-20 21:56:01 +02:00
committed by Ömer Faruk Aydın
parent 6bee6bafa8
commit 3551d12e7d
7 changed files with 124 additions and 15 deletions

View File

@@ -6,10 +6,12 @@ import {
} from '@automatisch/types';
import Authentication from './authentication';
import Triggers from './triggers';
import Data from './data';
export default class Github implements IService {
authenticationClient: IAuthentication;
triggers: Triggers;
data: Data;
constructor(
appData: IApp,
@@ -17,6 +19,7 @@ export default class Github implements IService {
parameters: IJSONObject
) {
this.authenticationClient = new Authentication(appData, connectionData);
this.data = new Data(connectionData);
this.triggers = new Triggers(connectionData, parameters);
}
}