-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Vanderlan Gomes da Silva
committed
Aug 1, 2024
1 parent
4b7dd3b
commit 2cbeaf0
Showing
32 changed files
with
82 additions
and
85 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 0 additions & 10 deletions
10
...Orion.Application.Core/UseCases/User/Notifications/UserCreated/UserCreatedNotification.cs
This file was deleted.
Oops, something went wrong.
6 changes: 0 additions & 6 deletions
6
...n.Core/UseCases/User/Notifications/UserPasswordChanged/UserPasswordChangedNotification.cs
This file was deleted.
Oops, something went wrong.
2 changes: 1 addition & 1 deletion
2
...angePassword/UserChangePasswordRequest.cs → ...angePassword/UserChangePasswordRequest.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 3 additions & 3 deletions
6
...sword/UserUpdatePasswordRequestHandler.cs → ...sword/UserUpdatePasswordRequestHandler.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 3 additions & 3 deletions
6
...ngePassword/UserUpdateRequestValidator.cs → ...ngePassword/UserUpdateRequestValidator.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 3 additions & 3 deletions
6
...User/Commands/Create/UserCreateRequest.cs → ...sers/Commands/Create/UserCreateRequest.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
9 changes: 4 additions & 5 deletions
9
...mmands/Create/UserCreateRequestHandler.cs → ...mmands/Create/UserCreateRequestHandler.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 3 additions & 3 deletions
6
...ands/Create/UserCreateRequestValidator.cs → ...ands/Create/UserCreateRequestValidator.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...ser/Commands/Create/UserCreateResponse.cs → ...ers/Commands/Create/UserCreateResponse.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...User/Commands/Delete/UserDeleteRequest.cs → ...sers/Commands/Delete/UserDeleteRequest.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
using MediatR; | ||
|
||
namespace Company.Orion.Application.Core.UseCases.User.Commands.Delete; | ||
namespace Company.Orion.Application.Core.UseCases.Users.Commands.Delete; | ||
|
||
public record UserDeleteRequest(string PublicId) : IRequest; |
6 changes: 3 additions & 3 deletions
6
...mmands/Delete/UserDeleteRequestHandler.cs → ...mmands/Delete/UserDeleteRequestHandler.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 3 additions & 3 deletions
6
...User/Commands/Update/UserUpdateRequest.cs → ...sers/Commands/Update/UserUpdateRequest.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 3 additions & 3 deletions
6
...mmands/Update/UserUpdateRequestHandler.cs → ...mmands/Update/UserUpdateRequestHandler.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 3 additions & 3 deletions
6
...ands/Update/UserUpdateRequestValidator.cs → ...ands/Update/UserUpdateRequestValidator.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 10 additions & 0 deletions
10
...rion.Application.Core/UseCases/Users/Notifications/UserCreated/UserCreatedNotification.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
using Company.Orion.Domain.Core.Entities; | ||
using MediatR; | ||
|
||
namespace Company.Orion.Application.Core.UseCases.Users.Notifications.UserCreated | ||
{ | ||
public class UserCreatedNotification(User user) : INotification | ||
{ | ||
public User Entity { get; set; } = user; | ||
} | ||
} |
6 changes: 3 additions & 3 deletions
6
...Created/UserCreatedNotificationHandler.cs → ...Created/UserCreatedNotificationHandler.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 6 additions & 0 deletions
6
....Core/UseCases/Users/Notifications/UserPasswordChanged/UserPasswordChangedNotification.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
using MediatR; | ||
|
||
namespace Company.Orion.Application.Core.UseCases.Users.Notifications.UserPasswordChanged | ||
{ | ||
public class UserPasswordChangedNotification : INotification; | ||
} |
6 changes: 3 additions & 3 deletions
6
...UserPasswordChangedNotificationHandler.cs → ...UserPasswordChangedNotificationHandler.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...ser/Queries/GetById/UserGetByIdRequest.cs → ...ers/Queries/GetById/UserGetByIdRequest.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
using MediatR; | ||
|
||
namespace Company.Orion.Application.Core.UseCases.User.Queries.GetById; | ||
namespace Company.Orion.Application.Core.UseCases.Users.Queries.GetById; | ||
|
||
public record UserGetByIdRequest(string PublicId) : IRequest<UserGetByIdResponse>; |
6 changes: 3 additions & 3 deletions
6
...ries/GetById/UserGetByIdRequestHandler.cs → ...ries/GetById/UserGetByIdRequestHandler.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...er/Queries/GetById/UserGetByIdResponse.cs → ...rs/Queries/GetById/UserGetByIdResponse.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 3 additions & 3 deletions
6
...s/GetPaginated/UserGetPaginatedRequest.cs → ...s/GetPaginated/UserGetPaginatedRequest.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
using MediatR; | ||
using Company.Orion.Domain.Core.Filters; | ||
using Company.Orion.Domain.Core.Filters; | ||
using Company.Orion.Domain.Core.ValueObjects.Pagination; | ||
using MediatR; | ||
|
||
namespace Company.Orion.Application.Core.UseCases.User.Queries.GetPaginated; | ||
namespace Company.Orion.Application.Core.UseCases.Users.Queries.GetPaginated; | ||
|
||
public class UserGetPaginatedRequest : UserFilter, IRequest<PagedList<UserGetPaginatedResponse>>; |
6 changes: 3 additions & 3 deletions
6
...ginated/UserGetPaginatedRequestHandler.cs → ...ginated/UserGetPaginatedRequestHandler.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
.../GetPaginated/UserGetPaginatedResponse.cs → .../GetPaginated/UserGetPaginatedResponse.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters