Some Code Cleanup

This commit is contained in:
2023-12-25 21:54:40 +01:00
parent a2687083e0
commit 3108d9bf20
61 changed files with 305 additions and 247 deletions

View File

@@ -18,7 +18,7 @@
-->
<script lang="ts">
import type {EventFight, ExtendedEvent} from "../../../types/event.js";
import type {EventFight, ExtendedEvent} from "@type/event.ts";
import {
Button,
Checkbox, Input, Label,
@@ -36,12 +36,12 @@
} from "flowbite-svelte-icons";
import FightCard from "./FightCard.svelte";
import CreateFightModal from "./modals/CreateFightModal.svelte";
import {fightRepo} from "../../../repo/repo";
import {groups, players} from "../../../stores/stores";
import {fightRepo} from "@repo/repo.ts";
import {groups, players} from "@stores/stores.ts";
import TypeAheadSearch from "../../components/TypeAheadSearch.svelte";
import type {UpdateFight} from "../../../repo/fight.js";
import type {UpdateFight} from "@repo/fight.ts";
import dayjs from "dayjs";
import * as duration from "dayjs/plugin/duration"
import duration from "dayjs/plugin/duration"
dayjs.extend(duration)
export let data: ExtendedEvent;