Skip to content

[WIP] Add support for react-admin v5 #674

[WIP] Add support for react-admin v5

[WIP] Add support for react-admin v5 #674

Triggered via push July 2, 2024 16:05
Status Failure
Total duration 1m 33s
Artifacts

ci.yml

on: push
Continuous integration
1m 24s
Continuous integration
Fit to window
Zoom out
Zoom in

Annotations

10 errors
Continuous integration: src/FieldGuesser.tsx#L165
Type '({ fields, readableFields, writableFields, schema, schemaAnalyzer, ...props }: IntrospectedFieldGuesserProps) => React.JSX.Element | null' is not assignable to type 'ComponentType<IntrospectedGuesserProps>'.
Continuous integration: src/Introspecter.tsx#L109
Property 'isIdle' does not exist on type 'DefinedQueryObserverResult<IntrospectPayload, Error> | QueryObserverLoadingErrorResult<IntrospectPayload, Error> | QueryObserverPendingResult<...>'.
Continuous integration: src/Introspecter.tsx#L109
Property 'isIdle' does not exist on type 'UseQueryResult<IntrospectPayload, Error>'.
Continuous integration: src/dataProvider/restDataProvider.ts#L16
Property 'page' does not exist on type 'PaginationPayload | undefined'.
Continuous integration: src/dataProvider/restDataProvider.ts#L16
Property 'perPage' does not exist on type 'PaginationPayload | undefined'.
Continuous integration: src/dataProvider/restDataProvider.ts#L17
Property 'field' does not exist on type 'SortPayload | undefined'.
Continuous integration: src/dataProvider/restDataProvider.ts#L17
Property 'order' does not exist on type 'SortPayload | undefined'.
Continuous integration: src/dataProvider/useUpdateCache.ts#L3
Cannot find module 'react-query' or its corresponding type declarations.
Continuous integration: 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'.
Continuous integration: src/hydra/dataProvider.ts#L385
Property 'page' does not exist on type 'PaginationPayload | undefined'.