authelia/server/types/Dependencies.ts

29 lines
851 B
TypeScript
Raw Normal View History

2017-05-20 20:55:37 +00:00
import winston = require("winston");
import speakeasy = require("speakeasy");
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");
import u2f = require("u2f");
import RedisSession = require("connect-redis");
2018-03-28 22:04:59 +00:00
import Redis = require("redis");
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;
export type U2f = typeof u2f;
export type ConnectRedis = typeof RedisSession;
2018-03-28 22:04:59 +00:00
export type Redis = typeof Redis;
export interface GlobalDependencies {
u2f: U2f;
2017-05-20 23:15:34 +00:00
ldapjs: Ldapjs;
session: Session;
2018-03-28 22:04:59 +00:00
Redis: Redis;
ConnectRedis: ConnectRedis;
winston: Winston;
speakeasy: Speakeasy;
nedb: Nedb;
}