2017-05-21 03:55:37 +07:00
|
|
|
import winston = require("winston");
|
|
|
|
import speakeasy = require("speakeasy");
|
2017-05-21 00:16:57 +07:00
|
|
|
import nodemailer = require("nodemailer");
|
|
|
|
import session = require("express-session");
|
|
|
|
import nedb = require("nedb");
|
2017-05-21 03:55:37 +07:00
|
|
|
import ldapjs = require("ldapjs");
|
2017-05-21 00:16:57 +07:00
|
|
|
|
|
|
|
export type Nodemailer = typeof nodemailer;
|
|
|
|
export type Speakeasy = typeof speakeasy;
|
|
|
|
export type Winston = typeof winston;
|
|
|
|
export type Session = typeof session;
|
|
|
|
export type Nedb = typeof nedb;
|
|
|
|
|
|
|
|
export interface GlobalDependencies {
|
|
|
|
u2f: object;
|
|
|
|
nodemailer: Nodemailer;
|
|
|
|
ldapjs: object;
|
|
|
|
session: Session;
|
|
|
|
winston: Winston;
|
|
|
|
speakeasy: Speakeasy;
|
|
|
|
nedb: Nedb;
|
|
|
|
}
|