refactor: inline auth, data, triggers and actions in apps

This commit is contained in:
Ali BARIN
2022-10-28 15:48:39 +02:00
parent 179fe512af
commit 9a973c8257
47 changed files with 233 additions and 167 deletions

View File

@@ -1,5 +1,8 @@
import defineApp from '../../helpers/define-app';
import addAuthHeader from './common/add-auth-header';
import actions from './actions';
import auth from './auth';
import data from './data';
export default defineApp({
name: 'Slack',
@@ -11,4 +14,7 @@ export default defineApp({
apiBaseUrl: 'https://slack.com/api',
primaryColor: '4a154b',
beforeRequest: [addAuthHeader],
auth,
actions,
data,
});