fix: Backend eslint warnings

This commit is contained in:
Faruk AYDIN
2022-03-07 16:18:29 +03:00
committed by Ömer Faruk Aydın
parent ecc9239bfe
commit 775ac7a8b1
20 changed files with 144 additions and 71 deletions

View File

@@ -1,13 +1,23 @@
import {
IService,
IAuthentication,
IApp,
IJSONObject,
} from '@automatisch/types';
import Authentication from './authentication';
import Triggers from './triggers';
import Actions from './actions';
export default class Twitter {
authenticationClient: any;
triggers: any;
actions: any;
export default class Twitter implements IService {
authenticationClient: IAuthentication;
triggers: Triggers;
actions: Actions;
constructor(appData: any, connectionData: any, parameters: any) {
constructor(
appData: IApp,
connectionData: IJSONObject,
parameters: IJSONObject
) {
this.authenticationClient = new Authentication(appData, connectionData);
this.triggers = new Triggers(connectionData);
this.actions = new Actions(connectionData, parameters);