mirror of
https://github.com/BinaryAlley/Nemera.git
synced 2026-12-03 07:11:10 +00:00
Renames project paths from Lumina to Nemera
This commit is contained in:
1 parent
ce6fddb4c9
commit
0f659a4877
6450 files changed
No files matched your search
@@ -0,0 +1,54 @@
|
||||
#region ========================================================================= USING =====================================================================================
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Diagnostics;
|
||||
#endregion
|
||||
|
||||
namespace Lumina.Plugins.Epub.Common.Models.DTO.Opf;
|
||||
|
||||
/// <summary>
|
||||
/// Data transfer object for the parsed OPF package document of an EPUB.
|
||||
/// </summary>
|
||||
[DebuggerDisplay("Title: {Title}")]
|
||||
internal sealed class OpfDocumentDto
|
||||
{
|
||||
/// <summary>
|
||||
/// Gets or sets the title of the book.
|
||||
/// </summary>
|
||||
public string? Title { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the author of the book, if applicable.
|
||||
/// </summary>
|
||||
public string? Author { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets the manifest items of the EPUB.
|
||||
/// </summary>
|
||||
public List<OpfManifestItemDto> Items { get; } = [];
|
||||
|
||||
/// <summary>
|
||||
/// Gets the manifest items of the EPUB, keyed by their Id.
|
||||
/// </summary>
|
||||
public Dictionary<string, OpfManifestItemDto> ItemsById { get; } = [];
|
||||
|
||||
/// <summary>
|
||||
/// Gets the Ids of the manifest items that are reading sections, in reading order.
|
||||
/// </summary>
|
||||
public List<string> SpineIds { get; } = [];
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the Id of the manifest item of the navigation document, if applicable.
|
||||
/// </summary>
|
||||
public string? NavItemId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the Id of the manifest item of the NCX document, if applicable.
|
||||
/// </summary>
|
||||
public string? NcxItemId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the Id of the manifest item of the cover image, if applicable.
|
||||
/// </summary>
|
||||
public string? CoverItemId { get; set; }
|
||||
}
|
||||
@@ -0,0 +1,27 @@
|
||||
#region ========================================================================= USING =====================================================================================
|
||||
using System.Diagnostics;
|
||||
#endregion
|
||||
|
||||
namespace Lumina.Plugins.Epub.Common.Models.DTO.Opf;
|
||||
|
||||
/// <summary>
|
||||
/// Data transfer object for a manifest item of the OPF package document of an EPUB.
|
||||
/// </summary>
|
||||
[DebuggerDisplay("Id: {Id}")]
|
||||
internal sealed class OpfManifestItemDto
|
||||
{
|
||||
/// <summary>
|
||||
/// Gets or sets the Id of the manifest item.
|
||||
/// </summary>
|
||||
public string Id { get; set; } = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the href of the manifest item.
|
||||
/// </summary>
|
||||
public string Href { get; set; } = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the media type of the manifest item.
|
||||
/// </summary>
|
||||
public string MediaType { get; set; } = string.Empty;
|
||||
}
|
||||
Reference in new issue
Block a user