mirror of
https://github.com/BinaryAlley/Nemera.git
synced 2026-12-03 16: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
+16
@@ -0,0 +1,16 @@
|
||||
#region ========================================================================= USING =====================================================================================
|
||||
using System.Diagnostics;
|
||||
#endregion
|
||||
|
||||
namespace Lumina.Presentation.Web.Common.Requests.FileSystemManagement.Directories;
|
||||
|
||||
/// <summary>
|
||||
/// Represents a request to get the directories of a file system path.
|
||||
/// </summary>
|
||||
/// <param name="Path">The file system path for which to get the directories. Required.</param>
|
||||
/// <param name="IncludeHiddenElements">Whether to include hidden file system elements or not. Optional.</param>
|
||||
[DebuggerDisplay("Path: {Path}")]
|
||||
public record GetDirectoriesRequest(
|
||||
string? Path,
|
||||
bool IncludeHiddenElements
|
||||
);
|
||||
+16
@@ -0,0 +1,16 @@
|
||||
#region ========================================================================= USING =====================================================================================
|
||||
using System.Diagnostics;
|
||||
#endregion
|
||||
|
||||
namespace Lumina.Presentation.Web.Common.Requests.FileSystemManagement.Files;
|
||||
|
||||
/// <summary>
|
||||
/// Represents a request to get the files at a file system path.
|
||||
/// </summary>
|
||||
/// <param name="Path">The file system path for which to get the files. Required.</param>
|
||||
/// <param name="IncludeHiddenElements">Whether to include hidden file system elements or not. Optional.</param>
|
||||
[DebuggerDisplay("Path: {Path}")]
|
||||
public record GetFilesRequest(
|
||||
string? Path,
|
||||
bool IncludeHiddenElements
|
||||
);
|
||||
+16
@@ -0,0 +1,16 @@
|
||||
#region ========================================================================= USING =====================================================================================
|
||||
using System.Diagnostics;
|
||||
#endregion
|
||||
|
||||
namespace Lumina.Presentation.Web.Common.Requests.FileSystemManagement.Files;
|
||||
|
||||
/// <summary>
|
||||
/// Represents a request to get the files of a file system path.
|
||||
/// </summary>
|
||||
/// <param name="Path">The file system path for which to get the tree files. Required.</param>
|
||||
/// <param name="IncludeHiddenElements">Whether to include hidden file system elements or not. Optional.</param>
|
||||
[DebuggerDisplay("Path: {Path}")]
|
||||
public record GetTreeFilesRequest(
|
||||
string? Path,
|
||||
bool IncludeHiddenElements
|
||||
);
|
||||
+16
@@ -0,0 +1,16 @@
|
||||
#region ========================================================================= USING =====================================================================================
|
||||
using System.Diagnostics;
|
||||
#endregion
|
||||
|
||||
namespace Lumina.Presentation.Web.Common.Requests.FileSystemManagement.Path;
|
||||
|
||||
/// <summary>
|
||||
/// Represents a request to check the existence of a file system path.
|
||||
/// </summary>
|
||||
/// <param name="Path">The file system path to check the exitence of. Required.</param>
|
||||
/// <param name="IncludeHiddenElements">Whether to include hidden elements in the search results, or not. Optional.</param>
|
||||
[DebuggerDisplay("Path: {Path}, IncludeHiddenElements: {IncludeHiddenElements}")]
|
||||
public record CheckPathExistsRequest(
|
||||
string? Path,
|
||||
bool IncludeHiddenElements
|
||||
);
|
||||
+14
@@ -0,0 +1,14 @@
|
||||
#region ========================================================================= USING =====================================================================================
|
||||
using System.Diagnostics;
|
||||
#endregion
|
||||
|
||||
namespace Lumina.Presentation.Web.Common.Requests.FileSystemManagement.Path;
|
||||
|
||||
/// <summary>
|
||||
/// Represents the request for retrieving the parent path of a file system path.
|
||||
/// </summary>
|
||||
/// <param name="Path">The path for which the parent path is retrieved.</param>
|
||||
[DebuggerDisplay("Path: {Path}")]
|
||||
public record GetPathParentRequest(
|
||||
string? Path
|
||||
);
|
||||
+14
@@ -0,0 +1,14 @@
|
||||
#region ========================================================================= USING =====================================================================================
|
||||
using System.Diagnostics;
|
||||
#endregion
|
||||
|
||||
namespace Lumina.Presentation.Web.Common.Requests.FileSystemManagement.Path;
|
||||
|
||||
/// <summary>
|
||||
/// Represents a request to get the root of a file system path.
|
||||
/// </summary>
|
||||
/// <param name="Path">The file system path for which to get the root. Required.</param>
|
||||
[DebuggerDisplay("Path: {Path}")]
|
||||
public record GetPathRootRequest(
|
||||
string? Path
|
||||
);
|
||||
+14
@@ -0,0 +1,14 @@
|
||||
#region ========================================================================= USING =====================================================================================
|
||||
using System.Diagnostics;
|
||||
#endregion
|
||||
|
||||
namespace Lumina.Presentation.Web.Common.Requests.FileSystemManagement.Path;
|
||||
|
||||
/// <summary>
|
||||
/// Represents a request to split a file system path.
|
||||
/// </summary>
|
||||
/// <param name="Path">The file system path for which to get the path segments. Required.</param>
|
||||
[DebuggerDisplay("Path: {Path}")]
|
||||
public record SplitPathRequest(
|
||||
string? Path
|
||||
);
|
||||
+14
@@ -0,0 +1,14 @@
|
||||
#region ========================================================================= USING =====================================================================================
|
||||
using System.Diagnostics;
|
||||
#endregion
|
||||
|
||||
namespace Lumina.Presentation.Web.Common.Requests.FileSystemManagement.Path;
|
||||
|
||||
/// <summary>
|
||||
/// Represents a request to check the validity of a file system path.
|
||||
/// </summary>
|
||||
/// <param name="Path">The file system path to validate. Required.</param>
|
||||
[DebuggerDisplay("Path: {Path}")]
|
||||
public record ValidatePathRequest(
|
||||
string? Path
|
||||
);
|
||||
Reference in new issue
Block a user