From a146ed9886a94d0c6c257bb5ebbaa503bf9ebccc Mon Sep 17 00:00:00 2001 From: Dallin Romney Date: Fri, 6 Dec 2024 17:37:45 -0800 Subject: [PATCH] remove duplicate tiptap jsoncontent typ --- core/index.d.ts | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) diff --git a/core/index.d.ts b/core/index.d.ts index 9fac83018..39a920499 100644 --- a/core/index.d.ts +++ b/core/index.d.ts @@ -417,23 +417,10 @@ interface ToolCallState { output?: ContextItem[]; } -export type TipTapJsonContent = { - type?: string; - attrs?: Record; - content?: TipTapJsonContent[]; - marks?: { - type: string; - attrs?: Record; - [key: string]: any; - }[]; - text?: string; - [key: string]: any; -}; - export interface ChatHistoryItem { message: ChatMessage; contextItems: ContextItemWithId[]; - editorState?: TipTapJsonContent; + editorState?: any; modifiers?: InputModifiers; promptLogs?: PromptLog[]; toolCallState?: ToolCallState;