UNPKG

272 BTypeScriptView Raw
1import { IBasicAuth } from './auth';
2import { IPlugin } from './commons';
3import { IStorageManager } from './storage';
4export interface IPluginMiddleware<T> extends IPlugin<T> {
5 register_middlewares(app: any, auth: IBasicAuth<T>, storage: IStorageManager<T>): void;
6}