mirror of
https://github.com/xuthus83/pigallery2.git
synced 2024-11-03 21:04:03 +08:00
9 lines
447 B
TypeScript
9 lines
447 B
TypeScript
import {User} from "../../common/entities/User";
|
|
export interface IUserManager {
|
|
findOne(filter,cb:(error: any,result:User) => void);
|
|
find(filter,cb:(error: any,result:Array<User>) => void);
|
|
createUser(user,cb:(error: any,result:User) => void);
|
|
deleteUser(id:number,cb:(error: any,result:string) => void);
|
|
changeRole(request:any,cb:(error: any) => void);
|
|
changePassword(request:any,cb:(error: any,result:string) => void);
|
|
} |