remove duplicate tiptap jsoncontent typ

This commit is contained in:
Dallin Romney 2024-12-06 17:37:45 -08:00
parent 17c384e168
commit a146ed9886

15
core/index.d.ts vendored
View file

@ -417,23 +417,10 @@ interface ToolCallState {
output?: ContextItem[];
}
export type TipTapJsonContent = {
type?: string;
attrs?: Record<string, any>;
content?: TipTapJsonContent[];
marks?: {
type: string;
attrs?: Record<string, any>;
[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;