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");
|
2018-03-29 05:04:59 +07:00
|
|
|
import Redis = require("redis");
|
2017-05-21 00:16:57 +07:00
|
|
|
|
|
|
|
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;
|
2018-03-29 05:04:59 +07:00
|
|
|
export type Redis = typeof Redis;
|
2017-05-21 00:16:57 +07:00
|
|
|
|
|
|
|
export interface GlobalDependencies {
|
2017-05-25 20:09:29 +07:00
|
|
|
u2f: U2f;
|
2017-05-21 06:15:34 +07:00
|
|
|
ldapjs: Ldapjs;
|
2017-05-21 00:16:57 +07:00
|
|
|
session: Session;
|
2018-03-29 05:04:59 +07:00
|
|
|
Redis: Redis;
|
2017-06-30 00:41:05 +07:00
|
|
|
ConnectRedis: ConnectRedis;
|
2017-05-21 00:16:57 +07:00
|
|
|
winston: Winston;
|
|
|
|
speakeasy: Speakeasy;
|
|
|
|
nedb: Nedb;
|
|
|
|
}
|