From 99e61c967c12a63bc7c4bdb49b5e907509d9aec6 Mon Sep 17 00:00:00 2001 From: Nicolas Date: Sun, 2 Mar 2025 02:39:52 -0300 Subject: [PATCH] Update index.ts --- apps/js-sdk/firecrawl/src/index.ts | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) diff --git a/apps/js-sdk/firecrawl/src/index.ts b/apps/js-sdk/firecrawl/src/index.ts index afb0b4e0..4fae6010 100644 --- a/apps/js-sdk/firecrawl/src/index.ts +++ b/apps/js-sdk/firecrawl/src/index.ts @@ -389,14 +389,19 @@ export interface DeepResearchResponse { export interface DeepResearchStatusResponse { success: boolean; data: { - findings: Array<{ - text: string; - source: string; - }>; finalAnalysis: string; - analysis: string; - completedSteps: number; - totalSteps: number; + activities: Array<{ + type: string; + status: string; + message: string; + timestamp: string; + depth: number; + }>; + sources: Array<{ + url: string; + title: string; + description: string; + }>; }; status: "processing" | "completed" | "failed"; error?: string;