Merge pull request #4 from langflow-ai/copilot/fix-bb2831f2-f336-43cc-9076-bf11e5cd5e1c
Fix TypeScript build errors in frontend navigation component
This commit is contained in:
commit
85d527f757
1 changed files with 2 additions and 1 deletions
|
|
@ -20,6 +20,7 @@ interface ConversationData {
|
||||||
messages: ConversationMessage[]
|
messages: ConversationMessage[]
|
||||||
endpoint: EndpointType
|
endpoint: EndpointType
|
||||||
response_id: string
|
response_id: string
|
||||||
|
title: string
|
||||||
[key: string]: unknown
|
[key: string]: unknown
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -32,7 +33,7 @@ interface ChatContextType {
|
||||||
chat: string | null
|
chat: string | null
|
||||||
langflow: 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
|
refreshConversations: () => void
|
||||||
refreshTrigger: number
|
refreshTrigger: number
|
||||||
loadConversation: (conversation: ConversationData) => void
|
loadConversation: (conversation: ConversationData) => void
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue