export const DBClient = Symbol.for('DBClient') export interface DBClient { getProvide(): any; find(collection: string, filter: object): Promise; findOne(collection: string, filter: Object): Promise; findOneById(collection: string, objectId: string): Promise; insertOne(collection: string, model: T): Promise; updateOne(collection: string, where: any, model: any): Promise; updateById(collection: string, objectId: string, model: any): Promise; deleteOne(collection: string, where: any): Promise; deleteById(collection: string, objectId: string): Promise; }