Przeglądaj źródła

base for test app

master
peter 6 lat temu
rodzic
commit
9d6681843b
1 zmienionych plików z 7 dodań i 7 usunięć
  1. 7
    7
      src/backend/Admin.ts

+ 7
- 7
src/backend/Admin.ts Wyświetl plik

67
         }, './config', this.configChangeHandler) 
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
     private startWebsocket(){
77
     private startWebsocket(){
71
         new RPCServer(20000, [
78
         new RPCServer(20000, [
72
             this.config,
79
             this.config,
150
         
157
         
151
         return this.knex
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
 process.on( 'SIGINT', function() {
162
 process.on( 'SIGINT', function() {

Ładowanie…
Anuluj
Zapisz