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

30 lines
780 B
TypeScript
Raw Normal View History

2022-04-12 17:08:05 +02:00
import * as antares from 'common/interfaces/antares';
2020-05-11 18:05:34 +02:00
import connection from './connection';
2020-07-24 13:26:56 +02:00
import tables from './tables';
2020-12-26 14:47:15 +01:00
import views from './views';
2020-12-31 19:55:02 +01:00
import triggers from './triggers';
2021-01-05 17:25:18 +01:00
import routines from './routines';
2021-01-10 18:30:56 +01:00
import functions from './functions';
2021-01-14 18:11:36 +01:00
import schedulers from './schedulers';
2020-06-19 18:03:52 +02:00
import updates from './updates';
2020-07-29 15:56:29 +02:00
import application from './application';
2021-03-17 11:15:14 +01:00
import schema from './schema';
import users from './users';
2020-06-15 18:23:51 +02:00
2022-04-12 17:08:05 +02:00
const connections: {[key: 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);
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
};