Merge branch 'ft-dashboard-stats-v1' of github.com:parlemonde/1villag… #3587
Annotations
10 errors and 2 warnings
src/components/WorldMap/WorldMap.tsx#L171
No overload matches this call.
|
src/components/admin/dashboard-statistics/CountryStats.tsx#L74
Type '{ totalPublications: number; totalComments: number; totalVideos: number; className: string; }' is not assignable to type 'IntrinsicAttributes & ClassesExchangesCardProps'.
|
src/components/admin/dashboard-statistics/CountryStats.tsx#L76
Type '{ barChartData: { data: number[]; }[]; className: string; }' is not assignable to type 'IntrinsicAttributes & Props & { children?: ReactNode; }'.
|
src/components/admin/dashboard-statistics/charts/BarCharts.tsx#L27
Type '{ scaleType: "band"; data: string[]; colorMap: { type: string; thresholds: Date[]; colors: string[]; }; }' is not assignable to type 'MakeOptional<AxisConfig<ScaleName, any>, "id">'.
|
src/components/admin/dashboard-statistics/charts/HorizontalChart.tsx#L6
'ClassroomExchangesStats' is declared but its value is never read.
|
src/components/admin/dashboard-statistics/charts/HorizontalChart.tsx#L6
An import path cannot end with a '.ts' extension. Consider importing 'src/api/statistics/statistics.get.js' instead.
|
src/components/admin/dashboard-statistics/charts/HorizontalChart.tsx#L19
Variable 'dataset' implicitly has type 'any[]' in some locations where its type cannot be determined.
|
src/components/admin/dashboard-statistics/charts/HorizontalChart.tsx#L28
All destructured elements are unused.
|
src/components/admin/dashboard-statistics/charts/HorizontalChart.tsx#L33
Variable 'dataset' implicitly has an 'any[]' type.
|
src/components/admin/dashboard-statistics/logRequests.tsx#L7
An import path cannot end with a '.ts' extension. Consider importing './../../../api/statistics/statistics.get.js' instead.
|
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/setup-node@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
This job failed
Loading