feat: add new photo trigger in flickr
This commit is contained in:

committed by
Ömer Faruk Aydın

parent
1e00c7d14e
commit
bf56b54aad
@@ -1,13 +1,16 @@
|
||||
import { IJSONObject } from '@automatisch/types';
|
||||
import FavoritePhoto from './triggers/favorite-photo';
|
||||
import NewPhotoInAlbum from './triggers/new-photo-in-album';
|
||||
import NewPhoto from './triggers/new-photo';
|
||||
|
||||
export default class Triggers {
|
||||
favoritePhoto: FavoritePhoto;
|
||||
newPhotoInAlbum: NewPhotoInAlbum;
|
||||
newPhoto: NewPhoto;
|
||||
|
||||
constructor(connectionData: IJSONObject, parameters: IJSONObject) {
|
||||
this.favoritePhoto = new FavoritePhoto(connectionData);
|
||||
this.newPhotoInAlbum = new NewPhotoInAlbum(connectionData, parameters);
|
||||
this.newPhoto = new NewPhoto(connectionData);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user