fix: update import
This commit is contained in:
parent
2f53b37775
commit
552bf84247
|
@ -3,7 +3,8 @@ import type {
|
||||||
AuthActionResponse,
|
AuthActionResponse,
|
||||||
CheckResponse,
|
CheckResponse,
|
||||||
OnErrorResponse
|
OnErrorResponse
|
||||||
} from "@refinedev/core/dist/interfaces"
|
// @ts-ignore
|
||||||
|
} from "@refinedev/core/dist/interfaces/bindings/auth"
|
||||||
|
|
||||||
export const authProvider: AuthProvider = {
|
export const authProvider: AuthProvider = {
|
||||||
login: async (params: any) => {
|
login: async (params: any) => {
|
||||||
|
@ -30,7 +31,7 @@ export const authProvider: AuthProvider = {
|
||||||
getPermissions: async (params: any) => {
|
getPermissions: async (params: any) => {
|
||||||
return { success: true } satisfies AuthActionResponse
|
return { success: true } satisfies AuthActionResponse
|
||||||
},
|
},
|
||||||
getIdentity: async (params: any) => {
|
getIdentity: async (params: any) => {
|
||||||
return { id: "1", fullName: "John Doe", avatar: "https://via.placeholder.com/150" }
|
return { id: "1", fullName: "John Doe", avatar: "https://via.placeholder.com/150" }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue