changed position of files

This commit is contained in:
Lucas Oliveira 2023-03-02 10:10:51 -03:00
commit 1f63b31584
64 changed files with 2 additions and 14 deletions

View file

Before

Width:  |  Height:  |  Size: 2.6 KiB

After

Width:  |  Height:  |  Size: 2.6 KiB

Before After
Before After

View file

@ -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;

View file

@ -1,4 +1,4 @@
import { APIClassType } from './../api/index';
import { APIClassType } from '../api/index';
import { ReactFlowJsonObject, XYPosition } from "reactflow";
export type FlowType = {

View file

@ -1,11 +0,0 @@
import { APIObjectType, sendAllProps } from './../../types/api/index';
import axios, { AxiosResponse } from "axios";
export async function getAll():Promise<AxiosResponse<APIObjectType>> {
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);
}