Skip to content

Merge branch 'master' of github.com:atlas-bi/System #45

Merge branch 'master' of github.com:atlas-bi/System

Merge branch 'master' of github.com:atlas-bi/System #45

Triggered via push July 21, 2023 20:24
Status Failure
Total duration 2m 28s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

test.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

22 errors and 10 warnings
✓ ShellCheck
Process completed with exit code 1.
⚫️ Cypress
Process completed with exit code 1.
ʦ TypeScript: app/components/charts/DateFilter.tsx#L13
Binding element 'value' implicitly has an 'any' type.
ʦ TypeScript: app/components/charts/DateFilter.tsx#L13
Binding element 'onChange' implicitly has an 'any' type.
ʦ TypeScript: app/components/charts/driveBar.tsx#L1
Module '"@prisma/client"' has no exported member 'Usage'.
ʦ TypeScript: app/components/charts/driveBar.tsx#L63
Parameter 'context' implicitly has an 'any' type.
ʦ TypeScript: app/components/charts/driveBar.tsx#L198
Type 'RefObject<Chart<keyof ChartTypeRegistry, (number | [number, number] | Point | BubbleDataPoint | null)[], unknown>>' is not assignable to type 'ForwardedRef<ChartJSOrUndefined<"bar", (number | [number, number] | Point | BubbleDataPoint | null)[], unknown>> | undefined'.
ʦ TypeScript: app/components/charts/driveBar.tsx#L198
Type '{ responsive: boolean; maintainAspectRatio: boolean; animation: { duration: number; resize: { duration: number; }; active: { duration: number; }; }; plugins: { title: { display: boolean; }; legend: { display: boolean; }; tooltip: { ...; }; }; scales: { ...; }; }' is not assignable to type '_DeepPartialObject<CoreChartOptions<"bar"> & ElementChartOptions<"bar"> & PluginChartOptions<"bar"> & DatasetChartOptions<"bar"> & ScaleChartOptions<...> & BarControllerChartOptions>'.
ʦ TypeScript: app/components/charts/driveDoughnut.tsx#L104
Type 'RefObject<Chart<keyof ChartTypeRegistry, (number | [number, number] | Point | BubbleDataPoint | null)[], unknown>>' is not assignable to type 'ForwardedRef<ChartJSOrUndefined<"doughnut", (number | [number, number] | Point | BubbleDataPoint | null)[], unknown>> | undefined'.
ʦ TypeScript: app/components/charts/driveDoughnut.tsx#L115
Type '{ responsive: true; plugins: { tooltip: { enabled: false; }; legend: { display: false; }; }; centerText: () => number | "-1"; rotation: number; circumference: number; animation: { animateScale: false; animateRotate: true; }; redraw: true; cutout: string; transitions: { ...; }; }' is not assignable to type '_DeepPartialObject<CoreChartOptions<"doughnut"> & ElementChartOptions<"doughnut"> & PluginChartOptions<"doughnut"> & DatasetChartOptions<"doughnut"> & ScaleChartOptions<...> & DoughnutControllerChartOptions>'.
ʦ TypeScript: app/components/charts/driveDoughnut.tsx#L145
Property 'centerText' does not exist on type '_DeepPartialObject<CoreChartOptions<keyof ChartTypeRegistry> & ElementChartOptions<keyof ChartTypeRegistry> & PluginChartOptions<...> & DatasetChartOptions<...> & ScaleChartOptions<...>>'.
ʦ TypeScript: app/components/nav/NewMonitor.tsx#L36
Argument of type '{}' is not assignable to parameter of type '(GetResult<{ id: string; createdAt: Date; updatedAt: Date; name: string; type: string; smtpPort: string | null; smtpUsername: string | null; smtpHost: string | null; smtpPassword: string | null; ... 9 more ...; tgProtectMessage: boolean | null; }, unknown> & {}) | (() => GetResult<...> & {})'.
⬣ ESLint: app/components/charts/DateFilter.tsx#L5
'SelectItem' is defined but never used
⬣ ESLint: app/components/charts/driveBar.tsx#L32
Import in body of module; reorder to top
⬣ ESLint: app/components/charts/driveBar.tsx#L33
Import in body of module; reorder to top
⬣ ESLint: app/components/charts/driveBar.tsx#L33
'H2' is defined but never used
⬣ ESLint: app/components/charts/driveBar.tsx#L34
Import in body of module; reorder to top
⬣ ESLint: app/components/charts/driveBar.tsx#L35
Import in body of module; reorder to top
⬣ ESLint: app/components/charts/driveDoughnut.tsx#L23
'drawTotals' is defined but never used
⬣ ESLint: app/components/logTable/table.tsx#L15
'getPaginationRowModel' is defined but never used
⬣ ESLint: app/components/logTable/table.tsx#L31
'MonitorLogs' is defined but never used
⬣ ESLint: app/components/logTable/table.tsx#L38
'DataTableProps' is defined but never used
⬣ ESLint: app/components/charts/driveBar.tsx#L4
Import "ChartData" is only used as types
⬣ ESLint: app/components/charts/driveBar.tsx#L111
React Hook useEffect has missing dependencies: 'url' and 'usageFetcher'. Either include them or remove the dependency array
⬣ ESLint: app/components/charts/driveBar.tsx#L117
React Hook useEffect has a missing dependency: 'emptyDataset'. Either include it or remove the dependency array
⬣ ESLint: app/components/charts/driveBar.tsx#L172
React Hook useEffect has a missing dependency: 'getOptions'. Either include it or remove the dependency array
⬣ ESLint: app/components/charts/driveDoughnut.tsx#L3
Import "ChartData" is only used as types
⬣ ESLint: app/components/charts/driveDoughnut.tsx#L99
React Hook useEffect has a missing dependency: 'data'. Either include it or remove the dependency array
⬣ ESLint: app/components/charts/functions.tsx#L1
All imports in the declaration are only used as types. Use `import type`
⬣ ESLint: app/components/logTable/pagination.tsx#L7
All imports in the declaration are only used as types. Use `import type`
⬣ ESLint: app/components/logTable/table.tsx#L4
Imports "ColumnDef", "ColumnFiltersState", "PaginationState", "SortingState" and "VisibilityState" are only used as types
⬣ ESLint: app/components/logTable/table.tsx#L71
React Hook useEffect has missing dependencies: 'logsFetcher', 'pageIndex', 'pageSize', and 'url'. Either include them or remove the dependency array