Improves the plugin system documentation, tests and conventions

- Documents the book metadata DTOs and the Book aggregate constructor parameters
- References ADR-0006 in the scan snapshot repository remarks, explaining the Dapper choice
- Extracts shared plugin entity fixtures and uses them in the plugin and metadata provider tests
- Moves PluginLoadResult to the Common DTO models, renaming it PluginLoadResultDto
- Replaces the duplicate Contracts plugin setting type with the shared kernel enum
- Removes the generated plugin view Designer file and its project wiring
- Drops redundant braces in the plugin repositories
This commit is contained in:
BinaryAlley committed 2026-08-12 13:58:47 -07:00
1 parent 42566dcf06
commit 3653ff5bd7
25 files changed
+168 -321

No files matched your search

@@ -1,7 +1,7 @@
#region ========================================================================= USING =====================================================================================
using Lumina.Contracts.Responses.Plugins;
using Lumina.Plugins.Contracts.Common.Models.DTO.Settings;
using ContractsPluginSettingType = Lumina.Contracts.Responses.Plugins.PluginSettingType;
using Lumina.Domain.SharedKernel.Common.Enums.Plugins;
#endregion
namespace Lumina.Application.Common.Mapping.Plugins;
@@ -21,7 +21,7 @@ public static class PluginSettingDescriptorMapping
return new PluginSettingDescriptorResponse(
descriptor.Key,
descriptor.Label,
(ContractsPluginSettingType)(int)descriptor.Type,
(PluginSettingType)(int)descriptor.Type,
descriptor.DefaultValue,
descriptor.AllowedValues
);