feat: Convert all app files to JS
This commit is contained in:
@@ -0,0 +1,4 @@
|
||||
import listClients from './list-clients/index.js';
|
||||
import listInvoices from './list-invoices/index.js';
|
||||
|
||||
export default [listClients, listInvoices];
|
@@ -1,4 +0,0 @@
|
||||
import listClients from './list-clients';
|
||||
import listInvoices from './list-invoices';
|
||||
|
||||
export default [listClients, listInvoices];
|
@@ -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: [],
|
||||
};
|
||||
|
@@ -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: [],
|
||||
};
|
||||
|
Reference in New Issue
Block a user