Skip to content

Commit

Permalink
Merge pull request #87 from kbss-cvut/86-axios-api
Browse files Browse the repository at this point in the history
Axios api
  • Loading branch information
blcham authored Nov 12, 2024
2 parents 17a0ffe + 21d20f9 commit 2ab6b31
Show file tree
Hide file tree
Showing 18 changed files with 323 additions and 280 deletions.
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

0 comments on commit 2ab6b31

Please sign in to comment.