Skip to content

Commit 7a8a5c7

Browse files
committed
chore(webapp): format batch trigger item logging
1 parent a978755 commit 7a8a5c7

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

apps/webapp/app/v3/services/batchTriggerV3.server.ts

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,11 @@ function chunkArray<T>(items: T[], size: number): T[][] {
4747
// Summarizes a task-identifier -> items grouping for logging, without including the items
4848
// themselves (each item is `{ task, payload, options }`, and `options.metadata` is arbitrary
4949
// customer data that must never be written to logs whole).
50-
export function summarizeItemsByTask(
51-
itemsByTask: Record<string, unknown[]>
52-
): { taskIdentifiers: string[]; itemCountsByTask: Record<string, number>; totalItemCount: number } {
50+
export function summarizeItemsByTask(itemsByTask: Record<string, unknown[]>): {
51+
taskIdentifiers: string[];
52+
itemCountsByTask: Record<string, number>;
53+
totalItemCount: number;
54+
} {
5355
const itemCountsByTask: Record<string, number> = {};
5456
let totalItemCount = 0;
5557

0 commit comments

Comments
 (0)