export interface IMongoConfig { protocol: string, hostname: string, username: string } export interface IMongoConnectionOptions { maxPoolSize: number, maxConnecting: number, minPoolSize: number } export interface IMongoConnectionConfig { mongoConfig : IMongoConfig, mongoConnectionOptions :IMongoConnectionOptions, awsSecretKey : string } export interface IMongoDBConfig { database: string, collection : string }