fix: lint type import

This commit is contained in:
Julien Froidefond
2025-03-02 14:02:23 +01:00
parent e8386a4834
commit a4b521fe2e
78 changed files with 595 additions and 242 deletions

View File

@@ -2,13 +2,14 @@
import { CoverClient } from "./cover-client";
import { ProgressBar } from "./progress-bar";
import { BookCoverProps, getImageUrl } from "./cover-utils";
import type { BookCoverProps} from "./cover-utils";
import { getImageUrl } from "./cover-utils";
import { ClientOfflineBookService } from "@/lib/services/client-offlinebook.service";
import { MarkAsReadButton } from "./mark-as-read-button";
import { MarkAsUnreadButton } from "./mark-as-unread-button";
import { BookOfflineButton } from "./book-offline-button";
import { useTranslate } from "@/hooks/useTranslate";
import { KomgaBook } from "@/types/komga";
import type { KomgaBook } from "@/types/komga";
import { formatDate } from "@/lib/utils";
// Fonction utilitaire pour obtenir les informations de statut de lecture

View File

@@ -4,7 +4,7 @@ import { useState, useEffect, useCallback } from "react";
import { Download, Check, Loader2 } from "lucide-react";
import { Button } from "./button";
import { useToast } from "./use-toast";
import { KomgaBook } from "@/types/komga";
import type { KomgaBook } from "@/types/komga";
interface BookOfflineButtonProps {
book: KomgaBook;

View File

@@ -1,4 +1,4 @@
import { KomgaBook, KomgaSeries } from "@/types/komga";
import type { KomgaBook, KomgaSeries } from "@/types/komga";
export interface BaseCoverProps {
alt?: string;

View File

@@ -2,7 +2,8 @@
import { CoverClient } from "./cover-client";
import { ProgressBar } from "./progress-bar";
import { SeriesCoverProps, getImageUrl } from "./cover-utils";
import type { SeriesCoverProps} from "./cover-utils";
import { getImageUrl } from "./cover-utils";
export function SeriesCover({
series,