feat: add new photo in album flickr trigger

This commit is contained in:
Ali BARIN
2022-04-15 00:47:47 +02:00
committed by Ömer Faruk Aydın
parent 651cceec14
commit 1e00c7d14e
10 changed files with 204 additions and 5 deletions

View File

@@ -1,10 +1,13 @@
import { IJSONObject } from '@automatisch/types';
import FavoritePhoto from './triggers/favorite-photo';
import NewPhotoInAlbum from './triggers/new-photo-in-album';
export default class Triggers {
favoritePhoto: FavoritePhoto;
newPhotoInAlbum: NewPhotoInAlbum;
constructor(connectionData: IJSONObject, parameters: IJSONObject) {
this.favoritePhoto = new FavoritePhoto(connectionData);
this.newPhotoInAlbum = new NewPhotoInAlbum(connectionData, parameters);
}
}