antares/src/main/ipc-handlers/index.ts

32 lines
840 B
TypeScript
Raw Normal View History

2022-04-12 17:08:05 +02:00
import * as antares from 'common/interfaces/antares';
import application from './application';
2020-05-11 18:05:34 +02:00
import connection from './connection';
import database from './database';
2021-01-10 18:30:56 +01:00
import functions from './functions';
import routines from './routines';
2021-01-14 18:11:36 +01:00
import schedulers from './schedulers';
2021-03-17 11:15:14 +01:00
import schema from './schema';
import tables from './tables';
import triggers from './triggers';
import updates from './updates';
import users from './users';
import views from './views';
2020-06-15 18:23:51 +02:00
2024-01-19 18:03:20 +01:00
const connections: Record<string, antares.Client> = {};
2020-05-11 18:05:34 +02:00
export default () => {
2020-06-15 18:23:51 +02:00
connection(connections);
2020-07-24 13:26:56 +02:00
tables(connections);
2020-12-26 14:47:15 +01:00
views(connections);
2020-12-31 19:55:02 +01:00
triggers(connections);
2021-01-05 17:25:18 +01:00
routines(connections);
2021-01-10 18:30:56 +01:00
functions(connections);
2021-01-14 18:11:36 +01:00
schedulers(connections);
database(connections);
2021-03-17 11:15:14 +01:00
schema(connections);
users(connections);
2020-06-19 18:03:52 +02:00
updates();
2020-07-29 15:56:29 +02:00
application();
2020-05-11 18:05:34 +02:00
};