#region ========================================================================= USING ===================================================================================== using System; using System.Collections.Generic; using System.Diagnostics; #endregion namespace Lumina.Application.Common.Infrastructure.Models.DTO.Themes; /// /// Data transfer object for the theme.json manifest of a theme pack. /// [DebuggerDisplay("Id: {Id}; Name: {Name}")] public sealed class ThemeManifestDto { /// /// Gets or sets the supported schema version of the manifest. /// public int SchemaVersion { get; set; } /// /// Gets or sets the unique identifier of the theme, a lowercase kebab-case value used by clients to reference it. /// public string Id { get; set; } = string.Empty; /// /// Gets or sets the display name of the theme. /// public string Name { get; set; } = string.Empty; /// /// Gets or sets the description of the theme. /// public string Description { get; set; } = string.Empty; /// /// Gets or sets the author of the theme. /// public string Author { get; set; } = string.Empty; /// /// Gets or sets the version of the theme, using semantic version form. /// public string Version { get; set; } = string.Empty; /// /// Gets or sets the preview image path relative to the theme pack root, or when the theme has no preview. /// public string? Preview { get; set; } /// /// Gets or sets the template mappings from template key to a file path under templates/. /// public Dictionary Templates { get; set; } = new(StringComparer.OrdinalIgnoreCase); }