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,7 @@
import defineApp from '../../helpers/define-app';
import addAuthHeader from './common/add-auth-header';
import auth from './auth';
import actions from './actions';
export default defineApp({
name: 'Twilio',
@@ -11,4 +13,6 @@ export default defineApp({
apiBaseUrl: 'https://api.twilio.com',
primaryColor: 'e1000f',
beforeRequest: [addAuthHeader],
auth,
actions,
});