mirror of
https://github.com/BinaryAlley/Nemera.git
synced 2026-12-03 15:11:10 +00:00
feat: adds FastEndpoints core infrastructure and contracts to the web project
This commit is contained in:
1 parent
394b33efd2
commit
733e174cac
137 files changed
+3139
-158
No files matched your search
@@ -0,0 +1,19 @@
|
||||
#region ========================================================================= USING =====================================================================================
|
||||
using System.Diagnostics;
|
||||
#endregion
|
||||
|
||||
namespace Lumina.Presentation.Web.Common.DTO.Configuration;
|
||||
|
||||
/// <summary>
|
||||
/// Data transfer object for deserializing media settings.
|
||||
/// </summary>
|
||||
[DebuggerDisplay("Section name: {SECTION_NAME}")]
|
||||
public class EncryptionSettingsDto
|
||||
{
|
||||
public const string SECTION_NAME = "EncryptionSettings";
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the root directory where media files are stored.
|
||||
/// </summary>
|
||||
public required string SecretKey { get; init; }
|
||||
}
|
||||
@@ -0,0 +1,29 @@
|
||||
#region ========================================================================= USING =====================================================================================
|
||||
using System.Diagnostics;
|
||||
#endregion
|
||||
|
||||
namespace Lumina.Presentation.Web.Common.DTO.Configuration;
|
||||
|
||||
/// <summary>
|
||||
/// Data transfer object for deserializing server configuration settings.
|
||||
/// </summary>
|
||||
[DebuggerDisplay("Section name: {SECTION_NAME}")]
|
||||
public class ServerConfigurationDto
|
||||
{
|
||||
public const string SECTION_NAME = "ServerConfiguration";
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the remote API server path.
|
||||
/// </summary>
|
||||
public required char ApiVersion { get; init; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the remote API server path.
|
||||
/// </summary>
|
||||
public required string BaseAddress { get; init; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the remote API server port.
|
||||
/// </summary>
|
||||
public required ushort Port { get; init; }
|
||||
}
|
||||
Reference in new issue
Block a user