mirror of
https://github.com/C9Glax/tranga-website.git
synced 2025-03-04 07:55:49 +01:00
13 lines
285 B
TypeScript
13 lines
285 B
TypeScript
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 "";
|
|
} |