Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Axios api #87

Merged
merged 2 commits into from
Nov 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
48 changes: 48 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
"@tippyjs/react": "^4.2.5",
"@triply/yasgui": "^4.2.14",
"@vitejs/plugin-react": "^4.3.1",
"axios": "^1.7.7",
"bootstrap": "^4.5.3",
"cytoscape": "^3.30.2",
"cytoscape-compound-drag-and-drop": "^1.1.0",
Expand Down
2 changes: 1 addition & 1 deletion src/components/Executions.jsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React from "react";
import Layout from "./Layout";
import { ABSOLUTE_PATH, DISPLAY_NAME, EXECUTION_DURATION, TRANSFORMATION } from "../constants/Vocabulary.js";
import Rest from "./rest/Rest.jsx";
import Rest from "../rest/Rest.jsx";
import { Col, Container, Row, Table } from "react-bootstrap";
import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
import { faMugHot, faEdit, faQuestion } from "@fortawesome/free-solid-svg-icons";
Expand Down
2 changes: 1 addition & 1 deletion src/components/ModuleTypesSelection.jsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React from "react";
import { Dropdown } from "semantic-ui-react";
import Rest from "./rest/Rest";
import Rest from "../rest/Rest";
import { ICONS_MAP } from "./dagre/DagreIcons";

class ModuleTypesSelection extends React.Component {
Expand Down
2 changes: 1 addition & 1 deletion src/components/ScriptFunctionSelection.jsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React from "react";
import { Dropdown } from "semantic-ui-react";
import { FUNCTION_URI, FUNCTION_NAME } from "../constants/Vocabulary.js";
import Rest from "./rest/Rest.jsx";
import Rest from "../rest/Rest.jsx";

class ScriptFunctionSelection extends React.Component {
constructor(props) {
Expand Down
2 changes: 1 addition & 1 deletion src/components/dagre/Dagre.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import cxtmenu from "cytoscape-cxtmenu";
import popper from "cytoscape-popper";
import navigator from "cytoscape-navigator";
import expandCollapse from "cytoscape-expand-collapse";
import Rest from "../rest/Rest.jsx";
import Rest from "../../rest/Rest.jsx";
import NavbarMenu from "../NavbarMenu";
import SFormsModal from "../sform/SFormsModal";
import ModuleTypesSelection from "../ModuleTypesSelection";
Expand Down
2 changes: 1 addition & 1 deletion src/components/modal/FunctionExecutionModal.jsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React from "react";
import { Button, Form, Modal } from "react-bootstrap";
import { Rest } from "../rest/Rest";
import { Rest } from "../../rest/Rest";

class FunctionExecutionModal extends React.Component {
constructor(props) {
Expand Down
2 changes: 1 addition & 1 deletion src/components/modal/MoveModuleModal.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import React from "react";

import { Alert, Button, Col, Container, Modal, Row } from "react-bootstrap";
import { ONTOLOGY_URI, SCRIPT_PATH } from "../../constants/Vocabulary.js";
import Rest from "../rest/Rest.jsx";
import Rest from "../../rest/Rest.jsx";

class MoveModuleModal extends React.Component {
constructor(props) {
Expand Down
1 change: 1 addition & 0 deletions src/components/modal/ScriptOntologyModal.jsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import React from "react";

import { Alert, Button, Col, Container, Form, Modal, Row } from "react-bootstrap";
import Rest from "../../rest/Rest.jsx";

class ScriptOntologyModal extends React.Component {
constructor(props) {
Expand Down
Loading
Loading