sunny-green
sunny-green4mo ago

Guys do we have type for dataprovider?

Guys do we have type for dataprovider? If we have, do we also have typings for filter, pagination, sorting properties?
2 Replies
reduced-jade
reduced-jade4mo ago
Hello @Onder, You can find types here: https://github.com/refinedev/refine/blob/main/packages/core/src/contexts/data/types.ts and you can import these types like this:
import {
DataProvider,
CrudFilters,
CrudSorting
} from "@refinedev/core";
import {
DataProvider,
CrudFilters,
CrudSorting
} from "@refinedev/core";
graceful-blue
graceful-blue4mo ago
thanks!

Did you find this page helpful?