Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Bower components Debian packages RPM packages NuGet packages

vipera-npm-registry / de-motifconnector-plugin   js

Repository URL to install this package:

Version: 1.2.1 

/ types / index.d.ts


interface MotifConnector {
  serverRequest(request:ServerRequest,onSuccess:(response:ServerResponse) => void,onError:(reason:any) => void):void
}

interface ServerRequest {
  req:{
    app: string,
    dom: string,
    srv: string,
    op: string,
    sid?: string
    header: any
  }
}

interface ServerResponse {
  res:{
    header:{
      app: string,
      dom: string,
      srv: string,
      op: string,
      sid?: string,
      err?:any,
      [propName: string]: any;
    }
  }
}


interface IPlugins{
  MotifConnector:MotifConnector
}

interface IDynamicEngine {
  plugins:IPlugins
}