|
|
@@ -67,6 +67,13 @@ implements TableDefinitionExporter {
|
|
67
|
67
|
}, './config', this.configChangeHandler)
|
|
68
|
68
|
}
|
|
69
|
69
|
|
|
|
70
|
+ getTableDefinitions(): TableDefiniton[]{
|
|
|
71
|
+ return [
|
|
|
72
|
+ this.eventBus,
|
|
|
73
|
+ ...this.pluginLoader.getPlugins()
|
|
|
74
|
+ ].flatMap(exporter => exporter.getTableDefinitions())
|
|
|
75
|
+ }
|
|
|
76
|
+
|
|
70
|
77
|
private startWebsocket(){
|
|
71
|
78
|
new RPCServer(20000, [
|
|
72
|
79
|
this.config,
|
|
|
@@ -150,13 +157,6 @@ implements TableDefinitionExporter {
|
|
150
|
157
|
|
|
151
|
158
|
return this.knex
|
|
152
|
159
|
}
|
|
153
|
|
-
|
|
154
|
|
- getTableDefinitions(): TableDefiniton[]{
|
|
155
|
|
- return [
|
|
156
|
|
- this.eventBus,
|
|
157
|
|
- ...this.pluginLoader.getPlugins()
|
|
158
|
|
- ].flatMap(exporter => exporter.getTableDefinitions())
|
|
159
|
|
- }
|
|
160
|
160
|
}
|
|
161
|
161
|
|
|
162
|
162
|
process.on( 'SIGINT', function() {
|