refactor: inline auth, data, triggers and actions in apps
This commit is contained in:
11
packages/backend/src/apps/twitter/triggers/index.ts
Normal file
11
packages/backend/src/apps/twitter/triggers/index.ts
Normal file
@@ -0,0 +1,11 @@
|
||||
import myTweets from './my-tweets';
|
||||
import newFollowerOfMe from './new-follower-of-me';
|
||||
import searchTweets from './search-tweets';
|
||||
import userTweets from './user-tweets';
|
||||
|
||||
export default [
|
||||
myTweets,
|
||||
newFollowerOfMe,
|
||||
searchTweets,
|
||||
userTweets,
|
||||
];
|
@@ -19,7 +19,7 @@ export default defineTrigger({
|
||||
{
|
||||
label: 'Search Term',
|
||||
key: 'searchTerm',
|
||||
type: 'string',
|
||||
type: 'string' as const,
|
||||
required: true,
|
||||
},
|
||||
],
|
||||
|
@@ -18,7 +18,7 @@ export default defineTrigger({
|
||||
{
|
||||
label: 'Username',
|
||||
key: 'username',
|
||||
type: 'string',
|
||||
type: 'string' as const,
|
||||
required: true,
|
||||
},
|
||||
],
|
||||
|
Reference in New Issue
Block a user