Explorar el Código

fixed some imports

master
Daniel Huebleitner hace 6 años
padre
commit
fd575b8cfd

+ 3
- 3
package-lock.json Ver fichero

@@ -4863,9 +4863,9 @@
4863 4863
       }
4864 4864
     },
4865 4865
     "rpclibrary": {
4866
-      "version": "1.3.4",
4867
-      "resolved": "https://registry.npmjs.org/rpclibrary/-/rpclibrary-1.3.4.tgz",
4868
-      "integrity": "sha512-wrAAJ6cknpsoH7xrcbzheps0NgnlGrCzHPfTVHB+VgM2QAeEJfbbleDRVkFyf8bZmCJqxlEk0P1DH3xhTB2TMA==",
4866
+      "version": "1.3.17",
4867
+      "resolved": "https://registry.npmjs.org/rpclibrary/-/rpclibrary-1.3.17.tgz",
4868
+      "integrity": "sha512-ZdhZ1TSDO+bcz5kCJ7Ol+YAAyYpwg7YI/hETS4vv3RYerUEQVZSZjcm22J5a91RnQVN2SRiXzdoXbbFb/Renog==",
4869 4869
       "requires": {
4870 4870
         "bsock": "^0.1.9",
4871 4871
         "http": "0.0.0",

+ 1
- 1
package.json Ver fichero

@@ -37,7 +37,7 @@
37 37
     "node-fetch": "^2.6.0",
38 38
     "path": "^0.12.7",
39 39
     "rimraf": "^3.0.0",
40
-    "rpclibrary": "^1.3.4",
40
+    "rpclibrary": "^1.3.17",
41 41
     "simple-git": "^1.124.0",
42 42
     "spawn-sync": "^2.0.0",
43 43
     "sqlite3": "^4.1.0",

+ 1
- 1
src/backend/Admin.ts Ver fichero

@@ -2,7 +2,7 @@
2 2
 
3 3
 import { getLogger } from 'frontblock-generic/Types';
4 4
 import { promises as fs, mkdirSync } from "fs"
5
-import { RPCServer } from 'rpclibrary/js/src/Backend'
5
+import { RPCServer } from 'rpclibrary'
6 6
 import { AdminConf, TableDefiniton } from './Types';
7 7
 import { RPCConfigLoader } from './RPCConfigLoader';
8 8
 

+ 1
- 3
src/backend/Eventbus.ts Ver fichero

@@ -1,6 +1,4 @@
1
-import { RPCExporter } from "rpclibrary/js/src/Interfaces";
2
-import { SubscriptionResponse, ErrorResponse } from "rpclibrary/js/src/Types";
3
-import { makeSubResponse } from "rpclibrary/js/src/Utils";
1
+import { RPCExporter, SubscriptionResponse, ErrorResponse, makeSubResponse } from "rpclibrary";
4 2
 import { FrontworkAdmin } from "./Admin";
5 3
 import { TableDefinitionExporter } from "./Interfaces";
6 4
 

+ 1
- 1
src/backend/Installer.ts Ver fichero

@@ -1,4 +1,4 @@
1
-import { Plugin } from "frontblock-generic/Plugin"
1
+import { Plugin } from "./Plugin"
2 2
 import { getLogger } from "frontblock-generic/Types"
3 3
 import { FrontworkAdmin } from "./Admin";
4 4
 var exec = require('child-process-promise').exec;

+ 1
- 2
src/backend/Plugin.ts Ver fichero

@@ -1,7 +1,6 @@
1 1
 import { FrontworkAdmin } from "./Admin"
2
-import { RPC } from "rpclibrary/js/src/Types"
2
+import { RPC, RPCExporter } from "rpclibrary"
3 3
 import { TableDefiniton } from "./Types"
4
-import { RPCExporter } from "rpclibrary/js/src/Interfaces"
5 4
 import { TableDefinitionExporter } from "./Interfaces"
6 5
 import { ConfigExporter } from "loadson"
7 6
 

+ 1
- 1
src/backend/PluginLoader.ts Ver fichero

@@ -1,4 +1,4 @@
1
-import { RPCExporter } from "rpclibrary/js/src/Interfaces";
1
+import { RPCExporter } from "rpclibrary";
2 2
 import { Git } from "upgiter"
3 3
 import { FolderStatus } from "upgiter/js/src/Types";
4 4
 import { Plugin } from "./Plugin";

+ 1
- 1
src/backend/RPCConfigLoader.ts Ver fichero

@@ -1,5 +1,5 @@
1 1
 import { ConfigLoader } from 'loadson'
2
-import { RPCExporter } from 'rpclibrary/js/src/Interfaces'
2
+import { RPCExporter } from 'rpclibrary'
3 3
 
4 4
 export type ConfigLoaderIfc<ConfT> = {
5 5
     Config : {

Loading…
Cancelar
Guardar