Skip to content

Commit

Permalink
A-12 code cleanup and renaming
Browse files Browse the repository at this point in the history
  • Loading branch information
Tatai Aron - rontap - atatai committed May 8, 2023
1 parent 796a003 commit 499c976
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion app/src/App.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import renderer from "react-test-renderer";
import App from "./App";
import {getState} from "./graph/State";
import {NodeGroup} from "./app/DynamicReader";
import {NodeGroup} from "./app/NodeGroupLoader";
import {buildAllNodes} from "../tests/common";
import 'core-js/stable/structured-clone';
import CONST from "./const";
Expand Down
2 changes: 1 addition & 1 deletion app/src/graph/GraphUtil.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import {End, getState} from "./State";
import {GraphUtil, GraphUtilInst} from "./GraphUtil";
import {Line} from "../node/Line";
import 'core-js/stable/structured-clone';
import {NodeGroup} from "../app/DynamicReader";
import {NodeGroup} from "../app/NodeGroupLoader";

beforeEach(() => {
buildAllNodes();
Expand Down
2 changes: 1 addition & 1 deletion app/src/node/Builder.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {loadJsonNodeDefinitions, NodeTemplate, NodeTemplateMap} from "../app/DynamicReader";
import {loadJsonNodeDefinitions, NodeTemplate, NodeTemplateMap} from "../app/NodeGroupLoader";
import {EdgeInvariant, EdgeLoader, edgeTypes} from "../app/EdgeLoader";
import {jsobj} from "../util/util";
import {Node} from './Node';
Expand Down
2 changes: 1 addition & 1 deletion app/src/node/Node.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import {Node} from "./Node";
import {getState} from "../graph/State";
import {NodeBuilder} from "./Builder";
import 'core-js/stable/structured-clone';
import {NodeGroup} from "../app/DynamicReader";
import {NodeGroup} from "../app/NodeGroupLoader";

beforeEach(() => {
NodeGroup.loadDebugNodes = true;
Expand Down
2 changes: 1 addition & 1 deletion app/src/node/Node.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import {Point} from "../util/Geom";
import {Line, NodeId} from "./Line";
import {jsobj} from "../util/util";
import {configTypes, NodeEdgeRef} from "../app/EdgeLoader";
import {NodeSerialised, NodeSerialisedSureProperties, NodeTemplate, NodeTemplateConfig} from "../app/DynamicReader";
import {NodeSerialised, NodeSerialisedSureProperties, NodeTemplate, NodeTemplateConfig} from "../app/NodeGroupLoader";
import {GraphUtil, GraphUtilInst} from "../graph/GraphUtil";
import NodeFC from "./NodeFC";
import Serialiser from "../graph/Serialiser";
Expand Down
2 changes: 1 addition & 1 deletion app/src/svg/BlueprintSvg.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import {useEffect, useState} from "react";
import {DragHandlerInst} from "./Draggable";
import State, {getState} from "../graph/State";
import {Node} from "../node/Node";
import {NodeTemplateMap} from "../app/DynamicReader";
import {NodeTemplateMap} from "../app/NodeGroupLoader";
import {NodeBuilder} from "../node/Builder";

export default function BlueprintSvg(props: jsobj) {
Expand Down
2 changes: 1 addition & 1 deletion app/src/svg/Svg.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import Svg from "./Svg";
import {NodeBuilder} from "../node/Builder";
// @ts-ignore
import renderer from 'react-test-renderer';
import {NodeGroup} from "../app/DynamicReader";
import {NodeGroup} from "../app/NodeGroupLoader";

it('Renders <Svg/> without issues', () => {
NodeGroup.loadDebugNodes = true;
Expand Down
2 changes: 1 addition & 1 deletion app/src/ui/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import PositionInst from "../svg/Positioning";
/* eslint import/no-webpack-loader-syntax: off */
// @ts-ignore
import {SerialiserInst} from "../graph/Serialiser";
import {NodeGroup} from "../app/DynamicReader";
import {NodeGroup} from "../app/NodeGroupLoader";
import CONST from "../const";

enum GPTStatus {
Expand Down
2 changes: 1 addition & 1 deletion app/src/ui/NodeBlueprints.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import {jsobj} from "../util/util";
import BtnGroup from "./components/BtnGroup";
import Button from "./components/Button";
import State, {getState} from "../graph/State";
import {NodeGroup} from "../app/DynamicReader";
import {NodeGroup} from "../app/NodeGroupLoader";

type NodeBlueprintsProps = {
items: Map<string, jsobj>
Expand Down

0 comments on commit 499c976

Please sign in to comment.