Skip to content

fix(ssh): try to force windows ssh connections to close #39

fix(ssh): try to force windows ssh connections to close

fix(ssh): try to force windows ssh connections to close #39

Triggered via push July 20, 2023 13:55
Status Failure
Total duration 2m 13s
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/driveBar.tsx#L1
Module '"@prisma/client"' has no exported member 'Usage'.
ʦ TypeScript: app/components/charts/driveBar.tsx#L122
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#L122
Type '{ responsive: boolean; plugins: { title: { display: boolean; text: string; }; }; scales: { y: { type: "linear"; display: boolean; position: "left"; beginAtZero: boolean; ticks: { callback: (value: string) => string; }; stacked: boolean; }; x: { ...; }; }; }' 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#L35
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<...> & {})'.
ʦ TypeScript: app/components/nav/NewMonitor.tsx#L39
Argument of type '{}' is not assignable to parameter of type 'SetStateAction<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> & {}>'.
ʦ TypeScript: app/components/nav/NewMonitor.tsx#L114
Argument of type '{ host: string; 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; }' is not assignable to parameter of type 'SetStateAction<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> & {}>'.
ʦ TypeScript: app/components/nav/NewMonitor.tsx#L126
Argument of type '{ port: number; 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; }' is not assignable to parameter of type 'SetStateAction<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> & {}>'.
⬣ 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/nav/UserNav.tsx#L2
'/home/runner/work/System/System/node_modules/@remix-run/react/dist/esm/index.js' imported multiple times
⬣ ESLint: app/components/nav/UserNav.tsx#L3
'/home/runner/work/System/System/node_modules/@remix-run/react/dist/esm/index.js' imported multiple times
⬣ ESLint: app/components/nav/UserNav.tsx#L4
'/home/runner/work/System/System/node_modules/@remix-run/react/dist/esm/index.js' imported multiple times
⬣ ESLint: app/components/table/data-table-toolbar.tsx#L19
'DataTableFacetedFilter' is defined but never used
⬣ ESLint: app/components/ui/multiselect.tsx#L9
'CommandEmpty' is defined but never used
⬣ ESLint: app/models/monitor.server.ts#L2
'User' is defined but never used
⬣ ESLint: app/components/charts/driveBar.tsx#L5
Import "ChartData" is only used as types
⬣ 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#L64
React Hook useEffect has missing dependencies: 'logsFetcher' and 'url'. Either include them or remove the dependency array
⬣ ESLint: app/components/nav/UserNav.tsx#L36
React Hook useEffect has missing dependencies: 'activeUser' and 'user.slug'. Either include them or remove the dependency array. You can also do a functional update 'setActiveUser(a => ...)' if you only need 'activeUser' in the 'setActiveUser' call
⬣ ESLint: app/components/nav/notificationForms/smpt.tsx#L13
All imports in the declaration are only used as types. Use `import type`
⬣ ESLint: app/components/nav/notificationForms/smpt.tsx#L15
All imports in the declaration are only used as types. Use `import type`