Initial commit

This commit is contained in:
gamer147
2025-11-17 22:58:50 -05:00
commit 3bb8f7f158
63 changed files with 3733 additions and 0 deletions

View File

@@ -0,0 +1,10 @@
namespace FictionArchive.Service.NovelService.Models.SourceAdapters;
public class ChapterMetadata
{
public uint Revision { get; set; }
public uint Order { get; set; }
public string? Url { get; set; }
public string Name { get; set; }
}

View File

@@ -0,0 +1,22 @@
using FictionArchive.Common.Enums;
using FictionArchive.Service.NovelService.Models.Enums;
namespace FictionArchive.Service.NovelService.Models.SourceAdapters;
public class NovelMetadata
{
public string Name { get; set; }
public string Description { get; set; }
public string AuthorName { get; set; }
public string AuthorUrl { get; set; }
public string Url { get; set; }
public string ExternalId { get; set; }
public Language RawLanguage { get; set; }
public NovelStatus RawStatus { get; set; }
public List<ChapterMetadata> Chapters { get; set; }
public List<string> SourceTags { get; set; }
public List<string> SystemTags { get; set; }
public SourceDescriptor SourceDescriptor { get; set; }
}

View File

@@ -0,0 +1,8 @@
namespace FictionArchive.Service.NovelService.Models.SourceAdapters;
public class SourceDescriptor
{
public string Name { get; set; }
public string Key { get; set; }
public string Url { get; set; }
}