diff --git a/src/components/ProblemList.tsx b/src/components/ProblemList.tsx index 78fed50..378b788 100644 --- a/src/components/ProblemList.tsx +++ b/src/components/ProblemList.tsx @@ -5,7 +5,7 @@ import TableCell from "@mui/material/TableCell"; import TableContainer from "@mui/material/TableContainer"; import TableRow from "@mui/material/TableRow"; import React from "react"; -import { Problem } from "../api/library_checker"; +import { Problem } from "../proto/library_checker"; import { Link } from "react-router-dom"; import { lightGreen, cyan } from "@mui/material/colors"; import KatexTypography from "./katex/KatexTypography"; diff --git a/src/components/SubmissionTable.tsx b/src/components/SubmissionTable.tsx index 4504a77..31c69fd 100644 --- a/src/components/SubmissionTable.tsx +++ b/src/components/SubmissionTable.tsx @@ -11,10 +11,10 @@ import "katex/dist/katex.min.css"; import React from "react"; import { Link } from "react-router-dom"; import { useLangList } from "../api/client_wrapper"; -import { SubmissionOverview } from "../api/library_checker"; +import { SubmissionOverview } from "../proto/library_checker"; import KatexTypography from "./katex/KatexTypography"; import { styled } from "@mui/system"; -import { Timestamp } from "../api/google/protobuf/timestamp"; +import { Timestamp } from "../proto/google/protobuf/timestamp"; interface Props { overviews: SubmissionOverview[]; diff --git a/src/pages/ProblemInfo.tsx b/src/pages/ProblemInfo.tsx index 29023a5..cfdc128 100644 --- a/src/pages/ProblemInfo.tsx +++ b/src/pages/ProblemInfo.tsx @@ -14,7 +14,7 @@ import library_checker_client, { useLangList, useProblemInfo, } from "../api/client_wrapper"; -import { ProblemInfoResponse } from "../api/library_checker"; +import { ProblemInfoResponse } from "../proto/library_checker"; import SourceEditor from "../components/SourceEditor"; import { AuthContext } from "../contexts/AuthContext"; import { GitHub, FlashOn, Person } from "@mui/icons-material"; diff --git a/src/pages/Problems.tsx b/src/pages/Problems.tsx index 40fea71..e59e9f0 100644 --- a/src/pages/Problems.tsx +++ b/src/pages/Problems.tsx @@ -7,7 +7,7 @@ import { useProblemList, useUserInfo, } from "../api/client_wrapper"; -import { SolvedStatus } from "../api/library_checker"; +import { SolvedStatus } from "../proto/library_checker"; import ProblemList from "../components/ProblemList"; import { AuthContext } from "../contexts/AuthContext"; import { diff --git a/src/pages/SubmissionInfo.tsx b/src/pages/SubmissionInfo.tsx index dc91db6..d9e7b69 100644 --- a/src/pages/SubmissionInfo.tsx +++ b/src/pages/SubmissionInfo.tsx @@ -26,7 +26,7 @@ import CircularProgress from "@mui/material/CircularProgress"; import Link from "@mui/material/Link"; import { LibraryBooks } from "@mui/icons-material"; import { Collapse, Container, Divider, IconButton } from "@mui/material"; -import { SubmissionCaseResult } from "../api/library_checker"; +import { SubmissionCaseResult } from "../proto/library_checker"; import KeyboardArrowDownIcon from "@mui/icons-material/KeyboardArrowDown"; import KeyboardArrowUpIcon from "@mui/icons-material/KeyboardArrowUp"; diff --git a/src/utils/ProblemCategorizer.ts b/src/utils/ProblemCategorizer.ts index ba4e727..58e1b64 100644 --- a/src/utils/ProblemCategorizer.ts +++ b/src/utils/ProblemCategorizer.ts @@ -1,4 +1,4 @@ -import { Problem, ProblemCategory } from "../api/library_checker"; +import { Problem, ProblemCategory } from "../proto/library_checker"; export type CategorisedProblems = { name: string;