refactor: inline auth, data, triggers and actions in apps
This commit is contained in:
@@ -1,4 +1,3 @@
|
||||
import { IActionOutput } from '@automatisch/types';
|
||||
import defineAction from '../../../../helpers/define-action';
|
||||
|
||||
export default defineAction({
|
||||
@@ -17,7 +16,7 @@ export default defineAction({
|
||||
{
|
||||
label: 'Tweet body',
|
||||
key: 'tweet',
|
||||
type: 'string',
|
||||
type: 'string' as const,
|
||||
required: true,
|
||||
description: 'The content of your new tweet.',
|
||||
variables: true,
|
||||
|
3
packages/backend/src/apps/twitter/actions/index.ts
Normal file
3
packages/backend/src/apps/twitter/actions/index.ts
Normal file
@@ -0,0 +1,3 @@
|
||||
import createTweet from './create-tweet';
|
||||
|
||||
export default [createTweet];
|
Reference in New Issue
Block a user