chore: updating typescript and api-reports

Signed-off-by: blam <ben@blam.sh>
This commit is contained in:
blam
2021-07-22 17:06:12 +02:00
parent 23951608ba
commit a9ce6d8892
8 changed files with 16 additions and 16 deletions
+2 -2
View File
@@ -11,7 +11,7 @@ import { Breadcrumbs as Breadcrumbs_2 } from '@material-ui/core';
import { ButtonProps } from '@material-ui/core';
import { ButtonTypeMap } from '@material-ui/core';
import { CardHeaderProps } from '@material-ui/core';
import { Column } from 'material-table';
import { Column } from '@material-table/core';
import { CommonProps } from '@material-ui/core/OverridableComponent';
import { ComponentClass } from 'react';
import { ComponentProps } from 'react';
@@ -26,7 +26,7 @@ import { IconComponent } from '@backstage/core-plugin-api';
import { LinearProgressProps } from '@material-ui/core';
import { LinkProps as LinkProps_2 } from '@material-ui/core';
import { LinkProps as LinkProps_3 } from 'react-router-dom';
import { MaterialTableProps } from 'material-table';
import { MaterialTableProps } from '@material-table/core';
import { NavLinkProps } from 'react-router-dom';
import { ProfileInfoApi } from '@backstage/core-plugin-api';
import { PropsWithChildren } from 'react';
@@ -219,10 +219,10 @@ export const BitriseBuildsTable = ({
}}
totalCount={builds.value?.paging?.total_item_count || 0}
page={page}
onChangePage={pageIndex => {
onPageChange={pageIndex => {
handleChangePage(pageIndex, builds.value?.paging?.next);
}}
onChangeRowsPerPage={handleChangeRowsPerPage}
onRowsPerPageChange={handleChangeRowsPerPage}
columns={columns}
data={builds.value?.data || []}
onSearchChange={(searchTerm: string) =>
@@ -260,8 +260,8 @@ export const CITable = ({
},
]}
data={builds}
onChangePage={onChangePage}
onChangeRowsPerPage={onChangePageSize}
onPageChange={onChangePage}
onRowsPerPageChange={onChangePageSize}
title={
<Box display="flex" alignItems="center">
<GitHubIcon />
@@ -138,8 +138,8 @@ export const WorkflowRunsTableView = ({
},
]}
data={runs ?? []}
onChangePage={onChangePage}
onChangeRowsPerPage={onChangePageSize}
onPageChange={onChangePage}
onRowsPerPageChange={onChangePageSize}
style={{ width: '100%' }}
title={
<Box display="flex" alignItems="center">
@@ -130,8 +130,8 @@ export const WorkflowRunsTableView = ({
},
]}
data={runs ?? []}
onChangePage={onChangePage}
onChangeRowsPerPage={onChangePageSize}
onPageChange={onChangePage}
onRowsPerPageChange={onChangePageSize}
style={{ width: '100%' }}
title={
<Box display="flex" alignItems="center">
@@ -253,8 +253,8 @@ export const IncidentsTable = ({
}
page={tableState.page}
totalCount={incidentsCount}
onChangePage={onChangePage}
onChangeRowsPerPage={onChangeRowsPerPage}
onPageChange={onChangePage}
onRowsPerPageChange={onChangeRowsPerPage}
// localization={{ header: { actions: undefined } }}
columns={columns}
data={incidents}
@@ -165,8 +165,8 @@ export const UptimeMonitorsTable = ({
</Typography>
}
page={tableState.page}
onChangePage={onChangePage}
onChangeRowsPerPage={onChangeRowsPerPage}
onPageChange={onChangePage}
onRowsPerPageChange={onChangeRowsPerPage}
localization={{ header: { actions: undefined } }}
isLoading={isLoading}
columns={columns}
@@ -208,8 +208,8 @@ export const CITableView = ({
},
]}
data={projects ?? []}
onChangePage={onChangePage}
onChangeRowsPerPage={onChangePageSize}
onPageChange={onChangePage}
onRowsPerPageChange={onChangePageSize}
title={
<Box display="flex" alignItems="center">
<img src={JenkinsLogo} alt="Jenkins logo" height="50px" />