From 402ab2160bddf30d47e1aefd63b8e1e496157c5e Mon Sep 17 00:00:00 2001 From: usserwoutV2 Date: Thu, 23 May 2024 21:43:54 +0200 Subject: [PATCH 1/2] Fixed ts errors --- frontend/src/@types/requests.d.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/frontend/src/@types/requests.d.ts b/frontend/src/@types/requests.d.ts index f0718c14..5bb95634 100644 --- a/frontend/src/@types/requests.d.ts +++ b/frontend/src/@types/requests.d.ts @@ -117,6 +117,7 @@ export type POST_Responses = { [ApiRoutes.COURSE_JOIN]: {name:string, description: string} [ApiRoutes.COURSE_JOIN_WITHOUT_KEY]: POST_Responses[ApiRoutes.COURSE_JOIN] [ApiRoutes.PROJECT_SCORE]: GET_Responses[ApiRoutes.PROJECT_SCORE] + [ApiRoutes.CLUSTER_GROUPS]: undefined } /** From cd6f30bbd9cdac38765386ecefc32d6b21b5aa22 Mon Sep 17 00:00:00 2001 From: usserwoutV2 Date: Thu, 23 May 2024 22:29:59 +0200 Subject: [PATCH 2/2] Fixed svg files --- .../{public => src/assets}/docker_langauges/bash.svg | 0 .../{public => src/assets}/docker_langauges/custom.svg | 0 .../assets}/docker_langauges/haskell.svg | 0 .../assets}/docker_langauges/node-js.svg | 0 .../{public => src/assets}/docker_langauges/python.svg | 0 .../components/forms/projectFormTabs/DockerFormTab.tsx | 10 +++++----- 6 files changed, 5 insertions(+), 5 deletions(-) rename frontend/{public => src/assets}/docker_langauges/bash.svg (100%) rename frontend/{public => src/assets}/docker_langauges/custom.svg (100%) rename frontend/{public => src/assets}/docker_langauges/haskell.svg (100%) rename frontend/{public => src/assets}/docker_langauges/node-js.svg (100%) rename frontend/{public => src/assets}/docker_langauges/python.svg (100%) diff --git a/frontend/public/docker_langauges/bash.svg b/frontend/src/assets/docker_langauges/bash.svg similarity index 100% rename from frontend/public/docker_langauges/bash.svg rename to frontend/src/assets/docker_langauges/bash.svg diff --git a/frontend/public/docker_langauges/custom.svg b/frontend/src/assets/docker_langauges/custom.svg similarity index 100% rename from frontend/public/docker_langauges/custom.svg rename to frontend/src/assets/docker_langauges/custom.svg diff --git a/frontend/public/docker_langauges/haskell.svg b/frontend/src/assets/docker_langauges/haskell.svg similarity index 100% rename from frontend/public/docker_langauges/haskell.svg rename to frontend/src/assets/docker_langauges/haskell.svg diff --git a/frontend/public/docker_langauges/node-js.svg b/frontend/src/assets/docker_langauges/node-js.svg similarity index 100% rename from frontend/public/docker_langauges/node-js.svg rename to frontend/src/assets/docker_langauges/node-js.svg diff --git a/frontend/public/docker_langauges/python.svg b/frontend/src/assets/docker_langauges/python.svg similarity index 100% rename from frontend/public/docker_langauges/python.svg rename to frontend/src/assets/docker_langauges/python.svg diff --git a/frontend/src/components/forms/projectFormTabs/DockerFormTab.tsx b/frontend/src/components/forms/projectFormTabs/DockerFormTab.tsx index f09d02a6..84ce5bfb 100644 --- a/frontend/src/components/forms/projectFormTabs/DockerFormTab.tsx +++ b/frontend/src/components/forms/projectFormTabs/DockerFormTab.tsx @@ -9,11 +9,11 @@ import MarkdownTooltip from "../../common/MarkdownTooltip" import MarkdownTextfield from "../../input/MarkdownTextfield" import TextArea from "antd/es/input/TextArea" -import BashIcon from "../../../../public/docker_langauges/bash.svg" -import PythonIcon from "../../../../public/docker_langauges/python.svg" -import NodeIcon from "../../../../public/docker_langauges/node-js.svg" -import HaskellIcon from "../../../../public/docker_langauges/haskell.svg" -import Custom from "../../../../public/docker_langauges/custom.svg" +import BashIcon from "../../../assets/docker_langauges/bash.svg" +import PythonIcon from "../../../assets/docker_langauges/python.svg" +import NodeIcon from "../../../assets/docker_langauges/node-js.svg" +import HaskellIcon from "../../../assets/docker_langauges/haskell.svg" +import Custom from "../../../assets/docker_langauges/custom.svg" type DockerLanguage = "bash" | "python" | "node" | "haskell" | "custom"