feat: ajout du système de notifications toast et amélioration du cache avec TTL configurable

This commit is contained in:
Julien Froidefond
2025-02-12 13:55:29 +01:00
parent 0c8109b366
commit 16f0714e9b
9 changed files with 459 additions and 22 deletions

View File

@@ -3,14 +3,7 @@ import { AuthConfig } from "@/types/auth";
import { serverCacheService } from "./server-cache.service";
// Types de cache disponibles
export type CacheType =
| "DEFAULT"
| "HOME"
| "LIBRARIES"
| "SERIES"
| "BOOKS"
| "IMAGES"
| "READ_PROGRESS";
export type CacheType = "DEFAULT" | "HOME" | "LIBRARIES" | "SERIES" | "BOOKS" | "IMAGES";
export abstract class BaseApiService {
protected static async getKomgaConfig(): Promise<AuthConfig> {