Fix TypeScript errors in frontend build
Co-authored-by: phact <1313220+phact@users.noreply.github.com>
This commit is contained in:
parent
434b2779e8
commit
40840fc0b5
1 changed files with 2 additions and 1 deletions
|
|
@ -20,6 +20,7 @@ interface ConversationData {
|
|||
messages: ConversationMessage[]
|
||||
endpoint: EndpointType
|
||||
response_id: string
|
||||
title: string
|
||||
[key: string]: unknown
|
||||
}
|
||||
|
||||
|
|
@ -32,7 +33,7 @@ interface ChatContextType {
|
|||
chat: string | null
|
||||
langflow: string | null
|
||||
}
|
||||
setPreviousResponseIds: (ids: { chat: string | null; langflow: string | null }) => void
|
||||
setPreviousResponseIds: (ids: { chat: string | null; langflow: string | null } | ((prev: { chat: string | null; langflow: string | null }) => { chat: string | null; langflow: string | null })) => void
|
||||
refreshConversations: () => void
|
||||
refreshTrigger: number
|
||||
loadConversation: (conversation: ConversationData) => void
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue