feat: Implement search tweet trigger step for twitter
This commit is contained in:

committed by
Ömer Faruk Aydın

parent
3f7a888429
commit
ab82134b88
@@ -1,10 +1,13 @@
|
||||
import MyTweet from './triggers/my-tweet';
|
||||
import { IJSONObject } from '@automatisch/types';
|
||||
import MyTweet from './triggers/my-tweet';
|
||||
import SearchTweet from './triggers/search-tweet';
|
||||
|
||||
export default class Triggers {
|
||||
myTweet: MyTweet;
|
||||
searchTweet: SearchTweet;
|
||||
|
||||
constructor(connectionData: IJSONObject) {
|
||||
constructor(connectionData: IJSONObject, parameters: IJSONObject) {
|
||||
this.myTweet = new MyTweet(connectionData);
|
||||
this.searchTweet = new SearchTweet(connectionData, parameters);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user