Merge branch 'zustand/io/migration' of github.com:logspace-ai/langflow into zustand/io/migration

This commit is contained in:
igorrCarvalho 2024-01-26 10:56:04 -03:00
commit fc1614c7c1
10 changed files with 31 additions and 60 deletions

View file

@ -34,7 +34,7 @@ export default function newChatView(): JSX.Element {
const inputTypes = inputs.map((obj) => obj.type);
const inputIds = inputs.map((obj) => obj.id);
const outputIds = outputs.map((obj) => obj.id)
const outputIds = outputs.map((obj) => obj.id);
//build chat history
useEffect(() => {

View file

@ -35,8 +35,8 @@ export type FlowPoolType = {
export type FlowStoreType = {
flowPool: FlowPoolType;
inputs: Array<{ type: string; id: string; }>;
outputs: Array<{ type: string; id: string; }>;
inputs: Array<{ type: string; id: string }>;
outputs: Array<{ type: string; id: string }>;
hasIO: boolean;
setFlowPool: (flowPool: FlowPoolType) => void;
addDataToFlowPool: (data: any, nodeId: string) => void;