feat: add new favorite photo trigger in flickr

This commit is contained in:
Ali BARIN
2022-04-13 01:22:13 +02:00
committed by Ömer Faruk Aydın
parent d4ad8645c9
commit 651cceec14
12 changed files with 131 additions and 16 deletions

View File

@@ -1,11 +1,10 @@
import fs from 'fs';
import { dirname, join } from 'path';
import { join } from 'path';
import { IApp } from '@automatisch/types';
import appInfoConverter from '../helpers/app-info-converter';
class App {
static backendPath = require.resolve('@automatisch/backend');
static folderPath = join(dirname(this.backendPath), 'apps');
static folderPath = join(__dirname, '../apps');
static list = fs.readdirSync(this.folderPath);
static findAll(name?: string): IApp[] {