remove duplicate tiptap jsoncontent typ
This commit is contained in:
parent
17c384e168
commit
a146ed9886
1 changed files with 1 additions and 14 deletions
15
core/index.d.ts
vendored
15
core/index.d.ts
vendored
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue