Skip to content

Commit

Permalink
(#412) notifications: update namespaces
Browse files Browse the repository at this point in the history
  • Loading branch information
SaintAngeLs committed Sep 16, 2024
1 parent 18bc27c commit 677d017
Show file tree
Hide file tree
Showing 56 changed files with 56 additions and 56 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
using MiniSpace.Services.Notifications.Application.Dto.Events;
using MiniSpace.Services.Notifications.Application.Dto.Comments;

namespace MiniSpace.Services.Notifications.Application.Events.External.Handlers
namespace MiniSpace.Services.Notifications.Application.Events.External.Comments.Handlers
{
public class CommentUpdatedHandler : IEventHandler<CommentUpdated>
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
using Convey.CQRS.Events;
using Convey.MessageBrokers;

namespace MiniSpace.Services.Notifications.Application.Events.External
namespace MiniSpace.Services.Notifications.Application.Events.External.Events
{
[Message("events")]
public class EventCreated : IEvent
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
using Convey.CQRS.Events;
using Convey.MessageBrokers;

namespace MiniSpace.Services.Notifications.Application.Events.External
namespace MiniSpace.Services.Notifications.Application.Events.External.Events
{
[Message("events")]
public class EventDeleted : IEvent
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
using Convey.CQRS.Events;
using Convey.MessageBrokers;

namespace MiniSpace.Services.Notifications.Application.Events.External
namespace MiniSpace.Services.Notifications.Application.Events.External.Events
{
[Message("events")]
public class EventParticipantAdded: IEvent
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
using Convey.CQRS.Events;
using Convey.MessageBrokers;

namespace MiniSpace.Services.Notifications.Application.Events.External
namespace MiniSpace.Services.Notifications.Application.Events.External.Events
{
[Message("events")]
public class EventParticipantRemoved: IEvent
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
using System.Collections.Generic;
using Convey.CQRS.Events;

namespace MiniSpace.Services.Notifications.Application.Events
namespace MiniSpace.Services.Notifications.Application.Events.Events
{
[Contract]
public class EventUpdated(Guid eventId, DateTime updatedAt, Guid updatedBy, IEnumerable<Guid> mediaFilesIds) : IEvent
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
using Microsoft.AspNetCore.SignalR;
using MiniSpace.Services.Notifications.Application.Hubs;

namespace MiniSpace.Services.Notifications.Application.Events.External.Handlers
namespace MiniSpace.Services.Notifications.Application.Events.External.Events.Handlers
{
public class EventCreatedHandler : IEventHandler<EventCreated>
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
using MiniSpace.Services.Notifications.Core.Entities;
using MiniSpace.Services.Notifications.Core.Repositories;

namespace MiniSpace.Services.Notifications.Application.Events.External.Handlers
namespace MiniSpace.Services.Notifications.Application.Events.External.Events.Handlers
{
public class EventDeletedHandler : IEventHandler<EventDeleted>
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
using MiniSpace.Services.Notifications.Core.Entities;
using MiniSpace.Services.Notifications.Core.Repositories;

namespace MiniSpace.Services.Notifications.Application.Events.External.Handlers
namespace MiniSpace.Services.Notifications.Application.Events.External.Events.Handlers
{
public class EventParticipantAddedHandler : IEventHandler<EventParticipantAdded>
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
using MiniSpace.Services.Notifications.Core.Entities;
using MiniSpace.Services.Notifications.Core.Repositories;

namespace MiniSpace.Services.Notifications.Application.Events.External.Handlers
namespace MiniSpace.Services.Notifications.Application.Events.External.Events.Handlers
{
public class EventParticipantRemovedHandler : IEventHandler<EventParticipantRemoved>
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
using MiniSpace.Services.Notifications.Core.Repositories;
using MiniSpace.Services.Notifications.Application.Services;

namespace MiniSpace.Services.Notifications.Application.Events.External.Handlers
namespace MiniSpace.Services.Notifications.Application.Events.External.Events.Handlers
{
public class StudentCancelledInterestInEventHandler : IEventHandler<StudentCancelledInterestInEvent>
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
using MiniSpace.Services.Notifications.Core.Repositories;
using MiniSpace.Services.Notifications.Application.Services;

namespace MiniSpace.Services.Notifications.Application.Events.External.Handlers
namespace MiniSpace.Services.Notifications.Application.Events.External.Events.Handlers
{
public class StudentCancelledSignUpToEventHandler : IEventHandler<StudentCancelledSignUpToEvent>
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
using MiniSpace.Services.Notifications.Core.Repositories;
using MiniSpace.Services.Notifications.Application.Services;

namespace MiniSpace.Services.Notifications.Application.Events.External.Handlers
namespace MiniSpace.Services.Notifications.Application.Events.External.Events.Handlers
{
public class StudentShowedInterestInEventHandler : IEventHandler<StudentShowedInterestInEvent>
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
using MiniSpace.Services.Notifications.Core.Repositories;
using MiniSpace.Services.Notifications.Application.Services;

namespace MiniSpace.Services.Notifications.Application.Events.External.Handlers
namespace MiniSpace.Services.Notifications.Application.Events.External.Events.Handlers
{
public class StudentSignedUpToEventHandler : IEventHandler<StudentSignedUpToEvent>
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
using Convey.CQRS.Events;
using Convey.MessageBrokers;

namespace MiniSpace.Services.Notifications.Application.Events.External
namespace MiniSpace.Services.Notifications.Application.Events.External.Events
{
[Message("events")]
public class StudentCancelledInterestInEvent: IEvent
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
using Convey.CQRS.Events;
using Convey.MessageBrokers;

namespace MiniSpace.Services.Notifications.Application.Events.External
namespace MiniSpace.Services.Notifications.Application.Events.External.Events
{
[Message("events")]
public class StudentCancelledSignUpToEvent: IEvent
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
using Convey.CQRS.Events;
using Convey.MessageBrokers;

namespace MiniSpace.Services.Notifications.Application.Events.External
namespace MiniSpace.Services.Notifications.Application.Events.External.Events
{
[Message("events")]
public class StudentShowedInterestInEvent: IEvent
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
using Convey.CQRS.Events;
using Convey.MessageBrokers;

namespace MiniSpace.Services.Notifications.Application.Events.External
namespace MiniSpace.Services.Notifications.Application.Events.External.Events
{
[Message("events")]
public class StudentSignedUpToEvent: IEvent
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using Convey.CQRS.Events;
using Convey.MessageBrokers;

namespace MiniSpace.Services.Notifications.Application.Events.External
namespace MiniSpace.Services.Notifications.Application.Events.External.Friends
{
[Contract]
public class FriendAdded : IEvent
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
using Convey.MessageBrokers;
using MiniSpace.Services.Notifications.Core.Events;

namespace MiniSpace.Services.Notifications.Application.Events.External
namespace MiniSpace.Services.Notifications.Application.Events.External.Friends
{
[Message("friends")]
public class FriendInvited : IEvent, IDomainEvent
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
using Convey.MessageBrokers;
using System;

namespace MiniSpace.Services.Notifications.Application.Events.External
namespace MiniSpace.Services.Notifications.Application.Events.External.Friends
{
[Contract]
public class FriendRequestCreated : IEvent
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using Convey.CQRS.Events;
using Convey.MessageBrokers;

namespace MiniSpace.Services.Notifications.Application.Events.External
namespace MiniSpace.Services.Notifications.Application.Events.External.Friends
{
[Contract]
public class FriendRequestSent : IEvent
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
using System.Collections.Generic;
using MiniSpace.Services.Notifications.Application.Exceptions;
// This event handler is not used! ⁉️
namespace MiniSpace.Services.Notifications.Application.Events.External.Handlers
namespace MiniSpace.Services.Notifications.Application.Events.External.Friends.Handlers
{
public class FriendAddedHandler : IEventHandler<NotificationCreated>
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
using Microsoft.Extensions.Logging;
using MiniSpace.Services.Notifications.Application.Dto;

namespace MiniSpace.Services.Notifications.Application.Events.External.Handlers
namespace MiniSpace.Services.Notifications.Application.Events.External.Friends.Handlers
{
public class FriendInvitedHandler : IEventHandler<FriendInvited>
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
using System.Threading.Tasks;
using System.Threading;

namespace MiniSpace.Services.Notifications.Application.Events.External.Handlers
namespace MiniSpace.Services.Notifications.Application.Events.External.Friends.Handlers
{
public class FriendRequestCreatedHandler : IEventHandler<FriendRequestCreated>
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
using MiniSpace.Services.Notifications.Application.Hubs;
using MiniSpace.Services.Notifications.Application.Dto;

namespace MiniSpace.Services.Notifications.Application.Events.External.Handlers
namespace MiniSpace.Services.Notifications.Application.Events.External.Friends.Handlers
{
public class FriendRequestSentHandler : IEventHandler<FriendRequestSent>
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
using MiniSpace.Services.Notifications.Application.Dto;


namespace MiniSpace.Services.Notifications.Application.Events.External.Handlers
namespace MiniSpace.Services.Notifications.Application.Events.External.Friends.Handlers
{
public class PendingFriendRequestAcceptedHandler : IEventHandler<PendingFriendAccepted>
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using Convey.CQRS.Events;
using Convey.MessageBrokers;

namespace MiniSpace.Services.Notifications.Application.Events.External
namespace MiniSpace.Services.Notifications.Application.Events.External.Friends
{
[Contract]
public class PendingFriendAccepted : IEvent
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using Convey.CQRS.Events;
using Convey.MessageBrokers;

namespace MiniSpace.Services.Notifications.Application.Events.External
namespace MiniSpace.Services.Notifications.Application.Events.External.Friends
{
[Message("friends")]
public class PendingFriendDeclined : IEvent
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
using Convey.CQRS.Events;
using Convey.MessageBrokers;

namespace MiniSpace.Services.Notifications.Application.Events.External
namespace MiniSpace.Services.Notifications.Application.Events.External.Identity
{
[Message("identity")]
public class EmailVerified : IEvent
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
using MiniSpace.Services.Notifications.Core.Entities;
using MiniSpace.Services.Notifications.Core.Repositories;

namespace MiniSpace.Services.Notifications.Application.Events.External.Handlers
namespace MiniSpace.Services.Notifications.Application.Events.External.Identity.Handlers
{
public class EmailVerifiedHandler : IEventHandler<EmailVerified>
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
using System.Threading;
using MiniSpace.Services.Notifications.Application.Services.Clients;

namespace MiniSpace.Services.Notifications.Application.Events.External.Handlers
namespace MiniSpace.Services.Notifications.Application.Events.External.Identity.Handlers
{
public class PasswordResetTokenGeneratedHandler : IEventHandler<PasswordResetTokenGenerated>
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
using MiniSpace.Services.Notifications.Core.Entities;
using MiniSpace.Services.Notifications.Core.Repositories;

namespace MiniSpace.Services.Notifications.Application.Events.External.Handlers
namespace MiniSpace.Services.Notifications.Application.Events.External.Identity.Handlers
{
public class SignedUpHandler : IEventHandler<SignedUp>
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
using MiniSpace.Services.Notifications.Application.Services.Clients;
using Microsoft.Extensions.Logging;

namespace MiniSpace.Services.Notifications.Application.Events.External.Handlers
namespace MiniSpace.Services.Notifications.Application.Events.External.Identity.Handlers
{
public class TwoFactorCodeGeneratedHandler : IEventHandler<TwoFactorCodeGenerated>
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
using Convey.CQRS.Events;
using Convey.MessageBrokers;

namespace MiniSpace.Services.Notifications.Application.Events.External
namespace MiniSpace.Services.Notifications.Application.Events.External.Identity
{
[Message("identity")]
public class PasswordReset : IEvent
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
using Convey.CQRS.Events;
using Convey.MessageBrokers;

namespace MiniSpace.Services.Notifications.Application.Events.External
namespace MiniSpace.Services.Notifications.Application.Events.External.Identity
{
[Message("identity")]
public class PasswordResetTokenGenerated : IEvent
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
using Convey.CQRS.Events;
using Convey.MessageBrokers;

namespace MiniSpace.Services.Notifications.Application.Events.External
namespace MiniSpace.Services.Notifications.Application.Events.External.Identity
{
[Message("identity")]
public class SignedUp : IEvent
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
using Convey.MessageBrokers;
using System;

namespace MiniSpace.Services.Notifications.Application.Events.External
namespace MiniSpace.Services.Notifications.Application.Events.External.Identity
{
[Message("identity")]
public class TwoFactorCodeGenerated : IEvent
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
using MiniSpace.Services.Notifications.Application.Hubs;
using Microsoft.Extensions.Logging;

namespace MiniSpace.Services.Notifications.Application.Events.External.Handlers
namespace MiniSpace.Services.Notifications.Application.Events.External.Posts.Handlers
{
public class PostCreatedHandler : IEventHandler<PostCreated>
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
using MiniSpace.Services.Notifications.Application.Hubs;
using Microsoft.Extensions.Logging;

namespace MiniSpace.Services.Notifications.Application.Events.External.Handlers
namespace MiniSpace.Services.Notifications.Application.Events.External.Posts.Handlers
{
public class PostUpdatedHandler : IEventHandler<PostUpdated>
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
using System;
using System.Collections.Generic;

namespace MiniSpace.Services.Notifications.Application.Events.External
namespace MiniSpace.Services.Notifications.Application.Events.External.Posts
{
[Message("posts")]
public class PostCreated : IEvent
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
using Convey.MessageBrokers;
using System;

namespace MiniSpace.Services.Notifications.Application.Events.External
namespace MiniSpace.Services.Notifications.Application.Events.External.Posts
{
[Message("posts")]
public class PostUpdated : IEvent
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
using MiniSpace.Services.Notifications.Application.Hubs;
using MiniSpace.Services.Notifications.Application.Services;

namespace MiniSpace.Services.Notifications.Application.Events.External.Handlers
namespace MiniSpace.Services.Notifications.Application.Events.External.Reactions.Handlers
{
public class ReactionCreatedHandler : IEventHandler<ReactionCreated>
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
using Convey.MessageBrokers;
using System;

namespace MiniSpace.Services.Notifications.Application.Events.External
namespace MiniSpace.Services.Notifications.Application.Events.External.Reactions
{
[Message("reactions")]
public class ReactionCreated : IEvent
Expand Down
Loading

0 comments on commit 677d017

Please sign in to comment.