fix: update DocumentsFilters type definitions and complete migration cleanup

- Updated type definitions in DocumentsFilters to use DocumentTypeEnum
- Fixed type consistency across activeTypes and onToggleType props
- Final cleanup of DocumentsTable migration to React Query
This commit is contained in:
CREDO23 2025-12-08 09:49:03 +00:00
parent e7982ead4e
commit b8d629da71
4 changed files with 84 additions and 233 deletions

View file

@ -32,7 +32,7 @@ import {
TableRow,
} from "@/components/ui/table";
import { getConnectorIcon } from "@/contracts/enums/connectorIcons";
import { type Document, type DocumentType, useDocuments } from "@/hooks/use-documents";
import { type Document, type DocumentType } from "@/hooks/use-documents";
import { documentsApiService } from "@/lib/apis/documents-api.service";
import { cacheKeys } from "@/lib/query-client/cache-keys";
import { DocumentTypeEnum } from "@/contracts/types/document.types";