From 516e4f64f065df25c9e82ba1d06196b16fb215be Mon Sep 17 00:00:00 2001 From: MasterGordon Date: Fri, 18 Oct 2024 17:32:28 +0200 Subject: [PATCH] fixed build --- backend/controller/userController.ts | 1 - shared/testBoard.ts | 2 +- src/components/Board.tsx | 1 - src/themes/MLG.ts | 2 +- src/themes/Theme.ts | 1 - src/themes/basic.ts | 2 +- src/themes/black-and-white.ts | 5 +++-- src/themes/cats.ts | 2 +- src/themes/circuit-binary.ts | 2 +- src/themes/circuit.ts | 2 +- src/themes/color-palettes/crimson.ts | 2 +- src/themes/color-palettes/nautical.ts | 8 +++++--- src/themes/color-palettes/shadow-warrior.ts | 21 ++++++++++++++------- src/themes/color-palettes/up-in-smoke.ts | 2 +- src/themes/colors/blue.ts | 5 +++-- src/themes/colors/green.ts | 5 +++-- src/themes/colors/orange.ts | 5 +++-- src/themes/colors/pink.ts | 5 +++-- src/themes/colors/purple.ts | 5 +++-- src/themes/colors/red.ts | 5 +++-- src/themes/colors/turquoise.ts | 5 +++-- src/themes/colors/yellow.ts | 2 +- src/themes/default.ts | 2 +- src/themes/dinos.ts | 2 +- src/themes/elden-ring.ts | 2 +- src/themes/farm.ts | 2 +- src/themes/flowers.ts | 2 +- src/themes/halli-galli.ts | 2 +- src/themes/index.ts | 2 +- src/themes/insects.ts | 2 +- src/themes/isaac.ts | 2 +- src/themes/janitor-tresh.ts | 2 +- src/themes/league-teemo.ts | 5 ++--- src/themes/league-ziggs.ts | 5 ++--- src/themes/mine-dogs.ts | 2 +- src/themes/minecraft-nether.ts | 5 +++-- src/themes/minecraft-overworld.ts | 5 +++-- src/themes/poop.ts | 2 +- src/themes/retro-wave.ts | 2 +- src/themes/techies-radiant.ts | 5 +++-- src/themes/tron-blue.ts | 2 +- src/themes/tron-orange.ts | 2 +- src/themes/underwater.ts | 2 +- 43 files changed, 81 insertions(+), 66 deletions(-) diff --git a/backend/controller/userController.ts b/backend/controller/userController.ts index 5414034..edbc884 100644 --- a/backend/controller/userController.ts +++ b/backend/controller/userController.ts @@ -151,7 +151,6 @@ export const userController = createController({ const result = weightedPickRandom(lootbox.items, (i) => getWeight(i.rarity), ); - console.log(result); collection.entries.push({ id: result.id, aquired: Date.now(), diff --git a/shared/testBoard.ts b/shared/testBoard.ts index 8f49804..eff3917 100644 --- a/shared/testBoard.ts +++ b/shared/testBoard.ts @@ -1,4 +1,4 @@ -import { ServerGame } from "./gameType"; +import type { ServerGame } from "./gameType"; const rotate = (arr: boolean[][]) => { return arr[0].map((_, colIndex) => arr.map((row) => row[colIndex])); diff --git a/src/components/Board.tsx b/src/components/Board.tsx index c4acd69..cb0137e 100644 --- a/src/components/Board.tsx +++ b/src/components/Board.tsx @@ -280,7 +280,6 @@ const Tile = ({ const resolveSprite = useCallback( (lt: LoadedTexture) => { if (Array.isArray(lt)) { - console.log("hash:", hashStr(game.uuid + ";" + x + ";" + y)); return weightedPickRandom( lt, (i) => i.weight, diff --git a/src/themes/MLG.ts b/src/themes/MLG.ts index d7dd438..0f4dfc9 100644 --- a/src/themes/MLG.ts +++ b/src/themes/MLG.ts @@ -1,4 +1,4 @@ -import { Theme } from "./Theme"; +import type { Theme } from "./Theme"; export const MLGTheme: Theme = { size: 32, diff --git a/src/themes/Theme.ts b/src/themes/Theme.ts index 4315998..a35adba 100644 --- a/src/themes/Theme.ts +++ b/src/themes/Theme.ts @@ -81,7 +81,6 @@ export const useTheme = (theme: Theme) => { return [key, loaded] as const; }), ); - console.log("loaded", Object.fromEntries(loadedEntries)); setLoadedTheme(Object.fromEntries(loadedEntries) as LoadedTheme); }; loadTheme(); diff --git a/src/themes/basic.ts b/src/themes/basic.ts index 07d59e5..a32c4e8 100644 --- a/src/themes/basic.ts +++ b/src/themes/basic.ts @@ -1,4 +1,4 @@ -import { Theme } from "./Theme"; +import type { Theme } from "./Theme"; export const basicTheme: Theme = { size: 32, diff --git a/src/themes/black-and-white.ts b/src/themes/black-and-white.ts index fc9b7aa..7f6b092 100644 --- a/src/themes/black-and-white.ts +++ b/src/themes/black-and-white.ts @@ -1,4 +1,4 @@ -import { Theme } from "./Theme"; +import type { Theme } from "./Theme"; export const blackAndWhiteTheme: Theme = { size: 32, @@ -6,7 +6,8 @@ export const blackAndWhiteTheme: Theme = { tile: () => import("../assets/themes/black-and-white/tile.png"), revealed: () => import("../assets/themes/black-and-white/revealed.png"), flag: () => import("../assets/themes/black-and-white/flag.png"), - questionMark: () => import("../assets/themes/black-and-white/question-mark.png"), + questionMark: () => + import("../assets/themes/black-and-white/question-mark.png"), lastPos: () => import("../assets/themes/black-and-white/last-pos.png"), 1: () => import("../assets/themes/black-and-white/1.png"), 2: () => import("../assets/themes/black-and-white/2.png"), diff --git a/src/themes/cats.ts b/src/themes/cats.ts index 1887011..0ebcb24 100644 --- a/src/themes/cats.ts +++ b/src/themes/cats.ts @@ -1,4 +1,4 @@ -import { Theme } from "./Theme"; +import type { Theme } from "./Theme"; export const catsTheme: Theme = { size: 32, diff --git a/src/themes/circuit-binary.ts b/src/themes/circuit-binary.ts index 2a5d85e..6dd83fb 100644 --- a/src/themes/circuit-binary.ts +++ b/src/themes/circuit-binary.ts @@ -1,4 +1,4 @@ -import { Theme } from "./Theme"; +import type { Theme } from "./Theme"; export const circuitBinaryTheme: Theme = { size: 32, diff --git a/src/themes/circuit.ts b/src/themes/circuit.ts index 0ad59f6..8b8b347 100644 --- a/src/themes/circuit.ts +++ b/src/themes/circuit.ts @@ -1,4 +1,4 @@ -import { Theme } from "./Theme"; +import type { Theme } from "./Theme"; export const circuitTheme: Theme = { size: 32, diff --git a/src/themes/color-palettes/crimson.ts b/src/themes/color-palettes/crimson.ts index 9383914..b286c71 100644 --- a/src/themes/color-palettes/crimson.ts +++ b/src/themes/color-palettes/crimson.ts @@ -1,4 +1,4 @@ -import { Theme } from "../Theme"; +import type { Theme } from "../Theme"; export const crimson: Theme = { size: 32, diff --git a/src/themes/color-palettes/nautical.ts b/src/themes/color-palettes/nautical.ts index 8c58789..5182b64 100644 --- a/src/themes/color-palettes/nautical.ts +++ b/src/themes/color-palettes/nautical.ts @@ -1,14 +1,16 @@ -import { Theme } from "../Theme"; +import type { Theme } from "../Theme"; export const nauticalTheme: Theme = { size: 32, mine: () => import("../../assets/themes/color-palettes/nautical/mine.png"), tile: () => import("../../assets/themes/color-palettes/nautical/tile.png"), - revealed: () => import("../../assets/themes/color-palettes/nautical/revealed.png"), + revealed: () => + import("../../assets/themes/color-palettes/nautical/revealed.png"), flag: () => import("../../assets/themes/color-palettes/nautical/flag.png"), questionMark: () => import("../../assets/themes/color-palettes/nautical/question-mark.png"), - lastPos: () => import("../../assets/themes/color-palettes/nautical/last-pos.png"), + lastPos: () => + import("../../assets/themes/color-palettes/nautical/last-pos.png"), 1: () => import("../../assets/themes/color-palettes/nautical/1.png"), 2: () => import("../../assets/themes/color-palettes/nautical/2.png"), 3: () => import("../../assets/themes/color-palettes/nautical/3.png"), diff --git a/src/themes/color-palettes/shadow-warrior.ts b/src/themes/color-palettes/shadow-warrior.ts index 45ca92c..7f060f7 100644 --- a/src/themes/color-palettes/shadow-warrior.ts +++ b/src/themes/color-palettes/shadow-warrior.ts @@ -1,14 +1,21 @@ -import { Theme } from "../Theme"; +import type { Theme } from "../Theme"; export const shadowWarriorTheme: Theme = { size: 32, - mine: () => import("../../assets/themes/color-palettes/shadow-warrior/mine.png"), - tile: () => import("../../assets/themes/color-palettes/shadow-warrior/tile.png"), - revealed: () => import("../../assets/themes/color-palettes/shadow-warrior/revealed.png"), - flag: () => import("../../assets/themes/color-palettes/shadow-warrior/flag.png"), + mine: () => + import("../../assets/themes/color-palettes/shadow-warrior/mine.png"), + tile: () => + import("../../assets/themes/color-palettes/shadow-warrior/tile.png"), + revealed: () => + import("../../assets/themes/color-palettes/shadow-warrior/revealed.png"), + flag: () => + import("../../assets/themes/color-palettes/shadow-warrior/flag.png"), questionMark: () => - import("../../assets/themes/color-palettes/shadow-warrior/question-mark.png"), - lastPos: () => import("../../assets/themes/color-palettes/shadow-warrior/last-pos.png"), + import( + "../../assets/themes/color-palettes/shadow-warrior/question-mark.png" + ), + lastPos: () => + import("../../assets/themes/color-palettes/shadow-warrior/last-pos.png"), 1: () => import("../../assets/themes/color-palettes/shadow-warrior/1.png"), 2: () => import("../../assets/themes/color-palettes/shadow-warrior/2.png"), 3: () => import("../../assets/themes/color-palettes/shadow-warrior/3.png"), diff --git a/src/themes/color-palettes/up-in-smoke.ts b/src/themes/color-palettes/up-in-smoke.ts index a44ab94..8829656 100644 --- a/src/themes/color-palettes/up-in-smoke.ts +++ b/src/themes/color-palettes/up-in-smoke.ts @@ -1,4 +1,4 @@ -import { Theme } from "../Theme"; +import type { Theme } from "../Theme"; export const upInSmokeTheme: Theme = { size: 32, diff --git a/src/themes/colors/blue.ts b/src/themes/colors/blue.ts index 2071d49..35dc5e7 100644 --- a/src/themes/colors/blue.ts +++ b/src/themes/colors/blue.ts @@ -1,4 +1,4 @@ -import { Theme } from "../Theme"; +import type { Theme } from "../Theme"; export const blueTheme: Theme = { size: 32, @@ -6,7 +6,8 @@ export const blueTheme: Theme = { tile: () => import("../../assets/themes/colors/blue/tile.png"), revealed: () => import("../../assets/themes/colors/blue/revealed.png"), flag: () => import("../../assets/themes/colors/blue/flag.png"), - questionMark: () => import("../../assets/themes/colors/blue/question-mark.png"), + questionMark: () => + import("../../assets/themes/colors/blue/question-mark.png"), lastPos: () => import("../../assets/themes/colors/blue/last-pos.png"), 1: () => import("../../assets/themes/colors/blue/1.png"), 2: () => import("../../assets/themes/colors/blue/2.png"), diff --git a/src/themes/colors/green.ts b/src/themes/colors/green.ts index 466cec7..da0f49d 100644 --- a/src/themes/colors/green.ts +++ b/src/themes/colors/green.ts @@ -1,4 +1,4 @@ -import { Theme } from "../Theme"; +import type { Theme } from "../Theme"; export const greenTheme: Theme = { size: 32, @@ -6,7 +6,8 @@ export const greenTheme: Theme = { tile: () => import("../../assets/themes/colors/green/tile.png"), revealed: () => import("../../assets/themes/colors/green/revealed.png"), flag: () => import("../../assets/themes/colors/green/flag.png"), - questionMark: () => import("../../assets/themes/colors/green/question-mark.png"), + questionMark: () => + import("../../assets/themes/colors/green/question-mark.png"), lastPos: () => import("../../assets/themes/colors/green/last-pos.png"), 1: () => import("../../assets/themes/colors/green/1.png"), 2: () => import("../../assets/themes/colors/green/2.png"), diff --git a/src/themes/colors/orange.ts b/src/themes/colors/orange.ts index b9622a5..bfedd68 100644 --- a/src/themes/colors/orange.ts +++ b/src/themes/colors/orange.ts @@ -1,4 +1,4 @@ -import { Theme } from "../Theme"; +import type { Theme } from "../Theme"; export const orangeTheme: Theme = { size: 32, @@ -6,7 +6,8 @@ export const orangeTheme: Theme = { tile: () => import("../../assets/themes/colors/orange/tile.png"), revealed: () => import("../../assets/themes/colors/orange/revealed.png"), flag: () => import("../../assets/themes/colors/orange/flag.png"), - questionMark: () => import("../../assets/themes/colors/orange/question-mark.png"), + questionMark: () => + import("../../assets/themes/colors/orange/question-mark.png"), lastPos: () => import("../../assets/themes/colors/orange/last-pos.png"), 1: () => import("../../assets/themes/colors/orange/1.png"), 2: () => import("../../assets/themes/colors/orange/2.png"), diff --git a/src/themes/colors/pink.ts b/src/themes/colors/pink.ts index 9b50983..609d160 100644 --- a/src/themes/colors/pink.ts +++ b/src/themes/colors/pink.ts @@ -1,4 +1,4 @@ -import { Theme } from "../Theme"; +import type { Theme } from "../Theme"; export const pinkTheme: Theme = { size: 32, @@ -6,7 +6,8 @@ export const pinkTheme: Theme = { tile: () => import("../../assets/themes/colors/pink/tile.png"), revealed: () => import("../../assets/themes/colors/pink/revealed.png"), flag: () => import("../../assets/themes/colors/pink/flag.png"), - questionMark: () => import("../../assets/themes/colors/pink/question-mark.png"), + questionMark: () => + import("../../assets/themes/colors/pink/question-mark.png"), lastPos: () => import("../../assets/themes/colors/pink/last-pos.png"), 1: () => import("../../assets/themes/colors/pink/1.png"), 2: () => import("../../assets/themes/colors/pink/2.png"), diff --git a/src/themes/colors/purple.ts b/src/themes/colors/purple.ts index 10c3bd9..5bb0e89 100644 --- a/src/themes/colors/purple.ts +++ b/src/themes/colors/purple.ts @@ -1,4 +1,4 @@ -import { Theme } from "../Theme"; +import type { Theme } from "../Theme"; export const purpleTheme: Theme = { size: 32, @@ -6,7 +6,8 @@ export const purpleTheme: Theme = { tile: () => import("../../assets/themes/colors/purple/tile.png"), revealed: () => import("../../assets/themes/colors/purple/revealed.png"), flag: () => import("../../assets/themes/colors/purple/flag.png"), - questionMark: () => import("../../assets/themes/colors/purple/question-mark.png"), + questionMark: () => + import("../../assets/themes/colors/purple/question-mark.png"), lastPos: () => import("../../assets/themes/colors/purple/last-pos.png"), 1: () => import("../../assets/themes/colors/purple/1.png"), 2: () => import("../../assets/themes/colors/purple/2.png"), diff --git a/src/themes/colors/red.ts b/src/themes/colors/red.ts index 48558f8..3025758 100644 --- a/src/themes/colors/red.ts +++ b/src/themes/colors/red.ts @@ -1,4 +1,4 @@ -import { Theme } from "../Theme"; +import type { Theme } from "../Theme"; export const redTheme: Theme = { size: 32, @@ -6,7 +6,8 @@ export const redTheme: Theme = { tile: () => import("../../assets/themes/colors/red/tile.png"), revealed: () => import("../../assets/themes/colors/red/revealed.png"), flag: () => import("../../assets/themes/colors/red/flag.png"), - questionMark: () => import("../../assets/themes/colors/red/question-mark.png"), + questionMark: () => + import("../../assets/themes/colors/red/question-mark.png"), lastPos: () => import("../../assets/themes/colors/red/last-pos.png"), 1: () => import("../../assets/themes/colors/red/1.png"), 2: () => import("../../assets/themes/colors/red/2.png"), diff --git a/src/themes/colors/turquoise.ts b/src/themes/colors/turquoise.ts index 8a365d3..954963e 100644 --- a/src/themes/colors/turquoise.ts +++ b/src/themes/colors/turquoise.ts @@ -1,4 +1,4 @@ -import { Theme } from "../Theme"; +import type { Theme } from "../Theme"; export const turquoiseTheme: Theme = { size: 32, @@ -6,7 +6,8 @@ export const turquoiseTheme: Theme = { tile: () => import("../../assets/themes/colors/turquoise/tile.png"), revealed: () => import("../../assets/themes/colors/turquoise/revealed.png"), flag: () => import("../../assets/themes/colors/turquoise/flag.png"), - questionMark: () => import("../../assets/themes/colors/turquoise/question-mark.png"), + questionMark: () => + import("../../assets/themes/colors/turquoise/question-mark.png"), lastPos: () => import("../../assets/themes/colors/turquoise/last-pos.png"), 1: () => import("../../assets/themes/colors/turquoise/1.png"), 2: () => import("../../assets/themes/colors/turquoise/2.png"), diff --git a/src/themes/colors/yellow.ts b/src/themes/colors/yellow.ts index ac805f1..ddba9cb 100644 --- a/src/themes/colors/yellow.ts +++ b/src/themes/colors/yellow.ts @@ -1,4 +1,4 @@ -import { Theme } from "../Theme"; +import type { Theme } from "../Theme"; export const yellowTheme: Theme = { size: 32, diff --git a/src/themes/default.ts b/src/themes/default.ts index e56766e..46fb8c3 100644 --- a/src/themes/default.ts +++ b/src/themes/default.ts @@ -1,4 +1,4 @@ -import { Theme } from "./Theme"; +import type { Theme } from "./Theme"; export const defaultTheme: Theme = { size: 32, diff --git a/src/themes/dinos.ts b/src/themes/dinos.ts index 0124a15..8cac39e 100644 --- a/src/themes/dinos.ts +++ b/src/themes/dinos.ts @@ -1,4 +1,4 @@ -import { Theme } from "./Theme"; +import type { Theme } from "./Theme"; export const dinoTheme: Theme = { size: 32, diff --git a/src/themes/elden-ring.ts b/src/themes/elden-ring.ts index a477d5f..735125c 100644 --- a/src/themes/elden-ring.ts +++ b/src/themes/elden-ring.ts @@ -1,4 +1,4 @@ -import { Theme } from "./Theme"; +import type { Theme } from "./Theme"; export const eldenRingTheme: Theme = { size: 32, diff --git a/src/themes/farm.ts b/src/themes/farm.ts index d6f393f..6a55bf1 100644 --- a/src/themes/farm.ts +++ b/src/themes/farm.ts @@ -1,4 +1,4 @@ -import { Theme } from "./Theme"; +import type { Theme } from "./Theme"; export const farmTheme: Theme = { size: 32, diff --git a/src/themes/flowers.ts b/src/themes/flowers.ts index c99d127..59494b8 100644 --- a/src/themes/flowers.ts +++ b/src/themes/flowers.ts @@ -1,4 +1,4 @@ -import { Theme } from "./Theme"; +import type { Theme } from "./Theme"; export const flowersTheme: Theme = { size: 32, diff --git a/src/themes/halli-galli.ts b/src/themes/halli-galli.ts index d86545b..498c938 100644 --- a/src/themes/halli-galli.ts +++ b/src/themes/halli-galli.ts @@ -1,4 +1,4 @@ -import { Theme } from "./Theme"; +import type { Theme } from "./Theme"; export const halliGalliTheme: Theme = { size: 32, diff --git a/src/themes/index.ts b/src/themes/index.ts index dd252ad..f2e43f8 100644 --- a/src/themes/index.ts +++ b/src/themes/index.ts @@ -35,7 +35,7 @@ import { retroWaveTheme } from "./retro-wave"; import { romanceTheme } from "./romance"; import { techiesDireTheme } from "./techies-dire"; import { techiesRadiantTheme } from "./techies-radiant"; -import { Theme } from "./Theme"; +import type { Theme } from "./Theme"; import { tronBlueTheme } from "./tron-blue"; import { tronOrangeTheme } from "./tron-orange"; import { underwaterTheme } from "./underwater"; diff --git a/src/themes/insects.ts b/src/themes/insects.ts index ebd6cc3..25d0f63 100644 --- a/src/themes/insects.ts +++ b/src/themes/insects.ts @@ -1,4 +1,4 @@ -import { Theme } from "./Theme"; +import type { Theme } from "./Theme"; export const insectsTheme: Theme = { size: 32, diff --git a/src/themes/isaac.ts b/src/themes/isaac.ts index 7c16f1f..b19045e 100644 --- a/src/themes/isaac.ts +++ b/src/themes/isaac.ts @@ -1,4 +1,4 @@ -import { Theme } from "./Theme"; +import type { Theme } from "./Theme"; export const isaacTheme: Theme = { size: 32, diff --git a/src/themes/janitor-tresh.ts b/src/themes/janitor-tresh.ts index ab5f60a..15e979f 100644 --- a/src/themes/janitor-tresh.ts +++ b/src/themes/janitor-tresh.ts @@ -1,4 +1,4 @@ -import { Theme } from "./Theme"; +import type { Theme } from "./Theme"; export const janitorTreshTheme: Theme = { size: 32, diff --git a/src/themes/league-teemo.ts b/src/themes/league-teemo.ts index 22de55f..5e18d66 100644 --- a/src/themes/league-teemo.ts +++ b/src/themes/league-teemo.ts @@ -1,4 +1,4 @@ -import { Theme } from "./Theme"; +import type { Theme } from "./Theme"; export const leagueTeemoTheme: Theme = { size: 32, @@ -6,8 +6,7 @@ export const leagueTeemoTheme: Theme = { tile: () => import("../assets/themes/league/tile-1.png"), revealed: () => import("../assets/themes/league/revealed.png"), flag: () => import("../assets/themes/league/teemo/flag.png"), - questionMark: () => - import("../assets/themes/league/question-mark.png"), + questionMark: () => import("../assets/themes/league/question-mark.png"), lastPos: () => import("../assets/themes/league/last-pos.png"), 1: () => import("../assets/themes/league/1.png"), 2: () => import("../assets/themes/league/2.png"), diff --git a/src/themes/league-ziggs.ts b/src/themes/league-ziggs.ts index d3f1bf4..05f7915 100644 --- a/src/themes/league-ziggs.ts +++ b/src/themes/league-ziggs.ts @@ -1,4 +1,4 @@ -import { Theme } from "./Theme"; +import type { Theme } from "./Theme"; export const leagueZiggsTheme: Theme = { size: 32, @@ -6,8 +6,7 @@ export const leagueZiggsTheme: Theme = { tile: () => import("../assets/themes/league/tile-1.png"), revealed: () => import("../assets/themes/league/revealed.png"), flag: () => import("../assets/themes/league/ziggs/flag.png"), - questionMark: () => - import("../assets/themes/league/question-mark.png"), + questionMark: () => import("../assets/themes/league/question-mark.png"), lastPos: () => import("../assets/themes/league/last-pos.png"), 1: () => import("../assets/themes/league/1.png"), 2: () => import("../assets/themes/league/2.png"), diff --git a/src/themes/mine-dogs.ts b/src/themes/mine-dogs.ts index 4f3a953..f9ca0d7 100644 --- a/src/themes/mine-dogs.ts +++ b/src/themes/mine-dogs.ts @@ -1,4 +1,4 @@ -import { Theme } from "./Theme"; +import type { Theme } from "./Theme"; export const mineDogsTheme: Theme = { size: 32, diff --git a/src/themes/minecraft-nether.ts b/src/themes/minecraft-nether.ts index dcd09d1..1eb2aff 100644 --- a/src/themes/minecraft-nether.ts +++ b/src/themes/minecraft-nether.ts @@ -1,4 +1,4 @@ -import { Theme } from "./Theme"; +import type { Theme } from "./Theme"; export const minecraftNetherTheme: Theme = { size: 32, @@ -6,7 +6,8 @@ export const minecraftNetherTheme: Theme = { tile: () => import("../assets/themes/minecraft-nether/tile.png"), revealed: () => import("../assets/themes/minecraft-nether/revealed.png"), flag: () => import("../assets/themes/minecraft-nether/flag.png"), - questionMark: () => import("../assets/themes/minecraft-nether/question-mark.png"), + questionMark: () => + import("../assets/themes/minecraft-nether/question-mark.png"), lastPos: () => import("../assets/themes/minecraft-nether/last-pos.png"), 1: () => import("../assets/themes/minecraft-nether/1.png"), 2: () => import("../assets/themes/minecraft-nether/2.png"), diff --git a/src/themes/minecraft-overworld.ts b/src/themes/minecraft-overworld.ts index 4024cb9..f7e62d0 100644 --- a/src/themes/minecraft-overworld.ts +++ b/src/themes/minecraft-overworld.ts @@ -1,4 +1,4 @@ -import { Theme } from "./Theme"; +import type { Theme } from "./Theme"; export const minecraftOverworldTheme: Theme = { size: 32, @@ -6,7 +6,8 @@ export const minecraftOverworldTheme: Theme = { tile: () => import("../assets/themes/minecraft-overworld/tile.png"), revealed: () => import("../assets/themes/minecraft-overworld/revealed.png"), flag: () => import("../assets/themes/minecraft-overworld/flag.png"), - questionMark: () => import("../assets/themes/minecraft-overworld/question-mark.png"), + questionMark: () => + import("../assets/themes/minecraft-overworld/question-mark.png"), lastPos: () => import("../assets/themes/minecraft-overworld/last-pos.png"), 1: () => import("../assets/themes/minecraft-overworld/1.png"), 2: () => import("../assets/themes/minecraft-overworld/2.png"), diff --git a/src/themes/poop.ts b/src/themes/poop.ts index 77e6e4c..e78a801 100644 --- a/src/themes/poop.ts +++ b/src/themes/poop.ts @@ -1,4 +1,4 @@ -import { Theme } from "./Theme"; +import type { Theme } from "./Theme"; export const poopTheme: Theme = { size: 32, diff --git a/src/themes/retro-wave.ts b/src/themes/retro-wave.ts index 8b859f9..ef67d02 100644 --- a/src/themes/retro-wave.ts +++ b/src/themes/retro-wave.ts @@ -1,4 +1,4 @@ -import { Theme } from "./Theme"; +import type { Theme } from "./Theme"; export const retroWaveTheme: Theme = { size: 32, diff --git a/src/themes/techies-radiant.ts b/src/themes/techies-radiant.ts index 117f5df..348062d 100644 --- a/src/themes/techies-radiant.ts +++ b/src/themes/techies-radiant.ts @@ -1,4 +1,4 @@ -import { Theme } from "./Theme"; +import type { Theme } from "./Theme"; export const techiesRadiantTheme: Theme = { size: 32, @@ -6,7 +6,8 @@ export const techiesRadiantTheme: Theme = { tile: () => import("../assets/themes/techies/radiant/tile-1.png"), revealed: () => import("../assets/themes/techies/radiant/revealed-1.png"), flag: () => import("../assets/themes/techies/flag.png"), - questionMark: () => import("../assets/themes/techies/radiant/question-mark.png"), + questionMark: () => + import("../assets/themes/techies/radiant/question-mark.png"), lastPos: () => import("../assets/themes/techies/radiant/last-pos.png"), 1: () => import("../assets/themes/techies/radiant/1.png"), 2: () => import("../assets/themes/techies/radiant/2.png"), diff --git a/src/themes/tron-blue.ts b/src/themes/tron-blue.ts index 59d56b2..5e58a9e 100644 --- a/src/themes/tron-blue.ts +++ b/src/themes/tron-blue.ts @@ -1,4 +1,4 @@ -import { Theme } from "./Theme"; +import type { Theme } from "./Theme"; export const tronBlueTheme: Theme = { size: 32, diff --git a/src/themes/tron-orange.ts b/src/themes/tron-orange.ts index 32108bb..78c2f05 100644 --- a/src/themes/tron-orange.ts +++ b/src/themes/tron-orange.ts @@ -1,4 +1,4 @@ -import { Theme } from "./Theme"; +import type { Theme } from "./Theme"; export const tronOrangeTheme: Theme = { size: 32, diff --git a/src/themes/underwater.ts b/src/themes/underwater.ts index 9469c9a..bcf0208 100644 --- a/src/themes/underwater.ts +++ b/src/themes/underwater.ts @@ -1,4 +1,4 @@ -import { Theme } from "./Theme"; +import type { Theme } from "./Theme"; export const underwaterTheme: Theme = { size: 32,