authelia/src/types/Dependencies.ts

25 lines
710 B
TypeScript
Raw Normal View History

2017-05-21 03:55:37 +07:00
import winston = require("winston");
import speakeasy = require("speakeasy");
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");
import u2f = require("u2f");
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;
export type U2f = typeof u2f;
export interface GlobalDependencies {
u2f: U2f;
nodemailer: Nodemailer;
2017-05-21 06:15:34 +07:00
ldapjs: Ldapjs;
session: Session;
winston: Winston;
speakeasy: Speakeasy;
nedb: Nedb;
}