Tranga-Website/Website/modules/interfaces/ILibraryConnector.tsx

13 lines
285 B
TypeScript
Raw Normal View History

2024-10-20 20:12:27 +02:00
export default interface ILibraryConnector {
libraryType: number;
baseUrl: string;
auth: string;
}
export function GetLibraryConnectorNameFromNumber(n: number): string {
switch(n){
case 0: return "Komga";
case 1: return "Kavita";
}
return "";
}