fix: minor type adjustments and cleanup

- Added missing Document type export
- Fixed typeCounts usage in DocumentsTable
- Minor formatting adjustments in DocumentsDataTable
This commit is contained in:
CREDO23 2025-12-08 10:18:21 +00:00
parent ede7020b61
commit 55502579e1
3 changed files with 9 additions and 11 deletions

View file

@ -161,6 +161,7 @@ export const deleteDocumentResponse = z.object({
message: z.literal("Document deleted successfully"),
});
export type Document = z.infer<typeof document>
export type GetDocumentsRequest = z.infer<typeof getDocumentsRequest>;
export type GetDocumentsResponse = z.infer<typeof getDocumentsResponse>;
export type GetDocumentRequest = z.infer<typeof getDocumentRequest>;