refactor: inline auth, data, triggers and actions in apps
This commit is contained in:
@@ -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,
|
||||
});
|
||||
|
Reference in New Issue
Block a user