#362 add links to MangaConnectors for Icons

This commit is contained in:
2025-03-07 18:53:34 +01:00
parent 3583e45071
commit d43ae881b5
13 changed files with 717 additions and 10 deletions

View File

@ -7,11 +7,12 @@ using Newtonsoft.Json;
namespace API.Schema.MangaConnectors;
[PrimaryKey("Name")]
public abstract class MangaConnector(string name, string[] supportedLanguages, string[] baseUris)
public abstract class MangaConnector(string name, string[] supportedLanguages, string[] baseUris, string iconUrl)
{
[MaxLength(32)]
public string Name { get; init; } = name;
public string[] SupportedLanguages { get; init; } = supportedLanguages;
public string IconUrl { get; init; } = iconUrl;
public string[] BaseUris { get; init; } = baseUris;
public bool Enabled { get; internal set; } = true;