From 1f63b3158498b9451a4d7619f62b2a467be9b039 Mon Sep 17 00:00:00 2001 From: Lucas Oliveira Date: Thu, 2 Mar 2023 10:10:51 -0300 Subject: [PATCH] changed position of files --- {space_flow => langflow/frontend}/.gitignore | 0 {space_flow => langflow/frontend}/README.md | 0 {space_flow => langflow/frontend}/package-lock.json | 0 {space_flow => langflow/frontend}/package.json | 0 {space_flow => langflow/frontend}/public/index.html | 0 {space_flow => langflow/frontend}/src/App.css | 0 {space_flow => langflow/frontend}/src/App.tsx | 0 .../frontend}/src/CustomNodes/BooleanNode/index.tsx | 0 .../frontend}/src/CustomNodes/ChatInputNode/index.tsx | 0 .../src/CustomNodes/ChatOutputNode/index.tsx | 0 .../components/parameterComponent/index.tsx | 0 .../frontend}/src/CustomNodes/GenericNode/index.tsx | 0 .../frontend}/src/CustomNodes/InputNode/index.tsx | 0 .../components/singleAlertComponent/index.tsx | 0 .../frontend}/src/alerts/alertDropDown/index.tsx | 0 .../frontend}/src/alerts/error/index.tsx | 0 .../frontend}/src/alerts/notice/index.tsx | 0 .../frontend}/src/alerts/success/index.tsx | 0 .../src/components/ExtraSidebarComponent/index.tsx | 0 .../src/components/HeaderComponent/index.tsx | 0 .../src/components/LightTooltipComponent/index.tsx | 0 .../src/components/SidebarComponent/index.tsx | 0 .../SidebarComponent/sidebarButton/index.tsx | 0 .../src/components/TooltipComponent/index.tsx | 0 .../src/components/breadcrumbComponent/index.tsx | 0 .../frontend}/src/components/chatComponent/index.tsx | 0 .../src/components/dropdownComponent/index.tsx | 0 .../frontend}/src/components/inputComponent/index.tsx | 0 .../src/components/inputListComponent/index.tsx | 0 .../src/components/loadingComponent/index.tsx | 0 .../src/components/textAreaComponent/index.tsx | 0 .../src/components/toggleComponent/index.tsx | 0 .../frontend}/src/contexts/alertContext.tsx | 0 .../frontend}/src/contexts/darkContext.tsx | 0 .../frontend}/src/contexts/index.tsx | 0 .../frontend}/src/contexts/locationContext.tsx | 0 .../frontend}/src/contexts/popUpContext.tsx | 0 .../frontend}/src/contexts/tabsContext.tsx | 0 .../frontend}/src/contexts/typesContext.tsx | 0 .../frontend}/src/entities/apiEnum.ts | 0 .../frontend}/src/entities/sidebarNav.ts | 0 {space_flow => langflow/frontend}/src/index.css | 0 {space_flow => langflow/frontend}/src/index.tsx | 0 {space_flow => langflow/frontend}/src/logo.svg | 0 .../frontend}/src/modals/textAreaModal/index.tsx | 0 .../components/ConnectionLineComponent/index.tsx | 0 .../FlowPage/components/DisclosureComponent/index.tsx | 0 .../components/extraSidebarComponent/index.tsx | 0 .../pages/FlowPage/components/tabComponent/index.tsx | 0 .../components/tabsManagerComponent/index.tsx | 0 .../frontend}/src/pages/FlowPage/index.tsx | 0 .../frontend}/src/reportWebVitals.ts | 0 .../frontend}/src/types/alerts/index.ts | 0 .../frontend}/src/types/api/index.ts | 0 .../frontend}/src/types/chat/index.ts | 0 .../frontend}/src/types/components/index.ts | 3 +-- .../frontend}/src/types/entities/index.ts | 0 .../frontend}/src/types/flow/index.ts | 2 +- .../frontend}/src/types/tabs/index.ts | 0 .../frontend}/src/types/typesContext/index.ts | 0 {space_flow => langflow/frontend}/src/utils.ts | 0 {space_flow => langflow/frontend}/tailwind.config.js | 0 {space_flow => langflow/frontend}/tsconfig.json | 0 space_flow/src/controllers/NodesServices/index.ts | 11 ----------- 64 files changed, 2 insertions(+), 14 deletions(-) rename {space_flow => langflow/frontend}/.gitignore (100%) rename {space_flow => langflow/frontend}/README.md (100%) rename {space_flow => langflow/frontend}/package-lock.json (100%) rename {space_flow => langflow/frontend}/package.json (100%) rename {space_flow => langflow/frontend}/public/index.html (100%) rename {space_flow => langflow/frontend}/src/App.css (100%) rename {space_flow => langflow/frontend}/src/App.tsx (100%) rename {space_flow => langflow/frontend}/src/CustomNodes/BooleanNode/index.tsx (100%) rename {space_flow => langflow/frontend}/src/CustomNodes/ChatInputNode/index.tsx (100%) rename {space_flow => langflow/frontend}/src/CustomNodes/ChatOutputNode/index.tsx (100%) rename {space_flow => langflow/frontend}/src/CustomNodes/GenericNode/components/parameterComponent/index.tsx (100%) rename {space_flow => langflow/frontend}/src/CustomNodes/GenericNode/index.tsx (100%) rename {space_flow => langflow/frontend}/src/CustomNodes/InputNode/index.tsx (100%) rename {space_flow => langflow/frontend}/src/alerts/alertDropDown/components/singleAlertComponent/index.tsx (100%) rename {space_flow => langflow/frontend}/src/alerts/alertDropDown/index.tsx (100%) rename {space_flow => langflow/frontend}/src/alerts/error/index.tsx (100%) rename {space_flow => langflow/frontend}/src/alerts/notice/index.tsx (100%) rename {space_flow => langflow/frontend}/src/alerts/success/index.tsx (100%) rename {space_flow => langflow/frontend}/src/components/ExtraSidebarComponent/index.tsx (100%) rename {space_flow => langflow/frontend}/src/components/HeaderComponent/index.tsx (100%) rename {space_flow => langflow/frontend}/src/components/LightTooltipComponent/index.tsx (100%) rename {space_flow => langflow/frontend}/src/components/SidebarComponent/index.tsx (100%) rename {space_flow => langflow/frontend}/src/components/SidebarComponent/sidebarButton/index.tsx (100%) rename {space_flow => langflow/frontend}/src/components/TooltipComponent/index.tsx (100%) rename {space_flow => langflow/frontend}/src/components/breadcrumbComponent/index.tsx (100%) rename {space_flow => langflow/frontend}/src/components/chatComponent/index.tsx (100%) rename {space_flow => langflow/frontend}/src/components/dropdownComponent/index.tsx (100%) rename {space_flow => langflow/frontend}/src/components/inputComponent/index.tsx (100%) rename {space_flow => langflow/frontend}/src/components/inputListComponent/index.tsx (100%) rename {space_flow => langflow/frontend}/src/components/loadingComponent/index.tsx (100%) rename {space_flow => langflow/frontend}/src/components/textAreaComponent/index.tsx (100%) rename {space_flow => langflow/frontend}/src/components/toggleComponent/index.tsx (100%) rename {space_flow => langflow/frontend}/src/contexts/alertContext.tsx (100%) rename {space_flow => langflow/frontend}/src/contexts/darkContext.tsx (100%) rename {space_flow => langflow/frontend}/src/contexts/index.tsx (100%) rename {space_flow => langflow/frontend}/src/contexts/locationContext.tsx (100%) rename {space_flow => langflow/frontend}/src/contexts/popUpContext.tsx (100%) rename {space_flow => langflow/frontend}/src/contexts/tabsContext.tsx (100%) rename {space_flow => langflow/frontend}/src/contexts/typesContext.tsx (100%) rename {space_flow => langflow/frontend}/src/entities/apiEnum.ts (100%) rename {space_flow => langflow/frontend}/src/entities/sidebarNav.ts (100%) rename {space_flow => langflow/frontend}/src/index.css (100%) rename {space_flow => langflow/frontend}/src/index.tsx (100%) rename {space_flow => langflow/frontend}/src/logo.svg (100%) rename {space_flow => langflow/frontend}/src/modals/textAreaModal/index.tsx (100%) rename {space_flow => langflow/frontend}/src/pages/FlowPage/components/ConnectionLineComponent/index.tsx (100%) rename {space_flow => langflow/frontend}/src/pages/FlowPage/components/DisclosureComponent/index.tsx (100%) rename {space_flow => langflow/frontend}/src/pages/FlowPage/components/extraSidebarComponent/index.tsx (100%) rename {space_flow => langflow/frontend}/src/pages/FlowPage/components/tabComponent/index.tsx (100%) rename {space_flow => langflow/frontend}/src/pages/FlowPage/components/tabsManagerComponent/index.tsx (100%) rename {space_flow => langflow/frontend}/src/pages/FlowPage/index.tsx (100%) rename {space_flow => langflow/frontend}/src/reportWebVitals.ts (100%) rename {space_flow => langflow/frontend}/src/types/alerts/index.ts (100%) rename {space_flow => langflow/frontend}/src/types/api/index.ts (100%) rename {space_flow => langflow/frontend}/src/types/chat/index.ts (100%) rename {space_flow => langflow/frontend}/src/types/components/index.ts (92%) rename {space_flow => langflow/frontend}/src/types/entities/index.ts (100%) rename {space_flow => langflow/frontend}/src/types/flow/index.ts (88%) rename {space_flow => langflow/frontend}/src/types/tabs/index.ts (100%) rename {space_flow => langflow/frontend}/src/types/typesContext/index.ts (100%) rename {space_flow => langflow/frontend}/src/utils.ts (100%) rename {space_flow => langflow/frontend}/tailwind.config.js (100%) rename {space_flow => langflow/frontend}/tsconfig.json (100%) delete mode 100644 space_flow/src/controllers/NodesServices/index.ts diff --git a/space_flow/.gitignore b/langflow/frontend/.gitignore similarity index 100% rename from space_flow/.gitignore rename to langflow/frontend/.gitignore diff --git a/space_flow/README.md b/langflow/frontend/README.md similarity index 100% rename from space_flow/README.md rename to langflow/frontend/README.md diff --git a/space_flow/package-lock.json b/langflow/frontend/package-lock.json similarity index 100% rename from space_flow/package-lock.json rename to langflow/frontend/package-lock.json diff --git a/space_flow/package.json b/langflow/frontend/package.json similarity index 100% rename from space_flow/package.json rename to langflow/frontend/package.json diff --git a/space_flow/public/index.html b/langflow/frontend/public/index.html similarity index 100% rename from space_flow/public/index.html rename to langflow/frontend/public/index.html diff --git a/space_flow/src/App.css b/langflow/frontend/src/App.css similarity index 100% rename from space_flow/src/App.css rename to langflow/frontend/src/App.css diff --git a/space_flow/src/App.tsx b/langflow/frontend/src/App.tsx similarity index 100% rename from space_flow/src/App.tsx rename to langflow/frontend/src/App.tsx diff --git a/space_flow/src/CustomNodes/BooleanNode/index.tsx b/langflow/frontend/src/CustomNodes/BooleanNode/index.tsx similarity index 100% rename from space_flow/src/CustomNodes/BooleanNode/index.tsx rename to langflow/frontend/src/CustomNodes/BooleanNode/index.tsx diff --git a/space_flow/src/CustomNodes/ChatInputNode/index.tsx b/langflow/frontend/src/CustomNodes/ChatInputNode/index.tsx similarity index 100% rename from space_flow/src/CustomNodes/ChatInputNode/index.tsx rename to langflow/frontend/src/CustomNodes/ChatInputNode/index.tsx diff --git a/space_flow/src/CustomNodes/ChatOutputNode/index.tsx b/langflow/frontend/src/CustomNodes/ChatOutputNode/index.tsx similarity index 100% rename from space_flow/src/CustomNodes/ChatOutputNode/index.tsx rename to langflow/frontend/src/CustomNodes/ChatOutputNode/index.tsx diff --git a/space_flow/src/CustomNodes/GenericNode/components/parameterComponent/index.tsx b/langflow/frontend/src/CustomNodes/GenericNode/components/parameterComponent/index.tsx similarity index 100% rename from space_flow/src/CustomNodes/GenericNode/components/parameterComponent/index.tsx rename to langflow/frontend/src/CustomNodes/GenericNode/components/parameterComponent/index.tsx diff --git a/space_flow/src/CustomNodes/GenericNode/index.tsx b/langflow/frontend/src/CustomNodes/GenericNode/index.tsx similarity index 100% rename from space_flow/src/CustomNodes/GenericNode/index.tsx rename to langflow/frontend/src/CustomNodes/GenericNode/index.tsx diff --git a/space_flow/src/CustomNodes/InputNode/index.tsx b/langflow/frontend/src/CustomNodes/InputNode/index.tsx similarity index 100% rename from space_flow/src/CustomNodes/InputNode/index.tsx rename to langflow/frontend/src/CustomNodes/InputNode/index.tsx diff --git a/space_flow/src/alerts/alertDropDown/components/singleAlertComponent/index.tsx b/langflow/frontend/src/alerts/alertDropDown/components/singleAlertComponent/index.tsx similarity index 100% rename from space_flow/src/alerts/alertDropDown/components/singleAlertComponent/index.tsx rename to langflow/frontend/src/alerts/alertDropDown/components/singleAlertComponent/index.tsx diff --git a/space_flow/src/alerts/alertDropDown/index.tsx b/langflow/frontend/src/alerts/alertDropDown/index.tsx similarity index 100% rename from space_flow/src/alerts/alertDropDown/index.tsx rename to langflow/frontend/src/alerts/alertDropDown/index.tsx diff --git a/space_flow/src/alerts/error/index.tsx b/langflow/frontend/src/alerts/error/index.tsx similarity index 100% rename from space_flow/src/alerts/error/index.tsx rename to langflow/frontend/src/alerts/error/index.tsx diff --git a/space_flow/src/alerts/notice/index.tsx b/langflow/frontend/src/alerts/notice/index.tsx similarity index 100% rename from space_flow/src/alerts/notice/index.tsx rename to langflow/frontend/src/alerts/notice/index.tsx diff --git a/space_flow/src/alerts/success/index.tsx b/langflow/frontend/src/alerts/success/index.tsx similarity index 100% rename from space_flow/src/alerts/success/index.tsx rename to langflow/frontend/src/alerts/success/index.tsx diff --git a/space_flow/src/components/ExtraSidebarComponent/index.tsx b/langflow/frontend/src/components/ExtraSidebarComponent/index.tsx similarity index 100% rename from space_flow/src/components/ExtraSidebarComponent/index.tsx rename to langflow/frontend/src/components/ExtraSidebarComponent/index.tsx diff --git a/space_flow/src/components/HeaderComponent/index.tsx b/langflow/frontend/src/components/HeaderComponent/index.tsx similarity index 100% rename from space_flow/src/components/HeaderComponent/index.tsx rename to langflow/frontend/src/components/HeaderComponent/index.tsx diff --git a/space_flow/src/components/LightTooltipComponent/index.tsx b/langflow/frontend/src/components/LightTooltipComponent/index.tsx similarity index 100% rename from space_flow/src/components/LightTooltipComponent/index.tsx rename to langflow/frontend/src/components/LightTooltipComponent/index.tsx diff --git a/space_flow/src/components/SidebarComponent/index.tsx b/langflow/frontend/src/components/SidebarComponent/index.tsx similarity index 100% rename from space_flow/src/components/SidebarComponent/index.tsx rename to langflow/frontend/src/components/SidebarComponent/index.tsx diff --git a/space_flow/src/components/SidebarComponent/sidebarButton/index.tsx b/langflow/frontend/src/components/SidebarComponent/sidebarButton/index.tsx similarity index 100% rename from space_flow/src/components/SidebarComponent/sidebarButton/index.tsx rename to langflow/frontend/src/components/SidebarComponent/sidebarButton/index.tsx diff --git a/space_flow/src/components/TooltipComponent/index.tsx b/langflow/frontend/src/components/TooltipComponent/index.tsx similarity index 100% rename from space_flow/src/components/TooltipComponent/index.tsx rename to langflow/frontend/src/components/TooltipComponent/index.tsx diff --git a/space_flow/src/components/breadcrumbComponent/index.tsx b/langflow/frontend/src/components/breadcrumbComponent/index.tsx similarity index 100% rename from space_flow/src/components/breadcrumbComponent/index.tsx rename to langflow/frontend/src/components/breadcrumbComponent/index.tsx diff --git a/space_flow/src/components/chatComponent/index.tsx b/langflow/frontend/src/components/chatComponent/index.tsx similarity index 100% rename from space_flow/src/components/chatComponent/index.tsx rename to langflow/frontend/src/components/chatComponent/index.tsx diff --git a/space_flow/src/components/dropdownComponent/index.tsx b/langflow/frontend/src/components/dropdownComponent/index.tsx similarity index 100% rename from space_flow/src/components/dropdownComponent/index.tsx rename to langflow/frontend/src/components/dropdownComponent/index.tsx diff --git a/space_flow/src/components/inputComponent/index.tsx b/langflow/frontend/src/components/inputComponent/index.tsx similarity index 100% rename from space_flow/src/components/inputComponent/index.tsx rename to langflow/frontend/src/components/inputComponent/index.tsx diff --git a/space_flow/src/components/inputListComponent/index.tsx b/langflow/frontend/src/components/inputListComponent/index.tsx similarity index 100% rename from space_flow/src/components/inputListComponent/index.tsx rename to langflow/frontend/src/components/inputListComponent/index.tsx diff --git a/space_flow/src/components/loadingComponent/index.tsx b/langflow/frontend/src/components/loadingComponent/index.tsx similarity index 100% rename from space_flow/src/components/loadingComponent/index.tsx rename to langflow/frontend/src/components/loadingComponent/index.tsx diff --git a/space_flow/src/components/textAreaComponent/index.tsx b/langflow/frontend/src/components/textAreaComponent/index.tsx similarity index 100% rename from space_flow/src/components/textAreaComponent/index.tsx rename to langflow/frontend/src/components/textAreaComponent/index.tsx diff --git a/space_flow/src/components/toggleComponent/index.tsx b/langflow/frontend/src/components/toggleComponent/index.tsx similarity index 100% rename from space_flow/src/components/toggleComponent/index.tsx rename to langflow/frontend/src/components/toggleComponent/index.tsx diff --git a/space_flow/src/contexts/alertContext.tsx b/langflow/frontend/src/contexts/alertContext.tsx similarity index 100% rename from space_flow/src/contexts/alertContext.tsx rename to langflow/frontend/src/contexts/alertContext.tsx diff --git a/space_flow/src/contexts/darkContext.tsx b/langflow/frontend/src/contexts/darkContext.tsx similarity index 100% rename from space_flow/src/contexts/darkContext.tsx rename to langflow/frontend/src/contexts/darkContext.tsx diff --git a/space_flow/src/contexts/index.tsx b/langflow/frontend/src/contexts/index.tsx similarity index 100% rename from space_flow/src/contexts/index.tsx rename to langflow/frontend/src/contexts/index.tsx diff --git a/space_flow/src/contexts/locationContext.tsx b/langflow/frontend/src/contexts/locationContext.tsx similarity index 100% rename from space_flow/src/contexts/locationContext.tsx rename to langflow/frontend/src/contexts/locationContext.tsx diff --git a/space_flow/src/contexts/popUpContext.tsx b/langflow/frontend/src/contexts/popUpContext.tsx similarity index 100% rename from space_flow/src/contexts/popUpContext.tsx rename to langflow/frontend/src/contexts/popUpContext.tsx diff --git a/space_flow/src/contexts/tabsContext.tsx b/langflow/frontend/src/contexts/tabsContext.tsx similarity index 100% rename from space_flow/src/contexts/tabsContext.tsx rename to langflow/frontend/src/contexts/tabsContext.tsx diff --git a/space_flow/src/contexts/typesContext.tsx b/langflow/frontend/src/contexts/typesContext.tsx similarity index 100% rename from space_flow/src/contexts/typesContext.tsx rename to langflow/frontend/src/contexts/typesContext.tsx diff --git a/space_flow/src/entities/apiEnum.ts b/langflow/frontend/src/entities/apiEnum.ts similarity index 100% rename from space_flow/src/entities/apiEnum.ts rename to langflow/frontend/src/entities/apiEnum.ts diff --git a/space_flow/src/entities/sidebarNav.ts b/langflow/frontend/src/entities/sidebarNav.ts similarity index 100% rename from space_flow/src/entities/sidebarNav.ts rename to langflow/frontend/src/entities/sidebarNav.ts diff --git a/space_flow/src/index.css b/langflow/frontend/src/index.css similarity index 100% rename from space_flow/src/index.css rename to langflow/frontend/src/index.css diff --git a/space_flow/src/index.tsx b/langflow/frontend/src/index.tsx similarity index 100% rename from space_flow/src/index.tsx rename to langflow/frontend/src/index.tsx diff --git a/space_flow/src/logo.svg b/langflow/frontend/src/logo.svg similarity index 100% rename from space_flow/src/logo.svg rename to langflow/frontend/src/logo.svg diff --git a/space_flow/src/modals/textAreaModal/index.tsx b/langflow/frontend/src/modals/textAreaModal/index.tsx similarity index 100% rename from space_flow/src/modals/textAreaModal/index.tsx rename to langflow/frontend/src/modals/textAreaModal/index.tsx diff --git a/space_flow/src/pages/FlowPage/components/ConnectionLineComponent/index.tsx b/langflow/frontend/src/pages/FlowPage/components/ConnectionLineComponent/index.tsx similarity index 100% rename from space_flow/src/pages/FlowPage/components/ConnectionLineComponent/index.tsx rename to langflow/frontend/src/pages/FlowPage/components/ConnectionLineComponent/index.tsx diff --git a/space_flow/src/pages/FlowPage/components/DisclosureComponent/index.tsx b/langflow/frontend/src/pages/FlowPage/components/DisclosureComponent/index.tsx similarity index 100% rename from space_flow/src/pages/FlowPage/components/DisclosureComponent/index.tsx rename to langflow/frontend/src/pages/FlowPage/components/DisclosureComponent/index.tsx diff --git a/space_flow/src/pages/FlowPage/components/extraSidebarComponent/index.tsx b/langflow/frontend/src/pages/FlowPage/components/extraSidebarComponent/index.tsx similarity index 100% rename from space_flow/src/pages/FlowPage/components/extraSidebarComponent/index.tsx rename to langflow/frontend/src/pages/FlowPage/components/extraSidebarComponent/index.tsx diff --git a/space_flow/src/pages/FlowPage/components/tabComponent/index.tsx b/langflow/frontend/src/pages/FlowPage/components/tabComponent/index.tsx similarity index 100% rename from space_flow/src/pages/FlowPage/components/tabComponent/index.tsx rename to langflow/frontend/src/pages/FlowPage/components/tabComponent/index.tsx diff --git a/space_flow/src/pages/FlowPage/components/tabsManagerComponent/index.tsx b/langflow/frontend/src/pages/FlowPage/components/tabsManagerComponent/index.tsx similarity index 100% rename from space_flow/src/pages/FlowPage/components/tabsManagerComponent/index.tsx rename to langflow/frontend/src/pages/FlowPage/components/tabsManagerComponent/index.tsx diff --git a/space_flow/src/pages/FlowPage/index.tsx b/langflow/frontend/src/pages/FlowPage/index.tsx similarity index 100% rename from space_flow/src/pages/FlowPage/index.tsx rename to langflow/frontend/src/pages/FlowPage/index.tsx diff --git a/space_flow/src/reportWebVitals.ts b/langflow/frontend/src/reportWebVitals.ts similarity index 100% rename from space_flow/src/reportWebVitals.ts rename to langflow/frontend/src/reportWebVitals.ts diff --git a/space_flow/src/types/alerts/index.ts b/langflow/frontend/src/types/alerts/index.ts similarity index 100% rename from space_flow/src/types/alerts/index.ts rename to langflow/frontend/src/types/alerts/index.ts diff --git a/space_flow/src/types/api/index.ts b/langflow/frontend/src/types/api/index.ts similarity index 100% rename from space_flow/src/types/api/index.ts rename to langflow/frontend/src/types/api/index.ts diff --git a/space_flow/src/types/chat/index.ts b/langflow/frontend/src/types/chat/index.ts similarity index 100% rename from space_flow/src/types/chat/index.ts rename to langflow/frontend/src/types/chat/index.ts diff --git a/space_flow/src/types/components/index.ts b/langflow/frontend/src/types/components/index.ts similarity index 92% rename from space_flow/src/types/components/index.ts rename to langflow/frontend/src/types/components/index.ts index ceb5d8fc3..63ee9de73 100644 --- a/space_flow/src/types/components/index.ts +++ b/langflow/frontend/src/types/components/index.ts @@ -1,6 +1,5 @@ -import { Disclosure } from '@headlessui/react'; import { ForwardRefExoticComponent, ReactElement, ReactNode } from 'react'; -import { NodeDataType } from "./../flow/index"; +import { NodeDataType } from "../flow/index"; export type InputComponentType = { value: string; disabled?: boolean; diff --git a/space_flow/src/types/entities/index.ts b/langflow/frontend/src/types/entities/index.ts similarity index 100% rename from space_flow/src/types/entities/index.ts rename to langflow/frontend/src/types/entities/index.ts diff --git a/space_flow/src/types/flow/index.ts b/langflow/frontend/src/types/flow/index.ts similarity index 88% rename from space_flow/src/types/flow/index.ts rename to langflow/frontend/src/types/flow/index.ts index e0e8b11ac..e8e5289f7 100644 --- a/space_flow/src/types/flow/index.ts +++ b/langflow/frontend/src/types/flow/index.ts @@ -1,4 +1,4 @@ -import { APIClassType } from './../api/index'; +import { APIClassType } from '../api/index'; import { ReactFlowJsonObject, XYPosition } from "reactflow"; export type FlowType = { diff --git a/space_flow/src/types/tabs/index.ts b/langflow/frontend/src/types/tabs/index.ts similarity index 100% rename from space_flow/src/types/tabs/index.ts rename to langflow/frontend/src/types/tabs/index.ts diff --git a/space_flow/src/types/typesContext/index.ts b/langflow/frontend/src/types/typesContext/index.ts similarity index 100% rename from space_flow/src/types/typesContext/index.ts rename to langflow/frontend/src/types/typesContext/index.ts diff --git a/space_flow/src/utils.ts b/langflow/frontend/src/utils.ts similarity index 100% rename from space_flow/src/utils.ts rename to langflow/frontend/src/utils.ts diff --git a/space_flow/tailwind.config.js b/langflow/frontend/tailwind.config.js similarity index 100% rename from space_flow/tailwind.config.js rename to langflow/frontend/tailwind.config.js diff --git a/space_flow/tsconfig.json b/langflow/frontend/tsconfig.json similarity index 100% rename from space_flow/tsconfig.json rename to langflow/frontend/tsconfig.json diff --git a/space_flow/src/controllers/NodesServices/index.ts b/space_flow/src/controllers/NodesServices/index.ts deleted file mode 100644 index 7f1d0e310..000000000 --- a/space_flow/src/controllers/NodesServices/index.ts +++ /dev/null @@ -1,11 +0,0 @@ -import { APIObjectType, sendAllProps } from './../../types/api/index'; -import axios, { AxiosResponse } from "axios"; - -export async function getAll():Promise> { - return await axios.get("http://localhost:5003/"); -} - -export async function sendAll(data:sendAllProps) { - console.log(data); - return await axios.post("http://localhost:5003/predict", data); -}