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

@@ -0,0 +1,4 @@
import listClients from './list-clients/index.js';
import listInvoices from './list-invoices/index.js';
export default [listClients, listInvoices];

View File

@@ -1,4 +0,0 @@
import listClients from './list-clients';
import listInvoices from './list-invoices';
export default [listClients, listInvoices];

View File

@@ -1,13 +1,9 @@
import { IGlobalVariable, IJSONObject } from '@automatisch/types';
export default {
name: 'List clients',
key: 'listClients',
async run($: IGlobalVariable) {
const clients: {
data: IJSONObject[];
} = {
async run($) {
const clients = {
data: [],
};

View File

@@ -1,13 +1,9 @@
import { IGlobalVariable, IJSONObject } from '@automatisch/types';
export default {
name: 'List invoices',
key: 'listInvoices',
async run($: IGlobalVariable) {
const invoices: {
data: IJSONObject[];
} = {
async run($) {
const invoices = {
data: [],
};