fixed some formatting and added komga integration stuff

This commit is contained in:
2026-11-04 10:51:50 +00:00
parent 1c2c577280
commit 17708b3ae8
17 changed files with 366 additions and 81 deletions

3
node_modules/$app/types/env.d.ts generated vendored
View File

@@ -7,6 +7,9 @@ declare module '$app/env/private' {
export const JELLYFIN_PLAYLIST_ID: string;
export const JELLYFIN_USER_ID: string;
export const JELLYFIN_LIBRARY_ID: string;
export const KOMGA_URL: string;
export const KOMGA_API_KEY: string;
export const KOMGA_LIBRARY_ID: string;
}
declare module '$app/env/public' {

11
node_modules/$app/types/index.d.ts generated vendored
View File

@@ -6,18 +6,19 @@ import './env.js';
declare module "$app/types" {
export interface AppTypes {
PageRouteId(): "/";
EndpointRouteId(): "/artwork/[itemId]" | "/posters/[itemId]";
RouteId(): "/" | "/artwork/[itemId]" | "/posters/[itemId]";
EndpointRouteId(): "/artwork/[itemId]" | "/books/[bookId]" | "/posters/[itemId]";
RouteId(): "/" | "/artwork/[itemId]" | "/books/[bookId]" | "/posters/[itemId]";
RouteParams(): {
"/artwork/[itemId]": { itemId: string };
"/books/[bookId]": { bookId: string };
"/posters/[itemId]": { itemId: string }
};
LayoutParams(): {
"/": { itemId?: string | undefined }
"/": { itemId?: string | undefined; bookId?: string | undefined }
};
Path(): "" | `artwork/${string}` & {} | `posters/${string}` & {};
Path(): "" | `artwork/${string}` & {} | `books/${string}` & {} | `posters/${string}` & {};
ResolvedPathname(): `${"/" | `/${string}/`}${ReturnType<AppTypes['Path']>}`;
AssetPath(): "robots.txt" | "adumh00man.png";
AssetPath(): "adumh00man.png" | "robots.txt";
}
}