2017-05-20 20:55:37 +00:00
|
|
|
import winston = require("winston");
|
|
|
|
import speakeasy = require("speakeasy");
|
2017-05-20 17:16:57 +00:00
|
|
|
import nodemailer = require("nodemailer");
|
|
|
|
import session = require("express-session");
|
|
|
|
import nedb = require("nedb");
|
2017-05-20 20:55:37 +00:00
|
|
|
import ldapjs = require("ldapjs");
|
2017-05-25 13:09:29 +00:00
|
|
|
import u2f = require("u2f");
|
2017-06-29 17:41:05 +00:00
|
|
|
import RedisSession = require("connect-redis");
|
2018-03-28 22:04:59 +00:00
|
|
|
import Redis = require("redis");
|
2017-05-20 17:16:57 +00:00
|
|
|
|
|
|
|
export type Speakeasy = typeof speakeasy;
|
|
|
|
export type Winston = typeof winston;
|
|
|
|
export type Session = typeof session;
|
|
|
|
export type Nedb = typeof nedb;
|
2017-05-20 23:15:34 +00:00
|
|
|
export type Ldapjs = typeof ldapjs;
|
2017-05-25 13:09:29 +00:00
|
|
|
export type U2f = typeof u2f;
|
2017-06-29 17:41:05 +00:00
|
|
|
export type ConnectRedis = typeof RedisSession;
|
2018-03-28 22:04:59 +00:00
|
|
|
export type Redis = typeof Redis;
|
2017-05-20 17:16:57 +00:00
|
|
|
|
|
|
|
export interface GlobalDependencies {
|
2017-05-25 13:09:29 +00:00
|
|
|
u2f: U2f;
|
2017-05-20 23:15:34 +00:00
|
|
|
ldapjs: Ldapjs;
|
2017-05-20 17:16:57 +00:00
|
|
|
session: Session;
|
2018-03-28 22:04:59 +00:00
|
|
|
Redis: Redis;
|
2017-06-29 17:41:05 +00:00
|
|
|
ConnectRedis: ConnectRedis;
|
2017-05-20 17:16:57 +00:00
|
|
|
winston: Winston;
|
|
|
|
speakeasy: Speakeasy;
|
|
|
|
nedb: Nedb;
|
|
|
|
}
|