Patch Changes
-
#4035
e0c75450f97
Thanks @salihozdemir! - Add types for notification methods arguments based on given generic types. -
#4071
98cd4b0f203
Thanks @salihozdemir! - UpdateauthBindings
error type to provide changeable error messages on notifcations.Example for
login
method:import { AuthBindings } from "@refinedev/core"; const authProvider: AuthBindings = { login: async ({ email, password }) => { ... return { success: false, error: { message: "Login Failed!", name: "The email or password that you've entered doesn't match any account.", }, }; }, ... };