feat: Convert all app files to JS

This commit is contained in:
Faruk AYDIN
2024-01-05 17:44:21 +01:00
parent b95478b635
commit 43dba351c3
1030 changed files with 5114 additions and 6436 deletions

View File

@@ -1,16 +1,14 @@
import { IGlobalVariable } from '@automatisch/types';
export default {
name: 'List fields after send as bot',
key: 'listFieldsAfterSendAsBot',
async run($: IGlobalVariable) {
async run($) {
if ($.step.parameters.sendAsBot) {
return [
{
label: 'Bot name',
key: 'botName',
type: 'string' as const,
type: 'string',
required: true,
value: 'Automatisch',
description:
@@ -20,7 +18,7 @@ export default {
{
label: 'Bot icon',
key: 'botIcon',
type: 'string' as const,
type: 'string',
required: false,
description:
'Either an image url or an emoji available to your team (surrounded by :). For example, https://example.com/icon_256.png or :robot_face:',