Skip to content

Commit a57054e

Browse files
moved files
1 parent 331ef77 commit a57054e

File tree

18 files changed

+24
-24
lines changed

18 files changed

+24
-24
lines changed

RaspberryPi-WebServer/backend/src/api/routes/auth.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
import express from "express";
22
import axios from "axios";
33
import config from "../../../../config.js";
4-
import MainEventStream from "../controllers/MainEventStream.js";
5-
import LichessTokenVault from "../controllers/LichessTokenVault.js";
4+
import MainEventStream from "../../controllers/Streams/MainEventStream.js";
5+
import LichessTokenVault from "../../controllers/LichessControllers/LichessTokenVault.js";
66

77
const router = express.Router();
88

RaspberryPi-WebServer/backend/src/api/routes/debug.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import express from "express";
2-
import fetchArduino from "../services/ArduinoCommunicator.js";
2+
import fetchArduino from "../../services/ArduinoCommunicator.js";
33

44
const router = express.Router();
55

RaspberryPi-WebServer/backend/src/api/routes/game.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import express from "express";
2-
import LichessGameController from "../controllers/LichessControllers/LichessGameController.js";
3-
import GameStream from "../controllers/GameStream.js";
2+
import LichessGameController from "../../controllers/LichessControllers/LichessGameController.js";
3+
import GameStream from "../../controllers/Streams/GameStream.js";
44
const router = express.Router();
55

66
router.post("/move", (req, res) => {
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import axios from "axios";
2-
import config from "../../../../../config.js";
3-
import LichessTokenVault from "../LichessTokenVault.js";
2+
import config from "../../../../config.js";
3+
import LichessTokenVault from "./LichessTokenVault.js";
44

55
const challengeBaseURL = `${config.lichess_base_url}/api/challenge`;
66
export default class LichessChallengeController {

RaspberryPi-WebServer/backend/src/api/controllers/LichessControllers/LichessChatController.js renamed to RaspberryPi-WebServer/backend/src/controllers/LichessControllers/LichessChatController.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import axios from "axios";
2-
import config from "../../../../../config.js";
3-
import LichessTokenVault from "../LichessTokenVault.js";
2+
import config from "../../../../config.js";
3+
import LichessTokenVault from "./LichessTokenVault.js";
44

55
const gameBaseURL = `${config.lichess_base_url}/api/board/game`;
66

RaspberryPi-WebServer/backend/src/api/controllers/LichessControllers/LichessGameController.js renamed to RaspberryPi-WebServer/backend/src/controllers/LichessControllers/LichessGameController.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import axios from "axios";
2-
import config from "../../../../../config.js";
3-
import LichessTokenVault from "../LichessTokenVault.js";
2+
import config from "../../../../config.js";
3+
import LichessTokenVault from "./LichessTokenVault.js";
44

55
const gameBaseURL = `${config.lichess_base_url}/api/board/game`;
66

RaspberryPi-WebServer/backend/src/api/controllers/LichessControllers/LichessUserController.js renamed to RaspberryPi-WebServer/backend/src/controllers/LichessControllers/LichessUserController.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import axios from "axios";
2-
import config from "../../../../../config.js";
3-
import LichessTokenVault from "../LichessTokenVault.js";
2+
import config from "../../../../config.js";
3+
import LichessTokenVault from "./LichessTokenVault.js";
44

55
const userBaseURL = `${config.lichess_base_url}/api/user`;
66

RaspberryPi-WebServer/backend/src/api/controllers/GameStream.js renamed to RaspberryPi-WebServer/backend/src/controllers/Streams/GameStream.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
import WebSocketController from "./WebSocketController.js";
1+
import WebSocketController from "../WebSocketController.js";
22
import Stream from "./Stream.js";
33
import config from "../../../../config.js";
44
import { Chess } from "chess.js";
5-
import BoardController from "./BoardController.js";
6-
import LichessUserController from "./LichessControllers/LichessUserController.js";
5+
import BoardController from "../BoardController.js";
6+
import LichessUserController from "../LichessControllers/LichessUserController.js";
77

88
export default class GameStream extends Stream {
99
static #instance = null;

0 commit comments

Comments
 (0)