diff --git a/README.md b/README.md
index 392c4995..be5bec3a 100644
--- a/README.md
+++ b/README.md
@@ -28,7 +28,8 @@ For those with technical curiosities, here are some goodies to browse through:
3. [3.1 Component Web Client diagram](./docs/technical/architecture/3.1%20component-web-client-diagram.svg)
4. [3.2 Component API Server diagram](./docs/technical/architecture/3.2%20component-api-server-diagram.svg)
5. [4.1 Code media library scanning diagram](./docs/technical/architecture/4.1%20code-media-library-scanning-diagram.svg)
-- Also for Software Architects, you might want to take a look at the Architecture Decision Log, where you may find important stories from the past of Lumina's development, like [this one](./docs/technical/architecture/architecture-knowledge-management/architecture-decision-log/architecture-decission-record-0001.md), and others like it.
+- Also for Software Architects, you might want to take a look at the Architecture Decision Log, where you may find important stories from the past of Lumina's development, like [this one](./docs/technical/architecture/architecture-knowledge-management/architecture-decision-log/architecture-decision-record-0001.md), and others like it.
+
## Contributing
Lumina welcomes community contributions. All forms of input, be it code, bug reports, or feature suggestions, are appreciated. Be sure to read the [guidelines](./docs/CONTRIBUTING.md) for contributing first!
diff --git a/src/Lumina.Application/Common/DomainEvents/IDomainEventsQueue.cs b/src/Lumina.Application/Common/DomainEvents/IDomainEventsQueue.cs
index bba874e1..cd802424 100644
--- a/src/Lumina.Application/Common/DomainEvents/IDomainEventsQueue.cs
+++ b/src/Lumina.Application/Common/DomainEvents/IDomainEventsQueue.cs
@@ -20,6 +20,6 @@ public interface IDomainEventsQueue
///
/// When this method returns, contains the domain event removed from the queue, or the default value of if the queue is empty.
///
- /// if a domain event was successfuly dequeued, otherwise.
+ /// if a domain event was successfully dequeued, otherwise.
bool TryDequeue(out IDomainEvent domainEvent);
}
diff --git a/src/Lumina.Application/Common/Mapping/Common/Metadata/GenreDtoMapping.cs b/src/Lumina.Application/Common/Mapping/Common/Metadata/GenreDtoMapping.cs
index 77962f7e..a9394093 100644
--- a/src/Lumina.Application/Common/Mapping/Common/Metadata/GenreDtoMapping.cs
+++ b/src/Lumina.Application/Common/Mapping/Common/Metadata/GenreDtoMapping.cs
@@ -18,7 +18,7 @@ public static class GenreDtoMapping
///
/// The DTO to be converted.
///
- /// An containing either a successfuly converted , or an error message.
+ /// An containing either a successfully converted , or an error message.
///
public static ErrorOr ToDomainEntity(this GenreDto dto)
{
diff --git a/src/Lumina.Application/Common/Mapping/Common/Metadata/GenreEntityMapping.cs b/src/Lumina.Application/Common/Mapping/Common/Metadata/GenreEntityMapping.cs
index bdf10078..c9da761c 100644
--- a/src/Lumina.Application/Common/Mapping/Common/Metadata/GenreEntityMapping.cs
+++ b/src/Lumina.Application/Common/Mapping/Common/Metadata/GenreEntityMapping.cs
@@ -41,7 +41,7 @@ public static class GenreEntityMapping
///
/// The repository entity to be converted.
///
- /// An containing either a successfuly converted , or an error message.
+ /// An containing either a successfully converted , or an error message.
///
public static ErrorOr ToDomainEntity(this GenreEntity repositoryEntity)
{
diff --git a/src/Lumina.Application/Common/Mapping/Common/Metadata/TagDtoMapping.cs b/src/Lumina.Application/Common/Mapping/Common/Metadata/TagDtoMapping.cs
index 6135cb4f..02cf7d19 100644
--- a/src/Lumina.Application/Common/Mapping/Common/Metadata/TagDtoMapping.cs
+++ b/src/Lumina.Application/Common/Mapping/Common/Metadata/TagDtoMapping.cs
@@ -18,7 +18,7 @@ public static class TagDtoMapping
///
/// The DTO to be converted.
///
- /// An containing either a successfuly converted , or an error message.
+ /// An containing either a successfully converted , or an error message.
///
public static ErrorOr ToDomainEntity(this TagDto dto)
{
diff --git a/src/Lumina.Application/Common/Mapping/Common/Metadata/TagEntityMapping.cs b/src/Lumina.Application/Common/Mapping/Common/Metadata/TagEntityMapping.cs
index 50509924..6f56f106 100644
--- a/src/Lumina.Application/Common/Mapping/Common/Metadata/TagEntityMapping.cs
+++ b/src/Lumina.Application/Common/Mapping/Common/Metadata/TagEntityMapping.cs
@@ -41,7 +41,7 @@ public static class TagEntityMapping
///
/// The repository entity to be converted.
///
- /// An containing either a successfuly converted , or an error message.
+ /// An containing either a successfully converted , or an error message.
///
public static ErrorOr ToDomainEntity(this TagEntity repositoryEntity)
{
diff --git a/src/Lumina.Application/Common/Mapping/MediaLibrary/WrittenContentLibrary/BookLibrary/Books/BookEntityMapping.cs b/src/Lumina.Application/Common/Mapping/MediaLibrary/WrittenContentLibrary/BookLibrary/Books/BookEntityMapping.cs
index e5631a4a..cb759693 100644
--- a/src/Lumina.Application/Common/Mapping/MediaLibrary/WrittenContentLibrary/BookLibrary/Books/BookEntityMapping.cs
+++ b/src/Lumina.Application/Common/Mapping/MediaLibrary/WrittenContentLibrary/BookLibrary/Books/BookEntityMapping.cs
@@ -30,7 +30,7 @@ public static class BookEntityMapping
///
/// The repository entity to be converted.
///
- /// An containing either a successfuly converted , or an error message.
+ /// An containing either a successfully converted , or an error message.
///
public static ErrorOr ToDomainEntity(this BookEntity repositoryEntity)
{
diff --git a/src/Lumina.Application/Common/Mapping/MediaLibrary/WrittenContentLibrary/BookLibrary/Common/BookRatingDtoMapping.cs b/src/Lumina.Application/Common/Mapping/MediaLibrary/WrittenContentLibrary/BookLibrary/Common/BookRatingDtoMapping.cs
index 4f72a943..2e98fe35 100644
--- a/src/Lumina.Application/Common/Mapping/MediaLibrary/WrittenContentLibrary/BookLibrary/Common/BookRatingDtoMapping.cs
+++ b/src/Lumina.Application/Common/Mapping/MediaLibrary/WrittenContentLibrary/BookLibrary/Common/BookRatingDtoMapping.cs
@@ -20,7 +20,7 @@ public static class BookRatingDtoMapping
///
/// The DTO to be converted.
///
- /// An containing either a successfuly converted , or an error message.
+ /// An containing either a successfully converted , or an error message.
///
public static ErrorOr ToDomainEntity(this BookRatingDto dto)
{
diff --git a/src/Lumina.Application/Common/Mapping/MediaLibrary/WrittenContentLibrary/BookLibrary/Common/BookRatingEntityMapping.cs b/src/Lumina.Application/Common/Mapping/MediaLibrary/WrittenContentLibrary/BookLibrary/Common/BookRatingEntityMapping.cs
index c27d6f59..3ec0bf7f 100644
--- a/src/Lumina.Application/Common/Mapping/MediaLibrary/WrittenContentLibrary/BookLibrary/Common/BookRatingEntityMapping.cs
+++ b/src/Lumina.Application/Common/Mapping/MediaLibrary/WrittenContentLibrary/BookLibrary/Common/BookRatingEntityMapping.cs
@@ -46,7 +46,7 @@ public static class BookRatingEntityMapping
///
/// The repository entity to be converted.
///
- /// An containing either a successfuly converted , or an error message.
+ /// An containing either a successfully converted , or an error message.
///
public static ErrorOr ToDomainEntity(this BookRatingEntity repositoryEntity)
{
diff --git a/src/Lumina.Application/Common/Mapping/MediaLibrary/WrittenContentLibrary/BookLibrary/Common/IsbnDtoMapping.cs b/src/Lumina.Application/Common/Mapping/MediaLibrary/WrittenContentLibrary/BookLibrary/Common/IsbnDtoMapping.cs
index 1a8c485f..0a66285f 100644
--- a/src/Lumina.Application/Common/Mapping/MediaLibrary/WrittenContentLibrary/BookLibrary/Common/IsbnDtoMapping.cs
+++ b/src/Lumina.Application/Common/Mapping/MediaLibrary/WrittenContentLibrary/BookLibrary/Common/IsbnDtoMapping.cs
@@ -19,7 +19,7 @@ public static class IsbnDtoMapping
///
/// The DTO to be converted.
///
- /// An containing either a successfuly converted , or an error message.
+ /// An containing either a successfully converted , or an error message.
///
public static ErrorOr ToDomainEntity(this IsbnDto dto)
{
diff --git a/src/Lumina.Application/Common/Mapping/MediaLibrary/WrittenContentLibrary/BookLibrary/Common/IsbnEntityMapping.cs b/src/Lumina.Application/Common/Mapping/MediaLibrary/WrittenContentLibrary/BookLibrary/Common/IsbnEntityMapping.cs
index cadb3970..8f4b202a 100644
--- a/src/Lumina.Application/Common/Mapping/MediaLibrary/WrittenContentLibrary/BookLibrary/Common/IsbnEntityMapping.cs
+++ b/src/Lumina.Application/Common/Mapping/MediaLibrary/WrittenContentLibrary/BookLibrary/Common/IsbnEntityMapping.cs
@@ -42,7 +42,7 @@ public static class IsbnEntityMapping
///
/// The repository entity to be converted.
///
- /// An containing either a successfuly converted , or an error message.
+ /// An containing either a successfully converted , or an error message.
///
public static ErrorOr ToDomainEntity(this IsbnEntity repositoryEntity)
{
diff --git a/src/Lumina.Application/Core/Admin/Authorization/Roles/Commands/AddRole/AddRoleCommandHandler.cs b/src/Lumina.Application/Core/Admin/Authorization/Roles/Commands/AddRole/AddRoleCommandHandler.cs
index d16f561b..74c13ceb 100644
--- a/src/Lumina.Application/Core/Admin/Authorization/Roles/Commands/AddRole/AddRoleCommandHandler.cs
+++ b/src/Lumina.Application/Core/Admin/Authorization/Roles/Commands/AddRole/AddRoleCommandHandler.cs
@@ -44,7 +44,7 @@ public class AddRoleCommandHandler : IRequestHandlerThe request to be handled.
/// Cancellation token that can be used to stop the execution.
///
- /// An containing either a successfuly created , or an error message.
+ /// An containing either a successfully created , or an error message.
///
public async ValueTask> Handle(AddRoleCommand request, CancellationToken cancellationToken)
{
diff --git a/src/Lumina.Application/Core/Admin/Authorization/Roles/Commands/UpdateRole/UpdateRoleCommandHandler.cs b/src/Lumina.Application/Core/Admin/Authorization/Roles/Commands/UpdateRole/UpdateRoleCommandHandler.cs
index 2d7c0fb7..11ebe913 100644
--- a/src/Lumina.Application/Core/Admin/Authorization/Roles/Commands/UpdateRole/UpdateRoleCommandHandler.cs
+++ b/src/Lumina.Application/Core/Admin/Authorization/Roles/Commands/UpdateRole/UpdateRoleCommandHandler.cs
@@ -44,7 +44,7 @@ public class UpdateRoleCommandHandler : IRequestHandlerThe request to be handled.
/// Cancellation token that can be used to stop the execution.
///
- /// An containing either a successfuly updated , or an error message.
+ /// An containing either a successfully updated , or an error message.
///
public async ValueTask> Handle(UpdateRoleCommand request, CancellationToken cancellationToken)
{
diff --git a/src/Lumina.Application/Core/Maintenance/ApplicationSetup/Commands/SetupApplication/SetupApplicationCommandHandler.cs b/src/Lumina.Application/Core/Maintenance/ApplicationSetup/Commands/SetupApplication/SetupApplicationCommandHandler.cs
index c620d610..428beefe 100644
--- a/src/Lumina.Application/Core/Maintenance/ApplicationSetup/Commands/SetupApplication/SetupApplicationCommandHandler.cs
+++ b/src/Lumina.Application/Core/Maintenance/ApplicationSetup/Commands/SetupApplication/SetupApplicationCommandHandler.cs
@@ -66,7 +66,7 @@ public class SetupApplicationCommandHandler : IRequestHandlerThe request to be handled.
/// Cancellation token that can be used to stop the execution.
///
- /// An containing either a successfuly created , or an error message.
+ /// An containing either a successfully created , or an error message.
///
public async ValueTask> Handle(SetupApplicationCommand request, CancellationToken cancellationToken)
{
diff --git a/src/Lumina.Application/Core/MediaLibrary/Management/Queries/GetEnabledLibraries/GetEnabledLibrariesQueryHandler.cs b/src/Lumina.Application/Core/MediaLibrary/Management/Queries/GetEnabledLibraries/GetEnabledLibrariesQueryHandler.cs
index 6252b1d2..8b09b26a 100644
--- a/src/Lumina.Application/Core/MediaLibrary/Management/Queries/GetEnabledLibraries/GetEnabledLibrariesQueryHandler.cs
+++ b/src/Lumina.Application/Core/MediaLibrary/Management/Queries/GetEnabledLibraries/GetEnabledLibrariesQueryHandler.cs
@@ -47,7 +47,7 @@ public class GetEnabledLibrariesQueryHandler : IRequestHandlerThe request to be handled.
/// Cancellation token that can be used to stop the execution.
///
- /// An containing either a successfuly created , or an error message.
+ /// An containing either a successfully created , or an error message.
///
public async ValueTask> Handle(GetEnabledLibrariesQuery request, CancellationToken cancellationToken)
{
@@ -63,9 +63,9 @@ public class GetEnabledLibrariesQueryHandler : IRequestHandler library.UserId == _currentUserService.UserId)
- .Select(library => library.ToResponse()).ToArray();
+ .Select(library => library.ToResponse())];
return ErrorOrFactory.From(userEnabledLibraries);
}
diff --git a/src/Lumina.Application/Core/MediaLibrary/Management/Queries/GetLibraries/GetLibrariesQueryHandler.cs b/src/Lumina.Application/Core/MediaLibrary/Management/Queries/GetLibraries/GetLibrariesQueryHandler.cs
index e9d1ec78..3e911e30 100644
--- a/src/Lumina.Application/Core/MediaLibrary/Management/Queries/GetLibraries/GetLibrariesQueryHandler.cs
+++ b/src/Lumina.Application/Core/MediaLibrary/Management/Queries/GetLibraries/GetLibrariesQueryHandler.cs
@@ -47,7 +47,7 @@ public class GetLibrariesQueryHandler : IRequestHandlerThe request to be handled.
/// Cancellation token that can be used to stop the execution.
///
- /// An containing either a successfuly created , or an error message.
+ /// An containing either a successfully created , or an error message.
///
public async ValueTask> Handle(GetLibrariesQuery request, CancellationToken cancellationToken)
{
@@ -63,9 +63,9 @@ public class GetLibrariesQueryHandler : IRequestHandler library.UserId == _currentUserService.UserId)
- .Select(library => library.ToResponse()).ToArray();
+ .Select(library => library.ToResponse())];
return ErrorOrFactory.From(userLibraries);
}
diff --git a/src/Lumina.Application/Core/MediaLibrary/Management/Queries/GetLibrary/GetLibraryQueryHandler.cs b/src/Lumina.Application/Core/MediaLibrary/Management/Queries/GetLibrary/GetLibraryQueryHandler.cs
index 1a360c62..ade05822 100644
--- a/src/Lumina.Application/Core/MediaLibrary/Management/Queries/GetLibrary/GetLibraryQueryHandler.cs
+++ b/src/Lumina.Application/Core/MediaLibrary/Management/Queries/GetLibrary/GetLibraryQueryHandler.cs
@@ -48,7 +48,7 @@ public class GetLibraryQueryHandler : IRequestHandlerThe request to be handled.
/// Cancellation token that can be used to stop the execution.
///
- /// An containing either a successfuly created , or an error message.
+ /// An containing either a successfully created , or an error message.
///
public async ValueTask> Handle(GetLibraryQuery request, CancellationToken cancellationToken)
{
diff --git a/src/Lumina.Application/Core/MediaLibrary/Management/Queries/GetRunningLibraryScans/GetRunningLibraryScansQueryHandler.cs b/src/Lumina.Application/Core/MediaLibrary/Management/Queries/GetRunningLibraryScans/GetRunningLibraryScansQueryHandler.cs
index f084de5f..da62ae66 100644
--- a/src/Lumina.Application/Core/MediaLibrary/Management/Queries/GetRunningLibraryScans/GetRunningLibraryScansQueryHandler.cs
+++ b/src/Lumina.Application/Core/MediaLibrary/Management/Queries/GetRunningLibraryScans/GetRunningLibraryScansQueryHandler.cs
@@ -54,7 +54,7 @@ public class GetRunningLibraryScansQueryHandler : IRequestHandlerThe request to be handled.
/// Cancellation token that can be used to stop the execution.
///
- /// An containing either a successfuly created , or an error message.
+ /// An containing either a successfully created , or an error message.
///
public async ValueTask>> Handle(GetRunningLibraryScansQuery request, CancellationToken cancellationToken)
{
@@ -68,7 +68,7 @@ public class GetRunningLibraryScansQueryHandler : IRequestHandler libraryScan.UserId == _currentUserService.UserId).ToArray();
diff --git a/src/Lumina.Application/Core/MediaLibrary/WrittenContentLibrary/BooksLibrary/Books/Commands/AddBook/AddBookCommandHandler.cs b/src/Lumina.Application/Core/MediaLibrary/WrittenContentLibrary/BooksLibrary/Books/Commands/AddBook/AddBookCommandHandler.cs
index 93bb2331..2e44ac44 100644
--- a/src/Lumina.Application/Core/MediaLibrary/WrittenContentLibrary/BooksLibrary/Books/Commands/AddBook/AddBookCommandHandler.cs
+++ b/src/Lumina.Application/Core/MediaLibrary/WrittenContentLibrary/BooksLibrary/Books/Commands/AddBook/AddBookCommandHandler.cs
@@ -45,7 +45,7 @@ public class AddBookCommandHandler : IRequestHandlerThe request to be handled.
/// Cancellation token that can be used to stop the execution.
///
- /// An containing either a successfuly created , or an error message.
+ /// An containing either a successfully created , or an error message.
///
public async ValueTask> Handle(AddBookCommand request, CancellationToken cancellationToken)
{
@@ -67,29 +67,29 @@ public class AddBookCommandHandler : IRequestHandler.FromNullable(rating.Source.HasValue ? (BookRatingSource)(int)rating.Source : (BookRatingSource?)null),
Optional.FromNullable(rating.VoteCount)));
// check if any of the results contain errors
- List errors = domainRatingsResult.Where(ratingResult => ratingResult.IsError).SelectMany(ratingResult => ratingResult.Errors).ToList();
+ List errors = [.. domainRatingsResult.Where(ratingResult => ratingResult.IsError).SelectMany(ratingResult => ratingResult.Errors)];
if (errors.Count != 0) // if there are errors, return them
return errors;
- List domainRatings = domainRatingsResult.Select(rating => rating.Value).ToList();
+ List domainRatings = [.. domainRatingsResult.Select(rating => rating.Value)];
List> domainGenresResult = request.Metadata!.Genres!.ConvertAll(genre => Genre.Create(genre.Name!));
- errors = domainGenresResult.Where(genreResult => genreResult.IsError).SelectMany(genreResult => genreResult.Errors).ToList();
+ errors = [.. domainGenresResult.Where(genreResult => genreResult.IsError).SelectMany(genreResult => genreResult.Errors)];
if (errors.Count != 0)
return errors;
- List domainGenres = domainGenresResult.Select(genre => genre.Value).ToList();
+ List domainGenres = [.. domainGenresResult.Select(genre => genre.Value)];
List> domainTagsResult = request.Metadata.Tags!.ConvertAll(tag => Tag.Create(tag.Name!));
- errors = domainTagsResult.Where(tagResult => tagResult.IsError).SelectMany(tagResult => tagResult.Errors).ToList();
+ errors = [.. domainTagsResult.Where(tagResult => tagResult.IsError).SelectMany(tagResult => tagResult.Errors)];
if (errors.Count != 0)
return errors;
- List domainTags = domainTagsResult.Select(tag => tag.Value).ToList();
+ List domainTags = [.. domainTagsResult.Select(tag => tag.Value)];
List> domainIsbnsResult = request.ISBNs!.ConvertAll(isbn => Isbn.Create(isbn.Value!, (IsbnFormat)(int)isbn.Format!));
- errors = domainIsbnsResult.Where(isbnResult => isbnResult.IsError).SelectMany(isbnResult => isbnResult.Errors).ToList();
+ errors = [.. domainIsbnsResult.Where(isbnResult => isbnResult.IsError).SelectMany(isbnResult => isbnResult.Errors)];
if (errors.Count != 0)
return errors;
- List domainIsbns = domainIsbnsResult.Select(isbn => isbn.Value).ToList();
+ List domainIsbns = [.. domainIsbnsResult.Select(isbn => isbn.Value)];
ErrorOr releaseInfoResult = ReleaseInfo.Create(
Optional.FromNullable(request.Metadata.ReleaseInfo!.OriginalReleaseDate),
diff --git a/src/Lumina.Application/Core/UsersManagement/Authentication/Commands/ChangePassword/ChangePasswordCommandHandler.cs b/src/Lumina.Application/Core/UsersManagement/Authentication/Commands/ChangePassword/ChangePasswordCommandHandler.cs
index c2ba7e8b..3cd045b4 100644
--- a/src/Lumina.Application/Core/UsersManagement/Authentication/Commands/ChangePassword/ChangePasswordCommandHandler.cs
+++ b/src/Lumina.Application/Core/UsersManagement/Authentication/Commands/ChangePassword/ChangePasswordCommandHandler.cs
@@ -41,7 +41,7 @@ public class ChangePasswordCommandHandler : IRequestHandlerThe request to be handled.
/// Cancellation token that can be used to stop the execution.
///
- /// An containing either a successfuly created , or an error message.
+ /// An containing either a successfully created , or an error message.
///
public async ValueTask> Handle(ChangePasswordCommand request, CancellationToken cancellationToken)
{
diff --git a/src/Lumina.Application/Core/UsersManagement/Authentication/Commands/RecoverPassword/RecoverPasswordCommandHandler.cs b/src/Lumina.Application/Core/UsersManagement/Authentication/Commands/RecoverPassword/RecoverPasswordCommandHandler.cs
index 49a9ad1e..a9da263b 100644
--- a/src/Lumina.Application/Core/UsersManagement/Authentication/Commands/RecoverPassword/RecoverPasswordCommandHandler.cs
+++ b/src/Lumina.Application/Core/UsersManagement/Authentication/Commands/RecoverPassword/RecoverPasswordCommandHandler.cs
@@ -50,7 +50,7 @@ public class RecoverPasswordCommandHandler : IRequestHandlerThe request to be handled.
/// Cancellation token that can be used to stop the execution.
///
- /// An containing either a successfuly created , or an error message.
+ /// An containing either a successfully created , or an error message.
///
public async ValueTask> Handle(RecoverPasswordCommand request, CancellationToken cancellationToken)
{
diff --git a/src/Lumina.Application/Core/UsersManagement/Authentication/Commands/RegisterUser/RegisterUserCommandHandler.cs b/src/Lumina.Application/Core/UsersManagement/Authentication/Commands/RegisterUser/RegisterUserCommandHandler.cs
index e3aef197..35abe638 100644
--- a/src/Lumina.Application/Core/UsersManagement/Authentication/Commands/RegisterUser/RegisterUserCommandHandler.cs
+++ b/src/Lumina.Application/Core/UsersManagement/Authentication/Commands/RegisterUser/RegisterUserCommandHandler.cs
@@ -59,7 +59,7 @@ public class RegisterUserCommandHandler : IRequestHandlerThe request to be handled.
/// Cancellation token that can be used to stop the execution.
///
- /// An containing either a successfuly created , or an error message.
+ /// An containing either a successfully created , or an error message.
///
public async ValueTask> Handle(RegisterUserCommand request, CancellationToken cancellationToken)
{
diff --git a/src/Lumina.Application/Core/UsersManagement/Authentication/Queries/LoginUser/LoginUserQueryHandler.cs b/src/Lumina.Application/Core/UsersManagement/Authentication/Queries/LoginUser/LoginUserQueryHandler.cs
index 82714982..0578c231 100644
--- a/src/Lumina.Application/Core/UsersManagement/Authentication/Queries/LoginUser/LoginUserQueryHandler.cs
+++ b/src/Lumina.Application/Core/UsersManagement/Authentication/Queries/LoginUser/LoginUserQueryHandler.cs
@@ -59,7 +59,7 @@ public class LoginUserQueryHandler : IRequestHandlerThe request to be handled.
/// Cancellation token that can be used to stop the execution.
///
- /// An containing either a successfuly created , or an error message.
+ /// An containing either a successfully created , or an error message.
///
public async ValueTask> Handle(LoginUserQuery request, CancellationToken cancellationToken)
{
diff --git a/src/Lumina.Application/Core/UsersManagement/Authorization/Commands/UpdateUserRoleAndPermissions/UpdateUserRoleAndPermissionsCommandHandler.cs b/src/Lumina.Application/Core/UsersManagement/Authorization/Commands/UpdateUserRoleAndPermissions/UpdateUserRoleAndPermissionsCommandHandler.cs
index 95c9f139..772c1c60 100644
--- a/src/Lumina.Application/Core/UsersManagement/Authorization/Commands/UpdateUserRoleAndPermissions/UpdateUserRoleAndPermissionsCommandHandler.cs
+++ b/src/Lumina.Application/Core/UsersManagement/Authorization/Commands/UpdateUserRoleAndPermissions/UpdateUserRoleAndPermissionsCommandHandler.cs
@@ -48,7 +48,7 @@ public class UpdateUserRoleAndPermissionsCommandHandler : IRequestHandlerThe request to be handled.
/// Cancellation token that can be used to stop the execution.
///
- /// An containing either a successfuly updated , or an error message.
+ /// An containing either a successfully updated , or an error message.
///
public async ValueTask> Handle(UpdateUserRoleAndPermissionsCommand request, CancellationToken cancellationToken)
{
diff --git a/src/Lumina.DataAccess/Core/Repositories/Libraries/LibraryRepository.cs b/src/Lumina.DataAccess/Core/Repositories/Libraries/LibraryRepository.cs
index c4120d24..e08f721a 100644
--- a/src/Lumina.DataAccess/Core/Repositories/Libraries/LibraryRepository.cs
+++ b/src/Lumina.DataAccess/Core/Repositories/Libraries/LibraryRepository.cs
@@ -49,7 +49,7 @@ internal sealed class LibraryRepository : ILibraryRepository
///
/// Gets a identified by from the storage medium.
///
- /// The id of the library to get.
+ /// The Id of the library to get.
/// Cancellation token that can be used to stop the execution.
/// An containing either a identified by , or an error.
public async Task> GetByIdAsync(Guid id, CancellationToken cancellationToken)
@@ -120,9 +120,9 @@ internal sealed class LibraryRepository : ILibraryRepository
}
///
- /// Deletes a library by its ID.
+ /// Deletes a library by its Id.
///
- /// The ID of the library to delete.
+ /// The Id of the library to delete.
/// Cancellation token that can be used to stop the execution.
/// An representing either a successful operation, or an error.
public async Task> DeleteByIdAsync(Guid id, CancellationToken cancellationToken)
diff --git a/src/Lumina.Domain/Common/ValueObjects/Metadata/Genre.cs b/src/Lumina.Domain/Common/ValueObjects/Metadata/Genre.cs
index c4349eab..e076d9bf 100644
--- a/src/Lumina.Domain/Common/ValueObjects/Metadata/Genre.cs
+++ b/src/Lumina.Domain/Common/ValueObjects/Metadata/Genre.cs
@@ -32,7 +32,7 @@ public class Genre : ValueObject
///
/// The value of the genre.
///
- /// An containing either a successfuly created , or an error message.
+ /// An containing either a successfully created , or an error message.
///
public static ErrorOr Create(string? name)
{
diff --git a/src/Lumina.Domain/Common/ValueObjects/Metadata/LanguageInfo.cs b/src/Lumina.Domain/Common/ValueObjects/Metadata/LanguageInfo.cs
index 58583743..2e7ea688 100644
--- a/src/Lumina.Domain/Common/ValueObjects/Metadata/LanguageInfo.cs
+++ b/src/Lumina.Domain/Common/ValueObjects/Metadata/LanguageInfo.cs
@@ -49,7 +49,7 @@ public class LanguageInfo : ValueObject
/// The full name of the language in English.
/// The optional native name of the language.
///
- /// An containing either a successfuly created , or an error message.
+ /// An containing either a successfully created , or an error message.
///
public static ErrorOr Create(string? languageCode, string? languageName, Optional nativeName)
{
diff --git a/src/Lumina.Domain/Common/ValueObjects/Metadata/ReleaseInfo.cs b/src/Lumina.Domain/Common/ValueObjects/Metadata/ReleaseInfo.cs
index 2e016eec..5056487d 100644
--- a/src/Lumina.Domain/Common/ValueObjects/Metadata/ReleaseInfo.cs
+++ b/src/Lumina.Domain/Common/ValueObjects/Metadata/ReleaseInfo.cs
@@ -81,7 +81,7 @@ public class ReleaseInfo : ValueObject
/// The optional country or region of release.
/// The optional release version or edition.
///
- /// An containing either a successfuly created , or an error message.
+ /// An containing either a successfully created , or an error message.
///
public static ErrorOr Create(
Optional originalReleaseDate,
diff --git a/src/Lumina.Domain/Common/ValueObjects/Metadata/Tag.cs b/src/Lumina.Domain/Common/ValueObjects/Metadata/Tag.cs
index e76e6429..ffb3f0cb 100644
--- a/src/Lumina.Domain/Common/ValueObjects/Metadata/Tag.cs
+++ b/src/Lumina.Domain/Common/ValueObjects/Metadata/Tag.cs
@@ -32,7 +32,7 @@ public class Tag : ValueObject
///
/// The value of the tag.
///
- /// An containing either a successfuly created , or an error message.
+ /// An containing either a successfully created , or an error message.
///
public static ErrorOr Create(string? name)
{
diff --git a/src/Lumina.Domain/Core/BoundedContexts/AudioLibraryBoundedContext/AudioLibraryAggregate/ValueObjects/AudioMetadata.cs b/src/Lumina.Domain/Core/BoundedContexts/AudioLibraryBoundedContext/AudioLibraryAggregate/ValueObjects/AudioMetadata.cs
index af41cb0c..79848bc6 100644
--- a/src/Lumina.Domain/Core/BoundedContexts/AudioLibraryBoundedContext/AudioLibraryAggregate/ValueObjects/AudioMetadata.cs
+++ b/src/Lumina.Domain/Core/BoundedContexts/AudioLibraryBoundedContext/AudioLibraryAggregate/ValueObjects/AudioMetadata.cs
@@ -102,7 +102,7 @@ public class AudioMetadata : BaseMetadata
/// The genres of the audio.
/// The tags associated with the audio.
///
- /// An containing either a successfuly created , or an error message.
+ /// An containing either a successfully created , or an error message.
///
public static ErrorOr Create(
string title,
diff --git a/src/Lumina.Domain/Core/BoundedContexts/FileSystemManagementBoundedContext/FileSystemManagementAggregate/Entities/Directory.cs b/src/Lumina.Domain/Core/BoundedContexts/FileSystemManagementBoundedContext/FileSystemManagementAggregate/Entities/Directory.cs
index 56cce569..e7b7a273 100644
--- a/src/Lumina.Domain/Core/BoundedContexts/FileSystemManagementBoundedContext/FileSystemManagementAggregate/Entities/Directory.cs
+++ b/src/Lumina.Domain/Core/BoundedContexts/FileSystemManagementBoundedContext/FileSystemManagementAggregate/Entities/Directory.cs
@@ -55,7 +55,7 @@ public sealed class Directory : FileSystemItem
/// The date and time the directory was last modified. Can be optional if unknown.
/// The status of the file system item.
///
- /// An containing either a successfuly created , or an error message.
+ /// An containing either a successfully created , or an error message.
///
public static ErrorOr Create(
string path,
@@ -87,7 +87,7 @@ public sealed class Directory : FileSystemItem
/// The date and time the directory was last modified. Can be optional if unknown.
/// The status of the file system item.
///
- /// An containing either a successfuly created , or an error message.
+ /// An containing either a successfully created , or an error message.
///
public static ErrorOr Create(
FileSystemPathId id,
diff --git a/src/Lumina.Domain/Core/BoundedContexts/FileSystemManagementBoundedContext/FileSystemManagementAggregate/Entities/File.cs b/src/Lumina.Domain/Core/BoundedContexts/FileSystemManagementBoundedContext/FileSystemManagementAggregate/Entities/File.cs
index 4c7addb0..9f3f998f 100644
--- a/src/Lumina.Domain/Core/BoundedContexts/FileSystemManagementBoundedContext/FileSystemManagementAggregate/Entities/File.cs
+++ b/src/Lumina.Domain/Core/BoundedContexts/FileSystemManagementBoundedContext/FileSystemManagementAggregate/Entities/File.cs
@@ -56,7 +56,7 @@ public sealed class File : FileSystemItem
/// The size of the file in bytes.
/// The status of the file system item.
///
- /// An containing either a successfuly created , or an error message.
+ /// An containing either a successfully created , or an error message.
///
public static ErrorOr Create(
string path,
@@ -92,7 +92,7 @@ public sealed class File : FileSystemItem
/// The size of the file in bytes.
/// The status of the file system item.
///
- /// An containing either a successfuly created , or an error message.
+ /// An containing either a successfully created , or an error message.
///
public static ErrorOr Create(
FileSystemPathId id,
diff --git a/src/Lumina.Domain/Core/BoundedContexts/FileSystemManagementBoundedContext/FileSystemManagementAggregate/Entities/UnixRootItem.cs b/src/Lumina.Domain/Core/BoundedContexts/FileSystemManagementBoundedContext/FileSystemManagementAggregate/Entities/UnixRootItem.cs
index e15ad46c..c74bcfcd 100644
--- a/src/Lumina.Domain/Core/BoundedContexts/FileSystemManagementBoundedContext/FileSystemManagementAggregate/Entities/UnixRootItem.cs
+++ b/src/Lumina.Domain/Core/BoundedContexts/FileSystemManagementBoundedContext/FileSystemManagementAggregate/Entities/UnixRootItem.cs
@@ -37,7 +37,7 @@ public sealed class UnixRootItem : FileSystemItem
///
/// The status of the file system root item.
///
- /// An containing either a successfuly created , or an error message.
+ /// An containing either a successfully created , or an error message.
///
public static ErrorOr Create(FileSystemItemStatus status = FileSystemItemStatus.Accessible)
{
diff --git a/src/Lumina.Domain/Core/BoundedContexts/FileSystemManagementBoundedContext/FileSystemManagementAggregate/Entities/WindowsRootItem.cs b/src/Lumina.Domain/Core/BoundedContexts/FileSystemManagementBoundedContext/FileSystemManagementAggregate/Entities/WindowsRootItem.cs
index db0c7944..66eb6214 100644
--- a/src/Lumina.Domain/Core/BoundedContexts/FileSystemManagementBoundedContext/FileSystemManagementAggregate/Entities/WindowsRootItem.cs
+++ b/src/Lumina.Domain/Core/BoundedContexts/FileSystemManagementBoundedContext/FileSystemManagementAggregate/Entities/WindowsRootItem.cs
@@ -38,7 +38,7 @@ public sealed class WindowsRootItem : FileSystemItem
/// The name of the file system root item.
/// The status of the file system root item.
///
- /// An containing either a successfuly created , or an error message.
+ /// An containing either a successfully created , or an error message.
///
public static ErrorOr Create(
string path,
@@ -65,7 +65,7 @@ public sealed class WindowsRootItem : FileSystemItem
/// The name of the file system root item.
/// The status of the file system root item.
///
- /// An containing either a successfuly created , or an error message.
+ /// An containing either a successfully created , or an error message.
///
public static ErrorOr Create(
FileSystemPathId id,
diff --git a/src/Lumina.Domain/Core/BoundedContexts/FileSystemManagementBoundedContext/FileSystemManagementAggregate/ValueObjects/FileSystemPathId.cs b/src/Lumina.Domain/Core/BoundedContexts/FileSystemManagementBoundedContext/FileSystemManagementAggregate/ValueObjects/FileSystemPathId.cs
index 6d566fcb..97d5e626 100644
--- a/src/Lumina.Domain/Core/BoundedContexts/FileSystemManagementBoundedContext/FileSystemManagementAggregate/ValueObjects/FileSystemPathId.cs
+++ b/src/Lumina.Domain/Core/BoundedContexts/FileSystemManagementBoundedContext/FileSystemManagementAggregate/ValueObjects/FileSystemPathId.cs
@@ -39,7 +39,7 @@ public sealed class FileSystemPathId : ValueObject
///
/// The path of the file system item.
///
- /// An containing either a successfuly created or an error message.
+ /// An containing either a successfully created or an error message.
///
public static ErrorOr Create(string path)
{
diff --git a/src/Lumina.Domain/Core/BoundedContexts/FileSystemManagementBoundedContext/FileSystemManagementAggregate/ValueObjects/PathSegment.cs b/src/Lumina.Domain/Core/BoundedContexts/FileSystemManagementBoundedContext/FileSystemManagementAggregate/ValueObjects/PathSegment.cs
index 3039fbaf..3b3462ac 100644
--- a/src/Lumina.Domain/Core/BoundedContexts/FileSystemManagementBoundedContext/FileSystemManagementAggregate/ValueObjects/PathSegment.cs
+++ b/src/Lumina.Domain/Core/BoundedContexts/FileSystemManagementBoundedContext/FileSystemManagementAggregate/ValueObjects/PathSegment.cs
@@ -49,7 +49,7 @@ public class PathSegment : ValueObject
/// Value indicating if the current path segment is a file system directory or not.
/// Value indicating if the current path segment is a file system drive or not.
///
- /// An containing either a successfuly created or an error message.
+ /// An containing either a successfully created or an error message.
///
public static ErrorOr Create(string name, bool isDirectory, bool isDrive)
{
diff --git a/src/Lumina.Domain/Core/BoundedContexts/FileSystemManagementBoundedContext/FileSystemManagementAggregate/ValueObjects/StreamInfo.cs b/src/Lumina.Domain/Core/BoundedContexts/FileSystemManagementBoundedContext/FileSystemManagementAggregate/ValueObjects/StreamInfo.cs
index 2339616f..ae46567c 100644
--- a/src/Lumina.Domain/Core/BoundedContexts/FileSystemManagementBoundedContext/FileSystemManagementAggregate/ValueObjects/StreamInfo.cs
+++ b/src/Lumina.Domain/Core/BoundedContexts/FileSystemManagementBoundedContext/FileSystemManagementAggregate/ValueObjects/StreamInfo.cs
@@ -98,7 +98,7 @@ public class StreamInfo : ValueObject
/// The sample rate of the stream (for audio).
/// The number of channels (for audio).
///
- /// An containing either a successfuly created , or an error message.
+ /// An containing either a successfully created , or an error message.
///
public static ErrorOr Create(
string streamId,
diff --git a/src/Lumina.Domain/Core/BoundedContexts/LibraryManagementBoundedContext/LibraryScanAggregate/LibraryScan.cs b/src/Lumina.Domain/Core/BoundedContexts/LibraryManagementBoundedContext/LibraryScanAggregate/LibraryScan.cs
index 9d816c78..644c4108 100644
--- a/src/Lumina.Domain/Core/BoundedContexts/LibraryManagementBoundedContext/LibraryScanAggregate/LibraryScan.cs
+++ b/src/Lumina.Domain/Core/BoundedContexts/LibraryManagementBoundedContext/LibraryScanAggregate/LibraryScan.cs
@@ -61,7 +61,7 @@ public class LibraryScan : AggregateRoot
/// The object representing the unique identifier of the user initiating the media library scan.
/// The list of past media library scans the library identified by had.
///
- /// An containing either a successfuly created , or an error message.
+ /// An containing either a successfully created , or an error message.
///
public static ErrorOr Create(LibraryId libraryId, UserId userId, List pastScans)
{
@@ -77,7 +77,7 @@ public class LibraryScan : AggregateRoot
/// The status of the media library scan.
/// The list of past media library scans the library identified by had.
///
- /// An containing either a successfuly created , or an error message.
+ /// An containing either a successfully created , or an error message.
///
public static ErrorOr Create(ScanId id, LibraryId libraryId, UserId userId, LibraryScanJobStatus status, List pastScans)
{
diff --git a/src/Lumina.Domain/Core/BoundedContexts/LibraryManagementBoundedContext/LibraryScanAggregate/Services/IMediaLibraryScanningService.cs b/src/Lumina.Domain/Core/BoundedContexts/LibraryManagementBoundedContext/LibraryScanAggregate/Services/IMediaLibraryScanningService.cs
index 734d8b01..0b0abb5f 100644
--- a/src/Lumina.Domain/Core/BoundedContexts/LibraryManagementBoundedContext/LibraryScanAggregate/Services/IMediaLibraryScanningService.cs
+++ b/src/Lumina.Domain/Core/BoundedContexts/LibraryManagementBoundedContext/LibraryScanAggregate/Services/IMediaLibraryScanningService.cs
@@ -17,10 +17,10 @@ public interface IMediaLibraryScanningService
///
/// The media library scan to start.
/// The type of the media library to be scanned.
- /// Whether the library permits downloading data from the web, or not.
+ /// Whether the library permits downloading data from the web, or not.
/// Cancellation token that can be used to stop the execution.
/// An representing either a successful operation, or an error.
- Task> StartScanAsync(LibraryScan scan, LibraryType libraryType, bool downloadMedatadaFromWeb, CancellationToken cancellationToken);
+ Task> StartScanAsync(LibraryScan scan, LibraryType libraryType, bool downloadMetadataFromWeb, CancellationToken cancellationToken);
///
/// Cancels .
diff --git a/src/Lumina.Domain/Core/BoundedContexts/LibraryManagementBoundedContext/LibraryScanAggregate/Services/MediaLibraryScanningService.cs b/src/Lumina.Domain/Core/BoundedContexts/LibraryManagementBoundedContext/LibraryScanAggregate/Services/MediaLibraryScanningService.cs
index 3e877891..747a52f3 100644
--- a/src/Lumina.Domain/Core/BoundedContexts/LibraryManagementBoundedContext/LibraryScanAggregate/Services/MediaLibraryScanningService.cs
+++ b/src/Lumina.Domain/Core/BoundedContexts/LibraryManagementBoundedContext/LibraryScanAggregate/Services/MediaLibraryScanningService.cs
@@ -12,7 +12,6 @@ using Lumina.Domain.Core.BoundedContexts.UserManagementBoundedContext.UserAggreg
using Mediator;
using System;
using System.Collections.Generic;
-using System.Linq;
using System.Threading;
using System.Threading.Tasks;
#endregion
@@ -57,10 +56,10 @@ internal class MediaLibraryScanningService : IMediaLibraryScanningService
///
/// The media library scan to start.
/// The type of the media library to be scanned.
- /// Whether the library permits downloading data from the web, or not.
+ /// Whether the library permits downloading data from the web, or not.
/// Cancellation token that can be used to stop the execution.
/// An representing either a successful operation, or an error.
- public async Task> StartScanAsync(LibraryScan scan, LibraryType libraryType, bool downloadMedatadaFromWeb, CancellationToken cancellationToken)
+ public async Task> StartScanAsync(LibraryScan scan, LibraryType libraryType, bool downloadMetadataFromWeb, CancellationToken cancellationToken)
{
// mark the scan itself as started
ErrorOr startScanResult = scan.StartScan();
@@ -76,14 +75,14 @@ internal class MediaLibraryScanningService : IMediaLibraryScanningService
try
{
// link the user's cancellation token with the scan's token
- CancellationTokenSource linkedSource = CancellationTokenSource
+ using CancellationTokenSource linkedSource = CancellationTokenSource
.CreateLinkedTokenSource(cancellationToken, _mediaLibrariesScanCancellationTracker.GetTokenForScan(MediaLibraryScanCompositeId.Create(scan.Id, scan.UserId)));
// get a media library scanner for the provided media library type
IMediaTypeScanner scanner = _mediaLibraryScannerFactory.CreateLibraryScanner(libraryType);
// get the list of scan jobs for the retrieved scanner. It is impotant to enumerate them here, because deferred execuction would destroy any graph relationships
// and properties we might set before putting the jobs on the in-memory queue.
- List jobs = scanner.CreateScanJobsForLibrary(scan.LibraryId, downloadMedatadaFromWeb).ToList();
+ List jobs = [.. scanner.CreateScanJobsForLibrary(scan.LibraryId, downloadMetadataFromWeb)];
// count total jobs in the chain by traversing the job graph
int totalJobs = CountTotalJobs(jobs);
diff --git a/src/Lumina.Domain/Core/BoundedContexts/LibraryManagementBoundedContext/LibraryScanAggregate/Services/Scanners/IMediaTypeScanner.cs b/src/Lumina.Domain/Core/BoundedContexts/LibraryManagementBoundedContext/LibraryScanAggregate/Services/Scanners/IMediaTypeScanner.cs
index adf8ae82..21a58224 100644
--- a/src/Lumina.Domain/Core/BoundedContexts/LibraryManagementBoundedContext/LibraryScanAggregate/Services/Scanners/IMediaTypeScanner.cs
+++ b/src/Lumina.Domain/Core/BoundedContexts/LibraryManagementBoundedContext/LibraryScanAggregate/Services/Scanners/IMediaTypeScanner.cs
@@ -21,7 +21,7 @@ public interface IMediaTypeScanner
/// Creates the media library scan jobs for the provided media library.
///
/// The unique identifier of the media library for which to create the media library scan jobs.
- /// Whether the library permits downloading data from the web, or not.
+ /// Whether the library permits downloading data from the web, or not.
/// A collection of media library scan jobs.
- IEnumerable CreateScanJobsForLibrary(LibraryId libraryId, bool downloadMedatadaFromWeb);
+ IEnumerable CreateScanJobsForLibrary(LibraryId libraryId, bool downloadMetadataFromWeb);
}
diff --git a/src/Lumina.Domain/Core/BoundedContexts/LibraryManagementBoundedContext/LibraryScanAggregate/ValueObjects/MediaLibraryScanJobProgress.cs b/src/Lumina.Domain/Core/BoundedContexts/LibraryManagementBoundedContext/LibraryScanAggregate/ValueObjects/MediaLibraryScanJobProgress.cs
index 922aa8b4..c5b8b994 100644
--- a/src/Lumina.Domain/Core/BoundedContexts/LibraryManagementBoundedContext/LibraryScanAggregate/ValueObjects/MediaLibraryScanJobProgress.cs
+++ b/src/Lumina.Domain/Core/BoundedContexts/LibraryManagementBoundedContext/LibraryScanAggregate/ValueObjects/MediaLibraryScanJobProgress.cs
@@ -54,7 +54,7 @@ public sealed class MediaLibraryScanJobProgress : ValueObject
/// The total number of items of the media library scan job.
/// The current operation being performed by the media library scan job.
///
- /// An containing either a successfuly created , or an error message.
+ /// An containing either a successfully created , or an error message.
///
public static ErrorOr Create(int completedItems, int totalItems, string currentOperation)
{
diff --git a/src/Lumina.Domain/Core/BoundedContexts/LibraryManagementBoundedContext/LibraryScanAggregate/ValueObjects/MediaLibraryScanProgress.cs b/src/Lumina.Domain/Core/BoundedContexts/LibraryManagementBoundedContext/LibraryScanAggregate/ValueObjects/MediaLibraryScanProgress.cs
index 852ac330..3134f5de 100644
--- a/src/Lumina.Domain/Core/BoundedContexts/LibraryManagementBoundedContext/LibraryScanAggregate/ValueObjects/MediaLibraryScanProgress.cs
+++ b/src/Lumina.Domain/Core/BoundedContexts/LibraryManagementBoundedContext/LibraryScanAggregate/ValueObjects/MediaLibraryScanProgress.cs
@@ -97,7 +97,7 @@ public sealed class MediaLibraryScanProgress : ValueObject
/// The status of the media library scan.
/// The optional current job progress of the media library scan.
///
- /// An containing either a successfuly created , or an error message.
+ /// An containing either a successfully created , or an error message.
///
public static ErrorOr Create(
ScanId scanId,
diff --git a/src/Lumina.Domain/Core/BoundedContexts/UserManagementBoundedContext/UserAggregate/User.cs b/src/Lumina.Domain/Core/BoundedContexts/UserManagementBoundedContext/UserAggregate/User.cs
index f6cf0476..d70f771d 100644
--- a/src/Lumina.Domain/Core/BoundedContexts/UserManagementBoundedContext/UserAggregate/User.cs
+++ b/src/Lumina.Domain/Core/BoundedContexts/UserManagementBoundedContext/UserAggregate/User.cs
@@ -33,7 +33,7 @@ public sealed class User : AggregateRoot
///
/// The username of the user.
///
- /// An containing either a successfuly created , or an error message.
+ /// An containing either a successfully created , or an error message.
///
public static ErrorOr Create(string username)
{
@@ -46,7 +46,7 @@ public sealed class User : AggregateRoot
/// The object representing the unique identifier of the user.
/// The username of the user.
///
- /// An containing either a successfuly created , or an error message.
+ /// An containing either a successfully created , or an error message.
///
public static ErrorOr Create(UserId id, string username)
{
diff --git a/src/Lumina.Domain/Core/BoundedContexts/VideoLibraryBoundedContext/MovieLibraryAggregate/ValueObjects/VideoMetadata.cs b/src/Lumina.Domain/Core/BoundedContexts/VideoLibraryBoundedContext/MovieLibraryAggregate/ValueObjects/VideoMetadata.cs
index d5736ec7..23eff432 100644
--- a/src/Lumina.Domain/Core/BoundedContexts/VideoLibraryBoundedContext/MovieLibraryAggregate/ValueObjects/VideoMetadata.cs
+++ b/src/Lumina.Domain/Core/BoundedContexts/VideoLibraryBoundedContext/MovieLibraryAggregate/ValueObjects/VideoMetadata.cs
@@ -96,7 +96,7 @@ public class VideoMetadata : BaseMetadata
/// The genres of the video.
/// The tags associated with the video.
///
- /// An containing either a successfuly created , or an error message.
+ /// An containing either a successfully created , or an error message.
///
public static ErrorOr Create(
string title,
diff --git a/src/Lumina.Domain/Core/BoundedContexts/WrittenContentLibraryBoundedContext/BookLibraryAggregate/Book.cs b/src/Lumina.Domain/Core/BoundedContexts/WrittenContentLibraryBoundedContext/BookLibraryAggregate/Book.cs
index 63e8c5b8..4ca32fac 100644
--- a/src/Lumina.Domain/Core/BoundedContexts/WrittenContentLibraryBoundedContext/BookLibraryAggregate/Book.cs
+++ b/src/Lumina.Domain/Core/BoundedContexts/WrittenContentLibraryBoundedContext/BookLibraryAggregate/Book.cs
@@ -196,7 +196,7 @@ public sealed class Book : AggregateRoot
/// The list of objects representing the unique identifiers of the media contributors of the book.
/// The list of ratings for the book.
///
- /// An containing either a successfuly created , or an error message.
+ /// An containing either a successfully created , or an error message.
///
public static ErrorOr Create(
WrittenContentMetadata metadata,
@@ -266,7 +266,7 @@ public sealed class Book : AggregateRoot
/// The list of objects representing the unique identifiers of the media contributors of the book.
/// The list of ratings for the book.
///
- /// An containing either a successfuly created , or an error message.
+ /// An containing either a successfully created , or an error message.
///
public static ErrorOr Create(
BookId id,
diff --git a/src/Lumina.Domain/Core/BoundedContexts/WrittenContentLibraryBoundedContext/BookLibraryAggregate/Entities/BookSeries.cs b/src/Lumina.Domain/Core/BoundedContexts/WrittenContentLibraryBoundedContext/BookLibraryAggregate/Entities/BookSeries.cs
index c80765ce..7a77afc7 100644
--- a/src/Lumina.Domain/Core/BoundedContexts/WrittenContentLibraryBoundedContext/BookLibraryAggregate/Entities/BookSeries.cs
+++ b/src/Lumina.Domain/Core/BoundedContexts/WrittenContentLibraryBoundedContext/BookLibraryAggregate/Entities/BookSeries.cs
@@ -56,7 +56,7 @@ public sealed class BookSeries : Entity
/// The current status of the book series.
/// The books of the book series.
///
- /// An containing either a successfuly created , or an error message.
+ /// An containing either a successfully created , or an error message.
///
public static ErrorOr Create(
BookSeriesId id,
@@ -80,7 +80,7 @@ public sealed class BookSeries : Entity
/// The current status of the book series.
/// The books of the book series.
///
- /// An containing either a successfuly created , or an error message.
+ /// An containing either a successfully created , or an error message.
///
public static ErrorOr Create(
WrittenContentMetadata metadata,
diff --git a/src/Lumina.Domain/Core/BoundedContexts/WrittenContentLibraryBoundedContext/BookLibraryAggregate/ValueObjects/BookRating.cs b/src/Lumina.Domain/Core/BoundedContexts/WrittenContentLibraryBoundedContext/BookLibraryAggregate/ValueObjects/BookRating.cs
index 99a51a8c..9bd0af3d 100644
--- a/src/Lumina.Domain/Core/BoundedContexts/WrittenContentLibraryBoundedContext/BookLibraryAggregate/ValueObjects/BookRating.cs
+++ b/src/Lumina.Domain/Core/BoundedContexts/WrittenContentLibraryBoundedContext/BookLibraryAggregate/ValueObjects/BookRating.cs
@@ -42,7 +42,7 @@ public class BookRating : Rating
/// The optional source of the rating.
/// The optional number of votes or reviews.
///
- /// An containing either a successfuly created , or an error message.
+ /// An containing either a successfully created , or an error message.
///
public static ErrorOr Create(decimal value, decimal maxValue, Optional source, Optional voteCount)
{
diff --git a/src/Lumina.Domain/Core/BoundedContexts/WrittenContentLibraryBoundedContext/BookLibraryAggregate/ValueObjects/WrittenContentMetadata.cs b/src/Lumina.Domain/Core/BoundedContexts/WrittenContentLibraryBoundedContext/BookLibraryAggregate/ValueObjects/WrittenContentMetadata.cs
index 68cf3b7d..04c7c429 100644
--- a/src/Lumina.Domain/Core/BoundedContexts/WrittenContentLibraryBoundedContext/BookLibraryAggregate/ValueObjects/WrittenContentMetadata.cs
+++ b/src/Lumina.Domain/Core/BoundedContexts/WrittenContentLibraryBoundedContext/BookLibraryAggregate/ValueObjects/WrittenContentMetadata.cs
@@ -69,7 +69,7 @@ public class WrittenContentMetadata : BaseMetadata
/// The publisher of the written content, if applicable.
/// The number of pages in the written content, if applicable.
///
- /// An containing either a successfuly created , or an error message.
+ /// An containing either a successfully created , or an error message.
///
public static ErrorOr Create(
string title,
diff --git a/src/Lumina.Infrastructure/Common/DomainEvents/DomainEventsQueue.cs b/src/Lumina.Infrastructure/Common/DomainEvents/DomainEventsQueue.cs
index 041a3ddc..501e5bec 100644
--- a/src/Lumina.Infrastructure/Common/DomainEvents/DomainEventsQueue.cs
+++ b/src/Lumina.Infrastructure/Common/DomainEvents/DomainEventsQueue.cs
@@ -27,7 +27,7 @@ public class DomainEventsQueue : IDomainEventsQueue
///
/// When this method returns, contains the domain event removed from the queue, or the default value of if the queue is empty.
///
- /// if a domain event was successfuly dequeued, otherwise.
+ /// if a domain event was successfully dequeued, otherwise.
public bool TryDequeue(out IDomainEvent domainEvent)
{
return _queue.TryDequeue(out domainEvent!);
diff --git a/src/Lumina.Presentation.Api/Common/Middlewares/EventualConsistencyMiddleware.cs b/src/Lumina.Presentation.Api/Common/Middlewares/EventualConsistencyMiddleware.cs
index 5b9db6d0..6d552c84 100644
--- a/src/Lumina.Presentation.Api/Common/Middlewares/EventualConsistencyMiddleware.cs
+++ b/src/Lumina.Presentation.Api/Common/Middlewares/EventualConsistencyMiddleware.cs
@@ -13,7 +13,7 @@ using System.Threading.Tasks;
namespace Lumina.Presentation.Api.Common.Middlewares;
///
-/// Middleware that ensures eventual consistency by handling domain events and publishing them after the request has completed successfuly.
+/// Middleware that ensures eventual consistency by handling domain events and publishing them after the request has completed successfully.
///
public class EventualConsistencyMiddleware
{
@@ -52,9 +52,9 @@ public class EventualConsistencyMiddleware
{
// commit the transaction: because some domain events trigger jobs that end up being processed in background hosted services, and those are
// singletons that require their own DI scope to be created, any changes made on the DbContext in this HTTP scope would not be seen on the
- // DbContext created in the background service scope, because the transaction is not yet commited here; therefor, the transaction needs to be
- // commited first, before any domain events are fired
- // see docs/technical/achitecture/architecture-knowledge-management/architecture-decision-log/architecture-decission-record-0002.md for details:
+ // DbContext created in the background service scope, because the transaction is not yet committed here; therefor, the transaction needs to be
+ // committed first, before any domain events are fired
+ // see docs/technical/architecture/architecture-knowledge-management/architecture-decision-log/architecture-decision-record-0002.md for details:
await transaction.CommitAsync().ConfigureAwait(false);
// check if domain events exist in the channel queue and publish them
diff --git a/src/Lumina.Presentation.Api/Core/Endpoints/Admin/Authorization/Roles/AddRole/AddRoleEndpointSummary.cs b/src/Lumina.Presentation.Api/Core/Endpoints/Admin/Authorization/Roles/AddRole/AddRoleEndpointSummary.cs
index 14400851..5a983271 100644
--- a/src/Lumina.Presentation.Api/Core/Endpoints/Admin/Authorization/Roles/AddRole/AddRoleEndpointSummary.cs
+++ b/src/Lumina.Presentation.Api/Core/Endpoints/Admin/Authorization/Roles/AddRole/AddRoleEndpointSummary.cs
@@ -40,7 +40,7 @@ public class AddRoleEndpointSummary : Summary
ResponseParam(r => r.Permissions, "The list of permissions of the role entity.");
- Response(200, "The authorization role was successfuly created.", example:
+ Response(200, "The authorization role was successfully created.", example:
new RolePermissionsResponse(
Role: new RoleDto(Id: Guid.NewGuid(), "Editor"),
Permissions: [new PermissionDto(Guid.NewGuid(), AuthorizationPermission.CanDeleteUsers), new PermissionDto(Guid.NewGuid(), AuthorizationPermission.CanViewUsers)]
diff --git a/src/Lumina.Presentation.Api/Core/Endpoints/Admin/Authorization/Roles/DeleteRole/DeleteRoleEndpointSummary.cs b/src/Lumina.Presentation.Api/Core/Endpoints/Admin/Authorization/Roles/DeleteRole/DeleteRoleEndpointSummary.cs
index 44668f34..126a2603 100644
--- a/src/Lumina.Presentation.Api/Core/Endpoints/Admin/Authorization/Roles/DeleteRole/DeleteRoleEndpointSummary.cs
+++ b/src/Lumina.Presentation.Api/Core/Endpoints/Admin/Authorization/Roles/DeleteRole/DeleteRoleEndpointSummary.cs
@@ -30,7 +30,7 @@ public class DeleteRoleEndpointSummary : Summary r.RoleId, "The unique identifier of the role. Required.");
- Response(204, "The authorization role was successfuly deleted.");
+ Response(204, "The authorization role was successfully deleted.");
Response(401, "Authentication required.", "application/problem+json",
example: new[]
diff --git a/src/Lumina.Presentation.Api/Core/Endpoints/Admin/Authorization/Roles/UpdateRole/UpdateRoleEndpointSummary.cs b/src/Lumina.Presentation.Api/Core/Endpoints/Admin/Authorization/Roles/UpdateRole/UpdateRoleEndpointSummary.cs
index e6c1b78d..ed407119 100644
--- a/src/Lumina.Presentation.Api/Core/Endpoints/Admin/Authorization/Roles/UpdateRole/UpdateRoleEndpointSummary.cs
+++ b/src/Lumina.Presentation.Api/Core/Endpoints/Admin/Authorization/Roles/UpdateRole/UpdateRoleEndpointSummary.cs
@@ -42,7 +42,7 @@ public class UpdateRoleEndpointSummary : Summary(r => r.Permissions, "The list of permissions of the role entity.");
- Response(200, "The authorization role was successfuly updated.", example:
+ Response(200, "The authorization role was successfully updated.", example:
new RolePermissionsResponse(
Role: new RoleDto(Id: Guid.NewGuid(), "Editor"),
Permissions: [new PermissionDto(Guid.NewGuid(), AuthorizationPermission.CanDeleteUsers), new PermissionDto(Guid.NewGuid(), AuthorizationPermission.CanViewUsers)]
diff --git a/src/Lumina.Presentation.Api/Core/Endpoints/FileSystemManagement/Path/SplitPath/SplitPathEndpointSummary.cs b/src/Lumina.Presentation.Api/Core/Endpoints/FileSystemManagement/Path/SplitPath/SplitPathEndpointSummary.cs
index b7064267..34c02bed 100644
--- a/src/Lumina.Presentation.Api/Core/Endpoints/FileSystemManagement/Path/SplitPath/SplitPathEndpointSummary.cs
+++ b/src/Lumina.Presentation.Api/Core/Endpoints/FileSystemManagement/Path/SplitPath/SplitPathEndpointSummary.cs
@@ -28,7 +28,7 @@ public class SplitPathEndpointSummary : Summary r.Path, "The file system path for which to get the path segments. Required.");
- Response(200, "successfuly split the path into segments.",
+ Response(200, "successfully split the path into segments.",
example: new PathSegmentResponse[2] {
new(Path: "media"),
new(Path: "movies")
diff --git a/src/Lumina.Presentation.Api/Core/Endpoints/Library/Management/DeleteLibrary/DeleteLibraryEndpointSummary.cs b/src/Lumina.Presentation.Api/Core/Endpoints/Library/Management/DeleteLibrary/DeleteLibraryEndpointSummary.cs
index c6236839..cd447dc8 100644
--- a/src/Lumina.Presentation.Api/Core/Endpoints/Library/Management/DeleteLibrary/DeleteLibraryEndpointSummary.cs
+++ b/src/Lumina.Presentation.Api/Core/Endpoints/Library/Management/DeleteLibrary/DeleteLibraryEndpointSummary.cs
@@ -30,7 +30,7 @@ public class DeleteLibraryEndpointSummary : Summary r.Id, "The unique identifier of the media library to be deleted. Required.");
- Response(200, "The media library was successfuly deleted.");
+ Response(200, "The media library was successfully deleted.");
Response(401, "Authentication required.", "application/problem+json",
example: new[]
diff --git a/src/Lumina.Presentation.Api/Core/Endpoints/UsersManagement/Authorization/UpdateUserRoleAndPermissions/UpdateUserRoleAndPermissionsEndpointSummary.cs b/src/Lumina.Presentation.Api/Core/Endpoints/UsersManagement/Authorization/UpdateUserRoleAndPermissions/UpdateUserRoleAndPermissionsEndpointSummary.cs
index 54751b3c..6ea54c35 100644
--- a/src/Lumina.Presentation.Api/Core/Endpoints/UsersManagement/Authorization/UpdateUserRoleAndPermissions/UpdateUserRoleAndPermissionsEndpointSummary.cs
+++ b/src/Lumina.Presentation.Api/Core/Endpoints/UsersManagement/Authorization/UpdateUserRoleAndPermissions/UpdateUserRoleAndPermissionsEndpointSummary.cs
@@ -43,7 +43,7 @@ public class UpdateUserRoleAndPermissionsEndpointSummary : Summary(r => r.Permissions, "The list of permissions of the user.");
- Response(200, "The authorization role and permissions of the user were successfuly updated.", example:
+ Response(200, "The authorization role and permissions of the user were successfully updated.", example:
new AuthorizationResponse(
UserId: Guid.NewGuid(),
Role: "Editor",
diff --git a/src/Lumina.sln b/src/Lumina.sln
index 6022e22c..90dacd06 100644
--- a/src/Lumina.sln
+++ b/src/Lumina.sln
@@ -188,9 +188,9 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "architecture-knowledge-mana
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "architecture-decision-log", "architecture-decision-log", "{788FADE4-342D-4919-8E5C-10CA8EDBE954}"
ProjectSection(SolutionItems) = preProject
- ..\docs\technical\architecture\architecture-knowledge-management\architecture-decision-log\architecture-decission-record-0001.md = ..\docs\technical\architecture\architecture-knowledge-management\architecture-decision-log\architecture-decission-record-0001.md
- ..\docs\technical\architecture\architecture-knowledge-management\architecture-decision-log\architecture-decission-record-0002.md = ..\docs\technical\architecture\architecture-knowledge-management\architecture-decision-log\architecture-decission-record-0002.md
- ..\docs\technical\architecture\architecture-knowledge-management\architecture-decision-log\architecture-decission-record-0003.md = ..\docs\technical\architecture\architecture-knowledge-management\architecture-decision-log\architecture-decission-record-0003.md
+ ..\docs\technical\architecture\architecture-knowledge-management\architecture-decision-log\architecture-decision-record-0001.md = ..\docs\technical\architecture\architecture-knowledge-management\architecture-decision-log\architecture-decision-record-0001.md
+ ..\docs\technical\architecture\architecture-knowledge-management\architecture-decision-log\architecture-decision-record-0002.md = ..\docs\technical\architecture\architecture-knowledge-management\architecture-decision-log\architecture-decision-record-0002.md
+ ..\docs\technical\architecture\architecture-knowledge-management\architecture-decision-log\architecture-decision-record-0003.md = ..\docs\technical\architecture\architecture-knowledge-management\architecture-decision-log\architecture-decision-record-0003.md
EndProjectSection
EndProject
Global
diff --git a/tests/IntegrationTests/Lumina.Presentation.Api.IntegrationTests/Core/Endpoints/FileSystemManagement/Directories/GetDirectoriesEndpointTests.cs b/tests/IntegrationTests/Lumina.Presentation.Api.IntegrationTests/Core/Endpoints/FileSystemManagement/Directories/GetDirectoriesEndpointTests.cs
index 1984732e..5ba888d9 100644
--- a/tests/IntegrationTests/Lumina.Presentation.Api.IntegrationTests/Core/Endpoints/FileSystemManagement/Directories/GetDirectoriesEndpointTests.cs
+++ b/tests/IntegrationTests/Lumina.Presentation.Api.IntegrationTests/Core/Endpoints/FileSystemManagement/Directories/GetDirectoriesEndpointTests.cs
@@ -180,7 +180,7 @@ public class GetDirectoriesEndpointTests : IClassFixture
}
[Fact]
- public async Task ExecuteAsync_WhenCalledWithCancellationToken_ShouldCompletesuccessfuly()
+ public async Task ExecuteAsync_WhenCalledWithCancellationToken_ShouldCompleteSuccessfully()
{
// Arrange
using CancellationTokenSource cts = new(TimeSpan.FromSeconds(5));
diff --git a/tests/IntegrationTests/Lumina.Presentation.Api.IntegrationTests/Core/Endpoints/FileSystemManagement/Files/GetFilesEndpointTests.cs b/tests/IntegrationTests/Lumina.Presentation.Api.IntegrationTests/Core/Endpoints/FileSystemManagement/Files/GetFilesEndpointTests.cs
index f4b8ec7a..c04942b4 100644
--- a/tests/IntegrationTests/Lumina.Presentation.Api.IntegrationTests/Core/Endpoints/FileSystemManagement/Files/GetFilesEndpointTests.cs
+++ b/tests/IntegrationTests/Lumina.Presentation.Api.IntegrationTests/Core/Endpoints/FileSystemManagement/Files/GetFilesEndpointTests.cs
@@ -220,7 +220,7 @@ public class GetFilesEndpointTests : IClassFixture,
}
[Fact]
- public async Task ExecuteAsync_WhenCalledWithValidCredentials_ShouldLoginsuccessfuly()
+ public async Task ExecuteAsync_WhenCalledWithValidCredentials_ShouldLoginSuccessfully()
{
// Arrange
UserEntity user = await CreateTestUser();
@@ -95,7 +95,7 @@ public class LoginEndpointTests : IClassFixture,
}
[Fact]
- public async Task ExecuteAsync_WhenCalledWithValidCredentialsAndTotp_ShouldLoginsuccessfuly()
+ public async Task ExecuteAsync_WhenCalledWithValidCredentialsAndTotp_ShouldLoginSuccessfully()
{
// Arrange
UserEntity user = await CreateTestUserWithTotp();
@@ -127,7 +127,7 @@ public class LoginEndpointTests : IClassFixture,
}
[Fact]
- public async Task ExecuteAsync_WhenCalledWithTempPassword_ShouldLoginsuccessfuly()
+ public async Task ExecuteAsync_WhenCalledWithTempPassword_ShouldLoginSuccessfully()
{
// Arrange
UserEntity user = await CreateTestUserWithTempPassword();
diff --git a/tests/IntegrationTests/Lumina.Presentation.Api.IntegrationTests/Core/Endpoints/UsersManagement/Authentication/RegisterEndpointTests.cs b/tests/IntegrationTests/Lumina.Presentation.Api.IntegrationTests/Core/Endpoints/UsersManagement/Authentication/RegisterEndpointTests.cs
index 3127b93c..046c2df0 100644
--- a/tests/IntegrationTests/Lumina.Presentation.Api.IntegrationTests/Core/Endpoints/UsersManagement/Authentication/RegisterEndpointTests.cs
+++ b/tests/IntegrationTests/Lumina.Presentation.Api.IntegrationTests/Core/Endpoints/UsersManagement/Authentication/RegisterEndpointTests.cs
@@ -57,7 +57,7 @@ public class RegisterEndpointTests : IClassFixture, IDisposable
}
[Fact]
- public async Task Login_WithValidCredentials_ShouldAuthenticatesuccessfuly()
+ public async Task Login_WithValidCredentials_ShouldAuthenticateSuccessfully()
{
// Arrange
UserEntity user = await CreateTestUser();
diff --git a/tests/UnitTests/Lumina.Application.UnitTests/Core/FileSystemManagement/Pahs/Queries/GetPathSeparator/GetPathSeparatorQueryHandlerTests.cs b/tests/UnitTests/Lumina.Application.UnitTests/Core/FileSystemManagement/Pahs/Queries/GetPathSeparator/GetPathSeparatorQueryHandlerTests.cs
index b25b55e9..53e1bbf9 100644
--- a/tests/UnitTests/Lumina.Application.UnitTests/Core/FileSystemManagement/Pahs/Queries/GetPathSeparator/GetPathSeparatorQueryHandlerTests.cs
+++ b/tests/UnitTests/Lumina.Application.UnitTests/Core/FileSystemManagement/Pahs/Queries/GetPathSeparator/GetPathSeparatorQueryHandlerTests.cs
@@ -83,7 +83,7 @@ public class GetPathSeparatorQueryHandlerTests
}
[Fact]
- public async Task Handle_WithCancellationToken_ShouldCompletesuccessfuly()
+ public async Task Handle_WithCancellationToken_ShouldCompleteSuccessfully()
{
// Arrange
GetPathSeparatorQuery query = new();
diff --git a/tests/UnitTests/Lumina.Domain.UnitTests/Core/Aggregates/FileSystemManagementAggregate/Services/DirectoryProviderServiceTests.cs b/tests/UnitTests/Lumina.Domain.UnitTests/Core/Aggregates/FileSystemManagementAggregate/Services/DirectoryProviderServiceTests.cs
index f15b2ecb..00613c20 100644
--- a/tests/UnitTests/Lumina.Domain.UnitTests/Core/Aggregates/FileSystemManagementAggregate/Services/DirectoryProviderServiceTests.cs
+++ b/tests/UnitTests/Lumina.Domain.UnitTests/Core/Aggregates/FileSystemManagementAggregate/Services/DirectoryProviderServiceTests.cs
@@ -847,7 +847,7 @@ public class DirectoryProviderServiceTests
}
[Fact]
- public void RenameDirectory_WhenParentDirectoryIsWritable_ShouldRenamesuccessfuly()
+ public void RenameDirectory_WhenParentDirectoryIsWritable_ShouldRenameSuccessfully()
{
// Arrange
FileSystemPathId path = _fileSystemPathIdFixture.CreateFileSystemPathId(
@@ -971,7 +971,7 @@ public class DirectoryProviderServiceTests
}
[Fact]
- public void DeleteDirectory_WhenDirectoryExistsAndHasDeletePermission_ShouldDeletesuccessfuly()
+ public void DeleteDirectory_WhenDirectoryExistsAndHasDeletePermission_ShouldDeleteSuccessfully()
{
// Arrange
FileSystemPathId path = _fileSystemPathIdFixture.CreateFileSystemPathId(
diff --git a/tests/UnitTests/Lumina.Domain.UnitTests/Core/Aggregates/FileSystemManagementAggregate/Services/FileProviderServiceTests.cs b/tests/UnitTests/Lumina.Domain.UnitTests/Core/Aggregates/FileSystemManagementAggregate/Services/FileProviderServiceTests.cs
index 6fee6caf..12b8b2ab 100644
--- a/tests/UnitTests/Lumina.Domain.UnitTests/Core/Aggregates/FileSystemManagementAggregate/Services/FileProviderServiceTests.cs
+++ b/tests/UnitTests/Lumina.Domain.UnitTests/Core/Aggregates/FileSystemManagementAggregate/Services/FileProviderServiceTests.cs
@@ -737,7 +737,7 @@ public class FileProviderServiceTests
}
[Fact]
- public void RenameFile_WhenParentDirectoryIsWritable_ShouldRenamesuccessfuly()
+ public void RenameFile_WhenParentDirectoryIsWritable_ShouldRenameSuccessfully()
{
// Arrange
FileSystemPathId path = _fileSystemPathIdFixture.CreateFileSystemPathId(
@@ -894,7 +894,7 @@ public class FileProviderServiceTests
}
[Fact]
- public void DeleteFile_WhenFileExistsAndHasDeletePermission_ShouldDeletesuccessfuly()
+ public void DeleteFile_WhenFileExistsAndHasDeletePermission_ShouldDeleteSuccessfully()
{
// Arrange
FileSystemPathId path = _fileSystemPathIdFixture.CreateFileSystemPathId(