Add MangaPark

This commit is contained in:
2025-09-20 21:55:42 +02:00
parent 1ea02590c3
commit 6576d06bc9
5 changed files with 214 additions and 3 deletions

View File

@@ -16,9 +16,7 @@ namespace API.MangaConnectors;
public abstract class MangaConnector(string name, string[] supportedLanguages, string[] baseUris, string iconUrl)
{
[NotMapped] internal DownloadClient downloadClient { get; init; } = null!;
[NotMapped] protected ILog Log { get; init; } = LogManager.GetLogger(name);
[StringLength(32)] public string Name { get; init; } = name;
[StringLength(8)] public string[] SupportedLanguages { get; init; } = supportedLanguages;
[StringLength(2048)] public string IconUrl { get; init; } = iconUrl;