stormy-gold
stormy-gold9mo 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
conservative-teal
conservative-teal9mo 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";
xenial-black
xenial-black9mo ago
thanks!

Did you find this page helpful?