feat: Display document reindexing status in the sidebar by adding document ID to logs

This commit is contained in:
Anish Sarkar 2025-12-28 01:07:42 +05:30
parent 2570360079
commit 8b10b0cd24
5 changed files with 33 additions and 4 deletions

View file

@ -85,6 +85,7 @@ export const logActiveTask = z.object({
message: z.string(),
started_at: z.string(),
source: z.string().nullable().optional(),
document_id: z.number().nullable().optional(),
});
export const logFailure = z.object({
id: z.number(),