This commit is contained in:
Daniel Hübleitner
2019-07-07 10:03:26 +02:00
parent 0a779fcd34
commit 90ad965b42
+2 -2
View File
@@ -27,7 +27,7 @@ Logger.configure({
})
const logger = Logger.getLogger("admin")
type hookRpc = { type: 'hook', generator: (socket) => Function, unhook:(uid:string)=>Promise<ErrorResponse|SuccessResponse>}
type hookRPC = { type: 'hook', generator: (socket) => Function, unhook:(uid:string)=>Promise<ErrorResponse|SuccessResponse>}
type unhookRPC = { type: 'unhook', fn: Function}
type callRPC = { type: 'call', fn: Function}
@@ -35,7 +35,7 @@ export type rpcInfo = {
owner: string,
name: string,
args: string,
info: hookRpc | unhookRPC | callRPC
info: hookRPC | unhookRPC | callRPC
}
/**