diff --git a/src/components/ProfessionVideo.astro b/src/components/ProfessionVideo.astro index 611ae31..5813f19 100644 --- a/src/components/ProfessionVideo.astro +++ b/src/components/ProfessionVideo.astro @@ -1,5 +1,5 @@ --- -import { ProfessionTypes } from "@gw2-ui/data/professions"; +import type { ProfessionTypes } from "@gw2-ui/data/professions"; import Profession from "./gw2-ui/Profession.astro"; import Video from "./Video.astro"; interface Props { diff --git a/src/components/SelectProfession.astro b/src/components/SelectProfession.astro index d0bcb6b..74fb011 100644 --- a/src/components/SelectProfession.astro +++ b/src/components/SelectProfession.astro @@ -1,5 +1,5 @@ --- -import PROFESSIONS, { ProfessionTypes } from "@gw2-ui/data/professions"; +import PROFESSIONS, { type ProfessionTypes } from "@gw2-ui/data/professions"; import Select from "./Select.astro"; import Profession from "./gw2-ui/Profession.astro"; --- diff --git a/src/components/Tabs.astro b/src/components/Tabs.astro index 31c130e..2ab8719 100644 --- a/src/components/Tabs.astro +++ b/src/components/Tabs.astro @@ -1,5 +1,5 @@ --- -import { ProfessionTypes } from "@gw2-ui/data/professions"; +import type { ProfessionTypes } from "@gw2-ui/data/professions"; import Profession from "./gw2-ui/Profession.astro"; interface Props { diff --git a/src/components/frontmatter/FractalFrontmatter.astro b/src/components/frontmatter/FractalFrontmatter.astro index 22a6703..238dfd2 100644 --- a/src/components/frontmatter/FractalFrontmatter.astro +++ b/src/components/frontmatter/FractalFrontmatter.astro @@ -4,7 +4,7 @@ import { fractalHeaders } from "src/utils/cache"; import imageFetch from "src/utils/imageFetch"; import Grid from "../Grid.astro"; import GridItem from "../GridItem.astro"; -import { Heading } from "../TableOfContents.astro"; +import type { Heading } from "../TableOfContents.astro"; import TextDivider from "../TextDivider.astro"; import Attribute from "../gw2-ui/Attribute.astro"; import Table from "../html-components/table.astro"; diff --git a/src/components/gw2-ui/Condition.astro b/src/components/gw2-ui/Condition.astro index 66dc86b..4186abe 100644 --- a/src/components/gw2-ui/Condition.astro +++ b/src/components/gw2-ui/Condition.astro @@ -2,7 +2,7 @@ import Condition from "@gw2-ui/components/Condition/Condition"; import type { ConditionTypes } from "@gw2-ui/data/conditions"; import { getSizeStyle } from "src/utils/styles"; -import { GenericGw2Component } from "src/utils/types"; +import type { GenericGw2Component } from "src/utils/types"; interface Props extends GenericGw2Component { name: ConditionTypes; diff --git a/src/components/gw2-ui/Profession.astro b/src/components/gw2-ui/Profession.astro index 8467061..1b053c1 100644 --- a/src/components/gw2-ui/Profession.astro +++ b/src/components/gw2-ui/Profession.astro @@ -1,6 +1,6 @@ --- import Profession, { - ProfessionProps, + type ProfessionProps, } from "@gw2-ui/components/Profession/Profession"; import type { EliteSpecTypes, ProfessionTypes } from "@gw2-ui/data/professions"; import { getSizeStyle } from "src/utils/styles"; diff --git a/src/components/gw2-ui/Traits.astro b/src/components/gw2-ui/Traits.astro index dc0ac80..34a6fc4 100644 --- a/src/components/gw2-ui/Traits.astro +++ b/src/components/gw2-ui/Traits.astro @@ -1,7 +1,7 @@ --- import TraitLineInternal from "@gw2-ui/components/TraitLine/TraitLineInternal"; import type GW2ApiSpecialization from "@gw2-ui/gw2api/types/specialization/specialization"; -import GW2ApiTrait from "@gw2-ui/gw2api/types/traits/trait"; +import type GW2ApiTrait from "@gw2-ui/gw2api/types/traits/trait"; interface TraitsData { dataSpecialization: GW2ApiSpecialization; diff --git a/src/components/gw2/character/armor/ItemDetails.astro b/src/components/gw2/character/armor/ItemDetails.astro index ae83ab9..977fa3e 100644 --- a/src/components/gw2/character/armor/ItemDetails.astro +++ b/src/components/gw2/character/armor/ItemDetails.astro @@ -1,7 +1,7 @@ --- import { firstUppercase } from "@discretize/react-discretize-components"; import { Item, ItemInternal } from "@gw2-ui/components"; -import GW2ApiItem from "@gw2-ui/gw2api/types/items/item"; +import type GW2ApiItem from "@gw2-ui/gw2api/types/items/item"; interface Props { affix?: string; diff --git a/src/components/gw2/character/backAndTrinkets/BackAndTrinkets.astro b/src/components/gw2/character/backAndTrinkets/BackAndTrinkets.astro index beb4130..e4cebcf 100644 --- a/src/components/gw2/character/backAndTrinkets/BackAndTrinkets.astro +++ b/src/components/gw2/character/backAndTrinkets/BackAndTrinkets.astro @@ -1,8 +1,8 @@ --- -import { ItemRarity } from "@gw2-ui/builder/itemRarities"; -import { ItemStatName } from "@gw2-ui/builder/itemStatNames"; +import type { ItemRarity } from "@gw2-ui/builder/itemRarities"; +import type { ItemStatName } from "@gw2-ui/builder/itemStatNames"; import { ItemInternal } from "@gw2-ui/components"; -import GW2ApiItem from "@gw2-ui/gw2api/types/items/item"; +import type GW2ApiItem from "@gw2-ui/gw2api/types/items/item"; import { addAffixToGw2ui } from "src/utils/apiAugments"; type Affix = ItemStatName; diff --git a/src/components/gw2/character/consumables/Consumables.astro b/src/components/gw2/character/consumables/Consumables.astro index 491bddf..e6a1fcb 100644 --- a/src/components/gw2/character/consumables/Consumables.astro +++ b/src/components/gw2/character/consumables/Consumables.astro @@ -1,7 +1,7 @@ --- import { NoSelection } from "@discretize/react-discretize-components"; import { ConsumableEffect, ItemInternal } from "@gw2-ui/components"; -import GW2ApiItem from "@gw2-ui/gw2api/types/items/item"; +import type GW2ApiItem from "@gw2-ui/gw2api/types/items/item"; interface Props { foodId?: number; diff --git a/src/components/gw2/character/skills/Skills.astro b/src/components/gw2/character/skills/Skills.astro index 8f72627..b7a4ec6 100644 --- a/src/components/gw2/character/skills/Skills.astro +++ b/src/components/gw2/character/skills/Skills.astro @@ -1,7 +1,7 @@ --- import { NoSelection } from "@discretize/react-discretize-components"; import { SkillInternal } from "@gw2-ui/components"; -import GW2ApiSkill from "@gw2-ui/gw2api/types/skills/skill"; +import type GW2ApiSkill from "@gw2-ui/gw2api/types/skills/skill"; interface Props { className?: string; diff --git a/src/components/gw2/character/weapons/ItemDetails.astro b/src/components/gw2/character/weapons/ItemDetails.astro index 8c8c3a7..02e937c 100644 --- a/src/components/gw2/character/weapons/ItemDetails.astro +++ b/src/components/gw2/character/weapons/ItemDetails.astro @@ -1,7 +1,7 @@ --- import { firstUppercase } from "@discretize/react-discretize-components"; import { ItemInternal } from "@gw2-ui/components"; -import GW2ApiItem from "@gw2-ui/gw2api/types/items/item"; +import type GW2ApiItem from "@gw2-ui/gw2api/types/items/item"; interface Props { affix?: string; diff --git a/src/components/gw2/character/weapons/Weapons.astro b/src/components/gw2/character/weapons/Weapons.astro index fce5f16..89f47d4 100644 --- a/src/components/gw2/character/weapons/Weapons.astro +++ b/src/components/gw2/character/weapons/Weapons.astro @@ -6,7 +6,7 @@ import { Icon, ItemInternal } from "@gw2-ui/components"; import type GW2ApiItem from "@gw2-ui/gw2api/types/items/item"; import TextDivider from "src/components/TextDivider.astro"; import { addAffixToGw2ui } from "src/utils/apiAugments"; -import { ItemUpgrades } from "src/utils/types"; +import type { ItemUpgrades } from "src/utils/types"; import ItemDetails from "./ItemDetails.astro"; type Rarity = ItemRarity; diff --git a/src/components/pages/BuildsPage/BuildsDisplay.astro b/src/components/pages/BuildsPage/BuildsDisplay.astro index f22bc15..941dd74 100644 --- a/src/components/pages/BuildsPage/BuildsDisplay.astro +++ b/src/components/pages/BuildsPage/BuildsDisplay.astro @@ -1,6 +1,6 @@ --- -import { ProfessionTypes } from "@gw2-ui/data/professions"; -import BuildCard, { BuildCardProps } from "./BuildCard.astro"; +import type { ProfessionTypes } from "@gw2-ui/data/professions"; +import BuildCard, { type BuildCardProps } from "./BuildCard.astro"; import SelectProfession from "../../SelectProfession.astro"; import RatingsSelect from "./RatingsSelect.astro"; diff --git a/src/layouts/Build.astro b/src/layouts/Build.astro index a5b03a0..356b6b9 100644 --- a/src/layouts/Build.astro +++ b/src/layouts/Build.astro @@ -5,7 +5,7 @@ import "@gw2-ui/default_style.css"; import type { Props as BuildProps } from "../components/frontmatter/BuildFrontmatter.astro"; import BuildFrontmatter from "../components/frontmatter/BuildFrontmatter.astro"; import images from "../components/images"; -import Layout, { SEOProps } from "./Layout.astro"; +import Layout, { type SEOProps } from "./Layout.astro"; export { components } from "../components/components"; diff --git a/src/layouts/Fractal.astro b/src/layouts/Fractal.astro index 433f7db..cd55e8d 100644 --- a/src/layouts/Fractal.astro +++ b/src/layouts/Fractal.astro @@ -6,7 +6,7 @@ import type { Props as FractalProps } from "src/components/frontmatter/FractalFr import FractalFrontmatter from "src/components/frontmatter/FractalFrontmatter.astro"; import { fractalHeaders } from "src/utils/cache"; import imageFetch from "src/utils/imageFetch"; -import Layout, { SEOProps } from "./Layout.astro"; +import Layout, { type SEOProps } from "./Layout.astro"; export interface Props { frontmatter: FractalProps; diff --git a/src/layouts/Guide.astro b/src/layouts/Guide.astro index c118882..6c72ac7 100644 --- a/src/layouts/Guide.astro +++ b/src/layouts/Guide.astro @@ -6,7 +6,7 @@ import type { Props as GuideProps } from "src/components/frontmatter/GuideFrontm import GuideFrontmatter from "src/components/frontmatter/GuideFrontmatter.astro"; import { guideHeaders } from "src/utils/cache"; import imageFetch from "src/utils/imageFetch"; -import Layout, { SEOProps } from "./Layout.astro"; +import Layout, { type SEOProps } from "./Layout.astro"; export interface Props { frontmatter: GuideProps; diff --git a/src/pages/builds/index.astro b/src/pages/builds/index.astro index 81fd5d8..07d396e 100644 --- a/src/pages/builds/index.astro +++ b/src/pages/builds/index.astro @@ -1,5 +1,5 @@ --- -import { ProfessionTypes } from "@gw2-ui/data/professions"; +import type { ProfessionTypes } from "@gw2-ui/data/professions"; import BuildsPage from "@components/pages/BuildsPage/BuildsPage.astro"; const professions: ProfessionTypes[] = [