sunny-green
sunny-green2mo 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
flat-fuchsia
flat-fuchsia2mo 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";
genetic-orange
genetic-orange2mo ago
thanks!

Did you find this page helpful?