Collapse filing sync notifications into one batch surface

This commit is contained in:
2026-03-14 19:32:09 -04:00
parent 61b072d31f
commit 0d6c684227
9 changed files with 1148 additions and 280 deletions

View File

@@ -199,6 +199,29 @@ export type TaskNotificationView = {
actions: TaskNotificationAction[];
};
export type TaskNotificationEntry = {
id: string;
kind: 'single' | 'filing_sync_batch';
status: TaskStatus;
title: string;
statusLine: string;
detailLine: string | null;
progress: TaskNotificationView['progress'];
stats: TaskNotificationStat[];
updatedAt: string;
primaryTaskId: string;
taskIds: string[];
actions: TaskNotificationAction[];
notificationReadAt: string | null;
notificationSilencedAt: string | null;
meta?: {
tickerCount: number;
runningCount: number;
queuedCount: number;
failureCount: number;
};
};
export type Task = {
id: string;
user_id: string;