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-25 20:09:29 +07:00
|
|
|
import u2f = require("u2f");
|
2017-06-30 00:41:05 +07:00
|
|
|
import RedisSession = require("connect-redis");
|
2017-07-16 22:37:13 +07:00
|
|
|
import dovehash = require("dovehash");
|
2017-05-21 00:16:57 +07:00
|
|
|
|
2017-07-16 22:37:13 +07:00
|
|
|
export type Dovehash = typeof dovehash;
|
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;
|
2017-05-21 06:15:34 +07:00
|
|
|
export type Ldapjs = typeof ldapjs;
|
2017-05-25 20:09:29 +07:00
|
|
|
export type U2f = typeof u2f;
|
2017-06-30 00:41:05 +07:00
|
|
|
export type ConnectRedis = typeof RedisSession;
|
2017-05-21 00:16:57 +07:00
|
|
|
|
|
|
|
export interface GlobalDependencies {
|
2017-05-25 20:09:29 +07:00
|
|
|
u2f: U2f;
|
2017-07-16 22:37:13 +07:00
|
|
|
dovehash: Dovehash;
|
2017-05-21 00:16:57 +07:00
|
|
|
nodemailer: Nodemailer;
|
2017-05-21 06:15:34 +07:00
|
|
|
ldapjs: Ldapjs;
|
2017-05-21 00:16:57 +07:00
|
|
|
session: Session;
|
2017-06-30 00:41:05 +07:00
|
|
|
ConnectRedis: ConnectRedis;
|
2017-05-21 00:16:57 +07:00
|
|
|
winston: Winston;
|
|
|
|
speakeasy: Speakeasy;
|
|
|
|
nedb: Nedb;
|
|
|
|
}
|