connect monitoring endpoints
This commit is contained in:
@@ -38,6 +38,7 @@ export type FileItem = {
|
||||
size?: number | undefined;
|
||||
uploadDate?: number;
|
||||
status?: string;
|
||||
monitoring: string;
|
||||
protectStatus: string;
|
||||
_original?: ApiFile;
|
||||
supportId: number;
|
||||
@@ -51,6 +52,7 @@ type ApiFile = {
|
||||
fileSize: number;
|
||||
updatedAt: string;
|
||||
status: string;
|
||||
monitoring: string;
|
||||
protectStatus: string;
|
||||
supportId: number;
|
||||
fileName: string;
|
||||
@@ -90,6 +92,7 @@ export default function TanstakFilesTable({ fileType }: { fileType: string }) {
|
||||
size: item.fileSize,
|
||||
uploadDate: newDate,
|
||||
status: item.status,
|
||||
monitoring: item.monitoring,
|
||||
protectStatus: item.protectStatus,
|
||||
supportId: item.supportId,
|
||||
_original: item
|
||||
@@ -370,7 +373,7 @@ export default function TanstakFilesTable({ fileType }: { fileType: string }) {
|
||||
enableColumnFilter: false,
|
||||
},
|
||||
{
|
||||
accessorKey: 'status',
|
||||
accessorKey: 'monitoring',
|
||||
header: ({ column }) => (
|
||||
<div className="column">
|
||||
<span>
|
||||
|
||||
Reference in New Issue
Block a user