[WIP] Add support for react-admin v5 #674
Annotations
10 errors
src/FieldGuesser.tsx#L165
Type '({ fields, readableFields, writableFields, schema, schemaAnalyzer, ...props }: IntrospectedFieldGuesserProps) => React.JSX.Element | null' is not assignable to type 'ComponentType<IntrospectedGuesserProps>'.
|
src/Introspecter.tsx#L109
Property 'isIdle' does not exist on type 'DefinedQueryObserverResult<IntrospectPayload, Error> | QueryObserverLoadingErrorResult<IntrospectPayload, Error> | QueryObserverPendingResult<...>'.
|
src/Introspecter.tsx#L109
Property 'isIdle' does not exist on type 'UseQueryResult<IntrospectPayload, Error>'.
|
src/dataProvider/restDataProvider.ts#L16
Property 'page' does not exist on type 'PaginationPayload | undefined'.
|
src/dataProvider/restDataProvider.ts#L16
Property 'perPage' does not exist on type 'PaginationPayload | undefined'.
|
src/dataProvider/restDataProvider.ts#L17
Property 'field' does not exist on type 'SortPayload | undefined'.
|
src/dataProvider/restDataProvider.ts#L17
Property 'order' does not exist on type 'SortPayload | undefined'.
|
src/dataProvider/useUpdateCache.ts#L3
Cannot find module 'react-query' or its corresponding type declarations.
|
src/getRoutesAndResourcesFromNodes.tsx#L56
Argument of type 'ReactNode | Iterable<ReactNode | RenderResourcesFunction>' is not assignable to parameter of type 'string | number | boolean | ReactElement<any, string | JSXElementConstructor<any>> | Iterable<ReactNode> | ... 4 more ... | undefined'.
|
src/hydra/dataProvider.ts#L385
Property 'page' does not exist on type 'PaginationPayload | undefined'.
|
This job failed
Loading