diff --git a/frontend/components/DetailSection.tsx b/frontend/components/DetailSection.tsx index d7813cb5..3aaf37fd 100644 --- a/frontend/components/DetailSection.tsx +++ b/frontend/components/DetailSection.tsx @@ -9,7 +9,7 @@ import FactionDetailSection from "@/components/entityDetails/EntityDetail_Factio import { useGameContext } from "@/contexts/GameContext" import HraoTerm from "@/components/terms/Term_Hrao" import RomeConsulTerm from "@/components/terms/Term_RomeConsul" -import SelectedDetail from "@/types/SelectedDetail" +import SelectedDetail from "@/types/SelectedDetail.temp" import PriorConsulTerm from "@/components/terms/Term_PriorConsul" import FactionTerm from "@/components/terms/Term_Faction" import SecretTerm from "@/components/terms/Term_Secret" diff --git a/frontend/components/FactionIcon.tsx b/frontend/components/FactionIcon.tsx index d8cf7720..6865460b 100644 --- a/frontend/components/FactionIcon.tsx +++ b/frontend/components/FactionIcon.tsx @@ -1,5 +1,5 @@ import Faction from "@/classes/Faction" -import SelectedDetail from "@/types/SelectedDetail" +import SelectedDetail from "@/types/SelectedDetail.temp" import { useGameContext } from "@/contexts/GameContext" interface FactionIconProps { diff --git a/frontend/components/FactionLink.tsx b/frontend/components/FactionLink.tsx index 7ec58a79..e013eba2 100644 --- a/frontend/components/FactionLink.tsx +++ b/frontend/components/FactionLink.tsx @@ -2,7 +2,7 @@ import { Link } from "@mui/material" import { useGameContext } from "@/contexts/GameContext" import Faction from "@/classes/Faction" -import SelectedDetail from "@/types/SelectedDetail" +import SelectedDetail from "@/types/SelectedDetail.temp" import FactionIcon from "@/components/FactionIcon" interface FactionLinkProps { diff --git a/frontend/components/MetaSection.tsx b/frontend/components/MetaSection.tsx index 6117a4a1..2eaf2951 100644 --- a/frontend/components/MetaSection.tsx +++ b/frontend/components/MetaSection.tsx @@ -20,7 +20,7 @@ import VotesIcon from "@/images/icons/votes.svg" import SecretsIcon from "@/images/icons/secrets.svg" import AttributeFlex, { Attribute } from "@/components/AttributeFlex" import Collection from "@/classes/Collection" -import SelectedDetail from "@/types/SelectedDetail" +import SelectedDetail from "@/types/SelectedDetail.temp" // Section showing meta info about the game const MetaSection = () => { diff --git a/frontend/components/SenatorLink.tsx b/frontend/components/SenatorLink.tsx index 938aeb1c..17af65cb 100644 --- a/frontend/components/SenatorLink.tsx +++ b/frontend/components/SenatorLink.tsx @@ -2,7 +2,7 @@ import { Link } from "@mui/material" import { useGameContext } from "@/contexts/GameContext" import Senator from "@/classes/Senator" -import SelectedDetail from "@/types/SelectedDetail" +import SelectedDetail from "@/types/SelectedDetail.temp" interface SenatorLinkProps { senator: Senator diff --git a/frontend/components/SenatorPortrait.tsx b/frontend/components/SenatorPortrait.tsx index 6b7dcdd4..187a184b 100644 --- a/frontend/components/SenatorPortrait.tsx +++ b/frontend/components/SenatorPortrait.tsx @@ -6,7 +6,7 @@ import Faction from "@/classes/Faction" import styles from "./SenatorPortrait.module.css" import Title from "@/classes/Title" import TitleIcon from "@/components/TitleIcon" -import SelectedDetail from "@/types/SelectedDetail" +import SelectedDetail from "@/types/SelectedDetail.temp" import factionColors from "@/data/factionColors.json" import FactionLeaderPattern from "@/images/patterns/factionLeader.svg" import DeadIcon from "@/images/icons/dead.svg" diff --git a/frontend/components/TermLink.tsx b/frontend/components/TermLink.tsx index b8bb676e..61580542 100644 --- a/frontend/components/TermLink.tsx +++ b/frontend/components/TermLink.tsx @@ -8,7 +8,7 @@ import PriorConsulIcon from "@/images/icons/priorConsul.svg" import SenatorIcon from "@/images/icons/senator.svg" import styles from "./TermLink.module.css" import { useGameContext } from "@/contexts/GameContext" -import SelectedDetail from "@/types/SelectedDetail" +import SelectedDetail from "@/types/SelectedDetail.temp" // Map of term names to images const termImages: { [key: string]: StaticImageData } = { diff --git a/frontend/contexts/GameContext.tsx b/frontend/contexts/GameContext.tsx index aea3a274..203052fa 100644 --- a/frontend/contexts/GameContext.tsx +++ b/frontend/contexts/GameContext.tsx @@ -13,7 +13,7 @@ import Collection from "@/classes/Collection" import Title from "@/classes/Title" import Game from "@/classes/Game" import Step from "@/classes/Step" -import SelectedDetail from "@/types/SelectedDetail" +import SelectedDetail from "@/types/SelectedDetail.temp" import ActionLog from "@/classes/ActionLog" import SenatorActionLog from "@/classes/SenatorActionLog" import Phase from "@/classes/Phase" diff --git a/frontend/types/selectedDetail.ts b/frontend/types/SelectedDetail.temp.ts similarity index 100% rename from frontend/types/selectedDetail.ts rename to frontend/types/SelectedDetail.temp.ts