import { IUserManager } from "./Interface"

export type UserManagerIfc = {
    UserManager: {
        checkToken: IUserManager['checkToken']
        login: IUserManager['login']
        logout: IUserManager['logout']
        createUser: IUserManager['createUser']
        getAuth: IUserManager['getAuth']
        getUser: IUserManager['getUser']
        changePassword: IUserManager['changePassword']
    }
}

export type UserManagerFeatureIfc = {
    manageUser: {
        changeRank: IUserManager['changeRank']
        adminLogout: IUserManager['adminLogout']
        adminChangePassword: IUserManager['adminChangePassword']
    }
    
    modifyPermissions: {
        setPermission: IUserManager['setPermission']
        getPermissions: IUserManager['getPermissions']
    }

    softreserveCurrency: {
        incrementCurrency: IUserManager['incrementCurrency']
        decrementCurrency: IUserManager['decrementCurrency']
        setCurrency: IUserManager['setCurrency']
    }
}
