base for test app
This commit is contained in:
@@ -67,6 +67,13 @@ implements TableDefinitionExporter {
|
||||
}, './config', this.configChangeHandler)
|
||||
}
|
||||
|
||||
getTableDefinitions(): TableDefiniton[]{
|
||||
return [
|
||||
this.eventBus,
|
||||
...this.pluginLoader.getPlugins()
|
||||
].flatMap(exporter => exporter.getTableDefinitions())
|
||||
}
|
||||
|
||||
private startWebsocket(){
|
||||
new RPCServer(20000, [
|
||||
this.config,
|
||||
@@ -150,13 +157,6 @@ implements TableDefinitionExporter {
|
||||
|
||||
return this.knex
|
||||
}
|
||||
|
||||
getTableDefinitions(): TableDefiniton[]{
|
||||
return [
|
||||
this.eventBus,
|
||||
...this.pluginLoader.getPlugins()
|
||||
].flatMap(exporter => exporter.getTableDefinitions())
|
||||
}
|
||||
}
|
||||
|
||||
process.on( 'SIGINT', function() {
|
||||
|
||||
Reference in New Issue
Block a user