Refactor: Continue implementation plan

This commit is contained in:
gpt-engineer-app[bot]
2025-10-21 12:56:53 +00:00
parent 74860c6774
commit 0d247d9fdd
10 changed files with 254 additions and 65 deletions

View File

@@ -21,7 +21,7 @@ import { getErrorMessage } from './errorHandler';
*/
export async function invokeWithTracking<T = any>(
functionName: string,
payload: Record<string, unknown> = {},
payload: any = {},
userId?: string,
parentRequestId?: string,
traceId?: string
@@ -71,7 +71,7 @@ export async function invokeWithTracking<T = any>(
export async function invokeBatchWithTracking<T = any>(
operations: Array<{
functionName: string;
payload: Record<string, unknown>;
payload: any;
}>,
userId?: string
): Promise<