feat: add new photo trigger in flickr

This commit is contained in:
Ali BARIN
2022-04-15 20:29:04 +02:00
committed by Ömer Faruk Aydın
parent 1e00c7d14e
commit bf56b54aad
4 changed files with 107 additions and 1 deletions

View File

@@ -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);
}
}